/* Service2You - styles.css
   Art direction: the job card. Deep bush green, hi-vis yellow used sparingly,
   cool stone neutrals, sharp 4px corners and hairline rules throughout. */

:root {
  /* Colour */
  --primary: #1F4A3F;
  --primary-deep: #14302A;
  --primary-soft: #E2ECE7;
  --accent: #E9B53A;
  --accent-hover: #F2C658;
  --accent-text: #7A570B;
  --bg: #F4F6F3;
  --surface: #FFFFFF;
  --surface-2: #EBEFEB;
  --border: #D2D9D4;
  --border-strong: #A9B5AE;
  --text-dark: #17201D;
  --text-light: #56635D;
  --on-dark: #F2F5F2;
  --on-dark-muted: #BCCBC4;
  --footer-bg: #0F1E1A;
  --footer-bar: #183029;
  --line-dark: rgba(242, 245, 242, .16);
  --line-dark-soft: rgba(242, 245, 242, .07);
  --grid-line: rgba(242, 245, 242, .055);
  --glow-warm: rgba(233, 181, 58, .20);
  --glow-cool: rgba(126, 178, 160, .30);
  --nav-bg: rgba(244, 246, 243, .84);
  --panel-ghost: rgba(242, 245, 242, .06);
  --focus-light: #1F4A3F;
  --focus-dark: #E9B53A;

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

  /* Shape and depth */
  --radius: 4px;
  --radius-sm: 2px;
  --hairline: 1px;
  --rule: 3px;
  --shadow-sm: 0 1px 2px rgba(23, 32, 29, .05);
  --shadow: 0 1px 2px rgba(23, 32, 29, .04), 0 8px 24px rgba(23, 32, 29, .07);
  --shadow-lift: 0 2px 4px rgba(23, 32, 29, .06), 0 16px 36px rgba(23, 32, 29, .12);
  --shadow-deep: 0 2px 6px rgba(10, 20, 17, .25), 0 24px 48px rgba(10, 20, 17, .35);
  --tape: repeating-linear-gradient(-45deg, var(--accent) 0 .75rem, var(--primary-deep) .75rem 1.5rem);

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

  /* Type */
  --font-body: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: Bahnschrift, "DIN Alternate", "DIN Condensed", "Franklin Gothic Medium", "Arial Narrow", -apple-system, "Segoe UI", 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: clamp(1.075rem, 1.6vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;
  --fs-eyebrow: .78rem;

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

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

html { scroll-padding-top: var(--nav-h); -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 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s3);
  color: inherit;
}

h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.01em; }

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

a { color: var(--primary); text-underline-offset: .2em; text-decoration-thickness: var(--hairline); }
a:hover { text-decoration-thickness: 2px; }

ul, ol { margin: 0; }

svg { display: block; }

:focus-visible {
  outline: var(--rule) solid var(--focus-light);
  outline-offset: var(--rule);
  border-radius: var(--radius-sm);
}

.hero :focus-visible,
.page-hero :focus-visible,
.section-dark :focus-visible,
.contact-card :focus-visible,
.footer :focus-visible { outline-color: var(--focus-dark); }

.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;
  padding: var(--s1) var(--s3);
  background: var(--accent);
  color: var(--text-dark);
  font-weight: 600;
  border-radius: var(--radius);
}
.skip-link:focus { top: var(--s1); }

/* ---------- Eyebrow & section heads ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  margin: 0 0 var(--s2);
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before {
  content: "";
  width: var(--s4);
  height: var(--rule);
  background: currentColor;
}
.hero .eyebrow,
.page-hero .eyebrow,
.section-dark .eyebrow { color: var(--accent); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  padding: .8rem 1.6rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: var(--hairline) 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); text-decoration: none; }

.btn-primary {
  background: var(--accent);
  color: var(--text-dark);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); box-shadow: var(--shadow-lift); }

.btn-outline {
  background: transparent;
  color: inherit;
  border-color: currentColor;
  font-weight: 500;
}
.btn-outline:hover { background: var(--panel-ghost); box-shadow: var(--shadow); }

.btn-dark {
  background: var(--primary);
  color: var(--on-dark);
  border-color: var(--primary);
  font-weight: 700;
}
.btn-dark:hover { background: var(--primary-deep); border-color: var(--primary-deep); box-shadow: var(--shadow-lift); }

/* ---------- 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(--hairline) 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 { text-decoration: none; }

.brand-mark {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--primary);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  border-radius: var(--radius);
  box-shadow: inset 0 calc(-1 * var(--rule)) 0 var(--accent);
}

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

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

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

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

.nav-links a {
  position: relative;
  display: inline-block;
  padding: var(--s1) 0;
  color: var(--text-dark);
  font-size: .975rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--rule);
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { font-weight: 700; color: var(--primary); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); background: var(--primary); }

.nav-cta { padding: .6rem 1.2rem; }

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

/* ---------- Hero ---------- */
.hero,
.page-hero {
  position: relative;
  color: var(--on-dark);
  background:
    radial-gradient(60rem 30rem at 88% 0%, var(--glow-cool), transparent 62%),
    radial-gradient(42rem 26rem at 0% 105%, var(--glow-warm), transparent 60%),
    linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / var(--s6) var(--s6),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / var(--s6) var(--s6),
    linear-gradient(160deg, var(--primary) 0%, var(--primary-deep) 100%);
}

