/* House of ARBS — "Clubhouse meets Savile Row" */

:root {
  --green: #0f3d2e;
  --green-deep: #0a2a20;
  --green-mid: #1b5440;
  --ivory: #f5f1e8;
  --ivory-2: #ece5d6;
  --brass: #b8955a;
  --brass-light: #d4b57e;
  --navy: #141b2d;
  --red: #c8392b;
  --ink: #18201c;
  --muted: #5b655f;
  --line: rgba(24, 32, 28, .14);

  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-label: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 48px);
  --sec: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font: 16px/1.65 var(--f-body);
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--brass); color: var(--green-deep); padding: 10px 16px; border-radius: var(--radius);
}
.skip:focus { top: 16px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec); }
.section-tint { background: var(--ivory-2); }

/* ---------- Type ---------- */

.display, .h1, .h2 {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -.015em;
  font-optical-sizing: auto;
}
.display { font-size: clamp(2.6rem, 5vw, 4.9rem); line-height: 1; }
.display em, .h1 em { font-style: italic; color: var(--brass-light); }
.display .line { display: block; overflow: hidden; padding-bottom: .06em; }
.display .line > span { display: inline-block; }
.h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1.02; }
.h2 { font-size: clamp(2rem, 3.9vw, 3.3rem); line-height: 1.06; max-width: 20ch; }
.h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.35rem, 1.9vw, 1.65rem); line-height: 1.15; }
.h4 { font-family: var(--f-body); font-weight: 700; font-size: 1.06rem; line-height: 1.3; }

.eyebrow, .label {
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .82rem;
}
.eyebrow { color: var(--red); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }
.label { color: var(--muted); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 54ch; }
.big-p { font-family: var(--f-display); font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.35; margin-bottom: 20px; }

.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head > p:last-child:not(.eyebrow) { margin-top: 18px; max-width: 58ch; color: var(--muted); font-size: 1.08rem; }
.on-dark .eyebrow { color: var(--brass-light); }
.on-dark > p:last-child:not(.eyebrow) { color: rgba(245, 241, 232, .75); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--f-label); font-weight: 600; font-size: 1rem;
  text-transform: uppercase; letter-spacing: .12em; text-decoration: none;
  border: 1.5px solid transparent; border-radius: 999px; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(115deg, transparent 0 10px, rgba(255,255,255,.18) 10px 14px);
  transform: translateX(-101%); transition: transform .5s var(--ease);
}
.btn:hover::after { transform: translateX(0); }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 20px; height: 20px; flex: none; }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .9rem; }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 1.08rem; }
.btn-brass { background: var(--brass); color: var(--green-deep); }
.btn-brass:hover { background: var(--brass-light); }
.btn-ivory { background: var(--ivory); color: var(--green-deep); }
.btn-ghost-light { border-color: rgba(245, 241, 232, .45); color: var(--ivory); }
.btn-ghost-light:hover { border-color: var(--ivory); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.text-link {
  display: inline-flex; gap: 8px; margin-top: 18px;
  font-family: var(--f-label); font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
  text-decoration: none; border-bottom: 1.5px solid var(--brass); padding-bottom: 2px;
}
.text-link i, .aud-link i { font-style: normal; transition: transform .3s var(--ease); }
.text-link:hover i, .aud-card:hover .aud-link i { transform: translateX(5px); }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--ivory);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.site-header.is-scrolled { background: rgba(10, 42, 32, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(184,149,90,.3); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 78px; }
.logo { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; margin-right: auto; }
.logo-small { font-family: var(--f-label); font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; color: var(--brass-light); }
.logo-big { font-family: var(--f-display); font-weight: 700; font-size: 1.75rem; letter-spacing: .12em; }
.main-nav ul { display: flex; gap: clamp(14px, 2vw, 28px); }
.main-nav a {
  font-family: var(--f-label); font-weight: 500; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; position: relative; padding-block: 6px;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brass);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; }

