/* ==========================================================================
   Bahari Nexus — shipbroking
   Rebuilt against the Figma design (file aSkXiBpZNFymxOyIepKEJY).
   Palette values sampled from the rendered design; tokens live in :root.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Surfaces — values taken from the Figma HTML export */
  --bg:          #00131D;   /* page canvas */
  --bg-deep:     #000D15;   /* footer */
  --bg-lift:     #06202F;   /* hero fade target */

  /* Blue blocks */
  --blue:        #0868D8;
  --blue-hover:  #0A5AB8;
  --blue-ghost:  rgba(234,251,255,.15);  /* the giant 01/02/03 numerals */

  /* Light cards */
  --paper:       #EAFBFF;
  --paper-warm:  #F4FCFF;
  --ink:         #00131D;   /* text on light cards */
  --ink-mut:     #005786;
  --ink-ghost:   rgba(0,87,134,.15);

  /* Text on dark */
  --text:        #EAFBFF;
  --muted:       #A4BAC3;
  --faint:       #A4BAC3;
  --line:        #005786;
  --line-soft:   rgba(0,87,134,.5);

  /* Type */
  /* The Figma export declares Inter throughout (global.css: font-family:'Inter') */
  --font:        "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body:   "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-hero:     clamp(2.5rem, 1.15rem + 5.4vw, 5rem);
  --fs-h1:       clamp(2.15rem, 1.2rem + 3.9vw, 4rem);
  --fs-h2:       clamp(1.75rem, 1.05rem + 2.9vw, 3rem);
  --fs-h3:       clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  --fs-lead:     clamp(1rem, .95rem + 0.35vw, 1.15rem);
  --fs-eyebrow:  .72rem;

  /* Space & shape */
  --wrap:        1360px;                        /* Figma frame 1440 less 42px gutters */
  --gutter:      clamp(1.15rem, 3vw, 2.6rem);
  --section-y:   clamp(3.5rem, 7vw, 6.5rem);

  --r-card:      14px;
  --r-block:     16px;
  --r-squircle:  72px;      /* the pill-rounded photos in the feature cards */
  --r-pill:      999px;

  --ease:        cubic-bezier(.22,.61,.36,1);
  --header-h:    72px;

  /* Photo fallbacks — swap by setting --img on the element (see README).
     Layered so they read as sky-over-horizon-over-water, not a flat wash. */
  --sunset:
    radial-gradient(120% 58% at 62% 57%, rgba(255,178,96,.62) 0%, rgba(255,138,62,.20) 32%, transparent 64%),
    linear-gradient(180deg, #0A1A2A 0%, #1E2E3E 26%, #4A3B37 46%,
                            #9A6440 56%, #4A3A3C 65%, #17232F 80%, #08131F 100%);
  --harbour:
    radial-gradient(110% 55% at 50% 28%, rgba(188,212,232,.50) 0%, transparent 62%),
    linear-gradient(180deg, #93A9BD 0%, #6C889F 24%, #416278 48%,
                            #24475D 68%, #0D2637 87%, #061A28 100%);
  --dusk:
    radial-gradient(95% 48% at 50% 45%, rgba(255,168,108,.30) 0%, transparent 64%),
    linear-gradient(180deg, #16283C 0%, #1F3C55 27%, #2E4E64 47%,
                            #1C3548 68%, #0A1B29 88%, #04121D 100%);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.62;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.025em;
  text-wrap: balance;
}

p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--blue); color: #fff; padding: .7rem 1.2rem;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Layout ---------- */
.wrap { width: min(var(--wrap), 100% - (var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section-y); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow); font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1.15rem;
}
.eyebrow::before {
  content: ""; width: 20px; height: 1px; background: currentColor; opacity: .8;
}
.eyebrow--dark { color: var(--ink-mut); }

/* Two-column "headline left, paragraph right" band — used all over the design */
.band { display: grid; gap: clamp(1.25rem, 3vw, 4rem); align-items: start; }
@media (min-width: 900px) { .band { grid-template-columns: 1.05fr .95fr; } }
.band h2 { font-size: var(--fs-h2); }
.band__body { color: var(--text); font-size: var(--fs-lead); }
.band__body p + p { margin-top: 1rem; }

/* Bulleted list inside a band (memberships) */
.dot-list li { position: relative; padding-left: 1.15rem; margin-bottom: .6rem; }
.dot-list li::before {
  content: "•"; position: absolute; left: 0; top: -.05em;
  color: var(--blue); font-size: 1.1em;
}

/* ---------- 4. Photo wells ---------- */
/* Shows the gradient stand-in by default. To use a real photo, override
   background-image in the element's own style attribute, keeping the gradient
   as a second layer underneath:

     style="background-image:url('assets/img/hero-port.jpg'), var(--sunset)"

   Do NOT pass the path through a custom property (--img). A relative url()
   inside a custom property resolves against THIS stylesheet, not the document,
   so 'assets/img/x.jpg' would 404 as 'assets/css/assets/img/x.jpg'. */
.media {
  background-image: var(--fallback, var(--dusk));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.5rem;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: .9rem; font-weight: 500; line-height: 1;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; }

.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-hover); }

