/* ============================================================
   THESPLEAF — Silver Palm Leaf
   Design tokens + components
   ============================================================ */

:root {
  /* surfaces */
  --bg:      #08090a;
  --bg-1:    #0d0e10;
  --bg-2:    #141618;
  --bg-3:    #1b1e21;

  /* lines */
  --line:    rgba(255,255,255,0.075);
  --line-2:  rgba(255,255,255,0.14);
  --line-3:  rgba(255,255,255,0.22);

  /* ink */
  --fg:      #f3f4f5;
  --fg-soft: #c3c7cb;
  --muted:   #888d92;
  --muted-2: #5b6064;
  --faint:   #3a3e42;

  /* accent — anodized cobalt */
  --accent:      #2e63f2;
  --accent-soft: #5b86ff;
  --accent-glow: rgba(46,99,242,0.45);
  --accent-ink:  #ffffff;

  /* type */
  --sans: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* metrics */
  --nav-h: 76px;
  --maxw: 1280px;
  --pad: 28px;
  --section-pad: 120px;
  --display: var(--sans);
  --radius: 3px;
  --radius-lg: 6px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

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

/* scrollbars */
* { scrollbar-width: thin; scrollbar-color: #2a2d30 transparent; }
*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-thumb { background: #2a2d30; border-radius: 3px; }
*::-webkit-scrollbar-track { background: transparent; }

/* ---------- type helpers ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dot { color: var(--accent-soft); }

.display {
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-wrap: balance;
}

.mono { font-family: var(--mono); }

h1,h2,h3,h4 { font-weight: 500; letter-spacing: -0.015em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.muted { color: var(--muted); }
.soft  { color: var(--fg-soft); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(18px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: height 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav.scrolled {
  height: 62px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.brand__mark { width: 26px; height: 38px; color: var(--fg); transition: color 0.3s; }
.brand:hover .brand__mark { color: var(--accent-soft); }
.brand__word {
  font-size: 15px; font-weight: 500;
  letter-spacing: 0.34em; text-indent: 0.34em;
  color: var(--fg);
}

.nav__links { display: flex; align-items: center; gap: 38px; }
.nav__link {
  font-family: var(--mono);
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  position: relative; padding: 6px 0;
  transition: color 0.25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover { color: var(--fg); }
.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }
.nav__link.active { color: var(--fg); }

.nav__right { display: flex; align-items: center; gap: 22px; }

.ig-link {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: var(--radius);
  color: var(--fg-soft); transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.ig-link svg { width: 17px; height: 17px; }
.ig-link:hover { color: var(--fg); border-color: var(--line-3); background: var(--bg-1); }
.ig-link--foot {
  width: auto; height: auto; gap: 9px; padding: 9px 13px; border-radius: 100px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: lowercase;
  color: var(--muted);
}
.ig-link--foot:hover { color: var(--fg); }
.ig-link--foot svg { width: 15px; height: 15px; }

.cart-btn {
  position: relative; display: flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-soft);
  padding: 9px 14px; border: 1px solid var(--line-2);
  border-radius: var(--radius);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.cart-btn:hover { border-color: var(--line-3); color: var(--fg); background: var(--bg-1); }
.cart-btn svg { width: 15px; height: 15px; }
.cart-btn__count {
  min-width: 17px; height: 17px; padding: 0 4px;
  display: none; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 600; border-radius: 9px;
}
.cart-btn__count.show { display: inline-flex; }

.nav__menu-toggle { display: none; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 15px 28px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: all 0.28s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--fg); color: #0a0a0a; }
.btn--primary:hover { background: #fff; transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 var(--accent-glow); }
.btn--accent:hover { box-shadow: 0 8px 30px -8px var(--accent-glow); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line-2); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); background: var(--fg); color: #0a0a0a; }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 32px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg);
  padding-bottom: 4px; border-bottom: 1px solid var(--line-3);
  transition: gap 0.25s var(--ease), color 0.25s, border-color 0.25s;
}
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.link-arrow:hover { gap: 14px; color: var(--accent-soft); border-color: var(--accent); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ============================================================
   PAGE / SECTIONS
   ============================================================ */
main { padding-top: var(--nav-h); }
.view { display: none; }
.view.active { display: block; }

.section { padding: var(--section-pad) 0; border-bottom: 1px solid var(--line); }
.section--tight { padding: 90px 0; }

.section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 4vw, 46px); }
.index-tag { font-family: var(--mono); font-size: 11px; color: var(--muted-2); letter-spacing: 0.2em; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: calc(100vh - var(--nav-h));
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px clamp(28px, 5vw, 80px);
  position: relative; z-index: 2;
}
.hero__eyebrow { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.96; letter-spacing: -0.03em; font-weight: 500;
  margin-bottom: 28px;
}
.hero h1 .thin { color: var(--muted); font-weight: 300; }
.hero__lead {
  font-size: 16px; color: var(--fg-soft); max-width: 44ch;
  line-height: 1.65; margin-bottom: 18px;
}
.hero__meta {
  display: flex; gap: 28px; margin: 34px 0 40px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}
.hero__meta div { display: flex; flex-direction: column; gap: 7px; }
.hero__meta b { color: var(--fg); font-weight: 500; font-size: 13px; letter-spacing: 0.04em; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__media {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 70% 35%, #16191c 0%, #0a0b0c 55%, #060708 100%);
  border-left: 1px solid var(--line);
}
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0; transition: opacity 1.1s var(--ease), transform 14s linear;
}
.hero__media img.show { opacity: 1; }
.hero__media-edge {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(8,9,10,0.85) 0%, transparent 22%, transparent 100%);
}
.hero__price-tag {
  position: absolute; left: 0; bottom: 0; z-index: 3;
  display: flex; align-items: baseline; gap: 8px;
  padding: 16px 22px;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-2); border-right: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.hero__price-tag b { color: var(--fg); font-size: 18px; }

