/* ==========================================================================
   Moonsy Pty Ltd — moonsy.site
   Art direction: "moonstone" — deep indigo-violet ink, aged-brass accent,
   editorial serif display over a system sans body, soft shape language.
   ========================================================================== */

:root {
  /* Brand */
  --primary: #302b54;
  --primary-700: #241f42;
  --primary-900: #17142c;
  --primary-300: #6e66a6;

  /* Accent (aged brass) */
  --accent: #c0873c;
  --accent-strong: #8a5f22;
  --accent-soft: #e8c88e;

  /* Neutrals */
  --bg: #faf9fc;
  --surface: #ffffff;
  --surface-alt: #f1f0f7;
  --border: #e3e1ec;
  --border-light: rgba(237, 235, 244, 0.16);

  /* Text */
  --text-dark: #191826;
  --text-muted: #54516b;
  --text-light: #edebf4;
  --text-light-muted: #b7b2ce;

  /* Tints, glows, washes */
  --tile-bg: #ebe8f6;
  --tile-bg-dark: rgba(192, 135, 60, 0.16);
  --glow-accent: rgba(192, 135, 60, 0.22);
  --glow-primary: rgba(110, 102, 166, 0.4);
  --dot: rgba(237, 235, 244, 0.13);
  --hairline-dark: rgba(237, 235, 244, 0.1);
  --panel-wash: rgba(237, 235, 244, 0.08);
  --panel-wash-soft: rgba(237, 235, 244, 0.02);
  --header-bg: rgba(23, 20, 44, 0.78);
  --card-ink: rgba(23, 20, 44, 0.85);
  --card-ink-soft: rgba(48, 43, 84, 0.72);

  /* Spacing scale */
  --s1: 0.5rem;
  --s2: 0.75rem;
  --s3: 1rem;
  --s4: 1.5rem;
  --s5: 2.5rem;
  --s6: 4rem;
  --s7: 6rem;

  /* Shape */
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --container: 1140px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(25, 24, 38, 0.05);
  --shadow-md: 0 1px 2px rgba(25, 24, 38, 0.04), 0 8px 24px rgba(25, 24, 38, 0.07);
  --shadow-lg: 0 18px 48px rgba(25, 24, 38, 0.16);
  --ring: 0 0 0 3px rgba(110, 102, 166, 0.55);
  --ring-light: 0 0 0 3px rgba(232, 200, 142, 0.7);

  /* Type */
  --font-body: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --speed: 180ms;
}

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

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 var(--s3);
}

h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; line-height: 1.25; }
h4 { font-size: 1rem; line-height: 1.3; }

p { margin: 0 0 var(--s3); }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary); }

ul, ol { margin: 0 0 var(--s3); padding-left: var(--s4); }
li { margin-bottom: var(--s1); }

strong { font-weight: 700; }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--surface);
  color: var(--text-dark);
  padding: var(--s2) var(--s3);
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s4);
}

.measure { max-width: 66ch; }
.measure-narrow { max-width: 56ch; }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin: 0 0 var(--s2);
}
.eyebrow-light { color: var(--accent-soft); }

.lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 62ch;
}
.lede-light { color: var(--text-light-muted); }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--hairline-dark);
}

.navbar { width: 100%; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 68px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  color: var(--text-light);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.wordmark:hover { color: var(--accent-soft); }

.wordmark-text { font-weight: 700; }

.wordmark-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, var(--primary-300), var(--primary));
  color: var(--text-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: inset 0 0 0 1px var(--border-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-light);
  border-radius: var(--radius-pill);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--s4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li { margin: 0; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: var(--s1) 0;
  color: var(--text-light-muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color var(--speed) ease;
}
.nav-link:hover { color: var(--text-light); }
.nav-link.is-active { color: var(--text-light); font-weight: 600; }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-pill);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--speed) ease, background-color var(--speed) ease,
    color var(--speed) ease, box-shadow var(--speed) ease, border-color var(--speed) ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-900);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent-soft);
  color: var(--primary-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text-dark);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-outline-light {
  background: transparent;
  border-color: var(--border-light);
  color: var(--text-light);
}
.btn-outline-light:hover {
  border-color: var(--accent-soft);
  color: var(--accent-soft);
  transform: translateY(-1px);
}

.btn-solid {
  background: var(--primary);
  color: var(--text-light);
}
.btn-solid:hover {
  background: var(--primary-700);
  color: var(--text-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-sm { padding: var(--s1) var(--s3); font-size: 0.9rem; }

.btn:focus-visible { box-shadow: var(--ring-light); }
.btn-outline:focus-visible { box-shadow: var(--ring); }

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

.hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(58% 75% at 80% 14%, var(--glow-accent), transparent 62%),
    radial-gradient(85% 70% at 6% 0%, var(--glow-primary), transparent 66%),
    linear-gradient(162deg, var(--primary-900) 0%, var(--primary) 58%, var(--primary-700) 100%);
  color: var(--text-light);
  padding: var(--s7) 0 calc(var(--s7) + var(--s5));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 3.5rem));
  margin-bottom: calc(var(--s5) * -1);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.75;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: var(--s6);
  min-height: 60vh;
}

