/* ==========================================================================
   FateHalo — Corporate Website Stylesheet
   Astrology · Tarot · Chinese Divination
   Author: FateHalo Web Team
   ========================================================================== */

@import url("../fonts/cormorant.css");
@import url("../fonts/jost.css");

/* ---------------------------------------------------------------- Tokens */
:root {
  /* Brand palette */
  --navy-900: #080d1c;
  --navy-800: #0e1530;
  --navy-700: #161f45;
  --navy-600: #1f2a58;
  --gold-600: #a9863a;
  --gold-500: #c9a44c;
  --gold-400: #d9bd72;
  --gold-200: #ede0bb;
  --gold-050: #f7f1e0;

  --cream: #faf8f3;
  --paper: #ffffff;
  --ink: #151a2e;
  --ink-soft: #3c4460;
  --muted: #656d87;
  --line: rgba(21, 26, 46, 0.10);
  --line-strong: rgba(21, 26, 46, 0.18);
  --line-on-dark: rgba(237, 224, 187, 0.16);

  /* Type */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --container-narrow: 860px;
  --gutter: 24px;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.5s;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(8, 13, 28, 0.05), 0 4px 14px rgba(8, 13, 28, 0.05);
  --shadow-md: 0 10px 34px rgba(8, 13, 28, 0.09);
  --shadow-lg: 0 26px 70px rgba(8, 13, 28, 0.16);

  --header-h: 78px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  font-weight: 300;
  line-height: 1.72;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  margin: 0 0 0.6em;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--ink);
}

h1 { font-size: clamp(2.7rem, 6vw, 4.7rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
h4 { font-size: 1.18rem; font-family: var(--font-sans); font-weight: 500; letter-spacing: 0.01em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.15em; }
li { margin-bottom: 0.4em; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

::selection { background: var(--gold-200); color: var(--navy-900); }

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy-900);
  color: var(--gold-200);
  padding: 12px 20px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------------------------------------------------------------- Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: var(--container-narrow); }

.section {
  padding: clamp(64px, 9vw, 130px) 0;
  position: relative;
}

.section--tight { padding: clamp(48px, 6vw, 84px) 0; }
.section--dark { background: var(--navy-900); color: rgba(255, 255, 255, 0.82); }
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }

.section--navy {
  background:
    radial-gradient(1100px 520px at 12% -10%, rgba(201, 164, 76, 0.13), transparent 62%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: rgba(255, 255, 255, 0.8);
}
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

.section--tint { background: #f4f1e9; }
.section--paper { background: var(--paper); }

.section + .section--tint,
.section--tint + .section { border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- Type helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.section--dark .eyebrow,
.section--navy .eyebrow,
.hero .eyebrow { color: var(--gold-400); }

.lead {
  font-size: 1.115rem;
  line-height: 1.78;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 62ch;
}
.section--dark .lead,
.section--navy .lead,
.hero .lead { color: rgba(255, 255, 255, 0.72); }

.text-center { text-align: center; }
.text-center .lead { margin-inline: auto; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 68px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

.gold { color: var(--gold-600); }
.section--dark .gold, .section--navy .gold { color: var(--gold-400); }

.rule {
  width: 64px;
  height: 1px;
  background: var(--gold-500);
  margin: 0 0 28px;
  border: 0;
}
.text-center .rule, .section-head--center .rule { margin-inline: auto; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  --btn-bg: var(--navy-900);
  --btn-fg: #fff;
  --btn-bd: var(--navy-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-sm);
  font-size: 0.775rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.28s var(--ease), background 0.28s var(--ease),
              color 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--gold { --btn-bg: var(--gold-500); --btn-fg: var(--navy-900); --btn-bd: var(--gold-500); }
.btn--gold:hover { --btn-bg: var(--gold-400); --btn-bd: var(--gold-400); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: transparent; --btn-bd: var(--gold-500); --btn-fg: var(--gold-600); }

.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.34); }
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, 0.07); --btn-bd: var(--gold-400); --btn-fg: var(--gold-200); }

.btn--sm { padding: 11px 22px; font-size: 0.7rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.755rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold-600);
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(169, 134, 58, 0.35);
  transition: gap 0.28s var(--ease), border-color 0.28s var(--ease), color 0.28s var(--ease);
}
.link-arrow::after {
  content: "";
  width: 16px;
  height: 7px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8'><path d='M0 4h13M10 1l3 3-3 3' fill='none' stroke='black' stroke-width='1.2'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8'><path d='M0 4h13M10 1l3 3-3 3' fill='none' stroke='black' stroke-width='1.2'/></svg>") no-repeat center / contain;
  transition: transform 0.28s var(--ease);
}
.link-arrow:hover { gap: 14px; border-color: var(--gold-500); }
.link-arrow:hover::after { transform: translateX(3px); }
.section--dark .link-arrow, .section--navy .link-arrow { color: var(--gold-400); }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease), height 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
}

