/* =====================================================================
   BROTHER PATCHES — design system
   Layout concept: cinematic forest-green "display cases" for the 3D
   patches, alternating with warm ivory "cutting-table" sections.
   Gold is thread: used for lines, stitches and the primary action only.
   ===================================================================== */
:root {
  --forest: #003D2F;
  --emerald: #00503D;
  --gold: #C79A5B;
  --gold-light: #E4B979;
  --ivory: #F3EEE5;
  --offwhite: #FAF8F3;
  --ink: #151A18;
  --deep: #002A20;
  --deeper: #001C15;
  --forest-2: #0B4839;
  --gold-ink: #7A5C30;          /* gold that passes contrast on ivory */
  --text-dark: #151A18;
  --muted-light: #4B5551;       /* body copy on ivory */
  --muted-dark: rgba(243, 238, 229, .74);
  --line-on-dark: rgba(243, 238, 229, .14);
  --line-on-light: rgba(21, 26, 24, .13);
  --stitch: rgba(199, 154, 91, .6);

  --font: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --fs-body: 1.0625rem;
  --fs-small: .875rem;
  --fs-lead: clamp(1.08rem, 1.2vw, 1.25rem);
  --fs-h3: clamp(1.15rem, 1.4vw, 1.35rem);
  --fs-display-m: clamp(1.7rem, 3vw, 2.7rem);
  --fs-display-l: clamp(2.3rem, 5.2vw, 4.9rem);
  --fs-display-xl: clamp(2.7rem, 6.3vw, 6.5rem);

  --radius: 8px;
  --radius-lg: 10px;
  --gutter: clamp(16px, 4.2vw, 64px);
  --maxw: 1380px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .75, .15, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --shadow-patch: 0 30px 60px -25px rgba(0, 0, 0, .55), 0 12px 24px -12px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html.has-smooth { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.7;
  font-weight: 400;
  color: var(--ivory);
  background: var(--forest);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--forest); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }
.is-light :focus-visible { outline-color: var(--forest); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: var(--forest); padding: 12px 18px; border-radius: var(--radius); font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(80px, 11vw, 168px); isolation: isolate; }
.section--tight { padding-block: clamp(64px, 8vw, 112px); }

/* surfaces */
.is-dark { color: var(--ivory); color-scheme: dark; }
.is-light { color: var(--text-dark); color-scheme: light; }
.sec-forest { background-color: var(--forest); }
.sec-deep { background-color: var(--deep); }
.sec-ink { background-color: var(--ink); }
.sec-ivory { background-color: var(--ivory); }
.sec-offwhite { background-color: var(--offwhite); }

/* woven twill texture on dark surfaces, canvas weave on light ones */
.twill::before, .weave::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
.twill::before {
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .022) 0 1.5px, transparent 1.5px 5px),
    radial-gradient(120% 80% at 70% 30%, rgba(0, 80, 61, .55), transparent 60%);
}
.sec-ink.twill::before { background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .018) 0 1.5px, transparent 1.5px 5px); }
.weave::before {
  background-image:
    repeating-linear-gradient(0deg, rgba(21, 26, 24, .022) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(21, 26, 24, .018) 0 1px, transparent 1px 4px);
}

/* ---------- typography ---------- */
.display-xl, .display-l, .display-m { font-weight: 900; text-transform: uppercase; letter-spacing: -.035em; line-height: .92; text-wrap: balance; }
.display-xl { font-size: var(--fs-display-xl); }
.display-l { font-size: var(--fs-display-l); font-weight: 800; letter-spacing: -.03em; line-height: .95; }
.display-m { font-size: var(--fs-display-m); font-weight: 800; letter-spacing: -.02em; line-height: 1.02; }
.h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.lead { font-size: var(--fs-lead); line-height: 1.6; max-width: 36ch; }
.is-dark .lead, .is-dark .muted { color: var(--muted-dark); }
.is-light .lead, .is-light .muted { color: var(--muted-light); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; line-height: 1.3;
}
.is-dark .eyebrow { color: var(--gold); }
.is-light .eyebrow { color: var(--gold-ink); }
.eyebrow::before {
  content: ""; width: 34px; height: 2px; flex: none;
  background: repeating-linear-gradient(90deg, currentColor 0 7px, transparent 7px 11px);
}
.gold { color: var(--gold); }
.is-light .gold { color: var(--gold-ink); }
.tnum { font-variant-numeric: tabular-nums; }

/* section heads */
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head.split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 32px 64px; }
.sec-head .sec-sub { max-width: 44ch; font-size: var(--fs-lead); line-height: 1.6; }
.is-dark .sec-head .sec-sub { color: var(--muted-dark); }
.is-light .sec-head .sec-sub { color: var(--muted-light); }
.sec-head.center { justify-items: center; text-align: center; }
.sec-head.center .sec-sub { margin-inline: auto; }
@media (max-width: 860px) { .sec-head.split { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* ---------- buttons ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 26px; border-radius: var(--radius);
  font-size: .86rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2;
  text-decoration: none; border: 1.5px solid transparent; background: none; white-space: nowrap;
  transform: translate(var(--bx), var(--by)) scale(var(--bs, 1));
  transition: transform .45s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease); }
.btn:hover { --bs: 1.02; }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn:active { --bs: .98; }
.btn-primary { background: var(--gold); color: var(--forest); box-shadow: 0 10px 30px -12px rgba(199, 154, 91, .55); }
.btn-primary:hover { background: var(--gold-light); }
.btn-secondary { border-color: rgba(243, 238, 229, .5); color: var(--ivory); }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold-light); }
.is-light .btn-secondary { border-color: rgba(0, 61, 47, .45); color: var(--forest); }
.is-light .btn-secondary:hover { border-color: var(--forest); background: var(--forest); color: var(--ivory); }
.btn-dark { background: var(--forest); color: var(--ivory); }
.btn-dark:hover { background: var(--emerald); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .78rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.text-link svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }
.is-dark .text-link { color: var(--gold-light); }
.is-light .text-link { color: var(--forest); }

/* ---------- reveal + motion ---------- */
.js .rv { transition: transform 1.1s var(--ease), opacity 1.1s var(--ease); }
.js .rv.rv-wait { transform: translateY(34px); opacity: .001; }
.js .rv.rv-wait.rv-scale { transform: translateY(24px) scale(.96); }
.js .line-mask { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.js .line-mask > span { display: block; transition: transform 1.2s var(--ease); }
.js .rv-lines.rv-wait .line-mask > span { transform: translateY(105%); }
.js .rv-lines .line-mask:nth-child(2) > span { transition-delay: .08s; }
.js .rv-lines .line-mask:nth-child(3) > span { transition-delay: .16s; }
.js .rv-lines .line-mask:nth-child(4) > span { transition-delay: .24s; }
.js .rv-img { clip-path: inset(0 0 0 0 round var(--radius)); transition: clip-path 1.3s var(--ease); }
.js .rv-img.rv-wait { clip-path: inset(12% 8% 12% 8% round var(--radius)); }
[data-delay="1"] { transition-delay: .08s !important; }
[data-delay="2"] { transition-delay: .16s !important; }
[data-delay="3"] { transition-delay: .24s !important; }
[data-delay="4"] { transition-delay: .32s !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .rv.rv-wait, .js .rv-img.rv-wait { transform: none; opacity: 1; clip-path: none; }
  .js .rv-lines.rv-wait .line-mask > span { transform: none; }
}

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .5s var(--ease-soft), backdrop-filter .5s, box-shadow .5s, transform .5s var(--ease);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(199, 154, 91, .35), transparent); opacity: 0; transition: opacity .5s; }
.site-header.is-scrolled {
  background: rgba(0, 61, 47, .74);
  -webkit-backdrop-filter: blur(16px) saturate(1.25); backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: 0 12px 40px -24px rgba(0, 0, 0, .6);
}
.site-header.is-scrolled::after { opacity: 1; }
.hdr-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .45s var(--ease); }
.site-header.is-scrolled .hdr-inner { height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ivory); flex: none; }
.brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .6); transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-12deg); }
.brand-word { display: grid; line-height: 1; }
.brand-word b { font-weight: 900; font-size: 1.02rem; letter-spacing: .02em; }
.brand-word i { font-style: normal; font-weight: 600; font-size: .6rem; letter-spacing: .42em; color: var(--gold); margin-top: 5px; }
.main-nav { margin-inline: auto; }
.main-nav ul { display: flex; gap: clamp(14px, 2.2vw, 34px); list-style: none; margin: 0; padding: 0; }
.main-nav a {
  position: relative; display: inline-block; padding: 10px 2px; text-decoration: none; white-space: nowrap;
  font-size: .86rem; font-weight: 600; letter-spacing: .04em; color: rgba(243, 238, 229, .86); transition: color .3s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 5px, transparent 5px 8px);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ivory); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr-cta { flex: none; }
.menu-toggle {
  display: none; position: relative; width: 48px; height: 48px; margin-left: auto; border: 1.5px solid rgba(243, 238, 229, .28);
  border-radius: var(--radius); background: rgba(0, 42, 32, .35);
}
.menu-toggle span[aria-hidden] { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ivory); transition: transform .5s var(--ease), top .5s var(--ease), opacity .3s; }
.menu-toggle span[aria-hidden]:nth-child(1) { top: 18px; }
.menu-toggle span[aria-hidden]:nth-child(2) { top: 27px; right: 19px; background: var(--gold); }
.menu-open .menu-toggle span[aria-hidden]:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span[aria-hidden]:nth-child(2) { top: 22px; right: 13px; transform: rotate(-45deg); background: var(--ivory); }
/* eight menu items: tighten spacing on narrower desktops, then switch to the menu button */
@media (max-width: 1320px) { .main-nav ul { gap: clamp(12px, 1.5vw, 22px); } .main-nav a { font-size: .82rem; letter-spacing: .03em; } .hdr-inner { gap: 22px; } }
@media (max-width: 1140px) { .main-nav, .hdr-cta { display: none; } .menu-toggle { display: block; } }
@media (max-width: 1080px) {
  .main-nav, .hdr-cta { display: none; }
  .menu-toggle { display: block; }
  :root { --header-h: 72px; }
}

