/* Layout: editorial 12-col rhythm (max 1240px) on the app's warm near-white with white panels;
   a cinematic film frame opens and closes the page; the hiring dashboard is an app shell on the
   same tokens. Light only, matching app.atlabs.ai. Tokens follow the Atlabs design system. */
:root {
  --bg: #FCFAF8;            /* gray-1, app.atlabs.ai page */
  --bg-sunk: #F4F0EC;       /* gray-2, alternate sections */
  --surface: #FFFFFF;
  --surface-2: #FCFAF8;
  --ink: #200000;           /* text */
  --ink-2: rgba(32, 0, 0, .66);
  --ink-3: rgba(32, 0, 0, .5);
  --line: rgba(32, 0, 0, .1);
  --line-2: rgba(32, 0, 0, .16);
  --line-3: rgba(32, 0, 0, .28);
  --accent: #F05605;        /* accent-9, Primary Orange */
  --accent-hover: #E24E00;  /* accent-10 */
  --accent-ink: #C74400;    /* accent-11, orange text on light grounds */
  --accent-soft: #FFE9DC;   /* accent-2 */
  --accent-wash: rgba(255, 142, 0, .08);
  --on-accent: #FFFFFF;
  --band: #FFFFFF;          /* open-roles section */
  --band-2: #FCFAF8;
  --band-3: #F4F0EC;
  --band-ink: #200000;
  --band-ink-2: rgba(32, 0, 0, .66);
  --band-ink-3: rgba(32, 0, 0, .46);
  --band-line: rgba(32, 0, 0, .1);
  --taupe: #7F6E68;         /* gray-8 */
  --taupe-soft: #D2C8C0;    /* gray-5 */
  --gold: #E1DCCF;          /* gold-5 */
  --scrim: rgba(32, 0, 0, .72);
  --paper: #FFFCF4;
  --paper-ink: #1E2A6E;     /* ballpoint */
  --doc-bg: #FFFFFF;
  --doc-ink: #1C1714;
  --success: #218358; --success-soft: #E6F6EB;
  --warning: #AB6400; --warning-soft: #FFF4D2;
  --error: #CE2C31;   --error-soft: #FEEBEC;
  --info: #00749E;    --info-soft: #E1F6FD;
  --violet: #6550B9;  --violet-soft: #F0EDFE;
  --shadow-1: 0 0 0 .5px rgba(0,0,0,.05), 0 1px 4px rgba(32,0,0,.08), 0 2px 1px -1px rgba(0,0,0,.04);
  --shadow-2: 0 2px 3px -2px rgba(32,0,0,.06), 0 3px 12px -4px rgba(0,0,0,.1), 0 4px 16px -8px rgba(0,0,0,.1);
  --shadow-4: 0 12px 60px rgba(32,0,0,.1), 0 16px 36px -20px rgba(32,0,0,.2);
  --paper-shadow: drop-shadow(0 22px 28px rgba(32,0,0,.14)) drop-shadow(0 2px 2px rgba(32,0,0,.07));
  --film: url("assets/film.cc49d420509e.webp");   /* "Tell your story." illustration, 1568x672 */
  --ph-offsite: url("assets/team-offsite.0f6aaadf8dc3.webp");
  --ph-selfie: url("assets/team-selfie.eba295b1ebe7.webp");
  --ph-dinner: url("assets/team-dinner.cfc2646d74dd.webp");
  --ph-whiteboard: url("assets/team-whiteboard.d6111df4921e.webp");
  --ph-night: url("assets/team-night.302bb7945ffd.webp");
  --ph-founder: url("assets/founder.97d856599d67.jpg");
  --founder-display: block;

  --font-display: Roundo, "Hanken Grotesk", system-ui, sans-serif;
  --font-text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: Kalam, "Bradley Hand", "Segoe Print", cursive;
  --font-mono: Menlo, "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --r-1: 3px; --r-2: 4px; --r-3: 6px; --r-4: 8px; --r-5: 12px; --r-6: 20px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23200000' stroke-opacity='.55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --chev-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4F0EC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  color-scheme: light;
}

