/*
Theme Name: Mont Gear Technical
Theme URI: https://montgear.com/
Author: Mont Gear
Description: B2B technical outerwear manufacturer theme for custom hard shell, softshell and Polartec jacket and pants programs. Includes SEO and GEO (generative-engine) markup, JSON-LD schema, llms.txt, an RFQ form and starter content that installs on activation.
Version: 1.2.2
Requires at least: 6.2
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: montgear-technical
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  --bg: #ffffff;
  --ink: #101713;
  --muted: #59655f;
  --line: #dce3df;
  --soft: #f3f6f4;
  --green: #10392c;
  --green-2: #082a21;
  --green-3: #1a5240;
  --mint: #66bf82;
  --mint-soft: #e9f5ee;
  --warn: #8a5a00;
  --max: 1320px;
  --max-prose: 760px;
  --gutter: clamp(18px, 4vw, 40px);
  --font: "Inter Tight", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --shadow: 0 20px 60px rgba(16, 23, 19, .12);
  --header-h: 76px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-3); }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.12; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(27px, 3.1vw, 40px); font-weight: 700; letter-spacing: -.03em; }
h3 { font-size: 21px; font-weight: 650; letter-spacing: -.015em; line-height: 1.25; }
h4 { font-size: 17px; font-weight: 650; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap--narrow { max-width: 920px; }
.visually-hidden { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--green); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
::selection { background: var(--mint); color: var(--green-2); }

/* ==========================================================================
   3. Buttons & small elements
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 0 22px; border: 1.5px solid transparent; border-radius: 0;
  font: 600 14px/1 var(--font); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-2); color: #fff; }
.btn--mint { background: var(--mint); color: var(--green-2); }
.btn--mint:hover { background: #7ccd96; color: var(--green-2); }
.btn--ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn--ghost:hover { background: var(--green); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost-light:hover { background: #fff; color: var(--green); border-color: #fff; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eyebrow { font-size: 12px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--green-3); margin: 0 0 14px; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--mint); }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.hero .lead, .page-hero .lead, .section--dark .lead { color: rgba(255,255,255,.82); }
.arrow::after { content: "\2192"; margin-left: .15em; }

/* ==========================================================================
   4. Header & navigation
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: #2A2C2E; --logo-seam: #fff; --logo-accent: #5E6A70; }
.brand:hover { color: #2A2C2E; }
.brand__logo { display: block; height: 40px; width: auto; max-width: 100%; }
/* logo colours (charcoal + warm grey from the brand design); the seam stitch must match the background */
.logo__ink { stroke: currentColor; }
.logo__ink-fill { fill: currentColor; }
.logo__seam { stroke: var(--logo-seam); }
.logo__accent-stroke { stroke: var(--logo-accent); }
.logo__accent-fill { fill: var(--logo-accent); }
@media (max-width: 1279px) { .brand__logo { height: 34px; } }
@media (max-width: 480px) { .brand__logo { height: 33px; } }
.custom-logo { max-height: 48px; width: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; background: none; border: 0;
  font: 550 15px/1 var(--font); color: var(--ink); text-decoration: none; cursor: pointer;
}
.nav__link:hover, .nav__item.is-open > .nav__link { color: var(--green-3); }
.nav__link svg { width: 10px; height: 10px; transition: transform .15s; }
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); }
.nav__panel {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%); min-width: 260px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 22px 26px;
  display: none; z-index: 20;
}
.nav__item--mega { position: static; }
.nav__item--mega .nav__panel { left: 0; right: 0; transform: none; min-width: 0; }
.nav__item--mega .nav__panel-inner { max-width: var(--max); margin: 0 auto; }
.nav__item--mega .nav__panel { padding-left: var(--gutter); padding-right: var(--gutter); }
@media (hover: hover) and (min-width: 1181px) {
  .nav__item.has-panel:hover > .nav__panel { display: block; }
}
.nav__item.is-open > .nav__panel { display: block; }
.nav__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.nav__cols--1 { grid-template-columns: 1fr; }
.nav__head { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.nav__panel a { display: block; padding: 6px 0; font-size: 15px; font-weight: 520; color: var(--ink); text-decoration: none; line-height: 1.3; }
.nav__panel a:hover { color: var(--green-3); text-decoration: underline; }
.nav__panel a.nav__all { color: var(--green); font-weight: 650; margin-top: 4px; }
.btn--nav { margin-left: 10px; min-height: 44px; font-size: 14px; white-space: nowrap; }
.nav__toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { display: block; width: 20px; height: 2px; background: var(--green); position: relative; content: ""; transition: transform .2s, opacity .2s; }
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav__toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; overflow-y: auto; padding: 12px var(--gutter) 40px; display: none; border-top: 1px solid var(--line); }
  .admin-bar .nav { inset: calc(var(--header-h) + 46px) 0 0 0; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 18px 0; font-size: 18px; }
  .nav__panel, .nav__item--mega .nav__panel { position: static; transform: none; border: 0; box-shadow: none; padding: 0 0 14px; }
  .nav__cols { grid-template-columns: 1fr; gap: 14px; }
  .btn--nav { margin: 18px 0 0; width: 100%; }
}

