/* ==========================================================================
   NF Dental Group - design system
   Theme: light, locked. One accent (brand blue, recalibrated).
   Radius rule: interactive = pill, containers/images = 20px, frames = 28px.
   ========================================================================== */

@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-VariableItalic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;

  --bg: #fbfcfd;
  --surface: #ffffff;
  --mist: #eef5f9;
  --mist-deep: #e3eef5;
  --line: #dfe7ec;
  --line-soft: rgb(16 43 56 / 0.08);

  --ink: #0f2430;
  --ink-soft: #274451;
  --body: #43565e;
  --muted: #5f7078;

  --accent: #1178ad;
  --accent-deep: #0c5e8a;
  --accent-wash: #e4f1f8;

  --dark-bg: #0e1d26;
  --dark-elevated: #142834;
  --dark-line: rgb(233 241 245 / 0.14);
  --dark-text: #e9f1f5;
  --dark-muted: #9fb4bd;

  --radius-frame: 28px;
  --radius-card: 20px;

  --shadow-soft: 0 24px 60px -28px rgb(15 36 48 / 0.18);
  --shadow-lift: 0 16px 44px -20px rgb(15 36 48 / 0.22);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-press: cubic-bezier(0.32, 0.72, 0, 1);

  --section-pad: 6rem;
  --container: 1240px;
}

/* ---------- Reset ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Satoshi", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 450;
  background: var(--bg);
  color: var(--body);
  line-height: 1.65;
  font-size: 1.0625rem;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }

ul, ol { list-style: none; }

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

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

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

/* ---------- Typography ---------- */

h1, h2, h3 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.12;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 5.2vw, 4.25rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.85rem, 3vw, 2.6rem); }
h3 { font-size: 1.22rem; letter-spacing: -0.012em; }

p { max-width: 62ch; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--body);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Notice strip ---------- */

.notice {
  background: var(--mist);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 0.55rem 1.25rem;
  font-size: 0.86rem;
}
.notice p { max-width: none; color: var(--ink-soft); }
.notice a { font-weight: 600; }

/* ---------- Navigation ---------- */

#nav-sentinel { position: absolute; top: 0; height: 1px; width: 1px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(251 252 253 / 0.86);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
}
.nav.is-elevated {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -18px rgb(15 36 48 / 0.16);
}

.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.015em;
}
.brand:hover { color: var(--ink); }
.brand img { border-radius: 0; }
.brand span { white-space: nowrap; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2rem);
  font-size: 0.94rem;
  font-weight: 550;
}
.nav-links a {
  color: var(--ink-soft);
  transition: color 250ms var(--ease-out);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a[aria-current="page"] { color: var(--accent); font-weight: 650; }
.mobile-menu nav a[aria-current="page"] { color: var(--accent); }

.nav-contact {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 1.15rem;
  color: var(--ink) !important;
  transition: border-color 250ms var(--ease-out), background 250ms var(--ease-out), color 250ms var(--ease-out) !important;
}
.nav-contact:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff !important;
}

/* Hamburger */

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
}
.menu-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 17px;
  height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 450ms var(--ease-press);
}
.menu-line:nth-child(1) { transform: translate(-50%, calc(-50% - 3.5px)); }
.menu-line:nth-child(2) { transform: translate(-50%, calc(-50% + 3.5px)); }
.menu-toggle[aria-expanded="true"] .menu-line:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-line:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

/* Mobile menu overlay */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgb(251 252 253 / 0.92);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(1.5rem, 8vw, 4rem);
  padding-top: 7.5rem;
  padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms var(--ease-out);
}
/* margin-auto centering: centers when there is room, scrolls without clipping when there is not */
.mobile-menu nav { margin-top: auto; }
.mobile-menu .mobile-menu-note { margin-bottom: auto; }
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.mobile-menu nav a {
  font-size: clamp(1.7rem, 7vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  padding: 0.35rem 0;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 550ms var(--ease-out), transform 550ms var(--ease-out), color 250ms var(--ease-out);
  transition-delay: calc(var(--i) * 55ms);
}
.mobile-menu nav a:hover { color: var(--accent); }
.mobile-menu.is-open nav a { opacity: 1; transform: translateY(0); }
.mobile-menu-note {
  margin-top: 2.2rem;
  font-size: 0.92rem;
  color: var(--muted);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 550ms var(--ease-out), transform 550ms var(--ease-out);
  transition-delay: calc(var(--i) * 55ms);
}
.mobile-menu.is-open .mobile-menu-note { opacity: 1; transform: translateY(0); }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.72rem 0.72rem 0.72rem 1.5rem;
  white-space: nowrap;
  transition: background 300ms var(--ease-press), border-color 300ms var(--ease-press),
              color 300ms var(--ease-press), transform 300ms var(--ease-press),
              box-shadow 300ms var(--ease-press);
}
.btn:active { transform: scale(0.975); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgb(17 120 173 / 0.55);
}
.btn-primary:hover {
  background: var(--accent-deep);
  color: #fff;
  box-shadow: 0 18px 36px -14px rgb(12 94 138 / 0.6);
}