.btn--outline { border-color: var(--line); color: var(--text); }
.btn--outline:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }

.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #12283a; }

/* Circular arrow affordance in the bottom-right of cards */
.arrow-dot {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  border: 1px solid currentColor;
  opacity: .55;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.arrow-dot svg { width: 16px; height: 16px; }

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  transition: background-color .3s var(--ease);
}
.site-header.is-stuck { background: rgba(1,19,31,.86); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; }

.brand { display: inline-flex; align-items: center; }
.brand img { height: 42px; width: auto; display: block; }
.site-footer .brand img { height: 52px; }

/* Centre pill navigation */
.nav { margin-inline: auto; }
.nav__pills { display: flex; align-items: center; gap: .4rem; }
.pill-link {
  display: inline-flex; align-items: center;
  padding: .48rem 1.15rem;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: .84rem; font-weight: 500;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.pill-link:hover { background: #fff; }
.pill-link.is-active { background: var(--blue); color: #fff; }

.header__cta { margin-left: auto; }
/* The CTA duplicated inside .nav is for the mobile drawer only */
.nav .btn { display: none; }

.nav-toggle {
  display: none; margin-left: auto;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0 9px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 1.5px; background: #fff; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; order: 3; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    margin: 0; padding: 1.25rem var(--gutter) 1.75rem;
    background: rgba(1,19,31,.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%); visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s;
  }
  .nav.is-open { transform: translateY(0); visibility: visible; }
  .nav__pills { flex-direction: column; align-items: stretch; gap: .5rem; }
  .pill-link { justify-content: center; padding: .85rem 1rem; }
  .nav .btn { display: inline-flex; width: 100%; margin-top: .5rem; }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: clamp(560px, 88vh, 860px);
  padding-block: calc(var(--header-h) + 3rem) clamp(3rem, 7vw, 5.5rem);
  isolation: isolate;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero::after {
  /* scrim: readable text at the bottom-left, photo still visible top-right */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(1,19,31,.38) 0%, rgba(1,19,31,.04) 28%, rgba(1,19,31,.78) 80%, var(--bg) 100%),
    linear-gradient(96deg, rgba(1,19,31,.50) 0%, rgba(1,19,31,.14) 55%, rgba(1,19,31,.02) 100%);
}
.hero h1 { font-size: var(--fs-hero); max-width: 16ch; }
.hero__lead {
  margin-top: 1.5rem; max-width: 56ch;
  color: rgba(255,255,255,.78); font-size: var(--fs-lead);
}
.hero .btn-row { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }

/* Home hero reserves room for the highlight cards that overlap into it */
.hero--overlap { align-items: center; padding-bottom: clamp(9rem, 17vw, 16rem); }
.section--overlap { margin-top: clamp(-12rem, -13vw, -6rem); position: relative; z-index: 5; }

/* Compact hero for inner pages */
.hero--short { min-height: clamp(400px, 58vh, 560px); }
.hero--short h1 { font-size: var(--fs-h1); max-width: 24ch; }

/* Centred hero (thank-you page) */
.hero--centre { align-items: center; text-align: center; min-height: 100vh; }
.hero--centre .wrap { display: flex; flex-direction: column; align-items: center; }
.hero--centre h1 { max-width: 22ch; }
.hero--centre .hero__lead { margin-inline: auto; }
.hero--centre::after {
  background: linear-gradient(180deg, rgba(1,19,31,.7) 0%, rgba(1,19,31,.45) 45%, rgba(1,19,31,.9) 100%);
}

/* Stat boxes sitting in the about-page hero */
.hero__stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: .6rem; margin-top: 2rem;
}
@media (min-width: 980px) {
  .hero__row { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: end; }
  .hero__stats { margin-top: 0; }
}
.stat-box {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .9rem .75rem;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
}
.stat-box__num {
  font-family: var(--font); font-weight: 500; letter-spacing: -.02em;
  font-size: clamp(1.25rem, 1rem + .8vw, 1.7rem); line-height: 1; color: #fff;
}
.stat-box__label {
  font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--faint); margin-top: .45rem;
}

/* ---------- 8. Feature cards (two-up, image + copy) ---------- */
.feature-grid { display: grid; gap: 1rem; }
@media (min-width: 860px) { .feature-grid { grid-template-columns: 1fr 1fr; } }

