/* Precision AI — 1930s farm-poster system
   Rule of the palette: everything is period ink and period light. Lamps, tubes,
   signal and focus glow amber. Mint (#29CCA5) appears in one place only:
   Maya's voice waveform on the telephone. */

:root {
  --paper: #EFE3C6;
  --paper-alt: #E6D7B4;
  --paper-light: #F6EEDA;
  --ink: #1B2E44;
  --ink-soft: #3C4C5E;
  --red: #A8392B;
  --red-deep: #6F2219;
  --gold: #C99A3B;
  --gold-deep: #8C6A22;
  --sage: #6F8A5B;
  --teal: #006A7C;
  --mint: #29CCA5;
  --amber: #F0A830;
  --night: #12202E;
  --night-2: #1A2C3F;
  --wood: #3A2618;
  --wood-2: #24170E;

  --display: "Besley", "Clarendon", "Rockwell", Georgia, serif;
  --body: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
  --type: "Special Elite", "Courier Prime", "Courier New", monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 144px);
  --header-h: 72px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .22 0 0 0 0 .08 0 0 0 .5 -.17'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .95 0 0 0 0 .8 0 0 0 .32 -.12'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper) var(--grain);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
.night :focus-visible, .site-footer :focus-visible, .board :focus-visible { outline-color: var(--amber); }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 12px 16px; font-weight: 600; }
.skip:focus { top: 12px; color: var(--paper); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--display); color: var(--ink); text-wrap: balance; }
h1, .h1 {
  font-weight: 900; text-transform: uppercase; letter-spacing: -.012em; line-height: .96;
  font-size: clamp(2.5rem, 6.3vw, 5.5rem);
}
h2, .h2 { font-weight: 800; letter-spacing: -.012em; line-height: 1.06; font-size: clamp(1.9rem, 3.7vw, 3.25rem); }
h3, .h3 { font-weight: 700; line-height: 1.18; font-size: clamp(1.25rem, 1.7vw, 1.5rem); }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.125rem, 1.45vw, 1.3125rem); line-height: 1.5; color: var(--ink); max-width: 38em; }
.script { font-family: var(--display); font-style: italic; font-weight: 600; color: var(--red); font-size: clamp(1.25rem, 2.3vw, 2rem); line-height: 1.2; }
.eyebrow {
  font-family: var(--body); font-weight: 700; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: "★"; font-size: .7rem; letter-spacing: 0; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: "★"; font-size: .7rem; letter-spacing: 0; }
.night .eyebrow, .board .eyebrow, .feature .eyebrow { color: var(--gold); }
.small { font-size: .875rem; line-height: 1.5; color: var(--ink-soft); }
.note { font-size: .8125rem; line-height: 1.5; color: var(--ink-soft); }
.night .note, .night .small, .board .note { color: rgba(239, 227, 198, .68); }
.stack > * + * { margin-top: 1.1em; }
.stack-lg > * + * { margin-top: 1.75rem; }
.measure { max-width: 36em; }

.flourish { display: flex; align-items: center; justify-content: center; gap: 18px; }
.flourish::before, .flourish::after {
  content: ""; flex: 0 1 110px; height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 9' preserveAspectRatio='none'%3E%3Cpath d='M0 4.5h92' stroke='%23A8392B' stroke-width='1.5'/%3E%3Cpath d='M92 4.5c5-4 9-4 13 0-4 4-8 4-13 0z' fill='%23A8392B'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}
.flourish::before { transform: scaleX(-1); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink);
  border-bottom: 2px solid var(--red); padding: 6px 0 4px;
}
.arrow-link::after { content: "→"; transition: transform .25s var(--ease); }
.arrow-link:hover { color: var(--red); }
.arrow-link:hover::after { transform: translateX(5px); }
.night .arrow-link, .board .arrow-link { color: var(--paper); border-color: var(--gold); }
.night .arrow-link:hover { color: var(--gold); }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--alt { background: var(--paper-alt) var(--grain); }
.night { background: var(--night) var(--grain-light); color: var(--paper); }
.night h1, .night h2, .night h3 { color: var(--paper); }
.night .lead { color: rgba(239, 227, 198, .92); }
.night a:not(.btn):not(.arrow-link) { color: var(--amber); }
.rule-top { border-top: 3px double rgba(27, 46, 68, .45); }
.split { display: grid; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(12, 1fr); }
  .split > .col-5 { grid-column: span 5; } .split > .col-6 { grid-column: span 6; } .split > .col-7 { grid-column: span 7; }
  .split > .col-4 { grid-column: span 4; } .split > .col-8 { grid-column: span 8; }
  .split--flip > :first-child { order: 2; }
  .split--top { align-items: start; }
}
.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head > * + * { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(239, 227, 198, .94); backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(27, 46, 68, .28);
  box-shadow: 0 3px 0 -2px rgba(27, 46, 68, .28), 0 4px 0 -1px var(--paper), 0 5px 0 -1px rgba(27, 46, 68, .2);
}
.header-row { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; min-height: 44px; }
.brand img { width: 172px; height: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: clamp(14px, 1.9vw, 30px); align-items: center; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; position: relative;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--ink);
}
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--red); }
.nav-toggle { display: none; }
@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; margin-left: auto; min-height: 44px; padding: 0 14px;
    background: transparent; border: 2px solid var(--ink); border-radius: 4px; cursor: pointer;
    font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  }
  .nav-toggle i { width: 16px; height: 10px; border-block: 2px solid var(--ink); position: relative; transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] i { transform: rotate(90deg); }
  .site-header .header-cta { display: none; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; max-height: calc(100dvh - var(--header-h)); overflow: auto;
    background: var(--paper) var(--grain); border-bottom: 3px double var(--ink);
    padding: 12px var(--gutter) 28px; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid rgba(27, 46, 68, .2); }
  .site-nav a { width: 100%; min-height: 56px; font-family: var(--display); font-size: 1.35rem; letter-spacing: 0; text-transform: none; font-weight: 800; }
  .site-nav a::after { display: none; }
  .site-nav .nav-cta { border: 0; padding-top: 20px; }
  .site-nav .nav-cta a { font-family: var(--body); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; min-height: 52px; width: auto; }
}
@media (min-width: 1081px) { .site-nav .nav-cta { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--red); --s: var(--red-deep); --c: var(--paper-light);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px;
  background: var(--b); color: var(--c); border: 0; border-radius: 4px; cursor: pointer;
  font-family: var(--body); font-weight: 700; font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 5px 0 var(--s), 0 9px 14px -6px rgba(27, 46, 68, .5);
  translate: var(--mx, 0px) var(--my, 0px);
  transition: transform .12s var(--ease), box-shadow .12s var(--ease), background .2s, translate .45s var(--ease);
}
.btn:hover { color: var(--c); transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 3px 0 var(--s), 0 6px 10px -6px rgba(27, 46, 68, .5); }
.btn:active { transform: translateY(5px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 var(--s); }
.btn--ink { --b: var(--ink); --s: #0B1622; }
.btn--paper { --b: var(--paper-light); --s: #B9A77E; --c: var(--ink); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: .76rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: center; }

/* ---------- Home hero ---------- */
.hero { position: relative; display: flex; flex-direction: column; min-height: calc(100svh - var(--header-h)); }
.hero__title { position: relative; z-index: 3; text-align: center; padding-top: clamp(28px, 4.5vh, 56px); }
.hero__title h1 { margin-top: 16px; font-size: clamp(2.3rem, 5.2vw, 5rem); }
@media (min-width: 760px) { .hero__title .line { white-space: nowrap; } }
.hero__title .script { margin-top: clamp(10px, 1.6vh, 18px); font-size: clamp(1.1rem, 1.72vw, 1.6rem); text-wrap: balance; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: block; animation: rise .9s var(--ease) both; }
.line:nth-child(2) > span { animation-delay: .1s; }
.hero__title .eyebrow, .hero__title .script { animation: fadeUp .8s var(--ease) both; }
.hero__title .script { animation-delay: .35s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero__art {
  position: relative; z-index: 1; flex: 1 1 auto; min-height: 440px; overflow: hidden;
  margin-top: clamp(-150px, -9vw, -70px);
}
.hero__art::before { /* cream sky wash so the title sits on paper, like the poster */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 40%; z-index: 2; pointer-events: none;
  background: var(--paper) var(--grain);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .86) 34%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .86) 34%, transparent 100%);
}
.hero__art::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--ink); z-index: 3; }
.hero__scene {
  position: absolute; bottom: 0; left: 50%; width: max(100%, calc((100svh - var(--header-h)) * 1.3)); aspect-ratio: 16 / 9;
  transform: translate3d(-50%, var(--py, 0px), 0);
}
.hero__plate { position: absolute; inset: 0; transform-origin: 70% 100%; translate: var(--sx, 0px) 0; animation: kenburns 28s ease-in-out infinite alternate, develop 1.7s var(--ease) both; }
.hero__plate picture { display: contents; }
.hero__plate img { width: 100%; height: 100%; object-fit: cover; }
@keyframes kenburns { from { transform: scale(1.03); } to { transform: scale(1.075); } }
.hero__drone { position: absolute; left: 52%; top: 45%; width: 12%; z-index: 1; pointer-events: none;
  translate: calc(-50% + var(--dx, 0px)) calc(-50% + var(--dy, 0px)); transform: translate3d(0, calc(var(--py, 0px) * -1.8), 0); }
