/* ==========================================================================
   11OCLOCK — site styles
   Plain CSS, no build step. Edit and upload as-is.

   1. Design tokens
   2. Base
   3. Layout helpers
   4. Components (buttons, wordmark, placeholders, preview bar)
   5. Header and navigation
   6. Sections
   7. Footer
   8. Motion
   ========================================================================== */

/* 1. Design tokens
   ------------------------------------------------------------------------ */
:root {
  /* Brand. #E52521 is the logo red: use it for the mark, rules and graphics.
     For text and buttons use the contrast-checked variants below. */
  --red: #e52521;
  --red-fill: #d11f1b;      /* button fill: white text 5.35:1 */
  --red-on-dark: #ff4a45;   /* red text on --ink: 6.02:1 */
  --red-on-light: #c81e1a;  /* red text on --paper: 5.27:1 */

  /* Neutrals */
  --ink: #080808;           /* near-black page background */
  --ink-2: #111111;         /* raised surface on dark */
  --paper: #f5f5f5;         /* light section background */
  --white: #ffffff;
  --text-on-dark: #f7f7f7;  /* 18.7:1 on --ink */
  --muted-on-dark: #a6a6a6; /* 8.2:1 on --ink */
  --text-on-light: #171717; /* 16.4:1 on --paper */
  --muted-on-light: #5c5c5c;/* 6.1:1 on --paper */
  --line-dark: #303030;

  /* White tint scale for layering on dark: logos, hairlines, muted UI.
     Text uses --white-64 or stronger (≥ 8:1 on --ink). */
  --white-80: rgb(255 255 255 / 0.8);
  --white-64: rgb(255 255 255 / 0.64);
  --white-48: rgb(255 255 255 / 0.48);
  --white-32: rgb(255 255 255 / 0.32);
  --white-24: rgb(255 255 255 / 0.24);
  --white-16: rgb(255 255 255 / 0.16);
  --white-12: rgb(255 255 255 / 0.12);
  --white-8: rgb(255 255 255 / 0.08);
  --line-light: #d9d9d9;

  /* Typography. System fonts only: no external requests.
     To self-host a licensed font later, add @font-face here (see README). */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --step-2: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem);
  --step-3: clamp(2rem, 1.4rem + 2.6vw, 3.75rem);
  --step-4: clamp(2.625rem, 1.5rem + 5vw, 5.75rem);

  --leading-tight: 1.05;
  --leading-snug: 1.25;
  --leading-body: 1.6;

  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 600;

  --tracking-display: -0.035em;
  --tracking-label: 0.08em;

  /* Spacing scale */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --space-3xl: 6rem;

  /* Layout */
  --content: 80rem;          /* 1280px max content width */
  --measure: 38rem;          /* comfortable line length for paragraphs */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(4.5rem, 3rem + 7vw, 9rem);
  --header-h: 4.5rem;

  /* Shape */
  --radius-s: 0.375rem;
  --radius-m: 0.75rem;
  --radius-pill: 999px;
  --shadow-soft: 0 1px 2px rgb(0 0 0 / 0.06), 0 8px 24px rgb(0 0 0 / 0.08);

  /* Focus */
  --focus-ring: 3px solid var(--red-on-dark);
  --focus-offset: 3px;

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
  --dur-base: 300ms;
  --dur-fast: 160ms;
  --dur-med: 320ms;

  /* Breakpoints (for reference; custom properties cannot be used in media queries):
     40em  (640px)  — two-column card grids
     56em  (896px)  — desktop navigation, split hero
     72em  (1152px) — four-column process */
}

/* 2. Base
   ------------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: dark;
}

/* Header is sticky from 56em up: keep anchored headings clear of it. */
@media (min-width: 56em) {
  html { scroll-padding-top: calc(var(--header-h) + var(--space-s)); }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text-on-dark);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

h1, h2, h3 {
  font-weight: var(--weight-light);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-tight);
  text-wrap: balance;
}

p { text-wrap: pretty; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-underline-offset: 0.2em; }

:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
  border-radius: var(--radius-s);
}
.section--light :focus-visible { outline-color: var(--red-on-light); }

