/* ==========================================================================
   The Charter Society Pty Ltd — thechartersocietytec.site
   Art direction: harbour petrol + aged brass, cool neutral ramp, sharp
   shape language (2px radius, hairline rules), serif display / sans body.
   All colour, spacing, radius, shadow and type values are declared once in
   the token block below and referenced by custom property thereafter.
   ========================================================================== */

:root {
  /* Brand */
  --primary:        #123a41;
  --primary-mid:    #1c5059;
  --primary-deep:   #0b262b;

  /* Accent — aged brass. Used sparingly: rules, marks, eyebrows, focus. */
  --accent:         #b4763a;
  --accent-ink:     #8a5624;
  --accent-soft:    #d6a771;

  /* Neutral ramp (cool, harbour haze) */
  --bg:             #eef1f1;
  --surface:        #ffffff;
  --surface-2:      #e2e8e8;
  --border:         #cbd4d4;
  --border-strong:  #a9b6b6;

  /* Text */
  --text-dark:      #10201f;
  --text-light:     #4e5c5d;
  --on-dark:        #dfe7e7;
  --on-dark-muted:  #a4b6b7;

  /* Translucent layers */
  --nav-bg:         rgba(238, 241, 241, .82);
  --glow-brass:     rgba(180, 118, 58, .22);
  --glow-teal:      rgba(28, 80, 89, .55);
  --rule-dark:      rgba(223, 231, 231, .16);
  --rule-dark-soft: rgba(223, 231, 231, .07);
  --tint-primary:   rgba(18, 58, 65, .08);
  --tint-accent:    rgba(180, 118, 58, .14);
  --tint-on-dark:   rgba(214, 167, 113, .14);

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

  /* Geometry */
  --radius:    2px;
  --radius-lg: 4px;
  --container: 1140px;
  --gutter:    1.375rem;
  --measure:   66ch;
  --hairline:  1px;

  /* Elevation */
  --shadow-sm:   0 1px 2px rgba(16, 32, 31, .05);
  --shadow-md:   0 1px 2px rgba(16, 32, 31, .04), 0 10px 28px rgba(16, 32, 31, .07);
  --shadow-lift: 0 2px 4px rgba(16, 32, 31, .06), 0 16px 36px rgba(16, 32, 31, .11);

  /* Type */
  --font-body:    -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", Times, serif;
  --fs-hero:    clamp(2.4rem, 5.2vw, 4rem);
  --fs-h2:      clamp(1.7rem, 3vw, 2.4rem);
  --fs-h3:      clamp(1.1rem, 1.5vw, 1.3rem);
  --fs-lead:    clamp(1.05rem, 1.5vw, 1.2rem);
  --fs-body:    1.0625rem;
  --fs-sm:      .9rem;
  --fs-xs:      .8125rem;
  --fs-eyebrow: .78rem;

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

/* --------------------------------------------------------------- base --- */

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

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

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

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

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
h4 { font-size: 1.02rem; line-height: 1.3; }

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

a { color: var(--accent-ink); text-decoration-thickness: var(--hairline); text-underline-offset: 3px; }
a:hover { color: var(--primary); }

ul, ol { margin: 0 0 var(--s3); padding-left: var(--s4); max-width: var(--measure); }
li { margin-bottom: var(--s1); }

svg { display: block; }

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

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--primary-deep);
  color: var(--on-dark);
  padding: var(--s2) var(--s3);
  font-size: var(--fs-sm);
}
.skip-link:focus { left: var(--s3); top: var(--s1); color: var(--on-dark); }

/* ------------------------------------------------------------ eyebrow --- */

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

.rule {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin: 0 0 var(--s4);
}
.rule::after {
  content: "";
  flex: 1;
  height: var(--hairline);
  background: var(--border-strong);
}
.rule-mark {
  width: 9px;
  height: 9px;
  background: var(--accent);
  flex: none;
}

