/* ==========================================================================
   Provision — Commercial Furniture
   Design tokens → base → layout → components → pages → motion → responsive
   ========================================================================== */

:root {
  --green: #1b3d32;
  --green-deep: #10241e;
  --green-ink: #0b1a15;
  --green-mid: #255243;
  --green-light: #eef5f1;
  --gold: #c4a574;
  --gold-hover: #b3925e;
  --gold-deep: #8f7142;
  --gold-soft: #f2e9dc;
  --cream: #fbf9f5;
  --cream-dark: #f0e9dc;
  --white: #ffffff;
  --ink: #182621;
  --ink-light: #33443e;
  --muted: #5e7169;
  --line: rgba(27, 61, 50, 0.12);
  --line-strong: rgba(27, 61, 50, 0.22);
  --line-light: rgba(255, 255, 255, 0.14);

  --shadow-sm: 0 2px 10px rgba(16, 36, 30, 0.06);
  --shadow: 0 18px 40px -12px rgba(16, 36, 30, 0.18);
  --shadow-lg: 0 30px 70px -20px rgba(16, 36, 30, 0.35);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1240px;
  --gutter: clamp(18px, 4vw, 32px);
  --header: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
body.no-scroll { overflow: hidden; }
main, .site-footer { overflow-x: clip; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
h1, h2, h3, h4 { line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; }
strong { font-weight: 700; }
::selection { background: var(--gold); color: var(--green-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--green); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

/* Image containers show a branded tone while loading or if an image fails */
.cat-card, .service-media, .sector-card, .split-media, .tile .media, .modal-media, .drawer-item-img, .page-hero-media {
  background-color: var(--green);
  background-image: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
}
img.is-broken { opacity: 0 !important; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-deep);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.eyebrow-light { color: var(--gold); }

.display {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--green);
}
.display em, .hero-title em { font-style: italic; color: var(--gold-deep); font-weight: 500; }
.section-dark .display, .cta-band .display { color: #fff; }
.section-dark .display em, .cta-band .display em { color: var(--gold); }

.text-link { color: var(--green); font-weight: 700; border-bottom: 1.5px solid var(--gold); transition: color .2s; }
.text-link:hover { color: var(--gold-deep); }

.tick-list { list-style: none; display: grid; gap: 10px; }
.tick-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-light);
  font-size: 0.95rem;
  line-height: 1.5;
}
.tick-list li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f7142' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.tick-list-light li { color: rgba(255,255,255,.82); }
.tick-list-light li::before {
  background-color: rgba(196,165,116,.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4a574' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 13px; --pad-x: 24px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  min-height: 48px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }
.btn-lg { --pad-y: 15px; --pad-x: 28px; font-size: 1rem; min-height: 54px; }
.btn-sm { --pad-y: 9px; --pad-x: 16px; font-size: 0.85rem; min-height: 40px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px -8px rgba(27,61,50,.55); }
.btn-primary:hover { background: var(--green-mid); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--green-ink); box-shadow: 0 10px 24px -10px rgba(196,165,116,.8); }
.btn-gold:hover { background: #d3b685; transform: translateY(-2px); }
.btn-glass {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.btn-outline-dark { background: transparent; color: var(--green); border-color: var(--line-strong); }
.btn-outline-dark:hover { border-color: var(--green); background: var(--green); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row-center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--green);
  padding-bottom: 4px; border-bottom: 1.5px solid var(--gold);
  white-space: nowrap;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

.round-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--line-strong);
  color: var(--green);
  transition: all .25s var(--ease);
}
.round-btn svg { width: 20px; height: 20px; }
.round-btn:hover { background: var(--green); border-color: var(--green); color: #fff; }
.round-btn:disabled { opacity: .35; pointer-events: none; }

/* ---------- Topbar / ticker ---------- */
.topbar {
  background: var(--green-ink);
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(196,165,116,.18);
  position: relative;
  z-index: 60;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 38px; }
.ticker {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; white-space: nowrap; padding-right: 34px; }
.ticker-track span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-right: 12px;
}
.topbar-contact { display: flex; align-items: center; gap: 16px; white-space: nowrap; flex-shrink: 0; }
.topbar-contact .tc-label { color: rgba(255,255,255,.6); font-weight: 600; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 700; transition: color .2s; }
.topbar-contact a:hover { color: #fff; }
.topbar-contact svg { width: 13px; height: 13px; flex-shrink: 0; }
.topbar-contact .tc-short { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 70;
  background: rgba(251, 249, 245, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease, background-color .3s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -18px rgba(16,36,30,.35); background: rgba(251,249,245,.97); }
.header-inner { height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: block; flex-shrink: 0; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; font-weight: 600; font-size: 0.93rem; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 999px; color: var(--ink-light);
  transition: color .2s, background-color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
  background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--green); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.header-spec-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  color: var(--green); font-weight: 700; font-size: 0.88rem;
  transition: all .25s var(--ease);
}
.header-spec-btn svg { width: 18px; height: 18px; }
.header-spec-btn:hover { background: var(--green); color: #fff; border-color: var(--green); }
.spec-count-badge {
  display: inline-grid; place-items: center;
  min-width: 20px; height: 20px; padding: 0 6px;
  background: var(--gold); color: var(--green-ink);
  font-size: 0.72rem; font-weight: 800; border-radius: 999px; line-height: 1;
}
.spec-count-badge.bump { animation: bump .5s var(--ease); }

.menu-toggle {
  display: none;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--green); color: #fff;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), opacity .2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile full-screen menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 65;
  background: var(--green-deep);
  background-image: radial-gradient(120% 60% at 100% 0%, rgba(196,165,116,.16), transparent 60%);
  padding: calc(var(--header) + 48px + env(safe-area-inset-top, 0px)) var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  overflow-y: auto;
  clip-path: circle(0% at calc(100% - 44px) 56px);
  visibility: hidden;
  transition: clip-path .7s var(--ease-in-out), visibility 0s linear .7s;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 56px); visibility: visible; transition: clip-path .7s var(--ease-in-out); }
.mobile-menu-links { display: flex; flex-direction: column; }
.mobile-menu-links a {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(1.35rem, 6vw, 1.75rem); line-height: 1.3; letter-spacing: -.01em;
  color: #fff;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease), transform .6s var(--ease), color .2s;
}
.mobile-menu-links a span { font-family: var(--sans); font-size: .75rem; font-weight: 700; color: var(--gold); letter-spacing: .1em; }
.mobile-menu-links a:active { color: var(--gold); }
.mobile-menu-foot { display: grid; gap: 16px; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.mobile-menu-mail { color: var(--gold-soft); text-align: center; font-weight: 600; font-size: .92rem; }
.menu-open .mobile-menu-links a, .menu-open .mobile-menu-foot {
  opacity: 1; transform: none; transition-delay: calc(200ms + var(--i) * 55ms);
}
.menu-open .site-header { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .site-header .logo img { filter: brightness(0) invert(.95) sepia(.15); }
.menu-open .header-spec-btn { color: #fff; border-color: rgba(255,255,255,.3); }
.menu-open .menu-toggle { background: var(--gold); color: var(--green-ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 38px - var(--header));
  min-height: calc(100svh - 38px - var(--header));
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--green-ink);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s ease, transform 9s linear;
}
.hero-slide.on { opacity: 1; transform: scale(1); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,26,21,.92) 0%, rgba(11,26,21,.7) 45%, rgba(11,26,21,.25) 100%),
    linear-gradient(0deg, rgba(11,26,21,.75) 0%, transparent 40%);
}
.hero-inner { padding-block: clamp(56px, 9vh, 110px) clamp(80px, 12vh, 130px); display: grid; gap: 48px; }
.hero-copy { max-width: 760px; }
.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.7rem, 1.6rem + 5vw, 5.4rem);
  line-height: 1.0;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
}
.hero-title em { color: var(--gold); }
.hero-rotator { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); font-weight: 600; color: rgba(255,255,255,.85); margin-bottom: 14px; }
.rotator { display: inline-grid; vertical-align: bottom; color: var(--gold); overflow: hidden; }
.rotator > span {
  grid-area: 1 / 1; white-space: nowrap;
  opacity: 0; transform: translateY(100%);
  transition: opacity .5s var(--ease), transform .7s var(--ease);
  border-bottom: 1.5px solid rgba(196,165,116,.5);
}
.rotator > span.on { opacity: 1; transform: none; }
.rotator > span.out { opacity: 0; transform: translateY(-100%); }
.hero-lead { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: rgba(255,255,255,.82); max-width: 56ch; margin-bottom: 32px; }
.hero-lead strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-contact {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 22px; padding: 10px 18px 10px 10px;
  border-radius: 999px;
  background: rgba(11,26,21,.45);
  border: 1px solid rgba(196,165,116,.35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hc-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--gold); color: var(--green-ink); font-family: var(--serif); font-size: 1.35rem; font-weight: 700; }