@media (max-width: 1020px) {
  .header-cta { display: none; }
  .nav-toggle {
    display: grid; place-content: center; gap: 7px; width: 46px; height: 46px;
    background: none; border: 1.5px solid rgba(245,241,232,.4); border-radius: 50%; color: inherit; cursor: pointer;
  }
  .nav-toggle span:not(.sr-only) { display: block; width: 20px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; background: var(--green-deep);
    display: flex; align-items: center; padding: 100px var(--gutter) 40px;
    clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease);
  }
  .main-nav.is-open { clip-path: inset(0 0 0 0); }
  .main-nav ul { flex-direction: column; gap: 6px; }
  .main-nav a { font-family: var(--f-display); text-transform: none; letter-spacing: 0; font-size: clamp(2rem, 8vw, 3rem); }
}

/* ---------- Hero ---------- */

.hero, .page-hero {
  position: relative; overflow: hidden;
  background: var(--green); color: var(--ivory);
}
.hero { min-height: 100svh; display: flex; align-items: center; padding-block: 120px 80px; }
.hero-pattern {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,.08) 0 2px, transparent 2px 8px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.025) 0 2px, transparent 2px 8px),
    radial-gradient(ellipse at 75% 40%, var(--green-mid), transparent 60%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 64px); align-items: center; width: 100%; }
.hero .lede { margin-top: 28px; color: rgba(245, 241, 232, .82); }
.hero .eyebrow, .page-hero .eyebrow { color: var(--brass-light); }
.hero-art, .page-hero-art { position: relative; }
.hero-art .blazer, .page-hero-art .blazer { position: relative; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.hero-band {
  position: absolute; left: -8%; right: -60%; top: 42%; height: 120px;
  transform: rotate(-14deg); transform-origin: left center;
  background: linear-gradient(var(--brass) 0 26%, transparent 26% 40%, var(--red) 40% 60%, transparent 60% 74%, var(--brass) 74%);
  opacity: .9;
}
.callouts li {
  position: absolute; white-space: nowrap;
  font-family: var(--f-label); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ivory); padding: 6px 12px; border: 1px dashed rgba(245,241,232,.55); border-radius: 999px;
  background: rgba(10, 42, 32, .7); backdrop-filter: blur(4px);
}
.co-1 { right: -4%; top: 34%; }
.co-2 { left: -10%; top: 22%; }
.co-3 { left: -12%; top: 64%; }
.co-4 { right: 0; top: 76%; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px;
  border: 1.5px solid rgba(245,241,232,.45); border-radius: 20px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--brass); border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin-inline: auto; width: 100%; }
  .co-2, .co-3 { left: -2%; }
  .co-1, .co-4 { right: -2%; }
  .scroll-cue { display: none; }
}

/* Page hero (inner pages) */
.page-hero { padding-block: 150px 90px; }
.page-hero-slim { padding-block: 160px 90px; }
.page-hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.page-hero .lede { margin-top: 24px; color: rgba(245, 241, 232, .82); }
.page-hero .wrap { position: relative; }
.page-hero-art { max-width: 380px; justify-self: end; width: 100%; }
.crumbs { display: flex; gap: 10px; margin-bottom: 28px; font-size: .88rem; color: rgba(245, 241, 232, .65); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ivory); }
@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-art { justify-self: center; max-width: 300px; }
}

/* ---------- Blazer illustration ---------- */

