/* ==========================================================================
   Nordic Executive Protection — styles.css
   Phase 3: editorial design system. Pure static CSS, no frameworks.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Color */
  --navy-900: #0B1A2F;
  --navy-800: #10233D;
  --navy-700: #1B3355;
  --gold: #C6A15B;
  --gold-hover: #B08E48;
  --gold-deep: #7E6226;      /* gold for small text on light surfaces (AA, ≥5.2:1) */
  --offwhite: #F6F4EF;
  --white: #FFFFFF;
  --ink: #1C2430;
  --slate: #5A6675;
  --text-on-dark: #E8E6DF;
  --muted-on-dark: #ADB6C4;
  --hairline-light: #E5E1D8;
  --hairline-dark: #1B3355;

  /* Type */
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --section-pad: clamp(5.5rem, 12vw, 10.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1;
  transition: opacity 0.15s ease;
}

/* Language crossfade: content fades out, swaps, fades back in */
body.lang-switching { opacity: 0; }

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

section[id] { scroll-margin-top: 5.5rem; }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--navy-900);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.section-light :focus-visible {
  outline-color: var(--gold-deep);
}

/* ---------- Layout primitives ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4.5vw, 3rem);
}

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

.section-dark {
  background-color: var(--navy-900);
  color: var(--text-on-dark);
}
.section-light {
  background-color: var(--offwhite);
  color: var(--ink);
}
/* Warm paper variation — light surfaces are related, not identical */
#tilgang { background-color: #F3F0E9; }
#faq { background-color: #F4F1EB; }
#kontakt { background-color: #F7F5F1; }

/* Material depth on dark surfaces: vignette + fine grain (CSS only) */
.section-dark,
.site-footer {
  position: relative;
  isolation: isolate;
}
.section-dark::before,
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(90rem 42rem at 12% -8%, rgba(27, 51, 85, 0.45), transparent 60%),
    radial-gradient(80rem 50rem at 96% 108%, rgba(3, 8, 16, 0.55), transparent 62%);
}
.section-dark::after,
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.section-light .eyebrow { color: var(--gold-deep); }

.eyebrow-num {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
}
.eyebrow-num::after {
  content: "—";
  margin-left: 0.85rem;
  font-weight: 300;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0.005em;
  max-width: 22ch;
}

.section-sub {
  margin-top: 1.4rem;
  font-size: 1.05rem;
  max-width: 60ch;
  color: var(--slate);
}
.section-dark .section-sub { color: var(--muted-on-dark); }

.section-head { margin-bottom: clamp(3rem, 7vw, 5.5rem); }

.section-head--center {
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
}
.section-head--center .section-title { margin-inline: auto; }
.section-head--center .section-sub { margin-inline: auto; }
.eyebrow--center { justify-content: center; }

.lead {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.5;
  font-weight: 400;
}

/* ---------- Buttons & links ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-block;
  padding: 1.05rem 2.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  background-color: transparent;
  border-radius: 0;
  transition: color 0.45s var(--ease-out), border-color 0.45s var(--ease-out), letter-spacing 0.45s var(--ease-out);
}
/* Slow gold sweep, left to right */
.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background-color: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.btn:hover {
  color: var(--navy-900);
  letter-spacing: 0.17em;
}
.btn:hover::before { transform: scaleX(1); }
.section-light .btn {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}
.section-light .btn::before { background-color: var(--navy-900); }
.section-light .btn:hover {
  border-color: var(--navy-900);
  color: var(--gold);
}

