/* ==========================================================================
   Fropodz Pty Ltd — fropodztec.site
   Art direction: drafting office / prefab factory.
   Deep eucalypt green + brass accent on a warm limestone neutral ramp.
   Shape language: sharp (3px radius, hairline rules, tight tracking).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens — every value below this block must come from here
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --primary: #1e2e26;
  --primary-deep: #16211c;
  --primary-mid: #2c4437;
  --primary-soft: #3f6350;
  --accent: #d9a441;
  --accent-deep: #8a6620;
  --accent-soft: #f0dcb0;

  /* Neutral ramp (warm limestone) */
  --bg: #fbf8f2;
  --surface: #ffffff;
  --surface-2: #f2ede3;
  --border: #e2dacb;
  --border-strong: #cfc4ae;

  /* Ink */
  --text-dark: #1a1815;
  --text-muted: #5c574e;
  --on-dark: #f3efe6;
  --on-dark-muted: #aeb8b0;
  --link: #2c4437;

  /* Layered / translucent tokens */
  --grid-line: rgba(30, 46, 38, 0.07);
  --grid-line-strong: rgba(30, 46, 38, 0.11);
  --glow: rgba(217, 164, 65, 0.18);
  --glow-cool: rgba(63, 99, 80, 0.16);
  --tick: rgba(30, 46, 38, 0.28);
  --tick-light: rgba(243, 239, 230, 0.3);
  --nav-veil: rgba(251, 248, 242, 0.82);
  --hairline-dark: rgba(243, 239, 230, 0.14);
  --focus-ring: rgba(217, 164, 65, 0.55);
  --glass: rgba(217, 164, 65, 0.1);

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

  --fs-hero: clamp(2.3rem, 5.2vw, 4rem);
  --fs-h1: clamp(2rem, 4.2vw, 3rem);
  --fs-h2: clamp(1.6rem, 3vw, 2.4rem);
  --fs-h3: clamp(1.08rem, 1.6vw, 1.25rem);
  --fs-lead: clamp(1.05rem, 1.5vw, 1.2rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.78rem;

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

  /* Geometry */
  --radius: 3px;
  --radius-lg: 6px;
  --container: 1140px;
  --measure: 66ch;
  --gutter: 22px;
  --hairline: 1px;
  --wedge: 56px;

  /* Shadow */
  --shadow-1: 0 1px 2px rgba(26, 24, 21, 0.05);
  --shadow-2: 0 1px 2px rgba(26, 24, 21, 0.04), 0 10px 26px rgba(26, 24, 21, 0.07);
  --shadow-3: 0 18px 44px rgba(22, 33, 28, 0.16);

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

/* --------------------------------------------------------------------------
   2. 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: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 var(--s3);
  text-wrap: balance;
}

h3,
h4 {
  letter-spacing: -0.02em;
  line-height: 1.25;
}

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

a {
  color: var(--link);
  text-decoration-thickness: var(--hairline);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--accent-deep);
}

ul,
ol {
  max-width: var(--measure);
}

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

svg {
  display: block;
}

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

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

.skip-link {
  position: absolute;
  left: var(--s3);
  top: calc(-1 * var(--s7));
  z-index: 60;
  background: var(--primary-deep);
  color: var(--on-dark);
  padding: var(--s2) var(--s3);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}

.skip-link:focus {
  top: var(--s3);
}

/* --------------------------------------------------------------------------
   3. Shared micro-typography
   -------------------------------------------------------------------------- */
.eyebrow {
  display: block;
  margin: 0 0 var(--s2);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

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

/* Dimension-line divider — the drafting motif, reused as a section rule */
.tickrule {
  height: 9px;
  border-top: var(--hairline) solid var(--border-strong);
  background-image: repeating-linear-gradient(
    90deg,
    var(--tick) 0 1px,
    transparent 1px 13px
  );
  background-repeat: repeat-x;
  background-size: 13px 5px;
  background-position: 0 0;
}

.tickrule-light {
  border-top-color: var(--hairline-dark);
  background-image: repeating-linear-gradient(
    90deg,
    var(--tick-light) 0 1px,
    transparent 1px 13px
  );
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: 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(--fs-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), box-shadow var(--dur) var(--ease),
    color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: var(--text-dark);
  box-shadow: var(--shadow-1);
}

.btn-primary:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border-strong);
}

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

