/* ==========================================================================
   Hoʻomau Financial Group — shared styles
   Brand: midnight navy + gold foil (from the logo).
   Layout language: framed page, floating pill header, centered hero,
   chip eyebrows, two-tone headlines, divider stat row, satin feature panel.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Primitives (from CLAUDE.md) */
  --navy-950: #020F20;   /* logo artwork background */
  --navy-900: #0A1628;   /* primary midnight navy */
  --navy-800: #12223D;   /* secondary navy: cards, hover */
  --navy-700: #1B2E4E;
  --frame:    #050C18;   /* outer page frame */
  --gold:        #D4AF5A;
  --gold-light:  #F1D98A;
  --gold-deep:   #A9802F;
  --gold-ink:    #7A5B1C; /* gold that passes AA on ivory (small labels) */
  --ivory:       #FAF6EC;
  --ivory-2:     #F2EBDA;
  --ink:         #1E2533;
  --ink-muted:   #4A5263;
  --cream:       #F3EEE2;

  /* Semantic */
  --bg: var(--frame);
  --surface-dark: var(--navy-900);
  --surface-dark-raised: var(--navy-800);
  --surface-light: var(--ivory);
  --text-on-dark: var(--cream);
  --text-on-dark-muted: rgba(243, 238, 226, 0.74);
  --text-on-dark-subtle: rgba(243, 238, 226, 0.56);
  --text-on-light: var(--ink);
  --text-on-light-muted: var(--ink-muted);
  --line-gold: rgba(212, 175, 90, 0.38);
  --line-gold-soft: rgba(212, 175, 90, 0.18);
  --line-ink: rgba(30, 37, 51, 0.14);
  --focus-ring: var(--gold-light);
  --danger: #B3261E;
  --danger-on-dark: #FFB4AB;
  --success: #2F6B4F;

  --foil: linear-gradient(135deg, #A9802F 0%, #F1D98A 45%, #D4AF5A 70%, #A9802F 100%);

  /* Type */
  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-serif: "Cormorant Garamond", "EB Garamond", Garamond, Georgia, serif;
  --font-script: "Great Vibes", "Allura", cursive;

  /* Spacing (8px grid) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* Radius */
  --r-sm: 4px;   /* buttons, inputs */
  --r-md: 6px;   /* cards */
  --r-lg: 18px;  /* page panels */

  --container: 1100px;
  --gutter: 16px;
  --frame-pad: 8px;
  --header-h: 72px;

  --shadow-card: 0 1px 2px rgba(2, 15, 32, 0.12), 0 12px 32px -12px rgba(2, 15, 32, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --frame-pad: 12px; --header-h: 80px; }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-on-dark);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 20px; } }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.15; text-wrap: balance; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-light :focus-visible, .on-light:focus-visible { outline-color: var(--navy-900); }

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--gold); color: var(--navy-900);
  padding: 12px 20px; border-radius: var(--r-sm);
  font-family: var(--font-display); font-size: 14px; letter-spacing: 0.08em;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- 3. Frame + layout ---------- */
.frame { padding: var(--frame-pad); display: grid; gap: var(--frame-pad); }

.panel {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
}
.panel--navy  { background: var(--navy-900); color: var(--text-on-dark); }
.panel--deep  { background: var(--navy-950); color: var(--text-on-dark); }
.panel--ivory { background: var(--ivory); color: var(--text-on-light); }

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

.section { padding-block: var(--s-8); }
@media (min-width: 768px) { .section { padding-block: var(--s-9); } }
@media (min-width: 1100px) { .section--lg { padding-block: var(--s-10); } }

.center { text-align: center; }
.stack > * + * { margin-top: var(--s-5); }

/* ---------- 4. Type ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--gold);
}
.on-light .eyebrow { color: var(--gold-ink); }

/* Gold rules with text between them — from "—— FINANCIAL GROUP ——" */
.ruled {
  display: flex; align-items: center; justify-content: center; gap: var(--s-4);
  text-align: center;
}
.ruled::before, .ruled::after {
  content: ""; height: 1px; flex: 0 1 64px;
  background: linear-gradient(90deg, transparent, currentColor);
  opacity: 0.7;
}
.ruled::after { background: linear-gradient(270deg, transparent, currentColor); }
.ruled--left { justify-content: flex-start; }
.ruled--left::before { display: none; }

/* Chip eyebrow (template's small labelled tag) */
.chip {
  text-align: center;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  background: rgba(212, 175, 90, 0.06);
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-light);
  line-height: 1.4;
}
.chip img { width: 16px; height: 16px; opacity: 0.95; }
.on-light .chip {
  color: var(--gold-ink);
  border-color: rgba(122, 91, 28, 0.35);
  background: rgba(212, 175, 90, 0.12);
}

