/* =========================================================
   SELENA — Design System
   Luxury lab-grown diamond jewelry / DTC export storefront
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bone: #faf7f2;
  --paper: #ffffff;
  --sand: #f2ece2;
  --ink: #14110e;
  --ink-soft: #2a2521;
  --muted: #6f665b;
  --line: #e3dbcf;
  --gold: #a5825a;
  --gold-soft: #c9ad8b;
  --success: #3f6b4f;

  --font-display: "Cormorant Garamond", "Times New Roman", Times, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 1440px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.68, 0.18, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(38px, 5.4vw, 74px); }
h2 { font-size: clamp(30px, 3.6vw, 48px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
p { color: var(--ink-soft); }

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}
.lede { font-size: 16px; color: var(--muted); max-width: 56ch; }
.serif-italic { font-family: var(--font-display); font-style: italic; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(56px, 7vw, 112px); }
.section--tight { padding-block: clamp(40px, 4.5vw, 72px); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 3.4vw, 48px);
  flex-wrap: wrap;
}
.section-head h2 { margin-top: 10px; }
.link-arrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: opacity 0.3s var(--ease), letter-spacing 0.3s var(--ease);
  white-space: nowrap;
}
.link-arrow:hover { opacity: 0.55; letter-spacing: 0.2em; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; font-size: 12px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  cursor: pointer;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); border-color: #fff; }
.btn--white:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--full { width: 100%; }
.btn--sm { padding: 11px 20px; font-size: 9.5px; }

/* ---------- Top bar + Header ---------- */
.topbar {
  background: var(--ink);
  color: #f4efe7;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 16px;
  font-weight: 400;
}
.topbar span { opacity: 0.85; }
.topbar .dot { opacity: 0.35; margin: 0 12px; }

.header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
}
.logo {
  font-family: var(--font-display);
  font-size: 25px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 400;
  padding-right: 0.26em;
  line-height: 1;
  white-space: nowrap;
}
.logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 7.5px;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 400;
}
.nav { display: flex; gap: clamp(16px, 2vw, 30px); }
.nav a {
  position: relative;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 8px 0;
  color: var(--ink-soft);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  transition: background 0.3s;
  position: relative;
}
.icon-btn:hover { background: rgba(20, 17, 14, 0.05); }
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.2; }
.cart-count {
  position: absolute;
  top: 4px; right: 2px;
  min-width: 16px; height: 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 9px;
  display: grid; place-items: center;
  padding: 0 4px;
  letter-spacing: 0;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.cart-count.is-on { opacity: 1; transform: scale(1); }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: min(86vh, 820px);
  min-height: 520px;
  overflow: hidden;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 32%;
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16, 13, 10, 0.62) 0%, rgba(16, 13, 10, 0.18) 45%, rgba(16, 13, 10, 0.05) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(44px, 6vw, 88px);
  color: #fff;
}
.hero__content .eyebrow { color: rgba(255, 255, 255, 0.78); }
.hero__content h1 { margin: 16px 0 18px; max-width: 15ch; }
.hero__content p { color: rgba(255, 255, 255, 0.86); max-width: 42ch; font-size: 15px; }
.hero__actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

