/**
 * @license
 * Kohinoor, designed by Satya Rajpurohit.
 * https://www.fontstore.com/fonts/kohinoor
 * Copyright 2026 Indian Type Foundry.
 */
@font-face { font-family: "MM Kohinoor"; src: url("assets/fonts/Kohinoor-Variable.woff2") format("woff2"); font-style: normal; font-weight: 300 700; font-display: swap; }
@font-face { font-family: "MM Kohinoor"; src: url("assets/fonts/Kohinoor-VariableItalic.woff2") format("woff2"); font-style: italic; font-weight: 300 700; font-display: swap; }
@font-face { font-family: "MM Bebas Neue"; src: url("assets/fonts/BebasNeue-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  color-scheme: dark;
  --ink: #ffffff;
  --soft: #e3e7e8;
  --muted: #c3cacc;
  --quiet: #8d9799;
  --bg: #10181a;
  --bg-deep: #0c1416;
  --line: rgba(255, 255, 255, .16);
  --accent: #00c6d5;
  --accent-hover: #6de2eb;
  --font: "MM Kohinoor", "Kohinoor Devanagari", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --display: "MM Bebas Neue", "Bebas Neue", "Arial Narrow", sans-serif;
  --max: 1320px;
  --measure: 580px;
  --hero-measure: 820px;
  --col-gap: clamp(40px, 6vw, 100px);
  --gutter: clamp(22px, 5vw, 80px);
  --header: 96px;
  --header-compact: 66px;
  --gap: clamp(80px, 9vw, 136px);
  --screen: calc(100svh - var(--header));
  font-family: var(--font);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-compact) + 16px);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--accent); color: #07252a; }
.wrap { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
/* Shared left content edge for full-bleed rows, aligned with .wrap */
main { container-type: inline-size; --edge: max(var(--gutter), calc((100cqw - var(--max)) / 2)); }

h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.025em; }
h1 { font-size: clamp(2.4rem, 4.6vw, 4.1rem); line-height: 1.06; }
h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.08; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); line-height: 1.2; }
.eyebrow { margin-bottom: 16px; color: var(--accent); font-size: .78rem; font-weight: 600; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
.lead { color: var(--soft); font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.45; }
.copy > * + * { margin-top: 18px; }
.copy h2 + p, .copy h1 + p { margin-top: 26px; }
.copy p { max-width: var(--measure); color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.5; }
.copy p.lead { color: var(--soft); }
.copy p.eyebrow { max-width: none; color: var(--accent); font-size: .78rem; line-height: 1.4; }
.copy > .pill, .copy > .link-arrow { margin-top: 34px; }

.section { padding-block: var(--gap); border-bottom: 1px solid var(--line); }

/* Accessibility helpers */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 50; top: 10px; left: 10px; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: #07252a; font-weight: 600; text-decoration: none; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
/* Invisible full-screen button over video mockups; the icon fades in on hover/focus and stays while paused */
.media-toggle { position: absolute; z-index: 3; inset: 0; border: 0; padding: 0; background: none; cursor: pointer; }
.media-toggle::after { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(12, 20, 22, .7); color: var(--ink); font-size: .8rem; letter-spacing: 1px; opacity: 0; transition: opacity .2s; content: "\275A\275A"; }
.media-toggle[data-state="paused"]::after { letter-spacing: 0; content: "\25B6"; opacity: 1; }
.media-toggle:hover::after, .media-toggle:focus-visible::after { opacity: 1; }
.media-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Legal pages */
.legal > * { max-width: 760px; }
.legal h1 { margin-bottom: 12px; }
.legal h2 { margin: 56px 0 16px; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.legal h3 { margin: 28px 0 8px; font-size: 1.1rem; }
.legal p, .legal li, .legal address { color: var(--muted); font-style: normal; }
.legal p + p, .legal address + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--accent); }
.legal .updated { color: var(--quiet); font-size: .9rem; }
.legal .todo { padding: 1px 6px; border: 1px dashed var(--accent); color: var(--accent); }

/* Header: full size at the top, compact once the page is scrolled (see site.js).
   Fixed + constant body padding so shrinking never shifts the page layout. */