.hero {
  display: flex;
  align-items: center;
  min-height: 62vh;
  padding: var(--s7) 0 calc(var(--s7) + var(--s5));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--s6)), 0 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: var(--s6);
  align-items: center;
}

.hero h1 { font-size: var(--fs-hero); margin-bottom: var(--s4); max-width: 16ch; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--on-dark-muted);
  max-width: 52ch;
  margin-bottom: var(--s5);
}

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

/* Hero visual: the job card */
.docket-wrap { position: relative; max-width: 24rem; margin-left: auto; width: 100%; }
.docket-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(var(--s4), var(--s4)) rotate(2.5deg);
  border: var(--hairline) solid var(--line-dark);
  background: var(--panel-ghost);
  border-radius: var(--radius);
}

.docket {
  position: relative;
  background: var(--surface);
  color: var(--text-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-deep);
  transform: rotate(-1.5deg);
  overflow: hidden;
}

.docket-tape { height: var(--s2); background: var(--tape); }

.docket-head {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s4) var(--s4) var(--s3);
  border-bottom: var(--hairline) dashed var(--border-strong);
}
.docket-title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.2; }
.docket-sub { margin: 0; font-size: var(--fs-small); color: var(--text-light); }

.docket-rows { margin: 0; padding: var(--s3) var(--s4); display: grid; gap: var(--s1); }
.docket-row {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: var(--s2);
  font-size: var(--fs-small);
  padding-bottom: var(--s1);
  border-bottom: var(--hairline) solid var(--surface-2);
}
.docket-row dt { color: var(--text-light); font-weight: 500; }
.docket-row dd { margin: 0; font-weight: 600; }

.docket-checks { list-style: none; padding: 0 var(--s4) var(--s3); margin: 0; display: grid; gap: var(--s1); }
.docket-checks li { display: flex; align-items: center; gap: var(--s2); font-size: var(--fs-small); }
.check-box {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
  border: var(--hairline) solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--primary);
}
.check-box.is-done { background: var(--primary-soft); border-color: var(--primary); }

.docket-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--s3);
  padding: var(--s3) var(--s4) var(--s4);
  background: var(--bg);
  font-size: var(--fs-small);
  color: var(--text-light);
}
.sign-line { flex: 1; border-bottom: var(--hairline) solid var(--border-strong); height: var(--s4); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: var(--s6) 0 calc(var(--s6) + var(--s4));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--s4)), 0 100%);
}
.page-hero h1 { font-size: var(--fs-page); max-width: 20ch; margin-bottom: var(--s3); }
.page-hero .lead { margin-bottom: 0; }

/* ---------- Sections ---------- */
.section { padding: var(--s7) 0; }
.section-tight { padding: var(--s6) 0; }
.section-alt { background: var(--surface-2); }
.section-surface { background: var(--surface); border-top: var(--hairline) solid var(--border); border-bottom: var(--hairline) solid var(--border); }

.section-dark {
  color: var(--on-dark);
  background:
    repeating-linear-gradient(-45deg, var(--line-dark-soft) 0 1px, transparent 1px var(--s3)),
    var(--primary-deep);
}

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

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

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: var(--hairline) solid var(--border);
  border-radius: var(--radius);
  padding: var(--s4);
  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(--border-strong); }
.service-card h3 { margin: var(--s3) 0 var(--s1); }
.service-card p { color: var(--text-light); margin-bottom: 0; }

