/* =========================================================
   DSDP Services Pty Ltd — styles.css
   Art direction: "the organised in-tray" — eucalyptus slate,
   marigold accent, cool grey-green neutrals, soft shape language.
   ========================================================= */

:root {
  /* Colour */
  --primary: #1F3A3D;
  --primary-deep: #142729;
  --primary-soft: #2C5155;
  --accent: #E3A72F;
  --accent-ink: #8A5A00;
  --accent-tint: #FBF1DC;
  --bg: #F5F7F6;
  --surface: #FFFFFF;
  --surface-2: #EAEFED;
  --tint: #E1EBE8;
  --border: #D3DBD8;
  --text-dark: #17211F;
  --text-light: #56625E;
  --text-on-dark: #F2F5F4;
  --text-on-dark-muted: #B9C8C4;
  --line-on-dark: rgba(242, 245, 244, 0.14);
  --grid-line: rgba(31, 58, 61, 0.07);
  --grid-line-dark: rgba(242, 245, 244, 0.05);
  --glow: rgba(227, 167, 47, 0.24);
  --glow-cool: rgba(44, 81, 85, 0.18);
  --nav-bg: rgba(245, 247, 246, 0.84);

  /* Type */
  --font-body: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --fs-hero: clamp(2.25rem, 5vw, 4rem);
  --fs-page: clamp(2rem, 4vw, 3rem);
  --fs-h2: clamp(1.6rem, 3vw, 2.4rem);
  --fs-h3: 1.2rem;
  --fs-lead: 1.1875rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.78rem;
  --measure: 66ch;

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

  /* Shape & depth */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --hair: 1px;
  --rule: 2px;
  --shadow-sm: 0 1px 2px rgba(23, 33, 31, 0.05);
  --shadow: 0 1px 2px rgba(23, 33, 31, 0.04), 0 8px 24px rgba(23, 33, 31, 0.07);
  --shadow-lg: 0 2px 4px rgba(23, 33, 31, 0.05), 0 20px 44px rgba(23, 33, 31, 0.14);
  --shadow-accent: 0 6px 18px rgba(138, 90, 0, 0.22);

  /* Layout */
  --container: 1140px;
  --gutter: 1.375rem;
  --nav-h: 4.25rem;
  --mark: 2.4rem;
  --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-dark);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s3);
  font-weight: 700;
  color: var(--text-dark);
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
p { margin: 0 0 var(--s3); max-width: var(--measure); }
ul, ol { margin: 0 0 var(--s3); padding-left: var(--s4); max-width: var(--measure); }
li { margin-bottom: var(--s1); }
a { color: var(--accent-ink); text-underline-offset: 0.18em; transition: color var(--ease); }
a:hover { color: var(--primary); }
strong { font-weight: 650; }

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

.muted { color: var(--text-light); }

/* ---------- Eyebrow (folder-tab label) ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-ink);
  background: var(--accent-tint);
  padding: var(--s1) var(--s3);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border-bottom: var(--rule) solid var(--accent);
  margin-bottom: var(--s3);
  line-height: 1.2;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  border: var(--rule) solid transparent;
  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(--primary-deep);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { color: var(--primary-deep); box-shadow: var(--shadow-accent); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--text-on-dark); }

.btn-light {
  background: transparent;
  color: var(--text-on-dark);
  border-color: var(--text-on-dark-muted);
}
.btn-light:hover { background: var(--text-on-dark); color: var(--primary-deep); border-color: var(--text-on-dark); }

.text-link {
  font-weight: 650;
  color: var(--accent-ink);
  text-decoration: underline;
  text-decoration-thickness: var(--rule);
  text-decoration-color: var(--accent);
}

/* ---------- Navbar ---------- */
.navbar {
  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(--hair) solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: var(--s4);
  position: relative;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  text-decoration: none;
  color: var(--text-dark);
}
.brand:hover { color: var(--text-dark); }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: var(--mark);
  height: var(--mark);
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.7rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-align: center;
  box-shadow: inset 0 calc(-1 * var(--rule)) 0 var(--accent);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--s4);
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}
.nav-menu li { margin: 0; }
.nav-link {
  position: relative;
  display: inline-block;
  padding: var(--s1) 0;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.98rem;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--rule);
  background: var(--accent);
  border-radius: var(--radius-pill);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--primary); font-weight: 700; }
