/* ==========================================================================
   Sun Hustle Co Pty Ltd — sunhustlecotec.site
   Art direction: "switchboard schematic". Deep petrol slate + burnt brass,
   cool neutral ramp, sharp shape language (2-3px radii, hairline rules,
   drafting grid), monospace reserved for measured data (ABN/ACN/specs).
   All colour, spacing, radius and shadow values are declared once below.
   ========================================================================== */

:root {
  /* Brand ------------------------------------------------------------- */
  --primary:        #133042;
  --primary-600:    #1d465c;
  --primary-800:    #0e2534;
  --primary-900:    #091a25;
  --primary-300:    #6f93a6;

  --accent:         #c8791f;
  --accent-light:   #e9a94e;
  --accent-ink:     #8f4f0c;
  --accent-soft:    #f6e7d3;

  /* Neutrals ---------------------------------------------------------- */
  --bg:             #f5f7f8;
  --surface:        #ffffff;
  --surface-alt:    #eceff1;
  --text-dark:      #14202a;
  --text-mid:       #55636d;
  --text-light:     #c4d2da;
  --border:         #dbe1e5;
  --border-strong:  #bcc7ce;
  --border-invert:  rgba(255, 255, 255, 0.14);
  --border-invert-strong: rgba(255, 255, 255, 0.32);

  /* Atmosphere -------------------------------------------------------- */
  --glow-warm:      rgba(200, 121, 31, 0.26);
  --glow-cool:      rgba(111, 147, 166, 0.20);
  --grid-line:      rgba(255, 255, 255, 0.055);
  --nav-bg:         rgba(245, 247, 248, 0.82);
  --nav-bg-solid:   #f5f7f8;
  --tint-warm:      rgba(200, 121, 31, 0.10);
  --mask-fade:      linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.05) 100%);

  /* Shadows ----------------------------------------------------------- */
  --shadow-sm:      0 1px 2px rgba(18, 32, 43, 0.05);
  --shadow-md:      0 1px 2px rgba(18, 32, 43, 0.04), 0 8px 24px rgba(18, 32, 43, 0.07);
  --shadow-lg:      0 2px 4px rgba(18, 32, 43, 0.05), 0 18px 40px rgba(18, 32, 43, 0.13);
  --shadow-nav:     0 1px 0 rgba(18, 32, 43, 0.08);

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

  /* Geometry ---------------------------------------------------------- */
  --radius-sm: 2px;
  --radius:    3px;
  --radius-lg: 6px;
  --container: 1140px;
  --measure:   66ch;
  --hairline:  1px;
  --rule:      3px;

  /* Type -------------------------------------------------------------- */
  --font-body:    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Helvetica Neue", Helvetica, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-mono:    ui-monospace, SFMono-Regular, "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;

  --t-hero:    clamp(2.25rem, 5vw, 4rem);
  --t-h2:      clamp(1.6rem, 3vw, 2.4rem);
  --t-h3:      clamp(1.1rem, 1.5vw, 1.3rem);
  --t-lead:    clamp(1.05rem, 1.4vw, 1.2rem);
  --t-body:    1.0625rem;
  --t-small:   0.875rem;
  --t-micro:   0.8125rem;
  --t-eyebrow: 0.78rem;

  /* Motion ------------------------------------------------------------ */
  --dur:  180ms;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ==========================================================================
   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(--t-body);
  line-height: 1.65;
  overflow-x: hidden;
}

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

h1 { font-size: var(--t-hero); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -0.015em; }
h4 { font-size: 1rem; letter-spacing: -0.01em; }

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

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

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

strong { font-weight: 700; }

svg { display: block; }

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

.band-dark :focus-visible { outline-color: var(--accent-light); }

::selection { background: var(--accent-soft); color: var(--text-dark); }

/* ==========================================================================
   Utilities
   ========================================================================== */

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

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

.section-head { margin-bottom: var(--s5); }
.section-head p { color: var(--text-mid); font-size: var(--t-lead); }

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 var(--s2);
  max-width: none;
}

.band-dark .eyebrow { color: var(--accent-light); }

.lead {
  font-size: var(--t-lead);
  line-height: 1.6;
  color: var(--text-mid);
}

.band-dark .lead { color: var(--text-light); }

.measure { max-width: var(--measure); }

.mono {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.02em;
}

.stack > * + * { margin-top: var(--s3); }

.rule {
  border: 0;
  border-top: var(--hairline) solid var(--border);
  margin: var(--s5) 0;
}

.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: var(--s3);
  top: -100px;
  z-index: 100;
  background: var(--accent);
  color: var(--text-dark);
  padding: var(--s2) var(--s3);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: var(--t-small);
  text-decoration: none;
}
.skip-link:focus { top: var(--s2); }

