/* =========================================================
   Advanced Credit — redesign
   Palette: deep teal-navy ink, warm cream surfaces, gold accent.
   Type:    Fraunces (display, serif) + Inter (body, sans).
   ========================================================= */

:root {
  /* Color */
  --ink:        #0E2A33;   /* deep teal-navy: primary brand */
  --ink-2:      #143742;
  --ink-3:      #1B4654;
  --cream:      #F6F1E7;   /* page background */
  --cream-2:    #FBF7EE;   /* card surfaces */
  --cream-3:    #EFE8D8;   /* alt surface */
  --line:       #E1D8C2;   /* warm border */
  --line-2:     #CDC2A6;
  --text:       #1A1F22;
  --text-muted: #5A6168;
  --text-faint: #8A8F94;

  --teal:       #0E7C8A;   /* primary action */
  --teal-hover: #0A5C66;
  --gold:       #D4A24C;   /* accent highlight */
  --gold-soft:  #E9C37A;

  --success:    #2E7D55;

  /* Type */
  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Sizes */
  --text-xs:   clamp(0.78rem, 0.76rem + 0.1vw, 0.85rem);
  --text-sm:   clamp(0.88rem, 0.85rem + 0.15vw, 0.95rem);
  --text-base: clamp(1rem, 0.96rem + 0.18vw, 1.075rem);
  --text-lg:   clamp(1.15rem, 1.08rem + 0.4vw, 1.3rem);
  --text-xl:   clamp(1.45rem, 1.25rem + 0.9vw, 1.85rem);
  --text-2xl:  clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --text-hero: clamp(2.6rem, 1.6rem + 4.4vw, 4.6rem);

  /* Space */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 8vw, 7.5rem);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(14, 42, 51, 0.05),
               0 2px 6px rgba(14, 42, 51, 0.04);
  --shadow:    0 4px 14px rgba(14, 42, 51, 0.08),
               0 16px 40px -20px rgba(14, 42, 51, 0.18);
  --shadow-lg: 0 10px 28px rgba(14, 42, 51, 0.10),
               0 30px 80px -30px rgba(14, 42, 51, 0.30);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-hover); }
button { font: inherit; cursor: pointer; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; line-height: 1.12; color: var(--ink); }
p { margin: 0 0 1em; }

::selection { background: var(--gold-soft); color: var(--ink); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--cream);
  padding: .6rem 1rem; border-radius: 0 0 var(--radius-sm) 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.15rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-lg { padding: .95rem 1.5rem; font-size: var(--text-base); }
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--ink-2); color: var(--cream); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: var(--cream-2); border-color: var(--ink); color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 231, 0.78);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(246, 241, 231, 0.92);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-sub  { font-size: 0.72rem; color: var(--text-muted); letter-spacing: .04em; text-transform: uppercase; margin-top: 2px; }

.primary-nav { display: none; gap: 1.6rem; }
.primary-nav a {
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 500;
  position: relative;
  padding: .25rem 0;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.primary-nav a:hover::after { transform: scaleX(1); }

.header-cta { display: none; align-items: center; gap: .9rem; }
.phone-link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--ink);
  font-size: var(--text-sm); font-weight: 600;
}
.phone-link:hover { color: var(--teal); }

/* mobile nav */
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: transparent; border: 0; padding: 8px;
  border-radius: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  padding: 1rem var(--gutter) 1.4rem;
  display: flex; flex-direction: column; gap: .25rem;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a:not(.btn) {
  color: var(--ink);
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.mobile-nav a:not(.btn):last-of-type { border-bottom: 0; }
.mobile-cta { margin-top: 1rem; align-self: flex-start; }

@media (min-width: 920px) {
  .primary-nav, .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(1200px 500px at 85% 0%, rgba(212, 162, 76, 0.10), transparent 60%),
    radial-gradient(900px 600px at 0% 30%, rgba(14, 124, 138, 0.06), transparent 55%),
    var(--cream);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3);
  background: var(--cream-2);
  border: 1px solid var(--line);
  padding: .45rem .8rem;
  border-radius: 999px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(46, 125, 85, 0.18);
}

.hero-title {
  font-size: var(--text-hero);
  margin: 1.2rem 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--ink);
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-3);
}

.hero-lede {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 38ch;
  line-height: 1.55;
  margin-bottom: 1.6rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem;
  color: var(--text-muted);
  font-size: var(--text-sm);
}
.hero-trust li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust svg { color: var(--teal); }

