/* ==========================================================================
   FandorAlu — fandoralu.com
   Single stylesheet. No external fonts, no frameworks, no icon fonts.
   Breakpoints: <640 (mobile) / 640–1024 (tablet) / >1024 (desktop)
   Container max width: 1200px
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Neutrals — aluminium / graphite */
  --ink: #0d1114;
  --ink-2: #182027;
  --text: #2b343a;
  --muted: #5f6c74;
  --muted-2: #8b969d;
  --line: #e1e6e9;
  --line-2: #edf1f3;
  --bg: #ffffff;
  --soft: #f6f8f9;
  --soft-2: #eef2f4;
  --ph-bg: #eaeef0;
  --ph-ink: #78868e;

  /* Brand — steel blue (structure, trust) */
  --brand: #12506f;
  --brand-ink: #0b3549;
  --brand-soft: #e9f1f6;

  /* Accent — dusty blue (decorative emphasis: links, eyebrows, list marks)
     Muted blue-grey rather than the previous signal orange: it sits with the
     steel-blue brand instead of competing with it, and keeps the industrial
     restraint the site is built on. #5b7a8d is one shade deeper than the
     #6b8a9e it replaces — 4.55:1 against white, so white button text at
     15px/650 weight clears WCAG AA. Do not lighten it above 4.5:1. */
  --accent: #5b7a8d;
  --accent-ink: #47606f;
  /* Accent on dark ground. #5b7a8d only reaches 4.00:1 on the deep
     #0e1620 / #0d1114 panels, so any accent-coloured text sitting on a dark
     band uses this lighter step instead: 8.59:1 on --ink, 5.87:1 on
     --brand-ink. Same hue family, one step up. */
  --accent-on-dark: #8fb4c6;

  /* CTA — signal orange (primary action buttons only)
     2026-10-21 晚间：客户反馈页头 "Get a Quote" 按钮在蓝灰配色下
     不够显眼，要求改橙。**刻意与 --accent 分离**：橙色只承担「行动
     号召」这一件事（主按钮 + 移动端吸底报价按钮），装饰性强调
     （正文链接、eyebrow、列表方块、边框线）仍走蓝灰 --accent。
     这样橙色是「唯一会跳出来的颜色」，真正起到引导作用。

     色值为什么是 #c2410c 而不是早先的 #cf4f1b：旧信号橙白字对比度
     4.39:1，差 0.11 就过不了 WCAG AA（按钮文字 15px/650 属普通文本，
     门槛 4.5:1）—— 上一轮换色就是因为这个。#c2410c 是 5.18:1，
     够橙、够深、够 AA。悬停态再深一档 #9a3412（7.31:1）。 */
  --cta: #c2410c;
  --cta-ink: #9a3412;
  /* CTA on dark ground. 橙底直接压 --brand-ink 只有 2.50:1（橙与深蓝
     相邻时边界不清），所以深底上的 CTA 按钮用这一档更亮的橙，
     5.32:1 on --brand-ink。 */
  --cta-on-dark: #ea7c3a;

  /* Semantics */
  --ok: #1f7a4d;
  --err: #b3261e;

  /* Geometry */
  --radius: 3px;
  --radius-lg: 6px;
  --shadow-1: 0 1px 2px rgba(13, 17, 20, .06), 0 1px 3px rgba(13, 17, 20, .04);
  --shadow-2: 0 4px 14px rgba(13, 17, 20, .09);
  --shadow-3: 0 12px 32px rgba(13, 17, 20, .14);

  /* Rhythm */
  --container: 1200px;
  --gutter: 20px;
  --section-y: clamp(48px, 6vw, 88px);
  --header-h: 68px;

  /* Type — system stack only (no Google Fonts, no webfont requests) */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* offset for sticky header when jumping to in-page anchors */
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
iframe { border: 0; }

h1, h2, h3, h4, h5 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.018em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.1; letter-spacing: -0.028em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 1.5vw, 1.28rem); letter-spacing: -0.012em; }
h4 { font-size: 1rem; letter-spacing: -0.005em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }

ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .35em; }

strong, b { font-weight: 650; color: var(--ink); }

hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection { background: var(--brand-soft); color: var(--ink); }