/* ==========================================================================
   5. Hero (home) & page hero
   ========================================================================== */
.hero { background: var(--green); color: #fff; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); min-height: min(720px, calc(100vh - var(--header-h))); }
.hero__text { padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px) clamp(40px, 5vw, 64px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { color: #fff; max-width: 13ch; font-size: clamp(40px, 5.2vw, 66px); }
.hero .lead { margin-top: 6px; }
.hero__strip { margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.22); font-size: 13px; letter-spacing: .04em; color: rgba(255,255,255,.78); }
.hero__strip a { color: var(--mint); font-weight: 600; text-decoration: none; white-space: nowrap; margin-left: .4em; }
.hero__media { position: relative; background-color: var(--green-2); background-size: cover; background-position: center; min-height: 420px; overflow: hidden; }
.hero__media::before { content: ""; position: absolute; inset: 0; background: url("assets/img/topo.svg") center/cover; opacity: .9; }
.hero__media--photo::before { display: none; }
.hero__card { position: absolute; right: clamp(16px, 3vw, 40px); top: clamp(16px, 3vw, 40px); width: min(450px, 78%); background: #fff; padding: 14px 14px 12px; box-shadow: var(--shadow); color: var(--ink); }
.hero__card img { width: 100%; }
.hero__card p { margin: 10px 0 0; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; }
.hero__proof { position: absolute; left: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px); right: clamp(16px, 3vw, 40px); background: rgba(8,42,33,.92); color: #fff; padding: 18px 22px; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.hero__proof strong { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); font-weight: 700; margin-right: 6px; }
.hero__proof span { font-size: 14px; font-weight: 550; }
.hero__proof span::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--mint); margin-right: 8px; vertical-align: 2px; }
.hero__hero-art { position: absolute; left: 33%; top: 68%; transform: translate(-50%, -50%); width: min(40%, 290px); height: auto; opacity: .95; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__text { padding: 56px var(--gutter) 40px; }
  .hero__media { min-height: 440px; }
  .hero__hero-art { display: none; }
}

.page-hero { background: var(--green); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: url("assets/img/topo.svg") center/cover; opacity: .55; pointer-events: none; }
.page-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding-top: clamp(34px, 5vw, 64px); padding-bottom: clamp(44px, 6vw, 84px); }
.page-hero--plain .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero--plain h1 { max-width: 26ch; }
.page-hero__fig { margin: 0; background: #fff; padding: 16px; box-shadow: var(--shadow); color: var(--ink); }
.page-hero__fig figcaption { margin-top: 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; }
.crumbs { font-size: 13px; margin: 0 0 22px; color: rgba(255,255,255,.7); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; }
@media (max-width: 860px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__fig { max-width: 440px; } }

/* ==========================================================================
   6. Sections & components
   ========================================================================== */
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--green); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding: clamp(36px, 4vw, 64px) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__sub { color: var(--muted); font-size: 18px; margin: 0; }
.section--dark .section__sub { color: rgba(255,255,255,.78); }
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.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)); }
@media (max-width: 1024px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.card__media { aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; border-bottom: 1px solid var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__num { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--green-3); }
.card__title { font-size: 21px; font-weight: 650; margin: 0; letter-spacing: -.015em; line-height: 1.25; }
.card__text { color: var(--muted); font-size: 15.5px; margin: 0; line-height: 1.55; }
.card__link { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 650; color: var(--green); }
.card--soft { background: var(--soft); }
.card--flat .card__media { display: none; }

/* Product category cards on home */
.cat { position: relative; display: flex; flex-direction: column; justify-content: flex-start; min-height: 0; padding: 26px; background: var(--green); color: #fff; text-decoration: none; overflow: hidden; }
.cat::before { content: ""; position: absolute; inset: 0; background: url("assets/img/topo.svg") center/cover; opacity: .55; transition: transform .4s; }
.cat:hover::before { transform: scale(1.06); }
.cat > * { position: relative; }
.cat:hover { color: #fff; }
.cat__art { position: static; display: block; width: min(70%, 200px); height: auto; margin: 0 auto 22px; opacity: .96; }
.cat h3 { color: #fff; font-size: 25px; margin-bottom: 8px; }
.cat p { color: rgba(255,255,255,.8); font-size: 15px; margin: 0 0 14px; line-height: 1.5; }
.cat span { margin-top: auto; font-size: 14px; font-weight: 650; color: var(--mint); }

/* Proof (four checkpoints) */
.proof__item { background: #fff; border: 1px solid var(--line); }
.proof__item .card__media { aspect-ratio: 4 / 3; }
.proof__num { display: block; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--green-3); margin-bottom: 6px; }

/* Process steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 1px solid rgba(255,255,255,.25); }
.steps__item { padding: 26px 22px 8px 0; position: relative; }
.steps__item::before { counter-increment: s; content: "0" counter(s); display: block; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--mint); margin-bottom: 12px; }
.steps__item h3 { font-size: 19px; margin-bottom: 6px; }
.steps__item p { margin: 0; font-size: 15px; color: rgba(255,255,255,.78); line-height: 1.55; }
.steps--light { border-top-color: var(--line); }
.steps--light .steps__item::before { color: var(--green-3); }
.steps--light .steps__item h3 { color: var(--ink); }
.steps--light .steps__item p { color: var(--muted); }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Programs (numbered link list) */
.programs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); list-style: none; padding: 0; margin: 0; }
.programs li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.programs a { display: flex; align-items: baseline; gap: 14px; padding: 26px 24px; text-decoration: none; color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: -.01em; transition: background .15s, color .15s; height: 100%; }
.programs a small { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--green-3); }
.programs a:hover { background: var(--green); color: #fff; }
.programs a:hover small { color: var(--mint); }
@media (max-width: 900px) { .programs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .programs { grid-template-columns: 1fr; } }

/* Capabilities two-col */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 0 0 1.6em; }
.checklist li { position: relative; padding: 11px 0 11px 30px; border-bottom: 1px solid var(--line); font-weight: 520; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px; border-left: 2.5px solid var(--green-3); border-bottom: 2.5px solid var(--green-3); transform: rotate(-45deg); }
.section--dark .checklist li { border-bottom-color: rgba(255,255,255,.2); }
.section--dark .checklist li::before { border-color: var(--mint); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; margin: 0 0 1.6em; }
table.spec { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; min-width: 560px; }
table.spec th, table.spec td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec thead th { background: var(--green); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-bottom: 0; }
table.spec tbody th { font-weight: 650; width: 22%; background: var(--soft); }
table.spec tbody tr:last-child td, table.spec tbody tr:last-child th { border-bottom: 0; }
.table-note { font-size: 13.5px; color: var(--muted); margin: -.6em 0 1.6em; }

/* FAQ */
.faq { max-width: 900px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-size: 19px; font-weight: 620; letter-spacing: -.01em; position: relative; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font-size: 28px; font-weight: 400; color: var(--green-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 48px 24px 0; color: var(--muted); }
.faq__a p:last-child { margin-bottom: 0; }

/* CTA band */
.cta { background: var(--green-2); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: url("assets/img/topo.svg") center/cover; opacity: .5; }
.cta__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: center; padding-top: clamp(52px, 6vw, 88px); padding-bottom: clamp(52px, 6vw, 88px); }
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,.82); margin: 0; max-width: 56ch; }
.cta__side { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta__list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: rgba(255,255,255,.85); }
.cta__list li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--mint); margin-right: 8px; vertical-align: 2px; }
@media (max-width: 860px) { .cta__inner { grid-template-columns: 1fr; } }