.feature {
  display: grid; gap: 1.25rem;
  grid-template-columns: minmax(120px, .82fr) 1fr;
  align-items: center;
  padding: 1.15rem;
  border-radius: var(--r-block);
  transition: transform .3s var(--ease);
}
.feature:hover { transform: translateY(-3px); }
.feature:hover .arrow-dot { opacity: 1; transform: translateX(3px); }

.feature--blue { background: var(--blue); color: #fff; }
.feature--paper { background: var(--paper); color: var(--ink); }

.feature__media {
  aspect-ratio: 1 / .82;
  border-radius: var(--r-squircle);
  min-height: 150px;
}
.feature__body { display: flex; flex-direction: column; height: 100%; padding-block: .5rem; }
.feature h3 { font-size: var(--fs-h3); }
.feature__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: auto; padding-top: 1.5rem;
}
.feature__foot span { font-size: .85rem; font-weight: 500; }

@media (max-width: 520px) {
  .feature { grid-template-columns: 1fr; }
  .feature__media { aspect-ratio: 16 / 9; border-radius: 40px; }
}

/* ---------- 9. Tri-cards ---------- */
.tri-grid { display: grid; gap: 1rem; }
@media (min-width: 800px) { .tri-grid { grid-template-columns: repeat(3, 1fr); } }

.tri {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 328px;
  padding: 1.5rem;
  border-radius: var(--r-card);
  transition: transform .3s var(--ease);
}
.tri:hover { transform: translateY(-4px); }
.tri:hover .arrow-dot { opacity: 1; transform: translateX(3px); }
.tri--blue  { background: var(--blue); color: #fff; }
.tri--paper { background: var(--paper); color: var(--ink); }

.tri__num {
  position: absolute; top: -.12em; left: .8rem;
  font-family: var(--font); font-weight: 700;
  font-size: clamp(6rem, 12vw, 11.25rem); line-height: 1;
  letter-spacing: -.05em;
  pointer-events: none;
}
.tri--blue  .tri__num { color: var(--blue-ghost); }
.tri--paper .tri__num { color: var(--ink-ghost); }

.tri h3 {
  position: relative; z-index: 2;
  font-size: var(--fs-h3); max-width: 15ch;
  padding-top: 2.25rem;
}
.tri--blue  h3 { color: #fff; }
.tri--paper h3 { color: var(--ink); }

.tri__desc {
  position: relative; z-index: 2;
  margin-top: 1rem; font-size: .86rem; line-height: 1.5;
}
.tri--blue  .tri__desc { color: var(--text); }
.tri--paper .tri__desc { color: var(--ink-mut); }

.tri__arrow { margin-top: auto; align-self: flex-end; }

/* ---------- 10. Service bars (numbered, full width) ---------- */
.bars { display: grid; gap: 1rem; }

.bar {
  position: relative; overflow: hidden;
  display: grid; gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-block);
}
@media (min-width: 900px) { .bar { grid-template-columns: .85fr 1.15fr; gap: 3rem; } }
.bar--blue  { background: var(--blue); color: #fff; }
.bar--paper { background: var(--paper); color: var(--ink); }

.bar__head { position: relative; min-height: 96px; display: flex; align-items: flex-end; }
.bar__num {
  position: absolute; left: -.06em; top: 50%; transform: translateY(-54%);
  font-family: var(--font); font-weight: 600;
  font-size: clamp(5rem, 11vw, 8.5rem); line-height: 1; letter-spacing: -.06em;
  pointer-events: none;
}
.bar--blue  .bar__num { color: var(--blue-ghost); }
.bar--paper .bar__num { color: var(--ink-ghost); }
.bar__head h2 { position: relative; font-size: clamp(1.35rem, 1rem + 1.3vw, 1.9rem); max-width: 15ch; }

.bar__body { font-size: .95rem; }
.bar--blue  .bar__body { color: rgba(255,255,255,.86); }
.bar--paper .bar__body { color: var(--ink-mut); }
.bar__body p + p { margin-top: .85rem; }

.bar__tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.bar__tags li {
  font-size: .74rem; letter-spacing: .04em;
  padding: .32rem .7rem; border-radius: var(--r-pill);
}
.bar--blue  .bar__tags li { background: rgba(255,255,255,.16); color: #fff; }
.bar--paper .bar__tags li { background: rgba(6,19,29,.07); color: var(--ink-mut); }

.bar__list { margin-top: 1rem; display: grid; gap: .5rem; }
.bar__list li { position: relative; padding-left: 1.1rem; font-size: .92rem; }
.bar__list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .55;
}

/* ---------- 11. Desk table ---------- */
/* Eyebrow and title share a line, as in the design */
.desk__head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 1.9rem;
  margin-bottom: 2rem;
}
.desk__head h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); }

