/* The public site is typeset independently of the two interactive workspaces. */
@font-face {
  font-family: "Profile Serif";
  src: url("/portfolio/fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Profile Serif";
  src: url("/portfolio/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/portfolio/fonts/font-0.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/portfolio/fonts/font-2.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}

:root {
  --paper: #f8f6f1;
  --panel: #fffefa;
  --type: #222623;
  --subtype: #4e5652;
  --rule: #cfcfc4;
  --brand: #843d2c;
  --brand-hover: #693021;
  --inverse: #fffaf1;
  --pad: clamp(1.25rem, 5vw, 5.75rem);
  --page-width: 85rem;
  --serif: "Profile Serif", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, sans-serif;
}
:root[data-theme="dark"] {
  --paper: #1d2221;
  --panel: #232a28;
  --type: #f3f1e8;
  --subtype: #c6c9c0;
  --rule: #49534d;
  --brand: #f3af92;
  --brand-hover: #ffc9ae;
  --inverse: #24211e;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.2rem; }
body.edition {
  margin: 0;
  color: var(--type);
  background: var(--paper);
  font: 400 1.25rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  color-scheme: light;
}
[data-theme="dark"] body.edition { color-scheme: dark; }
.edition :where(h1, h2, h3, p, dl, dd, ul) { margin: 0; }
.edition h1, .edition h2, .edition h3 { font-weight: 400; }
.edition p { text-wrap: pretty; }
.edition a { color: inherit; text-underline-offset: .2em; }
.edition button { font: inherit; color: inherit; cursor: pointer; }
.edition button:disabled { cursor: default; opacity: .65; }
.edition [hidden] { display: none !important; }
.edition .js-only { display: none; }
.enhanced .edition .js-only { display: inline-flex; }
.edition .print-contact { display: none; }
.edition .wrap, .public-head .header.wrap, .public-foot.wrap, .telemetry-choice {
  width: min(var(--page-width), calc(100% - var(--pad) - var(--pad)));
  margin-inline: auto;
}
.edition :focus-visible, .public-head :focus-visible, .public-foot :focus-visible,
.telemetry-choice :focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.edition ::selection { color: #222623; background: #f4c8ac; }
.edition .skip {
  position: absolute;
  left: var(--pad);
  top: 0;
  z-index: 50;
  transform: translateY(-130%);
  padding: .6rem 1rem;
  background: var(--type);
  color: var(--paper);
}
.edition .skip:focus { transform: translateY(.3rem); }
.edition #main:focus { outline: none; }
.public-head.masthead {
  position: relative;
  z-index: 20;
  background: var(--paper);
  border: 0;
  border-bottom: 1px solid var(--rule);
  color: var(--type);
}
.public-head .header.wrap {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.3vw, 2.8rem);
  min-height: 4.8rem;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--sans);
}
.public-head .header a, .public-foot a { color: var(--type); text-decoration: none; }
.public-head .header .brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 44px;
  font: 600 1.33rem/1.2 var(--sans);
  letter-spacing: -.045em;
  white-space: nowrap;
}
.public-head .brand::before, .public-head .header nav a::after { display: none; }
.brand-mark {
  width: 1.75rem;
  height: 1.65rem;
  background: var(--brand);
  mask: url("/portfolio/mark.svg") center / contain no-repeat;
}
.public-head .header nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.1vw, 2.1rem);
  margin-left: auto;
}
.public-head .header nav a, .public-head .nav-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: 400 1.125rem/1.3 var(--sans);
  color: var(--subtype);
  text-decoration: none;
}
.public-head .header nav a:hover, .public-head .header nav a[aria-current],
.public-foot nav a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: .32em; }
.public-head .nav-toggle, .public-head .icon-btn { display: none; }
.enhanced .public-head .header .nav-toggle { display: none; }
.enhanced .public-head .header .icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: transparent;
  color: var(--type);
  font-size: 0;
  cursor: pointer;
}
.public-head .icon-btn::before {
  content: "";
  width: 1rem;
  height: 1rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}
