/* ==========================================================================
   Hartley & Vance — landing page styles
   Layout: fixed left navigation rail + editorial content column
   Palette: navy + gold on warm off-white. Sharp corners throughout.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-900: #08192a;
  --navy-800: #0b1f33;
  --navy-700: #12314c;
  --navy-600: #1c4468;

  --gold-600: #a8862e;
  --gold-500: #c9a227;
  --gold-400: #ddbc5a;
  --gold-100: #f5ecd5;

  --paper:    #f8f6f2;
  --paper-alt:#efece5;
  --white:    #ffffff;

  --ink:      #16212c;
  --ink-soft: #56636e;
  --line:     #ded8cd;
  --line-dark:rgba(255, 255, 255, .14);

  --danger:   #a83a2a;

  --radius: 2px;

  --shadow-sm: 0 1px 2px rgba(8, 25, 42, .05), 0 2px 8px rgba(8, 25, 42, .04);
  --shadow:    0 14px 40px rgba(8, 25, 42, .10);
  --shadow-lg: 0 30px 80px rgba(8, 25, 42, .20);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --rail-w: 300px;
  --bar-h: 66px;
  --wrap: 1060px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .97rem + .15vw, 1.0625rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0 0 .5em; font-family: var(--font-display); font-weight: 600; line-height: 1.18; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--navy-700); }
ul, dl { padding: 0; }
button { font: inherit; }

/* ---------- Utilities ---------- */
.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.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;
}
.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 300;
  background: var(--navy-800); color: var(--white);
  padding: .75rem 1.25rem; text-decoration: none; font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

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

.eyebrow {
  font-family: var(--font-body);
  font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-500); margin: 0 0 1rem;
}
.eyebrow--light { color: var(--gold-400); }

.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section--tint { background: var(--paper-alt); }
.section--dark { background: var(--navy-800); color: rgba(255, 255, 255, .78); }

.section__title {
  font-size: clamp(1.9rem, 1.2rem + 2.9vw, 3.1rem);
  color: var(--navy-900); font-weight: 500; text-wrap: balance;
}
.section__title--light { color: var(--white); }
.section__head { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--wide { max-width: 46rem; }
.section__lede { color: var(--ink-soft); font-size: 1.05em; margin: 0; }
.section--dark .section__lede { color: rgba(255, 255, 255, .68); }

.lead { font-size: 1.1em; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: .9rem; line-height: 1;
  letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1.05rem 2.1rem; font-size: .95rem; }
.btn--block { display: flex; width: 100%; }

.btn--gold { background: var(--gold-500); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-400); }

.btn--line { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn--line:hover { background: var(--navy-800); color: var(--white); }

/* ==========================================================================
   LAYOUT — left rail + content column
   ========================================================================== */
.layout { min-height: 100vh; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--white); }
.brand__mark {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  background: var(--gold-500); color: var(--navy-900);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .02em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; letter-spacing: .01em; }
.brand__text small { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }

/* ---------- Rail ---------- */
/* z-index sits above the drawer (130) so the top bar and its close button
   stay visible and tappable while the drawer is open on narrow screens. */
.rail {
  position: fixed; top: 0; left: 0; right: 0; z-index: 140;
  background: var(--navy-800);
  display: flex; flex-direction: column;
}
.rail__top {
  min-height: var(--bar-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem var(--gutter);
}
.rail__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; cursor: pointer;
  background: transparent; border: 1px solid var(--line-dark); color: var(--white);
  border-radius: var(--radius);
}
.rail__toggle-bars { display: grid; gap: 5px; width: 20px; }
.rail__toggle-bars i { display: block; height: 1.5px; background: currentColor; transition: transform .25s ease, opacity .2s ease; }
.rail__toggle[aria-expanded="true"] .rail__toggle-bars i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.rail__toggle[aria-expanded="true"] .rail__toggle-bars i:nth-child(2) { opacity: 0; }
.rail__toggle[aria-expanded="true"] .rail__toggle-bars i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.rail__list { list-style: none; margin: 0; }
.rail__list a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: .85rem 0;
  color: rgba(255, 255, 255, .68); text-decoration: none;
  font-size: .95rem; font-weight: 500; letter-spacing: .01em;
  border-bottom: 1px solid var(--line-dark);
  transition: color .2s ease, padding-left .2s ease;
}
.rail__list a:hover { color: var(--white); padding-left: .4rem; }
.rail__list a.is-active { color: var(--gold-500); }
.rail__num {
  font-family: var(--font-body); font-size: .68rem; font-weight: 600;
  letter-spacing: .12em; color: rgba(255, 255, 255, .3);
  min-width: 1.6em;
}
.rail__list a.is-active .rail__num { color: var(--gold-500); }