/* ==========================================================================
   Dark band + hero background craft
   ========================================================================== */

.band-dark {
  position: relative;
  isolation: isolate;
  color: var(--surface);
  background:
    radial-gradient(78% 120% at 80% 6%, var(--glow-warm) 0%, transparent 62%),
    radial-gradient(62% 100% at 4% 96%, var(--glow-cool) 0%, transparent 66%),
    linear-gradient(158deg, var(--primary-800) 0%, var(--primary) 52%, var(--primary-900) 100%);
}

.band-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(to right, var(--grid-line) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(to bottom, var(--grid-line) 0 1px, transparent 1px 64px);
  -webkit-mask-image: var(--mask-fade);
  mask-image: var(--mask-fade);
  pointer-events: none;
}

.band-dark h1, .band-dark h2, .band-dark h3 { color: var(--surface); }
.band-dark a { color: var(--accent-light); }
.band-dark a:hover { color: var(--surface); }

.cut-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2.75rem), 0 100%); }
.cut-bottom-sm { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.5rem), 0 100%); }

.band-tint {
  background: var(--surface-alt);
  border-top: var(--hairline) solid var(--border);
  border-bottom: var(--hairline) solid var(--border);
}

/* ==========================================================================
   Buttons + links
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  padding: 0.8rem 1.6rem;
  border: var(--hairline) solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--t-small);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              color var(--dur) var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent-light);
  color: var(--text-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--text-dark);
  color: var(--text-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.band-dark .btn-outline {
  color: var(--surface);
  border-color: var(--border-invert-strong);
}
.band-dark .btn-outline:hover {
  color: var(--surface);
  border-color: var(--surface);
  background: var(--border-invert);
  transform: translateY(-1px);
}

.btn-sm { padding: 0.55rem 1.05rem; font-size: var(--t-micro); }

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  font-weight: 700;
  font-size: var(--t-small);
  text-decoration: none;
  border-bottom: var(--rule) solid var(--accent);
  padding-bottom: 2px;
  transition: gap var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.text-link:hover { gap: var(--s2); border-color: var(--text-dark); }
.band-dark .text-link { border-color: var(--accent); }
.band-dark .text-link:hover { border-color: var(--surface); }

/* ==========================================================================
   Header / navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg-solid);
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: var(--shadow-nav);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  min-height: 68px;
}

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

.wordmark-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--accent);
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: var(--t-small);
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.wordmark-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.wordmark-suffix {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 38px;
  padding: 0 9px;
  background: transparent;
  border: var(--hairline) solid var(--border-strong);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-dark);
  border-radius: var(--radius-sm);
}

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

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

.nav-list li { margin: 0; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: var(--s1) 0;
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: var(--rule);
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.nav-link:hover { color: var(--accent-ink); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link.is-active { color: var(--text-dark); font-weight: 700; }
.nav-link.is-active::after { transform: scaleX(1); }

.nav-cta { flex-shrink: 0; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { padding: var(--s7) 0 calc(var(--s7) + var(--s4)); }

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

.hero-copy { max-width: 42rem; }

.hero-title { margin-bottom: var(--s4); }

.hero-lead {
  font-size: var(--t-lead);
  line-height: 1.6;
  color: var(--text-light);
  max-width: 34rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1) var(--s4);
  margin: var(--s5) 0 0;
  padding: var(--s3) 0 0;
  border-top: var(--hairline) solid var(--border-invert);
  list-style: none;
  max-width: none;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.04em;
  color: var(--text-light);
}
.hero-meta li { margin: 0; }

.hero-anchor { width: 100%; }
.hero-anchor svg { width: 100%; height: auto; }

/* Schematic drawing tokens ------------------------------------------- */
.dia-line     { fill: none; stroke: var(--primary-300); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dia-accent   { fill: none; stroke: var(--accent-light); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.dia-hairline { fill: none; stroke: var(--border-invert-strong); stroke-width: 1; }
.dia-dash     { fill: none; stroke: var(--primary-300); stroke-width: 1.25; stroke-dasharray: 5 5; stroke-linecap: round; }
.dia-fill     { fill: var(--primary-900); stroke: none; }
.dia-dot      { fill: var(--accent-light); stroke: none; }
.dia-label    { fill: var(--text-light); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */

.page-hero { padding: var(--s6) 0 calc(var(--s6) + var(--s2)); }

.page-hero-inner { max-width: 52rem; }

.page-title { margin-bottom: var(--s3); }

/* ==========================================================================
   Props band (asymmetric two-column)
   ========================================================================== */

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

.props-head p { color: var(--text-mid); }

.props-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
  border-top: var(--hairline) solid var(--border);
}

.prop {
  margin: 0;
  padding: var(--s4) 0;
  border-bottom: var(--hairline) solid var(--border);
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: var(--s3);
}

.prop-index {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  color: var(--accent-ink);
  letter-spacing: 0.08em;
  padding-top: 0.2rem;
}

.prop-title { margin: 0 0 var(--s1); font-size: 1.05rem; }
.prop-text { margin: 0; color: var(--text-mid); font-size: var(--t-small); }

/* ==========================================================================
   Services
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--s3);
}

.service-card {
  background: var(--surface);
  border: var(--hairline) solid var(--border);
  border-radius: var(--radius);
  padding: var(--s4);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-ink);
  margin-bottom: var(--s3);
}

.icon-tile svg { width: 24px; height: 24px; }

.service-title { margin: 0 0 var(--s2); }

.service-text { margin: 0; color: var(--text-mid); font-size: var(--t-small); max-width: none; }

.services-more { margin-top: var(--s5); }

.check-list {
  list-style: none;
  margin: var(--s3) 0 0;
  padding: 0;
  max-width: none;
  display: grid;
  gap: var(--s1);
}

.check-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: var(--s2);
  align-items: start;
  font-size: var(--t-small);
  color: var(--text-mid);
  margin: 0;
}

.check-item svg { width: 18px; height: 18px; margin-top: 5px; color: var(--accent-ink); }

/* ==========================================================================
   Two-column generic band + process
   ========================================================================== */

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

.grid-2-top { align-items: start; }

.panel {
  background: var(--surface);
  border: var(--hairline) solid var(--border);
  border-radius: var(--radius);
  padding: var(--s5);
}

.panel-dark {
  background: var(--primary);
  border: var(--hairline) solid var(--border-invert);
  border-radius: var(--radius);
  padding: var(--s5);
  color: var(--text-light);
}

.process-visual { width: 100%; margin-bottom: var(--s4); }
.process-visual svg { width: 100%; height: auto; }

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}

.step {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: var(--s3);
  padding: var(--s3) 0;
  margin: 0;
  border-bottom: var(--hairline) solid var(--border);
}
.step:last-child { border-bottom: 0; }

.step-num {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  font-weight: 700;
  color: var(--accent-ink);
  letter-spacing: 0.08em;
  padding-top: 0.2rem;
}

.step-title { margin: 0 0 0.2rem; font-size: 1.02rem; }
.step-text { margin: 0; font-size: var(--t-small); color: var(--text-mid); }

/* ==========================================================================
   Credentials strip (factual only)
   ========================================================================== */

.creds { padding: var(--s6) 0; }

.creds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: var(--s4);
  margin-top: var(--s5);
  border-top: var(--hairline) solid var(--border-invert);
  padding-top: var(--s4);
}