[data-theme="dark"] .public-head .icon-btn::before { transform: rotate(180deg); }
.edition .section-label, .role-line, .date-line {
  font: 600 1rem/1.45 var(--sans);
  color: var(--brand);
}
.role-line { display: flex; align-items: center; gap: .75rem; }
.role-line::before { content: ""; width: 1.8rem; height: 2px; flex: none; background: currentColor; }
.opening { border-bottom: 1px solid var(--rule); }
.opening-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: center;
  min-height: clamp(35rem, 44vw, 44rem);
  padding-block: clamp(3.5rem, 6vw, 6.3rem);
}
.opening-copy { position: relative; z-index: 1; }
.edition h1, .edition h2, .disciplines dt { font-family: var(--serif); }
.opening h1 {
  margin-block: 1.4rem 1.25rem;
  font-size: clamp(3.65rem, 6.25vw, 6.35rem);
  line-height: .99;
  letter-spacing: -.035em;
}
.opening h1 em, .approach h2 em { display: block; color: var(--brand); font-weight: 400; }
.opening .hero-description {
  max-width: 39ch;
  font-size: clamp(1.25rem, 1.54vw, 1.48rem);
  line-height: 1.5;
  color: var(--subtype);
}
.edition .actions, .contact-alternatives { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.6rem; }
.edition .actions { margin-top: 1.7rem; }
.edition .button, .edition .text-link, .edition .text-btn,
.telemetry-choice :is(a,button), #privacy-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  font: 600 1.125rem/1.35 var(--sans);
}
.edition .button, #privacy-controls button, .telemetry-choice button {
  border: 1px solid var(--brand);
  border-radius: .3rem;
  background: var(--brand);
  color: var(--inverse);
  padding: .68rem 1.25rem;
  text-decoration: none;
}
.edition .button:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.edition .text-link, .edition .text-btn {
  border: 0;
  padding: .45rem 0;
  background: transparent;
  color: var(--type);
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
}
.edition .text-link:hover, .edition .text-btn:hover { color: var(--brand); }
.opening-art { position: relative; min-width: 0; }
.opening-art img { display: block; width: 110%; max-width: none; height: auto; margin-left: -4%; }
.practice { padding-block: clamp(4rem, 7vw, 7.6rem); }
.practice-heading, .disciplines > div {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 6vw, 7rem);
  align-items: baseline;
}
.practice-heading { padding-bottom: clamp(1.7rem, 3vw, 3rem); }
.practice-heading h2, .invitation h2, .reading-body h2 {
  font-size: clamp(2.65rem, 4.5vw, 4.7rem);
  line-height: 1.05;
  letter-spacing: -.025em;
}
.practice-heading > p { max-width: 36ch; color: var(--subtype); font-size: 1.2rem; }
.disciplines > div { padding-block: clamp(1.3rem, 2.2vw, 2.4rem); border-top: 1px solid var(--rule); }
.disciplines > div:last-child { border-bottom: 1px solid var(--rule); }
.disciplines dt { font-size: clamp(2rem, 3vw, 3.1rem); line-height: 1.12; letter-spacing: -.02em; }
.disciplines dd { color: var(--subtype); font-size: 1.25rem; max-width: 51ch; }
.approach {
  --brand: #f2b393;
  --type: #fffbf2;
  background: #27332e;
  color: var(--type);
}
.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 7rem);
  padding-block: clamp(3.5rem, 6vw, 6.5rem);
}
.approach h2 {
  font-size: clamp(3rem, 4.5vw, 5.05rem);
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-top: 1.25rem;
}
.approach-copy { align-self: center; max-width: 49ch; }
.approach-copy p { font-size: 1.25rem; color: #f2f2e8; }
.approach-copy p + p, .approach-copy a { margin-top: 1rem; }
.invitation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.4rem 3rem;
  padding-block: clamp(3rem, 5vw, 5.5rem);
}
.invitation h2 { max-width: 21ch; font-size: clamp(2.5rem, 3.45vw, 3.8rem); }
.public-foot.wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem 2rem;
  border-top: 1px solid var(--rule);
  padding: 1.5rem 0;
  color: var(--subtype);
  font: 400 1rem/1.5 var(--sans);
}
.public-foot .footer-signature, .public-foot nav { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.4rem; }
.public-foot .footer-signature a { font: 600 1.1rem/1.5 var(--sans); letter-spacing: -.025em; }
.public-foot .footer-signature small { font-size: 1rem; }
.public-foot a { display: inline-flex; align-items: center; min-height: 44px; }
.public-foot nav a { color: var(--subtype); font-size: 1.125rem; }
.inner-cover, .reading-layout {
  display: grid;
  grid-template-columns: minmax(0,.77fr) minmax(0,1.23fr);
  gap: clamp(2rem, 7.5vw, 8rem);
}
.inner-cover { padding-block: clamp(3rem, 6vw, 6.5rem); border-bottom: 1px solid var(--rule); }
.inner-cover h1 {
  max-width: 12ch;
  font-size: clamp(3.75rem, 6.2vw, 6.2rem);
  letter-spacing: -.04em;
  line-height: 1.02;
  margin: .6rem 0 0;
}
.cover-copy { align-self: center; max-width: 53ch; }
.cover-copy p { color: var(--subtype); }
.cover-copy > p + p { margin-top: .9rem; }
.cover-copy .standfirst { color: var(--type); font-size: clamp(1.37rem, 1.8vw, 1.85rem); line-height: 1.42; }
.reading-layout { padding-block: clamp(3rem, 5.2vw, 5.6rem); }
.reading-index { position: sticky; top: 1rem; align-self: start; display: grid; justify-items: start; }
.reading-index a { display: flex; align-items: center; min-height: 44px; font-size: 1.125rem; color: var(--subtype); }
.reading-body { min-width: 0; max-width: 56ch; }
.reading-body h2 { font-size: clamp(2.55rem, 3.35vw, 3.6rem); margin-bottom: 1.3rem; }
.reading-body section + section { margin-top: 3.5rem; border-top: 1px solid var(--rule); padding-top: 2.5rem; }
.experience + .experience, .range-list > div + div { margin-top: 1.6rem; }
.experience h3 { font: 600 1.42rem/1.3 var(--sans); letter-spacing: -.025em; margin-block: .3rem; }
.experience .employer { font-size: 1.125rem; color: var(--subtype); margin-bottom: .55rem; }
.experience > p:last-child, .range-list dd { color: var(--subtype); }
.range-list dt { font-weight: 600; margin-bottom: .2rem; }
.examples { border-block: 1px solid var(--rule); margin-top: 1.65rem; padding-block: .7rem; }
.examples summary { font-size: 1.125rem; font-weight: 600; cursor: pointer; line-height: 1.45; padding: .55rem 0; }
.examples[open] summary { margin-bottom: .5rem; }
.examples p { padding-bottom: .55rem; }
.credential-list { list-style: none; padding: 0; }
.credential-list li { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem 1rem; flex-wrap: wrap; padding-block: .6rem; }
.credential-list li + li { border-top: 1px solid var(--rule); }
.credential-list span { font-size: 1rem; color: var(--subtype); }
.contact-cover { min-height: clamp(31rem, 55vh, 42rem); border: 0; align-items: start; }
.contact-cover .cover-copy { align-self: start; }
.contact-methods { margin: 1.65rem 0 1rem; }
.enhanced .contact-methods .contact-action { align-items: center; flex-wrap: wrap; gap: .6rem 1rem; }
.contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.edition .fine-print { font-size: 1.125rem; color: var(--subtype); }
.contact-status:empty { display: none; }
.contact-status, .contact-address { margin-top: .85rem; overflow-wrap: anywhere; }
.contact-alternatives { padding-top: .6rem; }
.policy section > p + p, .policy .range-list { margin-top: 1rem; }
.policy .range-list { margin-bottom: 1.25rem; }
.policy .range-list > div { display: grid; grid-template-columns: 7rem 1fr; gap: .5rem; padding-block: .45rem; border-top: 1px solid var(--rule); margin: 0; }
#privacy-controls, .telemetry-choice { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1rem; }
#privacy-controls p { flex-basis: 100%; }
#privacy-controls button, .telemetry-choice button {
  cursor: pointer;
  color: var(--type);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: .3rem;
}
#privacy-controls button:disabled { opacity: .6; }
#telemetry-choice.telemetry-choice {
  position: static;
  transform: none;
  max-width: var(--page-width);
  background: transparent;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  border-top: 1px solid var(--rule);
  padding: 1rem 0;
  color: var(--type);
  font: 400 1.125rem/1.5 var(--sans);
}
#telemetry-choice p { max-width: none; margin: 0; margin-right: auto; font-size: 1.125rem; }
#telemetry-choice button, #telemetry-choice a { min-height: 44px; color: var(--type); font-size: 1.125rem; }
#telemetry-choice button { background: transparent; border-color: var(--rule); padding: .45rem .85rem; }
#telemetry-choice a { text-decoration: underline; text-underline-offset: .22em; }
.edition #toast:empty { display: none; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .edition .button, .public-head a, .edition .text-link { transition: color .16s, background-color .16s, border-color .16s; }
}
@media (max-width: 900px) {
  .public-head .header.wrap { flex-wrap: wrap; min-height: 4.1rem; gap: .3rem .75rem; padding-block: .5rem; }
  .public-head .header nav { width: 100%; flex-basis: 100%; order: 3; margin: 0; flex-wrap: wrap; border: 0; gap: .2rem 1.4rem; }
  .enhanced .public-head .header .nav-toggle { margin-left: auto; display: inline-flex; align-items: center; gap: .55rem; border: 0; padding: .35rem .25rem; background: transparent; }
  .public-head .nav-toggle .menu-lines { display: block; width: 1rem; height: .44rem; background: none; border-block: 1.5px solid currentColor; }
  .enhanced .public-head .header nav { display: none; }
  .enhanced .public-head .header[data-menu-open="true"] nav { display: flex; border-top: 1px solid var(--rule); padding-block: .4rem; }
  .opening-grid { min-height: auto; padding-block: 3.5rem; }
  .opening h1 { font-size: clamp(2.85rem, 6.35vw, 4rem); }
  .inner-cover, .reading-layout { grid-template-columns: minmax(0,.66fr) minmax(0,1.34fr); gap: 2rem; }
}
@media (max-width: 740px) {
  .opening-grid, .practice-heading, .disciplines > div, .approach-grid, .inner-cover, .reading-layout { grid-template-columns: minmax(0,1fr); }
  .opening-grid { gap: .3rem; padding-block: 2.25rem .75rem; }
  .opening h1 { font-size: clamp(2.85rem, 13.15vw, 5rem); margin-block: 1rem .9rem; }
  .opening .hero-description { max-width: 43ch; font-size: 1.3125rem; line-height: 1.5; }
  .edition .actions { margin-top: 1.25rem; gap: .4rem 1.25rem; }
  .opening-art { justify-self: center; width: min(100%, 32rem); margin-top: .3rem; }
  .opening-art img { width: 100%; margin: 0; }
  .practice, .approach-grid { padding-block: 2.8rem; }
  .practice-heading { gap: .75rem; padding-bottom: 1.5rem; }
  .practice-heading > p { font-size: 1.1875rem; }
  .disciplines > div { gap: .55rem; padding-block: 1.25rem; }
  .disciplines dd, .approach-copy p, .reading-body, .cover-copy > p { font-size: 1.3125rem; line-height: 1.53; }
  .approach-grid { gap: 1.4rem; }
  .approach h2 { margin-top: .65rem; font-size: clamp(2.9rem, 10vw, 4rem); }
  .invitation { align-items: start; flex-direction: column; gap: 1.25rem; padding-block: 2.65rem; }
  .public-foot.wrap { align-items: start; flex-direction: column; gap: .25rem; }
  .public-foot .footer-signature { gap: .5rem 1rem; }
  .public-foot nav { gap: .1rem 1.15rem; }
  .inner-cover { gap: 1.15rem; padding-block: 2.25rem 2.1rem; }
  .inner-cover h1 { max-width: none; font-size: clamp(3.3rem, 12vw, 4.8rem); }
  .cover-copy .standfirst { font-size: 1.375rem; }
  .reading-layout { gap: 1.85rem; padding-block: 1.2rem 2.7rem; }
  .reading-index { position: static; display: flex; flex-wrap: wrap; gap: .1rem 1.1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--rule); }
  .reading-body section + section { margin-top: 2.2rem; padding-top: 1.75rem; }
  .contact-cover { min-height: 0; padding-bottom: 3rem; }
  .policy .range-list > div { grid-template-columns: minmax(0,1fr); gap: .1rem; }
  #telemetry-choice p { flex-basis: 100%; }
}
@media (max-width: 380px) {
  .public-head .header.wrap { gap: .25rem .4rem; }
  .public-head .header .brand { font-size: 1.18rem; gap: .45rem; }
  .public-head .header .nav-toggle .menu-lines { display: none; }
  .role-line::before { display: none; }
}
/* The native contact response also works with its strict font and image policy. */
.native-contact-edition { --serif: Georgia, serif; --sans: system-ui, sans-serif; }
.native-contact { max-width: 40rem; padding-block: 2.5rem; }
.native-contact h1 { margin: .3rem 0 1rem; font-size: clamp(2.75rem, 6vw, 4.5rem); line-height: 1.08; }
.native-contact p, .native-contact form { margin-bottom: 1rem; }
.native-contact .contact-alternatives { margin-top: 1.25rem; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  body.edition { background: white; color: black; font-size: 10pt; }
  .public-head, .skip, .public-foot, .reading-index, .actions, .examples, .telemetry-choice, #toast { display: none !important; }
  .edition .wrap { width: 100%; }
  .resume-edition .inner-cover, .resume-edition .reading-layout { display: block; padding: 0; border: 0; }
  .resume-edition .inner-cover h1 { font-size: 26pt; margin: 0 0 5pt; }
  .resume-edition .cover-copy { max-width: none; }
  .resume-edition .cover-copy p, .resume-edition .reading-body { font-size: 10pt; max-width: none; }
  .resume-edition .print-contact { display: block; }
  .resume-edition .reading-body h2 { font-size: 16pt; margin: 10pt 0 3pt; }
  .resume-edition .experience h3 { font-size: 11pt; }
  .resume-edition .experience p, .resume-edition .date-line, .resume-edition .credential-list span { font-size: 10pt; }
  .resume-edition .experience, .resume-edition .range-list > div, .resume-edition .credential-list li { break-inside: avoid; }
  .resume-edition .reading-body section + section, .resume-edition .experience + .experience,
  .resume-edition .range-list > div + div { margin-top: 6pt; padding: 0; border: 0; }
  .credential-list li { padding: 1pt 0; }
}
