
:root{--bg:#f7faf7;--white:#fff;--ink:#143b38;--muted:#5c746f;--teal:#087e6f;--deep:#16433d;--line:#d5e6de;--mint:#cef5e1;--lav:#b19bd2;--ease:cubic-bezier(.22,1,.36,1)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased}button{font:inherit;cursor:pointer}a{color:inherit}a:focus-visible,button:focus-visible{outline:3px solid #13a68a;outline-offset:5px}::selection{background:#bdf6da;color:#082f2b}
.skip{position:absolute;left:-200vw;top:0}.skip:focus{left:10px;top:10px;z-index:110;background:white;padding:12px}.wrap{width:min(1300px,calc(100% - 100px));margin:auto}
header{height:76px;position:sticky;top:0;z-index:50;background:#f7faf7e8;backdrop-filter:blur(22px);border-bottom:1px solid #d7e6dfaa}.nav{height:100%;display:flex;justify-content:space-between;align-items:center;gap:20px}.logo{font-family:'Manrope',system-ui,sans-serif;text-decoration:none;letter-spacing:-.065em;font-size:24px;font-weight:800;white-space:nowrap}.navlinks{display:flex;align-items:center;gap:31px}.navlinks a,.navlinks button{font-size:13px;font-weight:700;text-decoration:none;letter-spacing:.005em}.navlinks a:hover,.navlinks button:hover{color:var(--teal)}.navlinks button{background:transparent;border:0;color:inherit;padding:8px}.action{display:inline-flex;align-items:center;justify-content:center;gap:20px;border-radius:999px;padding:15px 25px;text-decoration:none;border:1px solid transparent;font-size:13px;line-height:1.3;font-weight:700;transition:transform .22s var(--ease),background .22s,box-shadow .22s;white-space:nowrap}.action:hover{transform:translateY(-2px);box-shadow:0 14px 26px #144c3e15}.action.primary{background:var(--deep);color:white}.action.secondary{background:white;border-color:#c6d9cf;color:var(--deep)}.action.small{padding:12px 19px}.mobileToggle{display:none}
.hero{overflow:hidden;background:radial-gradient(ellipse 42% 54% at 82% 49%,#e6f8ed 0%,transparent 100%),var(--bg)}.herogrid{display:grid;grid-template-columns:1.03fr .97fr;align-items:center;gap:44px;padding:73px 0 64px;min-height:606px}.eyebrow,.tinylabel{font-size:10px;font-weight:800;letter-spacing:.21em;text-transform:uppercase;color:var(--teal)}.eyebrow:before{content:'';display:inline-block;width:22px;height:1px;background:var(--teal);vertical-align:middle;margin-right:12px}.hero h1{font-family:'Manrope',system-ui,sans-serif;font-weight:600;letter-spacing:-.09em;line-height:1.035;font-size:clamp(58px,6.8vw,100px);margin:25px 0 23px}.hero h1 em{font-style:normal;color:var(--teal)}.lead{font-size:clamp(17px,1.55vw,21px);line-height:1.55;color:#4c6762;max-width:630px;margin:0}.lead b{font-weight:700;color:#244a45}.heroactions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.herofoot{font-size:12px;color:var(--muted);margin-top:22px}.herofoot b{color:var(--deep)}
.proofline{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.proofgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.proofitem{min-height:104px;padding:24px 28px 22px 0;display:flex;align-items:center;gap:16px}.proofitem+.proofitem{border-left:1px solid var(--line);padding-left:26px}.proofitem b{font-family:Manrope,sans-serif;font-weight:650;letter-spacing:-.09em;font-size:clamp(35px,3.6vw,52px);white-space:nowrap}.proofitem span{font-size:12px;line-height:1.45;color:#57736b}.proofitem span strong{display:block;font-size:12px;color:#224943;margin-bottom:2px}
.section{padding:104px 0}.sectop{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:40px}.section h2{font-size:clamp(41px,5vw,70px);font-weight:600;line-height:1.08;letter-spacing:-.077em;font-family:Manrope,sans-serif;margin:12px 0 0}.sectop p{max-width:435px;margin:0;color:var(--muted);font-size:16px;line-height:1.55}
.work{background:#f7faf7}.work-items{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.work-card{padding:35px 31px 30px;background:#fff;border:1px solid var(--line);border-radius:23px;min-height:312px;transition:transform .25s var(--ease),box-shadow .25s}.work-card:hover{transform:translateY(-5px);box-shadow:0 17px 45px #154e3b10}.work-card small{font-size:10px;letter-spacing:.15em;color:var(--teal);font-weight:800}.work-card h3{font-family:Manrope,sans-serif;font-weight:650;font-size:clamp(24px,2.5vw,34px);line-height:1.18;letter-spacing:-.06em;margin:20px 0 15px}.work-card p{color:#5d7771;font-size:14px;line-height:1.65}.work-card .foot{border-top:1px solid var(--line);padding-top:17px;color:#356155;font-size:11px;font-weight:700;letter-spacing:.02em;margin-top:25px}
.ao{background:#e9f6f0;border-block:1px solid #d8e8df}.ao-grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:58px;align-items:start}.ao-head{position:sticky;top:114px}.ao-lockup{display:flex;gap:11px;align-items:center;margin:25px 0}.ao-lockup svg{width:47px;height:47px;display:block;overflow:visible}.ao-lockup b{font-family:Manrope,sans-serif;font-size:37px;letter-spacing:-.09em;line-height:1}.ao-lockup small{display:block;letter-spacing:.19em;font-size:8px;color:#4d5962}.ao h2{margin-top:20px}.ao p{line-height:1.65;font-size:16px;color:#53716a;max-width:480px}.ao-status{font-size:10px;letter-spacing:.1em;font-weight:800;color:#426a5b;margin:20px 0 27px}
.demo{background:#fff;border:1px solid #cce2d6;border-radius:27px;box-shadow:0 24px 60px #3572600d;overflow:hidden}.demo-bar{display:flex;justify-content:space-between;align-items:center;background:#f8faf9;border-bottom:1px solid #e0ece5;padding:15px 21px;gap:9px;font-size:10px;font-weight:800;letter-spacing:.09em;color:#4f6e60}.demo-bar span:last-child{color:var(--teal)}.demo-main{padding:25px 28px 27px}.demo-head{font-size:22px;font-weight:700;letter-spacing:-.045em;line-height:1.2;margin:0}.demo-intro{font-size:12px;color:#60786f;line-height:1.4;margin:6px 0 17px}.segment-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.segment{border:1px solid #d5e3dd;background:#f8fbf8;text-align:left;padding:12px 13px;border-radius:12px;font-size:12px;line-height:1.35;color:var(--deep);font-weight:700}.segment small{display:block;color:#6f817b;font-size:10px;font-weight:500;margin-top:4px}.segment[aria-pressed=true]{background:#e7f8ef;border-color:#0a967e;box-shadow:inset 0 0 0 1px #0a967e}.ao-readout{padding:18px 0 12px;border-bottom:1px solid var(--line);min-height:155px}.ao-readout .eyelabel{font-size:10px;letter-spacing:.17em;color:var(--teal);font-weight:800}.ao-readout h4{font-size:21px;letter-spacing:-.045em;margin:8px 0;color:var(--deep)}.ao-readout p{font-size:13px;color:#597269;margin:0 0 10px;line-height:1.55}.ao-readout strong{font-size:12px;color:#255848}.stage-controls{display:flex;gap:7px;flex-wrap:wrap;margin-top:17px}.stage{background:#f2f8f4;border:1px solid #d9e9df;border-radius:100px;padding:8px 11px;font-size:11px;color:#536d61;font-weight:700}.stage[aria-pressed=true]{color:#063f35;border-color:#2ba38a;background:#d3f7e4}.ao-stage{font-size:12px;line-height:1.6;color:#536c63;margin-top:15px;min-height:60px}.demo-foot{font-size:10px;color:#4e685d;border-top:1px solid var(--line);padding:13px 21px 17px;background:#fff;line-height:1.4}
.contact{background:#fff;padding:95px 0}.contact-grid{display:flex;justify-content:space-between;align-items:center;gap:35px}.contact h2{font-family:Manrope,sans-serif;letter-spacing:-.07em;font-size:clamp(43px,5.5vw,73px);line-height:1.1;font-weight:620;margin:15px 0 16px}.contact p{color:var(--muted);font-size:16px;line-height:1.5;max-width:550px}.footer{background:#fff;border-top:1px solid var(--line);padding:30px 0;color:#506b60;font-size:11px}.foot-grid{display:flex;align-items:center;justify-content:space-between;gap:20px}.foot-grid a{text-decoration:none}.foot-grid a:hover{text-decoration:underline}
/* Executive profile side-sheet — converts a hiring inquiry into something forwardable. */
.overlay{position:fixed;inset:0;z-index:200;background:#0c2f2b78;opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s}.overlay[aria-hidden="true"]{pointer-events:none}.overlay.open{opacity:1;visibility:visible}.sheet{position:absolute;right:0;top:0;bottom:0;overflow:auto;background:#fff;width:min(590px,100%);padding:44px clamp(24px,4vw,54px);box-shadow:-25px 0 90px #0b281d35;transform:translateX(40px);transition:transform .35s var(--ease)}.overlay.open .sheet{transform:translateX(0)}.sheetclose{position:absolute;top:25px;right:25px;width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:#f6fbf7;font-size:21px}.sheet h2{font-family:Manrope,sans-serif;font-size:clamp(40px,5vw,56px);letter-spacing:-.08em;line-height:1.06;margin:34px 0 18px}.sheetlead{color:#587169;font-size:16px;line-height:1.55}.sheetproof{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:23px 0;border-block:1px solid var(--line);padding:19px 0}.sheetproof b{font-size:26px;font-family:Manrope,sans-serif;letter-spacing:-.07em}.sheetproof small{display:block;color:#668179;font-size:10px;line-height:1.4}.sheet h3{font-size:13px;letter-spacing:.09em;text-transform:uppercase;color:var(--teal);margin:29px 0 8px}.sheet p,.sheet li{font-size:13px;line-height:1.6;color:#526c64}.sheet li{margin-bottom:5px}.sheet ul{padding-left:18px}.sheet .actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}
@media(max-width:1100px){.wrap{width:min(100% - 72px,1200px)}.herogrid{gap:5px;grid-template-columns:1.1fr .9fr}.hero h1{font-size:clamp(58px,7vw,85px)}.work-card{padding:26px 24px}}
@media(max-width:780px){header{height:66px}.wrap{width:calc(100% - 42px)}.logo{font-size:20px}.navlinks{gap:16px}.navlinks a:not(.action),.navlinks button{display:none}.navlinks .action{padding:10px 15px;font-size:11px}.herogrid{display:flex;flex-direction:column;align-items:stretch;padding:65px 0 38px;min-height:0;gap:25px}.hero h1{font-size:clamp(53px,11.5vw,76px);margin:21px 0 15px}.lead{font-size:17px}.proofgrid{grid-template-columns:1fr}.proofitem{min-height:0;padding:16px 0}.proofitem+.proofitem{padding-left:0;border-left:0;border-top:1px solid var(--line)}.proofitem b{font-size:42px;min-width:96px}.section{padding:77px 0}.sectop{display:block}.sectop p{margin-top:20px}.work-items,.ao-grid{grid-template-columns:1fr;gap:15px}.work-card{min-height:0}.ao-head{position:relative;top:0;margin-bottom:22px}.ao-grid{gap:26px}.ao h2{font-size:49px}.contact-grid{display:block}.contact .action{margin-top:20px}.foot-grid{display:block}.foot-grid>*{display:block;margin:7px 0}}
@media(max-width:470px){.wrap{width:calc(100% - 34px)}.navlinks .action{padding:9px 11px}.hero h1{font-size:clamp(48px,12vw,62px)}.herogrid{padding:52px 0 37px}.proofitem b{min-width:85px;font-size:39px}.segment-buttons{grid-template-columns:1fr}.demo-main{padding:20px}.sheetproof{grid-template-columns:repeat(3,1fr)}.sheetproof b{font-size:23px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}

.mobileproof{display:none}
@media(max-width:780px){.mobileproof{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-block:1px solid var(--line);margin-top:24px;padding:14px 0 10px}.mobileproof>div{min-width:0}.mobileproof b{font-family:Manrope,system-ui,sans-serif;display:block;font-size:26px;letter-spacing:-.07em;line-height:1.2;color:var(--ink)}.mobileproof span{font-size:10px;line-height:1.28;color:var(--muted);display:block}.proofline{display:none}.herofoot{margin-top:12px}}

html { scroll-padding-top: 5.5rem; }
.sheet p, .work-card p, .demo-intro, .ao-readout p, .ao-stage p { font-size: max(1rem, 1em); }

.sheet .actions a, .action { font-size: .875rem; }
.profile-details { padding-bottom:4rem; }
#profileSheet .sheetclose { z-index:1; }

@media (min-width: 781px) {
  .hero-copy { min-width:0; container-type:inline-size; }
  .hero h1 { font-size:clamp(3.1rem, 13.3cqw, 6.1rem); }
}

/* Light studio surface and the interactive decision model. */
:root {
  --bg: #f8f9fb;
  --ink: #172025;
  --muted: #515c66;
  --teal: #00695e;
  --deep: #123d39;
  --line: #d6dce0;
}
.hero {
  background:
    radial-gradient(ellipse at 83% 33%, #e4e2f0 0%, transparent 33%),
    radial-gradient(ellipse at 58% 65%, #e2eeed 0%, transparent 37%),
    linear-gradient(120deg, #fbfbfc 12%, #f8f9fa 53%, #eef1f4);
}
.herogrid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  min-height: min(47rem, 88vh);
  padding-block: clamp(2.3rem, 5vw, 5.5rem);
}
.hero-copy { align-self: center; }
.hero .eyebrow, .tinylabel {
  color: #365b57;
  font-size: .79rem;
  font-weight: 700;
  letter-spacing: .115em;
}
.hero .eyebrow::before { display:none; }
.hero h1 {
  margin: 1.2rem 0 1.35rem;
  font-weight: 650;
  letter-spacing: -.079em;
  line-height: 1.02;
}
.hero h1 em { color: #176b63; }
.hero .lead { color: #515962; font-size: clamp(1.02rem, 1.4vw, 1.3rem); max-width: 36rem; }
.hero .lead b { color: #263b3b; font-weight: 650; }
.herofoot { font-size: .84rem; line-height: 1.45; color: #525d62; max-width: 34rem; }
.herofoot b { color: #263b3b; }
.action { min-height: 46px; }
.action.primary { background: #192527; }
.action.secondary { color: #233d3a; border-color: #b9c4c8; background: #ffffff82; }
.action:hover { box-shadow: 0 5px 18px #27364316; }
.heroactions { gap: .7rem; }
.model { min-width: 0; position: relative; align-self:center; }
.model-stage { position: relative; width:100%; aspect-ratio:1.65; isolation:isolate; }
.model-stage::after {
  content: '';
  position:absolute;
  bottom:1%; left:24%; width:56%; height:6%;
  border-radius:50%;
  background:radial-gradient(ellipse, #20363a50, #4c596315 55%, transparent 72%);
  filter:blur(5px);
  z-index:-1;
}
.model-pose { position:absolute; inset:-9% 0 0; width:100%; height:110%; object-fit:contain; opacity:0; transition:opacity .45s ease; }
.model-pose[data-visible] { opacity:1; }
.model-console {
  position:relative;
  padding: 5px 5px 1rem;
  max-width: 30rem;
  margin: .25rem auto 0;
  border: 1px solid #ffffff;
  border-radius: 24px;
  background: linear-gradient(112deg, #ffffffd9, #ffffffa8);
  box-shadow: 0 1px 2px #20303b1b, 0 12px 32px -17px #29465058, inset 0 0 0 1px #f2f3f4;
}
.model-controls { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:2px; padding:3px; background:#e4e7e9; border-radius:18px; }
.model-controls button {
  position:relative; border:0; background:transparent; border-radius:15px;
  min-height:44px; padding: .4rem .12rem; color:#465158; font: 650 .9rem/1.2 'DM Sans',system-ui,sans-serif;
}
.model-controls button[aria-pressed="true"] { background:#fff; color:#122726; box-shadow:0 1px 5px #152e3421; }
.model-controls button:hover { color:#006357; }
.model-console button:focus-visible { outline: 2px solid #007767; outline-offset: -3px; }
.model-info { margin:0 1.05rem; }
.core-kicker { display:block; font:650 .75rem/1.3 'DM Sans',system-ui,sans-serif; letter-spacing:.06em; color:#4a6260; }
#coreTitle { display:block; margin:0 0 .16rem; font:650 clamp(1.2rem,1.8vw,1.6rem)/1.17 Manrope,system-ui,sans-serif; letter-spacing:-.05em; color:#1b2e30; }
#coreCaption { margin:0; font-size:.925rem; line-height:1.35; color:#49555d; }
.model-output { margin:.8rem 0 0; display:flex; flex-wrap:wrap; align-items:baseline; gap:.2rem .5rem; font-size:.81rem; line-height:1.35; color:#56616a; }
.model-output b { color:#22544e; font-weight:650; }
.model-toolbar { margin:.15rem .8rem 0 1.05rem; display:flex; align-items:center; justify-content:space-between; gap:.25rem; }
.model-playback { display:flex; align-items:center; gap:.25rem; }
.model-playback button { border:0; background:transparent; min-height:40px; padding:.15rem .3rem; font-size:.78rem; color:#40544f; font-weight:600; }
.model-playback button:hover { text-decoration:underline; text-underline-offset:3px; }
@media(min-width:781px) { .hero h1 { font-size:clamp(3rem, 13.45cqw, 6.4rem); } }
.proofline { background:#fff; border-block:1px solid #dce1e4; }
.proofline .proofgrid { padding-block:.55rem; }
.proofitem { gap:1.15rem; }
.proofitem b { font-weight:600; letter-spacing:-.08em; color:#172e30; }
.proofitem span { font-size:.84rem; color:#566169; }
.proofitem span strong { font-size:.9rem; color:#203233; }
.work { background:#fff; }
.sectop { margin-bottom: clamp(2rem,4vw,3.8rem); }
.section h2, .contact h2 { letter-spacing:-.068em; font-weight:650; }
.work-items { display:block; border-top:1px solid #b8c3c6; }
.work-card {
  display:grid; grid-template-columns:.85fr 1.28fr 1.15fr; gap:clamp(1.4rem,4vw,4.6rem);
  align-items:start; min-height:0; padding:clamp(1.8rem,3.1vw,3rem) 0;
  border:0; border-bottom:1px solid #d8dee0; border-radius:0; background:none;
}
.work-card:hover { transform:none; box-shadow:none; }
.work-card small { font-size:.79rem; color:#2a5752; line-height:1.45; display:block; }
.work-card h3 { font-size:clamp(1.5rem,2.2vw,2.25rem); margin:0; letter-spacing:-.055em; line-height:1.14; text-wrap:balance; }
.work-card p { margin:0; color:#515d65; line-height:1.55; }
.work-card .foot { padding:0; margin-top:.7rem; border:0; text-transform:lowercase; font-size:.82rem; font-weight:500; color:#545e67; line-height:1.4; }
.work-card .foot::first-letter { text-transform:uppercase; }
.ao {
  background: radial-gradient(ellipse at 85% 18%, #38384e 0%, transparent 51%),
              radial-gradient(ellipse at 15% 95%, #143d39 0%, transparent 49%), #151b20;
  color:#f5f7f9; border:0;
}
.ao .tinylabel { color:#bed3d1; }
.ao .ao-head > p { color:#c1cbd0; max-width:31rem; }
.ao .ao-lockup small { color:#c0c5d2; font-size:.72rem; }
.ao .ao-lockup b { font-size:2.9rem; }
.ao .ao-lockup { margin-block:2rem; }
.ao-status { color:#d3cde7; font-size:.75rem; letter-spacing:.105em; }
.ao .demo { background:#f8f9fc; color:#17272a; border:1px solid #ffffffbd; box-shadow:0 20px 60px #05080e50, 0 0 0 5px #ffffff09; }
.demo-main { padding:clamp(1.25rem,2.5vw,2.35rem); }
.demo-bar { background: #e9ecf2; color:#46515b; padding:.95rem 1.35rem; font-size:.75rem; letter-spacing:.055em; }
.demo-bar span:last-child { color:#505770; }
.demo-head { font-family:Manrope,system-ui,sans-serif; font-size:clamp(1.45rem,2.25vw,2rem); }
.ao .demo-intro, .ao .ao-readout p, .ao .ao-stage p { color:#4b5961; max-width:none; }
.segment { background:#fff; border-color:#cdd5d8; font-size:.94rem; min-height:60px; }
.segment small { font-size:.78rem; color:#59656c; }
.segment[aria-pressed=true] { background:#e3f2ef; border-color:#2f7068; box-shadow:inset 0 0 0 1px #2f7068; }
.ao-readout { min-height:0; padding-block:1.25rem; }
.ao-readout .eyelabel { font-size:.75rem; }
.ao-readout h4 { color:#1d3937; font-size:1.42rem; }
.ao-readout strong { font-size:.9rem; }
.stage-controls { gap:.35rem; }
.stage { background:#fff; border-color:#cbd3d8; color:#37474e; min-height:42px; padding:.5rem .8rem; font-size:.875rem; }
.stage[aria-pressed=true] { color:#fff; background:#244a46; border-color:#244a46; }
.ao-stage b { font-size:1rem; color:#223f3b; }
.ao-stage p { margin:.25rem 0 0; }
.demo-foot { background:#edf0f5; color:#475460; font-size:.79rem; line-height:1.45; }
.contact { background:linear-gradient(110deg,#fbfcfc 28%,#ecf2f2 72%,#e6e5ee); }
.footer { font-size:.8rem; color:#495660; }
.sheet .tinylabel, .sheet h3, .sheetproof small { font-size:.8rem; }
.sheet .sheetproof { column-gap:.7rem; }
.sheet .sheetproof b { color:#153c38; }
@media(max-width:1000px) and (min-width:781px) {
  .herogrid { grid-template-columns:1fr 1fr; gap:1.45rem; }
  .model-controls button { font-size:.82rem; }
  .proofitem { gap:.65rem; }
  .proofitem + .proofitem { padding-left:1rem; }
}
@media(max-width:780px) {
  .herogrid { display:flex; gap:1.4rem; align-items:stretch; min-height:0; padding:2.6rem 0 2.5rem; }
  .hero-copy { align-self:stretch; }
  .hero h1 { font-size:clamp(2.65rem,11.5vw,5rem); line-height:1; margin: .95rem 0 1.05rem; }
  .hero .eyebrow { font-size:.75rem; letter-spacing:.055em; }
  .hero .lead { font-size:1rem; line-height:1.5; max-width:35rem; }
  .heroactions { margin-top:1.1rem; }
  .hero .action { padding:.72rem .93rem; }
  .mobileproof { margin-top:1.25rem; padding-block:.8rem; gap:.7rem; }
  .mobileproof b { font-size:1.6rem; font-weight:650; }
  .mobileproof span { font-size:.77rem; }
  .herofoot { margin:.65rem 0 0; font-size:.81rem; }
  .model { width:min(100%, 32rem); align-self:center; }
  .model-stage { aspect-ratio:1.7; }
  .model-info { margin:0 .8rem; }
  .model-controls button { font-size:.85rem; }
  .model-console { margin-top:.15rem; }
  .model-toolbar { margin-inline:.8rem .45rem; }
  .model-playback button { min-height:44px; }
  .work-card { grid-template-columns: 1fr; gap:.8rem; padding-block:1.6rem; }
  .work-card h3 { max-width:33ch; }
  .work-card .foot { display:none; }
  .ao-head { position:static; }
  .ao h2 { font-size:clamp(2.7rem,9vw,4rem); }
  .ao-grid { gap:1.65rem; }
  .ao-lockup, .ao-status { margin-block:1.2rem; }
  .ao .ao-lockup { margin-block:1.3rem; }
  .demo-bar { padding-inline:1rem; letter-spacing:.035em; font-size:.71rem; }
}
@media (max-width:370px) {
  .heroactions .action { font-size:.8rem; }
  .model-controls button { font-size:.78rem; }
  .model-output { display:block; }
  .model-output b { margin-left:.35rem; }
}

@media (min-width:360px) and (max-width:470px) {
  .hero .heroactions { gap:.45rem; }
  .hero .heroactions .action { padding-inline:.65rem; font-size:.84rem; }
}
@media(prefers-reduced-motion:reduce) {
  .model-pose { transition:none; }
}

/* One scroll surface keeps each chapter aligned with the actual sticky header. */
.chapter-page {
  --header-height:65px;
  --footer-height:78px;
  --reading-height:calc(100svh - var(--header-height));
  scroll-padding-block-start:var(--header-height);
  scroll-snap-type:y mandatory;
}
.chapter-page.profile-open { overflow:hidden; scroll-snap-type:none; }
.chapter { scroll-snap-align:start; scroll-snap-stop:always; }
.chapter-page .hero { display:flex; flex-direction:column; min-block-size:var(--reading-height); }
.chapter-page .herogrid { flex:1 0 auto; min-height:0; padding-block:clamp(1.5rem,4.5vh,3.8rem); }
.chapter-page .proofline { flex:none; }
.chapter-page .section.chapter, .chapter-page .contact.chapter {
  display:grid; align-content:center; min-block-size:var(--reading-height);
  padding-block:clamp(2.3rem,5vh,4.5rem);
}
.chapter-page .contact.chapter { min-block-size:calc(var(--reading-height) - var(--footer-height)); }
.chapter-page .work-card { padding-block:clamp(1.25rem,2.85vh,2.45rem); }
.chapter-page .sectop { margin-bottom:clamp(1.4rem,3.8vh,3rem); }
.chapter-page .ao-head { position:static; align-self:center; }
.chapter-nav {
  position:fixed; right:max(5px,env(safe-area-inset-right)); top:50%;
  transform:translateY(-50%); z-index:45;
  display:flex; flex-direction:column; align-items:center;
  padding:5px 2px; border-radius:20px; background:#f6f8f9e8;
  border:1px solid #aab5bc70; box-shadow:0 2px 10px #111c2310;
}
.chapter-nav a { display:grid; place-items:center; position:relative; width:24px; height:31px; }
.chapter-nav a::before { content:''; width:5px; height:5px; border-radius:50%; background:#829194; transition:height .2s; }
.chapter-nav a[aria-current]::before { height:14px; border-radius:5px; background:#1c5550; }
.chapter-nav a span {
  position:absolute; right:calc(100% + 8px); padding:.42rem .7rem; border-radius:7px;
  background:#18272a; color:#fff; font-size:.8rem; line-height:1.25; font-weight:550;
  white-space:nowrap; opacity:0; pointer-events:none;
}
.chapter-nav a:is(:hover,:focus-visible) span { opacity:1; }
.chapter-nav a:focus-visible { outline-offset:0; border-radius:8px; }
.chapter-page .model-stage { mix-blend-mode:multiply; }
.chapter-page .model-stage::after {
  z-index:2; pointer-events:none; bottom:0; left:26%; width:48%; height:6%;
  background:radial-gradient(ellipse closest-side,#25424247,transparent);
}
.orbit-camera { position:absolute; inset:0; transform:rotate(var(--scroll-turn,0deg)); }
.orbit-rotor {
  position:absolute; inset:0; transform:rotate(var(--stage-turn,0deg));
  transition:transform .85s cubic-bezier(.2,.65,.2,1);
}
.model[data-stage="1"] { --stage-turn:-5deg; }
.model[data-stage="2"] { --stage-turn:4deg; }
.model[data-stage="3"] { --stage-turn:-3deg; }
.orbit-film { position:absolute; inset:-9% 0 0; width:100%; height:110%; object-fit:contain; opacity:0; pointer-events:none; transition:opacity .3s; }
.model.has-film .orbit-film { opacity:1; }
.model.has-film .model-pose { opacity:0; }
.model:not(.has-film) .model-pose {
  animation:orbit-idle 5.6s ease-in-out infinite alternate;
  animation-play-state:paused;
}
.model.is-running:not(.has-film) .model-pose { animation-play-state:running; }
@keyframes orbit-idle {
  from { transform:perspective(720px) rotateY(-9deg) rotateX(2deg) rotateZ(-3deg); }
  to { transform:perspective(720px) rotateY(10deg) rotateX(-5deg) rotateZ(4deg) translateY(-2%); }
}
@media(min-width:901px) and (max-height:820px) {
  .chapter-page .herogrid { padding-block:clamp(.85rem,2.75vh,1.5rem); }
  .chapter-page .model-stage { max-height:36vh; }
  .chapter-page .proofline .proofgrid { padding:0; }
  .chapter-page .proofitem { min-height:80px; padding-block:1rem; }
  .chapter-page .section.chapter { padding-block:1.65rem; }
  .chapter-page .demo-main { padding:1.05rem 1.4rem; }
  .chapter-page .ao-readout { padding-block:.8rem; }
  .chapter-page .demo-foot { padding-block:.65rem; }
  .chapter-page .segment { min-height:53px; }
}
@media(max-width:1080px) { .chapter-nav { display:none; } }
@media(max-width:900px) {
  .chapter-page { --header-height:61px; }
}
@media(max-width:780px) {
  .chapter-page .herogrid { padding-block:2rem; }
  .chapter-page .section.chapter, .chapter-page .contact.chapter { padding-block:clamp(2.25rem,6.5svh,4.5rem); }
  /* A chapter taller than the visual viewport scrolls normally between its edges. */
  .chapter { scroll-snap-stop:normal; }
  .chapter-page .model { scroll-snap-align:start; scroll-margin-block-start:.75rem; }
}
@media(max-height:490px) {
  .chapter-page { scroll-snap-type:y proximity; }
}
@media(prefers-reduced-motion:reduce) {
  .chapter-page { scroll-snap-type:none; scroll-behavior:auto; }
  .chapter-page .orbit-camera, .chapter-page .orbit-rotor { transform:none; }
  .chapter-page .model .model-pose { animation:none; }
}
@media print {
  .chapter-page { scroll-snap-type:none; }
  .chapter-nav, .orbit-film { display:none; }
  .chapter-page .chapter { min-block-size:0; }
  .chapter-page .model .model-pose[data-visible] { opacity:1; }
}

@media(min-width:901px) and (max-height:820px) {
  .chapter-page .ao.chapter { padding-block:1.2rem; }
  .chapter-page .ao h2 { font-size:clamp(2.7rem,4.15vw,4.15rem); }
  .chapter-page .demo-bar { padding-block:.65rem; }
  .chapter-page .demo-intro { margin-bottom:.7rem; line-height:1.4; }
  .chapter-page .segment { padding-block:.5rem; }
  .chapter-page .ao-readout { padding-block:.55rem; }
  .chapter-page .ao-readout h4 { margin-block:.32rem; }
  .chapter-page .ao-readout p { margin-bottom:.4rem; line-height:1.45; }
  .chapter-page .stage-controls { margin-top:.62rem; }
  .chapter-page .ao-stage { margin-top:.55rem; }
  .chapter-page .ao-stage p { line-height:1.45; }
  .chapter-page .demo-foot { padding-block:.5rem; }
}
