/* Gent's Formal Wear — "tech-forward tux" design system
   Dark canvas, champagne-gold signal color, glass panels, mono micro-labels.
   Type: Space Grotesk (display) · Inter (body) · JetBrains Mono (labels/data). */

/* Self-hosted variable fonts (latin), preloaded from index head; fallbacks are metric-matched to cut layout shift */
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("assets/fonts/space-grotesk.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/inter.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("assets/fonts/jetbrains-mono.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 101.24%; ascent-override: 96.8%; descent-override: 28.6%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 106.37%; ascent-override: 91.2%; descent-override: 22.6%; line-gap-override: 0%; }
@font-face { font-family: "JetBrains Mono Fallback"; src: local("Menlo"), local("Courier New"); size-adjust: 99.66%; ascent-override: 102.3%; descent-override: 30.1%; line-gap-override: 0%; }

:root {
  --bg: #08080b;
  --bg-2: #0e0e14;
  --bg-3: #15151d;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #f4f3f0;
  --text-2: #b9b8c2;
  --text-3: #83828f;
  --gold: #e3c27a;
  --gold-2: #f3dca3;
  --gold-3: #a98a4b;
  --cyan: #7fd7ff;
  --violet: #9d8cff;
  --ok: #8ee6a1;
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1280px;
  --pad: clamp(16px, 4vw, 48px);
  --display: "Space Grotesk", "Space Grotesk Fallback", system-ui, sans-serif;
  --sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "JetBrains Mono Fallback", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --glow: 0 0 0 1px rgba(227,194,122,.25), 0 10px 40px -10px rgba(227,194,122,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; font-family: var(--sans); font-size: 18px; line-height: 1.6;
  color: var(--text); background: var(--bg); overflow-x: clip;
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(157,140,255,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(227,194,122,.08), transparent 60%);
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.02; margin: 0; letter-spacing: -0.03em; }
h1 { font-size: clamp(42px, 6.4vw, 84px); }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: min(var(--max), 100% - 2 * var(--pad)); margin-inline: auto; }
.mono { font-family: var(--mono); }
.eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--text-2); max-width: 58ch; }
.grad { background: linear-gradient(92deg, #fff 0%, var(--gold-2) 55%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--gold); color: #000; padding: 10px 14px; z-index: 999; border-radius: var(--radius-sm); font-weight: 700; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text);
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.btn-primary { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #c9a65a); color: #141009; border-color: transparent; box-shadow: var(--glow); }
.btn-primary:hover { background: linear-gradient(135deg, #fff2cf, var(--gold-2) 55%, var(--gold)); box-shadow: 0 0 0 1px rgba(227,194,122,.4), 0 16px 48px -12px rgba(227,194,122,.6); }
.btn-ghost { background: transparent; }
.btn-lg { min-height: 60px; padding: 0 32px; font-size: 18px; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.call-pulse { position: relative; }
.call-pulse::after { content: ""; position: absolute; inset: -5px; border-radius: inherit; border: 1px solid var(--gold); opacity: 0; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.96); opacity: .8; } 70% { transform: scale(1.1); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Top bar + header ---------- */
.bar { background: linear-gradient(90deg, rgba(227,194,122,.16), rgba(157,140,255,.16)); border-bottom: 1px solid var(--line); text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 10px var(--pad); color: var(--text-2); }
.bar a { color: var(--gold); text-decoration: none; }
.bar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8,8,11,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 20px; min-height: 72px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
.brand-text { line-height: 1; padding-left: 12px; border-left: 1px solid var(--line-2); }
.brand-text small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-3); font-weight: 500; line-height: 1.6; white-space: nowrap; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0 0 0 8px; padding: 0; }
.nav-links a { display: inline-block; white-space: nowrap; padding: 10px 12px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--text-2); border-radius: 8px; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--panel-2); }
.nav-links a.accent { color: var(--gold); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.nav-phone { font-family: var(--mono); font-weight: 500; text-decoration: none; font-size: 14px; white-space: nowrap; color: var(--text-2); }
.nav-phone:hover { color: var(--text); }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); cursor: pointer; place-items: center; }
.burger span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px auto; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1040px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: grid; }
  .nav.is-open .nav-links { display: flex; flex-direction: column; position: absolute; left: calc(-1 * var(--pad)); right: calc(-1 * var(--pad)); top: 100%; background: rgba(8,8,11,.97); border-bottom: 1px solid var(--line); padding: 12px var(--pad) 22px; margin: 0; gap: 2px; }
  .nav.is-open .nav-links a { font-size: 20px; padding: 14px 10px; }
  .nav.is-open .nav-links li.mobile-cta { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
  .nav.is-open .nav-links li.mobile-cta a { flex: 1; min-width: 160px; text-align: center; }
}
@media (min-width: 1041px) { .mobile-cta { display: none; } }
@media (max-width: 1240px) { .brand-text { display: none; } .nav-links a { padding: 10px 9px; } }
@media (max-width: 480px) {
  .nav { gap: 12px; min-height: 64px; }
  .brand { min-width: 0; gap: 10px; }
  .brand img { height: 40px; }
  .brand-text { display: none; }
  .hide-xs { display: none; }
  .burger { flex-shrink: 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; overflow: clip; padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 88px); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; filter: saturate(.85) brightness(.62); transform: translate3d(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -10px), 0) scale(1.08); transition: transform .6s var(--ease); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,11,.92) 0%, rgba(8,8,11,.74) 42%, rgba(8,8,11,.38) 70%, rgba(8,8,11,.2) 100%), linear-gradient(180deg, rgba(8,8,11,.35), rgba(8,8,11,0) 30%, rgba(8,8,11,.1) 70%, rgba(8,8,11,1) 100%); }