/* ---------- mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--forest); color: var(--ivory);
  display: flex; flex-direction: column; padding: calc(var(--header-h) + 24px + env(safe-area-inset-top, 0px)) var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto; clip-path: circle(0% at calc(100% - 44px) 40px); transition: clip-path .8s var(--ease); visibility: hidden;
}
.mobile-menu::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 1.5px, transparent 1.5px 5px); }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 40px); visibility: visible; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mobile-menu li { overflow: hidden; }
.mobile-menu li a {
  display: flex; align-items: baseline; gap: 14px; padding: 8px 0; text-decoration: none;
  font-size: clamp(2.1rem, 9vw, 3.4rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.05;
  transform: translateY(110%); transition: transform .8s var(--ease), color .3s;
}
.mobile-menu li a small { font-size: .8rem; font-weight: 600; color: var(--gold); letter-spacing: .1em; }
.mobile-menu li a[aria-current="page"], .mobile-menu li a:hover { color: var(--gold-light); }
.menu-open .mobile-menu li a { transform: none; }
.menu-open .mobile-menu li:nth-child(2) a { transition-delay: .05s; }
.menu-open .mobile-menu li:nth-child(3) a { transition-delay: .1s; }
.menu-open .mobile-menu li:nth-child(4) a { transition-delay: .15s; }
.menu-open .mobile-menu li:nth-child(5) a { transition-delay: .2s; }
.menu-open .mobile-menu li:nth-child(6) a { transition-delay: .25s; }
.mm-thread { margin: 28px 0; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 9px, transparent 9px 15px); transform: scaleX(0); transform-origin: left; transition: transform 1s .3s var(--ease); }
.menu-open .mm-thread { transform: none; }
.mm-foot { margin-top: auto; display: grid; gap: 18px; }
.mm-foot p { color: var(--muted-dark); font-size: .9rem; }
body.menu-open { overflow: hidden; }

/* =====================================================================
   SHARED PIECES
   ===================================================================== */
/* stitched divider with a travelling needle */
.stitch-divider { position: relative; height: 70px; margin-block: -35px; z-index: 3; pointer-events: none; overflow: hidden; }
.stitch-divider svg { width: 100%; height: 100%; overflow: visible; }
.stitch-divider .sd-thread { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 10 7; stroke-linecap: round; }
.stitch-divider .sd-needle { transition: opacity .3s; }

/* material marquee */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line-on-dark); padding-block: 18px; }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.marquee-item { display: inline-flex; align-items: center; gap: 34px; font-weight: 800; font-size: clamp(1rem, 1.5vw, 1.25rem); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: rgba(243, 238, 229, .82); }
.marquee-item svg { width: 16px; height: 16px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 3D stage hosts */
.bp3d-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.2s var(--ease-soft); }
.is-live > .bp3d-canvas { opacity: 1; }
.stage-fallback { transition: opacity .9s var(--ease-soft); }
.is-live > .stage-fallback, .is-live .stage-fallback { opacity: 0; pointer-events: none; }

/* spec sheet (definition list) */
.spec-sheet { display: grid; grid-template-columns: minmax(120px, auto) minmax(0, 1fr); border-top: 1px solid var(--line-on-dark); }
.spec-sheet dt, .spec-sheet dd { padding: 14px 0; border-bottom: 1px solid var(--line-on-dark); font-size: .92rem; }
.spec-sheet dt { font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; color: var(--gold); padding-right: 20px; padding-top: 17px; }
.spec-sheet dd { color: var(--muted-dark); }
.is-light .spec-sheet, .is-light .spec-sheet dt, .is-light .spec-sheet dd { border-color: var(--line-on-light); }
.is-light .spec-sheet dt { color: var(--gold-ink); }
.is-light .spec-sheet dd { color: var(--muted-light); }

/* chips / pills used by filters + forms */
.chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border-radius: var(--radius);
  border: 1.5px solid var(--line-on-light); background: transparent; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  transition: border-color .25s, background-color .25s, color .25s, transform .3s var(--ease);
}
.is-dark .chip { border-color: var(--line-on-dark); color: var(--ivory); }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--forest); border-color: var(--forest); color: var(--ivory); }
.is-dark .chip[aria-pressed="true"], .is-dark .chip.is-on { background: var(--gold); border-color: var(--gold); color: var(--forest); }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line-on-light); max-width: 960px; }
.faq details { border-bottom: 1px solid var(--line-on-light); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; font-weight: 700; font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-on-light); transition: transform .5s var(--ease), background-color .3s, border-color .3s; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq details[open] summary .plus { background: var(--forest); color: var(--ivory); border-color: var(--forest); transform: rotate(180deg); }
.faq details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .faq-a { padding: 0 64px 26px 0; color: var(--muted-light); max-width: 70ch; }
.faq summary:hover { color: var(--emerald); }

/* generic form fields */
.field { display: grid; gap: 8px; align-content: start; }
.field label, .field .label { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: var(--radius); border: 1.5px solid var(--line-on-light);
  background: #fff; color: var(--text-dark); font-size: 1rem; transition: border-color .25s, box-shadow .25s;
}
.textarea { min-height: 132px; resize: vertical; line-height: 1.55; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 4px rgba(0, 61, 47, .12); outline: none; }
.is-dark .input, .is-dark .select, .is-dark .textarea { background-color: rgba(0, 0, 0, .18); color: var(--ivory); border-color: rgba(243, 238, 229, .22); }
.is-dark .input:focus, .is-dark .select:focus, .is-dark .textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(199, 154, 91, .16); }
.input[aria-invalid="true"] { border-color: #B3452C; }
.field-hint { font-size: .8rem; color: var(--muted-light); }
.field-error { font-size: .82rem; color: #A63E26; font-weight: 500; }
.is-dark .field-error { color: #F0A58F; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003D2F' 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: 44px; }
.unit-input { position: relative; }
.unit-input .input { padding-right: 48px; }
.unit-input .unit { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: .82rem; font-weight: 600; color: var(--muted-light); pointer-events: none; }

/* option tiles (radio cards) */
.opt-grid { display: grid; gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.opt .opt-face {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border-radius: var(--radius);
  border: 1.5px solid var(--line-on-light); background: #fff; font-size: .9rem; font-weight: 600; line-height: 1.25;
  transition: border-color .25s, box-shadow .25s, background-color .25s, transform .3s var(--ease);
}
.opt input:hover + .opt-face { border-color: rgba(0, 61, 47, .45); }
.opt input:checked + .opt-face { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest), 0 10px 24px -16px rgba(0, 61, 47, .6); }
.opt input:focus-visible + .opt-face { outline: 2px solid var(--forest); outline-offset: 2px; }
.opt input:disabled + .opt-face { opacity: .4; cursor: not-allowed; }
.opt .sw { width: 34px; height: 34px; border-radius: 50%; flex: none; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 2px 6px rgba(0, 0, 0, .2); }
.opt .ico { width: 30px; height: 30px; flex: none; color: var(--forest); }
.opt input:checked + .opt-face .check { opacity: 1; transform: scale(1); }
.opt .check { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--forest); color: var(--ivory); display: grid; place-items: center; opacity: 0; transform: scale(.5); transition: .3s var(--ease); flex: none; }
.opt .check svg { width: 12px; height: 12px; }

/* notice */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); background: rgba(199, 154, 91, .14); border: 1px solid rgba(199, 154, 91, .4); font-size: .9rem; line-height: 1.5; }
.is-light .notice { color: var(--text-dark); }

/* placeholder values the owner still needs to fill in */
.ph { display: inline-block; padding: 1px 8px; border-radius: 5px; border: 1px dashed currentColor; opacity: .85; font-size: .92em; }

/* =====================================================================
   CTA BAND (end of inner pages)
   ===================================================================== */
.cta-band { overflow: hidden; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
.cta-band .cta-visual { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: end; width: 100%; }
.cta-band .cta-visual img { width: 100%; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .45)); animation: floaty 9s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr); } .cta-band .cta-visual { justify-self: center; max-width: 320px; } }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { position: relative; background: var(--deep); color: var(--ivory); overflow: hidden; isolation: isolate; padding-top: clamp(64px, 8vw, 110px); }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .018) 0 1.5px, transparent 1.5px 5px); }
.ft-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 40px; padding-block: 0 clamp(48px, 6vw, 80px); }
.ft-brand p { margin-top: 20px; color: var(--muted-dark); max-width: 30ch; font-size: .95rem; }
.ft-brand .brand img { width: 64px; height: 64px; }
.ft-col h3 { font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.ft-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft-col a { text-decoration: none; color: rgba(243, 238, 229, .82); font-size: .95rem; transition: color .25s; display: inline-flex; align-items: center; gap: 8px; }
.ft-col a:hover { color: var(--gold-light); }
.ft-col a svg { width: 14px; height: 14px; opacity: .6; }
.ft-mark { position: relative; margin-inline: calc(var(--gutter) * -1); height: clamp(90px, 16vw, 230px); }
.ft-mark svg { width: 100%; height: 100%; }
.ft-mark text { font-family: var(--font); font-weight: 900; letter-spacing: -.02em; fill: none; stroke: rgba(199, 154, 91, .45); stroke-width: 1.4; stroke-dasharray: 7 5; }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-on-dark); font-size: .84rem; color: var(--muted-dark); }
@media (max-width: 1000px) { .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ft-brand { grid-column: 1 / -1; } }

/* =====================================================================
   HOME · HERO
   ===================================================================== */
