/*
Theme Name: Pave Haus v3
Theme URI: https://pavehaus.co.za
Author: The Color Blue
Author URI: https://thecolorblue.co.za
Description: Custom WordPress theme for Pave Haus — earth-inspired concrete surfaces, manufactured in Cape Town & Gqeberha. v3 applies the late-June 2026 round (two-branch manufacturing messaging, "Get a free quote" CTAs, six ranges incl. Corner Copings, new pick-a-colour product structure, button restyle).
Version: 3.4.1
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: Private — all rights reserved
Text Domain: pave-haus
*/

/* =============================================================================
   1. DESIGN TOKENS
============================================================================= */
:root {
  --cream: #F1ECE0;
  --cream-2: #EAE3D2;
  --cream-3: #FBF8F0;
  --stroke: #E3DDD8;
  --stroke-2: #D9D2C3;
  --charcoal: #6B6A68;
  --charcoal-deep: #3b3d42;
  --sand: #B8A489;
  --sand-tint: rgba(184, 164, 137, .10);
  --text: #5a5a57;
  --muted: #9a9893;
  --serif: "Bellefair", "Times New Roman", serif;
  --sans: "Roboto Flex", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Aliases for product/range pages */
  --ivory: #F1ECE0;
  --ivory-deep: #EAE3D2;
  --paper: #FBF8F0;
  --terracotta: #b6a58d;
  --line: rgba(58, 57, 55, .16);
  --line-soft: rgba(58, 57, 55, .08);
  --ink: #3b3d42;
  --max: 1380px;
  --gutter: clamp(20px, 4vw, 64px);
}

/* =============================================================================
   2. RESET & BASE
============================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--terracotta); color: var(--paper); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .container { padding: 0 22px; } }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* =============================================================================
   3. TYPOGRAPHY HELPERS
============================================================================= */
.eyebrow {
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--charcoal); font-weight: 500; margin-bottom: 18px;
}
.eyebrow-tick { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.eyebrow-tick::before { content: ""; width: 36px; height: 1px; background: var(--charcoal); }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: .005em; line-height: 1.05; }
.h-xl { font-size: clamp(48px, 8vw, 120px); }
.h-l  { font-size: clamp(40px, 5.6vw, 80px); }
.h-m  { font-size: clamp(28px, 3.6vw, 52px); }
.justify { text-align: justify; hyphens: auto; }

.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1; letter-spacing: .02em;
  margin: 0 0 16px; color: var(--charcoal-deep);
  text-transform: none; font-weight: 400;
}
.section-sub {
  max-width: 620px; color: var(--text);
  font-size: 17px; line-height: 1.6; margin: 0; font-weight: 300;
}
.section-head {
  margin-bottom: 64px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.section-head-row {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap;
}

/* =============================================================================
   4. LINKS & BUTTONS
============================================================================= */
.link-arrow {
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--charcoal-deep); font-weight: 500;
  border-bottom: 1px solid var(--charcoal-deep); padding-bottom: 5px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap .25s ease;
}
.link-arrow:hover { gap: 11px; }
.link-arrow svg { width: 9px; height: 9px; stroke-width: 1.8; }

.cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 11px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--ink);
  padding: 0 0 4px 0; transition: color .3s, border-color .3s, gap .3s;
}
.cta:hover { color: var(--terracotta); border-color: var(--terracotta); gap: 14px; }
.cta--light { color: var(--paper); border-color: var(--paper); }
.cta--light:hover { color: var(--terracotta); border-color: var(--terracotta); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  padding: 18px 38px; border: 2px solid; cursor: pointer;
  box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .45);
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .2s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }
.btn svg { width: 11px; height: 11px; stroke-width: 2.4; }
.btn-primary { background: var(--cream); color: var(--charcoal-deep); border-color: var(--cream); }
.btn-primary:hover { background: var(--sand); color: var(--charcoal-deep); border-color: var(--sand); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-ghost:hover { background: var(--cream); color: var(--charcoal-deep); border-color: var(--cream); }
.btn-dark { background: var(--charcoal-deep); color: var(--cream); border-color: var(--charcoal-deep); }
.btn-dark:hover { background: var(--sand); color: var(--charcoal-deep); border-color: var(--sand); }

.btn-block {
  display: inline-block; font-family: var(--sans); font-weight: 700;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  padding: 18px 32px; background: var(--ink); color: var(--paper);
  transition: background .3s, color .3s; cursor: pointer; border: 1px solid var(--ink);
}
.btn-block:hover { background: var(--terracotta); color: var(--paper); border-color: var(--terracotta); }
.btn-ghost-alt {
  display: inline-block; font-family: var(--sans); font-weight: 700;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  padding: 18px 24px; background: transparent; color: var(--ink);
  transition: color .3s; cursor: pointer; border: 0; border-bottom: 1px solid transparent;
}
.btn-ghost-alt:hover { color: var(--terracotta); }

/* =============================================================================
   5. HEADER
============================================================================= */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50; background: transparent;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.site-header.is-stuck {
  position: fixed;
  background: rgba(241, 236, 224, .96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--stroke);
}
.site-header.is-stuck .nav a,
.site-header.is-stuck .header-social a,
.site-header.is-stuck .menu-toggle { color: var(--charcoal-deep); }
.site-header.is-stuck .logo-img { filter: none; }
.site-header.is-stuck .logo-ivory { display: none; }
.site-header.is-stuck .logo-charcoal { display: block; }

/* Light-hero pages (products, contact, 404) — header is charcoal by default
   so it stays visible over cream backgrounds. is-stuck still takes over on scroll. */
body.page-light-hero .site-header:not(.is-stuck) .nav a,
body.page-light-hero .site-header:not(.is-stuck) .header-social a,
body.page-light-hero .site-header:not(.is-stuck) .menu-toggle { color: var(--charcoal-deep); }
body.page-light-hero .site-header:not(.is-stuck) .logo-ivory { display: none; }
body.page-light-hero .site-header:not(.is-stuck) .logo-charcoal { display: block; }
body.page-light-hero .site-header:not(.is-stuck) .logo-img { filter: none; }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 40px; gap: 32px; max-width: 1480px; margin: 0 auto;
}
.site-header.is-stuck .header-inner { padding: 18px 40px; }

.logo-img { height: 38px; width: auto; display: block; transition: height .35s ease; }
.logo-ivory { filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .18)); }
.logo-charcoal { display: none; }
.site-header.is-stuck .logo-img { filter: none; }

.nav {
  display: flex; align-items: center; gap: 38px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
}
.nav a { color: var(--cream); transition: opacity .2s ease, color .35s ease; font-weight: 400; opacity: .92; }
.nav a:hover { opacity: 1; }
.nav a.active { position: relative; opacity: 1; }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 1px; background: currentColor;
}
.site-header.is-stuck .nav a { color: var(--charcoal-deep); opacity: 1; }
.site-header.is-stuck .nav a:hover { opacity: .7; }

.header-social { display: flex; gap: 16px; align-items: center; }
.header-social a { color: var(--cream); opacity: .85; transition: opacity .2s, color .35s ease; }
.header-social a:hover { opacity: 1; }
.site-header.is-stuck .header-social a { color: var(--charcoal-deep); }

.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  color: var(--cream); padding: 8px; transition: color .35s ease;
}
.site-header.is-stuck .menu-toggle { color: var(--charcoal-deep); }