body { padding-top: calc(var(--header) + 1px); }
.site-header { position: fixed; z-index: 30; top: 0; right: 0; left: 0; border-bottom: 1px solid var(--line); background: rgba(16, 24, 26, .94); backdrop-filter: blur(16px); }
.nav-row { min-height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 30px; transition: min-height .3s ease; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { width: 84px; height: 56px; object-fit: contain; object-position: left center; transition: width .3s ease, height .3s ease; }
.site-header.is-compact .nav-row { min-height: var(--header-compact); }
.site-header.is-compact .brand-logo { width: 60px; height: 40px; }
.nav-links { display: flex; align-items: center; gap: clamp(20px, 2.8vw, 40px); }
.nav-links a { color: var(--ink); font-size: .98rem; text-decoration: none; transition: color .2s; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"] { color: var(--accent); }
.menu-button { display: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; background: transparent; color: var(--ink); cursor: pointer; }

/* Buttons and links */
.pill { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 16px; border-radius: 999px; padding: 11px 26px; background: var(--accent); color: #07252a; font-size: 1rem; font-weight: 500; line-height: 1.2; text-decoration: none; transition: background .2s; }
.pill:hover, .pill:focus-visible { background: var(--accent-hover); }
.pill.small { min-height: 36px; gap: 10px; padding: 7px 18px; font-size: .88rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; color: var(--accent); font-weight: 500; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 6px; }
.status { display: inline-block; border-left: 2px solid var(--accent); padding: 2px 0 0 14px; color: var(--soft); font-size: .88rem; line-height: 1.3; }
.status.cleared { color: var(--accent); }

/* Home hero */
.hero { position: relative; min-height: var(--screen); display: flex; align-items: center; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
/* The poster is the element background rather than the poster attribute: CSS picks the right cut per aspect ratio
   without a JS swap, and it stays visible underneath while the video source loads or changes. */
.hero-media { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; background: url("assets/hero-poster.webp?v=3") center 40% / cover no-repeat; }
.hero::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(16, 24, 26, .92) 0%, rgba(16, 24, 26, .7) 38%, rgba(16, 24, 26, .1) 75%), linear-gradient(0deg, rgba(12, 20, 22, .75), transparent 40%); content: ""; }
.hero-content { padding-block: 80px 120px; }
.hero h1 { font-size: clamp(2.6rem, min(5.6vw, 9vh), 5.2rem); }
.hero h1 span { color: var(--accent); }
.hero .lead { max-width: var(--measure); margin-top: 28px; }
.hero-scroll { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 16px; margin-top: 34px; border-radius: 999px; padding: 11px 26px; background: var(--accent); color: #07252a; font-size: 1rem; font-weight: 500; line-height: 1.2; text-decoration: none; transition: background .2s; }
.hero-scroll span { transition: transform .2s; }
.hero-scroll:hover, .hero-scroll:focus-visible { background: var(--accent-hover); }
.hero-scroll:hover span, .hero-scroll:focus-visible span { transform: translateY(3px); }
.hero-caption { position: absolute; right: var(--gutter); bottom: 30px; max-width: 38ch; color: var(--muted); font-size: 1rem; line-height: 1.5; text-align: right; }
.video-toggle { position: absolute; z-index: 2; top: 22px; right: var(--gutter); border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 7px 14px; background: rgba(12, 20, 22, .45); color: var(--ink); font-size: .8rem; cursor: pointer; }
.video-toggle:hover { border-color: var(--accent); }

/* Text + faded image module (text always left) */
.module { display: grid; grid-template-columns: calc(var(--edge) + var(--measure) + var(--col-gap)) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.module > .copy { position: relative; z-index: 1; align-self: center; padding: var(--gap) var(--col-gap) var(--gap) var(--edge); }
.module h2 { max-width: 16ch; }
/* The image reaches back under the text column, runs slightly past the content edge (--over) and fades out on both sides. */
.cut { --reach: calc(var(--measure) * .55 + var(--col-gap)); --over: min(var(--edge) * .6, 72px); --fade: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .06) 20%, rgba(0, 0, 0, .3) 38%, rgba(0, 0, 0, .75) 55%, #000 66%, rgba(0, 0, 0, .85) 76%, rgba(0, 0, 0, .45) 89%, rgba(0, 0, 0, .12) 96%, transparent 100%); position: relative; min-height: 420px; margin-left: calc(var(--reach) * -1); margin-right: calc(var(--edge) - var(--over)); }
/* In a section, the faded image covers the full section height (border to border), not just the text block */
.section:has(.split > .cut) { position: relative; overflow: clip; }
.split > .cut { position: absolute; inset: 0 calc(var(--edge) - var(--over)) 0 calc(var(--edge) + var(--measure) * .45); min-height: 0; margin: 0; }
.section:has(.split > .cut) .field-head, .split:has(> .cut) > .copy { position: relative; z-index: 1; }
.cut > div { position: absolute; inset: 0; overflow: hidden; -webkit-mask-image: var(--fade); mask-image: var(--fade); }
.cut img { width: 100%; height: 100%; object-fit: cover; }
.cut.ui img { object-position: 30% center; }
/* Screenshot staged as a physical monitor (flat: a 3D tilt made Chrome/Edge stutter on high-DPI screens) */
.screen { --screen-max: calc(var(--measure) * 1.2); --screen-w: min(100cqw, var(--screen-max)); position: relative; display: grid; place-items: center; container-type: inline-size; background: radial-gradient(ellipse 55% 45% at 62% 50%, rgba(0, 198, 213, .2), transparent 70%); }
/* Bezel and corner radii are proportional to the panel width so they scale with it */
.screen-panel { --bezel: calc(var(--screen-w) * .014); --inner-r: calc(var(--screen-w) * .005); position: relative; width: var(--screen-w); padding: var(--bezel); border-radius: calc(var(--screen-w) * .02); background: linear-gradient(160deg, #2a3134, #0d1112 45%, #050708); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 0 0 1px rgba(0, 0, 0, .6), 0 50px 90px -20px rgba(0, 0, 0, .85), 0 0 140px rgba(0, 198, 213, .22); -webkit-box-reflect: below 18px linear-gradient(transparent 72%, rgba(255, 255, 255, .14)); }
.screen-panel img, .screen-panel video, .cut .screen-panel img { display: block; width: 100%; height: auto; border: 0; border-radius: var(--inner-r); background: #000; object-fit: fill; filter: saturate(1.12) contrast(1.06) brightness(.94); }
.screen-panel::before { position: absolute; z-index: 1; inset: var(--bezel); border-radius: var(--inner-r); background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .06) 0 1px, transparent 1px 4px), radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(0, 0, 0, .35)); pointer-events: none; content: ""; }
.screen-panel::after { position: absolute; z-index: 2; inset: var(--bezel); border-radius: var(--inner-r); background: linear-gradient(112deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .06) 22%, transparent 38%, transparent 72%, rgba(255, 255, 255, .05) 86%, transparent); mix-blend-mode: screen; pointer-events: none; content: ""; }
.cut.ui { display: flex; flex-direction: column; justify-content: center; padding-block: 5% 6%; container-type: inline-size; -webkit-mask-image: none; mask-image: none; }
.cut.ui > .screen { position: relative; inset: auto; overflow: visible; padding: 0 3% 0 calc(var(--reach) - 3%); }
/* Captions sit left-aligned directly under the monitor and span exactly its width (same formula as the panel) */
.cut.ui > figcaption { --cap-w: min(calc(100cqw - var(--reach)), var(--measure) * 1.2); position: relative; z-index: 1; right: auto; bottom: auto; width: var(--cap-w); max-width: none; margin: 8px 0 0 calc(var(--reach) - 3cqw + (100cqw - var(--reach) - var(--cap-w)) / 2); padding: 0; background: none; color: var(--quiet); font-size: .8rem; text-align: right; }
.shot { container-type: inline-size; }
.shot .screen { padding: 0; }
.shot .screen { --screen-w: min(100cqw, var(--screen-max)); }
.shot > figcaption { width: min(100cqw, var(--measure) * 1.2); }
/* Positioned so the caption paints above the monitor's drop shadow */
.screen ~ figcaption { position: relative; z-index: 3; }
.screen ~ figcaption { text-align: right; }
/* Keep reflection, glow and shadow inside their section (clipped at the separator line) */
.section:has(.screen), .module:has(.screen) { overflow-y: clip; }
.section:has(.femur) { overflow: clip; }
.cut figcaption { position: absolute; right: max(14px, var(--over)); bottom: 14px; max-width: 58%; padding: 6px 10px; background: var(--bg); color: var(--muted); font-size: 1rem; line-height: 1.4; text-align: right; }

/* Section heading */
.section-heading { max-width: 860px; margin-bottom: clamp(36px, 5vh, 60px); }
.section-heading p:last-child { max-width: var(--measure); margin-top: 22px; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.18rem); }

/* Indication tiles: the one place that keeps a light hairline frame */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 1.8vw, 28px); }
.tile { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); text-decoration: none; transition: border-color .25s, background-color .25s; }
.tile:hover, .tile:focus-visible { border-color: rgba(0, 198, 213, .55); background: rgba(0, 198, 213, .04); }
.tiles.two { grid-template-columns: repeat(2, 1fr); }
.tiles.two .tile-media { aspect-ratio: 16 / 8; }
.tiles.two .tile-body h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
.tile-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-deep); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile-body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 22px clamp(18px, 1.6vw, 24px) 24px; }
.tile-body h3 { transition: color .2s; }
.tile-body p { flex: 1; color: var(--muted); font-size: .98rem; }
.tile:hover .tile-media img { transform: scale(1.04); }
.tile:hover h3, .tile:focus-visible h3 { color: var(--accent); }