::selection { background: var(--red-fill); color: var(--white); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-s);
  top: -100px;
  z-index: 100;
  padding: var(--space-xs) var(--space-s);
  background: var(--white);
  color: var(--ink);
  font-weight: var(--weight-medium);
  border-radius: var(--radius-s);
  text-decoration: none;
}
.skip-link:focus { top: var(--space-s); }

/* 3. Layout helpers
   ------------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: calc(var(--content) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); }

/* Separates two consecutive dark sections. */
.section--divided { border-top: 1px solid var(--line-dark); }

.section--light {
  background: var(--paper);
  color: var(--text-on-light);
  color-scheme: light;
}

.section-head {
  display: grid;
  gap: var(--space-m);
  margin-bottom: clamp(var(--space-xl), 6vw, var(--space-3xl));
}

@media (min-width: 56em) {
  .section-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    column-gap: var(--space-2xl);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-size: var(--step--1);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.eyebrow::before {
  content: "";
  width: 0.5rem; height: 0.5rem;
  background: var(--red);
  /* Angular accent echoing the logo's cut corners */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 35% 100%, 0 65%);
}
.section--light .eyebrow { color: var(--muted-on-light); }

.section-title { font-size: var(--step-3); }

.lede {
  max-width: var(--measure);
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--muted-on-dark);
}
.section--light .lede { color: var(--muted-on-light); }

/* 4. Components
   ------------------------------------------------------------------------ */

/* Buttons */
.btn {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  --btn-border: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  min-height: 2.75rem;        /* 44px touch target */
  padding: 0.625rem 1.25rem;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: var(--weight-medium);
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}

.btn--primary {
  --btn-bg: var(--red-fill);
  --btn-fg: var(--white);
  --btn-border: var(--red-fill);
}
.btn--primary:hover { --btn-bg: #b51a17; --btn-border: #b51a17; }

.btn--ghost { --btn-border: var(--white-24); }
.btn--ghost:hover { --btn-border: var(--text-on-dark); }

.btn .arrow {
  width: 1em; height: 1em;
  transition: transform var(--dur-fast) var(--ease-out);
}
.btn:hover .arrow { transform: translateX(3px); }

/* Wordmark: the logo mark (the "11") followed by "OCLOCK" in type.
   Source: assets/source/11oclock-logo-original.png (raster, 1254px);
   derivatives in assets/images/. */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 1.25rem;
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
  color: var(--text-on-dark);
}
.wordmark__mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-s);
}

/* Placeholders: visibly different from final copy so nothing ships by accident. */
.ph {
  font-family: var(--font-mono);
  font-size: 0.85em;
  font-weight: var(--weight-regular);
  letter-spacing: 0;
  color: #ffb3a8;
  background: rgb(229 37 33 / 0.12);
  outline: 1px dashed rgb(229 37 33 / 0.6);
  outline-offset: 1px;
  border-radius: 2px;
  padding: 0 0.25em;
}
.section--light .ph {
  color: #8f1512;
  background: rgb(229 37 33 / 0.08);
}

/* Pre-launch notice. Remove the element from each page at launch. */
.preview-bar {
  padding: var(--space-2xs) var(--gutter);
  background: #2a0b0a;
  color: #ffd2cc;
  font-size: var(--step--1);
  text-align: center;
  border-bottom: 1px solid rgb(229 37 33 / 0.4);
}

/* 5. Header and navigation
   ------------------------------------------------------------------------ */
.site-header {
  position: relative;
  z-index: 50;
  background: rgb(8 8 8 / 0.94);
  border-bottom: 1px solid transparent;
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header {
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    backdrop-filter: saturate(140%) blur(14px);
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  min-height: var(--header-h);
}

.nav-desktop { display: none; }

.nav-list {
  display: flex;
  gap: var(--space-xs);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-block;
  padding: var(--space-2xs) var(--space-xs);
  color: var(--muted-on-dark);
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: var(--radius-s);
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-list a:hover,
.nav-list a[aria-current="page"] { color: var(--text-on-dark); }

.site-header__inner > .btn--primary { display: none; }

/* Mobile menu: native <details>, so it works without JavaScript. */
.menu > summary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  min-height: 2.75rem;
  padding: 0 var(--space-s);
  border: 1px solid var(--white-24);
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: var(--weight-medium);
  list-style: none;
  cursor: pointer;
}
.menu > summary::-webkit-details-marker { display: none; }

.menu__icon { width: 1rem; height: 1rem; }
.menu__icon line { transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast); transform-origin: center; }
.menu[open] .menu__icon .l1 { transform: translateY(4px) rotate(45deg); }
.menu[open] .menu__icon .l2 { opacity: 0; }
.menu[open] .menu__icon .l3 { transform: translateY(-4px) rotate(-45deg); }