.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: clamp(2.25rem, 5.4vw, 4.25rem);
  line-height: 1.08;
}
.h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.125rem, 4.4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.005em;
}
.h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.2;
}
.h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.0625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* Two-tone headline: the accent half is italic gold foil */
.accent {
  font-style: italic;
  font-weight: 500;
  background: var(--foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em; /* italic overhang */
}
.on-light .accent {
  background: linear-gradient(135deg, #7A5B1C 0%, #A9802F 55%, #7A5B1C 100%);
  -webkit-background-clip: text; background-clip: text;
}
.foil-text {
  background: var(--foil);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  max-width: 40ch;
}
.on-light .lead { color: var(--text-on-light-muted); }
.center .lead { margin-inline: auto; }
@media (min-width: 768px) { .lead { font-size: 1.375rem; } }

.muted { color: var(--text-on-dark-muted); }
.on-light .muted { color: var(--text-on-light-muted); }

.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--gold);
  line-height: 1.2;
  letter-spacing: 0;
}

.prose { max-width: 65ch; }
.prose p { margin-bottom: 1.1em; }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h);
  padding: 12px 26px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms var(--ease), box-shadow 200ms var(--ease),
              background-color 200ms var(--ease), color 200ms var(--ease),
              border-color 200ms var(--ease), filter 200ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn--gold {
  background: var(--foil);
  background-size: 160% 160%;
  background-position: 0% 50%;
  color: var(--navy-950);
  box-shadow: inset 0 1px 0 rgba(255, 245, 210, 0.55), 0 6px 20px -8px rgba(212, 175, 90, 0.55);
}
.btn--outline {
  background: transparent;
  color: var(--gold-light);
  border-color: var(--gold);
}
.btn--ghost-ink {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn--navy {
  background: var(--navy-900);
  color: var(--cream);
  border-color: var(--navy-900);
}
@media (hover: hover) {
  .btn--gold:hover { background-position: 100% 50%; filter: brightness(1.05); box-shadow: inset 0 1px 0 rgba(255,245,210,.6), 0 10px 28px -8px rgba(212,175,90,.7); }
  .btn--outline:hover { background: rgba(212, 175, 90, 0.1); color: #fff7df; }
  .btn--ghost-ink:hover { background: var(--navy-900); color: var(--cream); }
  .btn--navy:hover { background: var(--navy-800); }
}
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn--sm { --btn-h: 44px; padding: 10px 18px; font-size: 12px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.center .btn-row, .btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-ink);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 200ms var(--ease); }
@media (hover: hover) { .link-arrow:hover svg { transform: translateX(4px); } }
.link-arrow--light { color: var(--gold-light); }

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed;
  z-index: 100;
  top: calc(var(--frame-pad) + 10px);
  left: calc(var(--frame-pad) + 10px);
  right: calc(var(--frame-pad) + 10px);
  pointer-events: none;
}
@media (min-width: 768px) {
  .site-header { top: calc(var(--frame-pad) + 14px); left: calc(var(--frame-pad) + 18px); right: calc(var(--frame-pad) + 18px); }
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  max-width: 1240px; margin-inline: auto;
}
.site-header__inner > * { pointer-events: auto; }

.pill {
  background: rgba(10, 22, 40, 0.82);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid var(--line-gold-soft);
  border-radius: 999px;
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.6);
  transition: background-color 250ms var(--ease), border-color 250ms var(--ease);
}
.is-scrolled .pill { background: rgba(5, 12, 24, 0.92); border-color: var(--line-gold); }

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 4px 18px 4px 4px;
  text-decoration: none;
  min-height: 56px;
}
.brand img {
  width: 48px; height: 48px; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(212, 175, 90, 0.35);
}
.brand__name {
  font-family: var(--font-display);
  font-size: 15px; letter-spacing: 0.12em; line-height: 1.1;
  color: var(--gold-light);
}
.brand__name small {
  display: block;
  font-size: 9px; letter-spacing: 0.34em; color: var(--text-on-dark-subtle);
  margin-top: 3px;
}
@media (min-width: 768px) {
  .brand { min-height: 64px; }
  .brand img { width: 56px; height: 56px; }
}

.nav { display: none; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 2px; padding: 6px; }
.nav__link {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-family: var(--font-display); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; color: var(--text-on-dark-muted);
  transition: color 200ms var(--ease), background-color 200ms var(--ease);
}
.nav__link[aria-current="page"] { color: var(--gold-light); background: rgba(212, 175, 90, 0.12); }
@media (hover: hover) { .nav__link:hover { color: var(--cream); background: rgba(243, 238, 226, 0.06); } }

.header-actions { display: flex; align-items: center; gap: var(--s-2); }
.header-cta { display: none; }

.menu-toggle {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--gold-light);
  padding: 0;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }

.mobile-menu {
  position: fixed; z-index: 90;
  inset: var(--frame-pad);
  border-radius: var(--r-lg);
  background: var(--navy-950);
  border: 1px solid var(--line-gold-soft);
  padding: calc(var(--header-h) + 40px) var(--s-5) var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-6);
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 0s linear 220ms;
}
.mobile-menu::before {
  content: ""; position: absolute; right: -60px; bottom: -40px;
  width: 340px; height: 340px; z-index: -1;
  background: url("../assets/images/hibiscus-line.png") center / contain no-repeat;
  opacity: 0.07;
}
.menu-open .mobile-menu {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 0s;
}
.mobile-menu ul { list-style: none; border-top: 1px solid var(--line-gold-soft); }
.mobile-menu li { border-bottom: 1px solid var(--line-gold-soft); }
.mobile-menu a:not(.btn) {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px;
  font-family: var(--font-serif); font-size: 1.75rem; font-weight: 500;
  text-decoration: none; color: var(--cream);
}
.mobile-menu a[aria-current="page"] { color: var(--gold-light); }
.mobile-menu a:not(.btn)::after { content: "→"; font-size: 1.1rem; color: var(--gold); }
.mobile-menu__contact { font-size: 1rem; color: var(--text-on-dark-muted); }
.menu-open { overflow: hidden; }