.rail__foot { margin-top: 2rem; }
.rail__contact { margin: 1.5rem 0 0; display: grid; gap: .1rem; }
.rail__contact dt {
  font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .4); margin-top: .85rem;
}
.rail__contact dd { margin: 0; font-size: .92rem; }
.rail__contact a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.rail__contact a:hover { color: var(--gold-400); }
.rail__reg { margin: 1.5rem 0 0; font-size: .7rem; color: rgba(255, 255, 255, .35); letter-spacing: .04em; }

.rail__scrim {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(8, 25, 42, .55); backdrop-filter: blur(2px);
}
.rail__scrim[hidden] { display: none; }

.content { padding-top: var(--bar-h); }

/* --- Mobile / tablet: rail nav is a slide-in drawer --- */
@media (max-width: 68.74em) {
  /* Both are children of .rail, so these z-indexes only rank against each other:
     the top bar must stay above the drawer that slides out beneath it. */
  .rail__top { position: relative; z-index: 2; }
  .rail__nav {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 1;
    width: min(330px, 86vw);
    background: var(--navy-900);
    padding: calc(var(--bar-h) + 1.25rem) 1.75rem 2rem;
    overflow-y: auto;
    transform: translateX(-102%);
    transition: transform .34s cubic-bezier(.4, 0, .2, 1);
    box-shadow: var(--shadow-lg);
  }
  .rail__nav.is-open { transform: translateX(0); }
  body.is-locked { overflow: hidden; }
}

/* --- Desktop: permanent left rail --- */
@media (min-width: 68.75em) {
  .rail {
    right: auto; width: var(--rail-w); height: 100vh;
    padding: 2.25rem 2rem 2rem;
    border-right: 1px solid rgba(255, 255, 255, .08);
    overflow-y: auto;
  }
  .rail__top { padding: 0; min-height: 0; margin-bottom: 3rem; display: block; }
  .rail__toggle { display: none; }
  .rail__nav { display: flex; flex-direction: column; flex: 1; }
  .rail__foot { margin-top: auto; padding-top: 2.5rem; }
  .rail__scrim { display: none !important; }

  .content { padding-top: 0; margin-left: var(--rail-w); }
  html { scroll-padding-top: 2rem; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 4.5rem); background: var(--paper); }
.hero__inner {
  display: grid; grid-template-columns: 1fr; gap: clamp(2.25rem, 5vw, 4rem);
  align-items: center;
}
.hero__copy h1 {
  font-size: clamp(2.3rem, 1.3rem + 4.4vw, 4.15rem);
  font-weight: 400; line-height: 1.08; letter-spacing: -.025em;
  color: var(--navy-900); margin-bottom: .45em;
}
.hero__copy h1 em {
  font-style: italic; color: var(--gold-600);
  position: relative;
}
.hero__lede { font-size: clamp(1.02rem, .98rem + .35vw, 1.16rem); color: var(--ink-soft); max-width: 36rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero__media { margin: 0; }
.hero__media img {
  width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.metrics {
  list-style: none; margin: clamp(2.5rem, 6vw, 4.5rem) 0 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.metrics li { padding: 1.5rem 1.25rem 1.5rem 0; border-bottom: 1px solid var(--line); }
.metrics strong {
  display: block; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 1.5rem + 1.8vw, 2.9rem); line-height: 1;
  color: var(--navy-800); font-variant-numeric: tabular-nums;
}
.metrics span { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

/* ==========================================================================
   THE FIRM — split
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.split__figure { margin: 1.5rem 0 0; }
.split__figure img {
  width: 100%; aspect-ratio: 3 / 3.6; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}

.creds {
  list-style: none; margin: 2.5rem 0 0;
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid var(--line);
}
.creds li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1.25rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.creds strong {
  font-family: var(--font-body); font-size: .76rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--navy-800);
  min-width: 9rem;
}
.creds span { font-size: .93rem; color: var(--ink-soft); }

/* ==========================================================================
   SERVICES — zig-zag rows
   ========================================================================== */
.rows { display: grid; gap: clamp(3rem, 7vw, 5.5rem); }
.row {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem 3rem;
  align-items: center; position: relative;
}
.row__index {
  font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400; line-height: 1; color: rgba(201, 162, 39, .3);
  grid-row: 1;
}
.row__media { grid-row: 2; }
.row__media img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius); filter: saturate(.85);
  transition: filter .4s ease, transform .4s ease;
}
.row:hover .row__media img { filter: saturate(1); transform: translateY(-3px); }
.row__body { grid-row: 3; }
.row__body h3 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); color: var(--white); font-weight: 500; }
.row__body > p { color: rgba(255, 255, 255, .68); }
.row__body ul {
  list-style: none; margin: 1.5rem 0 0; display: grid; gap: .5rem;
  border-top: 1px solid var(--line-dark); padding-top: 1.5rem;
}
.row__body ul li { position: relative; padding-left: 1.4rem; font-size: .92rem; color: rgba(255, 255, 255, .8); }
.row__body ul li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 8px; height: 1px; background: var(--gold-500);
}

