/* =========================================================
   Hulatt Digital — Stylesheet
   Palette: navy, bone, graphite (strict)
   Type: Fraunces (display) + Inter (body)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --navy:        #0E1B2C;
  --navy-deep:   #081320;
  --navy-soft:   #182943;
  --bone:        #F4EFE6;
  --bone-soft:   #EBE5D8;
  --bone-dim:    #D9D2C2;
  --graphite:    #1E2128;
  --graphite-2:  #2A2D34;
  --ink-mute:    #6B6F76;
  --ink-faint:   rgba(244, 239, 230, 0.62);
  --rule-light:  rgba(14, 27, 44, 0.12);
  --rule-dark:   rgba(244, 239, 230, 0.14);

  --ff-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --ff-body:    "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --maxw:       1240px;
  --gutter:     clamp(20px, 4vw, 56px);
  --section-y:  clamp(80px, 12vw, 160px);

  --ease:       cubic-bezier(.2, .65, .25, 1);
  --ease-slow:  cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bone);
  color: var(--graphite);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--navy); color: var(--bone); }

/* ---------- Type ---------- */
.display, h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1.05;
}
h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); letter-spacing: -0.01em; }
h4 { font-size: 1.1rem; letter-spacing: 0; }

p { color: var(--graphite-2); }
.lede {
  font-family: var(--ff-display);
  font-weight: 350;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.45;
  color: var(--graphite);
  letter-spacing: -0.005em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  opacity: .6;
}

.script-em { font-style: italic; font-weight: 300; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(56px, 8vw, 96px); }
.section--dark {
  background: var(--navy);
  color: var(--bone);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--bone); }
.section--dark p { color: var(--ink-faint); }
.section--dark .eyebrow { color: var(--bone-dim); }

.grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--split { grid-template-columns: 1fr 1.2fr; align-items: end; }

