/* Deep-water fog: a navy night washed by soft, blurred colour, deep blue from
   the left, turquoise from the right, navy-teal low across the middle. No beams, no hard light, no glowing edges.
   Teal fills rules, fog and focus and is never used for text; text is a cool
   white, and gold marks what matters.
   Loaded after site.css on every page. */
:root {
  --ink: #030818;           /* navy night */
  --slate: #06122c;
  --raise: #0b1c44;
  --line: rgba(214, 228, 240, 0.12);
  --fg: #eef3f8;            /* cool white */
  --soft: #b9c7d6;
  --muted: #8a99ab;
  --cyan: #22e0c0;          /* teal: fills, rules, focus. Never text. */
  --cyan-ink: #04161a;
  --rim: #ffa62b;           /* wave gold: the text accent */
  --fog-warm: 18, 58, 200;    /* deep blue */
  --fog-cool: 18, 196, 170;   /* turquoise */
  --fog-mid: 10, 70, 140;    /* navy-teal */
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --mono: "Barlow Semi Condensed", "Barlow", "Arial Narrow", sans-serif;
}
body { font-family: var(--body); font-size: 17.5px; font-feature-settings: "tnum" 1; }
::selection { background: rgba(255, 166, 43, 0.35); color: #fff; }
:focus-visible { outline-color: var(--cyan); }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: 0.005em; }
h3 { font-family: var(--body); font-weight: 600; }
.accent { color: var(--rim); }

/* Square-edged controls; cyan is the only filled one. */
.btn { border-radius: 2px; font-family: var(--body); font-weight: 600; letter-spacing: 0.01em; }
.btn-primary { background: var(--cyan); color: var(--cyan-ink); }
.btn-quiet { border-color: rgba(214, 228, 240, 0.3); color: var(--fg); }
.btn-quiet:hover { border-color: var(--cyan); }

header.band { background: rgba(5, 11, 24, 0.82); }
.bar nav a { font-family: var(--mono); font-size: 16px; font-weight: 500; letter-spacing: 0.04em; }
.bar nav a:hover, .bar .sign-in:hover, footer nav a:hover { color: var(--rim); }

.hero .lede, .role .copy > p, .prov .head p:last-child, .forged-note,
.close p, .faq-list p, .show .head .sub { color: var(--soft); }
a { text-decoration-color: rgba(255, 166, 43, 0.5); }
.prov-more a, .forged-note a, .faq-list a, .close .assure a { color: var(--rim); }

