/* AECT Earth Block — site styles
   Palette from the AECT logo: navy, cream and globe green, on warm off-white. */

:root {
  --brand: #45536c; /* logo navy (primary) */
  --brand-dark: #2f3a4f;
  --brand-tint: #e5e9f0;
  --earth: #232c3c; /* deep navy: headings, dark sections */
  --earth-2: #3a4558;
  --sand: #f1efe3;
  --cream: #fbfaf5;
  --paper: #ffffff;
  --ink: #1b2230;
  --muted: #5d6574;
  --line: #e1ded2;
  --sage: #66744a; /* darkened logo green, readable on light */
  --ok: #3f7a4a;
  --logo-cream: #fbf8cc;
  --logo-green: #adbb89;

  --font-head: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-accent: "Fraunces", Georgia, serif;

  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(35, 44, 60, .06), 0 8px 24px rgba(35, 44, 60, .08);
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: var(--brand-dark); }
a:hover { color: var(--brand); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.02;
  letter-spacing: -.005em;
  margin: 0 0 .5em;
  color: var(--earth);
}
h1 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: .02em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 46ch; }
.eyebrow {
  display: inline-block;
  font: 700 .78rem/1 var(--font-head);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}
.accent { font-family: var(--font-accent); font-style: italic; font-weight: 400; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--earth); color: #dfe3ea; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lede { color: #b8c0ce; }
.section--brand { background: var(--brand); color: #fff; }
.section--brand h2, .section--brand h3 { color: #fff; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--brand); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.6em;
  border: 2px solid var(--bg);
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 700 .95rem/1 var(--font-head);
  letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { --bg: var(--brand-dark); color: var(--fg); transform: translateY(-1px); }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { --bg: rgba(255,255,255,.12); border-color: #fff; }
.btn--outline { --bg: transparent; --fg: var(--earth); border-color: var(--earth); }
.btn--outline:hover { --bg: var(--earth); --fg: #fff; }
.btn--lg { font-size: 1.05rem; padding: 1.1em 2em; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-solid, .site-header--solid { background: var(--cream); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { font: 800 1.25rem/1 var(--font-head); letter-spacing: .04em; }
.brand-name small { display: block; font: 600 .62rem/1.2 var(--font-body); letter-spacing: .18em; text-transform: uppercase; opacity: .8; margin-top: 3px; }
.is-solid .brand, .site-header--solid .brand { color: var(--earth); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  color: #fff; text-decoration: none;
  font: 600 .98rem/1 var(--font-head); letter-spacing: .03em;
  padding: 10px 14px; border-radius: 8px;
}
.nav a:not(.btn):hover { background: rgba(255,255,255,.12); }
.nav a[aria-current="page"]:not(.btn) { box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.is-solid .nav a:not(.btn), .site-header--solid .nav a:not(.btn) { color: var(--earth); }
.is-solid .nav a:not(.btn):hover, .site-header--solid .nav a:not(.btn):hover { background: var(--sand); }
.nav .btn { margin-left: 10px; padding: .8em 1.3em; font-size: .85rem; }
.nav-toggle {
  display: none; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer;
}
.nav-toggle svg { width: 28px; height: 28px; stroke: #fff; }
.is-solid .nav-toggle svg, .site-header--solid .nav-toggle svg { stroke: var(--earth); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); padding: 12px var(--gutter) 24px;
    box-shadow: 0 12px 24px rgba(0,0,0,.12);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a:not(.btn) { color: var(--earth); padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.15rem; }
  .nav .btn { margin: 16px 0 0; }
  .site-header.menu-open { background: var(--cream); }
  .site-header.menu-open .brand { color: var(--earth); }
  .site-header.menu-open .nav-toggle svg { stroke: var(--earth); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
  background: var(--earth) center/cover no-repeat;
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media iframe {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78svh;
  transform: translate(-50%, -50%) scale(1.22); border: 0; pointer-events: none;
  opacity: 0; /* scaled up to crop YouTube's title bar and logo out of frame */ transition: opacity 1.2s ease;
}
.hero-media iframe.is-playing { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(22,29,42,.55) 0%, rgba(22,29,42,.15) 35%, rgba(22,29,42,.75) 100%);
}
.hero .wrap { width: 100%; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(48px, 8vw, 96px); }
.hero h1 { color: #fff; max-width: 15ch; text-transform: uppercase; font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
.hero h1 .accent { text-transform: none; display: block; font-size: clamp(1.15rem, 1.9vw, 1.55rem); line-height: 1.35; max-width: 34ch; letter-spacing: 0; margin-top: .25em; color: var(--logo-cream); }
.hero .lede { color: rgba(255,255,255,.88); max-width: 52ch; margin-bottom: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; font-size: .92rem; color: rgba(255,255,255,.82); }
.hero-meta span::before { content: "✓"; color: var(--logo-cream); margin-right: 8px; font-weight: 700; }
.hero-sound {
  position: absolute; right: var(--gutter); bottom: 24px; z-index: 2;
  background: rgba(0,0,0,.35); color: #fff; border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px; padding: 8px 14px; font: 600 .8rem/1 var(--font-body); cursor: pointer;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: #fff; isolation: isolate;
  padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(48px, 7vw, 88px);
  background: var(--earth) center/cover no-repeat;
}
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22,29,42,.6), rgba(22,29,42,.8)); }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 4.4rem); text-transform: uppercase; max-width: 16ch; }
.page-hero .lede { color: rgba(255,255,255,.85); }

/* ---------- Press bar ---------- */
.press { background: var(--paper); border-bottom: 1px solid var(--line); }
.press .wrap { display: flex; align-items: center; gap: clamp(16px, 4vw, 48px); flex-wrap: wrap; justify-content: center; padding-top: 26px; padding-bottom: 26px; }
.press-label { font: 600 .75rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.press-item { font: 800 1.15rem/1 var(--font-head); color: #7c8494; letter-spacing: .02em; white-space: nowrap; }
.press-item em { font-family: var(--font-accent); font-weight: 400; }

/* ---------- Planner promo (home) ---------- */
.planner-promo { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.planner-card {
  background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line);
}
.planner-card h3 { margin-bottom: 20px; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.option {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--cream); cursor: pointer; text-align: left;
  font: 600 .98rem/1.25 var(--font-body); color: var(--ink);
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.option:hover { border-color: var(--brand); transform: translateY(-1px); }
.option[aria-pressed="true"], .option.is-selected { border-color: var(--brand); background: var(--brand-tint); }
.option .ico { font-size: 1.5rem; line-height: 1; flex: none; }
.option small { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; margin-top: 2px; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; }
.checklist li { padding-left: 32px; position: relative; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%2345536c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.section--dark .checklist li::before { background-color: rgba(255,255,255,.1); }
@media (max-width: 900px) { .planner-promo { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .option-grid { grid-template-columns: 1fr; } }

/* ---------- Path cards (Machines / Blocks / Rent) ---------- */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.path {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.path:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 18px 40px rgba(35,44,60,.16); color: var(--ink); }
.path-img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.path-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.path-body p { color: var(--muted); flex: 1; }
.path-tag { font: 700 .72rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.path-price { font: 700 1rem/1.3 var(--font-head); color: var(--earth); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 8px; display: flex; justify-content: space-between; align-items: center; }
.path-price .arrow { color: var(--brand); font-size: 1.3rem; }
@media (max-width: 900px) { .paths { grid-template-columns: 1fr; } .path { flex-direction: row; } .path-img { width: 38%; aspect-ratio: auto; } }
@media (max-width: 560px) { .path { flex-direction: column; } .path-img { width: 100%; aspect-ratio: 16/9; } }

/* ---------- Split / feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius-lg); overflow: hidden; margin-top: 48px; }
.stat { background: var(--earth); padding: 28px 24px; }
.stat b { display: block; font: 800 clamp(2rem, 4vw, 3rem)/1 var(--font-head); color: #fff; margin-bottom: 8px; }
.stat span { color: #b8c0ce; font-size: .95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Benefit grid ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; margin-top: 48px; }
.benefit h3 { font-size: 1.25rem; display: flex; align-items: center; gap: 12px; }
.benefit h3 .num { font: 800 .85rem/1 var(--font-head); color: var(--brand); border: 1.5px solid currentColor; border-radius: 50%; width: 32px; height: 32px; display: grid; place-items: center; flex: none; }
.benefit p { color: var(--muted); }
.section--brand .benefit p { color: rgba(255,255,255,.88); }
.section--brand .benefit h3 .num { color: #fff; }
@media (max-width: 860px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.step { background: var(--paper); border-radius: var(--radius-lg); padding: 28px 24px; border: 1px solid var(--line); position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font: 800 2.4rem/1 var(--font-head); color: var(--brand); display: block; margin-bottom: 16px; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 860px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font: 700 1.15rem/1.35 var(--font-head); color: var(--earth);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 400 1.8rem/1 var(--font-body); color: var(--brand); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 0 24px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }
.faq-group { font: 700 .78rem/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin: 48px 0 4px; }

/* ---------- Product (machine) cards & detail ---------- */
.machine-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 40px; }
.machine-card { background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .2s ease; }
.machine-card:hover { transform: translateY(-3px); color: var(--ink); }
.machine-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; background: var(--sand); }
.machine-card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.machine-card h3 { margin-bottom: 6px; }
.machine-card .spec { color: var(--muted); font-size: .94rem; flex: 1; }
.machine-card .price { font: 800 1.3rem/1 var(--font-head); color: var(--brand-dark); margin-top: 14px; }
.badge { display: inline-block; font: 700 .7rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; background: var(--brand-tint); color: var(--brand-dark); padding: 6px 9px; border-radius: 6px; margin-bottom: 10px; align-self: flex-start; }
.badge--sage { background: #e6ebda; color: var(--sage); }

.table-scroll { overflow-x: auto; margin-top: 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--paper); }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .96rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font: 700 .8rem/1.2 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--cream); }
.compare tbody th { font-family: var(--font-head); font-weight: 700; color: var(--earth); white-space: nowrap; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare .best { color: var(--ok); font-weight: 600; }

.machine-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.machine-detail .media { position: sticky; top: calc(var(--header-h) + 24px); }
.machine-detail .media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--sand); }
.video-thumb { position: relative; display: block; margin-top: 12px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: #000; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .2s; aspect-ratio: auto !important; border-radius: 0 !important; }
.video-thumb:hover img { opacity: 1; }
.video-thumb::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 2.2rem; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.video-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-thumb.is-loaded::after { display: none; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 20px 0 28px; font-size: .96rem; }
.specs dt { font-weight: 600; color: var(--earth); }
.specs dd { margin: 0; color: var(--muted); }
.price-list { list-style: none; padding: 0; margin: 0 0 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .96rem; }
.price-list li:last-child { border-bottom: 0; }
.price-list li b { font-family: var(--font-head); white-space: nowrap; }
.price-list li.main b { color: var(--brand-dark); font-size: 1.15rem; }
.fine { font-size: .84rem; color: var(--muted); }
@media (max-width: 860px) { .machine-detail { grid-template-columns: 1fr; } .machine-detail .media { position: static; } }

/* ---------- Included / notice boxes ---------- */
.included { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.included div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 20px; }
.included b { display: block; font: 700 1.1rem/1.2 var(--font-head); color: #fff; margin-bottom: 6px; }
.included span { font-size: .92rem; color: #b8c0ce; }
@media (max-width: 860px) { .included { grid-template-columns: 1fr 1fr; } }
.callout { background: var(--brand-tint); border-left: 4px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 24px 0; }
.callout p:last-child { margin: 0; }

/* ---------- Block sizes ---------- */
.block-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; margin-top: 36px; }
.block-size { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; }
.block-size .shape { margin: 0 auto 14px; background: linear-gradient(135deg, #c9a27a, #a57d57); border-radius: 3px; box-shadow: inset 0 -4px 0 rgba(0,0,0,.12); }
.block-size .shape.holey { background:
  radial-gradient(circle at 30% 50%, var(--paper) 0 18%, transparent 19%),
  radial-gradient(circle at 70% 50%, var(--paper) 0 18%, transparent 19%),
  linear-gradient(135deg, #c9a27a, #a57d57); }
.block-size b { font: 800 1.2rem/1 var(--font-head); color: var(--earth); display: block; }
.block-size span { font-size: .85rem; color: var(--muted); }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.vs > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.vs h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .vs { grid-template-columns: 1fr; } }

/* ---------- Partner cards ---------- */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.partner { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.partner h4 { margin-bottom: 4px; font-size: 1.15rem; }
.partner p { color: var(--muted); font-size: .94rem; margin-bottom: 12px; }
@media (max-width: 760px) { .partners { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 10px; margin-top: 40px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } }

/* ---------- Quote ---------- */
.quote { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.quote img { border-radius: var(--radius-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.quote blockquote { margin: 0; font: 400 clamp(1.3rem, 2.4vw, 1.9rem)/1.4 var(--font-accent); color: var(--earth); }
.quote cite { display: block; margin-top: 20px; font: 700 .95rem/1.3 var(--font-head); font-style: normal; color: var(--brand); letter-spacing: .04em; }
.quote cite small { display: block; color: var(--muted); font-weight: 500; font-family: var(--font-body); }
@media (max-width: 760px) { .quote { grid-template-columns: 1fr; } .quote img { max-width: 240px; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand) url("") center/cover; color: #fff; text-align: center; }
.cta-band h2 { color: #fff; max-width: 18ch; margin-left: auto; margin-right: auto; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 52ch; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-band .btn { --bg: #fff; --fg: var(--brand-dark); }
.cta-band .btn:hover { --bg: var(--cream); }
.cta-band .btn--ghost { --bg: transparent; --fg: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aab2c0; padding: 72px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #dfe3ea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.motto { font-family: var(--font-accent); font-style: italic; color: #dfe3ea; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  /* Phones: logo and blurb across the top, Build and Learn side by side, Contact across the bottom; tighter spacing. */
  .site-footer { padding: 40px 0 24px; font-size: .9rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-grid > div:first-child p { margin: 0 0 6px; }
  .site-footer h4 { margin-bottom: 10px; }
  .site-footer li { margin-bottom: 7px; }
  .footer-grid > div:last-child ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .footer-bottom { margin-top: 28px; padding-top: 16px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Product cards (shop-style machine grid) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .product-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .product-grid, .product-grid--3 { grid-template-columns: 1fr; } }
.product-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover { transform: translateY(-4px); border-color: #b9c2d1; box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 18px 40px rgba(35,44,60,.16); color: var(--ink); }
.product-img { aspect-ratio: 4/3; overflow: hidden; background: var(--sand); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-img img { transform: scale(1.04); }
.product-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.6rem; margin-bottom: 8px; }
.product-body p { color: var(--muted); font-size: .98rem; flex: 1; margin-bottom: 16px; }
.product-stats { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.product-stats li { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .85rem; color: var(--muted); }
.product-stats b { color: var(--earth); font-family: var(--font-head); }
.product-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.product-price { font: 800 1.3rem/1 var(--font-head); color: var(--brand-dark); }
.product-link { font: 700 .82rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); white-space: nowrap; }
.product-card:hover .arrow { transform: translateX(3px); }
.product-link .arrow { display: inline-block; transition: transform .15s ease; }

/* ---------- Product detail page ---------- */
.product-page { padding-top: calc(var(--header-h) + 24px); }
.breadcrumb { font-size: .9rem; color: var(--muted); margin: 8px 0 24px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin: 0 6px; opacity: .6; }
.product-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: clamp(40px, 6vw, 72px); }
.product-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); background: var(--sand); }
.product-media .video-thumb { margin-top: 14px; }
.product-info h1 { font-size: clamp(2.6rem, 5vw, 4rem); text-transform: uppercase; margin-bottom: 8px; }
.product-best { font-weight: 600; color: var(--brand-dark); margin-bottom: 14px; }
.product-info .lede { max-width: none; font-size: 1.08rem; }
.product-statbar { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); margin: 24px 0; }
.product-statbar div { padding: 16px; border-right: 1px solid var(--line); }
.product-statbar div:last-child { border-right: 0; }
.product-statbar b { display: block; font: 800 1.35rem/1.1 var(--font-head); color: var(--earth); }
.product-statbar span { font-size: .84rem; color: var(--muted); }
.product-buy { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; }
.product-price-lg { font: 800 2.4rem/1 var(--font-head); color: var(--brand-dark); }
.product-buy .fine { margin: 6px 0 18px; }
.product-included { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: .92rem; color: var(--earth-2); }
.product-included li::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: 8px; }
.product-details { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.product-details h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
@media (max-width: 860px) { .product-hero, .product-details { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .product-statbar { grid-template-columns: 1fr; } .product-statbar div { border-right: 0; border-bottom: 1px solid var(--line); } .product-included { grid-template-columns: 1fr; } }
.product-buy .btn-row .btn { flex: 1 1 200px; padding-left: 1em; padding-right: 1em; font-size: .92rem; }

/* ---------- Logo (AECT's original artwork) ---------- */
.brand .logo { height: 60px; width: auto; display: block; }
.brand .logo--badge { display: none; border-radius: 4px; height: 56px; }
.site-header.is-solid .logo--light, .site-header--solid .logo--light, .site-header.menu-open .logo--light { display: none; }
.site-header.is-solid .logo--badge, .site-header--solid .logo--badge, .site-header.menu-open .logo--badge { display: block; }
.plan-top .logo--badge { height: 44px; }
.site-footer .logo--footer { height: 72px; width: auto; margin-bottom: 8px; }
@media (max-width: 520px) { .site-footer .logo--footer { height: 52px; margin-bottom: 4px; } }

/* ---------- Embedded video (About page) ---------- */
.video-frame { position: relative; aspect-ratio: 16/9; max-width: 1000px; margin: 36px auto 0; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Logo-palette buttons & centered hero ---------- */
.btn--cream { --bg: var(--logo-cream); --fg: var(--earth); }
.btn--cream:hover { --bg: #fffde3; --fg: var(--earth); }
.cta-band .btn.btn--cream { --bg: var(--logo-cream); --fg: var(--earth); }
.eyebrow--light { color: var(--logo-green); }
.section--dark .eyebrow, .cta-band .eyebrow { color: var(--logo-green); }

.hero--center { align-items: center; text-align: center; }
.hero--center .wrap { display: flex; flex-direction: column; align-items: center; padding-bottom: clamp(72px, 10vw, 120px); }
.hero--center h1 { max-width: 14ch; margin: 0 auto 20px; font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: .98; }
.hero-sub { font-size: clamp(1.1rem, 2vw, 1.4rem); color: rgba(255,255,255,.9); max-width: 34ch; margin: 0 auto 32px; }
.hero-link { margin-top: 16px; color: rgba(255,255,255,.8); font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; }
.hero-link:hover { color: #fff; }
.hero-scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: rgba(255,255,255,.75); width: 34px; height: 34px; animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
@media (prefers-reduced-motion: reduce) { .hero-scroll { animation: none; } }
.hero::after { background: linear-gradient(180deg, rgba(22,29,42,.55) 0%, rgba(22,29,42,.35) 45%, rgba(22,29,42,.7) 100%); }

/* ---------- Photo picker (home → planner) ---------- */
.picker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px; }
.pick { position: relative; display: block; aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; isolation: isolate; box-shadow: var(--shadow); }
.pick img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.pick::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22,29,42,0) 45%, rgba(22,29,42,.85) 100%); }
.pick span { position: absolute; left: 0; right: 0; bottom: 16px; color: #fff; font: 700 1.15rem/1.2 var(--font-head); padding: 0 12px; }
.pick:hover img { transform: scale(1.06); }
.pick:hover span::after { content: " →"; }
@media (max-width: 900px) { .picker { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .picker { grid-template-columns: 1fr 1fr; } .pick { aspect-ratio: 1; } }

/* ---------- Why earth (home) ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; text-align: center; }
.why-ico { font-size: 2.2rem; display: block; margin-bottom: 12px; }
.why h3 { font-size: 1.3rem; }
.why p { color: #b8c0ce; margin: 0; }
@media (max-width: 760px) { .why { grid-template-columns: 1fr; } }
/* Header CTA: cream over the hero video, navy once the header turns solid */
.site-header:not(.is-solid):not(.site-header--solid):not(.menu-open) .nav .btn { --bg: var(--logo-cream); --fg: var(--earth); }
@media (max-width: 560px) { .picker .pick:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 2/1; } }

/* ---------- Hero sizing (v3: a bit shorter, text set lower) ---------- */
.hero--center { min-height: 86svh; }
.hero--center .wrap { padding-top: calc(var(--header-h) + 96px); padding-bottom: 72px; }
.hero--center h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); max-width: 15ch; }
.hero-sub { font-size: clamp(1.05rem, 1.7vw, 1.25rem); margin-bottom: 28px; }
.hero--center .hero-meta { justify-content: center; margin-top: 36px; }
.hero-meta span::before { color: var(--logo-green); }
@media (max-width: 600px) { .hero--center { min-height: 92svh; } .hero--center .wrap { padding-top: calc(var(--header-h) + 56px); } .hero--center .hero-meta { flex-direction: column; align-items: center; gap: 6px; } }

/* ---------- Process stepper: icon rail + one answer panel ---------- */
.process-section { background: var(--sand); }
.ps { max-width: 1080px; margin: 44px auto 0; }
.ps-rail { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ps-rail::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 48px; border-top: 2px dashed #b9c2d1; z-index: 0; }
.ps-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 0 8px 22px; background: none; border: 0; cursor: pointer; color: var(--earth); font: inherit; }
.ps-icon { --ic-a: #ead9c8; --ic-b: #dfe6cf; --ic-c: #ffffff; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--brand); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(35,44,60,.05), 0 8px 22px rgba(35,44,60,.08); transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease; }
.ps-icon svg { width: 56px; height: 56px; }
.ps-icon .ic-a { fill: var(--ic-a); } .ps-icon .ic-b { fill: var(--ic-b); } .ps-icon .ic-c { fill: var(--ic-c); }
.ps-step:hover .ps-icon { transform: translateY(-3px); }
.ps-step[aria-selected="true"] .ps-icon { --ic-a: #5d6b86; --ic-b: #7f8e5c; --ic-c: #45536c; background: var(--brand); color: var(--logo-cream); border-color: var(--brand); box-shadow: 0 10px 28px rgba(69,83,108,.35); transform: translateY(-3px); }
.ps-label { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; font: 700 1.2rem/1.2 var(--font-head); }
.ps-n { font-size: .78rem; letter-spacing: .08em; color: var(--sage); }
.ps-line { font-size: .92rem; color: var(--muted); max-width: 22ch; line-height: 1.4; }
.ps-step[aria-selected="true"]::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 18px; height: 18px; background: var(--paper); border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: translate(-50%, 50%) rotate(45deg); z-index: 3; }
.ps-step:focus-visible { outline: none; }
.ps-step:focus-visible .ps-icon { outline: 3px solid #9aa6ba; outline-offset: 4px; }
.ps-panel { position: relative; z-index: 2; display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: 0 1px 2px rgba(35,44,60,.04), 0 18px 44px rgba(35,44,60,.08); animation: psIn .3s ease; }
@keyframes psIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ps-kicker { display: block; font: 700 .74rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin-bottom: 10px; }
.ps-main h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 14px; }
.ps-main p, .ps-main li { color: var(--muted); }
.ps-main ul { padding-left: 18px; margin: 0; }
.ps-main li { margin-bottom: 6px; }
.ps-main b { color: var(--earth); }
.ps-aside { align-self: start; background: #eef1f6; border-radius: var(--radius); padding: 20px 22px; border-left: 4px solid var(--brand); }
.ps-aside b { display: block; font: 700 1.05rem/1.2 var(--font-head); color: var(--earth); margin-bottom: 6px; }
.ps-aside p { margin: 0; color: var(--earth-2); font-size: .95rem; }
.ps a { font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .ps-panel { animation: none; } }
@media (max-width: 760px) {
  .ps-rail { gap: 4px; }
  .ps-rail::before { top: 32px; }
  .ps-icon { width: 64px; height: 64px; } .ps-icon svg { width: 38px; height: 38px; }
  .ps-label { font-size: .95rem; flex-direction: column; align-items: center; gap: 2px; }
  .ps-line { display: none; }
  .ps-panel { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Hero sizing (v3: a bit shorter, text set lower) ---------- */
.hero--center { min-height: 86svh; }
.hero--center .wrap { padding-top: calc(var(--header-h) + 96px); padding-bottom: 72px; }
.hero--center h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); max-width: 15ch; }
.hero-sub { font-size: clamp(1.05rem, 1.7vw, 1.25rem); margin-bottom: 28px; }
.hero--center .hero-meta { justify-content: center; margin-top: 36px; }
.hero-meta span::before { color: var(--logo-green); }
@media (max-width: 600px) { .hero--center { min-height: 92svh; } .hero--center .wrap { padding-top: calc(var(--header-h) + 56px); } .hero--center .hero-meta { flex-direction: column; align-items: center; gap: 6px; } }

/* ---------- Process: line-art timeline + questions accordion ---------- */
.process-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.timeline { list-style: none; padding: 0; margin: 36px 0 0; }
.tl-step { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 22px; padding-bottom: 30px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step:not(:last-child)::before { content: ""; position: absolute; left: 45px; top: 96px; bottom: 4px; border-left: 2px dashed #c3cad6; }
.tl-icon { width: 92px; height: 92px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(35,44,60,.05), 0 6px 18px rgba(35,44,60,.07); display: grid; place-items: center; }
.tl-icon svg { width: 60px; height: 60px; }
.tl-num { display: block; font: 700 .72rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin: 16px 0 6px; }
.tl-step h3 { font-size: 1.35rem; margin-bottom: 4px; }
.tl-step p { color: var(--muted); margin: 0; max-width: 40ch; }

.acc-wrap { padding-top: 6px; }
.acc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 1px 2px rgba(35,44,60,.04), 0 18px 40px rgba(35,44,60,.07); overflow: hidden; }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 34px 1fr 32px; align-items: center; gap: 12px; padding: 22px 26px; transition: background .2s ease; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary:hover { background: #f7f8fa; }
.acc-num { font: 700 .8rem/1 var(--font-head); letter-spacing: .06em; color: #9aa6ba; }
.acc-q { font: 700 1.12rem/1.3 var(--font-head); color: var(--earth); }
.acc-chev { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--brand); background: var(--brand-tint); transition: transform .25s ease, background .2s ease, color .2s ease; }
.acc-chev svg { width: 18px; height: 18px; }
.acc-item[open] summary { background: #f7f8fa; }
.acc-item[open] .acc-num { color: var(--sage); }
.acc-item[open] .acc-chev { transform: rotate(180deg); background: var(--brand); color: var(--logo-cream); }
.acc-body { padding: 0 26px 24px 72px; color: var(--muted); font-size: .98rem; background: #f7f8fa; animation: accIn .3s ease; }
.acc-body p { margin: 0 0 10px; }
.acc-body ul { margin: 0 0 12px; padding-left: 18px; }
.acc-body li { margin-bottom: 4px; }
.acc-body b { color: var(--earth); }
.acc-body a { font-weight: 600; }
@keyframes accIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .acc-body { animation: none; } }
@media (max-width: 900px) { .process-split { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .acc-item summary { padding: 18px 16px; grid-template-columns: 26px 1fr 30px; } .acc-body { padding: 0 16px 20px 54px; } .tl-step { grid-template-columns: 64px 1fr; gap: 16px; } .tl-icon { width: 64px; height: 64px; } .tl-step:not(:last-child)::before { left: 31px; top: 68px; } }

/* ---------- Kits ---------- */
.product-card--kit .product-body h3 { font-size: 1.9rem; }
.kit-includes { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; font-weight: 600; color: var(--earth); }
.kit-includes li::before { content: "✓"; color: var(--sage); margin-right: 6px; }
.kit-box { margin-top: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; }
.kit-box h3 { font-size: 1.1rem; margin-bottom: 12px; }
.kit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.kit-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.kit-list b { display: block; color: var(--earth); }
.kit-list span:not(.kit-n) { font-size: .9rem; color: var(--muted); }
.kit-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: var(--logo-cream); font: 700 .8rem/1 var(--font-head); }
.product-grid--equip { grid-template-columns: repeat(3, 1fr); }
.partner-feature { margin-top: 40px; background: var(--paper); border: 2px solid var(--brand); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow); }
.partner-feature h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 6px 0 8px; }
.partner-feature p { color: var(--muted); max-width: 60ch; }

/* ---------- Contact form ---------- */
.page-hero--short { padding-bottom: clamp(36px, 5vw, 56px); }
.contact-wrap { max-width: 920px; }
.contact-form fieldset { border: 0; padding: 0; margin: 0 0 40px; min-width: 0; }
.contact-form legend { display: flex; align-items: center; gap: 12px; font: 800 clamp(1.4rem, 2.6vw, 1.9rem)/1.2 var(--font-head); color: var(--earth); margin-bottom: 20px; padding: 0; }
.step-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--logo-cream); font-size: 1rem; flex: none; }
.req { font: 600 .75rem/1 var(--font-body); color: var(--sage); background: #e6ebda; padding: 5px 8px; border-radius: 5px; letter-spacing: .02em; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.topic { position: relative; cursor: pointer; }
.topic input { position: absolute; opacity: 0; pointer-events: none; }
.topic-box { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 20px 18px; background: var(--paper); border: 2px solid var(--line); border-radius: 14px; transition: border-color .15s ease, transform .15s ease, background .15s ease; }
.topic:hover .topic-box { border-color: #9aa6ba; transform: translateY(-2px); }
.topic input:focus-visible + .topic-box { outline: 3px solid #b9c2d1; outline-offset: 2px; }
.topic input:checked + .topic-box { border-color: var(--brand); background: #eef1f6; }
.topic input:checked + .topic-box::after { content: "✓"; position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: var(--logo-cream); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.topic-ico { font-size: 1.6rem; margin-bottom: 6px; }
.topic-box b { font: 700 1.05rem/1.25 var(--font-head); color: var(--earth); }
.topic-box small { color: var(--muted); font-size: .88rem; line-height: 1.35; }
.contact-form .error { display: none; color: #a32b1a; font-size: .9rem; margin: 6px 0 0; }
.contact-form .field.has-error .error { display: block; }
.contact-form .field.has-error .input { border-color: #c4452d; }
.contact-form .field label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--earth); }
.contact-form .input { width: 100%; padding: 14px 16px; font: 500 1rem/1.4 var(--font-body); color: var(--ink); background: var(--paper); border: 2px solid var(--line); border-radius: 12px; outline: none; }
.contact-form .input:focus { border-color: var(--brand); }
.contact-form .field { margin-bottom: 18px; }
.contact-form .hint { font-size: .86rem; color: var(--muted); margin: 6px 0 0; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.details { background: var(--paper); border: 1px solid var(--line) !important; border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 32px) !important; box-shadow: var(--shadow); transition: opacity .25s ease; }
.details legend { float: left; width: 100%; }
.details legend + * { clear: both; }
.details:disabled { opacity: .45; }
.details:disabled .btn { cursor: not-allowed; }
.sent { text-align: center; padding: 48px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.sent .gate-check { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: var(--logo-cream); font-size: 1.6rem; margin: 0 auto 16px; }
@media (max-width: 760px) { .topic-grid { grid-template-columns: 1fr 1fr; } .contact-form .field-row { grid-template-columns: 1fr; } }
@media (max-width: 340px) { .topic-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .topic-box { padding: 16px 14px; } .topic-box small { font-size: .8rem; } }

/* Tighter rhythm between "How it works" and the planner picker */
.process-section { padding-bottom: clamp(48px, 6vw, 72px); }
.start-section { background: var(--cream); border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 72px); }
.start-section .lede { margin-bottom: 0; }
.start-section .picker { margin-top: 32px; }

/* Compact process stepper (v2): less vertical space */
.process-section { padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(40px, 5vw, 60px); }
.process-section h2 { margin-bottom: 6px; }
.ps-hint { font-size: .9rem; color: var(--muted); margin: 0; }
.ps { margin-top: 28px; }
.ps-rail::before { top: 36px; }
.ps-step { padding-bottom: 16px; gap: 0; }
.ps-icon { width: 72px; height: 72px; }
.ps-icon svg { width: 42px; height: 42px; }
.ps-label { margin-top: 10px; font-size: 1.1rem; }
.ps-line { display: none; }
.ps-panel { padding: clamp(20px, 3vw, 28px) clamp(20px, 3.5vw, 36px); gap: 28px; }
.ps-kicker { margin-bottom: 6px; }
.ps-main h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin-bottom: 10px; }
.ps-main p { margin-bottom: 10px; }
.ps-main ul { margin-bottom: 0; }
.ps-main li { margin-bottom: 4px; }
.ps-aside { padding: 16px 18px; }
@media (max-width: 760px) { .ps-icon { width: 60px; height: 60px; } .ps-icon svg { width: 34px; height: 34px; } .ps-rail::before { top: 30px; } .ps-label { font-size: .92rem; } }
.ps-panel { align-content: start; }

/* ---------- Tighter vertical rhythm (all pages) ---------- */
.section { padding: clamp(44px, 5.5vw, 76px) 0; }
.section--tight { padding: clamp(28px, 4vw, 44px) 0; }
.page-home .section h2 { margin-bottom: .35em; }
.page-home .eyebrow { margin-bottom: .7rem; }
.page-home .lede { margin-bottom: 0; }
.page-home .picker { margin-top: 28px; }
.page-home .pick { aspect-ratio: 4/5; }
.page-home .paths { margin-top: 32px; }
.page-home .path-img { aspect-ratio: 16/10; }
.page-home .path-body { padding: 20px 22px 22px; }
.page-home .path-body p { margin-bottom: 12px; }
.page-home .why { margin-top: 32px; gap: 24px; }
.page-home .why-ico { font-size: 1.8rem; margin-bottom: 8px; }
.page-home .stats { margin-top: 32px; }
.page-home .stat { padding: 20px 22px; }
.page-home .faq { margin-top: 24px; }
.page-home .faq summary { padding: 18px 44px 18px 0; }
.page-home .quote { grid-template-columns: 220px 1fr; }
.page-home .quote img { aspect-ratio: 1; }
.page-home .quote blockquote { font-size: clamp(1.2rem, 2vw, 1.6rem); }
.page-home .cta-band p { margin-bottom: 22px; }
@media (max-width: 760px) { .page-home .quote { grid-template-columns: 1fr; } .page-home .quote img { max-width: 160px; } }
.page-home .process-section { padding-top: clamp(44px, 5.5vw, 68px); padding-bottom: clamp(36px, 4.5vw, 52px); }


/* ---------- Inner pages: less dead space ---------- */
.section h2 { margin-bottom: .35em; }
.eyebrow { margin-bottom: .7rem; }
.page-hero { padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(36px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin-bottom: .3em; }
.page-hero .lede { margin-bottom: 0; }
.page-hero .btn-row { margin-top: 20px !important; }
.included { margin-top: 20px; }
.included div { padding: 16px 18px; }
.product-grid { margin-top: 28px; }
.product-body { padding: 18px 22px 20px; }
.product-body p { margin-bottom: 12px; }
.product-page { padding-top: calc(var(--header-h) + 8px); }
.breadcrumb { margin: 8px 0 16px; }
.product-hero { padding-bottom: clamp(28px, 4vw, 48px); }
.product-statbar { margin: 18px 0; }
.product-details { padding: clamp(28px, 4vw, 48px) 0; }
.specs { margin: 14px 0 20px; }
.split { gap: clamp(28px, 4.5vw, 56px); }
.steps { margin-top: 28px; }
.step { padding: 22px 20px; }
.step::before { font-size: 2rem; margin-bottom: 10px; }
.vs { margin-top: 24px; }
.vs > div { padding: 22px 24px; }
.block-sizes { margin-top: 24px; }
.block-size { padding: 16px; }
.gallery { margin-top: 28px; grid-auto-rows: 190px; }
.partners { margin-top: 20px; }
.partner-feature { margin-top: 28px; }
.callout { margin: 18px 0 0; }
.faq { margin-top: 24px; }
.faq summary { padding: 18px 44px 18px 0; }
.faq-group { margin: 32px 0 2px; }
.machine-grid { margin-top: 24px; }
.video-frame { margin-top: 24px; }
.table-scroll { margin-top: 20px; }
.cta-band p { margin-bottom: 22px; }
.contact-form fieldset { margin-bottom: 28px; }
.contact-form legend { margin-bottom: 14px; }
.topic-box { padding: 16px 16px; }
.quote { gap: clamp(24px, 4vw, 48px); }

/* ---------- Line icons (replace emoji) ---------- */
.ico { width: 26px; height: 26px; display: block; }
.why-ico { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: var(--logo-green); font-size: 0; }
.why-ico .ico { width: 28px; height: 28px; }
.topic-ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); font-size: 0; }
.topic input:checked + .topic-box .topic-ico { background: var(--brand); color: var(--logo-cream); }

/* ---------- Terra Madre Brick Co. ---------- */
.pf-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: center; }
.pf-contact { list-style: none; margin: 0; padding: 18px 20px; background: #eef1f6; border-radius: var(--radius); display: grid; gap: 12px; }
.pf-contact span { display: block; font: 700 .7rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--sage); margin-bottom: 4px; }
.pf-contact a { font-weight: 600; word-break: break-word; }
.redirect-card { background: var(--paper); border: 2px solid var(--brand); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 32px); margin-bottom: 28px; box-shadow: var(--shadow); animation: psIn .3s ease; }
.redirect-card h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 8px 0 8px; }
.redirect-card p { color: var(--muted); max-width: 62ch; }
@media (max-width: 760px) { .pf-grid { grid-template-columns: 1fr; } }

/* Block sizes: compact 1-2-3 pyramid beside the heading */
.sizes-split { display: grid; grid-template-columns: 1fr 1.45fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.sizes-split .lede { font-size: 1.05rem; }
.pyramid--sm { display: flex; flex-direction: column; gap: 10px; }
.pyramid--sm .py-row { display: flex; justify-content: center; gap: 10px; }
.bs-card { flex: 0 0 calc((100% - 20px) / 3); display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; padding: 10px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.bs-art { height: 40px; display: flex; align-items: center; justify-content: center; }
.bs-art .shape { margin: 0; border-radius: 2px; background: linear-gradient(135deg, #c9a27a, #a57d57); box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.bs-art .shape.holey { background: radial-gradient(circle at 30% 50%, var(--paper) 0 16%, transparent 17%), radial-gradient(circle at 70% 50%, var(--paper) 0 16%, transparent 17%), linear-gradient(135deg, #c9a27a, #a57d57); }
.shape-pair { display: flex; gap: 3px; }
.bs-card b { display: block; font: 700 1.02rem/1.1 var(--font-head); color: var(--earth); }
.bs-sub { display: block; font: 700 .64rem/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--sage); }
.bs-m { display: block; font-size: .78rem; color: var(--muted); line-height: 1.3; }
@media (max-width: 960px) { .sizes-split { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .pyramid--sm { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .pyramid--sm .py-row { display: contents; }
  .bs-card { grid-template-columns: 48px 1fr; padding: 9px 10px; }
}

/* ---------- Photo carousel (scrolls left/right) ---------- */
.carousel { position: relative; margin-top: 24px; }
.car-controls { position: absolute; right: 0; top: -64px; display: flex; gap: 8px; }
.car-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--paper); color: var(--brand); border: 1px solid var(--line); box-shadow: var(--shadow); transition: background .15s ease, color .15s ease, opacity .15s ease; }
.car-btn svg { width: 20px; height: 20px; }
.car-btn:hover:not(:disabled) { background: var(--brand); color: var(--logo-cream); }
.car-btn:disabled { opacity: .35; cursor: default; }
.car-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.car-track::-webkit-scrollbar { display: none; }
.car-track:focus-visible { outline: 3px solid #b9c2d1; outline-offset: 4px; border-radius: var(--radius); }
.car-item { flex: 0 0 clamp(240px, 30vw, 400px); margin: 0; scroll-snap-align: start; }
.car-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); display: block; background: var(--sand); }
.car-item figcaption { margin-top: 8px; font: 600 .9rem/1.3 var(--font-body); color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .car-track { scroll-behavior: auto; } }
@media (max-width: 760px) { .car-controls { position: static; justify-content: flex-end; margin-bottom: 10px; } .car-item { flex-basis: 78%; } }
.car-item img.contain { object-fit: contain; background: #fff; }

/* ---------- Kit formula (Machines page) ---------- */
.kit-formula { position: relative; background: radial-gradient(120% 140% at 0% 0%, #34405a 0%, var(--earth) 55%, #1b2230 100%); color: #dfe3ea; padding: clamp(40px, 5vw, 64px) 0; overflow: hidden; }
.kit-formula::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 28px), repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 56px); pointer-events: none; }
.kf-head { position: relative; max-width: 640px; margin-bottom: 28px; }
.kf-head h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0; }
.kf-row { position: relative; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1.1fr; align-items: stretch; gap: 10px; }
.kf-item { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.kf-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; margin-bottom: 10px; background: rgba(173,187,137,.14); color: var(--logo-green); }
.kf-ico svg { width: 26px; height: 26px; }
.kf-item b { font: 700 1.12rem/1.2 var(--font-head); color: #fff; }
.kf-item span:last-child { font-size: .86rem; line-height: 1.4; color: #aab2c0; }
.kf-plus { align-self: center; font: 300 1.8rem/1 var(--font-body); color: rgba(255,255,255,.35); }
.kf-total { background: var(--logo-cream); border-color: var(--logo-cream); }
.kf-total .kf-ico { background: var(--earth); color: var(--logo-cream); }
.kf-total b { color: var(--earth); }
.kf-total span:last-child { color: var(--earth-2); }
@media (max-width: 1080px) {
  .kf-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .kf-plus { display: none; }
  .kf-total { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 14px; }
  .kf-total .kf-ico { margin: 0; }
}
@media (max-width: 480px) { .kf-row { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .kf-item { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; row-gap: 2px; align-items: center; padding: 14px; }
  .kf-item .kf-ico { grid-row: span 2; margin: 0; }
  .kf-total { flex-direction: unset; }
}

/* ---------- Press cards (link to the exact episode / article) ---------- */
.press-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; text-decoration: none; color: var(--ink); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.press-card:hover { transform: translateY(-2px); border-color: #b9c2d1; box-shadow: var(--shadow); color: var(--ink); }
.press-src { font: 700 .7rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--sage); margin-bottom: 8px; }
.press-card h4 { font-size: 1.2rem; margin: 0 0 6px; }
.press-card p { color: var(--muted); font-size: .94rem; margin: 0 0 14px; flex: 1; }
.press-cta { font: 700 .82rem/1 var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.press-card:hover .press-cta { text-decoration: underline; }
.press-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .press-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .press-grid { grid-template-columns: 1fr; } }

/* ---------- Compact boxes & About page trims ---------- */
.video-split { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.video-split .video-frame { max-width: none; }
@media (max-width: 860px) { .video-split { grid-template-columns: 1fr; } }
.press-grid { gap: 12px; margin-top: 18px; }
.press-card { padding: 16px 18px; }
.press-src { margin-bottom: 6px; }
.press-card h4 { font-size: 1.12rem; margin-bottom: 4px; }
.press-card p { font-size: .9rem; line-height: 1.45; margin-bottom: 10px; }
.quote { grid-template-columns: 200px 1fr; }
.quote img { aspect-ratio: 1; }
.quote blockquote { font-size: clamp(1.15rem, 1.9vw, 1.5rem); }
.split img { max-height: 380px; }
/* Boxes site-wide: less padding inside cards */
.partner { padding: 18px 20px; }
.partner p { margin-bottom: 8px; }
.opt { padding: 22px 20px; }
.next-step { padding: 22px; }
.machine-rec { padding: 16px; }
.kf-item { padding: 16px 14px; }
.kit-box { padding: 16px 18px; }
.product-buy { padding: 18px 20px; }
.price-list li { padding: 10px 14px; }
.summary-grid div { padding: 18px 20px; }
.assumptions { padding: 16px 20px; }
@media (max-width: 760px) { .quote { grid-template-columns: 1fr; } .quote img { max-width: 140px; } }
.page-hero h1 { max-width: 22ch; }
.page-hero .lede { max-width: 60ch; }
.section.cta-band { padding: clamp(36px, 4.5vw, 56px) 0; }
.cta-band h2 { max-width: 24ch; }
.section--sand .quote { align-items: center; }

/* About v3: restore large video, fuller press, bigger Ryan photo; keep spacing tight */
.video-frame--feature { max-width: 860px; margin: 20px auto 0; }
#video .lede { margin: 0 auto; }
#press { padding-bottom: clamp(36px, 4.5vw, 56px); }
.press-card { padding: 18px 20px; }
.press-card p { font-size: .94rem; line-height: 1.5; margin-bottom: 12px; }
.mashable-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; margin-top: 28px; }
.mashable-feature h3 { margin: 0 0 6px; }
.mashable-feature p { color: var(--muted); margin: 0 0 10px; }
@media (max-width: 860px) { .mashable-feature { grid-template-columns: 1fr; } }
.quote { grid-template-columns: 300px 1fr; }
.quote img { aspect-ratio: 4/5; }
.section--sand:has(.quote) { padding: clamp(36px, 4.5vw, 56px) 0; }
@media (max-width: 760px) { .quote { grid-template-columns: 1fr; } .quote img { max-width: 220px; } }

/* "Have a team member reach out" confirmation (reach-out.html) */
.reach-page { padding-top: var(--header-h); min-height: 70vh; }
.reach-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(32px, 6vw, 56px); text-align: center; }
.reach-card h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 6px 0 12px; }
.reach-card .lede { margin: 0 auto; max-width: 46ch; }
.reach-check { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--brand); color: var(--logo-cream); }
.reach-check svg { width: 32px; height: 32px; }

/* ---------- More press coverage (About): compact two-column link list ---------- */
.more-press { margin-top: 28px; }
.more-press h3 { margin: 0 0 10px; }
.more-press ul { list-style: none; margin: 0; padding: 0; columns: 2 320px; column-gap: 32px; }
.more-press li { break-inside: avoid; padding: 9px 0; border-top: 1px solid var(--line); }
.more-press a { color: var(--ink); text-decoration: none; }
.more-press a:hover { color: var(--brand); text-decoration: underline; }
.more-press .press-src { display: block; margin-bottom: 3px; }

/* ---------- Long-form text pages (Privacy) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 1.8em 0 .5em; }
.prose p, .prose li { line-height: 1.65; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin: .35em 0; }

/* ---------- Blog (pages built by tools/build_blog.py) ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 18px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.post-card > div { padding: 16px 18px 18px; }
.post-card h4 { font-size: 1.15rem; margin: 0 0 6px; }
.post-card p { color: var(--muted); font-size: .9rem; line-height: 1.45; margin: 0; }
.page-hero h1.post-title { max-width: 24ch; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.post figure { margin: 28px 0; }
.post figure img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.post figcaption { color: var(--muted); font-size: .88rem; margin-top: 8px; }
.post .video-thumb { margin: 28px 0; }
.post hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.post-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.post-cta h2 { margin: 0 0 4px; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.post-cta p { margin: 0; color: var(--muted); }

/* ---------- About dropdown in the header (About Us, Blog) ---------- */
.nav-drop { position: relative; }
.nav-drop-toggle {
  display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; cursor: pointer;
  color: #fff; font: 600 .98rem/1 var(--font-head); letter-spacing: .03em; padding: 10px 14px; border-radius: 8px;
}
.nav-drop-toggle svg { width: 16px; height: 16px; stroke: currentColor; transition: transform .15s ease; }
.nav-drop-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-drop-toggle:hover, .nav-drop-toggle[aria-expanded="true"] { background: rgba(255,255,255,.12); }
.nav-drop-toggle.is-current { box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.is-solid .nav-drop-toggle, .site-header--solid .nav-drop-toggle { color: var(--earth); }
.is-solid .nav-drop-toggle:hover, .site-header--solid .nav-drop-toggle:hover,
.is-solid .nav-drop-toggle[aria-expanded="true"], .site-header--solid .nav-drop-toggle[aria-expanded="true"] { background: var(--sand); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 180px; padding: 6px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  display: none; flex-direction: column;
}
.nav-drop.is-open .nav-drop-menu { display: flex; }
.nav .nav-drop-menu a:not(.btn) { color: var(--earth); padding: 12px 14px; border-radius: 8px; }
.nav .nav-drop-menu a:not(.btn):hover { background: var(--sand); }
.nav .nav-drop-menu a[aria-current="page"]:not(.btn) { box-shadow: none; border-radius: 8px; background: var(--sand); }
@media (max-width: 860px) {
  .nav-drop-toggle { width: 100%; justify-content: space-between; color: var(--earth); padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.15rem; }
  .nav-drop-toggle:hover, .nav-drop-toggle[aria-expanded="true"] { background: none; }
  .nav-drop-toggle.is-current { box-shadow: none; }
  .nav-drop-menu { position: static; min-width: 0; padding: 0 0 0 16px; border: 0; box-shadow: none; background: none; border-radius: 0; }
  .nav .nav-drop-menu a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav .nav-drop-menu a[aria-current="page"]:not(.btn) { background: none; color: var(--brand); }
}