/* ---------------------------------------------------------- navigation --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar {
  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: 68px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  text-decoration: none;
  color: var(--text-dark);
}
.wordmark-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: .06em;
  border-radius: var(--radius);
}
.wordmark-text {
  font-family: var(--font-display);
  font-size: 1.06rem;
  letter-spacing: -0.01em;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: var(--hairline) solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-dark);
  padding: var(--s1);
  cursor: pointer;
}

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

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

.nav-link {
  position: relative;
  display: inline-block;
  padding: var(--s1) 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--text-dark);
  text-decoration: none;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tr);
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--primary); }
.nav-link.is-active::after { transform: scaleX(1); }

/* ------------------------------------------------------------ buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: .8rem 1.6rem;
  border: var(--hairline) solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--tr), background-color var(--tr), color var(--tr), box-shadow var(--tr), border-color var(--tr);
}

.btn-primary {
  background: var(--primary);
  color: var(--on-dark);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--primary-deep);
  color: var(--on-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border-strong);
  font-weight: 600;
}
.btn-outline:hover {
  color: var(--primary-deep);
  border-color: var(--primary);
  background: var(--surface);
  transform: translateY(-1px);
}

.btn-light {
  background: var(--surface);
  color: var(--primary-deep);
  border-color: var(--surface);
}
.btn-light:hover {
  color: var(--primary-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
  color: var(--on-dark);
  border-color: var(--rule-dark);
  font-weight: 600;
}
.btn-outline-light:hover {
  color: var(--on-dark);
  border-color: var(--accent-soft);
  transform: translateY(-1px);
}

.btn-sm { padding: .55rem 1.05rem; font-size: var(--fs-xs); }

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

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

.hero {
  position: relative;
  background:
    radial-gradient(70% 60% at 82% 6%, var(--glow-brass) 0%, transparent 62%),
    radial-gradient(90% 90% at 8% 100%, var(--glow-teal) 0%, transparent 60%),
    linear-gradient(160deg, var(--primary-deep) 0%, var(--primary) 55%, var(--primary-mid) 100%);
  color: var(--on-dark);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(to right, var(--rule-dark-soft) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(to bottom, var(--rule-dark-soft) 0 1px, transparent 1px 56px);
  pointer-events: none;
}
.hero > .container { position: relative; }

.hero-inner {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--s6);
  align-items: center;
  min-height: 60vh;
  padding: var(--s7) 0;
}

.hero-title { color: var(--on-dark); margin-bottom: var(--s3); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  max-width: 34ch;
}
.hero-copy .lead { color: var(--on-dark-muted); }

.hero-note {
  margin: var(--s5) 0 0;
  padding-top: var(--s3);
  border-top: var(--hairline) solid var(--rule-dark);
  font-size: var(--fs-xs);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  max-width: none;
}

/* Hero visual anchor */
.hero-panel {
  position: relative;
  border: var(--hairline) solid var(--rule-dark);
  border-radius: var(--radius-lg);
  padding: var(--s4);
  background: linear-gradient(180deg, var(--tint-on-dark) 0%, transparent 70%);
}
.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent);
}
.hero-panel::before { top: -5px; left: -5px; }
.hero-panel::after  { bottom: -5px; right: -5px; }

.panel-art {
  width: 100%;
  height: auto;
  color: var(--on-dark);
}
.panel-art .art-sail { stroke: var(--accent-soft); }

.panel-caption {
  margin: var(--s3) 0 0;
  padding-top: var(--s2);
  border-top: var(--hairline) solid var(--rule-dark);
  font-size: var(--fs-xs);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  max-width: none;
}

/* Compact hero band for inner pages */
.page-hero {
  position: relative;
  background:
    radial-gradient(80% 120% at 88% 0%, var(--glow-brass) 0%, transparent 58%),
    linear-gradient(150deg, var(--primary-deep) 0%, var(--primary) 78%);
  color: var(--on-dark);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to right, var(--rule-dark-soft) 0 1px, transparent 1px 56px);
  pointer-events: none;
}
.page-hero > .container { position: relative; }

.page-hero-inner {
  padding: var(--s6) 0;
  max-width: 46rem;
}
.page-hero-inner h1 { color: var(--on-dark); }
.page-hero-inner .lead { color: var(--on-dark-muted); max-width: 52ch; }
.page-hero-inner p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------- sections --- */

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

.section-alt { background: var(--surface); }

.section-dark {
  background:
    radial-gradient(60% 80% at 96% 10%, var(--glow-brass) 0%, transparent 60%),
    linear-gradient(120deg, var(--primary-deep) 0%, var(--primary) 100%);
  color: var(--on-dark);
}
.section-dark h2, .section-dark h3 { color: var(--on-dark); }
.section-dark p { color: var(--on-dark-muted); }
.section-dark a { color: var(--accent-soft); }
.section-dark :focus-visible { outline-color: var(--accent-soft); }

