/*
Theme Name: EUROBEIRAS
Theme URI: https://eurobeiraslda.com
Author: EUROBEIRAS, LDA
Description: Website theme for EUROBEIRAS, LDA, wholesale trading. Activating it creates the website pages, sets the homepage and enables the quotation form (Settings > EUROBEIRAS).
Version: 1.2.0
Requires at least: 6.3
Requires PHP: 8.1
License: Proprietary (fonts: SIL Open Font License 1.1; photographs: see Image Credits page)
Text Domain: eurobeiras
*/
/* EUROBEIRAS, LDA — shared design system. Source file; build_site.py copies it to public/site.css. */

@font-face { font-family: "Caslon Display"; src: url("assets/fonts/caslon.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("assets/fonts/dmsans-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("assets/fonts/dmsans-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* Brand: forest green #0B4432 and copper #B47532 from the EUROBEIRAS logo */
  --ink: #0B4432;
  --ink-2: #08372A;
  --ink-3: #145842;
  --brand-green: #0B4432;
  --brand-copper: #B47532;
  --ivory: #F6F2EA;
  --paper: #FBF9F4;
  --sand: #ECE4D6;
  --line: #D9CFBD;
  --line-soft: #E7DFD0;
  --line-dark: rgba(246, 242, 234, 0.16);
  --gold: #B47532;
  --gold-text: #8A531E;
  --gold-light: #DDA672;
  --text: #14241E;
  --muted: #4A5852;
  --muted-dark: #C9D3CD;
  --error: #9a2a20;
  --error-bg: #fbeeeb;
  --success: #1d5636;
  --success-bg: #eaf3ec;
  --info-bg: #EDF2EE;
  --warn-bg: #f8f0dc;
  --serif: "Caslon Display", "Libre Caslon Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 8vw, 112px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body { margin: 0; background: var(--ivory); color: var(--text); font: 400 17px/1.65 var(--sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; color: var(--ink); }
h1, h2 { font-family: var(--serif); letter-spacing: -0.005em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.4rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 1.5rem + 1.7vw, 3rem); line-height: 1.08; }
h3 { font: 600 1.125rem/1.35 var(--sans); }
strong { font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; }

/* ---------- type helpers */
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 600 0.78rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; flex: none; }
.eyebrow.on-dark { color: var(--gold-light); }
.card-eyebrow { margin-bottom: 10px; font-size: 0.72rem; }
.card-eyebrow::before { width: 16px; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.small { font-size: 0.875rem; color: var(--muted); }
.note { font-size: 0.9rem; color: var(--muted); margin-top: 32px; }

/* ---------- buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 13px 24px; border: 1px solid transparent; border-radius: var(--radius); font: 600 0.95rem/1.2 var(--sans); letter-spacing: 0.01em; text-decoration: none; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn .arrow { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-3); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--gold-light); }
.btn-outline-light { background: transparent; color: var(--paper); border-color: rgba(246, 242, 234, .55); }
.btn-outline-light:hover { border-color: var(--paper); background: rgba(246, 242, 234, .08); }
.btn-small { min-height: 42px; padding: 9px 18px; font-size: 0.9rem; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.textlink { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.95rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.textlink .arrow { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.textlink:hover .arrow { transform: translateX(3px); }
.textlink:hover { border-color: var(--ink); }
.section-ink .textlink, .cta-band .textlink { color: var(--paper); border-color: var(--gold-light); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 32px; }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 242, 234, .97); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(246, 242, 234, .9); backdrop-filter: saturate(1.2) blur(10px); } }
.utility { background: var(--ink); color: var(--muted-dark); font-size: 0.8rem; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 34px; }
.utility a { color: var(--ivory); text-decoration: none; }
.utility a:hover { text-decoration: underline; }
.utility-contact { display: flex; gap: 24px; white-space: nowrap; }
.preview-badge { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 0.7rem; color: var(--gold-light); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); flex: none; }
.logo-mark { width: 38px; height: 38px; color: var(--gold); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 400 1.6rem/1 var(--serif); letter-spacing: 0.06em; }
.brand-sub { margin-top: 6px; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; list-style: none; gap: 26px; }
.nav-list a { position: relative; display: block; padding: 8px 0; font-size: 0.95rem; text-decoration: none; color: var(--text); }
.nav-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-cta { min-height: 44px; padding: 10px 18px; font-size: 0.9rem; }
.nav-contact { display: none; }
.menu-toggle { display: none; align-items: center; gap: 12px; min-height: 44px; padding: 8px 4px 8px 12px; background: none; border: 0; cursor: pointer; font-weight: 600; color: var(--ink); }
.menu-icon { position: relative; width: 22px; height: 12px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transition: border-color .2s; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transform: scaleX(0); transition: transform .25s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-icon { border-color: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 28px; background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(14, 42, 51, .35); max-height: calc(100vh - 110px); overflow-y: auto; }
  .site-nav.open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line-soft); }
  .nav-list a { padding: 15px 0; font: 400 1.6rem/1.2 var(--serif); color: var(--ink); }
  .nav-list a::after { display: none; }
  .nav-list a[aria-current="page"] { font-weight: 400; color: var(--gold-text); }
  .nav-cta { margin-top: 24px; min-height: 52px; }
  .nav-contact { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; font-size: 0.95rem; }
  .nav-contact a { color: var(--muted); }
}
@media (max-width: 560px) {
  .utility-contact a:first-child { display: none; }
  .badge-extra { display: none; }
  .brand-name { font-size: 1.35rem; }
  .brand-sub { font-size: 0.6rem; letter-spacing: .12em; }
  .logo-mark { width: 32px; height: 32px; }
  .header-inner { min-height: 66px; }
}

/* ---------- home hero */
.home-hero { position: relative; background: var(--ink); color: var(--ivory); overflow: hidden; }
.hero-media { position: absolute; inset: 0 0 auto 50%; height: calc(100% - 76px); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(14, 42, 51, .18); }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(640px, 72vh); }
.hero-copy { padding: clamp(56px, 7vw, 104px) clamp(0px, 4vw, 64px) clamp(56px, 7vw, 96px) 0; align-self: center; }
.home-hero h1 { color: var(--paper); font-size: clamp(2.6rem, 1.4rem + 3.6vw, 4.6rem); max-width: 12ch; }
.hero-lead { margin-top: 26px; max-width: 54ch; color: #d5dcdc; font-size: 1.1rem; line-height: 1.65; }
.range-bar { position: relative; background: var(--ink-2); border-top: 1px solid var(--line-dark); }
.range-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); list-style: none; }
.range-list li + li { border-left: 1px solid var(--line-dark); }
.range-list a { display: flex; align-items: center; gap: 10px; min-height: 76px; padding: 14px 18px; text-decoration: none; color: var(--ivory); font-size: 0.95rem; transition: background-color .25s var(--ease); }
.range-list li:first-child a { padding-left: 0; }
.range-list a:hover { background: var(--ink-3); }
.range-index { font: 600 0.72rem/1 var(--sans); color: var(--gold-light); letter-spacing: .08em; }
.range-name { flex: 1; }
.range-list .arrow { width: 14px; height: 14px; color: var(--gold-light); opacity: .8; }

