/* =========================================================
   Midnitestar Consulting
   Design tokens
   ========================================================= */

:root {
  /* Brand palette */
  --midnight:  #0F1535;
  --navy:      #1B1F4B;
  --violet:    #6B3FA0;
  --lavender:  #B9A6E0;
  --gold:      #C9A24B;
  --champagne: #F3E9D2;
  --ivory:     #FBF8F2;

  /* Derived surfaces */
  --plate:      #05060F;  /* matches the supplied logo's own background */
  --violet-deep:#4B2B73;

  /* Text */
  --on-dark:        #F1EEF9;
  --on-dark-muted:  #C6BCE3;
  --on-light:       #161B36;
  --on-light-muted: #4A4F6B;
  --gold-ink:       #6B4F12;  /* tested gold tone for text on ivory/champagne */

  /* Lines */
  --rule-dark:  rgba(201, 162, 75, 0.28);
  --rule-light: rgba(22, 27, 54, 0.14);

  /* Type */
  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-script: "Great Vibes", "Segoe Script", "Apple Chancery", cursive;

  --step-h1: clamp(2.5rem, 1.6rem + 3.9vw, 4.25rem);
  --step-h2: clamp(1.95rem, 1.35rem + 2.4vw, 3rem);
  --step-h3: clamp(1.18rem, 1.09rem + 0.32vw, 1.32rem);
  --step-lede: clamp(1.06rem, 0.99rem + 0.3vw, 1.2rem);
  --step-body: clamp(1rem, 0.96rem + 0.16vw, 1.0625rem);
  --step-small: 0.875rem;

  --leading-body: 1.7;
  --leading-tight: 1.12;
  --measure: 62ch;

  /* Space */
  --space-2xs: 0.375rem;
  --space-xs: 0.625rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.25rem;
  --space-xl: 3.5rem;
  --section-y: clamp(3.5rem, 2.1rem + 6vw, 7.5rem);

  /* Shell */
  --container: 1200px;
  --container-narrow: 820px;
  --gutter: clamp(1.15rem, 0.7rem + 2vw, 2.5rem);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  /* Motion */
  --dur: 220ms;
  --ease: cubic-bezier(0.32, 0.72, 0.3, 1);

  /* Header: kept stable at each breakpoint, no scroll resize */
  --header-pad: 0.625rem;
  --header-h: 66px;

  --focus: var(--gold);
}

@media (min-width: 900px) {
  :root { --header-pad: 0.875rem; --header-h: 76px; }
}

/* =========================================================
   Base
   ========================================================= */

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

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

body {
  margin: 0;
  overflow-x: clip;
  background: var(--ivory);
  color: var(--on-light);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}

/* height:auto is load-bearing: every img carries width/height attributes for
   space reservation, and without it a width-constrained image keeps its
   attribute height and renders stretched. */
img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--leading-tight);
  margin: 0;
  text-wrap: balance;
  font-variant-numeric: lining-nums;
}

/* Cormorant Garamond defaults to old-style figures, which read as lowercase
   letters in numerals like "01" and in prices. */
.card__price,
.report-preview__num,
.who__num,
.report-preview__kicker,
.process__num {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

p { margin: 0 0 var(--space-sm); }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }

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

/* Anchor offset works without JavaScript */
[id] { scroll-margin-top: calc(var(--header-h) + 1.25rem); }

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

.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }

.section {
  position: relative;
  padding-block: var(--section-y);
  overflow: clip;
}

.section--dark {
  background: var(--midnight);
  color: var(--on-dark);
  --focus: var(--gold);
}

.section--light {
  background: var(--ivory);
  color: var(--on-light);
  --focus: var(--violet);
}