@media (min-width: 640px) {
  .header-cta { display: inline-flex; }
}
@media (min-width: 960px) {
  .nav { display: block; }
  .menu-toggle, .mobile-menu { display: none; }
}
.mobile-menu__actions { display: grid; gap: var(--s-3); }

/* ---------- 7. Decorative layers ---------- */
.watermark {
  position: absolute; z-index: -1; pointer-events: none;
  background: url("../assets/images/hibiscus-line.png") center / contain no-repeat;
  opacity: 0.07;
}
.on-light .watermark, .panel--ivory .watermark { opacity: 0.1; filter: saturate(0.8); }

.grid-lines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  width: 100%; height: 100%;
  color: var(--gold);
  opacity: 0.16;
}

.gold-rule {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: 0.45;
}

.flower-divider {
  display: flex; align-items: center; justify-content: center; gap: var(--s-4);
  color: var(--gold);
}
.flower-divider::before, .flower-divider::after {
  content: ""; height: 1px; width: 72px; background: currentColor; opacity: 0.5;
}
.flower-divider img { width: 36px; height: 36px; }
.on-light .flower-divider { color: var(--gold-deep); }

/* Gold line icon inside a thin gold ring — echoes the circle logo */
.ring-icon {
  display: inline-grid; place-items: center;
  width: 64px; height: 64px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 90, 0.08), inset 0 0 18px rgba(212, 175, 90, 0.12);
  color: var(--gold);
  background: radial-gradient(circle at 50% 40%, rgba(212,175,90,.08), transparent 70%);
}
.ring-icon svg { width: 28px; height: 28px; }
.ring-icon--lg { width: 88px; height: 88px; }
.ring-icon--lg svg { width: 36px; height: 36px; }
.on-light .ring-icon { color: var(--gold-ink); border-color: var(--gold-deep); background: rgba(212,175,90,.08); }

/* ---------- 8. Home hero ---------- */
.hero {
  min-height: min(100svh - var(--frame-pad) * 2, 980px);
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: var(--s-7);
  display: flex; flex-direction: column;
  background:
    radial-gradient(ellipse 80% 70% at 50% 40%, var(--navy-950) 0%, var(--navy-950) 42%, #061427 70%, transparent 100%),
    var(--navy-900);
}
.hero__main {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  gap: var(--s-5);
}
.hero__logo {
  width: min(680px, 100%);
  margin-block: var(--s-2) 0;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-composite: intersect;
}
.hero__logo img { width: 100%; height: auto; aspect-ratio: 1400 / 933; }
.hero__line {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  line-height: 1.45;
  color: var(--text-on-dark);
  max-width: 30ch;
  margin: 0;
}
.hero__watermark { width: 620px; height: 620px; right: -140px; bottom: -160px; opacity: 0.06; }
.hero__watermark--left { left: -200px; top: 12%; right: auto; bottom: auto; width: 420px; height: 420px; transform: scaleX(-1) rotate(-12deg); opacity: 0.04; }

.hero__foot {
  margin-top: var(--s-7);
  display: grid; gap: var(--s-5);
  align-items: end;
}
.definition { max-width: 420px; }
.definition .definition__word {
  margin: 0;
  font-family: var(--font-serif); font-size: 1.75rem; font-weight: 600;
  color: var(--cream); line-height: 1.2;
}
.definition__word span { font-style: italic; font-weight: 400; font-size: 1.125rem; color: var(--gold); margin-left: 8px; }
.definition p:not(.definition__word):not(.eyebrow) { margin-top: var(--s-2); font-size: 1.0625rem; line-height: 1.55; color: var(--text-on-dark-muted); }
.definition p strong { color: var(--cream); font-weight: 600; }

.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.mini-card {
  position: relative;
  display: block;
  padding: var(--s-4);
  border-radius: var(--r-md);
  background: linear-gradient(160deg, rgba(27, 46, 78, 0.9), rgba(10, 22, 40, 0.95));
  border: 1px solid var(--line-gold-soft);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--cream);
  transition: border-color 200ms var(--ease), transform 200ms var(--ease);
}
.mini-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mini-card__label { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.mini-card__go {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 4px;
  background: rgba(212, 175, 90, 0.14); color: var(--gold-light);
}
.mini-card__go svg { width: 14px; height: 14px; }
.mini-card__title { display: block; margin-top: 10px; font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.mini-card__list { margin-top: 10px; display: grid; gap: 4px; list-style: none; font-size: 0.875rem; line-height: 1.4; color: var(--text-on-dark-muted); }
.mini-card__list li { display: flex; gap: 8px; align-items: center; }
.mini-card__list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; }
@media (hover: hover) { .mini-card:hover { border-color: var(--line-gold); transform: translateY(-2px); } }

@media (max-width: 559px) {
  .mini-cards { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
  .hero__foot { grid-template-columns: 1fr auto; }
  .mini-cards { width: 480px; }
}

/* ---------- 9. Statement + stats (template "About us") ---------- */
.statement {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.22;
  letter-spacing: -0.005em;
  max-width: 22em;
  margin: var(--s-6) auto 0;
  text-wrap: balance;
}
.statement .fade { color: rgba(243, 238, 226, 0.42); }
.statement__badge {
  display: inline-block;
  width: 1.1em; height: 1.1em;
  margin: 0 0.1em;
  vertical-align: -0.16em;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(212,175,90,.4);
}

.stats {
  list-style: none;
  margin-top: var(--s-8);
  display: grid;
  gap: var(--s-6);
}
.stat { text-align: center; padding-inline: var(--s-4); }
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
}
.stat__label { display: block; margin-top: var(--s-2); font-size: 1.0625rem; color: var(--text-on-dark-muted); line-height: 1.45; }
@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .stat + .stat { border-left: 1px solid var(--line-gold); }
  .stat { padding-block: var(--s-3); }
}
@media (max-width: 767px) {
  .stat + .stat { border-top: 1px solid var(--line-gold-soft); padding-top: var(--s-6); }
}