@media (max-width: 880px) {
  .nav, .header-social { display: none; }
  .menu-toggle { display: block; }
  .header-inner { padding: 20px 22px; }
  .logo-img { height: 30px; }
  .site-header.is-stuck .header-inner { padding: 14px 22px; }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--charcoal-deep); color: var(--cream);
  display: flex; flex-direction: column;
  padding: 24px 28px 48px;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.22, .61, .36, 1);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 48px;
}
.mobile-menu-close {
  background: none; border: 0; color: var(--cream);
  cursor: pointer; padding: 8px;
}
.mobile-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mobile-nav a {
  font-family: var(--serif); font-size: clamp(28px, 7vw, 42px);
  color: var(--cream); letter-spacing: .03em; text-transform: uppercase;
  padding: 12px 0; border-bottom: 1px solid rgba(241, 236, 224, .12);
  transition: opacity .2s;
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a:hover { opacity: .7; }
.mobile-menu-foot {
  border-top: 1px solid rgba(241, 236, 224, .2);
  padding-top: 28px; margin-top: 28px;
  display: flex; flex-direction: column; gap: 8px;
}
.mobile-menu-foot a { font-size: 13px; color: rgba(241, 236, 224, .65); font-weight: 300; }
.mobile-menu-social { display: flex; gap: 16px; margin-top: 16px; }
.mobile-menu-social a { color: var(--cream); opacity: .65; }

/* =============================================================================
   6. SECTION SCAFFOLDING
============================================================================= */
section { padding: 120px 0; }
@media (max-width: 720px) { section { padding: 72px 0; } }

/* =============================================================================
   7. HERO (homepage)
============================================================================= */
.hero {
  position: relative; min-height: 560px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(25, 25, 23, .55) 0%, rgba(25, 25, 23, .72) 100%),
    #5a5953;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 720px) { .hero { min-height: 322px; } }
.hero-content {
  position: relative; z-index: 2; padding: 94px 24px 62px;
  color: var(--cream); max-width: 920px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.05; letter-spacing: .02em;
  margin: 0 0 18px; text-transform: uppercase; font-weight: 400;
}
.hero p {
  font-size: clamp(14px, 1.4vw, 17px);
  max-width: 560px; margin: 0 auto 24px;
  color: var(--cream); opacity: .92; font-weight: 200; line-height: 1.55;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.hero-trust {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; justify-content: center; align-items: center; gap: 36px; flex-wrap: wrap;
  padding: 18px 24px;
  background: rgba(20, 20, 18, .28); backdrop-filter: blur(4px);
  border-top: 1px solid rgba(241, 236, 224, .14);
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--cream); opacity: .92; font-weight: 400;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 10px; }
.hero-trust .dot { width: 3px; height: 3px; background: var(--cream); border-radius: 50%; opacity: .6; }
@media (max-width: 560px) { .hero-trust { gap: 14px; font-size: 9px; padding: 14px 20px; } }

/* Contact page hero (taller) */
.hero--tall { min-height: 527px; }
@media (max-width: 720px) { .hero--tall { min-height: 442px; } }
.hero--tall .hero-content { padding: 130px 24px 84px; max-width: 880px; }
.hero--tall h1 { font-size: clamp(44px, 6.4vw, 78px); margin-bottom: 22px; }
.hero--tall p { font-size: clamp(16px, 1.5vw, 19px); max-width: 540px; opacity: .88; font-weight: 200; }
.hero--contact {
  background:
    linear-gradient(180deg, rgba(40, 40, 38, .32) 0%, rgba(40, 40, 38, .50) 100%),
    #66635c;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Page hero (product / ranges pages) */
.page-hero { padding: 160px var(--gutter) 64px; background: var(--ivory); }
.page-hero .crumb {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--charcoal); font-weight: 500; margin-bottom: 32px;
}
.page-hero h1 { max-width: 18ch; }
.page-hero .lede {
  margin-top: 32px; max-width: 54ch; color: var(--charcoal);
  font-size: 16px; line-height: 1.85; font-weight: 400;
}

/* Products archive hero — image + dark overlay, same shape as contact hero */
.hero--products .ph-crumb {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(241, 236, 224, .82); font-weight: 500;
  margin-bottom: 28px;
}
.hero--products .ph-crumb a { color: inherit; border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color .2s; }
.hero--products .ph-crumb a:hover { border-color: currentColor; }
.hero--products .ph-crumb [aria-current="page"] { color: var(--cream); }
.hero--products h1 { max-width: 14ch; margin-inline: auto; }
.hero--products p { max-width: 56ch; margin-inline: auto; }

/* =============================================================================
   8. USP STRIP
============================================================================= */
.usp {
  padding: 64px 0; background: var(--cream-2);
  border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke);
}
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
@media (max-width: 880px) { .usp-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; } }
.usp-item { display: flex; flex-direction: column; gap: 8px; padding: 0 32px; border-left: 1px solid var(--stroke-2); }
.usp-item:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 880px) {
  .usp-item { padding: 0 24px; }
  .usp-item:first-child, .usp-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .usp-item:nth-child(2) { border-left: 1px solid var(--stroke-2); }
}
.usp-num { font-family: var(--serif); font-size: 14px; color: var(--sand); font-weight: 400; letter-spacing: .04em; }
.usp-title { font-family: var(--serif); font-size: 20px; color: var(--charcoal-deep); text-transform: uppercase; letter-spacing: .02em; font-weight: 400; line-height: 1.15; }
.usp-desc { font-size: 13px; color: var(--text); line-height: 1.55; font-weight: 300; }

/* =============================================================================
   9. RANGE SECTION (Homepage)
============================================================================= */
.range { background: var(--cream); }
.range-grid-h { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 1080px) { .range-grid-h { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (max-width: 720px) { .range-grid-h { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .range-grid-h { grid-template-columns: 1fr; } }

.range-card { position: relative; display: block; aspect-ratio: 3/4; overflow: hidden; background: #dcd6c8; cursor: pointer; }
.range-card .img { position: absolute; inset: 0; background-position: center; background-size: cover; background-repeat: no-repeat; transition: transform 1s ease; }
.range-card:hover .img { transform: scale(1.06); }
.range-card .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 40, 38, .20) 0%, rgba(40, 40, 38, .32) 50%, rgba(40, 40, 38, .64) 100%); transition: background .35s ease; }
.range-card:hover .veil { background: linear-gradient(180deg, rgba(40, 40, 38, .30) 0%, rgba(40, 40, 38, .42) 50%, rgba(40, 40, 38, .80) 100%); }
.range-card .name {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: calc(100% - 32px); text-align: center;
  font-family: var(--serif); font-size: 18px; text-transform: uppercase;
  letter-spacing: .04em; line-height: 1.15; margin: 0; color: var(--cream); font-weight: 400; text-shadow: 0 1px 12px rgba(28, 28, 26, .55); z-index: 2;
}
.range-card .actions {
  position: absolute; left: 0; right: 0; bottom: 24px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--cream); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500;
  opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; z-index: 2;
}
.range-card:hover .actions { opacity: 1; transform: translateY(0); }
.range-card .actions .arrow { display: inline-flex; width: 24px; height: 24px; border: 1px solid var(--cream); border-radius: 50%; align-items: center; justify-content: center; }
.range-card .actions .arrow svg { width: 9px; height: 9px; stroke-width: 1.8; }

.range-card.is-soon { background: var(--charcoal); cursor: default; }
.range-card.is-soon:hover .img { transform: none; }
.range-card.is-soon .veil { background: linear-gradient(180deg, rgba(40, 40, 38, .05) 0%, rgba(40, 40, 38, .40) 100%); }
.range-card.is-soon .actions { display: none; }
.range-card.is-soon .badge {
  position: absolute; bottom: 18px; left: 18px; z-index: 3;
  background: var(--sand); color: #fff;
  font-size: 9px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500;
  padding: 6px 11px;
}

/* =============================================================================
   10. FEATURED PRODUCTS (Homepage)
============================================================================= */
.featured { background: var(--cream-3); border-top: 1px solid var(--stroke); }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 880px) { .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 480px) { .prod-grid { grid-template-columns: 1fr; gap: 48px; } }
.prod-card { display: flex; flex-direction: column; background: transparent; cursor: pointer; }
.prod-card .img { aspect-ratio: 1/1; background: #fff center / contain no-repeat; overflow: hidden; margin-bottom: 16px; transition: opacity .35s ease; }
.prod-card:hover .img { opacity: .92; }
.prod-card .cat { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.prod-card .name { font-family: var(--serif); font-size: 14px; color: var(--charcoal-deep); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 4px; font-weight: 400; line-height: 1.25; }
.prod-card .dim { font-size: 12px; color: var(--muted); letter-spacing: .04em; margin-bottom: 14px; font-weight: 300; }
.prod-card .quote-link { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--charcoal-deep); font-weight: 500; border-bottom: 1px solid var(--charcoal-deep); padding-bottom: 4px; align-self: flex-start; }

/* =============================================================================
   11. STORY SECTION
============================================================================= */
.story { background: var(--cream); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 880px) { .story-grid { grid-template-columns: 1fr; gap: 48px; } }
.story-img { aspect-ratio: 4/5; background: url('/wp-content/uploads/2026/02/designed_nature.webp') center / cover no-repeat; background-color: #dcd6c8; }
.story-copy h2 { font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); line-height: 1.15; text-transform: uppercase; letter-spacing: .04em; color: var(--charcoal-deep); margin: 0 0 18px; font-weight: 400; }
.story-copy p { font-size: 16px; line-height: 1.7; color: var(--text); font-weight: 300; margin: 0 0 20px; max-width: 480px; }
.story-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 36px 0 40px; padding: 32px 0; border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
@media (max-width: 480px) { .story-pillars { grid-template-columns: 1fr; } }
.pillar .k { font-family: var(--serif); font-size: 28px; color: var(--sand); line-height: 1.15; margin-bottom: 6px; }
.pillar .v { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--charcoal-deep); font-weight: 500; }
.pillar .d { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.5; font-weight: 300; }

/* =============================================================================
   12. PALETTE SECTION — ph-swatch texture stack
============================================================================= */
.palette { background: var(--cream); }
.ph-palette-section { max-width: 1100px; margin: 0 auto; padding: 0 24px; position: relative; }
.ph-palette-stack {
  display: flex; flex-direction: column; gap: 6px;
}

/* Swatch — fixed-width centred bar that grows symmetrically on hover.
   Margins shrink equally on both sides so the centre line stays put. */
.ph-swatch {
  order: var(--i, 0);
  position: relative;
  display: block;
  height: 64px;
  margin: 0 220px;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, .06), inset 0 0 0 1px rgba(255, 255, 255, .04);
  text-decoration: none;
  transition: margin .5s cubic-bezier(.22, .61, .36, 1);
}
.ph-swatch:hover { margin: 0 180px; }

/* Callout — anchored to the swatch's CENTRE so it stays put even as the
   swatch grows. translateX offsets it out to the side. The line extends
   from the callout toward the swatch; when the swatch grows on hover, it
   covers the line, producing the "line over palette" look. */
.ph-callout {
  position: absolute;
  top: 50%;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(60, 60, 55, .45);
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
  font-weight: 400;
  transition: color .35s ease;
}
.ph-swatch.side-right .ph-callout {
  left: 50%;
  transform: translateY(-50%) translateX(380px);
}
.ph-swatch.side-left .ph-callout {
  left: 50%;
  transform: translateY(-50%) translateX(calc(-100% - 380px));
}

/* Connector line — short by default, extends across the swatch on hover */
.ph-callout::before {
  content: "";
  position: absolute;
  top: 50%;
  height: 1px;
  background: currentColor;
  opacity: .5;
  width: 30px;
  transition: width .5s cubic-bezier(.22, .61, .36, 1), opacity .35s ease;
}
.ph-swatch.side-right .ph-callout::before {
  right: 100%;
  margin-right: 14px;
}
.ph-swatch.side-left .ph-callout::before {
  left: 100%;
  margin-left: 14px;
}