.section__head { max-width: 46rem; margin-bottom: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); }
.section__title { font-size: var(--step-h2); margin-bottom: var(--space-sm); }
.section__lede { font-size: var(--step-lede); max-width: var(--measure); }
.section--dark .section__lede { color: var(--on-dark-muted); }
.section--light .section__lede { color: var(--on-light-muted); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.eyebrow--ink { color: var(--gold-ink); }

.signature {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem);
  line-height: 1.3;
  color: var(--lavender);
  margin-bottom: var(--space-md);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 100;
  background: var(--gold);
  color: var(--midnight);
  font-weight: 600;
  padding: 0.85rem 1.4rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus-visible { transform: translate(-50%, 0); }

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.btn--sm { min-height: 44px; padding: 0.6rem 1.15rem; font-size: 0.9rem; }
.btn--lg { min-height: 56px; padding: 1rem 2.1rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn--gold {
  background: linear-gradient(135deg, #D8B45E 0%, var(--gold) 55%, #B98F3A 100%);
  color: var(--midnight);
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(201, 162, 75, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn--gold:hover {
  background: linear-gradient(135deg, #E6C679 0%, #DDB864 55%, #C9A24B 100%);
  border-color: #DDB864;
  box-shadow: 0 10px 26px rgba(201, 162, 75, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(185, 166, 224, 0.55);
}

.btn--ghost:hover { border-color: var(--lavender); background: rgba(185, 166, 224, 0.12); }

.btn--outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--rule-dark);
}

.btn--outline:hover { background: rgba(201, 162, 75, 0.12); border-color: var(--gold); }

/* Soft gold shimmer: a single sweep on hover for every gold button, plus a slow,
   occasional ambient sweep on the primary CTAs. Transform-only, so it stays on
   the compositor. Disabled entirely under reduced motion. */
.btn--gold::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-160%) skewX(-18deg);
  pointer-events: none;
}

.btn--gold:hover::after { animation: shimmer 850ms var(--ease) 1; }

@keyframes shimmer {
  from { transform: translateX(-160%) skewX(-18deg); }
  to   { transform: translateX(330%) skewX(-18deg); }
}

@media (prefers-reduced-motion: no-preference) {
  .btn--shimmer::after { animation: shimmer-idle 7s var(--ease) 2.4s infinite; }
  .btn--shimmer:hover::after { animation: shimmer 850ms var(--ease) 1; }
}

@keyframes shimmer-idle {
  0%        { transform: translateX(-160%) skewX(-18deg); }
  14%, 100% { transform: translateX(330%) skewX(-18deg); }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.btn-row--center { justify-content: center; }

/* =========================================================
   Header: text + gold star lockup
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0B0F2A;
  --focus: var(--gold);
  transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(11, 15, 42, 0.96);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    backdrop-filter: saturate(140%) blur(14px);
  }
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 75, 0.55) 20%, rgba(201, 162, 75, 0.55) 80%, transparent);
}

.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(5, 6, 15, 0.35); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  padding-block: var(--header-pad);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
  min-height: 44px;
  color: var(--on-dark);
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.brand__star {
  width: 26px;
  height: 26px;
  fill: var(--gold);
  filter: drop-shadow(0 0 6px rgba(201, 162, 75, 0.45));
  transition: transform 600ms var(--ease);
}

.brand:hover .brand__star { transform: rotate(45deg); }

.brand__text { display: flex; flex-direction: column; line-height: 1; }

.brand__name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #F7F2E6;
}

.brand__tag {
  margin-top: 0.22rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (min-width: 900px) {
  .brand__star { width: 30px; height: 30px; }
  .brand__name { font-size: 1.75rem; }
  .brand__tag { font-size: 0.64rem; }
}

.primary-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm) clamp(1rem, 0.4rem + 1.4vw, 1.9rem);
}

.primary-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) clamp(1rem, 0.4rem + 1.4vw, 1.9rem);
}

.primary-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--on-dark);
  text-decoration: none;
  position: relative;
  transition: color var(--dur) var(--ease);
}

.primary-nav__list a:hover { color: var(--champagne); }

.primary-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.primary-nav__list a:hover::after,
.primary-nav__list a:focus-visible::after,
.primary-nav__list a[aria-current="true"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem 0.9rem;
  background: transparent;
  color: var(--on-dark);
  border: 1px solid rgba(201, 162, 75, 0.45);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--gold);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.nav-toggle__bars { position: relative; }

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after  { top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

/* Collapsed menu is enabled only after the toggle initialises successfully */
.js-nav .nav-toggle { display: inline-flex; }

.js-nav .primary-nav {
  flex-basis: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding-block: var(--space-xs) var(--space-sm);
  border-top: 1px solid var(--rule-dark);
  margin-top: var(--space-2xs);
}

.js-nav .primary-nav[hidden] { display: none; }

.js-nav .primary-nav__list {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.js-nav .primary-nav__list a {
  min-height: 48px;
  padding-block: 0.3rem;
}

.js-nav .primary-nav__list a::after { bottom: 10px; right: auto; width: 1.75rem; }

.js-nav .primary-nav__cta { margin-top: var(--space-xs); }

@media (min-width: 900px) {
  .js-nav .nav-toggle { display: none; }

  .js-nav .primary-nav,
  .js-nav .primary-nav[hidden] {
    display: flex;
    flex-basis: auto;
    flex-direction: row;
    align-items: center;
    gap: var(--space-sm) clamp(1rem, 0.4rem + 1.4vw, 1.9rem);
    padding-block: 0;
    border-top: 0;
    margin-top: 0;
  }

  .js-nav .primary-nav__list {
    flex-direction: row;
    gap: var(--space-sm) clamp(1rem, 0.4rem + 1.4vw, 1.9rem);
  }

  .js-nav .primary-nav__list a::after { right: 0; width: auto; bottom: 8px; }
  .js-nav .primary-nav__cta { margin-top: 0; }
}

/* =========================================================
   Celestial ornament
   ========================================================= */

.starfield {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.starfield::before,
.starfield::after {
  content: "";
  position: absolute;
  top: 4%;
  left: 3%;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: transparent;
}

.starfield::before {
  opacity: 0.55;
  box-shadow:
      40px 30px 0 0 #FFF4D6,  180px 90px 0 0 var(--lavender), 320px 20px 0 0 #FFF4D6,
     460px 140px 0 0 var(--gold),  600px 60px 0 0 var(--lavender), 760px 180px 0 0 #FFF4D6,
     900px 40px 0 0 var(--gold),  1040px 120px 0 0 var(--lavender), 1180px 70px 0 0 #FFF4D6,
     120px 240px 0 0 var(--gold),  380px 320px 0 0 var(--lavender), 660px 280px 0 0 #FFF4D6,
     940px 360px 0 0 var(--gold),  1220px 250px 0 0 var(--lavender), 240px 430px 0 0 #FFF4D6,
     520px 500px 0 0 var(--gold),  820px 460px 0 0 var(--lavender), 1100px 540px 0 0 #FFF4D6,
      60px 600px 0 0 var(--gold),  700px 640px 0 0 var(--lavender), 1320px 420px 0 0 #FFF4D6,
    1380px 120px 0 0 var(--gold), 1300px 620px 0 0 var(--lavender);
}

.starfield::after {
  opacity: 0.45;
  box-shadow:
     260px 110px 0 0 #FFF4D6,  540px 210px 0 0 var(--gold), 880px 150px 0 0 var(--lavender),
    1150px 330px 0 0 #FFF4D6,  160px 380px 0 0 var(--gold), 420px 560px 0 0 var(--lavender),
     980px 620px 0 0 #FFF4D6,   80px 150px 0 0 var(--gold), 1260px 520px 0 0 var(--gold);
}

/* Two depth layers in the hero: small, dim, distant points and fewer, larger,
   brighter near points. The near layer drifts slightly with scroll (JS). */
.starfield--far::before,
.starfield--far::after { width: 1px; height: 1px; }
.starfield--far::before { opacity: 0.5; top: 11%; left: 7%; }
.starfield--far::after { opacity: 0.35; top: 1%; left: 12%; }

.starfield--near { transform: translate3d(0, var(--py-near, 0px), 0); }
.starfield--near::before { opacity: 0.8; width: 2.5px; height: 2.5px; top: 20%; left: -2%; filter: blur(0.2px); }
.starfield--near::after { display: none; }

.starfield--sparse::before { opacity: 0.32; }
.starfield--sparse::after { opacity: 0.24; }

@media (prefers-reduced-motion: no-preference) {
  .starfield--far::after { animation: twinkle 5s ease-in-out infinite; }
  .starfield--near::before { animation: twinkle-near 7s ease-in-out infinite; }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; }
  50%      { opacity: 0.6; }
}

@keyframes twinkle-near {
  0%, 100% { opacity: 0.8; }
  50%      { opacity: 0.45; }
}

.star { display: block; fill: var(--gold); }

.halo {
  position: absolute;
  z-index: 0;
  inset: -22% -14% -18% -18%;
  background:
    radial-gradient(closest-side, rgba(185, 166, 224, 0.22), rgba(185, 166, 224, 0.06) 62%, transparent 78%);
  pointer-events: none;
}

/* Gold hairline between sections */
.section--dark::before,
.contact::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  width: min(720px, 80%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(201, 162, 75, 0.6), transparent);
}

.hero.section--dark::before { display: none; }

/* Ornamental divider for light-on-light transitions */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-inline: var(--gutter);
  background: var(--ivory);
}

.divider::before,
.divider::after {
  content: "";
  flex: 0 1 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 75, 0.7));
}

.divider::after { background: linear-gradient(270deg, transparent, rgba(201, 162, 75, 0.7)); }

.divider span {
  flex: none;
  width: 14px;
  height: 14px;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 0 Q17.8 14.2 32 16 Q17.8 17.8 16 32 Q14.2 17.8 0 16 Q14.2 14.2 16 0 Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 0 Q17.8 14.2 32 16 Q17.8 17.8 16 32 Q14.2 17.8 0 16 Q14.2 14.2 16 0 Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(107, 63, 160, 0.30), transparent 58%),
    linear-gradient(176deg, var(--midnight) 0%, #141A3E 55%, var(--navy) 100%);
  padding-block: clamp(3rem, 1.6rem + 6vw, 6.5rem) clamp(3.5rem, 2rem + 6vw, 7rem);
  isolation: isolate;
}

/* The supplied nebula artwork, blended into the gradient. Oversized vertically
   so a gentle scroll parallax never reveals an edge. */
.hero__backdrop {
  position: absolute;
  inset: -12% 0 -12% 0;
  z-index: -1;
  background: url("assets/images/hero-background-sm.webp") 72% center / cover no-repeat;
  opacity: 0.55;
  transform: translate3d(0, var(--py-back, 0px), 0);
  will-change: transform;
}

.hero__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 21, 53, 0.55) 0%, rgba(15, 21, 53, 0.25) 45%, rgba(27, 31, 75, 0.85) 100%);
}

