/* OZ Finance Group Pty Ltd - ozfinancegrouptec.online
   Art direction: "working ledger". Ironbark green, wattle-gold accent,
   cool sage neutrals, serif display over a system sans. Sharp shape language. */

:root {
  /* Colour */
  --primary: #1F3B33;
  --primary-deep: #14261F;
  --primary-mid: #2C5247;
  --primary-soft: #E4ECE7;
  --accent: #C9A227;
  --accent-hover: #D8B43D;
  --accent-ink: #7A5C0E;
  --bg: #F6F7F5;
  --surface: #FFFFFF;
  --surface-2: #EEF1EE;
  --border: #DCE2DD;
  --border-strong: #C3CCC6;
  --text-dark: #17211D;
  --text: #2A3631;
  --text-muted: #4F5B56;
  --text-light: #F3F6F4;
  --text-light-muted: #B7C5BE;

  /* Overlays */
  --rule-dark: rgba(255, 255, 255, 0.14);
  --rule-faint: rgba(255, 255, 255, 0.05);
  --rule-gold: rgba(201, 162, 39, 0.35);
  --glow: rgba(201, 162, 39, 0.20);
  --glow-green: rgba(120, 170, 150, 0.18);
  --nav-bg: rgba(246, 247, 245, 0.84);
  --paper-line: rgba(31, 59, 51, 0.08);

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(20, 38, 31, 0.05);
  --shadow-md: 0 1px 2px rgba(20, 38, 31, 0.04), 0 8px 24px rgba(20, 38, 31, 0.07);
  --shadow-lg: 0 2px 4px rgba(10, 20, 16, 0.10), 0 24px 48px rgba(10, 20, 16, 0.28);

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

  /* Shape */
  --radius: 3px;
  --radius-sm: 2px;
  --hair: 1px;
  --bar: 2px;

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

  /* Type */
  --font-body: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", 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.25rem;
  --fs-lead: clamp(1.075rem, 1.4vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.78rem;

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

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s3);
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 var(--s3); max-width: var(--measure); }
a { color: var(--primary); text-underline-offset: 0.2em; text-decoration-thickness: var(--hair); }
a:hover { color: var(--primary-mid); }
ul, ol { margin: 0 0 var(--s3); padding-left: var(--s4); }
li { max-width: var(--measure); }
strong { color: var(--text-dark); font-weight: 600; }
svg { display: block; }

:focus-visible { outline: var(--bar) solid var(--accent-ink); outline-offset: var(--bar); }
.hero :focus-visible,
.page-hero :focus-visible,
.cta-band :focus-visible,
.footer :focus-visible { outline-color: var(--accent); }

.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(--text-light);
  border-radius: var(--radius);
}
.skip-link:focus { top: var(--s1); color: var(--text-light); }

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

.section { padding: var(--s7) 0; }
.section-alt { background: var(--surface); border-top: var(--hair) solid var(--border); border-bottom: var(--hair) solid var(--border); }

.eyebrow {
  display: block;
  margin: 0 0 var(--s2);
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-ink);
}
.section-head { max-width: 44rem; margin-bottom: var(--s5); }
.section-head p { color: var(--text-muted); }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  padding: 0.8rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.975rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: var(--hair) solid transparent;
  border-radius: var(--radius);
  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(--text-dark); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--text-dark); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--text-light); }
.hero .btn-outline,
.page-hero .btn-outline,
.cta-band .btn-outline { color: var(--text-light); border-color: var(--rule-dark); }
.hero .btn-outline:hover,
.page-hero .btn-outline:hover,
.cta-band .btn-outline:hover { background: var(--text-light); color: var(--primary-deep); border-color: var(--text-light); }

/* ---------- Navigation ---------- */
.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;
  gap: var(--s4);
  min-height: var(--nav-h);
}
.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: 2.25rem;
  height: 2.25rem;
  background: var(--primary);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 calc(-1 * var(--bar)) 0 var(--accent);
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.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;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--bar);
  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 { transform: scaleX(1); }
.nav-links a.active { color: var(--text-dark); font-weight: 600; }
.nav-links a.active::after { transform: scaleX(1); }
.nav-links .nav-cta { padding: 0.6rem 1.2rem; color: var(--text-dark); }
.nav-links .nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: var(--s0);
  width: 2.75rem;
  height: 2.75rem;
  padding: var(--s2);
  background: transparent;
  border: var(--hair) solid var(--border-strong);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle-bar { display: block; height: var(--bar); background: var(--text-dark); transition: transform var(--ease), opacity var(--ease); }
