/* ============================================================
   Perry International Capital Partners demo site
   Aesthetic: "Miami Institutional / Atlantic Modern"
   Base is a bright warm off-white; ink is deep Atlantic navy;
   the trust accent is ocean teal; powder blue #A6CAEC is the
   firm's real brand color, sampled from the logo tile.
   Gold appears only on numerals and a few hairlines.
   ============================================================ */

/* Self-hosted fonts (latin subsets). Schibsted and Hanken are
   variable fonts, one file per family. */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("assets/fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  /* Color tokens */
  --sand: #F7F5F0;        /* page base */
  --paper: #FFFFFF;       /* raised surfaces */
  --mist: #EAF2FA;        /* powder-blue tint, hero sky */
  --powder: #A6CAEC;      /* exact brand blue from the logo tile */
  --ink: #0F2029;         /* primary text, Atlantic navy-charcoal */
  --ink-soft: #44586490;  /* not used for text; decorative only */
  --muted: #4A5C68;       /* secondary text on light */
  --teal: #0E5A63;        /* primary accent: CTAs, signal line */
  --teal-deep: #093F46;   /* accent hover */
  --gold: #7E6119;        /* warm micro-accent on light (5.3:1 on sand, AA) */
  --gold-soft: #D9B96A;   /* warm micro-accent on dark numerals */
  --deep: #0C1B24;        /* dark section background */
  --deep-2: #12242F;      /* dark section card */
  --line: #E3DFD5;        /* hairlines on light */
  --line-dark: rgba(233, 238, 242, 0.14);
  --text-on-deep: #E9EEF2;
  --muted-on-deep: #A7B6BF;

  /* Type */
  --display: "Schibsted Grotesk", "Segoe UI", sans-serif;
  --body: "Hanken Grotesk", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "Consolas", monospace;

  /* Rhythm */
  --section-pad: clamp(4.5rem, 9vw, 7.5rem);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --measure: 62ch;
}

/* ---------- Reset & base ---------- */

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

html.js { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; }

p { margin: 0 0 1rem; }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}
/* Teal is invisible on the dark sections; powder reads 10:1 there. */
.performance :focus-visible,
.contact :focus-visible {
  outline-color: var(--powder);
}