/* ---------- Trust strip ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.trust__item {
  padding: 22px 16px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.trust__item:last-child { border-right: 0; }
.trust__item strong {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 3px;
}
.trust__item span { font-size: 12px; color: var(--muted); }

/* ---------- Category tiles ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.cat-tile {
  position: relative;
  aspect-ratio: 3 / 4.1;
  overflow: hidden;
  background: var(--sand);
  color: #fff;
}
.cat-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.cat-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16, 13, 10, 0.6), rgba(16, 13, 10, 0) 55%);
}
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile__label {
  position: absolute;
  z-index: 2;
  left: 20px; right: 20px; bottom: 20px;
}
.cat-tile__label span {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}
.cat-tile__label em {
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.82;
}

/* ---------- Product cards ---------- */
.grid-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 26px);
}
.card { display: block; position: relative; }
.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand);
  margin-bottom: 14px;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), opacity 0.4s;
}
.card:hover .card__media img { transform: scale(1.045); }
.badge {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 9px;
}
.badge--gold { background: var(--ink); color: #fff; }
.quick-add {
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  z-index: 2;
  background: rgba(250, 247, 242, 0.95);
  border: 1px solid var(--ink);
  padding: 12px;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.3s;
}
.card:hover .quick-add, .quick-add:focus-visible { opacity: 1; transform: translateY(0); }
.quick-add:hover { background: var(--ink); color: #fff; }
.card__name { font-size: 13.5px; font-weight: 400; letter-spacing: 0.01em; }
.card__meta { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.card__price { font-size: 13px; margin-top: 7px; letter-spacing: 0.02em; }
.card__price s { color: var(--muted); margin-left: 6px; font-size: 11.5px; }

/* ---------- Etory split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 6vw, 96px);
}
.split__media { position: relative; overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split--portrait .split__media { aspect-ratio: 4 / 5; }
.split--landscape .split__media { aspect-ratio: 5 / 4; }
.split__body h2 { margin: 14px 0 18px; max-width: 18ch; }
.split__body p + p { margin-top: 14px; }

.stats {
  display: flex;
  gap: clamp(20px, 4vw, 52px);
  margin: 32px 0 34px;
  flex-wrap: wrap;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 300;
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Editorial split ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--paper);
  color: var(--ink);
}
.feature__media { position: relative; min-height: clamp(380px, 42vw, 620px); overflow: hidden; }
.feature__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.feature:hover .feature__media img { transform: scale(1.03); }
.feature__body {
  padding: clamp(44px, 6vw, 100px) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature__body h2 { margin: 14px 0 16px; max-width: 18ch; }
.feature__body p { color: var(--muted); max-width: 40ch; }
.feature__body .btn { margin-top: 28px; align-self: flex-start; }

/* ---------- Two up ---------- */
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.two-up__item { position: relative; overflow: hidden; aspect-ratio: 1 / 1; color: #fff; }
.two-up__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.two-up__item:hover img { transform: scale(1.05); }
.two-up__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16, 13, 10, 0.55), transparent 60%);
}
.two-up__body { position: absolute; z-index: 2; left: 28px; bottom: 28px; }
.two-up__body h3 { font-size: clamp(22px, 2.4vw, 32px); margin-bottom: 6px; }
.two-up__body span { font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85; }

/* ---------- Quote cards ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px 28px;
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.45;
  font-style: italic;
  color: var(--ink);
}
.quote figcaption {
  margin-top: 18px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Newsletter ---------- */
.newsletter { background: var(--sand); text-align: center; padding-block: clamp(56px, 7vw, 96px); }
.newsletter h2 { margin: 12px auto 12px; max-width: 15ch; }
.newsletter p { max-width: 46ch; margin-inline: auto; color: var(--muted); }
.field-inline {
  display: flex;
  gap: 0;
  max-width: 460px;
  margin: 28px auto 0;
  border-bottom: 1px solid var(--ink);
}
.field-inline input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 14px 2px;
  font-size: 13px;
  outline: none;
}
.field-inline input::placeholder { color: var(--muted); }
.field-inline button {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0 6px 0 18px;
  white-space: nowrap;
}
.form-note { font-size: 11.5px; color: var(--muted); margin-top: 14px; min-height: 18px; }
.form-note.is-ok { color: var(--success); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #efe9df; padding-top: clamp(52px, 6vw, 84px); }
.footer a { color: rgba(239, 233, 223, 0.72); transition: color 0.25s; }
.footer a:hover { color: #fff; }
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  padding-bottom: 48px;
}
.footer .logo { color: #fff; font-size: 22px; }
.footer__about p {
  color: rgba(239, 233, 223, 0.6);
  font-size: 13px;
  margin-top: 16px;
  max-width: 30ch;
}
.footer h4 {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
  margin-bottom: 18px;
}
.footer ul li + li { margin-top: 11px; }
.footer ul a { font-size: 13px; }
.footer__bottom {
  border-top: 1px solid rgba(239, 233, 223, 0.14);
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  color: rgba(239, 233, 223, 0.5);
}
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.socials { display: flex; gap: 14px; margin-top: 22px; }
.socials a {
  width: 34px; height: 34px;
  border: 1px solid rgba(239, 233, 223, 0.24);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: border-color 0.3s, background 0.3s;
}
.socials a:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.socials svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- Page header (subpages) ---------- */
.page-head {
  padding-top: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(26px, 3.4vw, 44px);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { display: flex; gap: 8px; font-size: 10.5px; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span[aria-current] { color: var(--ink); }
.page-head h1 { font-size: clamp(34px, 4.4vw, 56px); }
.page-head p { margin-top: 14px; max-width: 62ch; color: var(--muted); }

/* ---------- Filters ---------- */
.filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line);
  padding: 9px 16px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  transition: all 0.28s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.sort select {
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  padding: 6px 2px;
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: 0;
}
.result-count { font-size: 11px; color: var(--muted); margin-block: 22px; letter-spacing: 0.08em; }

/* ---------- EEO copy block ---------- */
.seo-copy {
  max-width: 78ch;
  border-top: 1px solid var(--line);
  padding-top: clamp(32px, 4vw, 56px);
  margin-top: clamp(40px, 5vw, 72px);
}
.seo-copy h2 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 16px; }
.seo-copy p { color: var(--muted); font-size: 14px; }
.seo-copy p + p { margin-top: 12px; }

/* ---------- PDP ---------- */
.pdp {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(28px, 5vw, 80px);
  padding-block: clamp(28px, 4vw, 56px) clamp(52px, 6vw, 96px);
  align-items: start;
}
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 14px; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 10px; }
.gallery__thumbs button {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid transparent;
  background: var(--sand);
  padding: 0;
}
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs button[aria-selected="true"] { border-color: var(--ink); }
.gallery__main { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }

.pdp__info { position: sticky; top: 100px; }
.pdp__info h1 { font-size: clamp(30px, 3.4vw, 42px); margin: 10px 0 12px; }
.rating { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); }
.stars { letter-spacing: 2px; color: var(--gold); font-size: 11px; }
.price { font-size: 20px; margin: 16px 0 6px; letter-spacing: 0.02em; }
.price-note { font-size: 11.5px; color: var(--muted); }
.pdp__desc { margin: 20px 0 26px; color: var(--muted); font-size: 14px; }