.hero__finish-switch {
  position: absolute; right: 22px; bottom: 22px; z-index: 3;
  display: flex; gap: 8px;
}
.finish-dot {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line-2); cursor: pointer; position: relative;
  transition: transform 0.2s, border-color 0.2s;
}
.finish-dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid transparent; transition: border-color 0.2s;
}
.finish-dot[data-finish="graphite"] { background: linear-gradient(135deg, #6b7075, #2f3438); }
.finish-dot[data-finish="cobalt"] { background: linear-gradient(135deg, #4f7bff, #15307a); }
.finish-dot.active::after { border-color: var(--fg); }
.finish-dot:hover { transform: scale(1.08); }

/* ============================================================
   MARQUEE / TICKER
   ============================================================ */
.ticker {
  border-bottom: 1px solid var(--line); overflow: hidden;
  background: var(--bg-1); padding: 16px 0;
}
.ticker__track {
  display: flex; gap: 56px; white-space: nowrap;
  animation: ticker 32s linear infinite;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}
.ticker__track span { display: inline-flex; align-items: center; gap: 56px; }
.ticker__track span::after { content: "✦"; color: var(--accent-soft); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============================================================
   FEATURE GRID
   ============================================================ */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature { background: var(--bg); padding: 40px 34px; display: flex; flex-direction: column; gap: 18px; transition: background 0.35s; position: relative; }
.feature:hover { background: var(--bg-1); }
.feature__num { font-family: var(--mono); font-size: 11px; color: var(--muted-2); letter-spacing: 0.16em; }
.feature__icon { width: 40px; height: 40px; color: var(--accent-soft); }
.feature h3 { font-size: 18px; letter-spacing: -0.01em; }
.feature p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ============================================================
   SPLIT-PLATE INTERACTIVE
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line); background: #050607;
}
.split__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 0.7s var(--ease);
}
.split__media img.show { opacity: 1; }
.split__toggle {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  display: flex; border: 1px solid var(--line-2); border-radius: 100px;
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  backdrop-filter: blur(10px); overflow: hidden;
}
.split__toggle button {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 10px 18px; color: var(--muted);
  transition: color 0.25s, background 0.25s;
}
.split__toggle button.active { color: #fff; background: var(--accent); }
.split__caption {
  position: absolute; right: 18px; top: 18px; z-index: 2;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-soft);
  padding: 7px 11px; border: 1px solid var(--line-2); border-radius: 100px;
  background: color-mix(in srgb, var(--bg) 50%, transparent); backdrop-filter: blur(8px);
}
.split__copy h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 24px; }
.split__copy p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 22px; max-width: 46ch; }
.spec-row {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 14px 0; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em;
}
.spec-row span { color: var(--muted); text-transform: uppercase; }
.spec-row b { color: var(--fg); font-weight: 500; }