@media (max-width: 1000px) {
  .hero-media { position: relative; inset: auto; height: 260px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 44px 0 48px; }
  .range-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .range-list li:nth-child(n+4) { border-top: 1px solid var(--line-dark); }
  .range-list li:nth-child(4) { border-left: 0; }
  .range-list li:nth-child(4) a { padding-left: 0; }
}
@media (max-width: 640px) {
  .hero-media { display: none; }
  .hero-copy { padding: 36px 0 34px; }
  .home-hero h1 { font-size: 2.45rem; }
  .hero-lead { margin-top: 16px; font-size: 1rem; }
  .home-hero .actions { margin-top: 24px; gap: 12px; }
  .home-hero .actions .btn { flex: 1 1 100%; }
  .range-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .range-list li { border-left: 0 !important; border-top: 1px solid var(--line-dark); }
  .range-list li:nth-child(even) { border-left: 1px solid var(--line-dark) !important; }
  .range-list li a, .range-list li:nth-child(4) a { min-height: 58px; padding: 12px 12px; }
  .range-list li:nth-child(odd) a { padding-left: 0; }
}

/* ---------- sections */
.section { padding: var(--section) 0; }
.section-sand { background: var(--sand); }
.section-ink { background: var(--ink); color: var(--ivory); }
.section-ink h2, .section-ink h3 { color: var(--paper); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 24px 64px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head > p { margin: 0; color: var(--muted); max-width: 52ch; justify-self: end; }
.section-head.on-dark > p { color: var(--muted-dark); }
.section-foot { margin: 40px 0 0; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } .section-head > p { justify-self: start; } }

/* ---------- media */
.media, .card-media, .category-media, .feature-img, .hero-figure { position: relative; overflow: hidden; background: var(--sand); }
.media img, .card-media img, .category-media img, .feature-img img, .hero-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.plate { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: clamp(20px, 3vw, 32px); background: var(--ink-2); color: var(--paper); }
.plate-mark { width: 40px; height: 1px; background: var(--gold-light); }
.plate-name { font: 400 clamp(1.5rem, 1.2rem + 1vw, 2.1rem)/1.1 var(--serif); max-width: 14ch; }

/* ---------- category cards */
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 32px); }
.category-link { display: block; text-decoration: none; color: inherit; }
.category-media { aspect-ratio: 4 / 3; }
.category-link:hover .category-media img { transform: scale(1.035); }
.category-body { position: relative; padding: 22px 0 0; border-top: 0; }
.category-index { display: block; margin-bottom: 8px; font: 600 0.75rem/1 var(--sans); letter-spacing: .1em; color: var(--gold-text); }
.category-body h3 { font: 400 1.85rem/1.1 var(--serif); color: var(--ink); margin-bottom: 10px; }
.category-body p { color: var(--muted); font-size: 0.98rem; margin-bottom: 16px; }
.category-meta { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.9rem; color: var(--ink); padding-bottom: 3px; border-bottom: 1px solid var(--gold); }
.category-meta .arrow { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.category-link:hover .category-meta .arrow { transform: translateX(3px); }
.category-link:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
@media (max-width: 1000px) { .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .category-grid { grid-template-columns: 1fr; gap: 32px; }
  .category-media { aspect-ratio: 16 / 9; }
}

/* ---------- about / facts */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-grid h2 { margin-bottom: 28px; }
.about-grid p:not(.eyebrow) { color: var(--text); max-width: 60ch; }
.facts { margin: 0; border-top: 1px solid var(--ink); }
.facts > div { display: grid; grid-template-columns: minmax(130px, 0.62fr) minmax(0, 1.5fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); }
.facts a { text-decoration: none; border-bottom: 1px solid var(--gold); }
.facts.compact > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .facts > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- selected products */
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); border-top: 1px solid var(--line); }
.feature-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.feature-media { display: block; }
.feature-img { aspect-ratio: 4 / 3; }
.feature-row:hover .feature-img img { transform: scale(1.04); }
.feature-body h3 { font: 400 1.6rem/1.15 var(--serif); margin-bottom: 8px; }
.feature-body h3 a { text-decoration: none; }
.feature-body h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.feature-body p:not(.eyebrow) { color: var(--muted); font-size: 0.95rem; margin-bottom: 8px; }
.card-variants { font-size: 0.85rem !important; color: var(--gold-text) !important; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .feature-row { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 20px 0; } .feature-body h3 { font-size: 1.3rem; } .feature-body > p:not(.card-variants):not(.eyebrow) { display: none; } }