/* --- The opening ------------------------------------------------------------ */
.hero { position: relative; overflow: clip; isolation: isolate;
  display: grid; align-content: end;
  padding-block: clamp(64px, 6vw, 88px) clamp(44px, 4vw, 60px);
  background: linear-gradient(180deg, #05143a 0%, var(--ink) 70%); }
.stage-light { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
/* Fog banks: wide, heavily blurred washes drifting in from each side, the way
   light hangs in haze rather than falling in beams. */
.fog { position: absolute; filter: blur(70px); }
.fog.warm { left: -15%; top: -10%; width: 65%; height: 120%;
  background: linear-gradient(100deg, rgba(var(--fog-warm), 0.62) 0%, rgba(var(--fog-warm), 0.26) 45%, rgba(var(--fog-warm), 0) 85%); }
.fog.cool { right: -15%; top: -20%; width: 60%; height: 120%;
  background: linear-gradient(260deg, rgba(var(--fog-cool), 0.42) 0%, rgba(var(--fog-cool), 0.2) 45%, rgba(var(--fog-cool), 0) 85%); }
.fog.low { left: -10%; right: -10%; bottom: -25%; height: 60%;
  background: linear-gradient(0deg, rgba(var(--fog-mid), 0.34), rgba(var(--fog-mid), 0)); }
/* The wet street at the foot: both colours smeared in the reflection. */
.floor { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; filter: blur(14px);
  background: linear-gradient(90deg, rgba(var(--fog-warm), 0.22), rgba(var(--fog-warm), 0.04) 45%, rgba(var(--fog-cool), 0.06) 55%, rgba(var(--fog-cool), 0.3)); }
@media (prefers-reduced-motion: no-preference) {
  .fog.warm { animation: drift-warm 38s ease-in-out infinite alternate; }
  .fog.cool { animation: drift-cool 46s ease-in-out infinite alternate; }
  @keyframes drift-warm { from { translate: -3% 0; } to { translate: 4% 2%; } }
  @keyframes drift-cool { from { translate: 3% 0; } to { translate: -4% -2%; } }
}
.hero h1 { font-size: clamp(56px, 8.4vw, 118px); line-height: 0.86; color: var(--fg); letter-spacing: 0; }
.hero .lede { font-size: clamp(18px, 1.9vw, 21px); }
.assure { font-family: var(--mono); font-size: 14.5px; letter-spacing: 0.04em; color: var(--muted); }
.hero-side { position: relative; max-width: 640px; padding-top: 22px; }
@media (min-width: 900px) {
  .hero-side { grid-template-columns: minmax(0, 1fr); }
  .hero-side .lede, .hero-side .actions, .hero-side .assure { grid-row: auto; grid-column: auto; }
}
/* A short rule where the two colours meet. */
.practical { position: absolute; top: 0; left: 0; width: 88px; height: 2px;
  background: linear-gradient(90deg, var(--rim), var(--cyan)); }

/* The teaser rises out of the fog and sinks back into it. */
.teaser { background: #000; border-bottom: 0; position: relative; }
.teaser::before, .teaser::after { content: ""; position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; height: 14%; }
.teaser::before { top: 0; background: linear-gradient(180deg, var(--ink), rgba(5, 11, 24, 0)); }
.teaser::after { bottom: 0; background: linear-gradient(0deg, var(--ink), rgba(5, 11, 24, 0)); }
.teaser button { z-index: 2; border-radius: 2px; background: rgba(5, 11, 24, 0.7); }
.teaser button:hover { color: var(--rim); }

/* --- The show: its running order --------------------------------------------- */
.show { position: relative; overflow: clip; isolation: isolate; }
.show::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 60%; pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--fog-cool), 0.07), transparent); }
.slate { border-radius: 2px; border-color: rgba(214, 228, 240, 0.2); background: rgba(10, 22, 40, 0.6); }
.slate dt, .role .for span, .phone-rows dt { font-family: var(--mono); font-weight: 600; letter-spacing: 0.14em; }
.slate dd { font-family: var(--mono); font-size: 17px; font-weight: 600; letter-spacing: 0.03em; }
.stages, .stages li, .stages li + li, .stages li:nth-child(n) { border-left: 0; }
.stages { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid rgba(34, 224, 192, 0.5); }
.stages li, .stages li + li, .stages li:nth-child(n), .stages li:nth-child(n+3), .stages li:nth-child(n+4) {
  display: grid; grid-template-columns: 56px minmax(0, 150px) minmax(0, 360px) minmax(0, 1fr); align-items: baseline;
  gap: 4px 24px; padding: 16px 0; border-top: 0; border-bottom: 1px solid var(--line); background: none; }
.stages .n { font-family: var(--mono); font-weight: 600; font-size: 15px; color: var(--muted); }
.stages strong { font-family: var(--body); font-size: 19px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--fg); }
.stages .fig { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3vw, 42px); line-height: 1; letter-spacing: 0.01em;
  text-transform: uppercase; white-space: nowrap; display: flex; align-items: baseline; gap: 10px; color: var(--fg); }