.menu__panel {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  padding: var(--space-s) var(--gutter) var(--space-l);
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
}
.menu__panel ul { list-style: none; margin: 0 0 var(--space-m); padding: 0; }
.menu__panel li + li { border-top: 1px solid var(--line-dark); }
.menu__panel ul a {
  display: block;
  padding: var(--space-s) 0;
  font-size: var(--step-2);
  font-weight: var(--weight-light);
  letter-spacing: var(--tracking-display);
  text-decoration: none;
}

@media (min-width: 56em) {
  .site-header {
    position: sticky;
    top: 0;
    border-bottom-color: var(--white-8);
  }
  .menu { display: none; }
  .nav-desktop { display: block; }
  .site-header__inner > .btn--primary { display: inline-flex; }
}

/* 6. Sections
   ------------------------------------------------------------------------ */

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(calc(100svh - var(--header-h)), 60rem);
  padding-block: var(--space-2xl) var(--space-3xl);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-2xl);
}

@media (min-width: 56em) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: var(--space-2xl);
  }
}

/* Client reel: clients and the systems delivered for them, floating past
   slowly. Desktop: a right-aligned vertical stack drifting upward.
   Mobile: a horizontal row drifting left. The track is duplicated
   (second copy aria-hidden) so the loop is seamless. Pauses on hover or
   keyboard focus; static for reduced-motion users. */
.hero__clients { min-width: 0; }