.nav-inner.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(calc(var(--s0) + var(--bar))) rotate(45deg); }
.nav-inner.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-inner.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(calc(-1 * (var(--s0) + var(--bar)))) rotate(-45deg); }

/* ---------- Hero (shared craft with page-hero) ---------- */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--text-light);
  background:
    radial-gradient(55% 65% at 88% 18%, var(--glow), transparent 70%),
    radial-gradient(45% 60% at 8% 100%, var(--glow-green), transparent 70%),
    repeating-linear-gradient(0deg, var(--rule-faint) 0 1px, transparent 1px 2.5rem),
    linear-gradient(160deg, var(--primary) 0%, var(--primary-deep) 100%);
}
/* Ledger margin: a double gold rule down the left edge */
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(var(--gutter), calc((100% - var(--container)) / 2 - var(--s4)));
  width: var(--s1);
  border-left: var(--hair) solid var(--rule-gold);
  border-right: var(--hair) solid var(--rule-gold);
  pointer-events: none;
}
.hero {
  display: flex;
  align-items: center;
  min-height: 64vh;
  padding: var(--s7) 0 calc(var(--s7) + var(--s5));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--s6)), 0 100%);
}
.hero h1,
.page-hero h1 { color: var(--text-light); }
.hero h1 { font-size: var(--fs-hero); max-width: 15ch; margin-bottom: var(--s4); }
.hero .eyebrow,
.page-hero .eyebrow { color: var(--accent); }
.hero .lead,
.page-hero .lead { color: var(--text-light-muted); max-width: 46ch; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--s6);
  align-items: center;
}
.hero-copy { position: relative; z-index: 1; padding-left: var(--s4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }

.page-hero {
  padding: var(--s6) 0 calc(var(--s6) + var(--s4));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--s5)), 0 100%);
}
.page-hero .container > * { position: relative; padding-left: var(--s4); }
.page-hero h1 { font-size: var(--fs-page); max-width: 22ch; margin-bottom: var(--s3); }
.page-hero .lead { margin-bottom: 0; }

/* ---------- Ledger visual (hero anchor) ---------- */
.ledger { position: relative; padding: var(--s4) var(--s4) var(--s4) 0; }
.ledger-back {
  position: absolute;
  top: 0;
  right: 0;
  bottom: var(--s5);
  left: var(--s5);
  border: var(--hair) solid var(--rule-dark);
  border-radius: var(--radius);
  background: repeating-linear-gradient(-45deg, var(--rule-faint) 0 1px, transparent 1px 0.6rem);
}
.ledger-sheet {
  position: relative;
  background:
    repeating-linear-gradient(180deg, transparent 0 calc(2.75rem - 1px), var(--paper-line) calc(2.75rem - 1px) 2.75rem),
    var(--surface);
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-top: calc(var(--s0)) solid var(--accent);
}
.ledger-head {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s3) var(--s4);
  border-bottom: var(--hair) solid var(--border);
  background: var(--surface);
}
.ledger-head .brand-mark { flex: none; }
.ledger-title { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--text-dark); line-height: 1.2; }
.ledger-sub { display: block; font-size: var(--fs-small); color: var(--text-muted); }
.ledger-rows { list-style: none; margin: 0; padding: 0; }
.ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  min-height: 2.75rem;
  padding: 0 var(--s4);
  font-size: 0.95rem;
  color: var(--text);
  max-width: none;
}
.tick {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border: var(--hair) solid var(--primary);
  border-radius: var(--radius-sm);
  color: var(--primary);
  background: var(--primary-soft);
}
.tick svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tick.open { background: var(--surface); border-style: dashed; border-color: var(--border-strong); }
.ledger-foot {
  padding: var(--s2) var(--s4);
  font-size: var(--fs-small);
  color: var(--text-muted);
  border-top: var(--hair) solid var(--border);
  background: var(--surface-2);
  margin: 0;
  max-width: none;
}