.cred { display: block; }

.cred-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: var(--s1);
}

.cred-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--surface);
}

/* ==========================================================================
   CTA strip
   ========================================================================== */

.cta-strip {
  background: var(--surface);
  border-top: var(--hairline) solid var(--border);
  border-bottom: var(--hairline) solid var(--border);
  background-image: linear-gradient(180deg, var(--tint-warm) 0%, transparent 70%);
  padding: var(--s6) 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s5);
  align-items: center;
}

.cta-title { margin: 0 0 var(--s2); }
.cta-text { margin: 0; color: var(--text-mid); }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  justify-content: flex-end;
}

/* ==========================================================================
   About page pieces
   ========================================================================== */

.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
  border-top: var(--hairline) solid var(--border);
}

.fact {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: var(--s3);
  padding: var(--s2) 0;
  margin: 0;
  border-bottom: var(--hairline) solid var(--border);
  font-size: var(--t-small);
}

.fact-k {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  padding-top: 0.15rem;
}

.fact-v { font-family: var(--font-mono); color: var(--text-dark); }

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
  list-style: none;
  margin: var(--s3) 0 0;
  padding: 0;
  max-width: none;
}

.area-list li {
  margin: 0;
  padding: 0.3rem 0.7rem;
  border: var(--hairline) solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  color: var(--text-mid);
  background: var(--surface);
}

/* ==========================================================================
   Contact page
   ========================================================================== */

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

.contact-form { margin: 0; }

.field { display: block; margin-bottom: var(--s3); }

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: var(--s1);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-family: var(--font-body);
  font-size: var(--t-small);
  color: var(--text-dark);
  background: var(--surface);
  border: var(--hairline) solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--text-mid); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
}

.field textarea { min-height: 150px; resize: vertical; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
}

.form-note {
  font-size: var(--t-micro);
  color: var(--text-mid);
  margin: var(--s3) 0 0;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
  border-top: var(--hairline) solid var(--border);
}