.option { margin-bottom: 22px; }
.option__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.option__label span { color: var(--muted); letter-spacing: 0.04em; text-transform: none; font-size: 12px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 9px 14px 9px 10px;
  font-size: 11.5px;
  transition: border-color 0.25s;
}
.swatch::before {
  content: "";
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--swatch, #ddd);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.swatch[aria-pressed="true"] { border-color: var(--ink); }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
  min-width: 44px;
  border: 1px solid var(--line);
  padding: 10px 8px;
  font-size: 12px;
  transition: all 0.25s;
}
.size-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.size-btn:hover { border-color: var(--ink); }

.buy-row { display: flex; gap: 10px; margin-top: 6px; }
.qty { display: flex; align-items: center; border: 1px solid var(--ink); }
.qty button { width: 42px; height: 48px; font-size: 16px; line-height: 1; }
.qty input {
  width: 34px;
  text-align: center;
  border: 0;
  background: transparent;
  font-size: 13px;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pdp__assurance { margin-top: 24px; display: grid; gap: 11px; }
.pdp__assurance li { display: flex; gap: 10px; font-size: 12.5px; color: var(--muted); align-items: flex-start; }
.pdp__assurance svg { width: 15px; height: 15px; stroke: var(--gold); fill: none; stroke-width: 1.4; flex: none; margin-top: 3px; }

.accordion { border-top: 1px solid var(--line); margin-top: 28px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 15px; color: var(--muted); }
.accordion details[open] summary::after { content: "–"; }
.accordion__body { padding-bottom: 20px; font-size: 13px; color: var(--muted); }
.accordion__body ul { display: grid; gap: 7px; }
.accordion__body li { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px dotted var(--line); padding-bottom: 7px; }
.accordion__body li span:last-child { color: var(--ink-soft); text-align: right; }

/* ---------- Atelier page ---------- */
.article-hero { position: relative; min-height: 60vh; display: grid; align-items: end; color: #fff; overflow: hidden; }
.article-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(16, 13, 10, 0.9) 0%, rgba(16, 13, 10, 0.7) 42%, rgba(16, 13, 10, 0.28) 72%, rgba(16, 13, 10, 0.1) 100%);
}
.article-hero__body { position: relative; z-index: 2; padding-block: clamp(48px, 8vw, 96px); max-width: 620px; }
.article-hero h1 { margin: 14px 0 16px; font-size: clamp(32px, 4.2vw, 56px); }
.article-hero p { color: rgba(255, 255, 255, 0.86); max-width: 48ch; }

