/* ============================================================
   Golden Legacy Advisors — Design System
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1.2rem + 3.6vw, 4.5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts */
  --font-display: 'Zodiak', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Switzer', 'Inter', system-ui, sans-serif;

  /* Brand */
  --gold: #c2a15c;
  --gold-bright: #d9bd80;
  --gold-deep: #8f7133;

  --radius-sm: 2px;
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(12, 11, 9, 0.06), 0 2px 8px rgba(12, 11, 9, 0.04);
  --shadow-md: 0 8px 28px rgba(12, 11, 9, 0.1);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1240px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
}

/* ---------- Themes ---------- */
:root,
[data-theme='light'] {
  --bg: #faf8f4;
  --bg-2: #f2eee6;
  --bg-3: #eae4d8;
  --surface: #ffffff;
  --ink: #14130f;
  --ink-2: #4b483f;
  --ink-3: #78746a;
  --line: #ddd6c8;
  --line-2: #ebe5d9;
  --accent: #8f7133;
  --accent-ink: #6f5726;
  --on-accent: #fffdf8;
  --ink-invert: #faf8f4;
  --logo-invert: 0;
}

[data-theme='dark'] {
  --bg: #0d0d0c;
  --bg-2: #151412;
  --bg-3: #1d1b18;
  --surface: #161513;
  --ink: #f4f1ea;
  --ink-2: #b6b0a3;
  --ink-3: #8b8577;
  --line: #2b2924;
  --line-2: #232119;
  --accent: #c2a15c;
  --accent-ink: #d9bd80;
  --on-accent: #14130f;
  --ink-invert: #14130f;
  --logo-invert: 1;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #0d0d0c;
    --bg-2: #151412;
    --bg-3: #1d1b18;
    --surface: #161513;
    --ink: #f4f1ea;
    --ink-2: #b6b0a3;
    --ink-3: #8b8577;
    --line: #2b2924;
    --line-2: #232119;
    --accent: #c2a15c;
    --accent-ink: #d9bd80;
    --on-accent: #14130f;
    --ink-invert: #14130f;
    --logo-invert: 1;
  }
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
::selection {
  background: var(--accent);
  color: var(--on-accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 {
  font-size: var(--text-2xl);
}
h2 {
  font-size: var(--text-xl);
}
h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h4 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.35;
}
p {
  text-wrap: pretty;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
  flex: none;
}
.eyebrow--center {
  justify-content: center;
}

.lede {
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 34ch;
  font-weight: 400;
}
.muted {
  color: var(--ink-2);
}
.prose p + p {
  margin-top: var(--space-4);
}
.prose {
  max-width: 62ch;
  color: var(--ink-2);
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}
.section--tight {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}
.section--alt {
  background: var(--bg-2);
}
.section--ink {
  background: #0d0d0c;
  color: #f4f1ea;
}
.section--ink .lede,
.section--ink .muted,
.section--ink p {
  color: #b6b0a3;
}
.section--ink .eyebrow {
  color: var(--gold);
}
.section--ink .eyebrow::before {
  background: var(--gold);
}
.rule {
  height: 1px;
  background: var(--line);
  border: 0;
}

.grid {
  display: grid;
  gap: var(--space-8);
}
.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .cols-3,
  .cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .cols-2,
  .cols-3,
  .cols-4 {
    grid-template-columns: 1fr;
  }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(var(--space-8), 5vw, var(--space-20));
  align-items: center;
}
.split--head {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(var(--space-6), 4vw, var(--space-16));
}
.pagehead .split--head {
  align-items: end;
}
@media (max-width: 860px) {
  .split,
  .split--head {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

.stack-2 > * + * {
  margin-top: var(--space-2);
}
.stack-3 > * + * {
  margin-top: var(--space-3);
}
.stack-4 > * + * {
  margin-top: var(--space-4);
}
.stack-6 > * + * {
  margin-top: var(--space-6);
}
.stack-8 > * + * {
  margin-top: var(--space-8);
}
.stack-12 > * + * {
  margin-top: var(--space-12);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.85em 1.6em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-ink);
  border-color: var(--accent-ink);
}
.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-ink);
}
.btn--onink {
  border-color: rgba(244, 241, 234, 0.28);
  color: #f4f1ea;
  background: transparent;
}
.btn--onink:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}
.btn--gold {
  background: var(--gold);
  color: #14130f;
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent-ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
  width: fit-content;
}
.link-arrow span:last-child {
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover {
  border-color: currentColor;
}
.link-arrow:hover span:last-child {
  transform: translateX(3px);
}
.section--ink .link-arrow {
  color: var(--gold-bright);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s var(--ease),
    background 0.3s var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: 78px;
  padding-block: var(--space-3);
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: none;
}
.brand img {
  height: 40px;
  width: auto;
}
@media (min-width: 1081px) {
  .brand img {
    height: 44px;
  }
}
.brand .logo-dark {
  display: none;
}
[data-theme='dark'] .brand .logo-light {
  display: none;
}
[data-theme='dark'] .brand .logo-dark {
  display: block;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .brand .logo-light {
    display: none;
  }
  :root:not([data-theme]) .brand .logo-dark {
    display: block;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(var(--space-3), 1.6vw, var(--space-6));
}
.nav a {
  font-size: var(--text-sm);
  text-decoration: none;
  color: var(--ink-2);
  padding-block: var(--space-2);
  position: relative;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--ink);
}
.nav a:hover::after,
.nav a[aria-current='page']::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
  flex: none;
}
.icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent-ink);
}
.icon-btn .moon {
  display: none;
}
[data-theme='dark'] .icon-btn .sun {
  display: none;
}
[data-theme='dark'] .icon-btn .moon {
  display: block;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .icon-btn .sun {
    display: none;
  }
  :root:not([data-theme]) .icon-btn .moon {
    display: block;
  }
}

