/* =========================================================
   ETEX — restyled in the WIN-CYC premium monochrome aesthetic
   Design tokens mirror wincyc.adaptivegp.com (HSL),
   typography: Poppins, with a rich scroll-animation vocabulary.
   ========================================================= */

:root {
  /* core palette (mirrors wincyc tokens) */
  --background: 0 0% 100%;
  --foreground: 0 0% 8%;
  --nav-background: 0 0% 100%;
  --nav-foreground: 0 0% 8%;
  --primary: 0 0% 4%;
  --primary-foreground: 0 0% 100%;
  --primary-hover: 0 0% 18%;
  --secondary: 0 0% 96%;
  --secondary-foreground: 0 0% 8%;
  --muted: 0 0% 94%;
  --muted-foreground: 0 0% 42%;
  --accent: 0 0% 10%;
  --accent-foreground: 0 0% 100%;
  --border: 0 0% 88%;
  --ring: 0 0% 10%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 8%;

  --shadow-card: 0 8px 32px rgba(0, 0, 0, .12);
  --shadow-soft: 0 2px 18px rgba(0, 0, 0, .06);
  --shadow-lift: 0 24px 60px rgba(0, 0, 0, .18);

  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-out-quart: cubic-bezier(.25, 1, .5, 1);

  --duration-fast: .25s;
  --duration-base: .55s;
  --duration-slow: .9s;
  --duration-enter: 1.1s;

  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --nav-h: 76px;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

[data-theme="dark"] {
  --background: 0 0% 5%;
  --foreground: 0 0% 93%;
  --nav-background: 0 0% 5%;
  --nav-foreground: 0 0% 93%;
  --primary: 0 0% 96%;
  --primary-foreground: 0 0% 4%;
  --primary-hover: 0 0% 80%;
  --secondary: 0 0% 11%;
  --secondary-foreground: 0 0% 93%;
  --muted: 0 0% 14%;
  --muted-foreground: 0 0% 55%;
  --accent: 0 0% 90%;
  --accent-foreground: 0 0% 5%;
  --border: 0 0% 18%;
  --ring: 0 0% 85%;
  --card: 0 0% 7%;
  --card-foreground: 0 0% 93%;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, .55);
  --shadow-soft: 0 2px 18px rgba(0, 0, 0, .4);
  --shadow-lift: 0 24px 60px rgba(0, 0, 0, .6);
}

/* ----------------------------- reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-weight: 400;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background .5s ease, color .5s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

::selection { background: hsl(var(--foreground)); color: hsl(var(--background)); }

/* custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: hsl(var(--secondary)); }
::-webkit-scrollbar-thumb { background: hsl(var(--muted-foreground)); border-radius: 10px; }

/* ----------------------------- type ----------------------------- */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.08; letter-spacing: -.02em; }
.display {
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 6rem);
  letter-spacing: -.045em;
  line-height: .98;
}
.eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: currentColor;
  display: inline-block;
}
.section-title {
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  letter-spacing: -.035em;
  font-weight: 600;
}
.lead { font-size: clamp(1rem, 1.6vw, 1.18rem); color: hsl(var(--muted-foreground)); font-weight: 300; }
.muted { color: hsl(var(--muted-foreground)); }

/* ----------------------------- layout ---------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 11vw, 160px) 0; }
.section--tight { padding: clamp(48px, 7vw, 96px) 0; }
.divider { height: 1px; background: hsl(var(--border)); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 34px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ----------------------------- buttons --------------------------- */
.btn {
  --bg: hsl(var(--primary));
  --fg: hsl(var(--primary-foreground));
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  background: var(--bg);
  color: var(--fg);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 100px;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--duration-fast) var(--ease-spring), box-shadow var(--duration-fast) ease;
}
.btn .arrow { transition: transform .4s var(--ease-out-expo); }
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.btn:hover .arrow { transform: translateX(5px); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: hsl(var(--primary-hover));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out-expo);
}
.btn:hover::after { transform: scaleX(1); }