/* ---------- 10. Satin feature panel (template "Our features") ---------- */
.satin {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(241, 217, 138, 0.55) 0%, rgba(212, 175, 90, 0.22) 22%, transparent 48%),
    radial-gradient(90% 70% at 0% 100%, rgba(212, 175, 90, 0.38) 0%, rgba(169, 128, 47, 0.12) 30%, transparent 55%),
    linear-gradient(115deg, transparent 52%, rgba(241, 217, 138, 0.16) 60%, transparent 68%),
    linear-gradient(160deg, #13243F 0%, #08142A 45%, #030C1C 100%);
  border: 1px solid var(--line-gold-soft);
  padding: var(--s-8) var(--s-4);
}
.satin::before { /* soft silk folds */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    repeating-linear-gradient(118deg, transparent 0 90px, rgba(241,217,138,.035) 90px 140px, transparent 140px 230px);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
@media (min-width: 768px) { .satin { padding: var(--s-9) var(--s-7); } }

.service-cards {
  margin: var(--s-7) auto 0;
  max-width: 900px;
  display: grid; gap: var(--s-4);
}
@media (min-width: 760px) { .service-cards { grid-template-columns: 1fr 1fr; gap: var(--s-5); } }

.service-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 10px;
  border-radius: var(--r-md);
  background: var(--ivory);
  color: var(--text-on-light);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.6);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
}
@media (hover: hover) {
  .service-card:hover { transform: translateY(-4px); box-shadow: 0 32px 60px -20px rgba(0,0,0,.7); }
}
.service-card__media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  min-height: 260px;
  padding: 32px 16px;
  display: grid; place-items: center;
  background:
    radial-gradient(70% 90% at 85% 10%, rgba(241, 217, 138, 0.35), transparent 55%),
    radial-gradient(60% 60% at 10% 100%, rgba(169, 128, 47, 0.3), transparent 60%),
    linear-gradient(160deg, #16294A, #050E1E 70%);
}
.service-card__media .watermark { width: 70%; height: 90%; right: -18%; bottom: -24%; opacity: 0.1; }

/* Small "paper" UI inside the card media — echoes the template's product cards */
.doc {
  width: min(100%, 300px);
  background: var(--ivory);
  color: var(--ink);
  border-radius: 6px;
  padding: 14px 16px 16px;
  box-shadow: 0 18px 36px -12px rgba(0,0,0,.6);
  font-size: 0.8125rem;
  line-height: 1.35;
}
.doc__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.doc__eyebrow { font-family: var(--font-display); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-ink); }
.doc__title { font-size: 1.125rem; font-weight: 600; margin-top: 2px; line-height: 1.2; }
.doc__icon { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold-deep); display: grid; place-items: center; color: var(--gold-ink); flex: none; }
.doc__icon svg { width: 18px; height: 18px; }
.doc__rows { list-style: none; margin-top: 12px; display: grid; gap: 6px; }
.doc__rows li {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px;
  border-radius: 4px;
  background: var(--ivory-2);
  font-weight: 600;
}
.doc__rows svg { width: 14px; height: 14px; color: var(--gold-ink); flex: none; }
.doc__rows .tag { margin-left: auto; font-family: var(--font-display); font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; }

.service-card__body { padding: var(--s-5) var(--s-4) var(--s-3); display: flex; flex-direction: column; flex: 1; text-align: center; }
.service-card__body h3 { font-size: 1.75rem; font-weight: 600; }
.service-card__body p { margin-top: var(--s-2); color: var(--text-on-light-muted); font-size: 1.0625rem; line-height: 1.55; }
.service-card__body .link-arrow { margin-top: auto; padding-top: var(--s-3); align-self: center; }
.service-card__body .link-arrow::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */

/* ---------- 11. Mission (ivory) ---------- */
.mission-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.4;
  font-weight: 500;
  color: var(--ink);
  max-width: 30em;
  margin: var(--s-5) auto 0;
  text-wrap: pretty;
}
.mission-quote em { font-style: italic; color: var(--gold-ink); }

/* ---------- 12. Steps ---------- */
.steps {
  list-style: none;
  margin-top: var(--s-8);
  display: grid; gap: var(--s-6);
  counter-reset: step;
}
.step { position: relative; text-align: center; padding-inline: var(--s-4); }
.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: 0.3em; color: var(--gold);
  margin-top: var(--s-4);
}
.step h3 { margin-top: var(--s-2); font-size: 1.75rem; font-weight: 600; }
.step p { margin-top: var(--s-2); color: var(--text-on-dark-muted); font-size: 1.0625rem; line-height: 1.6; max-width: 30ch; margin-inline: auto; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .step + .step { border-left: 1px solid var(--line-gold-soft); }
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 32px; right: -6px; width: 11px; height: 11px;
    transform: rotate(45deg);
    border-top: 1px solid var(--gold); border-right: 1px solid var(--gold);
    background: var(--navy-900);
    z-index: 1;
  }
}
@media (max-width: 859px) {
  .step + .step { border-top: 1px solid var(--line-gold-soft); padding-top: var(--s-6); }
}

/* ---------- 13. CTA band ---------- */
.cta {
  text-align: center;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(212,175,90,.14), transparent 60%),
    var(--navy-900);
  border: 1px solid var(--line-gold-soft);
}
.cta .watermark--a { width: 380px; height: 380px; left: -90px; bottom: -120px; transform: scaleX(-1); }
.cta .watermark--b { width: 300px; height: 300px; right: -60px; top: -80px; opacity: 0.05; }
.cta .lead, .page-hero .lead { margin-inline: auto; }
.cta__script { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: var(--s-3); display: block; }
.cta h2 { margin-bottom: var(--s-4); }
.cta .lead { margin-bottom: var(--s-6); }

/* ---------- 14. Page hero (inner pages) ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + 72px);
  padding-bottom: var(--s-8);
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(212,175,90,.1), transparent 60%),
    radial-gradient(ellipse 60% 60% at 50% 50%, var(--navy-950), transparent 100%),
    var(--navy-900);
}
@media (min-width: 768px) { .page-hero { padding-top: calc(var(--header-h) + 96px); padding-bottom: var(--s-9); } }
.page-hero .h1 { margin-top: var(--s-5); }
.page-hero .lead { margin-top: var(--s-4); }
.page-hero__watermark { width: 460px; height: 460px; right: -120px; bottom: -180px; }
.page-hero__logo {
  width: 120px; height: 120px; margin: 0 auto var(--s-5);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(212,175,90,.35), 0 0 60px -10px rgba(212,175,90,.35);
}

/* ---------- 15. Services page ---------- */
.service-detail > *, .contact-grid > *, .founder > *, .footer-top > * { min-width: 0; }
.service-detail { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 900px) { .service-detail { grid-template-columns: 5fr 6fr; gap: var(--s-9); } }
.service-detail__intro .ring-icon { margin-bottom: var(--s-5); }
.service-detail__intro .h2 { margin-top: var(--s-3); }
.service-detail__intro p { margin-top: var(--s-4); }
.service-detail__intro .btn-row { margin-top: var(--s-6); }

.checklist { list-style: none; border-top: 1px solid var(--line-gold); }
.checklist li {
  display: grid; grid-template-columns: 40px 1fr; gap: var(--s-3); align-items: start;
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line-gold);
  font-size: 1.1875rem;
  line-height: 1.45;
}
.on-light .checklist, .on-light .checklist li { border-color: rgba(122, 91, 28, 0.25); }
.checklist__n {
  font-family: var(--font-display); font-size: 12px; letter-spacing: 0.2em;
  color: var(--gold); padding-top: 5px;
}
.on-light .checklist__n { color: var(--gold-ink); }
.checklist strong { display: block; font-weight: 600; font-size: 1.3125rem; }
.checklist span.desc { display: block; margin-top: 2px; font-size: 1.0625rem; color: var(--text-on-dark-muted); }
.on-light .checklist span.desc { color: var(--text-on-light-muted); }