.blazer { --bz-line: rgba(0, 0, 0, .38); overflow: visible; }
.blazer [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 0; }
.bz-cloth { fill: var(--cloth); stroke: var(--bz-line); stroke-width: 1.4; transition: fill .5s var(--ease); }
.bz-shade { fill: #000; fill-opacity: .16; pointer-events: none; }
.bz-twill { pointer-events: none; }
.bz-shirt { fill: #f7f5ef; stroke: var(--bz-line); stroke-width: 1.2; }
.bz-tie { fill: var(--navy); stroke: var(--bz-line); stroke-width: 1; }
.bz-lapel { fill: var(--cloth); stroke: var(--bz-line); stroke-width: 1.4; transition: fill .5s var(--ease); }
.bz-lapel { filter: brightness(.88); }
.bz-seam { fill: none; stroke: var(--bz-line); stroke-width: 1.4; }
.bz-flap, .bz-welt { fill: var(--cloth); stroke: var(--bz-line); stroke-width: 1.2; filter: brightness(.92); transition: fill .5s var(--ease); }
.bz-pipe path { fill: none; stroke: var(--pipe); stroke-width: 3.2; stroke-linejoin: round; transition: stroke .4s var(--ease); }
.bz-crest { opacity: var(--crest-o); transition: opacity .4s var(--ease); }
.bz-crest > path:first-child { fill: var(--brass); stroke: rgba(0,0,0,.3); }
.bz-crest-mark { fill: none; stroke: var(--green-deep); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bz-buttons circle { fill: var(--btn); stroke: rgba(0,0,0,.35); stroke-width: 1; transition: fill .4s var(--ease); }

/* ---------- Regimental stripe divider ---------- */

.regimental { display: grid; gap: 6px; padding-block: 0; background: var(--ivory); overflow: hidden; }
.regimental span { display: block; height: 10px; background: var(--green); }
.regimental span:nth-child(2) { height: 5px; background: var(--brass); margin-left: 12%; }
.regimental span:nth-child(3) { height: 3px; background: var(--red); margin-left: 28%; }
.site-footer .regimental { background: transparent; }

/* ---------- Audience cards ---------- */

.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.aud-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 34px 30px 30px; min-height: 420px; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .5s var(--ease);
}
.aud-card:hover { box-shadow: 0 30px 60px -30px rgba(10, 42, 32, .45); }
.aud-stripe {
  position: absolute; inset: 0 0 auto; height: 8px;
  background: repeating-linear-gradient(90deg, var(--s1) 0 40px, var(--s2) 40px 52px, var(--s3) 52px 60px);
  background-size: 120px 100%;
  transition: height .6s var(--ease);
}
.aud-card:hover .aud-stripe { height: 14px; animation: stripe-run 1.6s linear infinite; }
@keyframes stripe-run { to { background-position: 120px 0; } }
.aud-club { --s1: var(--green); --s2: var(--brass); --s3: var(--red); }
.aud-corp { --s1: var(--navy); --s2: #8a93a6; --s3: var(--navy); }
.aud-bespoke { --s1: #33353a; --s2: var(--brass); --s3: #33353a; }
.aud-card .label { margin-top: 10px; }
.aud-card .h3 { font-size: clamp(1.5rem, 2.2vw, 1.95rem); }
.aud-card > p:not(.label) { color: var(--muted); }
.aud-for { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); color: var(--ink) !important; }
.aud-link { font-family: var(--f-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); display: inline-flex; gap: 8px; }
@media (max-width: 900px) { .aud-grid { grid-template-columns: 1fr; } .aud-card { min-height: 0; } }

/* ---------- Clients band ---------- */

.clients-band { background: var(--navy); color: var(--ivory); overflow: hidden; }
.clients-band .h2 { max-width: 22ch; }
.marquee { display: flex; overflow: hidden; padding-block: 26px; border-block: 1px solid rgba(245,241,232,.14); }
.clients-band .marquee { margin-bottom: 64px; }
.marquee-track { display: flex; flex: none; gap: 64px; padding-right: 64px; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee li { display: flex; align-items: center; gap: 16px; white-space: nowrap; font-family: var(--f-label); font-weight: 600; font-size: clamp(1.3rem, 2.2vw, 1.9rem); letter-spacing: .1em; text-transform: uppercase; }
.page-hero-slim + .marquee { background: var(--navy); color: var(--ivory); }
.marquee-track:has(.logo-tile) { gap: 28px; padding-right: 28px; }
.logo-tile { flex: none; justify-content: center; width: 200px; height: 112px; padding: 14px 20px; background: var(--ivory); border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(184,149,90,.35); }
.logo-tile img { width: 100%; height: 100%; object-fit: contain; }
.logo-tile.logo-dgc, .logo-tile.logo-wethechef { padding-block: 8px; } /* round marks read smaller than wordmarks */
.logo-tile.logo-botanix { padding: 6px; background: #0b241e; } /* matches the logo's own dark-green background */
@media (max-width: 600px) { .logo-tile { width: 150px; height: 84px; padding: 10px 14px; } }

.crest { width: 44px; height: 52px; flex: none; }
.crest-lg { width: 64px; height: 74px; }
.crest-shield { fill: var(--brass); }
.crest-inner { fill: var(--green); stroke: var(--brass-light); stroke-width: 1; }
.crest text { font-family: var(--f-label); font-weight: 700; fill: var(--ivory); letter-spacing: .04em; }

.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.featured {
  display: flex; gap: 24px; align-items: flex-start; padding: 32px;
  border: 1px solid rgba(184,149,90,.4); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(184,149,90,.1), transparent 60%);
}
.featured p { color: rgba(245, 241, 232, .75); margin-top: 8px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.stats p { display: flex; gap: 18px; align-items: center; padding-top: 22px; border-top: 1px solid rgba(245,241,232,.18); }
.stats b { font-family: var(--f-display); font-weight: 500; font-size: clamp(3rem, 5vw, 4.4rem); line-height: 1; color: var(--brass-light); }
.stats span { color: rgba(245, 241, 232, .75); max-width: 22ch; }
.also { margin-top: 48px; color: rgba(245, 241, 232, .7); }
.clients-band .also:first-child { margin-top: 0; }
.also a { color: var(--brass-light); }
@media (max-width: 860px) { .featured-grid, .stats { grid-template-columns: 1fr; } .featured { padding: 24px; } }

/* ---------- Craft features ---------- */

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feat { background: var(--ivory); padding: 34px 30px; transition: background .4s var(--ease); }
.feat:hover { background: #fff; }
.feat-ico { width: 40px; height: 40px; color: var(--green); margin-bottom: 22px; transition: transform .5s var(--ease), color .4s; }
.feat:hover .feat-ico { transform: rotate(-8deg) scale(1.1); color: var(--red); }
.feat p { color: var(--muted); margin-top: 10px; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

/* ---------- Configurator ---------- */

.configurator { background: var(--green-deep); color: var(--ivory); position: relative; overflow: hidden; }
.configurator::before {
  content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(184,149,90,.12) 46px 47px);
}
.configurator .wrap { position: relative; }
.cfg-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.cfg-stage { position: sticky; top: 100px; display: grid; grid-template-columns: 1fr 200px; gap: 24px; align-items: end; }
.cfg-stage .blazer { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.4)); }
.lining-card {
  padding: 18px; border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 3px, transparent 3px 9px),
    var(--lining);
  transition: background-color .5s var(--ease);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), 0 20px 30px -20px rgba(0,0,0,.6);
}
.lining-card .label { color: rgba(255,255,255,.85); margin-bottom: 14px; font-size: .72rem; }
.lining-label {
  display: grid; justify-items: center; gap: 4px; padding: 16px 10px;
  background: var(--ivory); color: var(--green-deep); border-radius: 2px;
  outline: 1px dashed rgba(10,42,32,.35); outline-offset: -5px;
}
.lining-made, .lining-house { font-family: var(--f-label); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; }
.lining-initials { font-family: var(--f-display); font-style: italic; font-size: 2rem; line-height: 1.1; min-height: 1.1em; color: var(--green); }
.cfg-controls { display: grid; gap: 26px; }
.cfg-group { border: 0; margin: 0; padding: 0 0 22px; border-bottom: 1px solid rgba(245,241,232,.12); }
.cfg-group legend, .cfg-label {
  display: flex; gap: 10px; align-items: baseline; padding: 0; margin-bottom: 12px;
  font-family: var(--f-label); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .88rem;
}
.cfg-group output { color: var(--brass-light); letter-spacing: .08em; text-transform: none; font-family: var(--f-body); font-weight: 500; }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch-dot {
  display: block; width: 42px; height: 42px; border-radius: 50%;
  background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.swatch input[value="none"] + .swatch-dot { background: repeating-linear-gradient(45deg, transparent 0 5px, rgba(245,241,232,.35) 5px 6px); }
.swatch:hover .swatch-dot { transform: scale(1.08); }
.swatch input:checked + .swatch-dot { box-shadow: 0 0 0 3px var(--green-deep), 0 0 0 5px var(--brass); }
.swatch input:focus-visible + .swatch-dot { outline: 2px solid var(--ivory); outline-offset: 6px; }
.toggle { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; position: relative; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle-ui { width: 48px; height: 28px; border-radius: 14px; background: rgba(245,241,232,.2); position: relative; transition: background .3s; }
.toggle-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--ivory); transition: transform .3s var(--ease); }
.toggle input:checked + .toggle-ui { background: var(--brass); }
.toggle input:checked + .toggle-ui::after { transform: translateX(20px); }
.toggle input:focus-visible + .toggle-ui { outline: 2px solid var(--ivory); outline-offset: 3px; }
.cfg-input {
  width: 100%; max-width: 220px; padding: 12px 16px;
  font-family: var(--f-display); font-style: italic; font-size: 1.5rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ivory); background: transparent; border: 1.5px solid rgba(245,241,232,.35); border-radius: var(--radius);
}
.cfg-input:focus { border-color: var(--brass); outline: none; }
.cfg-controls .btn { justify-self: start; }
.cfg-note { font-size: .9rem; color: rgba(245,241,232,.6); max-width: 46ch; }
@media (max-width: 960px) {
  .cfg-grid { grid-template-columns: 1fr; }
  .cfg-stage { position: relative; top: 0; grid-template-columns: 1fr 150px; max-width: 560px; }
}
@media (max-width: 480px) {
  .cfg-stage { grid-template-columns: 1fr; }
  .lining-card { max-width: 220px; }
}

/* ---------- Process ---------- */

.process { overflow: hidden; }
.process-viewport { position: relative; }
.stitch { display: block; width: 100%; height: 4px; }
.stitch path { fill: none; stroke: var(--red); stroke-width: 4; stroke-dasharray: .012 .008; }
.process-track {
  display: flex; gap: 24px; padding: 34px 0 0;
  padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  max-width: none; width: max-content;
  counter-reset: none;
}
.step {
  width: min(380px, 78vw); padding: 30px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; position: relative;
}
.step::before {
  content: ""; position: absolute; top: -41px; left: 30px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--ivory); border: 3px solid var(--green);
}
.step-no { display: block; font-family: var(--f-display); font-style: italic; font-size: 3.4rem; line-height: 1; color: var(--brass); margin-bottom: 18px; }
.step p { color: var(--muted); margin-top: 10px; }
@media (max-width: 860px) {
  .stitch { display: none; }
  .process-track { flex-direction: column; width: auto; padding-top: 0; gap: 18px; margin-left: var(--gutter); border-left: 2px dashed var(--red); padding-left: 24px; }
  .step { width: auto; }
  .step::before { top: 34px; left: -34px; }
}