.hero { position: relative; min-height: max(720px, min(100svh, 1000px)); display: flex; flex-direction: column; overflow: hidden; isolation: isolate; padding-top: var(--header-h); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 70% at 72% 46%, rgba(0, 80, 61, .95), rgba(0, 61, 47, 0) 70%), radial-gradient(90% 60% at 10% 110%, rgba(0, 28, 21, .8), transparent 70%); }
.hero-threads { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-threads path { fill: none; stroke: var(--gold); stroke-linecap: round; }
.hero-threads .th { stroke-width: 1.2; opacity: .2; }
.hero-threads .th-stitch { stroke-width: 1.6; opacity: .28; stroke-dasharray: 9 7; }
.hero-grid { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 24px; padding-block: 40px 56px; }
.hero-copy { position: relative; z-index: 3; display: grid; gap: 28px; align-content: center; }
.hero-copy h1 { margin-top: 4px; }
.hero-copy h1 .u-thread { position: relative; display: inline-block; color: var(--ivory); white-space: nowrap; }
.hero-copy h1 .u-thread svg { position: absolute; left: -2%; bottom: -.1em; width: 104%; height: .32em; overflow: visible; }
.hero-copy h1 .u-thread path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 12 8; }
.hero-copy .lead { max-width: 40ch; }
.hero-note { display: inline-flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--muted-dark); }
.hero-note svg { width: 30px; height: 30px; color: var(--gold); flex: none; }
.hero-stage { position: absolute; top: 0; right: calc(var(--gutter) * -1); bottom: 0; left: 44%; z-index: 2; }
.hero-stage .stage-fallback { position: absolute; left: 50%; top: 50%; width: min(78%, 620px); transform: translate(-44%, -50%); filter: drop-shadow(0 50px 60px rgba(0, 0, 0, .35)); }
.hero-float { position: absolute; width: clamp(90px, 10vw, 150px); filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .35)); animation: bob 8s ease-in-out infinite; }
.hero-float img { width: 100%; }
.hero-float.f1 { left: 4%; top: 12%; animation-delay: -2s; }
.hero-float.f2 { right: 6%; top: 8%; animation-delay: -4s; }
.hero-float.f3 { right: 7%; bottom: 14%; animation-delay: -1s; }
.hero-float.f4 { left: 8%; bottom: 10%; animation-delay: -6s; }
@keyframes bob { 0%, 100% { transform: translate3d(0, 0, 0) rotate(-4deg); } 50% { transform: translate3d(0, -16px, 0) rotate(3deg); } }
.hero-stage.is-live .hero-float { opacity: 0; transition: opacity .8s; }
.stage-tags { position: absolute; inset: 0; pointer-events: none; }
.stage-tag {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 6px;
  background: rgba(0, 28, 21, .66); border: 1px solid rgba(199, 154, 91, .35); color: var(--ivory);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity .6s;
}
.stage-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(199, 154, 91, .2); }
.is-live .stage-tag { opacity: 1; }
.hero .marquee { position: relative; z-index: 3; background: rgba(0, 28, 21, .35); }
.scroll-cue { position: absolute; left: var(--gutter); bottom: 96px; z-index: 3; display: none; }
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: 24px 40px; }
  .hero-stage { position: relative; inset: auto; order: -1; height: min(86vw, 470px); margin-inline: calc(var(--gutter) * -1); }
  .hero-stage .stage-fallback { width: min(72vw, 420px); transform: translate(-50%, -50%); }
  .hero { min-height: auto; }
}

/* =====================================================================
   HOME · PATCH TYPES
   ===================================================================== */
.type-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; perspective: 1400px; }
.type-card {
  --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
  position: relative; display: flex; flex-direction: column; min-height: 440px; padding: 22px; border-radius: var(--radius-lg);
  text-decoration: none; color: var(--ivory); overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #1C2521, #141B18);
  border: 1px solid rgba(243, 238, 229, .09);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .7s var(--ease), box-shadow .6s var(--ease), border-color .4s;
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, .8);
}
.type-card::before { /* cursor light */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(228, 185, 121, .16), transparent 45%);
}
.type-card::after { /* stitched inner border */
  content: ""; position: absolute; inset: 8px; border-radius: 6px; border: 1.5px dashed rgba(199, 154, 91, .0); transition: border-color .5s; pointer-events: none;
}
.type-card:hover, .type-card:focus-visible { border-color: rgba(199, 154, 91, .55); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(199, 154, 91, .35); }
.type-card:hover::before, .type-card:focus-visible::before { opacity: 1; }
.type-card:hover::after { border-color: rgba(199, 154, 91, .35); }
.tc-media { position: relative; flex: 1; display: grid; place-items: center; min-height: 230px; transform: translateZ(40px); }
.tc-media img { width: 88%; max-width: 300px; transition: transform .9s var(--ease), filter .6s; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .45)); }
.type-card:hover .tc-media img { transform: translateY(-8px) rotate(-3deg) scale(1.04); filter: drop-shadow(0 36px 36px rgba(0, 0, 0, .6)) brightness(1.06); }
.tc-code { position: absolute; top: 0; left: 0; font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 8px; }
.tc-code i { width: 22px; height: 22px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 1px rgba(243, 238, 229, .2); }
.tc-body { position: relative; display: grid; gap: 6px; transform: translateZ(30px); }
.tc-body h3 { font-size: 1.2rem; font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; line-height: 1.15; }
.tc-body p { font-size: .9rem; color: var(--muted-dark); line-height: 1.5; }
.tc-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-light); transform: translateY(14px); opacity: 0; transition: transform .6s var(--ease), opacity .5s; }
.tc-cta svg { width: 16px; height: 16px; }
.type-card:hover .tc-cta, .type-card:focus-visible .tc-cta { transform: none; opacity: 1; }
@media (hover: none) { .tc-cta { transform: none; opacity: 1; } }
.type-card--help { justify-content: space-between; background: linear-gradient(160deg, var(--forest-2), var(--deep)); }
.type-card--help .help-mark { width: 84px; height: 84px; color: var(--gold); }
.type-card--help h3 { font-size: 1.5rem; font-weight: 800; text-transform: uppercase; line-height: 1.05; }
.type-card--help .tc-cta { opacity: 1; transform: none; }
.type-card--help { grid-column: span 2; } /* six materials + this card fill the grid evenly at 4 and 2 columns */
@media (max-width: 1180px) { .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .type-card { min-height: 400px; } }
@media (max-width: 560px) {
  .type-grid { gap: 12px; }
  .type-card { min-height: 300px; padding: 14px; }
  .tc-media { min-height: 150px; }
  .tc-body h3 { font-size: .95rem; }
  .tc-body p { display: none; }
  .tc-code { font-size: .58rem; letter-spacing: .16em; }
}

/* =====================================================================
   HOME · WHY CHOOSE US
   ===================================================================== */
.why-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.why-intro { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 26px; }
.why-intro .lead { color: var(--muted-light); }
.loupe { position: relative; width: min(100%, 420px); aspect-ratio: 1; margin-top: 16px; }
.loupe .loupe-img { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 40px 70px -30px rgba(0, 42, 32, .6), inset 0 0 0 1px rgba(0, 0, 0, .1); }
.loupe .loupe-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--lz, 1.25)); transition: transform .2s linear; }
.loupe .loupe-ring { position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); animation: spin 60s linear infinite; }
.loupe .loupe-ring circle { fill: none; stroke: var(--gold-ink); stroke-width: 1.5; stroke-dasharray: 8 7; }
.loupe .loupe-label { position: absolute; right: -6px; bottom: 12%; background: var(--forest); color: var(--ivory); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 8px 12px; border-radius: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
.features { list-style: none; margin: 0; padding: 0; }
.feature { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 22px; padding: 30px 0; border-bottom: 1.5px dashed rgba(122, 92, 48, .35); }
.feature:first-child { padding-top: 0; }
.feature .f-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--forest); color: var(--ivory); display: grid; place-items: center; transition: transform .6s var(--ease); }
.feature .f-icon svg { width: 34px; height: 34px; }
.feature:hover .f-icon { transform: rotate(-10deg) scale(1.05); }
.feature h3 { font-size: 1.18rem; font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; line-height: 1.2; margin-bottom: 6px; }
.feature p { color: var(--muted-light); max-width: 52ch; }
@media (max-width: 900px) { .why-grid { grid-template-columns: minmax(0, 1fr); } .why-intro { position: relative; top: 0; } .loupe { width: min(76vw, 340px); } }

/* =====================================================================
   HOME · HOW IT WORKS
   ===================================================================== */
.process { position: relative; }
.process-wrap { position: relative; }
.process-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; list-style: none; margin: 0; padding: 0; }
.process-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.process-svg .ps-base { fill: none; stroke: rgba(243, 238, 229, .12); stroke-width: 2; stroke-dasharray: 10 8; }
.process-svg .ps-thread { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 10 8; }
.process-svg .ps-needle { color: var(--gold-light); }
.step { position: relative; z-index: 1; display: grid; gap: 16px; align-content: start; }
.step-node { position: relative; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); border: 1.5px solid rgba(243, 238, 229, .2); transition: border-color .6s, background-color .6s, transform .6s var(--ease); }
.step-node svg { width: 38px; height: 38px; color: var(--ivory); }
.step.is-on .step-node { border-color: var(--gold); background: var(--forest-2); transform: scale(1.06); }
.step.is-on .step-node svg { color: var(--gold-light); }
.step-num { font-size: clamp(3rem, 5vw, 4.4rem); font-weight: 900; line-height: .9; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(199, 154, 91, .8); }
.step h3 { font-size: 1.2rem; font-weight: 800; text-transform: uppercase; line-height: 1.2; }
.step p { color: var(--muted-dark); font-size: .98rem; max-width: 30ch; }
@media (max-width: 960px) {
  .process-steps { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-left: 0; }
  .step { grid-template-columns: 84px minmax(0, 1fr); column-gap: 24px; }
  .step > :not(.step-node) { grid-column: 2; }
  .step-node { grid-row: 1 / span 3; }
}

/* =====================================================================
   HOME · BUILDER
   ===================================================================== */