.section-head { margin-bottom: var(--s5); max-width: 44rem; }
.section-head p { color: var(--text-light); }
.section-dark .section-head p { color: var(--on-dark-muted); }
.section-head p:last-child { margin-bottom: 0; }

.section-intro { font-size: var(--fs-lead); }

/* -------------------------------------------------------- value props --- */

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}

.value-item { border-top: 2px solid var(--primary); padding-top: var(--s3); }
.value-item h3 { margin-bottom: var(--s2); }
.value-item p { color: var(--text-light); margin-bottom: 0; font-size: var(--fs-sm); }

.value-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: var(--s3);
  background: var(--tint-primary);
  color: var(--primary);
  border-radius: var(--radius);
}
.value-icon svg { width: 24px; height: 24px; }

/* ----------------------------------------------------------- services --- */

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

.service-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--s4);
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--primary);
  transition: transform var(--tr), box-shadow var(--tr);
}
.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }

.service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--s3);
  background: var(--tint-accent);
  color: var(--accent-ink);
  border-radius: var(--radius);
}
.service-icon svg { width: 24px; height: 24px; }

.service-title { margin-bottom: var(--s2); }
.service-text { color: var(--text-light); font-size: var(--fs-sm); margin-bottom: 0; }

.service-list {
  list-style: none;
  padding: 0;
  margin: var(--s3) 0 0;
  font-size: var(--fs-xs);
  color: var(--text-light);
  border-top: var(--hairline) solid var(--border);
  padding-top: var(--s3);
}
.service-list li {
  position: relative;
  padding-left: var(--s3);
  margin-bottom: var(--s1);
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  margin-top: var(--s3);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
}
.card-link:hover { text-decoration: underline; }

/* -------------------------------------------------------------- split --- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: center;
}
.split-copy p { color: var(--text-light); }
.split-copy p:last-child { margin-bottom: 0; }
.section-dark .split-copy p { color: var(--on-dark-muted); }

.split-media {
  border: var(--hairline) solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: var(--s5);
  box-shadow: var(--shadow-md);
}
.section-dark .split-media {
  background: transparent;
  border-color: var(--rule-dark);
  box-shadow: none;
}

.split-art { width: 100%; height: auto; color: var(--primary); }
.section-dark .split-art { color: var(--on-dark); }
.split-art .art-sail { stroke: var(--accent); }
.section-dark .split-art .art-sail { stroke: var(--accent-soft); }

.checklist { list-style: none; padding: 0; margin: var(--s3) 0 0; }
.checklist li {
  position: relative;
  padding-left: var(--s4);
  margin-bottom: var(--s2);
  color: var(--text-light);
  font-size: var(--fs-sm);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  background: var(--accent);
}
.section-dark .checklist li { color: var(--on-dark-muted); }

/* -------------------------------------------------------------- steps --- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
}

.step { border-top: var(--hairline) solid var(--rule-dark); padding-top: var(--s3); }
.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  color: var(--accent-soft);
  margin-bottom: var(--s2);
  letter-spacing: .04em;
}
.step-title { margin-bottom: var(--s2); font-size: 1.05rem; }
.step-text { font-size: var(--fs-sm); margin-bottom: 0; }

/* -------------------------------------------------------- credentials --- */

.credentials {
  border-top: var(--hairline) solid var(--border);
  border-bottom: var(--hairline) solid var(--border);
  padding: var(--s5) 0;
}

.cred-head {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s4);
  color: var(--primary);
}
.cred-head svg { width: 22px; height: 22px; flex: none; }
.cred-head span {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cred-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}
.cred-item {
  margin: 0;
  border-left: 2px solid var(--accent);
  padding-left: var(--s3);
}
.cred-label {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 2px;
}
.cred-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

/* ---------------------------------------------------------- cta strip --- */

.cta-strip {
  background: var(--surface);
  border-top: 3px solid var(--primary);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  padding: var(--s6) 0;
}
.cta-title { margin-bottom: var(--s2); }
.cta-text { color: var(--text-light); margin-bottom: 0; }
.cta-inner .btn-row { margin-top: 0; flex: none; }

/* -------------------------------------------------------------- prose --- */

.prose { max-width: 46rem; }
.prose h2 { margin-top: var(--s5); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s4); }
.prose p, .prose li { color: var(--text-light); }
.prose li { font-size: var(--fs-body); }
.prose strong { color: var(--text-dark); }