.nav-link.is-active::after { transform: scaleX(1); height: 3px; }
.nav-cta { padding: 0.6rem 1.2rem; }

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  border: var(--hair) solid var(--border);
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle-bar {
  display: block;
  width: 1.2rem;
  height: var(--rule);
  background: var(--primary);
  border-radius: var(--radius-pill);
}

/* ---------- Hero ---------- */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 88% 18%, var(--glow), transparent 70%),
    radial-gradient(ellipse 50% 60% at 6% 96%, var(--glow-cool), transparent 70%),
    repeating-linear-gradient(0deg, var(--grid-line) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px 32px),
    linear-gradient(160deg, var(--bg) 0%, var(--surface-2) 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.5rem), 0 100%);
}
.hero { min-height: 62vh; padding: var(--s6) 0 calc(var(--s7) + var(--s4)); display: flex; align-items: center; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--s6);
  align-items: center;
}
.hero h1 {
  font-size: var(--fs-hero);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin-bottom: var(--s4);
}
.hero-lead {
  font-size: var(--fs-lead);
  color: var(--text-light);
  max-width: 48ch;
  margin-bottom: var(--s5);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* Folder-stack visual */
.hero-visual {
  position: relative;
  min-height: 24rem;
}
.folder {
  position: absolute;
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  box-shadow: var(--shadow);
}
.folder-tab {
  position: absolute;
  top: -1.9rem;
  left: 0;
  height: 2rem;
  padding: 0 var(--s3);
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.folder-back {
  inset: 2.5rem 0 3.5rem 18%;
  background: var(--primary);
  transform: rotate(4deg);
}
.folder-back .folder-tab { background: var(--primary); color: var(--accent); left: auto; right: var(--s5); }
.folder-mid {
  inset: 4.5rem 6% 2rem 8%;
  background: var(--tint);
  transform: rotate(-2.5deg);
}
.folder-mid .folder-tab { background: var(--tint); color: var(--primary); left: 40%; }
.folder-front {
  inset: 6.5rem 10% 0 0;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  padding: var(--s4);
}
.folder-front .folder-tab { background: var(--surface); color: var(--accent-ink); }
.folder-head {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding-bottom: var(--s2);
  margin-bottom: var(--s2);
  border-bottom: var(--hair) solid var(--border);
}
.folder-mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.6rem;
  line-height: 1;
  text-align: center;
}
.folder-title { font-weight: 700; font-size: 0.95rem; color: var(--text-dark); }
.task-list { list-style: none; padding: 0; margin: 0; max-width: none; }
.task {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s1) 0;
  margin: 0;
  font-size: var(--fs-small);
  color: var(--text-dark);
  border-bottom: var(--hair) dashed var(--border);
}
.task:last-child { border-bottom: 0; }
.task svg { flex: none; width: 1.15rem; height: 1.15rem; color: var(--primary-soft); }
.task-done { color: var(--text-light); text-decoration: line-through; text-decoration-color: var(--accent); }
.task-done svg { color: var(--accent-ink); }

/* Page hero (inner pages) */
.page-hero { padding: var(--s6) 0 calc(var(--s6) + var(--s4)); }
.page-hero-inner { max-width: 46rem; }
.page-hero h1 { font-size: var(--fs-page); margin-bottom: var(--s3); }
.page-hero p { font-size: var(--fs-lead); color: var(--text-light); margin: 0; }

/* ---------- Sections ---------- */
.section { padding: var(--s7) 0; }
.section-tight { padding: var(--s6) 0; }
.section-alt { background: var(--surface); border-top: var(--hair) solid var(--border); border-bottom: var(--hair) solid var(--border); }
.section-head { max-width: 44rem; margin-bottom: var(--s5); }
.section-head h2 { margin-bottom: var(--s3); }
.section-lead { color: var(--text-light); font-size: var(--fs-lead); }
.section-foot { margin-top: var(--s5); }

