/* The Collective Outdoors — Draft A complete (private review draft)
   Brand values from "BRAND GUIDELINES FINAL_February 2026" (Sovic Creative), shared by TCO in the
   TCO Media drive: Dark Blue #1a2731, Teal #235a6f, Orange #f27324, Grey #eaf0f1; primary font Montserrat.
   Guide rule: one dominant tone + one accent; generous white space; photography leads.
   Gendra (secondary font) is licensed, so it is not used until TCO supplies the web license. */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1a2731;          /* brand Dark Blue */
  --navy-deep: #1a2731;
  --teal: #235a6f;          /* brand Teal, accent only */
  --orange: #f27324;        /* brand Orange */
  --orange-hover: #e0651a;
  --orange-text: #b04a0c;   /* darker orange for small text on light surfaces (AA) */
  --ink: #1a2731;
  --muted: #4f5b64;
  --surface: #ffffff;
  --surface-2: #eaf0f1;     /* brand Grey */
  --surface-3: #dfe7e8;
  --line: #d3dcde;
  --focus: #f27324;
  --radius: 3px;
  --maxw: 1240px;
  --gutter: clamp(16px, 4vw, 64px);
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.2rem + 0.9vw, 1.9rem);
  --step-3: clamp(1.8rem, 1.35rem + 1.9vw, 2.8rem);
  --step-4: clamp(2.3rem, 1.5rem + 3.4vw, 4.25rem);
  --section: clamp(56px, 8vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.005em; color: var(--ink); }
h1 { font-size: var(--step-4); letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--orange); color: var(--navy-deep); padding: 10px 16px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--alt { background: var(--surface-2); }
.section--tight { padding: calc(var(--section) * 0.6) 0; }

.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 1rem;
}
.rule { display: block; width: 72px; height: 4px; background: var(--orange); margin: 0 0 1.25rem; border: 0; }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 46ch; line-height: 1.5; }
.measure { max-width: 64ch; }