.builder { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.mat-panel {
  --inch: 60px;
  position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 3.3; background-color: #0C4A39; color: var(--ivory);
  box-shadow: 0 50px 80px -40px rgba(0, 42, 32, .7), inset 0 0 0 1px rgba(0, 0, 0, .2);
}
.mat-panel::before { /* cutting mat grid: 1 in cells with 1/4 in ticks */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(243, 238, 229, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 238, 229, .16) 1px, transparent 1px),
    linear-gradient(rgba(243, 238, 229, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 238, 229, .05) 1px, transparent 1px),
    radial-gradient(80% 70% at 50% 45%, rgba(0, 80, 61, .9), rgba(0, 42, 32, .95));
  background-size: var(--inch) var(--inch), var(--inch) var(--inch), calc(var(--inch) / 4) calc(var(--inch) / 4), calc(var(--inch) / 4) calc(var(--inch) / 4), 100% 100%;
  background-position: var(--mat-off, 0) var(--mat-off, 0);
}
.mat-panel .ruler { position: absolute; left: 0; right: 0; top: 0; height: 26px; display: flex; font-size: .62rem; font-weight: 600; color: rgba(243, 238, 229, .6); background: rgba(0, 28, 21, .45); letter-spacing: .06em; }
.mat-panel .ruler span { flex: none; width: var(--inch); padding: 6px 0 0 5px; border-left: 1px solid rgba(243, 238, 229, .3); }
.mat-panel .stage-host { position: absolute; inset: 26px 0 0 0; touch-action: pan-y; cursor: grab; }
.mat-panel .stage-host:active { cursor: grabbing; }
.mat-panel .stage-fallback { position: absolute; left: 50%; top: 52%; width: 56%; transform: translate(-50%, -50%); filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .4)); }
.mat-hud { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px; pointer-events: none; }
.mat-hud > * { pointer-events: auto; }
.spec-pill { display: inline-flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 14px; border-radius: 8px; background: rgba(0, 28, 21, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border: 1px solid rgba(243, 238, 229, .12); }
.spec-pill b { color: var(--gold-light); font-weight: 600; }
.hud-btns { display: flex; gap: 8px; }
.hud-btn { min-height: 40px; padding: 8px 14px; border-radius: 8px; background: rgba(0, 28, 21, .72); border: 1px solid rgba(243, 238, 229, .2); color: var(--ivory); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.hud-btn:hover { border-color: var(--gold); }
.hud-btn svg { width: 16px; height: 16px; }
.mat-hint { position: absolute; right: 16px; top: 40px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 238, 229, .6); display: inline-flex; gap: 8px; align-items: center; }
.mat-hint svg { width: 18px; height: 18px; }
.scale-note { position: absolute; left: 16px; top: 40px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }
.controls { display: grid; gap: 26px; }
.ctrl { display: grid; gap: 12px; border: 0; padding: 0; margin: 0; min-width: 0; }
.ctrl legend, .ctrl > .label { padding: 0; display: flex; align-items: baseline; gap: 12px; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dark); margin-bottom: 12px; }
.ctrl legend .n, .ctrl > .label .n { color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.ctrl legend .v { margin-left: auto; letter-spacing: .06em; color: var(--muted-light); font-weight: 500; text-transform: none; font-size: .82rem; }
.opt-grid.mats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt-grid.shapes { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.opt-grid.shapes .opt-face { flex-direction: column; justify-content: center; gap: 6px; min-height: 76px; padding: 8px 4px; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.opt-grid.chips { display: flex; flex-wrap: wrap; }
.opt-grid.chips .opt-face { min-height: 44px; padding: 8px 14px; font-size: .8rem; }
.size-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: end; }
.size-row .x { padding-bottom: 14px; font-weight: 600; color: var(--muted-light); }
.qty-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.qty-row .input { width: 140px; }
.art-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.builder-cta { display: grid; gap: 14px; padding-top: 8px; border-top: 1.5px dashed rgba(122, 92, 48, .35); }
.builder-cta .summary { font-size: .9rem; color: var(--muted-light); }
@media (max-width: 1000px) {
  .builder { grid-template-columns: minmax(0, 1fr); }
  .mat-panel { position: relative; top: 0; }
}
@media (max-width: 620px) {
  .opt-grid.shapes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .opt-grid.mats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opt-grid.mats .opt-face { padding: 8px 10px; gap: 8px; font-size: .84rem; }
  .opt-grid.mats .opt .sw { width: 28px; height: 28px; }
  .mat-hint { display: none; }
  .mat-panel { aspect-ratio: 1 / 1.12; }
  .mat-hud { left: 10px; right: 10px; bottom: 10px; align-items: center; }
  .spec-pill { gap: 2px 10px; padding: 7px 10px; font-size: .6rem; max-width: calc(100% - 58px); }
  .hud-btn span { display: none; }
  .hud-btn { width: 44px; height: 44px; padding: 0; justify-content: center; }
}

/* =====================================================================
   HOME · GALLERY PREVIEW (horizontal, pinned on desktop)
   ===================================================================== */
.hscroll { position: relative; }
.hscroll-sticky { position: relative; }
.hscroll-track { display: flex; gap: 22px; padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.hscroll-track::-webkit-scrollbar { display: none; }
.hs-item { flex: none; width: min(78vw, 440px); scroll-snap-align: center; margin: 0; }
.hs-item .hs-img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: #222; box-shadow: 0 30px 60px -35px rgba(0, 0, 0, .9); }
.hs-item .hs-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hs-item:hover .hs-img img { transform: scale(1.05); }
.hs-item figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; font-size: .84rem; }
.hs-item figcaption b { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hs-item figcaption span { color: var(--muted-dark); }
.hs-item.wide { width: min(90vw, 680px); }
.hs-item.wide .hs-img { aspect-ratio: 16 / 11; }
.hs-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 44px; }
.hs-progress { flex: 1; max-width: 420px; height: 2px; background: rgba(243, 238, 229, .12); position: relative; overflow: hidden; }
.hs-progress i { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 12px); transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (min-width: 1081px) and (hover: hover) {
  .hscroll.is-pinned { height: var(--hs-h, 300vh); }
  .hscroll.is-pinned .hscroll-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: calc(var(--header-h) - 8px); }
  .hscroll.is-pinned .sec-head { margin-bottom: 24px !important; }
  .hscroll.is-pinned .hscroll-track { overflow: visible; scroll-snap-type: none; will-change: transform; padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
  .hscroll.is-pinned .hs-item { width: min(34vw, 460px); }
  .hscroll.is-pinned .hs-item.wide { width: min(52vw, 720px); }
  .hscroll.is-pinned .hs-item .hs-img { aspect-ratio: auto; height: min(50vh, 520px); }
  .hscroll.is-pinned .hs-foot { margin-top: 26px; }
}

/* =====================================================================
   INNER PAGE HERO
   ===================================================================== */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-top: calc(var(--header-h) + clamp(48px, 7vw, 110px)); padding-bottom: clamp(56px, 8vw, 120px); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(55% 70% at 78% 40%, rgba(0, 80, 61, .9), transparent 70%); }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.ph-copy { display: grid; gap: 26px; }
.ph-copy--wide { max-width: 1000px; }
.js .ph-in { animation: rise 1.1s var(--ease) both; }
.js .ph-in:nth-child(2) { animation-delay: .08s; }
.js .ph-in:nth-child(3) { animation-delay: .18s; }
.js .hero-copy > .rv, .js .hero-copy > .rv-lines .line-mask > span { animation: rise 1.1s var(--ease) both; }
.js .hero-copy > .rv-lines .line-mask:nth-child(1) > span { animation-name: lineup; animation-delay: .05s; }
.js .hero-copy > .rv-lines .line-mask:nth-child(2) > span { animation-name: lineup; animation-delay: .13s; }
.js .hero-copy > .rv-lines .line-mask:nth-child(3) > span { animation-name: lineup; animation-delay: .21s; }
.js .hero-copy > .lead { animation-delay: .35s; }
.js .hero-copy > .btn-row { animation-delay: .45s; }
.js .hero-copy > .hero-note { animation-delay: .55s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes lineup { from { transform: translateY(105%); } to { transform: none; } }
.page-hero--compact { padding-bottom: clamp(48px, 6vw, 90px); }

/* services fan */
.fan { position: relative; height: clamp(300px, 34vw, 480px); perspective: 1200px; }
.fan img { position: absolute; left: 50%; top: 58%; width: clamp(130px, 13vw, 200px); transform-origin: 50% 330%;
  transform: translate(-50%, -50%) rotate(calc((var(--i) - 2.5) * 9.5deg)) translateY(calc(var(--fy, 0) * 1px));
  filter: drop-shadow(0 24px 26px rgba(0, 0, 0, .4)); transition: transform .9s var(--ease); }
.js .fan img { animation: fanin 1.4s var(--ease) both; animation-delay: calc(var(--i) * 70ms + .2s); }
@keyframes fanin { from { transform: translate(-50%, -50%) rotate(0deg) translateY(40px); opacity: 0; } }
.fan:hover img { transform: translate(-50%, -50%) rotate(calc((var(--i) - 2.5) * 10.5deg)) translateY(calc(var(--fy, 0) * 1px - 6px)); }
@media (max-width: 900px) { .ph-grid { grid-template-columns: minmax(0, 1fr); } .fan { height: 280px; } }
@media (max-width: 600px) { .fan { height: 220px; } .fan img { width: 92px; transform-origin: 50% 360%; transform: translate(-50%, -50%) rotate(calc((var(--i) - 2.5) * 8.5deg)); } }

/* sticky material index */
.mat-index { position: relative; margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line-on-dark); }
.mat-index ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 16px 0; list-style: none; margin: 0; }
.mat-index ul::-webkit-scrollbar { display: none; }
.mat-index a { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 10px 14px; border-radius: var(--radius); text-decoration: none; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(243, 238, 229, .8); border: 1px solid transparent; transition: .3s; }
.mat-index a i { width: 22px; height: 22px; border-radius: 50%; background-size: cover; box-shadow: 0 0 0 1px rgba(243, 238, 229, .2); }
.mat-index a:hover, .mat-index a.is-on { color: var(--ivory); border-color: rgba(199, 154, 91, .5); background: rgba(0, 0, 0, .18); }