/* Value props: ruled columns, not cards */
.prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}
.prop {
  border-top: var(--rule) solid var(--primary);
  padding-top: var(--s4);
}
.prop h3 { margin-bottom: var(--s2); }
.prop p { color: var(--text-light); margin: 0; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}
.service-card {
  background: var(--surface);
  border: var(--hair) solid var(--border);
  border-radius: var(--radius);
  padding: var(--s5) var(--s4) var(--s4);
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--primary-soft); }
.service-card h3 { margin-bottom: var(--s2); }
.service-card p { color: var(--text-light); margin: 0; font-size: 1rem; }
.service-card ul { margin: var(--s3) 0 0; padding-left: var(--s4); font-size: var(--fs-small); color: var(--text-light); }
.service-card li { margin-bottom: var(--s1); }
.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background: var(--tint);
  color: var(--primary);
  margin-bottom: var(--s4);
}
.icon-tile svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Dark full-bleed band with split layout */
.band-dark {
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, var(--glow), transparent 65%),
    repeating-linear-gradient(135deg, var(--grid-line-dark) 0 1px, transparent 1px 14px),
    var(--primary);
  color: var(--text-on-dark);
}
.band-dark h2,
.band-dark h3 { color: var(--text-on-dark); }
.band-dark p { color: var(--text-on-dark-muted); }
.band-dark .eyebrow { background: var(--primary-soft); color: var(--accent); }
.band-dark a:not(.btn) { color: var(--accent); }
.band-dark :focus-visible { outline-color: var(--accent); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: center;
}
.split-reverse .split-copy { order: 2; }
.split-visual {
  border-radius: var(--radius);
  padding: var(--s5);
  background: var(--surface);
  border: var(--hair) solid var(--border);
  box-shadow: var(--shadow);
}
.band-dark .split-visual { background: var(--primary-deep); border-color: var(--line-on-dark); box-shadow: none; }
.checklist { list-style: none; padding: 0; margin: 0; max-width: none; }
.checklist li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: var(--s2);
  padding: var(--s3) 0;
  margin: 0;
  border-bottom: var(--hair) solid var(--border);
}
.band-dark .checklist li { border-bottom-color: var(--line-on-dark); color: var(--text-on-dark); }
.checklist li:last-child { border-bottom: 0; }
.checklist svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: var(--accent); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.split-visual .checklist svg { stroke: var(--accent-ink); }
.band-dark .split-visual .checklist svg { stroke: var(--accent); }
.checklist strong { display: block; }
.checklist span { display: block; font-size: var(--fs-small); color: var(--text-light); }
.band-dark .checklist span { color: var(--text-on-dark-muted); }

/* Credentials record */
.record {
  display: grid;
  grid-template-columns: 0.9fr 2.1fr;
  gap: var(--s5);
  align-items: start;
}
.record-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border: var(--hair) solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.record-item {
  padding: var(--s4);
  border-right: var(--hair) solid var(--border);
}
.record-item:last-child { border-right: 0; }
.record-label {
  font-size: var(--fs-small);
  color: var(--text-light);
  margin-bottom: var(--s1);
}
.record-value {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

/* Process steps (a real sequence) */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
  counter-reset: step;
}
.step {
  position: relative;
  margin: 0;
  padding-top: var(--s5);
  border-top: var(--rule) solid var(--border);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: calc(-1 * var(--s3) - 1px);
  left: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--accent);
  font-weight: 800;
  font-size: var(--fs-small);
}
.step h3 { margin-bottom: var(--s1); }
.step p { color: var(--text-light); font-size: 1rem; margin: 0; }

/* CTA strip */
.cta-strip { padding: var(--s6) 0; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  flex-wrap: wrap;
  padding: var(--s5);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 45% 120% at 100% 50%, var(--glow), transparent 70%),
    var(--primary);
  color: var(--text-on-dark);
}
.cta-inner h2 { color: var(--text-on-dark); margin-bottom: var(--s1); font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta-inner p { color: var(--text-on-dark-muted); margin: 0; }
.cta-inner :focus-visible { outline-color: var(--accent); }

/* Prose / legal */
.prose { max-width: var(--measure); }
.prose h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin-top: var(--s5); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s4); }
.legal-layout {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: var(--s6);
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--nav-h) + var(--s4));
  background: var(--surface);
  border: var(--hair) solid var(--border);
  border-radius: var(--radius);
  padding: var(--s4);
  font-size: var(--fs-small);
}
.legal-toc h2 { font-size: 1rem; margin-bottom: var(--s2); }
.legal-toc ol { padding-left: var(--s4); margin: 0; }
.legal-toc a { color: var(--text-dark); text-decoration: none; }
.legal-toc a:hover { color: var(--accent-ink); text-decoration: underline; }
.legal-meta { font-size: var(--fs-small); color: var(--text-light); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--s6);
  align-items: start;
}
.contact-card {
  background: var(--surface);
  border: var(--hair) solid var(--border);
  border-radius: var(--radius);
  padding: var(--s5);
  box-shadow: var(--shadow-sm);
}
.contact-card + .contact-card { margin-top: var(--s4); }
.contact-email {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  letter-spacing: -0.01em;
  word-break: break-word;
  margin-bottom: var(--s3);
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
  background: var(--surface);
  border: var(--hair) solid var(--border);
  border-radius: var(--radius);
  padding: var(--s5);
  box-shadow: var(--shadow);
}
.form h2 { grid-column: 1 / -1; margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
.field { display: flex; flex-direction: column; gap: var(--s1); }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 650; font-size: 0.95rem; }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--bg);
  border: var(--hair) solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--s2) var(--s3);
  transition: border-color var(--ease), box-shadow var(--ease);
  width: 100%;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--tint); }
