/* ==========================================================================
   Little Play Franchising Australia Pty Ltd
   Art direction: "soft-play blocks" — deep teal-ink brand, mandarin accent,
   warm sand neutrals, rounded system display face, soft shape language.
   All colour / spacing / radius / shadow values are declared once here.
   ========================================================================== */

:root {
  /* Brand */
  --primary: #14413f;
  --primary-700: #0e312f;
  --primary-500: #1c5a56;
  --primary-tint: #e4efec;
  --primary-tint-2: #d2e3df;

  /* Accent (used sparingly: CTAs, eyebrows, small marks) */
  --accent: #e2703a;
  --accent-ink: #b4491c;
  --accent-light: #f2a776;
  --accent-tint: #fbe7da;

  /* Neutral ramp (warm) */
  --bg: #fbf8f4;
  --surface: #ffffff;
  --surface-2: #f3ede6;
  --border: #e4dbd1;
  --border-strong: #d2c6b8;

  /* Text */
  --text-dark: #1b2422;
  --text-mid: #4e5a57;
  --footer-text: #c6d6d2;
  --footer-dim: #9fb5b0;

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

  /* Radius — soft shape language, held everywhere */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 40px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(27, 36, 34, .05);
  --shadow: 0 1px 2px rgba(27, 36, 34, .04), 0 8px 24px rgba(27, 36, 34, .07);
  --shadow-lg: 0 2px 6px rgba(27, 36, 34, .05), 0 24px 48px rgba(27, 36, 34, .10);
  --ring: 0 0 0 3px rgba(180, 73, 28, .40);
  --ring-light: 0 0 0 3px rgba(242, 167, 118, .55);

  /* Layout */
  --container: 1140px;
  --gutter: 22px;

  /* Type */
  --font-body: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: ui-rounded, "SF Pro Rounded", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;

  /* Composed backgrounds (kept here so no colour literal appears below) */
  --hero-bg:
    radial-gradient(120% 90% at 88% 6%, rgba(242, 167, 118, .30) 0%, rgba(242, 167, 118, 0) 58%),
    radial-gradient(90% 70% at 4% 96%, rgba(28, 90, 86, .16) 0%, rgba(28, 90, 86, 0) 60%),
    linear-gradient(168deg, #ffffff 0%, #f7f1ea 46%, #e9f0ed 100%);
  --dot-matrix: radial-gradient(rgba(20, 65, 63, .13) 1.4px, rgba(0, 0, 0, 0) 1.5px);
  --band-bg:
    radial-gradient(80% 120% at 90% 0%, rgba(226, 112, 58, .22) 0%, rgba(226, 112, 58, 0) 55%),
    linear-gradient(150deg, #14413f 0%, #0e312f 100%);
  --panel-bg: linear-gradient(155deg, #1c5a56 0%, #14413f 100%);
  --panel-accent-bg: linear-gradient(150deg, #f2a776 0%, #e2703a 100%);
  --rule: 1px solid var(--border);
  --ease: cubic-bezier(.2, .7, .3, 1);
}

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

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.65;
  color: var(--text-mid);
  background: var(--bg);
  overflow-x: hidden;
}

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

h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 1.4vw, 1.3rem); 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-ink); 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); }
li:last-child { margin-bottom: 0; }

strong { color: var(--text-dark); font-weight: 700; }

svg { display: block; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ------------------------------------------------------------- Layout */

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

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

.measure { max-width: 66ch; }
.measure-wide { max-width: 72ch; }

.section-head { max-width: 62ch; margin-bottom: var(--s5); }
.section-head.centred { margin-left: auto; margin-right: auto; text-align: center; }

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

.lead {
  font-size: clamp(1.05rem, .98rem + .45vw, 1.25rem);
  color: var(--text-mid);
  max-width: 60ch;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: .8rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              color .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { box-shadow: var(--ring); }

.btn-primary { background: var(--primary); color: var(--surface); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-500); color: var(--surface); box-shadow: var(--shadow); }

.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); }

.btn-accent { background: var(--accent-ink); color: var(--surface); box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: var(--accent); color: var(--surface); box-shadow: var(--shadow); }