/* hero card */
.hero-card {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  box-shadow: var(--shadow);
  position: relative;
  isolation: isolate;
}
.hero-card::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(212, 162, 76, 0.4), transparent 40%);
  z-index: -1;
  opacity: .6;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px;
}

.card-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem;
  font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted);
}
.card-meta { color: var(--text-faint); }

.score-row {
  display: flex; align-items: baseline; gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: .25rem;
}
.score { display: inline-flex; align-items: baseline; gap: .55rem; }
.score-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 500;
  color: var(--text-faint);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums lining-nums;
}
.score-num-after { color: var(--ink); }
.score-arrow { color: var(--text-faint); }
.delta {
  margin-left: auto;
  display: inline-flex; align-items: center;
  background: rgba(46, 125, 85, 0.12);
  color: var(--success);
  padding: .35rem .65rem;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.score-chart { width: 100%; height: 90px; margin: .35rem 0 1rem; }

.card-stats { border-top: 1px solid var(--line); }
.card-stats li {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-sm);
}
.card-stats li:last-child { border-bottom: 0; }
.card-stats span { color: var(--text-muted); }
.card-stats strong { color: var(--ink); font-weight: 600; }
.card-foot {
  margin-top: .85rem;
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.55;
}

/* marquee */
.hero-marquee {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: .9rem 0;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex;
  gap: 1.5rem;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--ink-3);
  font-style: italic;
}
.marquee-track span { letter-spacing: .01em; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--cream-3); }
.section-dark {
  background: var(--ink);
  color: rgba(246, 241, 231, 0.86);
}
.section-dark h2,
.section-dark h3 { color: var(--cream); }

.section-head {
  max-width: 60ch;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.kicker {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .9rem;
}
.kicker-light { color: var(--gold-soft); }
.section-title {
  font-size: var(--text-2xl);
  letter-spacing: -0.02em;
}
.section-title-light { color: var(--cream); }
.section-lede {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: var(--text-lg);
  line-height: 1.55;
}
.section-lede-light { color: rgba(246, 241, 231, 0.72); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  counter-reset: step;
}
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.75rem;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0;
  margin-bottom: 1rem;
}
.step h3 { font-size: var(--text-lg); margin-bottom: .55rem; color: var(--ink); }
.step p { color: var(--text-muted); font-size: var(--text-sm); line-height: 1.55; margin: 0; }

/* ---------- Approach ---------- */
.approach-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 920px) {
  .approach-grid { grid-template-columns: 1.5fr 1fr; }
}
.approach-copy .kicker { color: var(--teal); }
.approach-copy .section-title { text-align: left; }
.approach-copy { max-width: 64ch; }
.approach-copy p { color: var(--text); font-size: var(--text-base); line-height: 1.7; margin-top: 1.2rem; }
.approach-copy strong { color: var(--ink); }

.approach-callout {
  margin-top: 2rem;
  padding: 1.6rem 1.6rem;
  border-left: 3px solid var(--gold);
  background: var(--cream-2);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.approach-callout h3 {
  font-size: var(--text-lg);
  margin-bottom: .5rem;
  color: var(--ink);
}
.approach-callout p { margin: 0; color: var(--text-muted); }

.approach-side {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.side-title {
  font-size: var(--text-base);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 1rem;
}
.pill-list {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: 1.6rem;
}
.pill-list li {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: .45rem .75rem;
  border-radius: 999px;
  font-size: var(--text-sm);
  color: var(--ink);
}

.quiet-quote {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}
.quiet-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--ink);
  line-height: 1.45;
  margin: 0;
}

/* ---------- Resources ---------- */
.resource-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .resource-grid { grid-template-columns: 1fr 1fr; } }
.resource-card {
  display: block;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  color: inherit;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.resource-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: var(--shadow);
  color: inherit;
}
.resource-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--ink); color: var(--gold-soft);
  margin-bottom: 1.1rem;
}
.resource-card h3 { font-size: var(--text-lg); color: var(--ink); margin-bottom: .4rem; }
.resource-card p { color: var(--text-muted); font-size: var(--text-sm); margin-bottom: 1.1rem; }
.resource-link {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--teal);
}

/* ---------- Stories ---------- */
.section-dark .section-head { color: rgba(246, 241, 231, 0.85); }
.stories-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .stories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .stories-grid { grid-template-columns: repeat(3, 1fr); } }

