/* ==========================================================================
   Vesta Consulting Limited — design system
   Palette derived from the logo: deep navy wordmark + blue accent stripe.
   ========================================================================== */

:root {
  --navy-900: #06152b;
  --navy-800: #0b1f3a;
  --navy-700: #13294b;
  --blue-600: #1f6fd4;
  --blue-500: #2f86e8;
  --blue-400: #5aa6f5;
  --blue-050: #eaf2fd;

  --ink: #0b1f3a;
  --body: #4a5a70;
  --muted: #7b8a9e;
  --line: #e3e9f1;
  --surface: #ffffff;
  --surface-alt: #f6f8fc;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06), 0 4px 12px rgba(11, 31, 58, .05);
  --shadow-md: 0 12px 32px rgba(11, 31, 58, .10);
  --shadow-lg: 0 28px 60px rgba(11, 31, 58, .16);

  --container: 1180px;
  --nav-h: 76px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-500); }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.15;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; }
h3 { font-size: 1.24rem; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: clamp(64px, 9vw, 116px) 0; }
.section--alt { background: var(--surface-alt); }
.section--tight { padding: clamp(48px, 6vw, 76px) 0; }

/* ---------- Eyebrow + section headers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head.is-centered .eyebrow { justify-content: center; }
.section-head p { font-size: 1.08rem; color: var(--body); margin-bottom: 0; }

.lead { font-size: 1.16rem; line-height: 1.62; color: var(--body); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .97rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff;
  box-shadow: 0 8px 22px rgba(31, 111, 212, .32);
}
.btn--primary:hover { color: #fff; box-shadow: 0 14px 32px rgba(31, 111, 212, .42); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--blue-400); color: var(--blue-600); background: var(--blue-050); }

.btn--light {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  backdrop-filter: blur(6px);
}
.btn--light:hover { background: rgba(255, 255, 255, .18); color: #fff; border-color: rgba(255, 255, 255, .5); }

.btn--white { background: #fff; color: var(--navy-800); box-shadow: var(--shadow-md); }
.btn--white:hover { color: var(--blue-600); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Link with arrow ---------- */

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--blue-600);
}
.arrow-link svg { width: 15px; height: 15px; transition: transform .2s ease; }
.arrow-link:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(11, 31, 58, .06);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { flex: none; }
.brand img { height: 30px; width: auto; }

.nav { margin-left: auto; }
.nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  display: block;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink);
  transition: background .18s ease, color .18s ease;
}
.nav a:hover { background: var(--blue-050); color: var(--blue-600); }
.nav a.is-active { color: var(--blue-600); font-weight: 600; }

.nav-cta { flex: none; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: background .2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .24s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: grid; }
  .nav-cta { display: none; }
  .nav {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    margin: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 24px 24px;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: 13px 14px; font-size: 1rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1100px 620px at 78% -8%, #17335c 0%, transparent 62%),
              linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 58%, #0e2748 100%);
  color: #fff;
  padding: clamp(80px, 11vw, 132px) 0 clamp(72px, 10vw, 116px);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 0%, transparent 100%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

.hero h1, .hero h2, .hero h3 { color: #fff; }
.hero .eyebrow { color: var(--blue-400); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(40px, 6vw, 76px);
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-copy p {
  font-size: 1.14rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .76);
  max-width: 56ch;
}
.hero .btn-row { margin-top: 34px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  font-size: .85rem;
  color: rgba(255, 255, 255, .82);
  backdrop-filter: blur(6px);
}
.hero-badge b {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--blue-600);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Floating stat panel */
.hero-panel {
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035));
  backdrop-filter: blur(18px);
  padding: 34px;
  box-shadow: var(--shadow-lg);
}
.hero-panel h3 { font-size: 1.05rem; margin-bottom: 22px; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
.hero-stat .num {
  display: block;
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  background: linear-gradient(120deg, #fff, var(--blue-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stat span.label {
  display: block;
  margin-top: 5px;
  font-size: .86rem;
  color: rgba(255, 255, 255, .62);
}
.hero-panel .divider { height: 1px; background: rgba(255, 255, 255, .12); margin: 26px 0; }
.hero-panel .foot {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .88rem;
  color: rgba(255, 255, 255, .7);
}
.dot {
  width: 8px; height: 8px; flex: none;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 4px rgba(61, 220, 132, .18);
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(900px 520px at 82% -20%, #17335c 0%, transparent 60%),
              linear-gradient(150deg, var(--navy-900), var(--navy-800));
  color: #fff;
  padding: clamp(60px, 8vw, 96px) 0 clamp(56px, 7vw, 84px);
}
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero p {
  color: rgba(255, 255, 255, .76);
  font-size: 1.12rem;
  max-width: 62ch;
  margin-bottom: 0;
}
.page-hero .eyebrow { color: var(--blue-400); }

.crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .86rem;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 22px;
}
.crumbs a { color: rgba(255, 255, 255, .72); }
.crumbs a:hover { color: #fff; }

/* ==========================================================================
   Cards
   ========================================================================== */

.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #cfe0f6;
}
.card h3 { margin-bottom: .5em; }
.card p { font-size: .98rem; color: var(--body); }
.card .arrow-link { margin-top: auto; padding-top: 20px; }

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-050), #d8e8fc);
  color: var(--blue-600);
}
.card-icon svg { width: 24px; height: 24px; }