/* ============================================================
   EDITORIAL IMAGE BLOCKS
   ============================================================ */
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.editorial--flip .editorial__media { order: 2; }
.editorial__media {
  aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: #050607;
}
.editorial__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.editorial__media:hover img { transform: scale(1.04); }
.editorial__copy h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 22px; }
.editorial__copy p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 26px; max-width: 46ch; }

/* full bleed band */
.band { position: relative; height: 78vh; min-height: 520px; overflow: hidden; border-bottom: 1px solid var(--line); }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,10,0.5) 0%, transparent 30%, transparent 60%, rgba(8,9,10,0.85) 100%); }
.band__copy { position: absolute; left: 0; bottom: 0; padding: clamp(40px, 6vw, 80px); max-width: 720px; }
.band__copy h2 { font-size: clamp(30px, 5vw, 62px); line-height: 1.0; margin: 18px 0; }
.band__copy p { color: var(--fg-soft); font-size: 16px; max-width: 46ch; }

/* ============================================================
   SHOP GRID
   ============================================================ */
.shop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.product-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-1); display: flex; flex-direction: column;
  transition: border-color 0.35s, transform 0.35s var(--ease);
}
.product-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.product-card__media {
  position: relative; aspect-ratio: 1/1; overflow: hidden; background: #050607; cursor: pointer;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), opacity 0.5s; }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-soft); padding: 6px 10px; border: 1px solid var(--line-2);
  border-radius: 100px; background: color-mix(in srgb, var(--bg) 55%, transparent); backdrop-filter: blur(6px);
}
.product-card__body { padding: 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.product-card__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.product-card__row h3 { font-size: 17px; }
.product-card__price { font-family: var(--mono); font-size: 15px; color: var(--fg); white-space: nowrap; }
.product-card__desc { font-size: 13.5px; color: var(--muted); line-height: 1.6; flex: 1; }
.product-card__actions { display: flex; gap: 12px; }

.swatch-row { display: flex; gap: 8px; align-items: center; }
.swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line-2); }
.swatch--graphite { background: linear-gradient(135deg, #6b7075, #2f3438); }
.swatch--cobalt { background: linear-gradient(135deg, #4f7bff, #15307a); }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.pdp { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
.gallery { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 100px; }
.gallery__main {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line); background: #050607;
}
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s var(--ease); }
.gallery__main img.show { opacity: 1; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.thumb {
  aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #050607; cursor: pointer; opacity: 0.6;
  transition: opacity 0.25s, border-color 0.25s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb.active { opacity: 1; border-color: var(--accent); }

.pdp__info { display: flex; flex-direction: column; gap: 26px; }
.pdp__head h1 { font-size: clamp(28px, 3.6vw, 40px); margin: 10px 0 14px; }
.pdp__price { font-family: var(--mono); font-size: 22px; color: var(--fg); }
.pdp__price .vat { font-size: 11px; color: var(--muted); letter-spacing: 0.1em; }
.pdp__desc { color: var(--fg-soft); font-size: 15px; line-height: 1.7; }

.config { display: flex; flex-direction: column; gap: 14px; }
.config__label { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.config__label b { color: var(--fg); font-weight: 500; }
.variant-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.variant {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--radius);
  cursor: pointer; transition: border-color 0.25s, background 0.25s;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.variant:hover { border-color: var(--line-3); }
.variant.active { border-color: var(--fg); color: var(--fg); background: var(--bg-1); }
.variant .swatch { width: 20px; height: 20px; }

.qty { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--radius); width: fit-content; }
.qty button { width: 42px; height: 46px; font-size: 18px; color: var(--fg-soft); transition: color 0.2s; }
.qty button:hover { color: var(--fg); }
.qty span { width: 44px; text-align: center; font-family: var(--mono); font-size: 14px; }

.pdp__assure { display: flex; gap: 22px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); }
.pdp__assure div { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.pdp__assure svg { width: 15px; height: 15px; color: var(--accent-soft); }

.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__head { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; text-align: left; font-size: 14px; font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg); }
.accordion__head .plus { color: var(--muted); transition: transform 0.3s var(--ease); font-size: 18px; }
.accordion__item.open .plus { transform: rotate(45deg); color: var(--accent-soft); }
.accordion__body { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.accordion__body-inner { padding: 0 0 22px; }
.accordion__body-inner p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.spec-list { display: flex; flex-direction: column; }

/* ============================================================
   ABOUT / FAQ / CONTACT (content views)
   ============================================================ */
.content-view { max-width: 820px; margin: 0 auto; padding: 80px var(--pad) 0; }
.content-view--wide { max-width: var(--maxw); }
.page-title { font-size: clamp(34px, 5vw, 58px); letter-spacing: -0.02em; margin-bottom: 22px; }
.lede { font-size: 18px; color: var(--fg-soft); line-height: 1.6; max-width: 60ch; margin-bottom: 56px; }

.about-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.prose p { color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 22px; }
.prose p .hl { color: var(--fg); }

/* legal pages */
.legal-date { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); margin: -8px 0 48px; }
.legal-prose { max-width: 64ch; }
.legal-prose h3 { font-size: 17px; color: var(--fg); margin: 38px 0 14px; letter-spacing: -0.01em; }
.legal-prose ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin: 0 0 22px; padding: 0; }
.legal-prose li { position: relative; padding-left: 20px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.legal-prose li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-soft); }
.legal-link { color: var(--fg); border-bottom: 1px solid var(--line-3); transition: color 0.2s, border-color 0.2s; }
.legal-link:hover { color: var(--accent-soft); border-color: var(--accent); }
.about-stat { border-top: 1px solid var(--line); padding: 22px 0; }
.about-stat b { display: block; font-family: var(--mono); font-size: 30px; color: var(--fg); font-weight: 500; }
.about-stat span { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--mono); }