.client-reel {
  --reel-gap: 2rem;
  position: relative;
  overflow: hidden;
  padding-top: var(--space-l);
  border-top: 1px solid var(--white-12);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.client-reel__inner {
  display: flex;
  width: max-content;
}

.client-reel__track {
  display: flex;
  gap: var(--reel-gap);
  margin: 0;
  padding: 0 var(--reel-gap) 0 0;
  list-style: none;
}

.client-card {
  display: grid;
  gap: var(--space-3xs);
  justify-items: start;
  max-width: 16rem;
  color: var(--white-64);
  transition: color var(--dur-base) var(--ease-out-cubic);
}
.client-card:hover { color: var(--white); }

.client-card__work {
  font-size: var(--step--1);
  line-height: 1.4;
  color: var(--white-48);
}

/* Approved logos: monochrome white SVGs; height drives the size. */
.client-card img {
  width: auto;
  height: 1.75rem;
  max-width: 8.5rem;
  object-fit: contain;
}

@media (min-width: 56em) {
  .hero__clients { align-self: center; justify-self: end; }

  .client-reel {
    height: min(26rem, 60svh);
    padding: 0;
    border-top: 0;
    -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
    mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
  }

  .client-reel__inner {
    flex-direction: column;
    align-items: flex-end;
    width: auto;
  }

  .client-reel__track {
    position: relative;
    width: fit-content;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 2rem;
    border-top: 0;
    padding: 0 0 2rem;
  }

  .client-card { justify-items: end; text-align: right; }
}

@media (prefers-reduced-motion: no-preference) {
  .client-reel__inner { animation: reel-x 40s linear infinite; }
  .client-reel:hover .client-reel__inner,
  .client-reel:focus-within .client-reel__inner { animation-play-state: paused; }

  @media (min-width: 56em) {
    .client-reel__inner { animation-name: reel-y; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-reel__track[aria-hidden="true"] { display: none; }
  .client-reel { height: auto; -webkit-mask-image: none; mask-image: none; }
  .client-reel__track { flex-wrap: wrap; }
}

@keyframes reel-x { to { transform: translateX(-50%); } }
@keyframes reel-y { to { transform: translateY(-50%); } }

.hero__title {
  max-width: 13ch;
  font-size: var(--step-4);
  line-height: 1.02;
}
.hero__title em {
  font-style: normal;
  color: var(--red-on-dark);
}

.hero__copy {
  max-width: 34rem;
  margin-top: var(--space-l);
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--muted-on-dark);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-xl);
}

/* Decorative dial: the studio's name as a composition (hour hand on 11). */
.hero__dial {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -62%;
  width: min(48rem, 120vw);
  aspect-ratio: 1;
  translate: 0 -50%;
  opacity: 0.3;
  pointer-events: none;
}

@media (min-width: 40em) {
  .hero__dial { right: -30%; opacity: 0.45; }
}

@media (min-width: 56em) {
  /* Sits between the headline and the client column, clear of both. */
  .hero__dial {
    right: max(13rem, calc((100vw - var(--content)) / 2 + 12rem));
    width: min(32rem, 34vw, calc(100svh - var(--header-h) - 4rem));
    min-width: 22rem;
    opacity: 1;
  }
}

.dial__ring { fill: none; stroke: var(--line-dark); stroke-width: 1; }
.dial__minutes { fill: none; stroke: #4a4a4a; stroke-width: 10; }
.dial__hours { fill: none; stroke: #8a8a8a; stroke-width: 22; }
.dial__arc { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; }
.dial__hand { stroke-linecap: round; }
.dial__hand--minute { stroke: var(--text-on-dark); stroke-width: 6; }
.dial__hand--hour { stroke: var(--red); stroke-width: 10; }
.dial__hand--second { stroke: var(--muted-on-dark); stroke-width: 1.5; transform-origin: 300px 300px; }
.dial__pin { fill: var(--text-on-dark); }

.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: var(--space-l);
  display: none;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--step--1);
  color: var(--muted-on-dark);
  text-decoration: none;
}
.hero__scroll span {
  width: 1px; height: 2.5rem;
  background: linear-gradient(var(--muted-on-dark), transparent);
}
/* Only when there is room below the actions. */
@media (min-width: 56em) and (min-height: 56em) {
  .hero__scroll { display: inline-flex; left: max(var(--gutter), calc((100vw - var(--content)) / 2)); }
}

/* Services */
.services { border-top: 1px solid var(--line-light); }

.service {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: var(--space-2xs) var(--space-m);
  padding-block: clamp(var(--space-l), 3vw, var(--space-xl));
  border-bottom: 1px solid var(--line-light);
}

.service__num {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--red-on-light);
  padding-top: 0.45em;
}

.service__title { font-size: var(--step-2); }

.service__body {
  grid-column: 2;
  max-width: var(--measure);
  color: var(--muted-on-light);
}

.tags {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  margin-top: var(--space-2xs);
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 0.2rem 0.65rem;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  line-height: 1.5;
  opacity: 0.8;
}

@media (min-width: 56em) {
  .service {
    grid-template-columns: 4rem minmax(0, 5fr) minmax(0, 6fr);
    align-items: start;
  }
  .service__body { grid-column: 3; grid-row: 1; }
  .tags { grid-column: 3; grid-row: 2; }
}

/* Process */
.steps {
  display: grid;
  gap: var(--space-xl) var(--space-l);
  counter-reset: step;
}

@media (min-width: 40em) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72em) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.step {
  position: relative;
  padding-top: var(--space-m);
  border-top: 1px solid var(--white-32);
}
.section--light .step { border-top-color: var(--text-on-light); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: var(--space-xl);
  font-size: var(--step-3);
  font-weight: var(--weight-light);
  letter-spacing: var(--tracking-display);
  line-height: 1;
  color: var(--red-on-dark);
}
.section--light .step::before { color: var(--red-on-light); }
.step h3 { font-size: var(--step-2); margin-bottom: var(--space-s); }
.step p { color: var(--muted-on-dark); }
.section--light .step p { color: var(--muted-on-light); }

/* About */
.about__grid {
  display: grid;
  gap: var(--space-2xl);
}