/* SEO text block / disclaimer */
.seo-text { border-top: 1px solid var(--line); padding: 44px 0; background: #fff; }
.seo-text h2 { font-size: 22px; letter-spacing: -.015em; }
.seo-text p { color: var(--muted); font-size: 15px; max-width: 980px; }
.disclaimer { font-size: 13.5px; line-height: 1.55; color: var(--muted); border-left: 3px solid var(--mint); padding: 4px 0 4px 14px; margin: 1.6em 0 0; max-width: 980px; }

/* ==========================================================================
   7. Content pages (prose, answer box, sidebar)
   ========================================================================== */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.layout--single { grid-template-columns: minmax(0, 1fr); max-width: var(--max-prose); margin: 0 auto; }
@media (max-width: 1000px) { .layout { grid-template-columns: 1fr; } }
.prose { font-size: 17.5px; line-height: 1.7; min-width: 0; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin-top: 1.9em; font-size: clamp(25px, 2.6vw, 32px); }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: #26302b; }
.prose li { margin-bottom: .45em; }
.prose a { font-weight: 560; }
.prose img { border: 1px solid var(--line); background: #fff; }
.prose figure { margin: 1.8em 0; }
.prose figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--mint); color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose code { background: var(--soft); padding: 2px 6px; font-size: .9em; }
.answer { background: var(--mint-soft); border-left: 5px solid var(--green); padding: 22px 26px; margin: 0 0 2.2em; }
.answer__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-3); margin: 0 0 8px; }
.answer p:last-child { margin-bottom: 0; }
.answer p { color: var(--ink); font-size: 18px; line-height: 1.6; }
.callout { background: var(--soft); border: 1px solid var(--line); padding: 20px 24px; margin: 1.8em 0; }
.callout > *:last-child { margin-bottom: 0; }
.callout strong:first-child { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--green-3); margin-bottom: 6px; }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 20px; }
.admin-bar .aside { top: calc(var(--header-h) + 56px); }
.aside-card { border: 1px solid var(--line); background: #fff; padding: 24px; }
.aside-card--dark { background: var(--green); border-color: var(--green); color: #fff; }
.aside-card--dark h2, .aside-card--dark h3 { color: #fff; }
.aside-card h2, .aside-card h3 { font-size: 20px; margin-bottom: 10px; }
.aside-card p { font-size: 15px; margin-bottom: 14px; }
.aside-card--dark p { color: rgba(255,255,255,.82); }
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card li { border-bottom: 1px solid var(--line); }
.aside-card li:last-child { border-bottom: 0; }
.aside-card li a { display: block; padding: 10px 0; text-decoration: none; font-size: 15px; font-weight: 560; }
.aside-card li a:hover { text-decoration: underline; }
.aside-card .btn { width: 100%; }
.aside-contact { font-size: 14.5px; line-height: 1.7; margin-top: 14px; color: rgba(255,255,255,.85); }
.aside-contact a { color: var(--mint); }
@media (max-width: 1000px) { .aside { position: static; } }

/* Related grid */
.related a { display: block; padding: 22px 24px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); height: 100%; transition: border-color .15s, box-shadow .15s; }
.related a:hover { border-color: var(--green); box-shadow: var(--shadow); }
.related strong { display: block; font-size: 18px; font-weight: 640; letter-spacing: -.01em; margin-bottom: 6px; line-height: 1.3; }
.related span { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.related em { display: inline-block; margin-top: 10px; font-style: normal; font-size: 13.5px; font-weight: 650; color: var(--green); }

/* ==========================================================================
   8. Blog
   ========================================================================== */
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1000px) { .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-list { grid-template-columns: 1fr; } }
.post-card .card__media { aspect-ratio: 16 / 9; }
.post-meta { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 12px; }
.post-meta a { color: var(--muted); }
.page-hero .post-meta { color: rgba(255,255,255,.75); margin-top: 18px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination a, .pagination span { padding: 10px 16px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14px; }
.pagination .current { background: var(--green); color: #fff; border-color: var(--green); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 3em; padding-top: 2em; border-top: 1px solid var(--line); }
.post-nav a { text-decoration: none; font-weight: 600; }
.post-nav small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.post-nav a:last-child { text-align: right; }

/* ==========================================================================
   9. RFQ form
   ========================================================================== */
.form { background: #fff; border: 1px solid var(--line); padding: clamp(22px, 3vw, 40px); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 650; color: var(--ink); }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 500 16px/1.4 var(--font); color: var(--ink); background: #fff;
  border: 1.5px solid #c4cdc8; border-radius: 0; padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: 3px solid rgba(102,191,130,.45); outline-offset: 0; }
.form__note { font-size: 13.5px; color: var(--muted); margin: 18px 0 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 20px; margin: 0 0 24px; border-left: 5px solid var(--green); background: var(--mint-soft); font-weight: 550; }
.notice--error { border-left-color: #b3261e; background: #fdeceb; }
@media (max-width: 640px) { .form__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   10. Footer
   ========================================================================== */
.site-footer { background: var(--green-2); color: rgba(255,255,255,.82); padding-top: clamp(52px, 6vw, 84px); font-size: 15px; }
.site-footer a { color: rgba(255,255,255,.88); text-decoration: none; }
.site-footer a:hover { color: var(--mint); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); padding-bottom: 48px; }
.footer__brand .brand { color: #E9E7E2; --logo-seam: var(--green-2); --logo-accent: #9AA3A8; }
.footer__brand .brand:hover { color: #E9E7E2; }
.footer__brand .brand__logo { height: 44px; }
.footer__brand p { margin-top: 18px; max-width: 34ch; line-height: 1.55; }
.footer__head { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin: 0 0 14px; }
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: 9px; line-height: 1.35; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 22px 0 30px; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.6); }
.footer__legal { max-width: 900px; margin: 0 0 22px; font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,.55); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   11. WordPress core alignment & misc
   ========================================================================== */
.alignleft { float: left; margin: 0 1.4em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.4em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 13.5px; color: var(--muted); }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .cta, .aside { display: none; } body { font-size: 12pt; } }

/* Key facts strip (home) */
.facts { background: var(--mint-soft); border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.fact { padding: 26px 24px 26px 22px; border-left: 3px solid var(--mint); margin: 18px 0; }
.fact strong { display: block; font-size: clamp(26px, 2.6vw, 34px); font-weight: 750; letter-spacing: -.025em; line-height: 1.1; color: var(--green); }
.fact span { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.45; color: var(--muted); max-width: 26ch; }
@media (max-width: 1024px) { .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact { margin: 8px 0; padding: 18px 18px 18px 18px; } }
@media (max-width: 520px) { .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; } .fact { padding: 12px 8px 12px 14px; } .fact strong { font-size: 24px; } .fact span { font-size: 13px; } }

/* ---------- Real sample photographs (v1.2.0) ---------- */
.samples__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(16px, 3vw, 36px); align-items: stretch; }
.samples__main { margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); }
.samples__main img { display: block; width: 100%; height: auto; flex: 1 1 auto; min-height: 0; object-fit: cover; object-position: center top; }
.samples__main figcaption, .sample figcaption { padding: 12px 16px; font-size: 13.5px; font-weight: 600; color: var(--ink); border-top: 1px solid var(--line); line-height: 1.4; }
.samples__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); }
.sample { margin: 0; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.sample img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.samples__more { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 28px 0 0; font-weight: 600; }
.samples__more a:not(.btn) { color: var(--green-3); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .samples__grid { grid-template-columns: 1fr; } .samples__main { max-width: 480px; } }
@media (max-width: 480px) { .sample figcaption { padding: 10px 12px; font-size: 12.5px; } }

.page-hero__fig--photo { padding: 12px; max-width: 420px; justify-self: end; }
.page-hero__fig--photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .page-hero__fig--photo { justify-self: start; max-width: 360px; } }

.photo-grid { display: grid; gap: 12px; margin: 1.8em 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.photo-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prose .photo-grid figure { margin: 0; border: 1px solid var(--line); background: #fff; }
.photo-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.prose .photo-grid figcaption { margin: 0; padding: 8px 10px; font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.35; border-top: 1px solid var(--line); }
@media (max-width: 700px) { .photo-grid, .photo-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Home hero: real sample photo card (replaces the line drawing) */
.hero__sample { position: absolute; left: clamp(16px, 3vw, 40px); top: 47%; width: min(36%, 230px); margin: 0; background: #fff; padding: 10px 10px 9px; box-shadow: var(--shadow); color: var(--ink); }
.hero__sample img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.hero__sample figcaption { margin-top: 9px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; }
@media (max-width: 900px) { .hero__sample { display: none; } }