.legal-meta {
  border-left: 2px solid var(--accent);
  padding-left: var(--s3);
  margin-bottom: var(--s5);
  font-size: var(--fs-sm);
  color: var(--text-light);
}
.legal-meta p { margin-bottom: var(--s1); font-size: var(--fs-sm); }
.legal-meta p:last-child { margin-bottom: 0; }

.callout {
  background: var(--surface);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: var(--s4);
  margin: var(--s4) 0 var(--s5);
  box-shadow: var(--shadow-sm);
}
.callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------ contact --- */

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--s6);
  align-items: start;
}

.contact-panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--s5);
}
.contact-panel h2 { font-size: var(--fs-h3); }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex;
  gap: var(--s3);
  padding: var(--s3) 0;
  border-bottom: var(--hairline) solid var(--border);
  font-size: var(--fs-sm);
  color: var(--text-light);
}
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list svg { width: 22px; height: 22px; flex: none; color: var(--primary); margin-top: 2px; }
.contact-list .cred-label { margin-bottom: 0; }
.contact-list a { font-weight: 600; word-break: break-word; }

.form { margin-top: var(--s3); }
.field { margin-bottom: var(--s3); }
.field label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: var(--s1);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .7rem .85rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--text-dark);
  background: var(--bg);
  border: var(--hairline) solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color var(--tr), box-shadow var(--tr);
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
}
.form-note {
  font-size: var(--fs-xs);
  color: var(--text-light);
  margin: var(--s3) 0 0;
}

/* ------------------------------------------------------------- footer --- */

.footer {
  background: var(--primary-deep);
  color: var(--on-dark);
  border-top: 3px solid var(--accent);
}

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

.footer-mark {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s3);
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: var(--on-dark);
  text-decoration: none;
}
.footer-mark span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--primary-mid);
  color: var(--on-dark);
  font-size: var(--fs-xs);
  letter-spacing: .06em;
  border-radius: var(--radius);
}

.footer-blurb {
  color: var(--on-dark-muted);
  font-size: var(--fs-sm);
  max-width: 34ch;
}

.footer-meta {
  margin: 0;
  padding-top: var(--s3);
  border-top: var(--hairline) solid var(--rule-dark);
  font-size: var(--fs-xs);
  color: var(--on-dark-muted);
  letter-spacing: .04em;
}

.footer-head {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0 0 var(--s3);
}

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li {
  margin-bottom: var(--s2);
  font-size: var(--fs-sm);
  color: var(--on-dark-muted);
}
.footer-links a,
.footer-col a {
  color: var(--on-dark-muted);
  font-size: var(--fs-sm);
  text-decoration: none;
  word-break: break-word;
}
.footer-links a:hover,
.footer-col a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-col p { color: var(--on-dark-muted); font-size: var(--fs-sm); }
.footer-col :focus-visible { outline-color: var(--accent-soft); }

.footer-bottom {
  border-top: var(--hairline) solid var(--rule-dark);
  background: var(--primary);
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  padding: var(--s3) 0;
  font-size: var(--fs-xs);
  color: var(--on-dark-muted);
}
.footer-bottom-inner p { margin: 0; max-width: none; color: var(--on-dark-muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--s3); }
.footer-legal a { color: var(--on-dark-muted); font-size: var(--fs-xs); text-decoration: none; }
.footer-legal a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-bottom :focus-visible { outline-color: var(--accent-soft); }

/* --------------------------------------------------------- responsive --- */

@media (max-width: 900px) {
  .value-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cred-list { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .split { gap: var(--s5); }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }

  .nav-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s3);
    padding: var(--s4) var(--gutter);
    background: var(--surface);
    border-bottom: var(--hairline) solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-menu.is-open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links li { border-bottom: var(--hairline) solid var(--border); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-link { display: block; padding: var(--s2) 0; font-size: var(--fs-body); }
  .nav-link::after { bottom: 6px; }
  .nav-inner { position: relative; }

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

  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--s5);
    padding: var(--s6) 0;
    min-height: 0;
  }
  .hero-panel { display: none; }
  .lead { max-width: none; }

  .page-hero-inner { padding: var(--s5) 0; }

  .value-grid,
  .services-grid,
  .steps,
  .cred-list,
  .split,
  .field-row { grid-template-columns: 1fr; }

  .split-media { padding: var(--s4); }

  .cta-inner { flex-direction: column; align-items: flex-start; padding: var(--s5) 0; }

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

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