/* ---------- steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); }
.steps li { padding: 32px 28px 8px 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.step-n { display: block; font: 400 2.8rem/1 var(--serif); color: var(--gold-light); margin-bottom: 22px; }
.steps h3 { font-size: 1.15rem; margin-bottom: 10px; }
.steps p:not(.eyebrow) { color: var(--muted-dark); font-size: 0.97rem; }
.section-ink .actions { margin-top: 44px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps li:nth-child(3) { padding-left: 0; border-left: 0; } .steps li:nth-child(n+3) { border-top: 1px solid var(--line-dark); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps li, .steps li + li { padding: 24px 0 4px; border-left: 0; } .steps li + li { border-top: 1px solid var(--line-dark); } .step-n { font-size: 2.2rem; margin-bottom: 12px; } }

/* ---------- guides */
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.guide-card { display: flex; flex-direction: column; padding-top: 26px; border-top: 2px solid var(--ink); }
.guide-card h3 { font: 400 1.6rem/1.18 var(--serif); margin-bottom: 14px; }
.guide-card h3 a { text-decoration: none; }
.guide-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.guide-card p:not(.eyebrow) { color: var(--muted); font-size: 0.97rem; flex: 1; }
.guide-card .textlink { align-self: flex-start; }
@media (max-width: 900px) { .guide-grid { grid-template-columns: 1fr; } .guide-card p:not(.eyebrow) { flex: none; } }

/* ---------- CTA band */
.cta-band { background: var(--ink-2); color: var(--ivory); padding: var(--section) 0; }
.cta-band h2 { color: var(--paper); margin-bottom: 20px; max-width: 18ch; }
.cta-band p:not(.eyebrow) { color: var(--muted-dark); max-width: 56ch; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.contact-list { margin: 0; border-top: 1px solid var(--line-dark); }
.contact-list > div { padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.contact-list dt { font-size: 0.78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }
.contact-list dd { margin: 0; color: var(--paper); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.cta-band .btn-secondary { color: var(--paper); border-color: rgba(246, 242, 234, .55); }
.cta-band .btn-secondary:hover { background: rgba(246, 242, 234, .08); border-color: var(--paper); }
.cta-band .btn-primary { background: var(--paper); color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--gold-light); }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cta-band .actions .btn { flex: 1 1 100%; } }

/* ---------- footer */
.site-footer { background: var(--ink); color: var(--muted-dark); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, .8fr)) minmax(0, 1.2fr); gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.brand-light { color: var(--paper); }
.brand-light .brand-sub { color: var(--muted-dark); }
.footer-brand p { margin-top: 24px; max-width: 40ch; }
.footer-h { font: 600 0.78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-contact p { margin-bottom: 18px; }
.footer-label { display: block; font-size: 0.8rem; color: var(--muted-dark); opacity: .85; margin-bottom: 2px; }
.footer-bottom { display: grid; grid-template-columns: auto auto 1fr; gap: 12px 36px; align-items: start; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line-dark); font-size: 0.85rem; }
.footer-bottom p { margin: 0; }
.footer-links { display: flex; gap: 24px; }
.footer-note { justify-self: end; text-align: right; max-width: 60ch; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-bottom { grid-template-columns: 1fr; } .footer-note { justify-self: start; text-align: left; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; padding-top: 52px; gap: 32px; } }

/* ---------- page hero & breadcrumbs */
.page-hero { padding: clamp(28px, 4vw, 44px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: end; margin-top: clamp(28px, 4vw, 48px); }
.page-hero-grid:has(.page-hero-media) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; }
.page-hero h1 { max-width: 18ch; margin-bottom: 22px; }
.page-hero .lead { margin: 0; }
.page-hero-media .hero-figure { aspect-ratio: 4 / 3; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; gap: 4px 0; font-size: 0.86rem; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin: 0 10px; color: var(--line); }
.breadcrumbs a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); }
.breadcrumbs a:hover { color: var(--ink); text-decoration-color: currentColor; }
.breadcrumbs [aria-current] { color: var(--ink); }
.not-found { padding: clamp(64px, 10vw, 140px) 0; }
@media (max-width: 860px) { .page-hero-grid:has(.page-hero-media) { grid-template-columns: 1fr; } .page-hero-media .hero-figure { aspect-ratio: 16 / 9; } }

/* ---------- catalogue */
.catalogue-section { padding-top: clamp(36px, 4vw, 56px); }
.catalogue-tools { margin-bottom: 40px; }
.search-field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 10px; color: var(--ink); }
.search-input { position: relative; max-width: 720px; }
.search-input svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--muted); pointer-events: none; }
.search-input input { width: 100%; min-height: 56px; padding: 14px 18px 14px 52px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--paper); font-size: 1.05rem; }
.search-input input::placeholder { color: #7b8589; }
.filter-row { margin-top: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); cursor: pointer; font-size: 0.92rem; color: var(--ink); transition: border-color .2s, background-color .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip-count { font-size: 0.78rem; font-weight: 600; color: var(--gold-text); }
.chip[aria-pressed="true"] .chip-count { color: var(--gold-light); }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.results-bar p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.reset-btn { min-height: 44px; padding: 8px 2px; background: none; border: 0; border-bottom: 1px solid var(--gold); cursor: pointer; font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.reset-btn:hover { border-color: var(--ink); }
.no-results { padding: clamp(32px, 4vw, 48px); background: var(--paper); border: 1px solid var(--line); }
.no-results h2 { font-size: 2rem; margin-bottom: 14px; }
.no-results p:not(.eyebrow) { color: var(--muted); max-width: 64ch; }
.no-results .actions { margin-top: 20px; }
@media (max-width: 640px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px; scrollbar-width: thin; }
  .chip { flex: none; }
}

/* ---------- product cards */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 32px); }
.product-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line-soft); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.product-card:hover { border-color: var(--line); box-shadow: 0 18px 40px -28px rgba(14, 42, 51, .45); }
.product-card[hidden] { display: none; }
.card-media-link { display: block; }
.card-media { aspect-ratio: 3 / 2; }
.product-card:hover .card-media img { transform: scale(1.035); }
.card-media.plate .plate-name { font-size: 1.6rem; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 22px; }
.card-title { font: 400 1.55rem/1.15 var(--serif); margin-bottom: 12px; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.card-summary { color: var(--muted); font-size: 0.95rem; margin-bottom: 12px; }
.card-variants { margin-bottom: 12px; }
.card-match { font-size: 0.88rem; color: var(--ink); background: var(--warn-bg); padding: 6px 10px; margin-bottom: 12px; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.card-quote { font-size: 0.88rem; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); }
.card-quote:hover { color: var(--ink); text-decoration-color: currentColor; }
.product-card.compact .card-title { font-size: 1.4rem; }
.section-sand .product-card { background: var(--ivory); }
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } .card-body { padding: 20px 18px 18px; } }