.hero-copy { position: relative; z-index: 1; }

.hero-title { margin-bottom: var(--s4); }

.hero-lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-light-muted);
  max-width: 54ch;
  margin-bottom: var(--s5);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
}

/* Hero visual: overlapping panels + drawn moon phases */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
}

.moon-panel {
  position: absolute;
  inset: var(--s5) var(--s3) var(--s3) var(--s5);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--panel-wash), var(--panel-wash-soft));
  border: 1px solid var(--border-light);
  transform: rotate(-4deg);
}

.moon-card {
  position: relative;
  width: 100%;
  max-width: 330px;
  padding: var(--s5) var(--s4);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--card-ink), var(--card-ink-soft));
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.moon-card svg {
  width: 100%;
  height: auto;
  display: block;
  color: var(--accent-soft);
}
.moon-dim { color: var(--text-light-muted); }

.moon-card-label {
  margin-top: var(--s3);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.moon-card-sub {
  margin-top: var(--s1);
  font-size: 0.92rem;
  color: var(--text-light-muted);
}

/* Compact hero for inner pages */
.page-hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(50% 90% at 88% 10%, var(--glow-accent), transparent 60%),
    radial-gradient(80% 90% at 4% 0%, var(--glow-primary), transparent 64%),
    linear-gradient(162deg, var(--primary-900) 0%, var(--primary) 100%);
  color: var(--text-light);
  padding: var(--s6) 0 calc(var(--s6) + var(--s4));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 2.5rem));
  margin-bottom: calc(var(--s4) * -1);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.7;
}

.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: var(--s3); }
.page-hero .lede { max-width: 58ch; }

/* ---------- Sections ---------- */

.section { padding: var(--s7) 0; }
.section-alt { background: var(--surface-alt); }
.section-tight { padding: var(--s6) 0; }

.section-dark {
  background:
    radial-gradient(70% 120% at 85% 0%, var(--glow-primary), transparent 60%),
    linear-gradient(120deg, var(--primary-900), var(--primary-700));
  color: var(--text-light);
  padding: var(--s7) 0;
}
.section-dark h2, .section-dark h3 { color: var(--text-light); }

.section-head { max-width: 62ch; margin-bottom: var(--s5); }
.section-head p { color: var(--text-muted); }
.section-dark .section-head p { color: var(--text-light-muted); }

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s4);
  margin-bottom: var(--s5);
  flex-wrap: wrap;
}
.section-head-row .section-head { margin-bottom: 0; }

/* ---------- Icon tiles ---------- */

.icon-tile {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--tile-bg);
  color: var(--primary);
  margin-bottom: var(--s3);
  flex: none;
}
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile-dark { background: var(--tile-bg-dark); color: var(--accent-soft); }

/* ---------- Value props ---------- */

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s5);
}

.value-item h3 { margin-bottom: var(--s2); }
.value-item p { color: var(--text-muted); font-size: 0.98rem; }
.section-dark .value-item p { color: var(--text-light-muted); }

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s4);
}
.services-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.service-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--s5) var(--s4);
  box-shadow: var(--shadow-md);
  transition: transform var(--speed) ease, box-shadow var(--speed) ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.service-card h3 { margin-bottom: var(--s2); }
.service-desc { color: var(--text-muted); font-size: 0.98rem; }

.service-list {
  list-style: none;
  padding: var(--s3) 0 0;
  margin: var(--s3) 0 0;
  border-top: 1px solid var(--border);
}
.service-list li {
  position: relative;
  padding-left: var(--s4);
  font-size: 0.94rem;
  color: var(--text-muted);
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--accent);
}

/* ---------- Split band ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: var(--s6);
}
.split-reverse .split-media { order: -1; }

.split-copy p { color: var(--text-muted); }
.section-dark .split-copy p { color: var(--text-light-muted); }

.split-media { position: relative; }

.orbit-frame {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: linear-gradient(155deg, var(--panel-wash), var(--panel-wash-soft));
  padding: var(--s5);
  overflow: hidden;
}
.orbit-frame svg { width: 100%; height: auto; display: block; color: var(--accent-soft); }

.panel-light {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--s5);
  box-shadow: var(--shadow-md);
}
.panel-light svg { width: 100%; height: auto; display: block; color: var(--primary-300); }

/* ---------- Steps (a real sequence) ---------- */

.steps {
  list-style: none;
  margin: var(--s6) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s4);
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding-top: var(--s3);
  border-top: 2px solid var(--border-light);
  margin: 0;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--accent-soft);
  margin-bottom: var(--s1);
}
.steps h3 { font-size: 1.05rem; margin-bottom: var(--s1); }
.steps p { font-size: 0.94rem; color: var(--text-light-muted); }