@media (min-width: 56em) {
  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
}

.about__body { display: grid; gap: var(--space-m); }
.about__body p { color: var(--muted-on-dark); max-width: var(--measure); }
.about__body p:first-child { color: var(--text-on-dark); font-size: var(--step-1); }

.partners {
  display: grid;
  gap: var(--space-s);
  padding: 0;
  list-style: none;
}
@media (min-width: 40em) { .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.partner {
  display: grid;
  gap: var(--space-2xs);
  padding: var(--space-l);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-m);
  background: var(--ink-2);
}

.partner__avatar {
  width: 3.5rem; height: 3.5rem;
  margin-bottom: var(--space-s);
  border-radius: 50%;
  border: 1px dashed var(--muted-on-dark);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  color: var(--muted-on-dark);
}

.partner__name { font-size: var(--step-1); font-weight: var(--weight-medium); letter-spacing: -0.01em; }
.partner__role { color: var(--muted-on-dark); font-size: 0.9375rem; }
.partner__email {
  justify-self: start;
  font-size: 0.9375rem;
  color: var(--text-on-dark);
  text-decoration-color: var(--white-32);
  overflow-wrap: anywhere;
}
.partner__email:hover { text-decoration-color: var(--red-on-dark); }

.contact__methods a { text-decoration-color: var(--white-32); }
.contact__methods a:hover { text-decoration-color: var(--red-on-dark); }


/* Standards */
.standards {
  display: grid;
  gap: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}
@media (min-width: 40em) {
  .standards { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-2xl); }
}
@media (min-width: 72em) {
  .standards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.standard {
  padding-block: var(--space-l);
  border-bottom: 1px solid var(--line-light);
}
.standard h3 {
  font-size: var(--step-1);
  font-weight: var(--weight-medium);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2xs);
}
.standard p { color: var(--muted-on-light); }

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
}
.contact::after {
  /* Angular red cut, echoing the logo */
  content: "";
  position: absolute;
  z-index: -1;
  right: 0; bottom: 0;
  width: clamp(8rem, 22vw, 20rem);
  aspect-ratio: 1;
  background: var(--red);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0.9;
}

.contact__title { font-size: var(--step-4); max-width: 12ch; }

.contact__copy { margin-top: var(--space-l); }

.contact__methods {
  display: grid;
  gap: var(--space-s);
  margin-top: var(--space-xl);
  padding: 0;
  list-style: none;
}
@media (min-width: 40em) {
  .contact__methods { grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: var(--space-xl); }
}
.contact__methods dt {
  font-size: var(--step--1);
  color: var(--muted-on-dark);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}
.contact__methods dd { margin-top: var(--space-3xs); font-size: var(--step-1); }

/* 7. Footer
   ------------------------------------------------------------------------ */
.site-footer {
  padding-block: var(--space-2xl) var(--space-l);
  border-top: 1px solid var(--line-dark);
  font-size: 0.9375rem;
  color: var(--muted-on-dark);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-xl);
}
@media (min-width: 56em) {
  .site-footer__grid { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); }
}

.site-footer h2 {
  margin-bottom: var(--space-s);
  font-size: var(--step--1);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-on-dark);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2xs); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text-on-dark); text-decoration: underline; }
.site-footer__tagline { margin-top: var(--space-s); max-width: 22rem; }

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-s);
  margin-top: var(--space-2xl);
  padding-top: var(--space-l);
  border-top: 1px solid var(--line-dark);
  font-size: var(--step--1);
}

/* Content pages (privacy, data practices, FAQ, trust)
   ------------------------------------------------------------------------ */
.page-hero {
  padding-block: clamp(4rem, 3rem + 5vw, 7.5rem) clamp(3rem, 2rem + 4vw, 5.5rem);
  border-bottom: 1px solid var(--line-dark);
}
.page-hero h1 { font-size: var(--step-4); max-width: 16ch; margin-top: var(--space-s); }
.page-hero .lede { margin-top: var(--space-l); }
.page-meta {
  margin-top: var(--space-l);
  font-size: var(--step--1);
  color: var(--muted-on-dark);
}