.menu-btn {
  display: none;
}
@media (max-width: 1080px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: grid;
  }
  .header__actions .btn {
    display: none;
  }
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--bg);
  padding: var(--space-6) var(--gutter) var(--space-12);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  transform: translateY(-100%);
  visibility: hidden;
  transition:
    transform 0.4s var(--ease),
    visibility 0.4s;
  overflow-y: auto;
}
.mobile-nav.is-open {
  transform: translateY(0);
  visibility: visible;
}
.mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
}
.mobile-nav__links {
  display: flex;
  flex-direction: column;
}
.mobile-nav__links a {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  text-decoration: none;
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--line-2);
}
.mobile-nav__links a:last-child {
  border-bottom: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: flex-end;
  background: #0d0d0c;
  color: #f4f1ea;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.82;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(8, 8, 7, 0.92) 0%, rgba(8, 8, 7, 0.72) 46%, rgba(8, 8, 7, 0.15) 100%),
    linear-gradient(to top, rgba(8, 8, 7, 0.9) 0%, rgba(8, 8, 7, 0) 55%);
}
.hero__inner {
  position: relative;
  padding-block: clamp(var(--space-20), 12vw, var(--space-32));
  width: 100%;
}
.hero__content {
  max-width: 40rem;
}
.hero h1 {
  font-size: var(--text-3xl);
  color: #fbf8f1;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-bright);
}
.hero .lede {
  color: #c9c3b5;
  max-width: 42ch;
}
.hero__eyebrow {
  color: var(--gold);
}
.hero__eyebrow::before {
  background: var(--gold);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  padding-top: var(--space-8);
  margin-top: var(--space-10);
  border-top: 1px solid rgba(244, 241, 234, 0.16);
}
.hero__meta div {
  min-width: 120px;
}
.hero__meta dt {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8b8577;
}
.hero__meta dd {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-top: var(--space-1);
  color: #f4f1ea;
}

/* Page header (interior) */
.pagehead {
  padding-block: clamp(var(--space-16), 9vw, var(--space-24)) clamp(var(--space-10), 5vw, var(--space-16));
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.pagehead h1 {
  max-width: 20ch;
}
.pagehead .lede {
  max-width: 46ch;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(var(--space-6), 2.4vw, var(--space-8));
  transition:
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  height: 100%;
}
.card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card__num {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--accent-ink);
  letter-spacing: 0.08em;
}
.card p {
  color: var(--ink-2);
  font-size: var(--text-sm);
}
.card ul {
  margin: 0;
  padding-left: var(--space-5);
  color: var(--ink-2);
  font-size: var(--text-sm);
}
.card ul li + li {
  margin-top: var(--space-2);
}

.icon-mark {
  width: 34px;
  height: 34px;
  color: var(--accent);
}

/* Numbered list rows */
.rows {
  border-top: 1px solid var(--line);
}
.row {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 1.25fr);
  gap: var(--space-6);
  padding-block: var(--space-8);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
@media (max-width: 780px) {
  .row {
    grid-template-columns: 3rem minmax(0, 1fr);
  }
  .row > :last-child {
    grid-column: 2;
  }
}
.row__n {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--accent);
  line-height: 1;
}
.row p {
  color: var(--ink-2);
  font-size: var(--text-sm);
}