.btn-light { background: var(--surface); color: var(--primary-700); }
.btn-light:hover { background: var(--accent-tint); color: var(--primary-700); }

.btn-ghost-light { background: transparent; color: var(--surface); border-color: rgba(255, 255, 255, .45); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .10); color: var(--surface); border-color: var(--surface); }
.btn-ghost-light:focus-visible { box-shadow: var(--ring-light); }

.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.btn-row.centred { justify-content: center; }

/* ---------------------------------------------------------------- Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 244, .82);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: var(--rule);
}

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

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

.wordmark-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  background: var(--panel-bg);
  color: var(--surface);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -.03em;
  box-shadow: var(--shadow-sm);
}

.wordmark-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.wordmark-sub {
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-mid);
}

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

.nav-link {
  position: relative;
  padding: var(--s1) 0;
  font-size: .96rem;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  transition: color .18s var(--ease);
}
.nav-link:hover { color: var(--primary); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .18s var(--ease);
}
.nav-link:hover::after { transform: scaleX(.5); }
.nav-link.is-active { color: var(--primary); }
.nav-link.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: var(--radius-pill);
  background: var(--primary);
}

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

.hero {
  position: relative;
  background: var(--hero-bg);
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--dot-matrix);
  background-size: 26px 26px;
  opacity: .5;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  align-items: center;
  gap: var(--s6);
  min-height: 62vh;
  padding: var(--s7) 0;
}

.hero-title { margin-bottom: var(--s4); }
.hero-title .hero-accent { color: var(--primary-500); }

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  margin-top: var(--s4);
  padding: var(--s1) var(--s3);
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: var(--rule);
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .01em;
  color: var(--text-mid);
  box-shadow: var(--shadow-sm);
}
.hero-note-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  flex: 0 0 auto;
}

/* Visual anchor: overlapping soft-play panels drawn in CSS + inline SVG */

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

.anchor-back {
  position: absolute;
  right: var(--s5);
  top: 0;
  width: 62%;
  height: 72%;
  border-radius: var(--radius-lg);
  background: var(--panel-accent-bg);
  opacity: .85;
  transform: rotate(-4deg);
}

.anchor-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--panel-bg);
  color: var(--surface);
  padding: var(--s4);
  box-shadow: var(--shadow-lg);
}
.anchor-card .anchor-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--surface);
  margin: 0 0 var(--s1);
}
.anchor-card .anchor-sub {
  font-size: .88rem;
  color: var(--footer-text);
  margin: 0;
}
.anchor-art {
  width: 100%;
  height: auto;
  margin-bottom: var(--s3);
  color: var(--accent-light);
}

.anchor-chip {
  position: absolute;
  left: 0;
  bottom: calc(-1 * var(--s2));
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s3);
  border-radius: var(--radius);
  background: var(--surface);
  border: var(--rule);
  box-shadow: var(--shadow);
}
.anchor-chip-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mid);
  display: block;
}
.anchor-chip-value {
  font-family: var(--font-mono);
  font-size: .86rem;
  color: var(--text-dark);
  display: block;
}

/* ---------------------------------------------------------- Page hero */

.page-hero {
  position: relative;
  background: var(--hero-bg);
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--dot-matrix);
  background-size: 26px 26px;
  opacity: .45;
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  padding: var(--s6) 0;
  max-width: 68ch;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: var(--s3); }

/* ------------------------------------------------------------- Cards */

.icon-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  background: var(--primary-tint);
  color: var(--primary);
  margin-bottom: var(--s3);
}
.icon-tile-accent { background: var(--accent-tint); color: var(--accent-ink); }
.icon-tile-dark { background: rgba(255, 255, 255, .10); color: var(--accent-light); }

.prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}
.prop {
  padding: var(--s4);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: var(--rule);
}
.prop h3 { margin-bottom: var(--s1); }
.prop p { font-size: .96rem; }

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

.service-card {
  display: flex;
  flex-direction: column;
  padding: var(--s5) var(--s4);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.service-card h3 { margin-bottom: var(--s2); }
.service-card p { font-size: .96rem; }
a.service-card { text-decoration: none; color: var(--text-mid); }
a.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text-mid); }

