/* =====================================================================
   Wrench & Cinder Car Club — core stylesheet
   Theme: dark base, red accent, subtle carbon-fiber mechanical touch
   All imagery is AI-authored SVG/CSS (no external image dependencies).
   ===================================================================== */

/* ----- Design tokens ----------------------------------------------- */
:root {
  /* Surfaces (dark) */
  --bg:        #0a0b0d;
  --bg-2:      #0f1014;
  --surface:   #15161c;
  --surface-2: #1c1e26;
  --line:      #2a2d37;
  --line-soft: #20222b;

  /* Text */
  --text:  #e9eaee;
  --muted: #9aa0ac;
  --faint: #6b7180;

  /* Brand accents */
  --red:      #e11020;   /* primary fill/border — "cinder" heat */
  --red-text: #ff5a66;   /* AA-safe red for small text & links on dark */
  --red-2:    #a30b16;   /* deep red for gradients */
  --red-glow: rgba(225, 16, 32, 0.45);
  --ember:    #ff6a2b;   /* sparing secondary — molten cinder spark */
  --steel:    #c7ccd6;   /* "wrench" steel highlight */

  /* Typography */
  --font-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-mono-ui: "Chakra Petch", ui-monospace, "Cascadia Mono", monospace;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Geometry */
  --radius: 10px;
  --radius-sm: 6px;
  --maxw: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --header-h: 70px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ----- Carbon-fiber texture (reusable) ----------------------------- *
   A subtle 2x2 twill weave built from layered diagonal gradients.
   Used sparingly on the header, footer and select panels. */
.carbon,
.carbon-soft {
  background-color: #0c0d11;
  background-image:
    repeating-linear-gradient(45deg,  rgba(255,255,255,0.022) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.022) 0 1px, transparent 1px 7px),
    linear-gradient(135deg, #121319 0%, #0a0b0e 50%, #101117 100%);
  background-size: 14px 14px, 14px 14px, 100% 100%;
}
.carbon-soft { background-color: #0a0b0e; }

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient backdrop: faint red ember glow + grain, fixed behind content */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(225,16,32,0.10), transparent 60%),
    radial-gradient(760px 600px at -6% 102%, rgba(255,106,43,0.05), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.4rem, 1.6rem + 4vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 1.3rem + 2.4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1rem + 0.9vw, 1.55rem); }
p { margin: 0 0 1rem; }

::selection { background: var(--red); color: #fff; }

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

/* ----- Layout helpers --------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(3.5rem, 2rem + 7vw, 7rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4rem); }

.eyebrow {
  font-family: var(--font-mono-ui);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--red-text);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
}

.lead { font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.text-muted { color: var(--muted); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* A hairline mechanical divider with a center bolt */
.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
  position: relative;
  margin: 0;
}
.rule::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 7px; height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

/* ----- Buttons ----------------------------------------------------- */
.btn {
  --b: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-mono-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
  position: relative;
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn:active { transform: translateY(1px); }

.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-2) 100%);
  box-shadow: 0 0 0 1px rgba(225,16,32,0.4), 0 8px 26px -10px var(--red-glow);
}
.btn--primary:hover {
  box-shadow: 0 0 0 1px rgba(225,16,32,0.7), 0 12px 34px -8px var(--red-glow);
  transform: translateY(-2px);
}

.btn--ghost {
  color: var(--text);
  background: rgba(255,255,255,0.015);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--steel); background: rgba(255,255,255,0.04); transform: translateY(-2px); }

.btn--block { width: 100%; }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }

/* ----- Header / nav ------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(10px);
  background: rgba(8, 9, 11, 0.72);
}
.site-header.is-scrolled { background: rgba(8, 9, 11, 0.92); border-bottom-color: var(--line); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.brand img { width: 38px; height: 38px; }
.brand-name { font-size: 1.18rem; font-weight: 700; line-height: 1; }
.brand-name b { color: var(--red); font-weight: 700; }
.brand-tag {
  display: block;
  font-family: var(--font-mono-ui);
  font-size: 0.56rem;
  letter-spacing: 0.34em;
  color: var(--faint);
  margin-top: 3px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: var(--font-mono-ui);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color 0.18s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.35rem;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--text); }

.nav-cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin-inline: auto;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: rgba(8, 9, 11, 0.98);
    border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.25s var(--ease), opacity 0.25s, visibility 0s 0.25s;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.25s var(--ease), opacity 0.25s;
  }
  .nav-links a { padding: 0.95rem 0.5rem; border-bottom: 1px solid var(--line-soft); }
  .nav-links a::after { display: none; }
  .nav-cta { margin: 1rem 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* ----- Hero -------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 2rem + 8vw, 7.5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 .accent {
  color: transparent;
  background: linear-gradient(120deg, #fff 0%, var(--steel) 40%, var(--red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.2rem;
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
}
.hero-meta div { line-height: 1.2; }
.hero-meta .n {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--text);
  display: block;
}
.hero-meta .l {
  font-family: var(--font-mono-ui);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}
.hero-art {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-height: 320px; }
}

/* ----- Cards & grids ---------------------------------------------- */
.grid { display: grid; gap: 1.2rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  position: relative;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
/* corner bolts — mechanical touch */
.card::before {
  content: "";
  position: absolute;
  inset: 7px 7px auto auto;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--line);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.3);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(225,16,32,0.4);
  box-shadow: 0 22px 50px -28px rgba(0,0,0,0.9), 0 0 0 1px rgba(225,16,32,0.15);
}
.card .icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(225,16,32,0.08);
  border: 1px solid rgba(225,16,32,0.25);
  margin-bottom: 1.1rem;
}
.card .icon svg { width: 26px; height: 26px; color: var(--red); }
.card h3 { margin-bottom: 0.45rem; }
.card p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* Feature list with mechanical check marks */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.feature-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 0.85rem;
  align-items: start;
}
.feature-list li::before {
  content: "";
  width: 20px; height: 20px;
  margin-top: 3px;
  background: var(--red);
  -webkit-mask: var(--check) center / contain no-repeat;
  mask: var(--check) center / contain no-repeat;
}
:root {
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z'/%3E%3C/svg%3E");
}

/* Section heading block */
.section-head { max-width: 62ch; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; }

/* ----- Membership tier table/cards -------------------------------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 920px) { .tier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tier-grid { grid-template-columns: 1fr; } }

.tier {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.tier::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--ember));
  opacity: 0.55;
}
.tier:hover { transform: translateY(-4px); border-color: rgba(225,16,32,0.45); }
.tier--featured { border-color: rgba(225,16,32,0.55); box-shadow: 0 0 0 1px rgba(225,16,32,0.25), 0 26px 60px -34px var(--red-glow); }
.tier-flag {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  font-family: var(--font-mono-ui);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}
.tier-name { font-family: var(--font-display); text-transform: uppercase; font-size: 1.45rem; letter-spacing: 0.03em; margin: 0.2rem 0 0.2rem; }
.tier-kicker { font-family: var(--font-mono-ui); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red-text); }
.tier-desc { color: var(--muted); font-size: 0.95rem; margin: 0.6rem 0 1.1rem; }
.tier ul { list-style: none; margin: 0 0 1.3rem; padding: 0; display: grid; gap: 0.6rem; }
.tier ul li { display: grid; grid-template-columns: 18px 1fr; gap: 0.6rem; align-items: start; font-size: 0.92rem; color: var(--text); }
.tier ul li::before {
  content: "";
  width: 14px; height: 14px; margin-top: 4px;
  background: var(--ember);
  -webkit-mask: var(--check) center / contain no-repeat;
  mask: var(--check) center / contain no-repeat;
}
.tier .btn { margin-top: auto; }

/* ----- Plan / roadmap timeline ------------------------------------ */
.timeline { display: grid; gap: 0; position: relative; margin-top: 1rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 19px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--red), var(--line) 80%);
}
.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1.3rem;
  padding: 0.4rem 0 2rem;
  position: relative;
}
.step:last-child { padding-bottom: 0; }
.step .dot {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--red-text);
  position: relative;
  z-index: 1;
}
.step .dot::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(225,16,32,0.25);
}
.step h3 { margin-bottom: 0.3rem; font-size: 1.25rem; }
.step p { color: var(--muted); margin: 0; }
.step .when {
  font-family: var(--font-mono-ui);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  display: block;
  margin-bottom: 0.35rem;
}