/* ---------- Swing tags (tiers) ---------- */

.tag-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-top: 30px; }
.tag-card {
  position: relative; padding: 52px 30px 34px;
  background: #fff; border: 1px solid var(--line);
  clip-path: polygon(14% 0, 86% 0, 100% 9%, 100% 100%, 0 100%, 0 9%);
  transform-origin: 50% 0; transition: rotate .7s cubic-bezier(.3, 1.6, .5, 1);
}
.tag-card::before {
  content: ""; position: absolute; left: 50%; top: -44px; width: 1.5px; height: 64px; background: var(--brass);
}
.tag-card:hover { rotate: -2.2deg; }
.tag-hole { position: absolute; left: 50%; top: 18px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--ivory); box-shadow: inset 0 0 0 2px var(--brass); }
.tag-card .label { text-align: center; }
.tag-name { font-family: var(--f-display); font-weight: 600; font-size: 2.6rem; text-align: center; line-height: 1.1; margin-top: 4px; }
.tag-for { text-align: center; color: var(--muted); margin-top: 6px; padding-bottom: 22px; border-bottom: 1px dashed var(--line); }
.tag-card ul { display: grid; gap: 12px; margin-top: 22px; }
.tag-card li { position: relative; padding-left: 22px; }
.tag-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 2px; background: var(--red); }
.tag-price { margin-top: 26px; font-family: var(--f-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-align: center; color: var(--green); }
.tag-signature { background: var(--green); color: var(--ivory); border-color: var(--green); }
.tag-signature .label, .tag-signature .tag-for { color: rgba(245,241,232,.7); }
.tag-signature .tag-for { border-color: rgba(245,241,232,.2); }
.tag-signature .tag-price { color: var(--brass-light); }
.tag-bespoke { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.tag-bespoke .label, .tag-bespoke .tag-for { color: rgba(245,241,232,.7); }
.tag-bespoke .tag-for { border-color: rgba(245,241,232,.2); }
.tag-bespoke .tag-name { color: var(--brass-light); font-style: italic; }
.tag-bespoke .tag-price { color: var(--brass-light); }
.tag-signature .tag-hole, .tag-bespoke .tag-hole { background: var(--ivory); }
@media (max-width: 900px) { .tag-row { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; gap: 72px; } }

/* ---------- About / split layouts ---------- */

.about-teaser { background: var(--navy); color: var(--ivory); }
.about-teaser .eyebrow { color: var(--brass-light); }
.about-teaser .about-grid p + p { color: rgba(245, 241, 232, .75); }
.about-teaser .text-link { color: var(--ivory); }
.about-grid, .split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-grid p + p { margin-top: 16px; color: var(--muted); }
@media (max-width: 860px) { .about-grid, .split { grid-template-columns: 1fr; } }

.checklist { display: grid; gap: 4px; }
.checklist li {
  position: relative; padding: 18px 0 18px 46px; border-bottom: 1px solid var(--line);
  font-size: 1.12rem;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 20px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23d4b57e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.split .checklist { margin-top: 0; }
.split > div > .h2 + .checklist { margin-top: 30px; }

.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.offer { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); border-top: 3px solid var(--green); transition: translate .4s var(--ease), border-color .4s; }
.offer:hover { translate: 0 -4px; border-top-color: var(--red); }
.offer p { color: var(--muted); margin-top: 10px; }
.section-tint .offer { background: var(--ivory); }

/* ---------- Client cards ---------- */

.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.client-card { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 10px; align-content: start; }
.client-card .crest { margin-bottom: 10px; }
.client-card > p:not(.label) { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tags li { font-family: var(--f-label); font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: var(--ivory-2); color: var(--green); }

/* ---------- Contact ---------- */

.contact-card { padding: 36px; background: var(--green); color: var(--ivory); border-radius: var(--radius); }
.contact-card dl { display: grid; grid-template-columns: auto 1fr; gap: 14px 24px; margin-top: 24px; }
.contact-card dt { font-family: var(--f-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-light); font-size: .85rem; padding-top: 2px; }
.contact-card dd { overflow-wrap: anywhere; }
@media (max-width: 480px) { .contact-card dl { grid-template-columns: 1fr; gap: 4px; } .contact-card dd { margin-bottom: 12px; } }

/* ---------- FAQ ---------- */

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-weight: 500; font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; width: 18px; height: 18px; flex: none; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--red); transition: transform .35s var(--ease); }
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i::after { transform: rotate(0); }
.faq-item p { padding: 0 40px 24px 0; color: var(--muted); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */

.cta-band { position: relative; overflow: hidden; background: var(--red); color: var(--ivory); padding-block: clamp(80px, 10vw, 130px); }
.cta-stripes {
  position: absolute; inset: -50% -10%; transform: rotate(-12deg);
  background: repeating-linear-gradient(90deg, transparent 0 80px, rgba(0,0,0,.08) 80px 120px, transparent 120px 130px, rgba(255,255,255,.08) 130px 136px);
  animation: cta-drift 30s linear infinite;
}
@keyframes cta-drift { to { background-position: 680px 0; } }
.cta-inner { position: relative; text-align: center; display: grid; justify-items: center; gap: 18px; }
.cta-inner .h2 { max-width: 18ch; font-size: clamp(2.3rem, 5vw, 4.2rem); }
.cta-inner p { font-size: 1.15rem; max-width: 46ch; }
.cta-inner .btn { margin-top: 14px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--green-deep); color: rgba(245,241,232,.78); padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding-block: 72px 48px; }
.site-footer .logo { color: var(--ivory); margin-bottom: 18px; }
.footer-brand p { max-width: 42ch; }
.footer-clients { margin-top: 12px; font-size: .9rem; color: rgba(245,241,232,.55); }
.site-footer .label { color: var(--brass-light); margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 4px; }
.footer-contact li { overflow-wrap: anywhere; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(245,241,232,.12); font-size: .85rem; font-family: var(--f-label); letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Floating WhatsApp ---------- */

.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(0,0,0,.45);
  transition: transform .35s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.6s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Page wipe transition ---------- */

.wipe { position: fixed; inset: 0; z-index: 300; pointer-events: none; display: grid; grid-template-rows: 1fr 1fr 1fr; }
.wipe span { background: var(--green-deep); transform: scaleX(0); transform-origin: right; }
.wipe span:nth-child(2) { background: var(--brass); }
.wipe span:nth-child(3) { background: var(--red); }
.is-leaving .wipe span { transform-origin: left; animation: wipe-in .5s var(--ease) forwards; }
.is-leaving .wipe span:nth-child(2) { animation-delay: .06s; }
.is-leaving .wipe span:nth-child(3) { animation-delay: .12s; }
.is-arriving .wipe span { transform: scaleX(1); animation: wipe-out .7s var(--ease) .05s forwards; }
.is-arriving .wipe span:nth-child(2) { animation-delay: .1s; }
.is-arriving .wipe span:nth-child(3) { animation-delay: .15s; }
@keyframes wipe-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes wipe-out { from { transform: scaleX(1); } to { transform: scaleX(0); } }

.nf { min-height: 80svh; display: flex; align-items: center; }

/* ---------- Shared motion details ---------- */

.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brass);
  transform: scaleX(0); transform-origin: left center; opacity: 0; transition: opacity .4s var(--ease);
}
.site-header.is-scrolled .scroll-progress { opacity: 1; }
.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.has-motion [data-reveal] .eyebrow::before { transform: scaleX(0); transform-origin: left center; transition: transform 1s var(--ease) .25s; }
.has-motion [data-reveal].is-in .eyebrow::before { transform: none; }
.menu-foot { display: none; }
.swipe-dots { display: none; }