.btn-ghost {
  background: transparent;
  color: var(--on-dark);
  border-color: var(--hairline-dark);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   5. Navigation
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-veil);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-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(--s3);
  min-height: 66px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--primary);
  color: var(--accent);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}

.brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.2;
}

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

.nav-link {
  position: relative;
  display: inline-block;
  padding: var(--s1) 0;
  font-size: var(--fs-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: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.nav-link:hover {
  color: var(--primary-mid);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.6rem 1.1rem;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--on-dark);
  background: var(--primary);
  border: var(--hairline) solid var(--primary);
  border-radius: var(--radius);
  transition: background-color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.nav-cta:hover {
  background: var(--primary-mid);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 38px;
  padding: 0 var(--s1);
  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(--primary);
}

/* --------------------------------------------------------------------------
   6. Hero + page hero (shared blueprint background craft)
   -------------------------------------------------------------------------- */
.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  background-color: var(--surface-2);
  background-image: radial-gradient(
      ellipse 60% 70% at 82% 10%,
      var(--glow),
      transparent 70%
    ),
    radial-gradient(ellipse 70% 60% at 0% 100%, var(--glow-cool), transparent 65%),
    linear-gradient(var(--grid-line) var(--hairline), transparent var(--hairline)),
    linear-gradient(
      90deg,
      var(--grid-line) var(--hairline),
      transparent var(--hairline)
    ),
    linear-gradient(
      180deg,
      var(--grid-line-strong) var(--hairline),
      transparent var(--hairline)
    );
  background-size: auto, auto, 28px 28px, 28px 28px, 100% 140px;
  border-bottom: var(--hairline) solid var(--border);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--wedge);
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: -1;
}

.hero {
  padding: var(--s7) 0 calc(var(--s7) + var(--wedge));
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: var(--s6);
  width: 100%;
}

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

.hero-lead {
  font-size: var(--fs-lead);
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: var(--s5);
}

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

.hero-note {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0;
}

.hero-visual {
  position: relative;
}

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

/* Drafted pod elevation */
.pod-line {
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.6;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.pod-hair {
  fill: none;
  stroke: var(--primary-soft);
  stroke-width: 0.8;
}

.pod-roof {
  fill: var(--glass);
  stroke: var(--primary);
  stroke-width: 1.6;
}

.pod-glass {
  fill: var(--glow);
  stroke: var(--primary);
  stroke-width: 1.2;
}

.pod-dim {
  fill: none;
  stroke: var(--accent-deep);
  stroke-width: 1;
}

.pod-label {
  fill: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.pod-block {
  fill: var(--text-dark);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

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

.page-hero h1 {
  font-size: var(--fs-h1);
  margin-bottom: var(--s3);
}

.page-hero-lead {
  font-size: var(--fs-lead);
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0;
}

/* --------------------------------------------------------------------------
   7. Sections
   -------------------------------------------------------------------------- */
.section {
  padding: var(--s7) 0;
}

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

.section-dark {
  background-color: var(--primary-deep);
  background-image: radial-gradient(
      ellipse 55% 60% at 88% 0%,
      var(--glow),
      transparent 70%
    ),
    linear-gradient(
      90deg,
      var(--hairline-dark) var(--hairline),
      transparent var(--hairline)
    );
  background-size: auto, 28px 28px;
  color: var(--on-dark);
}

.section-dark h2,
.section-dark h3 {
  color: var(--on-dark);
}

.section-dark p {
  color: var(--on-dark-muted);
}

.section-head {
  max-width: var(--measure);
  margin-bottom: var(--s5);
}

.section-title {
  font-size: var(--fs-h2);
  margin-bottom: var(--s3);
}

.section-intro {
  color: var(--text-muted);
  margin: 0;
}

.section-dark .section-intro {
  color: var(--on-dark-muted);
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s4);
  margin-bottom: var(--s5);
}

.section-head-row .section-head {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   8. Value props
   -------------------------------------------------------------------------- */
.props-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s5);
}

.prop {
  border-top: 2px solid var(--primary);
  padding-top: var(--s3);
}

.prop-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: var(--s3);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--primary-mid);
}

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