.ph-swatch:hover .ph-callout { color: var(--charcoal-deep); }
.ph-swatch:hover .ph-callout::before { width: 150px; opacity: .65; }

.ph-text { display: inline-block; }

/* Narrower viewports — reduce side margins so swatches don't get tiny */
@media (max-width: 1100px) {
  .ph-swatch { margin: 0 180px; }
  .ph-swatch:hover { margin: 0 150px; }
  .ph-swatch.side-right .ph-callout { transform: translateY(-50%) translateX(320px); }
  .ph-swatch.side-left .ph-callout { transform: translateY(-50%) translateX(calc(-100% - 320px)); }
  .ph-swatch:hover .ph-callout::before { width: 120px; }
}
@media (max-width: 900px) {
  .ph-swatch { margin: 0 140px; }
  .ph-swatch:hover { margin: 0 115px; }
  .ph-swatch.side-right .ph-callout { transform: translateY(-50%) translateX(260px); }
  .ph-swatch.side-left .ph-callout { transform: translateY(-50%) translateX(calc(-100% - 260px)); }
  .ph-callout { font-size: 11px; letter-spacing: .14em; }
  .ph-swatch:hover .ph-callout::before { width: 90px; }
}

.palette-note { margin-top: 48px; text-align: center; font-size: 13px; color: var(--muted); font-weight: 300; }
.palette-note a {
  display: inline-block;
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 11px;
  font-weight: 500;
  color: var(--charcoal-deep);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: opacity .2s ease;
}
.palette-note a:hover { opacity: .65; }

/* MOBILE: stack vertically, label inside the image, no hover expand */
@media (max-width: 767px){
  .ph-palette-section .ph-palette-stack{
    display: block !important;
  }
  .ph-palette-section .ph-swatch{
    position: relative !important;
    display: block !important;
    top: auto !important; left: auto !important; right: auto !important; bottom: auto !important;
    margin: 0 0 6px 0 !important;
    transform: none !important;
    overflow: hidden !important;
    background-image: var(--img) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    height: 84px !important;
  }
  .ph-palette-section .ph-swatch .ph-callout{
    position: absolute !important;
    left: 14px !important; right: 14px !important;
    bottom: 14px !important; top: auto !important;
    margin: 0 !important; transform: none !important;
    background: transparent !important;
    padding: 0 !important;
    opacity: 1 !important; visibility: visible !important;
    display: block !important;
    pointer-events: none !important;
    z-index: 5 !important;
    text-align: left !important;
  }
  .ph-palette-section .ph-swatch .ph-text{
    display: inline-block !important;
    opacity: 1 !important; visibility: visible !important;
    color: #ffffff !important;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.1;
    text-align: left !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.65);
    float: none !important;
    justify-self: start !important;
    align-self: flex-start !important;
  }
  .ph-palette-section .ph-swatch .ph-callout:before,
  .ph-palette-section .ph-swatch .ph-callout:after{
    content: none !important;
    display: none !important;
  }
  .ph-palette-section .ph-swatch:hover .ph-callout,
  .ph-palette-section .ph-swatch:hover .ph-text{
    opacity: 1 !important; visibility: visible !important;
  }
}

/* =============================================================================
   13. HOW IT WORKS
============================================================================= */
.how { background: var(--charcoal-deep); color: var(--cream); }
.how .eyebrow { color: var(--cream); opacity: .6; }
.how .section-title { color: var(--cream); }
.how .section-sub { color: rgba(241, 236, 224, .78); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
@media (max-width: 880px) { .how-grid { grid-template-columns: 1fr; } }
.how-step { padding: 48px 40px; border-left: 1px solid rgba(241, 236, 224, .14); position: relative; }
.how-step:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 880px) {
  .how-step { border-left: 0; border-top: 1px solid rgba(241, 236, 224, .14); padding: 36px 0 36px; }
  .how-step:first-child { border-top: 0; padding-top: 0; }
}
.how-step .n { font-family: var(--serif); font-size: 42px; color: var(--sand); line-height: 1; margin-bottom: 20px; font-weight: 400; }
.how-step h3 { font-family: var(--serif); font-size: 15px; text-transform: uppercase; letter-spacing: .04em; font-weight: 400; margin: 0 0 10px; color: var(--cream); }
.how-step p { font-size: 14px; line-height: 1.6; color: rgba(241, 236, 224, .78); margin: 0; font-weight: 300; }

/* =============================================================================
   14. PROJECTS GRID
============================================================================= */
.projects { background: var(--cream); }
.proj-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 170px; gap: 14px; }
@media (max-width: 720px) { .proj-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; } }
.proj { background: #dcd6c8 center / cover no-repeat; position: relative; overflow: hidden; cursor: pointer; }
.proj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(40, 40, 38, .55)); opacity: 0; transition: opacity .35s ease; }
.proj-meta { position: absolute; left: 18px; bottom: 18px; color: var(--cream); z-index: 2; opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }

/* Hover effects only on devices that actually have a pointer (skip touch) */
@media (hover: hover) {
  .proj:hover::after { opacity: 1; }
  .proj:hover .proj-meta { opacity: 1; transform: translateY(0); }
}
/* On touch devices, always show the meta + overlay so the info isn't hidden */
@media (hover: none) {
  .proj::after { opacity: 1; }
  .proj-meta { opacity: 1; transform: translateY(0); }
}
.proj-meta .cat { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; opacity: .85; margin-bottom: 4px; }
.proj-meta .ttl { font-family: var(--serif); font-size: 18px; text-transform: uppercase; letter-spacing: .02em; }
.proj.p1 { grid-column: span 6; grid-row: span 2; }
.proj.p2 { grid-column: span 6; grid-row: span 1; }
.proj.p3 { grid-column: span 3; grid-row: span 1; }
.proj.p4 { grid-column: span 3; grid-row: span 1; }
@media (max-width: 720px) {
  .proj.p1, .proj.p2, .proj.p3, .proj.p4 { grid-column: 1 !important; grid-row: auto !important; }
}

/* =============================================================================
   15. TESTIMONIALS / VOICES
============================================================================= */
.voices { background: var(--cream-2); border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 880px) { .voice-grid { grid-template-columns: 1fr; gap: 32px; } }
.voice { padding: 36px; background: var(--cream); border: 1px solid var(--stroke); }
.voice .stars { display: flex; gap: 3px; color: var(--sand); margin-bottom: 18px; }
.voice .quote { font-family: var(--serif); font-size: 20px; line-height: 1.4; color: var(--charcoal-deep); letter-spacing: .01em; margin: 0 0 24px; font-weight: 400; }
.voice .who { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.voice .who strong { color: var(--charcoal-deep); font-weight: 500; display: block; margin-bottom: 2px; }

/* =============================================================================
   16. FAQ
============================================================================= */
.faq { background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; }
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; gap: 36px; } }
.faq-list { border-top: 1px solid var(--stroke); }
details.faq-item { border-bottom: 1px solid var(--stroke); padding: 24px 0; }
details.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 24px;
  font-family: var(--serif); font-size: 14px; color: var(--charcoal-deep);
  text-transform: uppercase; letter-spacing: .04em; font-weight: 400;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item .plus { width: 16px; height: 16px; position: relative; flex-shrink: 0; }
details.faq-item .plus::before, details.faq-item .plus::after { content: ""; position: absolute; background: var(--charcoal-deep); transition: transform .25s ease; }
details.faq-item .plus::before { left: 0; right: 0; top: 50%; height: 1px; transform: translateY(-50%); }
details.faq-item .plus::after  { top: 0; bottom: 0; left: 50%; width: 1px; transform: translateX(-50%); }
details[open].faq-item .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
details.faq-item .ans { margin-top: 14px; font-size: 14px; line-height: 1.65; color: var(--text); max-width: 600px; font-weight: 300; }

/* =============================================================================
   17. BIG / BOTTOM CTA SECTIONS
============================================================================= */
.big-cta {
  background:
    linear-gradient(180deg, rgba(40, 40, 38, .45), rgba(40, 40, 38, .62)),
    url('/wp-content/uploads/2026/02/home_bottom_banner.webp') center / cover no-repeat,
    var(--charcoal);
  color: var(--cream); text-align: center; padding: 140px 24px;
}
.big-cta h2 { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 40px); margin: 0 0 18px; text-transform: uppercase; letter-spacing: .02em; font-weight: 400; line-height: 1.06; }
.big-cta p { max-width: 540px; margin: 0 auto 32px; opacity: .88; font-size: 17px; font-weight: 200; }
.big-cta .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.bottom-cta {
  background:
    linear-gradient(180deg, rgba(40, 40, 38, .40), rgba(40, 40, 38, .62)),
    url('/wp-content/uploads/2026/02/designed_nature.webp') center / cover no-repeat,
    var(--charcoal);
  color: var(--cream); text-align: center; padding: 140px 24px;
}
.bottom-cta h2 { font-family: var(--serif); font-size: clamp(38px, 4.8vw, 64px); margin: 0 0 18px; text-transform: uppercase; letter-spacing: .02em; font-weight: 400; line-height: 1.05; }
.bottom-cta p { max-width: 520px; margin: 0 auto 32px; opacity: .88; font-size: 17px; font-weight: 200; }
.bottom-cta .links { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.bottom-cta a { color: var(--cream); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; padding: 8px 0; border-bottom: 1px solid rgba(241, 236, 224, .45); transition: border-color .2s; }
.bottom-cta a:hover { border-color: var(--cream); }

/* Products archive CTA band */
.band { background: var(--terracotta); color: var(--paper); padding: clamp(72px, 10vw, 140px) 0; text-align: center; }
.band h2 { color: var(--paper); max-width: 18ch; margin: 14px auto 0; }
.band p { color: rgba(241, 237, 226, .88); max-width: 48ch; margin: 24px auto 32px; font-size: 15px; line-height: 1.8; }

/* =============================================================================
   18. STICKY FLOAT CTA
============================================================================= */
.float-cta {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  background: var(--charcoal-deep); color: var(--cream);
  padding: 14px 22px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--charcoal-deep);
  box-shadow: 0 12px 28px -10px rgba(40, 40, 38, .45);
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .35s ease, transform .35s ease, background .25s ease, color .25s ease;
}
.float-cta.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.float-cta:hover { background: var(--cream); color: var(--charcoal-deep); }
.float-cta svg { width: 12px; height: 12px; stroke-width: 1.8; }
@media (max-width: 480px) { .float-cta { right: 16px; bottom: 16px; padding: 12px 18px; font-size: 10px; } }