.link-arrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.2rem;
  transition: border-color 0.3s ease;
}
.link-arrow::after { content: " →"; letter-spacing: 0; }
.link-arrow:hover { border-color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(11, 26, 47, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline-dark);
  color: var(--text-on-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  width: 1.7rem;
  height: 1.7rem;
  color: var(--gold);
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.brand-line1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.brand-line2 {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-link {
  position: relative;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-on-dark);
  padding-block: 0.4rem;
  transition: color 0.25s ease;
}
/* Understated underline, drawn in from the left */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { transform: scaleX(1); }

.btn-header {
  padding: 0.65rem 1.3rem;
  font-size: 0.68rem;
}

/* Language toggle (hidden without JS — it cannot function) */
.lang-toggle {
  display: none;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
}
html.js .lang-toggle { display: flex; }
.lang-btn {
  padding: 0.3rem 0.35rem;
  font-weight: 500;
  color: var(--muted-on-dark);
  letter-spacing: 0.08em;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.lang-btn:hover { color: var(--gold); }
.lang-btn[aria-pressed="true"] {
  color: var(--gold);
  border-color: var(--gold);
}
.lang-sep { color: var(--navy-700); }

/* Mobile nav toggle (hidden without JS — it cannot function) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.5rem;
}
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-on-dark);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  align-items: center;
  min-height: min(92vh, 64rem);
  padding-block: clamp(6rem, 12vw, 9rem);
  overflow: hidden;
}

.hero-inner { width: 100%; }

.hero-rule {
  display: block;
  width: 1px;
  height: clamp(3.5rem, 9vw, 6rem);
  margin-bottom: 2.5rem;
  background: linear-gradient(to bottom, transparent, var(--gold));
}

.hero .eyebrow { margin-bottom: 0; }

.hero-title {
  margin-top: 2rem;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.75rem, 8.2vw, 6.75rem);
  line-height: 1.02;
  letter-spacing: -0.005em;
  max-width: 18ch;
}

.hero-sub {
  margin-top: 2.25rem;
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  line-height: 1.75;
  max-width: 54ch;
  color: var(--muted-on-dark);
}

.hero-actions {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.trust-strip {
  margin-top: clamp(4rem, 9vw, 6.5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 46rem;
}
.trust-item {
  padding-top: 0.9rem;
  border-top: 1px solid rgba(198, 161, 91, 0.45);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

/* Hero entrance: choreographed once per session (html.entrance set by JS).
   Rule draws itself, eyebrow follows, headline rises word by word,
   then sub, actions and trust strip. Without the class: instant render. */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
@keyframes rule-draw {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

html.entrance .anim { animation: hero-rise 0.85s var(--ease-out) both; }
html.entrance .anim-1 { animation: none; }
html.entrance .hero-rule {
  transform-origin: top;
  animation: rule-draw 0.6s var(--ease-out) 0.1s both;
}
html.entrance .anim-1 .eyebrow { animation: hero-rise 0.85s var(--ease-out) 0.45s both; }
html.entrance .anim-2 { animation-delay: 0.6s; }
html.entrance .hero-title.split { animation: none; opacity: 1; }
html.entrance .hero-title .w {
  display: inline-block;
  animation: hero-rise 0.8s var(--ease-out) both;
  animation-delay: var(--d, 0.6s);
}
html.entrance .anim-3 { animation-delay: 1.05s; }
html.entrance .anim-4 { animation-delay: 1.25s; }
html.entrance .anim-5 { animation-delay: 1.4s; }

/* ---------- Services: editorial index ---------- */
.svc-index {
  border-bottom: 1px solid var(--hairline-light);
}

.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2.5rem, 5.5vw, 4rem);
}

/* Hairline as pseudo so it can draw itself in on reveal */
.svc-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--hairline-light);
  transform-origin: left;
  transition: background-color 0.35s ease;
}
html.js .svc-row.reveal::before {
  transform: scaleX(0);
  transition: transform 0.9s var(--ease-out), background-color 0.35s ease;
}
html.js .svc-row.reveal.is-visible::before { transform: scaleX(1); }
.svc-row:hover::before { background-color: var(--gold); }

.svc-row-head {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}

/* Hover: whole row indents, number brightens, hairline turns gold — synced */
.svc-row-head,
.svc-row-detail {
  transition: transform 0.35s var(--ease-out);
}
.svc-row:hover .svc-row-head,
.svc-row:hover .svc-row-detail { transform: translateX(8px); }

.svc-num {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold-deep);
  transition: color 0.35s ease;
}
.svc-row:hover .svc-num { color: var(--gold); }

.svc-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  line-height: 1.1;
}

.svc-body {
  font-size: 0.97rem;
  color: var(--ink);
  max-width: 58ch;
}

.svc-label {
  margin-top: 1.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.svc-list {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.svc-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.92rem;
  color: var(--slate);
}
.svc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 0.45rem;
  height: 1px;
  background-color: var(--gold-deep);
}

/* ---------- Statement interlude ---------- */
.statement {
  padding-block: clamp(7rem, 15vw, 12rem);
  text-align: center;
}

.statement-rule {
  display: block;
  width: 1px;
  height: 3.25rem;
  margin: 0 auto 2.75rem;
  background: linear-gradient(to bottom, transparent, var(--gold));
}

.statement-text {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.65rem, 3.4vw, 2.7rem);
  line-height: 1.35;
  letter-spacing: 0.005em;
  max-width: 26ch;
  margin-inline: auto;
  color: var(--text-on-dark);
}