.prop h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--s1);
}

.prop p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-small);
}

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

.services-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.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(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

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

.service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--s3);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--primary-mid);
  border: var(--hairline) solid var(--border);
}

.service-title {
  font-size: var(--fs-h3);
  margin-bottom: var(--s1);
}

.service-desc {
  margin: 0 0 var(--s3);
  color: var(--text-muted);
  font-size: var(--fs-small);
}

.service-meta {
  margin-top: auto;
  padding-top: var(--s2);
  border-top: var(--hairline) solid var(--border);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

/* --------------------------------------------------------------------------
   10. Process (dark full-bleed band) — a real build sequence, so numbered
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s4);
  margin-top: var(--s5);
}

.step {
  padding-top: var(--s3);
  border-top: var(--hairline) solid var(--hairline-dark);
}

.step-no {
  display: block;
  margin-bottom: var(--s2);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.16em;
  color: var(--accent);
}

.step-title {
  font-size: var(--fs-h3);
  margin-bottom: var(--s1);
}

.step-text {
  margin: 0;
  font-size: var(--fs-small);
}

/* --------------------------------------------------------------------------
   11. Split band (two columns, breaks the stack)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--s6);
}

.split-reverse .split-visual {
  order: -1;
}

.split-copy p {
  color: var(--text-muted);
}

.section-dark .split-copy p {
  color: var(--on-dark-muted);
}

.checklist {
  list-style: none;
  margin: 0 0 var(--s4);
  padding: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--s2);
  margin-bottom: var(--s2);
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.checklist svg {
  flex: none;
  margin-top: 3px;
  color: var(--accent-deep);
}

.section-dark .checklist li {
  color: var(--on-dark-muted);
}

.section-dark .checklist svg {
  color: var(--accent);
}

/* CSS-drawn module stack: the three layers a pod is built from */
.modstack {
  display: grid;
  gap: var(--s2);
  padding: var(--s4);
  background: var(--surface);
  border: var(--hairline) solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}

.mod {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s3) var(--s3);
  border: var(--hairline) solid var(--border-strong);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.mod-1 {
  margin-right: var(--s5);
}

.mod-2 {
  margin-left: var(--s2);
  margin-right: var(--s3);
}

.mod-3 {
  margin-left: var(--s5);
  border-left-color: var(--accent);
}

.mod-name {
  font-weight: 700;
  font-size: var(--fs-small);
}

.mod-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   12. Credentials data plate — factual only
   -------------------------------------------------------------------------- */
.credentials {
  background: var(--surface);
  border: var(--hairline) solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: var(--s4);
  box-shadow: var(--shadow-1);
}

.cred-caption {
  display: block;
  margin-bottom: var(--s3);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

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

.cred {
  border-left: var(--hairline) solid var(--border);
  padding-left: var(--s3);
}

.cred:first-child {
  border-left: 0;
  padding-left: 0;
}

.cred-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s0);
}

.cred-value {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--text-dark);
}

/* --------------------------------------------------------------------------
   13. CTA strip
   -------------------------------------------------------------------------- */
.cta-band {
  background-color: var(--primary);
  background-image: radial-gradient(
    ellipse 50% 90% at 90% 50%,
    var(--glow),
    transparent 70%
  );
  color: var(--on-dark);
  padding: var(--s6) 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
}

.cta-title {
  font-size: var(--fs-h2);
  color: var(--on-dark);
  margin-bottom: var(--s2);
}