/* =============================================================================
   19. FOOTER
============================================================================= */
footer.site-footer { background: var(--charcoal-deep); color: var(--cream); padding: 84px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 56px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(241, 236, 224, .14);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; margin: 0 0 20px; font-weight: 600; color: var(--cream); }
.footer-grid a { display: block; color: rgba(241, 236, 224, .72); padding: 5px 0; font-size: 14px; font-weight: 300; transition: color .2s; }
.footer-grid a:hover { color: var(--cream); }
.footer-tagline { font-size: 13px; line-height: 1.65; opacity: .65; margin-top: 20px; max-width: 280px; font-weight: 300; }
.footer-logo { height: 34px; width: auto; margin-bottom: 12px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .5; flex-wrap: wrap; gap: 12px; font-weight: 400; }
.footer-social { display: flex; gap: 14px; margin-top: 14px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(241, 236, 224, .28); transition: border-color .2s, background .2s; padding: 0; }
.footer-social a:hover { border-color: var(--cream); background: rgba(241, 236, 224, .06); }
.footer-brand .footer-catalogue-link {
  display: inline-block; margin-top: 18px; padding: 0;
  color: rgba(241, 236, 224, .72); font-size: 13px; font-weight: 300; letter-spacing: normal;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(241, 236, 224, .32);
  transition: color .2s, text-decoration-color .2s;
}
.footer-brand .footer-catalogue-link:hover { color: var(--cream); text-decoration-color: var(--cream); }

/* Footer Quick Links — remove default bullets */
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin: 0; }

/* Footer contact lists (Cape Town / Gqeberha) */
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
  font-size: 13px;
  color: rgba(241, 236, 224, .72);
  line-height: 1.55;
  font-weight: 300;
}
.footer-contact-list li svg { flex: 0 0 14px; width: 14px; height: 14px; margin-top: 3px; opacity: .6; }
.footer-contact-list a { display: inline; padding: 0; font-size: 13px; }
.footer-contact-list a:hover { color: var(--cream); }

/* Mobile — centre footer content */
@media (max-width: 560px) {
  .footer-grid { text-align: center; }
  .footer-col { display: flex; flex-direction: column; align-items: center; }
  .footer-tagline { margin-left: auto; margin-right: auto; }
  .footer-social { justify-content: center; }
  .footer-nav { width: 100%; }
  .footer-contact-list { width: 100%; }
  .footer-contact-list li { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* Product archive footer (similar but using --paper and --charcoal tokens) */
.footer-alt { background: var(--charcoal); color: rgba(241, 237, 226, .78); padding: 80px 0 32px; }
.footer-alt .footer-grid { border-color: rgba(241, 237, 226, .18); }
.footer-alt h5 { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: rgba(241, 237, 226, .6); margin-bottom: 18px; font-weight: 500; }
.footer-alt ul { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0; }
.footer-alt ul a { font-size: 13px; color: rgba(241, 237, 226, .85); }
.footer-alt ul a:hover { color: var(--terracotta); }
.footer-alt .footer-brand { display: flex; flex-direction: column; gap: 18px; max-width: 36ch; color: var(--paper); }
.footer-alt .footer-brand p { font-size: 13px; line-height: 1.7; color: rgba(241, 237, 226, .7); }
.footer-alt .footer-bottom { border-color: rgba(241, 237, 226, .18); color: rgba(241, 237, 226, .55); }

/* Logo mark (text-based for ranges/quote pages) */
.logo-mark { display: inline-flex; align-items: center; gap: 14px; }
.logo-monogram {
  width: 36px; height: 42px; border: 1.2px solid currentColor; border-radius: 1px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 14px; font-weight: 400; color: currentColor;
}
.logo-monogram::after { content: "PH"; letter-spacing: .5px; }
.logo-words { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.logo-words .name { font-family: var(--serif); font-size: 22px; letter-spacing: .18em; color: currentColor; }
.logo-words .tag { font-family: var(--sans); font-size: 9px; letter-spacing: .18em; color: currentColor; opacity: .85; font-weight: 400; text-transform: uppercase; }

/* =============================================================================
   20. CONTACT PAGE — QUOTE FORM
============================================================================= */
.quote { background: var(--cream); padding: 96px 0; }
@media (max-width: 720px) { .quote { padding: 64px 0; } }
.quote-inner { max-width: 760px; margin: 0 auto; }
.quote .section-head { margin-bottom: 40px; }
.quote .section-title { font-size: clamp(26px, 2.8vw, 36px); margin-bottom: 12px; }
.quote .section-sub { font-size: 15px; }

.quote-form { background: #FBF8F0; border: 1px solid var(--stroke-2); padding: 48px 56px; }
@media (max-width: 720px) { .quote-form { padding: 32px 24px; } }

/* No section dividers — the numbered headers (01/02/03) already separate
   the groups visually. The submit-row's top border is the only divider. */
.form-section { padding: 0; margin-bottom: 44px; }
.form-section:last-of-type,
.form-section:has(+ .submit-row),
.form-section:last-child { margin-bottom: 0; }
.form-section-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.form-section-num { font-family: var(--serif); font-size: 14px; color: var(--sand); font-weight: 400; letter-spacing: .04em; }
.form-section-label { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--charcoal-deep); font-weight: 500; }

.range-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 720px) { .range-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.range-tile {
  position: relative; cursor: pointer; overflow: hidden;
  aspect-ratio: 4/3; background: #eae3d3 center / cover no-repeat;
  transition: transform .35s ease;
}
.range-tile:hover:not(.is-disabled) { transform: translateY(-2px); }
.range-tile input { position: absolute; opacity: 0; pointer-events: none; }
.range-tile .label { position: absolute; left: 12px; bottom: 10px; right: 12px; font-size: 11px; letter-spacing: .20em; text-transform: uppercase; color: #fff; font-weight: 500; text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }
.range-tile .check { position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.85); transition: opacity .25s ease, transform .25s ease; }
.range-tile .check svg { width: 9px; height: 9px; color: var(--charcoal-deep); }
.range-tile input:checked ~ .check { opacity: 1; transform: scale(1); }
.range-tile input:checked ~ .overlay { background: linear-gradient(180deg, rgba(60, 55, 45, .18) 0%, rgba(60, 55, 45, .55) 100%); }
.range-tile.is-selected { box-shadow: inset 0 0 0 2px var(--cream), inset 0 0 0 3px var(--charcoal-deep); }
.range-tile .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 40, 40, 0) 30%, rgba(40, 40, 40, .55) 100%); pointer-events: none; transition: background .25s ease; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 16px; }
.field-row:last-child { margin-bottom: 0; }
.field-row.single { grid-template-columns: 1fr; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; } }
.field { position: relative; display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 9px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans);
  font-size: 14px; color: var(--charcoal-deep); font-weight: 300;
  padding: 9px 0; border: 0; border-bottom: 1px solid var(--stroke-2);
  background: transparent; outline: none; transition: border-color .2s ease;
  border-radius: 0; -webkit-appearance: none; appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: #bdb8ad; font-weight: 300; }
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><path d='M2.5 4L5 6.5L7.5 4' stroke='%236B6A68' stroke-width='1' fill='none'/></svg>");
  background-repeat: no-repeat; background-position: right 0 center; background-size: 10px 10px;
  padding-right: 18px; cursor: pointer; background-color: transparent;
}
.field textarea { resize: vertical; min-height: 72px; padding: 9px 0; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--charcoal); }