/* ---------- Draft strip + secondary navigation ---------- */
.utility {
  background: var(--surface); border-bottom: 1px solid var(--line);
  font-size: 0.78rem; letter-spacing: 0.08em;
}
.utility .wrap { display: flex; gap: 12px 24px; align-items: center; justify-content: space-between; min-height: 36px; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; }
.draft-label { font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink); }
.draft-label span { color: #9a3d07; }
.utility nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 20px; flex-wrap: wrap; }
.utility nav a { color: var(--muted); text-decoration: none; display: inline-block; padding: 6px 0; }
.utility nav a:hover, .utility nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { background: var(--navy); color: #fff; position: relative; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; flex: 0 0 auto; }
.brand img { width: 214px; height: auto; margin: -10px -12px; }
.primary-nav { margin-left: auto; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.primary-nav a {
  white-space: nowrap; color: #fff; text-decoration: none; font-size: 0.98rem; padding: 12px 12px; display: block; border-bottom: 2px solid transparent;
}
.primary-nav a:hover { border-bottom-color: rgba(255,255,255,0.5); color: #fff; }
.primary-nav a[aria-current="page"] { border-bottom-color: var(--orange); }
.header-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.menu-extra { display: none; }
.menu-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--radius);
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; border: 2px solid transparent;
  line-height: 1.2;
}
.btn--primary { background: var(--orange); color: var(--navy-deep); border-color: var(--orange); }
.btn--primary:hover { background: var(--orange-hover); border-color: var(--orange-hover); color: var(--navy-deep); }
.btn--outline-light { color: #fff; border-color: var(--orange); background: transparent; font-weight: 600; }
.btn--outline-light:hover { background: rgba(247,122,38,0.14); color: #fff; }
.btn--outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--small { min-height: 44px; padding: 8px 18px; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }

.text-link {
  font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--navy);
  padding: 6px 0 2px; display: inline-flex; align-items: center; gap: 10px;
}
.text-link::after { content: "\2192"; color: var(--orange); font-weight: 700; }
.text-link:hover { color: var(--ink); border-bottom-color: var(--orange); }
.text-link--light { color: #fff; border-bottom-color: #fff; }
.text-link--light:hover { color: #fff; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; color: #fff; background: #1b1d20; min-height: min(78vh, 760px); display: flex; align-items: center; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 68%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,13,15,0.82) 0%, rgba(12,13,15,0.62) 34%, rgba(12,13,15,0.12) 62%, rgba(12,13,15,0) 100%);
}
.hero__content { padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(56px, 9vw, 120px); width: 100%; }
.hero__inner { max-width: 780px; }
.hero .eyebrow { color: #fff; letter-spacing: 0.3em; }
.hero .eyebrow .dot { color: var(--orange); padding: 0 0.5em; }
.hero h1 { color: #fff; margin-bottom: 0.35em; text-shadow: 0 2px 24px rgba(0,0,0,0.25); text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.08; }
.hero__sub { font-size: var(--step-1); line-height: 1.45; max-width: 36ch; margin-bottom: 1.6rem; }
.hero__note { margin-top: 1.4rem; font-size: 0.98rem; }
.hero__credit { position: absolute; right: 12px; bottom: 12px; z-index: 1; pointer-events: none; font-size: 0.72rem; letter-spacing: 0.06em; color: #fff; background: rgba(0,0,0,0.6); padding: 3px 8px; border-radius: 2px; }

/* ---------- Page heroes (inner pages) ---------- */
.page-hero { background: var(--surface); padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 4vw, 56px); }
.page-hero--split .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.page-hero--split h1 { font-size: var(--step-3); }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.breadcrumb { font-size: 0.88rem; margin-bottom: 1.2rem; color: var(--muted); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--muted); }

/* ---------- Proof strip ---------- */
.proof { border-bottom: 1px solid var(--line); }
.proof ul { list-style: none; margin: 0; padding: 28px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.proof li { border-left: 3px solid var(--orange); padding-left: 16px; }
.proof strong { display: block; font-size: var(--step-1); }
.proof span { color: var(--muted); font-size: 0.95rem; }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.split__media figcaption, .figure-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; display: grid; gap: 10px; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 14px; height: 3px; background: var(--orange); }
.checklist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; }

/* ---------- Support cards (patios / shade) ---------- */
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.support-card { background: var(--surface); border-top: 3px solid var(--navy); padding: 24px 24px 28px; }
.support-card h3 { margin-bottom: 0.4em; }
.support-card p { color: var(--muted); margin: 0; }
.section--alt .support-card { background: var(--surface); }

/* ---------- Project mosaic ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.section-head > div { flex: 1 1 420px; max-width: 760px; }
.section-head p { margin: 0.6rem 0 0; color: var(--muted); max-width: 52ch; }
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.mosaic figure { margin: 0; position: relative; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.mosaic .m-a { grid-column: span 7; grid-row: span 2; }
.mosaic .m-b { grid-column: span 5; }
.mosaic .m-c { grid-column: span 5; }
.mosaic .m-a img { aspect-ratio: 7 / 6; }
.mosaic .m-b img, .mosaic .m-c img { aspect-ratio: 16 / 10; }
.mosaic figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 8px; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { margin-top: 10px; }
.gallery figcaption strong { display: block; font-size: 1rem; }
.gallery figcaption span { font-size: 0.86rem; color: var(--muted); }
.gallery .featured { grid-column: span 2; grid-row: span 2; }
.gallery .featured img { aspect-ratio: auto; height: 100%; max-height: 520px; }
.gallery .featured a { text-decoration: none; color: inherit; display: block; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; background: var(--surface-3); color: var(--ink); margin-right: 6px; }
.tag--pending { background: #fdebd9; color: #7a2f02; }

/* ---------- Product browsing ---------- */
.cat-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.cat-card { display: block; text-decoration: none; color: inherit; }
.cat-card img { width: 100%; height: clamp(220px, 26vw, 380px); object-fit: cover; border-radius: var(--radius); transition: transform 0.4s ease; }
.cat-card__media { overflow: hidden; border-radius: var(--radius); }
.cat-card h3 { margin: 16px 0 6px; font-size: var(--step-2); }
.cat-card .text-link { pointer-events: none; }
.cat-card:hover .text-link { border-bottom-color: var(--orange); }
.provisional { font-size: 0.78rem; color: var(--muted); display: block; margin-top: 8px; letter-spacing: 0.04em; }
.buy-notes { background: var(--surface-2); margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.buy-note { padding: 28px clamp(20px, 3vw, 40px); border-left: 4px solid var(--orange); margin: 22px 0; }
.buy-note + .buy-note { border-left-color: var(--orange); box-shadow: -1px 0 0 0 var(--line) inset; }
.buy-note h3 { margin-bottom: 0.3em; }
.buy-note p { margin-bottom: 0.6em; color: var(--ink); }
.buy-note .small { color: var(--muted); font-size: 0.92rem; }

/* ---------- Product listing + detail ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 28px 20px; list-style: none; padding: 0; margin: 0; }
.product-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.product-card a.product-card__link { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.product-card a.product-card__link:hover h3 { text-decoration: underline; }
.product-media-ph {
  aspect-ratio: 1 / 1; background: var(--surface-2); display: grid; place-items: center; text-align: center;
  color: var(--muted); font-size: 0.82rem; padding: 16px; border-bottom: 1px solid var(--line);
}
.product-media-ph strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; letter-spacing: 0.02em; }
.product-card__body { padding: 16px 18px 20px; display: grid; gap: 6px; }
.product-card__brand { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.product-card h3 { font-size: 1.05rem; margin: 0; line-height: 1.3; }
.product-card__price { font-size: 0.9rem; color: var(--muted); }
.status { display: inline-flex; gap: 6px; align-items: center; font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.status--showroom::before { background: var(--orange); }

.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.pdp .product-media-ph { aspect-ratio: 4 / 3.2; border: 1px solid var(--line); border-radius: var(--radius); font-size: 0.95rem; }
.pdp__brand { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); margin-bottom: 0.6rem; }
.pdp h1 { font-size: var(--step-3); }
.pdp dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 20px; margin: 24px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp dt { font-weight: 600; }
.pdp dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.purchase-box { border-left: 4px solid var(--orange); background: var(--surface-2); padding: 22px 24px; margin: 0 0 24px; }
.purchase-box h2 { font-size: var(--step-1); margin-bottom: 0.4em; }
.purchase-box p { margin-bottom: 0.8em; }
.review-flag {
  border: 1px dashed #b4500f; background: #fff8f2; color: #5c2400; padding: 12px 16px; font-size: 0.9rem; border-radius: var(--radius); margin: 0 0 20px;
}
.review-flag strong { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; display: block; margin-bottom: 2px; }

.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 24px; margin: 16px 0; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.facts--stack { grid-template-columns: minmax(0, 1fr); gap: 2px; }
.facts--stack dd { margin-bottom: 12px; }

/* ---------- Story / showroom / trade ---------- */
.story-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.portraits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.portraits figure { margin: 0; }
.portraits img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: var(--radius); }
.portraits figcaption { font-size: 0.9rem; margin-top: 8px; }
.portraits figcaption span { display: block; color: var(--muted); font-size: 0.82rem; }

.showroom-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: stretch; background: var(--surface-2); }
.showroom-band__media img { width: 100%; height: 100%; min-height: 360px; max-height: 560px; object-fit: cover; }
.showroom-band__body { padding: clamp(32px, 5vw, 72px); }
.address { font-style: normal; font-size: var(--step-1); line-height: 1.45; margin: 0 0 1rem; }

.trade-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.trade-card { border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; }
.trade-card .eyebrow { margin-bottom: 0.6rem; }
.trade-card ul { margin: 0 0 1.5rem; }
.trade-card .text-link { margin-top: auto; align-self: flex-start; }
.trade-grid--3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr); }
.trade-photo { margin: 0; }
.trade-photo img { width: 100%; height: 100%; min-height: 280px; max-height: 420px; object-fit: cover; border-radius: var(--radius); }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 0; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.steps > li:last-child { border-bottom: 1px solid var(--line); }
.steps > li::before { content: counter(step, decimal-leading-zero); font-size: var(--step-2); font-weight: 700; color: var(--orange-text); line-height: 1; }
.steps h3 { margin-bottom: 0.3em; }
.steps p { margin: 0; color: var(--muted); }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--orange); }
.timeline li { padding: 0 0 22px 24px; position: relative; }
.timeline li strong { display: block; }