.card-link {
  margin-top: var(--s3);
  font-size: .9rem;
  font-weight: 700;
  color: var(--accent-ink);
}

.checklist { list-style: none; margin: var(--s3) 0 0; padding: 0; }
.checklist li {
  display: flex;
  gap: var(--s2);
  align-items: flex-start;
  margin-bottom: var(--s2);
  font-size: .96rem;
}
.checklist svg { flex: 0 0 auto; margin-top: 3px; color: var(--accent-ink); }

/* --------------------------------------------------- Two-column split */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: center;
}
.split-reverse .split-visual { order: -1; }

.floorplan {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: repeat(3, auto);
  gap: var(--s2);
  padding: var(--s3);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: var(--rule);
  box-shadow: var(--shadow);
}
.zone {
  border-radius: var(--radius);
  padding: var(--s3);
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--primary-tint);
  color: var(--primary-700);
}
.zone-wide { grid-column: 1 / -1; }
.zone-tall { grid-row: span 2; }
.zone-accent { background: var(--accent-tint); color: var(--accent-ink); }
.zone-deep { background: var(--panel-bg); color: var(--surface); }
.zone-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .8;
}
.zone-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: -.01em;
}

/* -------------------------------------------------------------- Steps */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--s3);
  align-items: start;
  padding: var(--s4);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: var(--rule);
  margin: 0;
}
.step-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--surface);
  font-family: var(--font-mono);
  font-size: .95rem;
  font-weight: 700;
}
.step h3 { margin-bottom: var(--s1); }
.step p { font-size: .96rem; }

/* ----------------------------------------------------- Full-bleed band */

.band {
  background: var(--band-bg);
  color: var(--footer-text);
  border-radius: var(--radius-xl);
  margin: 0 var(--gutter);
  padding: var(--s7) 0;
}
.band h2, .band h3 { color: var(--surface); }
.band .lead { color: var(--footer-text); }

.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
  margin-top: var(--s5);
}
.cred {
  padding: var(--s3) var(--s4);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
}
.cred-label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--footer-dim);
  margin-bottom: var(--s1);
}
.cred-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--surface);
  letter-spacing: .01em;
}

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

.cta-band {
  background: var(--surface);
  border: var(--rule);
  border-radius: var(--radius-xl);
  padding: var(--s6) var(--s5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  box-shadow: var(--shadow);
}
.cta-band h2 { margin-bottom: var(--s2); }
.cta-band p { max-width: 52ch; }
.cta-band .btn-row { margin-top: 0; flex: 0 0 auto; }

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: var(--s5);
  align-items: start;
}

.contact-card {
  padding: var(--s5);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form { display: grid; gap: var(--s3); }
.field { display: grid; gap: var(--s1); }
.field-label {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: .01em;
}
.field-input,
.field-textarea,
.field-select {
  width: 100%;
  padding: var(--s2) var(--s3);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field-textarea { min-height: 140px; resize: vertical; }
.field-input:focus-visible,
.field-textarea:focus-visible,
.field-select:focus-visible { border-color: var(--accent-ink); box-shadow: var(--ring); }
.field-hint { font-size: .82rem; color: var(--text-mid); }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-item {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
  padding: var(--s3) 0;
  border-bottom: var(--rule);
}
.contact-item:last-child { border-bottom: 0; }
.contact-item svg { flex: 0 0 auto; margin-top: 3px; color: var(--primary-500); }
.contact-item-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.contact-item-value { display: block; color: var(--text-dark); font-weight: 600; word-break: break-word; }
.contact-item-value a { font-weight: 600; }

.detail-list { list-style: none; margin: 0; padding: 0; }
.detail-list li {
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s2) 0;
  border-bottom: var(--rule);
  font-size: .94rem;
}
.detail-list li:last-child { border-bottom: 0; }
.detail-list .detail-value { font-family: var(--font-mono); color: var(--text-dark); text-align: right; }

/* --------------------------------------------------------- Legal pages */

.legal { display: grid; grid-template-columns: 250px 1fr; gap: var(--s6); align-items: start; }

.toc {
  position: sticky;
  top: 96px;
  padding: var(--s4);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: var(--rule);
}
.toc h2 {
  font-size: .74rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: var(--s2);
}
.toc-list { list-style: none; margin: 0; padding: 0; }
.toc-list li { margin-bottom: var(--s1); }
.toc-list a { font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--text-mid); }
.toc-list a:hover { color: var(--accent-ink); text-decoration: underline; }