/* Error state */
.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: #c0392b; }
.field .error-msg { font-size: 10px; color: #c0392b; letter-spacing: .08em; margin-top: 3px; display: none; }
.field.has-error .error-msg { display: block; }

.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 44px; flex-wrap: wrap; padding-top: 0; }
.legal { font-size: 11px; color: var(--muted); max-width: 360px; line-height: 1.5; font-weight: 300; }
.submit { display: inline-flex; align-items: center; gap: 10px; background: var(--charcoal-deep); color: var(--cream); font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; padding: 16px 40px; border: 2px solid var(--charcoal-deep); cursor: pointer; box-shadow: 0 8px 22px -10px rgba(40, 40, 38, .55); transition: background .25s ease, color .25s ease, border-color .25s ease, transform .2s ease, box-shadow .25s ease; }
.submit:hover { background: var(--sand); color: var(--charcoal-deep); border-color: var(--sand); transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(40, 40, 38, .6); }
.submit:disabled { opacity: .5; cursor: not-allowed; }
.form-success { display: none; text-align: center; padding: 48px 24px; }
.form-success.show { display: block; animation: fadeUp .6s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.form-success h3 { font-family: var(--serif); font-size: 28px; color: var(--charcoal-deep); text-transform: uppercase; margin: 0 0 12px; letter-spacing: .04em; }
.form-success p { font-size: 15px; color: var(--text); font-weight: 300; }

/* =============================================================================
   21. CONTACT PAGE — LOCATIONS
============================================================================= */
.locations { background: var(--cream); border-top: 1px solid var(--stroke); padding-top: 120px; }
.loc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--stroke); border: 1px solid var(--stroke); }
@media (max-width: 880px) { .loc-grid { grid-template-columns: 1fr; } }
.loc-card { background: var(--cream); padding: 48px 40px 44px; display: flex; flex-direction: column; position: relative; transition: background .35s ease; }
.loc-card:hover { background: #FAF6EC; }
.loc-name { font-family: var(--serif); font-size: 36px; line-height: 1.05; color: var(--charcoal-deep); margin: 0 0 8px; text-transform: uppercase; letter-spacing: .02em; font-weight: 400; }
.loc-region { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; font-weight: 500; }
.loc-body { display: flex; flex-direction: column; gap: 22px; flex: 1; margin-bottom: 32px; }
.loc-item { font-size: 14px; line-height: 1.55; color: var(--text); font-weight: 300; }
.loc-item .k { display: block; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.loc-item .v { color: var(--charcoal-deep); font-weight: 400; }
.loc-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--charcoal-deep); align-self: flex-start; font-weight: 500; padding-bottom: 5px; border-bottom: 1px solid var(--charcoal-deep); transition: gap .25s ease; cursor: pointer; background: transparent; border-left: 0; border-right: 0; border-top: 0; }
.loc-cta:hover { gap: 11px; }
.loc-cta svg { width: 9px; height: 9px; stroke-width: 1.8; }

/* =============================================================================
   22. CONTACT PAGE — MAP STRIP
============================================================================= */
.map-strip { padding: 0; background: var(--cream); }
.map-strip-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
@media (max-width: 880px) { .map-strip-inner { grid-template-columns: 1fr; } }
.map-meta { padding: 72px 56px; background: var(--cream); display: flex; flex-direction: column; justify-content: center; }
.map-meta .eyebrow { margin-bottom: 14px; }
.map-meta h3 { font-family: var(--serif); font-size: 32px; margin: 0 0 18px; text-transform: uppercase; letter-spacing: .02em; font-weight: 400; color: var(--charcoal-deep); }
.map-meta p { color: var(--text); margin: 0 0 24px; font-size: 15px; line-height: 1.65; font-weight: 300; max-width: 380px; }
.branch-tabs { display: flex; gap: 0; flex-wrap: wrap; margin-top: 8px; border: 1px solid var(--stroke-2); }
.branch-tab { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; padding: 14px 22px; border: 0; border-right: 1px solid var(--stroke-2); color: var(--charcoal); background: transparent; cursor: pointer; transition: all .25s ease; font-weight: 500; flex: 1; }
.branch-tab:last-child { border-right: 0; }
.branch-tab.active { background: var(--charcoal-deep); color: var(--cream); }
.branch-tab:hover:not(.active) { background: rgba(107, 106, 104, .08); }
.map-frame { min-height: 440px; background: #dcd6c8; position: relative; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; min-height: 440px; filter: grayscale(.25) contrast(1.02); }

/* =============================================================================
   23. PRODUCTS ARCHIVE (archive-products.php)
============================================================================= */

/* Two-column layout: filter sidebar (left) + product grid (right) */
.ph-archive-body { background: var(--cream); padding: 80px 0 96px; }
.ph-archive-body > .container {
  max-width: 1240px; margin: 0 auto; padding: 0 40px;
}
@media (max-width: 720px) {
  .ph-archive-body { padding: 56px 0 80px; }
  .ph-archive-body > .container { padding: 0 22px; }
}

.ph-archive-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 980px) {
  .ph-archive-layout { grid-template-columns: 1fr; gap: 36px; }
}

/* Sidebar — sticky on desktop, static on small screens */
.ph-sidebar { position: sticky; top: 110px; align-self: start; }
@media (max-width: 980px) {
  .ph-sidebar { position: static; }
}

/* Filter meta sits at the top of the sidebar as a row (count vs clear-all) */
.ph-sidebar .ph-filters > .ph-filter-meta {
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--stroke);
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--charcoal); font-weight: 500;
}

/* Filter groups stack vertically in sidebar context */
.ph-sidebar .ph-filters { gap: 28px; }
.ph-sidebar .ph-fgroup {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.ph-sidebar .ph-fgroup-label { min-width: 0; }

/* Main product column */
.ph-main { min-width: 0; }
.ph-main .ph-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (min-width: 1180px) {
  .ph-main .ph-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .ph-main .ph-grid { grid-template-columns: 1fr; }
}

/* Pagination sits inside .ph-main now */
.ph-main .ph-pagination { max-width: none; margin-top: 56px; padding-top: 36px; }

/* === Legacy top-rail styles below — no longer used by archive-products.php
   but kept in case anything else references them. === */
.ph-rail {
  position: sticky; top: 0; z-index: 50;
  background: var(--ivory); border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); padding: 18px 0;
}

/* Pagination on the products archive */
.ph-pagination {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  margin: 64px auto 0;
  padding: 48px 0 0;
  border-top: 1px solid var(--stroke);
  max-width: 1240px;
}
.ph-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px;
  padding: 0 14px;
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--charcoal); border: 1px solid var(--stroke); background: transparent;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.ph-pagination .page-numbers:hover { border-color: var(--charcoal-deep); color: var(--charcoal-deep); }
.ph-pagination .page-numbers.current { background: var(--charcoal-deep); border-color: var(--charcoal-deep); color: var(--cream); }
.ph-pagination .page-numbers.dots { border: 0; }
.ph-rail-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; max-width: 1240px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .ph-rail-inner { padding: 0 22px; gap: 18px; } }

/* Filters now stack into labelled groups */
.ph-filters { display: flex; flex-direction: column; gap: 14px; flex: 1 1 auto; }
.ph-fgroup { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ph-fgroup-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
  min-width: 56px;
}
.ph-fgroup-pills { display: flex; gap: 6px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .ph-fgroup { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ph-fgroup-label { min-width: 0; }
}

.ph-f { padding: 9px 18px; font-family: var(--sans); font-weight: 500; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--charcoal); border: 1px solid var(--line); transition: all .3s; background: transparent; cursor: pointer; }
.ph-f:hover { border-color: var(--ink); color: var(--ink); }
.ph-f.active,
.ph-f.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Filter meta — count + clear-all */
.ph-filter-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.ph-clear-filters {
  background: none;
  border: 0;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--charcoal-deep);
  border-bottom: 1px solid currentColor;
  padding: 2px 0;
  cursor: pointer;
  transition: opacity .2s;
}
.ph-clear-filters:hover { opacity: .55; }
.ph-clear-filters[hidden] { display: none; }
@media (max-width: 720px) {
  .ph-filter-meta { flex-direction: row; align-items: center; gap: 16px; align-self: flex-start; }
}
.ph-sort { display: flex; align-items: center; gap: 10px; color: var(--charcoal); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.ph-sort select { font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 6px 4px; font-size: 11px; text-transform: uppercase; font-weight: 500; letter-spacing: .18em; cursor: pointer; }

.ph-cat { padding: 64px var(--gutter) 120px; }
.ph-section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin: 48px 0 32px; }
.ph-section-head h2 { margin-top: 8px; }
.ph-section-head .meta { color: var(--charcoal); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }

.ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 40px); }
@media (max-width: 980px) { .ph-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ph-grid { grid-template-columns: 1fr; } }

.ph-tile { background: var(--paper); border: 1px solid var(--line-soft); display: flex; flex-direction: column; transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s; }
.ph-tile:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -30px rgba(58, 57, 55, .25); }
.ph-tile .ph-img { aspect-ratio: 5/4; overflow: hidden; background: #fff; position: relative; }
.ph-tile .ph-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.ph-tile:hover .ph-img img { transform: scale(1.05); }
.ph-tile .ph-badge { position: absolute; top: 14px; left: 14px; background: rgba(241, 237, 226, .94); padding: 6px 12px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); font-weight: 500; }
.ph-tile .ph-body { padding: 24px 26px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ph-tile h3 { font-family: var(--serif); font-weight: 400; font-size: 20px; letter-spacing: .01em; line-height: 1.2; }
.ph-tile .ph-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ph-tile .ph-spec { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--charcoal); padding: 5px 10px; border: 1px solid var(--line); font-weight: 500; }
.ph-tile .ph-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding: 18px 26px; border-top: 1px solid var(--line-soft); }
.ph-tile .ph-quote-link { font-family: var(--sans); font-weight: 700; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 3px; transition: color .3s, border-color .3s; }
.ph-tile .ph-quote-link:hover { color: var(--terracotta); border-color: var(--terracotta); }
.ph-tile .ph-type { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--charcoal); font-weight: 500; }

.ph-empty { text-align: center; padding: 80px 20px; color: var(--charcoal); grid-column: 1 / -1; }
.ph-empty h3 { font-family: var(--serif); font-size: 28px; color: var(--ink); margin-bottom: 8px; }

.ph-loading { text-align: center; padding: 60px 20px; grid-column: 1 / -1; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--charcoal); font-weight: 500; }

/* =============================================================================
   24. SINGLE PRODUCT (single-products.php)
============================================================================= */
.ph-product-hero { background: var(--cream); padding-top: 110px; }
.ph-product-hero .container { padding-top: 20px; padding-bottom: 20px; }