/* transparent-over-hero state */
.site-header--over {
  background: linear-gradient(180deg, rgba(8, 13, 28, 0.62), rgba(8, 13, 28, 0));
}
.site-header--over .brand__name { color: #fff; }
.site-header--over .brand__tag { color: rgba(255, 255, 255, 0.6); }
.site-header--over .nav__link { color: rgba(255, 255, 255, 0.82); }
.site-header--over .nav__link:hover,
.site-header--over .nav__link.is-active { color: var(--gold-400); }
.site-header--over .nav-toggle span { background: #fff; }

/* scrolled / solid state */
.site-header--solid {
  background: rgba(250, 248, 243, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
          backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px rgba(8, 13, 28, 0.06);
}
.site-header--solid .brand__name { color: var(--ink); }
.site-header--solid .brand__tag { color: var(--muted); }
.site-header--solid .nav__link { color: var(--ink-soft); }
.site-header--solid .nav__link:hover,
.site-header--solid .nav__link.is-active { color: var(--gold-600); }
.site-header--solid .nav-toggle span { background: var(--ink); }

/* Brand */
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand__mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.48rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.4s var(--ease);
}
.brand__tag {
  font-size: 0.535rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 4px;
  transition: color 0.4s var(--ease);
}

/* Nav */
.nav { display: flex; align-items: center; gap: 34px; }
.nav__link {
  position: relative;
  font-size: 0.79rem;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 6px 0;
  transition: color 0.28s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.36s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 18px; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.4px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform 0.32s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 20.5px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateX(-50%) translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateX(-50%) translateY(-5.5px) rotate(-45deg); }

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 72px) 0 96px;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 50%;
  opacity: 0.92;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 10, 24, 0.94) 0%, rgba(6, 10, 24, 0.78) 38%, rgba(6, 10, 24, 0.32) 68%, rgba(6, 10, 24, 0.5) 100%),
    linear-gradient(0deg, rgba(6, 10, 24, 0.85) 0%, rgba(6, 10, 24, 0) 42%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__content { max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-400);
}
.hero .lead { font-size: 1.16rem; max-width: 56ch; margin-bottom: 38px; }
.hero .btn-row { margin-bottom: 0; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 42px;
  margin-top: 58px;
  padding-top: 30px;
  border-top: 1px solid var(--line-on-dark);
}
.hero__meta-item { display: flex; align-items: baseline; gap: 10px; }
.hero__meta-num {
  font-family: var(--font-display);
  font-size: 1.72rem;
  color: var(--gold-400);
  line-height: 1;
}
.hero__meta-label {
  font-size: 0.685rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, rgba(201, 164, 76, 0.9), rgba(201, 164, 76, 0));
  animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ---------------------------------------------------------------- Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 92px) 0 clamp(64px, 7vw, 96px);
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 13, 28, 0.86), rgba(8, 13, 28, 0.9)),
    radial-gradient(900px 420px at 18% 0%, rgba(201, 164, 76, 0.18), transparent 60%);
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 18px; }
.page-hero .lead { max-width: 62ch; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  margin-bottom: 26px;
}
.breadcrumb a { transition: color 0.24s var(--ease); }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb__sep { opacity: 0.45; }
.breadcrumb [aria-current] { color: var(--gold-400); }

