/* Layout concept: left-aligned editorial page. Big condensed type carries the hero,
   a vault combination dial (pure CSS) settles on "02" beside it, services read as
   labelled drawers, and the process runs as a real four-step sequence in a dark band. */

:root {
  --paper: #EDF0EE;
  --panel: #F8FAF9;
  --ink: #10211F;
  --ink-soft: #3F5552;
  --line: #C4CFCC;
  --brass: #8A5A0E;
  --brass-bright: #C58B22;
  --band: #12302E;
  --band-ink: #E8F0EE;
  --band-soft: #A9BEBA;
  --band-line: #2F4D4A;
  --btn-bg: #12302E;
  --btn-fg: #F2F6F5;
  --btn-hover-bg: #C58B22;
  --btn-hover-fg: #10211F;
  --focus: #8A5A0E;

  --font-display: "Big Shoulders Display", "Archivo Narrow", "Arial Narrow", Impact, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(20px, 5vw, 56px);
  --maxw: 1240px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0D1918;
    --panel: #132321;
    --ink: #E6EEEC;
    --ink-soft: #A3B7B3;
    --line: #28403D;
    --brass: #E0A93B;
    --brass-bright: #E0A93B;
    --band: #16302D;
    --band-ink: #E8F0EE;
    --band-soft: #A9BEBA;
    --band-line: #2F4D4A;
    --btn-bg: #E6EEEC;
    --btn-fg: #0D1918;
    --btn-hover-bg: #E0A93B;
    --btn-hover-fg: #0D1918;
    --focus: #E0A93B;
    color-scheme: dark;
  }
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  background: var(--btn-bg); color: var(--btn-fg);
  padding: 10px 16px; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Type */