/* Accessible skip link */
.skip-link {
  position: absolute;
  left: 8px; top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 8px; color: #fff; }

/* Utility: visually hidden but readable by AT */
.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }
.section--soft { background: var(--soft); }
.section--soft-2 { background: var(--soft-2); }
.section--ink { background: var(--ink); color: #cfd8dd; }
.section--ink h2, .section--ink h3, .section--ink strong { color: #fff; }
.section--brand { background: var(--brand-ink); color: #c6dbe6; }
.section--brand h2, .section--brand h3 { color: #fff; }
.section--brand a { color: #fff; }
.section--line { border-top: 1px solid var(--line); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--gap-sm { gap: 16px; }
.grid--gap-lg { gap: 32px; }

.stack > * + * { margin-top: 1rem; }

/* Section heading block */
.sec-head { max-width: 780px; margin-bottom: clamp(24px, 3vw, 40px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head p { color: var(--muted); font-size: 1.0625rem; }
.section--ink .sec-head p, .section--brand .sec-head p { color: #a9bcc6; }

.eyebrow {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .7rem;
}
.section--ink .eyebrow, .section--brand .eyebrow { color: var(--accent-on-dark); }

.lede { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--muted); line-height: 1.6; }
.section--ink .lede, .section--brand .lede { color: #a9bcc6; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  --btn-bd: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 13px 22px;
  min-height: 46px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .9375rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease,
              color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(0); box-shadow: none; }

/* Primary action button — signal orange (--cta), not the blue-grey accent.
   --accent is reserved for decorative emphasis; the CTA colour is the one
   thing on the page allowed to jump out, so it must not share a token with
   links and list marks. */
.btn--primary { --btn-bg: var(--cta); --btn-bd: var(--cta); }
.btn--primary:hover { --btn-bg: var(--cta-ink); --btn-bd: var(--cta-ink); }
/* On the deep brand-ink / ink panels the plain CTA orange only reaches
   2.50:1 against the ground, so the lighter step is used there. */
.section--ink .btn--primary,
.section--brand .btn--primary,
.cta-band .btn--primary { --btn-bg: var(--cta-on-dark); --btn-bd: var(--cta-on-dark); }
.section--ink .btn--primary:hover,
.section--brand .btn--primary:hover,
.cta-band .btn--primary:hover { --btn-bg: #f08c4e; --btn-bd: #f08c4e; }

.btn--secondary {
  --btn-bg: transparent;
  --btn-fg: var(--brand);
  --btn-bd: #c3d2da;
}
.btn--secondary:hover { --btn-bg: #fff; --btn-fg: var(--brand-ink); --btn-bd: var(--brand); }
.section--ink .btn--secondary,
.section--brand .btn--secondary,
.cta-band .btn--secondary,
.compare-verdict .btn--secondary,
.fact-block .btn--secondary { --btn-fg: #fff; --btn-bd: rgba(255,255,255,.42); }
.section--ink .btn--secondary:hover,
.section--brand .btn--secondary:hover,
.cta-band .btn--secondary:hover,
.compare-verdict .btn--secondary:hover,
.fact-block .btn--secondary:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.5);
}
.btn--ghost:hover { --btn-bg: rgba(255,255,255,.1); }

.btn--sm { padding: 9px 15px; min-height: 38px; font-size: .875rem; }
.btn--block { width: 100%; }

/* Tertiary text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 650;
  font-size: .9375rem;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.link-arrow::after { content: "\2192"; transition: transform .16s ease; }
.link-arrow:hover { color: var(--accent); border-bottom-color: currentColor; }
.link-arrow:hover::after { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 2px 12px rgba(13,17,20,.09); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

/* Logo — the client's supplied mark (2026-10-21).
   The artwork is a brushed-silver "FandorAlu" wordmark with bevelled edges
   and a divider line carrying a diamond node. It is rendered from the
   letterforms themselves, so the header and footer use two crops of the
   same mark:
     /assets/img/fandoralu-logo-head.png — wordmark only (the divider is
       illegible below ~24px), transparent ground, for the white header.
     /assets/img/fandoralu-logo-dark.png  — full lockup including the
       divider, on the deep ground, for the dark footer band.
   `width`/`height` are set so the browser reserves the box before the file
   loads — otherwise the sticky header reflows on every page load. */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}
.logo img {
  display: block;
  width: 200px;
  height: auto;
  aspect-ratio: 660 / 124;
}
.logo-text {
  font-size: 1.1875rem;
  font-weight: 750;
  letter-spacing: -.025em;
  color: var(--ink);
  line-height: 1;
}
.logo-text span { color: var(--brand); }
.logo-sub {
  display: block;
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 3px;
}

.nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item { position: relative; margin: 0; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: var(--radius);
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.nav-link:hover { color: var(--brand); background: var(--soft); }
.nav-link[aria-current="page"] { color: var(--brand); }
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 2px;
  background: var(--accent);
}
.nav-item > .nav-link[aria-current="page"] { position: relative; }

.nav-caret {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .16s ease;
}
.nav-item.is-open .nav-caret { transform: rotate(-135deg) translateY(-2px); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 310px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
  padding: 8px;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
  z-index: 120;
}
.nav-item.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li { margin: 0; }
.dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink-2);
}
.dropdown a:hover { background: var(--soft); color: var(--brand); }
.dd-name { display: block; font-size: .9375rem; font-weight: 650; line-height: 1.3; }
.dd-desc { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.dropdown .dd-all { border-top: 1px solid var(--line-2); margin-top: 6px; padding-top: 6px; }
.dropdown .dd-all a { color: var(--brand); font-weight: 650; font-size: .875rem; }

/* Header right cluster */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}
.header-wa {
  font-size: .875rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.header-wa:hover { color: var(--brand); }
.header-wa b { color: var(--ink-2); font-weight: 700; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  flex: 0 0 auto;
}
.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 14px;
}
.nav-toggle-bars span,
.nav-toggle-bars span::before,
.nav-toggle-bars span::after {
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  content: "";
  transition: transform .2s ease, opacity .2s ease, background-color .2s ease;
}
.nav-toggle-bars span { top: 6px; }
.nav-toggle-bars span::before { top: -6px; }
.nav-toggle-bars span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span::before {
  background: var(--ink);
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span::after {
  background: var(--ink);
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: #fff;
  z-index: 95;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 110px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .24s ease, visibility .24s ease;
}
.mobile-drawer.is-open { transform: translateX(0); visibility: visible; }
.mobile-group { border-bottom: 1px solid var(--line-2); }
.mobile-group > a,
.mobile-group > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  padding: 16px 20px;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 650;
  color: var(--ink);
  text-decoration: none;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.mobile-group > button .nav-caret { flex: 0 0 auto; }
.mobile-group.is-open > button .nav-caret { transform: rotate(-135deg) translateY(-2px); }
.mobile-sub {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  background: var(--soft);
}
.mobile-group.is-open .mobile-sub { max-height: 620px; }
.mobile-sub li { margin: 0; }
.mobile-sub a {
  display: block;
  padding: 12px 20px 12px 32px;
  font-size: .9375rem;
  color: var(--ink-2);
  text-decoration: none;
  border-top: 1px solid var(--line-2);
}
.mobile-sub a:hover { color: var(--brand); }
.mobile-sub .dd-desc { padding: 0 20px 10px 32px; margin: 0; background: var(--soft); }
.mobile-sub li:has(.dd-desc) a { border-top: 1px solid var(--line-2); }
.mobile-sub li.has-desc a { border-bottom: 0; }

.mobile-cta {
  padding: 20px;
  display: grid;
  gap: 10px;
}
.mobile-foot {
  padding: 4px 20px 20px;
  font-size: .875rem;
  color: var(--muted);
}
body.nav-locked { overflow: hidden; }

/* --------------------------------------------------------------------------
   6. Breadcrumb
   -------------------------------------------------------------------------- */
.breadcrumb { padding-block: 14px; border-bottom: 1px solid var(--line-2); background: var(--soft); }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .8125rem;
  color: var(--muted);
}
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: #b9c3c9; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--text); font-weight: 600; }

/* --------------------------------------------------------------------------
   7. Hero variants
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(40px, 5.5vw, 76px) clamp(40px, 5vw, 68px);
  background:
    radial-gradient(1100px 420px at 88% -10%, #eef4f8 0%, rgba(238,244,248,0) 70%),
    #fff;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero-h1 { font-size: clamp(2.05rem, 4.2vw, 3.35rem); margin-bottom: .55em; }
.hero-sub {
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: 1.6rem;
}
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  list-style: none;
  padding-left: 0;
}
.hero-metrics li { margin: 0; }
.hero-metrics b {
  display: block;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 750;
  color: var(--ink);
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.hero-metrics span { font-size: .8125rem; color: var(--muted); display: block; max-width: 18ch; line-height: 1.35; }

.hero-media { position: relative; }
.hero-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 100px;
  padding: 6px 12px;
  margin-bottom: 16px;
}

/* Inner page hero (compact) */
.page-hero {
  padding-block: clamp(34px, 4.5vw, 60px) clamp(30px, 4vw, 52px);
  background:
    radial-gradient(900px 340px at 92% -20%, #edf3f7 0%, rgba(237,243,247,0) 72%),
    #fff;
  border-bottom: 1px solid var(--line);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
}
.page-hero h1 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); margin-bottom: .45em; }
.page-hero .lede { max-width: 58ch; margin-bottom: 1.5rem; }
.page-hero--solo .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
.page-hero--solo .lede { max-width: 70ch; }

/* Quick spec bar under hero */
.quick-spec {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  background: #fff;
}
.quick-spec div {
  padding: 16px 18px 16px 0;
  border-right: 1px solid var(--line-2);
}
.quick-spec div:last-child { border-right: 0; }
.quick-spec dt {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 3px;
}
.quick-spec dd {
  margin: 0;
  font-size: .9375rem;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   8. Placeholder media (no stock imagery, no generated artwork)
   -------------------------------------------------------------------------- */
.img-ph {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.55) 0 10px, rgba(255,255,255,0) 10px 20px),
    var(--ph-bg);
  border: 1px solid #dde3e6;
  border-radius: var(--radius);
  color: var(--ph-ink);
  text-align: center;
  padding: 16px;
  overflow: hidden;
}
.img-ph span {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.45;
  max-width: 34ch;
}
.img-ph--frame { border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.ar-16-9 { aspect-ratio: 16 / 9; }
.ar-3-2 { aspect-ratio: 3 / 2; }
.ar-4-3 { aspect-ratio: 4 / 3; }
.ar-1-1 { aspect-ratio: 1 / 1; }
.ar-4-5 { aspect-ratio: 4 / 5; }
.ar-21-9 { aspect-ratio: 21 / 9; }

/* Real photography (assets/img) — cover-cropped into a fixed aspect box */
.figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft-2);
}
.figure--frame { border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   9. Capability strip / trust bar / metric strip
   -------------------------------------------------------------------------- */
.cap-strip {
  background: var(--ink);
  color: #b9c7cf;
  padding-block: 0;
}
.cap-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cap-strip-cell {
  padding: 22px 24px;
  border-right: 1px solid rgba(255,255,255,.09);
}
.cap-strip-cell:first-child { padding-left: 0; }
.cap-strip-cell:last-child { border-right: 0; }
.cap-strip-cell dt {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7f949f;
  margin-bottom: 5px;
}
.cap-strip-cell dd {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.45;
  color: #e6eef2;
  font-weight: 550;
}

.trust-bar { background: var(--soft); border-block: 1px solid var(--line); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust-grid li {
  margin: 0;
  padding: 26px 24px 26px 0;
  border-right: 1px solid var(--line);
}
.trust-grid li:last-child { border-right: 0; }
.trust-grid li:not(:first-child) { padding-left: 24px; }
.trust-num {
  display: block;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 780;
  letter-spacing: -.035em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.trust-label { display: block; font-size: .8125rem; color: var(--muted); margin-top: 5px; line-height: 1.4; }

/* --------------------------------------------------------------------------
   10. Cards
   -------------------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); border-color: #cdd8de; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-size: 1.0625rem; font-weight: 700; color: var(--ink); margin: 0; line-height: 1.3; }
.card-desc { font-size: .9375rem; color: var(--muted); margin: 0; line-height: 1.5; }
.card-foot {
  margin-top: auto;
  padding-top: 10px;
  font-size: .875rem;
  font-weight: 650;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: .35em;
}
a.card:hover .card-foot { color: var(--accent); }
.card-foot::after { content: "\2192"; }
.card--noimg .card-body { padding: 22px 22px 24px; }
.card--flat { border-radius: var(--radius); }

/* Non-clickable "coming later" card — rendered without href on purpose */
.card--static { border-style: dashed; background: var(--soft); }
.card--static .card-title { color: var(--text); }
.card-note {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-2);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 100px;
  padding: 2px 8px;
  align-self: flex-start;
}

/* Tag / pill */
.tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 100px;
  padding: 4px 10px;
}

/* --------------------------------------------------------------------------
   11. Core difference (3-column comparison) — home only
   -------------------------------------------------------------------------- */
.compare-intro { max-width: 860px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.compare-col {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
}
.compare-col--ours {
  border: 2px solid var(--brand);
  box-shadow: 0 10px 30px rgba(18,80,111,.11);
  position: relative;
}
.compare-col--ours::before {
  content: "What we do";
  position: absolute;
  top: -11px; left: 20px;
  background: var(--brand);
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}
.compare-name { font-size: 1.0625rem; font-weight: 750; color: var(--ink); margin: 0 0 4px; }
.compare-tagline { font-size: .8125rem; color: var(--muted-2); font-weight: 600; margin-bottom: 16px; }
.compare-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.compare-list li {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.45;
  padding-left: 20px;
  position: relative;
  color: var(--text);
}
.compare-list li::before {
  position: absolute;
  left: 0; top: .55em;
  font-size: .75rem;
  font-weight: 800;
}
.compare-list--good li::before { content: "\2713"; color: var(--ok); }
.compare-list--bad li::before { content: "\2013"; color: var(--muted-2); }
.compare-metric {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: .875rem;
  color: var(--muted);
}
.compare-metric b { color: var(--ink); }
.compare-col--ours .compare-metric b { color: var(--brand); }

.compare-verdict {
  margin-top: 26px;
  padding: 20px 24px;
  background: var(--ink);
  color: #d5e2e9;
  border-radius: var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  justify-content: space-between;
}
.compare-verdict p { margin: 0; font-size: 1rem; max-width: 62ch; }
.compare-verdict strong { color: #fff; }

/* Data table used for comparisons / specs */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
  min-width: 620px;
}
table.data caption {
  text-align: left;
  padding: 14px 18px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}
table.data th,
table.data td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
  line-height: 1.5;
}
table.data thead th {
  background: var(--soft);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data tbody th {
  font-weight: 650;
  color: var(--ink);
  white-space: nowrap;
  background: #fcfdfd;
}
table.data tbody tr:last-child th,
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:nth-child(even) td { background: #fcfdfd; }
table.data td b { color: var(--ink); }
table.data .col-hi { background: var(--brand-soft) !important; }
table.data .col-hi b { color: var(--brand-ink); }

/* Variant for tables that sit in a narrow column: no forced minimum width, and
   row headers are allowed to wrap instead of pushing the table out of view. */
table.data--fluid { min-width: 0; }
table.data--fluid tbody th { white-space: normal; }

/* Two-column key/value spec table */
.spec-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.spec-table caption { text-align: left; font-size: .8125rem; color: var(--muted); padding-bottom: 8px; }
.spec-table th,
.spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.spec-table th { width: 38%; font-weight: 650; color: var(--ink); background: var(--soft); }
.spec-table tr:nth-child(even) td { background: #fcfdfd; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------------------
   12. Process timeline
   -------------------------------------------------------------------------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  border-top: 2px solid var(--ink);
}
.timeline > li {
  margin: 0;
  padding: 26px 22px 0 0;
  position: relative;
  counter-increment: step;
}
.timeline > li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--accent);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.timeline > li::after {
  content: "";
  position: absolute;
  top: -6px; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline h3 { font-size: 1rem; margin-bottom: .45em; }
.timeline p { font-size: .875rem; color: var(--muted); margin-bottom: .6em; line-height: 1.5; }
.timeline ul { font-size: .8125rem; color: var(--muted); padding-left: 1.05em; margin: 0; }
.timeline ul li { margin-bottom: .25em; }

/* Vertical step list (used inside process pages) */
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.step-list > li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.step-list > li:last-child { border-bottom: 0; }
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}
.step-list h3 { margin-bottom: .3em; font-size: 1.0625rem; }
.step-list p { color: var(--muted); font-size: .9375rem; margin: 0; }

/* --------------------------------------------------------------------------
   13. Feature / why grids
   -------------------------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature {
  background: #fff;
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
}
.feature-num {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--muted-2);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.feature h3 { font-size: 1.0625rem; margin-bottom: .4em; }
.feature p { font-size: .9375rem; color: var(--muted); margin-bottom: 14px; line-height: 1.55; }
.feature-metric {
  margin-top: auto;
  font-size: .875rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -.005em;
}

/* Triple column lists (materials / finishes / tolerances) */
.triple { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.triple-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
}
.triple-col h3 { font-size: 1rem; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.check-list li {
  position: relative;
  margin: 0;
  padding-left: 22px;
  font-size: .9375rem;
  line-height: 1.45;
  color: var(--text);
}
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: 0;
  color: var(--ok);
  font-weight: 800;
  font-size: .8125rem;
}
.check-list--muted li::before { content: "\2022"; color: var(--muted-2); }
.check-list--cross li::before { content: "\2715"; color: var(--err); }

/* Parts showcase — square grid */
.parts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.parts-grid li { margin: 0; }
.part-tile { position: relative; overflow: hidden; border-radius: var(--radius); }
.part-tile .img-ph { transition: transform .3s ease; }
.part-tile:hover .img-ph { transform: scale(1.025); }
.part-tile .figure img { transition: transform .3s ease; }
.part-tile:hover .figure img { transform: scale(1.03); }
.part-cap {
  display: block;
  font-size: .8125rem;
  font-weight: 650;
  color: var(--ink);
  margin-top: 8px;
  line-height: 1.35;
}
.part-sub { display: block; font-size: .75rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   14. Facts block / callouts
   -------------------------------------------------------------------------- */
.fact-block {
  background: var(--brand-ink);
  color: #d7e6ee;
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
}
.fact-block h2, .fact-block h3 { color: #fff; }
.fact-block .fact-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8fb4c6;
  margin-bottom: 14px;
}
.fact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fact-list li {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}
.fact-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--accent); border-radius: 1px; }
.fact-list b { color: #fff; }

.callout {
  border-left: 3px solid var(--accent);
  background: var(--soft);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .9375rem;
  color: var(--text);
}
.callout--info { border-left-color: var(--brand); background: var(--brand-soft); }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--ink); }

.limits-block {
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}
.limits-block h3 { font-size: 1rem; margin-bottom: .6em; }
.limits-block p { font-size: .9375rem; color: var(--text); }

/* At a glance (case pages) */
.glance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 0;
}
.glance-grid li { margin: 0; background: #fff; padding: 18px 20px; }
.glance-grid dt {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 5px;
}
.glance-grid dd { margin: 0; font-size: .9375rem; font-weight: 650; color: var(--ink); line-height: 1.4; }

/* Difficulty block — the most persuasive section on case pages */
.difficulty {
  display: grid;
  gap: 18px;
}
.difficulty-item {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 24px 26px;
}
.difficulty-item h3 { font-size: 1.0625rem; margin-bottom: .5em; }
.difficulty-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 14px; }
.difficulty-cols h4 {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
}
.difficulty-cols p { font-size: .9375rem; margin: 0; }

/* --------------------------------------------------------------------------
   15. FAQ (native details/summary — no JS, crawlable)
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 650;
  color: var(--ink);
  list-style: none;
  line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--brand);
  line-height: 1;
  margin-top: 2px;
}
.faq details[open] summary::after { content: "\2013"; }
.faq summary:hover { color: var(--brand); }
.faq .faq-a { padding: 0 40px 20px 0; color: var(--muted); font-size: .9375rem; }
.faq .faq-a p:last-child { margin-bottom: 0; }
.faq .faq-a ul { margin-bottom: .6em; }

/* --------------------------------------------------------------------------
   16. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--brand-ink);
  color: #cfe0e9;
  padding-block: clamp(44px, 5.5vw, 76px);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 65, 12, .22) 0%, rgba(194, 65, 12, 0) 68%);
  pointer-events: none;
}
.cta-band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta-band h2 { color: #fff; font-size: clamp(1.55rem, 2.8vw, 2.2rem); margin-bottom: .5em; }
.cta-band p { color: #a9c3d0; margin-bottom: 1.4rem; max-width: 56ch; }
.cta-band .check-list li { color: #dbe9f0; }
.cta-band .check-list li::before { color: #7fd3a8; }
.cta-checklist-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}
.cta-checklist-box h3 {
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8fb4c6;
  margin-bottom: 14px;
}
.cta-band--light { background: var(--soft); color: var(--text); }
.cta-band--light h2 { color: var(--ink); }
.cta-band--light p { color: var(--muted); }
.cta-band--light .cta-checklist-box { background: #fff; border-color: var(--line); }
.cta-band--light .cta-checklist-box h3 { color: var(--muted); }
.cta-band--light .check-list li { color: var(--text); }

/* --------------------------------------------------------------------------
   17. Forms
   -------------------------------------------------------------------------- */
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-1);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .fieldset-legend {
  font-size: .875rem;
  font-weight: 650;
  color: var(--ink);
  display: block;
}
.req { color: var(--accent); font-weight: 700; margin-left: 2px; }
.opt { color: var(--muted-2); font-weight: 500; font-size: .8125rem; }
.hint { font-size: .8125rem; color: var(--muted); line-height: 1.4; }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="number"], select, textarea {
  width: 100%;
  font-family: inherit;
  font-size: .9375rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfd8dd;
  border-radius: var(--radius);
  padding: 11px 12px;
  min-height: 44px;
  transition: border-color .14s ease, box-shadow .14s ease;
  appearance: none;
}
select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% + 1px), calc(100% - 13px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}
textarea { min-height: 112px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #a6b1b8; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(18,80,111,.14);
}
input[type="file"] {
  font-family: inherit;
  font-size: .875rem;
  width: 100%;
  border: 1px dashed #cfd8dd;
  border-radius: var(--radius);
  padding: 12px;
  background: var(--soft);
  min-height: 48px;
  color: var(--muted);
}
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: var(--err);
  box-shadow: 0 0 0 3px rgba(179,38,30,.1);
}
.field-error {
  font-size: .8125rem;
  color: var(--err);
  font-weight: 600;
  display: none;
}
.field-error.is-shown { display: block; }