/* ---------------------------------------------------------------- Grids */
.grid { display: grid; gap: clamp(24px, 3vw, 36px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--split {
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.grid--sidebar {
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

/* ---------------------------------------------------------------- Cards */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  transition: transform 0.42s var(--ease), box-shadow 0.42s var(--ease), border-color 0.42s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(201, 164, 76, 0.42); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 0.96rem; }

.card__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  color: var(--gold-500);
}

/* Service card (with image) */
.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: transform 0.42s var(--ease), box-shadow 0.42s var(--ease), border-color 0.42s var(--ease);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(201, 164, 76, 0.4); }
.svc__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-800);
}
.svc__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.svc:hover .svc__media img { transform: scale(1.055); }
.svc__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 13, 28, 0.05), rgba(8, 13, 28, 0.42));
}
.svc__index {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  color: var(--gold-200);
  background: rgba(8, 13, 28, 0.5);
  border: 1px solid rgba(237, 224, 187, 0.28);
  border-radius: 999px;
  padding: 3px 12px;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.svc__body {
  padding: clamp(26px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.svc__body h3 { margin-bottom: 10px; }
.svc__body p { color: var(--ink-soft); font-size: 0.95rem; }
.svc__list {
  list-style: none;
  padding: 0;
  margin: 20px 0 26px;
  display: grid;
  gap: 9px;
}
.svc__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.895rem;
  color: var(--ink-soft);
  margin: 0;
}
.svc__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold-500);
  transform: rotate(45deg);
}
.svc__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* Feature (icon + text, no card chrome) */
.feature { padding: 0; }
.feature__icon { width: 40px; height: 40px; margin-bottom: 20px; color: var(--gold-500); }
.feature h4 { margin-bottom: 9px; font-family: var(--font-display); font-size: 1.32rem; font-weight: 500; }
.feature p { color: var(--ink-soft); font-size: 0.93rem; }
.section--dark .feature p, .section--navy .feature p { color: rgba(255, 255, 255, 0.62); }
.section--dark .feature__icon, .section--navy .feature__icon { color: var(--gold-400); }

/* Stat block */
.stat { border-top: 1px solid var(--line); padding-top: 22px; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
}
.stat__label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--dark .stat, .section--navy .stat { border-top-color: var(--line-on-dark); }
.section--dark .stat__num, .section--navy .stat__num { color: var(--gold-400); }
.section--dark .stat__label, .section--navy .stat__label { color: rgba(255, 255, 255, 0.5); }

/* ---------------------------------------------------------------- Media frame */
.frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-800);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--square { aspect-ratio: 1 / 1; }
.frame--offset::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold-500);
  border-radius: var(--radius);
  z-index: -1;
}
.frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 26px 22px;
  background: linear-gradient(0deg, rgba(8, 13, 28, 0.88), transparent);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

/* ---------------------------------------------------------------- Steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 0; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.step {
  position: relative;
  padding: 30px 26px 4px 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 24px;
  left: 0;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  color: var(--gold-600);
}
.step h4 { margin: 34px 0 10px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; }
.step p { color: var(--ink-soft); font-size: 0.92rem; }
.section--dark .step, .section--navy .step { border-top-color: var(--line-on-dark); }
.section--dark .step::before, .section--navy .step::before { color: var(--gold-400); }
.section--dark .step p, .section--navy .step p { color: rgba(255, 255, 255, 0.6); }

/* ---------------------------------------------------------------- Quote / testimonial */
.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.quote__mark {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 0.6;
  color: var(--gold-400);
  margin-bottom: 22px;
}
.quote__text {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-style: italic;
  line-height: 1.62;
  color: var(--ink);
  margin-bottom: 26px;
}
.quote__who { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--navy-700), var(--navy-900));
  color: var(--gold-300, var(--gold-200));
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(201, 164, 76, 0.35);
}
.quote__name { font-size: 0.925rem; font-weight: 400; color: var(--ink); }
.quote__role { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.stars { display: flex; gap: 4px; margin-bottom: 20px; color: var(--gold-500); }
.stars svg { width: 14px; height: 14px; }

/* ---------------------------------------------------------------- CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
  padding: clamp(72px, 8vw, 118px) 0;
  text-align: center;
}
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.cta-band__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(760px 380px at 50% 50%, rgba(8, 13, 28, 0.55), rgba(8, 13, 28, 0.9));
}
.cta-band__inner { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 20px; }
.cta-band .lead { margin: 0 auto 34px; }

/* ---------------------------------------------------------------- Accordion */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 26px 46px 26px 0;
  text-align: left;
  cursor: pointer;
  position: relative;
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.26s var(--ease);
}
.acc-btn:hover { color: var(--gold-600); }
.acc-btn::after,
.acc-btn::before {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  background: var(--gold-500);
  transition: transform 0.34s var(--ease), opacity 0.34s var(--ease);
}
.acc-btn::before { width: 13px; height: 1.4px; transform: translateY(-50%); }
.acc-btn::after { width: 1.4px; height: 13px; transform: translateY(-50%); }
.acc-btn[aria-expanded="true"]::after { transform: translateY(-50%) scaleY(0); opacity: 0; }
.acc-panel {
  overflow: hidden;
  height: 0;
  transition: height 0.42s var(--ease);
}
.acc-panel__inner { padding: 0 60px 28px 0; color: var(--ink-soft); font-size: 0.955rem; }

