/* ==========================================================
   Sound Theory — store template (light & calm)
   ========================================================== */
:root {
  --paper: #fbfbfa;
  --paper-2: #f2f2f4;
  --paper-3: #e9e9ed;
  --ink: #141419;
  --ink-2: #3a3a44;
  --muted: #71717c;
  --line: #e3e3e8;
  --clay: #4f5b8c;
  --clay-dark: #3e4a77;
  --sage: #4f5b8c;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(30, 24, 18, 0.1);
  --font: "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container { width: min(1220px, 92%); margin-inline: auto; }
.container--narrow { width: min(820px, 92%); }

h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.3rem; }
p { color: var(--ink-2); }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 16px;
}
.lead { font-size: clamp(1rem, 1.5vw, 1.14rem); color: var(--muted); max-width: 56ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font: 500 0.9rem/1 var(--font);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease,
    transform 0.22s ease, box-shadow 0.22s ease;
}
.btn:hover { background: var(--clay); border-color: var(--clay); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--sm { padding: 11px 22px; font-size: 0.82rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: 0.2s;
}
.link-arrow:hover { color: var(--clay); border-color: var(--clay); gap: 14px; }

/* ---------- announcement ---------- */
.topbar {
  background: var(--ink);
  color: #f3efe9;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 16px;
}
.topbar span { color: #d9b8a8; }
.topbar a:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(253, 252, 250, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 30px; height: 76px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand b { font-family: var(--display); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.04em; }
.brand small {
  font-size: 0.58rem; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--muted); margin-top: 5px;
}
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: 0.2s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--clay); border-color: var(--clay); }

.nav__tools { display: flex; align-items: center; gap: 14px; }
.bag-btn {
  position: relative;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s;
}
.bag-btn:hover { border-color: var(--ink); }
.bag-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px; height: 20px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--clay);
  color: #fff;
  font-size: 0.7rem;
}
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- hero ---------- */
.hero { padding: clamp(50px, 7vw, 96px) 0 clamp(40px, 5vw, 70px); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.hero h1 em { font-style: italic; color: var(--clay); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__stats {
  display: flex;
  gap: clamp(20px, 4vw, 46px);
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  list-style: none;
}
.hero__stats b { display: block; font-family: var(--display); font-size: 1.7rem; font-weight: 500; }
.hero__stats span { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.hero__art { position: relative; }
.hero__art figure {
  border-radius: 220px 220px 18px 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper-2);
}
.hero__art img { width: 100%; height: clamp(400px, 55vw, 620px); object-fit: cover; }
.hero__chip {
  position: absolute;
  left: -26px;
  bottom: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  max-width: 230px;
}
.hero__chip small {
  display: block; font-size: 0.66rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--clay); margin-bottom: 5px;
}
.hero__chip b { font-family: var(--display); font-size: 1.05rem; font-weight: 500; display: block; }
.hero__chip span { font-size: 0.8rem; color: var(--muted); }

/* ---------- marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--paper-2);
  overflow: hidden;
  padding: 15px 0;
}
.marquee__track {
  display: flex;
  gap: 46px;
  width: max-content;
  animation: slide 32s linear infinite;
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.marquee__track span::before { content: "✦"; margin-right: 46px; color: var(--clay); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 8vw, 116px) 0; }
.section--tint { background: var(--paper-2); }
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 4vw, 54px);
  flex-wrap: wrap;
}
.section__head p { color: var(--muted); margin-top: 10px; max-width: 52ch; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__head--center p { margin-inline: auto; }

/* ---------- category cards ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cat {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-3);
  aspect-ratio: 3 / 4;
  display: block;
}
.cat img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.cat:hover img { transform: scale(1.07); }
.cat__label {
  position: absolute;
  inset: auto 16px 16px;
  background: rgba(253, 252, 250, 0.94);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cat__label b { font-family: var(--display); font-size: 1.14rem; font-weight: 500; }
.cat__label span { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.cat__label i {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center; font-style: normal; font-size: 0.9rem;
  transition: 0.25s;
}
.cat:hover .cat__label i { background: var(--clay); transform: translateX(3px); }

/* ---------- products ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.product { position: relative; }
.product__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-3);
  aspect-ratio: 3 / 4;
  margin-bottom: 16px;
}
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product:hover .product__media img { transform: scale(1.05); }
.product__badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--paper);
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.product__badge.sale { background: var(--clay); color: #fff; }
.product__add {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  padding: 13px;
  border: 0; border-radius: 12px;
  background: rgba(22, 21, 26, 0.94);
  color: #fff;
  font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer;
  opacity: 0; transform: translateY(12px);
  transition: 0.28s ease;
}
.product:hover .product__add { opacity: 1; transform: none; }
.product__add:hover { background: var(--clay); }
.product__cat { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.product__name { font-family: var(--display); font-size: 1.08rem; font-weight: 500; margin: 5px 0 7px; }
.product__price { font-size: 0.95rem; font-weight: 600; }
.product__price s { color: var(--muted); font-weight: 400; margin-left: 8px; }

/* ---------- editorial split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.split__media { border-radius: var(--radius); overflow: hidden; background: var(--paper-3); }
.split__media img { width: 100%; height: clamp(320px, 42vw, 540px); object-fit: cover; }
.split--reverse .split__text { order: 2; }
.split h2 { margin-bottom: 18px; }
.split p + p { margin-top: 14px; }
.split .btn, .split .link-arrow { margin-top: 26px; }

/* ---------- values ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: 0.25s;
}
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value i {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--paper-2); font-style: normal; font-size: 1.2rem;
  margin-bottom: 16px;
}
.value h3 { font-size: 1.02rem; margin-bottom: 7px; }
.value p { font-size: 0.88rem; color: var(--muted); }

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ---------- elementor kit (sales page) ---------- */
.kit-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.kit-price {
  font-family: var(--serif); font-size: 2.1rem; line-height: 1;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 13px 24px; box-shadow: var(--shadow);
}
.kit-price small { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.16em; color: var(--muted); }
.shots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.shots a {
  position: relative; display: block; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff; transition: 0.25s;
}
.shots a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.shots a:nth-child(1), .shots a:nth-child(2) { grid-column: span 3; }
.shots a:nth-child(3), .shots a:nth-child(4), .shots a:nth-child(5) { grid-column: span 2; }
.shots img { display: block; width: 100%; height: 260px; object-fit: cover; object-position: top; }
.shots a:nth-child(3) img, .shots a:nth-child(4) img { object-fit: contain; background: var(--paper-2); }
.shots span {
  display: block; padding: 12px 16px; font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line);
}
.kit-list { margin: 4px 0 26px; display: grid; gap: 9px; }
.kit-list li { position: relative; padding-left: 22px; font-size: 0.95rem; color: var(--ink-2); }
.kit-list li::before { content: "✓"; position: absolute; left: 0; color: var(--clay); font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step span {
  display: inline-block; font-family: var(--serif); font-size: 1.5rem; color: var(--clay);
  margin-bottom: 12px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--muted); }
