html, body { margin: 0; background: #0b2f20; color: #fff; }

:root {
  font-family: "Inter Tight", Arial, sans-serif;
  font-synthesis: none;
  --ink: #0d0f0e;
  --green: #11402c;
  --mint: #cfeee0;
  --n: 1px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --glide: 0ms;
}

*, *::before, *::after { box-sizing: border-box; }
body { overflow: visible; }
button, a { font: inherit; color: inherit; }
button { cursor: pointer; }
a { text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid #ebd9a5; outline-offset: 5px; }
[hidden] { display: none !important; }
p, h1, h2, dl, dd { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.stage { position: relative; isolation: isolate; width: 100%; height: 100dvh; overflow: hidden; touch-action: auto; background: linear-gradient(180deg,#0c3523,#14503a 45%,#9fd8bf); }
.stage::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,#1b4a34,#1b4a34 55%,#2f6a50 80%,#7fb79d); opacity: 0; transition: opacity var(--glide) var(--ease); }
.stage[data-mode="case"]::before { opacity: 1; }

@property --mt { syntax: "<length>"; initial-value: 0px; inherits: true; }
@property --m0 { syntax: "<length>"; initial-value: 0px; inherits: true; }
@property --mb { syntax: "<length>"; initial-value: 0px; inherits: true; }
@property --ms { syntax: "<length>"; initial-value: 0px; inherits: true; }
.frame { position: absolute; width: 1440px; height: 810px; transform-origin: 0 0; transform: translate(var(--x, 0px), var(--y, 0px)) scale(var(--s, 1)); transition: transform var(--glide) cubic-bezier(.65,0,.35,1), --mt var(--glide), --m0 var(--glide), --mb var(--glide), --ms var(--glide); }
.frame.fitted { --mt: 110px; --mb: 60px; --ms: 170px; }
.photo, .cut { position: absolute; width: 1440px; pointer-events: none; }
.photo {
  mask-image: linear-gradient(180deg, transparent calc(var(--over,0px) + var(--m0)), #000 calc(var(--over,0px) + var(--m0) + var(--mt)), #000 calc(100% - var(--under,0px) - var(--mb)), transparent calc(100% - var(--under,0px))),
    linear-gradient(90deg, transparent, #000 var(--ms), #000 calc(100% - var(--ms)), transparent);
  mask-composite: intersect;
}
.plate, .cut { top: -73.125px; height: 956.25px; --over: 73.125px; --under: 73.125px; }
.cut { z-index: 4; }
.dive { inset: 0; height: 810px; z-index: 7; opacity: 0; object-fit: cover; }
.case-plate { top: -105.47px; height: 956.25px; --over: 105.47px; --under: 40.78px; z-index: 8; opacity: 0; }
.stage[data-mode="case"] .case-plate { opacity: 1; }
.stage[data-mode="case"] .hero-art, .stage[data-mode="case"] .cut { visibility: hidden; }
.stage[data-mode="case"] .plate { visibility: hidden; }
.stage.is-diving .dive { opacity: 1; }
.stage.is-diving .case-plate { opacity: 0; }

.wordmark { position: absolute; z-index: 3; left: var(--word-x,0px); top: var(--word-y,0px); width: var(--word-w,1440px); height: 260px; overflow: visible; font: 900 268px/1 "Inter Tight", sans-serif; letter-spacing: -6px; pointer-events: none; }
.script { position: absolute; z-index: 6; left: var(--script-x,88px); top: var(--script-y,148px); white-space: nowrap; font: 400 82px/1 "Caveat Brush", cursive; letter-spacing: -.5px; rotate: -8deg; text-shadow: 0 2px 14px #0003; pointer-events: none; }
.badge { position: absolute; z-index: 5; left: var(--badge-x,986px); top: var(--badge-y,-165px); width: 582px; height: 1030px; transform: scale(var(--badge-scale,1)); transform-origin: 0 0; pointer-events: none; }
.badge-motion { position: relative; width: 100%; height: 100%; transform-origin: 288px 0; }
.badge-image { width: 100%; height: 100%; }
.badge-card { pointer-events: auto; cursor: grab; position: absolute; top: 536px; left: 172px; width: 238px; height: 392px; padding: 20px 16px 0; color: #141615; }
.badge-card strong { font-size: 30px; line-height: .95; letter-spacing: -.5px; font-weight: 800; }
.badge-role { margin-top: 12px; padding-top: 5px; border-top: 1px solid #222; font-size: 10px; font-weight: 700; letter-spacing: .2px; }
.badge-initials { display: grid; place-items: center; width: 92px; height: 112px; margin: 12px auto; border-radius: 6px; background: #dfe4e1; font: 400 47px/1 Anton, sans-serif; color: #1b4a34; box-shadow: inset 0 0 0 1px #0001; }
.badge-row { display: flex; justify-content: space-between; align-items: end; gap: 6px; padding: 6px 0 3px; border-bottom: 1.5px dotted #333; font-size: 10px; font-weight: 700; }
.badge-row b { font-weight: 600; }

.scroll-hint { position: absolute; z-index: 11; bottom: max(16px, calc(22 * var(--n))); left: 50%; transform: translateX(-50%); border: 0; background: transparent; font-size: max(11px, calc(12 * var(--n))); font-weight: 650; letter-spacing: .18em; text-transform: uppercase; padding: 10px 7px 3px; white-space: nowrap; }
.scroll-hint::before { content: ""; display: block; position: relative; width: 1.5px; height: 22px; margin: 0 auto 9px; background: linear-gradient(#ffffff40, #fff, #ffffff40) 0 -23px / 100% 40px repeat-y; animation: drip 1.6s linear infinite; }
@keyframes drip { to { background-position-y: 17px; } }

.screen { position: absolute; z-index: 9; left: var(--screen-x); top: var(--screen-y); width: var(--screen-w); height: var(--screen-h); border-radius: 3px; overflow: hidden; background: #000; }
.screen-flash { position: absolute; z-index: 2; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
@media (max-width: 820px) {
  .stage { background: #0b3b2a; }
  .frame { --mt: 190px; --ms: 140px; }
  .frame.fitted { --m0: 48px; --mt: 40px; --mb: 70px; --ms: 140px; }
  .wordmark { height: var(--word-h); }
  .script { font-size: var(--script-size); rotate: -7deg; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

:root {
  --forest: #0b3023;
  --pine: #133e2f;
  --paper: #f6f4eb;
  --soft-ink: #47534b;
  --lime: #dbf5a7;
  --line: #d2d7c8;
  --canvas: min(1120px, 100% - 88px);
  --nav-h: 58px;
}

body { overflow: visible; overscroll-behavior: auto; }
.stage { position: sticky; top: 0; touch-action: auto; }
.intro-reel { height: calc(100dvh + clamp(175px, 31vh, 290px)); }
section[id], footer[id] { scroll-margin-top: var(--nav-h); }
#studio { scroll-margin-top: 0; }
[tabindex="-1"]:focus { outline: none; }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 60; background: var(--lime); color: var(--forest); padding: .75rem 1rem; transform: translateY(-140%); }
.skip-link:focus { transform: none; }

.site-nav { position: fixed; inset: 0 0 auto; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; z-index: 35; padding-inline: clamp(16px, 4vw, 60px); background: linear-gradient(#09291eee, #09291e55 80%, transparent); }
.site-nav nav { display: flex; gap: clamp(2px, 1.4vw, 16px); align-items: center; }
.site-nav nav a { padding: .55rem .8rem; min-height: 40px; display: inline-flex; align-items: center; color: #f8fbf5; font-size: .91rem; font-weight: 650; }
.site-nav nav a:hover { color: var(--lime); }
.site-brand { font-size: 1.62rem; font-weight: 900; letter-spacing: -.08em; line-height: 1; }
.site-brand span { color: var(--lime); }
.site-nav.is-solid { background: #0b3023f7; border-bottom: 1px solid #ffffff22; backdrop-filter: blur(12px); }

.hero-message { position: absolute; left: max(4.2vw, 20px); bottom: clamp(94px, 15vh, 150px); width: min(355px, 31vw); z-index: 8; color: #fff; padding: clamp(18px, 2vw, 27px); background: #0d3025ee; border: 1px solid #ffffff54; box-shadow: 0 12px 38px #041c1733; }
.hero-name { font-size: .82rem; font-weight: 750; color: #d8ead5; letter-spacing: .02em; margin-bottom: 9px; }
.hero-message h1 { font-size: clamp(1.48rem, 2.45vw, 2.55rem); line-height: 1.03; letter-spacing: -.035em; max-width: 15ch; font-weight: 800; }
.hero-message a { min-height: 40px; display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--lime); font-size: .91rem; font-weight: 800; }
.hero-message a:hover { text-decoration: underline; }
.stage.is-busy .hero-message, .stage[data-mode="case"] .hero-message, .stage[data-mode="case"] .scroll-hint { visibility: hidden; }
.scroll-hint { color: #fff; background: #0c2e22ed; padding: .65rem .9rem; border: 1px solid #f6fff55e; bottom: max(22px, env(safe-area-inset-bottom)); }
.scroll-hint::before { display: none; }
.scroll-hint::after { content: "↓"; padding-left: .65rem; }
.scroll-hint:hover { background: #123f2f; }

.screen { container-type: inline-size; background: #0d2821; }
.laptop-menu { position: absolute; inset: 0; padding: 7% 8%; display: grid; align-content: center; gap: 6cqw; background: radial-gradient(ellipse at 18% 0%, #285543, #102d25 63%); }
.laptop-menu h2 { font: 400 clamp(1.2rem, 8cqw, 5.2rem)/.96 Anton, sans-serif; color: #f6f4eb; }
.laptop-projects { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #ffffff42; border-bottom: 1px solid #ffffff42; }
.laptop-projects a { display: grid; align-items: center; min-height: 44px; padding: 3cqw 2cqw; font-size: clamp(.73rem, 3.3cqw, 1.6rem); font-weight: 750; border-right: 1px solid #ffffff42; }
.laptop-projects a { align-content: start; gap: 8px; }
.laptop-teaser { font-size: clamp(.72rem, 1.9cqw, .95rem); line-height: 1.35; font-weight: 550; color: #cde1d3; }
.laptop-projects a:hover .laptop-teaser, .laptop-projects a:focus-visible .laptop-teaser { color: #274536; }
.laptop-projects a:last-child { border-right: 0; }
.laptop-projects a:hover, .laptop-projects a:focus-visible { background: #e2f6b5; color: #123729; }
.laptop-all { align-self: end; justify-self: center; width: fit-content; margin: 0; padding: .6rem 1.1rem; border: 1px solid #cde1b36b; border-radius: 999px; text-align: center; font-size: clamp(.72rem, 2.75cqw, 1.05rem); color: var(--lime); font-weight: 750; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.laptop-all:hover, .laptop-all:focus-visible { background: var(--lime); border-color: var(--lime); color: #123729; }

.section { padding-block: clamp(64px, 9vw, 120px); }
.section-inner { width: var(--canvas); margin-inline: auto; }
.section-heading { display: grid; grid-template-columns: 1.6fr .8fr; gap: clamp(20px, 5vw, 65px); align-items: end; margin-bottom: clamp(28px, 4vw, 52px); }
.eyebrow { font-size: .76rem; line-height: 1.5; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; margin-bottom: 12px; }
.section h2 { font-size: clamp(2.65rem, 6.5vw, 6.2rem); font-weight: 850; line-height: .94; letter-spacing: -.055em; text-wrap: balance; }
.section-heading > p, .business-intro, .timeline-grid > div > p:last-child { font-size: clamp(1rem, 1.65vw, 1.31rem); line-height: 1.55; }
.work { padding-top: clamp(48px, 6vw, 82px); }
.work .section-heading { margin-bottom: clamp(20px, 3.4vw, 38px); }
.work, .timeline { color: var(--ink); background: var(--paper); }
.work .eyebrow, .business .eyebrow, .timeline .eyebrow { color: #38644f; }
.work .section-heading > p, .timeline-grid > div > p:last-child { color: var(--soft-ink); }
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); margin: 0 0 32px; color: #174835; }
.numbers div { padding: clamp(13px, 1.8vw, 20px) clamp(9px, 2.5vw, 27px); border-right: 1px solid var(--line); display: flex; flex-direction: column-reverse; gap: 5px; }
.numbers div:first-child { padding-left: 0; }
.numbers div:last-child { border-right: 0; }
.numbers dd { font-size: clamp(1.3rem, 3.5vw, 3rem); font-weight: 850; line-height: 1; letter-spacing: -.053em; }
.numbers dt { font-size: clamp(.78rem, 1.35vw, .95rem); font-weight: 650; }

.carousel { min-width: 0; }
.carousel-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 14px; }
.project-picker { display: flex; flex-wrap: wrap; gap: 7px; }
.project-picker button, .carousel-arrows button { min-height: 44px; padding: 7px 13px; border: 1px solid #bdc8ba; background: transparent; border-radius: 5px; color: #234836; font-size: .89rem; font-weight: 750; }
.project-picker button[aria-pressed="true"], .project-picker button:hover, .carousel-arrows button:hover { background: var(--pine); color: white; border-color: var(--pine); }
.carousel-arrows { display: flex; gap: 6px; flex-shrink: 0; }
.carousel-arrows button { width: 44px; padding: 0; font-size: 1.2rem; }
.embla__viewport { overflow: hidden; border-radius: 7px; }
.embla__container { display: flex; touch-action: pan-y pinch-zoom; }
.embla__slide { flex: 0 0 100%; min-width: 0; }
.project-card { display: grid; grid-template-columns: 1fr 1.02fr; background: #fffdf7; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.project-info { padding: clamp(20px, 3.1vw, 44px); }
.project-category { color: #375d4c; font-size: .8rem; font-weight: 800; margin-bottom: 10px; }
.project-info h3 { margin: 0 0 20px; font-size: clamp(1.65rem, 3.8vw, 3.2rem); line-height: 1; letter-spacing: -.06em; }
.project-answers > div { border-top: 1px solid #dbe0d6; padding-block: 10px; }
.project-answers dt { font-weight: 800; font-size: .84rem; margin-bottom: 3px; }
.project-answers dd { color: #3f4a42; font-size: .96rem; line-height: 1.5; }
.project-answers > div:last-child dd { font-weight: 700; color: #13523b; }
.workflow { display: flex; gap: 5px; flex-wrap: wrap; list-style: none; padding: 0; margin: 12px 0 0; }
.workflow li { background: #edf2e6; color: #29503d; padding: .32rem .52rem; border-radius: 3px; font-size: .76rem; font-weight: 750; }
.project-visual { display: flex; flex-direction: column; justify-content: center; background: #173c31; padding: clamp(14px, 2.5vw, 34px); }
.browser-bar { font-size: .78rem; line-height: 30px; color: #ecf7ef; font-weight: 680; background: #254f41; border-radius: 6px 6px 0 0; padding-inline: 12px; }
.browser-bar::before { content: "● ● ●"; color: #a5c895; font-size: .54rem; letter-spacing: .12em; margin-right: 11px; }
.project-visual img { width: 100%; height: auto; aspect-ratio: 1.58; object-fit: cover; object-position: top; display: block; background: #ebeee8; border-radius: 0 0 5px 5px; }
.project-actions { display: flex; flex-wrap: wrap; align-items: center; column-gap: 14px; margin-top: 13px; }
.project-actions a, .project-actions button { color: #e2f6b5; border: 0; background: none; padding: 0; display: inline-flex; align-items: center; min-height: 43px; font-size: .91rem; font-weight: 750; }
.project-actions a:hover, .project-actions button:hover { text-decoration: underline; }
.project-actions button { color: #fff; }

.ecosystem { background: #0d3024; color: #f4f5ea; }
.ecosystem .eyebrow, .contact .eyebrow { color: #cdeca5; }
.ecosystem .section-heading > p { color: #d4e2d5; }
.ecosystem-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 12px; align-items: stretch; }
.map-board, .branch-card { border: 1px solid #ffffff40; border-radius: 6px; min-width: 0; }
.map-board { padding: clamp(13px, 2vw, 21px); background: #102e25; }
#ecosystem-map { display: none; width: 100%; height: 310px; overflow: hidden; }
.map-loaded #ecosystem-map { display: block; }
#ecosystem-map .markmap-foreign, #ecosystem-map .markmap-foreign div { color: #f7faef; font-family: "Inter Tight", sans-serif; font-weight: 650; }
#ecosystem-map [data-map-branch] { cursor: pointer; padding: 2px 4px; border-radius: 3px; }
#ecosystem-map [data-map-branch]:hover, #ecosystem-map .map-active { color: #102e25; background: #dbf5a7; }
.branch-list { display: flex; flex-wrap: wrap; gap: 5px; }
.branch-list button { border: 1px solid #759282; border-radius: 4px; background: transparent; color: #eff7eb; padding: 7px 10px; min-height: 40px; font-size: .8rem; font-weight: 750; }
.branch-list button[aria-pressed="true"], .branch-list button:hover { background: var(--lime); color: #133c2e; border-color: var(--lime); }
.branch-card { padding: clamp(19px, 3.4vw, 40px); background: #1b4535; }
.branch-card h3 { margin: 0 0 12px; font-size: clamp(1.6rem, 3vw, 2.55rem); line-height: 1.04; letter-spacing: -.04em; }
.branch-card p:not(.eyebrow) { line-height: 1.5; }
.branch-example { border-top: 1px solid #ffffff4a; margin-top: 18px; padding-top: 15px; color: #e4efde; }
.branch-links { display: flex; flex-wrap: wrap; gap: 7px 13px; margin-top: 15px; }
.branch-links a, .toolkit a { text-decoration: underline; text-underline-offset: 3px; color: var(--lime); font-size: .91rem; font-weight: 750; }
.toolkit { border-block: 1px solid #ffffff36; margin-top: 23px; }
.toolkit summary { cursor: pointer; font-weight: 750; padding: 15px 0; }
.toolkit-content { display: grid; gap: .75rem; max-width: 74ch; padding-bottom: 20px; line-height: 1.65; color: #e3eadd; }

.business { background: #dfead6; color: var(--ink); }
.business-grid, .timeline-grid { display: grid; grid-template-columns: 1fr 1.04fr; align-items: start; gap: clamp(20px, 6vw, 84px); }
.business .section-inner h2, .timeline .section-inner h2 { font-size: clamp(2.55rem, 5.5vw, 5.45rem); }
.business-intro, .timeline-grid > div > p:last-child { margin-top: 20px; }
.package-list { margin: 15px 0 21px; padding-left: 19px; line-height: 1.7; font-weight: 650; color: #214d3a; }
.primary-link { display: inline-flex; min-height: 46px; gap: 12px; align-items: center; padding: .63rem .85rem; background: #184735; color: white; border-radius: 4px; font-size: .9rem; font-weight: 800; }
.primary-link:hover { background: #0f3627; }
.call-demo { padding: clamp(15px, 3vw, 32px); border-radius: 7px; color: #f8fbef; background: #163e30; box-shadow: 0 14px 30px #163e3033; }
.demo-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.demo-heading h3 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.6rem); }
.demo-heading span { font-size: .75rem; font-weight: 750; border: 1px solid #85a993; color: #dff1d3; border-radius: 4px; padding: 4px 6px; }
.language-picker { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 17px; }
.language-picker button, .call-steps button, .call-controls button { min-height: 42px; padding: 7px 11px; border: 1px solid #86a793; border-radius: 4px; color: #fff; background: transparent; font-size: .87rem; font-weight: 750; }
.language-picker button:hover, .language-picker button[aria-pressed="true"], .call-controls [data-call="next"] { background: var(--lime); border-color: var(--lime); color: #153d2e; }
.call-steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 5px; padding: 0; margin: 0 0 16px; list-style: none; }
.call-steps button { width: 100%; padding-inline: 4px; border-color: #ffffff38; }
.call-steps button:hover, .call-steps button[aria-current] { border-color: var(--lime); color: var(--lime); }
.call-content { min-height: 137px; }
.call-bubble { background: #f6f7ed; color: #17382b; padding: 12px 15px; border-radius: 6px; font-size: .96rem; line-height: 1.55; }
.call-bubble strong { font-size: .78rem; color: #365c48; }
.translation { margin-top: 8px; color: #e4f0df; line-height: 1.4; font-size: .89rem; }
.call-controls { display: flex; justify-content: space-between; margin-top: 10px; gap: 8px; }
.call-controls button:disabled { opacity: .48; cursor: default; }

.milestones { border-left: 2px solid #4b8b69; padding-left: clamp(14px, 3vw, 32px); }
.milestones details { position: relative; border-bottom: 1px solid var(--line); }
.milestones details::before { content: ""; width: 11px; height: 11px; position: absolute; top: 23px; left: calc(-1 * clamp(14px, 3vw, 32px) - 6px); background: #438763; border: 2px solid var(--paper); border-radius: 50%; }
.milestones summary { position: relative; padding: 16px 34px 16px 0; cursor: pointer; list-style: none; }
.milestones summary::-webkit-details-marker { display: none; }
.milestones summary::after { content: "+"; position: absolute; right: 5px; top: 21px; color: #235844; font-size: 1.3rem; font-weight: 650; }
.milestones details[open] summary::after { content: "−"; }
.milestones time { display: block; color: #316247; font-size: .85rem; font-weight: 800; margin-bottom: 4px; }
.milestones strong { font-size: clamp(1.1rem, 2vw, 1.5rem); }
.milestone-copy { color: var(--soft-ink); line-height: 1.55; padding: 0 18px 18px 0; }
.milestone-copy a { display: inline-block; margin-top: 6px; text-decoration: underline; font-weight: 750; color: #235844; }

.contact { background: #0c3024; color: #f8fbf4; }
.contact-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: clamp(23px, 4vw, 45px); }
.contact-options article { border: 1px solid #ffffff42; border-radius: 6px; background: #163c2e; padding: clamp(17px, 3vw, 32px); }
.contact-options h3 { margin: 0 0 5px; font-size: clamp(1.3rem, 2.6vw, 2rem); letter-spacing: -.04em; }
.contact-options p { line-height: 1.55; color: #e0eadd; margin-bottom: 15px; }
.contact-options .primary-link { background: var(--lime); color: #173d2c; }
.contact-options .primary-link:hover { background: #f1ffd7; }
.contact-links { display: flex; flex-wrap: wrap; gap: .55rem 1.4rem; margin-top: 22px; }
.contact-links a { padding: .4rem 0; text-decoration: underline; text-underline-offset: 4px; font-weight: 650; }
.contact-links a:hover { color: var(--lime); }

.work :focus-visible, .business :focus-visible, .timeline :focus-visible { outline-color: #245d45; }
.media-dialog { width: min(calc(100% - 28px), 800px); max-height: 90dvh; padding: 16px; color: #f4f5ef; background: #112e26; border: 1px solid #ffffff55; border-radius: 6px; }
.media-dialog::backdrop { background: #061b14cc; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.dialog-header h2 { font-size: 1.25rem; }
.dialog-header button { width: 42px; min-height: 42px; font-size: 1.45rem; background: #284c3d; border: 1px solid #ffffff40; border-radius: 4px; }
.media-player video, .media-player iframe, .media-player img { width: 100%; max-height: 70dvh; aspect-ratio: 16 / 9; display: block; object-fit: contain; border: 0; background: #070e0b; }
.media-player p { margin-bottom: 7px; color: #e1eddf; }
.script-notice { position: fixed; bottom: 0; z-index: 50; background: #fff; color: #17382b; padding: 10px; }

@media (max-width: 820px) {
  :root { --canvas: min(100% - 36px, 670px); --nav-h: 54px; }
  .site-nav { padding-inline: 14px; }
  .site-nav nav a { padding-inline: 7px; min-height: 42px; font-size: .86rem; }
  .intro-reel { height: calc(100dvh + 170px); }
  .hero-message { padding: 13px 15px; width: min(69vw, 325px); left: 15px; top: clamp(200px, calc(18vw + 145px), 300px); bottom: auto; }
  .hero-message h1 { font-size: clamp(1.22rem, 4.9vw, 2rem); max-width: 19ch; }
  .hero-message a { margin-top: 6px; min-height: 34px; font-size: .83rem; }
  .hero-name { font-size: .75rem; margin-bottom: 6px; }
  .stage[data-mode="case"]::after { content: "Selected work"; position: absolute; inset: 18% 0 auto; font-size: clamp(2.3rem, 9vw, 4rem); font-weight: 850; letter-spacing: -.058em; text-align: center; pointer-events: none; }
  .stage.is-diving::after { display: none; }
  .laptop-menu { padding: 6%; gap: 5cqw; }
  .laptop-projects a { padding: 2.5cqw 1.65cqw; }
  .laptop-teaser { display: none; }
}
@media (max-width: 760px) {
  .section-heading, .business-grid, .timeline-grid, .ecosystem-grid { grid-template-columns: 1fr; gap: 18px; }
  .section-heading > p { max-width: 44ch; }
  .map-board { padding: 0; border: 0; }
  .map-loaded #ecosystem-map { display: none; }
  .branch-list button { min-height: 44px; }
  .project-card { grid-template-columns: 1fr; }
  .project-visual { padding: 16px; }
  .contact-options { grid-template-columns: 1fr; }
}
@media (max-width: 425px) {
  .carousel-top { flex-direction: column; align-items: flex-start; }
  .carousel-arrows { align-self: flex-end; }
  .project-picker { gap: 5px; }
  .project-picker button { padding-inline: 8px; font-size: .82rem; }
  .numbers dt { min-height: 32px; }
}
@media (max-width: 350px) {
  .site-nav nav a { padding-inline: 5px; font-size: .81rem; }
  .call-steps button { font-size: .74rem; }
}
@media (max-width: 820px) and (max-height: 630px) {
  .hero-message { top: 39%; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-reel { height: 100dvh; }
  .stage { position: relative; }
}