/* ---------- Split band (asymmetric two-column) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--s6);
  align-items: start;
}
.split-aside { position: sticky; top: calc(var(--nav-h) + var(--s4)); }
.point-list { list-style: none; margin: 0; padding: 0; border-top: var(--hair) solid var(--border-strong); }
.point {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: var(--s3);
  padding: var(--s4) 0;
  border-bottom: var(--hair) solid var(--border);
  max-width: none;
}
.point h3 { margin-bottom: var(--s1); }
.point p { margin: 0; color: var(--text-muted); }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--s4);
}
.service-card {
  display: flex;
  flex-direction: column;
  padding: var(--s5) var(--s4) var(--s4);
  background: var(--surface);
  border: var(--hair) solid var(--border);
  border-radius: var(--radius);
  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-md); border-color: var(--border-strong); }
.service-card h3 { margin-top: var(--s4); margin-bottom: var(--s1); }
.service-card p { color: var(--text-muted); margin: 0; font-size: 0.985rem; }
.service-card ul { margin: var(--s3) 0 0; color: var(--text-muted); font-size: 0.95rem; }
.svc-glyph {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary);
  border-bottom: var(--bar) solid var(--accent);
}
.svc-glyph svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.services-more { margin-top: var(--s5); }

/* ---------- About band with CSS-drawn folio ---------- */
.about-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s6);
  align-items: center;
}
.folio { position: relative; min-height: 20rem; }
.folio-sheet {
  position: absolute;
  width: 78%;
  height: 13rem;
  padding: var(--s4);
  background:
    repeating-linear-gradient(180deg, transparent 0 calc(2rem - 1px), var(--paper-line) calc(2rem - 1px) 2rem),
    var(--surface);
  border: var(--hair) solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.folio-sheet:nth-child(1) { top: 0; left: 0; }
.folio-sheet:nth-child(2) { top: var(--s5); left: 11%; }
.folio-sheet:nth-child(3) { top: calc(var(--s5) * 2); left: 22%; border-top: var(--s0) solid var(--accent); }
.folio-tab {
  position: absolute;
  top: calc(-1 * var(--s4));
  left: var(--s4);
  padding: var(--s0) var(--s2);
  background: var(--primary);
  color: var(--text-light);
  font-size: var(--fs-small);
  font-weight: 600;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.folio-sheet:nth-child(2) .folio-tab { left: 40%; background: var(--primary-mid); }
.folio-sheet:nth-child(3) .folio-tab { left: auto; right: var(--s4); background: var(--accent); color: var(--text-dark); }

/* ---------- Credentials strip ---------- */
.cred-strip { padding: var(--s6) 0; }
.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border: var(--hair) solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
}
.cred-item { padding: var(--s4); border-left: var(--hair) solid var(--border); }
.cred-item:first-child { border-left: 0; }
.cred-item dt { font-size: var(--fs-small); color: var(--text-muted); margin-bottom: var(--s0); }
.cred-item dd { margin: 0; font-family: var(--font-display); font-size: 1.2rem; color: var(--text-dark); letter-spacing: 0; }

/* ---------- Steps (a genuine sequence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); counter-reset: step; }
.step { position: relative; padding-top: var(--s4); border-top: var(--bar) solid var(--primary); max-width: none; }
.step-num { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--accent-ink); line-height: 1; margin-bottom: var(--s2); }
.step h3 { margin-bottom: var(--s1); }
.step p { color: var(--text-muted); margin: 0; font-size: 0.975rem; }

/* ---------- Scope note ---------- */
.note {
  margin-top: var(--s5);
  padding: var(--s4);
  background: var(--surface-2);
  border-left: var(--s0) solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 52rem;
}
.note h3 { font-size: 1.1rem; margin-bottom: var(--s1); }
.note p { margin: 0; color: var(--text-muted); font-size: 0.975rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: var(--s6) 0;
  color: var(--text-light);
  background:
    repeating-linear-gradient(-45deg, var(--rule-faint) 0 1px, transparent 1px 0.75rem),
    linear-gradient(135deg, var(--primary-mid) 0%, var(--primary) 100%);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; }
.cta-band h2 { color: var(--text-light); margin-bottom: var(--s1); }
.cta-band p { color: var(--text-light-muted); margin: 0; }
.cta-band .hero-actions { margin-top: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); align-items: start; }
.contact-list { list-style: none; margin: 0 0 var(--s4); padding: 0; border-top: var(--hair) solid var(--border-strong); }
.contact-list li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: var(--s3); align-items: start; padding: var(--s3) 0; border-bottom: var(--hair) solid var(--border); max-width: none; }
.contact-list .svc-glyph { width: 2.5rem; height: 2.5rem; }
.contact-list .svc-glyph svg { width: 1.25rem; height: 1.25rem; }
.contact-label { display: block; font-size: var(--fs-small); color: var(--text-muted); }
.contact-value { display: block; color: var(--text-dark); font-weight: 600; overflow-wrap: anywhere; }
.contact-card {
  padding: var(--s5);
  background: var(--surface);
  border: var(--hair) solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.contact-form { display: grid; gap: var(--s3); }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s3); }