@media (min-width: 768px) {
  .hero__backdrop {
    background-image: url("assets/images/hero-background.webp");
    background-position: right center;
    opacity: 0.85;
  }

  .hero__backdrop::after {
    background:
      linear-gradient(90deg, rgba(15, 21, 53, 0.92) 0%, rgba(15, 21, 53, 0.6) 42%, rgba(15, 21, 53, 0.1) 75%),
      linear-gradient(180deg, transparent 70%, rgba(27, 31, 75, 0.9) 100%);
  }
}

.hero__glow {
  position: absolute;
  z-index: -1;
  top: 10%;
  right: -10%;
  width: min(760px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201, 162, 75, 0.14), rgba(107, 63, 160, 0.12) 55%, transparent 75%);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__glow { animation: glow 9s ease-in-out infinite alternate; }
}

@keyframes glow {
  from { opacity: 0.7; transform: scale(0.96); }
  to   { opacity: 1;   transform: scale(1.04); }
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.75rem, 1.5rem + 5vw, 5rem);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); }
}

.hero__title {
  font-size: var(--step-h1);
  margin-bottom: var(--space-sm);
  max-width: 15ch;
  color: #FBF8F2;
  text-shadow: 0 2px 24px rgba(5, 6, 15, 0.45);
}

.hero__lede {
  font-size: var(--step-lede);
  color: var(--on-dark-muted);
  max-width: 46ch;
  margin-bottom: var(--space-lg);
}

.hero__note {
  font-size: var(--step-small);
  line-height: 1.65;
  color: var(--on-dark-muted);
  max-width: 48ch;
}

/* Entrance: staggered fade-up. The heading moves but never starts invisible,
   so it paints immediately (good for LCP). */
@media (prefers-reduced-motion: no-preference) {
  .hero__in { animation: fade-up 800ms var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 60ms); }
  .hero__in--soft { animation-name: rise; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

@keyframes rise {
  from { transform: translateY(12px); }
  to   { transform: none; }
}

.hero__preview { position: relative; }

.star--hero {
  position: absolute;
  z-index: 2;
  top: -18px;
  right: 6px;
  width: 38px;
  height: 38px;
  opacity: 0.95;
  filter: drop-shadow(0 0 10px rgba(201, 162, 75, 0.6));
}

@media (prefers-reduced-motion: no-preference) {
  .star--hero { animation: star-breathe 6s ease-in-out infinite; }
}

@keyframes star-breathe {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.08) rotate(8deg); }
}

/* Champagne report preview */
.report-preview {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: clamp(1.4rem, 1rem + 1.4vw, 2.1rem);
  background: linear-gradient(168deg, #FFFBF1 0%, var(--champagne) 100%);
  color: var(--on-light);
  border: 1px solid rgba(201, 162, 75, 0.55);
  border-radius: var(--radius-lg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 24px 60px rgba(5, 6, 15, 0.5),
    0 0 0 6px rgba(201, 162, 75, 0.08);
}

.report-preview__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(201, 162, 75, 0.5);
}

.report-preview__kicker {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--on-light);
}

.report-preview__org {
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.report-preview__list { margin-top: var(--space-xs); }

.report-preview__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.35rem var(--space-sm);
  padding-block: var(--space-sm);
  border-bottom: 1px solid rgba(22, 27, 54, 0.12);
}

.report-preview__item .pill { grid-column: 2; justify-self: start; }

@media (min-width: 480px) {
  .report-preview__item { grid-template-columns: auto minmax(0, 1fr) auto; }
  .report-preview__item .pill { grid-column: auto; justify-self: end; }
}

.report-preview__item:last-child { border-bottom: 0; }

.report-preview__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(201, 162, 75, 0.6);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-ink);
  line-height: 1;
}

.report-preview__body { display: block; min-width: 0; }

.report-preview__funder {
  display: block;
  font-weight: 600;
  line-height: 1.4;
}

.report-preview__meta {
  display: block;
  font-size: var(--step-small);
  line-height: 1.55;
  color: var(--on-light-muted);
}

.pill {
  display: inline-block;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.pill--strong   { background: rgba(107, 63, 160, 0.13); color: var(--violet-deep); }
.pill--moderate { background: rgba(201, 162, 75, 0.2);  color: var(--gold-ink); }
.pill--review   { background: rgba(22, 27, 54, 0.07);   color: var(--on-light-muted); }

.report-preview__foot {
  margin-top: var(--space-sm);
  padding-top: var(--space-xs);
  border-top: 1px solid rgba(201, 162, 75, 0.5);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-light-muted);
}

/* =========================================================
   Credentials strip
   ========================================================= */

.credentials {
  background: var(--ivory);
  border-bottom: 1px solid var(--rule-light);
  padding-block: clamp(1.1rem, 0.85rem + 1vw, 1.6rem);
  --focus: var(--violet);
}

.credentials__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem clamp(1.4rem, 0.8rem + 1.6vw, 2.4rem);
  text-align: center;
}