.buy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.buy-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; }
.buy-box h2 { font-size: 2rem; margin: 6px 0 10px; }
.buy-note { font-size: 0.88rem; color: var(--muted); margin-bottom: 18px; }
.qr-wrap { display: flex; justify-content: center; margin: 6px 0 22px; }
.qr-wrap div { padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.qr-wrap img, .qr-wrap canvas { display: block; }
.buy-label {
  display: block; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.copy-row { display: flex; gap: 10px; align-items: stretch; }
.code {
  flex: 1; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 0.82rem;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; word-break: break-all; line-height: 1.5;
}
.btn--sm { padding: 10px 16px; font-size: 0.78rem; }
.buy-warn { list-style: none; margin-top: 20px; display: grid; gap: 8px; }
.buy-warn li {
  position: relative; padding-left: 20px; font-size: 0.85rem; color: var(--muted);
}
.buy-warn li::before { content: "!"; position: absolute; left: 0; color: var(--clay); font-weight: 700; }
.buy-box--form .contact-form { margin-top: 16px; }
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 12px; text-align: center; }
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px;
}
.faq summary {
  cursor: pointer; font-weight: 500; font-size: 1rem; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--clay); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 12px; font-size: 0.92rem; color: var(--muted); }
.faq code, .contact-form code { font-family: ui-monospace, Menlo, monospace; font-size: 0.86em; }