.notice {
  margin-top: var(--s-6);
  padding: var(--s-4) var(--s-5);
  border-left: 2px solid var(--gold);
  background: rgba(212, 175, 90, 0.07);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 0.9375rem; line-height: 1.6;
  color: var(--text-on-dark-muted);
}
.on-light .notice { background: rgba(212, 175, 90, 0.12); border-color: var(--gold-deep); color: var(--text-on-light-muted); }
.notice strong { color: inherit; font-weight: 700; }
.on-light .notice strong { color: var(--ink); }
.notice__title { display: block; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.on-light .notice__title { color: var(--gold-ink); }

.placeholder {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.82em;
  letter-spacing: 0;
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(212, 175, 90, 0.14);
  color: var(--gold-light);
  overflow-wrap: anywhere;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.on-light .placeholder { background: rgba(122, 91, 28, 0.12); color: var(--gold-ink); }

/* ---------- 16. About page ---------- */
.story { text-align: center; }
.story p { font-size: 1.3125rem; line-height: 1.75; }
.story p:first-of-type::first-letter {
  font-family: var(--font-display);
  float: left;
  font-size: 4.2em; line-height: 0.85;
  padding: 0.06em 0.12em 0 0;
  color: var(--gold-ink);
}
.story p:first-of-type { text-align: left; }
@media (min-width: 768px) { .story p { font-size: 1.4375rem; } }

.founder { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 900px) { .founder { grid-template-columns: 360px 1fr; gap: var(--s-8); } }
.founder__aside { text-align: center; }
@media (min-width: 900px) { .founder__aside { position: sticky; top: calc(var(--header-h) + 48px); } }
.portrait {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  padding: 10px;
  background: conic-gradient(from 210deg, #A9802F, #F1D98A, #D4AF5A, #A9802F, #F1D98A, #A9802F);
  box-shadow: 0 0 60px -12px rgba(212,175,90,.5);
}
.portrait::after { /* inner thin ring */
  content: ""; position: absolute; inset: 4px; border-radius: 50%;
  border: 6px solid var(--navy-900);
  pointer-events: none;
}
.portrait img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
}
.founder__name { margin-top: var(--s-5); font-family: var(--font-serif); font-size: 1.75rem; font-weight: 600; line-height: 1.2; }
.founder__role { margin-top: 4px; }

.letter {
  position: relative;
  background: var(--ivory);
  color: var(--ink);
  border-radius: var(--r-md);
  padding: var(--s-6) var(--s-5);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7);
}
.letter::before { /* thin inset gold border, like stationery */
  content: ""; position: absolute; inset: 10px;
  border: 1px solid rgba(169, 128, 47, 0.35);
  border-radius: 3px;
  pointer-events: none;
}
@media (min-width: 768px) { .letter { padding: var(--s-8) var(--s-8); } }
.letter p { font-size: 1.25rem; line-height: 1.8; }
@media (min-width: 768px) { .letter p { font-size: 1.3125rem; } }
.letter__salutation { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: var(--s-5); }
.signoff { margin-top: var(--s-6); }
.signoff .flower-divider { justify-content: flex-start; margin-bottom: var(--s-5); }
.signoff .flower-divider::before { display: none; }
.letter .signoff__script { margin: 0; font-family: var(--font-script); font-size: 2.75rem; line-height: 1.1; color: var(--gold-deep); }
.letter .signoff__name { margin-bottom: 0; margin-top: var(--s-2); font-family: var(--font-display); font-size: 1.125rem; letter-spacing: 0.12em; font-weight: 600; }
.letter .signoff__title { margin: 0; line-height: 1.5; font-size: 1.0625rem; color: var(--ink-muted); }
.letter .signoff__license { margin-top: var(--s-3); font-size: 0.9375rem; line-height: 1.5; }

.values { list-style: none; margin-top: var(--s-8); display: grid; gap: var(--s-5); }
@media (min-width: 860px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value {
  text-align: center;
  padding: var(--s-6) var(--s-5);
  border-radius: var(--r-md);
  border: 1px solid var(--line-gold-soft);
  background: linear-gradient(180deg, rgba(27,46,78,.55), rgba(10,22,40,.2));
}
.value h3 { margin-top: var(--s-5); font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
.value p { margin-top: var(--s-3); color: var(--text-on-dark-muted); font-size: 1.0625rem; line-height: 1.6; }

/* ---------- 17. Contact page ---------- */
.contact-grid { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 7fr 5fr; gap: var(--s-6); } }

.form-card {
  background: var(--ivory);
  color: var(--ink);
  border-radius: var(--r-md);
  padding: var(--s-6) var(--s-5);
  box-shadow: var(--shadow-card);
}
@media (min-width: 768px) { .form-card { padding: var(--s-7); } }
.form-card h2 { font-size: 2.25rem; }
.form-card > p { margin-top: var(--s-2); color: var(--ink-muted); }

.form { margin-top: var(--s-6); display: grid; gap: var(--s-5); }
.form-row { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink);
  line-height: 20px;
  padding: 0;
}
.field .optional { line-height: 20px; font-family: var(--font-serif); text-transform: none; letter-spacing: 0; font-weight: 500; font-style: italic; color: var(--ink-muted); font-size: 15px; margin-left: 4px; }
.field .hint { font-size: 0.9375rem; color: var(--ink-muted); line-height: 1.4; }
.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(30, 37, 51, 0.28);
  background: #FFFDF7;
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.4;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.textarea { min-height: 150px; resize: vertical; }
.select {
  appearance: none; -webkit-appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5B1C' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
}
.input:hover, .select:hover, .textarea:hover { border-color: rgba(30, 37, 51, 0.5); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(169, 128, 47, 0.35);
}
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.error-msg { display: none; font-size: 0.9375rem; color: var(--danger); font-weight: 600; line-height: 1.4; }
.error-msg::before { content: "! "; font-family: var(--font-display); }
.field.has-error .error-msg { display: block; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; line-height: 1.45; color: var(--ink-muted); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy-900, #0A1628); cursor: pointer; }
.form__privacy { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 0.9375rem; color: var(--ink-muted); font-style: italic; }
.form__privacy svg { width: 16px; height: 16px; color: var(--gold-ink); flex: none; }
.form-status {
  display: none;
  padding: var(--s-5);
  border-radius: var(--r-md);
  border: 1px solid rgba(47, 107, 79, 0.35);
  background: rgba(47, 107, 79, 0.08);
}
.form-status.is-visible { display: block; }
.form-status h3 { font-size: 1.5rem; font-weight: 600; }
.form-status p { margin-top: 4px; color: var(--ink-muted); }
.form-status--error { border-color: rgba(179, 38, 30, 0.35); background: rgba(179, 38, 30, 0.06); }

.contact-card {
  border-radius: var(--r-md);
  border: 1px solid var(--line-gold-soft);
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  padding: var(--s-6) var(--s-5);
  position: relative; overflow: hidden; isolation: isolate;
}
@media (min-width: 768px) { .contact-card { padding: var(--s-6); } }
.contact-card .watermark { width: 260px; height: 260px; right: -70px; bottom: -70px; }
.contact-list { list-style: none; margin-top: var(--s-5); display: grid; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: var(--s-4); align-items: center; padding: var(--s-4) 0; border-top: 1px solid var(--line-gold-soft); }
.contact-list .ring-icon { width: 48px; height: 48px; box-shadow: none; }
.contact-list .ring-icon svg { width: 20px; height: 20px; }
.contact-list dt, .contact-list .k { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.contact-list .v { display: block; font-size: 1.1875rem; line-height: 1.4; color: var(--cream); text-decoration: none; }
.contact-list a.v { text-decoration: underline; text-decoration-color: var(--line-gold); text-underline-offset: 4px; }

.booking {
  margin-top: var(--s-5);
  padding: var(--s-5);
  border-radius: var(--r-md);
  border: 1px dashed var(--line-gold);
  text-align: center;
}
.booking p { font-size: 1.0625rem; color: var(--text-on-dark-muted); margin-bottom: var(--s-4); }

/* ---------- 18. Legal pages ---------- */
.legal h2 { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 600; margin-top: var(--s-7); margin-bottom: var(--s-3); }
.legal p, .legal li { font-size: 1.125rem; }
.legal ul { padding-left: 1.2em; margin-bottom: 1em; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--navy-900); text-underline-offset: 3px; }

/* ---------- 19. Footer ---------- */
.site-footer {
  background: var(--navy-950);
  border-top: 1px solid var(--line-gold-soft);
  padding-top: var(--s-8);
  padding-bottom: var(--s-6);
  font-size: 1.0625rem;
}
.footer-top { display: grid; gap: var(--s-7); }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.4fr 1fr 1.2fr; gap: var(--s-8); } }
.footer-brand img { width: 96px; height: 96px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(212,175,90,.3); }
.footer-brand p { margin-top: var(--s-4); color: var(--text-on-dark-muted); max-width: 34ch; line-height: 1.6; }
.footer-brand .script { font-size: 1.75rem; display: block; margin-top: var(--s-3); }
.footer-col h2 { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; display: grid; gap: 2px; }
.footer-col a {
  display: inline-flex; align-items: center; min-height: 40px;
  color: var(--text-on-dark-muted); text-decoration: none;
  transition: color 160ms var(--ease);
}
@media (hover: hover) { .footer-col a:hover { color: var(--gold-light); } }
.footer-col address { font-style: normal; display: grid; gap: var(--s-2); color: var(--text-on-dark-muted); }
.footer-col address .k { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-on-dark-subtle); display: block; }

