/* =====================================================================
   Silverback Management — silverback-management is a trading name of
   SBW Global Pty Ltd. Site stylesheet.
   Palette: silver/grey primary + deep charcoal + navy accent.
   No frameworks — vanilla CSS, mobile-first.
   ===================================================================== */

/* ----------------------------- Tokens ----------------------------- */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --bg-dark: #161b22;
  --bg-dark-2: #1f2730;

  --ink: #1f2730;
  --ink-soft: #5c656f;
  --ink-mute: #8b939c;
  --line: #e4e8ec;

  --silver: #aeb4ba;
  --silver-100: #eceef1;
  --silver-200: #dfe3e7;
  --silver-300: #c7ccd1;
  --silver-600: #858d95;

  --navy: #1b2c4f;
  --navy-600: #152340;
  --navy-300: #33486f;
  --navy-tint: #eef1f6;

  --white-70: rgba(255, 255, 255, .7);
  --white-60: rgba(255, 255, 255, .6);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(22, 27, 34, .06), 0 2px 10px rgba(22, 27, 34, .05);
  --shadow: 0 14px 34px -16px rgba(22, 27, 34, .28);
  --shadow-lg: 0 36px 70px -24px rgba(22, 27, 34, .38);

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 44px);
  --section-y: clamp(64px, 9vw, 120px);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h-max: 106px;
  --scroll-buffer: 28px;
  --scroll-anchor-offset: calc(var(--header-h-max) + var(--scroll-buffer));
}

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-anchor-offset);
}

/* Anchor targets clear the sticky header (direct links + browser scroll) */
section[id]:not(.hero) {
  scroll-margin-top: var(--scroll-anchor-offset);
}

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

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: var(--navy); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--navy-300); }

ul { list-style: none; padding: 0; }

button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

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

::selection { background: var(--navy); color: #fff; }

/* --------------------------- Typography --------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }

p { color: var(--ink-soft); }

strong { color: var(--ink); font-weight: 600; }

.lead { font-size: clamp(1.06rem, 1.6vw, 1.3rem); color: var(--ink-soft); line-height: 1.65; }

/* ---------------------------- Layout ------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 18px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--silver);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: var(--silver-100); }
.eyebrow.light::before { background: var(--white-60); }

/* ---------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: .95rem 1.7rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .005em;
  line-height: 1;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease),
    border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  will-change: transform;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 12px 24px -12px rgba(27, 44, 79, .7); }
.btn-primary:hover { background: var(--navy-600); color: #fff; box-shadow: 0 16px 30px -12px rgba(27, 44, 79, .8); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--silver-300); }
.btn-ghost:hover { color: var(--navy); border-color: var(--navy); background: var(--navy-tint); }

.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--silver-100); color: var(--navy-600); }

.btn-outline-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--navy);
}
.text-link svg { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ----------------------------- Header ----------------------------- */
.site-header {
  --header-h: 106px;
  --logo-h: 67px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.site-header.scrolled {
  --header-h: 83px;
  --logo-h: 48px;
  box-shadow: 0 6px 24px -16px rgba(22, 27, 34, .4);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
  transition: min-height .4s var(--ease);
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img {
  height: var(--logo-h);
  width: auto;
  transition: height .4s var(--ease);
}

.nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav-menu > li > a:not(.btn) {
  font-weight: 500;
  font-size: .98rem;
  color: var(--ink);
  position: relative;
  padding-block: 6px;
}
.nav-menu > li > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--navy);
  transition: width .28s var(--ease);
}
.nav-menu > li > a:not(.btn):hover,
.nav-menu > li > a.active { color: var(--navy); }
.nav-menu > li > a:not(.btn):hover::after,
.nav-menu > li > a.active::after { width: 100%; }
.nav-cta {
  padding: .75rem 1.35rem;
  font-size: .98rem;
  transition: padding .4s var(--ease), font-size .4s var(--ease);
}
.site-header.scrolled .nav-cta {
  padding: .6rem 1.15rem;
  font-size: .92rem;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  flex-shrink: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  align-items: center;
  justify-content: center;
}
.nav-toggle-icon {
  display: block;
  width: 24px;
  height: 24px;
}
.nav-toggle-icon line {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  shape-rendering: geometricPrecision;
}
.nav-toggle-menu,
.nav-toggle-close {
  transition: opacity .25s var(--ease);
}
.nav-toggle-close {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-menu {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-close {
  opacity: 1;
}

/* ------------------------------ Hero ------------------------------ */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 860px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(102deg, rgba(20, 25, 32, .82) 0%, rgba(20, 25, 32, .5) 36%, rgba(27, 44, 79, .18) 68%, rgba(27, 44, 79, .04) 100%),
    linear-gradient(0deg, rgba(18, 22, 28, .72) 0%, rgba(18, 22, 28, .15) 42%, rgba(18, 22, 28, 0) 70%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-block: clamp(48px, 8vw, 96px);
  max-width: 720px;
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero .hero-sub {
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1.06rem, 1.6vw, 1.3rem);
  max-width: 620px;
  margin-bottom: 34px;
}
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--silver); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 22px;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, .7);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-hint span {
  width: 1px; height: 34px;
  background: linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, 0));
  animation: scrollPulse 2.2s var(--ease) infinite;
}
@keyframes scrollPulse { 0%, 100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ------------------------------ About ----------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.about-media .media-badge {
  position: absolute;
  right: -14px; bottom: -22px;
  background: var(--navy);
  color: #fff;
  padding: 18px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 220px;
}
.media-badge .num { font-family: var(--font-serif); font-size: 2rem; line-height: 1; display: block; }
.media-badge .label { font-size: .82rem; color: rgba(255, 255, 255, .82); margin-top: 6px; display: block; }

.about-copy h2 { margin-bottom: 20px; }
.about-copy p + p { margin-top: 16px; }
.about-points {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 22px;
}
.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  color: var(--ink);
  font-size: .96rem;
}
.about-points svg { flex: none; width: 20px; height: 20px; color: var(--navy); margin-top: 2px; }

