/* ============================================================
   Rotary Club of Konge Lukuli
   Palette derived from the club logo:
   Royal Blue #17458F  |  Azure #0067C8  |  Gold #F7A81B
   ============================================================ */

:root {
  --blue:        #17458f;
  --blue-bright: #0067c8;
  --navy:        #0b2350;
  --navy-deep:   #071a3d;
  --gold:        #f7a81b;
  --gold-soft:   #ffc24d;
  --ink:         #16233a;
  --slate:       #4a5a72;
  --mist:        #f5f8fd;
  --line:        #e4ebf5;
  --white:       #ffffff;

  --shadow-sm: 0 4px 16px rgba(11, 35, 80, .08);
  --shadow-md: 0 14px 40px rgba(11, 35, 80, .14);
  --shadow-lg: 0 30px 70px rgba(11, 35, 80, .22);

  --radius: 18px;
  --radius-lg: 26px;
  --container: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.015em;
}

.container {
  width: min(100% - 2.6rem, var(--container));
  margin-inline: auto;
}

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }

/* ---------- Section intro ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 1rem;
}
.kicker::before {
  content: "";
  width: 34px; height: 3px; border-radius: 3px;
  background: var(--gold);
}
.section-head { max-width: 720px; margin-bottom: 3.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker::before { display: none; }
.section-head h2 {
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  font-weight: 800;
}
.section-head p {
  margin-top: 1.1rem;
  font-size: 1.08rem;
  color: var(--slate);
}
.text-gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  padding: .95rem 1.7rem;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn svg { width: 20px; height: 20px; }
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 12px 30px rgba(247, 168, 27, .38);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(247, 168, 27, .5); }
.btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  border-color: rgba(255, 255, 255, .55);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .16); transform: translateY(-3px); border-color: #fff; }
.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 30px rgba(23, 69, 143, .32);
}
.btn-blue:hover { transform: translateY(-3px); background: var(--blue-bright); }
.btn-whatsapp { background: #25d366; color: #06371b; box-shadow: 0 12px 30px rgba(37, 211, 102, .4); }
.btn-whatsapp:hover { transform: translateY(-3px); background: #22c65d; box-shadow: 0 18px 40px rgba(37, 211, 102, .5); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.nav.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: .6rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-logo {
  background: #fff;
  border-radius: 12px;
  padding: 7px 12px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease);
}
.brand-logo img { height: 34px; width: auto; }
.brand:hover .brand-logo { transform: translateY(-2px); }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .96rem;
  color: #fff;
  position: relative;
  transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--gold);
  transition: width .3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav.scrolled .nav-links a { color: var(--ink); }
.nav.scrolled .nav-links a:hover { color: var(--blue); }

.nav-cta { display: inline-flex; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span {
  display: block; width: 26px; height: 2.5px; border-radius: 3px;
  background: #fff; margin: 5px 0; transition: .3s var(--ease);
}
.nav.scrolled .nav-toggle span { background: var(--navy); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.12);
  animation: heroZoom 18s ease-out forwards;
  z-index: -2;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(115deg, rgba(7, 26, 61, .92) 0%, rgba(11, 35, 80, .74) 42%, rgba(23, 69, 143, .38) 100%),
    linear-gradient(to top, rgba(7, 26, 61, .85), transparent 42%);
}
.hero-wheel {
  position: absolute;
  right: -8vw; top: 50%;
  width: 62vw; max-width: 780px;
  transform: translateY(-50%);
  opacity: .07;
  animation: spin 90s linear infinite;
  z-index: -1;
  pointer-events: none;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

.hero-content { max-width: 780px; padding: 7rem 0 5rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem 1rem .5rem .6rem;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 100px;
  font-size: .82rem; font-weight: 500;
  letter-spacing: .02em;
  backdrop-filter: blur(6px);
  margin-bottom: 1.6rem;
}
.hero-badge b { color: var(--gold-soft); font-weight: 600; }
.hero-badge .hb-text { min-width: 0; }   /* wraps only at bullet separators (nbsp binds each unit) */
.hero-badge .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(247,168,27,.25); }