.desk { margin-top: 2.25rem; overflow-x: auto; }
.desk table { width: 100%; min-width: 720px; border-collapse: collapse; }
.desk th, .desk td {
  text-align: left; padding: 1.05rem .75rem;
  border-bottom: 1px solid var(--line-soft);
}
.desk th {
  font-family: var(--font-body); font-weight: 500;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--faint);
  border-bottom-color: var(--line);
}
.desk td { font-size: .92rem; color: rgba(255,255,255,.82); }
.desk td:first-child { font-weight: 500; color: #fff; }
.desk td:last-child, .desk th:last-child { text-align: right; }
.desk td:last-child { color: #4E9BF0; font-weight: 500; }
.desk tbody tr { transition: background-color .2s var(--ease); }
.desk tbody tr:hover { background: rgba(255,255,255,.03); }
.desk__note { margin-top: 1rem; font-size: .78rem; color: var(--faint); }

/* ---------- 12. Contact ---------- */
.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: .82fr 1.18fr; } }

.contact-page { padding-block: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) var(--section-y); }
.contact-page h1 { font-size: var(--fs-h1); max-width: 9ch; }
.contact-page .hero__lead { color: var(--muted); }

/* OFFICE / HOURS / LICENCE blocks, two-up under the headline */
.details-grid { display: grid; gap: 2rem; margin-top: 3rem; }
@media (min-width: 560px) { .details-grid { grid-template-columns: 1fr 1fr; } }
.detail-block h3 {
  font-family: var(--font-body); font-weight: 500;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--faint); margin-bottom: .8rem;
}
.detail-block h3 + h3, .detail-block .mt { margin-top: 2rem; }
.detail-block p, .detail-block a { font-size: .95rem; color: var(--text); display: block; margin: 0 0 .3rem; }
.detail-block a:hover { color: #fff; text-decoration: underline; }

/* White form card */
.form-card {
  background: var(--paper-warm);
  color: var(--ink);
  border-radius: var(--r-block);
  padding: clamp(1.5rem, 3.5vw, 3rem);
}
.form-card h2 { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem); max-width: 18ch; }
.form-card > .eyebrow { color: var(--ink-mut); }

.form { display: grid; gap: 1.4rem; margin-top: 2.25rem; }
.field { display: grid; gap: .3rem; }
.field label {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mut); font-weight: 500;
}
.field label .req { color: #C0392B; }

/* Underline inputs, as in the design */
.field input, .field select {
  width: 100%; padding: .65rem .1rem;
  background: transparent; color: var(--ink);
  border: 0; border-bottom: 1px solid rgba(6,19,29,.22);
  border-radius: 0;
  transition: border-color .2s var(--ease);
}
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5C68' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .1rem center; background-size: 16px;
  padding-right: 1.75rem;
}
.field textarea {
  width: 100%; min-height: 150px; resize: vertical;
  padding: .9rem 1rem;
  background: #fff; color: var(--ink);
  border: 1px solid rgba(6,19,29,.16); border-radius: 10px;
  transition: border-color .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue);
}
.field ::placeholder { color: rgba(6,19,29,.35); }
.field--row { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.field__error { font-size: .78rem; color: #C0392B; display: none; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #C0392B; }
.field.has-error .field__error { display: block; }

.form-note { font-size: .78rem; color: var(--ink-mut); }
.form-status { display: none; padding: .85rem 1rem; border-radius: 10px; font-size: .9rem; }
.form-status.is-visible { display: block; }
.form-status--ok { background: #E4F4EA; color: #1C6B3C; border: 1px solid #BDE3CB; }

/* ---------- 13. Closing CTA strip ---------- */
.cta-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line-soft);
}
.cta-strip h2 { font-size: clamp(1.35rem, 1rem + 1.5vw, 2.1rem); max-width: 22ch; }

/* ---------- 14. Footer ---------- */
.site-footer { padding-bottom: 2.5rem; }
.site-footer .wrap { border-top: 1px solid var(--line); padding-top: 2.5rem; }

.footer__grid {
  display: grid; gap: 2rem;
  font-size: .78rem; color: var(--faint);
}
@media (min-width: 820px) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1.2fr auto; gap: 2rem; align-items: end; }
  .footer__grid > :last-child { text-align: right; }
}
.footer__about p { margin-top: .7rem; }
.site-footer h4 {
  font-family: var(--font-body); font-weight: 400; font-size: .78rem;
  color: var(--faint); margin-bottom: .4rem;
}
.site-footer p { margin: 0; }
.site-footer a:hover { color: var(--text); }

/* ---------- 15. Reveal ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ---------- 16. Utilities ---------- */
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