/* =====================================================================
   SERVICES SHOWCASE (sticky 3D stage + scrolling material stories)
   ===================================================================== */
.showcase { position: relative; }
/* each material: copy and buttons on the left, close-up and features on the right */
.svc { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 5.5vw, 88px); align-items: center; padding-block: clamp(64px, 8vw, 110px); border-bottom: 1px solid var(--line-on-dark); scroll-margin-top: 40px; }
.svc-copy { display: grid; gap: 24px; align-content: start; }
.svc-copy .btn-row { margin-top: 6px; }
.svc-media { display: grid; gap: 26px; align-content: start; }
.svc:last-child { border-bottom: 0; }
.svc-h { display: grid; gap: 14px; }
.svc-kicker { font-size: .82rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory); }
.svc-intro { font-size: var(--fs-lead); color: var(--muted-dark); max-width: 48ch; line-height: 1.6; }
.svc-macro { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.svc-macro img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--mz, 1.12)); transition: transform .15s linear; }
.svc-macro figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 6px; background: rgba(0, 0, 0, .55); font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.svc-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.svc-feats li { display: grid; gap: 2px; padding-left: 22px; position: relative; }
.svc-feats li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border: 1.5px solid var(--gold); border-radius: 50%; }
.svc-feats b { font-weight: 700; font-size: .92rem; }
.svc-feats span { color: var(--muted-dark); font-size: .84rem; line-height: 1.5; }
.svc-apps { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.svc-apps .label { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-right: 6px; }
.svc-apps ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.svc-apps li { padding: 6px 12px; border-radius: 6px; border: 1px solid var(--line-on-dark); font-size: .82rem; }
.svc .btn-row { align-items: center; gap: 22px; }
@media (max-width: 900px) { .svc { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .svc-feats { grid-template-columns: minmax(0, 1fr); } }

/* compare */
.compare { display: grid; gap: 28px; }
.cmp-pickers { display: grid; gap: 14px; }
.cmp-pick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cmp-pick .label { width: 64px; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.cmp-cards { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; align-items: stretch; }
.cmp-vs { align-self: center; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--gold-light); font-weight: 800; text-transform: uppercase; font-size: .8rem; letter-spacing: .1em; }
.cmp-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(18px, 2.4vw, 32px); box-shadow: 0 30px 60px -44px rgba(0, 42, 32, .6); border: 1px solid var(--line-on-light); transition: transform .5s var(--ease); }
.cmp-card.is-swap { animation: swap .6s var(--ease); }
@keyframes swap { 0% { transform: rotateY(0); } 50% { transform: rotateY(8deg) scale(.98); opacity: .6; } 100% { transform: none; } }
.cmp-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.cmp-head img { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .25)); }
.cmp-head h3 { font-size: 1.5rem; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; }
.cmp-rows > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-top: 1px solid var(--line-on-light); }
.cmp-rows dt { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); padding-top: 3px; }
.cmp-rows dd { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; color: var(--text-dark); font-size: .95rem; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--forest); }
.dots i.on { background: var(--forest); }
.cmp-all summary { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); list-style: none; min-height: 44px; }
.cmp-all summary::-webkit-details-marker { display: none; }
.cmp-all summary svg { width: 18px; height: 18px; transition: transform .3s; }
.cmp-all[open] summary svg { transform: rotate(90deg); }
.table-scroll { overflow-x: auto; margin-top: 12px; border-radius: var(--radius-lg); border: 1px solid var(--line-on-light); background: #fff; }
.table-scroll table { border-collapse: collapse; min-width: 980px; width: 100%; font-size: .9rem; }
.table-scroll th, .table-scroll td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line-on-light); vertical-align: top; }
.table-scroll thead th { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); background: var(--offwhite); }
.table-scroll tbody th { font-weight: 800; text-transform: uppercase; font-size: .86rem; }
.table-scroll tbody tr:hover { background: rgba(0, 61, 47, .04); }
.help-box { margin-top: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-lg); border: 1.5px dashed rgba(122, 92, 48, .45); }
.help-box > div { display: grid; gap: 10px; max-width: 56ch; }
@media (max-width: 760px) { .cmp-cards { grid-template-columns: minmax(0, 1fr); } .cmp-vs { justify-self: center; } .cmp-rows > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

.faq-wrap { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   GALLERY
   ===================================================================== */
.page-hero--gallery .gal-scatter { position: absolute; right: 0; top: 0; bottom: 0; width: 44%; pointer-events: none; }
.gal-scatter img { position: absolute; width: clamp(110px, 13vw, 200px); filter: drop-shadow(0 24px 24px rgba(0, 0, 0, .4)); transition: transform .2s linear; }
.gal-scatter img:nth-child(1) { right: 44%; top: 30%; }
.gal-scatter img:nth-child(2) { right: 12%; top: 18%; width: clamp(140px, 16vw, 250px); }
.gal-scatter img:nth-child(3) { right: 22%; bottom: 8%; }
@media (max-width: 900px) { .gal-scatter { display: none; } }
.gallery-sec { position: relative; padding-bottom: clamp(80px, 10vw, 140px); }
.filter-bar { position: sticky; top: 70px; z-index: 20; background: rgba(21, 26, 24, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--line-on-dark); margin-bottom: 36px; }
.filter-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 2px; }
.filters::-webkit-scrollbar { display: none; }
.filters .chip { flex: none; }
.filters .count { opacity: .6; font-size: .72rem; }
.filter-status { font-size: .8rem; color: var(--muted-dark); white-space: nowrap; }
@media (max-width: 760px) { .filter-status { display: none; } .filter-bar { top: 72px; } }
.masonry { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 250px); grid-auto-flow: dense; gap: 16px; }
.g-item { position: relative; display: block; padding: 0; margin: 0; border: 0; border-radius: var(--radius-lg); overflow: hidden; background: #222; text-align: left; color: var(--ivory); transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity .5s; box-shadow: 0 20px 40px -30px rgba(0, 0, 0, .9); }
.g-item.g-tall { grid-row: span 2; }
.g-item.g-wide { grid-column: span 2; }
.g-item.g-big { grid-column: span 2; grid-row: span 2; }
.g-img { position: absolute; inset: 0; }
.g-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.g-item:hover, .g-item:focus-visible { transform: translateY(-6px); box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(199, 154, 91, .5); }
.g-item:hover .g-img img, .g-item:focus-visible .g-img img { transform: scale(1.06); }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2px 12px; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); transform: translateY(10px); opacity: 0; transition: .5s var(--ease); }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { transform: none; opacity: 1; }
@media (hover: none) { .g-cap { transform: none; opacity: 1; } }
.g-mat { grid-column: 1; font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.g-title { grid-column: 1; font-weight: 700; font-size: 1rem; }
.g-open { grid-column: 2; grid-row: 1 / span 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(243, 238, 229, .5); display: grid; place-items: center; }
.g-open svg { width: 18px; height: 18px; }
.g-item.is-out { display: none; }
.g-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(24px, 3vw, 44px); border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--forest), var(--forest-2)); border: 1.5px dashed rgba(199, 154, 91, .45); grid-row: span 1; min-height: 100%; }
.g-cta > div { display: grid; gap: 12px; }
@media (max-width: 1000px) { .masonry { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 44vw; gap: 10px; } .g-item.g-big, .g-item.g-wide { grid-column: span 2; } .g-cta { grid-row: span 2; } }