/* checkbox group */
.check-group { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}
.check-item input[type="checkbox"],
.check-item input[type="radio"] {
  width: 18px; height: 18px;
  margin: 1px 0 0;
  accent-color: var(--brand);
  flex: 0 0 auto;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: var(--text);
  line-height: 1.5;
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.consent input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: 0 0 auto; }

/* honeypot — hidden from users, visible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* collapsible optional technical block */
.form-details {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--soft);
}
.form-details > summary {
  cursor: pointer;
  padding: 15px 18px;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--brand);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.form-details > summary::-webkit-details-marker { display: none; }
.form-details > summary::after { content: "+"; font-size: 1.2rem; font-weight: 400; }
.form-details[open] > summary::after { content: "\2013"; }
.form-details > summary span { font-weight: 500; color: var(--muted); font-size: .8125rem; }
.form-details .form-grid { padding: 4px 18px 20px; }

/* submission feedback (aria-live) */
.form-status {
  display: none;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: .9375rem;
  line-height: 1.5;
  border: 1px solid;
}
.form-status.is-shown { display: block; }
.form-status--error { background: #fdecea; border-color: #f2c1bc; color: #7d1c16; }
.form-status--ok { background: #e8f5ee; border-color: #bfe0cd; color: #14603c; }

.turnstile-slot {
  border: 1px dashed #cfd8dd;
  border-radius: var(--radius);
  padding: 14px 16px;
  background: var(--soft);
  font-size: .8125rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.turnstile-slot::before {
  content: "";
  width: 18px; height: 18px;
  border: 2px solid #cfd8dd;
  border-radius: 3px;
  flex: 0 0 auto;
}

/* sticky sidebar on form pages */
.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-1);
}
.side-sticky { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.side-card h2, .side-card h3 { font-size: 1rem; margin-bottom: 12px; }
.side-card .check-list li { font-size: .875rem; }
.wa-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  background: var(--soft);
}
.wa-box:hover { border-color: var(--brand); background: var(--brand-soft); }
.wa-box b { display: block; color: var(--ink); font-size: .9375rem; }
.wa-box span { font-size: .8125rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   18. Sticky mobile CTA
   -------------------------------------------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  grid-template-columns: 1fr 1fr;
  height: 56px;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -2px 14px rgba(13,17,20,.09);
  transform: translateY(110%);
  transition: transform .22s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: none;
}
.sticky-cta .st-wa { color: var(--ink); border-right: 1px solid var(--line); }
.sticky-cta .st-quote { background: var(--cta); color: #fff; }
.sticky-cta .st-quote:hover { background: var(--cta-ink); color: #fff; }
body.is-form-page .sticky-cta { display: none !important; }

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: #93a5ae;
  padding-top: clamp(40px, 5vw, 64px);
  font-size: .9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1.25fr;
  gap: 32px 28px;
  padding-bottom: 40px;
}
.footer-col h2 {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6f8592;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col li { margin: 0; }
.footer-col a { color: #c3d2da; text-decoration: none; font-size: .9375rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-note { font-size: .8125rem; color: #7d919c; margin-top: 12px; line-height: 1.5; }
.footer-addr { font-style: normal; color: #c3d2da; line-height: 1.55; margin-bottom: 12px; font-size: .9375rem; }
.footer-addr b { color: #fff; display: block; font-weight: 650; margin-bottom: 2px; }
.footer-contact-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.footer-contact-list li { margin: 0; font-size: .9375rem; color: #c3d2da; }
.footer-contact-list a { color: #fff; font-weight: 650; text-decoration: none; }
.footer-contact-list a:hover { text-decoration: underline; }
.footer-hours { font-size: .8125rem; color: #8fa2ac; }
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.footer-social span {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #7d919c;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 18px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: .8125rem;
  color: #7d919c;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.footer-legal li { margin: 0; }
/* The footer logo is the full lockup (wordmark + divider + diamond node) on
   the deep ground, so it drops into the dark footer band as-is. */
.footer-logo { display: inline-flex; flex: 0 0 auto; text-decoration: none; }
.footer-logo img {
  display: block;
  width: 150px;
  height: auto;
  aspect-ratio: 660 / 160;
  opacity: .92;
}
.footer-legal a { color: #9aacb5; text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }

/* --------------------------------------------------------------------------
   20. Long-form content (legal, article-ish)
   -------------------------------------------------------------------------- */
.prose { max-width: 76ch; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.prose h3 { margin-top: 1.7em; font-size: 1.0625rem; }
.prose ul, .prose ol { color: var(--text); }
.prose li { margin-bottom: .5em; }
.prose table { margin-block: 1.2em; }
.meta-line { font-size: .8125rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 1.6em; }
.toc {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  background: var(--soft);
  margin-bottom: 32px;
}
.toc h2 { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.1em; font-size: .9375rem; }
.toc li { margin-bottom: .3em; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--brand); text-decoration: underline; }

/* Related links row */
.related-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.related-row li { margin: 0; }
.related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  background: #fff;
  transition: border-color .15s ease, background .15s ease;
}
.related-link:hover { border-color: var(--brand); background: var(--brand-soft); }
.related-link b { display: block; font-size: .9375rem; color: var(--ink); }
.related-link span { display: block; font-size: .8125rem; color: var(--muted); }
.related-link::after { content: "\2192"; color: var(--brand); font-weight: 700; flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   21. Responsive — tablet
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --gutter: 24px; }
  body { font-size: 16.5px; }

  .nav, .header-wa { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }

  .header-inner { gap: 16px; }
  .header-actions { gap: 10px; }
  .header-actions .btn { display: none; }

  .hero-grid, .page-hero-grid, .cta-band-grid, .form-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-media { order: -1; }
  .hero-media .img-ph,
  .hero-media .figure { aspect-ratio: 16 / 9; }

  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-grid { grid-template-columns: minmax(0, 1fr); }
  .compare-col--ours::before { position: static; display: inline-block; align-self: flex-start; margin-bottom: 10px; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline > li { padding-bottom: 26px; }
  .timeline > li::after { display: none; }
  .cap-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap-strip-cell:nth-child(2) { border-right: 0; }
  .cap-strip-cell:nth-child(1), .cap-strip-cell:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.09); }
  .cap-strip-cell:nth-child(3) { padding-left: 0; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid li:nth-child(2) { border-right: 0; }
  .trust-grid li:nth-child(3) { padding-left: 0; }
  .trust-grid li:nth-child(1), .trust-grid li:nth-child(2) { border-bottom: 1px solid var(--line); }
  .parts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .glance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-spec div:nth-child(2) { border-right: 0; }
  .quick-spec div:nth-child(1), .quick-spec div:nth-child(2) { border-bottom: 1px solid var(--line-2); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .triple { grid-template-columns: minmax(0, 1fr); }
  .side-sticky { position: static; }
  .difficulty-cols { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* --------------------------------------------------------------------------
   22. Responsive — mobile
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 60px; }
  body { font-size: 16px; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .feature-grid, .timeline, .glance-grid, .footer-grid, .related-row, .form-grid, .check-group {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature-grid { gap: 1px; }
  .timeline { border-top-width: 2px; }
  .timeline > li { padding: 20px 0 18px; border-bottom: 1px solid var(--line); }
  .timeline > li:last-child { border-bottom: 0; }
  .parts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .trust-grid li { padding: 18px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid li:last-child { border-bottom: 0; }
  .cap-strip-grid { grid-template-columns: minmax(0, 1fr); }
  .cap-strip-cell { padding: 16px 0 !important; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.09); }
  .cap-strip-cell:last-child { border-bottom: 0; }
  .quick-spec { grid-template-columns: minmax(0, 1fr); }
  .quick-spec div { border-right: 0; border-bottom: 1px solid var(--line-2); padding: 12px 0; }
  .quick-spec div:last-child { border-bottom: 0; }

  .hero-metrics { gap: 14px 22px; }
  .hero-metrics span { max-width: none; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .steps-inline .btn { width: 100%; }

  .header-actions .btn--quote-sm { display: inline-flex; padding: 9px 13px; font-size: .8125rem; min-height: 38px; }
  /* The wordmark now carries its own "ALUMINUM SHELL" sub-line inside the
     artwork, so the old text sub-line is gone; on a phone the lockup shrinks
     instead of being clipped. */
  .logo img { width: 152px; }

  .sticky-cta { display: grid; }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 56px; }

  .step-list > li { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .step-num { width: 32px; height: 32px; font-size: .8125rem; }
  .table-wrap { border-radius: var(--radius); }
  table.data { min-width: 520px; font-size: .875rem; }
  table.data th, table.data td { padding: 11px 13px; }
  /* Let row headers wrap so the first column stops eating the viewport on a
     phone; the wrapper still scrolls sideways for the remaining columns. */
  table.data tbody th, table.data thead th { white-space: normal; }
  .compare-verdict { padding: 16px 18px; }
  .form-card { padding: 20px 16px; }
  .faq summary { font-size: 1rem; }
  .faq .faq-a { padding-right: 16px; }
  .hero-flag { font-size: .6875rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   23. Motion / print preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .site-header, .sticky-cta, .mobile-drawer, .cta-band, .site-footer { display: none; }
  body { color: #000; font-size: 11pt; }
  a { color: #000; text-decoration: underline; }
  .section { padding-block: 12pt; }
}