.h2, .h3, .hero__title, .step__title, .wordmark__name, .dial__num {
  font-family: var(--font-display);
  text-transform: uppercase;
  text-wrap: balance;
}
.hero__title {
  font-weight: 800;
  font-size: clamp(3.4rem, 9.5vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0.002em;
}
.hero__accent { color: var(--brass); }
.h2 {
  font-weight: 800;
  font-size: clamp(2.5rem, 5.6vw, 4.1rem);
  line-height: 0.95;
}
.h3 {
  font-weight: 800;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  line-height: 1;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow--band { color: var(--band-soft); }
.lede { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.55; max-width: 34rem; color: var(--ink-soft); }
.fineprint { font-size: 0.92rem; color: var(--ink-soft); max-width: 32rem; }

/* Buttons and links */
.btn {
  display: inline-block;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  padding: 16px 26px;
  border-radius: 2px;
  transition: background-color .18s ease, color .18s ease;
}
.btn:hover { background: var(--btn-hover-bg); color: var(--btn-hover-fg); }
.btn--small { padding: 10px 18px; font-size: 0.95rem; }

.textlink {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: var(--brass-bright);
}
.textlink:hover { text-decoration-color: var(--ink); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 16px;
}
.wordmark { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; }
.wordmark__name { font-weight: 900; font-size: 1.9rem; line-height: 1; letter-spacing: 0.02em; }
.wordmark__tag {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-soft);
}
.nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); }
.nav__link { text-decoration: none; font-weight: 500; font-size: 0.98rem; }
.nav__link:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--brass-bright); text-decoration-thickness: 2px; }
@media (max-width: 560px) { .nav__link { display: none; } }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.hero__copy { display: grid; gap: clamp(18px, 2.4vw, 28px); justify-items: start; min-width: 0; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Vault dial (pure CSS) */
.dial {
  --size: clamp(250px, 34vw, 440px);
  position: relative;
  width: var(--size);
  max-width: 100%;
  aspect-ratio: 1;
  justify-self: end;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 0 0 10px var(--paper), 0 0 0 11px var(--line);
}
@media (max-width: 860px) { .dial { justify-self: start; margin-inline-start: 11px; --size: min(300px, 76vw); } }

.dial__clip { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.dial__rotor {
  position: absolute; inset: 0; border-radius: 50%;
  transform: rotate(-7.2deg);
  animation: dial-in 2.8s cubic-bezier(.16, .84, .24, 1) both;
}
@keyframes dial-in { from { transform: rotate(-727.2deg); } }
@media (prefers-reduced-motion: reduce) { .dial__rotor { animation: none; } }

.dial__ticks { position: absolute; border-radius: 50%; inset: calc(var(--size) * 0.03); }
.dial__ticks--minor {
  background: repeating-conic-gradient(from -0.25deg, var(--ink) 0 0.5deg, transparent 0.5deg 3.6deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--size) * 0.035), #000 calc(100% - var(--size) * 0.035));
          mask: radial-gradient(farthest-side, transparent calc(100% - var(--size) * 0.035), #000 calc(100% - var(--size) * 0.035));
}
.dial__ticks--major {
  background: repeating-conic-gradient(from -0.5deg, var(--brass-bright) 0 1deg, transparent 1deg 36deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--size) * 0.07), #000 calc(100% - var(--size) * 0.07));
          mask: radial-gradient(farthest-side, transparent calc(100% - var(--size) * 0.07), #000 calc(100% - var(--size) * 0.07));
}
.dial__nums { position: absolute; inset: 0; margin: 0; }
.dial__nums li { position: absolute; inset: 0; transform: rotate(calc(var(--i) * 36deg)); text-align: center; }
.dial__nums span {
  position: absolute; top: calc(var(--size) * 0.125); left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(0.62rem, calc(var(--size) * 0.036), 1rem);
  line-height: 1; color: var(--ink-soft);
}
.dial__face {
  position: absolute; inset: 27%;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid; place-content: center; text-align: center; gap: 4px;
}
.dial__num { font-weight: 900; font-size: calc(var(--size) * 0.2); line-height: 0.85; }
.dial__label {
  font-family: var(--font-mono); font-size: clamp(0.55rem, calc(var(--size) * 0.03), 0.8rem);
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-soft); padding-left: 0.3em;
}
.dial__pointer {
  position: absolute; top: -17px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 9px solid transparent; border-right: 9px solid transparent;
  border-top: 18px solid var(--brass-bright);
}

/* Sections */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section__head { display: grid; gap: 14px; max-width: 42rem; margin-bottom: clamp(28px, 4vw, 52px); }
.section__intro { color: var(--ink-soft); max-width: 34rem; }

.drawers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 760px) { .drawers { grid-template-columns: minmax(0, 1fr); } }
.drawer {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(22px, 3vw, 34px);
  display: grid; gap: 14px; align-content: start;
  min-width: 0;
}
.drawer__label {
  justify-self: start;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); background: var(--paper);
  border: 1px solid var(--ink-soft); padding: 4px 10px;
}
.drawer p:last-child { color: var(--ink-soft); }

/* Process band */
.band { background: var(--band); color: var(--band-ink); }
.steps {
  counter-reset: step;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
}
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { counter-increment: step; border-top: 1px solid var(--band-line); padding-top: 18px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.step::before {
  content: counter(step);
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3.6rem, 6vw, 5rem); line-height: 0.85;
  color: var(--brass-bright);
}
.step__title { font-weight: 800; font-size: 1.7rem; line-height: 1; }
.step p { color: var(--band-soft); }

/* Closing call to action */
.cta__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.cta__side { display: grid; gap: 22px; justify-items: start; color: var(--ink-soft); max-width: 30rem; }
@media (max-width: 760px) { .cta__in { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 28px; font-size: 0.92rem; color: var(--ink-soft); }
.site-footer__in { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; }
.site-footer__brand { display: inline-flex; align-items: baseline; gap: 8px; color: var(--ink); }
.site-footer__brand .wordmark__name { font-size: 1.5rem; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (min-width: 720px) { .site-footer__nav { margin-inline-start: auto; } }
.site-footer__nav a { text-decoration: none; }
.site-footer__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__legal { flex-basis: 100%; }