@media (max-width: 980px) { .hero-bg img { position: absolute; left: 0; right: 0; bottom: 0; top: auto; height: 140%; object-position: 50% 100%; } .hero-bg::after { background: linear-gradient(180deg, rgba(8,8,11,.9) 0%, rgba(8,8,11,.78) 45%, rgba(8,8,11,.6) 75%, rgba(8,8,11,1) 100%); } }
.grid-lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
/* the AI Fit panel is taller than most screens: the headline starts at the top of the hero and rides along (sticky) instead of sinking to the panel's midpoint */
@media (min-width: 981px) { .hero-grid > div:first-child { position: sticky; top: calc(var(--hdr-h, 96px) + 28px); padding-top: 6px; } }
.hero h1 { margin-top: 18px; max-width: 13ch; text-wrap: balance; }
.hero .lede { margin-top: 22px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 28px; margin-top: 40px; justify-content: start; }
.stat .n { white-space: nowrap; font-family: var(--display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; letter-spacing: -0.03em; }
.stat .l { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-top: 2px; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 14px; } }

/* ---------- Glass panel / AI Fit ---------- */
.panel { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03)); border: 1px solid var(--line-2); border-radius: var(--radius); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08); }
.panel::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(227,194,122,.5), transparent 40%, transparent 60%, rgba(157,140,255,.4)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.aifit { padding: clamp(18px, 2.4vw, 28px); }
.aifit-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.aifit-title { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }
.aifit-title .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: blink 2s infinite; }  /* the small green "live" dot only; the colour swatches below are .dots .dot and must not blink */
@keyframes blink { 50% { opacity: .35; } }
.pill { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); }
.pill.gold { color: var(--gold); border-color: rgba(227,194,122,.45); }
button.pill { background: rgba(0,0,0,.3); cursor: pointer; transition: border-color .2s, color .2s; }
button.pill:hover { border-color: var(--gold); color: var(--gold); }
.aifit-body { padding-top: 16px; }