/* ---------- Pricing ---------- */
.tier {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(var(--space-6), 3vw, var(--space-10));
  position: relative;
  height: 100%;
}
.tier--feature {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.tier__flag {
  position: absolute;
  top: 0;
  right: var(--space-6);
  transform: translateY(-50%);
  background: var(--accent);
  color: var(--on-accent);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35em 0.9em;
  border-radius: 999px;
}
.tier__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
}
.tier__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
/* Engagement type in place of a price: one-time vs ongoing. */
.tier__kind {
  display: inline-block;
  margin-top: var(--space-3);
  padding: 0.3em 0.75em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink-3);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tier--feature .tier__kind {
  border-color: var(--accent);
  color: var(--accent-ink);
}
.tier__price b {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}
.tier__price span {
  font-size: var(--text-sm);
  color: var(--ink-3);
}
.tier ul {
  list-style: none;
  padding: 0;
  margin: var(--space-8) 0 0;
  display: grid;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--ink-2);
}
.tier ul li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: var(--space-3);
  align-items: start;
}
.tier ul li svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--accent);
  margin-top: 0.28em;
}
.tier ul li.is-off {
  color: var(--ink-3);
}
.tier ul li.is-off svg {
  color: var(--line);
}
.tier .btn {
  margin-top: var(--space-8);
  width: 100%;
}
.tier__foot {
  margin-top: auto;
}

/* Compare table */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: var(--text-sm);
}
table.compare th,
table.compare td {
  text-align: left;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
}
table.compare thead th {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--bg-2);
}
table.compare td:not(:first-child),
table.compare th:not(:first-child) {
  text-align: center;
  width: 17%;
}
table.compare tbody tr:last-child td {
  border-bottom: 0;
}
table.compare tbody th {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--ink);
}
table.compare .cell-icon {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0 auto;
  color: var(--accent);
}
/* A four-column table cannot scroll usefully at phone widths, so below 760px
   each row becomes its own card with the level name printed beside each value. */
@media (max-width: 760px) {
  .table-scroll {
    overflow: visible;
    border: 0;
    background: transparent;
  }
  table.compare {
    min-width: 0;
  }
  table.compare thead {
    display: none;
  }
  table.compare,
  table.compare tbody,
  table.compare tr,
  table.compare th,
  table.compare td {
    display: block;
    width: auto;
  }
  table.compare tr {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--space-5);
    margin-bottom: var(--space-4);
  }
  table.compare tbody th {
    padding: 0 0 var(--space-3);
    border-bottom: 1px solid var(--line-2);
    font-weight: 600;
    text-align: left;
  }
  table.compare td,
  table.compare td:not(:first-child) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    width: auto;
    text-align: left;
    padding: var(--space-3) 0 0;
    border-bottom: 0;
  }
  table.compare td::before {
    content: attr(data-label);
    color: var(--ink-3);
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  table.compare .cell-icon {
    margin: 0;
  }
}
table.compare .yes {
  color: var(--accent-ink);
  font-weight: 600;
}
table.compare .no {
  color: var(--ink-3);
}

/* ---------- Feature image blocks ---------- */
.figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-3);
}
.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.8s var(--ease);
}
.figure:hover img {
  transform: scale(1.03);
}
.figure--wide img {
  aspect-ratio: 16 / 9;
}
.figure--portrait {
  max-width: 430px;
  margin-inline: auto;
}
.figure--portrait img {
  aspect-ratio: 4 / 5;
  object-position: 50% 22%;
}
@media (max-width: 860px) {
  .figure--portrait {
    max-width: 320px;
  }
}

.band {
  position: relative;
  background: #0d0d0c;
  color: #f4f1ea;
  overflow: hidden;
}
.band__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}
.band__inner {
  position: relative;
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}
.band p {
  color: #c9c3b5;
}

.quote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.28;
  letter-spacing: -0.015em;
  max-width: 22ch;
}

/* ---------- Stats ---------- */
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section--ink .stat b,
.band .stat b {
  color: var(--gold);
}
.stat span {
  display: block;
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--ink-2);
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  padding-block: var(--space-5);
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  font-size: var(--text-base);
  transition: color 0.2s var(--ease);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--accent-ink);
}
.faq summary .plus {
  flex: none;
  width: 18px;
  height: 18px;
  position: relative;
}
.faq summary .plus::before,
.faq summary .plus::after {
  content: '';
  position: absolute;
  background: var(--accent);
  transition: transform 0.3s var(--ease);
}
.faq summary .plus::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 1.5px;
  transform: translateY(-50%);
}
.faq summary .plus::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1.5px;
  transform: translateX(-50%);
}
.faq details[open] summary .plus::after {
  transform: translateX(-50%) scaleY(0);
}
.faq details > div {
  padding-bottom: var(--space-6);
  color: var(--ink-2);
  font-size: var(--text-sm);
  max-width: 68ch;
}