/* Image destinations */
.destinations { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border-bottom: 1px solid var(--line); background: var(--line); }
.destination { position: relative; min-height: clamp(340px, 52vh, 560px); display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; padding: clamp(28px, 4vw, 56px); background: var(--bg); }
.destination:first-child { padding-left: var(--edge); }
.destination > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.destination::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(12, 20, 22, .96) 12%, rgba(12, 20, 22, .55) 52%, rgba(12, 20, 22, .12)); content: ""; }
.destination:hover > img { transform: scale(1.03); }
.destination h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.destination p { margin: 10px 0 22px; color: var(--soft); font-size: 1.1rem; }

/* Proof list */
.proof-split { display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(0, 1fr); gap: var(--col-gap); align-items: center; }
.proof-list { display: grid; }
.proof-row { display: grid; grid-template-columns: clamp(80px, 9vw, 130px) 1fr; gap: 20px; align-items: start; padding-block: 26px; border-top: 1px solid var(--line); }
.proof-row:last-child { border-bottom: 1px solid var(--line); }
.proof-row strong { color: var(--accent); font-family: var(--display); font-size: clamp(2.6rem, 4vw, 4rem); font-weight: 400; line-height: .9; letter-spacing: .01em; }
.proof-row h3 { margin-bottom: 6px; }
.proof-row p { color: var(--muted); font-size: .98rem; }
.proof-row .proof-link { gap: 8px; margin-top: 10px; font-size: .98rem; }