/* ----- Panels / callouts ------------------------------------------ */
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 1rem + 2vw, 2.6rem);
  position: relative;
  overflow: hidden;
}
.panel--accent {
  border-color: rgba(225,16,32,0.35);
  background:
    radial-gradient(600px 240px at 100% 0%, rgba(225,16,32,0.12), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
}
.note {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--muted);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
}
.note svg { width: 20px; height: 20px; color: var(--red); flex: none; margin-top: 2px; }

/* ----- Join / CTA band -------------------------------------------- */
.join-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.join-band .container { position: relative; z-index: 1; }
.join-band h2 { margin-bottom: 0.6rem; }
.join-inner,
.founder-panel { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 900px) { .join-inner, .founder-panel { grid-template-columns: 1fr; } }

/* ----- Forms ------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label {
  font-family: var(--font-mono-ui);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label .req { color: var(--red-text); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225,16,32,0.18);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--faint); }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%239aa0ac' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 22px;
  padding-right: 2.4rem;
}
.form-msg {
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  display: none;
}
.form-msg.is-visible { display: block; }
.form-msg--ok { color: #b8f0c8; background: rgba(40,160,80,0.12); border: 1px solid rgba(40,160,80,0.4); }
.form-msg--err { color: #ffc0c5; background: rgba(225,16,32,0.12); border: 1px solid rgba(225,16,32,0.4); }
.field-error { color: #ff9aa2; font-size: 0.78rem; font-family: var(--font-mono-ui); letter-spacing: 0.04em; min-height: 0; }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: var(--red); }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.86rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); flex: none; }

/* ----- FAQ / accordion -------------------------------------------- */
.faq { display: grid; gap: 0.8rem; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono-ui);
  color: var(--red-text);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* ----- Footer ------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 3rem 2rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; } }
.footer-brand p { color: var(--muted); max-width: 38ch; font-size: 0.95rem; margin-top: 0.9rem; }
.footer-col h4 { font-size: 0.8rem; letter-spacing: 0.2em; color: var(--faint); margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a { color: var(--muted); font-size: 0.95rem; transition: color 0.15s; }
.footer-col a:hover { color: var(--red-text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.82rem;
  color: var(--faint);
}
.footer-bottom a { color: var(--muted); }
.social { display: flex; gap: 0.6rem; }
.social a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  transition: color 0.18s, border-color 0.18s, transform 0.18s;
}
.social a:hover { color: var(--red-text); border-color: var(--red); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }

/* ----- Contact page ------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1.25fr 0.9fr; gap: 1.4rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside { display: grid; gap: 1.4rem; }

.next-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; counter-reset: step; }
.next-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 0.9rem; align-items: start; }
.next-steps li span {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(225,16,32,0.12);
  border: 1px solid rgba(225,16,32,0.4);
  color: var(--red-text);
  font-family: var(--font-display);
  font-size: 0.95rem;
}
.next-steps li div { font-size: 0.95rem; color: var(--muted); }
.next-steps li strong { color: var(--text); }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: 0.9rem; align-items: start; }
.contact-list svg { width: 22px; height: 22px; color: var(--red); margin-top: 2px; }
.contact-label {
  display: block;
  font-family: var(--font-mono-ui);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.15rem;
}
.contact-value { color: var(--text); font-size: 0.98rem; word-break: break-word; }
a.contact-value:hover { color: var(--red); }

/* ----- Page hero (interior pages) --------------------------------- */
.page-hero { padding-block: clamp(3rem, 2rem + 5vw, 5.5rem) clamp(2rem, 1.5rem + 2vw, 3rem); position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.8rem); }
.page-hero .lead { margin-top: 0.5rem; }
.breadcrumb {
  font-family: var(--font-mono-ui);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1.2rem;
}
.breadcrumb a:hover { color: var(--red-text); }
.breadcrumb span { color: var(--line); margin: 0 0.5rem; }

/* ----- Reveal-on-scroll ------------------------------------------- */
/* Hidden state only applies when JS is confirmed present (html.js), so
   content stays visible if JavaScript fails or is disabled. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ----- Utility ----------------------------------------------------- */
.stack > * + * { margin-top: 1rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 0.7rem 1.1rem;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
  font-family: var(--font-mono-ui);
  letter-spacing: 0.08em;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