/* lightbox */
.lightbox { width: min(1180px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--deep); color: var(--ivory); overflow: hidden; box-shadow: 0 60px 120px -30px rgba(0, 0, 0, .9); }
.lightbox::backdrop { background: rgba(0, 12, 9, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox[open] { animation: lbIn .6s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.lb-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); min-height: min(720px, calc(100vh - 32px)); }
.lb-stage { position: relative; background: radial-gradient(70% 60% at 50% 45%, #0E4A3A, #02201A 80%); min-height: 380px; }
.lb-host { position: absolute; inset: 0; touch-action: pan-y; cursor: grab; }
.lb-host .stage-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lb-tools { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.lb-tools .hud-btn[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-light); }
.lb-hint { position: absolute; right: 16px; top: 16px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 238, 229, .6); display: inline-flex; gap: 8px; align-items: center; }
.lb-hint svg { width: 18px; height: 18px; }
.lb-info { display: grid; align-content: center; gap: 18px; padding: clamp(24px, 3.4vw, 48px); overflow-y: auto; }
.lb-info .muted { color: var(--muted-dark); }
.lb-nav { display: flex; align-items: center; gap: 12px; font-size: .84rem; color: var(--muted-dark); }
.lb-close { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(243, 238, 229, .3); background: rgba(0, 0, 0, .35); color: var(--ivory); display: grid; place-items: center; z-index: 3; }
.lb-close svg { width: 20px; height: 20px; }
.lb-close:hover { border-color: var(--gold); }
@media (max-width: 860px) {
  .lb-inner { grid-template-columns: minmax(0, 1fr); }
  .lb-stage { min-height: 52vh; }
  .lb-hint { left: 16px; right: auto; }
}

/* =====================================================================
   PRICING
   ===================================================================== */
.stack-visual { position: relative; height: clamp(280px, 30vw, 440px); }
.stack-visual img { position: absolute; width: 52%; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .45)); transition: transform .2s linear; }
.stack-visual img:nth-child(1) { left: 2%; top: 26%; transform: rotate(-10deg); }
.stack-visual img:nth-child(2) { left: 26%; top: 6%; }
.stack-visual img:nth-child(3) { right: 0; top: 34%; width: 44%; }
.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; perspective: 1400px; }
.pkg { --rx: 0deg; --ry: 0deg; position: relative; display: flex; flex-direction: column; gap: 24px; padding: clamp(26px, 2.6vw, 40px); border-radius: 18px; isolation: isolate; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .8s var(--ease), box-shadow .6s var(--ease); }
.pkg::before { content: ""; position: absolute; inset: 9px; border-radius: 12px; border: 1.8px dashed var(--pkg-stitch, rgba(0, 61, 47, .35)); pointer-events: none; }
.pkg-top { display: grid; gap: 10px; }
.pkg-kicker { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.pkg-name { font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; line-height: 1; }
.pkg-ideal { font-size: .92rem; line-height: 1.5; }
.pkg-ideal span { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; }
.pkg-price { display: grid; gap: 2px; padding: 16px 0; border-block: 1px solid var(--pkg-line, var(--line-on-light)); font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
.pkg-price span { font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.pkg-specs { display: grid; gap: 14px; flex: 1; }
.pkg-specs > div { display: grid; gap: 2px; }
.pkg-specs dt { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .72; }
.pkg-specs dd { font-size: .95rem; line-height: 1.45; }
/* starter: cream twill with a merrow-style rolled edge */
.pkg--starter { background: repeating-linear-gradient(135deg, rgba(0, 0, 0, .025) 0 1.5px, transparent 1.5px 4px), #F8F3EA; color: var(--text-dark); box-shadow: 0 0 0 7px #E6DCC8, 0 0 0 8.5px rgba(0, 0, 0, .06), 0 40px 60px -40px rgba(0, 42, 32, .5); }
/* business: embroidered forest with gold satin border */
.pkg--business { --pkg-stitch: rgba(228, 185, 121, .55); --pkg-line: rgba(243, 238, 229, .16); background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 5px), linear-gradient(160deg, #0B4839, #002A20); color: var(--ivory); box-shadow: 0 0 0 7px var(--gold), 0 0 0 9px #8E6A38, 0 50px 80px -40px rgba(0, 42, 32, .8); transform: translateY(-14px) rotateX(var(--rx)) rotateY(var(--ry)); }
.pkg--business .pkg-kicker, .pkg--business .pkg-specs dt, .pkg--business .pkg-ideal span, .pkg--business .pkg-price span { color: var(--gold-light); opacity: 1; }
/* bulk: leather with stitched edge */
.pkg--bulk { --pkg-stitch: rgba(233, 221, 196, .7); --pkg-line: rgba(243, 238, 229, .2); background: linear-gradient(rgba(40, 22, 10, .38), rgba(40, 22, 10, .52)), url(../assets/renders/tex-leather.webp) center / cover; color: #FBF4E8; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), 0 40px 60px -40px rgba(40, 22, 10, .8); }
.pkg--bulk .pkg-name { text-shadow: 0 -1px 0 rgba(0, 0, 0, .45), 0 1px 0 rgba(255, 255, 255, .12); }
.pkg-tag { position: absolute; top: -18px; right: 28px; z-index: 2; }
.pkg-tag span { display: block; padding: 10px 16px 12px; background: repeating-linear-gradient(90deg, #F3EEE5 0 2px, #E9E1D2 2px 3px); color: var(--forest); font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; border-radius: 3px 3px 0 0; box-shadow: 0 10px 16px -8px rgba(0, 0, 0, .5); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); }
@media (max-width: 1040px) { .packages { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; gap: 44px; } .pkg--business { transform: none; } }
.factors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1.5px dashed rgba(122, 92, 48, .4); }
.factors li { display: grid; gap: 8px; align-content: start; padding: 26px 22px 0 0; }
.factors .f-n { font-size: 2.4rem; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.3px var(--gold-ink); }
.factors h3 { font-size: 1.05rem; font-weight: 800; text-transform: uppercase; }
.factors p { color: var(--muted-light); font-size: .94rem; line-height: 1.55; }
@media (max-width: 900px) { .factors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; } }
.estimator { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.est-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.est-form .field label { color: var(--gold-light); }
.est-form .select { background-color: rgba(0, 0, 0, .18); color: var(--ivory); border-color: rgba(243, 238, 229, .22); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E4B979' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.est-form .select option { color: var(--text-dark); background: #fff; }
.est-form .unit-input .unit { color: var(--muted-dark); }
.est-result { display: grid; gap: 18px; padding: clamp(20px, 2.4vw, 32px); border-radius: var(--radius-lg); background: rgba(0, 20, 15, .4); border: 1px solid var(--line-on-dark); }
.est-preview { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: radial-gradient(70% 70% at 50% 45%, #0E4A3A, #02201A 85%); }
.est-preview .stage-fallback { position: absolute; left: 50%; top: 50%; width: 52%; transform: translate(-50%, -50%); }
.est-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-on-dark); font-size: .92rem; }
.est-list dt { color: var(--muted-dark); }
.est-list dd { text-align: right; font-weight: 600; }
.est-price dd { color: var(--gold-light); }
.est-note { font-size: .8rem; color: var(--muted-dark); }
@media (max-width: 900px) { .estimator { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 460px) { .est-form { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about-hero .bond-threads { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.bond-threads .bt { fill: none; stroke-linecap: round; stroke-width: 2; stroke-dasharray: 11 8; }
.bond-threads .bt-a { stroke: rgba(243, 238, 229, .4); }
.bond-threads .bt-b { stroke: rgba(199, 154, 91, .55); }
.bond-threads .bt-joined { stroke: var(--gold); stroke-width: 3; }
.bond { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
.bond-fallback { position: absolute; inset: 6%; }
.bond-fallback .half { position: absolute; inset: 0; width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .4)); }
.bond-fallback .half-a { clip-path: polygon(0 0, 78% 0, 22% 100%, 0 100%); }
.bond-fallback .half-b { clip-path: polygon(78% 0, 100% 0, 100% 100%, 22% 100%); }
.js .bond-fallback .half-a { animation: joinA 2.2s .3s var(--ease) both; }
.js .bond-fallback .half-b { animation: joinB 2.2s .3s var(--ease) both; }
@keyframes joinA { from { transform: translate(-16%, -10%) rotate(-8deg); } }
@keyframes joinB { from { transform: translate(16%, 10%) rotate(8deg); } }
.bond.is-live .bond-fallback { opacity: 0; transition: opacity .8s; }
.story { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.story-left { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 22px; }
.story-mark { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 16px; }
.story-mark img { width: 120px; height: 120px; filter: drop-shadow(0 16px 20px rgba(0, 42, 32, .35)); }
.story-mark figcaption { font-size: .9rem; color: var(--muted-light); max-width: 26ch; }
.story-body p + p, .faq-a p + p { margin-top: 1em; }
.story-body { display: grid; gap: 0; font-size: 1.08rem; color: var(--muted-light); max-width: 60ch; }
.story-body .story-lede { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 700; color: var(--text-dark); line-height: 1.3; letter-spacing: -.01em; margin-bottom: .6em; }
@media (max-width: 900px) { .story { grid-template-columns: minmax(0, 1fr); } .story-left { position: relative; top: 0; } }
.swatch-rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.swatch-rail a { display: grid; gap: 8px; justify-items: center; text-align: center; text-decoration: none; }
.swatch-rail .sr-img { width: 100%; max-width: 160px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px rgba(0, 42, 32, .6), 0 0 0 7.5px rgba(199, 154, 91, .5), 0 30px 40px -20px rgba(0, 0, 0, .7); transition: transform .7s var(--ease); margin-bottom: 12px; }
.swatch-rail .sr-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.swatch-rail a:hover .sr-img { transform: translateY(-8px) rotate(-6deg); }
.swatch-rail a:hover .sr-img img { transform: scale(1.15); }
.swatch-rail b { font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .95rem; }
.swatch-rail span:last-child { font-size: .82rem; color: var(--muted-dark); line-height: 1.45; max-width: 18ch; }
@media (max-width: 1100px) { .swatch-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 18px; } }
@media (max-width: 560px) { .swatch-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.proc-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.proc-intro { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 10px; }
.timeline-wrap { position: relative; }
.timeline { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(40px, 6vw, 72px); }
.tl-svg { position: absolute; left: 0; top: 0; width: 84px; height: 100%; overflow: visible; pointer-events: none; }
.tl-svg .tl-base { fill: none; stroke: var(--line-on-light); stroke-width: 2; stroke-dasharray: 9 7; }
.tl-svg .tl-thread { fill: none; stroke: var(--gold-ink); stroke-width: 2.6; stroke-linecap: round; }
.tl-step { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 26px; align-items: start; }
.tl-node { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--offwhite); border: 1.5px solid var(--line-on-light); color: var(--forest); transition: .6s var(--ease); z-index: 1; position: relative; }
.tl-node svg { width: 36px; height: 36px; }
.tl-step.is-on .tl-node { background: var(--forest); color: var(--gold-light); border-color: var(--forest); transform: scale(1.06); }
.tl-k { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.tl-step h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.05; margin: 4px 0 8px; }
.tl-step p { color: var(--muted-light); max-width: 48ch; }
@media (max-width: 900px) { .proc-grid { grid-template-columns: minmax(0, 1fr); } .proc-intro { position: relative; top: 0; } .tl-step { grid-template-columns: 64px minmax(0, 1fr); gap: 18px; } .tl-node { width: 64px; height: 64px; } .tl-node svg { width: 28px; height: 28px; } .tl-svg { width: 64px; } }
.macro-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 20vw, 300px); gap: 16px; }
.mt { position: relative; border-radius: var(--radius-lg); overflow: hidden; margin: 0; background: #111; }
.mt-big { grid-column: span 2; grid-row: span 2; }
.mt-wide { grid-column: span 2; }
.mt img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.mt:hover img { transform: scale(1.18); }
.mt figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 18px 16px; display: grid; gap: 4px; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); }
.mt figcaption b { font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: 1.05rem; }
.mt figcaption span { font-size: .86rem; color: var(--muted-dark); line-height: 1.45; }
@media (max-width: 860px) { .macro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 46vw; } .mt-big { grid-column: span 2; grid-row: span 1; } }
.values-wrap { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 48px; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.values li { padding: 26px 0; border-top: 1.5px dashed rgba(122, 92, 48, .4); display: grid; gap: 6px; }
.values h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.05; transition: color .3s; }
.values li:hover h3 { color: var(--emerald); }
.values p { color: var(--muted-light); }
@media (max-width: 860px) { .values-wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .values { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   CONTACT / QUOTE
   ===================================================================== */
.quote-sec { position: relative; padding-block: clamp(48px, 7vw, 110px); }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.quote-form { display: grid; gap: 28px; background: #fff; border-radius: 14px; padding: clamp(22px, 3.4vw, 52px); box-shadow: 0 50px 90px -60px rgba(0, 42, 32, .6); border: 1px solid var(--line-on-light); }
.q-progress { display: grid; gap: 12px; }
.q-count { display: flex; align-items: baseline; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--muted-light); }
.q-count b { font-size: 1.6rem; font-weight: 900; color: var(--forest); }
.q-count-label { margin-left: auto; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.q-bar { position: relative; height: 3px; background: rgba(0, 61, 47, .1); border-radius: 3px; overflow: hidden; }
.q-bar i { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--forest) 0 10px, var(--gold) 10px 14px); transform-origin: left; transform: scaleX(var(--qp, .1667)); transition: transform .7s var(--ease); }
.q-step { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 20px; }
.js .q-step.is-entering { animation: stepIn .6s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
.q-title { padding: 0; font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.05; color: var(--text-dark); margin-bottom: 8px; }
.q-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.q-cards--backing { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.q-card { position: relative; }
.q-card input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.q-face { position: relative; display: grid; gap: 4px; align-content: start; justify-items: start; height: 100%; padding: 14px; border-radius: 12px; border: 1.5px solid var(--line-on-light); background: var(--offwhite); transition: .3s var(--ease); }
.q-face img { width: 100%; aspect-ratio: 1; object-fit: contain; margin-bottom: 6px; transition: transform .6s var(--ease); filter: drop-shadow(0 12px 12px rgba(0, 0, 0, .2)); }
.q-face b { font-weight: 800; text-transform: uppercase; font-size: .9rem; letter-spacing: .02em; }
.q-face > span:not(.check):not(.unsure-ico) { font-size: .78rem; color: var(--muted-light); line-height: 1.4; }
.q-face .unsure-ico { width: 44px; height: 44px; color: var(--forest); margin-bottom: 8px; }
.q-card--unsure .q-face .unsure-ico { width: 100%; height: auto; aspect-ratio: 1; display: grid; place-items: center; }
.q-card--unsure .q-face .unsure-ico svg { width: 46%; }
.q-face .check { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--forest); color: var(--ivory); display: grid; place-items: center; opacity: 0; transform: scale(.4); transition: .35s var(--ease); }
.q-face .check svg { width: 13px; height: 13px; }
.q-card input:hover + .q-face { border-color: rgba(0, 61, 47, .45); transform: translateY(-3px); }
.q-card input:hover + .q-face img { transform: rotate(-4deg) scale(1.04); }
.q-card input:checked + .q-face { border-color: var(--forest); background: #fff; box-shadow: inset 0 0 0 1px var(--forest), 0 18px 30px -20px rgba(0, 61, 47, .6); }
.q-card input:checked + .q-face .check { opacity: 1; transform: none; }
.q-card input:focus-visible + .q-face { outline: 2px solid var(--forest); outline-offset: 3px; }
@media (max-width: 760px) { .q-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .q-cards--backing { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.unit-toggle { display: flex; gap: 8px; }
.unit-toggle .opt-face { min-height: 44px; padding: 8px 16px; font-size: .8rem; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.size-scale { display: grid; gap: 10px; }
.size-scale .ss-box-wrap { position: relative; }
.ss-box { --inch: 34px; position: relative; display: grid; place-items: center; min-width: 40px; min-height: 40px; max-width: 100%; border-radius: 10px; background: var(--forest); color: var(--ivory); font-size: .78rem; font-weight: 600; letter-spacing: .06em; transition: width .5s var(--ease), height .5s var(--ease), border-radius .5s; box-shadow: 0 0 0 3px var(--offwhite), 0 0 0 4.5px rgba(199, 154, 91, .8); }
.ss-box.is-circle { border-radius: 50%; }
.size-scale { padding: 18px; border-radius: 12px; background-color: var(--offwhite); background-image: linear-gradient(rgba(0, 61, 47, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 61, 47, .1) 1px, transparent 1px); background-size: 34px 34px; overflow: hidden; }
.qty-stepper { display: flex; gap: 8px; max-width: 320px; }
.qty-stepper .input { text-align: center; font-size: 1.3rem; font-weight: 700; }
.step-btn { flex: none; width: 52px; height: 52px; border-radius: var(--radius); border: 1.5px solid var(--line-on-light); background: var(--offwhite); display: grid; place-items: center; color: var(--forest); }
.step-btn svg { width: 20px; height: 20px; }
.step-btn:hover { border-color: var(--forest); }
.dropzone { position: relative; border-radius: 14px; border: 2px dashed rgba(0, 61, 47, .35); background: var(--offwhite); transition: .3s; overflow: hidden; }
.dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dz-face { display: grid; justify-items: center; gap: 8px; padding: clamp(28px, 5vw, 56px) 20px; text-align: center; pointer-events: none; }
.dz-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--gold-light); transition: transform .5s var(--ease); }
.dz-icon svg { width: 28px; height: 28px; }
.dz-title { font-size: 1.05rem; color: var(--text-dark); }
.dz-title label { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.dz-types { font-size: .74rem; font-weight: 600; letter-spacing: .18em; color: var(--muted-light); }
.dropzone.is-over { border-color: var(--forest); background: #EEF3EF; }
.dropzone.is-over .dz-icon { transform: translateY(-6px) scale(1.06); }
.dropzone:focus-within { outline: 2px solid var(--forest); outline-offset: 3px; }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.file-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-on-light); background: #fff; font-size: .9rem; }
.file-list .fthumb { width: 44px; height: 44px; border-radius: 8px; flex: none; background: var(--offwhite) center / contain no-repeat; display: grid; place-items: center; color: var(--forest); }
.file-list .fthumb svg { width: 22px; height: 22px; }
.file-list .fname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.file-list .fsize { color: var(--muted-light); font-size: .8rem; }
.file-list button { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line-on-light); background: none; display: grid; place-items: center; }
.file-list button svg { width: 16px; height: 16px; }
.check-row { display: flex; align-items: center; gap: 10px; font-size: .95rem; min-height: 44px; cursor: pointer; }
.check-row input { width: 20px; height: 20px; accent-color: var(--forest); }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-fields .span-2 { grid-column: 1 / -1; }
@media (max-width: 600px) { .contact-fields { grid-template-columns: minmax(0, 1fr); } }
.q-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 22px; border-top: 1.5px dashed rgba(122, 92, 48, .35); }
.q-nav [data-q-next], .q-nav [data-q-submit] { margin-left: auto; }
.q-done { display: grid; gap: 18px; }
.quote-preview { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 0; border-radius: 14px; overflow: hidden; background: var(--forest); box-shadow: 0 50px 90px -50px rgba(0, 42, 32, .9); }
.qp-stage { position: relative; aspect-ratio: 1 / .9; background: radial-gradient(70% 70% at 50% 45%, #0E4A3A, #02201A 85%); touch-action: pan-y; }
.qp-stage .stage-fallback { position: absolute; left: 50%; top: 50%; width: 64%; transform: translate(-50%, -50%); filter: drop-shadow(0 24px 24px rgba(0, 0, 0, .4)); }
.qp-tag { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 6px; background: rgba(0, 28, 21, .7); border: 1px solid rgba(199, 154, 91, .4); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.qp-list { padding: 8px 22px 18px; }
.qp-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-on-dark); font-size: .9rem; }
.qp-list > div:last-child { border-bottom: 0; }
.qp-list dt { color: var(--muted-dark); }
.qp-list dd { font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 1000px) {
  .quote-grid { grid-template-columns: minmax(0, 1fr); }
  .quote-preview { position: relative; top: 0; order: -1; grid-template-columns: 150px minmax(0, 1fr); align-items: center; }
  .qp-stage { aspect-ratio: 1; }
  .qp-tag { display: none; }
  .qp-list { padding: 6px 16px; }
  .qp-list > div { padding: 7px 0; font-size: .82rem; }
}
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cc { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--line-on-dark); background: rgba(0, 0, 0, .14); }
.cc-k { display: inline-flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.cc-k svg { width: 18px; height: 18px; }
.cc-v { font-size: 1.05rem; font-weight: 600; overflow-wrap: anywhere; }
.cc .text-link { background: none; border: 0; padding: 0; justify-self: start; min-height: 32px; }
.cc-social { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cc-social a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.cc-social a svg { width: 14px; height: 14px; opacity: .6; }
.cc-social a:hover { color: var(--gold-light); }
@media (max-width: 1000px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   3D PREVIEW — hero: a patch on a mini cutting mat with size guides
   ===================================================================== */
.pv-visual { position: relative; display: grid; place-items: center; }
.pv-mat { --inch: clamp(40px, 4.4vw, 62px); position: relative; width: min(100%, 520px); aspect-ratio: 1.08; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(0, 0, 0, .25); transform: rotate(-2.5deg); }
.pv-mat::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(243, 238, 229, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 238, 229, .16) 1px, transparent 1px),
    linear-gradient(rgba(243, 238, 229, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 238, 229, .05) 1px, transparent 1px),
    radial-gradient(80% 70% at 50% 45%, #0C5A45, #06352A);
  background-size: var(--inch) var(--inch), var(--inch) var(--inch), calc(var(--inch) / 4) calc(var(--inch) / 4), calc(var(--inch) / 4) calc(var(--inch) / 4), 100% 100%; }
.pv-mat img { position: absolute; left: -4.5%; top: -10%; width: 109%; max-width: none; filter: drop-shadow(0 26px 26px rgba(0, 0, 0, .35)); transition: transform .2s linear; }
.pv-dim { position: absolute; display: flex; align-items: center; gap: 8px; color: var(--gold-light); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.pv-dim i { flex: 1; border-top: 1.5px dashed rgba(228, 185, 121, .7); }
.pv-dim-w { left: 18%; right: 18%; top: 6%; }
.pv-dim-h { top: 47%; right: 7.5%; width: 69%; transform: translate(50%, -50%) rotate(90deg); }
.pv-mat .spec-pill { position: absolute; left: 16px; bottom: 16px; color: var(--ivory); }
@media (max-width: 900px) { .pv-mat { width: min(100%, 420px); } }
@media (max-width: 560px) { .pv-mat .spec-pill { left: 10px; right: 10px; bottom: 10px; font-size: .62rem; gap: 4px 10px; } }

/* =====================================================================
   FORM HELPERS (quote form, newsletter)
   ===================================================================== */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-banner { padding: 16px 18px; border-radius: 10px; background: rgba(0, 80, 61, .1); border: 1.5px solid rgba(0, 80, 61, .35); color: var(--text-dark); font-size: .95rem; line-height: 1.5; }
.form-banner.is-error { background: rgba(166, 62, 38, .08); border-color: rgba(166, 62, 38, .45); }
.is-dark .form-banner { background: rgba(228, 185, 121, .12); border-color: rgba(228, 185, 121, .45); color: var(--ivory); }

/* =====================================================================
   REVIEWS PAGE HERO
   ===================================================================== */
.rv-hero-visual { position: relative; height: clamp(280px, 30vw, 440px); }
.rv-hero-star { position: absolute; inset: 4% 12%; width: 76%; height: 92%; fill: none; stroke: rgba(228, 185, 121, .55); stroke-width: 1.4; stroke-dasharray: 7 6; stroke-linejoin: round; animation: spin 90s linear infinite; }
.rv-hero-visual img { position: absolute; width: 44%; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .45)); transition: transform .2s linear; }
.rv-hero-visual img:nth-of-type(1) { left: 28%; top: 10%; width: 48%; }
.rv-hero-visual img:nth-of-type(2) { left: 2%; bottom: 4%; width: 40%; }
.rv-hero-visual img:nth-of-type(3) { right: 0; bottom: 8%; width: 36%; }

/* =====================================================================
   TESTIMONIALS — "What our clients say about us"
   Centered heading, then a full-width row of stitched label cards,
   staggered up and down like patches pinned along a thread. With JS the
   row drifts slowly (drag, swipe or arrow keys to move it; hover, focus
   or the Pause button stops it). Without JS or with reduced motion it's
   a plain sideways-scrolling row.
   ===================================================================== */
.tm-sec { overflow: hidden; }
.tm-top { margin-bottom: clamp(36px, 5vw, 64px); }
.tm-top .display-l { font-size: clamp(2.4rem, 4.4vw, 4.1rem); }
.tm-top .sec-sub { max-width: 46ch; text-wrap: balance; }
.tm-eyebrow::after { content: ""; width: 34px; height: 2px; flex: none; background: repeating-linear-gradient(90deg, currentColor 0 7px, transparent 7px 11px); }

/* the moving row */
.tm-marquee { position: relative; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; outline: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.tm-marquee::-webkit-scrollbar { display: none; }
.tm-marquee.is-live { overflow: hidden; scroll-snap-type: none; touch-action: pan-y; cursor: grab; }
.tm-marquee.is-live.is-drag { cursor: grabbing; }
.tm-marquee.is-drag .tm-card { pointer-events: none; }
.tm-marquee:focus-visible { box-shadow: inset 0 0 0 2px var(--forest); }
.tm-rail { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: clamp(18px, 1.8vw, 28px); width: max-content; padding: 26px var(--gutter) 70px; will-change: transform; }
.is-live .tm-rail { padding-inline: 0; }
.tm-thread { position: absolute; left: 0; top: 50%; width: 100%; height: 190px; transform: translateY(-58%); pointer-events: none; overflow: visible; }
.tm-thread path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 10 8; stroke-linecap: round; opacity: .5; vector-effect: non-scaling-stroke; }

/* cards: stitched woven labels */
.tm-card { position: relative; flex: none; width: clamp(280px, 23vw, 340px); margin: 0; scroll-snap-align: center; display: grid; gap: 18px; align-content: start; padding: 30px 28px 26px; border-radius: 14px; background: #fff; color: var(--text-dark); box-shadow: 0 30px 60px -38px rgba(0, 42, 32, .55), 0 2px 0 rgba(0, 42, 32, .04); transition: transform .6s var(--ease), box-shadow .6s var(--ease); user-select: none; }
.tm-card::before { content: ""; position: absolute; inset: 9px; border-radius: 9px; border: 1.5px dashed rgba(122, 92, 48, .32); pointer-events: none; transition: border-color .4s; }
.tm-rail > .tm-card:nth-child(even) { margin-top: 52px; }
.tm-card:hover { transform: translateY(-6px); box-shadow: 0 44px 70px -40px rgba(0, 42, 32, .65); }
.tm-card:hover::before { border-color: rgba(122, 92, 48, .6); }
.tm-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tm-q { font-size: 4.4rem; line-height: .7; font-weight: 900; color: var(--forest); height: 34px; margin-top: 4px; }
.tm-stars { display: inline-flex; align-items: center; gap: 3px; }
.tm-stars svg { width: 16px; height: 16px; fill: rgba(21, 26, 24, .14); }
.tm-stars .on svg { fill: var(--gold); }
.tm-stars b { margin-left: 6px; font-size: .82rem; font-weight: 700; color: var(--forest); }
.tm-text { margin: 0; font-size: 1rem; line-height: 1.65; color: #25332E; }
.tm-text p { margin: 0; }
.tm-by { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line-on-light); }
.tm-by > div { display: grid; min-width: 0; line-height: 1.35; }
.tm-by b { font-weight: 800; font-size: .92rem; text-transform: uppercase; letter-spacing: .02em; overflow-wrap: anywhere; }
.tm-by > div > span { font-size: .84rem; color: var(--muted-light); }
.tm-by em { font-style: normal; font-size: .76rem; color: var(--gold-ink); font-weight: 600; margin-top: 2px; }

/* woven "sample" label sewn onto the corner */
.tm-sample { position: absolute; top: -10px; right: 22px; z-index: 1; }
.tm-sample span { display: block; padding: 7px 12px 9px; background: repeating-linear-gradient(90deg, var(--forest) 0 2px, #0A4636 2px 3px); color: var(--gold-light); font-size: .62rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; border-radius: 3px 3px 0 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); box-shadow: 0 8px 14px -8px rgba(0, 0, 0, .5); }

/* avatars: forest disc with a stitched gold ring */
.tm-av { position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--forest); display: grid; place-items: center; font-weight: 800; font-size: .82rem; letter-spacing: .04em; overflow: hidden; }
.tm-av > span { color: var(--gold-light); }
.tm-av::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 1.3px dashed rgba(228, 185, 121, .7); }
.tm-av img { width: 100%; height: 100%; object-fit: cover; }
.tm-av:has(img)::after { border-color: rgba(255, 255, 255, .55); }

/* footer row: who's reviewing + controls */
.tm-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; margin-top: 4px; }
.tm-people { display: flex; align-items: center; gap: 16px; }
.tm-faces { display: flex; flex: none; padding-left: 10px; }
.tm-faces > * { margin-left: -10px; box-shadow: 0 0 0 3px var(--ivory); }
.tm-people .tm-av { width: 46px; height: 46px; font-size: .74rem; }
.tm-sw { background: var(--ivory); }
.tm-sw::after { display: none; }
.tm-count { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--forest); font-weight: 800; font-size: .8rem; }
.tm-people p { margin: 0; display: grid; font-size: .84rem; line-height: 1.4; color: var(--muted-light); }
.tm-people p b { font-size: .95rem; font-weight: 800; color: var(--forest); }
.tm-controls { display: flex; align-items: center; gap: 12px 26px; flex-wrap: wrap; }
.tm-toggle { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px 0 16px; border-radius: var(--radius); border: 1.5px solid rgba(0, 61, 47, .35); background: transparent; color: var(--forest); font: inherit; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.tm-toggle[hidden] { display: none; }
.tm-toggle:hover { background: var(--forest); border-color: var(--forest); color: var(--ivory); }
.tm-toggle:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.tm-i { display: grid; width: 16px; height: 16px; }
.tm-i svg { width: 100%; height: 100%; }
.tm-i-play, .tm-toggle[data-paused="true"] .tm-i-pause { display: none; }
.tm-toggle[data-paused="true"] .tm-i-play { display: grid; }
.tm-empty { max-width: 560px; margin: 0 auto; text-align: center; padding: 28px; border-radius: 14px; border: 1.5px dashed rgba(122, 92, 48, .45); color: var(--muted-light); }

@media (max-width: 760px) {
  .tm-card { width: min(78vw, 310px); padding: 26px 22px 22px; }
  .tm-rail > .tm-card:nth-child(even) { margin-top: 30px; }
  .tm-rail { padding-bottom: 48px; }
  .tm-marquee { -webkit-mask-image: none; mask-image: none; }
  .tm-foot { flex-direction: column; align-items: flex-start; }
}

/* =====================================================================
   404
   ===================================================================== */
.nf { min-height: 80vh; display: flex; align-items: center; }
.nf .ph-grid { width: 100%; }
.nf-links { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.nf-links a { color: var(--gold-light); font-weight: 600; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.nf-links a:hover { text-decoration: underline; }
.nf-visual svg { width: 100%; overflow: visible; }
.nf-visual text { font-family: var(--font); fill: none; stroke: rgba(228, 185, 121, .75); stroke-width: 2; stroke-dasharray: 10 7; letter-spacing: -8px; }
.nf-visual path { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-dasharray: 9 7; stroke-linecap: round; }
