/* AMS Hair Studio Pty Ltd - stylesheet
   Art direction: aubergine + rose, soft shape language, arched "salon mirror" motif. */

:root {
  /* Colour */
  --primary: #3b2438;
  --primary-deep: #26151f;
  --primary-mid: #4e3049;
  --footer-bar: #321d2b;
  --accent: #a83c57;
  --accent-hover: #8e2e46;
  --accent-soft: #eaa7b8;
  --accent-tint: #f6e3e8;
  --bg: #f7f4f5;
  --surface: #ffffff;
  --mist: #efe8ec;
  --border: #e5dce1;
  --border-strong: #cdbfc7;
  --text-dark: #1f181d;
  --text-body: #3d353a;
  --text-light: #655a61;
  --on-dark: #f6eff3;
  --on-dark-muted: #cdbec7;
  --on-accent: #ffffff;
  --mask-solid: #000000;

  /* Translucent tones (only used through these tokens) */
  --nav-bg: rgba(247, 244, 245, 0.84);
  --glow-rose: rgba(168, 60, 87, 0.2);
  --glow-plum: rgba(78, 48, 73, 0.18);
  --glow-rose-dark: rgba(234, 167, 184, 0.16);
  --dot: rgba(59, 36, 56, 0.14);
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-dark-strong: rgba(255, 255, 255, 0.34);
  --ring: rgba(168, 60, 87, 0.22);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(38, 21, 31, 0.04), 0 8px 24px rgba(38, 21, 31, 0.06);
  --shadow-md: 0 2px 4px rgba(38, 21, 31, 0.06), 0 14px 32px rgba(38, 21, 31, 0.1);
  --shadow-lg: 0 4px 8px rgba(38, 21, 31, 0.08), 0 28px 60px rgba(38, 21, 31, 0.18);
  --shadow-btn: 0 1px 2px rgba(142, 46, 70, 0.2), 0 6px 16px rgba(168, 60, 87, 0.22);
  --shadow-btn-hover: 0 2px 4px rgba(142, 46, 70, 0.22), 0 10px 22px rgba(168, 60, 87, 0.3);

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

  /* Shape */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --radius-arch: 999px 999px 18px 18px;
  --hairline: 1px;
  --bar: 2px;

  /* Layout */
  --container: 1140px;
  --gutter: 1.25rem;
  --measure: 66ch;
  --nav-h: 4.5rem;

  /* Type */
  --font-body: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --fs-hero: clamp(2.25rem, 5vw, 4rem);
  --fs-page: clamp(2rem, 4.2vw, 3.1rem);
  --fs-h2: clamp(1.6rem, 3vw, 2.4rem);
  --fs-h3: 1.3rem;
  --fs-lead: clamp(1.075rem, 1.4vw, 1.2rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.78rem;

  /* Motion */
  --ease: 180ms ease;
}

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

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

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

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

p { margin: 0 0 var(--s3); max-width: var(--measure); }

a { color: var(--accent); text-underline-offset: 0.2em; transition: color var(--ease); }
a:hover { color: var(--accent-hover); }

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

svg { flex-shrink: 0; }

.skip-link {
  position: absolute;
  left: var(--s3);
  top: calc(-1 * var(--s6));
  z-index: 100;
  padding: var(--s1) var(--s3);
  background: var(--primary);
  color: var(--on-dark);
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: var(--s3); color: var(--on-dark); }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s2);
}

.lead { font-size: var(--fs-lead); color: var(--text-light); }

.section { padding: var(--s7) 0; }
.section-alt { background: var(--mist); }

.section-head { max-width: 42rem; margin-bottom: var(--s5); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { color: var(--text-light); }

.section-foot { margin: var(--s5) 0 0; }

.text-link { font-weight: 600; }

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

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  color: var(--text-dark);
  text-decoration: none;
}
.brand:hover { color: var(--text-dark); }

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

.nav-links a {
  position: relative;
  display: inline-block;
  padding: var(--s1) 0;
  color: var(--text-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--s0);
  height: var(--bar);
  border-radius: var(--radius-pill);
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.nav-links a:hover { color: var(--text-dark); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--text-dark); font-weight: 650; }