/* Sub-page opening: full-bleed hero, like Home */
.opening { position: relative; display: flex; align-items: center; min-height: var(--screen); isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.opening > .copy { width: 100%; padding: clamp(56px, 9vh, 120px) var(--edge); }
.opening > .copy > * { max-width: min(var(--hero-measure), 56cqw); }
.opening h1 { max-width: 24ch; font-size: clamp(2.4rem, min(4.4vw, 7.5vh), 4.2rem); }
.opening-media { position: absolute; z-index: -1; inset: 0; background: var(--bg-deep); }
.opening-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.opening-media::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 24, 26, .88) 0%, rgba(16, 24, 26, .78) 40%, rgba(16, 24, 26, .4) 62%, transparent 85%), linear-gradient(0deg, rgba(12, 20, 22, .6), transparent 30%); content: ""; }
.opening-media figcaption { position: absolute; z-index: 2; right: var(--gutter); bottom: 30px; max-width: 38ch; color: var(--muted); font-size: 1rem; line-height: 1.5; text-align: right; }
.opening-media.anatomy img { object-position: right center; opacity: .9; }
/* Company: the building sits in the left half of the photo, so the image only covers the right part of the hero and fades in from the left */
.opening-media.top img { left: auto; width: 62%; object-position: 35% top; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.opening-media.top::after { background: linear-gradient(90deg, rgba(16, 24, 26, .7) 0%, rgba(16, 24, 26, .45) 50%, transparent 70%), linear-gradient(0deg, rgba(12, 20, 22, .6), transparent 30%); }
.opening-media.anatomy::after { background: linear-gradient(90deg, rgba(16, 24, 26, .88) 0%, rgba(16, 24, 26, .8) 45%, rgba(16, 24, 26, .4) 66%, transparent 85%); }
.headcount { display: grid; grid-template-columns: auto 1fr; gap: 4px 22px; align-items: center; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.headcount strong { grid-row: span 2; color: var(--accent); font-family: var(--display); font-size: clamp(4rem, 6vw, 5.6rem); font-weight: 400; line-height: .85; }
.headcount span { font-size: 1.2rem; font-weight: 600; }
.copy .headcount p { margin: 0; font-size: .98rem; }

/* Screenshot figures */
.shot { margin: 0; }
.shot img { width: 100%; border: 1px solid var(--line); background: #000; }
.shot figcaption, .plain-figure figcaption { margin-top: 12px; color: var(--quiet); font-size: .82rem; }
.shot > figcaption { margin-top: 8px; color: var(--muted); font-size: 1rem; }
.plain-figure img { width: 100%; }

.split { display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(0, 1fr); gap: var(--col-gap); align-items: start; }
.split + .split, .split + .focus, .focus + .split { margin-top: clamp(48px, 7vh, 90px); }
.focus { padding-top: 26px; border-top: 1px solid var(--line); }
.copy .focus { margin-top: 36px; }
.focus h3 { margin-bottom: 10px; }

/* Indications */
.field-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: 26px; }
.field-head .eyebrow { margin: 0; }
.field h2 { max-width: 18ch; }
.split > h2, .split > h3 { align-self: start; }
.facts { display: flex; flex-wrap: wrap; gap: 18px 48px; max-width: var(--measure); margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.facts dt { color: var(--quiet); font-size: .85rem; }
.facts dd { margin-top: 4px; font-size: 1.2rem; font-weight: 500; }
/* Holographic femur: the WebP has its black background converted to alpha (and the edge fade baked in), so no blend mode or mask is needed.
   On wide screens it lies at 45° and reaches under the text. The image is landscape (knee left, head right), so rotate by −90° to stand it upright. */
.split:has(.femur) { position: relative; }
.split:has(.femur) > .copy { position: relative; z-index: 1; }
.femur { --tilt: 45deg; --femur-h: clamp(520px, 58vw, 900px); --femur-x: 32%; position: relative; height: clamp(420px, 40vw, 560px); margin: 0; pointer-events: none; background: radial-gradient(closest-side, rgba(0, 198, 213, .08), transparent); }
.femur img { position: absolute; top: 50%; left: var(--femur-x); width: var(--femur-h); max-width: none; height: auto; translate: -50% -50%; rotate: calc(var(--tilt) - 90deg); animation: femur-float 9s ease-in-out infinite alternate; }
@keyframes femur-float { from { transform: translateY(-10px); } to { transform: translateY(10px); } }
.trademark { font-size: .82rem !important; color: var(--quiet) !important; }

/* Company */
.recognition { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 60px); align-items: start; padding-block: 34px; border-block: 1px solid var(--line); }
.recognition > strong { color: var(--accent); font-family: var(--display); font-size: clamp(5rem, 9vw, 8.5rem); font-weight: 400; line-height: .8; }
.recognition p { max-width: var(--measure); margin: 12px 0 24px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(36px, 5vh, 60px); }
.stats div { padding: 4px clamp(18px, 3vw, 40px); border-left: 1px solid var(--line); }
.stats div:first-child { padding-left: 0; border-left: 0; }
.stats dt { font-family: var(--display); font-size: clamp(3.4rem, 5.4vw, 5rem); line-height: 1; }
.stats dd { color: var(--muted); }
.cert-figure a { display: block; }
.cert-figure img { width: 100%; background: #fff; transition: opacity .2s; }
.cert-figure a:hover img { opacity: .92; }

.profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 5vw, 64px) clamp(28px, 3.5vw, 56px); margin-top: clamp(36px, 5vh, 56px); }
.profile { display: flex; flex-direction: column; }
/* height: auto overrides the 640×480 HTML attributes so the 4:3 crop applies; leadership uses the same 3-column size as the board.
   max-width keeps photos at roughly that size in the 2- and 1-column layouts too. */
.profile img { width: 100%; max-width: 400px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 20%; margin-bottom: 22px; }
.profile h3 { font-size: clamp(1.25rem, 1.7vw, 1.55rem); }
.profile .role { margin: 8px 0 14px; color: var(--accent); font-size: .95rem; line-height: 1.4; }
.profile .bio { flex: 1; color: var(--muted); font-size: .96rem; line-height: 1.55; }
.profile-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* Footer */
.site-footer { padding-block: clamp(44px, 6vw, 72px) 34px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer-main address { font-style: normal; font-size: 1.05rem; line-height: 1.55; }
.footer-main strong { color: var(--ink); }
.footer-contact { display: grid; gap: 10px; align-content: start; font-size: 1.05rem; }
.footer-contact a, .footer-bottom a { text-decoration: none; }
.footer-contact a:hover, .footer-bottom a:hover { color: var(--accent); }
.linkedin-icon { display: inline-grid; width: 22px; height: 22px; place-items: center; margin-right: 8px; border: 1px solid currentColor; border-radius: 3px; font-size: .75rem; font-weight: 700; line-height: 1; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 26px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .86rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.disclaimer { margin-top: 26px; color: var(--quiet); font-size: .8rem; line-height: 1.55; }

@media (min-width: 701px) and (max-height: 760px) {
  .hero h1 { font-size: clamp(2.4rem, 8vh, 5.2rem); }
  .hero-content { padding-block: 40px 90px; }
}
@media (max-width: 1080px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .profiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .module, .split, .proof-split { grid-template-columns: 1fr; }
  .module > .copy { padding: var(--gap) var(--gutter) 40px; }
  .cut { --fade: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .55) 12%, #000 30%); --over: 0px; min-height: 0; margin-inline: 0; aspect-ratio: 16 / 11; }
  .split > .cut { position: relative; inset: auto; margin-inline: 0; }
  /* Inside .wrap the cut would keep the gutters; pull it out to the section edges like the full-width modules */
  .wrap .split > .cut { margin-inline: calc(var(--edge) * -1); }
  .cut.ui { aspect-ratio: auto; }
  .cut.ui { padding-block: 0 48px; }
  .cut.ui > .screen { padding: 0 var(--gutter); }
  .cut.ui > figcaption { width: auto; margin: 16px var(--gutter) 0; }
  .shot > figcaption { width: auto; margin-top: 12px; }
  .shot .screen, .screen { --screen-w: 100cqw; }
  .screen { background: none; }
  .screen-panel { padding: 0; border-radius: 4px; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -24px rgba(0, 0, 0, .8); -webkit-box-reflect: none; }
  .screen-panel img, .screen-panel video, .cut .screen-panel img { border-radius: 4px; filter: none; }
  .screen-panel::before, .screen-panel::after { display: none; }
  .opening > .copy { padding: 56px var(--gutter) 110px; }
  .opening > .copy > * { max-width: var(--hero-measure); }
  .opening-media::after, .opening-media.anatomy::after, .opening-media.top::after { background: linear-gradient(90deg, rgba(16, 24, 26, .9), rgba(16, 24, 26, .6)), linear-gradient(0deg, rgba(12, 20, 22, .9), transparent 55%); }
  .opening-media.top img { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .opening-media figcaption { bottom: 24px; max-width: 26ch; }
  .femur { position: absolute; inset: 0; height: auto; background: none; }
  .femur img { --tilt: 0deg; --femur-h: min(150vw, 820px); left: 72%; opacity: .28; }
}
@media (max-width: 700px) {
  :root { --gutter: 22px; --header: 72px; --header-compact: 58px; }
  body { font-size: 16px; }
  figcaption .label { padding: 4px 10px; }
  .brand-logo { width: 63px; height: 42px; }
  .site-header.is-compact .brand-logo { width: 51px; height: 34px; }
  .menu-button { display: inline-flex; align-items: center; gap: 9px; }
  .nav-links { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; flex-direction: column; align-items: flex-start; gap: 0; padding: 6px var(--gutter) 16px; border-bottom: 1px solid var(--line); background: rgba(16, 24, 26, .98); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 2px; }
  .hero-media { object-position: 60% center; background-position: 60% center; }
  .hero::after { background: linear-gradient(90deg, rgba(16, 24, 26, .9), rgba(16, 24, 26, .45)), linear-gradient(0deg, rgba(12, 20, 22, .9), transparent 55%); }
  .hero-content { padding-block: 40px 110px; }
  .hero-caption { bottom: 24px; max-width: 26ch; }
  .video-toggle { top: 14px; width: 36px; height: 36px; padding: 0; font-size: 0; }
  .video-toggle::before { position: absolute; inset: 0; width: 12px; height: 14px; margin: auto; background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px, currentColor 8px); content: ""; }
  .video-toggle[data-state="paused"]::before { background: currentColor; clip-path: polygon(25% 0, 100% 50%, 25% 100%); }
  .tiles, .tiles.two, .profiles, .profiles.two, .destinations, .footer-main { grid-template-columns: 1fr; }
  .tiles { gap: 18px; }
  .destination, .destination:first-child { min-height: 340px; padding-inline: var(--gutter); }
  .recognition { grid-template-columns: 1fr; gap: 14px; }
  .stats { grid-template-columns: 1fr; }
  .stats div { display: grid; grid-template-columns: 6.2rem 1fr; align-items: baseline; gap: 18px; padding: 14px 0; border-left: 0; border-top: 1px solid var(--line); }
  .stats div:first-child { border-top: 0; }
  .proof-row { grid-template-columns: 76px 1fr; }
  .cut figcaption { max-width: 80%; font-size: .8rem; }
}
/* Portrait screens: the copy sits on plain background at the bottom and the video/photo only fills the space
   above it, fading into the background. A shorter media box means cover-cropping loses less of the sides. */
@media (max-aspect-ratio: 4/5) {
  .hero, .opening { --media-fade: clamp(160px, 28svh, 320px); flex-direction: column; align-items: stretch; justify-content: flex-end; background: var(--bg); }
  .hero-media, .opening-media { position: relative; inset: auto; order: -1; flex: 1 0 34svh; width: 100%; height: auto; min-height: 34svh; --media-mask: linear-gradient(180deg, #000 calc(100% - var(--media-fade)), rgba(0, 0, 0, .94) calc(100% - var(--media-fade) * .86), rgba(0, 0, 0, .82) calc(100% - var(--media-fade) * .72), rgba(0, 0, 0, .64) calc(100% - var(--media-fade) * .58), rgba(0, 0, 0, .44) calc(100% - var(--media-fade) * .44), rgba(0, 0, 0, .26) calc(100% - var(--media-fade) * .3), rgba(0, 0, 0, .12) calc(100% - var(--media-fade) * .17), rgba(0, 0, 0, .04) calc(100% - var(--media-fade) * .07), transparent); -webkit-mask-image: var(--media-mask); mask-image: var(--media-mask); }
  .hero-media { object-position: center 40%; background-image: url("assets/hero-vertical-poster.webp?v=3"); background-position: center 40%; }
  .opening-media { background: none; }
  .hero::after, .opening-media::after, .opening-media.anatomy::after, .opening-media.top::after { background: linear-gradient(180deg, rgba(12, 20, 22, .42), rgba(12, 20, 22, .16) 18%, transparent 34%); }
  /* Pull the copy up into the lower, mostly faded part of the media so the title overlaps it slightly. */
  .hero-content, .opening > .copy { width: 100%; margin: calc(var(--media-fade) * -.4) 0 0; padding: 0 var(--edge) clamp(36px, 6svh, 64px); background: none; }
  .hero h1, .opening h1, .opening .eyebrow { text-shadow: 0 1px 2px rgba(12, 20, 22, .35), 0 2px 22px rgba(12, 20, 22, .6); }
  .hero h1 { font-size: clamp(1.9rem, 7.6vw, 3rem); }
  .opening h1 { font-size: clamp(1.6rem, 6.4vw, 2.6rem); }
  .opening .eyebrow { margin-bottom: 10px; }
  .hero .lead, .opening .lead { margin-top: 14px; font-size: clamp(.98rem, 3.6vw, 1.15rem); }
  .opening > .copy p:not(.eyebrow):not(.lead) { font-size: .9rem; line-height: 1.55; }
  .opening > .copy > p + p { margin-top: 12px; }
  .headcount { margin-top: 22px; padding-top: 16px; }
  .headcount strong { font-size: 3.2rem; }
  .headcount span { font-size: 1rem; }
  .hero-scroll { min-height: 42px; margin-top: 22px; padding: 9px 22px; font-size: .95rem; }
  .hero-caption, .opening-media figcaption { top: 18px; right: auto; bottom: auto; left: var(--gutter); max-width: 26ch; text-align: left; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }  .opening-media.top img { width: 100%; object-position: 30% top; -webkit-mask-image: none; mask-image: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .femur img { animation: none; }
}