/* ---------- Credentials strip ---------- */

.cred-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.cred-item {
  padding: var(--s4);
  border-right: 1px solid var(--border);
}
.cred-item:last-child { border-right: 0; }
.cred-label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s1);
}
.cred-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

/* ---------- CTA strip ---------- */

.cta-strip {
  background:
    radial-gradient(60% 140% at 90% 10%, var(--glow-accent), transparent 60%),
    linear-gradient(115deg, var(--primary), var(--primary-900));
  color: var(--text-light);
  padding: var(--s6) 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  flex-wrap: wrap;
}
.cta-inner h2 { margin-bottom: var(--s2); }
.cta-inner p { color: var(--text-light-muted); max-width: 52ch; }
.cta-actions { display: flex; gap: var(--s3); flex-wrap: wrap; }

/* ---------- Prose (legal + long copy) ---------- */

.prose { max-width: 72ch; }
.prose h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  margin-top: var(--s5);
  margin-bottom: var(--s2);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s4); margin-bottom: var(--s2); }
.prose p, .prose li { color: var(--text-muted); }
.prose li { margin-bottom: var(--s2); }
.prose ul { padding-left: var(--s4); }

.legal-meta {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--s3) var(--s4);
  margin-bottom: var(--s5);
  font-size: 0.94rem;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--s6);
  align-items: start;
}

.contact-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--s5);
  box-shadow: var(--shadow-md);
}
.contact-card .form-grid { margin-top: var(--s4); }

.detail-list { list-style: none; margin: 0; padding: 0; }
.detail-list li {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--border);
  margin: 0;
}
.detail-list li:last-child { border-bottom: 0; }
.detail-list .icon-tile { margin-bottom: 0; width: 38px; height: 38px; }
.detail-list .icon-tile svg { width: 20px; height: 20px; }
.detail-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.detail-value { display: block; color: var(--text-dark); }

.form-grid { display: grid; gap: var(--s3); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }

.field { display: grid; gap: var(--s1); }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--text-dark); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: var(--s2) var(--s3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--speed) ease, box-shadow var(--speed) ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary-300);
  box-shadow: var(--ring);
}

.form-note { font-size: 0.88rem; color: var(--text-muted); margin-top: var(--s2); }

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

.footer {
  background: var(--primary-900);
  color: var(--text-light-muted);
  border-top: 1px solid var(--hairline-dark);
  padding-top: var(--s6);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--s5);
  padding-bottom: var(--s5);
}

.footer-col { min-width: 0; }

.footer-title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 0 0 var(--s3);
}

.footer-blurb { max-width: 40ch; margin-bottom: var(--s3); }

.footer-reg { font-size: 0.88rem; color: var(--text-light-muted); margin: 0; }

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: var(--s2); }
.footer-links a { color: var(--text-light-muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent-soft); text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid var(--hairline-dark);
  padding: var(--s3) 0;
  background: var(--primary-900);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  flex-wrap: wrap;
  font-size: 0.86rem;
}
.footer-legal { display: flex; gap: var(--s3); flex-wrap: wrap; }
.footer-legal a { color: var(--text-light-muted); text-decoration: none; }
.footer-legal a:hover { color: var(--accent-soft); }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .value-grid,
  .services-grid,
  .services-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred-item:nth-child(2) { border-right: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { gap: var(--s5); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-inner { position: relative; }

  .nav-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s3);
    padding: var(--s4);
    background: var(--primary-900);
    border-bottom: 1px solid var(--hairline-dark);
  }
  .nav-menu.is-open { display: flex; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: var(--s2); }
  .nav-link { padding: var(--s1) 0; font-size: 1rem; }
  .nav-menu .btn { align-self: flex-start; }

  .section, .section-dark { padding: var(--s6) 0; }
  .section-tight { padding: var(--s5) 0; }

  .hero { padding: var(--s6) 0 calc(var(--s6) + var(--s4)); }
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-visual { display: none; }

  .page-hero { padding: var(--s5) 0 calc(var(--s5) + var(--s4)); }

  .value-grid,
  .services-grid,
  .services-grid-2,
  .steps,
  .cred-strip,
  .split,
  .contact-grid,
  .form-row { grid-template-columns: minmax(0, 1fr); }

  .steps { margin-top: var(--s5); }
  .split { gap: var(--s5); }
  .split-reverse .split-media { order: 0; }

  .cred-item { border-right: 0; border-bottom: 1px solid var(--border); }
  .cred-item:last-child { border-bottom: 0; }

  .contact-card { padding: var(--s4); }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .footer-bottom-inner { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .hero-actions .btn,
  .cta-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .btn:hover,
  .service-card:hover { transform: none; }
}