@font-face { font-family: Roundo; src: url("fonts/Roundo-Medium.ff34d5d28033.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Roundo; src: url("fonts/Roundo-SemiBold.0a4dbda54ae3.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Roundo; src: url("fonts/Roundo-Bold.09fdab45d9b9.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--font-text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
svg { flex: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
::selection { background: var(--accent-soft); color: var(--ink); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 18px; height: 18px; }
.caps { font: 700 12px/20px var(--font-text); letter-spacing: .16em; text-transform: uppercase; }
.caps-1 { font: 700 10px/16px var(--font-text); letter-spacing: .16em; text-transform: uppercase; }
.num { font-variant-numeric: tabular-nums; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 12px/20px var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-wash); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px transparent; } }

/* ---------- buttons ---------- */
.btn {
  --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: var(--r-2); border: 1px solid transparent;
  font: 700 14px/1 var(--font-text); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap; background: none;
  transition: background-color .2s var(--ease), color .2s, border-color .2s, transform .15s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ic-move { transform: translateX(3px); }
.btn-primary { position: relative; overflow: hidden; background: var(--accent); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 10px 24px -12px rgba(240,86,5,.75); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.32) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); pointer-events: none; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-secondary { background: var(--surface); color: var(--accent-ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--accent); }
.btn-ghost { color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface); border-color: var(--line-3); }
.btn-sm { --h: 38px; padding: 0 14px; font-size: 12px; letter-spacing: .14em; }
.btn[disabled], .btn.is-busy { opacity: .6; pointer-events: none; }
.btn .count { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; background: rgba(255,255,255,.22); font-size: 11px; letter-spacing: 0; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

/* product-UI buttons: sentence case, compact (admin + forms) */
.ubtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 34px; padding: 0 12px;
  border-radius: var(--r-2); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  font: 500 14px/1 var(--font-text); cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.ubtn:hover { border-color: var(--line-3); background: var(--surface-2); }
.ubtn .ic { width: 16px; height: 16px; }
.ubtn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.ubtn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.ubtn-dark { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.ubtn-dark:hover { background: var(--ink); opacity: .88; }
.ubtn-quiet { border-color: transparent; background: transparent; color: var(--ink-2); }
.ubtn-quiet:hover { background: var(--bg-sunk); border-color: transparent; color: var(--ink); }
.ubtn-danger { color: var(--error); }
.ubtn-icon { width: 34px; padding: 0; }
.ubtn-sm { height: 28px; padding: 0 10px; font-size: 13px; }

/* ---------- site nav (floating bar, like app.atlabs.ai) ---------- */
.site-nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; padding-block: 10px; pointer-events: none; }
.nav-in {
  position: relative; z-index: 2; pointer-events: auto; height: 60px; display: flex; align-items: center; gap: 16px; padding: 0 10px 0 18px;
  background: rgba(252, 250, 248, .78); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px);
  border: 1px solid var(--line); border-radius: var(--r-5); box-shadow: 0 1px 2px rgba(32,0,0,.03);
  transition: box-shadow .35s var(--ease), background-color .35s;
}
.site-nav.scrolled .nav-in { background: rgba(255, 255, 255, .9); box-shadow: 0 14px 34px -16px rgba(32,0,0,.18), 0 1px 2px rgba(32,0,0,.04); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { height: 24px; width: auto; }
.brand-tag { font: 700 10px/1 var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); padding: 5px 7px; border: 1px solid var(--line-2); border-radius: var(--r-1); }
.nav-links { display: flex; gap: 2px; margin-left: 20px; }
.nav-links a { font: 500 15px/1 var(--font-text); text-decoration: none; color: var(--ink); padding: 10px 12px; border-radius: var(--r-3); transition: background-color .15s; }
.nav-links a:hover { background: var(--bg-sunk); }
.nav-cta { margin-left: auto; }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(28px, 4.5vw, 64px) clamp(40px, 5vw, 72px); overflow: hidden; isolation: isolate; }
.aurora { position: absolute; inset: 0; z-index: -2; pointer-events: none; will-change: transform; }
.aurora i { position: absolute; display: block; border-radius: 50%; }
.aurora .a1 { width: 72vw; height: 48vw; left: 38%; top: 40%; background: radial-gradient(closest-side, rgba(255, 161, 116, .36), transparent); animation: drift1 22s ease-in-out infinite alternate; }
.aurora .a2 { width: 58vw; height: 42vw; left: -12%; top: 52%; background: radial-gradient(closest-side, rgba(196, 160, 214, .30), transparent); animation: drift2 26s ease-in-out infinite alternate; }
.aurora .a3 { width: 46vw; height: 32vw; left: 18%; top: 24%; background: radial-gradient(closest-side, rgba(255, 212, 190, .45), transparent); animation: drift3 18s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-9%, -7%) scale(1.12); } }
@keyframes drift2 { to { transform: translate(11%, -9%) scale(.9); } }
@keyframes drift3 { to { transform: translate(14%, 10%) scale(1.16); } }
.hero-bubbles { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px clamp(24px, 5vw, 80px); align-items: end; will-change: transform; }
.hero-top > div:first-child { grid-column: 1 / -1; }
.hero h1 { font-size: clamp(48px, 7.4vw, 112px); line-height: .92; letter-spacing: -.045em; margin-top: 18px; max-width: 12.5em; }
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding: .02em .04em .1em; margin: -.02em -.04em -.1em; }
.wm > span { display: inline-block; animation: wordUp 1.1s var(--ease) backwards; animation-delay: calc(var(--i) * 70ms + 120ms); }
@keyframes wordUp { from { transform: translateY(150%) rotate(3deg); } }
.cap-hl { background: var(--accent); color: var(--on-accent); padding: 0 .1em; border-radius: .07em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-side { display: contents; }
.hero-side > *, .hero .eyebrow { animation: fadeUp 1s var(--ease) backwards; }
.hero-side > :nth-child(1) { animation-delay: .5s; }
.hero-side > :nth-child(2) { animation-delay: .62s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
.hero-lede { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 54ch; }
.hero-lede b { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; padding-bottom: 4px; }

.hero-stage { position: relative; margin-top: clamp(36px, 4.6vw, 64px); perspective: 2200px; }
.hero-stage .editor { margin-top: 0; transform-origin: 50% 100%; transform: rotateX(var(--tilt, 0deg)) scale(var(--sc, 1)); will-change: transform; animation: editorIn 1.4s .35s var(--ease) backwards; }
@keyframes editorIn { from { opacity: 0; transform: translateY(60px) rotateX(20deg) scale(.94); } }
.pbox { background: var(--surface); border: 1px solid rgba(240, 86, 5, .55); border-radius: var(--r-4); padding: 14px 14px 12px; display: grid; gap: 12px; box-shadow: 0 0 0 4px rgba(240, 86, 5, .08), 0 28px 56px -22px rgba(32, 0, 0, .32); }
.pbox-label { display: flex; justify-content: space-between; gap: 8px; font: 700 10px/16px var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.pbox-label b { color: var(--accent-ink); font-weight: 700; }
.pbox-text { font-size: 15px; line-height: 1.5; color: var(--ink); min-height: 4.5em; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.2em; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pbox-foot { display: flex; align-items: center; gap: 6px; }
.pchip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 999px; font: 700 10px/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.pchip .ic { width: 13px; height: 13px; }
.pchip.ico { width: 28px; padding: 0; justify-content: center; border-color: transparent; }
.pgo { margin-left: auto; width: 30px; height: 30px; border-radius: var(--r-2); background: var(--accent); color: #FFF; display: grid; place-items: center; }
.pgo .ic { width: 15px; height: 15px; transform: rotate(-90deg); }

/* ---------- hero editor (the product, playing your first year) ---------- */
.editor { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-5); box-shadow: 0 50px 100px -40px rgba(120, 40, 10, .35), 0 20px 40px -24px rgba(32, 0, 0, .18); overflow: hidden; }
.ed-bar { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 14px 0 16px; border-bottom: 1px solid var(--line); }
.ed-file { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 14px; }
.ed-file svg { width: 22px; height: 22px; }
.ed-file b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-saved { color: var(--ink-3); font-size: 13px; white-space: nowrap; }
.ed-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: var(--r-1); background: var(--bg-sunk); color: var(--ink-2); font: 700 10px/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.ed-body { display: grid; grid-template-columns: minmax(0, 1fr) 272px; }
.ed-stage { padding: 16px; background: var(--surface-2); min-width: 0; }
.ed-monitor { position: relative; aspect-ratio: 16 / 8; max-width: 100%; border-radius: var(--r-4); overflow: hidden; background: #3A1C0E; color: #FFF8F2; isolation: isolate; }
.mon-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; background: #3A1C0E; }
.cam { position: absolute; left: 0; top: 0; height: 100%; aspect-ratio: 1568 / 672; transform-origin: 0 0; transition: transform 1.8s cubic-bezier(.65, 0, .35, 1); will-change: transform; }
.cam-in { position: absolute; inset: 0; background: var(--film) center / 100% 100% no-repeat; animation: kenburns 14s ease-in-out infinite alternate; transform-origin: 50% 55%; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06) translate(-.5%, -.4%); } }
.sun { position: absolute; left: 13.4%; top: 46.9%; width: 24%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 248, 225, .9), rgba(255, 196, 130, .35) 45%, transparent 72%); mix-blend-mode: screen; transform: translate(-50%, -50%); animation: sunPulse 5s ease-in-out infinite alternate; }
@keyframes sunPulse { from { opacity: .5; transform: translate(-50%, -50%) scale(.9); } to { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } }
.leak { position: absolute; inset: -20%; z-index: 1; pointer-events: none; background: linear-gradient(115deg, transparent 36%, rgba(255, 196, 130, .3) 48%, rgba(255, 120, 60, .14) 55%, transparent 64%); mix-blend-mode: screen; animation: leak 12s ease-in-out infinite; }
@keyframes leak { 0%, 55% { transform: translateX(-70%); opacity: 0; } 66% { opacity: 1; } 100% { transform: translateX(70%); opacity: 0; } }
.mon-fx { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.ed-monitor::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(20, 8, 4, .28), transparent 20%, transparent 52%, rgba(20, 8, 4, .62)); }
.ed-caption { position: absolute; z-index: 2; left: 8%; right: 8%; bottom: 13%; margin: 0 auto; font: 600 clamp(18px, 2.6vw, 36px)/1.16 var(--font-display); letter-spacing: -.02em; text-align: center; max-width: 22ch; text-wrap: balance; text-shadow: 0 2px 22px rgba(20, 8, 4, .55); }
.ed-caption.left { left: 6%; right: auto; margin: 0; text-align: left; max-width: 15ch; }
.ed-caption .w { opacity: .35; transition: opacity .25s var(--ease), background-color .2s; border-radius: .14em; padding: 0 .06em; }
.ed-caption .w.seen { opacity: 1; }
.ed-caption .w.now { background: var(--accent); color: #FFF; box-shadow: 0 0 0 .06em var(--accent); text-shadow: none; }
.ed-hud { position: absolute; z-index: 3; left: 14px; right: 14px; bottom: 12px; display: flex; justify-content: space-between; gap: 12px; font: 700 10px/16px var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,248,242,.72); }
.ed-res { position: absolute; z-index: 3; top: 12px; right: 14px; font: 700 10px/16px var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 248, 242, .72); }
.ed-live { position: absolute; z-index: 3; top: 12px; left: 14px; display: inline-flex; align-items: center; gap: 6px; font: 700 10px/16px var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,248,242,.72); }
.ed-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.ed-scenes { position: relative; border-left: 1px solid var(--line); min-width: 0; }
.ed-side { position: absolute; inset: 0; overflow-y: auto; scrollbar-width: none; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.ed-side::-webkit-scrollbar { display: none; }
.ed-scenes h3 { font: 700 10px/16px var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); padding: 10px 6px 2px; }
.scene-list { display: grid; gap: 2px; }
.ed-prompt { display: grid; gap: 8px; padding: 11px; border: 1px solid rgba(240, 86, 5, .5); border-radius: var(--r-4); background: var(--surface); box-shadow: 0 0 0 3px rgba(240, 86, 5, .07); }
.ed-prompt .pbox-text { font-size: 13.5px; line-height: 1.4; min-height: 4.2em; }
.ed-prompt > * { min-width: 0; }
.ed-prompt .pchip { height: 24px; padding: 0 7px; gap: 4px; font-size: 9px; letter-spacing: .1em; }
.ed-prompt .pchip .ic { width: 11px; height: 11px; }
.ed-prompt .pgo { width: 26px; height: 26px; }
.scene { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; align-items: center; padding: 4px 6px; border-radius: var(--r-3); border: 0; background: none; text-align: left; cursor: pointer; transition: background-color .2s; }
.scene:hover { background: var(--bg); }
.scene.on { background: var(--accent-wash); box-shadow: inset 0 0 0 1px var(--accent); }
.scene .th { width: 48px; height: 30px; border-radius: var(--r-2); position: relative; overflow: hidden; background-image: var(--film); background-repeat: no-repeat; }
.scene .th::after { content: attr(data-n); position: absolute; left: 4px; bottom: 2px; font: 700 9px/1 var(--font-text); letter-spacing: .08em; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.scene b { display: block; font-size: 13px; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scene small { font: 700 9.5px/14px var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.ed-timeline { border-top: 1px solid var(--line); padding: 10px 16px 16px; }
.tl-head { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; height: 34px; }
.tl-ctrl { display: flex; align-items: center; gap: 8px; }
.tl-play { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); display: grid; place-items: center; cursor: pointer; }
.tl-play .ic { width: 12px; height: 12px; }
.tl-tc { font: 600 12px/1 var(--font-mono); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tl-ruler { position: relative; height: 100%; }
.tl-ruler span { position: absolute; bottom: 4px; transform: translateX(-50%); font: 700 9.5px/1 var(--font-text); letter-spacing: .1em; color: var(--ink-3); }
.tl-ruler span:first-child { transform: none; }
.tl-ruler span:last-child { transform: translateX(-100%); }
.tl-ruler span:first-child::after { left: 0; }
.tl-ruler span:last-child::after { left: 100%; }
.tl-ruler span::after { content: ""; position: absolute; left: 50%; top: 14px; width: 1px; height: 6px; background: var(--line-3); }
.tl-body { position: relative; display: grid; gap: 6px; padding-top: 6px; }
.track { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; }
.track-label { font: 700 10px/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.lane { position: relative; height: 34px; border-radius: var(--r-3); background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 16.666%), var(--bg); }
.clip {
  position: absolute; top: 3px; bottom: 3px; border-radius: 5px; border: 0; padding: 0 10px; cursor: pointer;
  display: flex; align-items: center; gap: 6px; overflow: hidden; text-align: left;
  font: 600 12px/1 var(--font-text); white-space: nowrap; transition: box-shadow .2s, transform .2s var(--ease);
}
.clip span { overflow: hidden; text-overflow: ellipsis; position: relative; }
.clip::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.clip.film { background-image: linear-gradient(var(--tint), var(--tint)), var(--film); background-size: auto, auto 100%; background-repeat: no-repeat, repeat-x; background-position: 0 0, var(--bx, 0px) 50%; color: #FFF; text-shadow: 0 1px 4px rgba(0, 0, 0, .55); }
.clip.film::before { background: repeating-linear-gradient(90deg, transparent 0 calc(var(--fw, 65px) - 1px), rgba(255, 255, 255, .4) calc(var(--fw, 65px) - 1px) var(--fw, 65px)); opacity: .55; }
.clip.wave::before { background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 5px); -webkit-mask: linear-gradient(transparent 30%, #000 30% 70%, transparent 70%); mask: linear-gradient(transparent 30%, #000 30% 70%, transparent 70%); opacity: .18; }
.clip.on { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent); z-index: 2; }
.clip:hover { transform: translateY(-1px); }
.c-eng { --tint: rgba(32, 12, 6, .52); }
.c-ai { --tint: rgba(240, 86, 5, .42); }
.c-design { --tint: rgba(96, 70, 120, .42); }
.c-growth { background: var(--gold); color: var(--ink); }
.c-creative { --tint: rgba(199, 68, 0, .3); }
.playhead { position: absolute; top: -40px; bottom: -4px; left: 92px; right: 0; pointer-events: none; }
.playhead i { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--accent); will-change: left; }
.playhead i::before { content: ""; position: absolute; top: 0; left: -5px; width: 12px; height: 14px; background: var(--accent); border-radius: 3px 3px 6px 6px; }

/* ---------- proof strip ---------- */
.proof { padding-block: clamp(24px, 3vw, 40px) clamp(56px, 7vw, 96px); }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 28px 16px 0 0; display: grid; gap: 12px; align-content: start; }
.stat + .stat { padding-left: clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.odo { display: inline-flex; align-items: baseline; font: 600 clamp(44px, 5vw, 72px)/1 var(--font-display); letter-spacing: -.035em; color: var(--ink); }
.odo-n { display: inline-flex; }
.odo-s { display: inline-block; margin-left: .04em; color: var(--accent); letter-spacing: -.02em; transition: opacity .6s var(--ease) 1.5s, transform .7s var(--ease) 1.5s; }
.dg { position: relative; display: inline-block; height: 1em; overflow: hidden; }
.dg-size { visibility: hidden; }
.dg-strip { position: absolute; left: 50%; top: 0; display: flex; flex-direction: column; transform: translate(-50%, 0); transition: transform 2.4s cubic-bezier(.16, 1, .3, 1) var(--d, 0s); }
.dg-strip i { display: block; height: 1em; font-style: normal; text-align: center; }
.odo.go .dg-strip { transform: translate(-50%, calc(var(--k) * -1em)); }
.odo.armed:not(.go) .odo-s { opacity: 0; transform: translateY(.3em) scale(.6); }
.stat .lbl { font: 700 11px/18px var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); max-width: 22ch; }

/* ---------- sections ---------- */
.sec { padding-block: clamp(72px, 10vw, 136px); scroll-margin-top: var(--nav-h); }
.sec-sunk { background: var(--bg-sunk); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(36px, 4.8vw, 64px); letter-spacing: -.04em; line-height: .98; margin-top: 16px; }
.sec-head p { color: var(--ink-2); font-size: 18px; line-height: 1.6; max-width: 46ch; }

/* ---------- the note ---------- */
.note-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.note-intro { display: grid; gap: 20px; align-content: start; }
@media (min-width: 901px) and (min-height: 820px) { .note-intro { position: sticky; top: calc(var(--nav-h) + 24px); } }
.note-intro h2 { font-size: clamp(36px, 4.6vw, 60px); letter-spacing: -.04em; line-height: .98; }
.note-intro p { color: var(--ink-2); font-size: 18px; max-width: 34ch; }
.founder-pol { display: var(--founder-display, none); position: relative; width: min(224px, 70%); margin: 22px 0 0 4px; padding: 11px 11px 14px; background: #FFF; transform: rotate(-3deg); box-shadow: 0 2px 4px rgba(32, 0, 0, .06), 0 26px 44px -26px rgba(90, 35, 10, .5); }
.founder-pol .tape { top: -14px; width: 96px; height: 28px; }
.fp-photo { display: block; aspect-ratio: 4 / 5; background: #E9E1D6 var(--ph-founder, none) center 20% / cover no-repeat; }
.founder-pol figcaption { margin-top: 10px; font: 400 21px/1.1 var(--font-hand); color: var(--paper-ink); }
.founder-pol figcaption small { display: block; margin-top: 4px; font-size: 16px; opacity: .7; }
.paper-wrap { position: relative; filter: var(--paper-shadow); transform: rotate(-1.4deg); margin: 12px 0 64px; }
.paper {
  position: relative; background-color: var(--paper); color: var(--paper-ink);
  padding: clamp(36px, 5vw, 60px) clamp(24px, 5vw, 64px) clamp(56px, 7vw, 84px);
  font: 400 clamp(19px, 2.05vw, 25px)/1.6 var(--font-hand);
  background-image: linear-gradient(90deg, transparent calc(clamp(24px, 5vw, 64px) - 14px), rgba(240, 86, 5, .28) calc(clamp(24px, 5vw, 64px) - 14px), rgba(240, 86, 5, .28) calc(clamp(24px, 5vw, 64px) - 12.5px), transparent calc(clamp(24px, 5vw, 64px) - 12.5px));
  clip-path: polygon(0 0, 100% 0, 100% 96.5%, 97% 98.8%, 93.5% 97.2%, 89% 99.4%, 85% 97.6%, 80% 99%, 76% 97.4%, 71% 99.6%, 66.5% 97.8%, 62% 99.2%, 57% 97.3%, 52.5% 99.5%, 48% 97.7%, 43% 99.1%, 38.5% 97.4%, 34% 99.6%, 29% 97.6%, 24.5% 99.2%, 20% 97.3%, 15% 99.4%, 10.5% 97.7%, 6% 99.3%, 2.5% 97.6%, 0 98.6%);
}
.paper p + p { margin-top: .8em; }
.paper .hey { font-size: 1.15em; }
.paper s { text-decoration-thickness: 2px; opacity: .8; }
.paper .ins { font-size: .78em; display: inline-block; transform: translateY(-.7em) rotate(-4deg); color: var(--paper-ink); }
.paper .mark { background: linear-gradient(transparent 58%, rgba(240,86,5,.3) 58%, rgba(240,86,5,.3) 92%, transparent 92%); }
.circled { position: relative; white-space: nowrap; display: inline-block; }
.circled svg { position: absolute; left: -6%; top: -22%; width: 112%; height: 150%; overflow: visible; }
.circled path { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 0; }
.paper .sign { margin-top: 1.3em; display: grid; gap: 4px; justify-items: start; }
.paper .sig { position: relative; display: inline-block; font: 700 1.9em/1 var(--font-hand); transform: rotate(-4deg); transform-origin: 0 50%; padding-bottom: .1em; }
.paper .sig svg { position: absolute; left: -6%; bottom: -.34em; width: 125%; height: .7em; overflow: visible; }
.paper .sig path { fill: none; stroke: var(--paper-ink); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 0; }
.paper .sig-name { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font: 500 13px/1.3 var(--font-text); letter-spacing: .02em; color: rgba(30, 42, 110, .78); }
.paper .sig-name svg { width: 18px; height: 18px; }
.tape { position: absolute; z-index: 2; width: 128px; height: 34px; background: rgba(240, 226, 196, .72); box-shadow: 0 1px 2px rgba(0,0,0,.06); top: -16px; left: 50%; transform: translateX(-50%) rotate(-2.5deg); -webkit-mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent 0); mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent 0); }
.down-note { display: inline-flex; align-items: flex-end; gap: 6px; margin-left: clamp(0px, 4vw, 48px); font: 400 22px/1.2 var(--font-hand); color: var(--ink-2); text-decoration: none; transform: rotate(-2deg); }
.down-note:hover { color: var(--accent-ink); }
.down-note svg { width: 54px; height: 64px; color: var(--accent); }

/* ---------- values ---------- */
.value-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.value { padding: clamp(28px, 3.4vw, 44px) clamp(20px, 3vw, 44px) clamp(28px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.value:nth-child(even) { padding-left: clamp(20px, 3vw, 44px); padding-right: 0; border-left: 1px solid var(--line); }
.value .caps { color: var(--accent-ink); }
.value h3 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.03em; }
.value p { color: var(--ink-2); font-size: 17px; max-width: 44ch; }

/* ---------- perks ---------- */
.perk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-5); overflow: hidden; }
.perk { position: relative; isolation: isolate; overflow: hidden; background: var(--surface); padding: 28px 24px 32px; display: grid; gap: 10px; align-content: start; }
.perk .ic-chip { position: relative; width: 46px; height: 46px; margin: -10px 0 8px -10px; display: grid; place-items: center; border-radius: 14px; }
.perk .ic-chip::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--accent-wash); box-shadow: inset 0 0 0 1px rgba(240, 86, 5, .12); opacity: 0; transform: scale(.55) rotate(-12deg); transition: opacity .3s var(--ease), transform .5s cubic-bezier(.3, 1.4, .5, 1); }
.perk:hover .ic-chip::before { opacity: 1; transform: none; }
.perk .ic { position: relative; width: 26px; height: 26px; color: var(--accent); }
.perk:hover .ic { animation: var(--anim, none) .9s var(--ease); }
.perk h3, .perk p { transition: transform .45s var(--ease); }
.perk:hover h3 { transform: translateX(3px); }
.perk:hover p { transform: translateX(3px); transition-delay: .04s; }
.perk.feature .ic-chip::before { background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.perk[data-icon="sparkle"] { --anim: twinkle; }
.perk[data-icon="coins"] { --anim: coinHop; }
.perk[data-icon="heart"] { --anim: beat; }
.perk[data-icon="laptop"] { --anim: lidLift; }
.perk[data-icon="book"] { --anim: pageTurn; }
.perk[data-icon="clock"] { --anim: tick; }
.perk[data-icon="mountain"] { --anim: rise; }
.perk[data-icon="play"] { --anim: nudge; }
@keyframes twinkle { 30% { transform: rotate(20deg) scale(1.22); } 62% { transform: rotate(-8deg) scale(.94); } }
@keyframes coinHop { 22% { transform: translateY(-6px); } 44% { transform: translateY(0) scaleY(.88); } 64% { transform: translateY(-2px); } }
@keyframes beat { 14% { transform: scale(1.24); } 28% { transform: scale(1); } 42% { transform: scale(1.14); } 58% { transform: scale(1); } }
@keyframes lidLift { 40% { transform: translateY(-4px) rotate(-7deg); } 70% { transform: translateY(0) rotate(2deg); } }
@keyframes pageTurn { 45% { transform: perspective(90px) rotateY(-48deg); } }
@keyframes tick { to { transform: rotate(360deg); } }
@keyframes rise { 40% { transform: translateY(-5px); } 70% { transform: translateY(1px); } }
@keyframes nudge { 30% { transform: translateX(5px) scale(1.16); } 60% { transform: translateX(-1px); } }
/* pointer-following light on perk and value cards */
.spot { position: relative; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease); background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 30%), rgba(240, 86, 5, .085), transparent 65%); }
.spot:hover::after { opacity: 1; }
.perk.feature.spot::after { background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .26), transparent 65%); }
.value .caps { display: inline-flex; align-items: center; gap: 0; transition: gap .4s var(--ease); }
.value .caps::before { content: ""; width: 0; height: 7px; border-radius: 2px; background: var(--accent); transition: width .4s var(--ease); }
.value:hover .caps { gap: 8px; }
.value:hover .caps::before { width: 7px; }
.perk h3 { font: 600 18px/1.3 var(--font-text); letter-spacing: -.01em; }
.perk p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.perk.feature { background: linear-gradient(140deg, #F05605, #FF7A2E 70%, #FFA174); color: #FFF; }
.perk.feature .ic { color: #FFF; }
.perk.feature p { color: rgba(255,255,255,.88); }

/* ---------- places ---------- */
.place-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.place { position: relative; display: grid; gap: 18px; align-content: space-between; min-height: 260px; padding: 24px; border-radius: var(--r-5); background: var(--surface); border: 1px solid var(--line); text-decoration: none; overflow: hidden; transition: border-color .2s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.place:hover { box-shadow: 0 24px 40px -28px rgba(120, 40, 10, .35); }
.place:hover { border-color: var(--accent); transform: translateY(-3px); }
.place .coords { font: 700 10px/16px var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.place h3 { font-size: clamp(32px, 3.4vw, 46px); letter-spacing: -.04em; }
.place .clock { display: flex; align-items: baseline; gap: 10px; }
.place .clock b { font: 600 28px/1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.place .clock .colon { animation: blink 2s steps(1) infinite; font-style: normal; }
.place .clock span { font-size: 13px; color: var(--ink-3); }
.place .go { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.place .go .ic { color: var(--accent-ink); transition: transform .25s var(--ease); }
.place:hover .go .ic { transform: translateX(4px); }
.place .desc { color: var(--ink-2); font-size: 15px; }

/* ---------- open roles band ---------- */
.roles-sec { background: var(--band); color: var(--band-ink); overflow: hidden; border-block: 1px solid var(--line); }
.roles-sec .eyebrow { color: var(--band-ink-2); }
.roles-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.roles-head h2 { font-size: clamp(44px, 6vw, 84px); letter-spacing: -.045em; line-height: .92; margin-top: 16px; }
.roles-head h2 sup { font-size: .32em; color: var(--accent); vertical-align: top; position: relative; top: .25em; margin-left: .1em; letter-spacing: 0; }
.roles-head p { color: var(--band-ink-2); font-size: 18px; max-width: 40ch; }
.filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) minmax(0, 1.12fr); gap: 20px; margin-block: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 48px); }
.dfield { position: relative; }
.dfield input, .dfield select {
  width: 100%; height: 64px; padding: 0 52px 0 22px; border-radius: var(--r-2); border: 1px solid var(--line-2);
  background: var(--bg); color: var(--band-ink); font: 400 17px/1 var(--font-text); appearance: none; -webkit-appearance: none;
  transition: border-color .2s, background-color .2s;
}
.dfield input::placeholder { color: var(--band-ink-3); }
.dfield select { cursor: pointer; }
.dfield select option { background: var(--band-2); color: var(--band-ink); }
.dfield input:hover, .dfield select:hover { border-color: var(--band-ink-3); }
.dfield input:focus, .dfield select:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px var(--accent-wash); }
.dfield .ic { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--band-ink-2); pointer-events: none; }
.roles-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--band-ink-3); padding-bottom: 12px; }
.roles-meta button { background: none; border: 0; color: var(--band-ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; }
.role-list { border-top: 1px solid var(--band-line); }
.role-row {
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 260px) 120px; gap: 24px; align-items: center;
  padding: clamp(22px, 2.6vw, 32px) 0; border-bottom: 1px solid var(--band-line); color: inherit; text-decoration: none;
}
.role-row::before { content: ""; position: absolute; z-index: -1; inset: 0 -14px; border-radius: var(--r-4); background: var(--band-2); opacity: 0; transition: opacity .2s; }
.role-row:hover::before, .role-row:focus-visible::before { opacity: 1; }
.role-row h3 { font: 500 clamp(19px, 2vw, 26px)/1.25 var(--font-text); letter-spacing: -.015em; }
.role-row .sub { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 14px; font: 700 10px/16px var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--band-ink-3); }
.role-row .new { color: var(--accent); }
.role-row .loc { font-size: clamp(16px, 1.5vw, 19px); color: var(--band-ink); }
.role-row .loc small { display: block; font-size: 13px; color: var(--band-ink-3); margin-top: 2px; }
.role-row .apply { justify-self: end; display: inline-flex; align-items: center; gap: 8px; font-size: clamp(16px, 1.5vw, 19px); font-weight: 500; transition: color .2s; }
.role-row .apply .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.role-row:hover .apply { color: var(--accent); }
.role-row:hover .apply .ic { transform: translateX(4px); }
.role-empty { padding: 56px 0; border-bottom: 1px solid var(--band-line); display: grid; gap: 12px; justify-items: start; }
.role-empty h3 { font-size: 28px; }
.role-empty p { color: var(--band-ink-2); }
.role-empty .ubtn { background: transparent; color: var(--band-ink); border-color: var(--band-line); }