.btn-orb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.16);
  color: #fff;
  transition: transform 350ms var(--ease-press), background 350ms var(--ease-press);
}
.btn-primary:hover .btn-orb {
  transform: translateX(3px);
  background: rgb(255 255 255 / 0.26);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  padding: 0.72rem 1.5rem;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-ghost svg { transition: transform 350ms var(--ease-press); }
.btn-ghost:hover svg { transform: translate(2px, -2px); }

.btn-light {
  background: var(--dark-text);
  color: var(--dark-bg);
  box-shadow: 0 16px 40px -18px rgb(0 0 0 / 0.5);
}
.btn-light:hover {
  background: #ffffff;
  color: var(--dark-bg);
}
.btn-orb-dark {
  background: rgb(14 29 38 / 0.1);
  color: var(--dark-bg);
}
.btn-light:hover .btn-orb-dark {
  transform: translateX(3px);
  background: rgb(14 29 38 / 0.16);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.97rem;
}
.text-link svg { transition: transform 320ms var(--ease-press); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Frames (double bezel) ---------- */

.frame {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-frame);
  padding: 9px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgb(255 255 255 / 0.7);
}
.frame img {
  width: 100%;
  border-radius: var(--radius-card);
  object-fit: cover;
}

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(3.5rem, 6vw, 6rem);
  padding-bottom: var(--section-pad);
  background:
    radial-gradient(1100px 520px at 88% -10%, rgb(38 168 224 / 0.09), transparent 62%),
    radial-gradient(720px 420px at -8% 32%, rgb(17 120 173 / 0.055), transparent 60%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(2.5rem, 4.5vw, 4rem);
  align-items: center;
}

.hero-copy h1 { max-width: 24ch; margin-bottom: 1.6rem; }
.hero-copy .lede { max-width: 46ch; margin-bottom: 2.75rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.hero-media { max-width: 420px; justify-self: end; width: 100%; }
.hero-media img { aspect-ratio: 4 / 5; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}
.facts dt {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.facts dd {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

/* ---------- NoFrills band ---------- */

.band {
  background: linear-gradient(180deg, var(--mist) 0%, var(--bg) 100%);
  border-block: 1px solid var(--line);
  padding-block: var(--section-pad);
}

.band-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 5.5vw, 5.5rem);
  align-items: center;
}

.band-media img { aspect-ratio: 4 / 3; }

.band-copy h2 { margin-bottom: 1.3rem; max-width: 17ch; }
.band-copy p { margin-bottom: 1.1rem; }
.band-copy .text-link { margin-top: 0.6rem; }

/* ---------- Generic section ---------- */

.section { padding-block: var(--section-pad); }

.section-tint {
  background: linear-gradient(180deg, var(--bg) 0%, var(--mist) 55%, var(--bg) 100%);
}

.section-head { max-width: 720px; margin-bottom: clamp(2.8rem, 5vw, 4.5rem); }
.section-head h2 { margin-bottom: 1.2rem; }

/* ---------- Approach (Acquire / Invest / Hold) ---------- */

.approach {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: 2.6rem;
  border-block: 1px solid var(--line);
}
.approach-item h3 {
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  margin-bottom: 0.7rem;
}
.approach-item p { font-size: 0.99rem; }

/* ---------- Manifesto ---------- */

.manifesto {
  margin-block: clamp(3.2rem, 6vw, 5rem);
  max-width: 780px;
}
.manifesto p {
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  font-weight: 550;
  font-style: italic;
  letter-spacing: -0.018em;
  line-height: 1.35;
  color: var(--ink);
  max-width: none;
  padding-bottom: 0.25rem;
}

/* ---------- Values ---------- */

.values-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.values-list li {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 1rem 3rem;
  padding-block: 1.35rem;
  border-top: 1px solid var(--line);
  transition: background 300ms var(--ease-out);
}
.values-list li:last-child { border-bottom: 1px solid var(--line); }
.values-list strong {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.values-list span { color: var(--body); font-size: 0.99rem; }

/* ---------- Bento (segments) ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.cell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out), border-color 450ms var(--ease-out);
}
.cell:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--mist-deep);
}
.cell h3 { margin-bottom: 0.1rem; }
.cell p { font-size: 0.99rem; }
.cell .text-link { margin-top: auto; padding-top: 0.8rem; }

.cell:nth-child(1) { grid-column: span 7; }
.cell:nth-child(2) { grid-column: span 5; }
.cell:nth-child(3) { grid-column: span 5; }
.cell:nth-child(4) { grid-column: span 7; }

.cell-photo {
  padding: 0;
  overflow: hidden;
  gap: 0;
}
.cell-photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.cell-photo-body {
  padding: clamp(1.6rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cell-accent {
  background: linear-gradient(150deg, var(--accent-wash) 0%, var(--surface) 78%);
  border-color: var(--mist-deep);
}

/* ---------- Owners ---------- */

.owners-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.owners-sticky {
  position: sticky;
  top: 108px;
}
.owners-sticky h2 { margin-bottom: 1.2rem; max-width: 16ch; }
.owners-sticky > p { margin-bottom: 1.7rem; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2.2rem;
  max-width: 520px;
}
.chips li {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 550;
  color: var(--ink-soft);
}

.journey {
  counter-reset: step;
  position: relative;
  padding-left: 3.4rem;
}
.journey::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: var(--line);
}
.journey li {
  counter-increment: step;
  position: relative;
  padding-bottom: 2.4rem;
}
.journey li:last-child { padding-bottom: 0; }
.journey li::before {
  content: counter(step);
  position: absolute;
  left: -3.4rem;
  top: -2px;
  width: 35px;
  height: 35px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}
.journey h3 { margin-bottom: 0.45rem; }
.journey p { font-size: 0.99rem; max-width: 46ch; }

.pledge {
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 2.2rem;
}
.pledge p {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  max-width: 24ch;
}

/* ---------- Investors panels ---------- */

.panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out);
}
.panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.panel p { font-size: 0.99rem; }
.panel .text-link { margin-top: auto; padding-top: 0.6rem; }