.credentials__list li {
  position: relative;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--on-light);
}

.credentials__list li + li::before {
  content: "";
  position: absolute;
  left: calc(clamp(1.4rem, 0.8rem + 1.6vw, 2.4rem) / -2 - 4px);
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 0 Q17.8 14.2 32 16 Q17.8 17.8 16 32 Q14.2 17.8 0 16 Q14.2 14.2 16 0 Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 0 Q17.8 14.2 32 16 Q17.8 17.8 16 32 Q14.2 17.8 0 16 Q14.2 14.2 16 0 Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* =========================================================
   About
   ========================================================= */

.about__grid {
  display: grid;
  gap: clamp(2.25rem, 1.2rem + 4vw, 4.5rem);
  align-items: center;
}

@media (min-width: 880px) {
  .about__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
}

.about__figure { display: flex; justify-content: center; }

/* portrait.jpg is pre-cropped to the circular artwork (the checkerboard corners
   of the original export are gone), so a plain circle clip is exact. */
.portrait-frame {
  position: relative;
  width: min(360px, 82vw);
  aspect-ratio: 1;
  padding: 14px;
  border-radius: 50%;
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 75, 0.55);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px dashed rgba(107, 63, 160, 0.22);
}

.portrait-frame__star {
  position: absolute;
  z-index: 2;
  top: 9%;
  right: 7%;
  width: 26px;
  height: 26px;
  fill: var(--gold);
  filter: drop-shadow(0 2px 6px rgba(15, 21, 53, 0.25));
}

.portrait {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(15, 21, 53, 0.25);
}

.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__copy > p { max-width: var(--measure); color: var(--on-light-muted); }
.about__copy .section__title { margin-bottom: var(--space-sm); }

.about__copy > .about__role {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: var(--space-md);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(201, 162, 75, 0.55);
}

.about__copy > .about__role + p {
  color: var(--on-light);
  font-size: var(--step-lede);
}

/* =========================================================
   Who I help
   ========================================================= */

.who {
  background: linear-gradient(180deg, var(--ivory) 0%, #F6EEDC 100%);
  padding-top: calc(var(--section-y) * 0.7);
}

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

.who__grid {
  display: grid;
  gap: clamp(1rem, 0.6rem + 1.2vw, 1.5rem);
}

@media (min-width: 640px) { .who__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .who__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.who__item {
  position: relative;
  padding: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  background: #FFFDF8;
  border: 1px solid rgba(201, 162, 75, 0.3);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(15, 21, 53, 0.05);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.who__item:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 162, 75, 0.6);
  box-shadow: 0 16px 36px rgba(15, 21, 53, 0.09);
}

.who__icon {
  width: 50px;
  height: 50px;
  padding: 12px;
  margin-bottom: var(--space-sm);
  border-radius: 50%;
  background: var(--midnight);
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.who__title { font-size: var(--step-h3); margin-bottom: var(--space-xs); text-wrap: pretty; }
.who__item p { font-size: 0.95rem; line-height: 1.65; color: var(--on-light-muted); }

/* =========================================================
   Services
   ========================================================= */

.services__grid {
  --card-gap: clamp(1rem, 0.6rem + 1.2vw, 1.5rem);
  display: grid;
  gap: var(--card-gap);
  grid-template-columns: 1fr;
}

@media (min-width: 1000px) {
  .services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
}

@media (min-width: 640px) and (max-width: 999.98px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .services__grid .card:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - var(--card-gap) / 2);
  }
}

.card {
  --card-pad: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--card-pad);
  background: linear-gradient(180deg, rgba(27, 31, 75, 0.62), rgba(27, 31, 75, 0.35));
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius-lg);
  transition: transform 320ms var(--ease), border-color 320ms var(--ease), box-shadow 320ms var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 75, 0.55);
  box-shadow: 0 22px 50px rgba(5, 6, 15, 0.45);
}

/* Equal row heights across the three cards: title, price, description, and
   inclusions line up, and the buttons sit on one baseline. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1000px) {
    .services__grid { grid-template-rows: repeat(6, auto); row-gap: 0; }
    .services__grid .card {
      display: grid;
      grid-row: span 6;
      grid-template-rows: subgrid;
      row-gap: 0;
    }
  }
}

.card__media {
  display: block;
  margin: calc(var(--card-pad) * -1) calc(var(--card-pad) * -1) var(--space-md);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--rule-dark);
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
  background: rgba(15, 21, 53, 0.55);
}

.card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.card:hover .card__media img { transform: scale(1.04); }

.card--featured {
  background: linear-gradient(180deg, rgba(107, 63, 160, 0.34), rgba(75, 43, 115, 0.18));
  border-color: rgba(201, 162, 75, 0.7);
  box-shadow: 0 0 0 1px rgba(201, 162, 75, 0.25), 0 24px 60px rgba(107, 63, 160, 0.25);
}

.card__flag {
  position: absolute;
  z-index: 2;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.3rem 0.85rem;
  background: var(--midnight);
  border: 1px solid rgba(201, 162, 75, 0.75);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold);
  box-shadow: 0 6px 16px rgba(5, 6, 15, 0.45);
}

.card__flag svg { width: 10px; height: 10px; fill: var(--gold); }

.card__title {
  font-size: var(--step-h3);
  margin-bottom: var(--space-xs);
}

.card__price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  text-wrap: balance;
}

.card__price span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--on-dark-muted);
  white-space: nowrap;
}

.card__desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--on-dark-muted);
  margin-bottom: var(--space-md);
}

.checks {
  display: grid;
  gap: 0.55rem;
  margin-bottom: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--rule-dark);
  align-content: start;
}

.checks li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--on-dark);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: rgba(201, 162, 75, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4 6.7 11 12 5.2' fill='none' stroke='%23C9A24B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, 0.55);
}

.card .btn { margin-top: auto; align-self: end; }

.services__note {
  margin-top: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  padding-top: var(--space-md);
  border-top: 1px solid var(--rule-dark);
  font-size: var(--step-small);
  color: var(--on-dark-muted);
  max-width: var(--measure);
}

/* =========================================================
   Process timeline
   ========================================================= */

.process__list {
  position: relative;
  display: grid;
  gap: clamp(2rem, 1.2rem + 3vw, 3rem);
  counter-reset: step;
}

/* Mobile: vertical rail on the left */
.process__list::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 27px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(201, 162, 75, 0.2));
  opacity: 0.6;
}

.process__step { position: relative; padding-left: 80px; }