.btn--ghost { --bg: transparent; --fg: hsl(var(--foreground)); border: 1px solid hsl(var(--border)); }
.btn--ghost::after { background: hsl(var(--foreground)); }
.btn--ghost:hover { color: hsl(var(--background)); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .82rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
  color: hsl(var(--foreground));
}
.link-arrow .arrow { transition: transform .4s var(--ease-out-expo); }
.link-arrow:hover .arrow { transform: translateX(6px); }
.link-arrow::before {
  content: ""; position: absolute;
}

/* ----------------------------- nav ------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: hsl(var(--nav-background) / .82);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease-out-expo), background .4s ease, border-color .4s ease, height .4s ease;
}
.nav.scrolled { border-bottom-color: hsl(var(--border)); height: 64px; }
.nav.hide { transform: translateY(-100%); }
.nav__inner { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .42em; font-size: 1.18rem; }
.brand b { font-weight: 700; }
.brand span { font-size: .55rem; letter-spacing: .3em; font-weight: 500; color: hsl(var(--muted-foreground)); }

.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 10px 14px;
  font-size: .76rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: hsl(var(--nav-foreground));
  opacity: .82; transition: opacity .3s ease;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out-expo);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav__link.active { opacity: 1; }

.nav__tools { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  transition: background .3s ease, transform .3s var(--ease-spring);
}
.icon-btn:hover { background: hsl(var(--secondary)); transform: translateY(-2px); }
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; }

.burger { display: none; }
.burger span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .4s var(--ease-spring), opacity .3s; }
.burger span + span { margin-top: 5px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 999;
  background: hsl(var(--background));
  padding: calc(var(--nav-h) + 30px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform .6s var(--ease-out-expo), opacity .4s ease;
}
body.menu-open .drawer { transform: translateY(0); opacity: 1; pointer-events: auto; }
.drawer a {
  font-size: clamp(1.6rem, 6vw, 2.4rem); font-weight: 600; letter-spacing: -.02em;
  padding: 12px 0; border-bottom: 1px solid hsl(var(--border));
  display: flex; justify-content: space-between; align-items: center;
  opacity: 0; transform: translateY(24px);
}
body.menu-open .drawer a { animation: reveal-up .6s var(--ease-out-expo) forwards; }
body.menu-open .drawer a:nth-child(1){animation-delay:.05s}
body.menu-open .drawer a:nth-child(2){animation-delay:.10s}
body.menu-open .drawer a:nth-child(3){animation-delay:.15s}
body.menu-open .drawer a:nth-child(4){animation-delay:.20s}
body.menu-open .drawer a:nth-child(5){animation-delay:.25s}
body.menu-open .drawer a:nth-child(6){animation-delay:.30s}
body.menu-open .drawer a:nth-child(7){animation-delay:.35s}
body.menu-open .drawer a:nth-child(8){animation-delay:.40s}

/* ----------------------------- hero ------------------------------ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden; color: #fff;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1.2s var(--ease-out-expo), visibility 1.2s;
}
.hero__slide.active { opacity: 1; visibility: visible; }
.hero__slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.18); transition: transform 7s linear;
}
.hero__slide.active img { transform: scale(1); }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.12) 40%, rgba(0,0,0,.72) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--container);
  margin: 0 auto; padding: 0 var(--gutter) clamp(60px, 9vw, 120px); }
.hero__kicker { color: rgba(255,255,255,.8); }
.hero__kicker::before { background: rgba(255,255,255,.8); }
.hero h1 { color: #fff; margin: 22px 0 18px; max-width: 16ch; }
.hero__sub { color: rgba(255,255,255,.85); font-weight: 300; max-width: 46ch; font-size: clamp(1rem,1.7vw,1.25rem); margin-bottom: 34px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn--ghost:hover { color: #000; }
.hero .btn--ghost::after { background: #fff; }

.hero__nav { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(60px,9vw,120px);
  display: flex; gap: 16px; align-items: center; }
.hero__count { color: #fff; font-size: .8rem; letter-spacing: .2em; font-variant-numeric: tabular-nums; }
.hero__dots { position: absolute; z-index: 3; left: var(--gutter); bottom: 38px; display: flex; gap: 10px; }
.hero__dot { width: 46px; height: 3px; background: rgba(255,255,255,.3); overflow: hidden; border-radius: 3px; }
.hero__dot i { display: block; height: 100%; width: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dot.active i { animation: hero-progress 6s linear forwards; }

.scroll-hint { position: absolute; z-index: 3; left: 50%; bottom: 30px; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: .68rem; letter-spacing: .25em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-hint i { width: 1px; height: 40px; background: rgba(255,255,255,.5); position: relative; overflow: hidden; }
.scroll-hint i::after { content:""; position:absolute; inset:0; background:#fff; animation: scroll-trail 2.2s var(--ease-out-expo) infinite; }
@keyframes scroll-trail { 0%{transform:translateY(-100%)} 60%,100%{transform:translateY(100%)} }

/* page hero (inner pages) */
.phero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.phero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.7)); }
.phero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--container); margin: 0 auto;
  padding: 0 var(--gutter) clamp(46px,6vw,84px); }
