/* =====================================================================
   Elevate Performance — main.css
   Brand: Navy #2A4460 · Yellow #F7EE24 · White
   Vanilla CSS. Mobile-first. No third-party libraries.
   ===================================================================== */

/* ------------------------------ Fonts ------------------------------- */
@font-face {
  font-family: "Anton";
  src: url("/assets/fonts/anton-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("/assets/fonts/oswald-latin.woff2") format("woff2");
  font-weight: 300 700; /* variable */
  font-style: normal;
  font-display: swap;
}

/* --------------------------- Design tokens -------------------------- */
:root {
  --navy: #2a4460;
  --navy-800: #223a54;
  --navy-900: #1a2e44;
  --navy-950: #142438;
  --yellow: #f7ee24;
  --yellow-600: #e2d80f;
  --white: #ffffff;
  --ink: #16202c;
  --muted: #566575;
  --paper: #f5f6f8;
  --paper-2: #eef0f3;
  --line: #dfe3e8;

  --display: "Anton", system-ui, sans-serif;
  --head: "Oswald", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1160px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 45px -22px rgba(20, 36, 56, 0.55);
  --shadow-lg: 0 30px 70px -30px rgba(20, 36, 56, 0.65);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

/* ----------------------------- Reset -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--yellow); color: var(--navy-900);
  padding: 0.7rem 1.2rem; font-weight: 700; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* --------------------------- Utilities ------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 2.5rem); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--head); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  font-size: 0.92rem; padding: 0.8rem 1.6rem; border-radius: var(--radius-sm);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s var(--ease), color 0.18s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 0.95rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--yellow); color: var(--navy-900); box-shadow: 0 10px 24px -12px rgba(247, 238, 36, 0.9); }
.btn-accent:hover { background: var(--yellow-600); box-shadow: 0 16px 30px -12px rgba(247, 238, 36, 0.9); }
.btn-primary { background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--navy-900); }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }

.section { padding: clamp(3.75rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(2.25rem, 5vw, 3.25rem); }
.kicker {
  font-family: var(--head); text-transform: uppercase; letter-spacing: 0.22em;
  font-weight: 600; font-size: 0.82rem; color: var(--navy);
  display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 0.7rem;
}
.kicker::before { content: ""; width: 30px; height: 3px; background: var(--yellow); border-radius: 2px; }
.kicker-light { color: var(--yellow); }
.section-lead { color: var(--muted); font-size: 1.08rem; margin-top: 0.85rem; }
.section-lead-light { color: rgba(255,255,255,0.82); }

h1, h2, h3 { line-height: 1.05; letter-spacing: 0.005em; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 5vw, 3rem); text-transform: uppercase; color: var(--navy-900); }
h3 { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }

.accent { color: var(--yellow); }

/* ---------------------------- Header -------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(42, 68, 96, 0.0);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), height 0.3s var(--ease);
  height: var(--header-h);
}
.site-header.scrolled { background: rgba(26, 46, 68, 0.96); box-shadow: 0 10px 30px -18px rgba(0,0,0,0.7); backdrop-filter: blur(8px); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 48px; width: auto; margin: 0; transition: height 0.3s var(--ease); }
.site-header.scrolled .brand-logo { height: 40px; }

.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.nav-links > a:not(.nav-cta) {
  font-family: var(--head); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 0.95rem; color: rgba(255,255,255,0.9); padding: 0.4rem 0; position: relative;
}
.nav-links > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--yellow); transition: width 0.25s var(--ease);
}
.nav-links > a:not(.nav-cta):hover { color: #fff; }
.nav-links > a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { padding: 0.6rem 1.25rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; z-index: 110; }
.nav-toggle span { width: 26px; height: 3px; background: #fff; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s var(--ease); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ------------------------------ Hero -------------------------------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background:
    radial-gradient(1200px 600px at 78% -10%, rgba(247,238,36,0.12), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  color: #fff; overflow: hidden; padding-top: var(--header-h);
}
/* Diagonal speed-stripe motif echoing the logo */
.hero-stripes {
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(247, 238, 36, 0.9) 0 5px,
    transparent 5px 34px
  );
  opacity: 0.10;
  -webkit-mask-image: linear-gradient(115deg, transparent 45%, #000 100%);
  mask-image: linear-gradient(115deg, transparent 45%, #000 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; padding-block: 3rem; }
.eyebrow {
  font-family: var(--head); text-transform: uppercase; letter-spacing: 0.28em; font-weight: 600;
  font-size: 0.8rem; color: var(--yellow); margin-bottom: 1.1rem;
}
.hero h1 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.9rem, 9vw, 6rem); line-height: 0.94; letter-spacing: 0.01em;
  text-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.hero-sub { margin-top: 1.5rem; font-size: clamp(1.05rem, 2.2vw, 1.28rem); color: rgba(255,255,255,0.85); max-width: 620px; }
.hero-sub strong { color: #fff; }
.hero-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  color: rgba(255,255,255,0.65); z-index: 2; animation: bob 2.2s var(--ease) infinite;
}
.scroll-cue:hover { color: var(--yellow); }
@keyframes bob { 0%,100% { transform: translate(-50%, 0);} 50% { transform: translate(-50%, 8px);} }

/* ----------------------------- Pillars ------------------------------ */
.pillars { background: var(--white); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pillar {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2.25rem 1.9rem; overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.pillar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--yellow); transform: scaleY(0); transform-origin: top; transition: transform 0.3s var(--ease); }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pillar:hover::before { transform: scaleY(1); }
.pillar-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 16px; background: var(--navy); color: var(--yellow);
  margin-bottom: 1.25rem;
}
.pillar-icon svg { width: 30px; height: 30px; }
.pillar h3 { font-size: 1.4rem; color: var(--navy-900); margin-bottom: 0.5rem; }
.pillar p { color: var(--muted); }

/* ----------------------------- Services ----------------------------- */
.services { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  position: relative; background: #fff; border-radius: var(--radius); padding: 2.4rem 1.9rem 2.1rem;
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.service-card::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px;
  background: repeating-linear-gradient(115deg, var(--yellow) 0 4px, transparent 4px 12px);
  opacity: 0.16; border-radius: 50%; transition: opacity 0.3s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::after { opacity: 0.3; }
.service-num { font-family: var(--display); font-size: 2.4rem; color: var(--yellow-600); line-height: 1; margin-bottom: 0.6rem; -webkit-text-stroke: 1px var(--navy); }
.service-card h3 { font-size: 1.35rem; color: var(--navy-900); margin-bottom: 0.55rem; }
.service-card p { color: var(--muted); }
.services-note { text-align: center; margin-top: 2.5rem; color: var(--muted); font-size: 1.05rem; }
.services-note a { color: var(--navy); font-weight: 700; border-bottom: 2px solid var(--yellow); }

/* ----------------------------- Benefits ----------------------------- */
.benefits { position: relative; background: linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%); color: #fff; overflow: hidden; }
.benefits .section-head h2 { color: #fff; }
.benefits-stripes {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.07;
  background-image: repeating-linear-gradient(115deg, var(--yellow) 0 4px, transparent 4px 40px);
  -webkit-mask-image: linear-gradient(to left, #000, transparent 55%);
  mask-image: linear-gradient(to left, #000, transparent 55%);
}
.benefit-list { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 2.5rem; }
.benefit-list li { display: flex; gap: 1rem; align-items: flex-start; }
.benefit-list h3 { font-size: 1.1rem; color: #fff; margin-bottom: 0.2rem; letter-spacing: 0.02em; }
.benefit-list p { color: rgba(255,255,255,0.72); font-size: 0.98rem; line-height: 1.5; }
.check {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; background: var(--yellow);
  position: relative; margin-top: 2px;
}
.check::after {
  content: ""; position: absolute; left: 10px; top: 5px; width: 7px; height: 13px;
  border: solid var(--navy-900); border-width: 0 3px 3px 0; transform: rotate(42deg);
}

/* ------------------------------ Clients ----------------------------- */
.clients { background: var(--white); }
.chip-grid { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.chip-grid li {
  font-family: var(--head); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 0.98rem; color: var(--navy-900);
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.7rem 1.35rem; transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.chip-grid li:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-3px); }

/* ------------------------------ About ------------------------------- */
.about { background: var(--paper); }
.about-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-media { display: flex; justify-content: center; }
.about-badge {
  position: relative; width: min(360px, 80%); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
}
.about-badge::before {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  background: conic-gradient(from 210deg, var(--yellow), transparent 45%, var(--navy) 80%, var(--yellow));
  filter: blur(2px); opacity: 0.65; z-index: 0;
}
.about-badge img { position: relative; z-index: 1; border-radius: 50%; box-shadow: var(--shadow-lg); }
.about-copy p { color: var(--muted); margin-top: 1rem; }
.about-copy .kicker { margin-top: 0; }
.creds { margin: 1.8rem 0; display: grid; gap: 0.7rem; }
.creds li { display: flex; align-items: center; gap: 0.85rem; font-weight: 600; color: var(--navy-900); }
.cred-tag {
  font-family: var(--head); font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase;
  background: var(--navy); color: var(--yellow); padding: 0.35rem 0.7rem; border-radius: 6px; white-space: nowrap;
}

/* ------------------------------ Contact ----------------------------- */
.contact { position: relative; background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-950) 100%); color: #fff; overflow: hidden; }
.contact h2 { color: #fff; }
.contact-stripes { position: absolute; inset: 0; pointer-events: none; opacity: 0.07;
  background-image: repeating-linear-gradient(115deg, var(--yellow) 0 4px, transparent 4px 40px);
  -webkit-mask-image: linear-gradient(115deg, #000, transparent 60%); mask-image: linear-gradient(115deg, #000, transparent 60%); }
.contact-cta { position: relative; z-index: 2; max-width: 640px; text-align: center; margin-inline: auto; }
.contact-cta .kicker { justify-content: center; }
.contact-cta h2 { margin-bottom: 0.5rem; }
.contact-cta .section-lead { margin-inline: auto; }
.contact-cta-btn { margin-top: 1.8rem; }
.contact-details { margin-top: 2.2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2rem; }
.contact-details li { display: flex; align-items: center; gap: 0.75rem; font-size: 1.02rem; color: rgba(255,255,255,0.9); }
.contact-details a { border-bottom: 2px solid var(--yellow); font-weight: 600; }
.contact-details a:hover { color: var(--yellow); }
.ci-icon { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,0.08); display: grid; place-items: center; color: var(--yellow); }
.ci-icon svg { width: 21px; height: 21px; }

/* ------------------------------ Drawer ------------------------------ */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.open { visibility: visible; }
body.drawer-locked { overflow: hidden; }
.drawer-overlay { position: absolute; inset: 0; background: rgba(16, 26, 40, 0.6); opacity: 0; transition: opacity 0.3s var(--ease); backdrop-filter: blur(2px); }
.drawer.open .drawer-overlay { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(460px, 100%);
  background: var(--white); box-shadow: -30px 0 80px -30px rgba(0,0,0,0.6);
  padding: clamp(1.5rem, 4vw, 2.5rem); overflow-y: auto;
  transform: translateX(100%); transition: transform 0.38s var(--ease);
  display: flex; flex-direction: column; gap: 1.25rem;
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-close { position: absolute; top: 0.9rem; right: 0.9rem; width: 42px; height: 42px; border-radius: 10px; color: var(--navy-900); display: grid; place-items: center; background: var(--paper); transition: background-color 0.2s var(--ease); }
.drawer-close:hover { background: var(--paper-2); }
.drawer-head .kicker { margin-top: 0; }
.drawer-head h2 { font-size: clamp(1.5rem, 4vw, 2rem); color: var(--navy-900); }
.drawer-lead { color: var(--muted); margin-top: 0.5rem; }
.drawer-noscript { color: var(--muted); }
.drawer-noscript a { color: var(--navy); font-weight: 700; border-bottom: 2px solid var(--yellow); }

/* No-JS: the drawer collapses into a normal in-page panel below the CTA. */
.no-js .drawer { position: static; visibility: visible; }
.no-js .drawer-overlay, .no-js .drawer-close { display: none; }
.no-js .drawer-panel { position: static; transform: none; width: 100%; max-width: 640px; margin: 0 auto 3rem; box-shadow: var(--shadow); border-radius: var(--radius); height: auto; }

/* ------------------------------ Form -------------------------------- */
.contact-form { color: var(--ink); display: grid; gap: 1.05rem; }
.field { display: grid; gap: 0.4rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.82rem; color: var(--navy-900); padding: 0; }
.field .optional { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); font-size: 0.78rem; }
.field input[type="text"], .field input[type="email"], .field textarea {
  font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: 0.8rem 0.95rem; width: 100%; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(42,68,96,0.1); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #d9534f; }

/* Honeypot — visually hidden but reachable to bots. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Goal cards (radio) */
.goal-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.goal-card { position: relative; cursor: pointer; }
.goal-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.goal-card span {
  display: flex; align-items: center; justify-content: center; text-align: center; height: 100%;
  padding: 0.75rem 0.6rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--head); font-weight: 500; font-size: 0.9rem; color: var(--navy-900);
  background: var(--paper); transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.goal-card:hover span { border-color: var(--navy); }
.goal-card input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.goal-card input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* Time chips (radio) */
.time-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip-radio { position: relative; cursor: pointer; }
.chip-radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-radio span {
  display: inline-block; padding: 0.5rem 0.95rem; border: 1.5px solid var(--line); border-radius: 999px;
  font-size: 0.9rem; color: var(--navy-900); background: var(--paper); transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.chip-radio input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.chip-radio input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }

.form-error { color: #c0392b; font-size: 0.9rem; font-weight: 600; text-align: center; }
.form-privacy { font-size: 0.82rem; color: var(--muted); text-align: center; }
#cfSubmit[aria-busy="true"] { opacity: 0.75; pointer-events: none; }

/* Success state */
.form-success { text-align: center; padding: 1rem 0; }
.form-success h3 { font-size: 1.5rem; color: var(--navy-900); margin: 0.4rem 0; }
.form-success > p { color: var(--muted); }
.success-check { width: 84px; height: 84px; margin: 0 auto 0.5rem; }
.success-check svg { width: 100%; height: 100%; }
.success-check circle { stroke: var(--navy); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw 0.5s var(--ease) forwards; }
.success-check path { stroke: var(--yellow); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: draw 0.4s var(--ease) 0.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.next-steps { display: grid; gap: 0.6rem; text-align: left; margin: 1.4rem auto; max-width: 300px; }
.next-steps li { display: flex; align-items: center; gap: 0.75rem; color: var(--navy-900); font-weight: 500; }
.next-steps span { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: var(--navy-900); font-family: var(--head); font-weight: 700; display: grid; place-items: center; font-size: 0.9rem; }

/* ------------------------------ Footer ------------------------------ */
.site-footer { position: relative; background: var(--navy-950); color: rgba(255,255,255,0.8); overflow: hidden; }
.footer-stripes { position: absolute; inset: 0; opacity: 0.05; pointer-events: none; background-image: repeating-linear-gradient(115deg, var(--yellow) 0 4px, transparent 4px 30px); }
.footer-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; align-items: center; padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { border-radius: 50%; }
.footer-motto { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.04em; color: #fff; font-size: 0.98rem; max-width: 220px; line-height: 1.3; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.3rem; }
.footer-nav a { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.92rem; color: rgba(255,255,255,0.75); }
.footer-nav a:hover { color: var(--yellow); }
.footer-contact { display: grid; gap: 0.35rem; justify-items: start; }
.footer-contact a { color: #fff; font-weight: 600; border-bottom: 2px solid var(--yellow); }
.footer-contact span { font-size: 0.92rem; color: rgba(255,255,255,0.65); }
.footer-bottom { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.15rem; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.to-top { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.85rem; color: var(--yellow); }

/* ---------------------- Scroll-reveal animation --------------------- */
/* Scoped to .js so that without JavaScript all content is fully visible. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal:nth-child(2) { transition-delay: 0.06s; }
.js .reveal:nth-child(3) { transition-delay: 0.12s; }
.js .reveal:nth-child(4) { transition-delay: 0.18s; }

/* ============================ Responsive ============================ */
@media (max-width: 940px) {
  .pillar-grid, .service-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .benefit-list { grid-template-columns: 1fr; gap: 1.2rem; }
  .about-inner { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; text-align: left; }
}

@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: flex; }
  .brand-logo { height: 40px; }
  .site-header.scrolled .brand-logo { height: 34px; }

  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.4rem;
    background: var(--navy-900); padding: 2rem 2.2rem;
    transform: translateX(100%); transition: transform 0.35s var(--ease);
    box-shadow: -30px 0 60px -30px rgba(0,0,0,0.8);
  }
  .nav-open .nav-links { transform: translateX(0); }
  .nav-links > a:not(.nav-cta) { font-size: 1.25rem; }
  .nav-cta { margin-top: 0.5rem; }

  .hero { min-height: 92svh; }
  .hero-actions .btn { flex: 1 1 auto; }
}

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