/* Body model (canvas) */
.bodyviz { position: relative; margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  background: radial-gradient(70% 90% at 50% 100%, rgba(227,194,122,.10), transparent 70%), linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.15)); }
.bodyviz.dragging { cursor: grabbing; }
.bodyviz-stage { position: relative; aspect-ratio: 4 / 5; background: #2a2119 url("assets/img/r/salon-800.webp") center / cover no-repeat; }   /* Semme's walnut fitting salon (Oct 24 2026): the model stands on its marble podium */
@media (min-width: 481px) { .bodyviz-stage { background-image: url("assets/img/r/salon-1122.webp"); } }
.bodyviz-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.16), rgba(0,0,0,0) 22%, rgba(0,0,0,0) 80%, rgba(0,0,0,.22)); }
.bodyviz canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.bv-power { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(244,243,240,.88); background: rgba(8,8,11,.6); border: 1px solid rgba(227,194,122,.4); border-radius: 999px; padding: 6px 10px; text-decoration: none; backdrop-filter: blur(4px); }
.bv-power b { color: var(--gold); font-weight: 800; }
.bv-power:hover, .bv-power:focus-visible { border-color: var(--gold); color: #fff; outline: none; }
.bodyviz[data-compact] .bv-power { right: 6px; bottom: 6px; padding: 4px 8px; font-size: 12px; }
.bodyviz[data-compact] .bv-power .pb { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* small stage: just the name, 'Powered by' stays for screen readers */
.aifit { min-width: 0; }
.bodyviz-hud { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 14px; border-top: 1px solid var(--line); background: rgba(0,0,0,.25); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); pointer-events: none; }
.bv-type { min-width: 0; line-height: 1.5; }
.bv-type b { color: var(--gold); font-weight: 600; }
.bv-k { opacity: .8; }
.bv-hint { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 480px) { .bodyviz-stage { aspect-ratio: 4 / 5; } .bodyviz-hud { flex-direction: column; align-items: flex-start; gap: 4px; } .bv-hint { white-space: normal; } .stat .n { font-size: 23px; } .hero-stats { gap: 10px; } }

/* Fine-tune + known sizes */
.fine { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.2); }
.fine summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; }
.fine summary::-webkit-details-marker { display: none; }
.fine summary::after { content: "+"; font-family: var(--mono); font-size: 16px; color: var(--gold); margin-left: auto; }
.fine[open] summary::after { content: "−"; }
.fine summary .lbl { color: var(--text-2); white-space: nowrap; font-size: 12px; }
.fine-grid .seg-wrap > .lbl { white-space: normal; line-height: 1.4; }
.fine-hint { font-size: 13px; color: var(--text-3); }
@media (max-width: 480px) { .fine-hint { display: none; } }
.fine summary:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; border-radius: 12px; }
.fine-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; padding: 0 14px 14px; }
.seg.small span { min-height: 40px; font-size: 14px; padding: 6px 8px; }
.seg.small label { min-width: 0; }
.known { margin-top: 12px; }
.known > .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); display: block; }
.f-row.three { grid-template-columns: 1fr 1fr 1fr; margin-top: 8px; }
.known .f-row.three + .f-row.three { margin-top: 10px; }
.known .f { display: flex; flex-direction: column; justify-content: flex-end; }
@media (max-width: 360px) { .known { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .known > .lbl { grid-column: 1 / -1; } .known .f-row.three { display: contents; } }
.known .f select { padding-left: 12px; padding-right: 30px; background-position: calc(100% - 16px) 55%, calc(100% - 10px) 55%; }
.fine-grid .seg-wrap:nth-child(5) { grid-column: 1 / -1; }   /* Rise is the fifth group: give it the full row instead of an orphan cell */
@media (max-width: 640px) { .fine-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .f-row.three { grid-template-columns: 1fr 1fr 1fr; gap: 8px; } .f-row.three .f input, .f-row.three .f select { padding: 12px 10px; font-size: 16px; } .known .f select { padding-right: 26px; background-position: calc(100% - 14px) 55%, calc(100% - 8px) 55%; } }

/* Style chips */
.seg-wrap + .seg-wrap { margin-top: 12px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 4px; margin: 0 -4px; padding-left: 4px; padding-right: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip { position: relative; flex: 0 0 auto; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span, .chip-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 14px 8px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(0,0,0,.28); color: var(--text-2); font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.chip i, .chip-btn i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); flex: 0 0 auto; }
.chip i.none { background: transparent; border-style: dashed; }
.chip input:checked + span, .chip-btn.on { border-color: var(--gold); color: var(--gold-2); background: rgba(227,194,122,.12); }
.chip input:focus-visible + span, .chip-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.res-wide .v.chips { font-size: 14px; margin-top: 8px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f-row + .f-row, .f-row + .seg-wrap, .seg-wrap + .f-row { margin-top: 12px; }
.f { display: flex; flex-direction: column; gap: 6px; }
.f label, .seg-wrap > .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.f input, .f select, .f textarea { font: inherit; font-size: 17px; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(0,0,0,.35); color: var(--text); width: 100%; min-height: 50px; }
.f select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.f input::placeholder, .f textarea::placeholder { color: var(--text-3); }
.f input:focus, .f select:focus, .f textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.seg { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.seg label { position: relative; flex: 1; min-width: 90px; display: flex; }   /* label is a flex box so its pill fills the row's height: a two-line pill no longer stands taller than its neighbours */
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; align-items: center; min-height: 46px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 10px; font-weight: 600; font-size: 15px; cursor: pointer; background: rgba(0,0,0,.25); color: var(--text-2); transition: background .2s, color .2s, border-color .2s; }
.seg input:checked + span { background: var(--gold); color: #141009; border-color: var(--gold); }
.seg input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.aifit .btn { width: 100%; margin-top: 16px; }
.aifit-foot { margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--text-3); text-align: center; line-height: 1.5; }

/* Results */
.result { display: none; padding-top: 16px; }
.result.on { display: block; }
.scan { position: relative; height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; margin: 6px 0 18px; }
.scan::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--gold), transparent); animation: scan 1.1s var(--ease) infinite; }
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.result.done .scan { display: none; }
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.res { background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px 12px; }
.res .k { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.res .v { font-family: var(--display); font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.03em; margin-top: 4px; color: var(--gold-2); }
.res .s { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.res-wide { grid-column: 1 / -1; }
.res-wide .v { font-size: 20px; color: var(--text); font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
.conf { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.conf i { flex: 1; height: 4px; background: rgba(255,255,255,.1); border-radius: 99px; overflow: hidden; }
.conf i::after { content: ""; display: block; height: 100%; width: var(--w, 70%); background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: 99px; }
.result .btn { margin-top: 14px; }
.result .link { display: block; text-align: center; margin-top: 10px; font-size: 14px; color: var(--text-2); background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 480px) { .res-grid { grid-template-columns: 1fr 1fr; } .f-row { grid-template-columns: 1fr; } }

/* ---------- Ticker ---------- */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 14px 0; }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: ticker 40s linear infinite; font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); }
.ticker-track span::before { content: "◆"; color: var(--gold); margin-right: 16px; font-size: 9px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { max-width: 18ch; text-wrap: balance; margin-top: 14px; }
.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Tech cards ---------- */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tcard { position: relative; padding: 26px 24px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); overflow: hidden; transition: transform .35s var(--ease), border-color .35s; }
.tcard:hover { transform: translateY(-4px); border-color: rgba(227,194,122,.45); }
.tcard .idx { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--gold); }
.tcard h3 { margin: 14px 0 10px; }
.tcard p { color: var(--text-2); font-size: 16px; }
.tcard .ico { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--gold); background: rgba(0,0,0,.3); }
.tcard .ico svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .tcards { grid-template-columns: 1fr; } }