.phero h1 { color: #fff; font-size: clamp(2.4rem,6vw,5rem); margin: 16px 0 12px; }
.phero p { color: rgba(255,255,255,.85); max-width: 52ch; font-weight: 300; }
.phero .eyebrow { color: rgba(255,255,255,.8); }
.phero .eyebrow::before { background: rgba(255,255,255,.8); }

/* breadcrumb */
.crumb { display: flex; gap: 8px; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.crumb a:hover { color: hsl(var(--foreground)); }

/* ----------------------------- cards ----------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px,1.6vw,22px); }
.cat {
  position: relative; overflow: hidden; border-radius: 18px;
  min-height: 340px; display: flex; align-items: flex-end;
  color: #fff; isolation: isolate;
}
.cat--lg { grid-column: span 7; min-height: 460px; }
.cat--sm { grid-column: span 5; min-height: 460px; }
.cat--third { grid-column: span 4; }
.cat--half { grid-column: span 6; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 1.1s var(--ease-out-expo); }
.cat::after { content:""; position:absolute; inset:0; z-index:-1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.78)); transition: background .5s ease; }
.cat:hover img { transform: scale(1.08); }
.cat:hover::after { background: linear-gradient(180deg, rgba(0,0,0,.1) 10%, rgba(0,0,0,.82)); }
.cat__body { position: relative; padding: clamp(22px,3vw,40px); width: 100%; }
.cat__body h3 { font-size: clamp(1.4rem,2.4vw,2.1rem); }
.cat__body .num { font-size:.7rem; letter-spacing:.3em; opacity:.7; display:block; margin-bottom:10px; }
.cat__go { margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; font-size:.78rem;
  letter-spacing:.08em; text-transform: uppercase; opacity: 0; transform: translateY(12px);
  transition: opacity .45s var(--ease-out-expo), transform .45s var(--ease-out-expo); }
.cat:hover .cat__go { opacity: 1; transform: translateY(0); }

/* product / swatch cards */
.swatch {
  position: relative; overflow: hidden; border-radius: 14px; background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
}
.swatch__img { aspect-ratio: 1/1; overflow: hidden; }
.swatch__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out-expo); }
.swatch:hover .swatch__img img { transform: scale(1.09); }
.swatch__body { padding: 18px 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.swatch__body h4 { font-size: 1rem; letter-spacing: -.01em; }
.swatch__body .arrow { transition: transform .4s var(--ease-out-expo); color: hsl(var(--muted-foreground)); }
.swatch:hover .swatch__body .arrow { transform: translateX(5px); color: hsl(var(--foreground)); }
.swatch__tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: hsl(var(--background) / .9);
  padding: 5px 12px; border-radius: 100px; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }

/* feature split */
.feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px,5vw,80px); align-items: center; }
.feature--rev { direction: rtl; }
.feature--rev > * { direction: ltr; }
.feature__media { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 5/4; box-shadow: var(--shadow-card); }
.feature__media img { width:100%; height:100%; object-fit: cover; transition: transform 1.2s var(--ease-out-expo); }
.feature:hover .feature__media img { transform: scale(1.05); }
.feature__media .badge { position:absolute; top:20px; left:20px; background:hsl(var(--background)/.92); padding:8px 16px;
  border-radius:100px; font-size:.66rem; letter-spacing:.2em; text-transform:uppercase; font-weight:600; }
.feature h2 { margin-bottom: 22px; }
.feature p + p { margin-top: 16px; }
.feature .btn { margin-top: 30px; }

/* stat / counter row */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(20px,3vw,44px); }
.stat { border-top: 1px solid hsl(var(--border)); padding-top: 22px; }
.stat__num { font-size: clamp(2.4rem,5vw,4rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__num .suf { font-size: .5em; vertical-align: super; }
.stat__label { margin-top: 10px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }

/* brand marquee */
.marquee { overflow: hidden; border-top: 1px solid hsl(var(--border)); border-bottom: 1px solid hsl(var(--border)); padding: 30px 0; }
.marquee__track { display: flex; gap: clamp(40px,6vw,90px); width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-size: clamp(1.3rem,2.6vw,2.2rem); font-weight: 600; letter-spacing: .02em; color: hsl(var(--muted-foreground)); white-space: nowrap; transition: color .3s ease; }
.marquee__item:hover { color: hsl(var(--foreground)); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* timeline */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content:""; position:absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: hsl(var(--border)); }
.tl { position: relative; padding: 0 0 clamp(34px,5vw,58px) 44px; }
.tl::before { content:""; position:absolute; left:0; top:4px; width:15px; height:15px; border-radius:50%;
  background: hsl(var(--background)); border: 2px solid hsl(var(--foreground)); transition: background .4s ease, transform .4s var(--ease-spring); }
.tl.in::before { animation: ms-dot-pop .6s var(--ease-spring) both; }
.tl:hover::before { background: hsl(var(--foreground)); }
.tl__year { font-size: clamp(1.4rem,3vw,2.2rem); font-weight: 700; letter-spacing: -.03em; }
.tl__text { color: hsl(var(--muted-foreground)); max-width: 60ch; margin-top: 6px; }

/* quote / pull */
.pull { font-size: clamp(1.6rem,4vw,3rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.18; max-width: 22ch; }
.pull .hl { position: relative; }
.pull .hl::after { content:""; position:absolute; left:0; right:0; bottom: 4px; height: .34em; background: hsl(var(--muted)); z-index:-1;
  transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out-expo) .3s; }
.pull.in .hl::after { transform: scaleX(1); }

/* gallery */
.gallery { columns: 3; column-gap: clamp(14px,1.8vw,22px); }
.gitem { break-inside: avoid; margin-bottom: clamp(14px,1.8vw,22px); position: relative; overflow: hidden; border-radius: 14px; cursor: pointer; }
.gitem img { width: 100%; transition: transform 1.1s var(--ease-out-expo); }
.gitem::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg,transparent 40%,rgba(0,0,0,.72)); opacity:0; transition:opacity .45s ease; }
.gitem__cap { position:absolute; left:0; right:0; bottom:0; padding: 22px; color:#fff; z-index:2;
  transform: translateY(14px); opacity:0; transition: transform .5s var(--ease-out-expo), opacity .5s ease; }
.gitem__cap h4 { font-size: 1.2rem; }
.gitem__cap span { font-size:.72rem; letter-spacing:.18em; text-transform:uppercase; opacity:.8; }
.gitem:hover img { transform: scale(1.06); }
.gitem:hover::after { opacity: 1; }
.gitem:hover .gitem__cap { transform: translateY(0); opacity: 1; }