.fineprint {
  margin-top: 2.2rem;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 68ch;
}

/* ---------- Contact (dark) ---------- */

.contact {
  background:
    radial-gradient(900px 480px at 85% 0%, rgb(38 168 224 / 0.12), transparent 60%),
    var(--dark-bg);
  color: var(--dark-muted);
  padding-block: var(--section-pad);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.contact h2 {
  color: var(--dark-text);
  margin-bottom: 1.2rem;
}
.contact-copy > p {
  color: var(--dark-muted);
  margin-bottom: 2rem;
  max-width: 50ch;
}

.contact-note {
  margin-top: 1.9rem;
  font-size: 0.92rem;
  max-width: 52ch;
}
.contact-note a { color: var(--dark-text); text-decoration: underline; text-underline-offset: 3px; }
.contact-note a:hover { color: #ffffff; }

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
  background: var(--dark-elevated);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-card);
  padding: clamp(1.8rem, 3vw, 2.6rem);
}
.contact-details dt {
  font-size: 0.85rem;
  color: var(--dark-muted);
  margin-bottom: 0.4rem;
}
.contact-details dd {
  color: var(--dark-text);
  font-weight: 600;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}
.contact-details a { color: var(--dark-text); }
.contact-details a:hover { color: #ffffff; }

/* ---------- Footer ---------- */

.footer {
  background: var(--dark-bg);
  border-top: 1px solid var(--dark-line);
  color: var(--dark-muted);
  padding-block: 2.8rem 2.2rem;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--dark-line);
}

.brand-footer { color: var(--dark-text); }
.brand-footer:hover { color: #ffffff; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  font-size: 0.92rem;
  font-weight: 550;
}
.footer-links a { color: var(--dark-muted); transition: color 250ms var(--ease-out); }
.footer-links a:hover { color: var(--dark-text); }

.footer-legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  padding-top: 1.6rem;
  font-size: 0.85rem;
}
.footer-legal p { max-width: none; }
.footer-legal a { color: var(--dark-muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--dark-text); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1023px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { justify-self: start; max-width: 420px; }

  .band-grid { grid-template-columns: 1fr; }
  .band-media { order: 2; }
  .band-copy { order: 1; }

  .owners-grid { grid-template-columns: 1fr; }
  .owners-sticky { position: static; }

  .contact-grid { grid-template-columns: 1fr; }

  .facts { grid-template-columns: repeat(2, 1fr); }
  .approach { grid-template-columns: 1fr; gap: 2.2rem; }
  .pledge { grid-template-columns: 1fr; gap: 1.2rem; }
  .panels { grid-template-columns: 1fr; }

  .cell:nth-child(n) { grid-column: span 12; }
}