.nav-links .btn { padding: var(--s1) var(--s4); }
.nav-links .btn::after { display: none; }
.nav-links .btn-primary,
.nav-links .btn-primary:hover { color: var(--on-accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: var(--s0);
  width: 2.75rem;
  height: 2.75rem;
  padding: 0 var(--s2);
  border: var(--hairline) solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: var(--bar);
  border-radius: var(--radius-pill);
  background: var(--text-dark);
}

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

.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); box-shadow: var(--shadow-btn-hover); }

.btn-outline { background: transparent; color: var(--primary); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--surface); color: var(--primary); border-color: var(--primary); box-shadow: var(--shadow-sm); }

.btn-light { background: var(--accent-soft); color: var(--primary-deep); }
.btn-light:hover { background: var(--on-dark); color: var(--primary-deep); }

.btn-ghost-light { background: transparent; color: var(--on-dark); border-color: var(--line-dark-strong); }
.btn-ghost-light:hover { color: var(--on-dark); border-color: var(--on-dark); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* ---------- Hero ---------- */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(42rem 30rem at 88% 12%, var(--glow-rose), transparent 70%),
    radial-gradient(34rem 26rem at 6% 96%, var(--glow-plum), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--mist) 100%);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.6px);
  background-size: var(--s4) var(--s4);
  -webkit-mask-image: linear-gradient(115deg, transparent 20%, var(--mask-solid) 75%);
  mask-image: linear-gradient(115deg, transparent 20%, var(--mask-solid) 75%);
  pointer-events: none;
}

.hero > .container,
.page-hero > .container { position: relative; z-index: 1; }

.hero {
  display: flex;
  align-items: center;
  min-height: 62vh;
  padding: var(--s7) 0 calc(var(--s7) + var(--s3));
  border-radius: 0 0 50% 50% / 0 0 var(--s6) var(--s6);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s6);
  align-items: center;
}

.hero h1 { font-size: var(--fs-hero); line-height: 1.05; margin-bottom: var(--s4); max-width: 13ch; }
.hero .lead { max-width: 34rem; margin-bottom: var(--s5); }

.hero-note { margin: var(--s4) 0 0; font-size: var(--fs-small); color: var(--text-light); }

.hero-visual { position: relative; padding: var(--s4) 0 var(--s4) var(--s5); }

.arch {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  max-width: 22rem;
  margin-left: auto;
  overflow: hidden;
  border-radius: var(--radius-arch);
  background:
    radial-gradient(16rem 14rem at 80% 10%, var(--glow-rose-dark), transparent 70%),
    linear-gradient(165deg, var(--primary-mid) 0%, var(--primary) 45%, var(--primary-deep) 100%);
  box-shadow: var(--shadow-lg);
  color: var(--accent-soft);
}

.arch svg { display: block; width: 100%; height: 100%; }

.arch-outline {
  position: absolute;
  top: 0;
  right: calc(-1 * var(--s3));
  width: 100%;
  max-width: 22rem;
  aspect-ratio: 3 / 4;
  border: var(--hairline) solid var(--border-strong);
  border-radius: var(--radius-arch);
  pointer-events: none;
}

.art-cut { color: var(--on-dark); }

.monogram-card {
  position: absolute;
  left: 0;
  bottom: var(--s6);
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s3) var(--s4) var(--s3) var(--s3);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.monogram-card strong { display: block; font-family: var(--font-display); color: var(--text-dark); font-size: 1.05rem; line-height: 1.2; }
.monogram-card div > span { display: block; font-size: var(--fs-small); color: var(--text-light); }

/* Page hero (inner pages) */
.page-hero {
  padding: var(--s6) 0 calc(var(--s6) + var(--s2));
  border-radius: 0 0 50% 50% / 0 0 var(--s5) var(--s5);
}
.page-hero h1 { font-size: var(--fs-page); max-width: 20ch; }
.page-hero .lead { max-width: 40rem; margin-bottom: 0; }

