/* ==========================================================================
   CX Drivers — site styles
   Brand: deep navy, muted gold, warm cream. Serif display, spaced sans labels.
   ========================================================================== */

/* Self-hosted fonts (SIL Open Font License, see assets/fonts/OFL-*.txt) */
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
}

:root {
  /* Brand palette */
  --navy-900: #081229;
  --navy-800: #0B1733;
  --navy-700: #13224A;
  --navy-600: #1C2E5C;
  --gold-500: #C9A46A;
  --gold-400: #D8BB8A;
  --gold-600: #B08A4F;
  --cream-100: #F7F3EC;
  --cream-200: #EFE8DC;
  --ink: #1A2340;
  --ink-soft: #4A5270;
  --white: #FFFFFF;
  --line-dark: rgba(201, 164, 106, 0.28);
  --line-light: rgba(11, 23, 51, 0.12);

  /* Type */
  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);
  --radius: 2px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream-100);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold-500); color: var(--navy-900); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

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

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
p { margin: 0 0 1.1em; }

.accent { color: var(--gold-500); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 1.2rem;
}

.rule {
  width: 48px; height: 1px; background: var(--gold-500);
  border: 0; margin: 1.4rem 0;
}
.rule--center { margin-left: auto; margin-right: auto; }

.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 60ch; }
.section--dark .lead, .section--darker .lead, .panel .lead { color: rgba(247, 243, 236, 0.78); }

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--font-sans);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none;
  padding: 1.05em 1.8em;
  border: 1px solid var(--gold-500);
  background: var(--gold-500);
  color: var(--navy-900);
  border-radius: var(--radius);
  cursor: pointer; white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--gold-400); border-color: var(--gold-400); }
.btn--ghost { background: transparent; color: var(--gold-500); }
.btn--ghost:hover { background: var(--gold-500); color: var(--navy-900); }
.btn--navy { background: var(--navy-800); border-color: var(--navy-800); color: var(--cream-100); }
.btn--navy:hover { background: var(--navy-600); border-color: var(--navy-600); }
.btn svg { width: 14px; height: 14px; }

.text-link {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-600); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.section--dark .text-link { color: var(--gold-500); }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 18, 41, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 84px; gap: 24px;
}

.brand {
  display: flex; align-items: center; gap: 16px;
  text-decoration: none; color: var(--cream-100);
}
.brand img { width: 50px; height: 50px; }
.brand__name {
  display: block;
  font-family: var(--font-sans); font-weight: 400;
  font-size: 1rem; letter-spacing: 0.42em; line-height: 1.2;
}
.brand__tag {
  display: block;
  font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-500); margin-top: 4px; white-space: nowrap;
}
@media (max-width: 1120px) { .site-header .brand__tag { display: none; } .nav { gap: 28px; } }

.nav { display: flex; align-items: center; gap: 36px; }
.nav a:not(.btn) {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream-100); text-decoration: none; opacity: .85;
  padding: 6px 0; border-bottom: 1px solid transparent;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { opacity: 1; border-bottom-color: var(--gold-500); }
.nav .btn { padding: .9em 1.4em; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-dark);
  width: 44px; height: 44px; color: var(--gold-500); cursor: pointer; border-radius: var(--radius);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1px; background: currentColor; margin: 0 auto; position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900); border-bottom: 1px solid var(--line-dark);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .nav-open .nav { display: flex; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
  .nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: var(--line-dark); color: var(--gold-500); }
  .nav .btn { margin-top: 20px; justify-content: center; }
  .brand__tag { display: none; }
}

/* ---------- Sections ---------- */

.section { padding: var(--section-y) 0; }
.section--dark { background: var(--navy-800); color: var(--cream-100); }
.section--darker { background: var(--navy-900); color: var(--cream-100); }
.section--cream { background: var(--cream-100); }
.section--sand { background: var(--cream-200); }
.section--tight { padding: calc(var(--section-y) * .6) 0; }