.prose { max-width: 68ch; }
.prose h2 { margin: 48px 0 16px; font-size: clamp(25px, 2.4vw, 34px); }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 14px; }
.prose p { color: var(--ink-soft); }
.pull {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.4;
  font-style: italic;
  border-left: 1px solid var(--gold);
  padding-left: 24px;
  margin: 40px 0;
  color: var(--ink);
}

.compare { width: 100%; border-collapse: collapse; margin: 36px 0 8px; font-size: 13.5px; }
.compare th, .compare td { text-align: left; padding: 16px 14px; border-bottom: 1px solid var(--line); }
.compare thead th {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.compare td:first-child { color: var(--muted); }
.compare .col-us { background: rgba(165, 130, 90, 0.07); color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.info-block + .info-block { margin-top: 30px; }
.info-block h3 { font-size: 18px; margin-bottom: 8px; }
.info-block p, .info-block a { font-size: 13.5px; color: var(--muted); }
.info-block a:hover { color: var(--ink); }

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--line);
  padding: 13px 14px;
  font-size: 13.5px;
  border-radius: 0;
  transition: border-color 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.field textarea { resize: vertical; min-height: 120px; }
.form-status { font-size: 13px; min-height: 20px; color: var(--success); }

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  padding: 20px 0;
  font-size: 14.5px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq p { padding-bottom: 20px; font-size: 13.5px; color: var(--muted); max-width: 72ch; }

/* ---------- Drawers ---------- */
.drawer {
  position: fixed;
  top: 0; bottom: 0;
  width: min(420px, 92vw);
  background: var(--bone);
  z-index: 120;
  display: flex;
  flex-direction: column;
  transition: transform 0.48s var(--ease);
  box-shadow: 0 0 60px rgba(20, 17, 14, 0.18);
}
.drawer--left { left: 0; transform: translateX(-102%); }
.drawer--right { right: 0; transform: translateX(102%); }
.drawer.is-open { transform: translateX(0); }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.drawer__head h2 { font-size: 20px; }
.drawer__body { padding: 22px; overflow-y: auto; flex: 1; }
.drawer__foot { padding: 22px; border-top: 1px solid var(--line); background: var(--paper); }

.mobile-nav a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 24px;
}
.mobile-nav a span { font-family: var(--font-body); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: block; margin-top: 2px; }
.mobile-nav__foot { margin-top: 28px; display: grid; gap: 12px; font-size: 12px; color: var(--muted); }