/* ---------- Color match ---------- */
.match { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.drop { border: 1px dashed rgba(255,255,255,.3); border-radius: var(--radius); padding: 26px; text-align: center; background: rgba(0,0,0,.25); cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.over { border-color: var(--gold); background: rgba(227,194,122,.06); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop .big { font-family: var(--display); font-size: 22px; font-weight: 600; }
.drop .sm { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-top: 8px; }
.match-out { display: none; margin-top: 16px; }
.match-out.on { display: block; }
.match-prev { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
.match-prev canvas { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line-2); }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.sw { border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: rgba(0,0,0,.3); }
.sw i { display: block; height: 54px; border-radius: 8px; border: 1px solid rgba(255,255,255,.15); }
.sw b { display: block; font-size: 14px; margin-top: 8px; }
.sw small { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.sw.best { border-color: rgba(227,194,122,.6); box-shadow: var(--glow); }
.sw.best small { color: var(--gold); }
@media (max-width: 900px) { .match { grid-template-columns: 1fr; } }

/* ---------- Product grid ---------- */
.grid { display: grid; gap: 14px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid-3 { grid-template-columns: 1fr; } }
.card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); border: 1px solid var(--line); background: var(--bg-3); transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.card:hover { transform: translateY(-4px); border-color: rgba(227,194,122,.5); box-shadow: 0 20px 60px -20px rgba(0,0,0,.8); }
.card-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-3); }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.85); }
.card:hover .card-media img { transform: scale(1.05); filter: saturate(1); }
.card-body { padding: 14px 16px 18px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.03), transparent); }
.card-body h3 { font-size: 22px; }
.card-body p { color: var(--text-2); font-size: 14px; margin-top: 4px; }
.tag { position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(8,8,11,.75); border: 1px solid var(--line-2); color: var(--text); backdrop-filter: blur(8px); }
.tag.gold { color: #141009; background: var(--gold); border-color: var(--gold); }
.card-cta { margin-top: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split.flip > .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-3); border: 1px solid var(--line); }
.split-media.wide { aspect-ratio: 5 / 4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.split-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,8,11,.6)); pointer-events: none; }
.split-copy h2 { margin: 14px 0 20px; text-wrap: balance; }
.split-copy p + p { margin-top: 14px; }
.split-copy .btn { margin-top: 28px; }
.hud { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; gap: 8px; flex-wrap: wrap; z-index: 1; }
.hud span { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(8,8,11,.7); border: 1px solid var(--line-2); backdrop-filter: blur(8px); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.flip > .split-media { order: 0; } .split-media { aspect-ratio: 4 / 3; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 22px 20px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.step .num { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--gold); }
.step h3 { margin: 12px 0 8px; font-size: 22px; }
.step p { color: var(--text-2); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Savings ---------- */
.saves { text-align: center; }
.saves h2 { margin: 14px 0 clamp(28px, 4vw, 44px); }
.saves-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; }
.save { position: relative; padding: 26px 24px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(227,194,122,.08), rgba(255,255,255,.02)); overflow: hidden; }
.save::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.save h3 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 8px; }
.save p { color: var(--text-2); font-size: 16px; }
.save .fine { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.saves .btn { margin-top: clamp(28px, 4vw, 40px); }
.saves .note { margin-top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--text-3); }
@media (max-width: 860px) { .saves-grid { grid-template-columns: 1fr; } }