.service-points {
  list-style: none;
  padding: var(--s3) 0 0;
  margin: var(--s3) 0 0;
  border-top: var(--hairline) dashed var(--border);
  display: grid;
  gap: var(--s1);
  font-size: var(--fs-small);
}
.service-points li { display: flex; gap: var(--s1); }
.service-points li::before {
  content: "";
  flex: none;
  width: var(--s1);
  height: var(--s1);
  margin-top: .45em;
  background: var(--accent);
}

.glyph {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius);
}
.glyph svg { width: 1.5rem; height: 1.5rem; }

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

/* ---------- Steps (dark band) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s4);
  list-style: none;
  padding: 0;
  counter-reset: step;
}
.step {
  counter-increment: step;
  position: relative;
  padding: var(--s4);
  border: var(--hairline) solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--panel-ghost);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: var(--s3);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}
.step h3 { margin-bottom: var(--s1); }
.step p { color: var(--on-dark-muted); margin: 0; font-size: .975rem; }

/* ---------- Split band ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s6);
  align-items: center;
}
.split-reverse .split-visual { order: -1; }
.split-copy p { color: var(--text-light); }
.split-copy .btn { margin-top: var(--s2); }
.section-dark .split-copy p { color: var(--on-dark-muted); }

.plan-panel {
  position: relative;
  padding: var(--s5);
  background:
    linear-gradient(var(--border) 1px, transparent 1px) 0 0 / var(--s4) var(--s4),
    linear-gradient(90deg, var(--border) 1px, transparent 1px) 0 0 / var(--s4) var(--s4),
    var(--surface);
  border: var(--hairline) solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--primary);
}
.plan-panel svg { width: 100%; height: auto; }
.plan-caption {
  position: absolute;
  left: var(--s3);
  bottom: var(--s3);
  margin: 0;
  padding: var(--s1) var(--s2);
  background: var(--surface);
  border: var(--hairline) solid var(--border);
  font-size: var(--fs-small);
  color: var(--text-light);
}

.check-list { list-style: none; padding: 0; margin: 0 0 var(--s4); display: grid; gap: var(--s2); }
.check-list li { display: flex; gap: var(--s2); align-items: flex-start; max-width: var(--measure); }
.check-list svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .2em; color: var(--primary); }
.section-dark .check-list li,
.contact-card .check-list li { color: var(--on-dark); }
.section-dark .check-list svg,
.contact-card .check-list svg { color: var(--accent); }
.section-dark .check-list li {
  padding: var(--s3);
  border: var(--hairline) solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--panel-ghost);
}

/* ---------- Credentials strip ---------- */
.credentials {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border: var(--hairline) solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.cred {
  padding: var(--s4);
  border-left: var(--hairline) solid var(--border);
}
.cred:first-child { border-left: 0; }
.cred dt {
  font-size: var(--fs-small);
  color: var(--text-light);
  margin-bottom: var(--s1);
}
.cred dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* ---------- CTA strip ---------- */
.cta-band { padding: var(--s6) 0; background: var(--bg); }
.cta-box {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  padding: calc(var(--s5) + var(--s1)) var(--s5) var(--s5);
  background: var(--surface);
  border: var(--hairline) solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--s1);
  background: var(--tape);
}
.cta-box h2 { margin-bottom: var(--s1); }
.cta-box p { margin: 0; color: var(--text-light); }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s2); flex: none; }

/* ---------- About page ---------- */
.identity {
  margin: 0;
  padding: var(--s4);
  background: var(--surface);
  border: var(--hairline) solid var(--border);
  border-left: var(--rule) solid var(--primary);
  border-radius: var(--radius);
  display: grid;
  gap: var(--s2);
}
.identity-row { display: grid; grid-template-columns: 9rem 1fr; gap: var(--s2); font-size: .975rem; }
.identity-row dt { color: var(--text-light); }
.identity-row dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

.note {
  padding: var(--s4);
  background: var(--primary-soft);
  border-left: var(--rule) solid var(--primary);
  border-radius: var(--radius);
  max-width: var(--measure);
}
.note p:last-child { margin-bottom: 0; }

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