.contact-item {
  padding: var(--s3) 0;
  margin: 0;
  border-bottom: var(--hairline) solid var(--border);
}

.contact-k {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.2rem;
}

.contact-v {
  display: block;
  font-size: var(--t-small);
  font-weight: 600;
  word-break: break-word;
}

/* ==========================================================================
   Legal pages
   ========================================================================== */

.legal { max-width: 46rem; }

.legal h2 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  margin-top: var(--s5);
  padding-top: var(--s3);
  border-top: var(--hairline) solid var(--border);
}

.legal h2:first-of-type { margin-top: 0; }

.legal h3 { margin-top: var(--s4); font-size: 1.02rem; }

.legal p, .legal li { color: var(--text-mid); }

.legal-meta {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  color: var(--text-mid);
  letter-spacing: 0.04em;
  line-height: 1.9;
  margin-bottom: var(--s5);
  padding-bottom: var(--s3);
  border-bottom: var(--hairline) solid var(--border);
  max-width: none;
}

.legal-toc {
  background: var(--surface);
  border: var(--hairline) solid var(--border);
  border-radius: var(--radius);
  padding: var(--s4);
  margin-bottom: var(--s5);
}

.legal-toc h2 {
  border-top: 0;
  margin: 0 0 var(--s2);
  padding-top: 0;
  font-size: var(--t-eyebrow);
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  font-weight: 400;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
  columns: 2;
  column-gap: var(--s4);
}

.toc-list li { margin-bottom: var(--s1); font-size: var(--t-small); break-inside: avoid; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--primary-900);
  color: var(--text-light);
  border-top: var(--rule) solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr 1.2fr 1.4fr;
  gap: var(--s5);
  padding-top: var(--s6);
  padding-bottom: var(--s5);
}

.footer-col { min-width: 0; }

.footer-mark {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  text-decoration: none;
  color: var(--surface);
  margin-bottom: var(--s3);
}

.footer-mark .wordmark-text { color: var(--surface); }
.footer-mark .wordmark-suffix { color: var(--primary-300); }

.footer-blurb {
  font-size: var(--t-small);
  color: var(--text-light);
  max-width: 34ch;
}

.footer-id {
  margin: var(--s3) 0 0;
  padding-top: var(--s3);
  border-top: var(--hairline) solid var(--border-invert);
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  line-height: 1.9;
  color: var(--primary-300);
  max-width: none;
}

.footer-head {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin: 0 0 var(--s3);
  font-weight: 400;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}

.footer-links li { margin-bottom: var(--s1); font-size: var(--t-small); }

.footer-links a,
.footer-legal a {
  color: var(--text-light);
  text-decoration: none;
  font-size: var(--t-small);
  transition: color var(--dur) var(--ease);
}

.footer-links a:hover,
.footer-legal a:hover { color: var(--accent-light); text-decoration: underline; }

.footer-bar {
  border-top: var(--hairline) solid var(--border-invert);
  background: var(--primary-800);
}

.footer-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  padding-top: var(--s3);
  padding-bottom: var(--s3);
}

.footer-bar-inner p {
  margin: 0;
  max-width: none;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  color: var(--primary-300);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}

.footer-legal li { margin: 0; }

/* ==========================================================================
   Responsive — breakpoint at 768px
   ========================================================================== */

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .hero-inner { gap: var(--s5); }
  .props { gap: var(--s5); }
  .grid-2 { gap: var(--s5); }
}

@media (max-width: 768px) {
  :root {
    --s6: 3rem;
    --s7: 3.5rem;
  }

  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s2) var(--s4) var(--s4);
    background: var(--nav-bg-solid);
    border-top: var(--hairline) solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .site-nav.open { display: flex; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li { border-bottom: var(--hairline) solid var(--border); }

  .nav-link { display: block; padding: var(--s2) 0; font-size: 1rem; }
  .nav-link::after { bottom: 0; right: auto; width: 28px; }

  .nav-cta { margin-top: var(--s3); align-self: flex-start; }

  .hero-inner,
  .props,
  .grid-2,
  .contact-grid,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .hero { padding: var(--s6) 0 calc(var(--s6) + var(--s3)); }
  .hero-inner { min-height: 0; }
  .hero-anchor { max-width: 420px; }

  .cta-actions { justify-content: flex-start; }

  .field-row { grid-template-columns: 1fr; }

  .fact { grid-template-columns: 1fr; gap: var(--s1); }

  .toc-list { columns: 1; }

  .panel, .panel-dark { padding: var(--s4); }

  .cut-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.5rem), 0 100%); }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bar-inner { flex-direction: column; align-items: flex-start; }
  .btn-row .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
}

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