/* ---------- product page */
.product-hero { padding: clamp(24px, 3vw, 36px) 0 clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.product-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(24px, 3vw, 40px); }
.product-hero h1 { margin-bottom: 20px; max-width: 16ch; }
.product-hero .lead { margin-bottom: 0; }
.product-figure { margin: 0; }
.product-figure .hero-figure { aspect-ratio: 4 / 3; }
.figure-note { margin: 10px 0 0; font-size: 0.8rem; color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 24px; }
.tag-list li { padding: 6px 12px; border: 1px solid var(--line); background: var(--paper); font-size: 0.88rem; color: var(--ink); }
.parent-link { margin: 22px 0 0; color: var(--muted); font-size: 0.95rem; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.pp-section { padding: 0 0 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.pp-section:last-of-type { border-bottom: 0; }
.pp-section h2 { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.3rem); margin-bottom: 20px; }
.quote-panel { position: sticky; top: 140px; }
.quote-panel-inner { padding: 32px 28px; background: var(--ink); color: var(--ivory); }
.quote-panel .side-title { color: var(--paper); font-size: 1.9rem; margin-bottom: 14px; }
.quote-panel p:not(.eyebrow) { color: var(--muted-dark); font-size: 0.95rem; }
.quote-panel .btn { width: 100%; margin: 6px 0 22px; }
.quote-direct { margin: 0; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.quote-direct a { color: var(--paper); text-decoration: none; }
.quote-direct a:hover { text-decoration: underline; }
.variant-list { list-style: none; border-top: 1px solid var(--ink); }
.variant-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.variant-list span { font-weight: 600; color: var(--ink); }
.variant-list a { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--muted); text-decoration: none; }
.variant-list a:hover { color: var(--ink); text-decoration: underline; }
.variant-list .arrow { width: 13px; height: 13px; }
.spec-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 0.97rem; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-table th { width: 34%; padding-right: 20px; font-weight: 600; color: var(--muted); }
.table-note { margin-top: 16px; font-size: 0.95rem; color: var(--muted); }
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 7px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.commercial-note { padding: 18px 20px; background: var(--sand); border-left: 2px solid var(--gold); font-size: 0.95rem; color: var(--ink); }
.product-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pp-main .product-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pp-main .product-card.compact .card-body { padding: 18px 18px 16px; }
.pp-main .product-card.compact .card-title { font-size: 1.25rem; }
.pp-main .product-card.compact .card-summary { font-size: 0.9rem; }
.pp-main .product-card.compact .card-actions { flex-direction: column; align-items: flex-start; }
@media (max-width: 1240px) and (min-width: 1001px) { .pp-main .product-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) {
  .product-hero-grid, .pp-grid { grid-template-columns: 1fr; }
  .product-figure { order: -1; }
  .product-figure .hero-figure { aspect-ratio: 16 / 9; }
  .quote-panel { position: static; }
  .product-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) { .product-grid.three, .pp-main .product-grid.three { grid-template-columns: 1fr; } .spec-table th { width: 42%; } .product-hero .actions .btn { flex: 1 1 100%; } }

/* ---------- prose & content pages */
.prose { max-width: 72ch; }
.prose.narrow { max-width: 68ch; }
.prose h2 { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.3rem); margin: 48px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose p:not(.eyebrow), .prose li { color: var(--text); }
.prose a:not(.textlink):not(.btn) { color: var(--ink); text-decoration-color: var(--gold); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.side-note { padding: 28px; background: var(--paper); border: 1px solid var(--line-soft); }
.section-sand .side-note { background: var(--ivory); }
.side-note + .side-note { margin-top: 24px; }
.side-title { font: 400 1.6rem/1.15 var(--serif); margin-bottom: 14px; }
.side-title a { text-decoration: none; }
.side-note p:not(.eyebrow) { color: var(--muted); font-size: 0.95rem; }
.side-note .facts { border-top-color: var(--line); }
.link-list { list-style: none; margin-bottom: 20px; }
.link-list li { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.link-list a { text-decoration: none; font-weight: 600; color: var(--ink); }
.link-list a:hover { text-decoration: underline; }
.sector-list { list-style: none; border-top: 1px solid var(--ink); margin-bottom: 8px; }
.sector-list li { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sector-list a { font-weight: 600; text-decoration: none; }
.sector-list a:hover { text-decoration: underline; }
.sector-list span { color: var(--muted); font-size: 0.95rem; }
.info-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.info-grid li { padding: 28px 28px 24px 0; border-bottom: 1px solid var(--line); }
.info-grid li:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.info-grid h3 { font: 400 1.5rem/1.15 var(--serif); margin-bottom: 10px; }
.info-grid p:not(.eyebrow) { color: var(--muted); font-size: 0.97rem; margin: 0; }
.timeline { list-style: none; margin-top: 28px; border-top: 1px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.timeline .step-n { font-size: 2rem; color: var(--gold-text); margin: 0; }
.timeline h3 { margin-bottom: 6px; }
.timeline p:not(.eyebrow) { margin: 0; color: var(--muted); }
.guide-list { list-style: none; border-top: 1px solid var(--ink); }
.guide-row { display: grid; grid-template-columns: 200px minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 20px 40px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line); }
.guide-row h2 { font-size: 1.7rem; }
.guide-row h2 a { text-decoration: none; }
.guide-row h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.guide-row p:not(.eyebrow) { margin: 0; color: var(--muted); }
.guide-row .eyebrow { margin: 0; }
.article h2 { margin-top: 44px; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { margin-bottom: 20px; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.3rem); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 56px; padding: 16px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font: 600 1.05rem/1.4 var(--sans); color: var(--ink); }
.faq-icon { position: relative; flex: none; width: 14px; height: 14px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--gold-text); transition: transform .25s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-a { padding: 0 40px 18px 0; color: var(--muted); }
.faq-a p { margin: 0; }
.table-scroll { overflow-x: auto; margin: 40px 0; border-top: 1px solid var(--ink); }
.credits-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 640px; }
.credits-table th, .credits-table td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.credits-table thead th { font-size: 0.78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.credit-thumb { width: 72px; height: 54px; object-fit: cover; }
.credits-table a { color: var(--ink); text-decoration-color: var(--gold); }
@media (max-width: 1000px) {
  .content-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-grid li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .info-grid li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .guide-row { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 600px) { .info-grid { grid-template-columns: 1fr; } .info-grid li:nth-child(even) { padding-left: 0; border-left: 0; } .sector-list li { grid-template-columns: 1fr; gap: 2px; } .timeline li { grid-template-columns: 44px minmax(0, 1fr); } .timeline .step-n { font-size: 1.6rem; } }

/* ---------- forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.form-section { padding-top: clamp(40px, 5vw, 64px); }
.contact-aside { position: sticky; top: 140px; }
fieldset { margin: 0 0 40px; padding: 0; border: 0; min-width: 0; }
legend { display: flex; align-items: baseline; gap: 14px; width: 100%; padding: 0 0 14px; margin-bottom: 24px; border-bottom: 1px solid var(--ink); font: 400 1.75rem/1.2 var(--serif); color: var(--ink); }
.legend-n { font: 600 0.8rem/1 var(--sans); letter-spacing: .1em; color: var(--gold-text); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field[hidden], [hidden] { display: none !important; }
.remove-row[hidden] { display: block !important; visibility: hidden; }
.field label { font-weight: 600; font-size: 0.93rem; margin-bottom: 8px; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #b9b0a0; border-radius: var(--radius); background: var(--paper); font-size: 1rem; transition: border-color .2s; }
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230e2a33' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--ink); }
.field [aria-invalid="true"] { border: 2px solid var(--error); background: var(--error-bg); }
.field-error { min-height: 1.4em; margin: 6px 0 10px; font-size: 0.87rem; font-weight: 600; color: var(--error); }
.field-error:empty { min-height: 0; margin: 0 0 14px; }
.hint { font-size: 0.9rem; color: var(--muted); margin: -2px 0 16px; }
.field .hint { margin: 6px 0 0; }
.product-row { position: relative; display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, .9fr) minmax(0, 1fr) auto; gap: 0 16px; align-items: start; padding: 18px 0 4px; border-bottom: 1px solid var(--line-soft); }
.product-row:first-child { padding-top: 0; }
.product-row .row-other { grid-column: 1 / -1; grid-row: 2; }
.remove-row { align-self: start; margin-top: 30px; min-height: 50px; padding: 0 4px; background: none; border: 0; cursor: pointer; font-size: 0.9rem; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); }
.remove-row:hover { color: var(--error); }
#add-product { margin-top: 18px; }
.spam-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; align-items: flex-start; gap: 12px; font-weight: 400 !important; font-size: 0.97rem !important; color: var(--text) !important; cursor: pointer; }
.check input { width: 20px !important; height: 20px; min-height: 0 !important; margin: 3px 0 0; padding: 0 !important; flex: none; accent-color: var(--ink); }
.check a { color: var(--ink); text-decoration-color: var(--gold); }
.privacy-field { padding: 22px 0 6px; border-top: 1px solid var(--line); }
.submit-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.submit-status { margin-top: 16px; font-weight: 600; }
.notice { padding: 16px 18px; margin-bottom: 32px; border-left: 3px solid var(--ink); background: var(--info-bg); font-size: 0.97rem; }
.notice p { margin: 0 0 6px; }
.notice p:last-child { margin: 0; }
.notice-warn { border-color: var(--gold); background: var(--warn-bg); }
.notice-ok { border-color: var(--success); background: var(--success-bg); }
.notice a { color: var(--ink); font-weight: 600; }
.error-summary { padding: 20px 22px; margin-bottom: 32px; border: 2px solid var(--error); background: var(--error-bg); }
.error-summary h2 { font: 600 1.1rem/1.4 var(--sans); color: var(--error); margin-bottom: 8px; }
.error-summary p { margin: 0 0 8px; }
.error-summary ul { padding-left: 20px; }
.error-summary a { color: var(--error); font-weight: 600; }
.success-panel { padding: clamp(28px, 4vw, 44px); border: 1px solid var(--success); background: var(--success-bg); }
.success-panel h2 { margin-bottom: 14px; }
.success-panel .ref { font: 600 1.15rem/1.4 var(--sans); color: var(--ink); }
.mini-steps { padding-left: 20px; display: grid; gap: 8px; color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
@media (max-width: 1000px) { .form-layout { grid-template-columns: 1fr; } .contact-aside { position: static; } }
@media (max-width: 640px) {
  .field-grid { grid-template-columns: 1fr; }
  .product-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-top: 22px; }
  .product-row .row-product { grid-column: 1 / -1; }
  .product-row .row-other { grid-row: auto; }
  .remove-row { grid-column: 1 / -1; justify-self: start; margin: -4px 0 6px; min-height: 44px; }
  .submit-row .btn { flex: 1 1 100%; }
  legend { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .cta-band, .quote-panel, .range-bar { display: none !important; } body { background: #fff; } }

/* ---------- brand v2: logo, hero facts, refinements */
.brand-logo { display: block; height: 46px; width: auto; }
.site-footer .brand-logo { height: 54px; }
.header-inner { min-height: 82px; }
@media (max-width: 560px) { .brand-logo { height: 34px; } .header-inner { min-height: 66px; } }
.home-hero { background: var(--ink); }
.range-bar { background: var(--ink-2); }
.hero-img { animation: hero-settle 1.8s var(--ease) both; }
@keyframes hero-settle { from { transform: scale(1.05); } to { transform: scale(1); } }
.hero-copy::before { content: ""; display: block; width: 56px; height: 3px; background: var(--brand-copper); margin-bottom: 28px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 44px 0 0; padding-top: 26px; border-top: 1px solid var(--line-dark); max-width: 560px; }
.hero-facts > div { flex: 1 1 0; padding-right: 20px; }
.hero-facts > div + div { padding-left: 22px; border-left: 1px solid var(--line-dark); }
.hero-facts dt { font: 400 2.6rem/1 var(--serif); color: var(--gold-light); }
.hero-facts dd { margin: 8px 0 0; font-size: 0.86rem; letter-spacing: .02em; color: var(--muted-dark); }
@media (max-width: 640px) { .hero-copy::before { margin-bottom: 20px; } .hero-facts { margin-top: 28px; padding-top: 18px; } .hero-facts dt { font-size: 2rem; } .hero-facts > div + div { padding-left: 14px; } .hero-facts > div { padding-right: 8px; } .hero-facts dd { font-size: 0.78rem; } }
.section-head h2 { position: relative; }
.category-media, .card-media, .feature-img, .hero-figure { box-shadow: inset 0 0 0 1px rgba(11, 68, 50, .06); }
.category-link:hover .category-body h3, .card-title a:hover { color: var(--ink-3); }
.section-ink { background: var(--ink); }
.cta-band { background: var(--ink-2); border-top: 3px solid var(--brand-copper); }
.site-footer { background: var(--ink-2); }
.quote-panel-inner { background: var(--ink); border-top: 3px solid var(--brand-copper); }
.btn-primary { background: var(--ink); }
.btn-primary:hover { background: var(--ink-3); }
.btn-light:hover { background: var(--gold-light); color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
.plate { background: var(--ink); }
.plate-mark { background: var(--brand-copper); height: 3px; }
.guide-card { border-top-color: var(--ink); }
.utility { background: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .hero-img { animation: none; } }
.home-hero .eyebrow::before { display: none; }
.hero-img { object-position: 65% center; }
@media (max-width: 640px) { .hero-facts { display: none; } .home-hero .eyebrow { font-size: 0.7rem; margin-bottom: 14px; } .hero-copy::before { width: 40px; margin-bottom: 18px; } }

/* =====================================================================
   v3 premium layer: full-bleed hero, transparent header, editorial tiles
   ===================================================================== */
.logo-light { display: none; }

/* Transparent header over the homepage hero (only when JS adds .header-overlay) */
.header-overlay .page-home .site-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; transition: background-color .35s var(--ease), border-color .35s var(--ease); }
.header-overlay .page-home .site-header .utility { background: transparent; border-bottom: 1px solid rgba(246, 242, 234, .14); transition: background-color .35s var(--ease); }
.header-overlay .page-home .site-header:not(.is-solid) .logo-dark { display: none; }
.header-overlay .page-home .site-header:not(.is-solid) .logo-light { display: block; }
.header-overlay .page-home .site-header:not(.is-solid) .nav-list a { color: var(--paper); }
.header-overlay .page-home .site-header:not(.is-solid) .menu-toggle { color: var(--paper); }
.header-overlay .page-home .site-header:not(.is-solid) .nav-cta { background: var(--paper); color: var(--ink); }
.header-overlay .page-home .site-header:not(.is-solid) .nav-cta:hover { background: var(--gold-light); }
.header-overlay .page-home .site-header.is-solid { background: rgba(246, 242, 234, .97); border-bottom-color: var(--line); }
.header-overlay .page-home .site-header.is-solid .utility { background: var(--ink-2); }
@media (max-width: 1080px) { .header-overlay .page-home .site-header:not(.is-solid) .site-nav .nav-list a { color: var(--ink); } }

/* Full-bleed hero */
.home-hero { position: relative; display: flex; flex-direction: column; min-height: min(92vh, 900px); background: var(--ink-2); color: var(--paper); overflow: hidden; }
.home-hero .hero-media { position: absolute; inset: 0; height: auto; display: block; }
.home-hero .hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(6, 44, 33, .64); }
.home-hero .hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.75); }
.hero-inner { position: relative; flex: 1; display: flex; align-items: center; padding-top: 170px; padding-bottom: 72px; }
.home-hero .hero-copy { max-width: 820px; padding: 0; }
.home-hero .hero-copy::before { width: 64px; }
.home-hero h1 { max-width: 14ch; font-size: clamp(2.7rem, 1.2rem + 4.6vw, 5.6rem); line-height: 1.02; color: var(--paper); }
.home-hero .hero-lead { max-width: 56ch; font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); color: #E4E9E4; }
.home-hero .range-bar { position: relative; background: rgba(6, 44, 33, .72); border-top: 1px solid rgba(246, 242, 234, .16); }
@supports (backdrop-filter: blur(6px)) { .home-hero .range-bar { background: rgba(6, 44, 33, .55); backdrop-filter: blur(8px); } }
.home-hero .range-list li + li { border-left-color: rgba(246, 242, 234, .14); }
.home-hero .range-list a:hover { background: rgba(246, 242, 234, .07); }
@media (max-width: 1000px) { .home-hero { min-height: 0; } .home-hero .hero-media { display: block; } .hero-inner { padding-top: 150px; padding-bottom: 48px; } }
@media (max-width: 640px) { .home-hero .hero-media { display: block; } .hero-inner { padding-top: 128px; padding-bottom: 34px; } .home-hero h1 { font-size: 2.45rem; } .home-hero .range-list li { border-top-color: rgba(246, 242, 234, .14); } }
.header-overlay .page-home .home-hero { min-height: max(620px, min(100vh, 920px)); }
@media (max-width: 640px) { .header-overlay .page-home .home-hero { min-height: 0; } }
html:not(.header-overlay) .hero-inner { padding-top: 80px; }

/* Statement */
.statement { padding-bottom: clamp(48px, 6vw, 88px); }
.statement-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 110px); align-items: end; }
.statement-text { margin: 0; font: 400 clamp(1.9rem, 1.2rem + 2.2vw, 3.2rem)/1.18 var(--serif); color: var(--ink); text-wrap: balance; }
.statement-side p { color: var(--muted); }
.figures { display: flex; gap: 0; margin: 28px 0 30px; border-top: 1px solid var(--ink); }
.figures > div { flex: 1; padding: 18px 16px 0 0; }
.figures > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.figures dt { font: 400 2.6rem/1 var(--serif); color: var(--gold-text); }
.figures dd { margin: 8px 0 0; font-size: 0.86rem; color: var(--muted); }
@media (max-width: 860px) { .statement-grid { grid-template-columns: 1fr; } }