@media (max-width: 639px) {
  body { font-size: 1rem; }

  .facts { grid-template-columns: 1fr 1fr; gap: 1.4rem; }

  .values-list li { grid-template-columns: 1fr; gap: 0.35rem; }

  .contact-details { grid-template-columns: 1fr; }

  .hero-actions .btn { width: 100%; justify-content: space-between; }
  .btn { white-space: normal; text-align: left; }

  .journey { padding-left: 3rem; }
  .journey li::before { left: -3rem; width: 32px; height: 32px; }
  .journey::before { left: 15.5px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .mobile-menu,
  .mobile-menu nav a,
  .mobile-menu-note,
  .btn, .btn-orb, .cell, .panel, .text-link svg, .btn-ghost svg, .menu-line {
    transition: none !important;
  }
  .cell:hover, .panel:hover { transform: none; }
}

/* ==========================================================================
   Multi-page additions
   ========================================================================== */

/* ---------- Inner page header ---------- */

.page-head {
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: var(--section-pad);
  background:
    radial-gradient(900px 420px at 90% -20%, rgb(38 168 224 / 0.08), transparent 60%),
    var(--bg);
}
.page-head h1 {
  font-size: clamp(2.2rem, 3.6vw, 3.1rem);
  max-width: 20ch;
  margin-bottom: 1.3rem;
}
.page-head .lede { max-width: 58ch; }
.page-head p + p { margin-top: 1rem; }

/* ---------- Benefits (home) ---------- */

.benefits-head { max-width: 720px; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }

/* ---------- FAQ (side-by-side, no accordion) ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.6rem 3.5rem;
}
.faq-item h3 {
  font-size: 1.08rem;
  margin-bottom: 0.55rem;
}
.faq-item p {
  font-size: 0.97rem;
  color: var(--body);
}

/* ---------- CTA band (dark closing section) ---------- */

.cta-band {
  background:
    radial-gradient(900px 480px at 85% 0%, rgb(38 168 224 / 0.12), transparent 60%),
    var(--dark-bg);
  padding-block: var(--section-pad);
  color: var(--dark-muted);
}
.cta-band h2 {
  color: var(--dark-text);
  margin-bottom: 1.1rem;
  max-width: 22ch;
}
.cta-band > .container > p {
  max-width: 52ch;
  margin-bottom: 2.2rem;
}
.cta-band .contact-note { margin-top: 1.8rem; }

/* ---------- Strategy grid (about) ---------- */

.strategy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem 3.5rem;
  padding-top: 2.6rem;
  border-top: 1px solid var(--line);
}
.strategy-item h3 { margin-bottom: 0.55rem; }
.strategy-item p { font-size: 0.98rem; }

/* ---------- Contact form ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(1.6rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem 1.2rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.45rem; }
.form-field-full { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--ink);
}
.form-field .optional {
  font-weight: 450;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.68rem 0.9rem;
  width: 100%;
  transition: border-color 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
.form-field textarea { resize: vertical; min-height: 108px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(17 120 173 / 0.18);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"] {
  border-color: #b3261e;
}
.field-error {
  display: none;
  font-size: 0.84rem;
  color: #b3261e;
}
.form-field.has-error .field-error { display: block; }

.form-footer {
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.form-privacy {
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: none;
}

.form-status {
  display: none;
  margin-top: 1.2rem;
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 550;
}
.form-status.is-success {
  display: block;
  background: #e7f4ec;
  color: #14532d;
  border: 1px solid #bbdfc9;
}
.form-status.is-error {
  display: block;
  background: #fdeceb;
  color: #7f1d1d;
  border: 1px solid #f2c4c0;
}

.btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Honeypot: visually hidden, still in the form for bots */
.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.contact-aside { display: grid; gap: 1.25rem; }

.aside-card {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 2.5vw, 2rem);
}
.aside-card h3 { margin-bottom: 0.8rem; font-size: 1.05rem; }
.aside-card dl { display: grid; gap: 1.1rem; }
.aside-card dt { font-size: 0.83rem; color: var(--muted); margin-bottom: 0.15rem; }
.aside-card dd { font-weight: 600; color: var(--ink); line-height: 1.5; font-variant-numeric: tabular-nums; }
.aside-card p { font-size: 0.93rem; }
.aside-card a { font-weight: 600; }

/* ---------- Responsive for additions ---------- */

@media (max-width: 1023px) {
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  :root { --section-pad: 4.5rem; }
}

@media (max-width: 639px) {
  .faq-grid { grid-template-columns: 1fr; gap: 1.9rem; }
  .strategy { grid-template-columns: 1fr; gap: 1.8rem; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- Prose (privacy / legal pages) ---------- */

.prose { max-width: 720px; }
.prose h2 {
  font-size: 1.3rem;
  margin: 2.4rem 0 0.75rem;
}
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 1rem; }
.prose ul {
  list-style: disc;
  padding-left: 1.35rem;
  margin-bottom: 1rem;
  max-width: 62ch;
}
.prose li { margin-bottom: 0.4rem; }