.field { display: grid; gap: var(--s0); }
.field label { font-size: var(--fs-small); 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(--hair) solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color var(--ease), background-color var(--ease);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--primary); background: var(--surface); }
.form-note { font-size: var(--fs-small); color: var(--text-muted); margin: 0; }

/* ---------- Legal pages ---------- */
.legal-layout { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: var(--s6); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--nav-h) + var(--s4)); font-size: var(--fs-small); }
.legal-toc ol { margin: 0; padding: 0; list-style: none; border-left: var(--hair) solid var(--border-strong); }
.legal-toc li { margin: 0; }
.legal-toc a { display: block; padding: var(--s0) var(--s3); color: var(--text-muted); text-decoration: none; border-left: var(--bar) solid transparent; margin-left: calc(-1 * var(--hair)); transition: color var(--ease), border-color var(--ease); }
.legal-toc a:hover { color: var(--text-dark); border-left-color: var(--accent); }
.legal-toc .eyebrow { margin-bottom: var(--s2); }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-top: var(--s5); padding-top: var(--s4); border-top: var(--hair) solid var(--border); }
.prose h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: var(--s4); }
.prose li { margin-bottom: var(--s1); }
.updated { font-size: var(--fs-small); color: var(--text-muted); }

/* ---------- Footer ---------- */
.footer {
  background: var(--primary-deep);
  color: var(--text-light-muted);
  border-top: var(--hair) solid var(--rule-gold);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: var(--s5);
  padding: var(--s6) var(--gutter) var(--s5);
}
.footer h2 {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--s3);
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: var(--s1); }
.footer a { color: var(--text-light); text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { color: var(--accent); text-decoration: underline; }
.footer p { margin-bottom: var(--s2); }
.footer-brand .brand { color: var(--text-light); margin-bottom: var(--s3); }
.footer-brand .brand-mark { background: var(--primary-mid); }
.footer-reg { font-size: var(--fs-small); color: var(--text-light-muted); }
.footer-bottom { background: var(--primary); border-top: var(--hair) solid var(--rule-dark); font-size: var(--fs-small); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s2); padding-top: var(--s3); padding-bottom: var(--s3); }
.footer-bottom p { margin: 0; color: var(--text-light-muted); }
.footer-legal { display: flex; gap: var(--s4); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred-item:nth-child(3) { border-left: 0; }
  .cred-item:nth-child(n+3) { border-top: var(--hair) solid var(--border); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .section { padding: var(--s6) 0; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s2) var(--gutter) var(--s4);
    background: var(--surface);
    border-bottom: var(--hair) solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-inner.is-open .nav-links { display: flex; }
  .nav-links li { border-bottom: var(--hair) solid var(--border); }
  .nav-links li:last-child { border-bottom: 0; padding-top: var(--s3); }
  .nav-links a { display: block; padding: var(--s2) 0; }
  .nav-links a::after { right: auto; width: var(--s5); bottom: var(--s1); }
  .nav-links .nav-cta { display: flex; }

  .hero { min-height: 0; padding: var(--s6) 0 calc(var(--s6) + var(--s5)); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--s5)), 0 100%); }
  .hero-grid,
  .split,
  .about-band,
  .contact-grid,
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .ledger { display: none; }
  .split-aside,
  .legal-toc { position: static; }
  .folio { min-height: 17rem; }
  .folio-sheet { height: 10rem; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .contact-card { padding: var(--s4); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .steps,
  .cred-grid,
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .cred-item { border-left: 0; border-top: var(--hair) solid var(--border); }
  .cred-item:first-child { border-top: 0; }
  .brand-name { font-size: 1rem; }
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .btn:hover,
  .service-card:hover { transform: none; }
}