/* Category tiles */
.tiles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.tile a { position: relative; display: block; overflow: hidden; color: var(--paper); text-decoration: none; background: var(--ink); }
.tile-media { aspect-ratio: 4 / 5; }
.tile-media img { transition: transform 1s var(--ease); }
.tile a:hover .tile-media img, .tile a:focus-visible .tile-media img { transform: scale(1.05); }
.tile-caption { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: 22px 24px 22px; background: rgba(6, 44, 33, .86); border-top: 2px solid var(--brand-copper); }
.tile-index { font: 600 0.72rem/1 var(--sans); letter-spacing: .12em; color: var(--gold-light); }
.tile-name { font: 400 clamp(1.5rem, 1.1rem + 1vw, 2rem)/1.1 var(--serif); color: var(--paper); }
.tile-text { font-size: 0.92rem; line-height: 1.5; color: var(--muted-dark); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s var(--ease); }
.tile a:hover .tile-text, .tile a:focus-visible .tile-text { max-height: 6em; opacity: 1; }
.tile-meta { display: inline-flex; align-items: center; gap: 10px; font-size: 0.86rem; font-weight: 600; color: var(--paper); }
.tile-meta .arrow { width: 14px; height: 14px; color: var(--gold-light); transition: transform .25s var(--ease); }
.tile a:hover .tile-meta .arrow { transform: translateX(3px); }
.tile .plate { aspect-ratio: 4 / 5; }
@media (hover: none) { .tile-text { max-height: none; opacity: 1; } }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile-text { max-height: none; opacity: 1; } .tile-media { aspect-ratio: 4 / 3; } }
@media (max-width: 640px) { .tiles { gap: 10px; } .tile-media { aspect-ratio: 1 / 1; } .tile-caption { padding: 12px 12px 12px; gap: 4px; } .tile-name { font-size: 1.2rem; } .tile-text { display: none; } .tile-meta { font-size: 0.76rem; } }