.form-note { grid-column: 1 / -1; font-size: var(--fs-small); color: var(--text-light); margin: 0; }
.form-actions { grid-column: 1 / -1; }

/* ---------- Footer ---------- */
.footer {
  background: var(--primary-deep);
  color: var(--text-on-dark-muted);
  border-top: var(--rule) solid var(--accent);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: var(--s5);
  padding: var(--s6) 0 var(--s5);
}
.footer-brand .brand { color: var(--text-on-dark); margin-bottom: var(--s3); }
.footer-brand .brand:hover { color: var(--text-on-dark); }
.footer-brand p { color: var(--text-on-dark-muted); max-width: 36ch; }
.footer-meta { font-size: var(--fs-small); color: var(--text-on-dark-muted); margin: 0; }
.footer-heading {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--s3);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: var(--s1); }
.footer a { color: var(--text-on-dark); text-decoration: none; }
.footer a:hover { color: var(--accent); text-decoration: underline; }
.footer :focus-visible { outline-color: var(--accent); }
.footer-bottom {
  background: var(--primary);
  border-top: var(--hair) solid var(--line-on-dark);
  font-size: var(--fs-small);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  padding: var(--s3) var(--gutter);
}
.footer-bottom p { margin: 0; color: var(--text-on-dark-muted); max-width: none; }
.footer-bottom .footer-links { display: flex; gap: var(--s4); }
.footer-bottom .footer-links li { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 0.8fr; gap: var(--s5); }
  .record { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: var(--s5); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: calc(-1 * var(--gutter));
    right: calc(-1 * var(--gutter));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s2) var(--gutter) var(--s4);
    background: var(--bg);
    border-bottom: var(--hair) solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu li { border-bottom: var(--hair) solid var(--border); }
  .nav-menu li:last-child { border-bottom: 0; padding-top: var(--s3); }
  .nav-link { display: block; padding: var(--s2) 0; }
  .nav-link::after { right: auto; width: 2.5rem; }
  .nav-cta { width: 100%; }

  .hero { min-height: 0; padding: var(--s5) 0 var(--s6); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero, .page-hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.5rem), 0 100%); }
  .page-hero { padding: var(--s5) 0 var(--s6); }

  .section { padding: var(--s6) 0; }
  .prop-grid,
  .services-grid,
  .split,
  .contact-grid,
  .legal-layout { grid-template-columns: 1fr; }
  .prop-grid { gap: var(--s4); }
  .split { gap: var(--s5); }
  .split-reverse .split-copy { order: 0; }
  .split-visual { padding: var(--s4); }
  .record-grid { grid-template-columns: 1fr 1fr; }
  .record-item { border-bottom: var(--hair) solid var(--border); }
  .record-item:nth-child(2n) { border-right: 0; }
  .record-item:nth-last-child(-n+2) { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .form { grid-template-columns: 1fr; padding: var(--s4); }
  .contact-card { padding: var(--s4); }
  .cta-inner { padding: var(--s4); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s4); padding-top: var(--s5); }
}

@media (max-width: 400px) {
  .record-grid { grid-template-columns: 1fr; }
  .record-item { border-right: 0; border-bottom: var(--hair) solid var(--border); }
  .record-item:nth-last-child(2) { border-bottom: var(--hair) solid var(--border); }
  .hero-actions .btn { width: 100%; }
}

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