.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center .eyebrow { margin-bottom: .6rem; }

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(28, 46, 92, .9), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: var(--cream-100);
  padding: clamp(80px, 12vw, 160px) 0 clamp(80px, 11vw, 140px);
}
.hero::after {
  content: ""; position: absolute; inset: 0 0 0 auto; width: min(60%, 720px);
  background: url("../img/lines.svg") no-repeat right bottom / cover;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { max-width: 13ch; }
.hero .lead { color: rgba(247, 243, 236, .82); max-width: 46ch; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: var(--cream-100);
  padding: clamp(72px, 10vw, 120px) 0 clamp(56px, 8vw, 96px);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0 0 0 auto; width: min(50%, 560px);
  background: url("../img/lines.svg") no-repeat right bottom / cover; opacity: .7;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); max-width: 18ch; }
.page-hero .lead { color: rgba(247, 243, 236, .8); }

/* ---------- Four Drivers ---------- */

.drivers {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.driver {
  text-align: center; padding: 8px clamp(16px, 2.5vw, 36px);
  border-left: 1px solid var(--line-dark);
}
.driver:first-child { border-left: 0; }
.driver__icon { width: 84px; height: 84px; margin: 0 auto 24px; color: var(--gold-500); }
.driver__num {
  display: block; font-size: .8rem; letter-spacing: .2em; color: var(--gold-500);
}
.driver__title {
  display: block; font-family: var(--font-sans);
  font-size: .82rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  margin: 4px 0 14px;
}
.driver p { font-size: .88rem; color: rgba(247, 243, 236, .72); margin: 0; }
.section--cream .driver, .section--sand .driver { border-color: var(--line-light); }
.section--cream .driver p, .section--sand .driver p { color: var(--ink-soft); }

@media (max-width: 900px) {
  .drivers { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .driver:nth-child(3) { border-left: 0; }
}
@media (max-width: 520px) {
  .drivers { grid-template-columns: 1fr; }
  .driver { border-left: 0; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
  .driver:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* ---------- Services ---------- */

.services {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(20px, 3vw, 40px);
}
.service { text-align: center; }
.service__icon { width: 52px; height: 52px; margin: 0 auto 20px; color: var(--navy-700); }
.service__icon .g { color: var(--gold-500); stroke: var(--gold-500); }
.service h3 {
  font-family: var(--font-sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px;
}
.service p { font-size: .88rem; color: var(--ink-soft); margin: 0; }

@media (max-width: 1000px) { .services { grid-template-columns: repeat(3, 1fr); row-gap: 48px; } }
@media (max-width: 620px)  { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px)  { .services { grid-template-columns: 1fr; } }

/* Detailed service rows (services page) */
.service-row {
  display: grid; grid-template-columns: 80px 1fr 1.2fr; gap: clamp(20px, 4vw, 56px);
  padding: 48px 0; border-top: 1px solid var(--line-light); align-items: start;
}
.service-row:last-child { border-bottom: 1px solid var(--line-light); }
.service-row .service__icon { margin: 0; }
.service-row h3 { margin-bottom: .3em; }
.service-row .for { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; }
.service-row ul { margin: 0; padding: 0; list-style: none; }
.service-row li {
  position: relative; padding: 0 0 12px 22px; color: var(--ink-soft); font-size: .95rem;
}
.service-row li::before {
  content: ""; position: absolute; left: 0; top: .75em; width: 10px; height: 1px; background: var(--gold-500);
}
@media (max-width: 800px) {
  .service-row { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Approach / steps ---------- */

.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  counter-reset: step;
}
.step {
  padding: 32px clamp(16px, 2vw, 28px) 8px;
  border-top: 1px solid var(--gold-500);
  position: relative;
}
.step::before {
  content: ""; position: absolute; top: -5px; left: clamp(16px, 2vw, 28px);
  width: 9px; height: 9px; background: var(--gold-500); transform: rotate(45deg);
}
.step__num { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold-500); line-height: 1; }
.step h3 { margin: 12px 0 10px; }
.step p { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.section--dark .step p { color: rgba(247, 243, 236, .72); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Split / two-column ---------- */

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.panel {
  background: var(--navy-800); color: var(--cream-100);
  padding: clamp(32px, 5vw, 56px); position: relative; overflow: hidden;
}
.panel::after {
  content: ""; position: absolute; inset: auto -40px -40px auto; width: 260px; height: 260px;
  background: url("../img/lines.svg") no-repeat right bottom / contain; opacity: .6;
}
.panel > * { position: relative; z-index: 1; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line-dark); position: relative;
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 22px; width: 14px; height: 7px;
  border-left: 1.5px solid var(--gold-500); border-bottom: 1.5px solid var(--gold-500);
  transform: rotate(-45deg);
}
.section--cream .checklist li, .section--sand .checklist li { border-color: var(--line-light); }

/* ---------- Stats ---------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  text-align: center; padding: 8px 16px; border-left: 1px solid var(--line-dark);
}
.stat:first-child { border-left: 0; }
.stat__value {
  display: block; font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem);
  color: var(--gold-500); line-height: 1.1;
}
.stat__label { display: block; font-size: .85rem; color: rgba(247, 243, 236, .75); max-width: 20ch; margin: 8px auto 0; }
.stats-note {
  text-align: center; font-size: .75rem; letter-spacing: .08em;
  color: rgba(247, 243, 236, .55); margin: 48px 0 0;
}
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stat:nth-child(3) { border-left: 0; }
}

/* ---------- Insights / cards ---------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line-light);
  padding: 32px; text-decoration: none; color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(8, 18, 41, .35); border-color: var(--gold-500); }
.card__meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600);
  margin-bottom: 18px;
}
.card__meta span + span::before { content: "·"; margin-right: 14px; color: var(--ink-soft); }
.card h3 { font-size: 1.6rem; margin-bottom: 12px; }
.card p { font-size: .92rem; color: var(--ink-soft); flex: 1; }
.card__more {
  font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--navy-800);
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
}
.card[hidden] { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter {
  font-family: var(--font-sans); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: .8em 1.3em; border: 1px solid var(--line-light); background: transparent; color: var(--ink);
  cursor: pointer; border-radius: 100px;
}
.filter[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: var(--cream-100); }
.filter:hover:not([aria-pressed="true"]) { border-color: var(--gold-500); }

/* ---------- Article ---------- */

.article-hero .card__meta { color: var(--gold-500); }
.article-hero .card__meta span + span::before { color: rgba(247, 243, 236, .5); }

.article { max-width: 720px; margin: 0 auto; }
.article > p, .article li { font-size: 1.05rem; }
.article h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 1.8em; }

.tldr {
  background: var(--navy-800); color: var(--cream-100);
  padding: 28px 32px; margin: 0 0 48px; border-left: 3px solid var(--gold-500);
}
.tldr strong { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 8px; }
.tldr p { margin: 0; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.35; }

.facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-light);
  border: 1px solid var(--line-light); margin: 0 0 48px;
}
.facts div { background: var(--white); padding: 18px 20px; }
.facts dt { font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); }
.facts dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.3rem; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

.tools { list-style: none; padding: 0; margin: 0 0 1.5em; }
.tools li { padding: 16px 0; border-bottom: 1px solid var(--line-light); }
.tools li:first-child { border-top: 1px solid var(--line-light); }
.tools strong { font-weight: 600; }

.callout {
  border: 1px solid var(--gold-500); padding: 28px 32px; margin: 48px 0 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.callout p { margin: 0; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.3; max-width: 26ch; }

/* Policy pages */
.policy ul { padding-left: 1.2em; }
.policy li { margin-bottom: .6em; }
.policy a { color: var(--gold-600); }
.policy-table { margin: 0 0 1.5em; border-top: 1px solid var(--line-light); }
.policy-table div { display: grid; grid-template-columns: 1fr 1.6fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.policy-table dt { font-weight: 600; }
.policy-table dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 560px) { .policy-table div { grid-template-columns: 1fr; gap: 4px; } }
mark.todo { background: #FFE58A; color: var(--ink); padding: 0 .2em; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-500); }

/* ---------- Newsletter (form removed for release 1; styles kept for release 2) ---------- */

.newsletter {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
@media (max-width: 860px) { .newsletter { grid-template-columns: 1fr; } }

.inline-form { display: flex; gap: 0; border: 1px solid var(--gold-500); }
.inline-form input {
  flex: 1; min-width: 0; background: transparent; border: 0; padding: 18px 20px;
  font: inherit; color: inherit; font-size: .95rem;
}
.inline-form input::placeholder { color: rgba(247, 243, 236, .5); }
.section--cream .inline-form input::placeholder, .section--sand .inline-form input::placeholder { color: var(--ink-soft); }
.inline-form input:focus { outline: none; }
.inline-form:focus-within { outline: 2px solid var(--gold-500); outline-offset: 3px; }
.inline-form .btn { border: 0; }
.form-note { font-size: .78rem; opacity: .7; margin-top: 12px; }
.form-status { font-size: .9rem; margin-top: 14px; min-height: 1.4em; color: var(--gold-500); }
.section--cream .form-status, .section--sand .form-status { color: var(--gold-600); }
@media (max-width: 460px) {
  .inline-form { flex-direction: column; }
  .inline-form .btn { justify-content: center; }
}

/* ---------- Contact form ---------- */

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form .full { grid-column: 1 / -1; }
.field label {
  display: block; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 8px; color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 14px 16px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(201, 164, 106, .2); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

.contact-aside h3 { margin-top: 0; }
.contact-aside a { color: var(--gold-500); text-decoration: none; }
.contact-aside dl { margin: 24px 0 0; }
.contact-aside dt { font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-500); margin-top: 20px; }
.contact-aside dd { margin: 4px 0 0; }

/* ---------- CTA band ---------- */

.cta {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(24px, 5vw, 64px); align-items: center;
}
.cta h2 { margin: 0; font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.cta__divider { width: 1px; height: 120px; background: var(--gold-500); }
.cta p { color: rgba(247, 243, 236, .78); }
@media (max-width: 800px) {
  .cta { grid-template-columns: 1fr; }
  .cta__divider { width: 48px; height: 1px; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-900); color: rgba(247, 243, 236, .7);
  padding: 64px 0 32px; font-size: .88rem; border-top: 1px solid var(--line-dark);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 {
  font-family: var(--font-sans); font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--gold-500); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Brand guide ---------- */

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.swatch { border: 1px solid var(--line-light); background: var(--white); }
.swatch__chip { height: 110px; }
.swatch__info { padding: 14px 16px; font-size: .8rem; }
.swatch__info strong { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.swatch__info code { font-size: .8rem; color: var(--ink-soft); }

.logo-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.logo-tile { display: grid; place-items: center; min-height: 220px; padding: 32px; border: 1px solid var(--line-light); }
.logo-tile--navy { background: var(--navy-800); }
.logo-tile--cream { background: var(--cream-100); }
.logo-tile--gold { background: var(--gold-500); }
@media (max-width: 760px) { .logo-tiles { grid-template-columns: 1fr; } }

.type-specimen { border-top: 1px solid var(--line-light); padding: 28px 0; display: grid; grid-template-columns: 200px 1fr; gap: 24px; }
.type-specimen:last-child { border-bottom: 1px solid var(--line-light); }
.type-specimen .label { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); }
@media (max-width: 640px) { .type-specimen { grid-template-columns: 1fr; } }

.dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dodont > div { padding: 28px; background: var(--white); border-top: 3px solid var(--gold-500); }
.dodont > div.dont { border-top-color: var(--navy-800); }
.dodont ul { padding-left: 1.1em; margin: 0; color: var(--ink-soft); }
@media (max-width: 640px) { .dodont { grid-template-columns: 1fr; } }

/* ---------- Reveal animation ---------- */

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
}

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