.pitch { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.pitch h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; }
.pitch-copy { display: grid; gap: 14px; }
.pitch-copy p { color: var(--band-ink-2); font-size: 17px; max-width: 40ch; }
.composer { background: var(--surface); border: 1px solid rgba(240, 86, 5, .5); border-radius: var(--r-4); padding: 14px; display: grid; gap: 14px; box-shadow: 0 0 0 4px rgba(240, 86, 5, .07), 0 20px 44px -24px rgba(240, 86, 5, .5); transition: box-shadow .25s, border-color .25s; }
.composer:focus-within { border-color: var(--accent); box-shadow: 0 0 0 5px rgba(240, 86, 5, .12), 0 20px 44px -24px rgba(240, 86, 5, .6); }
.composer textarea { width: 100%; min-height: 104px; resize: none; border: 0; background: transparent; color: var(--ink); font: 400 17px/1.55 var(--font-text); padding: 0; }
.composer textarea:focus { outline: none; }
.composer textarea::placeholder { color: var(--ink-3); }
.composer-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.composer-foot .chip { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); font: 700 10px/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase; }
.composer-foot .btn { margin-left: auto; }

/* ---------- FAQ + closing ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid h2 { font-size: clamp(36px, 4.4vw, 56px); letter-spacing: -.04em; line-height: 1; margin-top: 16px; }
.faq-grid > div > p { margin-top: 18px; color: var(--ink-2); font-size: 17px; max-width: 34ch; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 600 clamp(17px, 1.6vw, 20px)/1.35 var(--font-text); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 20px; height: 20px; color: var(--ink-3); transition: transform .3s var(--ease); }
.faq details[open] summary .ic { transform: rotate(45deg); color: var(--accent); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); font-size: 16.5px; max-width: 60ch; }
.faq a { color: var(--accent-ink); }
.closing { position: relative; padding-block: clamp(72px, 10vw, 140px) clamp(40px, 5vw, 72px); }
.closing-head { display: grid; justify-items: start; gap: 18px; margin-bottom: clamp(28px, 4vw, 48px); }
/* one line at every width: the heading is ~9.2em wide, so size it from the space available */
.closing h2 { font-size: min(104px, calc((min(100vw, var(--wrap)) - 2 * var(--gutter)) / 9.7)); white-space: nowrap; letter-spacing: -.05em; line-height: .95; margin-top: 12px; }
.closing-head p { color: var(--ink-2); font-size: 18px; max-width: 44ch; }
.cine { container-type: inline-size; position: relative; aspect-ratio: 1568 / 672; max-width: 100%; border-radius: var(--r-6); overflow: hidden; isolation: isolate; background: #3A1C0E; box-shadow: 0 50px 90px -46px rgba(150, 50, 10, .5); }
.cine-img { position: absolute; left: 0; right: 0; top: -5%; bottom: -5%; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.cine-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; background: #3A1C0E; }
/* subtle film look: moving monochrome grain + a soft vignette with a faint flicker */
.film-grain { position: absolute; z-index: 2; inset: -60%; pointer-events: none; opacity: .14; mix-blend-mode: overlay; background-size: 200px 200px; animation: grain 1s steps(8) infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 12% { transform: translate(-3%, 2%); } 25% { transform: translate(2%, -4%); } 37% { transform: translate(-5%, -1%); } 50% { transform: translate(4%, 3%); } 62% { transform: translate(-1%, 5%); } 75% { transform: translate(3%, -2%); } 87% { transform: translate(-4%, -3%); } }
.film-vignette { position: absolute; z-index: 2; inset: 0; pointer-events: none; background: radial-gradient(120% 95% at 50% 45%, transparent 58%, rgba(20, 8, 4, .34)); animation: flicker 4s steps(1) infinite; }
@keyframes flicker { 0%, 100% { opacity: 1; } 31% { opacity: .9; } 33% { opacity: 1; } 68% { opacity: .94; } 70% { opacity: 1; } }
/* "Tell your story." title, set like the reference: warm cream serif, bottom right */
.cine-title { position: absolute; z-index: 3; right: 5.7%; bottom: 10.5%; margin: 0; white-space: nowrap; pointer-events: none; font: 600 calc(25cqw / var(--title-em, 5.72)) / 1 "Cormorant Garamond", "EB Garamond", Georgia, serif; letter-spacing: -.01em; color: #FFF2D0; text-shadow: 0 2px 22px rgba(40, 14, 4, .4); }
.sound-btn { position: absolute; z-index: 3; top: clamp(12px, 2.4vw, 24px); right: clamp(12px, 2.4vw, 24px); display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .32); background: rgba(20, 8, 4, .36); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #FFF8F2; font: 600 13px/1 var(--font-text); cursor: pointer; transition: background-color .25s, transform .2s var(--ease), border-color .25s; }
.sound-btn:hover { background: rgba(20, 8, 4, .55); border-color: rgba(255, 255, 255, .5); }
.sound-btn:active { transform: scale(.96); }
.sound-btn .ic { width: 17px; height: 17px; }
.sound-btn .eq { display: none; align-items: flex-end; gap: 2px; width: 17px; height: 14px; justify-content: center; }
.sound-btn .eq i { width: 3px; height: 100%; border-radius: 2px; background: #FFA057; transform-origin: 50% 100%; animation: eq .9s ease-in-out infinite; }
.sound-btn .eq i:nth-child(2) { animation-delay: -.3s; }
.sound-btn .eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.sound-btn.on .eq { display: inline-flex; }
.sound-btn.on .ic { display: none; }
/* smaller toggle inside the hero preview */
.ed-monitor .sound-btn { top: 10px; right: 10px; height: 32px; padding: 0 12px 0 10px; font-size: 12px; gap: 6px; }
.ed-monitor .sound-btn .ic { width: 15px; height: 15px; }
.cine-card { position: absolute; z-index: 3; left: clamp(12px, 3vw, 32px); bottom: clamp(12px, 3vw, 32px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 14px 14px 14px 20px; border-radius: var(--r-5); background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 24px 48px -24px rgba(32, 0, 0, .45); max-width: calc(100% - 24px); }
.cine-card b { display: block; font: 600 17px/1.3 var(--font-text); }
.cine-card small { display: block; color: var(--ink-2); font-size: 13.5px; margin-top: 2px; }

/* ---------- footer ---------- */
.site-foot { padding-block: 40px 0; font-size: 14px; color: var(--ink-2); overflow: hidden; }
.foot-mark { width: 100%; max-width: var(--wrap); margin: clamp(40px, 6vw, 72px) auto 0; padding-inline: var(--gutter); color: #EFE8E1; transform: translateY(18%); }
.foot-mark svg { display: block; width: 100%; height: auto; }
.foot-mark svg rect { fill: #FFE1CF; }
.foot-mark svg path[fill="#fff"] { fill: var(--bg); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.foot-grid h4 { font: 700 11px/18px var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--accent-ink); }
.foot-grid .brand svg { height: 22px; }
.foot-grid > div:first-child p { margin-top: 14px; max-width: 32ch; }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font: 700 11px/18px var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- role page ---------- */
.rp-head { padding-block: clamp(28px, 4vw, 56px) clamp(32px, 4vw, 52px); border-bottom: 1px solid var(--line); }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.back:hover { color: var(--ink); }
.back .ic { transition: transform .25s var(--ease); }
.back:hover .ic { transform: translateX(-3px); }
.rp-head h1 { font-size: clamp(38px, 5.8vw, 80px); letter-spacing: -.045em; line-height: .96; margin-block: 14px 24px; max-width: 16ch; }
.rp-head .summary { font-size: clamp(18px, 1.7vw, 21px); color: var(--ink-2); max-width: 52ch; margin-bottom: 26px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.meta { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: var(--ink-2); background: var(--surface); }
.meta .ic { width: 16px; height: 16px; color: var(--accent-ink); }
.rp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 96px); padding-block: clamp(40px, 5vw, 72px); align-items: start; }
.prose { min-width: 0; }
.prose h2 { font-size: 26px; letter-spacing: -.025em; margin: 52px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 65ch; }
.prose p + p { margin-top: 14px; }
.prose .lead { font-size: 19px; color: var(--ink); }
.prose ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 66ch; }
.prose li { position: relative; padding-left: 28px; font-size: 17px; line-height: 1.6; }
.prose li::before { content: ""; position: absolute; left: 3px; top: .6em; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); }
.prose ul.soft li::before { background: var(--taupe-soft); box-shadow: inset 0 0 0 1.5px var(--taupe); }
.about-box { margin-top: 52px; padding: 24px; border-radius: var(--r-5); background: var(--bg-sunk); display: grid; gap: 10px; }
.about-box h3 { font: 700 11px/18px var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.about-box p { font-size: 15.5px; }
.aside { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 16px; }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-5); padding: 24px; display: grid; gap: 20px; box-shadow: var(--shadow-1); }
.aside-card .btn { width: 100%; }
.aside-card .fine { font-size: 13px; color: var(--ink-3); text-align: center; margin-top: -8px; }
.aside-card dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 16px; margin: 0; font-size: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.aside-card dt { color: var(--ink-3); }
.aside-card dd { margin: 0; text-align: right; font-weight: 500; }
.aside-links { display: flex; gap: 8px; }
.aside-links .ubtn { flex: 1; }

/* ---------- application form ---------- */
.apply-sec { background: var(--bg-sunk); border-top: 1px solid var(--line); padding-block: clamp(56px, 8vw, 112px); scroll-margin-top: var(--nav-h); }
.apply-head { display: grid; gap: 12px; margin-bottom: 32px; }
.apply-head h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -.04em; }
.apply-head p { color: var(--ink-2); font-size: 17px; max-width: 60ch; }
.apply-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-5); padding: clamp(20px, 4vw, 44px); box-shadow: var(--shadow-1); min-width: 0; }
.edit-banner { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-4); background: var(--accent-wash); border: 1px solid var(--accent); color: var(--ink); font-size: 14px; margin-bottom: 28px; }
.edit-banner .ic { color: var(--accent-ink); }
.fgroup { border: 0; padding: 0; margin: 0 0 40px; display: grid; gap: 20px; min-width: 0; }
.fgroup legend { padding: 0; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; font: 700 12px/20px var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.fgroup legend i { font-style: normal; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-sunk); color: var(--ink-2); font-size: 11px; letter-spacing: 0; }
.frow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field > label, .field .label { font: 500 14px/20px var(--font-text); }
.req { color: var(--accent-ink); }
.opt { color: var(--ink-3); font-weight: 400; }
.hint { font-size: 13px; color: var(--ink-3); line-height: 1.45; }
.input, .select, .textarea {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-2);
  background: var(--surface); color: var(--ink); font: 400 16px/1.4 var(--font-text);
  transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