/* Numbered process steps */
.step {
  position: relative;
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.step .num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--navy-800);
  color: #fff;
  font-weight: 700;
  font-size: .98rem;
}
.step h3 { font-size: 1.1rem; }
.step p { font-size: .96rem; margin-bottom: 0; }

/* ---------- Value / checklist ---------- */

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li {
  position: relative;
  padding-left: 34px;
  font-size: 1rem;
  color: var(--body);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .32em;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--blue-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6fd4' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list li strong { color: var(--ink); }

/* ---------- Split feature ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}
.split--narrow { grid-template-columns: 1.05fr .95fr; }
@media (max-width: 880px) { .split, .split--narrow { grid-template-columns: 1fr; } }

.panel {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.panel--navy {
  background: linear-gradient(155deg, var(--navy-800), var(--navy-900));
  border-color: transparent;
  color: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-lg);
}
.panel--navy h2, .panel--navy h3 { color: #fff; }

/* ---------- Person / leadership ---------- */

.person {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  max-width: 760px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 620px) {
  .person { flex-direction: column; gap: 22px; padding: 28px; }
}

.person-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--navy-800), var(--blue-600));
  color: #fff;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.person-body h3 { margin-bottom: 2px; font-size: 1.3rem; }

.person-role {
  margin-bottom: 14px;
  font-size: .87rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.person-body p { font-size: 1rem; }
.person-body .arrow-link { margin-top: 16px; }

/* ---------- Long-form prose (legal pages) ---------- */

.prose { max-width: 760px; }
.prose h2 {
  font-size: 1.5rem;
  margin-top: 2.4em;
  padding-top: 1.6em;
  border-top: 1px solid var(--line);
}
.prose h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.08rem; margin-top: 1.9em; }
.prose p, .prose li { font-size: 1rem; line-height: 1.7; }
.prose ul { padding-left: 22px; margin: 0 0 1.1em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--blue-500); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

.prose dl { margin: 0 0 1.1em; }
.prose dt { font-weight: 600; color: var(--ink); margin-top: 1em; }
.prose dd { margin: .2em 0 0; }

.updated {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 32px;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  font-size: .85rem;
  color: var(--muted);
}

/* Unresolved items the owner must confirm before this counts as final.
   Deliberately loud — an unreviewed legal claim should never blend in. */
.needs-review {
  background: #fff3cd;
  border-bottom: 2px solid #e0a800;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 600;
  color: #6b4e00;
}

.callout {
  padding: 20px 24px;
  margin: 0 0 32px;
  border-left: 3px solid var(--blue-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--blue-050);
}
.callout p { margin-bottom: 0; font-size: .96rem; }

/* ---------- Quote ---------- */

.quote {
  margin: 0;
  padding: 40px;
  border-left: 3px solid var(--blue-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface-alt);
}
.quote p {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.quote footer { font-size: .92rem; color: var(--muted); margin-top: 14px; }

/* ---------- Sector pills ---------- */

.pills { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.pills li {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink);
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.pills li:hover { border-color: var(--blue-400); color: var(--blue-600); transform: translateY(-2px); }

/* ---------- Stat band ---------- */

.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 760px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }
.stat-band .num {
  display: block;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.stat-band .label { display: block; margin-top: 10px; font-size: .93rem; color: var(--muted); }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 72px);
  background: radial-gradient(720px 380px at 88% 0%, #1d4a80 0%, transparent 60%),
              linear-gradient(135deg, var(--navy-800), #14315a);
  color: rgba(255, 255, 255, .8);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta p { max-width: 56ch; margin-inline: auto; font-size: 1.08rem; }
.cta .btn-row { justify-content: center; margin-top: 32px; }

/* ==========================================================================
   Forms
   ========================================================================== */

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 7px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: .97rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(47, 134, 232, .14);
}
.form-note { font-size: .85rem; color: var(--muted); }
.field-hint { font-size: .82rem; color: var(--muted); margin: 2px 0 0; }

/* Honeypot. Moved out of sight rather than display:none — some bots skip
   fields they can tell are hidden. Kept out of the tab order and off the
   accessibility tree so nobody using a keyboard or screen reader hits it. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .62);
  padding: clamp(56px, 7vw, 84px) 0 32px;
  font-size: .95rem;
}
.site-footer h4 {
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.site-footer a { color: rgba(255, 255, 255, .62); }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img {
  height: 30px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}
.footer-brand p { max-width: 34ch; font-size: .93rem; line-height: 1.6; }

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }

address { font-style: normal; line-height: 1.75; font-size: .93rem; }
address strong { color: #fff; display: block; margin-bottom: 4px; font-weight: 600; }
.office + .office { margin-top: 22px; }

.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.socials a:hover { background: var(--blue-600); border-color: var(--blue-600); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }

.footer-bottom {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: .87rem;
  color: rgba(255, 255, 255, .45);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

/* Content is revealed on scroll by IntersectionObserver. Hiding it is gated on
   the `js` class, which an inline <head> script sets — so with JS disabled or
   broken the markup is simply visible, never a blank page. main.js carries a
   timer backstop for the case where JS runs but the observer never fires.
   Deliberately no CSS-animation backstop here: a stalled animation timeline
   pins the property at its start value, and animations outrank normal
   declarations, so it would override .is-visible and block the reveal
   outright — the failure it was meant to prevent. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

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