.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 7.4vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .accent { color: var(--gold); }
.hero-slogan {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, .92);
  max-width: 620px;
}
.hero-sub {
  margin-top: 1.2rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .82);
  max-width: 560px;
}
.hero-actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .72rem; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  z-index: 2;
}
.scroll-cue .mouse {
  width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .6);
  border-radius: 14px; position: relative;
}
.scroll-cue .mouse::after {
  content: ""; position: absolute; left: 50%; top: 7px;
  width: 4px; height: 7px; border-radius: 3px; background: var(--gold);
  transform: translateX(-50%);
  animation: wheelDrop 1.6s var(--ease) infinite;
}
@keyframes wheelDrop { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,12px)} 100%{opacity:0} }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats {
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/logo/wheel.png") no-repeat right -60px center;
  background-size: 320px; opacity: .06;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: clamp(2.6rem, 5vw, 3.6rem) 0;
  position: relative;
}
.stat { text-align: center; padding: .5rem 1rem; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 20%; height: 60%;
  width: 1px; background: rgba(255, 255, 255, .16);
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--gold);
  line-height: 1;
}
.stat .num small { font-size: .55em; }
.stat .label { margin-top: .5rem; font-size: .92rem; color: rgba(255, 255, 255, .82); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-copy p { color: var(--slate); font-size: 1.06rem; margin-bottom: 1.1rem; }
.about-copy p strong { color: var(--ink); }
.about-highlight {
  margin-top: 1.6rem;
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.3rem 1.5rem;
  background: linear-gradient(120deg, rgba(247,168,27,.12), rgba(247,168,27,.04));
  border-left: 4px solid var(--gold);
  border-radius: 12px;
}
.about-highlight svg { flex: none; width: 30px; height: 30px; color: var(--gold); margin-top: 2px; }
.about-highlight p { margin: 0; font-size: .98rem; color: var(--ink); }

.vm-cards { display: grid; gap: 1.4rem; }
.vm-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.vm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.vm-card::after {
  content: ""; position: absolute; right: -30px; top: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(23,69,143,.08), transparent 70%);
}
.vm-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  color: #fff; margin-bottom: 1.1rem;
}
.vm-card.gold .vm-icon { background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: var(--navy-deep); }
.vm-icon svg { width: 28px; height: 28px; }
.vm-card h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.vm-card p { color: var(--slate); font-size: 1rem; }

/* ============================================================
   VALUES
   ============================================================ */
.values { background: var(--mist); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
}
.value {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem 1.2rem;
  text-align: center;
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.value:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.value .v-ico {
  width: 60px; height: 60px; margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(23, 69, 143, .08);
  color: var(--blue);
  transition: background .4s, color .4s, transform .5s var(--ease);
}
.value:hover .v-ico { background: var(--gold); color: var(--navy-deep); transform: rotate(-8deg) scale(1.06); }
.value .v-ico svg { width: 30px; height: 30px; }
.value h4 { font-size: 1.08rem; }

/* ============================================================
   FOCUS AREAS
   ============================================================ */
.focus-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  justify-content: center;   /* centres an odd card on the last row */
}
.focus-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  flex: 1 1 300px;
  max-width: calc((100% - 2.8rem) / 3);   /* 3 across on desktop */
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}
.focus-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: -2;
  transition: transform 1s var(--ease);
}
.focus-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(7, 26, 61, .92) 8%, rgba(7, 26, 61, .5) 45%, rgba(7, 26, 61, .12) 100%);
  transition: background .5s;
}
.focus-card:hover img { transform: scale(1.08); }
.focus-card:hover::after { background: linear-gradient(to top, rgba(7, 26, 61, .95) 12%, rgba(23, 69, 143, .6) 55%, rgba(23, 69, 143, .2) 100%); }
.focus-body { padding: 1.6rem 1.6rem 1.7rem; color: #fff; }
.focus-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: .8rem; letter-spacing: .1em;
  color: var(--gold-soft);
  display: inline-flex; align-items: center; gap: .5rem;
  margin-bottom: .6rem;
}
.focus-num::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.focus-body h3 { color: #fff; font-size: 1.32rem; margin-bottom: .5rem; }
.focus-body p {
  color: rgba(255, 255, 255, .85);
  font-size: .96rem;
  max-height: 0; opacity: 0; overflow: hidden;
  transform: translateY(8px);
  transition: max-height .6s var(--ease), opacity .5s, transform .5s var(--ease), margin .5s;
}
.focus-card:hover .focus-body p,
.focus-card:focus-within .focus-body p { max-height: 200px; opacity: 1; transform: translateY(0); }

/* ============================================================
   OBJECTIVES
   ============================================================ */
.objectives { background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; }
.objectives .section-head h2 { color: #fff; }
.objectives .section-head p { color: rgba(255,255,255,.72); }
.obj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2.2rem;
}
.obj-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.obj-check {
  flex: none; width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(247, 168, 27, .16); color: var(--gold);
  transition: transform .4s var(--ease), background .3s;
}
.obj-item:hover .obj-check { background: var(--gold); color: var(--navy-deep); transform: scale(1.08); }
.obj-check svg { width: 18px; height: 18px; }
.obj-item p { font-size: 1.02rem; color: rgba(255, 255, 255, .9); }

/* ============================================================
   FELLOWSHIP / JOIN
   ============================================================ */
.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.join-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-md);
}
.info-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px dashed var(--line); }
.info-row:last-of-type { border-bottom: 0; }
.info-ico {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(23, 69, 143, .08); color: var(--blue);
}
.info-ico svg { width: 22px; height: 22px; }
.info-row .t { font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 1.02rem; }
.info-row .d { color: var(--slate); font-size: .96rem; }
.join-card .btn { margin-top: 1.6rem; width: 100%; }