.process__num {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 6px var(--ivory), 0 8px 20px rgba(15, 21, 53, 0.1);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-ink);
}

.process__kicker {
  margin-bottom: 0.3rem;
  padding-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
}

@media (min-width: 860px) {
  .process__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .process__list::before {
    top: 28px;
    bottom: auto;
    left: 28px;
    right: calc((100% - 2 * clamp(2rem, 1.2rem + 3vw, 3rem)) / 3 - 28px);
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), var(--gold) 70%, rgba(201, 162, 75, 0.3));
  }

  .process__step { padding-left: 0; padding-top: 80px; }
}

.process__step:hover .process__num {
  background: var(--midnight);
  color: var(--gold);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.process__title { font-size: var(--step-h3); margin-bottom: var(--space-xs); }
.process__step > p:not(.process__num):not(.process__kicker) { color: var(--on-light-muted); max-width: 42ch; }

/* =========================================================
   What's in a report
   ========================================================= */

.report__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}

.report__grid .section__head { margin-bottom: 0; }

@media (min-width: 960px) {
  .report__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}

.report__panel {
  position: relative;
  padding: clamp(1.3rem, 0.9rem + 1.6vw, 2.25rem);
  background: linear-gradient(168deg, #FFFBF1 0%, var(--champagne) 100%);
  color: var(--on-light);
  border: 1px solid rgba(201, 162, 75, 0.55);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(5, 6, 15, 0.45), 0 0 0 6px rgba(201, 162, 75, 0.08);
}

.report__panel::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(201, 162, 75, 0.28);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}

.report__panel-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: var(--space-sm);
}

.report__seal { width: 22px; height: 22px; fill: var(--gold); }

.report__panel-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  font-variant-numeric: lining-nums;
}

.report__panel-tag {
  margin-left: auto;
  padding: 0.2rem 0.65rem;
  border: 1px solid rgba(107, 79, 18, 0.4);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.report__table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.report__table caption {
  caption-side: top;
  text-align: left;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-xs);
  border-bottom: 1px solid rgba(201, 162, 75, 0.5);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--on-light-muted);
}

.report__table th,
.report__table td {
  padding-block: clamp(0.65rem, 0.5rem + 0.4vw, 0.9rem);
  vertical-align: baseline;
  border-bottom: 1px solid rgba(22, 27, 54, 0.12);
}

.report__table tr:last-child th,
.report__table tr:last-child td { border-bottom: 0; }

.report__table th {
  width: 36%;
  padding-right: var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.report__table td { color: var(--on-light); font-size: 0.97rem; }
.report__table td .pill { margin-right: 0.4rem; }

@media (max-width: 520px) {
  .report__table th,
  .report__table td { display: block; width: auto; }
  .report__table th { border-bottom: 0; padding-bottom: 0.15rem; }
  .report__table td { padding-top: 0; }
}

.report__note {
  max-width: var(--measure);
  margin-top: var(--space-md);
  padding-left: var(--space-sm);
  border-left: 2px solid var(--gold);
  font-size: var(--step-small);
  color: var(--on-dark-muted);
}

/* =========================================================
   FAQ
   ========================================================= */

.faq__list { display: grid; gap: 0.75rem; }

.faq__item {
  background: #FFFDF8;
  border: 1px solid var(--rule-light);
  border-radius: var(--radius-md);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.faq__item:hover { border-color: rgba(201, 162, 75, 0.5); }

.faq__item[open] {
  border-color: rgba(201, 162, 75, 0.6);
  box-shadow: 0 12px 30px rgba(15, 21, 53, 0.07);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  min-height: 60px;
  padding: var(--space-sm) clamp(1rem, 0.8rem + 1vw, 1.5rem);
  list-style: none;
  cursor: pointer;
  border-radius: var(--radius-md);
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__q {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  font-weight: 700;
  line-height: 1.3;
  transition: color var(--dur) var(--ease);
}

.faq__icon {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 75, 0.6);
  transition: transform 320ms var(--ease), background-color var(--dur) var(--ease);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  margin: -0.75px 0 0 -6px;
  background: var(--gold-ink);
  transition: transform 320ms var(--ease), opacity 320ms var(--ease);
}

.faq__icon::after { transform: rotate(90deg); }

.faq__item[open] .faq__icon { background: var(--midnight); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after { background: var(--gold); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }

.faq__item summary:hover .faq__q { color: var(--violet); }

.faq__a {
  overflow: hidden;
  padding: 0 clamp(1rem, 0.8rem + 1vw, 1.5rem) var(--space-md);
  max-width: calc(var(--measure) + 3rem);
  color: var(--on-light-muted);
}

/* =========================================================
   Contact
   ========================================================= */

.contact {
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(185, 166, 224, 0.16), transparent 62%),
    linear-gradient(168deg, var(--violet-deep) 0%, #2B2160 46%, var(--midnight) 100%);
  color: var(--on-dark);
  text-align: center;
  --focus: var(--gold);
}

.contact__inner { position: relative; z-index: 1; }

.star--contact {
  width: 34px;
  height: 34px;
  margin: 0 auto var(--space-md);
  opacity: 0.95;
  filter: drop-shadow(0 0 12px rgba(201, 162, 75, 0.55));
}

.contact__title {
  font-size: var(--step-h2);
  margin-bottom: var(--space-sm);
}

.contact__lede {
  font-size: var(--step-lede);
  color: var(--on-dark-muted);
  max-width: 46ch;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
}

.contact__email {
  margin-bottom: var(--space-xs);
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

/* Champagne rather than gold: gold measures only 3.49:1 against the lightest
   part of this gradient, champagne measures 6.93:1. The gold stays as the rule. */
.contact__email a {
  color: var(--champagne);
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.contact__email a:hover { text-decoration-thickness: 2px; }

.contact__note {
  font-size: var(--step-small);
  color: var(--on-dark-muted);
  max-width: 46ch;
  margin-inline: auto;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  position: relative;
  background: var(--plate);
  color: var(--on-dark);
  padding-block: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
  --focus: var(--gold);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 75, 0.45), transparent);
}

.site-footer__inner {
  display: grid;
  gap: var(--space-lg);
  justify-items: start;
}

@media (min-width: 900px) {
  .site-footer__inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--space-xl);
  }
}

.site-footer__brand { line-height: 0; }

.site-footer__logo {
  display: block;
  width: clamp(200px, 50vw, 260px);
  height: auto;
}

.site-footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.4rem;
}

@media (min-width: 900px) { .site-footer__nav ul { justify-content: center; } }

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9rem;
  color: var(--on-dark-muted);
  text-decoration: none;
}

