@font-face {
  font-family: 'Manrope';
  src: url('./manrope-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f4ed;
  --ink: #171f2d;
  --muted: #4b5260;
  --orange: #e9512e;
  --deep-orange: #9f341a;
  --line: #cbc9bf;
  --page-scale: 1;
  --sans: 'Manrope', 'Aptos', 'Segoe UI', system-ui, sans-serif;
  font-family: var(--sans);
  font-size: 100%;
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: calc(100vh / var(--page-scale)); zoom: var(--page-scale); }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: .23em; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--deep-orange); outline-offset: 5px; }
::selection { background: #f8ae90; color: var(--ink); }
[hidden] { display: none !important; }
.shell { width: min(100% - 5.5rem, 76rem); margin: 0 auto; }

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  padding: .65rem 1rem;
  background: var(--ink);
  color: var(--paper);
  z-index: 10;
}
.skip-link:focus { top: .6rem; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.masthead { border-bottom: 1px solid var(--line); }
.header-row { min-height: 4.65rem; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.08rem; font-weight: 720; text-decoration: none; letter-spacing: -.015em; }
.mark {
  position: relative;
  display: inline-grid;
  width: 1.4rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--deep-orange);
  border-radius: 50%;
  transition: rotate .33s ease;
}
.mark::before, .mark::after { content: ''; position: absolute; background: var(--deep-orange); }
.mark::before { width: .62rem; height: 1px; }
.mark::after { width: 1px; height: .62rem; }
.wordmark:hover .mark { rotate: 45deg; }
.header-row nav { display: flex; align-items: stretch; gap: 2.25rem; align-self: stretch; }
.header-row nav a {
  display: grid;
  place-items: center;
  position: relative;
  min-width: 3.2rem;
  font-size: .925rem;
  font-weight: 640;
  text-decoration: none;
  color: var(--muted);
  transition: color .2s ease;
}
.header-row nav a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .23s ease;
}
.header-row nav a:is(:hover, [aria-current]) { color: var(--ink); }
.header-row nav a:is(:hover, [aria-current])::after { transform: scaleX(1); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.19fr) minmax(0, .86fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding: clamp(3.45rem, 6.5vw, 5.75rem) 0 clamp(3.4rem, 6.1vw, 5.7rem);
}
.hero-copy { min-width: 0; }
.eyebrow, .section-label, .season, .contact dt {
  font-size: .94rem;
  font-weight: 660;
  line-height: 1.55;
}
.eyebrow { margin: 0 0 1.45rem; color: var(--muted); }
.tick { display: inline-block; width: .69rem; height: .69rem; margin-right: .4rem; background: var(--orange); transform: rotate(-12deg); }
.divider { color: var(--deep-orange); margin: 0 .15rem; }
.hero h1 { margin: 0 0 1.65rem; font-size: clamp(3.65rem, 8.2vw, 7.5rem); line-height: 1; letter-spacing: -.055em; font-weight: 750; }
.greeting { display: block; margin-bottom: .17em; font-size: .47em; color: var(--muted); font-weight: 560; letter-spacing: -.035em; line-height: 1.18; }
.hero-name { display: block; }
.period { color: var(--orange); }
.intro { max-width: 35rem; color: var(--muted); font-size: clamp(1.03rem, 1.44vw, 1.19rem); line-height: 1.76; text-wrap: pretty; }
.intro p { margin: 0 0 1rem; }
.button {
  display: inline-block;
  margin-top: .65rem;
  padding: .78rem 1.02rem;
  color: #fffdf7;
  background: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 3px 3px 0 var(--orange);
  font-weight: 650;
  text-decoration: none;
  transition: box-shadow .2s, transform .2s, background .2s;
}
.button:hover { box-shadow: 5px 5px 0 var(--orange); transform: translate(-2px, -2px); }
.button:active { box-shadow: 0 0 0 var(--orange); transform: translate(3px, 3px); }