.hero__drone-fly { position: relative; animation: drone-in 2.4s .3s cubic-bezier(.16, .8, .24, 1) both, drone-hover 5.6s ease-in-out infinite; filter: drop-shadow(0 14px 10px rgba(27, 46, 68, .22)); }
.hero__drone img { width: 100%; }
.hero__drone i { position: absolute; left: 62%; top: 40%; width: 13%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(240, 168, 48, .95) 0%, rgba(240, 168, 48, .4) 35%, rgba(240, 168, 48, 0) 70%); animation: pulse 1.6s ease-in-out infinite; }
@keyframes drone-in { from { translate: 46vw -9vh; opacity: 0; } 30% { opacity: 1; } to { translate: 0 0; opacity: 1; } }
@keyframes drone-hover { 0%, 100% { transform: translateY(-7%) rotate(-1.4deg); } 50% { transform: translateY(8%) rotate(1.1deg); } }
.glow { position: absolute; width: 3.2%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; pointer-events: none;
  background: radial-gradient(circle, rgba(240, 168, 48, .95) 0%, rgba(240, 168, 48, .35) 35%, rgba(240, 168, 48, 0) 70%);
  mix-blend-mode: screen; animation: pulse 2.6s ease-in-out infinite; }
.glow--brain { left: 20.5%; top: 59.5%; width: 7.5%; animation-duration: 3.4s; }
.glow--phone { left: 76%; top: 63.6%; width: 3.2%; animation-duration: 1.9s;
  background: radial-gradient(circle, rgba(41, 204, 165, .95) 0%, rgba(41, 204, 165, .35) 35%, rgba(41, 204, 165, 0) 70%); }
@keyframes pulse { 0%, 100% { opacity: .25; scale: .85; } 50% { opacity: 1; scale: 1.1; } }
.hero__card { position: absolute; z-index: 4; left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); bottom: clamp(24px, 5vh, 48px); width: min(540px, 44%); animation: fadeUp .9s .5s var(--ease) both; }
@media (min-width: 900px) and (max-height: 800px) { .hero__title { padding-top: 20px; } .hero__scene { bottom: -30px; } }
@media (max-width: 899px) {
  .hero { min-height: 0; }
  .hero__art { flex: none; height: auto; min-height: 0; overflow: visible; margin-top: -18px; padding-bottom: 28px; }
  .hero__art::before { height: 72px; }
  .hero__art::after { display: none; }
  .hero__scene { position: relative; left: 0; width: 100%; height: clamp(290px, 92vw, 640px); aspect-ratio: auto; transform: none; overflow: hidden; border-bottom: 6px solid var(--ink); }
  .hero__plate { translate: none; }
  .hero__plate img { object-position: 50% 100%; }
  .hero__scene .glow { display: none; }
  .hero__drone { left: 45%; top: 15%; width: 19%; transform: none; }
  .hero__card { position: relative; left: auto; bottom: auto; width: auto; margin: -44px var(--gutter) 0; }
}