.site-footer__nav a:hover { color: var(--champagne); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }

.site-footer__meta {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--on-dark-muted);
  text-align: left;
}

.site-footer__meta p { margin: 0; }

.site-footer__meta a {
  color: var(--gold);
  overflow-wrap: anywhere;
  text-underline-offset: 4px;
}

.site-footer__legal { margin-top: var(--space-xs) !important; color: var(--on-dark-muted); }

@media (min-width: 900px) {
  .site-footer__meta { text-align: right; }
}

/* =========================================================
   Back to top
   ========================================================= */

.to-top {
  position: fixed;
  z-index: 40;
  right: clamp(1rem, 0.6rem + 1.5vw, 1.75rem);
  bottom: clamp(1rem, 0.6rem + 1.5vw, 1.75rem);
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 21, 53, 0.9);
  border: 1px solid rgba(201, 162, 75, 0.7);
  color: var(--gold);
  box-shadow: 0 10px 24px rgba(5, 6, 15, 0.35);
  --focus: var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur), background-color var(--dur) var(--ease);
}

.js-top .to-top { display: grid; }

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s, background-color var(--dur) var(--ease);
}

.to-top:hover { background: var(--gold); color: var(--midnight); }

.to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================================
   404
   ========================================================= */

.notfound {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: grid;
  place-items: center;
  text-align: center;
}

.notfound__inner { position: relative; z-index: 1; }
.notfound__code {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 3rem + 8vw, 8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: lining-nums;
  margin-bottom: var(--space-sm);
}
.notfound .section__lede { margin-inline: auto; margin-bottom: var(--space-lg); }

/* =========================================================
   Reveals — content is visible by default; JS opts in
   ========================================================= */

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Cards keep their hover transform working after reveal */
.js-reveal .card.reveal.is-visible,
.js-reveal .who__item.reveal.is-visible { transition-delay: 0ms; }

/* =========================================================
   Reduced motion
   ========================================================= */

@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;
  }

  .btn--gold:hover::after { animation: none; }
  .hero__backdrop, .starfield--near { transform: none !important; }
  .card:hover, .who__item:hover, .btn--gold:hover { transform: none; }
  .card:hover .card__media img { transform: none; }

  .js-reveal .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Forced colors
   ========================================================= */

@media (forced-colors: active) {
  .btn, .card, .faq__item, .who__item, .report__panel, .report-preview { border: 1px solid CanvasText; }
  .star, .brand__star, .divider span { forced-color-adjust: auto; }
}

/* Hover lift must out-rank the reveal end state */
.js-reveal .card.reveal.is-visible,
.js-reveal .who__item.reveal.is-visible {
  transition: opacity 700ms var(--ease), transform 320ms var(--ease), border-color 320ms var(--ease), box-shadow 320ms var(--ease);
}
.js-reveal .card.reveal.is-visible:hover { transform: translateY(-4px); }
.js-reveal .who__item.reveal.is-visible:hover { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  .js-reveal .card.reveal.is-visible:hover,
  .js-reveal .who__item.reveal.is-visible:hover { transform: none; }
}

/* =========================================================
   Editorial luxury edition
   An intentional final layer: original component rules stay readable.
   All artwork, prices, and research-only service promises are preserved.
   ========================================================= */