.disclaimers {
  margin-top: var(--s-7);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line-gold-soft);
  display: grid; gap: var(--s-3);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-on-dark-subtle);
}
@media (min-width: 860px) { .disclaimers { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }
.disclaimers strong { color: var(--text-on-dark-muted); font-weight: 700; }
.footer-bottom {
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line-gold-soft);
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); justify-content: space-between; align-items: center;
  font-size: 0.9375rem; color: var(--text-on-dark-subtle);
}
.footer-bottom ul { list-style: none; display: flex; gap: var(--s-5); }
.footer-bottom a { color: var(--text-on-dark-muted); text-underline-offset: 3px; display: inline-flex; min-height: 44px; align-items: center; }

/* ---------- 20. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- 21. Utilities ---------- */
.mt-2 { margin-top: var(--s-2); } .mt-3 { margin-top: var(--s-3); } .mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
.mt-8 { margin-top: var(--s-8); }

/* ---------- 22. Home: founder glimpse ---------- */
.founder-glimpse { display: grid; gap: var(--s-7); align-items: center; }
.founder-glimpse > * { min-width: 0; }
.founder-glimpse__photo { display: flex; justify-content: center; }
.portrait--sm { width: min(280px, 70vw); }
.founder-glimpse__text { text-align: center; }
.founder-glimpse__text .ruled--left { justify-content: center; }
.founder-glimpse__text .ruled--left::before { display: block; }
.founder-glimpse__text .muted { max-width: 56ch; margin-inline: auto; }
.glimpse-quote {
  margin: var(--s-6) 0 0;
  padding: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  line-height: 1.45;
  color: var(--cream);
}
.glimpse-sign { margin-top: var(--s-5); display: flex; flex-direction: column; align-items: center; gap: var(--s-1); }
.glimpse-sign .script { font-size: 2.25rem; }
@media (min-width: 900px) {
  .founder-glimpse { grid-template-columns: 320px 1fr; gap: var(--s-9); }
  .founder-glimpse__text { text-align: left; }
  .founder-glimpse__text .ruled--left { justify-content: flex-start; }
  .founder-glimpse__text .ruled--left::before { display: none; }
  .founder-glimpse__text .muted { margin-inline: 0; }
  .glimpse-quote { padding-left: var(--s-5); border-left: 1px solid var(--gold); }
  .glimpse-sign { align-items: flex-start; }
}