.pending-list { background: #fff8f2; border: 1px solid #f3d3b8; padding: 20px 24px 20px 40px; border-radius: var(--radius); font-size: 0.95rem; }
.pending-list li + li { margin-top: 6px; }
.pending-note { font-size: 0.9rem; color: #6b2a03; background: #fff3e8; border-left: 3px solid #d0631c; padding: 8px 12px; margin: 12px 0; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font-weight: 600; font-size: 1.08rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--orange); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }

/* ---------- Closing CTA ---------- */
.cta-band { position: relative; color: #fff; isolation: isolate; background: #18191b; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: rgba(12,13,15,0.62); z-index: -1; }
.cta-band .wrap { padding-top: clamp(64px, 9vw, 128px); padding-bottom: clamp(64px, 9vw, 128px); }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { max-width: 48ch; font-size: var(--step-1); }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.demo-banner { background: var(--surface-2); border-left: 4px solid var(--navy); padding: 14px 18px; margin: 0 0 28px; font-size: 0.95rem; }
.demo-banner strong { display: block; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; }
.field { margin: 0 0 20px; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: 0.9rem; margin: -2px 0 8px; }
.req { color: #9a3d07; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #8a929c; border-radius: var(--radius);
  padding: 12px 14px; min-height: 48px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--navy); }
fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.choice { display: flex; gap: 10px; align-items: center; min-height: 44px; padding: 4px 0; font-weight: 400; }
.choice input { width: 20px; height: 20px; accent-color: var(--navy); flex: none; margin: 0; }
.field-error { color: #a1260d; font-size: 0.9rem; font-weight: 600; margin-top: 6px; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #a1260d; border-width: 2px; }
.field.has-error .field-error, fieldset.has-error .field-error { display: block; }
.error-summary { border: 2px solid #a1260d; background: #fff4f1; padding: 16px 20px; margin: 0 0 24px; border-radius: var(--radius); }
.error-summary h2 { font-size: 1.1rem; color: #a1260d; margin-bottom: 0.3em; }
.error-summary ul { margin: 0; }
.demo-success { border: 2px solid #1d6b3a; background: #f1faf4; padding: 20px 24px; border-radius: var(--radius); margin: 0 0 24px; }
.demo-success h2 { font-size: 1.2rem; color: #14532b; margin-bottom: 0.3em; }
.aside-card { background: var(--surface-2); padding: 28px; border-radius: var(--radius); }
.aside-card h2 { font-size: var(--step-1); }
.aside-card + .aside-card { margin-top: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #d6dbe2; font-size: 0.95rem; }
.site-footer .wrap { padding-top: 64px; padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer img { width: 250px; margin: -14px 0 6px -16px; }
.site-footer h2 { color: #fff; font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer a { color: #fff; text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer address { font-style: normal; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.82rem; color: #b5bdc8; }
.footer-legal strong { color: #fff; letter-spacing: 0.14em; }



/* ---------- Brand pattern (from guide; used subtly on dark bands) ---------- */
.patterned { position: relative; isolation: isolate; }
.patterned::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/brand-pattern-teal.png") repeat; background-size: 520px auto; opacity: 0.35; pointer-events: none; }

/* ---------- Review / client view ---------- */
.view-toggle {
  margin-left: 14px; font: inherit; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; min-height: 32px; cursor: pointer;
}
.view-toggle:hover { color: var(--ink); border-color: var(--ink); }
.client-only { display: none; }
[data-view="client"] .client-only { display: inline; }
[data-view="client"] .review-only,
[data-view="client"] .tag--pending,
[data-view="client"] .pending-note,
[data-view="client"] .pending-list,
[data-view="client"] .review-flag { display: none !important; }

/* ---------- Inner photo heroes ---------- */
.hero--page { min-height: min(62vh, 600px); }
.hero--page h1 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); max-width: 16ch; text-transform: none; letter-spacing: -0.01em; }
.hero .breadcrumb, .hero .breadcrumb a { color: rgba(255,255,255,0.88); }
.hero .breadcrumb li + li::before { color: rgba(255,255,255,0.5); }

/* ---------- Home: kitchen-first layers ---------- */
.intro-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.intro-row h2 { margin: 0; max-width: 16ch; }
.intro-row p { color: var(--muted); max-width: 52ch; }
.layers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.layer img { width: 100%; height: clamp(240px, 30vw, 440px); object-fit: cover; border-radius: var(--radius); }
.layer a { display: block; }
.layer__text { padding-top: 18px; }
.layer__num { display: block; font-weight: 700; color: var(--orange-text); letter-spacing: 0.1em; font-size: 0.85rem; margin-bottom: 6px; }
.layer h3 { margin-bottom: 0.3em; }
.layer p { color: var(--muted); margin: 0; max-width: 40ch; }
.layer--lead h3 { font-size: var(--step-2); }

/* ---------- Home: projects proof band ---------- */
.proof-band { background: #17191c; color: #fff; padding: var(--section) 0 calc(var(--section) * 0.5); }
.proof-band h2 { color: #fff; }
.proof-band .eyebrow { color: #c9ccd1; }
.proof-band__head { margin-bottom: 36px; }
.filmstrip { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
.filmstrip figure { margin: 0; position: relative; overflow: hidden; }
.filmstrip img { width: 100%; height: clamp(260px, 36vw, 560px); object-fit: cover; }
.filmstrip a { color: #fff; text-decoration: none; display: block; }
.filmstrip figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 16px; font-weight: 600; font-size: 0.98rem;
  background: linear-gradient(0deg, rgba(10,10,12,0.78), rgba(10,10,12,0));
}
.filmstrip figcaption span:first-child { display: block; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: #ffb27a; margin-bottom: 4px; font-weight: 700; }
.filmstrip__lead a:hover figcaption, .filmstrip__lead a:focus-visible figcaption { text-decoration: underline; }
.proof-band__note { color: #c9ccd1; font-size: 0.88rem; margin-top: 16px; }

/* ---------- Home: statement ---------- */
.statement { background: var(--surface-2); padding: var(--section) 0; }
.statement__quote { font-size: clamp(2.2rem, 1.4rem + 4vw, 5rem); line-height: 1.02; letter-spacing: -0.025em; max-width: 13ch; margin-bottom: 0.4em; }
.statement__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.statement__quote { margin: 0; }
.statement__body { max-width: 56ch; }
.statement__body p { color: var(--muted); font-size: var(--step-1); line-height: 1.5; }

/* ---------- Product photos ---------- */
.product-media { aspect-ratio: 1 / 1; background: var(--surface-2); border-bottom: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.product-media img { width: 100%; height: 100%; }
.product-media--contain img { object-fit: contain; padding: 10%; mix-blend-mode: multiply; }
.product-media--cover img { object-fit: cover; }
.pdp .product-media { aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: var(--radius); }
.pdp__summary { color: var(--muted); font-size: var(--step-1); line-height: 1.5; margin: 0 0 20px; max-width: 52ch; }
.pdp-facts { margin: 24px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Home: before-to-finished stages ---------- */
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stages a { display: block; position: relative; color: #fff; text-decoration: none; border-radius: var(--radius); overflow: hidden; }
.stages img { width: 100%; height: clamp(180px, 22vw, 320px); object-fit: cover; }
.stages__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; background: linear-gradient(0deg, rgba(14,20,26,0.82), rgba(14,20,26,0)); }
.stages__label b { color: #ffb27a; margin-right: 6px; }
.stages a:hover .stages__label, .stages a:focus-visible .stages__label { text-decoration: underline; }

/* ---------- Home: where we build ---------- */
.areas { background: var(--navy); color: #fff; padding: calc(var(--section) * 0.8) 0; }
.areas h2 { color: #fff; max-width: 22ch; }
.areas .eyebrow { color: #c9d3d6; }
.areas__list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.areas__list li { border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; padding: 7px 16px; font-size: 0.92rem; font-weight: 500; background: rgba(26,39,49,0.55); }
.areas__list li:first-child { border-color: var(--orange); }
.areas__note { color: #c9d3d6; font-size: 0.88rem; margin-top: 18px; }

/* ---------- Projects: feature card + case study stages ---------- */
.feature-card { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); background: var(--surface-2); text-decoration: none; color: inherit; border-radius: var(--radius); overflow: hidden; }
.feature-card__media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.feature-card__body { padding: clamp(28px, 4vw, 56px); align-self: center; }
.feature-card:hover h2 { text-decoration: underline; text-decoration-color: var(--orange); }
.stage-nav { position: relative; background: var(--surface); border-bottom: 1px solid var(--line); }
.stage-nav ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.stage-nav a { display: inline-block; padding: 16px 0; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 2px solid transparent; }
.stage-nav a:hover { border-bottom-color: var(--orange); }
.stage .stage__num, .intro-row .stage__num { font-size: var(--step-3); font-weight: 700; color: var(--orange-text); margin: 0 0 4px; line-height: 1; }
.stage figure { margin: 0; }
.stage figure img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.stage figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 8px; }
.stage-grid { display: grid; gap: 16px; }
.stage-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stage-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stage-grid--feature { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stage-grid--feature figure:first-child { grid-column: 1 / -1; }
.stage-grid--feature figure:first-child img { aspect-ratio: 16 / 8; }

/* ---------- Projects lightbox ---------- */
.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); }
.zoom img { transition: opacity 0.2s ease; }
.zoom:hover img { opacity: 0.9; }
.lightbox { border: 0; padding: 0; background: #0f1012; color: #fff; width: min(1200px, 94vw); max-height: 94vh; border-radius: var(--radius); }
.lightbox::backdrop { background: rgba(8, 9, 11, 0.82); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: calc(94vh - 120px); object-fit: contain; background: #0f1012; }
.lightbox figcaption { padding: 14px 20px 0; font-size: 0.95rem; color: #e6e8eb; }
.lightbox__bar { display: flex; gap: 10px; justify-content: flex-end; padding: 14px 20px 18px; flex-wrap: wrap; }
.lightbox__btn { font: inherit; font-weight: 600; min-height: 44px; padding: 8px 18px; border-radius: var(--radius); border: 1.5px solid rgba(255,255,255,0.5); background: transparent; color: #fff; cursor: pointer; }
.lightbox__btn:hover { border-color: #fff; }
.lightbox__close { border-color: var(--orange); }

/* ---------- Motion (restrained) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .cat-card:hover img { transform: scale(1.025); }
  .btn, .text-link, .primary-nav a { transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  .header-actions .btn--primary { display: none; }
}
@media (max-width: 1180px) {
  .brand img { width: 172px; }
  .primary-nav a { padding: 12px 9px; font-size: 0.94rem; }
  .header-actions .btn--primary { display: none; }
}

@media (max-width: 980px) {
  .js .site-header .wrap { min-height: 68px; }
  .brand img { width: 160px; }
  .js .menu-toggle {
    display: inline-flex; margin-left: auto; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px;
    background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); border-radius: var(--radius); font: inherit; font-weight: 600; cursor: pointer;
  }
  .menu-toggle__bars { width: 18px; height: 12px; position: relative; display: inline-block; border-top: 2px solid #fff; border-bottom: 2px solid #fff; }
  .menu-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid #fff; }
  .js .header-actions { display: none; }
  .js .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-top: 1px solid rgba(255,255,255,0.15); max-height: calc(100vh - 68px); overflow-y: auto; }
  .js .primary-nav.is-open { display: block; }
  .js .primary-nav ul { flex-direction: column; padding: 8px var(--gutter) 0; }
  .js .primary-nav a { padding: 14px 0; font-size: 1.08rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .js .primary-nav a[aria-current="page"] { border-bottom-color: var(--orange); }
  .js .menu-extra { display: grid; gap: 12px; padding: 20px var(--gutter) 24px; }
  .js .primary-nav .menu-extra .btn { width: 100%; padding: 12px 24px; justify-content: center; font-size: 1rem; border-bottom-width: 2px; }
  .js .primary-nav .menu-extra .btn--primary { border-bottom-color: var(--orange); }
  .js .primary-nav .menu-extra .btn--outline-light { border-bottom-color: var(--orange); }
  .js .utility nav { display: none; }
  .menu-extra ul { flex-direction: row !important; flex-wrap: wrap; gap: 4px 20px; padding: 0 !important; }
  .menu-extra ul a { border: 0 !important; color: #d6dbe2; font-size: 0.98rem !important; padding: 8px 0 !important; }
  .site-header .wrap { flex-wrap: wrap; }
  .primary-nav { margin-left: 0; }
  .header-actions { margin-left: auto; }

  .proof ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .story-band, .page-hero--split .wrap, .pdp, .form-shell { grid-template-columns: minmax(0, 1fr); }
  .split--reverse > :first-child { order: 0; }
  .support-grid { grid-template-columns: minmax(0, 1fr); }
  .cat-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cat-card:first-child { grid-column: 1 / -1; }
  .buy-notes { grid-template-columns: minmax(0, 1fr); }
  .buy-note + .buy-note { box-shadow: none; margin-top: 0; }
  .showroom-band { grid-template-columns: minmax(0, 1fr); }
  .showroom-band__media img { min-height: 260px; max-height: 420px; }
  .trade-grid, .trade-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .trade-photo img { min-height: 0; aspect-ratio: 16 / 10; height: auto; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic .m-a, .mosaic .m-b, .mosaic .m-c { grid-column: span 12; grid-row: auto; }
  .mosaic .m-a img { aspect-ratio: 4 / 3; }
  .intro-row { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .layers { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .layer--lead { grid-column: 1 / -1; }
  .filmstrip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .filmstrip__lead { grid-column: 1 / -1; }
  .statement__grid { grid-template-columns: minmax(0, 1fr); }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card { grid-template-columns: minmax(0, 1fr); }
  .feature-card__media img { min-height: 0; aspect-ratio: 16 / 10; }
  .stage-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic img { height: auto; }

}

@media (max-width: 720px) {
  /* Mobile hero: photo above, copy on a solid field so the grill stays visible and text stays readable. */
  .hero { display: block; min-height: 0; background: var(--surface); color: var(--ink); }
  .hero__media { position: relative; inset: auto; height: 56vw; min-height: 240px; max-height: 420px; }
  .hero__media img { object-position: 74% 62%; }
  .hero__credit { top: 10px; bottom: auto; font-size: 0.68rem; }
  .hero__media::after { display: none; }
  .hero__content { padding-top: 28px; padding-bottom: 40px; }
  .hero .eyebrow { color: var(--muted); letter-spacing: 0.18em; font-size: 0.72rem; }
  .hero h1 { color: var(--ink); text-shadow: none; font-size: clamp(2.3rem, 10vw, 3rem); }
  .hero__sub { color: var(--ink); }
  .hero .text-link--light { color: var(--navy); border-bottom-color: var(--navy); }
  .hero .breadcrumb, .hero .breadcrumb a { color: var(--muted); }
  .hero .breadcrumb li + li::before { color: var(--line); }
  .hero--page h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  .layers { grid-template-columns: minmax(0, 1fr); }
  .layer img { height: 240px; }
  .filmstrip { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .filmstrip img { height: 260px; }
  .stage-grid--2, .stage-grid--feature { grid-template-columns: minmax(0, 1fr); }
  .stages img { height: 160px; }
  .view-toggle { margin: 6px 0 0; display: block; }
  .btn-row .btn { width: 100%; }
  .cat-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery .featured { grid-column: auto; grid-row: auto; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .facts dd { margin-bottom: 10px; }
  .checklist--cols, .choice-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .steps > li { grid-template-columns: minmax(0, 1fr); }
  .portraits { gap: 12px; }
  .pdp dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .pdp dd { margin-bottom: 10px; }
  .utility .wrap { justify-content: flex-start; }
}

.site-footer.patterned::before { opacity: 0.12; }