.overlay {
  position: fixed; inset: 0;
  background: rgba(20, 17, 14, 0.42);
  backdrop-filter: blur(2px);
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.overlay.is-on { opacity: 1; pointer-events: auto; }
body.no-scroll { overflow: hidden; }

/* Cart items */
.cart-line { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 74px; aspect-ratio: 4/5; object-fit: cover; background: var(--sand); }
.cart-line h3 { font-size: 14px; font-family: var(--font-body); font-weight: 400; }
.cart-line .meta { font-size: 11.5px; color: var(--muted); margin: 4px 0 8px; }
.cart-line .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cart-line .qty { border-color: var(--line); }
.cart-line .qty button { width: 30px; height: 32px; font-size: 14px; }
.cart-line .price { font-size: 13px; margin: 0; }
.cart-remove { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--muted); }
.cart-remove:hover { color: var(--ink); border-color: var(--ink); }
.cart-empty { text-align: center; padding: 48px 10px; color: var(--muted); }
.cart-total { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.cart-note { font-size: 11px; color: var(--muted); margin-bottom: 16px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  padding: 13px 22px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-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; }

/* ---------- 404 ---------- */
.err { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px var(--gutter); }
.err h1 { font-size: clamp(64px, 12vw, 140px); line-height: 1; color: var(--line); }
.err p { margin: 8px auto 28px; max-width: 40ch; color: var(--muted); }

/* ---------- Eplit hero (real photography) ---------- */
.hero-split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: stretch;
  background: var(--bone);
}
.hero-split__body {
  padding: clamp(44px, 6.4vw, 92px) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-split__body h1 { font-size: clamp(36px, 4.4vw, 60px); margin: 16px 0 20px; }
.hero-split__body .lede { max-width: 44ch; }
.hero-split__media { position: relative; min-height: clamp(460px, 62vw, 700px); overflow: hidden; background: #fff; }
.hero-split__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 46%;
}
.hero-note {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 22px;
}

/* ---------- Policy columns ---------- */
.policy-section { border-top: 1px solid var(--line); }
.policy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(22px, 3vw, 44px); }
.policy { border-top: 1px solid var(--ink); padding-top: 18px; }
.policy__num { font-size: 10px; letter-spacing: 0.18em; color: var(--gold); }
.policy h3 { font-size: 21px; margin: 10px 0 10px; }
.policy p { font-size: 13.5px; color: var(--muted); }