/* ---------- Articles ---------- */
.article-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  height: 100%;
  transition:
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.article-card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.article-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-3);
}
.article-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.article-card:hover .article-card__img img {
  transform: scale(1.04);
}
.article-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}
.meta {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.article-card h3 {
  font-size: var(--text-base);
  font-weight: 600;
}
.article-card p {
  font-size: var(--text-sm);
  color: var(--ink-2);
}

/* ---------- Forms ---------- */
.form {
  display: grid;
  gap: var(--space-5);
}
.field {
  display: grid;
  gap: var(--space-2);
}
.field label {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field input,
.field select,
.field textarea {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8em 0.9em;
  font-size: var(--text-sm);
  transition: border-color 0.2s var(--ease);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
@media (max-width: 620px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}
.form > .btn {
  justify-self: start;
}
.form--block > .btn {
  justify-self: stretch;
  width: 100%;
}
.form__note {
  font-size: var(--text-xs);
  color: var(--ink-3);
  max-width: 60ch;
}
.form-status {
  display: none;
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  font-size: var(--text-sm);
}
.form-status.is-visible {
  display: block;
}
.form-status.is-error {
  border-color: #b4443a;
  background: color-mix(in srgb, #b4443a 8%, var(--surface));
}
.btn.is-busy {
  opacity: 0.6;
  pointer-events: none;
}
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */
.footer {
  background: #0d0d0c;
  color: #b6b0a3;
  padding-block: clamp(var(--space-16), 7vw, var(--space-24)) var(--space-8);
  font-size: var(--text-sm);
}
.footer a {
  color: #b6b0a3;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer a:hover {
  color: var(--gold-bright);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-10);
}
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}
.footer h4 {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f4f1ea;
  margin-bottom: var(--space-4);
}
.footer ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}
.footer__logo {
  height: 78px;
  width: auto;
  margin-bottom: var(--space-5);
}
.footer__bottom {
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid #2b2924;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-8);
  justify-content: space-between;
  font-size: var(--text-xs);
  color: #8b8577;
}
.disclosure {
  margin-top: var(--space-8);
  font-size: var(--text-xs);
  line-height: 1.7;
  color: #78746a;
  max-width: 92ch;
}
.disclosure p + p {
  margin-top: var(--space-3);
}
.social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.social a {
  width: 36px;
  height: 36px;
  border: 1px solid #2b2924;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  transition:
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}
.social a:hover {
  border-color: var(--gold);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

.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 {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--on-accent);
  padding: var(--space-3) var(--space-5);
  z-index: 100;
}
.skip:focus {
  left: var(--space-4);
  top: var(--space-4);
}

/* =====================================================================
   Polish pass — interactive states, texture, refinement
   ===================================================================== */

/* Scroll progress hairline under the sticky header */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold), color-mix(in srgb, var(--gold) 45%, transparent));
  z-index: 60;
  pointer-events: none;
}

/* Service rows respond to the pointer */
.row {
  position: relative;
  transition: background 0.35s var(--ease);
}
.row::before {
  content: '';
  position: absolute;
  inset: 0 calc(var(--space-6) * -1);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 4%, transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.row:hover::before {
  opacity: 1;
}
.row__n {
  transition:
    color 0.35s var(--ease),
    transform 0.35s var(--ease);
}
.row:hover .row__n {
  color: var(--accent-ink);
  transform: translateX(3px);
}
.row h3 {
  transition: color 0.35s var(--ease);
}
.row:hover h3 {
  color: var(--accent-ink);
}

/* Images gain a slow, quiet scale on hover */
.figure {
  overflow: hidden;
}
.figure img {
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.figure:hover img {
  transform: scale(1.028);
}

/* Card numerals read as an editorial index */
.card__num {
  letter-spacing: 0.12em;
}
.card {
  position: relative;
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.45s var(--ease);
}
.card:hover::after {
  transform: scaleX(1);
}

/* Buttons pick up a touch of depth */
.btn {
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--accent) 70%, transparent);
}
.btn--primary:active,
.btn--ghost:active {
  transform: translateY(0);
}

/* Arrow links animate their glyph */
.link-arrow span {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover span {
  transform: translateX(5px);
}

/* Softer open/close feel on the FAQ */
.faq details[open] summary {
  color: var(--accent-ink);
}
.faq details > div {
  animation: faq-in 0.35s var(--ease) both;
}
@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Ink sections carry the topographic texture at low opacity */
.section--ink {
  position: relative;
  isolation: isolate;
}
.section--ink::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/texture-topo.jpg') center / cover no-repeat;
  opacity: 0.14;
  z-index: -1;
  pointer-events: none;
}

/* Consistent focus ring */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .figure:hover img,
  .btn--primary:hover,
  .row:hover .row__n {
    transform: none;
  }
  .faq details > div {
    animation: none;
  }
  .progress {
    display: none;
  }
}