/* ---------- 23. Social icons ---------- */
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.socials a {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  color: var(--gold);
  transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.socials svg { width: 20px; height: 20px; }
@media (hover: hover) { .socials a:hover { background: rgba(212, 175, 90, 0.12); color: var(--gold-light); border-color: var(--gold); } }
.contact-social { margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--line-gold-soft); }
.contact-social .socials { margin-top: var(--s-3); }

.credential-line {
  margin: var(--s-6) 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.8;
  color: var(--gold);
  text-wrap: balance;
}

/* ---------- 24. Services: credentials certificate ---------- */
.credential-card {
  position: relative;
  max-width: 600px;
  margin-inline: auto;
  padding: var(--s-7) var(--s-5);
  text-align: center;
  border-radius: var(--r-md);
  background: radial-gradient(80% 60% at 50% 0%, rgba(212,175,90,.12), transparent 70%), var(--navy-800);
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-card);
}
.credential-card::before {
  content: ""; position: absolute; inset: 8px;
  border: 1px solid var(--line-gold-soft);
  border-radius: 3px;
  pointer-events: none;
}
@media (min-width: 768px) { .credential-card { padding: var(--s-7) var(--s-8); } }
.credential-card__name { margin-top: var(--s-3); font-family: var(--font-serif); font-size: 2rem; font-weight: 600; }
.credential-card__title { margin: var(--s-1) 0 0; color: var(--text-on-dark-muted); font-style: italic; font-size: 1.1875rem; }
.credential-card__facts {
  margin: var(--s-5) 0 var(--s-4);
  display: grid; gap: var(--s-4);
  padding-block: var(--s-4);
  border-top: 1px solid var(--line-gold-soft);
  border-bottom: 1px solid var(--line-gold-soft);
}
@media (min-width: 560px) {
  .credential-card__facts { grid-template-columns: 1fr 1fr; gap: 0; }
  .credential-card__facts > div + div { border-left: 1px solid var(--line-gold-soft); }
}
.credential-card__facts > div { display: flex; flex-direction: column; justify-content: space-between; }
.credential-card__facts dt { font-family: var(--font-display); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-on-dark-subtle); line-height: 1.5; padding-inline: var(--s-3); }
.credential-card__facts dd {
  margin: var(--s-1) 0 0;
  font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.credential-card .muted { font-size: 1.0625rem; margin-bottom: var(--s-2); }

/* ---------- 25. Services: carriers ---------- */
/* White band with thin dividers between logos (gap trick: the grid's background shows through as lines) */
.carriers {
  list-style: none;
  margin: var(--s-6) auto 0;
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(30, 37, 51, 0.12);
  border: 1px solid rgba(30, 37, 51, 0.12);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
@media (min-width: 560px) {
  .carriers { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1100px) {
  .carriers { grid-template-columns: repeat(8, 1fr); }
  .carriers .carrier { padding-inline: var(--s-2); }
}
.carrier {
  --logo-h: 44px;
  display: flex; align-items: center; justify-content: center;
  min-height: 104px;
  padding: var(--s-4) var(--s-3);
  background: #FFFFFF;
}
.carrier img { width: auto; height: auto; max-width: 100%; max-height: var(--logo-h); }
.carrier--foresters { --logo-h: 46px; }
.carrier--americo { --logo-h: 34px; }
.carrier--fg { --logo-h: 56px; }
.carrier--mutual-of-omaha { --logo-h: 40px; }
.carrier--american-amicable { --logo-h: 64px; }
.carrier--ethos { --logo-h: 24px; }
.carrier--kansas-city-life { --logo-h: 50px; }
@media (max-width: 559px) {
  .carrier { min-height: 88px; padding: var(--s-3) var(--s-2); }
}
.carriers__note { margin-top: var(--s-5); font-size: 0.9375rem; font-style: italic; color: var(--ink-muted); }

/* 26. Phone numbers: lining figures so digits sit on the baseline */
a[href^="tel:"] { font-variant-numeric: lining-nums tabular-nums; }