/* ---------- Grid variants ---------- */
.grid-products--3 { grid-template-columns: repeat(3, 1fr); }
.chips-label { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pdp__tagline {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  color: var(--muted);
  margin: 2px 0 0;
}

/* ---------- New arrivals (7-day window) ---------- */
.badge--right {
  left: auto;
  right: 10px;
  background: rgba(250, 247, 242, 0.94);
  color: var(--ink);
}
.new-note {
  display: grid;
  gap: 6px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin-bottom: 26px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}
.new-note p { margin: 0; }
.new-note strong {
  color: var(--ink);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-right: 10px;
}
.grid-empty {
  max-width: 46ch;
  margin: clamp(40px, 7vw, 88px) auto;
  text-align: center;
}
.grid-empty[hidden] { display: none; }
.grid-empty h2 { margin: 10px 0 12px; }
.grid-empty p { color: var(--muted); }
.grid-empty .btn { margin-top: 26px; }
.grid-products[hidden] { display: none; }

/* ---------- News / journal ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 46px);
  margin-top: clamp(32px, 4vw, 56px);
}
.news-grid--2 { grid-template-columns: repeat(2, 1fr); }
.news-grid--2 .news-card { display: grid; grid-template-columns: 230px 1fr; gap: clamp(18px, 2.4vw, 32px); align-items: center; }
.news-grid--2 .news-card__body { padding-top: 0; }
.news-grid--3 { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.news-card { display: flex; flex-direction: column; }
.news-card__media {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--sand);
  box-shadow: inset 0 0 0 1px rgba(20, 17, 14, 0.055);
}
.news-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.9s var(--ease);
}
.news-card:hover .news-card__media img { transform: scale(1.035); }
.news-card__body {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 9px;
  padding-top: 18px;
}
.news-card__meta {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-size: 9.5px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted);
}
.news-card__meta .dot, .article-head .dot { opacity: 0.4; }
.news-card h3 { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.28; }
.news-card h3 a { transition: opacity 0.25s; }
.news-card h3 a:hover { opacity: 0.6; }
.news-card__dek { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.news-card .link-arrow { margin-top: 6px; font-size: 9.5px; }
.pill {
  background: var(--ink); color: #fff;
  padding: 4px 9px;
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
}

.news-featured {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 68px);
  align-items: end;
  margin-top: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.news-featured__body { padding-bottom: 4px; }
.news-featured__media { aspect-ratio: 1 / 1; max-height: 520px; overflow: hidden; background: var(--sand); box-shadow: inset 0 0 0 1px rgba(20, 17, 14, 0.055); }
.news-featured__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
  transition: transform 0.9s var(--ease);
}
.news-featured:hover .news-featured__media img { transform: scale(1.03); }
.news-featured__body { padding-bottom: 6px; }
.news-featured__body h2 { font-size: clamp(27px, 3vw, 42px); margin: 16px 0 16px; line-height: 1.16; }
.news-featured__body > p { color: var(--muted); max-width: 52ch; margin-bottom: 22px; }
.news-featured__body .link-arrow { display: inline-block; }

.article-head {
  max-width: 860px;
  margin: clamp(22px, 3.4vw, 44px) auto 0;
  text-align: center;
  padding-bottom: clamp(24px, 3vw, 40px);
}
.article-head .eyebrow { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.article-head h1 { font-size: clamp(32px, 4.2vw, 56px); margin: 18px 0 20px; line-height: 1.1; }
.article-dek { color: var(--muted); font-size: clamp(15px, 1.5vw, 18px); line-height: 1.7; max-width: 62ch; margin-inline: auto; }

.news-hero {
  margin: 0 auto clamp(30px, 4vw, 54px);
  max-width: 560px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand);
  box-shadow: inset 0 0 0 1px rgba(20, 17, 14, 0.055);
}
.news-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }

.article-body { max-width: 68ch; margin: 0 auto clamp(48px, 6vw, 88px); }
.article-body > p { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 20px; }
.article-body h2 { font-size: clamp(24px, 2.5vw, 33px); margin: 46px 0 16px; }
.article-body h3 { font-size: clamp(19px, 1.8vw, 23px); margin: 34px 0 12px; }
.article-body > h2:first-child { margin-top: 0; }
.article-list { margin: 0 0 24px; }
.article-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 11px;
  font-size: 15px;
  color: var(--ink-soft);
}
.article-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.72em;
  width: 7px; height: 1px;
  background: var(--gold);
}
.article-note {
  border-left: 2px solid var(--gold);
  background: var(--sand);
  padding: 18px 22px;
  margin: 28px 0;
}
.article-note p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.article-body blockquote {
  margin: 30px 0;
  padding-left: 22px;
  border-left: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.4;
}
.article-table { overflow-x: auto; margin: 26px 0 30px; border: 1px solid var(--line); }
.article-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; }
.article-table th, .article-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.article-table thead th {
  font-family: var(--font-body);
  font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
  background: var(--paper);
}
.article-table tbody th { font-weight: 400; color: var(--ink); width: 32%; }
.article-table td { color: var(--muted); }
.article-table tr:last-child th, .article-table tr:last-child td { border-bottom: 0; }

.takeaways {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(22px, 2.6vw, 32px);
  margin-bottom: clamp(30px, 3.4vw, 44px);
}
.takeaways .eyebrow { margin-bottom: 14px; }
.takeaways li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}
.takeaways li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
.takeaways li:last-child { margin-bottom: 0; }

.article-cta {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: clamp(18px, 2.4vw, 32px);
  align-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(18px, 2.4vw, 28px);
  margin: clamp(36px, 4vw, 54px) 0;
}
.article-cta__media { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bone); }
.article-cta__media img { width: 100%; height: 100%; object-fit: cover; }
.article-cta__body h3 { margin: 8px 0; }
.article-cta__body > p { font-size: 13.5px; color: var(--muted); }
.article-cta__price { color: var(--ink) !important; font-size: 15px !important; margin: 12px 0 18px; }
.article-cta__price span { color: var(--muted); font-size: 11.5px; }
.article-cta .btn { padding: 12px 24px; font-size: 10.5px; }

.article-foot {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
}
.article-foot a { border-bottom: 1px solid var(--gold); }

.footer__latest {
  display: flex;
  align-items: baseline;
  gap: 12px 26px;
  flex-wrap: wrap;
  padding-bottom: 28px;
}
.footer__latest-label {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.footer__latest ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__latest li + li { margin-top: 0; }
.footer__latest li { font-size: 12.5px; }
.footer__latest li + li::before { content: "·"; margin-right: 14px; opacity: 0.4; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-products, .grid-products--3 { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer__top > :nth-child(4) { grid-column: 1 / -1; }
  .policy-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header-inner { height: 64px; position: relative; }
  .header-inner .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .logo { font-size: 21px; }
  .logo small { display: none; }
  .split, .pdp, .contact-grid { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .pdp__info { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top > :nth-child(1) { grid-column: 1 / -1; }
  .hero { height: 78vh; }
  .hero__media img { object-position: 62% 30%; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-split__body { padding-block: clamp(36px, 9vw, 56px); }
  .hero-split__media { min-height: 0; aspect-ratio: 4 / 5; }
  .feature { grid-template-columns: 1fr; }
  .feature__media { order: -1; min-height: 62vw; }
  .feature__body { padding-block: clamp(36px, 8vw, 56px); }
}

@media (max-width: 720px) {
  body { font-size: 14.5px; }
  .topbar { font-size: 9px; letter-spacing: 0.12em; }
  .topbar .dot { margin: 0 6px; }
  .topbar > span:nth-child(n + 2) { display: none; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(2) { border-right: 0; }
  .trust__item:nth-child(1), .trust__item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .grid-products { gap: 12px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { flex-direction: row; order: 2; }
  .gallery__thumbs button { width: 64px; }
  .two-up { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__content h1 { max-width: 100%; }
  .quick-add { display: none; }
  .quote { padding: 26px 22px; }
  .footer__about p { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- News responsive ---------- */
@media (max-width: 1100px) {
  .news-grid, .news-grid--2, .news-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .news-featured { grid-template-columns: 1fr; gap: 26px; }
  .news-featured__media { aspect-ratio: 1 / 1; max-width: 420px; }
}

@media (max-width: 720px) {
  .news-grid, .news-grid--2, .news-grid--3 { grid-template-columns: 1fr; }
  .news-featured__media { aspect-ratio: 1 / 1; max-width: 100%; }
  .article-head { text-align: left; }
  .article-head .eyebrow { justify-content: flex-start; }
  .news-hero { aspect-ratio: 3 / 4; }
  .news-grid--2 .news-card { grid-template-columns: 1fr; }
  .article-body > p, .article-list li { font-size: 15px; }
  .article-cta { grid-template-columns: 1fr; }
  .article-cta__media { max-width: 168px; }
  .footer__latest { flex-direction: column; gap: 10px; }
  .footer__latest li + li::before { display: none; }
}

/* ---------- Floating contact rail (all pages) ---------- */
.contact-rail {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.contact-rail__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 58px;
  height: 60px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(165deg, #1f56de 0%, #14349e 100%);
  color: #fff;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(16, 40, 110, 0.26), 0 1px 0 rgba(255, 255, 255, 0.18) inset;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}
.contact-rail__btn:hover {
  transform: translateX(-3px) scale(1.03);
  box-shadow: 0 12px 26px rgba(16, 40, 110, 0.34);
  filter: brightness(1.07);
}
.contact-rail__btn:active { transform: translateX(-1px) scale(0.99); }
.contact-rail__btn:focus-visible { outline: 2px solid #14349e; outline-offset: 3px; }
.contact-rail__btn svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-rail__btn span {
  font-size: 8.5px;
  line-height: 1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.96;
  white-space: nowrap;
}
.contact-rail__btn--wa { background: linear-gradient(165deg, #2b6cf0 0%, #1742b4 100%); }
.contact-rail__btn--wa span { font-size: 7.4px; letter-spacing: 0.01em; }

@media (max-width: 1100px) {
  .contact-rail { right: 10px; gap: 7px; }
  .contact-rail__btn { width: 50px; height: 54px; border-radius: 9px; }
  .contact-rail__btn svg { width: 19px; height: 19px; }
  .contact-rail__btn span { font-size: 7.6px; }
}

@media (max-width: 720px) {
  .contact-rail {
    right: 8px;
    gap: 6px;
    top: auto;
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    transform: none;
  }
  .contact-rail__btn { width: 44px; height: 48px; border-radius: 9px; gap: 3px; }
  .contact-rail__btn svg { width: 18px; height: 18px; }
  .contact-rail__btn span { font-size: 6.8px; letter-spacing: 0.04em; }
}

@media print { .contact-rail { display: none; } }

/* =========================================================
   CONTACT — visible entry points (top bar, header, drawer, footer)
   ========================================================= */

/* ---- 1. Top utility bar carries the real contact details ---- */
.topbar { padding: 0; text-align: left; }
.topbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 9px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.topbar__note {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 239, 231, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar__note .dot { opacity: 0.4; margin: 0 8px; }
.topbar__contact { display: flex; align-items: center; gap: 20px; flex: none; }
.topbar__contact > a,
.topbar__contact > button {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 10.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #f4efe7;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.25s var(--ease);
}
.topbar__contact > a:hover,
.topbar__contact > button:hover { opacity: 0.7; }
.topbar__k { color: rgba(244, 239, 231, 0.52); }
.topbar__dot { color: rgba(244, 239, 231, 0.34); }

/* ---- 2. Header button (desktop) ---- */
.header-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 15px;
  margin-right: 6px;
  border-radius: 999px;
  background: #1742b4;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(23, 66, 180, 0.22);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.header-wa svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header-wa:hover { background: #1f56de; transform: translateY(-1px); box-shadow: 0 7px 18px rgba(23, 66, 180, 0.3); }
.header-wa:focus-visible { outline: 2px solid #1742b4; outline-offset: 3px; }

/* ---- 3. Mobile drawer contact block ---- */
.mobile-nav__label {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.drawer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 13px 15px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.drawer-contact strong {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.drawer-contact span { font-size: 13.5px; letter-spacing: 0.01em; }
.drawer-contact:hover { border-color: var(--ink); }
.mobile-nav__foot { margin-top: 26px; gap: 9px; }

/* ---- 4. Footer WeChat button matches footer links ---- */
.footer-wechat {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  color: rgba(239, 233, 223, 0.72);
  text-align: left;
  cursor: pointer;
  transition: color 0.25s;
}
.footer-wechat:hover { color: #fff; }

/* ---- responsive ---- */
@media (max-width: 1280px) {
  .topbar__note { display: none; }
  .topbar__inner { justify-content: flex-end; }
}
@media (max-width: 1200px) {
  .header-wa span { display: none; }
  .header-wa { width: 36px; padding: 0; justify-content: center; }
}
@media (max-width: 960px) {
  .topbar__note { display: none; }
  .topbar__inner { justify-content: center; }
  .header-wa { display: none; }
}
@media (max-width: 720px) {
  .topbar__inner { padding: 8px 14px; }
  .topbar__contact { gap: 12px; width: 100%; justify-content: center; flex-wrap: wrap; }
  .topbar__contact > a,
  .topbar__contact > button { font-size: 9px; letter-spacing: 0.08em; }
  .topbar__contact > a.topbar__mail { display: none; }
  .topbar__dot { display: none; }
  .topbar > span:nth-child(n + 2) { display: inline; }
}
@media (max-width: 400px) {
  .topbar__contact { gap: 9px; }
  .topbar__contact > a,
  .topbar__contact > button { font-size: 8.6px; letter-spacing: 0.05em; }
}