@media (max-width: 880px) {
  .grid--2, .grid--3, .grid--4, .grid--split { grid-template-columns: 1fr; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-block: 22px;
  background: transparent;
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav.is-stuck {
  background: rgba(244, 239, 230, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
          backdrop-filter: saturate(160%) blur(14px);
  padding-block: 14px;
  border-color: var(--rule-light);
}
/* When the page hero is dark, nav text should be bone */
.nav--on-dark .nav__brand,
.nav--on-dark .nav__link { color: var(--bone); }
.nav--on-dark.is-stuck .nav__brand,
.nav--on-dark.is-stuck .nav__link { color: var(--navy); }
.nav--on-dark.is-stuck { background: rgba(244, 239, 230, 0.92); }

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-family: var(--ff-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.nav__brand svg { display: block; }
.nav__brand-mark {
  width: 30px; height: 30px;
}
.nav__menu {
  display: flex;
  gap: clamp(20px, 3vw, 38px);
  align-items: center;
}
.nav__link {
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--navy);
  position: relative;
  padding: 6px 2px;
  transition: opacity .25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.nav__cta:hover { background: var(--navy); color: var(--bone); border-color: var(--navy); }
.nav--on-dark .nav__cta:hover { background: var(--bone); color: var(--navy); border-color: var(--bone); }
.nav--on-dark.is-stuck .nav__cta:hover { background: var(--navy); color: var(--bone); border-color: var(--navy); }

/* Mobile nav */
.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 22px; height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after  { top:  7px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav__toggle span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 760px) {
  .nav__menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 360px);
    background: var(--navy);
    color: var(--bone);
    flex-direction: column;
    align-items: flex-start;
    padding: 110px var(--gutter) 40px;
    gap: 24px;
    transform: translateX(105%);
    transition: transform .5s var(--ease-slow);
    box-shadow: -20px 0 60px rgba(0,0,0,.18);
  }
  .nav__menu .nav__link { color: var(--bone); font-size: 22px; font-family: var(--ff-display); letter-spacing: -0.01em; }
  .nav__menu .nav__cta { color: var(--bone); border-color: var(--bone); margin-top: 8px; }
  .nav.is-open .nav__menu { transform: translateX(0); }
  .nav__toggle { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid {
  background: var(--navy);
  color: var(--bone);
}
.btn--solid:hover { background: var(--navy-deep); box-shadow: 0 14px 30px -16px rgba(8,19,32,.6); }
.btn--bone {
  background: var(--bone);
  color: var(--navy);
}
.btn--bone:hover { background: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn--ghost:hover { background: var(--navy); color: var(--bone); }
.section--dark .btn--ghost { color: var(--bone); border-color: var(--bone); }
.section--dark .btn--ghost:hover { background: var(--bone); color: var(--navy); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--bone);
  padding-top: clamp(140px, 18vw, 220px);
  padding-bottom: clamp(100px, 12vw, 160px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 80% 0%, rgba(244,239,230,.06), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(244,239,230,.04), transparent 60%);
  z-index: -1;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--bone-dim);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.hero__kicker::before {
  content: "";
  width: 36px; height: 1px;
  background: currentColor;
  opacity: .55;
}
.hero h1 {
  color: var(--bone);
  font-weight: 350;
  letter-spacing: -0.025em;
  max-width: 16ch;
  font-size: clamp(2.8rem, 7vw, 6.4rem);
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--bone-dim);
}
.hero__sub {
  color: var(--ink-faint);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  max-width: 56ch;
  margin-top: 32px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
}
.hero__meta {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(40px, 6vw, 80px);
  text-align: right;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
  line-height: 1.8;
}
.hero__meta strong { color: var(--bone); font-weight: 500; }
@media (max-width: 760px) { .hero__meta { display: none; } }

/* Marquee strip */
.ticker {
  background: var(--navy-deep);
  color: var(--bone-dim);
  padding-block: 22px;
  border-block: 1px solid var(--rule-dark);
  overflow: hidden;
  white-space: nowrap;
}
.ticker__track {
  display: inline-flex;
  gap: 64px;
  animation: ticker 38s linear infinite;
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 300;
  letter-spacing: -0.005em;
}
.ticker__track span { display: inline-flex; align-items: center; gap: 64px; }
.ticker__track span::after {
  content: "✦";
  color: var(--bone-dim);
  opacity: .45;
  font-size: 1rem;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Page header (interior pages) ---------- */
.page-head {
  background: var(--navy);
  color: var(--bone);
  padding-top: clamp(140px, 16vw, 200px);
  padding-bottom: clamp(80px, 10vw, 130px);
}
.page-head h1 {
  color: var(--bone);
  font-weight: 350;
  max-width: 18ch;
  letter-spacing: -0.025em;
}
.page-head .lede {
  color: var(--ink-faint);
  margin-top: 28px;
  max-width: 56ch;
}

/* ---------- Services ---------- */
.services { background: var(--bone); }
.services__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); margin-bottom: clamp(56px, 8vw, 96px); }
@media (max-width: 880px) { .services__head { grid-template-columns: 1fr; } }
.service {
  border-top: 1px solid var(--rule-light);
  padding-top: 32px;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  align-items: start;
}
.service__num {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--navy);
  letter-spacing: 0;
}
.service h3 { margin-bottom: 14px; }
.service p { font-size: 16px; line-height: 1.65; color: var(--graphite-2); }
.service__list {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service__list li {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 6px 12px;
  border: 1px solid var(--rule-light);
  border-radius: 999px;
}

/* ---------- Metrics ---------- */
.metrics { background: var(--graphite); color: var(--bone); }
.metric {
  border-top: 1px solid var(--rule-dark);
  padding-top: 28px;
}
.metric__num {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--bone);
  line-height: 1;
}
.metric__label {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- Quote / pull ---------- */
.pull {
  background: var(--bone);
  padding-block: var(--section-y);
}
.pull blockquote {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--navy);
  max-width: 28ch;
}
.pull blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: 0.5; color: var(--ink-mute); margin-bottom: 24px; }
.pull cite {
  display: block;
  margin-top: 36px;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 7vw, 96px); align-items: center; }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }
.about-portrait {
  background: var(--navy);
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.about-portrait::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(8,19,32,.45));
}
.about-portrait__caption {
  position: absolute; left: 24px; bottom: 22px; right: 24px;
  color: var(--bone);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}
.about-portrait svg { width: 100%; height: 100%; }

.philosophy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  margin-top: clamp(56px, 8vw, 96px);
}
@media (max-width: 760px) { .philosophy { grid-template-columns: 1fr; } }
.philosophy__item {
  border-top: 1px solid var(--rule-light);
  padding-top: 24px;
}
.philosophy__item h4 { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 400; color: var(--navy); margin-bottom: 10px; }
.philosophy__item p { font-size: 16px; }

/* ---------- Creators ---------- */
.creators-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.4vw, 32px) clamp(20px, 2vw, 28px);
}
@media (max-width: 1080px) { .creators-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .creators-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .creators-grid { grid-template-columns: 1fr; } }