.faq-list { display: flex; flex-direction: column; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 14px 16px; color: var(--fg); font-family: var(--sans); font-size: 15px;
  transition: border-color 0.25s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.contact-aside { display: flex; flex-direction: column; gap: 28px; }
.contact-aside .block { border-top: 1px solid var(--line); padding-top: 20px; }
.contact-aside h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.contact-aside p { font-size: 15px; color: var(--fg-soft); line-height: 1.6; }

/* ============================================================
   CART DRAWER
   ============================================================ */
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 440px; max-width: 92vw;
  z-index: 200; background: var(--bg-1); border-left: 1px solid var(--line-2);
  transform: translateX(100%); transition: transform 0.45s var(--ease);
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--mono); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; }
.drawer__close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--muted); transition: color 0.2s, border-color 0.2s; }
.drawer__close:hover { color: var(--fg); border-color: var(--line-3); }
.drawer__items { flex: 1; overflow-y: auto; padding: 26px; display: flex; flex-direction: column; gap: 20px; }
.drawer__empty { text-align: center; color: var(--muted-2); font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; padding: 60px 0; }
.cart-item { display: flex; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.cart-item__img { width: 72px; height: 72px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); flex-shrink: 0; background: #050607; }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__info { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.cart-item__info h4 { font-size: 13px; font-weight: 500; }
.cart-item__meta { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
.cart-item__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.cart-item__qty { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; }
.cart-item__qty button { width: 22px; height: 22px; border: 1px solid var(--line-2); border-radius: 3px; color: var(--muted); display: flex; align-items: center; justify-content: center; transition: color 0.2s, border-color 0.2s; }
.cart-item__qty button:hover { color: var(--fg); border-color: var(--line-3); }
.cart-item__remove { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); transition: color 0.2s; }
.cart-item__remove:hover { color: var(--accent-soft); }
.drawer__foot { padding: 24px 26px; border-top: 1px solid var(--line); background: var(--bg); display: flex; flex-direction: column; gap: 18px; }
.drawer__line { display: flex; justify-content: space-between; align-items: baseline; }
.drawer__line span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.drawer__line.total span { color: var(--fg); }
.drawer__line b { font-family: var(--mono); font-size: 20px; color: var(--fg); font-weight: 500; }
.drawer__note { font-size: 11px; color: var(--muted-2); line-height: 1.6; }

.backdrop { position: fixed; inset: 0; z-index: 150; background: rgba(2,3,4,0.6); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.backdrop.show { opacity: 1; pointer-events: auto; }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 120%);
  z-index: 300; display: flex; align-items: center; gap: 12px;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 14px 20px; box-shadow: 0 20px 50px -20px rgba(0,0,0,0.8);
  transition: transform 0.45s var(--ease); max-width: 90vw;
}
.toast.show { transform: translate(-50%, 0); }
.toast__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-soft); box-shadow: 0 0 10px var(--accent-glow); }
.toast span { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #050607; border-top: 1px solid var(--line); padding: 80px 0 36px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; }
.footer__brand { display: flex; flex-direction: column; gap: 20px; max-width: 320px; }
.footer__brand-row { display: flex; align-items: center; gap: 12px; }
.footer__brand p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.footer__links { display: flex; flex-direction: column; gap: 13px; }
.footer__links a { font-size: 14px; color: var(--fg-soft); transition: color 0.2s; width: fit-content; }
.footer__links a:hover { color: var(--fg); }
.footer__sub p { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.sub-form { display: flex; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.sub-form input { flex: 1; background: transparent; border: none; padding: 13px 14px; color: var(--fg); font-family: var(--mono); font-size: 12px; }
.sub-form input:focus { outline: none; }
.sub-form button { padding: 0 18px; background: var(--fg); color: #0a0a0a; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; transition: background 0.2s; }
.sub-form button:hover { background: var(--accent); color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-filter { display: flex; gap: 8px; margin-bottom: 44px; flex-wrap: wrap; }
.gallery-filter button {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 100px; color: var(--muted);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.gallery-filter button:hover { color: var(--fg); border-color: var(--line-3); }
.gallery-filter button.active { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }

.gallery-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; grid-auto-flow: dense;
}
.gtile {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #050607; cursor: pointer; grid-column: span 2; aspect-ratio: 1/1;
  transition: border-color 0.35s, transform 0.5s var(--ease), opacity 0.4s var(--ease);
}
.gtile[data-span="wide"]  { grid-column: span 4; aspect-ratio: 16/10; }
.gtile[data-span="tall"]  { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gtile[data-span="big"]   { grid-column: span 3; grid-row: span 2; aspect-ratio: auto; }
.gtile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.gtile video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; background: #050607; }
.gvid-badge {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  pointer-events: none; transition: opacity 0.3s;
}
.gvid-badge svg {
  width: 30px; height: 30px; color: #fff; padding: 14px; box-sizing: content-box;
  border-radius: 50%; background: color-mix(in srgb, var(--accent) 82%, transparent);
  backdrop-filter: blur(4px); box-shadow: 0 6px 24px -6px var(--accent-glow);
  transform: translateX(2px);
}
.gtile:hover .gvid-badge svg { background: var(--accent); }
.gtile:hover { border-color: var(--line-3); }
.gtile:hover img { transform: scale(1.05); }
.gtile.hide { display: none; }
.gph {
  width: 100%; height: 100%; min-height: 180px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background:
    repeating-linear-gradient(135deg, #0e1012 0 11px, #121518 11px 22px);
  color: var(--muted); text-align: center; padding: 24px;
}
.gph svg { width: 30px; height: 30px; color: var(--muted-2); }
.gph b { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-soft); }
.gph span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--muted-2); }
.lightbox__img-wrap .gph { width: 70vw; max-width: 760px; height: 60vh; }
.gph--vid svg { width: 46px; height: 46px; color: var(--accent-soft); filter: drop-shadow(0 0 14px var(--accent-glow)); }
.gph--vid { background: repeating-linear-gradient(135deg, #0c0f12 0 11px, #10141a 11px 22px); }
.gtile__meta {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 16px 14px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  background: linear-gradient(0deg, rgba(5,6,7,0.82) 0%, transparent 100%);
  opacity: 0; transform: translateY(8px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.gtile:hover .gtile__meta { opacity: 1; transform: none; }
.gtile__cap { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg); }
.gtile__tag { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-soft); white-space: nowrap; }
.gtile__expand {
  position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--bg) 50%, transparent); backdrop-filter: blur(6px);
  border: 1px solid var(--line-2); color: var(--fg-soft);
  opacity: 0; transition: opacity 0.3s; }
.gtile:hover .gtile__expand { opacity: 1; }
.gtile__expand svg { width: 14px; height: 14px; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 250; display: flex; align-items: center; justify-content: center;
  background: rgba(3,4,5,0.92); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox__stage { position: relative; max-width: min(1100px, 92vw); max-height: 86vh; display: flex; flex-direction: column; gap: 16px; }
.lightbox__img-wrap {
  position: relative; border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden;
  background: #050607; min-height: 0;
}
.lightbox__img-wrap img { display: block; max-width: 100%; max-height: 74vh; object-fit: contain; opacity: 0; transition: opacity 0.4s var(--ease); }
.lightbox__img-wrap img.show { opacity: 1; }
.lbvideo { display: block; max-width: 100%; max-height: 74vh; background: #000; outline: none; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.lightbox__cap { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg); }
.lightbox__cap span { color: var(--muted); margin-left: 12px; }
.lightbox__count { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); }
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--bg) 60%, transparent); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); color: var(--fg); transition: background 0.25s, border-color 0.25s;
}
.lb-btn:hover { background: var(--bg-2); border-color: var(--line-3); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-close {
  position: absolute; top: -52px; right: 0; width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-2);
  background: color-mix(in srgb, var(--bg) 50%, transparent); color: var(--fg-soft); transition: color 0.2s, border-color 0.2s;
}
.lb-close:hover { color: var(--fg); border-color: var(--line-3); }

@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .gtile, .gtile[data-span="tall"] { grid-column: span 2; }
  .gtile[data-span="wide"], .gtile[data-span="big"] { grid-column: span 4; grid-row: span 1; aspect-ratio: 16/10; }
  .lb-btn { width: 40px; height: 40px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gtile, .gtile[data-span="wide"], .gtile[data-span="big"], .gtile[data-span="tall"] { grid-column: span 2; grid-row: span 1; aspect-ratio: 1/1; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: 48px; align-items: start; }
.checkout[hidden] { display: none; }
.checkout__main { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.co-block { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; background: var(--bg-1); }
.co-step { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.co-step__n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent-soft); border: 1px solid var(--line-2); border-radius: 100px; padding: 5px 11px; }
.co-step h3 { font-size: 17px; }
.co-sub { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: -8px 0 22px; max-width: 56ch; }
.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.co-block .field select {
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 14px 16px; color: var(--fg); font-family: var(--sans); font-size: 15px;
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23888d92' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.co-block .field select:focus { outline: none; border-color: var(--accent); }

.ship-note { display: flex; align-items: center; gap: 11px; margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.ship-note svg { width: 19px; height: 19px; color: var(--accent-soft); flex-shrink: 0; }
.ship-note span { font-size: 13px; color: var(--fg-soft); line-height: 1.5; }

/* payment options */
.pay-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.pay-opt { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border: 1px solid var(--line-2); border-radius: var(--radius); cursor: pointer; transition: border-color 0.25s, background 0.25s; }
.pay-opt:hover { border-color: var(--line-3); }
.pay-opt.active { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--bg-1)); }
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-opt__radio { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-3); flex-shrink: 0; margin-top: 2px; position: relative; transition: border-color 0.2s; }
.pay-opt.active .pay-opt__radio { border-color: var(--accent); }
.pay-opt.active .pay-opt__radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent); }
.pay-opt__body { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.pay-opt__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pay-opt__row b { font-size: 14.5px; font-weight: 500; }
.pay-opt__desc { font-size: 13px; color: var(--muted); line-height: 1.55; }
.pay-badge { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-soft); border: 1px solid var(--line-2); border-radius: 100px; padding: 4px 9px; }
.pay-badge--pp { color: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.pay-cards { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--muted-2); }