/* ------------------------------ Stats ----------------------------- */
.stats {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--bg); padding: 28px clamp(20px, 3vw, 34px); }
.stat .stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy);
  line-height: 1;
  display: block;
}
.stat .stat-label { margin-top: 8px; font-size: .9rem; color: var(--ink-soft); }

/* ---------------------------- Services ---------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.4vw, 26px);
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 36px);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--navy), var(--silver));
  transition: width .35s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card:hover::before { width: 100%; }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--navy-tint);
  color: var(--navy);
  margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { margin-bottom: 12px; }
.service-card > p { margin-bottom: 16px; font-size: .98rem; }
.service-list li {
  position: relative;
  padding-left: 20px;
  font-size: .92rem;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--silver);
}

/* --------------------------- Spotlights --------------------------- */
.spotlight {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.spotlight + .spotlight { margin-top: clamp(56px, 8vw, 110px); }
.spotlight-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.spotlight-copy h2 { margin-bottom: 18px; }
.spotlight-copy p { margin-bottom: 18px; }
.spotlight-copy .lead { margin-bottom: 22px; }

/* ----------------------------- Approach --------------------------- */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}
.approach-media { position: relative; }
.approach-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.value-list { margin-top: 26px; display: grid; gap: 16px; }
.value-list li { display: flex; gap: 14px; align-items: flex-start; }
.value-list .v-num {
  flex: none;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--navy);
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1.5px solid var(--silver-300);
  border-radius: 50%;
}
.value-list strong { display: block; }
.value-list p { margin-top: 2px; font-size: .94rem; }