.ph-crumb {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--charcoal); font-weight: 500;
}
.ph-crumb a {
  color: var(--charcoal); text-decoration: none;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color .2s, color .2s;
}
.ph-crumb a:hover { color: var(--charcoal-deep); border-color: currentColor; }
.ph-crumb [aria-current="page"] { color: var(--charcoal-deep); }
.ph-crumb span[aria-hidden] { margin: 0 6px; opacity: .5; }

.ph-product-body { background: var(--cream); padding: 32px 0 96px; }

.ph-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
@media (max-width: 960px) {
  .ph-product-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Gallery ─────────────────────────────────────────────────────────────── */
.ph-gallery { position: relative; }
@media (min-width: 1100px) {
  .ph-gallery { position: sticky; top: 110px; }
}
.ph-main-img-wrap {
  aspect-ratio: 1/1;
  background: #fff;
  border: 1px solid var(--stroke);
  overflow: hidden;
  margin-bottom: 14px;
}
.ph-main-img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.ph-main-img-wrap:hover .ph-main-img { transform: scale(1.03); }

.ph-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
}
.ph-thumb {
  aspect-ratio: 1/1;
  background: #fff;
  border: 1px solid var(--stroke);
  padding: 0; cursor: pointer; overflow: hidden;
  transition: border-color .2s, opacity .2s;
}
.ph-thumb:hover { border-color: var(--charcoal); }
.ph-thumb.active { border-color: var(--charcoal-deep); }
.ph-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }

.ph-no-img {
  aspect-ratio: 1/1;
  background: #fff;
  border: 1px solid var(--stroke);
}

/* ── Product info column ─────────────────────────────────────────────────── */
.ph-product-info { padding: 8px 0; }

.ph-product-type {
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; margin: 0 0 14px;
}

.ph-product-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15; letter-spacing: .01em;
  color: var(--charcoal-deep);
  margin: 0 0 20px;
}

/* Badge row */
.ph-badges {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 28px; padding-bottom: 28px;
  border-bottom: 1px solid var(--stroke);
}
.ph-badge-pill {
  display: inline-flex; align-items: center;
  padding: 7px 14px;
  font-family: var(--sans);
  font-size: 10px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--charcoal);
  background: var(--cream-3);
  border: 1px solid var(--stroke);
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.ph-badge-pill:hover {
  border-color: var(--charcoal-deep);
  color: var(--charcoal-deep);
  background: transparent;
}

/* Spec list (dl) */
.ph-spec-list { margin: 0 0 28px; padding: 0; }
.ph-spec-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--stroke);
}
.ph-spec-row:first-child { padding-top: 0; }
.ph-spec-row dt {
  font-family: var(--sans);
  font-size: 10px; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
  margin: 0;
}
.ph-spec-row dd {
  margin: 0;
  font-size: 14px; line-height: 1.65;
  color: var(--charcoal-deep); font-weight: 300;
}
@media (max-width: 560px) {
  .ph-spec-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 0; }
  .ph-spec-row dt { padding-top: 0; }
}

/* Product description */
.ph-product-desc {
  font-size: 14px; line-height: 1.7;
  color: var(--text); font-weight: 300;
  margin: 0 0 32px;
}
.ph-product-desc p { margin: 0 0 12px; }
.ph-product-desc p:last-child { margin-bottom: 0; }

/* CTA row */
.ph-product-actions {
  display: flex; align-items: center; gap: 24px;
  margin: 32px 0 28px; flex-wrap: wrap;
}
.ph-sample-link {
  font-family: var(--sans);
  font-size: 11px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--charcoal-deep);
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  text-decoration: none;
  transition: opacity .2s;
}
.ph-sample-link:hover { opacity: .55; }

/* Trust row */
.ph-trust-row {
  display: flex; align-items: center; gap: 14px;
  padding-top: 24px; border-top: 1px solid var(--stroke);
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
  flex-wrap: wrap;
}
.ph-trust-row .dot {
  width: 3px; height: 3px;
  background: currentColor; border-radius: 50%; opacity: .6;
}

/* ── Related products section ────────────────────────────────────────────── */
.ph-related { background: var(--cream-3); padding: 96px 0; border-top: 1px solid var(--stroke); }
.ph-related .section-head-row { margin-bottom: 48px; }
.ph-related .ph-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .ph-related .ph-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ph-related .ph-grid { grid-template-columns: 1fr; } }

/* =============================================================================
   25. TAXONOMY ARCHIVE (product_type)
============================================================================= */
.tax-hero {
  padding: 160px var(--gutter) 80px;
  background: var(--charcoal-deep); color: var(--cream);
  position: relative; overflow: hidden;
}
.tax-hero::after { content: ""; position: absolute; inset: 0; opacity: .2; background: var(--charcoal); }
.tax-hero > * { position: relative; z-index: 1; }
.tax-hero .crumb { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(241, 236, 224, .6); font-weight: 500; margin-bottom: 24px; }
.tax-hero h1 { font-family: var(--serif); font-size: clamp(40px, 6vw, 72px); text-transform: uppercase; font-weight: 400; letter-spacing: .02em; line-height: 1.05; color: var(--cream); margin: 0 0 20px; }
.tax-hero p { font-size: 16px; line-height: 1.7; color: rgba(241, 236, 224, .78); font-weight: 300; max-width: 52ch; }

/* =============================================================================
   26. MULTI-STEP QUOTE PAGE (page-quote.php)
============================================================================= */
.quote-shell { display: grid; grid-template-columns: 1fr 1.4fr; min-height: 100vh; padding-top: 62px; }
@media (max-width: 980px) { .quote-shell { grid-template-columns: 1fr; } }

.quote-aside {
  background: var(--terracotta); color: var(--paper);
  padding: clamp(56px, 7vw, 96px) var(--gutter); position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh;
}
@media (max-width: 980px) { .quote-aside { min-height: auto; } }
.quote-aside .crumb { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: rgba(241, 237, 226, .7); margin-bottom: 32px; font-weight: 500; }
.quote-aside h1 { color: var(--paper); max-width: 14ch; line-height: 1.05; }
.quote-aside .lede { margin-top: 24px; font-size: 15px; line-height: 1.85; color: rgba(241, 237, 226, .92); max-width: 42ch; text-align: justify; }
.quote-aside .stack-mark { position: absolute; right: -30px; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-size: 160px; letter-spacing: .32em; color: rgba(241, 237, 226, .07); writing-mode: vertical-rl; line-height: 1; pointer-events: none; }
.quote-aside-foot { margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(241, 237, 226, .28); }
.quote-aside-foot h5 { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: rgba(241, 237, 226, .7); font-weight: 500; margin-bottom: 14px; }
.contact-row { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: rgba(241, 237, 226, .92); }
.contact-row strong { color: var(--paper); font-weight: 500; display: block; margin-bottom: 6px; }

.quote-form-wrap { padding: clamp(56px, 7vw, 96px) var(--gutter); background: var(--ivory); }
.steps-rail { display: flex; gap: 8px; margin-bottom: 48px; }
.steps-rail .rail-seg { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.steps-rail .rail-seg::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--terracotta); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.steps-rail .rail-seg.done::after, .steps-rail .rail-seg.active::after { width: 100%; }

.step-pane { display: none; }
.step-pane.active { display: block; animation: in .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.step-pane h2 { margin-top: 14px; max-width: 18ch; }
.step-pane .help { font-size: 15px; line-height: 1.85; color: var(--charcoal); max-width: 48ch; margin-top: 14px; text-align: justify; }

.qs-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 36px; }
@media (max-width: 680px) { .qs-fields { grid-template-columns: 1fr; } }
.qs-field { display: flex; flex-direction: column; gap: 8px; }
.qs-field.full { grid-column: 1 / -1; }
.qs-field label { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--charcoal); font-weight: 500; }
.qs-field input, .qs-field textarea, .qs-field select { font: inherit; font-size: 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 14px 16px; transition: border-color .3s, box-shadow .3s; }
.qs-field input:focus, .qs-field textarea:focus, .qs-field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(58, 57, 55, .06); }
.qs-field textarea { min-height: 140px; resize: vertical; font-family: var(--serif); font-size: 18px; line-height: 1.55; }

.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
@media (max-width: 680px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { background: var(--paper); border: 1px solid var(--line); padding: 24px 22px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 8px; transition: all .3s; }
.choice:hover { border-color: var(--ink); transform: translateY(-2px); }
.choice.active { border-color: var(--terracotta); box-shadow: 0 0 0 1px var(--terracotta); }
.choice .ico { width: 34px; height: 42px; border: 1.2px solid var(--charcoal); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.choice.active .ico { border-color: var(--terracotta); color: var(--terracotta); }
.choice h4 { font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: .01em; color: var(--ink); }
.choice p { font-size: 13px; color: var(--charcoal); line-height: 1.65; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { padding: 9px 16px; border: 1px solid var(--line); font-family: var(--sans); font-weight: 500; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--charcoal); cursor: pointer; transition: all .3s; background: transparent; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.slider-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin-top: 24px; }
.slider-row input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: var(--line); outline: none; }
.slider-row input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; background: var(--terracotta); cursor: pointer; border: 2px solid var(--paper); box-shadow: 0 4px 12px rgba(182, 165, 141, .5); transition: transform .2s; }
.slider-row input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); }
.slider-row input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; background: var(--terracotta); cursor: pointer; border: 2px solid var(--paper); }
.slider-val { font-family: var(--serif); font-size: 42px; color: var(--ink); min-width: 160px; text-align: right; letter-spacing: .01em; line-height: 1; }
.slider-val span { font-family: var(--sans); font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--charcoal); display: block; margin-top: 4px; font-weight: 500; }