/* Anchored sections land below the fixed header. */
[id] { scroll-margin-top: 5.5rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.wrap {
  max-width: 76rem;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.nav.is-scrolled {
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.25rem;
}
.nav-logo img { height: 48px; width: auto; }
.nav-links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.nav-links a:hover { color: var(--teal); }
/* The link rules above outrank .btn-primary; keep the CTA white. */
.nav-links a.btn-primary { color: #fff; }
.nav-links a.btn-primary:hover { color: #fff; }

.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.95rem 1.5rem;
  border-radius: 3px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
}
.btn-primary:hover {
  background: var(--teal-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(12, 27, 36, 0.18);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(0); }
.nav .btn { padding: 0.7rem 1.15rem; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

/* ---------- Hero ---------- */

/* Viewports taller than 2000px only occur in full-page screenshot
   tooling; stop the 92vh hero from ballooning there. */
@media (min-height: 2000px) {
  .hero { min-height: auto !important; }
}

.hero {
  position: relative;
  padding-top: clamp(7.5rem, 14vh, 10rem);
  /* One disciplined Miami-light moment: sky fading into sand. */
  background: linear-gradient(180deg, var(--mist) 0%, rgba(234, 242, 250, 0.45) 34%, var(--sand) 68%);
  display: flex;
  flex-direction: column;
  min-height: 92vh;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1.5rem;
}

.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 4.9rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  max-width: 21ch;
}
.hero h1 .signal-word { color: var(--teal); }

.hero-sub {
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  margin: 1.4rem 0 2rem;
}

.hero-ctas {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-proof {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 0.9rem;
}
.hero-trust {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* The signature element: noise resolving into signal. */
.signal-figure {
  margin: 0;
  flex: 1;
  display: flex;
  align-items: flex-end;
  min-height: 180px;
}
.signal-figure svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.signal-path {
  fill: none;
  stroke: var(--teal);
  stroke-width: 2.25;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.horizon-line {
  stroke: var(--powder);
  stroke-width: 1;
  opacity: 0.55;
}
.signal-pulse { opacity: 0; }
.signal-pulse-core { fill: var(--teal); }
.signal-pulse-halo { fill: var(--teal); opacity: 0.18; }

/* ---------- World clock strip ---------- */

.clocks {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}
.clocks-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.75rem;
  padding-block: 1rem;
  font-family: var(--mono);
}
.clock {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.clock-city {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.clock-time {
  font-size: 0.95rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  min-width: 8ch;
}
.clock-tag {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  padding: 0.18rem 0.4rem;
  border-radius: 2px;
  color: var(--teal);
  border: 1px solid currentColor;
  visibility: hidden;
}
.clock-tag.is-on { visibility: visible; }
.clock-tag.is-hq { color: var(--gold); visibility: visible; }

/* ---------- Generic section chrome ---------- */

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

.section-head {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}
.section-head .rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---------- Credibility facts bar ---------- */
/* Externally checkable facts, placed on the first scroll. */

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0 0 clamp(3rem, 7vw, 5rem);
  padding-block: 1.4rem;
  border-block: 1px solid var(--line);
}
.fact dt {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.fact dd {
  margin: 0;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.4;
}

/* ---------- Positioning statement ---------- */

.positioning .statement {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.2vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  max-width: 30ch;
}
.positioning .statement strong { font-weight: 700; color: var(--teal); }
.positioning-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.positioning-aside { max-width: 44ch; color: var(--muted); }
.risk-line {
  border-left: 3px solid var(--powder);
  padding-left: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Performance (dark) ---------- */

.performance {
  background: var(--deep);
  color: var(--text-on-deep);
}
.performance .section-head h2 { color: #fff; }
.performance .section-head .rule { background: var(--line-dark); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border-block: 1px solid var(--line-dark);
}
.stat {
  background: var(--deep);
  padding: 2.25rem 1.75rem 2rem;
}
.stat-num {
  font-family: var(--mono);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 500;
  color: var(--gold-soft);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  display: block;
}
.stat-label {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted-on-deep);
}

.performance-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.performance-copy p { color: var(--text-on-deep); }
.performance-copy .lede {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
}

.terms-card {
  border: 1px solid var(--line-dark);
  background: var(--deep-2);
  padding: 1.9rem;
  align-self: start;
}
.terms-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 1.2rem;
  color: #fff;
}
.terms-card dl { margin: 0; }
.terms-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.8rem;
  border-top: 1px solid var(--line-dark);
}
.terms-row dt { color: var(--muted-on-deep); font-size: 0.95rem; }
.terms-row dd {
  margin: 0;
  font-family: var(--mono);
  color: var(--gold-soft);
  font-size: 1rem;
}
.terms-card .terms-note {
  margin: 1.1rem 0 0;
  font-size: 0.85rem;
  color: var(--muted-on-deep);
}

.owner-line {
  margin: 1.75rem 0 0;
  padding-left: 1.1rem;
  border-left: 3px solid var(--gold-soft);
}
.owner-line p {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
}

.footnote {
  margin-top: 2.25rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted-on-deep);
  max-width: 70ch;
}

.performance-cta {
  margin-top: 2.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.performance-cta .btn-primary { background: var(--teal); }
.performance-cta .proof {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted-on-deep);
}

/* ---------- Principal ---------- */

.principal-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

/* Bespoke detail: matted headshot with the nameplate in a small
   gold box beneath it, like a gallery label. */
.portrait {
  margin: 0;
  max-width: 320px;
}
.portrait img {
  width: 100%;
  border: 1px solid var(--ink);
  padding: 10px;
  background: var(--paper);
}
.portrait figcaption {
  display: inline-block;
  margin-top: 1.1rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--gold);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.principal-copy h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  letter-spacing: -0.02em;
}
.principal-copy .role {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0.7rem 0 1.6rem;
}
.principal-copy p { max-width: var(--measure); }

.founder-quote {
  margin: 2rem 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--powder);
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink);
  max-width: 56ch;
}
.founder-quote footer {
  margin-top: 0.6rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* Watch Jim: real person, real videos. Links to his channel. */
.watch-jim {
  display: block;
  max-width: 320px;
  margin-top: 2.25rem;
  text-decoration: none;
  color: var(--ink);
}
.watch-jim .thumb {
  display: block;
  position: relative;
  border: 1px solid var(--line);
}
.watch-jim .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.watch-jim .play span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 32, 41, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.18s ease;
}
.watch-jim .play span::after {
  content: "";
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}
.watch-jim:hover .play span { background: var(--teal); }
.watch-jim .watch-label {
  display: block;
  margin-top: 0.65rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.watch-jim:hover .watch-label { color: var(--teal); }
.watch-jim .watch-kind {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Credentials: archival-index rows */
.credentials {
  margin-top: 2.25rem;
  border-top: 1px solid var(--line);
}
.credential {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 1.25rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.credential dt {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 0.3rem;
}
.credential dd { margin: 0; font-weight: 500; }

/* ---------- Capabilities: archival index ---------- */

.capabilities { background: var(--paper); }
.capability {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
  border-top: 1px solid var(--line);
}
.capability:last-of-type { border-bottom: 1px solid var(--line); }
.capability h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.capability p { margin: 0; max-width: 58ch; color: var(--muted); }

/* ---------- Research ---------- */

.research-intro { max-width: 60ch; color: var(--muted); margin-bottom: 2.5rem; }
.research-intro .lede-line { color: var(--ink); font-weight: 600; }

.tabs { border-bottom: 1px solid var(--line); display: flex; gap: 0.25rem; flex-wrap: wrap; }
.tab {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 0.8rem 1.1rem;
  cursor: pointer;
}
.tab[aria-selected="true"] {
  color: var(--teal);
  border-bottom-color: var(--teal);
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"]:hover { color: var(--teal); }

.tab-panel { padding-top: 0.5rem; }
.tab-panel[hidden] { display: none; }

.report {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: baseline;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--line);
}
.report time {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.report .report-title { font-weight: 600; font-size: 1.05rem; }
.report .report-kind {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 0.15rem;
}

.research-access {
  margin-top: 2rem;
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.research-access .note {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- FAQ ---------- */

.faq-list { max-width: 52rem; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-of-type { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer;
  padding: 1.1rem 0;
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--gold);
  flex-shrink: 0;
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list summary:hover { color: var(--teal); }
.faq-a {
  margin: 0;
  padding: 0 0 1.3rem;
  max-width: 62ch;
  color: var(--muted);
}

/* ---------- Testimonials ---------- */

/* Quotes sit directly on the background: hairline rules, no card
   chrome. Editorial, not carousel. */
.testimonials { background: var(--mist); }
.quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2.5rem, 6vw, 5rem);
}
.quote {
  border-top: 1px solid var(--powder);
  padding: 2rem 0 2.25rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.quote p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
}
.quote-attr {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.quote-attr img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
/* Honest stand-in for the one anonymous testimonial: country code,
   no fake face. */
.quote-attr .monogram {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--powder);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--teal);
  flex-shrink: 0;
}
.quote-attr .name { font-weight: 700; font-size: 0.95rem; line-height: 1.3; }
.quote-attr .title-line {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.35;
}
.testimonial-disclosure {
  margin-top: 2rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 76ch;
}

/* ---------- Contact / final CTA ---------- */

.contact { background: var(--deep); color: var(--text-on-deep); }
.contact h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  letter-spacing: -0.025em;
  color: #fff;
}
.contact .contact-sub {
  color: var(--muted-on-deep);
  max-width: 52ch;
  margin: 1.4rem 0 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-card {
  background: var(--deep-2);
  border: 1px solid var(--line-dark);
  padding: 2rem;
}
.contact-card .btn { width: 100%; text-align: center; }
.availability {
  margin: 1.1rem 0 0;
  font-size: 0.88rem;
  color: var(--powder);
}
.contact-lines { margin: 1.5rem 0 0; }
.contact-line {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 0.75rem;
  border-top: 1px solid var(--line-dark);
  align-items: baseline;
}
.contact-line dt {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-on-deep);
  padding-top: 0.2rem;
}
.contact-line dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere; /* long email address on narrow screens */
}
.contact-line a { color: var(--text-on-deep); }
.contact-line a:hover { color: var(--powder); }

.next-steps { margin: 2.5rem 0 0; padding: 0; list-style: none; }
.next-steps li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1rem;
  border-top: 1px solid var(--line-dark);
}
.next-steps .step-num {
  font-family: var(--mono);
  color: var(--gold-soft);
  font-size: 0.95rem;
}
.next-steps .step-body strong { display: block; color: #fff; font-weight: 600; }
.next-steps .step-body span { color: var(--muted-on-deep); font-size: 0.95rem; }
.honesty-line {
  margin-top: 1.75rem;
  color: var(--powder);
  font-size: 0.98rem;
}
.signoff {
  margin: 1.75rem 0 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--muted-on-deep);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--sand);
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: 2.5rem;
  padding-block: 3.5rem 2.5rem;
}
.footer-brand img { height: 34px; width: auto; margin-bottom: 1.1rem; }
.footer .creed {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}
.footer h3 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.55rem; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--teal); text-decoration: underline; }

.disclaimer {
  border-top: 1px solid var(--line);
  padding-block: 1.75rem 2.25rem;
  font-size: 0.75rem;
  line-height: 1.65;
  color: var(--muted);
}
.disclaimer p { margin-bottom: 0.6rem; max-width: 100ch; }

/* ---------- Scroll reveal (subtle, felt not noticed) ---------- */

/* Hidden state only applies when JS is running (html.js), so the
   page is fully readable with scripts disabled. Slow and gentle:
   luxury motion is felt, not noticed. */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .signal-path { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; transition: none !important; }
  .signal-pulse { display: none; }
  * { transition-duration: 0.01ms !important; animation: none !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .positioning-grid,
  .performance-grid,
  .principal-grid,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .capability { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat { padding: 1.6rem 1.4rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .portrait { max-width: 260px; }
}

@media (max-width: 760px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--sand);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.25rem;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 0.7rem 0; width: 100%; }
  .nav-links .btn { margin-top: 0.75rem; width: 100%; text-align: center; }
  .nav-toggle { display: block; }
  .hero { min-height: auto; }
  .signal-figure { min-height: 120px; margin-top: 2.5rem; }
  .clock {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 3.4rem;
    align-items: baseline;
  }
  .clock-tag { justify-self: end; }
  .clock-time { text-align: right; }
  .clocks-inner { gap: 0.15rem; }
  .credential { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
  .report { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
}
