/* $INTERN — The Night Shift */

@font-face { font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/anton-400.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("assets/fonts/archivo-var.woff2") format("woff2"); }
@font-face { font-family: "Courier Prime"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/courier-prime-400.woff2") format("woff2"); }
@font-face { font-family: "Courier Prime"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/courier-prime-700.woff2") format("woff2"); }

:root {
  --ink: #10182b;
  --ink-soft: #3a3326;
  --paper: #f1e8d4;
  --paper-soft: #c9c3d6;
  --day: #e3d3b1;
  --navy: #1b2a52;
  --navy-deep: #111b38;
  --blue: #1452ff;            /* the intern only */
  --red: #c32e25;
  --led: #ff3b24;
  --sticky: #f5d23a;
  --night: #0a1022;

  --bg: var(--day);
  --fg: var(--ink);
  --fg-soft: var(--ink-soft);
  --rule: rgba(16, 24, 43, .22);

  --f-display: "Anton", "Archivo Narrow", "Arial Narrow", sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-type: "Courier Prime", "Courier New", monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --bar-h: 68px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-slam: cubic-bezier(.2, 1.6, .4, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 12px);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--navy) transparent;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection { background: var(--blue); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--navy); border: 2px solid transparent; background-clip: padding-box; }

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, dl, dd, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.tone-night :focus-visible { outline-color: var(--sticky); }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 14px; text-decoration: none;
  font-family: var(--f-type); font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */

.h1, .h2, .mega, .hero__word, .hero__tag, .end__big {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: .92;
  text-wrap: balance;
}
.h1 { font-size: clamp(2.8rem, 7.4vw, 7.25rem); }
.h2 { font-size: clamp(2.2rem, 4.6vw, 4.4rem); }
.lede { font-size: clamp(1.125rem, 1.5vw, 1.35rem); line-height: 1.5; max-width: 52ch; color: var(--fg-soft); }
.prose { display: grid; gap: 1em; max-width: 60ch; color: var(--fg-soft); }
.prose em { font-style: normal; font-family: var(--f-type); font-weight: 700; color: var(--fg); }

.scene { position: relative; color: var(--fg); overflow-x: clip; }
.plate { overflow: hidden; }
.tone-night { --fg: var(--paper); --fg-soft: var(--paper-soft); --rule: rgba(241, 232, 212, .2); }

/* ---------- stamp ---------- */

.stamp {
  display: inline-block;
  font-family: var(--f-display);
  text-transform: uppercase;
  color: var(--red);
  border: .14em solid currentColor;
  border-radius: .18em;
  padding: .12em .38em .06em;
  line-height: 1;
  letter-spacing: .03em;
  mix-blend-mode: multiply;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.75'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.75'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.stamp--inline { font-size: 1.05rem; transform: rotate(-3deg); }
.tone-night .stamp { mix-blend-mode: normal; color: #ff5a44; }

/* ---------- buttons & links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 1.5em;
  font-family: var(--f-display); text-transform: uppercase; letter-spacing: .04em; font-size: 1.25rem;
  text-decoration: none; cursor: pointer; border: 0; border-radius: 3px;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s var(--ease), color .2s;
}
.btn--primary {
  background: var(--navy); color: var(--paper);
  box-shadow: 0 10px 24px -12px rgba(16, 24, 43, .7);
}
.btn--primary:hover { background: var(--ink); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(16, 24, 43, .8); }
.btn--primary:active { transform: translateY(1px); box-shadow: 0 4px 10px -6px rgba(16, 24, 43, .8); }
.btn--night { background: var(--paper); color: var(--ink); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .9); }
.btn--night:hover { background: #fff; color: var(--ink); }
.btn--bar { min-height: 40px; font-size: 1.05rem; padding: 0 1.1em; background: var(--navy); color: var(--paper); }
.btn--bar:hover { background: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); min-height: 44px; font-size: 1.05rem; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.icon-link {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  color: var(--fg); border-radius: 3px; transition: background-color .2s, color .2s, transform .25s var(--ease);
}
.icon-link svg { width: 20px; height: 20px; }
.icon-link:hover { background: var(--fg); color: var(--bg); transform: translateY(-2px); }
.icon-link--lg { width: 52px; height: 52px; box-shadow: inset 0 0 0 2px currentColor; }
.icon-link--lg svg { width: 22px; height: 22px; }

/* ---------- top bar ---------- */

.bar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: calc(var(--bar-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  color: var(--fg);
  transition: color .4s;
}
.bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid var(--rule);
  opacity: var(--bar-solid, 0); transition: opacity .3s;
}
body.is-night .bar { --fg: var(--paper); --rule: rgba(241, 232, 212, .16); }
body.is-night .bar .btn--bar { background: var(--paper); color: var(--ink); }
body.is-night .bar :focus-visible { outline-color: var(--sticky); }

.bar__mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-size: 1.35rem; letter-spacing: .02em; justify-self: start; }
.bar__mark img { width: 32px; height: 32px; border-radius: 50%; }
.bar__nav { justify-self: end; display: flex; align-items: center; gap: 6px; }
.bar__nav > a:not(.icon-link):not(.btn) {
  font-family: var(--f-type); font-weight: 700; font-size: .95rem; text-decoration: none; padding: 8px 12px; border-radius: 3px;
}
.bar__nav > a:not(.icon-link):not(.btn):hover { text-decoration: underline; }

/* ---------- LED clock ---------- */

.clock {
  display: inline-flex; align-items: center; gap: 8px;
  background: #0c0f16; padding: 7px 12px 7px 14px; border-radius: 4px;
  box-shadow: inset 0 0 0 2px #232838, 0 10px 24px -14px rgba(0, 0, 0, .8);
}
.clock__digits { display: flex; align-items: center; gap: 3px; height: 30px; }
.clock__digits svg { height: 100%; width: auto; overflow: visible; transform: skewX(-6deg); }
.seg { fill: var(--led); opacity: .09; }
.seg.on { opacity: 1; filter: drop-shadow(0 0 3px rgba(255, 59, 36, .75)); }
.clock__colon { display: grid; gap: 7px; padding-inline: 1px; }
.clock__colon i { width: 4px; height: 4px; background: var(--led); border-radius: 1px; box-shadow: 0 0 5px rgba(255, 59, 36, .8); animation: blink 1s steps(1) infinite; }
.clock__ampm { font-family: var(--f-type); font-weight: 700; font-size: .8rem; color: var(--led); letter-spacing: .06em; align-self: flex-end; line-height: 1.1; text-shadow: 0 0 5px rgba(255, 59, 36, .6); }
@keyframes blink { 50% { opacity: .15; } }
@media (prefers-reduced-motion: reduce) { .clock__colon i { animation: none; } }

/* ---------- hero (09:00) ---------- */

.hero { min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding-top: calc(var(--bar-h) + env(safe-area-inset-top, 0px)); overflow: clip; }
.hero__inner {
  position: relative; width: min(100%, 1560px); margin-inline: auto; padding: clamp(20px, 4vh, 48px) var(--gutter) clamp(28px, 5vh, 56px);
  display: grid; align-content: center; grid-template-columns: minmax(0, 1fr);
}
.hero__word {
  display: flex; font-size: clamp(6rem, min(37vw, 58vh), 44rem); line-height: .8; letter-spacing: -.01em;
  color: var(--ink); margin-left: -.035em; position: relative; z-index: 1;
}
.hero__word span { display: inline-block; transform-origin: 50% 0; }
.hero__tag { font-size: clamp(2rem, 5.9vw, 5.75rem); line-height: 1; margin-top: .12em; position: relative; z-index: 1; }
.hero__stamp {
  position: absolute; z-index: 3; font-size: clamp(1.3rem, 3.2vw, 3.1rem);
  top: clamp(40px, 9vh, 110px); left: 30%; transform: rotate(-9deg);
  mix-blend-mode: normal; color: var(--red); background: var(--paper);
  -webkit-mask: none; mask: none;
  box-shadow: 0 0 0 .12em var(--paper), 0 18px 30px -18px rgba(16, 24, 43, .8);
}
.hero__intern {
  position: absolute; z-index: 2; right: calc(var(--gutter) + 1vw); bottom: clamp(20px, 5vh, 56px);
  height: min(65vh, 760px); width: auto; filter: drop-shadow(0 22px 26px rgba(60, 40, 10, .35));
  transform-origin: 50% 100%;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: clamp(24px, 4vh, 44px); position: relative; z-index: 3; max-width: min(100%, 880px); }
.socials { display: flex; gap: 8px; }
.hero__meta { margin-top: 18px; font-family: var(--f-type); font-size: 1rem; color: var(--ink-soft); position: relative; z-index: 3; }
.hero__meta strong { color: var(--ink); }

/* CA tear-off tab */
.ca {
  display: inline-flex; align-items: stretch; min-height: 52px; max-width: 100%;
  background: var(--paper); color: var(--ink); border-radius: 3px;
  box-shadow: inset 0 0 0 2px var(--ink);
  font-family: var(--f-type);
}
.ca__label { display: grid; place-items: center; padding: 0 12px; background: var(--ink); color: var(--paper); font-weight: 700; letter-spacing: .08em; }
.ca__value { display: flex; align-items: center; padding: 0 14px; font-size: .95rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: inherit; border-right: 2px dashed rgba(16, 24, 43, .45); }
.ca__copy { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; background: none; border: 0; cursor: pointer; font-weight: 700; }
.ca__copy svg { width: 18px; height: 18px; }
.ca__copy:hover:not(:disabled) { background: var(--sticky); }
.ca__copy:disabled { cursor: not-allowed; opacity: .45; }
.ca__copy.is-done { background: var(--ink); color: var(--paper); }
.ca--night { box-shadow: inset 0 0 0 2px var(--paper); }

/* ticker tape */
.tape { background: var(--navy); color: var(--paper); overflow: hidden; border-block: 2px solid var(--ink); position: relative; z-index: 4; }
.tape__run { display: flex; width: max-content; animation: tape 38s linear infinite; }
.tape__run span { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.1rem, 1.8vw, 1.6rem); letter-spacing: .03em; padding: .5em 1.2em; white-space: nowrap; display: inline-flex; align-items: center; gap: 1.2em; }
.tape__run span::after { content: ""; width: .5em; height: .5em; background: var(--led); border-radius: 50%; }
@keyframes tape { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tape__run { animation: none; } }

/* hero entrance */
.js .hero__word span { animation: pin .9s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 120ms); }
.js .hero__tag { animation: rise .8s var(--ease) .62s both; }
.js .hero__intern { animation: slide-up 1s var(--ease) .5s both; }
.js .hero__stamp { animation: slam .5s var(--ease-slam) 1.15s both; }
.js .hero__actions, .js .hero__meta { animation: rise .8s var(--ease) .85s both; }
@keyframes pin { from { transform: translateY(-40%) rotate(var(--r, -6deg)); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slide-up { from { transform: translateY(30%) rotate(4deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slam { from { transform: rotate(-9deg) scale(2.4); opacity: 0; } to { transform: rotate(-9deg) scale(1); opacity: 1; } }

/* ---------- reveals (content visible without JS) ---------- */

.js .reveal { opacity: 0; translate: 0 26px; transition: opacity .9s var(--ease), translate .9s var(--ease), rotate .9s var(--ease); }
.js .reveal.in { opacity: 1; translate: 0 0; }
.js .reveal--drop { translate: 0 -60px; rotate: -6deg; }
.js .reveal--drop.in { rotate: 0deg; }
.js .reveal--wipe { opacity: 1; translate: 0 0; }
.js .reveal--wipe img { clip-path: inset(0 0 100% 0); scale: 1.08; transition: clip-path 1.3s var(--ease), scale 1.8s var(--ease); }
.js .reveal--wipe.in img { clip-path: inset(0 0 0 0); scale: 1; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal--wipe, .js .reveal--wipe img { opacity: 1; translate: 0 0; rotate: 0deg; scale: 1; clip-path: none; transition: none; }
  .js .hero__word span, .js .hero__tag, .js .hero__intern, .js .hero__stamp, .js .hero__actions, .js .hero__meta { animation: none; }
}

/* ---------- personnel file (09:41) ---------- */

.file { padding-block: clamp(96px, 16vh, 200px) clamp(80px, 12vh, 160px); }
.file__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.file__badge { position: relative; padding-top: 90px; justify-self: center; width: min(100%, 400px); }
.lanyard { position: absolute; top: -120px; left: 50%; width: 46%; height: 230px; transform: translateX(-50%); border: 10px solid var(--ink); border-top: 0; border-radius: 0 0 50% 50% / 0 0 40% 40%; }
.badge { position: relative; transform: rotate(-4deg); filter: drop-shadow(0 26px 30px rgba(60, 40, 10, .35)); }
.badge__name { position: absolute; left: 7%; right: 7%; bottom: 5.6%; height: 15%; display: grid; place-items: center; font-family: var(--f-display); font-size: clamp(2rem, 4.4vw, 3.6rem); color: var(--ink); letter-spacing: .08em; }
.file__copy { display: grid; gap: clamp(24px, 3vw, 36px); padding-top: clamp(0px, 4vw, 60px); }

.record { background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink), 0 24px 40px -28px rgba(60, 40, 10, .6); font-family: var(--f-type); max-width: 620px; transform: rotate(.6deg); }
.record__head { background: var(--ink); color: var(--paper); font-family: var(--f-display); text-transform: uppercase; font-size: 1.5rem; letter-spacing: .04em; padding: 10px 18px 8px; }
.record__row { display: grid; grid-template-columns: 9.5em 1fr; border-top: 1px solid rgba(16, 24, 43, .3); }
.record__row:first-of-type { border-top: 0; }
.record__row dt { padding: 12px 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; border-right: 1px solid rgba(16, 24, 43, .3); display: flex; align-items: center; }
.record__row dd { padding: 12px 18px; font-size: 1.05rem; display: flex; align-items: center; }

/* ---------- review (11:15) ---------- */

.review { padding-block: clamp(96px, 14vh, 180px); }
.review__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 90px); align-items: start; position: relative; }
.review__intro { position: relative; display: grid; gap: 22px; padding-top: 20px; }
.review .lede { color: #2e2416; }
.note {
  font-family: var(--f-type); font-weight: 700; text-transform: uppercase; line-height: 1.25; font-size: 1.15rem;
  padding: 22px 20px 26px; width: 180px; box-shadow: 0 18px 24px -16px rgba(40, 24, 6, .55);
}
.note--yellow { background: var(--sticky); transform: rotate(-5deg); margin-top: 24px; }
.note--blue { background: #9ec3dd; transform: rotate(4deg); justify-self: end; margin-right: 10%; }

.eval {
  position: relative; align-self: start; background: var(--paper); color: var(--ink);
  padding: clamp(28px, 4vw, 56px) clamp(18px, 3.4vw, 48px) clamp(24px, 3vw, 40px);
  box-shadow: 0 40px 60px -36px rgba(40, 24, 6, .75), 0 2px 0 rgba(40, 24, 6, .2);
  transform: rotate(-.8deg);
}
.eval__pin { position: absolute; top: -14px; left: 50%; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: var(--red); box-shadow: inset 0 0 0 3px #8e1d17, 0 8px 10px -4px rgba(0, 0, 0, .45); }
.eval__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; margin-bottom: 20px; }
.eval__title { font-family: var(--f-display); font-size: clamp(2.6rem, 5vw, 4.6rem); text-transform: uppercase; line-height: .9; }
.eval__motto { font-family: var(--f-type); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.eval__table { border: 2px solid var(--ink); font-family: var(--f-type); }
.eval__row { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.eval__row > * { border-left: 1.5px solid var(--ink); display: grid; place-items: center; text-align: center; padding: 12px 8px; min-height: 64px; }
.eval__row > *:first-child { border-left: 0; justify-items: start; text-align: left; padding-left: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .95rem; }
.eval__row--head .short { display: none; }
.eval__row--head { border-top: 0; font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .03em; line-height: 1.25; }
.eval__row fieldset { display: contents; }
.eval__opt { position: relative; cursor: pointer; }
.eval__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.eval__box { width: 34px; height: 34px; border: 2.5px solid var(--ink); display: grid; place-items: center; transition: background-color .15s, transform .3s var(--ease-slam); }
.eval__box svg { width: 22px; height: 22px; opacity: 0; transform: scale(.4); transition: opacity .15s, transform .3s var(--ease-slam); }
.eval__opt:hover .eval__box { background: rgba(245, 210, 58, .45); }
.eval__opt input:checked + .eval__box { background: var(--sticky); transform: scale(1.06); }
.eval__opt input:checked + .eval__box svg { opacity: 1; transform: none; }
.eval__opt input:focus-visible + .eval__box { outline: 3px solid var(--navy); outline-offset: 3px; }
.eval__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 22px; }
.eval__notes { font-family: var(--f-type); font-size: 1.05rem; flex: 1 1 320px; }
.eval__stamp {
  position: absolute; right: clamp(16px, 6%, 60px); bottom: clamp(70px, 16%, 130px);
  font-size: clamp(2rem, 5vw, 4.2rem); transform: rotate(-12deg) scale(2); opacity: 0; pointer-events: none;
  transition: opacity .15s, transform .45s var(--ease-slam);
}
.eval.is-done .eval__stamp { opacity: 1; transform: rotate(-12deg) scale(1); }
.review__peek { position: absolute; left: clamp(-40px, -2vw, 0px); bottom: clamp(-160px, -12vw, -60px); width: clamp(150px, 16vw, 250px); transform: rotate(8deg); pointer-events: none; }

/* ---------- plates ---------- */

.plate img { width: 100%; height: 100%; object-fit: cover; }
.plate--wide { width: min(100% - 2 * var(--gutter), 1500px); margin: clamp(32px, 5vw, 64px) auto; aspect-ratio: 16 / 9; box-shadow: 0 40px 70px -40px rgba(40, 24, 6, .7); }
.plate--framed { aspect-ratio: 16 / 9; box-shadow: 0 0 0 clamp(8px, 1vw, 14px) var(--ink), 0 40px 70px -36px rgba(0, 0, 0, .7); }
.plate--bleed { width: 100%; aspect-ratio: 16 / 9; max-height: 92vh; margin-block: clamp(32px, 5vw, 72px); }

/* ---------- meeting (13:00) ---------- */

.meeting { padding-block: clamp(80px, 12vh, 160px) clamp(80px, 12vh, 160px); }
.meeting__caption { display: flex; justify-content: flex-end; }

/* ---------- crowd pan (15:20) ---------- */

.crowd { height: 320vh; }
.crowd__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--bar-h) + 3vh); }
.crowd__head { padding-bottom: 3vh; }
.crowd__track { display: flex; align-items: flex-start; gap: clamp(16px, 2vw, 32px); height: 100%; padding: 0 var(--gutter) 5vh; will-change: transform; }
.crowd__track img { height: min(100%, 64vh); width: auto; max-width: none; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(40, 24, 6, .7); }

/* ---------- log off (18:00) ---------- */

.logoff { padding-block: clamp(120px, 18vh, 220px) clamp(90px, 14vh, 180px); }
/* ceiling lamps: fixed under the bar, switched by the shift clock */
.lights {
  position: fixed; z-index: 49; left: 0; right: 0; top: calc(var(--bar-h) + env(safe-area-inset-top, 0px));
  height: 5px; display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 2.4vw, 40px);
  padding-inline: var(--gutter); pointer-events: none;
}
.lights i { display: block; height: 100%; border-radius: 0 0 2px 2px; background: #fff8e2; box-shadow: 0 8px 26px 5px rgba(255, 238, 190, .6); transition: background-color .2s, box-shadow .4s; }
.lights i.off { background: rgba(16, 24, 43, .35); box-shadow: none; }
.lights i.monitor { background: var(--blue); box-shadow: 0 8px 34px 8px rgba(20, 82, 255, .55); }
.logoff__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 90px); align-items: center; }
.logoff .lede { color: #2c1e0c; margin-top: 24px; }

/* ---------- chart (21:00) ---------- */

.chart { padding-block: clamp(100px, 16vh, 200px); }
.chart__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 90px); align-items: center; }
.chart .plate--framed { box-shadow: 0 0 0 clamp(8px, 1vw, 14px) #2c3558, 0 40px 80px -30px rgba(0, 0, 0, .9); }
.chart .prose { margin-top: 26px; }

/* ---------- night (02:37) ---------- */

.night { padding-block: clamp(110px, 18vh, 220px) clamp(60px, 10vh, 120px); }
.mega { font-size: clamp(3.2rem, 10.5vw, 11rem); line-height: 1; display: grid; gap: .04em; }
.mega > span:not(.mega__punch) { color: #8f93ad; }
.mega__punch { color: var(--paper); }
.night__manifesto { display: grid; gap: 10px; }
.night__manifesto p { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.6rem, 3.4vw, 3.2rem); line-height: 1.05; color: var(--paper-soft); max-width: 24ch; }
.night__manifesto .night__sign { color: var(--paper); margin-top: .6em; }

/* ---------- cams (02:50) ---------- */

.cams { padding-block: clamp(80px, 12vh, 160px); }
.cams__head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
.cams__strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 38vw, 560px); gap: clamp(16px, 2vw, 28px);
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 24px; scroll-padding-inline: var(--gutter);
  scrollbar-color: #2c3558 transparent;
}
.cam { scroll-snap-align: start; display: grid; gap: 14px; }
.cam figure { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; box-shadow: 0 0 0 2px #232b48; }
.cam img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.08); }
.cam figure::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 2px, transparent 2px 4px); pointer-events: none; }
.cam figcaption { position: absolute; inset: 10px 12px auto; display: flex; justify-content: space-between; gap: 8px; font-family: var(--f-type); font-weight: 700; font-size: .85rem; color: #fff; text-shadow: 0 1px 2px #000; z-index: 1; text-transform: uppercase; }
.cam__rec { display: inline-flex; align-items: center; gap: 8px; }
.cam__rec::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--led); animation: blink 1.4s steps(1) infinite; }
.cam p { font-family: var(--f-type); color: var(--paper-soft); font-size: 1rem; }