/* Showcase */
.showcase { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; }
.showcase + .showcase { border-top: 1px solid var(--line); }
.showcase.reverse .showcase-media { order: 2; }
.showcase-media { display: block; }
.showcase-img { aspect-ratio: 4 / 3; }
.showcase-media:hover .showcase-img img { transform: scale(1.03); }
.showcase-body h3 { font: 400 clamp(2rem, 1.4rem + 1.6vw, 2.9rem)/1.08 var(--serif); margin-bottom: 18px; }
.showcase-body h3 a { text-decoration: none; }
.showcase-body h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.showcase-body > p:not(.eyebrow) { color: var(--muted); max-width: 48ch; }
.showcase-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.showcase-list li a, .showcase-list li span { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); font-size: 0.9rem; color: var(--ink); text-decoration: none; background: var(--paper); }
.showcase-list li a:hover { border-color: var(--ink); }
.more-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--ink); }
.more-row .eyebrow { margin: 0; }
.more-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; flex: 1; }
.more-list a { font-weight: 600; font-size: 0.95rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.more-list a:hover { border-color: var(--ink); }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } .showcase.reverse .showcase-media { order: 0; } }

/* Lighter, editorial product cards */
.product-card { background: transparent; border: 0; box-shadow: none !important; }
.section-sand .product-card { background: transparent; }
.card-body { padding: 20px 2px 4px; }
.card-media { aspect-ratio: 4 / 3; }
.card-title { font-size: 1.65rem; }
.card-actions { border-top: 1px solid var(--line); }
.pp-main .product-card.compact .card-body { padding: 16px 0 4px; }