/* --------------------------- Quote band --------------------------- */
.quote-band { background: var(--bg-alt); }
.quote-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
}
.quote-card .avatar {
  width: 92px; height: 92px;
  border-radius: 50%;
  object-fit: cover;
  margin-inline: auto;
  box-shadow: var(--shadow-sm);
  border: 3px solid #fff;
}
.quote-card blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  line-height: 1.35;
  color: var(--ink);
  font-weight: 400;
}
.quote-card .mark { color: var(--silver); font-size: 1.4em; line-height: 0; vertical-align: -.25em; }
.quote-card cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------------------------- Partners ---------------------------- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 12px;
}
.partner-tile {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), filter .3s var(--ease), opacity .3s var(--ease);
  filter: grayscale(1);
  opacity: .72;
}
.partner-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); filter: grayscale(0); opacity: 1; border-color: var(--silver-200); }
.partner-tile img {
  width: 100%;
  max-width: 100%;
  max-height: 84px;
  object-fit: contain;
}
.partner-tile .p-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: .01em;
}
.partner-tile .p-role { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.partners-note { margin-top: 18px; font-size: .8rem; color: var(--ink-mute); text-align: center; }

/* --------------------------- CTA band ----------------------------- */
.cta-band {
  position: relative;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-band .band-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.cta-band .band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.cta-band .band-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(18, 22, 28, .78) 0%,
    rgba(22, 27, 34, .72) 45%,
    rgba(27, 44, 79, .82) 100%
  );
}
.cta-band .container {
  position: relative;
  z-index: 2;
  padding-block: clamp(72px, 11vw, 150px);
  text-align: center;
}
.cta-band h2 { color: #fff; max-width: 760px; margin-inline: auto; }
.cta-band p { color: rgba(255, 255, 255, .88); max-width: 660px; margin: 20px auto 32px; font-size: clamp(1.02rem, 1.5vw, 1.18rem); }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ----------------------------- Footer ----------------------------- */
.site-footer { background: var(--bg-dark); color: rgba(255, 255, 255, .72); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(34px, 5vw, 56px);
  padding-block: clamp(56px, 7vw, 88px);
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 4px;
}
.footer-logo img {
  height: 50px;
  width: auto;
  display: block;
}
.footer-brand p { color: rgba(255, 255, 255, .62); margin: 18px 0 20px; max-width: 360px; font-size: .96rem; }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
}
.footer-social .ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.footer-social:hover { color: #fff; }
.footer-social:hover .ico { background: var(--navy); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

.footer-col h3 {
  font-family: var(--font-sans);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a, .footer-col li { color: rgba(255, 255, 255, .68); font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: none; width: 18px; height: 18px; color: var(--silver); margin-top: 3px; }

.footer-bar { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
  font-size: .84rem;
  color: rgba(255, 255, 255, .55);
}
.footer-bar-inner a { color: rgba(255, 255, 255, .72); }
.footer-bar-inner a:hover { color: #fff; }
.footer-legal-line { width: 100%; color: rgba(255, 255, 255, .45); font-size: .8rem; }

/* --------------------------- Back to top -------------------------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .25s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--navy-600); }
.to-top svg { width: 20px; height: 20px; }

/* ------------------------- Page hero (sub) ------------------------ */
.page-hero {
  position: relative;
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 360px at 85% -10%, rgba(51, 72, 111, .55), transparent 60%),
    radial-gradient(700px 320px at 0% 120%, rgba(174, 180, 186, .18), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; padding-block: clamp(64px, 9vw, 120px); }
.page-hero--compact .container {
  padding-block: clamp(36px, 5vw, 56px);
}
.page-hero--compact .breadcrumb { margin-bottom: 12px; }
.page-hero--compact p { margin-top: 12px; font-size: clamp(1rem, 1.4vw, 1.1rem); }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero p { color: rgba(255, 255, 255, .82); max-width: 620px; margin-top: 18px; font-size: clamp(1.02rem, 1.5vw, 1.2rem); }
.breadcrumb { font-size: .85rem; color: rgba(255, 255, 255, .6); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255, 255, 255, .82); }
.breadcrumb a:hover { color: #fff; }

/* ----------------------------- Contact ---------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(34px, 5vw, 64px);
  align-items: start;
}
.contact-info .info-list { display: grid; gap: 22px; margin-top: 26px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .info-ico {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--navy-tint);
  color: var(--navy);
  display: grid; place-items: center;
}
.info-item .info-ico svg { width: 22px; height: 22px; }
.info-item .info-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.info-item a, .info-item span.info-value { font-size: 1.06rem; font-weight: 500; color: var(--ink); }
.info-item a:hover { color: var(--navy); }

.contact-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
.form-field { display: grid; gap: 8px; margin-bottom: 18px; }
.form-field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.form-field .req { color: var(--navy); }
.form-field input,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(27, 44, 79, .1);
}
.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] { border-color: #c0392b; background: #fff7f6; }
.field-error { color: #c0392b; font-size: .84rem; font-weight: 500; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--ink-mute); margin-top: 14px; }

.alert {
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 24px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .95rem;
}
.alert svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.alert-success { background: #eaf6ee; color: #1d6b3a; border: 1px solid #bfe3ca; }
.alert-error { background: #fdecea; color: #a5311f; border: 1px solid #f3c7bf; }

/* ----------------------------- Legal ------------------------------ */
.legal-body { max-width: 820px; }
.legal-body h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin: 44px 0 14px;
  padding-top: 12px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin-bottom: 16px; }
.legal-body p + p { margin-top: 0; }
.legal-callout {
  background: var(--navy-tint);
  border-left: 4px solid var(--navy);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin: 8px 0 22px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--ink);
}
.legal-updated { color: var(--ink-mute); font-size: .9rem; margin-bottom: 8px; }

/* --------------------------- Reveal anim -------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .4s; }

/* ----------------------------- Helpers ---------------------------- */
.visually-hidden {
  position: absolute !important;
  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;
  left: 16px; top: -60px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* --------------------------- Breakpoints -------------------------- */
@media (min-width: 600px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 992px) {
  .partners-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 992px) {
  :root {
    --header-h-max: 129px;
    --scroll-buffer: 32px;
  }
  .site-header {
    --header-h: 129px;
    --logo-h: 87px;
  }
  .site-header.scrolled {
    --header-h: 90px;
    --logo-h: 53px;
  }
  .about-grid { grid-template-columns: 1.05fr 1fr; }
  .about-grid.reverse .about-media { order: 2; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .spotlight { grid-template-columns: 1fr 1fr; }
  .spotlight.reverse .spotlight-media { order: 2; }
  .approach-grid { grid-template-columns: .85fr 1fr; }
  .contact-grid { grid-template-columns: .9fr 1.1fr; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1.1fr 1fr; }
  .quote-card { grid-template-columns: auto 1fr; text-align: left; gap: 40px; }
  .quote-card .avatar { margin: 0; }
  .quote-card cite { letter-spacing: .06em; }

}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    padding: 16px var(--gutter) 26px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-menu.open { opacity: 1; visibility: visible; transform: none; }
  .nav-menu > li > a:not(.btn) { display: block; padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-menu > li > a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 12px; }
  .about-points { grid-template-columns: 1fr; }
}

/* ------------------------ Reduced motion -------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