/* ---------- Testimonial interlude ---------- */
.testimonial-eyebrow { margin-bottom: 2.25rem; }

.testimonial-quote {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.45rem, 2.9vw, 2.25rem);
  line-height: 1.4;
  letter-spacing: 0.005em;
  max-width: 34ch;
  margin-inline: auto;
  color: var(--text-on-dark);
}

.testimonial-attr {
  margin-top: 2.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 2;
  color: var(--muted-on-dark);
  max-width: 44rem;
  margin-inline: auto;
}
.testimonial-attr .attr-name { color: var(--gold); }

/* ---------- Approach steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
}

.step {
  position: relative;
  padding-top: 1.25rem;
}
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--hairline-light);
  transform-origin: left;
}
html.js .step.reveal::before {
  transform: scaleX(0);
  transition: transform 0.9s var(--ease-out);
}
html.js .step.reveal.is-visible::before { transform: scaleX(1); }
html.js .step.reveal.is-visible:nth-child(2)::before { transition-delay: 0.1s; }
html.js .step.reveal.is-visible:nth-child(3)::before { transition-delay: 0.2s; }
html.js .step.reveal.is-visible:nth-child(4)::before { transition-delay: 0.3s; }

.step-num {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--gold-deep);
  letter-spacing: 0.06em;
}

.step-title {
  margin-top: 0.7rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.15;
}

.step-body {
  margin-top: 0.7rem;
  font-size: 0.94rem;
  color: var(--slate);
}

.confidential {
  margin-top: clamp(3.5rem, 8vw, 5.5rem);
  margin-inline: auto;
  max-width: 44rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background-color: var(--white);
  border: 1px solid var(--hairline-light);
  border-left: 2px solid var(--gold);
  text-align: left;
}
.confidential-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.45rem;
}
.confidential-body {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: var(--slate);
}

/* ---------- Asymmetric split (About, Contact) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}

.split-head {
  position: sticky;
  top: 7rem;
}
.split-head .section-title { max-width: 16ch; }

/* ---------- About ---------- */
.about-body {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  font-size: 1.02rem;
  max-width: 60ch;
  color: var(--text-on-dark);
}

.principles {
  margin-top: clamp(2.75rem, 6vw, 4rem);
}

.principle {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 1.5rem;
  padding-block: 1.5rem;
}
/* Machined edge: hairline with a gold highlight at its left end */
.principle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(198, 161, 91, 0.6), var(--hairline-dark) 45%);
  transform-origin: left;
}
html.js .principle.reveal::before {
  transform: scaleX(0);
  transition: transform 0.9s var(--ease-out);
}
html.js .principle.reveal.is-visible::before { transform: scaleX(1); }
html.js .principle.reveal.is-visible:nth-child(2)::before { transition-delay: 0.1s; }
html.js .principle.reveal.is-visible:nth-child(3)::before { transition-delay: 0.2s; }
.principle:last-child { border-bottom: 1px solid var(--hairline-dark); }

.principle-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.15;
}
.principle-body {
  font-size: 0.94rem;
  color: var(--muted-on-dark);
  align-self: center;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 54rem;
  border-bottom: 1px solid var(--hairline-light);
}

.faq-item {
  position: relative;
  padding-block: clamp(1.75rem, 4vw, 2.5rem);
}
.faq-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--hairline-light);
  transform-origin: left;
}
html.js .faq-item.reveal::before {
  transform: scaleX(0);
  transition: transform 0.9s var(--ease-out);
}
html.js .faq-item.reveal.is-visible::before { transform: scaleX(1); }

.faq-q {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  line-height: 1.2;
}

.faq-a {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: var(--slate);
  max-width: 62ch;
}

/* ---------- Contact ---------- */
.contact-rows {
  border-bottom: 1px solid var(--hairline-light);
}

.contact-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 1.5rem;
  padding-block: 1.6rem;
  align-items: baseline;
}
.contact-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--hairline-light);
  transform-origin: left;
}
html.js .contact-rows.reveal .contact-row::before {
  transform: scaleX(0);
  transition: transform 0.9s var(--ease-out);
}
html.js .contact-rows.reveal.is-visible .contact-row::before { transform: scaleX(1); }
html.js .contact-rows.reveal.is-visible .contact-row:nth-child(2)::before { transition-delay: 0.15s; }

.contact-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.contact-value {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}
a.contact-value:hover { color: var(--gold-deep); }