/* ---------------------------------------------------------------- List with checks */
.check-list { list-style: none; padding: 0; margin: 0 0 1.15em; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 27px; margin: 0; color: var(--ink-soft); font-size: 0.955rem; }
.check-list li svg { position: absolute; left: 0; top: 0.35em; width: 15px; height: 15px; color: var(--gold-500); }
.section--dark .check-list li, .section--navy .check-list li { color: rgba(255, 255, 255, 0.68); }
.section--dark .check-list li svg, .section--navy .check-list li svg { color: var(--gold-400); }

/* ---------------------------------------------------------------- Team */
.person { text-align: center; }
.person__avatar {
  width: 118px;
  height: 118px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--gold-200);
  background: linear-gradient(150deg, var(--navy-600), var(--navy-900));
  border: 1px solid rgba(201, 164, 76, 0.4);
  position: relative;
}
.person__avatar::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(201, 164, 76, 0.26);
}
.person h4 { font-family: var(--font-display); font-size: 1.34rem; font-weight: 500; margin-bottom: 5px; }
.person__role {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.person p { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------------------------------------------------------------- Timeline */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line-strong);
}
.tl-item { position: relative; padding: 0 0 38px 42px; margin: 0; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid var(--gold-500);
  background: var(--cream);
}
.tl-item__year {
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: var(--gold-600);
  margin-bottom: 5px;
}
.tl-item h4 { margin-bottom: 8px; }
.tl-item p { font-size: 0.93rem; color: var(--ink-soft); }

/* ---------------------------------------------------------------- Forms */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}
.field .req { color: var(--gold-600); }
.input, .select, .textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 0.955rem;
  font-weight: 300;
  color: var(--ink);
  transition: border-color 0.26s var(--ease), box-shadow 0.26s var(--ease);
  appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #a6abbd; }
.input:focus, .select:focus, .textarea:focus {
  outline: 0;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 164, 76, 0.15);
}
.textarea { min-height: 148px; resize: vertical; }
.select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1.5L6 6.5l5-5' fill='none' stroke='%23656d87' stroke-width='1.4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 42px;
}
.field__error {
  font-size: 0.76rem;
  color: #b3261e;
  min-height: 0;
  letter-spacing: 0.02em;
}
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: #b3261e; }

.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.855rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.checkbox input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--gold-600); flex-shrink: 0; }

.form__note { font-size: 0.8rem; color: var(--muted); }
.form-status {
  display: none;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  border: 1px solid rgba(201, 164, 76, 0.5);
  background: var(--gold-050);
  border-radius: var(--radius-sm);
}
.form-status.is-visible { display: flex; }
.form-status svg { width: 22px; height: 22px; color: var(--gold-600); flex-shrink: 0; margin-top: 2px; }
.form-status h4 { margin-bottom: 6px; font-family: var(--font-display); font-size: 1.16rem; }
.form-status p { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------------------------------------------------------------- Info cards (contact) */
.info-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.info-card:last-child { border-bottom: 0; }
.info-card__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 164, 76, 0.42);
  color: var(--gold-600);
}
.info-card__icon svg { width: 17px; height: 17px; }
.info-card h4 { margin-bottom: 6px; font-family: var(--font-display); font-size: 1.12rem; font-weight: 500; }
.info-card p { font-size: 0.925rem; color: var(--ink-soft); margin: 0; }
.info-card a { color: var(--gold-600); border-bottom: 1px solid rgba(169, 134, 58, 0.3); transition: border-color 0.24s var(--ease); }
.info-card a:hover { border-color: var(--gold-500); }

