/* Design review v3 (8 Oct 2026, design-review/design-review.html). Loaded last, so removing this file and its <link>
   in _layout.html restores the previous look. Restore point for the whole redesign: git tag pre-design-review-2026-10-08.
   System: Familjen Grotesk for display and interface, Source Serif 4 for long reading text; 9-step type scale
   (12 14 16 18 22 28 36 48 64 px); weights 400/500/700; negative tracking only at 36px and up; 4-6px radii, borders
   instead of shadows; at most one small-caps label per section. */
:root {
  --serif: "Familjen Grotesk", ui-sans-serif, system-ui, sans-serif;   /* display (kept the old variable name) */
  --sans: "Familjen Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --read: "Source Serif 4", Georgia, "Times New Roman", serif;          /* long-form reading text */
  --radius: 6px;
  --radius-s: 4px;
  --shadow: none;
  --shadow-l: 0 12px 32px -12px rgba(15, 17, 21, .18);
  --fs-12: .75rem; --fs-14: .875rem; --fs-16: 1rem; --fs-18: 1.125rem; --fs-22: 1.375rem;
  --fs-28: 1.75rem; --fs-36: 2.25rem; --fs-48: 3rem; --fs-64: 4rem;
}

body { font: 400 var(--fs-16)/1.6 var(--sans); letter-spacing: 0; }

/* Headings: 700, tight tracking only on the big sizes. */
h1, h2, h3, h4, .display { font-family: var(--serif); font-weight: 700; }
h1, .display { font-size: clamp(var(--fs-36), 5vw, var(--fs-64)); line-height: 1.04; letter-spacing: -.025em; }
h2 { font-size: clamp(var(--fs-28), 3.2vw, var(--fs-36)); line-height: 1.1; letter-spacing: -.015em; }
h3 { font-size: var(--fs-18); line-height: 1.3; letter-spacing: 0; }
h4 { font-size: var(--fs-16); letter-spacing: 0; }
@media (max-width: 760px) { h2 { letter-spacing: 0; } }

/* Long reading text in the serif: product overviews, guides, blog, location sections. */
.prose p, .article-body p, .overview p, .p-overview p, .prose li, .article-body li {
  font-family: var(--read); font-size: var(--fs-18); line-height: 1.6; color: var(--ink-2);
}
.answer, .lead { font-family: var(--read); font-size: var(--fs-18); line-height: 1.55; }

/* Weights: 600 and 800 collapse to 500 and 700. */
.btn, .menu > li > a, .eyebrow, .pill, .fact b, .chip, .badge, .nav-phone b { font-weight: 500; }
strong, b { font-weight: 700; }

/* One small-caps label per section: keep it in heroes, drop it above section headings. */
.section-head .eyebrow, .sp-card .eyebrow, .cta-band .eyebrow, .two-col > div > .eyebrow:first-child { display: none; }
.eyebrow { font-size: var(--fs-12); letter-spacing: .12em; }

/* Flatter, quieter components: small radii, hairline borders, no soft drop shadows. */
.btn { border-radius: var(--radius); padding: 13px 20px; font-size: var(--fs-16); letter-spacing: 0; }
.btn-sm { padding: 9px 14px; font-size: var(--fs-14); }
.card, .tt-card, .ind-card, .opt-card, .qb-card, .sp-card, .stat, .faq details, .quick-quote, .cta-band, .pod-soon-card,
.p-gallery .main, .thumb, .hub-card, .city-list a {
  border-radius: var(--radius) !important; box-shadow: none !important;
}
.card, .tt-card, .ind-card, .opt-card { border: 1px solid var(--line); }
.card:hover, .tt-card:hover, .ind-card:hover { box-shadow: none; border-color: var(--ink); transform: none; }
.pill-list a, .pill-list span, .bx-chips button, .fact, .badge { border-radius: var(--radius-s); }
.thumb img, .card img { border-radius: 0; }
input, select, textarea { border-radius: var(--radius-s) !important; }
.tt-bar input { border-radius: var(--radius-s) !important; }

/* Cards: title at 18, body at 14. */
.card h3, .tt-card h3, .ind-card h3 { font-size: var(--fs-18); }
.card p, .tt-card p, .ind-card p { font-size: var(--fs-14); }

/* Section rhythm on an 8px unit. */
section { scroll-margin-top: 96px; }