.step-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); gap: 16px; flex-wrap: wrap; }
.step-meta { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--charcoal); font-weight: 500; }

.qs-summary { background: var(--paper); border: 1px solid var(--line); padding: 28px 32px; margin-top: 32px; }
.qs-summary h4 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin-bottom: 16px; letter-spacing: .01em; color: var(--ink); }
.qs-summary dl { display: grid; grid-template-columns: 1fr 2fr; gap: 14px 24px; }
.qs-summary dt { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--charcoal); font-weight: 500; align-self: start; padding-top: 4px; }
.qs-summary dd { font-size: 15px; color: var(--ink); line-height: 1.55; }
.qs-summary dd em { color: var(--terracotta); font-style: italic; }

.done-pane { display: none; text-align: center; padding: 60px 0; }
.done-pane.show { display: block; animation: in .8s cubic-bezier(.2, .8, .2, 1); }
.done-pane .check { width: 84px; height: 84px; margin: 0 auto 32px; background: var(--terracotta); color: var(--paper); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 42px; font-weight: 400; }

/* =============================================================================
   27. REVEAL ANIMATION (intersection observer)
============================================================================= */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1s cubic-bezier(.2, .8, .2, 1), transform 1s cubic-bezier(.2, .8, .2, 1); }
[data-reveal].in { opacity: 1; transform: none; }

/* =============================================================================
   28. ACCESSIBILITY
============================================================================= */
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }


/* =============================================================================
   PROJECTS (v2) — homepage feature tiles, overview archive, detail page.
   Added June 2026 per client feedback (doc points 3 & 5). Namespaced so the
   rest of the theme's design is untouched.
============================================================================= */

/* ── Homepage "Recent installations" — extends existing .proj ── */
.proj { display: block; color: inherit; text-decoration: none; }
.proj-meta .loc { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; opacity: .8; font-weight: 400; margin-top: 6px; }
.proj.is-soon { background: var(--cream-2); cursor: default; border: 1px solid var(--stroke); }
.proj.is-soon::after { display: none; }
.proj.is-soon .soon-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px; color: var(--charcoal); gap: 6px;
}
.proj.is-soon .soon-inner .tag { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--sand); font-weight: 500; }
.proj.is-soon .soon-inner .label { font-family: var(--serif); font-size: 18px; text-transform: uppercase; letter-spacing: .04em; color: var(--charcoal-deep); font-weight: 400; }
.proj.is-soon .soon-inner .sub { font-size: 12px; letter-spacing: .04em; color: var(--muted); max-width: 200px; line-height: 1.4; }

/* ── Projects overview archive (/projects/) ── */
.ph-parch { padding: 90px 0 110px; background: var(--cream); }
@media (max-width: 720px) { .ph-parch { padding: 60px 0 80px; } }
.ph-parch-intro { text-align: center; max-width: 640px; margin: 0 auto 56px; display: flex; flex-direction: column; align-items: center; }
.ph-parch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .ph-parch-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ph-parch-grid { grid-template-columns: 1fr; } }
.ph-parch-card {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 3; background: #dcd6c8 center / cover no-repeat;
  color: var(--cream); text-decoration: none;
}
.ph-parch-card .img { position: absolute; inset: 0; background-position: center; background-size: cover; background-repeat: no-repeat; transition: transform 1s ease; }
.ph-parch-card:hover .img { transform: scale(1.05); }
.ph-parch-card .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40,40,38,0) 30%, rgba(40,40,38,.72) 100%); }
.ph-parch-card .meta { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; }
.ph-parch-card .meta .cat { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; opacity: .85; margin-bottom: 6px; }
.ph-parch-card .meta .ttl { font-family: var(--serif); font-size: 22px; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; }
.ph-parch-card .meta .loc { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; opacity: .85; margin-top: 6px; }
.ph-parch-card.is-soon { background: var(--cream-2); border: 1px solid var(--stroke); color: var(--charcoal); cursor: default; }
.ph-parch-card.is-soon .inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 24px; }
.ph-parch-card.is-soon .tag { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--sand); font-weight: 500; }
.ph-parch-card.is-soon .label { font-family: var(--serif); font-size: 18px; text-transform: uppercase; letter-spacing: .04em; color: var(--charcoal-deep); font-weight: 400; }
.ph-parch-card.is-soon .sub { font-size: 12px; letter-spacing: .04em; color: var(--muted); max-width: 200px; line-height: 1.4; }
.ph-parch-empty { grid-column: 1 / -1; text-align: center; padding: 80px 24px; border: 1px dashed var(--stroke-2); background: var(--cream-3); }
.ph-parch-empty h3 { font-family: var(--serif); font-size: 24px; color: var(--charcoal-deep); margin: 0 0 10px; text-transform: uppercase; letter-spacing: .04em; font-weight: 400; }
.ph-parch-empty p { font-size: 14px; color: var(--muted); margin: 0; }

/* ── Project detail — hero ── */
.ph-proj-hero { position: relative; min-height: 72vh; display: flex; align-items: flex-end; overflow: hidden; background: #5a5953 center / cover no-repeat; }
@media (max-width: 720px) { .ph-proj-hero { min-height: 60vh; } }
.ph-proj-hero-inner { position: relative; z-index: 2; color: var(--cream); width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px 72px; }
@media (max-width: 720px) { .ph-proj-hero-inner { padding: 0 22px 48px; } }
.ph-proj-crumbs { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; opacity: .8; margin-bottom: 18px; font-weight: 400; }
.ph-proj-crumbs a { border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.ph-proj-crumbs a:hover { border-color: rgba(241,236,224,.6); }
.ph-proj-crumbs .sep { margin: 0 10px; opacity: .5; }
.ph-proj-hero h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 64px); line-height: 1.05; letter-spacing: .02em; margin: 0 0 18px; text-transform: uppercase; font-weight: 400; }
.ph-proj-place { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; font-weight: 400; opacity: .9; }
.ph-proj-place svg { width: 14px; height: 14px; stroke-width: 1.6; }

/* ── Project detail — meta strip ── */
.ph-proj-meta { background: var(--cream-3); border-bottom: 1px solid var(--stroke); }
.ph-proj-meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) { .ph-proj-meta-grid { grid-template-columns: repeat(2, 1fr); } }
.ph-proj-meta-cell { padding: 34px 32px; border-right: 1px solid var(--stroke); }
.ph-proj-meta-cell:last-child { border-right: 0; }
@media (max-width: 720px) {
  .ph-proj-meta-cell { padding: 26px 22px; border-bottom: 1px solid var(--stroke); }
  .ph-proj-meta-cell:nth-child(2) { border-right: 0; }
  .ph-proj-meta-cell:nth-last-child(-n+2) { border-bottom: 0; }
}
.ph-proj-meta-k { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--charcoal); font-weight: 500; margin-bottom: 8px; }
.ph-proj-meta-v { font-family: var(--serif); font-size: 18px; letter-spacing: .02em; color: var(--charcoal-deep); font-weight: 400; line-height: 1.25; }

/* ── Project detail — story ── */
.ph-proj-story { padding: 110px 0; background: var(--cream); }
@media (max-width: 720px) { .ph-proj-story { padding: 64px 0; } }
.ph-proj-story-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
@media (max-width: 880px) { .ph-proj-story-grid { grid-template-columns: 1fr; gap: 32px; } }
.ph-proj-story h2 { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; letter-spacing: .03em; margin: 14px 0 0; color: var(--charcoal-deep); text-transform: uppercase; font-weight: 400; }
.ph-proj-story-body p { font-size: 16px; line-height: 1.75; color: var(--text); font-weight: 300; margin: 0 0 18px; }
.ph-proj-story-body p:last-child { margin-bottom: 0; }

/* ── Project detail — gallery ── */
.ph-pgal { padding: 0 0 110px; background: var(--cream); }
@media (max-width: 720px) { .ph-pgal { padding-bottom: 64px; } }
.ph-pgal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.ph-pgal-head h3 { font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); letter-spacing: .04em; margin: 0; text-transform: uppercase; color: var(--charcoal-deep); font-weight: 400; }
.ph-pgal-head .hint { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.ph-pgal-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 220px; gap: 14px; }
@media (max-width: 880px) { .ph-pgal-grid { grid-auto-rows: 180px; } }
@media (max-width: 720px) { .ph-pgal-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; gap: 10px; } }
.ph-pgal-tile { position: relative; overflow: hidden; background: #dcd6c8 center / cover no-repeat; cursor: zoom-in; display: block; }
.ph-pgal-tile::after { content: ""; position: absolute; inset: 0; background: rgba(40,40,38,.08); opacity: 0; transition: opacity .35s ease; }
.ph-pgal-tile:hover::after { opacity: 1; }
.ph-pgal-zoom { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; background: rgba(241,236,224,.92); display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.9); transition: opacity .35s ease, transform .35s ease; color: var(--charcoal-deep); z-index: 2; }
.ph-pgal-tile:hover .ph-pgal-zoom { opacity: 1; transform: scale(1); }
.ph-pgal-zoom svg { width: 14px; height: 14px; stroke-width: 1.8; }
.ph-pgal-g1 { grid-column: span 7; grid-row: span 2; }
.ph-pgal-g2 { grid-column: span 5; grid-row: span 1; }
.ph-pgal-g3 { grid-column: span 5; grid-row: span 1; }
.ph-pgal-g4 { grid-column: span 4; grid-row: span 1; }
.ph-pgal-g5 { grid-column: span 4; grid-row: span 1; }
.ph-pgal-g6 { grid-column: span 4; grid-row: span 1; }
@media (max-width: 720px) { .ph-pgal-grid > * { grid-column: 1 !important; grid-row: auto !important; } }