.hc-label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.hc-links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-weight: 700; font-size: .95rem; }
.hc-links a { color: #fff; border-bottom: 1px solid rgba(196,165,116,.6); transition: color .2s; }
.hc-links a:hover { color: var(--gold); }

.hero-stats {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 820px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-stats li { padding: 20px 20px 0 0; display: grid; gap: 2px; }
.hero-stats li + li { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.12); }
.hero-stats strong { font-family: var(--serif); font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem); font-weight: 600; line-height: 1.1; color: #fff; }
.hero-stats span:not([data-count]) { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: rgba(255,255,255,.62); }

.hero-dots { position: absolute; right: var(--gutter); bottom: 32px; display: flex; gap: 8px; z-index: 2; }
.hero-dots button { width: 28px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; padding: 0; }
.hero-dots button::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero-dots button.on::after { animation: dotfill 6s linear forwards; }
.hero-dots button::before { content: ""; position: absolute; inset: -12px -2px; }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 20px; z-index: 2; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: scrollcue 1.8s var(--ease) infinite; }

/* Hero entrance */
.js .hero-fade { opacity: 0; transform: translateY(18px); animation: fadeup 1s var(--ease) var(--d, 0ms) forwards; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--gold);
  color: var(--green-ink);
  overflow: hidden;
  padding: 16px 0;
  border-block: 1px solid rgba(0,0,0,.06);
}
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 45s linear infinite; }
.marquee-track span { font-family: var(--sans); font-weight: 600; font-size: clamp(.82rem, .75rem + .35vw, 1rem); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; padding: 0 24px; }
.marquee-track i { font-style: normal; font-size: .9rem; opacity: .6; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section-tight-top { padding-top: 0; }
.section-cream { background: var(--cream-dark); }
.section-dark { background: var(--green-deep); color: #fff; }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-sub { color: var(--muted); font-size: 1.05rem; margin-top: 16px; }
.section-dark .section-sub { color: rgba(255,255,255,.72); }
.section-head-split {
  max-width: none; text-align: left;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.section-head-split .eyebrow { justify-content: flex-start; }
.section-head-split .display { max-width: 18ch; }

/* Intro */
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.intro-copy > p { font-size: 1.08rem; color: var(--ink-light); margin-bottom: 24px; }

/* ---------- Category carousel/grid ---------- */
.cat-scroller { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.cat-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 300px;
  gap: 18px;
}
.cat-card {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius-lg);
  color: #fff;
  isolation: isolate;
  box-shadow: var(--shadow-sm);
}
.cat-card-lg { grid-column: span 2; grid-row: span 2; }
.cat-card:nth-last-child(-n+2):not(.cat-card-lg) { grid-column: span 2; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.cat-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,26,21,0) 30%, rgba(11,26,21,.88) 100%);
  transition: opacity .4s;
}
.cat-overlay { position: absolute; inset: auto 0 0 0; padding: 22px; display: grid; gap: 6px; }
.cat-card-lg .cat-overlay { padding: 32px; }
.cat-tag {
  justify-self: start;
  font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.cat-tag-gold { background: var(--gold); color: var(--green-ink); border-color: var(--gold); }
.cat-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; line-height: 1.1; margin-top: 6px; }
.cat-card-lg h3 { font-size: clamp(1.9rem, 1.4rem + 1.5vw, 2.6rem); }
.cat-card p { font-size: .88rem; color: rgba(255,255,255,.8); line-height: 1.5; }
.cat-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .86rem; color: var(--gold); margin-top: 6px; }
.cat-cta svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
@media (hover: hover) {
  .cat-card:hover img { transform: scale(1.07); }
  .cat-card:hover .cat-cta svg { transform: translateX(5px); }
}
.carousel-progress { display: none; }