/* ---------- Split band ---------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--s6);
  align-items: start;
}
.split h2 { font-size: var(--fs-h2); }
.split-intro p { color: var(--text-light); }

.point-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }

.point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s3);
  padding-bottom: var(--s4);
  border-bottom: var(--hairline) solid var(--border);
}
.point:last-child { padding-bottom: 0; border-bottom: 0; }
.point h3 { font-size: var(--fs-h3); margin-bottom: var(--s1); }
.point p { margin: 0; color: var(--text-light); }

.icon-tile {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background: var(--accent-tint);
  color: var(--accent);
}
.icon-tile svg { width: 1.5rem; height: 1.5rem; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  padding: var(--s5) var(--s4);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.service-card h3 { font-size: var(--fs-h3); margin: var(--s2) 0 0; }
.service-card p { margin: 0; color: var(--text-light); font-size: 1rem; }

/* ---------- Dark feature band ---------- */
.band-dark {
  background:
    radial-gradient(36rem 26rem at 92% 8%, var(--glow-rose-dark), transparent 70%),
    var(--primary-deep);
  color: var(--on-dark-muted);
}
.band-dark h2, .band-dark h3 { color: var(--on-dark); }
.band-dark .eyebrow { color: var(--accent-soft); }
.band-dark a:not(.btn) { color: var(--accent-soft); }
.band-dark :focus-visible { outline-color: var(--accent-soft); }

.feature {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--s6);
  align-items: center;
}
.feature h2 { font-size: var(--fs-h2); }
.feature .btn-row { margin-top: var(--s4); }

.arch-sm {
  max-width: 17rem;
  margin: 0 auto;
  box-shadow: none;
  border: var(--hairline) solid var(--line-dark);
}

/* ---------- Credentials ---------- */
.cred-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s2); margin-bottom: var(--s4); }
.cred-head h2 { font-size: 1.4rem; margin: 0; }
.cred-head p { margin: 0; font-size: var(--fs-small); color: var(--text-light); }

.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--hairline);
  margin: 0;
  overflow: hidden;
  background: var(--border);
  border: var(--hairline) solid var(--border);
  border-radius: var(--radius);
}

.cred { padding: var(--s4); background: var(--surface); }
.cred dt { font-size: var(--fs-small); color: var(--text-light); margin-bottom: var(--s0); }
.cred dd { margin: 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--text-dark); }

/* ---------- CTA strip ---------- */
.cta-strip { padding: var(--s6) 0 var(--s7); }
.section:not(.section-alt) + .cta-strip.section-tight { padding-top: 0; }

.cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  padding: var(--s6) var(--s5);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(30rem 20rem at 100% 0%, var(--glow-rose-dark), transparent 70%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: var(--on-dark-muted);
}
.cta-panel h2 { font-size: var(--fs-h2); color: var(--on-dark); margin-bottom: var(--s1); }
.cta-panel p { margin: 0; max-width: 36rem; }
.cta-panel :focus-visible { outline-color: var(--accent-soft); }

/* ---------- About ---------- */
.prose h2 { font-size: var(--fs-h2); }
.prose p, .prose li { max-width: var(--measure); }

.panel {
  padding: var(--s5);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.panel h2 { font-size: 1.35rem; }

.facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s2) var(--s4);
  margin: 0;
}
.facts dt { color: var(--text-light); font-size: 0.95rem; }
.facts dd { margin: 0; color: var(--text-dark); font-weight: 600; word-break: break-word; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}

.step {
  padding: var(--s4) 0 0;
  border-top: var(--bar) solid var(--accent);
}
.step-num {
  display: block;
  margin-bottom: var(--s2);
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--accent);
}
.step h3 { font-size: var(--fs-h3); margin-bottom: var(--s1); }
.step p { margin: 0; color: var(--text-light); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--s6);
  align-items: start;
}
.contact-grid h2 { font-size: var(--fs-h2); }

.contact-list { list-style: none; margin: var(--s4) 0; padding: 0; display: grid; gap: var(--s4); }