.portrait { position: relative; justify-self: stretch; margin: 0; isolation: isolate; }
.portrait::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -1.2rem -1.35rem 1.2rem 1.35rem;
  background-image: linear-gradient(#d9d5ca 1px, transparent 1px), linear-gradient(90deg, #d9d5ca 1px, transparent 1px);
  background-size: 1.25rem 1.25rem;
  border: 1px solid #d3d0c7;
}
.portrait-button {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: .48rem;
  cursor: zoom-in;
  background: #fffdf5;
  border: 1px solid #bfb8a8;
  box-shadow: 0 .8rem 1.65rem #25292714;
  transform: rotate(-1.6deg);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.portrait-button img { width: 100%; height: auto; aspect-ratio: 4 / 4.65; object-fit: cover; object-position: 50% 38%; }
.portrait-button:hover { transform: rotate(0) translateY(-.25rem); box-shadow: 0 1.2rem 2.3rem #25292729; }
.portrait-button:active { transform: scale(.985); }
.portrait-tape { position: absolute; display: block; top: -.8rem; left: 36%; width: 27%; height: 1.55rem; transform: rotate(6deg); background: #f7a988b8; clip-path: polygon(3% 4%, 97% 0, 94% 13%, 99% 29%, 97% 44%, 100% 72%, 95% 90%, 97% 100%, 0 96%, 4% 67%, 1% 53%, 4% 27%, 0 17%); pointer-events: none; }
.portrait-corner { width: 1.25rem; height: 1.25rem; position: absolute; right: -.55rem; bottom: -.45rem; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); pointer-events: none; }
.photo-expand { position: absolute; right: 1.05rem; bottom: 1.05rem; display: grid; place-items: center; width: 2.25rem; aspect-ratio: 1; background: var(--paper); color: var(--ink); font-size: 1.45rem; line-height: 1; }

.overview { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 7vw, 7rem); border-top: 1px solid var(--line); padding: clamp(2.65rem, 5.3vw, 4.85rem) 0; }
.section-label { margin: 0 0 1.2rem; color: var(--deep-orange); font-size: 1.03rem; font-weight: 725; }
.expertise-list { list-style: none; margin: 0; padding: 0; font-size: clamp(1.44rem, 2.55vw, 2.12rem); font-weight: 690; line-height: 1.34; letter-spacing: -.025em; }
.expertise-list li + li { margin-top: .28rem; }
.expertise-list span { color: var(--muted); font-weight: 500; }
.contact { min-width: 0; align-self: start; position: relative; scroll-margin: 2rem; border: 1px solid var(--ink); color: #f6f4ed; padding: 1.55rem 1.65rem 1.3rem; background: #202b3b; box-shadow: .27rem .27rem 0 var(--orange); }
.contact h2 { color: #ffb39c; margin-bottom: .72rem; }
.contact dl { margin: 0; }
.contact-item { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .22rem .6rem; padding: .67rem 0; border-bottom: 1px solid #58606a; }
.contact-item:last-child { border-bottom: 0; }
.contact dt { grid-column: 1; font-size: .875rem; color: #d7d6d2; }
.contact dd { grid-column: 1; margin: 0; min-width: 0; overflow-wrap: anywhere; font-size: clamp(1.02rem, 1.5vw, 1.18rem); font-weight: 650; }
.contact dd a { text-decoration-color: transparent; transition: text-decoration-color .2s; }
.contact dd a:hover { text-decoration-color: #ffb39c; }
.contact :focus-visible { outline-color: #ffb39c; }
.copy-button { display: grid; grid-row: 1 / span 2; grid-column: 2; margin: 0; padding: 0; width: 2.4rem; height: 2.4rem; place-items: center; background: transparent; border: 1px solid #7c838b; color: #fff9ea; cursor: pointer; transition: background .22s, color .22s, transform .22s; }
.copy-button:hover, .copy-button.is-copied { background: #ffb39c; color: #202b3b; }
.copy-button:active { transform: scale(.93); }
.copy-icon { position: relative; width: .62rem; height: .76rem; border-radius: 1px; border: 1px solid currentColor; }
.copy-icon::before { content: ''; width: .57rem; height: .72rem; position: absolute; left: -.29rem; top: -.23rem; border-left: 1px solid currentColor; border-top: 1px solid currentColor; border-radius: 1px; }
.is-copied .copy-icon { border-radius: 0; border: 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; width: .48rem; height: .83rem; rotate: 42deg; translate: 0 -.14rem; }
.is-copied .copy-icon::before { display: none; }
.copy-status { margin: 0; color: #ffbea9; font-size: .91rem; }
.copy-status:not(:empty) { margin-top: .55rem; }

.details { display: grid; grid-template-columns: 1.25fr 1fr .7fr; gap: clamp(1.5rem, 4.3vw, 4.1rem); border-top: 1px solid var(--line); padding: clamp(2.3rem, 4.8vw, 4.5rem) 0 clamp(3.4rem, 8vw, 7rem); }
.detail-section h2 { margin: 0 0 1.46rem; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.17; letter-spacing: -.04em; }
.role + .role { border-top: 1px solid var(--line); margin-top: 1.15rem; padding-top: 1.15rem; }
.season { color: var(--deep-orange); font-size: .875rem; margin: 0 0 .35rem; }
.role h3 { margin: 0; font-size: 1.12rem; letter-spacing: -.024em; }
.role .organization { margin: .19rem 0 .5rem; color: var(--ink); font-weight: 620; }
.role p:not(.season), .skills-list dd, .interests-list { color: var(--muted); line-height: 1.68; text-wrap: pretty; }
.role p:not(.season, .organization) { margin: 0; }
.skills-list { margin: 0; }
.skills-list > div + div { margin-top: .96rem; }
.skills-list dt { color: var(--ink); font-weight: 710; }
.skills-list dd { margin: .16rem 0 0; }
.interests-list { padding: 0; margin: 0; list-style: none; }
.interests-list li { position: relative; padding-left: 1rem; }
.interests-list li::before { content: ''; position: absolute; top: .65em; left: 0; width: .32rem; height: .32rem; background: var(--orange); }
.interests-list li + li { margin-top: .72rem; }

.project-art { margin: 0; background: #14253b; }
.project-art picture { display: block; }
.project-art img { width: 100%; height: auto; }
.project-gallery { padding-block: clamp(3.15rem, 7vw, 6.1rem) clamp(3.4rem, 7vw, 6rem); }
.project-gallery h1 { margin: 0 0 clamp(1.25rem, 2.8vw, 2.1rem); font-size: clamp(2.1rem, 4.1vw, 3.32rem); line-height: 1.1; letter-spacing: -.045em; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.project-card {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  aspect-ratio: 4 / 3;
  margin: 0;
  background: #e6e8e8;
}
.project-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aero-card { background: #202b3b; }
.project-card .project-caption {
  position: absolute;
  display: grid;
  align-content: center;
  justify-items: center;
  inset: 0;
  padding: 1.5rem;
  font-size: clamp(1.35rem, 2.45vw, 2.28rem);
  line-height: 1.16;
  text-align: center;
  text-wrap: balance;
  letter-spacing: -.035em;
  font-weight: 740;
  color: var(--ink);
}
a.project-card { text-decoration: none; }
.project-card:not(.project-pending) .project-caption {
  background: #f6f4ede0;
  opacity: 0;
  transform: translateY(.23rem);
  transition: opacity .25s ease, transform .25s ease;
}
.project-card:not(.project-pending):is(:hover, :focus) .project-caption { opacity: 1; transform: translateY(0); }
.project-pending { background: #eae9e2; border: 1px solid #d2d1c8; }
.pending-graphic {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, #eeeee7 4%, transparent 86%), repeating-linear-gradient(0deg, transparent 0 23px, #d4d7ce 23px 24px), repeating-linear-gradient(90deg, transparent 0 23px, #d4d7ce 23px 24px);
}
.project-pending figcaption > span { max-width: 14ch; }
.project-pending figcaption small {
  display: block;
  margin-top: .65rem;
  color: var(--deep-orange);
  font-size: .875rem;
  font-weight: 710;
  letter-spacing: .01em;
}
.project-orbit { --orbit-radius: clamp(24px, 3.2vw, 44px); position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .2s ease; z-index: 2; }
.project-orbit::before {
  content: '';
  position: absolute;
  inset: 1px;
  border: 1px solid #e9512e70;
  border-radius: var(--orbit-radius);
}
.project-orbit::after {
  content: '';
  position: absolute;
  width: 1.25rem;
  height: .18rem;
  border-radius: 100%;
  background: linear-gradient(90deg, #f46c3000, #ed5b25 72%, #fff5dc 94%);
  filter: drop-shadow(0 0 3px #f48345);
  offset-path: inset(1px round var(--orbit-radius));
  offset-anchor: 87% 50%;
  offset-distance: 14.25%;
  offset-rotate: auto;
}
.project-card:is(:hover, :focus-visible) .project-orbit { opacity: 1; }
.project-card:is(:hover, :focus-visible) .project-orbit::after { animation: card-orbit 2.85s cubic-bezier(.65, 0, .35, 1) infinite; }
/* Start midway across the top of the 4:3 card, so peak speed is across the bottom. */
@keyframes card-orbit { to { offset-distance: 114.25%; } }
@media (hover: none) {
  .project-card:not(.project-pending) .project-caption {
    inset: auto 0 0;
    justify-items: start;
    padding: .7rem .95rem;
    text-align: left;
    background: #f6f4edea;
    opacity: 1;
    transform: none;
  }
}

.case-study { padding-block: clamp(2rem, 4.5vw, 4rem) clamp(3rem, 7vw, 6rem); }
.case-back, .case-nav a { font-weight: 720; color: var(--deep-orange); text-decoration-color: #b8725b; }
.case-back:hover, .case-nav a:hover { text-decoration-thickness: 2px; }
.case-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
  margin: 1.65rem 0 clamp(3rem, 7.3vw, 6.1rem);
}
.case-hero .section-label { margin-bottom: .7rem; }
.case-hero h1 { margin: 0; font-size: clamp(2.6rem, 5.3vw, 5.15rem); line-height: 1.06; letter-spacing: -.061em; font-weight: 780; text-wrap: balance; }
.case-deck { max-width: 36ch; margin: 1.25rem 0 1.55rem; color: var(--muted); font-size: clamp(1.12rem, 1.6vw, 1.4rem); line-height: 1.69; text-wrap: pretty; }
.case-hero-image { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #e4e0d6; }
.case-meta { margin: 0; display: grid; gap: .55rem; }
.case-meta div { border-top: 1px solid var(--line); padding-top: .5rem; }
.case-meta dt { font-weight: 750; }
.case-meta dd { margin: .16rem 0 0; color: var(--muted); line-height: 1.69; }
.case-section { border-top: 1px solid var(--line); padding: clamp(3.1rem, 6.8vw, 6.1rem) 0; }
.case-section + .case-section { margin-top: clamp(.7rem, 1.7vw, 1.45rem); }
.case-split { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: start; gap: 1.95rem clamp(2rem, 6vw, 5.5rem); }
.case-split .case-wide { grid-column: 1 / -1; }
.case-section h2 { margin: 0; font-size: clamp(1.8rem, 3.45vw, 3.02rem); line-height: 1.15; font-weight: 750; letter-spacing: -.049em; text-wrap: balance; }
.case-section p { max-width: 64ch; margin: 0; color: var(--muted); font-size: clamp(1.03rem, 1.35vw, 1.16rem); line-height: 1.88; text-wrap: pretty; }
.case-section h2 + p, .case-section p + p, .case-section p + figure { margin-top: 1.3rem; }
.case-showcase { align-items: center; }
.case-showcase p { max-width: 35ch; }
.case-showcase video {
  display: block;
  width: min(100%, 21rem);
  height: auto;
  justify-self: start;
  background: var(--ink);
  border: 1px solid var(--line);
}
.case-callout strong { display: block; color: var(--deep-orange); font-size: clamp(2.2rem, 4.6vw, 4.3rem); line-height: 1.05; letter-spacing: -.045em; }
.case-callout span { display: block; margin-top: .34rem; }
.case-image-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.9vw, 2.5rem); }
.case-image-grid.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case-figure { margin: 0; min-width: 0; }
.case-figure img { width: 100%; height: auto; background: #eae8e1; }
.case-figure figcaption { margin: .68rem 0 0; color: var(--muted); font-size: .93rem; line-height: 1.58; }
.case-image-grid img { aspect-ratio: 4 / 3; object-fit: contain; }
.case-figure.case-photo img { object-fit: contain; }
.case-figure.tall img { aspect-ratio: 3 / 4; }
.case-figure.case-portrait { max-width: 31rem; }
.case-feature { width: min(100%, 60rem); }
.case-flow { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .6rem; padding: 0; margin: 0; list-style: none; }
.case-flow li { display: flex; align-items: center; gap: .45rem; background: #eeece4; padding: .78rem .9rem; border-top: 1px solid var(--line); font-weight: 710; }
.case-flow li span { display: inline-block; width: .52rem; aspect-ratio: 1; border-radius: 50%; flex: none; }
.signal-red span { background: #a33426; }
.signal-green span { background: #36763d; }
.case-report-links { display: flex; align-self: center; flex-wrap: wrap; gap: .65rem 1.5rem; }
.case-report-links a { color: var(--deep-orange); font-weight: 740; text-decoration: underline; text-decoration-thickness: .09em; }
.case-report-links a:hover { text-decoration-thickness: .15em; }
.case-nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem 1.6rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }

.egr-context { max-width: 20rem; }
.egr-prototypes img { height: min(42vw, 12rem); object-fit: contain; }
.egr-diagrams img { height: clamp(13rem, 30vw, 23rem); object-fit: contain; }
.egr-testing img { aspect-ratio: 3 / 4; max-height: 33rem; object-fit: contain; }
.egr-case .egr-disclosure { min-width: 0; border-top: 1px solid var(--line); padding-top: .85rem; }
.egr-disclosure summary {
  cursor: pointer;
  padding: .72rem .85rem;
  background: #efe4d8;
  color: var(--deep-orange);
  font-size: 1.05rem;
  font-weight: 770;
  text-decoration: underline;
  text-decoration-thickness: .095em;
  text-underline-offset: .23em;
}
.egr-disclosure summary:hover { background: #ead9c9; }
.egr-disclosure figure, .egr-disclosure .case-image-grid { margin-top: 1rem; }
.egr-disclosure .case-image-grid figure { margin: 0; }
.egr-results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem,2.5vw,2.1rem); margin: 0; }
.egr-results div { border-top: 2px solid var(--orange); padding: 1rem .2rem .4rem; }
.egr-results dt { color: var(--deep-orange); font-size: clamp(1.9rem, 4.15vw, 3.8rem); font-weight: 770; line-height: 1.05; letter-spacing: -.045em; }
.egr-results dd { margin: .65rem 0 0; max-width: 26ch; line-height: 1.65; color: var(--muted); }

.aero-chart { border: 1px solid var(--line); }
.aero-workflow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.85rem,2.3vw,1.75rem); margin: 0; }
.aero-workflow > div { padding: .95rem 1rem; background: #eeece4; border-top: 2px solid var(--line); }
.aero-workflow dt { font-weight: 760; }
.aero-workflow dd { margin: .25rem 0 0; color: var(--muted); line-height: 1.65; }
footer { border-top: 1px solid var(--line); }
.footer-row { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: .85rem; font-size: .925rem; color: var(--muted); }
.footer-row span { font-weight: 690; }
.footer-row a:hover { color: var(--deep-orange); }

.portrait-dialog { max-width: min(calc(100vw - 2rem), 39rem); max-height: calc(100dvh - 2rem); margin: auto; padding: .42rem; border: 0; background: var(--paper); overflow: visible; }
.portrait-dialog img { width: auto; height: auto; max-height: calc(100dvh - 2.85rem); object-fit: contain; }
.portrait-dialog::backdrop { background: #171f2de8; }
.dialog-close { position: absolute; top: .85rem; right: .85rem; width: 2.55rem; aspect-ratio: 1; padding: 0; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; font-size: 1.6rem; }
.dialog-close:hover { background: #ffb39c; }
.entrance { animation: enter .32s cubic-bezier(.2,.7,.2,1) both; }
.click-pulse {
  position: fixed;
  zoom: calc(1 / var(--page-scale));
  z-index: 20;
  left: var(--click-x);
  top: var(--click-y);
  width: 0;
  height: 0;
  pointer-events: none;
  color: var(--orange);
}
.click-pulse::before, .click-pulse::after, .click-pulse span { content: ''; position: absolute; display: block; pointer-events: none; }
.click-pulse::before {
  inset: -.92rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  animation: pulse-ring .53s cubic-bezier(.1,.68,.3,1) both;
}
.click-pulse::after {
  inset: -.19rem;
  background: currentColor;
  border-radius: 1px;
  animation: pulse-core .39s ease-out both;
}
.click-pulse span {
  top: -1.5px;
  left: -2px;
  width: 4px;
  height: 3px;
  border-radius: 1px;
  background: currentColor;
  animation: pulse-spark .51s cubic-bezier(.12,.72,.28,1) both;
}
.click-pulse span:nth-child(even) { color: #ae4c32; }
@keyframes enter { from { opacity: .30; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse-ring { from { opacity: .9; transform: scale(.28); } to { opacity: 0; transform: scale(1.55); } }
@keyframes pulse-core { from { opacity: 1; transform: rotate(5deg) scale(.9); } to { opacity: 0; transform: rotate(65deg) scale(.15); } }
@keyframes pulse-spark { from { opacity: 1; transform: rotate(var(--angle)) translateX(5px) scale(.85); } to { opacity: 0; transform: rotate(var(--angle)) translateX(var(--distance)) scale(.48); } }

@media (min-width: 64rem) and (pointer: fine) {
  :root { --page-scale: .75; }
  .project-art picture { width: min(100%, clamp(76rem, 94vw, 118rem)); margin-inline: auto; }
}
@media (max-width: 67rem) {
  .hero { gap: clamp(2.1rem, 5.25vw, 4rem); }
  .hero h1 { font-size: clamp(3.65rem, 8.45vw, 6.4rem); }
}
@media (min-width: 47.01rem) and (max-width: 57rem) {
  .portrait { align-self: start; margin-top: 2rem; }
}
@media (max-width: 47rem) {
  .shell { width: calc(100% - 3rem); }
  .header-row { min-height: 4.25rem; }
  .hero { gap: 2.4rem; grid-template-columns: minmax(0,1fr); align-items: start; }
  .hero h1 { font-size: clamp(3.4rem, 12vw, 6.25rem); }
  .portrait { grid-row: 1; width: min(100% - 1rem, 31rem); }
  .portrait::before { inset: -.75rem -.9rem .75rem .9rem; }
  .portrait-button img { aspect-ratio: 4 / 3.5; object-position: 50% 32%; }
  .overview { gap: 2.2rem; grid-template-columns: 1fr; }
  .details { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .details section:first-child { grid-column: 1 / -1; }
  .experience-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .role + .role { border-top: 0; padding-top: 0; margin-top: 0; }
}
@media (max-width: 31rem) {
  .shell { width: calc(100% - 2rem); }
  .header-row nav { gap: .85rem; }
  .eyebrow { font-size: .875rem; }
  .hero { padding-top: 2.65rem; }
  .details, .experience-list { grid-template-columns: 1fr; }
  .role + .role { border-top: 1px solid var(--line); padding-top: 1rem; }
  .contact { padding-inline: 1rem; }
}
@media (max-width: 42rem) { .project-grid { grid-template-columns: 1fr; } }
@media (max-width: 48rem) {
  .case-hero, .case-split { grid-template-columns: minmax(0, 1fr); }
  .case-hero { gap: 1.45rem; }
  .case-hero h1 { text-wrap: wrap; }
  .case-split { gap: 1.15rem; }
  .case-split .case-wide { margin-top: .65rem; }
  .case-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .egr-results { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 34rem) {
  .aero-workflow { grid-template-columns: minmax(0,1fr); }
  .case-image-grid { grid-template-columns: 1fr; }
  .case-image-grid.three-up { grid-template-columns: 1fr; }
  .case-image-grid.three-up figure { max-width: min(100%, 26rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .click-pulse::before { inset: -.42rem; animation: none; opacity: .68; }
  .click-pulse::after { display: none; }
  .project-card:is(:hover, :focus-visible) .project-orbit::after { animation: none; }
}