/* Larger, calmer section rhythm */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-head h2 { font-size: clamp(2.2rem, 1.5rem + 2vw, 3.4rem); }
.tile-media, .showcase-img { position: relative; overflow: hidden; background: var(--ink); }
.tile-media img, .showcase-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.showcase.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
@media (max-width: 900px) { .showcase.reverse { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .more-row { flex-direction: column; align-items: flex-start; } .more-list { flex: none; gap: 10px 18px; } }
.section.catalogue-section, .section.form-section, .section.pp-body { padding-top: clamp(40px, 4vw, 64px); }

/* ---------- v4 homepage: text-rich sections */
.dir-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); border-top: 1px solid var(--ink); }
.dir-item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.dir-index { font: 400 1.6rem/1.2 var(--serif); color: var(--gold-text); }
.dir-item h3 { font: 400 1.9rem/1.15 var(--serif); margin-bottom: 12px; }
.dir-item h3 a { text-decoration: none; }
.dir-item h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.dir-item p { color: var(--muted); font-size: 0.98rem; margin-bottom: 14px; }
.dir-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.dir-links a { font-size: 0.92rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.dir-links a:hover { border-color: var(--brand-copper); }
@media (max-width: 860px) { .dir-grid { grid-template-columns: 1fr; } .dir-item { grid-template-columns: 40px minmax(0, 1fr); padding: 26px 0; } .dir-item h3 { font-size: 1.6rem; } }

.approach-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.approach-intro h2 { margin-bottom: 24px; }
.approach-intro p:not(.eyebrow) { color: var(--muted); max-width: 46ch; }
.principles { list-style: none; counter-reset: p; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--ink); }
.principles li { counter-increment: p; padding: 26px 0 22px; border-bottom: 1px solid var(--line); }
.principles li::before { content: counter(p, decimal-leading-zero); display: block; font: 600 0.75rem/1 var(--sans); letter-spacing: .12em; color: var(--gold-text); margin-bottom: 12px; }
.principles h3 { font: 400 1.5rem/1.2 var(--serif); margin-bottom: 10px; }
.principles p { color: var(--muted); font-size: 0.97rem; margin: 0; }
@media (max-width: 960px) { .approach-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .principles { grid-template-columns: 1fr; } }