.cta-text {
  margin: 0;
  color: var(--on-dark-muted);
  max-width: 52ch;
}

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

/* --------------------------------------------------------------------------
   14. Prose / legal pages
   -------------------------------------------------------------------------- */
.prose {
  max-width: 74ch;
}

.prose h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin-top: var(--s5);
  margin-bottom: var(--s2);
}

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

.prose h3 {
  font-size: var(--fs-h3);
  margin-top: var(--s4);
  margin-bottom: var(--s1);
}

.prose ul {
  padding-left: var(--s4);
  margin: 0 0 var(--s3);
  color: var(--text-muted);
}

.prose li {
  margin-bottom: var(--s1);
}

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

.legal-stamp {
  margin-bottom: var(--s5);
  padding: var(--s3);
  background: var(--surface-2);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: var(--measure);
}

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

.contact-card {
  background: var(--surface);
  border: var(--hairline) solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: var(--s5);
  box-shadow: var(--shadow-2);
}

.form {
  display: grid;
  gap: var(--s3);
}

.field {
  display: grid;
  gap: var(--s1);
}

.field label {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: var(--s2) var(--s3);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--text-dark);
  background: var(--bg);
  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 textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary-soft);
  box-shadow: 0 0 0 3px var(--glass);
  outline: none;
}

.form-note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  line-height: 1.7;
  color: var(--text-muted);
}

.contact-list {
  list-style: none;
  margin: 0 0 var(--s5);
  padding: 0;
}

.contact-item {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
  padding: var(--s3) 0;
  border-bottom: var(--hairline) solid var(--border);
}

.contact-item svg {
  flex: none;
  margin-top: 2px;
  color: var(--primary-soft);
}

.contact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s0);
}

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

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--primary-deep);
  color: var(--on-dark-muted);
  border-top: var(--hairline) solid var(--primary-soft);
  font-size: var(--fs-small);
}

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

.footer-col h2 {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s3);
}

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

.footer-brand .brand-mark {
  background: var(--primary-soft);
  color: var(--on-dark);
}

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

.footer-blurb {
  margin: 0 0 var(--s3);
  color: var(--on-dark-muted);
  max-width: 40ch;
}

.footer-legalline {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: var(--on-dark-muted);
}

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

.footer-links li {
  margin-bottom: var(--s1);
}

.footer-links a,
.footer-brand:hover,
.footer-bottom-links a {
  color: var(--on-dark-muted);
  text-decoration: none;
}

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

.footer-bottom {
  border-top: var(--hairline) solid var(--hairline-dark);
  padding: var(--s3) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  flex-wrap: wrap;
}

.footer-copy {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
  color: var(--on-dark-muted);
}

.footer-bottom-links {
  display: flex;
  gap: var(--s3);
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .props-grid,
  .services-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cred-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cred:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s5);
  }

  .split-reverse .split-visual {
    order: 0;
  }
}

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

  .nav-toggle {
    display: flex;
  }

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

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

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

  .nav-menu li:last-child {
    border-bottom: 0;
    padding-top: var(--s3);
  }

  .nav-link {
    display: block;
    padding: var(--s3) 0;
    font-size: 1rem;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.active {
    color: var(--accent-deep);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
  }

  .nav-cta {
    display: block;
    text-align: center;
  }

  .navbar .container {
    position: relative;
  }

  .hero {
    min-height: 0;
    padding-top: var(--s6);
  }

  .hero-visual {
    display: none;
  }

  .props-grid,
  .services-grid,
  .services-grid-2,
  .process-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cred-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s3);
  }

  .cred {
    border-left: 0;
    border-top: var(--hairline) solid var(--border);
    padding-left: 0;
    padding-top: var(--s2);
  }

  .cred:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .cta-inner,
  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .mod-1,
  .mod-2,
  .mod-3 {
    margin-left: 0;
    margin-right: 0;
  }

  .contact-card {
    padding: var(--s4);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .btn:hover,
  .service-card:hover,
  .nav-cta:hover {
    transform: none;
  }
}