/* Home v3 */
.v3-hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--ink); }
.v3-hero-img, .v3-hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Hero background video (owner, 8 Oct 2026): the product wall plays over the photo; the photo stays for reduced motion. */
.v3-hero-img .v3-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .v3-hero-img .v3-hero-video { display: none; } }
.v3-hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,17,21,.88) 0%, rgba(15,17,21,.62) 42%, rgba(15,17,21,.05) 78%); }
.v3-hero-in { position: relative; z-index: 1; width: 100%; padding-block: 72px; }
.v3-hero-copy { max-width: 600px; display: grid; gap: 18px; }
.v3-hero-copy h1 { color: #fff; margin: 0; }
.v3-hero-copy .lead { color: rgba(255,255,255,.86); margin: 0; }
.v3-hero-copy .eyebrow { color: #C4B5FD; margin: 0; }
.v3-hero .hero-cta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 6px; }
.v3-link { color: #fff; font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px; }
.v3-link:hover { border-bottom-color: #fff; }
.v3-proof { border-bottom: 1px solid var(--line); background: var(--paper); }
.v3-proof-in { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.v3-fact { display: flex; gap: 12px; align-items: center; padding: 22px 18px; border-left: 1px solid var(--line); min-width: 0; }
.v3-fact:first-child { border-left: 0; padding-left: 0; }
.v3-fact img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; max-width: none; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.v3-fact b { display: block; font-size: var(--fs-16); }
.v3-fact span { display: block; font-size: var(--fs-14); color: var(--muted); }
.v3-num { font: 700 var(--fs-22)/1 var(--serif); color: var(--ember); min-width: 28px; text-align: center; flex: none; }
@media (max-width: 980px) { .v3-proof-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .v3-fact { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; } }
@media (max-width: 760px) { .v3-hero { min-height: 0; } .v3-hero-img::after { background: linear-gradient(180deg, rgba(15,17,21,.55), rgba(15,17,21,.9)); } .v3-hero-in { padding-block: 120px 40px; } }
.v3-explore { padding-block: 72px; }
.v3-explore h2 { margin-bottom: 24px; }
.v3-explore-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.v3-explore-grid a { display: grid; gap: 4px; padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.v3-explore-grid a b { font: 700 var(--fs-18)/1.3 var(--serif); }
.v3-explore-grid a span { font-size: var(--fs-14); color: var(--muted); }
.v3-explore-grid a:hover b { color: var(--ember); }
@media (max-width: 760px) { .v3-explore-grid { grid-template-columns: 1fr; } }

/* One ask per screen (design review): the header and the page carry the quote button, so the floating
   "Instant quote" goes; Ava becomes a small round button on desktop and folds into the mobile bar. */
.float-cta .btn-primary { display: none; }
.ava-fab { padding: 6px; border-radius: 50%; gap: 0; box-shadow: 0 6px 18px -6px rgba(15,17,21,.35); }
.ava-fab > span:not(.ava-av), .ava-fab small, .ava-fab b { display: none; }
.ava { left: auto; right: 22px; }
.mobile-bar .mb-ava { display: none; }
/* Phones: the bottom bar already has "Call us", so the header drops its phone button (calmer mobile, Q8, 8 Oct 2026). */
@media (max-width: 820px) { .nav-cta .nav-phone { display: none; } }
@media (max-width: 760px) {
  .ava-fab { display: none; }
  .mobile-bar .mb-ava { display: inline-flex; }
  .mobile-bar { gap: 8px; }
}
/* Cards are one click target; the accent "View options →" line goes. */
.card .go { display: none; }
.card .body { padding-bottom: 18px; }
.ava-panel { left: auto; right: 0; }

/* Product page v3: image-led hero, best-for chips, order facts, folded long copy. */
.p-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; }
.gallery .main { aspect-ratio: 4 / 5; overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .note { font-size: var(--fs-12); color: var(--muted); margin-top: 8px; }
.v3-bestfor { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 4px 0 16px; }
.v3-bestfor span { font-size: var(--fs-12); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-right: 4px; }
.v3-bestfor em { font-style: normal; font-size: var(--fs-14); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 4px 10px; }
.v3-pfacts { padding-block: 64px; }
.v3-pfacts-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; }
.v3-pfacts h2 { font-size: var(--fs-28); margin-bottom: 16px; }
.v3-order { margin: 0; border-top: 1px solid var(--ink); }
.v3-order div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.v3-order dt { font-weight: 700; font-size: var(--fs-14); }
.v3-order dd { margin: 0; font-size: var(--fs-14); color: var(--ink-2); }
.v3-uses { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; }
.v3-uses li { font-size: var(--fs-14); background: var(--bone); border-radius: var(--radius-s); padding: 4px 10px; }
.v3-pfacts h3 { margin-top: 24px; font-size: var(--fs-16); }
.v3-about summary { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; cursor: pointer; list-style: none; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.v3-about summary::-webkit-details-marker { display: none; }
.v3-about summary h2 { margin: 0; font-size: var(--fs-28); }
.v3-about summary span { font-size: var(--fs-14); color: var(--ember); white-space: nowrap; }
.v3-about[open] summary span { visibility: hidden; }
.v3-about .prose { max-width: 72ch; padding-top: 20px; }
.v3-howlink { padding-block: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.v3-howlink p { margin: 0; font-size: var(--fs-16); }
.v3-trust { padding-block: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.v3-trust .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.v3-trust p { margin: 0; font-size: var(--fs-16); max-width: 62ch; }
.v3-trust nav { display: flex; flex-wrap: wrap; gap: 8px; }
.v3-trust nav a { font-size: var(--fs-14); font-weight: 600; color: var(--ink); text-decoration: none; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; }
.v3-trust nav a:hover, .v3-trust nav a:focus-visible { border-color: var(--ink); }
@media (max-width: 900px) { .p-grid, .v3-pfacts-grid { grid-template-columns: 1fr; gap: 28px; } .v3-order div { grid-template-columns: 120px 1fr; } }

/* "How Vorex is different" block on the home page (owner, 8 Oct 2026: the paragraph sat above the heading and ran
   wide; too much space before the specialist band). */
.diff-head { align-items: end; }
.diff-head .lead { font-family: var(--sans); font-size: var(--fs-16); line-height: 1.6; color: var(--muted); max-width: 56ch; justify-self: end; }
section.diff { padding-bottom: 32px; }
section.diff + section.specialist, section.diff + .specialist { padding-top: 0; }

/* Homepage rhythm (owner, 8 Oct 2026: uneven gaps between sections): every section 64px top and bottom; two white
   sections in a row share one 64px gap instead of stacking 128px; the specialist card gets the same gap above and
   below instead of hugging "How Vorex is different". */
main:has(> .v3-hero) > section:not(.v3-hero) { padding-block: 64px !important; }
main:has(> .v3-hero) > section:not(.bg-bone):not(.v3-hero) + section:not(.bg-bone) { padding-top: 0 !important; }
@media (max-width: 760px) {
  main:has(> .v3-hero) > section:not(.v3-hero) { padding-block: 44px !important; }
  main:has(> .v3-hero) > section:not(.bg-bone):not(.v3-hero) + section:not(.bg-bone) { padding-top: 0 !important; }
}
/* "No logo yet?" logo-maker line (owner, 8 Oct 2026): no accent box, plain text lined up with the steps above. */
.lm-cta { padding: 0; border: 0; background: none; border-radius: 0; margin-top: 16px; }

/* Product decision support (remediation brief D6/D7). */
.v3-guide { padding-block: 56px 8px; }
.v3-guide h2 { font-size: var(--fs-28); margin-bottom: 16px; }
.v3-guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--ink); }
.v3-guide-grid div { padding: 16px 18px 16px 0; border-bottom: 1px solid var(--line); }
.v3-guide-grid dt { font-size: var(--fs-12); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.v3-guide-grid dd { margin: 0; font-size: var(--fs-16); line-height: 1.45; }
.v3-guide h3 { font-size: var(--fs-16); margin: 28px 0 10px; }
.v3-alts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; }
.v3-alts li { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.v3-alts a { font-weight: 700; text-decoration: none; }
.v3-alts a:hover { color: var(--ember); }
.v3-alts span { font-size: var(--fs-14); color: var(--muted); }
@media (max-width: 900px) { .v3-guide-grid { grid-template-columns: 1fr 1fr; } .v3-alts { grid-template-columns: 1fr; } }

/* Category chooser (remediation brief D9). */
.v3-chooser { padding-block: 56px 16px; }
.v3-chooser h2 { font-size: var(--fs-28); margin-bottom: 16px; }
.v3-chooser-table { border-top: 1px solid var(--ink); overflow-x: auto; }
.v3-ch-row { display: grid; grid-template-columns: 180px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-14); min-width: 760px; }
.v3-ch-head { font-size: var(--fs-12); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-block: 10px; }
.v3-ch-row b { font-size: var(--fs-16); }
.v3-ch-row a { text-decoration: none; font-weight: 500; }
.v3-ch-row a:hover { color: var(--ember); text-decoration: underline; }
.v3-pair { margin: 20px 0 0; padding: 14px 16px; background: var(--bone); border-radius: var(--radius-s); font-size: var(--fs-16); line-height: 1.5; } .v3-pair b { display: block; margin-bottom: 4px; }

/* Concept-image label under hub, seasonal and location photos (remediation brief F4, 8 Oct 2026). */
.img-note { margin: 8px 0 0; font-size: var(--fs-12); color: var(--muted); }

/* Card types (design task Q3, 8 Oct 2026): product cards stay image-led; editorial cards are text-led with a kind label;
   option cards read as data cards (flat, hairline, no lift). */
.card-ed { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); text-decoration: none; overflow: hidden; transition: border-color .15s; }
.card-ed:hover, .card-ed:focus-visible { border-color: var(--ink); outline: none; }
.ed-thumb { aspect-ratio: 3 / 2; background: var(--bone); overflow: hidden; }
.ed-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ed-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.ed-kind { font-size: var(--fs-12); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ember); }
.card-ed h3 { margin: 0; font-size: var(--fs-18); line-height: 1.3; }
.card-ed p { margin: 0; font-family: "Source Serif 4", Georgia, serif; font-size: var(--fs-16); line-height: 1.5; color: var(--muted); }
.ed-go { margin-top: auto; padding-top: 6px; font-size: var(--fs-14); font-weight: 600; }
@media (max-width: 640px) { .ed-grid { grid-template-columns: 1fr; } }