.legal-body { max-width: 72ch; }
.legal-body h2 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  margin-top: var(--s5);
  padding-top: var(--s4);
  border-top: var(--rule);
  scroll-margin-top: 96px;
}
.legal-body > h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body h3 { margin-top: var(--s4); }

.legal-meta {
  display: inline-block;
  padding: var(--s1) var(--s3);
  border-radius: var(--radius-pill);
  background: var(--primary-tint);
  color: var(--primary-700);
  font-family: var(--font-mono);
  font-size: .8rem;
}

.callout {
  padding: var(--s4);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border-left: 4px solid var(--accent);
  margin: var(--s4) 0;
}
.callout p { font-size: .96rem; }

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

.footer {
  background: var(--primary-700);
  color: var(--footer-text);
  margin-top: var(--s7);
  border-top: 4px solid var(--primary-500);
}
.footer a { color: var(--footer-text); text-decoration: none; }
.footer a:hover { color: var(--accent-light); text-decoration: underline; }
.footer a:focus-visible { box-shadow: var(--ring-light); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--s5);
  padding: var(--s6) 0 var(--s5);
}
.footer-col h2 {
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--footer-dim);
  margin-bottom: var(--s3);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s3);
  text-decoration: none;
}
.footer-brand .wordmark-text { color: var(--surface); }
.footer-brand .wordmark-sub { color: var(--footer-dim); }
.footer-brand:hover { text-decoration: none; }
.footer-blurb { font-size: .94rem; color: var(--footer-text); max-width: 40ch; }
.footer-reg {
  margin-top: var(--s3);
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--footer-dim);
  line-height: 1.7;
}
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: var(--s2); font-size: .94rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .03);
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  padding: var(--s3) 0;
  font-size: .86rem;
  color: var(--footer-dim);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--s3); }

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

@media (max-width: 1000px) {
  .prop-grid, .services-grid, .services-grid.two-up { grid-template-columns: repeat(2, 1fr); }
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal { grid-template-columns: 1fr; gap: var(--s5); }
  .toc { position: static; }
  .split { gap: var(--s5); }
}

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

  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s1);
    padding: var(--s3);
    border: var(--rule);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
  }
  .navbar-inner.open .nav-menu { display: flex; }
  .nav-link { padding: var(--s2) var(--s1); border-radius: var(--radius-sm); }
  .nav-link::after { bottom: 4px; }
  .nav-menu .btn { justify-content: center; margin-top: var(--s1); }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--s5);
    padding: var(--s5) 0 var(--s6);
    min-height: 0;
  }
  .anchor { padding-left: 0; }
  .anchor-back { right: var(--s3); }
  .anchor-chip { position: static; margin-top: var(--s3); display: inline-flex; }

  .prop-grid, .services-grid, .services-grid.two-up { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split-reverse .split-visual { order: 0; }
  .cred-grid { grid-template-columns: 1fr; }

  .band { padding: var(--s6) 0; border-radius: var(--radius-lg); margin: 0 var(--s2); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: var(--s5) var(--s4); border-radius: var(--radius-lg); }
  .cta-band .btn-row { margin-top: var(--s3); }

  .hero, .page-hero { border-bottom-left-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg); }
  .page-hero-inner { padding: var(--s5) 0; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--s4); padding-top: var(--s5); }
  .step { grid-template-columns: 40px 1fr; padding: var(--s3); }
  .step-num { width: 40px; height: 40px; }
  .contact-card { padding: var(--s4); }
  .detail-list li { flex-direction: column; gap: var(--s1); }
  .detail-list .detail-value { text-align: left; }
}

@media (max-width: 420px) {
  .wordmark-sub { display: none; }
}