/* ==========================================================================
   SECTORS
   ========================================================================== */
.sectors {
  list-style: none; margin: 0;
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.sector {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background-color .3s ease, color .3s ease;
}
.sector:hover { background: var(--navy-800); }
.sector__icon { display: block; color: var(--gold-600); margin-bottom: 1.1rem; transition: color .3s ease; }
.sector__icon svg { width: 30px; height: 30px; }
.sector h3 { font-size: 1.15rem; color: var(--navy-900); font-weight: 600; transition: color .3s ease; }
.sector p { margin: 0; font-size: .92rem; color: var(--ink-soft); transition: color .3s ease; }
.sector:hover h3 { color: var(--white); }
.sector:hover p { color: rgba(255, 255, 255, .72); }
.sector:hover .sector__icon { color: var(--gold-500); }

/* ==========================================================================
   CLIENTS — static quote wall
   ========================================================================== */
.quotes { list-style: none; margin: 0; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.quote blockquote {
  margin: 0; height: 100%;
  background: var(--white); border: 1px solid var(--line);
  border-top: 3px solid var(--gold-500);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  display: flex; flex-direction: column;
}
.quote blockquote > p {
  font-family: var(--font-display); font-size: 1.06rem; line-height: 1.65;
  color: var(--navy-900); font-weight: 400;
}
.quote footer { margin-top: auto; padding-top: 1.35rem; border-top: 1px solid var(--line); }
.quote cite { font-style: normal; display: flex; flex-direction: column; }
.quote cite strong { font-size: .95rem; color: var(--navy-900); }
.quote cite span { font-size: .84rem; color: var(--ink-soft); }

/* ==========================================================================
   PEOPLE — horizontal rows
   ========================================================================== */
.people { list-style: none; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.person {
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem 1.75rem;
  align-items: start;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .25s ease;
}
.person:hover { background: rgba(255, 255, 255, .55); }
.person > img {
  width: clamp(80px, 14vw, 116px); aspect-ratio: 1; object-fit: cover; object-position: center 18%;
  border-radius: var(--radius); filter: grayscale(1); transition: filter .35s ease;
}
.person:hover > img { filter: grayscale(0); }
.person__body h3 { font-size: 1.25rem; margin-bottom: .1em; color: var(--navy-900); font-weight: 600; }
.person__body h3 span {
  font-family: var(--font-body); font-size: .66rem; font-weight: 600;
  letter-spacing: .14em; color: var(--gold-600); vertical-align: middle;
  margin-left: .4rem;
}
.person__role {
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: .8em;
}
.person__body > p:last-child { margin: 0; font-size: .95rem; color: var(--ink-soft); max-width: 52ch; }

/* ==========================================================================
   FAQ — tabs
   ========================================================================== */
.tabs { background: var(--white); border: 1px solid var(--line); }
.tabs__list { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tabs__tab {
  flex: 1 1 auto; padding: 1.05rem 1.25rem;
  background: var(--paper-alt); border: 0; border-right: 1px solid var(--line);
  cursor: pointer; font-size: .84rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft);
  position: relative; transition: background-color .2s ease, color .2s ease;
}
.tabs__tab:last-child { border-right: 0; }
.tabs__tab:hover { color: var(--navy-800); }
.tabs__tab[aria-selected="true"] { background: var(--white); color: var(--navy-900); }
.tabs__tab[aria-selected="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--gold-500);
}

.tabs__panel { padding: clamp(1.5rem, 4vw, 2.5rem); }
.tabs__panel:focus-visible { outline-offset: -4px; }
.qa { margin: 0; }
.qa dt {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  color: var(--navy-900); margin-bottom: .35rem;
}
.qa dd { margin: 0 0 1.75rem; color: var(--ink-soft); font-size: .96rem; max-width: 62ch; }
.qa dd:last-child { margin-bottom: 0; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.band { position: relative; padding: clamp(3.5rem, 8vw, 6rem) 0; color: var(--white); isolation: isolate; text-align: center; }
.band__media { position: absolute; inset: 0; z-index: -2; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 25, 42, .90), rgba(8, 25, 42, .82));
}
.band__inner { max-width: 44rem; }
.band h2 { font-size: clamp(1.6rem, 1.15rem + 2vw, 2.5rem); color: var(--white); font-weight: 400; }
.band p { color: rgba(255, 255, 255, .72); margin-bottom: 2rem; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.contact__details { margin: 2.25rem 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact__details > div { padding: 1.1rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; }
.contact__details dt {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft); padding-top: .2rem;
}
.contact__details dd { margin: 0; font-size: .96rem; color: var(--ink); }
.contact__details a { color: var(--navy-800); font-weight: 600; text-decoration: none; }
.contact__details a:hover { color: var(--gold-600); text-decoration: underline; }
.contact__note { margin: 1.5rem 0 0; font-size: .88rem; color: var(--ink-soft); font-style: italic; }

/* ---------- Form ---------- */
.form-wrap { background: var(--navy-800); padding: clamp(1.5rem, 3.5vw, 2.5rem); border-radius: var(--radius); }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .45rem; color: rgba(255, 255, 255, .72); }
.field label span { color: var(--gold-400); }
.field input, .field select, .field textarea {
  width: 100%; padding: .78rem .9rem;
  font: inherit; font-size: .95rem; color: var(--white);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 108px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .35); }
.field select option { color: var(--ink); background: var(--white); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: rgba(255, 255, 255, .1);
  border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(201, 162, 39, .18);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #e0705c; box-shadow: 0 0 0 3px rgba(224, 112, 92, .14);
}
.field__error { margin: .4rem 0 0; font-size: .8rem; color: #f0a394; font-weight: 500; }
.field-row { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }

.field--check { display: grid; grid-template-columns: auto 1fr; gap: .1rem .7rem; align-items: start; margin-bottom: 1.5rem; }
.field--check input { width: 18px; height: 18px; margin-top: .25rem; accent-color: var(--gold-500); }
.field--check label {
  font-size: .86rem; font-weight: 400; letter-spacing: 0; text-transform: none;
  color: rgba(255, 255, 255, .7); margin: 0;
}
.field--check .field__error { grid-column: 2; }

.form__note { margin: 1rem 0 0; font-size: .78rem; color: rgba(255, 255, 255, .45); text-align: center; }
.form__success {
  margin: 1rem 0 0; padding: 1rem 1.1rem;
  background: rgba(201, 162, 39, .12); border-left: 3px solid var(--gold-500);
  font-size: .9rem; color: rgba(255, 255, 255, .88);
}
.form__success strong { display: block; margin-bottom: .15rem; color: var(--gold-400); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .62); padding: clamp(3rem, 6vw, 4.5rem) 0 0; }
.footer__inner { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.footer__brand { display: flex; gap: 1.1rem; align-items: flex-start; }
.brand__mark--footer { flex: none; }
.footer__brand p { font-size: .84rem; line-height: 1.6; margin: 0; max-width: 44ch; }
.footer__brand strong { color: var(--white); font-size: .95rem; }
.footer__nav { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.footer__nav h3 { font-family: var(--font-body); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 1rem; }
.footer__nav ul { list-style: none; margin: 0; display: grid; gap: .55rem; }
.footer__nav a, .footer__nav li { font-size: .88rem; color: rgba(255, 255, 255, .62); text-decoration: none; }
.footer__nav a:hover { color: var(--white); }
.footer__base {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding: 1.35rem 0;
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; justify-content: space-between; font-size: .8rem;
}
.footer__base p { margin: 0; }
.footer__credit a { color: var(--gold-500); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .75s cubic-bezier(.2,.7,.3,1), transform .75s cubic-bezier(.2,.7,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 40em) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: repeat(4, 1fr); }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .creds { grid-template-columns: repeat(2, 1fr); }
  .creds li:nth-child(odd) { padding-right: 1.5rem; }
}

@media (min-width: 52em) {
  .hero__inner { grid-template-columns: 1.1fr .9fr; }
  .split { grid-template-columns: .8fr 1.2fr; }
  .split__figure { margin-top: 0; }

  .row { grid-template-columns: 5rem 1fr 1fr; gap: 2.5rem; align-items: center; }
  .row__index { grid-row: 1; grid-column: 1; align-self: start; }
  .row__media { grid-row: 1; grid-column: 2; }
  .row__body { grid-row: 1; grid-column: 3; }
  .row--flip .row__media { grid-column: 3; }
  .row--flip .row__body { grid-column: 2; }

  .quotes { grid-template-columns: repeat(3, 1fr); }
  .sectors { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 68.75em) {
  .contact { grid-template-columns: .95fr 1.05fr; }
}

/* ==========================================================================
   Motion & print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .rail, .rail__scrim, .hero__actions, .band { display: none !important; }
  .content { margin-left: 0 !important; padding-top: 0 !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .tabs__panel[hidden] { display: block !important; }
}