.contact-item { display: grid; grid-template-columns: auto 1fr; gap: var(--s3); align-items: center; }
.contact-item strong { display: block; font-size: var(--fs-small); font-weight: 600; color: var(--text-light); }
.contact-item div > span,
.contact-item div > a { font-size: 1.05rem; color: var(--text-dark); word-break: break-word; }
.contact-item div > a { color: var(--accent); }

.small-print { font-size: var(--fs-small); color: var(--text-light); }

.form-card h2 { font-size: 1.5rem; }

.field { display: grid; gap: var(--s1); margin-bottom: var(--s4); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }

.field label { font-size: 0.95rem; font-weight: 600; color: var(--text-dark); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: var(--s2) var(--s3);
  font: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--bg);
  border: var(--hairline) solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--ease), box-shadow var(--ease), background-color var(--ease);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; background: var(--surface); border-color: var(--accent); box-shadow: 0 0 0 4px var(--ring); }

/* ---------- Legal ---------- */
.legal-layout {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: var(--s6);
  align-items: start;
}

.toc {
  position: sticky;
  top: calc(var(--nav-h) + var(--s4));
  padding: var(--s4);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.toc h2 { font-family: var(--font-body); font-size: 0.95rem; letter-spacing: 0; margin-bottom: var(--s2); }
.toc ol { margin: 0; padding-left: var(--s4); display: grid; gap: var(--s0); font-size: var(--fs-small); }
.toc a { color: var(--text-body); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }

.legal { min-width: 0; }
.legal h2 { font-size: 1.5rem; margin-top: var(--s5); scroll-margin-top: calc(var(--nav-h) + var(--s3)); }
.legal h2:first-of-type { margin-top: 0; }
.legal ul { padding-left: var(--s4); margin: 0 0 var(--s3); }
.legal li { margin-bottom: var(--s1); max-width: var(--measure); }
.legal-meta { font-size: var(--fs-small); color: var(--text-light); margin-bottom: var(--s5); }

/* ---------- Footer ---------- */
.footer {
  background: var(--primary-deep);
  color: var(--on-dark-muted);
  border-top: var(--hairline) solid var(--line-dark);
  font-size: 0.95rem;
}

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

.footer h2 {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: var(--s3);
}

.footer p { margin: var(--s3) 0 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); }
.footer a { color: var(--on-dark-muted); text-decoration: none; word-break: break-word; }
.footer a:hover { color: var(--accent-soft); text-decoration: underline; }
.footer :focus-visible { outline-color: var(--accent-soft); }

.footer .brand, .footer .brand:hover { color: var(--on-dark); text-decoration: none; }
.footer .brand-mark { background: var(--accent); color: var(--on-accent); }

.footer-reg { font-size: var(--fs-small); line-height: 1.7; }

.footer-bottom { background: var(--footer-bar); border-top: var(--hairline) solid var(--line-dark); font-size: var(--fs-small); }
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  padding-top: var(--s3);
  padding-bottom: var(--s3);
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--s4); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: var(--s6) 0; }
  .cta-strip { padding: var(--s5) 0 var(--s6); }

  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: var(--s1);
    padding: var(--s2);
    background: var(--surface);
    border: var(--hairline) solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: var(--s2) var(--s3); }
  .nav-links a::after { left: var(--s3); right: auto; width: var(--s4); bottom: var(--s1); }
  .nav-links .btn { display: flex; margin-top: var(--s1); padding: var(--s2) var(--s4); }

  .hero { min-height: 0; padding: var(--s6) 0 calc(var(--s6) + var(--s2)); border-radius: 0 0 50% 50% / 0 0 var(--s5) var(--s5); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .page-hero { padding: var(--s5) 0 var(--s6); }

  .split, .feature, .contact-grid, .legal-layout { grid-template-columns: 1fr; gap: var(--s5); }
  .arch-sm { max-width: 11rem; }

  .services-grid, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }

  .panel { padding: var(--s4); }
  .cta-panel { padding: var(--s5) var(--s4); }
  .toc { position: static; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .cred-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts dd { margin-bottom: var(--s2); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .btn:hover { transform: none; }
}