/* ---------- Services ---------- */
.service-rows { display: grid; gap: clamp(56px, 8vw, 110px); }
.service-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.service-row-rev .service-media { order: 2; }
.service-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-num {
  position: absolute; left: 20px; bottom: 14px;
  font-family: var(--serif); font-size: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); font-weight: 600; line-height: 1;
  color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.service-body h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem); margin-bottom: 14px; color: #fff; }
.service-body p { color: rgba(255,255,255,.75); margin-bottom: 22px; font-size: 1.02rem; }

/* ---------- Sectors ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sector-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; color: #fff; isolation: isolate; }
.sector-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.sector-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(11,26,21,.9)); }
.sector-card > div { position: absolute; inset: auto 0 0 0; padding: 22px; }
.sector-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; margin-bottom: 6px; }
.sector-card p { font-size: .88rem; color: rgba(255,255,255,.8); line-height: 1.5; }
@media (hover: hover) { .sector-card:hover img { transform: scale(1.06); } }

/* ---------- Process steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold)) left / var(--progress, 0%) 100% no-repeat, var(--line-strong);
  transition: background-size 1.6s var(--ease);
}
.steps.in-view { --progress: 100%; }
.steps li { position: relative; padding-right: 10px; }
.step-num {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); color: var(--gold);
  font-family: var(--serif); font-size: 1.6rem; font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 0 0 8px var(--cream-dark);
}
.steps h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--green); margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .95rem; }

/* ---------- Testimonials ---------- */
.testi-scroller { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.testi-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 20px) / 3);
  gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px 26px;
  position: relative;
}
.testi-card::before {
  content: "“"; position: absolute; right: 22px; top: -4px;
  font-family: var(--serif); font-size: 7rem; line-height: 1; color: var(--gold-soft);
}
.testi-stars { color: var(--gold); letter-spacing: 3px; font-size: 1rem; margin-bottom: 16px; }
.testi-card blockquote { font-family: var(--serif); font-size: 1.32rem; line-height: 1.4; color: var(--ink); flex: 1; margin-bottom: 24px; position: relative; }
.testi-card mark { background: linear-gradient(transparent 60%, rgba(196,165,116,.35) 60%); color: inherit; }
.testi-author { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--gold); font-weight: 800; font-size: .9rem; flex-shrink: 0; }
.testi-author strong { display: block; color: var(--green); font-size: .95rem; line-height: 1.3; }
.testi-author small { color: var(--muted); font-size: .8rem; }
.carousel-nav { display: flex; gap: 10px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.carousel-dots span { width: 8px; height: 8px; border-radius: 8px; background: var(--line-strong); transition: width .4s var(--ease), background-color .3s; }
.carousel-dots span.on { width: 26px; background: var(--gold); }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split-media { position: relative; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; }
.split-media img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.split-badge {
  position: absolute; right: -18px; bottom: 32px;
  background: var(--green); color: #fff;
  padding: 20px 24px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px;
}
.split-badge strong { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; }
.split-badge span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; line-height: 1.4; }
.split-copy > p { color: var(--ink-light); margin-top: 18px; font-size: 1.04rem; }
.split-copy .display { margin-bottom: 4px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--green-deep);
  color: #fff; text-align: center;
  padding-block: clamp(80px, 11vw, 140px);
  isolation: isolate;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
  border: 60px solid rgba(196,165,116,.08);
  animation: drift 18s ease-in-out infinite alternate;
}
.cta-band::before { width: 520px; height: 520px; left: -180px; top: -220px; }
.cta-band::after { width: 420px; height: 420px; right: -140px; bottom: -200px; animation-delay: -9s; }
.cta-inner { max-width: 780px; }
.cta-band p { color: rgba(255,255,255,.75); font-size: 1.08rem; margin: 18px auto 0; max-width: 56ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-ink); color: rgba(255,255,255,.7); padding-block: 72px 32px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 36ch; }
.site-footer h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 16px; }
.site-footer a { display: block; padding: 5px 0; color: rgba(255,255,255,.7); transition: color .2s, transform .2s; }
.site-footer a:hover { color: var(--gold); }
.footer-person { color: #fff; font-weight: 700; margin-bottom: 2px; }
.footer-note { margin-top: 10px; font-size: .85rem; color: rgba(255,255,255,.5); }
.legal { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; font-size: .8rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: rgba(255,255,255,.45); }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }

/* ---------- Floating spec button (desktop) ---------- */
.floating-spec-btn {
  position: fixed; right: 24px; bottom: 24px; z-index: 45;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: 999px;
  background: var(--green-deep); color: #fff;
  border: 1.5px solid var(--gold);
  font-weight: 700; font-size: .92rem;
  box-shadow: var(--shadow-lg);
  animation: popin .5s var(--ease);
  transition: transform .25s var(--ease), background-color .25s;
}
.floating-spec-btn svg { width: 20px; height: 20px; }
.floating-spec-btn:hover { transform: translateY(-3px); background: var(--green); }

/* ---------- Spec drawer ---------- */
.spec-drawer-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(11,26,21,.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.spec-drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.spec-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(460px, 100%);
  background: var(--cream);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,.2);
  transform: translateX(105%);
  transition: transform .5s var(--ease);
  visibility: hidden;
}
.spec-drawer.open { transform: none; visibility: visible; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; padding-top: calc(22px + env(safe-area-inset-top, 0px)); background: var(--green-deep); color: #fff; }
.drawer-kicker { font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; color: var(--gold); }
.drawer-header h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
.drawer-close { width: 42px; height: 42px; border-radius: 50%; color: #fff; font-size: 1.6rem; line-height: 1; background: rgba(255,255,255,.08); transition: background-color .2s, transform .3s var(--ease); }
.drawer-close:hover { background: rgba(255,255,255,.18); transform: rotate(90deg); }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 20px 24px; display: flex; flex-direction: column; gap: 12px; }
.drawer-empty { text-align: center; padding: 48px 8px; color: var(--muted); }
.drawer-empty svg { width: 52px; height: 52px; color: var(--gold); margin: 0 auto 14px; }
.drawer-empty h4 { color: var(--green); font-size: 1.15rem; margin-bottom: 6px; }
.drawer-empty p { font-size: .9rem; margin-bottom: 18px; }
.drawer-item { display: flex; gap: 14px; background: #fff; padding: 12px; border-radius: var(--radius); border: 1px solid var(--line); animation: fadeup .4s var(--ease); }
.drawer-item-img { width: 76px; height: 76px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.drawer-item-img img { width: 100%; height: 100%; object-fit: cover; }
.drawer-item-info { flex: 1; min-width: 0; }
.drawer-item-info h4 { font-size: .95rem; color: var(--green); line-height: 1.3; }
.drawer-item-info p { font-size: .76rem; color: var(--muted); margin: 2px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drawer-qty-controls { display: flex; align-items: center; gap: 6px; }
.qty-btn { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; font-weight: 700; display: grid; place-items: center; transition: all .2s; }
.qty-btn:hover { background: var(--green); color: #fff; border-color: var(--green); }
.qty-number { min-width: 26px; text-align: center; font-weight: 800; font-size: .9rem; }
.drawer-remove-btn { margin-left: auto; font-size: .78rem; font-weight: 700; color: #a33a3a; padding: 6px; }
.drawer-services { background: var(--green-light); border-radius: var(--radius); padding: 16px; display: grid; gap: 12px; margin-top: 4px; }
.drawer-services h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--green); }
.drawer-footer { padding: 18px 24px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: #fff; display: grid; gap: 10px; }

.checkbox-label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .9rem; color: var(--ink); line-height: 1.45; }
.checkbox-label input { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--green); }
.checkbox-label small { color: var(--muted); display: block; font-size: .8rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120;
  transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 10px;
  max-width: calc(100% - 32px);
  padding: 13px 20px; border-radius: 999px;
  background: var(--green-deep); color: #fff; border: 1px solid rgba(196,165,116,.6);
  box-shadow: var(--shadow-lg);
  font-weight: 600; font-size: .9rem;
  opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease), opacity .3s;
}
.toast svg { flex-shrink: 0; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--green-deep); color: #fff;
  padding-block: clamp(64px, 10vw, 120px) clamp(56px, 8vw, 96px);
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; animation: slowzoom 20s ease-out forwards; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,26,21,.95) 10%, rgba(11,26,21,.55)); }
.page-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem); line-height: 1.04; max-width: 18ch; margin-bottom: 18px; }
.page-hero h1 em { color: var(--gold); font-weight: 500; }
.page-hero p { max-width: 60ch; color: rgba(255,255,255,.8); font-size: 1.06rem; }
.page-hero p strong { color: #fff; }
.crumbs { display: flex; gap: 8px; font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.55); margin-bottom: 22px; }
.crumbs a:hover { color: var(--gold); }