/* ---------- the look (design showcase) ---------- */
.swatches { display: flex; flex-wrap: wrap; gap: 14px; margin: 6px 0 24px; }
.sw {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  font-family: ui-monospace, Menlo, monospace; font-size: 0.66rem; color: var(--muted);
}
.sw b {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.sw--1 b { background: var(--paper); }
.sw--2 b { background: var(--paper-2); }
.sw--3 b { background: var(--ink); }
.sw--4 b { background: var(--clay); }

/* ---------- installation guide ---------- */
.steps--2 { grid-template-columns: repeat(2, 1fr); }
.step h3 { font-size: 1.02rem; }
.step .num {
  display: inline-block; font-family: var(--serif); font-size: 1.5rem; color: var(--clay);
  margin-bottom: 10px;
}
.codewrap {
  margin-top: 12px; background: #16151a; border-radius: 14px; padding: 14px 16px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.codewrap code {
  display: block; color: #e7e3de; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.74rem; line-height: 1.75; white-space: pre-wrap; word-break: break-all;
}
.codewrap .cmt { color: #8e8898; }
.install-note {
  margin-top: 18px; font-size: 0.86rem; color: var(--muted);
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px;
}
.install-note b { color: var(--ink); }

/* ---------- template gallery (hub) ---------- */
.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tpl {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: 0.25s;
}
.tpl:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tpl__media { display: block; position: relative; overflow: hidden; }
.tpl__media img { width: 100%; height: 210px; object-fit: cover; transition: 0.5s; }
.tpl:hover .tpl__media img { transform: scale(1.05); }
.tpl__chip {
  position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.94);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2);
}
.tpl__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tpl__body h3 { font-family: var(--display); font-size: 1.3rem; }
.tpl__body p { font-size: 0.87rem; color: var(--muted); flex: 1; }
.tpl__foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.tpl__price { font-family: var(--display); font-size: 1.35rem; }
.tpl__price small { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.14em; color: var(--muted); }
.tpl__foot .btn { flex: 1; }
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.quote p { font-family: var(--display); font-size: 1.05rem; line-height: 1.6; color: var(--ink); font-style: italic; }
.quote footer { margin-top: 18px; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.quote .stars { color: var(--clay); letter-spacing: 3px; margin-bottom: 14px; }

/* ---------- newsletter ---------- */
.news {
  background: var(--ink);
  color: #f6f2ec;
  border-radius: 26px;
  padding: clamp(38px, 6vw, 68px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}
.news h2 { color: #fff; }
.news p { color: #b3aebe; margin-top: 12px; }
.news__form { display: flex; gap: 10px; }
.news__form input {
  flex: 1;
  padding: 15px 20px;
  border-radius: 999px;
  border: 1px solid #3a3844;
  background: #1e1d25;
  color: #fff;
  font: 400 0.9rem var(--font);
}
.news__form input::placeholder { color: #8b8797; }
.news__form input:focus { outline: none; border-color: var(--clay); }
.news__form .btn { background: #f6f2ec; color: var(--ink); border-color: #f6f2ec; }
.news__form .btn:hover { background: var(--clay); border-color: var(--clay); color: #fff; }
.news small { display: block; margin-top: 12px; color: #8b8797; font-size: 0.76rem; }

/* ---------- tighter rhythm on the categories (shop) page ---------- */
.shop .section { padding: clamp(36px, 4.6vw, 66px) 0; }
.shop .page-head { padding: clamp(40px, 5.5vw, 70px) 0 clamp(14px, 2vw, 24px); }
.shop .section__head { margin-bottom: clamp(22px, 3vw, 38px); }
.shop #all { padding-top: clamp(26px, 3.4vw, 46px); }
.shop .split__media img { height: clamp(300px, 36vw, 470px); }
.shop .split h2 { margin-bottom: 14px; }
.shop .split .btn, .shop .split .link-arrow { margin-top: 20px; }

/* ---------- category chips ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 0 6px;
  margin-bottom: clamp(14px, 2.4vw, 26px);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font: 500 0.8rem/1 var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s;
}
.chip span { font-size: 0.72rem; color: var(--muted); }
.chip:hover { border-color: var(--ink); transform: translateY(-2px); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-active span { color: #b7b2c0; }

[hidden] { display: none !important; }
#productGrid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.cat-empty {
  text-align: center;
  color: var(--muted);
  padding: 46px 0;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* ---------- page head (inner pages) ---------- */
.page-head { padding: clamp(48px, 7vw, 92px) 0 clamp(28px, 4vw, 46px); }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.page-head .crumbs { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.page-head .crumbs a:hover { color: var(--clay); }

/* ---------- about / prose ---------- */
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 44px 0 14px; }
.prose p { margin-bottom: 16px; }
.prose ul { padding-left: 22px; color: var(--ink-2); }
.prose li { margin-bottom: 9px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 40px 0; }
.stat {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px; text-align: center;
}
.stat b { display: block; font-family: var(--display); font-size: 2.2rem; font-weight: 500; color: var(--clay); }
.stat span { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.gallery figure { border-radius: var(--radius); overflow: hidden; background: var(--paper-3); }
.gallery img { width: 100%; height: 300px; object-fit: cover; transition: transform 0.6s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { padding: 14px 4px 0; font-size: 0.8rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 38px); }
.field { display: block; margin-bottom: 18px; }
.field span {
  display: block; font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font: 400 0.93rem var(--font);
  color: var(--ink);
  transition: border-color 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--clay); }
.contact-info { display: grid; gap: 18px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px;
}
.contact-card i {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: var(--paper-2); display: grid; place-items: center; font-style: normal;
}
.contact-card b { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.contact-card p { font-size: 0.88rem; color: var(--muted); }
.contact-photo { border-radius: var(--radius); overflow: hidden; margin-top: 4px; }
.contact-photo img { width: 100%; height: 320px; object-fit: cover; }

/* ---------- footer ---------- */
.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 76px) 0 30px; margin-top: clamp(50px, 7vw, 90px); }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 34px; padding-bottom: 36px; }
.footer__grid p { font-size: 0.9rem; color: var(--muted); margin-top: 16px; max-width: 34ch; }
.footer h4 { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer ul a { font-size: 0.9rem; color: var(--muted); transition: 0.2s; }
.footer ul a:hover { color: var(--clay); }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.82rem; color: var(--muted);
}

/* ---------- bag drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__bg { position: absolute; inset: 0; background: rgba(22, 21, 26, 0.45); opacity: 0; transition: 0.3s; }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 92%);
  background: var(--paper);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.3, 0.8, 0.3, 1);
  display: flex; flex-direction: column;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 26px; border-bottom: 1px solid var(--line);
}
.drawer__head b { font-family: var(--display); font-size: 1.3rem; font-weight: 500; }
.drawer__close { background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); line-height: 1; }
.drawer__items { flex: 1; overflow-y: auto; padding: 20px 26px; display: grid; gap: 16px; align-content: start; }
.drawer__empty { color: var(--muted); font-size: 0.92rem; text-align: center; padding: 40px 0; }
.bag-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}
.bag-item img { width: 64px; height: 74px; object-fit: cover; border-radius: 9px; }
.bag-item b { font-size: 0.92rem; font-weight: 600; display: block; }
.bag-item span { font-size: 0.82rem; color: var(--muted); }
.bag-item .rm { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1.1rem; }
.bag-item .rm:hover { color: var(--clay); }
.drawer__foot { padding: 22px 26px; border-top: 1px solid var(--line); background: #fff; }
.drawer__total { display: flex; justify-content: space-between; margin-bottom: 16px; font-weight: 600; }
.drawer__total span:last-child { font-family: var(--display); font-size: 1.25rem; }
.drawer__note { font-size: 0.76rem; color: var(--muted); margin-top: 12px; text-align: center; }

/* ---------- USDT payment box (checkout) ---------- */
.drawer__foot { max-height: 84%; overflow-y: auto; }
.pay {
  margin-top: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.pay[hidden] { display: none; }
.pay__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.pay__head b { font-family: var(--display); font-size: 1.04rem; font-weight: 500; }
.pay__head span { color: var(--clay-dark); font-weight: 600; font-size: 0.82rem; white-space: nowrap; }
.pay__addr {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px dashed var(--line);
  border-radius: 12px; padding: 9px 10px;
}
.pay__addr code { flex: 1; font-size: 0.72rem; word-break: break-all; line-height: 1.55; color: var(--ink-2); }
.pay__copy {
  flex: none; background: var(--ink); color: #fff; border: 0;
  border-radius: 999px; padding: 7px 14px; font-size: 0.76rem; cursor: pointer;
}
.pay__copy:hover { background: var(--clay-dark); }
.pay__qr { display: flex; justify-content: center; padding: 12px 0 2px; }
.pay__qr:empty { display: none; }
.pay__qr div { padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.pay__hint { font-size: 0.75rem; color: var(--muted); margin: 10px 0 12px; line-height: 1.6; }
.pay__form { display: grid; gap: 9px; }
.pay__form input {
  width: 100%; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 12px 16px; font: inherit; font-size: 0.84rem;
  color: var(--ink); outline: none;
}
.pay__form input:focus { border-color: var(--clay); }
.pay__status { margin-top: 10px; }
.pay__status:empty { display: none; }
.pay__status p { margin: 0; font-size: 0.81rem; line-height: 1.6; }
.pay__status .s-work, .pay__status .s-wait { color: var(--muted); }
.pay__status .s-err { color: #a4442f; }
.pay__status .s-ok { color: var(--sage); font-weight: 600; }
.pay__status code { font-size: 0.76rem; }
.pay__mail {
  display: inline-block; margin-top: 10px; background: var(--clay);
  color: #fff; border: 0; border-radius: 999px; padding: 10px 18px;
  font: inherit; font-size: 0.84rem; cursor: pointer;
}
.pay__mail:hover { background: var(--clay-dark); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px;
  transform: translate(-50%, 80px);
  background: var(--ink); color: #fff;
  padding: 13px 26px; border-radius: 999px;
  font-size: 0.88rem; z-index: 120; opacity: 0;
  transition: 0.3s ease; pointer-events: none;
}
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- bottom tab bar (phones only) ---------- */
.tabbar { display: none; }

/* ---------- reveal ----------
   Content is visible by default; it is only hidden while JS is active
   (.has-js), so a script failure can never leave the page blank. */
.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
.has-js .reveal { opacity: 0; transform: translateY(26px); }
.has-js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .has-js .reveal { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  #productGrid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
}
@media (max-width: 1024px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .values, .stats-row { grid-template-columns: repeat(2, 1fr); }
  .quotes, .gallery { grid-template-columns: 1fr; }
  .tpl-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .shop .section { padding: clamp(34px, 5vw, 56px) 0; }
  .split__media img { height: clamp(280px, 40vw, 420px); }
  .shots img { height: 220px; }
  .steps { gap: 16px; }
  .nav__inner { gap: 20px; }
  .nav__links { gap: 18px; }
}
@media (max-width: 900px) {
  .hero__grid, .split, .contact-grid, .news, .buy-grid { grid-template-columns: 1fr; }
  .split--reverse .split__text { order: 0; }
  .hero__chip { left: 16px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .shop .split__media img { height: clamp(240px, 46vw, 360px); }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .steps--2 { grid-template-columns: repeat(2, 1fr); }
  .step { padding: 22px 20px; }
}
@media (max-width: 760px) {
  .nav__links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav__links.is-open { max-height: 420px; }
  .nav__links a { padding: 16px 6%; border-top: 1px solid var(--line); }
  .nav__toggle { display: block; }
  .nav__tools { margin-left: auto; }
  .products, .values, .stats-row, .gallery, .footer__grid, .tpl-grid { grid-template-columns: repeat(2, 1fr); }
  #productGrid { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .quotes, .tpl-grid { grid-template-columns: 1fr; }
  .products { gap: 16px; }
  .values, .stats-row { gap: 14px; }
  .product__add { opacity: 1; transform: none; }
  .news__form { flex-direction: column; }

  /* tighter rhythm on phones */
  .section { padding: clamp(40px, 9vw, 56px) 0; }
  .hero { padding: clamp(34px, 9vw, 54px) 0 clamp(26px, 7vw, 40px); }
  .split__media img { height: clamp(200px, 54vw, 300px); }
  .marquee { padding: 12px 0; }
  .footer { margin-top: clamp(30px, 8vw, 50px); padding-top: clamp(34px, 8vw, 46px); }
  .footer__grid { gap: 26px 20px; padding-bottom: 26px; }

  /* fixed app-style tab bar */
  body { padding-bottom: 64px; }
  .tabbar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    background: rgba(253, 252, 250, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 50px;
    text-decoration: none;
    color: var(--ink-2);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
  }
  .tabbar a i { font-style: normal; font-size: 1.05rem; line-height: 1; color: var(--muted); transition: 0.2s; }
  .tabbar a.is-active, .tabbar a.is-active i { color: var(--clay); }

  /* categories page on phones */
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    /* -5% overshot: percentage margins resolve against the 92% container,
       so the row stuck out 1.9px on each side. 4/92 = 4.3478% lands exactly on the screen edge. */
    margin-inline: -4.3478%;
    padding-inline: 4.3478%;
    padding-bottom: 8px;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; padding: 10px 18px; }
  .shop .section { padding: clamp(28px, 7vw, 44px) 0; }
  .shop .page-head { padding: clamp(30px, 8vw, 46px) 0 clamp(12px, 3vw, 18px); }
  .shop #all { padding-top: clamp(22px, 6vw, 34px); }
  .split__media img { height: clamp(220px, 56vw, 320px); }
  .split { gap: 22px; }
  .section__head { margin-bottom: clamp(20px, 5vw, 30px); }
  .footer { margin-top: clamp(34px, 8vw, 56px); }

  /* kit (sales) page on phones */
  .steps--2 { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .shots a:nth-child(n) { grid-column: span 1; }
  .shots img { height: 148px; }
  .shots span { padding: 9px 11px; font-size: 0.62rem; letter-spacing: 0.07em; }
  .kit-price { font-size: 1.7rem; padding: 11px 20px; }
  .kit-cta .btn { flex: 1; }
  .buy-box { padding: 24px 20px; }
  .buy-box h2 { font-size: 1.7rem; }
  .faq details { padding: 15px 16px; }
  .faq summary { font-size: 0.94rem; }
}
@media (max-width: 520px) {
  .page-head h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .cat__label { inset: auto 10px 10px; padding: 11px 13px; }
  .cat__label b { font-size: 0.98rem; }
  .cat__label span { font-size: 0.64rem; }
  .cat__label i { width: 30px; height: 30px; font-size: 0.8rem; }
  .product__name { font-size: 1rem; }
  .product__cat { font-size: 0.66rem; }
  .product__price { font-size: 0.94rem; }
  .product__add { padding: 10px 14px; font-size: 0.78rem; }
  .products, .cats { gap: 12px; }
  .hero__grid { gap: 26px; }
  .section__head h2, .split h2 { font-size: clamp(1.6rem, 7vw, 2rem); }
  .topbar { font-size: 0.66rem; padding: 7px 4%; }
  .copy-row { flex-direction: column; }
  .btn--sm { width: 100%; }
  .kit-price { font-size: 1.5rem; }
  .step span { font-size: 1.3rem; }
}
@media (max-width: 340px) {
  .products, .cats, #productGrid { grid-template-columns: 1fr; }
}

/* ---------- deal + delivery (get.html) ---------- */
.kit-price--old {
  font-family: var(--font); font-size: 1.15rem; color: var(--muted);
  text-decoration: line-through; text-decoration-thickness: 2px;
  text-decoration-color: var(--clay); align-self: center; margin-left: 4px;
}
.deal-badge {
  display: inline-block; background: var(--clay); color: #fff;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; align-self: center; margin-left: 6px;
}
.dl-status { margin-top: 18px; }
.dl-status p {
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
  font-size: 0.9rem; background: var(--paper); line-height: 1.6;
}
.dl-status__idle { color: var(--muted); }
.dl-status__work { border-color: #d9c9a8 !important; background: #fbf6ea !important; color: #6b5a2c; }
.dl-status__ok   { border-color: #bcd4bd !important; background: #eef6ee !important; color: #2f5c34; }
.dl-status__err  { border-color: #e6c3c3 !important; background: #fbefef !important; color: #7d3434; }
.dl-status__wait { border-color: #cdd3e2 !important; background: #f1f3f9 !important; color: #3c4664; }
.dl-status code { font-size: 0.84rem; word-break: break-all; }
.dl-done { margin-top: 18px; border: 1px solid #bcd4bd; background: #eef6ee; border-radius: 16px; padding: 18px 20px; }
.dl-done h3 { font-family: var(--display); font-size: 1.25rem; color: #2f5c34; margin-bottom: 6px; }
.dl-done a { text-decoration: underline; }
.dl-next { margin: 10px 0 0 18px; font-size: 0.88rem; color: var(--ink-2); }
.dl-next li { margin-bottom: 4px; }
.dl-fallback { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); }
.dl-fallback p:first-child { font-size: 0.9rem; margin-bottom: 12px; }
.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-old {
  font-size: 1.05rem; color: var(--muted); text-decoration: line-through;
  text-decoration-thickness: 2px; text-decoration-color: var(--clay);
}
.price-now { font-family: var(--display); font-size: 1.5rem; }
.price-now--deal { color: var(--clay); }
/* delivery steps (buy page) */
.dl-steps { margin: 16px 0 20px 20px; font-size: 0.92rem; color: var(--ink-2); }
.dl-steps li { margin-bottom: 9px; line-height: 1.6; }
.dl-steps b { color: var(--ink); }

/* ==========================================================
   ARCHETYPE LAYERS â€” every template gets its own shape,
   not just its own colour. Scoped to body[data-arch="..."]
   ========================================================== */

/* shared grid tuning for these one-page templates (6 products / 4 categories) */
body[data-arch] .products { grid-template-columns: repeat(3, 1fr); }
body[data-arch] .cats { grid-template-columns: repeat(4, 1fr); }

/* ---- 1. editorial (asymmetric, hairlines, museum feel) ---- */
body[data-arch="editorial"] .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 68px); align-items: end; }
body[data-arch="editorial"] .hero__text { border-top: 2px solid var(--ink); padding-top: 26px; }
body[data-arch="editorial"] .hero h1 { letter-spacing: -0.02em; }
body[data-arch="editorial"] .hero__art figure { background: #fff; border: 1px solid var(--line); padding: 10px; }
body[data-arch="editorial"] .hero__art img { height: clamp(340px, 46vw, 540px); }
body[data-arch="editorial"] .cat, body[data-arch="editorial"] .product__media { border-radius: 4px; }
body[data-arch="editorial"] .section__head h2 { letter-spacing: -0.02em; }

/* ---- 2. fullbleed (dark hero over photography) ---- */
body[data-arch="fullbleed"] .hero { position: relative; color: #fff; padding: clamp(96px, 15vw, 180px) 0; }
body[data-arch="fullbleed"] .hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("img/p1.jpg") center / cover no-repeat;
}
body[data-arch="fullbleed"] .hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(24, 17, 12, 0.94) 0%, rgba(24, 17, 12, 0.72) 48%, rgba(24, 17, 12, 0.35) 100%);
}
body[data-arch="fullbleed"] .hero .container { position: relative; z-index: 2; }
body[data-arch="fullbleed"] .hero__grid { grid-template-columns: 1fr; max-width: 780px; }
body[data-arch="fullbleed"] .hero__art { display: none; }
body[data-arch="fullbleed"] .hero .lead, body[data-arch="fullbleed"] .hero .eyebrow { color: rgba(255, 255, 255, 0.85); }
body[data-arch="fullbleed"] .hero h1 em { color: #f0c9a8; }
body[data-arch="fullbleed"] .hero__stats li { border-color: rgba(255, 255, 255, 0.25); }
body[data-arch="fullbleed"] .hero__stats span { color: rgba(255, 255, 255, 0.6); }
body[data-arch="fullbleed"] .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
body[data-arch="fullbleed"] .btn--ghost:hover { background: #fff; color: var(--ink); }

/* ---- 3. centered (soft, apothecary) ---- */
body[data-arch="centered"] .hero__grid { grid-template-columns: 1fr; max-width: 840px; margin: 0 auto; text-align: center; }
body[data-arch="centered"] .hero__cta, body[data-arch="centered"] .hero__stats { justify-content: center; }
body[data-arch="centered"] .hero__art { margin: 36px auto 0; max-width: 560px; }
body[data-arch="centered"] .hero__art img { height: clamp(300px, 40vw, 460px); border-radius: 190px 190px 20px 20px; }
body[data-arch="centered"] .hero__chip { position: static; margin-top: 18px; background: #fff; }
body[data-arch="centered"] .cat, body[data-arch="centered"] .product__media { border-radius: 18px; }
body[data-arch="centered"] .section__head--center h2::after {
  content: ""; display: block; width: 46px; height: 2px; background: var(--clay); margin: 12px auto 0;
}

/* ---- 4. bold (sportswear, poster type, hard edges) ---- */
body[data-arch="bold"] .hero h1 {
  text-transform: uppercase; font-family: var(--font); font-weight: 600;
  font-size: clamp(2.3rem, 6vw, 4.5rem); line-height: 0.94; letter-spacing: -0.03em;
}
body[data-arch="bold"] .hero h1 em { font-style: normal; color: #fff; background: var(--clay); padding: 0 0.1em; }
body[data-arch="bold"] .hero__art figure { border: 3px solid var(--ink); }
body[data-arch="bold"] .hero__art img { height: clamp(360px, 48vw, 580px); clip-path: polygon(0 0, 100% 0, 100% 93%, 0 100%); }
body[data-arch="bold"] .cat, body[data-arch="bold"] .product__media, body[data-arch="bold"] .btn,
body[data-arch="bold"] .quote, body[data-arch="bold"] .value { border-radius: 0; }
body[data-arch="bold"] .cat { border: 2px solid var(--ink); }
body[data-arch="bold"] .cat__label { background: var(--ink); color: #fff; border-color: transparent; }
body[data-arch="bold"] .cat__label b, body[data-arch="bold"] .cat__label span { color: #fff; }
body[data-arch="bold"] .cat__label i { background: var(--clay); color: #fff; }
body[data-arch="bold"] .quote { border-left: 6px solid var(--clay); }
body[data-arch="bold"] .section__head h2 { text-transform: uppercase; letter-spacing: -0.01em; }

/* ---- 5. mosaic (three photos, one stage) ---- */
body[data-arch="mosaic"] .hero__grid { grid-template-columns: 1fr 1.05fr; }
body[data-arch="mosaic"] .hero__art {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  grid-template-rows: repeat(2, clamp(150px, 19vw, 230px));
}
body[data-arch="mosaic"] .hero__art figure:first-of-type { grid-column: span 2; }
body[data-arch="mosaic"] .hero__art figure { margin: 0; height: 100%; }
body[data-arch="mosaic"] .hero__art img { height: 100%; }
body[data-arch="mosaic"] .hero__chip {
  position: static; background: var(--ink); color: #fff; border: 0;
  align-self: center; justify-self: center; text-align: center; padding: 14px 20px;
}
body[data-arch="mosaic"] .hero__chip span { color: rgba(255, 255, 255, 0.7); }
body[data-arch="mosaic"] .cat__label { position: static; background: #fff; border: 1px solid var(--line); }

/* ---- 6. warm (bakery, arches and italic display) ---- */
body[data-arch="warm"] .hero h1 { font-style: italic; }
body[data-arch="warm"] .hero__art img { height: clamp(360px, 48vw, 570px); border-radius: 50% 50% 20px 20px; }
body[data-arch="warm"] .hero__chip { background: var(--ink); color: #fff; border: 0; }
body[data-arch="warm"] .hero__chip span { color: rgba(255, 255, 255, 0.72); }
body[data-arch="warm"] .cat img { border-radius: 50% 50% 14px 14px; height: 200px; }
body[data-arch="warm"] .cat { background: #fff; border: 1px solid var(--line); padding-bottom: 6px; }
body[data-arch="warm"] .product__media { border-radius: 50% 50% 16px 16px; aspect-ratio: 4 / 5; }
body[data-arch="warm"] .value i { background: var(--paper-3); }

/* ---- 7. typographic (text first, index list, grayscale) ---- */
body[data-arch="typographic"] .hero__grid { grid-template-columns: 1.25fr 0.75fr; }
body[data-arch="typographic"] .hero h1 { letter-spacing: -0.045em; font-size: clamp(2.4rem, 5vw, 4rem); }
body[data-arch="typographic"] .hero__art img { height: clamp(300px, 36vw, 430px); filter: grayscale(1) contrast(1.06); }
body[data-arch="typographic"] .hero__chip { background: var(--paper); border-style: dashed; }
body[data-arch="typographic"] .hero__index { list-style: none; margin-top: 28px; border-top: 1px solid var(--line); }
body[data-arch="typographic"] .hero__index li {
  display: flex; gap: 14px; align-items: baseline; padding: 11px 2px;
  border-bottom: 1px solid var(--line); font-size: 0.95rem;
}
body[data-arch="typographic"] .hero__index b { font-family: var(--display); color: var(--clay); font-size: 0.9rem; }
body[data-arch="typographic"] .hero__index i { margin-left: auto; font-style: normal; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
body[data-arch="typographic"] .product { border-top: 1px solid var(--line); padding-top: 14px; }
body[data-arch="typographic"] .product__media { border-radius: 2px; }
body[data-arch="typographic"] .hero__art img { border-radius: 2px; }

/* ---- 8. gallery (image first, captioned like an exhibition) ---- */
body[data-arch="gallery"] .hero { padding-top: clamp(30px, 4vw, 56px); }
body[data-arch="gallery"] .hero__grid { grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
body[data-arch="gallery"] .hero__art img { height: clamp(340px, 46vw, 540px); border-radius: 3px; }
body[data-arch="gallery"] .hero__chip { position: static; background: #fff; border-top: 0; border-radius: 0 0 4px 4px; }
body[data-arch="gallery"] .hero__caption {
  margin-top: 24px; font-size: 0.9rem; color: var(--muted);
  border-left: 3px solid var(--clay); padding-left: 16px; line-height: 1.7;
}
body[data-arch="gallery"] .section__head h2::after {
  content: ""; display: block; width: 56px; height: 2px; background: var(--clay); margin-top: 10px;
}
body[data-arch="gallery"] .cat img, body[data-arch="gallery"] .product__media { border-radius: 3px; }

/* ---- 9. spec (dark datasheet panel, tabular numbers) ---- */
body[data-arch="spec"] .hero__grid { grid-template-columns: 1.1fr 0.9fr; }
body[data-arch="spec"] .hero__art { background: var(--ink); padding: 20px; border-radius: 6px; }
body[data-arch="spec"] .hero__art img { height: clamp(300px, 38vw, 440px); filter: grayscale(0.3) contrast(1.05); }
body[data-arch="spec"] .hero__chip {
  position: static; margin-top: 16px; background: rgba(255, 255, 255, 0.1); color: #fff; border: 0;
}
body[data-arch="spec"] .hero__chip span { color: rgba(255, 255, 255, 0.65); }
body[data-arch="spec"] .hero__spec { margin-top: 26px; border-top: 1px solid var(--line); }
body[data-arch="spec"] .hero__spec > div {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.86rem;
}
body[data-arch="spec"] .hero__spec dt { color: var(--muted); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }
body[data-arch="spec"] .hero__spec dd { font-variant-numeric: tabular-nums; font-weight: 600; }
body[data-arch="spec"] .cat__label, body[data-arch="spec"] .product__media { border-radius: 6px; }
body[data-arch="spec"] .quote { font-variant-numeric: tabular-nums; }

/* ---- 10. organic (bento hero, leaf-shaped cards) ---- */
body[data-arch="organic"] .hero__grid { grid-template-columns: 1fr 1.1fr; }
body[data-arch="organic"] .hero__art {
  display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 14px;
  grid-template-rows: auto auto;
}
body[data-arch="organic"] .hero__art figure:first-of-type { grid-row: span 2; }
body[data-arch="organic"] .hero__art figure { margin: 0; }
body[data-arch="organic"] .hero__art img { height: clamp(320px, 44vw, 500px); border-radius: 22px; }
body[data-arch="organic"] .hero__fig-b img { height: clamp(140px, 17vw, 210px); }
body[data-arch="organic"] .hero__chip { position: static; background: #fff; border: 1px solid var(--line); border-radius: 18px; align-self: start; }
body[data-arch="organic"] .cat, body[data-arch="organic"] .product__media { border-radius: 22px; }
body[data-arch="organic"] .value { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding-bottom: 10px; }

/* ---- 11. lookbook (fashion: image-left hero, dark fabric rail, bordered frames) ---- */
@media (min-width: 901px) { body[data-arch="lookbook"] .hero__art { order: -1; } }
body[data-arch="lookbook"] .hero__art img { height: clamp(380px, 52vw, 610px); border-radius: 3px; object-position: center 30%; }
body[data-arch="lookbook"] .hero__chip { position: static; margin-top: 16px; max-width: none; background: var(--ink); color: #fff; border: 0; border-radius: 3px; box-shadow: none; }
body[data-arch="lookbook"] .hero__chip small { color: rgba(255, 255, 255, 0.55); }
body[data-arch="lookbook"] .hero__chip span { color: rgba(255, 255, 255, 0.7); }
body[data-arch="lookbook"] .hero h1 { letter-spacing: -0.035em; }
body[data-arch="lookbook"] .eyebrow { letter-spacing: 0.3em; }
body[data-arch="lookbook"] .marquee { background: var(--ink); border-color: var(--ink); }
body[data-arch="lookbook"] .marquee__track { color: rgba(255, 255, 255, 0.84); }
body[data-arch="lookbook"] .marquee__track span::before { color: rgba(255, 255, 255, 0.45); }
body[data-arch="lookbook"] .cat { background: #fff; border: 1px solid var(--line); }
body[data-arch="lookbook"] .cat__label { inset: auto 0 0; border-radius: 0; background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--line); }
body[data-arch="lookbook"] .cat__label i { background: var(--ink); border-radius: 2px; }
body[data-arch="lookbook"] .product { background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: 12px 12px 16px; }
body[data-arch="lookbook"] .product__media { border-radius: 2px; margin-bottom: 12px; }
body[data-arch="lookbook"] .product__name { font-family: var(--font); font-size: 0.98rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 8px; }
body[data-arch="lookbook"] .product__cat { font-size: 0.64rem; letter-spacing: 0.2em; }
body[data-arch="lookbook"] .value { border-radius: 4px; }
body[data-arch="lookbook"] .value i { background: var(--paper-3); border-radius: 3px; }
body[data-arch="lookbook"] .quote { border-radius: 4px; }
body[data-arch="lookbook"] .btn { border-radius: 3px; }

/* ---- 12. rail (fixed side navigation, numbered index, counter-style cards) ---- */
@media (min-width: 1025px) {
  body[data-arch="rail"] { padding-left: 246px; }
  body[data-arch="rail"] .nav {
    position: fixed; top: 0; left: 0; bottom: 0; width: 246px; z-index: 65;
    background: #fff; border-bottom: 0; border-right: 1px solid var(--line);
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  body[data-arch="rail"] .nav__inner {
    flex-direction: column; align-items: stretch; height: 100%;
    gap: 0; padding: 34px 26px 30px;
  }
  body[data-arch="rail"] .brand { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  body[data-arch="rail"] .brand b { font-size: 1.72rem; }
  body[data-arch="rail"] .nav__links {
    counter-reset: railitem;
    flex-direction: column; align-items: stretch; gap: 2px;
    margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--line);
  }
  body[data-arch="rail"] .nav__links a {
    counter-increment: railitem;
    display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
    border-bottom: 0; padding: 9px 0; font-size: 0.82rem; letter-spacing: 0.14em;
  }
  body[data-arch="rail"] .nav__links a::after {
    content: counter(railitem, decimal-leading-zero);
    font-family: var(--sans); font-size: 0.6rem; font-weight: 600;
    letter-spacing: 0.1em; color: var(--muted);
  }
  body[data-arch="rail"] .nav__links a:hover, body[data-arch="rail"] .nav__links a.is-active {
    color: var(--clay); border-color: transparent;
  }
  body[data-arch="rail"] .nav__links a:hover::after,
  body[data-arch="rail"] .nav__links a.is-active::after { color: var(--clay); }
  body[data-arch="rail"] .nav__tools { margin-top: auto; flex-direction: column; align-items: stretch; }
  body[data-arch="rail"] .bag-btn { width: 100%; padding: 13px 16px; }
}
/* the rail layout is desktop only; these carry the identity at every width */
body[data-arch="rail"] .eyebrow { letter-spacing: 0.26em; }
body[data-arch="rail"] .eyebrow::before {
  content: ""; display: inline-block; width: 26px; height: 1px;
  background: currentColor; vertical-align: middle; margin: 0 10px 3px 0;
}
body[data-arch="rail"] .btn, body[data-arch="rail"] .bag-btn { border-radius: 5px; }
body[data-arch="rail"] .hero h1 { letter-spacing: -0.03em; }
body[data-arch="rail"] .hero__art figure { border-radius: 6px; }
body[data-arch="rail"] .hero__art img { height: clamp(400px, 54vw, 640px); object-position: center 42%; }
body[data-arch="rail"] .hero__chip {
  background: var(--clay-dark); border-color: var(--clay-dark); border-radius: 6px; color: #fff;
  box-shadow: 0 18px 44px rgba(23, 27, 24, 0.22);
}
body[data-arch="rail"] .hero__chip small { color: rgba(255, 255, 255, 0.62); }
body[data-arch="rail"] .hero__chip span { color: rgba(255, 255, 255, 0.75); }
body[data-arch="rail"] .marquee { background: var(--paper-3); }
body[data-arch="rail"] .section__head:not(.section__head--center) { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
body[data-arch="rail"] .section__head--center h2::after {
  content: ""; display: block; width: 54px; height: 2px; background: var(--clay); margin: 16px auto 0;
}
body[data-arch="rail"] .cat {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--clay); border-radius: 6px;
}
body[data-arch="rail"] .cat__label { border-radius: 0 0 5px 5px; background: rgba(255, 255, 255, 0.97); }
body[data-arch="rail"] .cat__label i { background: var(--clay); border-radius: 4px; }
body[data-arch="rail"] .product {
  background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 10px 10px 16px;
}
body[data-arch="rail"] .product__media { border-radius: 4px; margin-bottom: 14px; }
body[data-arch="rail"] .product__add { border-radius: 4px; }
body[data-arch="rail"] .split__media { border-radius: 6px; }
body[data-arch="rail"] .value { border-radius: 6px; }
body[data-arch="rail"] .value i { background: var(--paper-3); border-radius: 4px; }
body[data-arch="rail"] .quote { border: 1px solid var(--line); border-top: 3px solid var(--clay); border-radius: 6px; }
body[data-arch="rail"] .contact-photo, body[data-arch="rail"] .news { border-radius: 8px; }
body[data-arch="rail"] .field input, body[data-arch="rail"] .field textarea, body[data-arch="rail"] .field select { border-radius: 5px; }

/* ---- 13. lens (two lens shapes side by side, pill controls, cool optician palette) ---- */
body[data-arch="lens"] .hero__grid { grid-template-columns: 1.04fr 0.96fr; gap: clamp(26px, 4vw, 56px); }
body[data-arch="lens"] .hero__art {
  display: grid; grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(12px, 1.6vw, 22px); align-items: start;
}
body[data-arch="lens"] .hero__art figure {
  margin: 0; border-radius: 50%; background: #fff;
  border: 1px solid var(--line); padding: 8px;
}
body[data-arch="lens"] .hero__art figure:nth-of-type(2) { margin-top: clamp(34px, 5vw, 74px); }
body[data-arch="lens"] .hero__art img {
  height: clamp(230px, 30vw, 400px); border-radius: 50%;
  object-fit: cover; object-position: center 34%;
}
body[data-arch="lens"] .hero__chip {
  position: static; grid-column: 1 / -1; justify-self: center; text-align: center;
  margin-top: 18px; padding: 13px 34px; max-width: none;
  background: var(--ink); border: 0; border-radius: 999px; color: #fff; box-shadow: none;
}
body[data-arch="lens"] .hero__chip small { color: rgba(255, 255, 255, 0.55); }
body[data-arch="lens"] .hero__chip span { color: rgba(255, 255, 255, 0.72); }
body[data-arch="lens"] .hero h1 { letter-spacing: -0.028em; }
body[data-arch="lens"] .eyebrow { letter-spacing: 0.26em; }
body[data-arch="lens"] .eyebrow::after {
  content: ""; display: inline-block; width: 7px; height: 7px;
  border: 1.5px solid currentColor; border-radius: 50%; margin-left: 9px; vertical-align: 2px;
}
body[data-arch="lens"] .btn, body[data-arch="lens"] .bag-btn,
body[data-arch="lens"] .field input, body[data-arch="lens"] .field textarea,
body[data-arch="lens"] .field select { border-radius: 999px; }
body[data-arch="lens"] .field textarea { border-radius: 28px; }
body[data-arch="lens"] .marquee { background: var(--clay); border-color: var(--clay); }
body[data-arch="lens"] .marquee__track { color: rgba(255, 255, 255, 0.92); }
body[data-arch="lens"] .marquee__track span::before { color: rgba(255, 255, 255, 0.5); }
body[data-arch="lens"] .section__head:not(.section__head--center) { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
body[data-arch="lens"] .section__head--center h2::after {
  content: ""; display: block; width: 56px; height: 3px; border-radius: 999px;
  background: var(--clay); margin: 16px auto 0;
}
body[data-arch="lens"] .cat { background: #fff; border: 1px solid var(--line); border-radius: 20px; }
body[data-arch="lens"] .cat__label { background: rgba(255, 255, 255, 0.96); border-radius: 14px; }
body[data-arch="lens"] .cat__label i { background: var(--clay); border-radius: 999px; }
body[data-arch="lens"] .cat:hover .cat__label i { background: var(--ink); transform: translateX(3px); }
body[data-arch="lens"] .product { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 10px 10px 18px; }
body[data-arch="lens"] .product__media { border-radius: 14px; }
body[data-arch="lens"] .product__add { border-radius: 999px; }
body[data-arch="lens"] .split__media { border-radius: 50%; background: #fff; border: 1px solid var(--line); padding: 8px; }
body[data-arch="lens"] .split__media img { border-radius: 50%; }
body[data-arch="lens"] .value { border-radius: 20px; }
body[data-arch="lens"] .value i { background: var(--paper-3); border-radius: 50%; }
body[data-arch="lens"] .quote { border: 1px solid var(--line); border-radius: 22px; }
body[data-arch="lens"] .contact-photo { border-radius: 50%; }
body[data-arch="lens"] .btn--ghost { border-radius: 999px; }
/* ---- keep every archetype sane on small screens ---- */
@media (max-width: 1024px) {
  body[data-arch] .products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  body[data-arch] .hero__grid { grid-template-columns: 1fr !important; }
  body[data-arch] .cats { grid-template-columns: repeat(2, 1fr); }
  body[data-arch="fullbleed"] .hero { padding: clamp(80px, 18vw, 130px) 0; }
  body[data-arch="mosaic"] .hero__art, body[data-arch="organic"] .hero__art { grid-template-rows: auto; grid-template-columns: repeat(2, 1fr); }
  body[data-arch="mosaic"] .hero__art figure:first-of-type, body[data-arch="organic"] .hero__art figure:first-of-type { grid-column: span 2; grid-row: auto; }
  body[data-arch="mosaic"] .hero__art img, body[data-arch="organic"] .hero__art img { height: clamp(200px, 40vw, 300px); }
  body[data-arch="organic"] .hero__fig-b img { height: clamp(200px, 40vw, 300px); }
}
@media (max-width: 560px) {
  body[data-arch] .cats, body[data-arch] .products { grid-template-columns: repeat(2, 1fr); }
  body[data-arch="typographic"] .hero__art, body[data-arch="spec"] .hero__art { margin-top: 10px; }
}
@media (max-width: 420px) {
  body[data-arch] .cats, body[data-arch] .products { grid-template-columns: 1fr; }
  body[data-arch="mosaic"] .hero__art, body[data-arch="organic"] .hero__art { grid-template-columns: 1fr; }
  body[data-arch="mosaic"] .hero__art figure:first-of-type, body[data-arch="organic"] .hero__art figure:first-of-type { grid-column: auto; }
}

/* ---------- template card pricing (hub) ---------- */
.tpl__price s {
  display: block; font-family: var(--sans); font-size: 0.74rem; font-weight: 400;
  color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px;
  text-decoration-color: var(--clay); line-height: 1.3;
}
.tpl__save {
  font-style: normal; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; background: var(--clay); color: #fff;
  padding: 5px 9px; border-radius: 999px; white-space: nowrap;
}

/* ---- never let a long word (email, wallet, URL) stretch the footer ---- */
.footer__grid > * { min-width: 0; }
.footer li, .footer a { overflow-wrap: anywhere; }
@media (max-width: 340px) { .footer__grid { grid-template-columns: 1fr; } }