.stages .fig small { font-family: var(--body); font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.stages li:nth-child(5) .fig, .stages li:nth-child(6) .fig { color: var(--rim); }
.stages .note { font-size: 16px; color: var(--soft); max-width: 52ch; }
@media (max-width: 760px) {
  .stages li, .stages li + li, .stages li:nth-child(n), .stages li:nth-child(n+3), .stages li:nth-child(n+4) {
    grid-template-columns: 36px minmax(0, 1fr); }
  .stages .fig, .stages .note { grid-column: 2; }
}

/* --- Provenance: cyan fog from the right ------------------------------------- */
.prov { position: relative; isolation: isolate; overflow: clip; }
.prov::before { content: ""; position: absolute; z-index: -1; right: 0; top: 0; width: 60%; height: 80%; pointer-events: none;
  filter: blur(60px); background: linear-gradient(250deg, rgba(var(--fog-cool), 0.10), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%); mask-image: linear-gradient(180deg, transparent, #000 30%); }
.prov-points { border-top-color: rgba(34, 224, 192, 0.3); }

/* --- Product screens: lit from the top, falling off toward the base, with a dim
   reflection on the wet street under them. ------------------------------------ */
.lit { position: relative; border-color: rgba(214, 228, 240, 0.16); border-radius: 2px; background: #0a1626; overflow: visible; }
.lit > img { position: relative; }
/* Each screen is the one clear thing in its own bank of fog: cyan behind the
   screens on the right, orange behind those on the left. */
.who { overflow: clip; }
.role { position: relative; isolation: isolate; }
.role::before { content: ""; position: absolute; z-index: -1; top: 8%; bottom: 8%; width: 62%; right: -8%; pointer-events: none;
  filter: blur(70px); background: linear-gradient(260deg, rgba(var(--fog-cool), 0.16), rgba(var(--fog-cool), 0.05) 55%, transparent); }
.role:nth-of-type(even)::before { right: auto; left: -8%;
  background: linear-gradient(100deg, rgba(var(--fog-warm), 0.17), rgba(var(--fog-warm), 0.05) 55%, transparent); }
@media (max-width: 820px) {
  .role::before, .role:nth-of-type(even)::before { left: -10%; right: -10%; width: auto; top: 40%; bottom: 0; }
}
.shot.lit figcaption, .prov-shot figcaption { font-family: var(--mono); font-size: 14px; letter-spacing: 0.03em; color: var(--muted); }
.role { border-top-color: rgba(214, 228, 240, 0.08); }
.role li::before { background: var(--rim); }
.role .for { font-family: var(--mono); font-size: 15px; font-weight: 500; }
.phone-rows .flagged dl div:last-child dd { outline-color: var(--cyan); }

/* --- Forged in production: the end credits ----------------------------------- */
.forged .wrap { text-align: center; display: grid; justify-items: center; }
.forged h2 { margin-bottom: 40px; }
.forged .credits { grid-template-columns: minmax(0, 1fr); border-top: 0; max-width: 720px; width: 100%; gap: 0; }
.forged .credits li, .forged .credits li + li { padding: 18px 0; border-left: 0; justify-items: center; }
.forged .credits .name { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4vw, 52px); color: var(--fg); }
.forged .credits .facts { font-family: var(--body); color: var(--soft); max-width: 44ch; }
.forged-note { margin-top: 36px; max-width: 62ch; }
.forged-fine { font-family: var(--mono); letter-spacing: 0.04em; }

/* --- FAQ: the quiet passage --------------------------------------------------- */
.faq-list summary { font-weight: 500; font-size: 18px; }
.faq-list summary:hover { color: var(--rim); }
.faq-list summary::after { content: ""; width: 16px; height: 16px; background: var(--rim);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2v12M2 8h12' stroke='%23000' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2v12M2 8h12' stroke='%23000' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") center / contain no-repeat; }
.faq-list details[open] summary::after { content: "";
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h12' stroke='%23000' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h12' stroke='%23000' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); }
.arrow { width: 14px; height: 14px; display: inline-block; vertical-align: -1px; margin-left: 4px; }

/* --- Close: orange fog drifting in from the left over the way in --------------- */
.close { position: relative; isolation: isolate; text-align: left; overflow-x: clip; }
.close .wrap > * { position: relative; }
.close .practical { position: relative; display: block; margin-bottom: 8px; }
.close::before { content: ""; position: absolute; z-index: -1; left: -10%; top: -120px; width: 70%; height: calc(100% + 120px); pointer-events: none;
  filter: blur(70px); background: linear-gradient(90deg, rgba(var(--fog-warm), 0.16), rgba(var(--fog-warm), 0) 80%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%); mask-image: linear-gradient(180deg, transparent, #000 35%); }
.close h2 { font-size: clamp(48px, 7vw, 104px); line-height: 0.9; }

footer .wrap { font-family: var(--mono); font-size: 14px; letter-spacing: 0.03em; }

@media (max-width: 640px) {
  .hero { padding-block: 64px 44px; }
  .fog.warm { width: 100%; }
  .fog.cool { width: 90%; }
}

/* User direction: darker blues, greens and turquoise. Buttons are turquoise
   with navy labels; headings run ice blue into sea green top to bottom. Gold
   stays as the one warm accent. Body copy stays cool white. */
:root { --btn: #14b8a0; --btn-hi: #2fd3bb; --title-top: #6f9cff; --title-bottom: #5fd8b0; }
.btn-primary { background: var(--btn); color: #04131c; }
.btn-primary:hover { background: var(--btn-hi); }
.btn-quiet:hover { border-color: var(--btn); }
/* Headings are a solid, muted slate blue: quiet against the navy, with gold the brightest colour on the page (5.4:1 on the night, 4.9:1 on the opening sky). */
:root { --title-red: #6f86aa; }
h1, h2 { background: none; color: var(--title-red); }
/* LOFT in the headline: gold into pale gold. */
.hero h1 .accent, .close h2 .accent {
  background: linear-gradient(180deg, #ffb81f 0%, #ffe07a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1, .close h2 { color: var(--title-red); }
/* Production titles in the credits run gold, like the accent words. */
.forged .credits .name {
  background: linear-gradient(180deg, #ffb81f 0%, #ffe07a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --- Inner pages: the same night fog behind every page head ----------------- */
.page-head { position: relative; isolation: isolate; overflow: clip; }
.page-head::before, .page-head::after { content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: -20%; height: 120%; filter: blur(70px);
  -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); }
.page-head::before { left: -15%; width: 60%;
  background: linear-gradient(100deg, rgba(var(--fog-warm), 0.42) 0%, rgba(var(--fog-warm), 0.14) 50%, rgba(var(--fog-warm), 0) 85%); }
.page-head::after { right: -15%; width: 55%;
  background: linear-gradient(260deg, rgba(var(--fog-cool), 0.26) 0%, rgba(var(--fog-cool), 0.1) 50%, rgba(var(--fog-cool), 0) 85%); }

/* Fog banks bleed past their sections; never let them widen the page. */
html, body { overflow-x: clip; }

/* Founders' portraits on the company page: black-and-white photos toned navy
   to cool white, set beside the bio with the head about a third from the top. */
/* The name heads the text column; the photo starts level with the gold role
   line and runs down to the end of the bio, so it is exactly as tall as the
   text beside it. */
.co-team article:has(.co-portrait) { grid-template-columns: 176px minmax(0, 1fr); column-gap: 24px; row-gap: 8px;
  grid-template-rows: auto auto auto; align-content: start; align-items: start; }
.co-bio { display: contents; }
.co-bio h3 { grid-column: 2; grid-row: 1; }
.co-bio .eyebrow { grid-column: 2; grid-row: 2; }
.co-bio p:last-child { grid-column: 2; grid-row: 3; }
.co-portrait { grid-column: 1; grid-row: 2 / 4; align-self: stretch; width: 100%; height: 0; min-height: 100%;
  object-fit: cover; object-position: 50% 30%; border: 1px solid var(--line); border-radius: 6px; }
/* On a phone the photo sits beside the name and role only; the bio runs full
   width underneath so it isn't squeezed into a thin column. */
@media (max-width: 520px) {
  .co-team article:has(.co-portrait) { grid-template-columns: 88px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 16px; row-gap: 6px; }
  .co-portrait { width: 88px; height: auto; min-height: 0; aspect-ratio: 4 / 5; grid-column: 1; grid-row: 1 / span 2; }
  .co-bio h3 { grid-column: 2; grid-row: 1; }
  .co-bio .eyebrow { grid-column: 2; grid-row: 2; }
  .co-bio { display: contents; }
  .co-bio h3 { align-self: end; }
  .co-bio .eyebrow { align-self: start; }
  .co-bio p:last-child { grid-column: 1 / -1; grid-row: 3; margin-top: 12px; }
}


/* The opening is a grid, and its centred wrap would shrink to the headline's width;
   keep it full width so the opening lines up with the rest of the page. */
.hero > .wrap { width: 100%; }