.contact-actions { margin-top: clamp(2.25rem, 5vw, 3.25rem); }

.contact-note {
  margin-top: 1.5rem;
  font-size: 0.94rem;
  max-width: 52ch;
  color: var(--slate);
}

.contact-emergency {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--slate);
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--navy-900);
  color: var(--text-on-dark);
  border-top: 1px solid var(--hairline-dark);
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.5rem, 5vw, 3.5rem);
}

.footer-top {
  padding-bottom: clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid var(--hairline-dark);
}

.footer-wordmark {
  display: inline-block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--text-on-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-wordmark:hover { color: var(--gold); }

.footer-tagline {
  margin-top: 0.9rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

.footer-grid {
  padding-top: clamp(2rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 2rem;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--text-on-dark);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.25s ease;
}
.footer-link:hover { color: var(--gold); }

.footer-text {
  font-size: 0.85rem;
  color: var(--muted-on-dark);
}

.footer-meta .lang-toggle { margin-bottom: 0.5rem; }

/* ---------- Reveal on scroll (JS + motion-safe only) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Section heads reveal directionally: eyebrow, then title, then sub */
html.js .section-head.reveal,
html.js .split-head.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
html.js :is(.section-head, .split-head).reveal :is(.eyebrow, .section-title, .section-sub) {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
html.js :is(.section-head, .split-head).reveal.is-visible :is(.eyebrow, .section-title, .section-sub) {
  opacity: 1;
  transform: none;
}
html.js :is(.section-head, .split-head).reveal.is-visible .section-title { transition-delay: 0.1s; }
html.js :is(.section-head, .split-head).reveal.is-visible .section-sub { transition-delay: 0.22s; }

/* Section number settles in just after its title */
html.js :is(.section-head, .split-head).reveal .eyebrow-num {
  opacity: 0;
  transition: opacity 0.7s ease;
}
html.js :is(.section-head, .split-head).reveal.is-visible .eyebrow-num {
  opacity: 1;
  transition-delay: 0.35s;
}

/* Sibling stagger for grouped reveal items (steps, principles) */
html.js .step.reveal:nth-child(2),
html.js .principle.reveal:nth-child(2) { transition-delay: 0.1s; }
html.js .step.reveal:nth-child(3),
html.js .principle.reveal:nth-child(3) { transition-delay: 0.2s; }
html.js .step.reveal:nth-child(4) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { transition: none; }
  html.js .reveal,
  html.js :is(.section-head, .split-head).reveal :is(.eyebrow, .section-title, .section-sub),
  html.js :is(.section-head, .split-head).reveal .eyebrow-num {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html.js .svc-row.reveal::before,
  html.js .step.reveal::before,
  html.js .principle.reveal::before,
  html.js .faq-item.reveal::before,
  html.js .contact-rows.reveal .contact-row::before {
    transform: none;
    transition: none;
  }
  html.entrance .anim,
  html.entrance .anim-1 .eyebrow,
  html.entrance .hero-rule,
  html.entrance .hero-title .w { animation: none; }
  .btn, .btn::before, .nav-link, .nav-link::after, .lang-btn, .link-arrow, .nav-toggle-bar,
  .svc-row::before, .svc-row-head, .svc-row-detail, .svc-num,
  .footer-wordmark, .footer-link { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .svc-row { grid-template-columns: 1fr; gap: 1.25rem; }
  .split { grid-template-columns: 1fr; }
  .split-head { position: static; }
  .split-head .section-title { max-width: 22ch; }
}

@media (max-width: 860px) {
  html.js .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
    background-color: var(--navy-900);
    border-bottom: 1px solid var(--hairline-dark);
    display: none;
  }
  .site-nav.is-open { display: flex; }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
  }
  .nav-link {
    font-size: 1rem;
    width: 100%;
    padding-block: 0.5rem;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Without JS on mobile: nav panel can't open, so keep links accessible inline */
@media (max-width: 860px) {
  html:not(.js) .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    padding: 0 0 1rem;
    border-bottom: none;
    background: none;
  }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    width: auto;
  }
  html:not(.js) .nav-link { width: auto; font-size: 0.8rem; }
  html:not(.js) .btn-header { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { gap: 1.25rem; }
  .btn { width: 100%; text-align: center; }
  .link-arrow { align-self: flex-start; }
  .svc-row-head { flex-direction: column; gap: 0.5rem; }
  .principle, .contact-row { grid-template-columns: 1fr; gap: 0.4rem; }
}