.audience { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.audience li { padding: 30px 28px 28px 0; border-bottom: 1px solid var(--line); }
.audience li:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.audience h3 { font: 400 1.55rem/1.2 var(--serif); margin-bottom: 10px; }
.audience h3::before { content: ""; display: block; width: 28px; height: 2px; background: var(--brand-copper); margin-bottom: 16px; }
.audience p { color: var(--muted); font-size: 0.97rem; margin: 0; }
@media (max-width: 1000px) { .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); } .audience li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; } .audience li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); } }
@media (max-width: 600px) { .audience { grid-template-columns: 1fr; } .audience li:nth-child(even) { padding-left: 0; border-left: 0; } .audience li { padding: 24px 0; } }

.faq-home { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.faq-home h2 { margin-bottom: 20px; }
.faq-home .lead { margin-bottom: 28px; }
.checklist-card { padding: 26px 28px; margin-bottom: 26px; background: var(--paper); border: 1px solid var(--line-soft); border-top: 3px solid var(--brand-copper); }
.checklist-card h3 { margin-bottom: 14px; }
.checklist-card .check-list { font-size: 0.97rem; }
@media (max-width: 960px) { .faq-home { grid-template-columns: 1fr; } }

/* ---------- product page: quotation step below the product information */
.pp-quote { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px 40px; align-items: center; margin: 8px 0 32px; padding: clamp(28px, 4vw, 40px); background: var(--ink); color: var(--ivory); border-top: 3px solid var(--brand-copper); }
.pp-quote h2 { color: var(--paper); font-size: clamp(1.7rem, 1.3rem + 1vw, 2.3rem); margin: 0 0 14px; }
.pp-quote p:not(.eyebrow) { color: var(--muted-dark); margin: 0; }
.pp-quote .eyebrow { color: var(--gold-light); }
.pp-quote .btn { background: var(--paper); color: var(--ink); width: 100%; }
.pp-quote .btn:hover { background: var(--gold-light); }
.pp-quote-direct { margin-top: 16px !important; font-size: 0.92rem; }
.pp-quote-direct a { color: var(--paper); }
.prose .pp-quote a:not(.btn) { color: var(--paper); text-decoration-color: var(--gold-light); }
.preselect-note { margin: 0 0 18px; }
@media (max-width: 1000px) { .quote-panel { display: none; } }
@media (max-width: 700px) { .pp-quote { grid-template-columns: 1fr; } }

/* =====================================================================
   v5: quieter, less templated presentation
   ===================================================================== */
.eyebrow::before { display: none; }
.eyebrow { gap: 0; letter-spacing: 0.08em; font-size: 0.76rem; margin-bottom: 14px; }
.hero-copy::before, .home-hero .hero-copy::before { display: none; }
.hero-kicker { margin: 0 0 18px; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.12em; color: var(--gold-light); }
.small-label { margin: 0 0 8px; font-size: 0.82rem; font-weight: 600; color: var(--gold-text); }
.section-intro { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-intro h2 { margin-bottom: 14px; }
.section-intro p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.section-intro.on-dark h2 { color: var(--paper); }
.section-intro.on-dark p { color: var(--muted-dark); }
.statement-grid { align-items: start; }
.statement-title { font-size: clamp(2rem, 1.3rem + 2vw, 3.1rem); line-height: 1.12; max-width: 16ch; }
.statement-side p:not(.eyebrow) { color: var(--text); font-size: 1.05rem; }
.home-hero .range-list { grid-template-columns: repeat(6, auto); justify-content: space-between; }
.home-hero .range-list a { padding: 14px 0; min-height: 64px; }
.home-hero .range-list li + li { border-left: 0; }
.home-hero .range-list a:hover { background: none; text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 1000px) { .home-hero .range-list { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: stretch; } }
@media (max-width: 640px) { .home-hero .range-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .home-hero .range-list li a, .home-hero .range-list li:nth-child(odd) a { padding: 12px 0; min-height: 50px; } .home-hero .range-list li:nth-child(even) { border-left: 0 !important; padding-left: 12px; } }
.tile-caption { border-top: 0; gap: 4px; }
.approach-text p { margin: 0 0 22px; color: var(--muted); font-size: 1.02rem; }
.approach-text strong { color: var(--ink); }
.approach-intro p:not(.eyebrow) { color: var(--muted); }
.dir-item { display: block; }
.audience h3::before { display: none; }
.audience h3 { font: 600 1.08rem/1.35 var(--sans); }
.steps .step-n { font: 600 0.8rem/1 var(--sans); letter-spacing: .06em; color: var(--gold-light); margin-bottom: 14px; }
.faq-home h2 { margin-bottom: 26px; }
.cta-band h2 { max-width: 20ch; }
.legend-n { display: none; }
.pp-quote { border-top: 0; }
.quote-panel-inner { border-top: 0; }
.cta-band { border-top: 0; }
.guide-card { border-top-width: 1px; }
.spec-sources { margin-top: 8px; font-size: 0.85rem; color: var(--muted); }
.spec-sources a { color: var(--muted); text-decoration-color: var(--line); }
.spec-table td { color: var(--text); }

/* WordPress admin bar (logged-in editors only) */
body.admin-bar .site-header { top: 32px; }
.header-overlay body.admin-bar.page-home .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header, .header-overlay body.admin-bar.page-home .site-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .site-header, .header-overlay body.admin-bar.page-home .site-header { top: 0; } }