.select { padding-right: 38px; cursor: pointer; background-image: var(--chev); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.textarea { height: auto; min-height: 132px; padding: 12px 14px; line-height: 1.55; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--line-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea, .field.invalid .dropzone { border-color: var(--error); }
.err { display: none; align-items: center; gap: 6px; color: var(--error); font-size: 13px; font-weight: 500; }
.field.invalid .err { display: flex; }
.err .ic { width: 14px; height: 14px; }
.phone { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
.counter { font-size: 12px; color: var(--ink-3); text-align: right; font-variant-numeric: tabular-nums; }
.with-ic { position: relative; }
.with-ic .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-3); pointer-events: none; }
.with-ic .input { padding-left: 42px; }

.dropzone { position: relative; display: grid; justify-items: center; gap: 8px; padding: 30px 20px; text-align: center; border: 1.5px dashed var(--line-3); border-radius: var(--r-4); background: var(--surface-2); cursor: pointer; transition: border-color .2s, background-color .2s; }
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: var(--accent-wash); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone:focus-within { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.dz-ic { width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 4px; }
.dz-ic .ic { width: 22px; height: 22px; }
.dropzone b { font-weight: 600; }
.dropzone b u { color: var(--accent-ink); text-underline-offset: 3px; }
.dropzone small { color: var(--ink-3); font-size: 13px; }
.dropzone.compact { padding: 18px; grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 10px; }
.dropzone.compact .dz-ic { width: 32px; height: 32px; margin: 0; }
.dropzone.compact .dz-ic .ic { width: 16px; height: 16px; }
.files { display: grid; gap: 8px; }
.file-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 12px 12px 14px; border: 1px solid var(--line); border-radius: var(--r-4); background: var(--surface); animation: rise .3s var(--ease); }
@keyframes rise { from { transform: translateY(6px); opacity: .4; } }
.ftype { position: relative; width: 36px; height: 44px; border-radius: 4px 10px 4px 4px; background: var(--bg-sunk); display: grid; place-items: end center; padding-bottom: 6px; font: 700 8.5px/1 var(--font-text); letter-spacing: .08em; color: var(--ink-2); }
.ftype.pdf { background: var(--accent-soft); color: var(--accent-ink); }
.fname { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fmeta { font-size: 13px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.fmeta .ok { color: var(--success); display: inline-flex; align-items: center; gap: 4px; font-weight: 500; }
.fmeta .ok .ic { width: 14px; height: 14px; }
.prog { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-top: 8px; }
.prog i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 4px; transition: width .12s linear; }
.file-actions { display: flex; gap: 2px; }

.rcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rcard { position: relative; display: block; }
.rcard input { position: absolute; opacity: 0; pointer-events: none; }
.rcard span { display: grid; gap: 2px; height: 100%; padding: 14px; border: 1px solid var(--line-2); border-radius: var(--r-4); cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.rcard b { font-weight: 600; font-size: 15px; }
.rcard small { font-size: 13px; color: var(--ink-3); }
.rcard span:hover { border-color: var(--line-3); }
.rcard input:checked + span { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-wash); }
.rcard input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.check a { color: var(--accent-ink); }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 28px; }
.form-foot .saved { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-3); }
.form-foot .saved .ic { width: 15px; height: 15px; }
.form-error { display: none; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--r-4); background: var(--error-soft); color: var(--error); font-size: 14px; font-weight: 500; margin-bottom: 20px; }
.form-error.show { display: flex; }