/* ---------- Proof ---------- */
.proof { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.proof-badges { display: flex; gap: 20px; align-items: center; justify-content: center; flex-wrap: wrap; }
.proof-badges > div { background: #fff; border-radius: 12px; padding: 14px; }
.proof-badges img { max-height: 110px; width: auto; }
.proof-badges .tall img { max-height: 170px; }
.quote { font-family: var(--display); font-size: clamp(28px, 3.2vw, 46px); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; margin-top: 14px; }
.quote em { font-style: normal; color: var(--gold); }
.proof .lede { margin-top: 18px; }
@media (max-width: 900px) { .proof { grid-template-columns: 1fr; } }

/* ---------- Location ---------- */
.loc-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin-top: 28px; }
.fact .k { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.fact .v { font-size: 17px; margin-top: 4px; line-height: 1.45; color: var(--text-2); }
.fact .v a { text-decoration: none; color: var(--text); font-weight: 600; }
.fact .v a:hover { text-decoration: underline; text-underline-offset: 3px; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-3); aspect-ratio: 5 / 4; position: relative; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: invert(.92) hue-rotate(190deg) saturate(.6) contrast(.95); }
@media (max-width: 520px) { .loc-facts { grid-template-columns: 1fr; } }

/* ---------- Gallery strip ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.strip figure { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius-sm); background: var(--bg-3); border: 1px solid var(--line); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); filter: saturate(.85); }
.strip figure:hover img { transform: scale(1.05); filter: saturate(1); }
@media (max-width: 760px) { .strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Booking ---------- */
.book { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.book-copy h2 { margin: 14px 0 18px; }
.book-copy ul { padding-left: 20px; color: var(--text-2); margin: 18px 0 0; }
.book-copy li + li { margin-top: 6px; }
.form { padding: clamp(20px, 3vw, 32px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f.full { grid-column: 1 / -1; }
.f textarea { min-height: 110px; resize: vertical; }
.form .btn { width: 100%; margin-top: 10px; }
.form-note { font-size: 14px; color: var(--text-2); margin-top: 12px; text-align: center; }
.form-note a { color: var(--gold); }
.form-status { margin-top: 12px; font-weight: 600; min-height: 1.4em; color: var(--ok); }
@media (max-width: 900px) { .book { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid var(--line); }
.cta-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(.6) brightness(.5); }
.cta-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,11,.92), rgba(8,8,11,.5)); z-index: -1; }
.cta-banner .wrap { padding: clamp(72px, 12vw, 150px) 0; }
.cta-banner h2 { max-width: 14ch; text-wrap: balance; margin-top: 14px; }
.cta-banner .hero-ctas { margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: #050507; border-top: 1px solid var(--line); padding-top: clamp(48px, 7vw, 96px); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.foot-grid h3 { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 500; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li + li { margin-top: 10px; }
.foot-grid a { color: var(--text-2); text-decoration: none; }
.foot-grid a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.foot-brand img { height: 120px; width: auto; }
.foot-brand p { color: var(--text-2); margin-top: 16px; max-width: 34ch; font-size: 16px; }
.foot-wordmark { font-family: var(--display); font-weight: 700; font-size: clamp(110px, 21vw, 320px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); margin: clamp(32px, 6vw, 72px) 0 -0.1em; white-space: nowrap; letter-spacing: -0.05em; user-select: none; }
.foot-bottom { border-top: 1px solid var(--line); padding: 20px 0 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--text-3); }
.foot-bottom a { color: inherit; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Sub-page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(60vh, 600px); display: grid; align-items: end; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(.5) brightness(.55); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,11,.3), rgba(8,8,11,.95)); }
.page-hero .wrap { padding: clamp(96px, 16vh, 170px) 0 clamp(40px, 6vw, 64px); }
.page-hero h1 { font-size: clamp(40px, 6vw, 76px); max-width: 14ch; text-wrap: balance; margin-top: 14px; }
.page-hero .lede { margin-top: 16px; }
.offer-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.offer-list li { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 18px 20px; border-radius: 10px; font-size: 17px; color: var(--text-2); }
.offer-list li strong { display: block; font-family: var(--display); color: var(--text); font-size: 24px; line-height: 1.1; margin-bottom: 4px; letter-spacing: -0.02em; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track, .scan::after, .aifit-title .dot, .call-pulse::after { animation: none; }
  .hero-bg img { transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   SWATCHES PAGE — white canvas (the one light page on the site)
   ===================================================================== */
.sw-page { background: #fff; color: #171412; --sw-line: #e6e3de; --sw-muted: #6b665f; --sw-gold: #8f6f3f; }
.sw-page a { color: inherit; }
.sw-head { border-bottom: 1px solid var(--sw-line); padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 48px); }
.sw-head-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(20px, 4vw, 64px); align-items: center; }
.sw-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--sw-gold); }
.sw-head h1 { font-size: clamp(44px, 6vw, 80px); margin-top: 8px; color: #171412; }
.sw-intro { font-size: 17px; line-height: 1.6; color: #3b3732; max-width: 62ch; }
.sw-intro a { color: var(--sw-gold); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .sw-head-grid { grid-template-columns: 1fr; } }

.sw-bar-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--sw-line); font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.sw-filter-btn { background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; cursor: default; display: inline-flex; gap: 12px; align-items: center; }
.sw-count { color: #9a958d; letter-spacing: .12em; }
.sw-sort { display: inline-flex; align-items: center; gap: 10px; }
.sw-sort label { color: #171412; }
.sw-sort select { font: inherit; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--sw-line); background: #fff; color: #171412; padding: 8px 32px 8px 12px; border-radius: 6px; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #171412 50%), linear-gradient(135deg, #171412 50%, transparent 50%); background-position: calc(100% - 16px) 55%, calc(100% - 11px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.sw-sort select:focus { outline: 2px solid var(--sw-gold); }

.sw-layout { display: grid; grid-template-columns: 272px 1fr; gap: clamp(24px, 4vw, 56px); padding: 24px 0 clamp(64px, 8vw, 120px); align-items: start; }
.sw-side { position: sticky; top: 90px; }
.sw-side-head { display: none; }
.sw-tiles { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--sw-line); margin-bottom: 8px; }
.sw-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 18px 6px 22px; font-size: 13px; line-height: 1.25; text-decoration: none; color: #171412; border-left: 1px solid var(--sw-line); }
.sw-tile:first-child { border-left: 0; }
.sw-tile svg { width: 26px; height: 26px; }
.sw-tile:hover { color: var(--sw-gold); }
.fgroup { border-bottom: 1px solid var(--sw-line); padding: 18px 0 20px; }
.fgroup-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: 0; padding: 0; font: inherit; font-size: 17px; font-weight: 500; color: #171412; cursor: pointer; }
.fgroup-toggle span { font-size: 20px; line-height: 1; color: #171412; transition: transform .25s; }
.fgroup.closed .fgroup-toggle span { transform: rotate(45deg); }
.fgroup.closed .fgroup-body { display: none; }
.fopts { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
.fopts.two { grid-template-columns: 1fr 1fr; }
.fopt { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 16px; position: relative; }
.fopt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fdot { width: 14px; height: 14px; border-radius: 50%; background: #d9d6d0; border: 1px solid rgba(0,0,0,.08); flex-shrink: 0; box-sizing: border-box; }
.fopt input:checked + .fdot { outline: 2px solid #171412; outline-offset: 2px; }
.fopt input:checked ~ span { font-weight: 600; }
.fopt input:focus-visible + .fdot { outline: 2px solid var(--sw-gold); outline-offset: 2px; }
.fopt:hover span { text-decoration: underline; text-underline-offset: 3px; }

.sw-active { display: flex; gap: 8px; flex-wrap: wrap; min-height: 8px; margin-bottom: 14px; }
.chip-active, .chip-clear { font: inherit; font-size: 13px; border: 1px solid var(--sw-line); background: #f6f4f0; color: #171412; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.chip-clear { background: none; text-decoration: underline; text-underline-offset: 3px; border-color: transparent; }

.sw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px) clamp(14px, 2vw, 24px); }
.swc { display: flex; flex-direction: column; }
.swc-label { background: #f6f4f0; border: 1px solid var(--sw-line); border-bottom: 0; border-radius: 6px 6px 0 0; text-align: center; padding: 14px 10px 10px; }
.swc-name { font-family: var(--display); font-size: 15px; font-weight: 500; letter-spacing: 0; color: #171412; }
.swc-fab { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--sw-muted); margin-top: 3px; }
.swc-fabric { background: #f6f4f0; border: 1px solid var(--sw-line); border-top: 0; border-radius: 0 0 6px 6px; padding: 10px 22px 24px; }
.swc-cloth { aspect-ratio: 5 / 6; position: relative; background-image: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,0) 45%, rgba(0,0,0,.10)), repeating-linear-gradient(135deg, rgba(255,255,255,.14) 0 2px, rgba(0,0,0,.08) 2px 4px); }
.swc-cloth.dark { background-image: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,0) 45%, rgba(0,0,0,.2)), repeating-linear-gradient(135deg, rgba(255,255,255,.10) 0 2px, rgba(0,0,0,.25) 2px 4px); }
.swc-body { padding: 16px 2px 6px; }
.swc-body h3 { font-size: 19px; font-weight: 500; color: #171412; letter-spacing: -0.01em; }
.swc-meta { font-size: 13px; color: var(--sw-muted); margin-top: 4px; }
.swc-add { margin-top: 10px; font: inherit; font-size: 14px; font-weight: 600; color: #171412; background: none; border: 1px solid #171412; border-radius: 999px; padding: 8px 14px; cursor: pointer; transition: background .2s, color .2s; }
.swc-add:hover { background: #171412; color: #fff; }
.swc-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.swc-try { margin-top: 10px; font: inherit; font-size: 14px; font-weight: 600; color: #171412; background: none; border: 1px solid var(--sw-line); border-radius: 999px; padding: 8px 14px; cursor: pointer; transition: border-color .2s, color .2s; }
.swc-try:hover { border-color: #171412; }
.swc.trying .swc-try { background: #e3c27a; border-color: #e3c27a; color: #171412; }
.swc .swc-fabric { cursor: pointer; }
/* Try-on panel */
.sw-tryon { position: sticky; top: 80px; z-index: 6; display: grid; grid-template-columns: 210px 1fr; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--sw-line); border-radius: 16px; padding: 12px; margin-bottom: 18px; box-shadow: 0 12px 40px -24px rgba(0,0,0,.35); }
.sw-tryon .bodyviz { margin-top: 0; border-color: rgba(0,0,0,.2); background: radial-gradient(70% 90% at 50% 100%, rgba(227,194,122,.18), transparent 70%), #0b0b0e; }
.sw-tryon .bodyviz-stage { aspect-ratio: 3 / 4; background-position: center; }
.sw-tryon-txt p { font-size: 15px; color: var(--sw-muted); margin-top: 6px; line-height: 1.5; }
.sw-tryon-now { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.sw-now { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #171412; border: 1px solid var(--sw-line); border-radius: 999px; padding: 6px 12px 6px 8px; }
.sw-now i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.sw-tryon-link { display: inline-block; margin-top: 10px; font-size: 15px; font-weight: 600; color: #171412; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) {
  .sw-tryon { top: 64px; grid-template-columns: 132px 1fr; gap: 12px; padding: 10px; border-radius: 12px; }
  .sw-tryon-txt p { display: none; }
  .sw-tryon .bodyviz-stage { aspect-ratio: 3 / 4; }
  .sw-now { font-size: 13px; }
}
.swc.picked .swc-add { background: #171412; color: #fff; }
.swc.picked .swc-label, .swc.picked .swc-fabric { border-color: #171412; }
.sw-empty { color: var(--sw-muted); padding: 40px 0; }
.sw-note { font-size: 13px; color: var(--sw-muted); margin-top: 32px; max-width: 70ch; }
@media (max-width: 1100px) { .sw-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .sw-layout { grid-template-columns: 1fr; }
  .sw-filter-btn { cursor: pointer; border: 1px solid var(--sw-line); padding: 10px 14px; border-radius: 8px; }
  .sw-side { position: fixed; inset: 0; z-index: 80; background: #fff; overflow: auto; padding: 16px var(--pad) 40px; transform: translateX(-100%); transition: transform .3s var(--ease); top: 0; }
  .sw-side.open { transform: none; }
  .sw-side-head { display: flex; justify-content: space-between; align-items: center; font-size: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--sw-line); margin-bottom: 8px; }
  .sw-side-close { background: none; border: 1px solid var(--sw-line); width: 40px; height: 40px; border-radius: 8px; font-size: 16px; cursor: pointer; }
  body.sw-lock { overflow: hidden; }
}
@media (max-width: 480px) { .sw-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .swc-fabric { padding: 8px 12px 16px; } .swc-body h3 { font-size: 16px; } .sw-bar-row { flex-wrap: wrap; } }

.sw-reqbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #171412; color: #fff; transform: translateY(110%); transition: transform .3s var(--ease); box-shadow: 0 -10px 40px rgba(0,0,0,.25); }
.sw-reqbar.on { transform: none; }
.sw-reqbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; flex-wrap: wrap; }
.sw-reqbar-in > div { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.sw-reqbar-clear { background: none; border: 0; color: rgba(255,255,255,.7); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sw-reqbar .btn { min-height: 46px; }

/* swatches: mobile drawer apply + feedback */
.sw-side-apply { display: none; }
.sw-flash { animation: swflash .6s var(--ease); }
@keyframes swflash { 0% { background: #fff6dc; } 100% { background: transparent; } }
@media (max-width: 860px) {
  .sw-side { padding-bottom: 96px; }
  .sw-side-apply { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 81; padding: 12px var(--pad); background: #fff; border-top: 1px solid var(--sw-line); transform: translateX(-100%); transition: transform .3s var(--ease); }
  .sw-side.open ~ .sw-side-apply, .sw-side-apply.open { transform: none; }
  .sw-side-apply .btn { width: 100%; background: #171412; color: #fff; border-color: #171412; }
  .sw-side-head .sw-count-live { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sw-muted); margin-left: 10px; }
}

/* ---------- Readability floor + touch targets (Oct 23 2026 mobile pass) ---------- */
.stat .l, .pill, .known > .lbl, .f label, .seg-wrap > .lbl, .aifit-foot, .res .k, .conf, .drop .sm, .sw small, .tag, .hud span, .save .fine, .saves .note, .fact .k, .foot-grid h3, .sw-eyebrow, .bodyviz-hud, .brand-text small, .sw-side-head .sw-count-live { font-size: 12px; }
.swc-fab { font-size: 11px; }
@media (pointer: coarse) {
  .seg.small span, .chip span, .chip-btn, .fgroup-toggle { min-height: 44px; }
  button.pill { min-height: 42px; padding: 8px 14px; }
  .sw-sort select { font-size: 16px; min-height: 44px; }
  .sw-reqbar-clear, .chip-active, .chip-clear { min-height: 40px; padding: 6px 12px; }
  .foot-grid a, .bar a, .sw-tryon-link, .bodyviz-hud a, .foot-bottom a, .sw-intro a, a[href^="tel:"]:not(.btn) { display: inline-block; padding: 8px 0; margin: -4px 0; }
  .foot-grid li + li { margin-top: 4px; }
}

/* ---------- Plain-language help (Build hint + size glossary) ---------- */
.seg-wrap > .hint { margin: 4px 0 2px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.help { margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.2); }
.help summary { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 12px 14px; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--gold); min-height: 44px; }
.help summary::-webkit-details-marker { display: none; }
.help summary::after { content: "+"; font-family: var(--mono); font-size: 16px; color: var(--gold); margin-left: auto; }
.help[open] summary::after { content: "−"; }
.help summary:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; border-radius: 12px; }
.help-hint { font-size: 13px; font-weight: 400; color: var(--text-3); }
.help-list { margin: 0; padding: 0 14px 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.help-list > div { border-top: 1px solid var(--line); padding-top: 10px; }
.help-list dt { font-weight: 700; color: var(--text); font-size: 15px; }
.help-list dd { margin: 3px 0 0; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.help-list dd b { color: var(--gold-2); font-family: var(--mono); font-weight: 600; }
@media (max-width: 640px) { .help-list { grid-template-columns: 1fr; } .help summary > span:first-child { flex: 1; } .help-hint { order: 3; flex-basis: 100%; } }

/* ---- Oct 24 2026: swatch try-on polish ---- */
.chip-note span { cursor: default; padding-right: 6px; }
.chip-x { font: inherit; font-size: 13px; line-height: 1; margin-left: 4px; padding: 6px 8px; border: 0; border-radius: 999px; background: rgba(255,255,255,.08); color: inherit; cursor: pointer; }
.chip-x:hover, .chip-x:focus-visible { background: rgba(227,194,122,.25); color: var(--gold-2); outline: none; }
.sw-reset { font: inherit; font-size: 14px; font-weight: 600; background: none; border: 0; padding: 6px 0; color: #171412; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.swc.trying { outline: 2px solid #c9a24a; outline-offset: 2px; border-radius: 10px; }
@media (max-width: 760px) { .sw-tryon .sw-tryon-now { gap: 6px; } .sw-tryon .sw-now { font-size: 14px; } }

/* ---- Oct 24 2026: fine-tune button that pops + suit / tie color pickers under the model ---- */
:root { --teal: #19a9bf; --teal-2: #0f7f96; --teal-3: #0b5f73; }
.fine { border: 0; background: transparent; }
.fine summary { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-2) 55%, var(--teal-3) 100%); color: #fff; border-radius: 12px; box-shadow: 0 10px 26px -14px rgba(25,169,191,.75), inset 0 1px 0 rgba(255,255,255,.2); transition: filter .2s, transform .2s; }
.fine summary:hover { filter: brightness(1.08); }
.fine summary:active { transform: translateY(1px); }
.fine summary .lbl { color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .12em; }
.fine-hint { color: rgba(255,255,255,.88); font-weight: 600; }
.fine summary::after { color: #fff; font-weight: 700; }
.fine summary:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.fine[open] summary { border-radius: 12px 12px 0 0; }
.fine-grid { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; background: rgba(0,0,0,.2); padding-top: 14px; }
.model-controls { margin-top: 12px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px 14px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.2); }
.model-controls .seg-wrap + .seg-wrap { margin-top: 0; }
.model-controls .lbl b { color: var(--gold); font-weight: 700; letter-spacing: 0; text-transform: none; font-family: var(--sans, inherit); font-size: 13px; }
.dots { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 8px; }
.dot { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255,255,255,.22); box-shadow: inset 0 0 0 1px rgba(0,0,0,.35); padding: 0; cursor: pointer; flex: 0 0 auto; transition: transform .15s, border-color .15s, box-shadow .15s; }
.dot::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; }   /* 44px touch target */
.dot:hover { transform: scale(1.1); border-color: rgba(255,255,255,.6); }
.dot.light { border-color: rgba(0,0,0,.45); }
.dot.on { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(227,194,122,.35), inset 0 0 0 1px rgba(0,0,0,.35); }
.dot.none { background: transparent; border-style: dashed; }
.dot.none::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: rgba(255,255,255,.55); transform: translate(-50%, -50%) rotate(-45deg); }
.dot:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (pointer: coarse) { .dot { width: 30px; height: 30px; } }
.model-controls > .seg-wrap { min-width: 0; }   /* the color rows wrap instead of widening the grid column */

/* ---- Oct 24 2026: "Powered by FloteQuote" sits beside the main button, FQ mark included (like the FloteQuote quote pages) ---- */
.aifit-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap; margin-top: 16px; }
.aifit-actions .btn { flex: 1 1 240px; margin-top: 0; width: auto; }
.powered { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); text-decoration: none; white-space: nowrap; padding: 6px 0; }
.powered img { height: 22px; width: auto; display: block; }
.powered b { color: #fff; font-weight: 800; }
.powered:hover b, .powered:focus-visible b { color: var(--gold); }
.aifit-actions .powered { margin-left: auto; }
.sw-tryon .powered { margin-top: 8px; color: #4d6a71; }
.sw-tryon .powered b { color: #171412; }
.sw-tryon .powered:hover b { color: #0f7f96; }
@media (max-width: 480px) { .aifit-actions { justify-content: center; } .aifit-actions .powered { margin-left: 0; } }

@media (max-width: 480px) { .rc-box b { font-size: 15px; } .rc-l { right: 56%; } .rc-r { left: 56%; } }

/* Clickable = teal, chosen = gold (tailor visit, Oct 29 2026: "change the colors for what's clickable and what's not").
   Before this, an unpicked option was a dark pill with grey text and read as disabled. Same teal as the fine-tune button. */
.seg span, .chip span, .chip-btn { border-color: rgba(25,169,191,.8); color: #fff; background: rgba(25,169,191,.12); }
.seg label:hover span, .chip:hover span, .chip-btn:hover { border-color: var(--teal); background: rgba(25,169,191,.26); }
.seg input:checked + span { background: var(--gold); color: #141009; border-color: var(--gold); }
.chip input:checked + span, .chip-btn.on { border-color: var(--gold); color: #141009; background: var(--gold); }
.chip input:checked + span i, .chip-btn.on i { border-color: rgba(0,0,0,.35); }
.f select, .f input, .f textarea { border-color: rgba(25,169,191,.75); }
.f select { background-image: linear-gradient(45deg, transparent 50%, var(--teal) 50%), linear-gradient(135deg, var(--teal) 50%, transparent 50%); }
.f input[readonly] { border-color: var(--line-2); }
.result .link { color: var(--teal); font-weight: 700; }
.tap-legend { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin: 0 0 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.tap-legend span { display: inline-flex; align-items: center; gap: 7px; }
.tap-legend i { display: inline-block; width: 16px; height: 16px; border-radius: 5px; }
.tap-legend i.t { border: 2px solid var(--teal); background: rgba(25,169,191,.15); }
.tap-legend i.g { background: var(--gold); }
.res .s.shop { color: var(--text); font-size: 14px; line-height: 1.55; margin-top: 6px; }