/* ── Project detail — lightbox ── */
.ph-lb { position: fixed; inset: 0; background: rgba(25,25,23,.94); z-index: 200; display: none; align-items: center; justify-content: center; padding: 48px; }
.ph-lb.is-open { display: flex; }
.ph-lb-img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.ph-lb-close, .ph-lb-prev, .ph-lb-next { position: absolute; background: rgba(241,236,224,.08); border: 1px solid rgba(241,236,224,.2); color: var(--cream); width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 50%; transition: background .2s ease, border-color .2s ease; }
.ph-lb-close:hover, .ph-lb-prev:hover, .ph-lb-next:hover { background: rgba(241,236,224,.18); border-color: rgba(241,236,224,.45); }
.ph-lb-close { top: 24px; right: 24px; }
.ph-lb-prev { top: 50%; left: 32px; transform: translateY(-50%); }
.ph-lb-next { top: 50%; right: 32px; transform: translateY(-50%); }
.ph-lb-close svg, .ph-lb-prev svg, .ph-lb-next svg { width: 18px; height: 18px; stroke-width: 1.8; }
.ph-lb-counter { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: var(--cream); font-size: 11px; letter-spacing: .32em; text-transform: uppercase; opacity: .75; font-weight: 400; }
@media (max-width: 720px) { .ph-lb { padding: 24px; } .ph-lb-prev { left: 10px; } .ph-lb-next { right: 10px; } .ph-lb-close { top: 12px; right: 12px; } }

/* ── Project detail — more installations + bottom CTA ── */
.ph-proj-related { background: var(--cream-2); border-top: 1px solid var(--stroke); padding: 90px 0; }
.ph-proj-related-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.ph-proj-related-head h3 { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px); letter-spacing: .04em; margin: 0; text-transform: uppercase; color: var(--charcoal-deep); font-weight: 400; }
.ph-proj-rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 720px) { .ph-proj-rel-grid { grid-template-columns: 1fr; } }
.ph-proj-rel-grid .ph-parch-card { min-height: 240px; }
.ph-proj-cta { background: var(--charcoal-deep); color: var(--cream); padding: 110px 24px; text-align: center; }
.ph-proj-cta h2 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; letter-spacing: .02em; margin: 0 0 14px; text-transform: uppercase; font-weight: 400; }
.ph-proj-cta p { font-size: 15px; opacity: .78; max-width: 520px; margin: 0 auto 32px; font-weight: 300; line-height: 1.6; }
.ph-proj-cta .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }


/* =============================================================================
   PRODUCT STRUCTURE (v3) — June 2026. Every product is manufactured in all 8
   tones; colour is chosen on the product page (no separate colour filter).
   Swatch row on cards + colour picker on product pages + archive "Tones" note.
============================================================================= */

/* Card swatch row (ph_product_card) */
.ph-tones-row { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-top: 12px; }
.ph-tone-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.ph-tones-row .ph-tones-note { font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--charcoal); font-weight: 500; margin-left: 4px; }

/* Archive sidebar "Tones" note */
.ph-fgroup.ph-tones-note p { font-size: 12px; line-height: 1.55; color: var(--text); font-weight: 300; margin: 0; }

/* Product page colour picker (single-products.php) */
.ph-colour-pick { padding: 22px 0 4px; }
.ph-colour-pick-label { font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--charcoal); font-weight: 500; margin-bottom: 14px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.ph-colour-pick-label .chosen { color: var(--charcoal-deep); font-weight: 600; letter-spacing: .12em; }
.ph-colour-dots { display: flex; gap: 14px; flex-wrap: wrap; }
.ph-colour-dot { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .14); cursor: pointer; padding: 0; transition: transform .2s ease, box-shadow .2s ease; }
.ph-colour-dot:hover { transform: scale(1.06); }
.ph-colour-dot.is-active { box-shadow: 0 0 0 3px var(--cream), 0 0 0 5px var(--charcoal-deep); }

/* ── Adaptive "Recent installations" grid — real projects only, no coming-soon (Round 2) ── */
.proj-grid--1 .proj { grid-column: span 12; grid-row: span 2; }
.proj-grid--2 .proj { grid-column: span 6; grid-row: span 2; }
.proj-grid--3 .proj.p1 { grid-column: span 6; grid-row: span 2; }
.proj-grid--3 .proj.p2,
.proj-grid--3 .proj.p3 { grid-column: span 6; grid-row: span 1; }

/* ── Instagram section (Round 2 #4 — Smash Balloon feed) ── */
.insta { background: var(--cream-2); }
.insta .section-head-row { margin-bottom: 40px; }

/* Related-projects grid adapts to count — no coming-soon padding (Round 2) */
.ph-proj-rel-grid--1,
.ph-proj-rel-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ── Palette carousel — tone title in the lightbox (Round 2 #6) ── */
.ph-lb-title { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); color: var(--cream); font-family: var(--serif); font-size: 17px; letter-spacing: .06em; text-transform: uppercase; opacity: .92; text-align: center; }
@media (max-width: 600px) { .ph-lb-title { font-size: 14px; top: 18px; } }

/* ── Contact-form size + colour configurator (from colleague's contact form) ── */
.cfg-hint{font-size:12.5px;color:var(--muted);font-weight:300;margin:0 0 18px;line-height:1.5}
.cfg-group{margin-bottom:24px}
.cfg-group:last-child{margin-bottom:0}
.cfg-group-title{display:block;font-size:10px;letter-spacing:.28em;text-transform:uppercase;color:var(--charcoal-deep);font-weight:600;margin-bottom:12px}
.size-chips{display:flex;gap:8px;flex-wrap:wrap}
.size-chip{position:relative;display:inline-flex;align-items:center;border:1px solid var(--stroke-2);background:transparent;padding:11px 15px;cursor:pointer;transition:border-color .2s ease,background .2s ease}
.size-chip:hover{border-color:var(--charcoal)}
.size-chip input{position:absolute;opacity:0;pointer-events:none}
.size-chip .txt{font-size:11px;letter-spacing:.1em;color:var(--charcoal-deep);font-weight:500;white-space:nowrap}
.size-chip.is-on{background:var(--charcoal-deep);border-color:var(--charcoal-deep)}
.size-chip.is-on .txt{color:var(--cream)}
.col-row{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;padding:16px 0;border-bottom:1px solid var(--stroke)}
.col-row:first-child{padding-top:0}
.col-row:last-child{border-bottom:0;padding-bottom:0}
.col-row .pname{font-size:13px;color:var(--charcoal-deep);font-weight:500;letter-spacing:.03em}
.col-row .pname small{display:block;color:var(--muted);font-weight:400;letter-spacing:.2em;text-transform:uppercase;font-size:9px;margin-top:4px}
.col-swatches{display:flex;gap:9px;flex-wrap:wrap}
.col-sw{position:relative;width:28px;height:28px;border-radius:50%;cursor:pointer;border:1px solid rgba(0,0,0,.15);box-shadow:inset 0 0 0 1px rgba(255,255,255,.25);transition:transform .18s ease}
.col-sw:hover{transform:scale(1.08)}
.col-sw.is-on{box-shadow:0 0 0 2px #FBF8F0,0 0 0 4px var(--charcoal-deep)}
.col-sw input{position:absolute;opacity:0;pointer-events:none}

/* ── Catalogue download modal (lead-capture gated download) ── */
.ph-cat-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility .25s ease; }
.ph-cat-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.ph-cat-overlay { position: absolute; inset: 0; background: rgba(40, 40, 38, .62); }
.ph-cat-panel { position: relative; z-index: 1; width: 100%; max-width: 460px; max-height: calc(100vh - 40px); overflow-y: auto; background: var(--cream); color: var(--charcoal-deep); padding: 40px 36px 30px; box-shadow: 0 30px 80px rgba(40, 40, 38, .35); transform: translateY(10px); transition: transform .3s ease; }
.ph-cat-modal.is-open .ph-cat-panel { transform: translateY(0); }
.ph-cat-close { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: 0; background: transparent; color: var(--charcoal-deep); font-size: 26px; line-height: 1; cursor: pointer; opacity: .5; transition: opacity .2s; }
.ph-cat-close:hover { opacity: 1; }
.ph-cat-title { font-family: var(--serif); font-size: 22px; text-transform: uppercase; letter-spacing: .03em; font-weight: 400; margin: 0 0 8px; color: var(--charcoal-deep); }
.ph-cat-sub { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0 0 22px; font-weight: 300; }
.ph-cat-form .field-row { margin-bottom: 16px; }
.ph-cat-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ph-cat-error { background: rgba(162, 67, 47, .08); color: #a2432f; font-size: 13px; padding: 10px 14px; margin: 0 0 14px; border-left: 2px solid #a2432f; }
.ph-cat-submit { width: 100%; margin-top: 6px; justify-content: center; }
/* Popup buttons default to the tan (the old hover) so they read on the cream panel; charcoal on hover. */
.ph-cat-panel .btn-primary { background: var(--sand); border-color: var(--sand); color: var(--charcoal-deep); }
.ph-cat-panel .btn-primary:hover { background: var(--charcoal-deep); border-color: var(--charcoal-deep); color: var(--cream); }
.ph-cat-consent { font-size: 11px; color: var(--muted); line-height: 1.5; margin: 14px 0 0; font-weight: 300; }
.ph-cat-consent a { color: var(--charcoal-deep); text-decoration: underline; }
.ph-cat-success { text-align: center; padding: 12px 0; }
.ph-cat-success p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0 0 22px; }
.ph-cat-success .btn { justify-content: center; }
@media (max-width: 480px) { .ph-cat-panel { padding: 34px 22px 24px; } }