.contact-card {
  padding: var(--s5);
  color: var(--on-dark);
  background:
    radial-gradient(24rem 14rem at 100% 0%, var(--glow-cool), transparent 65%),
    var(--primary);
  border-radius: var(--radius);
}
.contact-card p { color: var(--on-dark-muted); }
.contact-email {
  display: inline-block;
  margin: var(--s1) 0 var(--s4);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 600;
  color: var(--accent);
  overflow-wrap: anywhere;
}
.contact-card .check-list li { font-size: .975rem; }

.form {
  display: grid;
  gap: var(--s3);
  padding: var(--s5);
  background: var(--surface);
  border: var(--hairline) solid var(--border);
  border-radius: var(--radius);
}
.form h2 { margin-bottom: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.field { display: grid; gap: var(--s1); }
.field label { font-size: var(--fs-small); font-weight: 600; }
.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);
  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-light); margin: 0; }

/* ---------- Legal pages ---------- */
.legal-layout {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: var(--s6);
  align-items: start;
}
.toc {
  position: sticky;
  top: calc(var(--nav-h) + var(--s4));
  padding: var(--s4);
  background: var(--surface);
  border: var(--hairline) solid var(--border);
  border-radius: var(--radius);
  font-size: var(--fs-small);
}
.toc-title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin: 0 0 var(--s2); }
.toc ol { padding-left: var(--s4); display: grid; gap: var(--s1); }
.toc a { color: var(--text-dark); text-decoration: none; }
.toc a:hover { color: var(--primary); text-decoration: underline; }

.prose { max-width: 72ch; }
.prose h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin: var(--s5) 0 var(--s2);
  padding-top: var(--s3);
  border-top: var(--hairline) solid var(--border);
}
.prose .updated + h2 { margin-top: var(--s3); }
.prose h3 { margin: var(--s4) 0 var(--s1); }
.prose ul,
.prose ol { padding-left: var(--s4); margin: 0 0 var(--s3); display: grid; gap: var(--s1); }
.prose li { max-width: var(--measure); }
.updated { font-size: var(--fs-small); color: var(--text-light); }

.ipp-list { list-style: none; counter-reset: ipp; }
.prose .ipp-list { padding-left: 0; gap: 0; }
.ipp-list li {
  counter-increment: ipp;
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: var(--s2);
  padding: var(--s1) 0;
  border-bottom: var(--hairline) solid var(--border);
}
.ipp-list li::before {
  content: "IPP " counter(ipp);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--primary);
  padding-top: .15em;
}

/* ---------- Footer ---------- */
.footer {
  color: var(--on-dark-muted);
  background: var(--footer-bg);
  border-top: var(--hairline) solid var(--line-dark);
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--s5);
  padding-top: var(--s6);
  padding-bottom: var(--s6);
}
.footer-brand p { margin-top: var(--s3); max-width: 36ch; }
.footer-title {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--on-dark);
  margin-bottom: var(--s3);
}
.footer-links { list-style: none; padding: 0; display: grid; gap: var(--s1); }
.footer a { color: var(--on-dark-muted); text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { color: var(--accent); text-decoration: underline; }
.footer .brand-on-dark { color: var(--on-dark); }
.footer .brand-on-dark:hover { color: var(--on-dark); text-decoration: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credentials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred:nth-child(3) { border-left: 0; }
  .cred:nth-child(n+3) { border-top: var(--hairline) solid var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 13rem minmax(0, 1fr); gap: var(--s5); }
}

@media (max-width: 768px) {
  :root { --nav-h: 3.75rem; }

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

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

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

  .props-grid,
  .services-grid,
  .steps,
  .split,
  .contact-grid,
  .legal-layout,
  .form-row { grid-template-columns: 1fr; }
  .props-grid { gap: var(--s4); }
  .split { gap: var(--s5); }
  .split-reverse .split-visual { order: 0; }
  .contact-grid { gap: var(--s5); }

  .toc { position: static; }

  .credentials { grid-template-columns: 1fr; }
  .cred { border-left: 0; }
  .cred + .cred { border-top: var(--hairline) solid var(--border); }

  .cta-box { flex-direction: column; align-items: flex-start; padding: calc(var(--s4) + var(--s1)) var(--s4) var(--s4); }

  .contact-card,
  .form { padding: var(--s4); }
  .identity-row { grid-template-columns: 1fr; gap: 0; }

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

@media (max-width: 400px) {
  .hero-actions .btn,
  .cta-actions .btn { width: 100%; }
  .cta-actions { width: 100%; }
  .docket-row { grid-template-columns: 1fr; }
}

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