.checklist { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 18px; }
.checklist h3 { font: 700 11px/18px var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.checklist ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.checklist li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 0; font-size: 15px; color: var(--ink-2); transition: color .2s; }
.checklist li i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-3); display: grid; place-items: center; color: transparent; transition: all .25s var(--ease); }
.checklist li i .ic { width: 13px; height: 13px; }
.checklist li.done { color: var(--ink); }
.checklist li.done i { background: var(--success); border-color: var(--success); color: var(--surface); }
.checklist .meter { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.checklist .meter i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 6px; transition: width .4s var(--ease); }
.handnote { font: 400 20px/1.35 var(--font-hand); color: var(--ink-2); transform: rotate(-2deg); padding: 16px 4px 0; }
.handnote b { color: var(--accent-ink); font-weight: 400; }

.apply-grid.done { grid-template-columns: minmax(0, 760px); }
.success { display: grid; gap: 22px; justify-items: start; padding: clamp(8px, 2vw, 16px) 0; }
.success-mark { width: 64px; height: 64px; }
.success-mark circle { fill: var(--accent); }
.success-mark path { fill: none; stroke: #FFF; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.04em; }
.success > p { color: var(--ink-2); font-size: 17px; max-width: 56ch; }
.refbox { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px 18px; border-radius: var(--r-4); background: var(--bg-sunk); width: 100%; }
.refbox .k { font: 700 10px/16px var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.refbox .v { font: 600 22px/1.2 var(--font-mono); letter-spacing: .04em; }
.refbox .ubtn { margin-left: auto; }
.next { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; width: 100%; counter-reset: n; }
.next li { counter-increment: n; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.next li::before { content: counter(n); width: 26px; height: 26px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-2); display: grid; place-items: center; font: 600 12px var(--font-text); color: var(--ink); }
.next b { color: var(--ink); font-weight: 600; }
.success-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.thanks { font: 400 30px/1 var(--font-hand); color: var(--accent-ink); transform: rotate(-3deg); }

/* update page */
.lookup { max-width: 560px; margin: clamp(40px, 8vw, 96px) auto; padding-inline: var(--gutter); }
.lookup .form-card { display: grid; gap: 20px; }
.lookup h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -.04em; }
.lookup p { color: var(--ink-2); }
.lookup .back { margin-bottom: 24px; }
/* honeypot: hidden from people, filled in by bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.human:empty { display: none; }

/* ---------- admin ---------- */
.adm { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; background: var(--bg); }
.adm-side { position: sticky; top: env(safe-area-inset-top, 0px); height: 100vh; display: flex; flex-direction: column; gap: 22px; padding: 18px 14px 20px; border-right: 1px solid var(--line); background: var(--bg-sunk); overflow-y: auto; }
.adm-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px; text-decoration: none; color: var(--ink); }
.adm-brand svg { height: 20px; width: auto; }
.adm-brand span { font: 700 10px/1 var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); padding: 4px 6px; border-radius: var(--r-1); border: 1px solid var(--line-2); }
.adm-nav { display: grid; gap: 2px; }
.adm-nav h4 { font: 700 10px/16px var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); padding: 0 10px 6px; }
.adm-nav a, .adm-nav button { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: var(--r-3); text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 14px; border: 0; background: none; cursor: pointer; text-align: left; width: 100%; }
.adm-nav a:hover, .adm-nav button:hover { background: var(--accent-wash); color: var(--ink); }
.adm-nav a.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.adm-nav .ic { width: 17px; height: 17px; }
.adm-nav .n { margin-left: auto; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.adm-nav .n.hot { background: var(--accent); color: #FFF; border-radius: 999px; padding: 1px 7px; font-weight: 600; }
.adm-foot { margin-top: auto; display: grid; gap: 12px; }
.adm-user { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px; border-radius: var(--r-4); background: var(--surface); border: 1px solid var(--line); }
.adm-user b { font-size: 13.5px; font-weight: 600; display: block; }
.adm-user small { font-size: 12px; color: var(--ink-3); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-main { min-width: 0; padding: 26px clamp(16px, 3vw, 36px) 140px; }
.adm-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; }
.adm-head h1 { font-size: 34px; letter-spacing: -.035em; }
.adm-head p { color: var(--ink-3); font-size: 14px; margin-top: 4px; }
.adm-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-4); padding: 14px 16px 16px; display: grid; gap: 6px; }
.kpi .k { font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.kpi .k .ic { width: 15px; height: 15px; color: var(--ink-3); }
.kpi .v { font: 600 32px/1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi .d { font-size: 12.5px; color: var(--ink-3); }
.kpi .d b { color: var(--success); font-weight: 600; }
.kpi.hot { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.kpi.hot .v { color: var(--accent-ink); }
.charts { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-4); }
.chart-card { padding: 16px 18px 14px; min-width: 0; position: relative; }
.chart-card header { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 12px; }
.chart-card h3 { font: 600 14px/1.3 var(--font-text); letter-spacing: 0; }
.chart-card header small { font-size: 12.5px; color: var(--ink-3); }
.chart-card header b { font: 600 14px var(--font-text); font-variant-numeric: tabular-nums; }
.bars { position: relative; }
.bars svg { width: 100%; height: 150px; overflow: visible; }
.bars .grid line { stroke: var(--line); stroke-width: 1; }
.bars .axis text { fill: var(--ink-3); font: 500 10.5px var(--font-text); font-variant-numeric: tabular-nums; }
.bars .bar { fill: var(--accent); transition: opacity .15s; }
.bars .bar.zero { fill: var(--line-2); }
.bars .hit { fill: transparent; cursor: default; }
.bars.hovering .bar { opacity: .45; }
.bars.hovering .bar.hl { opacity: 1; }
.tip { position: absolute; z-index: 5; pointer-events: none; background: var(--ink); color: var(--bg); font-size: 12.5px; line-height: 1.35; padding: 7px 10px; border-radius: var(--r-3); white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); box-shadow: var(--shadow-2); }
.tip b { font-weight: 600; }
.pipe { display: grid; gap: 9px; }
.pipe-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) 30px; gap: 10px; align-items: center; font-size: 13px; border: 0; background: none; padding: 2px 0; text-align: left; cursor: pointer; border-radius: var(--r-2); }
.pipe-row:hover .pipe-bar i { background: var(--accent); }
.pipe-row span { color: var(--ink-2); }
.pipe-row b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.pipe-bar { height: 10px; border-radius: 999px; background: var(--bg-sunk); overflow: hidden; }
.pipe-bar i { display: block; height: 100%; min-width: 4px; border-radius: 999px; background: var(--ink); transition: width .5s var(--ease), background-color .15s; }
.views { display: flex; gap: 8px; flex-wrap: wrap; margin: 26px 0 12px; }
.vchip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: 13.5px; font-weight: 500; cursor: pointer; color: var(--ink-2); transition: all .15s; }
.vchip:hover { border-color: var(--line-3); color: var(--ink); }
.vchip.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.vchip .n { font-size: 12px; opacity: .65; font-variant-numeric: tabular-nums; }
.fbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-bottom: 0; border-radius: var(--r-4) var(--r-4) 0 0; }
.fsearch { position: relative; flex: 1 1 220px; min-width: 0; }
.fsearch .ic { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-3); pointer-events: none; }
.fsearch input { width: 100%; height: 34px; padding: 0 10px 0 34px; border-radius: var(--r-2); border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; }
.fsearch input:focus, .fsel:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.fsel { height: 34px; max-width: 100%; padding: 0 30px 0 10px; border-radius: var(--r-2); border: 1px solid var(--line-2); background: var(--surface) var(--chev) no-repeat right 8px center / 14px; font-size: 13.5px; font-weight: 500; cursor: pointer; appearance: none; -webkit-appearance: none; color: var(--ink); }
.fsel.active { border-color: var(--accent); color: var(--accent-ink); background-color: var(--accent-wash); }
.fbar .sep { width: 1px; height: 22px; background: var(--line-2); margin: 0 2px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--r-2); overflow: hidden; margin-left: auto; }
.seg button { height: 32px; padding: 0 10px; border: 0; background: var(--surface); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.seg button + button { border-left: 1px solid var(--line-2); }
.seg button.on { background: var(--bg-sunk); color: var(--ink); }
.seg .ic { width: 15px; height: 15px; }
.results-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 12px; background: var(--surface-2); border: 1px solid var(--line); border-bottom: 0; font-size: 13px; color: var(--ink-3); }
.results-line button { background: none; border: 0; padding: 0; color: var(--accent-ink); cursor: pointer; font-size: 13px; font-weight: 500; }
.tbl-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 0 0 var(--r-4) var(--r-4); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 960px; }
.tbl th { text-align: left; font: 600 12px/1 var(--font-text); color: var(--ink-3); padding: 11px 10px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
.tbl th button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.tbl th button .ic { width: 12px; height: 12px; }
.tbl th button.sorted { color: var(--ink); }
.tbl td { padding: 11px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
.tbl tbody tr { cursor: pointer; transition: background-color .12s; }
.tbl tbody tr:hover { background: var(--surface-2); }
.tbl tbody tr.sel { background: var(--accent-wash); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl .cb { width: 36px; padding-right: 0; }
.tbl input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; margin: 0; display: block; }
.tbl .muted { color: var(--ink-3); }
.tbl .role-cell { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.cand { display: flex; gap: 10px; align-items: center; min-width: 0; }
.cand b { font-weight: 600; display: flex; align-items: center; gap: 6px; }
.cand small { color: var(--ink-3); font-size: 12.5px; display: block; }
.av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; font: 600 12px/1 var(--font-text); color: #FFF; letter-spacing: .02em; }
.av-lg { width: 52px; height: 52px; font-size: 17px; }
.stage { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.stage::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-new { background: var(--accent-soft); color: var(--accent-ink); }
.st-screening { background: var(--info-soft); color: var(--info); }
.st-interview { background: var(--violet-soft); color: var(--violet); }
.st-offer { background: var(--warning-soft); color: var(--warning); }
.st-hired { background: var(--success-soft); color: var(--success); }
.st-rejected { background: var(--bg-sunk); color: var(--ink-3); }
.st-rejected::before { border-radius: 1px; height: 2px; width: 8px; }
.stars { display: inline-flex; gap: 1px; color: var(--line-3); }
.stars .ic { width: 14px; height: 14px; }
.stars .on { color: var(--accent); }
.stars.big .ic { width: 20px; height: 20px; }
.stars button { background: none; border: 0; padding: 1px; cursor: pointer; color: inherit; display: grid; }
.stars button.on { color: var(--accent); }
.filechip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: var(--r-2); font-size: 12.5px; font-weight: 500; background: var(--surface); cursor: pointer; color: var(--ink); max-width: 150px; white-space: nowrap; }
.filechip span { overflow: hidden; text-overflow: ellipsis; }
.filechip .ic { width: 14px; height: 14px; color: var(--accent-ink); }
.filechip:hover { border-color: var(--accent); }
.tbl-empty { padding: 56px 20px; text-align: center; display: grid; gap: 8px; justify-items: center; color: var(--ink-2); }
.tbl-empty h3 { font: 600 17px var(--font-text); color: var(--ink); }
.bulk { position: sticky; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); z-index: 20; margin: 12px auto 0; width: max-content; max-width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); box-shadow: var(--shadow-4); font-size: 14px; }
.bulk b { font-weight: 600; margin-right: 6px; }
.bulk .fsel { background-color: transparent; color: var(--bg); border-color: rgba(255,255,255,.25); background-image: var(--chev-light); }
.bulk .ubtn { background: transparent; color: var(--bg); border-color: rgba(255,255,255,.25); border-radius: 999px; }

.kanban { display: grid; grid-template-columns: repeat(6, minmax(232px, 1fr)); gap: 10px; overflow-x: auto; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 0 0 var(--r-4) var(--r-4); }
.kcol { background: var(--bg-sunk); border-radius: var(--r-4); padding: 10px; display: flex; flex-direction: column; gap: 8px; min-height: 280px; transition: box-shadow .15s, background-color .15s; }
.kcol.over { box-shadow: inset 0 0 0 2px var(--accent); background: var(--accent-wash); }
.kcol h4 { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 6px; font: 600 13px var(--font-text); letter-spacing: 0; }
.kcol h4 small { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.kcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3); padding: 10px 12px; display: grid; gap: 8px; cursor: grab; box-shadow: var(--shadow-1); transition: transform .15s, box-shadow .15s; }
.kcard:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.kcard.dragging { opacity: .4; }
.kcard .top { display: flex; gap: 8px; align-items: center; min-width: 0; }
.kcard .top .av { width: 26px; height: 26px; font-size: 10.5px; }
.kcard b { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kcard .role { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kcard .foot { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ink-3); }
.kcol .empty { font-size: 12.5px; color: var(--ink-3); text-align: center; padding: 20px 8px; border: 1px dashed var(--line-2); border-radius: var(--r-3); }

.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(20, 10, 5, .36); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; transition: opacity .25s; }
.scrim.open { opacity: 1; }
.drawer { position: fixed; z-index: 81; top: 0; right: 0; bottom: 0; width: min(640px, 100%); background: var(--surface); box-shadow: var(--shadow-4); transform: translateX(104%); transition: transform .35s var(--ease); display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.drawer.open { transform: none; }
.dr-head { padding: 18px 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.dr-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dr-top .nav-btns { display: flex; gap: 4px; }
.dr-id { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: center; }
.dr-id h2 { font-size: 26px; letter-spacing: -.03em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dr-id p { color: var(--ink-2); font-size: 14px; margin-top: 4px; }
.dr-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.stage-pick { display: flex; flex-wrap: wrap; gap: 4px; padding: 3px; border-radius: var(--r-3); background: var(--bg-sunk); }
.stage-pick button { height: 28px; padding: 0 10px; border: 0; border-radius: var(--r-2); background: transparent; font-size: 12.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.stage-pick button:hover { color: var(--ink); background: var(--surface); }
.stage-pick button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.tabs { display: flex; gap: 2px; margin-bottom: -1px; }
.tab { height: 42px; padding: 0 12px; border: 0; background: none; font-weight: 500; font-size: 14px; color: var(--ink-2); border-bottom: 2px solid transparent; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.tab:hover { color: var(--ink); }
.tab.on { color: var(--ink); border-bottom-color: var(--accent); }
.tab .n { font-size: 11.5px; color: var(--ink-3); }
.dr-body { flex: 1; overflow: auto; padding: 22px; display: grid; gap: 24px; align-content: start; }
.dr-sec { display: grid; gap: 12px; }
.dr-sec h4 { font: 700 10.5px/16px var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.kv { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 10px 16px; font-size: 14px; margin: 0; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.kv a { color: var(--accent-ink); text-underline-offset: 3px; }
.copy { border: 0; background: none; padding: 2px; color: var(--ink-3); cursor: pointer; display: inline-grid; border-radius: 3px; }
.copy:hover { color: var(--ink); background: var(--bg-sunk); }
.copy .ic { width: 14px; height: 14px; }
/* outbox */
.mails { display: grid; gap: 14px; margin-top: 18px; }
.mails-h { margin-top: 36px; font-size: 18px; }
.mail { display: grid; gap: 14px; padding: 18px 20px; }
.mail.sent, .mail.skipped { opacity: .72; }
.mail header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.mail header > div { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mail-body { margin: 0; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-4); padding: 14px 16px; font: 400 14px/1.6 var(--font-text); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 280px; overflow: auto; }
.mail-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.answer { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-4); padding: 14px 16px; font-size: 14.5px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.answer .q { display: block; font-weight: 600; margin-bottom: 6px; white-space: normal; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tagchip { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: var(--r-2); background: var(--bg-sunk); font-size: 12.5px; color: var(--ink-2); }
.file-list { display: grid; gap: 8px; }
.file-list .file-row { animation: none; }
.resume-view { display: grid; gap: 12px; }
.resume-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.doc-page { background: var(--doc-bg); color: var(--doc-ink); border-radius: 4px; box-shadow: var(--shadow-2); border: 1px solid var(--line); padding: 36px 36px 44px; font: 400 12.5px/1.55 var(--font-text); aspect-ratio: 1 / 1.3; overflow: hidden; }
.doc-page h1 { font: 700 22px/1.2 var(--font-text); letter-spacing: -.01em; color: var(--doc-ink); }
.doc-page .sub { color: #6B625E; margin-top: 4px; }
.doc-page h5 { font: 700 10px/1 var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: #C74400; margin: 22px 0 8px; padding-bottom: 6px; border-bottom: 1px solid #E9E3DE; }
.doc-page .job { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; margin-top: 10px; }
.doc-page .job span { font-weight: 400; color: #6B625E; white-space: nowrap; }
.doc-page ul { margin: 6px 0 0; padding-left: 16px; }
.doc-page li { margin-top: 3px; }
.doc-page .sk { display: flex; flex-wrap: wrap; gap: 5px; }
.doc-page .sk span { padding: 2px 7px; border-radius: 3px; background: #F4F0EC; font-size: 11.5px; }
.pdf-pages { display: grid; gap: 12px; }
.pdf-pages canvas { width: 100%; height: auto; display: block; background: #FFF; border-radius: 4px; box-shadow: var(--shadow-2); }
.pdf-loading { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 14px; padding: 24px; justify-content: center; }
.nofile { padding: 28px; border: 1px dashed var(--line-2); border-radius: var(--r-4); text-align: center; display: grid; gap: 8px; justify-items: center; color: var(--ink-2); font-size: 14px; }
.events { list-style: none; margin: 0; padding: 0; display: grid; position: relative; }
.events::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.events li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 8px 0; font-size: 14px; }
.events .dotc { width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink-3); position: relative; }
.events .dotc .ic { width: 14px; height: 14px; }
.events .dotc.acc { color: var(--accent-ink); border-color: var(--accent); }
.events .what { padding-top: 4px; }
.events .what b { font-weight: 600; }
.events .when { font-size: 12.5px; color: var(--ink-3); }
.events .note-text { margin-top: 6px; padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-3); white-space: pre-wrap; overflow-wrap: anywhere; }
.note-box { display: grid; gap: 8px; }
.note-box .textarea { min-height: 84px; font-size: 14.5px; }
.note-box div { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-3); }

.roles-tbl .switch { position: relative; width: 36px; height: 20px; border-radius: 999px; border: 0; background: var(--line-2); cursor: pointer; transition: background-color .2s; padding: 0; }
.roles-tbl .switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #FFF; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.roles-tbl .switch.on { background: var(--success); }
.roles-tbl .switch.on::after { transform: translateX(16px); }
.roles-tbl .status-cell { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.dr-form { display: grid; gap: 18px; }
.dr-form .textarea { min-height: 96px; font-size: 15px; }
.dr-foot { padding: 14px 22px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 8px; }

/* ---------- build notes (handoff) ---------- */
.doc { max-width: 880px; margin-inline: auto; padding: clamp(36px, 6vw, 72px) var(--gutter) 160px; }
.doc .back { margin-bottom: 28px; }
.doc h1 { font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -.045em; line-height: .98; margin-top: 16px; }
.doc .lead { margin-top: 20px; font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.doc h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; margin: 72px 0 14px; scroll-margin-top: 24px; }
.doc h3 { font: 600 18px/1.35 var(--font-text); letter-spacing: -.01em; margin: 28px 0 8px; }
.doc p, .doc li { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); max-width: 68ch; }
.doc p + p { margin-top: 12px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc code { font: 13.5px/1.4 var(--font-mono); background: var(--bg-sunk); padding: 2px 5px; border-radius: 3px; color: var(--ink); overflow-wrap: anywhere; }
.doc pre { margin: 16px 0 0; overflow-x: auto; background: var(--bg-sunk); color: var(--ink); border: 1px solid var(--line); padding: 18px 20px; border-radius: var(--r-4); font: 12.5px/1.65 var(--font-mono); }
.doc pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.doc ul, .doc ol { padding-left: 22px; margin: 12px 0 0; display: grid; gap: 6px; }
.doc a { color: var(--accent-ink); text-underline-offset: 3px; }
.toc { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 500; text-decoration: none; color: var(--ink-2); }
.toc a:hover { border-color: var(--accent); color: var(--ink); }
.tldr { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tldr div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-4); padding: 18px; display: grid; gap: 8px; align-content: start; }
.tldr .caps-1 { color: var(--accent-ink); }
.tldr b { font: 600 17px/1.3 var(--font-text); }
.tldr p { font-size: 14.5px; line-height: 1.55; }
.status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.status-grid > div { border: 1px solid var(--line); border-radius: var(--r-4); padding: 18px; background: var(--surface); }
.status-grid h3 { margin: 0 0 10px; display: flex; gap: 8px; align-items: center; }
.status-grid ul { margin: 0; padding-left: 18px; }
.status-grid li { font-size: 15px; }
.layers { margin-top: 20px; display: grid; gap: 0; }
.layer { border: 1px solid var(--line); border-radius: var(--r-4); padding: 14px; background: var(--surface); }
.layer.built { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.layer header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font: 700 10.5px/16px var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.layer header b { color: var(--accent-ink); font-weight: 700; }
.layer .nodes { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.node { padding: 12px; border-radius: var(--r-3); background: var(--bg); border: 1px solid var(--line); display: grid; gap: 2px; }
.node b { font-size: 14px; font-weight: 600; }
.node small { font-size: 12.5px; color: var(--ink-3); line-height: 1.4; }
.link-down { display: flex; align-items: center; gap: 10px; padding: 8px 0 8px 24px; font-size: 12.5px; color: var(--ink-3); }
.link-down::before { content: ""; width: 1px; height: 26px; background: var(--line-3); }
.opts { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.opt { position: relative; border: 1px solid var(--line); border-radius: var(--r-4); padding: 18px; background: var(--surface); display: grid; gap: 10px; align-content: start; }
.opt.rec { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.opt .badge { justify-self: start; font: 700 9.5px/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase; padding: 5px 7px; border-radius: var(--r-1); background: var(--bg-sunk); color: var(--ink-2); }
.opt.rec .badge { background: var(--accent); color: #FFF; }
.opt h3 { margin: 0; }
.opt p, .opt li { font-size: 14.5px; line-height: 1.55; }
.opt dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; margin: 4px 0 0; font-size: 13.5px; }
.opt dt { color: var(--ink-3); }
.opt dd { margin: 0; color: var(--ink); font-weight: 500; }
.seq { list-style: none; padding: 0 !important; counter-reset: s; gap: 0 !important; margin-top: 18px !important; }
.seq li { counter-increment: s; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); max-width: none; }
.seq li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #FFF; display: grid; place-items: center; font: 600 13px var(--font-text); }
.seq li b { display: block; color: var(--ink); font-weight: 600; }
.seq .who { font: 700 10px/16px var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.tscroll { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r-4); background: var(--surface); }
.tscroll table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 600px; }
.tscroll th, .tscroll td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tscroll th { font-weight: 600; font-size: 12.5px; color: var(--ink-3); background: var(--surface-2); }
.tscroll tr:last-child td { border-bottom: 0; }
.tscroll td:first-child { font-weight: 600; white-space: nowrap; }
.tscroll td { color: var(--ink-2); }
.tscroll td code { font-size: 12.5px; }
.checks { list-style: none; padding: 0 !important; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.checks li::before { content: ""; width: 16px; height: 16px; margin-top: 5px; border-radius: 4px; border: 1.5px solid var(--line-3); }
.est { display: inline-block; font: 600 12px var(--font-text); color: var(--ink-3); background: var(--bg-sunk); padding: 1px 7px; border-radius: 999px; margin-left: 6px; }
.callout { margin-top: 18px; padding: 16px 18px; border-radius: var(--r-4); background: var(--accent-wash); border: 1px solid var(--accent-soft); display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.callout .ic { color: var(--accent-ink); width: 20px; height: 20px; margin-top: 3px; }
.callout p { font-size: 15.5px; }

/* ---------- toasts ---------- */
.toasts { position: fixed; z-index: 100; left: 50%; bottom: calc(72px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: grid; gap: 8px; justify-items: center; pointer-events: none; width: max-content; max-width: calc(100% - 32px); }
.toast { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 500; box-shadow: var(--shadow-4); animation: toastIn .35s var(--ease); }
.toast .ic { width: 16px; height: 16px; color: var(--accent); }
.toast.out { opacity: 0; transform: translateY(8px); transition: all .3s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* page enter */
.page-enter > * { animation: enter .55s var(--ease) both; }
@keyframes enter { from { opacity: .001; transform: translateY(10px); } }

/* ---------- life at atlabs + photo album ---------- */
/* every photo sits whole in a 4:3 frame; a blurred copy of itself fills any spare space */
.ph { position: relative; display: block; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; background: #2A1E18; }
.ph i, .ph b { position: absolute; inset: 0; background-image: var(--ph); background-position: center; background-repeat: no-repeat; }
.ph i { background-size: cover; filter: blur(18px) saturate(1.1) brightness(.8); transform: scale(1.2); }
.ph b { background-size: contain; }
.life-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.life-copy { display: grid; gap: 20px; justify-items: start; }
.life-copy h2 { font-size: clamp(36px, 4.6vw, 60px); letter-spacing: -.04em; line-height: .98; }
.life-copy p { color: var(--ink-2); font-size: 18px; max-width: 40ch; }
.life-cover { position: relative; padding: 26px 18px 56px 8px; }
.album-cover { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; perspective: 1600px; transform: rotate(-1.6deg); transition: transform .6s var(--ease); }
.album-cover:hover, .album-cover:focus-visible { transform: rotate(0deg) translateY(-6px); }
.album-cover:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 8px; border-radius: 8px; }
.ac-sheet { position: absolute; inset: 0; border-radius: 6px; background: #F7F0E2; box-shadow: 0 1px 2px rgba(32, 0, 0, .08); transition: transform .6s var(--ease); }
.ac-sheet.s1 { transform: translate(8px, 9px) rotate(1.2deg); }
.ac-sheet.s2 { transform: translate(16px, 17px) rotate(2.6deg); background: #EEE4D1; box-shadow: 0 34px 60px -34px rgba(90, 35, 10, .5); }
.album-cover:hover .ac-sheet.s1 { transform: translate(12px, 12px) rotate(2deg); }
.album-cover:hover .ac-sheet.s2 { transform: translate(24px, 22px) rotate(4deg); }
.ac-page { position: relative; display: grid; gap: 14px; padding: 36px 26px 24px; border-radius: 6px; background: var(--paper); text-align: left; box-shadow: 0 1px 2px rgba(32, 0, 0, .08), 0 26px 50px -30px rgba(90, 35, 10, .5); transform-origin: 50% 0; transition: transform .7s var(--ease); }
.album-cover:hover .ac-page { transform: rotateX(9deg); }
.ac-page .ph { border: 9px solid #FFF; box-shadow: 0 8px 18px -10px rgba(32, 0, 0, .4); }
.ac-cap { font: 400 clamp(20px, 2vw, 26px)/1.2 var(--font-hand); color: var(--paper-ink); }
.ac-count { position: absolute; right: 24px; bottom: 26px; font: 400 18px/1 var(--font-hand); color: var(--paper-ink); opacity: .6; }
.ac-hint { position: absolute; right: 6px; bottom: 6px; display: inline-flex; align-items: flex-end; gap: 4px; font: 400 21px/1 var(--font-hand); color: var(--accent-ink); transform: rotate(-3deg); pointer-events: none; }
.ac-hint svg { width: 46px; height: 38px; }
.nb-rings { position: absolute; z-index: 40; left: 7%; right: 7%; top: -15px; display: flex; justify-content: space-between; pointer-events: none; }
.nb-rings i { position: relative; width: 9px; height: 30px; border-radius: 6px; background: linear-gradient(90deg, #5B4C45, #DCD2CA 45%, #7A6A62); box-shadow: 0 2px 3px rgba(32, 0, 0, .25); }
.nb-rings i::after { content: ""; position: absolute; z-index: -1; left: 50%; bottom: 3px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #DCD0BC; box-shadow: inset 0 1px 2px rgba(32, 0, 0, .25); }

.album { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom, 0px)); }
.album-scrim { position: absolute; inset: 0; background: rgba(252, 250, 248, .84); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); opacity: 0; transition: opacity .4s var(--ease); }
.album.open .album-scrim { opacity: 1; }
.album-stage { position: relative; width: min(860px, 100%); display: grid; gap: 26px; opacity: 0; transform: translateY(40px) scale(.94) rotate(-1.5deg); transition: opacity .45s var(--ease), transform .75s cubic-bezier(.2, .9, .25, 1.08); }
.album.open .album-stage { opacity: 1; transform: none; }
.album-top { display: flex; align-items: center; gap: 14px; }
.album-top .caps { color: var(--ink-2); }
.album-count { margin-left: auto; font: 600 14px/1 var(--font-text); color: var(--ink-2); }
.album .ubtn-icon { width: 42px; height: 42px; border-radius: 50%; }
.nb { position: relative; width: min(100%, calc((100vh - 210px) * 4 / 3.2)); width: min(100%, calc((100dvh - 210px) * 4 / 3.2)); aspect-ratio: 4 / 3.2; margin: 8px auto 0; }
.nb-board { position: absolute; inset: 7px -7px -9px 7px; border-radius: 8px; background: #CDBEA6; box-shadow: 0 50px 90px -40px rgba(90, 35, 10, .55); }
.nb-pages { position: absolute; inset: 0; perspective: 2400px; cursor: pointer; touch-action: none; }
.pg { position: absolute; inset: 0; transform-origin: 50% 0; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.45, .05, .2, 1), opacity .12s; }
.pg.flipped { transform: rotateX(178deg); opacity: 0; pointer-events: none; transition: transform 1s cubic-bezier(.45, .05, .2, 1), opacity .25s .8s; }
.pg-face { position: absolute; inset: 0; border-radius: 6px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.pg-front { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 42px 6% 30px; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(32, 0, 0, .05), inset 0 -30px 40px -30px rgba(120, 80, 30, .12); }
.pg-back { transform: rotateX(180deg); background: linear-gradient(#F3EBDC, #E8DCC6); }
.pg-holes { display: none; }
.pg-photo { position: relative; margin: 0; width: 76%; transform: rotate(var(--tilt, 0deg)); }
.pg-photo .ph { border: 10px solid #FFF; box-shadow: 0 12px 26px -12px rgba(32, 0, 0, .45); }
.pg-photo .tape { top: -15px; width: 104px; height: 30px; }
.pg-cap { font: 400 clamp(19px, 2.4vw, 27px)/1.3 var(--font-hand); color: var(--paper-ink); text-align: center; max-width: 32ch; }
.pg-no { position: absolute; right: 24px; bottom: 16px; font: 400 17px/1 var(--font-hand); color: var(--paper-ink); opacity: .55; }
.pg-end .pg-front { gap: 26px; }
.end-hand { font: 400 clamp(26px, 3.6vw, 42px)/1.25 var(--font-hand); color: var(--paper-ink); text-align: center; }
.album-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.album-hint { font-size: 13px; color: var(--ink-3); text-align: center; }

/* bubbles can be popped: hand cursor while over one */
.over-bubble, .over-bubble * { cursor: pointer; }

/* ---------- scroll reveal (only applied to content below the fold at load) ---------- */
.rv { opacity: 0; translate: 0 26px; }
.rv.in { opacity: 1; translate: 0 0; transition: opacity .9s var(--ease) var(--rd, 0s), translate 1.1s var(--ease) var(--rd, 0s); }
.paper-wrap.rv { translate: 0 40px; rotate: 2.5deg; }
.paper-wrap.rv.in { rotate: 0deg; transition: opacity .9s var(--ease), translate 1.2s var(--ease), rotate 1.4s var(--ease); }
.paper-wrap.rv .circled path { stroke-dashoffset: 520; }
.paper-wrap.rv.in .circled path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s .9s var(--ease); }
.paper-wrap.rv .sig path { stroke-dashoffset: 220; }
.paper-wrap.rv.in .sig path { stroke-dashoffset: 0; transition: stroke-dashoffset .9s 1.3s var(--ease); }
.foot-mark.rv { translate: 0 30%; opacity: 1; }
.foot-mark.rv.in { translate: 0 0; transition: translate 1.6s var(--ease); }

/* ---------- phone-first pieces (hidden on desktop) ---------- */
.nav-menu { display: none; flex: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-3); background: var(--surface); cursor: pointer; place-items: center; align-content: center; gap: 5px; }
.nav-menu span { display: block; width: 16px; height: 1.6px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.nav-menu[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.nav-menu[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
.mnav { position: fixed; z-index: 1; inset: 0; display: flex; flex-direction: column; gap: 28px; padding: calc(env(safe-area-inset-top, 0px) + 92px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; pointer-events: auto; background: rgba(252, 250, 248, .97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); opacity: 0; transition: opacity .3s var(--ease); }
.mnav.open { opacity: 1; }
.mnav nav { display: grid; }
.mnav nav a { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font: 600 28px/1.1 var(--font-display); letter-spacing: -.03em; color: var(--ink); text-decoration: none; opacity: 0; translate: 0 14px; transition: opacity .45s var(--ease), translate .5s var(--ease); transition-delay: calc(var(--i) * 40ms + 60ms); }
.mnav nav a .ic { width: 20px; height: 20px; color: var(--accent); }
.mnav nav a:last-child { font-size: 20px; color: var(--ink-2); border-bottom: 0; }
.mnav.open nav a { opacity: 1; translate: 0 0; }
.mnav .btn { width: 100%; }
.tl-strip { display: none; gap: 10px; padding-top: 6px; }
.strip-shots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.strip-shot { position: relative; height: 40px; padding: 0; border: 0; border-radius: 6px; overflow: hidden; cursor: pointer; background-image: var(--film); background-repeat: no-repeat; transition: box-shadow .2s, transform .25s var(--ease); }
.strip-shot span { position: absolute; left: 5px; bottom: 4px; font: 700 9px/1 var(--font-text); letter-spacing: .06em; color: #FFF; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.strip-shot.on { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent); transform: translateY(-2px); }
.strip-bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.strip-bar i { display: block; width: 0; height: 100%; border-radius: 4px; background: var(--accent); }
.swipe-hint { display: none; align-items: center; gap: 6px; margin-top: 14px; font: 700 10.5px/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.swipe-hint .ic { width: 14px; height: 14px; animation: nudge 2.4s var(--ease) infinite; }
.m-apply { display: none; }

@media (max-width: 900px) {
  .nav-menu { display: grid; }
  .nav-cta { margin-left: auto; }
  .m-apply { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -22px rgba(32, 0, 0, .3); transition: transform .4s var(--ease); }
  .m-apply.gone { transform: translateY(115%); }
  .m-apply > div { min-width: 0; }
  .m-apply b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-apply small { display: block; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-apply .btn { flex: none; --h: 42px; }
}

@media (max-width: 640px) {
  .sec { padding-block: 64px; }
  .hero { padding-bottom: 32px; }
  .sec-head { margin-bottom: 32px; }
  .sec-head p, .note-intro p, .life-copy p, .roles-head p, .closing-head p { font-size: 16.5px; }
  /* editor: a scene strip replaces the multi-track timeline */
  .ed-timeline { padding: 10px 12px 14px; }
  .tl-head { grid-template-columns: minmax(0, 1fr); height: 40px; }
  .tl-ruler, .tl-body { display: none; }
  .tl-play { width: 36px; height: 36px; }
  .tl-play .ic { width: 14px; height: 14px; }
  .tl-tc { font-size: 13px; }
  .tl-strip { display: grid; }
  .ed-stage { padding: 10px; }
  .ed-bar { height: 48px; padding: 0 10px 0 12px; }
  .ed-live, .ed-hud { font-size: 9.5px; }
  /* swipeable rows instead of long stacks */
  .perk-grid, .place-grid { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px; scroll-padding-inline: var(--gutter); background: none; border: 0; border-radius: 0; scrollbar-width: none; }
  .perk-grid::-webkit-scrollbar, .place-grid::-webkit-scrollbar { display: none; }
  .perk { flex: 0 0 80%; scroll-snap-align: start; border: 1px solid var(--line); border-radius: var(--r-5); padding: 24px 20px 26px; }
  .place { flex: 0 0 84%; scroll-snap-align: start; min-height: 0; }
  .swipe-hint { display: inline-flex; margin-top: 4px; }
  .value { padding-block: 24px; gap: 10px; }
  .value h3 { font-size: 24px; }
  /* founder note */
  .note-intro { grid-template-columns: minmax(0, 1fr) 136px; column-gap: 18px; row-gap: 16px; }
  .note-intro .eyebrow, .note-intro h2 { grid-column: 1 / -1; }
  .note-intro p { grid-column: 1; grid-row: 3; align-self: center; }
  .founder-pol { grid-column: 2; grid-row: 3; width: 136px; margin: 6px 0 0; padding: 7px 7px 10px; transform: rotate(4deg); }
  .founder-pol .tape { top: -10px; width: 62px; height: 20px; }
  .founder-pol figcaption { margin-top: 7px; font-size: 15.5px; }
  .founder-pol figcaption small { font-size: 12px; margin-top: 2px; }
  .paper { font-size: 18.5px; }
  /* roles */
  .roles-sec .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-block: 28px 20px; }
  .roles-sec .filters .dfield:first-child { grid-column: 1 / -1; }
  .roles-sec .dfield input, .roles-sec .dfield select { height: 52px; font-size: 16px; padding: 0 40px 0 16px; }
  .dfield .ic { right: 14px; width: 18px; height: 18px; }
  .role-row { padding: 18px 0; gap: 4px 12px; }
  .role-row h3 { font-size: 18px; }
  .role-row .sub { margin-top: 6px; }
  .role-row .apply { font-size: 0; gap: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); justify-content: center; }
  .role-row .apply .ic { width: 18px; height: 18px; color: var(--accent); }
  .pitch { margin-top: 40px; }
  .faq summary { padding: 18px 0; font-size: 17px; }
  /* forms: 16px text so iOS doesn't zoom on focus */
  .fsearch input, .fsel, .note-box .textarea, .composer textarea { font-size: 16px; }
  /* dashboard rows become cards */
  .tbl-wrap { overflow: visible; }
  .tbl { display: block; min-width: 0; }
  .tbl thead { display: none; }
  .tbl tbody { display: block; }
  .tbl tbody tr { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; grid-template-areas: "cb cand stage" ". role role" ". resume applied"; gap: 8px 10px; align-items: center; padding: 14px 12px; border-bottom: 1px solid var(--line); }
  .tbl tbody tr:last-child { border-bottom: 0; }
  .tbl td { display: block; padding: 0; border: 0; white-space: normal; min-width: 0; }
  .tbl .cb { grid-area: cb; width: auto; }
  .tbl .c-cand { grid-area: cand; }
  .tbl .c-stage { grid-area: stage; }
  .tbl .c-role { grid-area: role; max-width: none; }
  .tbl .c-applied { grid-area: applied; text-align: right; }
  .tbl .c-resume { grid-area: resume; }
  .tbl .c-rating, .tbl .c-office, .tbl .c-source { display: none; }
  .tbl .cand small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .seg { margin-left: 0; }
  .adm-head h1 { font-size: 28px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .ed-body { grid-template-columns: minmax(0, 1fr); }
  .ed-scenes { display: none; }
  .perk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .hero-top, .sec-head, .note-grid, .faq-grid, .pitch, .life-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-cta { justify-content: flex-start; }
  .note-intro { position: static; }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .cine { aspect-ratio: 4 / 3; }
  .cine-video { object-position: 44% 50%; }
  .place-grid { grid-template-columns: minmax(0, 1fr); }
  .place { min-height: 0; }
  .filters { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .dfield input, .dfield select { height: 56px; }
  .role-row { grid-template-columns: minmax(0, 1fr) auto; }
  .role-row .loc { grid-column: 1; grid-row: 2; font-size: 15px; color: var(--band-ink-2); }
  .role-row .loc small { display: none; }
  .role-row .apply { grid-column: 2; grid-row: 1 / span 2; }
  .rp-grid, .apply-grid { grid-template-columns: minmax(0, 1fr); }
  .aside, .checklist { position: static; }
  .checklist { order: -1; }
  .checklist .handnote, .checklist ol { display: none; }
  .adm { grid-template-columns: minmax(0, 1fr); }
  .adm-side { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; height: auto; flex-direction: row; align-items: center; gap: 12px; padding: 10px 16px; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
  .adm-nav { display: flex; gap: 4px; }
  .adm-nav h4, .adm-foot { display: none; }
  .adm-nav a { white-space: nowrap; }
  .charts { grid-template-columns: minmax(0, 1fr); }
  .tldr, .opts, .status-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(44px, 13vw, 64px); line-height: .96; }
  .brand-tag { display: none; }
  .nav-cta { padding: 0 12px; }
  .nav-in { height: 56px; padding-left: 14px; }
  .ed-caption { font-size: 17px; bottom: 16%; }
  .ed-res { display: none; }
  .cine { aspect-ratio: 3 / 4; }
  .cine-video { object-position: 40% 50%; }
  .sound-btn { height: 36px; padding: 0 12px 0 10px; font-size: 12.5px; }
  .cine-title { right: 18px; bottom: 166px; font-size: calc(58cqw / var(--title-em, 5.72)); }
  .cine-card { right: 12px; }
  .cine-card .btn { width: 100%; }
  .nb { aspect-ratio: 3 / 4; width: min(100%, calc((100dvh - 210px) * 3 / 4)); }
  .pg-photo { width: 90%; }
  .pg-front { padding: 40px 5% 34px; }
  .nb-rings i:nth-child(even) { display: none; }
  .album-hint { display: none; }
  .ac-page { padding: 30px 16px 20px; }
  .ac-count { display: none; }
  .ed-bar .tag, .ed-saved { display: none; }
  .value-grid { grid-template-columns: minmax(0, 1fr); }
  .value, .value:nth-child(even) { padding-left: 0; padding-right: 0; border-left: 0; }
  .perk-grid { grid-template-columns: minmax(0, 1fr); }
  .frow, .rcards { grid-template-columns: minmax(0, 1fr); }
      .kpis { gap: 8px; }
  .kpi .v { font-size: 26px; }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .kv dt { margin-top: 8px; }
  .dr-id h2 { font-size: 22px; }
  .composer-foot .btn { width: 100%; margin-left: 0; }
  .hero-cta .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