.page-body {
  display: grid;
  gap: var(--space-2xl);
}
@media (min-width: 56em) {
  .page-body { grid-template-columns: 15rem minmax(0, 1fr); column-gap: var(--space-3xl); align-items: start; }
}

.toc { font-size: 0.9375rem; }
.toc h2 {
  margin-bottom: var(--space-s);
  font-size: var(--step--1);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--muted-on-light);
}
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2xs); }
.toc a { color: var(--muted-on-light); text-decoration: none; }
.toc a:hover { color: var(--text-on-light); text-decoration: underline; }
@media (min-width: 56em) {
  .toc { position: sticky; top: calc(var(--header-h) + var(--space-l)); }
}

.prose { max-width: 44rem; }
.prose > * + * { margin-top: var(--space-s); }
.prose h2 {
  margin-top: var(--space-2xl);
  padding-top: var(--space-l);
  border-top: 1px solid var(--line-light);
  font-size: var(--step-2);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 {
  margin-top: var(--space-l);
  font-size: var(--step-1);
  font-weight: var(--weight-medium);
  letter-spacing: -0.01em;
}
.prose p, .prose li { color: #3d3d3d; }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: var(--space-2xs); }
.prose a { color: var(--red-on-light); }
.prose strong { color: var(--text-on-light); font-weight: var(--weight-bold); }

.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.prose th, .prose td { padding: var(--space-xs) var(--space-s) var(--space-xs) 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-light); }
.prose th { font-weight: var(--weight-medium); color: var(--text-on-light); }
.table-scroll { overflow-x: auto; }

.notice {
  padding: var(--space-s) var(--space-m);
  border-left: 3px solid var(--red);
  background: #fff;
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-size: 0.9375rem;
}

/* FAQ accordion: native <details>, no JavaScript. */
.faq { border-top: 1px solid var(--line-light); }
.faq + h2 { margin-top: var(--space-2xl); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-m);
  padding-block: var(--space-m);
  font-size: var(--step-1);
  font-weight: var(--weight-medium);
  letter-spacing: -0.01em;
  color: var(--text-on-light);
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-weight: var(--weight-light);
  font-size: 1.5em;
  line-height: 1;
  color: var(--red-on-light);
  transition: transform var(--dur-fast) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-bottom: var(--space-m); max-width: 40rem; }
.faq details > div > * + * { margin-top: var(--space-s); }

/* Trust overview cards */
.trust-grid {
  display: grid;
  gap: var(--space-s);
  padding: 0;
  list-style: none;
}
@media (min-width: 40em) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.prose .trust-grid { padding-left: 0; }
.prose .trust-grid li + li { margin-top: 0; }
.trust-grid li {
  padding: var(--space-m);
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-m);
}
.trust-grid h3 { margin: 0 0 var(--space-2xs); }
.trust-grid p { margin: 0; }

/* 404 */
.error-page {
  min-height: calc(100svh - var(--header-h) * 2);
  display: grid;
  align-content: center;
  gap: var(--space-l);
}
.error-page__code { font-family: var(--font-mono); color: var(--red-on-dark); }
.error-page h1 { font-size: var(--step-4); }

/* 8. Motion
   All motion is decorative and switched off for reduced-motion users.
   ------------------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .hero__content > * {
    animation: rise 900ms var(--ease-out) both;
  }
  .hero__content > :nth-child(2) { animation-delay: 80ms; }
  .hero__content > :nth-child(3) { animation-delay: 160ms; }
  .hero__content > :nth-child(4) { animation-delay: 240ms; }

  .hero__dial { animation: fade 1600ms var(--ease-out) both 200ms; }
  .dial__hand--second { animation: sweep 60s linear infinite; }

  /* Scroll reveal, progressive: only where scroll-driven animations exist. */
  @supports (animation-timeline: view()) {
    .reveal {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes fade {
  from { opacity: 0; }
}

@keyframes sweep {
  to { transform: rotate(360deg); }
}

/* Print: keep it readable and ink-friendly */
@media print {
  .site-header, .preview-bar, .hero__dial, .hero__scroll, .contact::after { display: none !important; }
  body, .section--light { background: #fff; color: #000; }
}