/* ---------------------------------------------------------------- Info strip */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.75);
}
.info-strip__item {
  padding: 34px clamp(22px, 3vw, 40px);
  border-right: 1px solid var(--line-on-dark);
}
.info-strip__item:last-child { border-right: 0; }
.info-strip__item h4 { color: #fff; margin-bottom: 8px; font-family: var(--font-display); font-size: 1.14rem; }
.info-strip__item p { font-size: 0.885rem; margin: 0; }
.info-strip__item a { color: var(--gold-400); }

/* ---------------------------------------------------------------- Footer */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.6);
  padding: clamp(58px, 6vw, 84px) 0 0;
  font-size: 0.92rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
  gap: clamp(30px, 4vw, 56px);
  padding-bottom: clamp(44px, 5vw, 64px);
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.site-footer .brand__name { color: #fff; }
.site-footer .brand__tag { color: rgba(255, 255, 255, 0.42); }
.site-footer__about { margin-top: 24px; max-width: 34ch; font-size: 0.9rem; line-height: 1.75; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.site-footer ul a { transition: color 0.24s var(--ease), padding-left 0.24s var(--ease); }
.site-footer ul a:hover { color: var(--gold-400); padding-left: 4px; }
.site-footer__contact li { display: grid; gap: 3px; }
.site-footer__contact strong { color: rgba(255, 255, 255, 0.86); font-weight: 400; font-size: 0.9rem; }
.site-footer__contact span { font-size: 0.86rem; }
.site-footer__bottom {
  border-top: 1px solid var(--line-on-dark);
  padding: 26px 0 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer__legal a:hover { color: var(--gold-400); }
.disclaimer {
  font-size: 0.775rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.42);
  max-width: 78ch;
  margin-bottom: 22px;
}

/* Social */
.social { display: flex; gap: 11px; margin-top: 22px; }
.social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-on-dark);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  transition: border-color 0.28s var(--ease), color 0.28s var(--ease), transform 0.28s var(--ease);
}
.social a:hover { border-color: var(--gold-500); color: var(--gold-400); transform: translateY(-2px); }
.social svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------------- Divider ornament */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--gold-500);
  margin: 0 0 30px;
}
.ornament::before,
.ornament::after {
  content: "";
  width: 68px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}
.ornament svg { width: 20px; height: 20px; }

/* ---------------------------------------------------------------- Reveal animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .site-footer__grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }

  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 10px var(--gutter) 26px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), visibility 0.32s;
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__link {
    color: var(--ink) !important;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.86rem;
  }
  .nav__link::after { display: none; }
  .nav.is-open .nav__link.is-active { color: var(--gold-600) !important; }

  .header-cta { gap: 12px; }
  .header-cta .btn { display: none; }

  .grid--3, .grid--2, .grid--split, .grid--sidebar { grid-template-columns: 1fr; }
  .grid--split { gap: 40px; }
  .steps--4 { grid-template-columns: 1fr; }
  .info-strip { grid-template-columns: 1fr; }
  .info-strip__item { border-right: 0; border-bottom: 1px solid var(--line-on-dark); }

  .hero { min-height: auto; padding: calc(var(--header-h) + 56px) 0 80px; }
  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(6, 10, 24, 0.72), rgba(6, 10, 24, 0.88)),
      linear-gradient(0deg, rgba(6, 10, 24, 0.9), rgba(6, 10, 24, 0.2));
  }
  .hero__scroll { display: none; }
  .frame--offset::before { display: none; }
  .field__row { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }
  .hero__meta { gap: 18px 30px; margin-top: 42px; }
  .btn { padding: 14px 24px; }
  .btn-row .btn { flex: 1 1 auto; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .acc-btn { font-size: 1.1rem; }
  .acc-panel__inner { padding-right: 24px; }
}

@media (min-width: 961px) {
  .nav { display: flex !important; }
}

/* ---------------------------------------------------------------- Print */
@media print {
  .site-header, .nav-toggle, .hero__scroll, .cta-band, .site-footer { display: none !important; }
  body { background: #fff; color: #000; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