.story {
  background: rgba(246, 241, 231, 0.04);
  border: 1px solid rgba(246, 241, 231, 0.10);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.story-feature {
  background: linear-gradient(180deg, rgba(212, 162, 76, 0.10), rgba(212, 162, 76, 0.02));
  border-color: rgba(212, 162, 76, 0.28);
}
@media (min-width: 1040px) {
  .story-feature { grid-column: span 2; }
}
.story blockquote { margin: 0 0 1.25rem; }
.story blockquote p {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.45;
  color: var(--cream);
  font-weight: 400;
  letter-spacing: -0.005em;
  margin: 0;
}
.story-feature blockquote p { font-size: clamp(1.25rem, 1.5vw, 1.55rem); }
.story figcaption {
  display: flex; flex-direction: column;
  font-size: var(--text-sm);
  color: rgba(246, 241, 231, 0.7);
}
.story-name { color: var(--cream); font-weight: 600; }
.story-role { color: var(--gold-soft); font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }
.story-stat {
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px dashed rgba(246, 241, 231, 0.15);
  font-size: var(--text-sm);
  color: rgba(246, 241, 231, 0.7);
}
.story-stat strong {
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-right: .35rem;
  font-variant-numeric: tabular-nums;
}
.stories-disclaimer {
  margin-top: 2.5rem;
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(246, 241, 231, 0.55);
  max-width: 70ch; margin-left: auto; margin-right: auto;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 920px) {
  .contact-grid { grid-template-columns: 1.2fr 1fr; }
}
.contact-copy .kicker { color: var(--teal); }
.contact-copy .section-title { text-align: left; }
.contact-copy p { color: var(--text-muted); font-size: var(--text-base); line-height: 1.65; }
.contact-call a { color: var(--ink); border-bottom: 1px solid var(--gold); }

.contact-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}
.contact-channels li a {
  display: flex; flex-direction: column;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  color: var(--ink);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  height: 100%;
}
.contact-channels li a:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: var(--shadow);
}
.ch-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: var(--ink); color: var(--gold-soft);
  border-radius: 10px;
  margin-bottom: .85rem;
}
.ch-label {
  font-size: var(--text-xs);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted);
}
.ch-value {
  font-weight: 600;
  margin-top: 2px;
  font-size: var(--text-sm);
}

.final-cta { margin-top: clamp(3rem, 6vw, 5rem); }
.cta-card {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: center;
  box-shadow: var(--shadow-lg);
  background-image:
    radial-gradient(600px 240px at 90% 0%, rgba(212, 162, 76, 0.18), transparent 60%),
    radial-gradient(500px 240px at 0% 100%, rgba(14, 124, 138, 0.20), transparent 60%);
}
@media (min-width: 760px) {
  .cta-card { grid-template-columns: 1fr auto; }
}
.cta-card h2 { color: var(--cream); font-size: var(--text-xl); margin-bottom: .5rem; }
.cta-card p { color: rgba(246, 241, 231, 0.78); margin: 0; max-width: 60ch; }
.cta-card .btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.cta-card .btn-primary:hover { background: var(--gold-soft); border-color: var(--gold-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0A1F26;
  color: rgba(246, 241, 231, 0.72);
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
}
.footer-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }

.brand-footer { color: var(--cream); }
.brand-footer:hover { color: var(--cream); }
.brand-footer .brand-name { color: var(--cream); }
.brand-footer .brand-sub { color: rgba(246, 241, 231, 0.55); }
.footer-tag {
  margin-top: 1rem;
  font-size: var(--text-sm);
  color: rgba(246, 241, 231, 0.6);
  max-width: 38ch;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col a {
  color: rgba(246, 241, 231, 0.7);
  font-size: var(--text-sm);
}
.footer-col a:hover { color: var(--gold-soft); }

.footer-meta {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(246, 241, 231, 0.10);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem;
  font-size: var(--text-xs);
  color: rgba(246, 241, 231, 0.45);
}
.footer-meta p { margin: 0; }

/* ---------- Reveal ---------- */
/* Only hide elements once JS marks the document as ready for reveals.
   This keeps content visible if JS fails or for tools that take full-page
   screenshots that don't trigger IntersectionObserver mid-scroll. */
.js-reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.js-reveal-ready [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}