/* ---------- Paper cards ---------- */
.paper-card {
  --r: 14px; position: relative; background: var(--paper-light) var(--grain); color: var(--ink);
  padding: clamp(22px, 2.6vw, 34px);
  -webkit-mask: radial-gradient(var(--r) at var(--r) var(--r), #0000 97%, #000) calc(-1 * var(--r)) calc(-1 * var(--r));
          mask: radial-gradient(var(--r) at var(--r) var(--r), #0000 97%, #000) calc(-1 * var(--r)) calc(-1 * var(--r));
}
.paper-card::before { content: ""; position: absolute; inset: 7px; border: 1.5px solid var(--ink); pointer-events: none; border-radius: 10px; opacity: .8; }
.paper-card > * { position: relative; }
.shadowed { filter: drop-shadow(0 16px 22px rgba(18, 32, 46, .38)); }

/* ---------- Band ---------- */
.band { background: var(--ink) var(--grain-light); color: var(--paper); overflow: hidden; border-block: 1px solid #0B1622; }
.band__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.band:hover .band__track { animation-play-state: paused; }
.band__track ul { display: flex; flex: none; }
.band__track li { display: flex; align-items: center; padding: 15px 0; font-size: .8rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
.band__track li::after { content: "★"; margin-inline: clamp(20px, 3vw, 40px); color: var(--gold); letter-spacing: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Figures ---------- */
.plate-fig { position: relative; }
.plate-fig__frame {
  position: relative; background: var(--paper-light); padding: clamp(8px, 1vw, 12px);
  box-shadow: 0 0 0 1px rgba(27, 46, 68, .35), 0 1px 0 1px rgba(255, 255, 255, .3) inset, 0 26px 44px -22px rgba(18, 32, 46, .6), 0 4px 10px -4px rgba(18, 32, 46, .3);
}
.plate-fig__frame { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .7s var(--ease), translate .5s var(--ease); }
.plate-fig__frame.is-tilting { transition-duration: .14s, .5s; }
.plate-fig__frame::after { /* glaze: a highlight that follows the pointer */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .45s;
  background: radial-gradient(55% 60% at var(--gx, 50%) var(--gy, 0%), rgba(255, 250, 232, .34), rgba(255, 250, 232, 0) 62%);
}
.plate-fig__frame.is-tilting::after { opacity: 1; }
.plate-fig__img { position: relative; overflow: hidden; outline: 1px solid rgba(27, 46, 68, .5); outline-offset: -1px; }
.plate-fig__frame img { width: 100%; }
.motion .plate-fig__img img { transform: scale(1.08) translate3d(0, calc(var(--ip, 0) * -3%), 0); }
.tilt-l { --tilt: -1.2deg; --drop: -6deg; transform: rotate(var(--tilt)); } .tilt-r { --tilt: 1.1deg; --drop: 6deg; transform: rotate(var(--tilt)); }
.ratio-43 img { aspect-ratio: 4 / 3; object-fit: cover; } .ratio-34 img { aspect-ratio: 3 / 4; object-fit: cover; }
.ratio-169 img { aspect-ratio: 16 / 9; object-fit: cover; } .ratio-11 img { aspect-ratio: 1; object-fit: cover; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; }
.page-hero__art { position: relative; height: clamp(300px, 60vh, 660px); overflow: hidden; border-bottom: 6px solid var(--ink); }
.page-hero__art img { position: absolute; left: 0; top: -10%; width: 100%; height: 110%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: translate3d(0, var(--py, 0px), 0); animation: develop 1.5s var(--ease) both; }
@keyframes develop { from { scale: 1.07; filter: sepia(.55) brightness(1.12) contrast(.9); } to { scale: 1; filter: none; } }
.page-hero__card { position: relative; z-index: 2; margin-top: clamp(-130px, -10vw, -70px); width: min(100%, 860px); }
.page-hero__card h1 { font-size: clamp(2.1rem, 4.3vw, 3.6rem); margin-top: 14px; }
.page-hero__card .script { margin-top: 14px; }
.page-hero__card .lead { margin-top: 18px; }
.page-hero__card .cta-row { margin-top: 22px; }
.page-hero + .section { padding-top: clamp(56px, 7vw, 96px); }
.type-hero { text-align: center; padding-block: clamp(56px, 8vw, 112px) clamp(40px, 5vw, 64px); border-bottom: 3px double rgba(27, 46, 68, .45); }
.type-hero h1 { font-size: clamp(3.4rem, 12vw, 10rem); margin-block: 18px 12px; }
@media (max-width: 360px) { .type-hero h1 { font-size: 15.5vw; } }
.type-hero .lead { margin: 22px auto 0; }

/* ---------- Brass ---------- */
.brass {
  position: relative; color: #2A1E08; padding: clamp(22px, 2.6vw, 34px); border-radius: 6px;
  background:
    radial-gradient(circle at 14px 14px, #5a4210 0 2.5px, #f3dc97 3px 5px, #8a6a1f 5.5px 7px, transparent 7.5px),
    radial-gradient(circle at calc(100% - 14px) 14px, #5a4210 0 2.5px, #f3dc97 3px 5px, #8a6a1f 5.5px 7px, transparent 7.5px),
    radial-gradient(circle at 14px calc(100% - 14px), #5a4210 0 2.5px, #f3dc97 3px 5px, #8a6a1f 5.5px 7px, transparent 7.5px),
    radial-gradient(circle at calc(100% - 14px) calc(100% - 14px), #5a4210 0 2.5px, #f3dc97 3px 5px, #8a6a1f 5.5px 7px, transparent 7.5px),
    repeating-linear-gradient(92deg, rgba(255, 255, 255, .05) 0 1px, rgba(0, 0, 0, .03) 1px 3px),
    linear-gradient(160deg, #E9CD7E 0%, #C99A3B 34%, #A87F2B 58%, #DDBB63 82%, #B48A30 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(90, 66, 16, .7), 0 18px 32px -14px rgba(0, 0, 0, .65);
}
.brass h3, .brass .brass__title { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .04em; color: #2A1E08; text-shadow: 0 1px 0 rgba(255, 255, 255, .45); font-size: 1.15rem; text-align: center; padding-inline: 18px; }
.brass dl { margin-top: 16px; border-top: 1px solid rgba(42, 30, 8, .45); }
.brass dl > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 11px 6px; border-bottom: 1px solid rgba(42, 30, 8, .3); box-shadow: 0 1px 0 rgba(255, 255, 255, .25); }
.brass dt { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding-top: .35em; }
.brass dd { font-family: var(--display); font-weight: 700; font-size: 1rem; line-height: 1.3; text-shadow: 0 1px 0 rgba(255, 255, 255, .35); }
@media (max-width: 420px) { .brass dl > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Enamel signs ---------- */
.enamel {
  position: relative; border-radius: 10px; padding: clamp(24px, 3vw, 40px) clamp(20px, 2.6vw, 34px); color: #FBF6E6; text-align: center; isolation: isolate;
  background: radial-gradient(120% 90% at 30% 0%, rgba(255, 255, 255, .2), transparent 55%), var(--bg, var(--ink));
  box-shadow: inset 0 0 0 5px var(--bg, var(--ink)), inset 0 0 0 8px #FBF6E6, inset 0 0 0 9px rgba(0, 0, 0, .25), 0 22px 30px -18px rgba(18, 32, 46, .7), 0 2px 0 rgba(0, 0, 0, .35);
}
.enamel::before, .enamel::after { content: ""; position: absolute; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d9d3c2, #6b665a 70%); box-shadow: 0 1px 1px rgba(0, 0, 0, .5); }
.enamel::before { left: 18px; } .enamel::after { right: 18px; }
.enamel--red { --bg: var(--red); } .enamel--sage { --bg: #4F6B43; } .enamel--teal { --bg: var(--teal); }
.enamel__num { font-family: var(--display); font-weight: 900; font-size: clamp(3.6rem, 8vw, 6.5rem); line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums; text-shadow: 0 3px 0 rgba(0, 0, 0, .28); }
.enamel__num sup { font-size: .42em; vertical-align: top; position: relative; top: .18em; margin-left: .04em; }
.enamel__label { margin-top: 12px; font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; }
.enamel__sub { margin-top: 8px; font-family: var(--display); font-style: italic; font-size: 1rem; opacity: .92; }
.signs { display: grid; gap: clamp(20px, 3vw, 36px); }
@media (min-width: 720px) { .signs { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }

/* ---------- Telegram / wire ---------- */
.telegram {
  position: relative; background: #F3E6B8 var(--grain); color: #2a2a2a; padding: 22px clamp(18px, 2.4vw, 30px) 26px;
  box-shadow: 0 0 0 1px rgba(27, 46, 68, .25), 0 20px 34px -18px rgba(0, 0, 0, .7);
  font-family: var(--type); font-size: .98rem; line-height: 1.55; letter-spacing: .01em;
}
.telegram__head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; border-bottom: 2px solid #2a2a2a; padding-bottom: 8px; margin-bottom: 14px; font-family: var(--display); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: .86rem; }
.telegram__head span:last-child { font-family: var(--type); font-weight: 400; font-size: .76rem; letter-spacing: .04em; }
.telegram p { text-transform: uppercase; }
.telegram p + p { margin-top: .7em; }
.stamp {
  display: inline-block; font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .1em; font-size: .86rem; line-height: 1.15;
  color: var(--red); border: 3px double var(--red); border-radius: 6px; padding: 7px 12px; transform: rotate(-7deg); opacity: .88; text-align: center;
  -webkit-mask: var(--grain-light); mask: none; mix-blend-mode: multiply;
}
.telegram .stamp { position: absolute; right: 18px; bottom: 16px; }

/* ---------- Gauges ---------- */
.gauges { display: grid; gap: clamp(20px, 3vw, 40px); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); align-items: start; }
.gauge { text-align: center; }
.gauge__dial {
  position: relative; width: min(100%, 260px); aspect-ratio: 1; margin-inline: auto; border-radius: 50%;
  background: conic-gradient(from 210deg, #E9CD7E, #A87F2B, #F1DA98, #8C6A22, #DDBB63, #A87F2B, #E9CD7E);
  box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .6), inset 0 1px 1px rgba(255, 255, 255, .6), inset 0 -2px 2px rgba(0, 0, 0, .4);
  padding: 5.5%;
}
.gauge__dial svg { width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 3px 8px rgba(0, 0, 0, .45); background: radial-gradient(circle at 50% 35%, #FBF4DF, #EADBB4); }
.gauge__needle { transform-origin: 100px 100px; transform: rotate(-120deg); transition: transform 2.2s cubic-bezier(.3, 1.35, .5, 1); }
.gauge.is-live .gauge__needle { transform: rotate(var(--deg, -120deg)); }
.gauge__dial::after { content: ""; position: absolute; inset: 5.5%; border-radius: 50%; pointer-events: none; background: linear-gradient(140deg, rgba(255, 255, 255, .42) 0%, rgba(255, 255, 255, 0) 38%); }
.gauge__value { margin-top: 18px; font-family: var(--display); font-weight: 900; font-size: 2.4rem; line-height: 1; }
.gauge__label { margin-top: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.gauge__tag { display: inline-block; margin-top: 16px; font-family: var(--type); font-size: .82rem; background: #F3E6B8; color: #2a2a2a; padding: 7px 12px 6px 22px; position: relative; transform: rotate(-2deg); box-shadow: 0 6px 10px -6px rgba(0, 0, 0, .6); clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%); }
.gauge__tag::before { content: ""; position: absolute; left: 10px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--night); }

/* ---------- Switchboard ---------- */
.board { background: var(--night) var(--grain-light); color: var(--paper); }
.board h2 { color: var(--paper); }
.board__grid { display: grid; gap: clamp(24px, 3vw, 40px); align-items: start; }
@media (min-width: 1000px) { .board__grid { grid-template-columns: minmax(250px, 320px) 1fr; } }
.calls { display: grid; gap: 12px; }
.calls__title { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.call {
  position: relative; text-align: left; width: 100%; min-height: 56px; cursor: pointer; border: 0; border-radius: 3px;
  background: #F3E6B8 var(--grain); color: #24262a; padding: 13px 16px 12px 44px; font-family: var(--type); font-size: .93rem; line-height: 1.35;
  box-shadow: 0 8px 14px -8px rgba(0, 0, 0, .8); transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.call::before { content: ""; position: absolute; left: 15px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #6a5a3a, #2a2114 70%); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .6); transition: background .2s, box-shadow .2s; }
.call:hover { transform: translateX(4px); }
.call[aria-pressed="true"] { background-color: #FFF6D2; transform: translateX(8px); box-shadow: 0 10px 18px -8px rgba(0, 0, 0, .9), -4px 0 0 var(--amber); }
.call[aria-pressed="true"]::before { background: radial-gradient(circle at 35% 30%, #fff1cf, var(--amber) 60%); box-shadow: 0 0 10px 2px rgba(240, 168, 48, .7); }
@media (max-width: 999px) { .call:hover, .call[aria-pressed="true"] { transform: none; } }
.panel {
  position: relative; border-radius: 10px; padding: clamp(10px, 1.4vw, 18px);
  background: repeating-linear-gradient(91deg, rgba(0, 0, 0, .16) 0 2px, rgba(255, 255, 255, .025) 2px 5px, rgba(0, 0, 0, .08) 5px 9px), linear-gradient(180deg, #4A3020, #2B1B10);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .12), inset 0 -3px 0 rgba(0, 0, 0, .5), 0 30px 50px -24px rgba(0, 0, 0, .9);
}
.panel__face {
  border-radius: 5px; overflow: hidden; position: relative;
  background: radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .06), transparent 60%), repeating-linear-gradient(89deg, rgba(0, 0, 0, .22) 0 1px, rgba(255, 255, 255, .02) 1px 4px, rgba(0, 0, 0, .1) 4px 7px), linear-gradient(180deg, #2E1D12, #1C120A);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7), inset 0 6px 18px rgba(0, 0, 0, .65);
}
.panel svg { width: 100%; height: auto; }
.sb-label { font-family: var(--body); font-weight: 700; letter-spacing: .09em; text-transform: uppercase; fill: #2A1E08; }
.sb-maya { font-family: var(--display); font-weight: 900; letter-spacing: .16em; fill: #2A1E08; }
.sb-lamp { fill: #3b2f1c; stroke: #15100a; stroke-width: 1.5; transition: fill .35s, filter .35s; }
.sb-jack.is-on .sb-lamp, .sb-lamp.is-on { fill: var(--amber); filter: drop-shadow(0 0 6px rgba(240, 168, 48, .95)) drop-shadow(0 0 16px rgba(240, 168, 48, .6)); }
.sb-cord { fill: none; stroke-linecap: round; }
.sb-cord--body { stroke: #6B2A20; stroke-width: 7; }
.sb-cord--braid { stroke: rgba(255, 220, 190, .28); stroke-width: 7; stroke-dasharray: 2 5; }
.sb-cord--sig { stroke: var(--amber); stroke-width: 2; stroke-dasharray: 3 15; animation: sig 1s linear infinite; filter: drop-shadow(0 0 3px rgba(240, 168, 48, .8)); }
@keyframes sig { to { stroke-dashoffset: -18; } }
.sb-cordgroup { opacity: 0; transition: opacity .2s; }
.sb-cordgroup.is-on { opacity: 1; }
.sb-cordgroup .sb-draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.sb-cordgroup.is-on .sb-draw { animation: draw .6s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sb-late { opacity: 0; transition: opacity .3s; }
.sb-cordgroup.is-on .sb-late { opacity: 1; transition-delay: calc(var(--d, 0s) + .55s); }
.sb-cordgroup.is-on .sb-cord--sig { opacity: .9; }
.sb-plug { opacity: 0; transition: opacity .15s; transition-delay: calc(var(--d, 0s) + .5s); }
.sb-cordgroup.is-on .sb-plug { opacity: 1; }
.wire { margin-top: clamp(14px, 1.6vw, 20px); }
.wire .telegram { min-height: 200px; padding-bottom: 54px; }
.wire__q { color: var(--red-deep); }
.wire__lines { position: absolute; left: clamp(18px, 2.4vw, 30px); bottom: 16px; right: 170px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: #5b5646; }
.wire__lines span::before { content: "● "; color: var(--teal); }
.wire .stamp { transition: opacity .3s, transform .3s var(--ease); }
.wire .stamp[hidden] { display: block; opacity: 0; transform: rotate(-7deg) scale(1.6); }
.caret { display: inline-block; width: .55em; height: 1em; background: #2a2a2a; vertical-align: -.12em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 560px) { .wire__lines { right: clamp(18px, 2.4vw, 30px); bottom: 12px; } .wire .telegram { padding-bottom: 96px; } .wire .stamp { bottom: 44px; } .wire .stamp[hidden] { transform: rotate(-7deg) scale(1); } }

/* ---------- Ledger (day log) ---------- */
.ledger { background: var(--paper-light) var(--grain); position: relative; box-shadow: 0 0 0 1px rgba(27, 46, 68, .3), 0 26px 44px -22px rgba(18, 32, 46, .6); }
.ledger ol { position: relative; }
.ledger ol::before { content: ""; position: absolute; top: 0; bottom: 0; left: clamp(84px, 9vw, 112px); width: 3px; border-inline: 1px solid rgba(168, 57, 43, .55); }
.ledger__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px clamp(16px, 2.2vw, 28px) 12px; border-bottom: 2px solid var(--ink); font-family: var(--display); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .86rem; }
.ledger__head span:last-child { font-family: var(--body); font-weight: 600; font-size: .7rem; letter-spacing: .14em; color: var(--ink-soft); }
.ledger li { display: grid; grid-template-columns: clamp(68px, 7.4vw, 92px) 1fr; gap: clamp(22px, 2.6vw, 34px); padding: 14px clamp(16px, 2.2vw, 28px); border-bottom: 1px solid rgba(0, 106, 124, .28); font-family: var(--type); font-size: .95rem; line-height: 1.45; }
.ledger li:last-child { border-bottom: 0; }
.ledger time { color: var(--red-deep); }
.ledger b { font-family: var(--body); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); display: block; margin-top: 4px; font-weight: 700; }

/* ---------- Directory (channels) ---------- */
.directory { border-top: 2px solid var(--ink); }
.directory li { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: baseline; padding: 13px 2px; border-bottom: 1px solid rgba(27, 46, 68, .28); }
.directory b { font-family: var(--display); font-weight: 700; font-size: 1.08rem; }
.directory span { font-size: .86rem; color: var(--ink-soft); text-align: right; }
.directory li::after { content: none; }

/* ---------- Pillars ---------- */
.pillars { display: grid; gap: clamp(28px, 3vw, 44px); }
@media (min-width: 860px) { .pillars { grid-template-columns: repeat(3, 1fr); } .pillars > :nth-child(2) { margin-top: 56px; } .pillars > :nth-child(3) { margin-top: 112px; } }
.pillar__num { font-family: var(--display); font-weight: 900; font-size: 1rem; color: var(--red); letter-spacing: .08em; }
.pillar h3 { margin: 6px 0 10px; font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 800; }
.pillar .plate-fig { margin-bottom: 22px; }
.pillar a.cover { text-decoration: none; color: inherit; display: block; }
.pillar a.cover:hover .plate-fig__frame { translate: 0 -6px; }

main { overflow-x: clip; }

/* ---------- Full-bleed feature ---------- */
.feature { position: relative; color: var(--paper); overflow: hidden; background: var(--night); border-block: 6px solid var(--ink); }
.feature__img { position: absolute; inset: 0; overflow: hidden; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.motion .feature__img img { transform: scale(1.12) translate3d(0, calc(var(--ip, 0) * -4.4%), 0); }
.feature__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 32, 46, .94) 0%, rgba(18, 32, 46, .78) 40%, rgba(18, 32, 46, .12) 72%, rgba(18, 32, 46, 0) 100%); }
.feature__body { position: relative; z-index: 1; padding-block: clamp(72px, 10vw, 150px); display: grid; gap: 36px; align-items: end; }
.feature h2 { color: var(--paper); }
.feature .lead { color: var(--paper); }
@media (min-width: 900px) { .feature__body { grid-template-columns: 1.1fr .9fr; } .feature__body .brass { justify-self: end; width: min(100%, 420px); } }
@media (max-width: 899px) {
  .feature__img { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .feature__img img { object-position: var(--pos-m, var(--pos, 50% 50%)); }
  .feature__img::after { background: linear-gradient(180deg, rgba(18, 32, 46, 0) 58%, rgb(18, 32, 46) 100%); }
  .feature__body { padding-block: 26px clamp(56px, 12vw, 84px); }
}
@media (min-width: 900px) {
  .feature--inset .feature__img { left: 34%; }
  .feature--inset .feature__img::after { background: linear-gradient(90deg, rgb(18, 32, 46) 0%, rgba(18, 32, 46, .72) 12%, rgba(18, 32, 46, .18) 34%, rgba(18, 32, 46, 0) 52%); }
  .feature--inset .feature__body > div { max-width: 27rem; }
}

/* ---------- Bulletins (releases) ---------- */
.bulletins { display: grid; gap: 0; border-top: 3px double var(--ink); }
.bulletin { display: grid; gap: 8px 28px; padding: 26px 0; border-bottom: 1px solid rgba(27, 46, 68, .32); grid-template-columns: 1fr; }
@media (min-width: 820px) { .bulletin { grid-template-columns: 150px 1fr auto; align-items: start; } }
.bulletin__meta { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
@media (min-width: 820px) { .bulletin__meta { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 6px; } }
.kind { display: inline-block; font-size: .66rem; letter-spacing: .16em; padding: 4px 8px 3px; border: 1.5px solid currentColor; border-radius: 3px; color: var(--teal); }
.kind--dataset { color: var(--red); } .kind--tool { color: var(--ink); } .kind--press { color: var(--gold-deep); border-style: dashed; }
.bulletin h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 800; }
.bulletin p { margin-top: 8px; max-width: 44em; }
.bulletin__links { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
@media (min-width: 820px) { .bulletin__links { flex-direction: column; align-items: flex-end; gap: 2px; padding-top: 2px; } }
.bulletin__links a { display: inline-flex; align-items: center; min-height: 40px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--red); padding-top: 4px; }
.bulletin__links a::after { content: "↗"; margin-left: 7px; }
.bulletin__links a:hover { color: var(--red); }
.bulletin code { font-family: var(--type); font-size: .86rem; background: rgba(27, 46, 68, .08); padding: 3px 7px 2px; border-radius: 3px; white-space: nowrap; }
.bulletin--press h3 { color: var(--ink-soft); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filter { min-height: 44px; padding: 0 16px; background: transparent; border: 1.5px solid var(--ink); border-radius: 999px; cursor: pointer; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: background .2s, color .2s; }
.filter:hover { background: rgba(27, 46, 68, .08); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* ---------- Almanac cards ---------- */
.almanac { display: grid; gap: 0; border-top: 2px solid var(--ink); border-left: 1px solid rgba(27, 46, 68, .3); }
@media (min-width: 640px) { .almanac { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .almanac { grid-template-columns: repeat(4, 1fr); } }
.almanac li { padding: 26px 24px 30px; border-right: 1px solid rgba(27, 46, 68, .3); border-bottom: 1px solid rgba(27, 46, 68, .3); position: relative; transition: background .3s; }
.almanac li:hover { background: rgba(246, 238, 218, .7); }
.almanac svg { width: 54px; height: 54px; margin-bottom: 18px; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.almanac svg .m { stroke: var(--teal); } .almanac svg .r { stroke: var(--red); } .almanac svg .f { fill: var(--ink); stroke: none; }
.almanac__no { position: absolute; top: 24px; right: 22px; font-family: var(--display); font-weight: 800; font-size: .85rem; color: var(--red); letter-spacing: .08em; }
.almanac h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.almanac p { font-size: .95rem; line-height: 1.55; color: var(--ink-soft); }

/* ---------- Task list ---------- */
.tasks { display: grid; gap: 0 clamp(28px, 4vw, 64px); border-top: 2px solid var(--ink); }
@media (min-width: 760px) { .tasks { grid-template-columns: 1fr 1fr; } }
.tasks li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid rgba(27, 46, 68, .28); }
.tasks i { font-style: normal; font-family: var(--display); font-weight: 900; color: var(--red); font-size: 1rem; padding-top: 3px; }
.tasks h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.tasks p { font-size: .98rem; color: var(--ink-soft); }
.tasks--one { grid-template-columns: 1fr !important; }
.night .tasks { border-top-color: rgba(239, 227, 198, .7); }
.night .tasks li { border-bottom-color: rgba(239, 227, 198, .25); }
.night .tasks i { color: var(--gold); }
.night .tasks p { color: rgba(239, 227, 198, .78); }

/* ---------- Orthomosaic demo ---------- */
.ortho { position: relative; background: var(--night-2); padding: clamp(8px, 1vw, 12px); box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 30px 50px -24px rgba(0, 0, 0, .9); }
.ortho__stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0d1823 linear-gradient(rgba(240, 168, 48, .12) 1px, transparent 1px) 0 0 / 100% 12.5%, #0d1823; }
.ortho__stage::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(240, 168, 48, .12) 1px, transparent 1px) 0 0 / 8.3333% 100%; }
.ortho__tiles { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(8, 1fr); }
.ortho__tiles i { background-image: url(assets/img/ortho.webp); background-size: 1200% 800%; opacity: 0; transform: scale(1.25); transition: opacity .35s, transform .5s var(--ease); }
.ortho__tiles i.is-in { opacity: 1; transform: none; }
.ortho__vec { position: absolute; inset: 0; width: 100%; height: 100%; }
.ortho__vec circle { fill: var(--amber); opacity: 0; transition: opacity .3s; filter: drop-shadow(0 0 3px rgba(240, 168, 48, .9)); }
.ortho__vec circle.is-in { opacity: 1; }
.ortho__craft { position: absolute; width: 7%; left: 0; top: 0; translate: -50% -50%; transition: left .16s linear, top .16s linear; filter: drop-shadow(0 6px 4px rgba(0, 0, 0, .5)); z-index: 3; }
.ortho__read { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(240, 168, 48, .25); margin-top: clamp(8px, 1vw, 12px); }
.ortho__read div { background: #0d1823; padding: 12px 14px; }
@media (max-width: 360px) { .ortho__read { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ortho__read div { padding: 10px 8px; } .ortho__read dt { letter-spacing: .08em; font-size: .58rem; } }
.ortho__read dt { font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(239, 227, 198, .65); }
.ortho__read dd { font-family: var(--type); color: var(--amber); font-size: clamp(1rem, 1.6vw, 1.3rem); margin-top: 2px; font-variant-numeric: tabular-nums; }
.ortho__replay { position: absolute; right: clamp(16px, 2vw, 24px); top: clamp(16px, 2vw, 24px); z-index: 4; }

/* ---------- Classifieds (careers) ---------- */
.classifieds { display: grid; overflow: hidden; border-top: 3px double var(--ink); border-bottom: 3px double var(--ink); }
@media (min-width: 720px) { .classifieds { grid-template-columns: repeat(2, 1fr); } .classified:nth-child(odd) { border-right: 1px solid rgba(27, 46, 68, .35); } }
@media (min-width: 1040px) { .classifieds { grid-template-columns: repeat(3, 1fr); } .classified { border-right: 1px solid rgba(27, 46, 68, .35); } .classified:nth-child(3n) { border-right: 0; } }
.classified { padding: 26px clamp(16px, 2vw, 28px) 28px; border-bottom: 1px solid rgba(27, 46, 68, .35); margin-bottom: -1px; }
.classified h3 { font-size: 1.15rem; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 8px; }
.classified h3::before { content: "Wanted"; display: block; font-family: var(--type); font-weight: 400; font-size: .8rem; letter-spacing: .14em; color: var(--red); margin-bottom: 6px; }
.classified p { font-size: .97rem; line-height: 1.55; color: var(--ink-soft); }
.ticket { border: 2px dashed var(--ink); padding: clamp(22px, 3vw, 36px); text-align: center; background: var(--paper-light) var(--grain); }

/* ---------- Postcard / contact ---------- */
.postcard { background: var(--paper-light) var(--grain); display: grid; box-shadow: 0 0 0 1px rgba(27, 46, 68, .3), 0 30px 50px -26px rgba(18, 32, 46, .7); }
@media (min-width: 900px) { .postcard { grid-template-columns: 1.15fr 1px .85fr; } .postcard__rule { background: var(--ink); margin-block: 32px; } }
.postcard__msg, .postcard__addr { padding: clamp(22px, 3.2vw, 44px); }
.postcard__addr { position: relative; }
.postmark { position: absolute; right: clamp(20px, 3vw, 40px); top: clamp(20px, 3vw, 36px); width: 86px; aspect-ratio: 5 / 6; border: 2px solid var(--teal); padding: 6px; display: grid; place-items: center; background: repeating-linear-gradient(45deg, rgba(0, 106, 124, .08) 0 4px, transparent 4px 8px); outline: 4px dotted var(--paper-light); outline-offset: -1px; }
.postmark img { width: 44px; }
.addr { font-style: normal; font-family: var(--type); font-size: 1.08rem; line-height: 1.7; margin-top: clamp(96px, 10vw, 130px); }
.addr b { font-family: var(--display); font-weight: 900; font-size: 1.2rem; letter-spacing: .04em; display: block; }
.field { display: grid; gap: 6px; margin-top: 16px; }
.field label, .field legend { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.field input, .field textarea, .field select {
  width: 100%; font: 400 1.05rem/1.4 var(--type); color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; padding: 10px 2px 8px; min-height: 46px;
}
.field textarea { min-height: 110px; resize: vertical; background-image: repeating-linear-gradient(transparent 0 31px, rgba(27, 46, 68, .35) 31px 32px); line-height: 32px; border-bottom: 0; padding-top: 0; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 0; border-bottom-color: var(--teal); box-shadow: 0 2px 0 var(--teal); }
.field-row { display: grid; gap: 0 22px; } @media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-status { margin-top: 14px; font-family: var(--type); font-size: .92rem; color: var(--teal); min-height: 1.4em; }

/* ---------- Statement ---------- */
.statement h2 { font-size: clamp(2rem, 4.4vw, 3.9rem); max-width: 17em; }
.statement .lead { color: rgba(239, 227, 198, .9); }
.tube-fig { position: relative; }
.tube-fig::after { content: ""; position: absolute; inset: 12px; background: radial-gradient(40% 35% at 50% 52%, rgba(240, 168, 48, .28), transparent 70%); mix-blend-mode: screen; animation: tube 5s ease-in-out infinite; pointer-events: none; }
@keyframes tube { 0%, 100% { opacity: .35; } 42% { opacity: 1; } 46% { opacity: .55; } 50% { opacity: 1; } }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(2.2rem, 5.4vw, 4.6rem); text-transform: uppercase; font-weight: 900; line-height: .98; }
@media (max-width: 420px) { .cta h2 { font-size: 8.6vw; } }
.cta .lead { margin: 20px auto 30px; }
.cta .cta-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night) var(--grain-light); color: rgba(239, 227, 198, .82); font-size: .95rem; }
.site-footer .band { background: var(--ink); border-top: 6px solid var(--red); }
.footer-grid { display: grid; gap: 40px 32px; padding-block: clamp(48px, 6vw, 80px) 40px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand img { width: 200px; }
.footer-brand p { margin-top: 18px; max-width: 22em; font-family: var(--display); font-style: italic; font-size: 1.05rem; color: var(--paper); }
.footer-brand address { margin-top: 18px; font-style: normal; line-height: 1.6; }
.site-footer h2 { font-family: var(--body); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 40px; color: var(--paper); text-decoration: none; }
.site-footer li a:hover { color: var(--amber); }
.site-footer address a { color: var(--paper); }
.footer-base { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 20px 28px; border-top: 1px solid rgba(239, 227, 198, .2); font-size: .8rem; color: rgba(239, 227, 198, .6); }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
.js [data-reveal="print"] { transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease), opacity .4s; }
.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.js [data-reveal].tilt-l.is-in, .js [data-reveal].tilt-r.is-in { transform: rotate(var(--tilt)); }
/* Plates land on the table: a short drop, a turn, and a settle */
.js .plate-fig[data-reveal] { transform: translateY(56px) rotate(calc(var(--tilt, 0deg) + var(--drop, 3deg))) scale(1.04); transition: opacity .5s ease-out, transform 1.15s cubic-bezier(.2, 1.32, .36, 1); transition-delay: var(--rd, 0s); }
.js .plate-fig[data-reveal].is-in { transform: rotate(var(--tilt, 0deg)); }
/* Headlines rise word by word */
.sw { display: inline-block; clip-path: inset(-.14em -.08em -.22em -.08em); }
.sw > span { display: inline-block; transform: translateY(128%) rotate(5deg); transform-origin: 0 100%; transition: transform .95s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 45ms); }
.is-in > .sw > span { transform: none; }

/* ---------- Motion layer ---------- */
/* Scroll progress along the header rule */
.progress { position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* Fireflies and lantern light in the night sections */
.fireflies { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.night > .wrap, .board > .wrap { position: relative; z-index: 1; }
.night::before, .board::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: var(--lo, 0); transition: opacity .6s;
  background: radial-gradient(460px circle at var(--lx, 50%) var(--ly, 50%), rgba(240, 168, 48, .13), rgba(240, 168, 48, 0) 70%);
}

/* Targeting cursor: amber brackets that lock on to whatever can be used */
.cursor { position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none; opacity: 0; transition: opacity .25s; }
.cursor.is-on { opacity: 1; }
.cursor.is-native { opacity: 0; }
.cursor__dot { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 1.5px var(--night), 0 0 12px rgba(240, 168, 48, .75); transition: scale .2s var(--ease); }
.cursor.is-lock .cursor__dot { scale: .6; }
.cursor__box { position: absolute; left: 0; top: 0; width: 30px; height: 30px; }
.cursor__box i { position: absolute; width: 11px; height: 11px; border: 0 solid var(--night); border-top-width: 4px; border-left-width: 4px; transition: width .25s var(--ease), height .25s var(--ease); }
.cursor__box i::after { content: ""; position: absolute; left: -3px; top: -3px; width: 100%; height: 100%; border: 0 solid var(--amber); border-top-width: 2px; border-left-width: 2px; }
.cursor__box i:nth-child(1) { left: 0; top: 0; }
.cursor__box i:nth-child(2) { right: 0; top: 0; rotate: 90deg; }
.cursor__box i:nth-child(3) { right: 0; bottom: 0; rotate: 180deg; }
.cursor__box i:nth-child(4) { left: 0; bottom: 0; rotate: 270deg; }
.cursor.is-lock .cursor__box i { width: 16px; height: 16px; }
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input, .has-cursor textarea, .has-cursor select, .has-cursor label { cursor: auto !important; }

/* Page turns */
/* Paintings answer the pointer: depth, lamp light, spray and a reading glass */
canvas.depth, canvas.spray { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
canvas.depth { opacity: 0; }
canvas.depth.is-on { opacity: 1; }
.motion .plate-fig__img canvas { transform: scale(1.08) translate3d(0, calc(var(--ip, 0) * -3%), 0); }
.page-hero__art canvas.depth { inset: auto; left: 0; top: -10%; height: 110%; transform: translate3d(0, var(--py, 0px), 0); }
.motion .feature__img canvas.depth { transform: scale(1.12) translate3d(0, calc(var(--ip, 0) * -4.4%), 0); }
.loupe {
  position: absolute; left: 0; top: 0; z-index: 3; width: 176px; height: 176px; margin: -88px 0 0 -88px; border-radius: 50%; pointer-events: none;
  opacity: 0; scale: .6; transition: opacity .25s, scale .35s var(--ease); background-color: var(--paper-light); background-repeat: no-repeat;
  border: 9px solid #B98D32;
  box-shadow: 0 0 0 1.5px #3a2a10, inset 0 0 0 1.5px #3a2a10, inset 0 0 0 4px rgba(235, 209, 132, .7), inset 0 10px 26px rgba(18, 32, 46, .35), 0 22px 30px -12px rgba(18, 32, 46, .6);
}
.loupe::before { /* glass highlight */ content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(60% 45% at 32% 22%, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 70%); }
.loupe::after { /* turned wooden handle */ content: ""; position: absolute; left: 86%; top: 86%; width: 20px; height: 84px; border-radius: 5px 5px 10px 10px; transform-origin: 50% 0; rotate: -45deg;
  background: linear-gradient(90deg, #24170E, #5a3a22 45%, #3A2618 70%, #24170E); box-shadow: 0 0 0 1.5px #15100a, 0 -9px 0 -2px #B98D32, 0 -9px 0 -.5px #3a2a10; }
.loupe.is-on { opacity: 1; scale: 1; }

@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out .4s ease-in both; }
::view-transition-new(root) { animation: vt-in .75s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-18px); } }
@keyframes vt-in { from { clip-path: inset(0 0 100% 0); transform: translateY(26px); } to { clip-path: inset(0 0 0 0); transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  .band__track { animation: none; }
  .hero__plate, .hero__drone-fly, .hero__drone i { animation: none; }
  .js [data-reveal], .js .plate-fig[data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .sw > span { transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .gauge__needle { transform: rotate(var(--deg, -120deg)); }
  .sb-cord--sig { animation: none; }
}

/* ---------- Misc ---------- */
.two-up { display: grid; gap: clamp(28px, 4vw, 56px); } @media (min-width: 820px) { .two-up { grid-template-columns: 1fr 1fr; } }
.three-up { display: grid; gap: clamp(24px, 3vw, 40px); } @media (min-width: 820px) { .three-up { grid-template-columns: repeat(3, 1fr); } }
.big-quote { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.2; }
.questions li { font-family: var(--display); font-style: italic; font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.3; padding: 16px 0 16px 34px; border-bottom: 1px solid rgba(27, 46, 68, .28); position: relative; }
.questions li::before { content: "“"; position: absolute; left: 0; top: 8px; font-size: 2.4rem; color: var(--red); font-style: normal; line-height: 1; }
.night .questions li { border-color: rgba(239, 227, 198, .25); } .night .questions li::before { color: var(--gold); }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px 5px; border: 1.5px solid var(--ink); border-radius: 3px; }
.night .badge { border-color: rgba(239, 227, 198, .6); }
.fn { font-size: .78rem; color: var(--ink-soft); margin-top: 28px; max-width: 60em; }
.night .fn { color: rgba(239, 227, 198, .6); }
.mt-0 { margin-top: 0 !important; } .mt-l { margin-top: clamp(40px, 6vw, 80px); } .mt-m { margin-top: clamp(24px, 3vw, 40px); }
.center { text-align: center; }