.paypal-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px; border-radius: 100px; background: #ffc439; color: #003087;
  font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  transition: filter 0.2s, transform 0.2s var(--ease);
}
.paypal-btn:hover { filter: brightness(1.04); transform: translateY(-1px); }
.paypal-btn__mark { font-weight: 700; font-style: italic; font-size: 17px; letter-spacing: -0.02em; }
.paypal-btn__mark i { font-style: italic; }
.paypal-btn__mark i:first-child { color: #003087; }
.paypal-btn__mark i:last-child { color: #009cde; }
.co-secure { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); text-align: center; }
.co-secure svg { width: 15px; height: 15px; color: var(--muted); flex-shrink: 0; }

/* summary */
.checkout__summary { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; background: var(--bg-1); position: sticky; top: 100px; }
.co-sum-title { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.co-items { display: flex; flex-direction: column; gap: 16px; margin-bottom: 22px; }
.co-item { display: flex; align-items: center; gap: 14px; }
.co-item__img { width: 54px; height: 54px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #050607; flex-shrink: 0; }
.co-item__img img { width: 100%; height: 100%; object-fit: cover; }
.co-item__info { flex: 1; min-width: 0; }
.co-item__info h4 { font-size: 13.5px; font-weight: 500; }
.co-item__info span { font-size: 11.5px; color: var(--muted); font-family: var(--mono); letter-spacing: 0.02em; }
.co-item__qp { text-align: right; }
.co-item__qp span { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.co-item__qp b { font-family: var(--mono); font-size: 14px; font-weight: 500; }
.co-line { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.co-line span { color: var(--muted); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.co-line b { font-family: var(--mono); font-size: 14px; font-weight: 500; }
.co-line--total { margin-top: 4px; border-top: 1px solid var(--line-2); padding-top: 16px; }
.co-line--total span { color: var(--fg); }
.co-line--total b { font-size: 20px; }
.co-trust { display: flex; flex-direction: column; gap: 9px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.co-trust span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); position: relative; padding-left: 18px; }
.co-trust span::before { content: ""; position: absolute; left: 0; top: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-soft); }

.checkout-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding: 40px 0; }
.checkout-empty[hidden] { display: none; }
.checkout-empty p { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* confirmation */
.checkout-done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: 60px 0 40px; max-width: 520px; margin: 0 auto; }
.checkout-done[hidden] { display: none; }
.cd-tick { width: 64px; height: 64px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, var(--bg-1)); border: 1px solid var(--accent); display: flex; align-items: center; justify-content: center; color: var(--accent-soft); }
.cd-tick svg { width: 30px; height: 30px; }
.checkout-done h2 { font-size: clamp(28px, 4vw, 40px); }
.cd-num { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; color: var(--muted); }
.cd-num b { color: var(--fg); }
.cd-msg { font-size: 15px; color: var(--fg-soft); line-height: 1.65; }
.cd-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }

/* paypal processing overlay */
.pp-overlay { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; background: rgba(3,4,5,0.86); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease); }
.pp-overlay.show { opacity: 1; pointer-events: auto; }
.pp-modal { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 44px 52px; background: #fff; border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7); }
.pp-modal__mark { font-style: italic; font-weight: 700; font-size: 28px; letter-spacing: -0.02em; }
.pp-modal__mark i:first-child { color: #003087; font-style: italic; }
.pp-modal__mark i:last-child { color: #009cde; font-style: italic; }
.pp-spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #e3e8ef; border-top-color: #003087; animation: ppspin 0.8s linear infinite; }
@keyframes ppspin { to { transform: rotate(360deg); } }
.pp-modal__text { font-family: var(--sans); font-size: 15px; font-weight: 500; color: #1a1a2e; }
.pp-modal__sub { font-family: var(--sans); font-size: 12px; color: #8a93a6; }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.nav__menu-toggle {
  display: none; width: 40px; height: 40px; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--fg-soft);
}
.nav__menu-toggle svg { width: 18px; height: 18px; }
.nav__menu-toggle .x { display: none; }
.nav__menu-toggle.open .x { display: block; }
.nav__menu-toggle.open .bars { display: none; }

.mobile-menu {
  position: fixed; top: 0; right: 0; width: 100%; height: 100%; z-index: 120;
  background: var(--bg); padding: calc(var(--nav-h) + 20px) var(--pad) 40px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform 0.45s var(--ease);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--fg); padding: 20px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu a svg { width: 18px; height: 18px; color: var(--muted-2); }
.mobile-menu__foot { margin-top: auto; padding-top: 30px; display: flex; align-items: center; gap: 14px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; }
  .hero__media { min-height: 60vh; border-left: none; border-top: 1px solid var(--line); order: 2; }
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .checkout { grid-template-columns: 1fr; gap: 28px; }
  .checkout__summary { position: static; order: -1; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__menu-toggle { display: flex; }
  .features { grid-template-columns: 1fr; }
  .split, .editorial { grid-template-columns: 1fr; gap: 36px; }
  .editorial--flip .editorial__media { order: 0; }
  .shop-grid { grid-template-columns: 1fr; }
  .about-cols, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 80px 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .brand__word { letter-spacing: 0.22em; }
}
@media (max-width: 520px) {
  :root { --pad: 18px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .hero__meta { gap: 18px; }
  .variant-row { grid-template-columns: 1fr; }
  .co-grid { grid-template-columns: 1fr; }
  .co-block { padding: 22px; }
  .cd-actions { flex-direction: column; width: 100%; }
  .cd-actions .btn { width: 100%; }
  .pp-modal { padding: 36px 30px; }
}

/* ============================================================
   TWEAKS — expressive theming axes
   ============================================================ */

/* --- Accent mood --- */
:root[data-accent="graphite"] {
  --accent:      #aeb3b8;
  --accent-soft: #e4e7e9;
  --accent-glow: rgba(220,225,230,0.26);
  --accent-ink:  #0a0a0a;
}
:root[data-accent="signal"] {
  --accent:      #e08a2e;
  --accent-soft: #f4ad57;
  --accent-glow: rgba(224,138,46,0.42);
  --accent-ink:  #160d02;
}

/* --- Type voice --- */
.hero h1, .page-title, .display { font-family: var(--display); }

:root[data-type="editorial"] { --display: "Instrument Serif", Georgia, serif; }
:root[data-type="editorial"] .hero h1,
:root[data-type="editorial"] .page-title,
:root[data-type="editorial"] .display {
  font-weight: 400; letter-spacing: -0.005em;
}
:root[data-type="editorial"] .hero h1 { font-size: clamp(54px, 8vw, 108px); line-height: 0.92; }
:root[data-type="editorial"] .hero h1 .thin { font-style: italic; font-weight: 400; }
:root[data-type="editorial"] .eyebrow,
:root[data-type="editorial"] .nav__link { letter-spacing: 0.2em; }

:root[data-type="industrial"] { --display: "Oswald", system-ui, sans-serif; }
:root[data-type="industrial"] .hero h1,
:root[data-type="industrial"] .page-title,
:root[data-type="industrial"] .display {
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.008em; line-height: 1.0;
}
:root[data-type="industrial"] .hero h1 { font-weight: 700; }
:root[data-type="industrial"] .hero h1 .thin { color: var(--muted); font-weight: 500; }

/* --- Spatial density --- */
:root[data-density="gallery"]  { --section-pad: 172px; }
:root[data-density="gallery"] .section-head { margin-bottom: 88px; }
:root[data-density="gallery"] .hero { min-height: calc(100vh - var(--nav-h)); }
:root[data-density="gallery"] .split, :root[data-density="gallery"] .editorial { gap: 96px; }
:root[data-density="gallery"] .lede { margin-bottom: 80px; }

:root[data-density="catalog"]  { --section-pad: 72px; }
:root[data-density="catalog"] .section-head { margin-bottom: 38px; }
:root[data-density="catalog"] .section--tight { padding: 56px 0; }
:root[data-density="catalog"] .split, :root[data-density="catalog"] .editorial { gap: 44px; }
:root[data-density="catalog"] .lede { margin-bottom: 40px; }
:root[data-density="catalog"] .band { height: 60vh; min-height: 420px; }

/* ============================================================
   TWEAKS — panel
   ============================================================ */
.tweaks {
  position: fixed; right: 20px; bottom: 20px; z-index: 400;
  width: 304px; max-width: calc(100vw - 32px);
  background: color-mix(in srgb, var(--bg-2) 93%, transparent);
  backdrop-filter: blur(22px) saturate(120%);
  border: 1px solid var(--line-2); border-radius: 12px;
  box-shadow: 0 30px 80px -26px rgba(0,0,0,0.88);
  font-family: var(--sans); overflow: hidden;
  animation: tw-in 0.4s var(--ease);
}
.tweaks[hidden] { display: none; }
@keyframes tw-in { from { opacity: 0; transform: translateY(12px) scale(0.97); } to { opacity: 1; transform: none; } }
.tweaks__head { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; border-bottom: 1px solid var(--line); cursor: grab; }
.tweaks__head:active { cursor: grabbing; }
.tweaks__title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg); display: flex; align-items: center; gap: 9px; }
.tweaks__title::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-soft); box-shadow: 0 0 10px var(--accent-glow); }
.tweaks__close { width: 26px; height: 26px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--muted); display: flex; align-items: center; justify-content: center; transition: color 0.2s, border-color 0.2s; }
.tweaks__close:hover { color: var(--fg); border-color: var(--line-3); }
.tweaks__body { padding: 18px 16px; display: flex; flex-direction: column; gap: 20px; }
.tw-group { display: flex; flex-direction: column; gap: 9px; }
.tw-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.tw-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
.tw-seg button { padding: 10px 6px; border-radius: 5px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.03em; color: var(--muted); transition: background 0.22s var(--ease), color 0.22s var(--ease); white-space: nowrap; }
.tw-seg button:hover { color: var(--fg-soft); }
.tw-seg button.active { background: var(--accent); color: var(--accent-ink); }
.tw-hint { font-size: 11.5px; color: var(--muted-2); font-style: italic; min-height: 1.2em; transition: color 0.2s; }
.tweaks__foot { padding: 0 16px 16px; }
.tw-reset { width: 100%; padding: 11px; border: 1px solid var(--line-2); border-radius: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color 0.2s, border-color 0.2s; }
.tw-reset:hover { color: var(--fg); border-color: var(--line-3); }