/* Ranges: filter chips */
.filters-wrap {
  position: sticky; top: var(--header); z-index: 40;
  background: rgba(251,249,245,.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.filters {
  display: flex; gap: 8px;
  overflow-x: auto; scrollbar-width: none;
  padding-block: 14px;
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
  mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.filters::-webkit-scrollbar { display: none; }
.filter-btn {
  flex-shrink: 0;
  padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  color: var(--green); font-weight: 700; font-size: .86rem; white-space: nowrap;
  transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--green); }
.filter-btn.active { background: var(--green); color: #fff; border-color: var(--green); box-shadow: 0 8px 18px -10px rgba(27,61,50,.7); }
.filter-btn .count { opacity: .6; font-weight: 600; margin-left: 4px; }
.catalogue-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; color: var(--muted); font-size: .92rem; flex-wrap: wrap; }
.catalogue-meta strong { color: var(--green); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tile {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
@media (hover: hover) {
  .tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(196,165,116,.6); }
  .tile:hover .media img { transform: scale(1.06); }
}
.tile .media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; cursor: pointer; }
.tile .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.badge {
  position: absolute; left: 14px; top: 14px; z-index: 1;
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(16,36,30,.78); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.badge-gold { background: var(--gold); color: var(--green-ink); }
.tile .body { padding: 22px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tile h3 { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; line-height: 1.15; color: var(--green); }
.tile .meta { font-size: .78rem; font-weight: 700; color: var(--gold-deep); letter-spacing: .02em; }
.tile .summary { color: var(--muted); font-size: .92rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.tile-actions .btn { width: 100%; }
.tile-actions .btn.added { background: var(--green); color: #fff; }

/* Product modal (bottom sheet on phones) */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(11,26,21,.6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s linear .35s;
}
.modal.open { opacity: 1; visibility: visible; transition: opacity .35s; }
.modal-card {
  position: relative;
  width: min(960px, 100%); max-height: min(88vh, 720px);
  display: grid; grid-template-columns: 1.05fr 1fr;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(30px) scale(.97); transition: transform .5s var(--ease);
}
.modal.open .modal-card { transform: none; }
.modal-media { position: relative; min-height: 320px; }
.modal-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 36px 34px; overflow-y: auto; overscroll-behavior: contain; }
.modal-body h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem); color: var(--green); margin-bottom: 8px; }
.modal-body .meta { font-size: .82rem; font-weight: 700; color: var(--gold-deep); }
.modal-copy { color: var(--ink-light); font-size: .96rem; margin: 16px 0 20px; }
.modal-specs-list { display: grid; background: var(--cream); border-radius: var(--radius); padding: 6px 16px; }
.modal-spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; font-size: .85rem; border-bottom: 1px solid var(--line); }
.modal-spec-row:last-child { border-bottom: 0; }
.modal-spec-row span:first-child { color: var(--muted); font-weight: 600; }
.modal-spec-row span:last-child { color: var(--green); font-weight: 700; text-align: right; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.close-x {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: var(--green-deep);
  font-size: 1.5rem; line-height: 1;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  transition: transform .3s var(--ease);
}
.close-x:hover { transform: rotate(90deg); }
.sheet-handle { display: none; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-aside .display { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem); margin-bottom: 14px; }
.contact-aside > p { color: var(--ink-light); margin-bottom: 24px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 14px; }
.info-card h3 { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-deep); margin-bottom: 8px; }
.info-card p, .info-card a { color: var(--ink-light); font-size: .95rem; }
.info-card a.big { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--green); word-break: break-word; }
.info-card .tick-list { margin-top: 4px; }
.info-card-person { display: flex; gap: 16px; align-items: center; border-color: rgba(196,165,116,.55); background: linear-gradient(135deg, #fff, var(--gold-soft)); }
.info-card-person .hc-avatar { width: 52px; height: 52px; font-size: 1.7rem; }
.info-card-person .big { display: block; }
.info-card-person .person-mail { display: block; margin-top: 2px; font-weight: 700; color: var(--green); word-break: break-word; }

.form {
  display: grid; gap: 18px;
  background: #fff;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form h2 { font-family: var(--serif); font-weight: 600; font-size: 1.9rem; color: var(--green); line-height: 1.1; }
.form-intro { color: var(--muted); font-size: .92rem; margin-top: -10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--green); margin-bottom: 7px; }
.field small { display: block; color: var(--muted); font-size: .78rem; margin-top: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  font-size: 1rem; /* 16px prevents iOS zoom on focus */
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3d32' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(196,165,116,.18); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #c0605a; }
.services-box { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 14px; }
.services-box legend { font-size: .82rem; font-weight: 700; color: var(--green); padding: 0 6px; }
.hp { position: absolute; left: -9999px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.form-status { display: none; padding: 16px 18px; border-radius: var(--radius); font-size: .95rem; }
.form-status.show { display: block; animation: fadeup .5s var(--ease); }
.form-status.ok { background: #e8f3ec; border: 1px solid #8fc9a3; color: var(--green-deep); }
.form-status.err { background: #fbecea; border: 1px solid #e0a39d; color: #7a2b25; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .75; }
.btn[aria-busy="true"]::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }

/* ==========================================================================
   Motion
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Word-by-word heading reveal */
.js [data-split]:not([data-split-done]) { visibility: hidden; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--wi) * 55ms + var(--d, 0ms)); }
.in .w > span, .w.in > span { transform: none; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes fadeup { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes dotfill { to { transform: scaleX(1); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
@keyframes popin { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes drift { to { transform: translate(60px, 40px) rotate(10deg); } }
@keyframes slowzoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .ticker-track, .marquee-track { animation: none !important; }
  .js [data-reveal], .js .hero-fade, .w > span { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav a { padding: 8px 10px; }
  .nav a::after { left: 10px; right: 10px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-card { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header: 66px; }
  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .logo img { height: 34px; }
  .header-spec-btn { width: 46px; height: 46px; padding: 0; justify-content: center; }
  .header-spec-btn .label { display: none; }
  .header-spec-btn .spec-count-badge { position: absolute; top: -4px; right: -4px; }

  .intro-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .service-row-rev .service-media { order: 0; }
  .split-media { aspect-ratio: 4 / 3; }
  .split-badge { right: 16px; bottom: -24px; }
  .split-copy { padding-top: 12px; }

  /* Category cards become a swipeable carousel */
  .cat-scroller { width: 100%; }
  .cat-track {
    display: flex; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .cat-track::-webkit-scrollbar { display: none; }
  .cat-card, .cat-card-lg { flex: 0 0 78%; max-width: 380px; aspect-ratio: 4 / 5; scroll-snap-align: start; }
  .cat-card-lg .cat-overlay { padding: 22px; }
  .cat-card-lg h3 { font-size: 1.9rem; }
  .carousel-progress { display: block; height: 3px; background: var(--line); border-radius: 3px; margin: 22px var(--gutter) 0; overflow: hidden; }
  .carousel-progress span { display: block; height: 100%; width: 30%; background: var(--gold); border-radius: 3px; transform-origin: left; transition: transform .15s linear; }

  .testi-scroller { width: 100%; }
  .testi-track { grid-auto-columns: min(84%, 420px); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); gap: 14px; }

  /* Mobile action bar */
  .mobile-bar {
    position: fixed; left: 12px; right: 12px; z-index: 55;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    display: grid; grid-template-columns: auto auto 1fr; gap: 6px; align-items: center;
    padding: 6px;
    background: rgba(11,26,21,.92);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border: 1px solid rgba(196,165,116,.35);
    border-radius: 999px;
    box-shadow: 0 16px 40px -10px rgba(0,0,0,.5);
    transform: translateY(160%);
    transition: transform .5s var(--ease);
  }
  .mobile-bar.show { transform: none; }
  .menu-open .mobile-bar { transform: translateY(160%); }
  .mobile-bar > a, .mobile-bar > button {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 46px; padding: 0 14px; border-radius: 999px;
    color: #fff; font-weight: 700; font-size: .84rem; white-space: nowrap;
  }
  .mobile-bar svg { width: 18px; height: 18px; color: var(--gold); }
  .mobile-bar .mobile-bar-cta { background: var(--gold); color: var(--green-ink); }
  .floating-spec-btn { display: none !important; }
  .toast { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }

  /* Product modal → bottom sheet */
  .modal { padding: 0; place-items: end center; }
  .modal-card {
    display: block; width: 100%;
    max-height: 92vh; max-height: 92svh;
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    overflow-y: auto; overscroll-behavior: contain;
  }
  .modal-media { min-height: 0; height: min(60vw, 320px); }
  .modal-body { padding: 24px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px)); overflow: visible; }
  .modal-actions .btn { flex: 1 1 100%; }
  .sheet-handle { display: block; position: absolute; top: 8px; left: 50%; translate: -50% 0; width: 44px; height: 5px; border-radius: 5px; background: rgba(255,255,255,.85); z-index: 3; }
}

@media (max-width: 640px) {
  :root { --header: 62px; }
  body { font-size: .98rem; }
  .topbar { font-size: .72rem; }
  .topbar-inner { height: 34px; }
  .hero { min-height: calc(100svh - 34px - var(--header)); align-items: flex-end; }
  .hero::before {
    background: linear-gradient(180deg, rgba(11,26,21,.45) 0%, rgba(11,26,21,.6) 35%, rgba(11,26,21,.94) 75%);
  }
  .hero-inner { padding-block: 48px 72px; gap: 32px; }
  .hero-title { font-size: clamp(2.5rem, 11vw, 3.3rem); }
  .hero-lead { margin-bottom: 26px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats li { padding: 16px 12px 14px 0; }
  .hero-stats li + li { padding-left: 0; border-left: 0; }
  .hero-stats li:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.12); }
  .hero-stats li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .hero-dots { right: auto; left: var(--gutter); bottom: 22px; }
  .scroll-cue { display: none; }

  .marquee { padding: 12px 0; }
  .section-head-split { align-items: flex-start; }
  .section-head-split .carousel-nav { display: none; }
  .btn-row .btn { flex: 1 1 auto; }

  .sector-grid { grid-template-columns: 1fr; gap: 14px; }
  .sector-card { aspect-ratio: 16 / 10; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding-bottom: 28px; position: relative; }
  .steps li:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: linear-gradient(var(--gold), var(--line-strong)); }
  .step-num { grid-row: span 2; margin-bottom: 0; }
  .steps h3 { align-self: end; }

  .product-grid { grid-template-columns: 1fr; gap: 18px; }
  .form-row { grid-template-columns: 1fr; }
  .form-actions .btn { flex: 1 1 100%; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .legal { flex-direction: column; }
  .cta-band::before { width: 320px; height: 320px; border-width: 40px; }
  .cta-band::after { width: 260px; height: 260px; border-width: 40px; }
}

@media (max-width: 380px) {
  .mobile-bar > a:first-child { padding: 0 12px; font-size: 0; gap: 0; }
  .mobile-bar > a:first-child svg { width: 20px; height: 20px; }
}