/* filter pills */
.filters { display:flex; flex-wrap:wrap; gap:10px; }
.pill { padding: 9px 20px; border-radius: 100px; border:1px solid hsl(var(--border)); font-size:.76rem;
  letter-spacing:.08em; text-transform:uppercase; transition: all .35s var(--ease-spring); }
.pill:hover { transform: translateY(-2px); }
.pill.active { background: hsl(var(--foreground)); color: hsl(var(--background)); border-color: hsl(var(--foreground)); }

/* info / contact cards */
.icard { padding: clamp(26px,3vw,40px); border:1px solid hsl(var(--border)); border-radius: 18px; background: hsl(var(--card));
  transition: transform .5s var(--ease-spring), box-shadow .5s ease, border-color .4s ease; }
.icard:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: transparent; }
.icard h4 { font-size:.78rem; letter-spacing:.2em; text-transform:uppercase; color: hsl(var(--muted-foreground)); margin-bottom: 14px; }
.icard p { font-size: 1.15rem; font-weight: 500; }

/* split CTA band */
.band { position: relative; overflow: hidden; border-radius: 22px; color:#fff; padding: clamp(48px,7vw,96px) var(--gutter); }
.band img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; transform: scale(1.05); }
.band::after { content:""; position:absolute; inset:0; z-index:-1; background: rgba(0,0,0,.55); }
.band h2 { color:#fff; font-size: clamp(2rem,5vw,3.6rem); max-width: 18ch; }
.band p { color: rgba(255,255,255,.85); max-width: 50ch; margin: 18px 0 34px; font-weight: 300; }
.band .btn { background:#fff; color:#000; }
.band .btn::after { background: rgba(255,255,255,.75); }

/* map */
.map-wrap { border-radius: 18px; overflow: hidden; border:1px solid hsl(var(--border)); box-shadow: var(--shadow-soft); }
.map-wrap iframe { width:100%; height: 440px; border:0; display:block; filter: grayscale(1) contrast(1.05); transition: filter .6s ease; }
.map-wrap:hover iframe { filter: grayscale(0); }

/* form */
.field { position: relative; margin-bottom: 22px; }
.field input, .field textarea {
  width:100%; padding: 16px 4px; background: transparent; border: none; border-bottom: 1px solid hsl(var(--border));
  font-family: inherit; font-size: 1rem; color: hsl(var(--foreground)); transition: border-color .4s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: hsl(var(--foreground)); }
.field label { position:absolute; left:4px; top:16px; color: hsl(var(--muted-foreground)); pointer-events:none;
  transition: all .35s var(--ease-out-expo); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: -10px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: hsl(var(--foreground)); }

/* ----------------------- product catalog ------------------------- */
.catalog-bar {
  position: sticky; top: var(--nav-h); z-index: 40;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 16px 0; margin-bottom: 8px;
  background: hsl(var(--background) / .9); backdrop-filter: blur(12px);
}
.search {
  position: relative; flex: 1 1 320px; min-width: 240px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; border: 1px solid hsl(var(--border)); border-radius: 100px;
  transition: border-color .35s ease, box-shadow .35s ease;
}
.search:focus-within { border-color: hsl(var(--foreground)); box-shadow: var(--shadow-soft); }
.search svg { width: 18px; height: 18px; stroke: hsl(var(--muted-foreground)); fill: none; stroke-width: 1.8; flex: none; }
.search input { flex: 1; border: none; background: none; outline: none; font-family: inherit; font-size: .98rem; color: hsl(var(--foreground)); }
.search input::placeholder { color: hsl(var(--muted-foreground)); }
.search__clear { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  color: hsl(var(--muted-foreground)); opacity: 0; pointer-events: none; transition: opacity .25s ease, background .25s; }
.search__clear.show { opacity: 1; pointer-events: auto; }
.search__clear:hover { background: hsl(var(--secondary)); color: hsl(var(--foreground)); }
.catalog-count { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: hsl(var(--muted-foreground)); white-space: nowrap; }
.catalog-count b { color: hsl(var(--foreground)); font-variant-numeric: tabular-nums; }

.filter-row { margin-bottom: 14px; }
.filter-row__label { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: hsl(var(--muted-foreground)); margin: 0 0 12px 2px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 9px; }

.catalog-grid { margin-top: 30px; }
.pcard { text-align: left; width: 100%; }
.pcard__img { aspect-ratio: 1/1; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out-expo); }
.pcard:hover .pcard__img img { transform: scale(1.08); }
.pcard__body { padding: 16px 18px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pcard__body h4 { font-size: 1rem; }
.pcard__body .sub { display: block; font-size: .76rem; letter-spacing: .04em; color: hsl(var(--muted-foreground)); margin-top: 3px; }
.pcard__body .arrow { color: hsl(var(--muted-foreground)); transition: transform .4s var(--ease-out-expo), color .3s; flex: none; }
.pcard:hover .pcard__body .arrow { transform: translateX(5px); color: hsl(var(--foreground)); }

.catalog-empty { text-align: center; padding: 80px 0; }
.catalog-empty h3 { font-size: 1.5rem; margin-bottom: 10px; }
.catalog-empty p { color: hsl(var(--muted-foreground)); }
.catalog-empty button { margin-top: 22px; }

/* quick-view modal */
.modal { position: fixed; inset: 0; z-index: 1500; display: grid; place-items: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); }
.modal__panel { position: relative; z-index: 2; width: min(880px, 100%); max-height: 88vh; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr; background: hsl(var(--card)); border-radius: 20px;
  box-shadow: var(--shadow-lift); transform: translateY(30px) scale(.97); transition: transform .5s var(--ease-spring); }
.modal.open .modal__panel { transform: none; }
.modal__media { position: relative; overflow: hidden; min-height: 320px; }
.modal__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: clamp(28px,4vw,46px); display: flex; flex-direction: column; }
.modal__body .swatch__tag { position: static; display: inline-block; margin-bottom: 16px; }
.modal__body h3 { font-size: clamp(1.6rem,3vw,2.4rem); }
.modal__body .meta { color: hsl(var(--muted-foreground)); margin: 8px 0 20px; letter-spacing: .04em; }
.modal__body p { color: hsl(var(--muted-foreground)); font-weight: 300; }
.modal__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.modal__specs div { border-top: 1px solid hsl(var(--border)); padding-top: 10px; }
.modal__specs span { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.modal__specs b { font-weight: 500; }
.modal__cta { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; }
.modal__close { position: absolute; top: 16px; right: 16px; z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  background: hsl(var(--background)/.9); display: grid; place-items: center; transition: transform .3s var(--ease-spring); }
.modal__close:hover { transform: rotate(90deg); }
.modal__close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
@media (max-width: 700px) {
  .modal__panel { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .modal__media { min-height: 240px; height: 240px; }
}

/* ----------------------------- footer ---------------------------- */
.footer { background: hsl(var(--secondary)); padding: clamp(60px,8vw,110px) 0 40px; margin-top: 0; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(30px,4vw,60px); }
.footer__brand .brand { margin-bottom: 18px; }
.footer__brand p { color: hsl(var(--muted-foreground)); max-width: 34ch; font-weight: 300; }
.footer h5 { font-size:.74rem; letter-spacing:.2em; text-transform:uppercase; color: hsl(var(--muted-foreground)); margin-bottom: 20px; }
.footer__col a, .footer__col p { display:block; padding: 7px 0; color: hsl(var(--foreground)); position: relative; width: fit-content; }
.footer__col a::after { content:""; position:absolute; left:0; bottom:6px; width:0; height:1px; background: currentColor; transition: width .4s var(--ease-out-expo); }
.footer__col a:hover::after { width: 100%; }
.footer__bottom { margin-top: clamp(48px,6vw,80px); padding-top: 28px; border-top: 1px solid hsl(var(--border));
  display:flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size:.78rem; color: hsl(var(--muted-foreground)); }
.footer__mark { font-size: clamp(3rem,16vw,13rem); font-weight: 800; letter-spacing: -.05em; line-height: .8;
  color: transparent; -webkit-text-stroke: 1px hsl(var(--border)); margin-top: 40px; user-select: none; overflow: hidden; }

/* ----------------------- scroll reveal system -------------------- */
[data-reveal] { opacity: 0; transition: opacity var(--duration-slow) var(--ease-out-expo), transform var(--duration-slow) var(--ease-out-expo); will-change: opacity, transform; }
[data-reveal="up"] { transform: translateY(46px); }
[data-reveal="down"] { transform: translateY(-46px); }
[data-reveal="left"] { transform: translateX(60px); }
[data-reveal="right"] { transform: translateX(-60px); }
[data-reveal="scale"] { transform: scale(.92); }
[data-reveal="clip"] { clip-path: inset(0 0 100% 0); transform: none; }
[data-reveal].in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
[data-delay="1"]{ transition-delay:.08s } [data-delay="2"]{ transition-delay:.16s }
[data-delay="3"]{ transition-delay:.24s } [data-delay="4"]{ transition-delay:.32s }
[data-delay="5"]{ transition-delay:.40s } [data-delay="6"]{ transition-delay:.48s }

/* line reveal for headings */
.reveal-lines span { display: inline-block; overflow: hidden; }
.reveal-lines span > i { display: inline-block; font-style: normal; transform: translateY(110%); transition: transform .9s var(--ease-out-expo); }
.reveal-lines.in span > i { transform: translateY(0); }
.reveal-lines.in span:nth-child(2) > i { transition-delay: .08s; }
.reveal-lines.in span:nth-child(3) > i { transition-delay: .16s; }

/* keyframes */
@keyframes reveal-up { from { opacity:0; transform: translateY(30px); } to { opacity:1; transform:none; } }
@keyframes hero-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ms-dot-pop { 0%{ transform: scale(0); } 60%{ transform: scale(1.3); } 100%{ transform: scale(1);} }
@keyframes float-y { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }
@keyframes fade-in { from{opacity:0} to{opacity:1} }

.float { animation: float-y 6s ease-in-out infinite; }

/* top progress bar */
.progress-top { position: fixed; top:0; left:0; height: 3px; background: hsl(var(--foreground)); z-index: 1100; width: 0; transition: width .1s linear; }

/* cursor dot (desktop) */
.cursor { position: fixed; top:0; left:0; width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--foreground));
  pointer-events: none; z-index: 2000; transform: translate(-50%,-50%); transition: transform .12s ease; mix-blend-mode: difference; }
.cursor-ring { position: fixed; top:0; left:0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid hsl(var(--foreground));
  pointer-events: none; z-index: 2000; transform: translate(-50%,-50%); transition: transform .25s var(--ease-out-expo), width .25s, height .25s; mix-blend-mode: difference; }
.cursor-ring.grow { width: 64px; height: 64px; }

/* theme toggle icon swap */
.theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }

/* ----------------------------- responsive ------------------------ */
@media (max-width: 1024px) {
  .nav__menu { display: none; }
  .burger { display: block; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .cat--lg, .cat--sm, .cat--third, .cat--half { grid-column: span 6; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
  .feature { grid-template-columns: 1fr; }
  .feature--rev { direction: ltr; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .gallery { columns: 2; }
  .cat-grid > * { grid-column: span 12 !important; min-height: 320px; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__nav { display: none; }
  .cursor, .cursor-ring { display: none; }
}
@media (max-width: 520px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .stats { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