/* ---------- clock in (03:00) ---------- */

.clockin { padding-block: clamp(90px, 14vh, 180px); }
.clockin__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 90px); align-items: start; }
.clockin__intro { display: grid; gap: 22px; position: sticky; top: calc(var(--bar-h) + 40px); }
.clockin__intern { width: clamp(160px, 20vw, 300px); margin-top: 16px; filter: drop-shadow(0 0 40px rgba(20, 82, 255, .25)); }

.timecard { background: var(--paper); color: var(--ink); box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .9); font-family: var(--f-type); }
.timecard__head { display: flex; justify-content: space-between; gap: 12px; background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 2px var(--paper); padding: 12px 20px 10px; font-family: var(--f-display); text-transform: uppercase; font-size: 1.4rem; letter-spacing: .04em; }
.punch { display: grid; grid-template-columns: 5.5em minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px 20px; border-top: 1.5px dashed rgba(16, 24, 43, .45); }
.punch:first-of-type { border-top: 0; }
.punch__time { font-weight: 700; font-size: 1.15rem; color: var(--red); }
.punch h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; margin-bottom: 6px; }
.punch p { font-family: var(--f-body); color: #3a3326; max-width: 46ch; }
.punch__mark {
  font-family: var(--f-display); text-transform: uppercase; color: var(--red); font-size: 1.3rem; letter-spacing: .05em;
  border: 3px solid currentColor; border-radius: 50%; width: 3.2em; height: 3.2em; display: grid; place-items: center;
  transform: rotate(-14deg) scale(1.8); opacity: 0; transition: opacity .15s .35s, transform .45s var(--ease-slam) .35s;
}
html:not(.js) .punch__mark, .punch.in .punch__mark { opacity: .9; transform: rotate(-14deg) scale(1); }
.timecard__ca { display: flex; flex-wrap: wrap; gap: 12px; padding: 22px 20px 26px; background: var(--ink); }
.timecard__ca .ca { flex: 1 1 280px; }

/* ---------- end (03:33) ---------- */

.end { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); overflow: clip; }
.end__plate { position: relative; aspect-ratio: 16 / 9; max-height: 100vh; width: 100%; }
.end__plate img { width: 100%; height: 100%; object-fit: cover; }
.end__plate::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(to bottom, transparent, #070b16); }
.end__inner { position: relative; margin-top: clamp(-220px, -12vw, -60px); display: grid; gap: 28px; }
.end__big { font-size: clamp(3.4rem, 13vw, 13rem); line-height: .85; color: var(--paper); }
.end__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.end__legal { font-size: .9rem; color: #9ea6c0; max-width: 72ch; }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .hero__intern { height: min(52vh, 500px); }
}

@media (max-width: 860px) {
  :root { --bar-h: 60px; }
  .bar { grid-template-columns: auto 1fr auto; }
  .bar .clock { justify-self: center; }
  .bar__nav > a:not(.btn) { display: none; }
  .bar__mark span { display: none; }
  .clock__digits { height: 24px; }

  .hero__inner { align-content: start; padding-top: 40px; }
  .hero__word { font-size: 36vw; justify-content: space-between; margin-left: 0; }
  .hero__tag { font-size: 12.4vw; line-height: .95; }
  .hero__stamp { position: relative; top: auto; left: auto; justify-self: start; align-self: center; margin: 34px 0 -90px 4px; font-size: 1.45rem; }
  .hero__intern { position: relative; right: auto; bottom: auto; height: auto; width: min(52vw, 260px); justify-self: end; margin-top: -8px; }
  .hero__actions { margin-top: 12px; }
  .hero__actions .btn--primary { flex: 1 1 100%; }
  .hero__actions .ca { flex: 1 1 100%; }

  .file__grid, .review__grid, .logoff__grid, .chart__grid, .clockin__grid { grid-template-columns: minmax(0, 1fr); }
  .file__badge { width: min(78%, 320px); padding-top: 70px; }
  .lanyard { top: -80px; height: 170px; border-width: 8px; }
  .review__intro { grid-template-columns: 1fr 1fr; align-items: start; }
  .review__intro .h2, .review__intro .lede { grid-column: 1 / -1; }
  .note { width: auto; font-size: 1rem; padding: 16px 14px 18px; }
  .note--blue { justify-self: stretch; margin: 24px 0 0; }
  .review__peek { display: none; }
  .eval__row { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); }
  .eval__row > * { min-height: 56px; padding: 10px 4px; }
  .eval__row > *:first-child { padding-left: 8px; font-size: .66rem; letter-spacing: 0; overflow-wrap: anywhere; }
  .eval__row--head { font-size: .66rem; letter-spacing: 0; }
  .eval__box { width: 28px; height: 28px; }
  .eval__stamp { bottom: 120px; }
  .meeting__caption { justify-content: flex-start; }
  .crowd { height: 260vh; }
  .crowd__track { padding-bottom: 8vh; }
  .crowd__track img { height: min(100%, 52vh); }
  .eval__row--head .long { display: none; }
  .eval__row--head .short { display: inline; }
  .clockin__intro { position: static; }
  .clockin__intern { display: none; }
  .punch { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; }
  .punch__time { grid-column: 1 / -1; }
  .punch__mark { grid-row: 2; grid-column: 2; font-size: 1rem; }
  .timecard__ca .btn { flex: 1 1 100%; }
  .end__inner { margin-top: -40px; }
}

@media (max-width: 420px) {
  .ca__value { font-size: .8rem; padding: 0 10px; }
  .ca__copy span { display: none; }
  .timecard__head { font-size: 1.1rem; }
}