:root {
  --container: 1240px;
  --ivory: #FBF8F2;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --step-h2: clamp(2.55rem, 1.65rem + 3vw, 4.15rem);
  --step-h3: clamp(1.5rem, 1.25rem + .6vw, 1.85rem);
  --section-y: clamp(4.5rem, 2.4rem + 6.5vw, 8.75rem);
}
::selection { background: #DCC393; color: #0F1535; }
h1, h2 { font-weight: 500; letter-spacing: -.035em; }
h2 em { font-weight: 500; color: var(--gold-ink); }
.section--dark h2 em, .contact h2 em { color: #E6C98C; }
.section-index { opacity: .8; margin-right: .7rem; letter-spacing: .06em; }
.eyebrow { font-size: .69rem; letter-spacing: .19em; }
.section__lede { line-height: 1.75; }
.site-header { background: rgba(10, 15, 35, .97); }
.site-header::after { opacity: .55; }
.brand__star { filter: none; }
.brand__name { font-weight: 600; letter-spacing: .01em; }
.primary-nav__list a { font-size: .81rem; }
.primary-nav__cta { font-size: .76rem; letter-spacing: .025em; }
.btn { min-height: 52px; font-size: .84rem; padding: 1rem 1.5rem; }
.btn--sm { min-height: 44px; padding: .7rem 1.15rem; }
.btn--gold {
  background: linear-gradient(120deg, #E5C98E, #D3AF65 75%, #C9A24B);
  border-color: #DDC18B;
  box-shadow: 0 5px 20px rgba(201,162,75,.12), inset 0 1px 0 #F7E6C4;
}
.btn--ghost { border-color: transparent; gap: .85rem; padding-inline: .3rem; }
.btn--ghost:hover { background: transparent; border-color: transparent; color: #E6C98C; }
.btn--ghost span { font-size: 1.2rem; }
/* Motion is limited to entrances and deliberate hover interactions. */
.btn--shimmer::after, .hero__glow, .star--hero,
.starfield--far::after, .starfield--near::before { animation: none; }
.btn--shimmer:hover::after { animation: shimmer 850ms var(--ease) 1; }

/* Opening composition: generous type, a quietly luminous sky, and stationery. */
.hero { padding-top: clamp(3.75rem, 2.5rem + 3vw, 6rem); padding-bottom: 0; background: #0B112B; }
.hero__backdrop { opacity: .75; }
.hero__backdrop::after {
  background: linear-gradient(90deg, rgba(11,17,43,.9), rgba(11,17,43,.45) 55%, rgba(11,17,43,.15)),
              linear-gradient(0deg, #0B112B, transparent 55%);
}
.hero__grid { gap: clamp(3rem, 4vw, 5rem); align-items: center; }
.hero__copy { min-width: 0; }
.hero__title {
  font-size: clamp(3.3rem, 2rem + 4.15vw, 6rem);
  line-height: .98; max-width: none; margin-block: 1.65rem 1.5rem;
  text-align: left; text-wrap: initial; text-shadow: none;
}
.hero__title span, .hero__title em { display: block; }
.hero__title em { color: #E6C98C; font-weight: 500; }
.hero .signature { font-size: 1.9rem; color: #C5B8DC; margin-bottom: 1.6rem; }
.hero__lede { max-width: 44ch; font-size: clamp(1rem, .96rem + .15vw, 1.1rem); line-height: 1.8; margin-bottom: 1.8rem; }
.hero .btn-row { align-items: center; gap: .7rem 1.25rem; }
.hero__note { font-size: .73rem; line-height: 1.8; max-width: 52ch; color: #B5AEC8; }
.hero__preview { padding: 1.1rem 0; max-width: 590px; width: 100%; justify-self: center; }
.hero__preview::before {
  content: ""; position: absolute; inset: 0 1.1rem;
  transform: rotate(3deg); border: 1px solid rgba(222,193,133,.4);
  border-radius: 6px; background: rgba(185,166,224,.035); pointer-events: none;
}
.star--hero { top: -12px; right: -8px; width: 31px; height: 31px; filter: none; }
.report-preview {
  border-radius: 3px; border-color: #DBCBA9;
  background: linear-gradient(130deg,#FFFDF8,#F2E9D7);
  padding: clamp(1.35rem, 3vw, 2.5rem);
  box-shadow: 0 28px 70px rgba(0,0,0,.32);
}
.report-preview__masthead {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .57rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-ink); border-bottom: 1px solid #D8CBAD; padding-bottom: 1rem; margin-bottom: 1.65rem;
}
.report-preview__masthead > span:last-child { font-size: 1.3rem; line-height: 1; }
.report-preview__head { display: block; padding-bottom: 1.4rem; }
.report-preview__kicker { display: block; font-size: clamp(2.1rem, 2.5vw, 2.8rem); line-height: 1.06; font-weight: 500; letter-spacing: -.025em; }
.report-preview__kicker em { font-weight: 500; color: var(--gold-ink); }
.report-preview__org { display: block; margin-top: .95rem; font-size: .58rem; letter-spacing: .13em; }
.report-preview__item { grid-template-columns: 1.6rem minmax(0,1fr); gap: .5rem .75rem; padding-block: 1.15rem; }
.report-preview__item .pill { grid-column: 2; justify-self: start; font-size: .61rem; padding: .2rem .5rem; }
.report-preview__num { width: auto; height: auto; border: 0; align-self: start; margin-top: .12rem; font-size: 1.08rem; }
.report-preview__funder { font-size: .84rem; font-weight: 500; }
.report-preview__meta { font-size: .68rem; margin-top: .2rem; }
.report-preview__foot { display: flex; justify-content: space-between; gap: .8rem; font-size: .56rem; line-height: 1.6; letter-spacing: .02em; text-transform: none; padding-top: .9rem; }
.report-preview__foot > span:last-child { text-transform: uppercase; letter-spacing: .09em; }
.hero__closing { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: clamp(3rem,5vw,5rem); padding-block: 1.5rem; }
.hero__closing::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(201,162,75,.25); }
.hero__closing p, .hero__closing a { margin: 0; font-size: .67rem; letter-spacing: .09em; color: #C6BCE3; }
.hero__closing a { text-decoration: none; display: inline-flex; align-items: center; gap: 2rem; min-height: 30px; }
.hero__closing a:hover { color: #E6C98C; }
@media (min-width:1024px) { .hero__grid { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); } }
@media (max-width:1023.98px) { .hero__copy { max-width: 680px; } .hero__preview { justify-self: start; } }

/* Credentials become a quiet typographic bridge into the founder story. */
.credentials { padding-block: 1.4rem; background: #F2ECDF; border-bottom-color: #E3D9C5; }
.credentials__list { gap: .7rem 2.25rem; }
.credentials__list li { font-size: .7rem; line-height: 1.6; letter-spacing: .035em; }
.credentials__list li + li::before { left: -1.125rem; background: #92723A; width: 3px; height: 3px; }

/* Portrait pavilion. The portrait pixels and circular crop are unchanged. */
.about__grid { gap: clamp(3rem, 6.5vw, 7rem); }
.about__figure {
  position: relative; margin: 0; padding: 2.2rem clamp(1.5rem,3vw,3rem) 2.5rem;
  flex-direction: column; align-items: center;
  background: linear-gradient(145deg,#F2EBDD,#EBE2CF);
  border: 1px solid #DCCDAE; border-radius: 190px 190px 4px 4px;
}
.portrait-caption__eyebrow { text-align: center; text-transform: uppercase; font-size: .56rem; letter-spacing: .17em; color: var(--gold-ink); margin-block: 1.6rem 2rem; }
.portrait-frame { width: min(340px,100%); flex-shrink: 0; padding: 10px; }
.portrait-frame::after { inset: -10px; border-style: solid; border-color: rgba(155,123,55,.2); }
.portrait-frame__star { fill: #8E6E2D; filter: none; }
.portrait { box-shadow: 0 18px 38px rgba(15,21,53,.16); }
.portrait-caption { margin-top: 2rem; text-align: center; }
.portrait-caption > span { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1.2; }
.portrait-caption > small { display: block; font-size: .56rem; text-transform: uppercase; letter-spacing: .13em; margin-top: .65rem; color: #61543B; }
.about__copy > .eyebrow { color: var(--gold-ink); }
.about__copy .section__title { font-size: clamp(2.5rem,3.7vw,3.8rem); line-height: 1.08; margin-bottom: 1.5rem; }
.about__copy > .about__role { font-size: .66rem; letter-spacing: .09em; line-height: 1.8; padding-bottom: 1.1rem; margin-bottom: 1.4rem; }
.about__copy > p { font-size: .96rem; line-height: 1.85; }
.about__copy > .about__role + p { font-size: 1.07rem; }
@media (min-width:880px) { .about__grid { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); } }
@media (max-width:879.98px) { .about__figure { width: min(440px,100%); justify-self: center; } }

/* Audience notes are editorial columns, allowing the service imagery to lead. */
.who { background: var(--ivory); padding-block: 4rem 5.5rem; }
.who .section__title { font-size: clamp(2.3rem,3vw,3.3rem); }
.who .section__lede { font-size: .98rem; }
.who__grid { gap: 2rem; }
.who__item { padding: 1.6rem 0 0; background: transparent; border: 0; border-top: 1px solid #D2C4A8; border-radius: 0; box-shadow: none; }
.who__item:hover { border-color: #9A7940; box-shadow: none; }
.who__icon { background: transparent; stroke: #80612B; border-radius: 0; padding: 0; width: 28px; height: 28px; margin-bottom: 1.2rem; }
.who__title { font-size: 1.5rem; font-weight: 600; }
.who__item p { font-size: .87rem; line-height: 1.8; }

/* Service collection: framed still lifes, crisp pricing, consistent baselines. */
#services { background: radial-gradient(ellipse at 85% 0%,#292046,transparent 65%),#0D142E; }
#services .section__head { max-width: 900px; }
#services .section__lede { max-width: 52ch; font-size: 1rem; }
.card { --card-pad: clamp(1.25rem,2.2vw,1.8rem); background: #141C38; border-color: #514731; border-radius: 5px; }
.card--featured { background: #201E3B; border-color: #B3965B; box-shadow: 0 18px 50px rgba(0,0,0,.15); }
.card__media { border-radius: 4px 4px 0 0; margin-bottom: 1.65rem; }
.card__title { font-weight: 500; font-size: clamp(1.5rem,2vw,1.8rem); line-height: 1.15; letter-spacing: -.015em; }
.card__price { color: #E6C98C; font-size: 1.85rem; margin-block: .4rem 1rem; text-align: left; text-wrap: initial; }
.card__price span { display: block; font-size: .68rem; line-height: 1.5; margin-top: .45rem; letter-spacing: .035em; }
.card__desc { font-size: .85rem; line-height: 1.8; }
.checks li { font-size: .8rem; line-height: 1.7; padding-left: 1.5rem; }
.checks { gap: .7rem; }
.checks li::before { top: .22rem; width: .9rem; height: .9rem; background-size: .65rem; }
.card__flag { left: auto; right: 1rem; top: 1rem; transform: none; border-radius: 3px; background: #12172D; color: #E6C98C; padding: .45rem .65rem; font-size: .58rem; }
.card .btn { min-height: 48px; font-size: .78rem; }
.services__note { max-width: none; text-align: center; font-size: .73rem; line-height: 1.8; }

/* The process uses oversized folio numerals instead of another card system. */
.process__list::before { display: none; }
.process__step { padding-left: 0; padding-top: 0; border-top: 1px solid #D2C4A8; }
.process__num { position: static; display: block; width: auto; height: auto; background: transparent; border: 0; box-shadow: none; color: #88682F; font-size: 4.5rem; font-weight: 500; line-height: 1; margin-block: 1.4rem 1.75rem; }
.process__step:hover .process__num { background: transparent; color: #88682F; }
.process__kicker { font-size: .62rem; margin-bottom: .75rem; }
.process__title { font-size: 1.65rem; font-weight: 600; }
.process__step > p:not(.process__num):not(.process__kicker) { font-size: .88rem; line-height: 1.85; }

.report { background: #171A35; }
.report__grid { gap: clamp(2.5rem,6vw,6rem); }
.report__panel { border-radius: 3px; background: #F7F0E1; box-shadow: 12px 12px 0 rgba(201,162,75,.07),0 24px 60px rgba(0,0,0,.2); }
.report__panel::before { border-radius: 0; }
.report__panel-title { font-size: 1.7rem; font-weight: 500; }
.report__table th { font-size: .62rem; letter-spacing: .085em; }
.report__table td { font-size: .84rem; line-height: 1.7; }
.report__table caption { font-size: .61rem; line-height: 1.8; letter-spacing: .07em; }
.report__note { font-size: .78rem; line-height: 1.9; }

.faq__grid { display: grid; gap: 2rem 5rem; }
.faq__grid .section__head { margin-bottom: 0; }
.faq__list { gap: 0; border-top: 1px solid #D2C4A8; align-self: start; }
.faq__item, .faq__item[open] { background: transparent; border: 0; border-bottom: 1px solid #D2C4A8; border-radius: 0; box-shadow: none; }
.faq__item summary { padding: 1.45rem 0; min-height: 80px; }
.faq__q { font-size: 1.5rem; font-weight: 500; }
.faq__icon { width: 27px; height: 27px; border-color: #B69B63; }
.faq__a { padding-inline: 0; padding-right: 2rem; font-size: .91rem; line-height: 1.8; }
@media (min-width:960px) { .faq__grid { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); } }

/* Closing invitation, with static celestial orbits behind the text. */
.contact { background: radial-gradient(ellipse at 50% 0%,#34234D,transparent 70%),#10162F; padding-block: clamp(4rem,7vw,6rem); }
.contact::after { content: ""; pointer-events: none; position: absolute; width: min(900px,120vw); aspect-ratio: 1; border: 1px solid rgba(201,162,75,.12); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 0 55px rgba(201,162,75,.025),0 0 0 110px rgba(201,162,75,.015); }
.star--contact { width: 26px; height: 26px; filter: none; margin-bottom: 1.5rem; }
.contact .eyebrow { color: #DDC397; font-size: .6rem; }
.contact__title { font-size: clamp(3.2rem,5.5vw,5.2rem); line-height: 1.02; margin-bottom: 1.6rem; }
.contact__lede { font-size: 1rem; line-height: 1.8; }
.contact__email { font-size: .9rem; }
.contact__note { font-size: .7rem; }
.site-footer { padding-block: 2rem; }
.site-footer__logo { width: 210px; }
.site-footer__nav a { font-size: .75rem; }
.site-footer__meta { font-size: .74rem; }

@media (max-width:639.98px) {
  .hero .btn-row { align-items: stretch; }
  .hero .btn--gold { width: 100%; }
  .hero .btn--ghost { padding-inline: 0; }
  .hero__closing { margin-top: 2.4rem; gap: .25rem; flex-direction: column; }
  .hero__closing a { min-height: 44px; }
  .credentials__list { display: grid; grid-template-columns: 1fr 1fr; text-align: left; gap: .9rem 1.5rem; }
  .credentials__list li { font-size: .62rem; }
  .credentials__list li + li::before { display: none; }
  .portrait-caption__eyebrow { margin-top: .75rem; }
  .about__copy .section__title { font-size: clamp(2.2rem,8vw,2.9rem); }
  .report-preview__foot { flex-wrap: wrap; }
  .card__title { font-size: 1.8rem; }
  .process__list { gap: 2.5rem; }
  .process__num { font-size: 3.8rem; margin-block: 1rem; }
  .site-footer__inner { gap: 1.2rem; }
  .site-footer__nav ul { gap: .1rem 1.2rem; }
}
/* A tall expanded menu must not obscure content when JavaScript is absent. */
@media (max-width:899.98px) {
  html:not(.js-nav) .site-header { position: static; }
  html:not(.js-nav) [id] { scroll-margin-top: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .btn--shimmer:hover::after { animation: none; }
}
@media (forced-colors: active) {
  .hero__title em, h2 em { color: CanvasText; }
  .about__figure, .faq__item { border: 1px solid CanvasText; }
}