/* ---------- Phones & small tablets ---------- */

@media (max-width: 1020px) {
  .main-nav { flex-direction: column; align-items: stretch; justify-content: flex-end; padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px)); }
  .main-nav::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background: repeating-linear-gradient(45deg, rgba(0,0,0,.1) 0 2px, transparent 2px 8px), radial-gradient(ellipse at 90% 10%, var(--green-mid), transparent 60%);
  }
  .main-nav ul { position: relative; counter-reset: nav; }
  .main-nav li { opacity: 0; transform: translateY(28px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
  .main-nav.is-open li { opacity: 1; transform: none; }
  .main-nav.is-open li:nth-child(1) { transition-delay: .18s; }
  .main-nav.is-open li:nth-child(2) { transition-delay: .24s; }
  .main-nav.is-open li:nth-child(3) { transition-delay: .3s; }
  .main-nav.is-open li:nth-child(4) { transition-delay: .36s; }
  .main-nav.is-open li:nth-child(5) { transition-delay: .42s; }
  .main-nav.is-open li:nth-child(6) { transition-delay: .48s; }
  .main-nav li a { display: inline-flex; align-items: baseline; gap: 14px; }
  .main-nav li a::before { counter-increment: nav; content: counter(nav, decimal-leading-zero); font-family: var(--f-label); font-size: .8rem; letter-spacing: .14em; color: var(--brass-light); }
  .menu-foot {
    position: relative; display: grid; gap: 14px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(245,241,232,.16);
    opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .7s var(--ease);
  }
  .main-nav.is-open .menu-foot { opacity: 1; transform: none; transition-delay: .55s; }
  .main-nav .menu-foot .btn { width: 100%; font-family: var(--f-label); font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; padding: 12px 24px; }
  .main-nav .menu-foot .btn::after { display: none; }
  .menu-foot p { font-size: .92rem; color: rgba(245,241,232,.65); text-align: center; }
}

@media (max-width: 760px) {
  :root { --sec: 76px; }
  html { -webkit-tap-highlight-color: transparent; }
  .h2 { font-size: clamp(1.95rem, 8.4vw, 2.4rem); }
  .section-head { margin-bottom: 34px; }
  .section-head > p:last-child:not(.eyebrow) { font-size: 1rem; }

  .header-inner { height: 66px; }
  .logo-big { font-size: 1.5rem; }
  .logo-small { font-size: .64rem; }
  .nav-toggle { width: 44px; height: 44px; }

  /* Hero: headline and buttons in the first screen, the blazer peeking up underneath. */
  .hero { min-height: 0; padding-block: 108px 56px; }
  .hero .eyebrow { font-size: .72rem; letter-spacing: .14em; }
  .display { font-size: clamp(2.5rem, 11.4vw, 3.3rem); }
  .hero .lede, .page-hero .lede { margin-top: 20px; font-size: 1.02rem; }
  .btn-row { flex-direction: column; gap: 12px; margin-top: 28px; }
  .btn-row .btn { width: 100%; }
  .hero-art { max-width: 310px; margin-top: 12px; }
  .callouts li { font-size: .64rem; letter-spacing: .1em; padding: 5px 10px; }
  .co-1, .co-4 { right: -6%; }
  .co-2, .co-3 { left: -6%; }
  .page-hero, .page-hero-slim { padding-block: 108px 64px; }
  .page-hero-art { max-width: 250px; margin-top: 8px; }
  .crumbs { margin-bottom: 20px; }
  .cta-inner .btn { width: 100%; }

  /* Press feedback for touch. */
  .btn, .aud-card, .feat, .offer, .client-card, .featured, .step, .logo-tile { transition-property: color, border-color, background, box-shadow, transform, opacity, scale; }
  .btn:active, .aud-card:active, .feat:active, .offer:active, .client-card:active { scale: .975; }

  /* Long card stacks become swipeable rows. */
  .swipe {
    display: flex !important; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 28px;
    background: none; border: 0;
  }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * {
    flex: 0 0 84%; scroll-snap-align: start; min-height: 0;
    transition: transform .55s var(--ease), opacity .55s var(--ease), box-shadow .5s var(--ease), scale .3s var(--ease);
  }
  .swipe > :not(.is-current) { transform: scale(.94); opacity: .55; }
  .swipe > .is-current { box-shadow: 0 16px 26px -18px rgba(10, 42, 32, .45); }
  .feat-grid.swipe > * { flex-basis: 74%; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
  .swipe-dots:not([hidden]) { display: flex; justify-content: center; gap: 6px; margin-top: 2px; }
  .swipe-dots span { width: 6px; height: 6px; border-radius: 3px; background: rgba(24,32,28,.2); transition: width .45s var(--ease), background .45s var(--ease); }
  .swipe-dots span.is-on { width: 24px; background: var(--brass); }
  .aud-card { padding: 30px 24px 26px; }

  /* Clients band */
  .featured { flex-direction: column; gap: 14px; padding: 24px; }
  .featured .crest-lg { width: 44px; height: 52px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
  .stats p { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 16px; }
  .stats b { font-size: 2.7rem; }
  .stats span { font-size: .8rem; line-height: 1.45; }
  .also { margin-top: 32px; }

  /* Process timeline fills in as you scroll. */
  .process-track { position: relative; }
  .process-track::after {
    content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: var(--red);
    transform: scaleY(var(--fill, 0)); transform-origin: top center;
  }
  .step { padding: 24px; }
  .step-no { font-size: 2.8rem; margin-bottom: 12px; }
  .step::before { transition: background .4s var(--ease), border-color .4s var(--ease), transform .5s cubic-bezier(.3, 1.6, .5, 1); z-index: 1; }
  .step.is-reached::before { background: var(--red); border-color: var(--red); transform: scale(1.25); }

  .faq-item summary { padding: 20px 0; }
  .faq-item p { padding-right: 8px; }
  .checklist li { font-size: 1.02rem; padding-block: 16px; }
  .contact-card { padding: 26px; }

  /* Footer */
  .footer-grid { padding-block: 56px 36px; }
  .site-footer nav ul { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .footer-base { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
  .site-footer { padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }

  /* WhatsApp: a slim pill that slides in once you're past the hero. */
  .wa-float {
    left: 50%; right: auto; bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    width: auto; height: 50px; padding: 0 22px 0 16px; gap: 10px; display: inline-flex; align-items: center;
    border-radius: 999px; border: 1px solid rgba(212,181,126,.55);
    background: rgba(10, 42, 32, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    color: var(--ivory); text-decoration: none; box-shadow: 0 18px 36px -14px rgba(0,0,0,.55);
    transform: translateX(-50%); transition: transform .6s var(--ease), opacity .4s var(--ease);
  }
  .wa-float::before { display: none; }
  .wa-float::after { content: "Enquire on WhatsApp"; font-family: var(--f-label); font-weight: 600; font-size: .92rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
  .wa-float svg { flex: none; width: 22px; height: 22px; max-width: none; color: #25d366; }
  .wa-float:hover { transform: translateX(-50%); }
  .wa-float.is-tucked { transform: translate(-50%, 160%); opacity: 0; pointer-events: none; }
}

/* Hidden until main.js plays the intro; the head script unhides them if it never runs. */
.motion [data-hero-item], .motion .display .line > span,
.motion .blazer-draw, .motion .hero-band, .motion .callouts li { opacity: 0; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .marquee { overflow-x: auto; }
  .wipe { display: none; }
}