.join-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow-lg);
}
.join-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.join-visual .tag {
  position: absolute; left: 1.4rem; bottom: 1.4rem; right: 1.4rem;
  background: rgba(7, 26, 61, .78);
  backdrop-filter: blur(8px);
  color: #fff; padding: 1.1rem 1.3rem; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
}
.join-visual .tag b { color: var(--gold-soft); font-family: var(--font-display); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  position: relative;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-band .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(11, 35, 80, .93), rgba(23, 69, 143, .82));
}
.cta-inner { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.cta-inner h2 { color: #fff; font-size: clamp(1.9rem, 5vw, 3.1rem); font-weight: 800; }
.cta-inner p { margin: 1.1rem auto 2rem; max-width: 620px; color: rgba(255, 255, 255, .88); font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .75); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer .f-brand { display: inline-block; background: #fff; padding: 10px 16px; border-radius: 14px; margin-bottom: 1.2rem; }
.footer .f-brand img { height: 40px; }
.footer p { font-size: .96rem; max-width: 340px; }
.footer h5 { font-family: var(--font-display); color: #fff; font-size: 1rem; margin-bottom: 1.1rem; letter-spacing: .02em; }
.footer ul { list-style: none; display: grid; gap: .7rem; }
.footer ul a { font-size: .96rem; transition: color .3s, padding .3s; }
.footer ul a:hover { color: var(--gold); padding-left: 5px; }
.footer .social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer .social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .08);
  transition: background .3s, transform .3s;
}
.footer .social a:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-3px); }
.footer .social svg { width: 19px; height: 19px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 1.6rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem;
  font-size: .88rem; color: rgba(255, 255, 255, .55);
}
.footer-bottom a:hover { color: var(--gold); }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 90;
  display: flex; align-items: center; gap: .6rem;
}
.wa-float a {
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .5);
  transition: transform .35s var(--ease);
  position: relative;
}
.wa-float a::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #25d366; z-index: -1;
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse { 0%{transform:scale(1);opacity:.6} 100%{transform:scale(1.9);opacity:0} }
.wa-float a:hover { transform: scale(1.08); }
.wa-float a svg { width: 32px; height: 32px; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }
.reveal-scale { opacity: 0; transform: scale(.94); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-scale.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; }
  .focus-card { max-width: calc((100% - 1.4rem) / 2); }   /* 2 across on tablet */
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .obj-grid { grid-template-columns: 1fr; gap: 0 2rem; }
  .join-grid { grid-template-columns: 1fr; }
  .join-visual { min-height: 320px; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    /* Explicit top + height (not bottom:0) so the panel keeps full height even
       when the scrolled nav's backdrop-filter makes it the containing block. */
    position: fixed; top: 0; right: 0; bottom: auto; left: auto;
    height: 100vh; height: 100dvh;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.4rem;
    background: #fff;
    padding: 6rem 2rem 2rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .45s var(--ease);
    box-shadow: -20px 0 60px rgba(11, 35, 80, .2);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: var(--ink); font-size: 1.1rem; }
  .nav-links .nav-cta { margin-top: .5rem; }
  .nav-toggle { display: block; z-index: 101; }
  .nav-toggle.active span { background: var(--navy); }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 0; }
  .stat:nth-child(3)::before, .stat + .stat::before { display: none; }
  .focus-card { max-width: 100%; }   /* 1 across on mobile */
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { justify-content: center; text-align: center; }
  .focus-body p { max-height: 200px; opacity: 1; transform: none; }  /* always show on touch */

  /* Keep the hero column from being forced wider than the screen */
  .hero-content { min-width: 0; max-width: 100%; }
  .hero-badge { font-size: .72rem; padding: .5rem .9rem .5rem .65rem; align-items: flex-start; }
  .hero-badge .dot { margin-top: .3em; }
  .hero h1, .hero-slogan, .hero-sub { max-width: 100%; overflow-wrap: break-word; }

  /* Stack hero CTAs full-width so their labels never wrap */
  .hero-actions { flex-direction: column; align-items: stretch; gap: .85rem; }
  .hero-actions .btn { width: 100%; white-space: nowrap; padding: 1rem 1.5rem; }

  /* Hide the decorative scroll cue on mobile: the stacked CTAs need the space */
  .scroll-cue { display: none; }
}

@media (max-width: 420px) {
  .values-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero-bg { transform: none; }
  .reveal, .reveal-scale { opacity: 1; transform: none; }
}