.creator {
  display: block;
  background: transparent;
  color: inherit;
}
.creator__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--navy-soft);
  overflow: hidden;
  border-radius: 2px;
}
.creator__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-slow), filter .6s var(--ease);
  filter: saturate(0.92) contrast(1.02);
}
.creator:hover .creator__media img {
  transform: scale(1.04);
  filter: saturate(1) contrast(1.05);
}
.creator__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8,19,32,.55));
  pointer-events: none;
}
.creator__niche {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: rgba(14,27,44,.7);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  color: var(--bone);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.creator__body { padding: 18px 4px 0; }
.creator__name {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: -0.005em;
  color: var(--navy);
  line-height: 1.2;
}
.creator__handle {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.creator__row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--rule-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.creator__count {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--navy);
}
.creator__count span {
  font-family: var(--ff-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-left: 4px;
}
.creator__socials { display: inline-flex; gap: 12px; }
.creator__socials a {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule-light);
  border-radius: 50%;
  color: var(--ink-mute);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.creator__socials a:hover { background: var(--navy); color: var(--bone); border-color: var(--navy); }
.creator__socials svg { width: 12px; height: 12px; }

/* ---------- Roster filter (creators page) ---------- */
.roster-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(40px, 5vw, 64px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule-light);
  flex-wrap: wrap;
}
.roster-bar p { color: var(--ink-mute); font-size: 14px; letter-spacing: 0.04em; }
.roster-bar strong { color: var(--navy); font-weight: 500; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h3 { margin-bottom: 18px; }
.contact-info p { font-size: 17px; max-width: 42ch; }
.contact-list {
  margin-top: 40px;
  display: grid;
  gap: 22px;
}
.contact-list li {
  border-top: 1px solid var(--rule-light);
  padding-top: 18px;
}
.contact-list .label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 6px;
}
.contact-list a {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: -0.005em;
  transition: opacity .2s var(--ease);
}
.contact-list a:hover { opacity: .65; }

.form {
  display: grid;
  gap: 22px;
  background: var(--bone-soft);
  padding: clamp(28px, 4vw, 48px);
  border-radius: 4px;
  border: 1px solid var(--rule-light);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 540px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--navy);
  padding: 12px 0 14px;
  font-family: var(--ff-body);
  font-size: 16px;
  color: var(--navy);
  width: 100%;
  border-radius: 0;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--graphite);
  background: rgba(14,27,44,0.03);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); opacity: .9; }

.form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 28px;
  background: var(--navy);
  color: var(--bone);
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .25s var(--ease), transform .25s var(--ease);
  align-self: start;
  margin-top: 12px;
}
.form__submit:hover { background: var(--navy-deep); transform: translateY(-2px); }
.form__note { font-size: 13px; color: var(--ink-mute); margin-top: 8px; }

/* ---------- CTA ---------- */
.cta {
  background: var(--navy);
  color: var(--bone);
  padding-block: clamp(80px, 10vw, 130px);
  text-align: center;
}
.cta h2 {
  color: var(--bone);
  font-weight: 300;
  max-width: 22ch;
  margin: 0 auto 24px;
  letter-spacing: -0.02em;
}
.cta h2 em { font-style: italic; color: var(--bone-dim); font-weight: 300; }
.cta p { color: var(--ink-faint); max-width: 50ch; margin: 0 auto 36px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: var(--bone-dim);
  padding-block: clamp(60px, 7vw, 100px);
  font-size: 14px;
}
.footer a { color: var(--bone); }
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--rule-dark);
}
@media (max-width: 880px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand { max-width: 36ch; }
.footer__brand p { color: var(--ink-faint); margin-top: 16px; font-size: 14px; }
.footer__col h4 {
  font-family: var(--ff-body);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer__col li { margin-bottom: 10px; }
.footer__col a:hover { opacity: .7; }
.footer__bottom {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-slow), transform 1s var(--ease-slow);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
[data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal-delay="3"] { transition-delay: 240ms; }
[data-reveal-delay="4"] { transition-delay: 320ms; }

/* Skip link */
.skip {
  position: absolute;
  left: 16px; top: -40px;
  padding: 10px 14px;
  background: var(--navy);
  color: var(--bone);
  border-radius: 4px;
  z-index: 99;
  transition: top .25s var(--ease);
}
.skip:focus { top: 16px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
