/* ============================================================
   D'Bebe Glow — stylesheet
   ============================================================ */

:root {
  --cream: #FBF6F0;
  --cream-2: #F6EDE3;
  --paper: #FFFDFA;
  --sand: #F2E5D8;
  --ink: #2B201D;
  --ink-2: #4A3A34;
  --muted: #8A7972;
  --rose: #DCA9A2;
  --rose-soft: #F4DED9;
  --rose-deep: #B87B70;
  --gold: #C6A15B;
  --gold-soft: #E9D6B3;
  --line: rgba(43, 32, 29, .11);
  --line-soft: rgba(43, 32, 29, .07);
  --line-strong: rgba(43, 32, 29, .30);
  --header-bg: rgba(251, 246, 240, .78);
  --header-solid: rgba(251, 246, 240, .95);
  --surface-1: rgba(255, 253, 250, .55);
  --surface-fade: rgba(255, 253, 250, .6);
  --badge-bg: rgba(255, 253, 250, .94);
  --frame: rgba(255, 253, 250, .9);
  --media-bg: #1B1412;
  --tint-bg: rgba(244, 222, 217, .5);
  --cta-bg: #2B201D;
  --cta-fg: #FBF6F0;
  --cta-orb-1: rgba(198, 161, 91, .35);
  --cta-orb-2: rgba(184, 123, 112, .45);
  --cta-btn-bg: #FFFDFA;
  --cta-btn-fg: #2B201D;
  --btn-fg: #FFFDFA;
  --btn-hover: #3B2B26;
  --orb-1: rgba(233, 214, 179, .55);
  --orb-2: rgba(244, 222, 217, .6);
  --orb-3: rgba(242, 229, 216, .7);
  --footer-bg: #241916;
  --footer-fg: #FBF6F0;
  --shadow-sm: 0 10px 28px -18px rgba(74, 48, 38, .45);
  --shadow: 0 28px 70px -40px rgba(74, 48, 38, .55);
  --shadow-lg: 0 40px 100px -50px rgba(74, 48, 38, .6);
  --radius: 22px;
  --radius-sm: 14px;
  --serif: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(60rem 40rem at 82% -8%, var(--orb-1), transparent 60%),
    radial-gradient(46rem 34rem at -6% 18%, var(--orb-2), transparent 60%),
    radial-gradient(40rem 30rem at 50% 108%, var(--orb-3), transparent 65%);
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  color: var(--ink);
  font-variation-settings: "SOFT" 40, "WONK" 1;
}

h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 500; }

p { margin: 0 0 1rem; }

strong { font-weight: 600; }

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

:focus-visible {
  outline: 2px solid var(--rose-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(100% - 2.6rem, var(--wrap));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.skip {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  z-index: 100;
  transition: top .2s;
}
.skip:focus { top: 12px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}

.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  color: var(--ink-2);
  max-width: 56ch;
}

.prose p { color: var(--ink-2); margin-bottom: 1.05rem; }
.prose h2 { margin-top: 2.2rem; }

/* ---------------- buttons ---------------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.75rem;
  border: 1px solid transparent;
  border-radius: var(--btn-radius, 999px);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(43, 32, 29, .7); }
.btn-primary { background: var(--btn-primary-bg, var(--ink)); color: var(--btn-primary-fg, var(--btn-fg)); }
.btn-primary:hover { background: var(--btn-primary-hover, var(--btn-hover)); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--surface-1); border-color: var(--line-strong); }
.btn-sm { padding: .62rem 1.2rem; font-size: .84rem; }
.btn-block { width: 100%; }
.ico { width: 1.1em; height: 1.1em; flex: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-strong);
  transition: color .2s, border-color .2s, gap .2s;
}
.text-link:hover { color: var(--rose-deep); border-color: var(--rose-deep); gap: .7rem; }
.text-link.light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.text-link.light:hover { color: var(--gold-soft); border-color: var(--gold-soft); }

/* ---------------- header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.site-header.is-stuck {
  background: var(--header-solid);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 12px 30px -28px rgba(43, 32, 29, .8);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: .5rem; }
.brand-mark { color: var(--gold); display: inline-flex; }
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: inline-flex; align-items: baseline; gap: .34rem; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.42rem;
  letter-spacing: .01em;
  color: var(--ink);
}
.brand-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: .04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  font-size: .92rem;
  font-weight: 500;
}
.nav > a { position: relative; color: var(--ink-2); transition: color .2s; }
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--rose-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav > a:not(.btn):hover { color: var(--ink); }
.nav > a:not(.btn):hover::after,
.nav > a.is-active::after { transform: scaleX(1); }
.nav > a.is-active { color: var(--ink); }
/* The nav link colour must never win over the button: white on the dark pill. */
.nav > a.nav-cta { background: var(--nav-cta-bg, var(--ink)); }
.nav > a.nav-cta,
.nav > a.nav-cta:visited { color: var(--nav-cta-fg, var(--btn-fg)); }
.nav > a.nav-cta:hover { color: var(--nav-cta-fg, var(--btn-fg)); background: var(--nav-cta-hover, var(--btn-hover)); }
.nav > a.nav-cta:focus-visible { outline-color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0 12px;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------------- hero ---------------- */

.hero { position: relative; padding: clamp(2rem, 5vw, 4.4rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 { margin-bottom: 1.3rem; }
.hero h1 em { font-style: italic; color: var(--rose-deep); }
.hero .lead { margin-bottom: 2rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.2rem; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.6rem;
  list-style: none;
  margin: 0;
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--muted);
  text-transform: uppercase;
}
.hero-points li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-points li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-media { position: relative; padding: 1rem 0 2.4rem; }

.glow-orb {
  position: absolute;
  inset: -12% -14% -6% -10%;
  background:
    radial-gradient(circle at 62% 38%, var(--orb-1), transparent 62%),
    radial-gradient(circle at 30% 72%, var(--orb-2), transparent 58%);
  filter: blur(12px);
  z-index: 0;
  animation: breathe 12s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: .85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.hero-photo {
  position: relative;
  margin: 0;
  z-index: 1;
  background: var(--sand);
  overflow: hidden;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-photo.main {
  width: 74%;
  margin-left: auto;
  aspect-ratio: 4 / 5;
  border-radius: var(--hero-radius, 999px 999px 26px 26px);
  box-shadow: var(--shadow-lg);
  border: 10px solid var(--frame);
}
.hero-photo.small {
  position: absolute;
  width: 42%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm, 18px);
  border: 8px solid var(--frame);
  box-shadow: var(--shadow);
  bottom: 2%;
  left: 0;
  transform: rotate(-3.5deg);
}
.hero-photo.s2 {
  width: 34%;
  aspect-ratio: 3 / 4;
  left: auto;
  right: -3%;
  bottom: auto;
  top: 4%;
  transform: rotate(4deg);
  border-radius: var(--radius-sm, 14px);
}

.hero-stamp {
  position: absolute;
  z-index: 2;
  left: 4%;
  top: 10%;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .95rem;
  background: var(--badge-bg);
  border: 1px dashed var(--gold);
  border-radius: 999px;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rose-deep);
  transform: rotate(-4deg);
  box-shadow: var(--shadow-sm);
}

.placeholder { background: linear-gradient(140deg, var(--sand), var(--rose-soft)); }

/* ---------------- ribbon ---------------- */

.ribbon {
  border-block: 1px solid var(--line-soft);
  background: var(--surface-1);
  overflow: hidden;
  padding: .8rem 0;
}
.ribbon-track {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  width: max-content;
  animation: marquee 40s linear infinite;
  font-family: var(--serif);
  font-size: .95rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.ribbon-track i { color: var(--gold); font-style: normal; font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- sections ---------------- */

.section { padding: clamp(3.4rem, 7vw, 6rem) 0; position: relative; }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head p { color: var(--muted); max-width: 58ch; margin-top: .7rem; }
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  max-width: none;
  flex-wrap: wrap;
}
.section-head-row > div { max-width: 62ch; }

/* ---------------- what we create ---------------- */

.section-what { background: linear-gradient(180deg, var(--surface-fade), transparent); }

.what-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.what-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.what-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold); }
.what-card h3 { margin-bottom: .6rem; }
.what-card p { color: var(--muted); font-size: .94rem; flex: 1; }
.what-card .text-link { margin-top: 1.1rem; font-size: .85rem; }
.what-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: var(--radius-sm, 16px);
  background: var(--rose-soft);
  color: var(--rose-deep);
  margin-bottom: 1.3rem;
}
.what-icon svg { width: 27px; height: 27px; }

/* ---------------- product grid / cards ---------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.4vw, 2rem);
}
.product-grid-lg { grid-template-columns: repeat(2, 1fr); }

.product-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s ease, box-shadow .4s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card-link { display: block; height: 100%; }
.product-card-media { position: relative; aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
.product-grid-lg .product-card-media { aspect-ratio: 16 / 11; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.product-card:hover .product-card-media img { transform: scale(1.05); }

.badge-count {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: var(--badge-bg);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .42rem .8rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.product-card-body { padding: 1.5rem 1.6rem 1.7rem; }
.card-kicker {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.product-card-body h2, .product-card-body h3 { font-size: 1.5rem; margin: .5rem 0 .5rem; }
.product-card-body p { color: var(--muted); font-size: .92rem; margin-bottom: 1.1rem; }
.card-more { font-size: .85rem; font-weight: 600; color: var(--ink); display: inline-flex; gap: .4rem; }
.card-more span { transition: transform .25s; }
.product-card:hover .card-more span { transform: translateX(4px); }

/* ---------------- steps ---------------- */

.section-steps { background: var(--surface-1); border-block: 1px solid var(--line-soft); }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  counter-reset: step;
}
.steps li { position: relative; padding-top: 2.6rem; border-top: 1px solid var(--line); }
.steps li::before {
  content: "";
  position: absolute;
  top: -4px; left: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rose-deep);
}
.step-num {
  position: absolute;
  top: 1.1rem;
  right: 0;
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold-soft);
  font-style: italic;
}
.steps h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.steps p { color: var(--muted); font-size: .92rem; margin: 0; max-width: 34ch; }

/* ---------------- strip ---------------- */

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}
.strip-item {
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--sand);
  cursor: zoom-in;
  position: relative;
}
.strip-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.strip-item:nth-child(4) { grid-row: span 2; }
.strip-item:nth-child(6) { grid-column: span 2; }
.strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.strip-item:hover img { transform: scale(1.06); }

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

.section-cta { padding-top: clamp(2rem, 4vw, 3rem); }
.cta-inner {
  background:
    radial-gradient(38rem 26rem at 88% 6%, var(--cta-orb-1), transparent 62%),
    radial-gradient(30rem 24rem at 6% 96%, var(--cta-orb-2), transparent 60%),
    var(--cta-bg);
  color: var(--cta-fg);
  border-radius: var(--cta-radius, 32px);
  padding: clamp(2.4rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-copy { max-width: 58ch; }
.cta-copy .eyebrow { color: var(--gold-soft); }
.cta-copy h2 { color: var(--cta-fg); margin-bottom: .7rem; }
.cta-copy p { color: rgba(251, 246, 240, .76); margin: 0; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.cta-actions .btn-primary { background: var(--cta-btn-bg); color: var(--cta-btn-fg); }
.cta-actions .btn-primary:hover { background: var(--cta-btn-bg); opacity: .92; }

/* ---------------- page hero / crumbs ---------------- */

.page-hero { padding: clamp(2rem, 4vw, 3.4rem) 0 clamp(1rem, 2vw, 1.6rem); }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero .lead { margin-bottom: 1.4rem; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: .45; }

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.meta-line span[aria-hidden] { color: var(--gold); }

/* ---------------- product page ---------------- */

.section-product { padding-top: clamp(1.6rem, 3vw, 2.6rem); }

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}

.product-layout > * { min-width: 0; }
.product-media { position: sticky; top: calc(var(--header-h) + 1.4rem); min-width: 0; }

.stage-wrap { position: relative; }
.stage {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 26px;
  overflow: hidden;
  background: var(--sand);
  cursor: zoom-in;
  position: relative;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.stage img { width: 100%; height: 100%; object-fit: cover; }
.stage-empty { display: grid; place-items: center; height: 100%; color: var(--muted); font-size: .9rem; }

.stage-nav { position: absolute; inset: auto 1rem 1rem auto; display: flex; gap: .5rem; }
.stage-arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--badge-bg);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  transition: background .2s, transform .2s;
}
.stage-arrow:hover { background: #fff; transform: translateY(-1px); }

.thumbs {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  padding: .9rem .2rem .3rem;
  scrollbar-width: thin;
  min-width: 0;
  max-width: 100%;
}
.thumb {
  flex: none;
  width: 82px; height: 82px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--sand);
  cursor: pointer;
  opacity: .72;
  transition: opacity .25s, border-color .25s, transform .25s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; transform: translateY(-2px); }
.thumb.is-active { opacity: 1; border-color: var(--rose-deep); box-shadow: 0 0 0 2px rgba(184, 123, 112, .22); }

.stage-caption {
  margin-top: 1rem;
  padding: .9rem 1.1rem;
  background: var(--tint-bg);
  border-left: 2px solid var(--rose-deep);
  border-radius: 0 12px 12px 0;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  font-size: .9rem;
  color: var(--ink-2);
}
.caption-label { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rose-deep); }
.stage-caption strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; }

.video-block { margin-top: 1.4rem; position: relative; }
.video-frame {
  position: relative;
  width: 100%;
  background: var(--media-bg);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame.ratio-wide { aspect-ratio: 16 / 9; }
.video-frame.ratio-vertical { aspect-ratio: 9 / 16; max-width: 340px; margin-inline: auto; }
.video-label {
  display: inline-block;
  margin-top: .55rem;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-info h1 { margin: .4rem 0 .9rem; }
.product-sub { color: var(--muted); font-size: 1.02rem; margin-bottom: 1.6rem; }
.product-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.8rem; }

.detail-list {
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: .6rem;
  font-size: .88rem;
  color: var(--ink-2);
}
.detail-list li { display: flex; gap: .65rem; align-items: flex-start; }
.detail-list li::before {
  content: "";
  flex: none;
  width: 5px; height: 5px;
  margin-top: .62rem;
  border-radius: 50%;
  background: var(--gold);
}

.product-intro {
  font-size: .98rem;
  color: var(--ink-2);
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.product-note {
  font-size: .84rem;
  line-height: 1.6;
  color: var(--muted);
  background: var(--surface-1);
  border: 1px dashed var(--gold);
  border-radius: var(--radius-sm, 14px);
  padding: .9rem 1.1rem;
  margin: 0;
}
.product-note strong { color: var(--ink-2); }

/* variants */

.section-variants { background: var(--surface-1); border-block: 1px solid var(--line-soft); }

.variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.2rem;
}
.variant-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: block;
}
.variant-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.variant-card.is-active { border-color: var(--rose-deep); box-shadow: 0 0 0 2px rgba(184, 123, 112, .2), var(--shadow); }
.variant-media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--sand); }
.variant-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.variant-card:hover .variant-media img { transform: scale(1.05); }

.variant-body { position: relative; display: block; padding: 1.1rem 1.2rem 1.2rem; }
.variant-letter {
  position: absolute;
  top: -26px; left: 1rem;
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 46px;
  padding: 0 .5rem;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--rose-deep);
  box-shadow: var(--shadow-sm);
}
.variant-name { display: block; font-family: var(--serif); font-size: 1.12rem; margin-top: .2rem; }
.variant-cta { display: block; margin-top: .3rem; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.variant-card.is-active .variant-cta { color: var(--rose-deep); }

/* description block */

.prose-wrap { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(2rem, 4vw, 3.6rem); align-items: start; }
.prose-aside {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.9rem;
  box-shadow: var(--shadow-sm);
}
.prose-aside h3 { margin-bottom: .6rem; }
.prose-aside p { color: var(--muted); font-size: .92rem; }
.prose-aside .btn { margin-top: .6rem; }

/* gallery grid */

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery-item {
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--sand);
  cursor: zoom-in;
  position: relative;
  display: block;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.7rem .9rem .7rem;
  background: linear-gradient(to top, rgba(27, 20, 18, .82), transparent);
  color: #fff;
  font-size: .74rem;
  letter-spacing: .04em;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s;
}
.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption { opacity: 1; transform: none; }

/* gallery page */

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: .8rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--rose-deep); color: var(--rose-deep); }
.chip.is-active { background: var(--ink); color: var(--btn-fg); border-color: var(--ink); }

.gallery-masonry { columns: 4; column-gap: 1rem; display: block; }
.gallery-masonry .gallery-item { margin-bottom: 1rem; break-inside: avoid; }
.gallery-masonry .gallery-item img { aspect-ratio: auto; height: auto; }

.empty-state { text-align: center; max-width: 52ch; margin: 0 auto; padding: 2rem 0 3rem; }
.empty-state p { color: var(--muted); }
.empty-state .hero-actions { justify-content: center; }

/* about */

.about-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 4.5vw, 4rem); align-items: start; }
.about-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.2rem; }
.about-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.about-card h3 { margin: .2rem 0 .6rem; font-size: 1.6rem; }
.about-card p { color: var(--muted); font-size: .93rem; }
.about-card .btn { margin: .4rem 0 1rem; }
.about-card .text-link { font-size: .82rem; }

.about-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.about-thumb { padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 1; cursor: zoom-in; background: var(--sand); }
.about-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.about-thumb:hover img { transform: scale(1.07); }

.value-list { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: 1rem; }
.value-list li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--ink-2);
  font-size: .95rem;
}
.value-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .65rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.value-list strong { color: var(--ink); }

/* ---------------- footer ---------------- */

.site-footer {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(2.6rem, 5vw, 4rem) 0 1.6rem;
  background: var(--footer-bg);
  color: rgba(251, 246, 240, .72);
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(251, 246, 240, .12);
}
.footer-brand .brand-name { color: var(--footer-fg); font-size: 1.7rem; }
.footer-brand .brand-sub { font-size: 1.3rem; color: var(--gold); }
.footer-brand p { margin-top: 1rem; max-width: 38ch; font-size: .9rem; }
.footer-col { display: flex; flex-direction: column; gap: .6rem; font-size: .9rem; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: .4rem;
}
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem;
  padding-top: 1.4rem;
  font-size: .76rem;
  color: rgba(251, 246, 240, .5);
}
.footer-bottom p { margin: 0; }

/* ---------------- lightbox ---------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(24, 17, 15, .93);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; max-width: min(96vw, 1200px); max-height: 90vh; display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.lightbox-figure img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}
.lightbox-figure figcaption { color: rgba(251, 246, 240, .72); font-size: .82rem; letter-spacing: .06em; }
.lightbox-close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: transparent;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-nav {
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  margin: 0 .6rem;
  flex: none;
}
.lightbox-nav:hover, .lightbox-close:hover { background: rgba(255, 255, 255, .16); }

body.lb-open { overflow: hidden; }

/* ---------------- reveal ---------------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------------- responsive ---------------- */

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { max-width: 620px; margin-inline: auto; width: 100%; }
  .hero-photo.main { width: 70%; }
  .strip-grid { grid-template-columns: repeat(3, 1fr); }
  .product-layout { grid-template-columns: 1fr; }
  .product-media { position: static; }
  .product-media { max-width: 720px; }
  .gallery-masonry { columns: 3; }
  .prose-wrap { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-aside { position: static; }
  .what-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .product-grid, .product-grid-lg { grid-template-columns: 1fr; }
  .product-card-media, .product-grid-lg .product-card-media { aspect-ratio: 16 / 11; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry { columns: 2; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .strip-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .strip-item:nth-child(4) { grid-row: span 1; }
  .strip-item:nth-child(6) { grid-column: span 1; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: .2rem;
    padding: 1.2rem 1.6rem 1.8rem;
    background: var(--header-solid);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .25s;
    box-shadow: 0 24px 50px -34px rgba(43, 32, 29, .8);
    font-size: 1.02rem;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav > a { padding: .85rem 0; width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav > a:last-child { border-bottom: 0; }
  .nav > a.nav-cta { margin-top: 1rem; width: auto !important; padding: .8rem 1.5rem; justify-content: center; border-bottom: 0; }
  .nav-toggle { display: flex; }
  .site-header { --header-h: 68px; }

  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { align-items: stretch; width: 100%; }
  .cta-actions .btn { width: 100%; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 1.8rem, var(--wrap)); }
  .what-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-photo.main { width: 78%; border-width: 7px; }
  .hero-photo.small { width: 46%; }
  .hero-photo.s2 { width: 36%; }
  .hero-stamp { font-size: .6rem; padding: .4rem .7rem; }
  .product-grid-lg .product-card-media { aspect-ratio: 4 / 3; }
  .gallery-grid { gap: .6rem; }
  .thumbs { gap: .45rem; }
  .thumb { width: 66px; height: 66px; }
  .variant-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .variant-body { padding: .9rem 1rem 1rem; }
  .variant-letter { left: .8rem; min-width: 40px; height: 40px; font-size: 1.1rem; top: -22px; }
  .variant-name { font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .section-head-row { gap: 1rem; }
  .gallery-masonry { columns: 2; column-gap: .6rem; }
  .gallery-masonry .gallery-item { margin-bottom: .6rem; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.4rem; margin: 0 .25rem; }
  .about-card { padding: 1.5rem; }
  .cta-inner { border-radius: 24px; }
  .brand-name { font-size: 1.28rem; }
  .brand-sub { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Variant drawer, model badge, FAQ (v2)
   ============================================================ */

.model-pill {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .6rem .8rem;
  margin: 0 0 .7rem;
  border: 1px solid var(--gold);
  background: var(--surface-1);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.model-pill[hidden] { display: none; }
.model-letter {
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 46px;
  padding: 0 .4rem;
  border-radius: 12px;
  background: var(--rose-soft);
  color: var(--rose-deep);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1;
}
.model-meta { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.model-meta strong { font-family: var(--serif); font-weight: 500; font-size: 1.08rem; }
.model-code { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.model-clear {
  margin-left: auto;
  width: 32px; height: 32px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.model-clear:hover { color: var(--ink); border-color: var(--ink); }
.model-note {
  font-size: .9rem;
  color: var(--ink-2);
  margin: 0 0 1.2rem;
  padding-left: .15rem;
}
.model-note[hidden] { display: none; }

.stage-zoom {
  position: absolute;
  top: .9rem;
  right: .9rem;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--badge-bg);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  pointer-events: none;
}
.stage-zoom svg { width: 18px; height: 18px; }

/* drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  justify-content: flex-end;
}
.drawer[hidden] { display: none; }
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 20, 18, .48);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .3s ease;
}
.drawer.is-open .drawer-backdrop { opacity: 1; }

.drawer-panel {
  position: relative;
  width: min(470px, 100%);
  height: 100%;
  background: var(--cream);
  box-shadow: -30px 0 80px -40px rgba(43, 32, 29, .85);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.2, .7, .2, 1);
  will-change: transform;
}
.drawer.is-open .drawer-panel { transform: none; }

.drawer-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.4rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
}
.drawer-head h2 { font-size: 1.55rem; margin: .15rem 0 .4rem; }
.drawer-head p { margin: 0; font-size: .82rem; color: var(--muted); max-width: 42ch; }
.drawer-head .eyebrow { margin-bottom: .6rem; }
.drawer-close {
  margin-left: auto;
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}
.drawer-close:hover { background: rgba(43, 32, 29, .05); }

.drawer-list {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 1.1rem 1.2rem;
  display: grid;
  gap: .6rem;
  align-content: start;
}
.drawer-card {
  display: grid;
  grid-template-columns: 78px 1fr 22px;
  gap: .9rem;
  align-items: center;
  text-align: left;
  padding: .6rem;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--paper);
  cursor: pointer;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.drawer-card:hover { border-color: rgba(184, 123, 112, .5); transform: translateY(-1px); }
.drawer-card.is-active { border-color: var(--rose-deep); box-shadow: 0 0 0 2px rgba(184, 123, 112, .18); }
.drawer-card:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 2px; }
.drawer-thumb {
  width: 78px; height: 78px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--sand);
}
.drawer-thumb img { width: 100%; height: 100%; object-fit: cover; }
.drawer-text { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.drawer-top { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.drawer-letter {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 .35rem;
  border-radius: 8px;
  background: var(--rose-soft);
  color: var(--rose-deep);
  font-family: var(--serif);
  font-size: .95rem;
  line-height: 1;
}
.drawer-top strong { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; color: var(--ink); }
.drawer-code {
  margin-left: auto;
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(43, 32, 29, .05);
  padding: .2rem .45rem;
  border-radius: 999px;
  white-space: nowrap;
}
.drawer-note {
  font-size: .78rem;
  line-height: 1.45;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.drawer-tick {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: .68rem;
  color: transparent;
}
.drawer-card.is-active .drawer-tick {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  color: #fff;
}
.drawer-foot {
  padding: 1rem 1.3rem 1.3rem;
  border-top: 1px solid var(--line-soft);
  background: var(--paper);
  display: grid;
  gap: .7rem;
}
.drawer-foot p { margin: 0; font-size: .78rem; color: var(--muted); }
.drawer-foot .text-link { justify-self: start; font-size: .8rem; }

body.drawer-open { overflow: hidden; }

/* FAQ */
.section-faq { border-top: 1px solid var(--line-soft); }
.faq-wrap { max-width: 860px; }
.faq { display: grid; }
.faq-item { border-bottom: 1px solid var(--line); padding: .95rem 0; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.1rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.35rem;
  line-height: 1;
  flex: none;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: .7rem 0 0; color: var(--muted); font-size: .93rem; max-width: 72ch; }

@media (max-width: 640px) {
  .drawer-panel { width: 100%; }
  .drawer-head { padding: 1.1rem 1rem .9rem; }
  .drawer-head h2 { font-size: 1.35rem; }
  .drawer-list { padding: .8rem .8rem 1rem; gap: .5rem; }
  .drawer-card { grid-template-columns: 64px 1fr 20px; gap: .7rem; padding: .5rem; }
  .drawer-thumb { width: 64px; height: 64px; border-radius: 10px; }
  .drawer-code { margin-left: 0; }
  .drawer-foot { padding: .85rem 1rem 1rem; }
  .model-pill { padding: .55rem .7rem; }
}

/* invitation link inside footer / product note */
.footer-bottom a { color: var(--gold-soft); text-decoration: none; border-bottom: 1px solid rgba(233, 214, 179, .45); }
.footer-bottom a:hover { color: #fff; border-color: #fff; }
.product-note .text-link { font-size: .84rem; margin-left: .1rem; }

/* ---------- portfolio framing + start-a-project form (v4) ---------- */
.product-craft {
  margin: 0 0 1.1rem;
  padding: .7rem .9rem;
  font-size: .84rem;
  line-height: 1.55;
  color: var(--ink-2);
  background: var(--cream-2);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
}
.drawer-foot .btn-block { margin-top: .55rem; }

.project-main {
  max-width: 720px;
  margin: 0 auto;
}
.project-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
}
.pf-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 18px; }
.field > span {
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-2);
}
.field > span em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .78rem .9rem;
  width: 100%;
}
.field textarea { min-height: 148px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--rose-deep);
  box-shadow: 0 0 0 4px rgba(184, 123, 112, .14);
}
.field-hint { font-size: .78rem; color: var(--muted); line-height: 1.45; }
.field-hint.is-warn { color: var(--rose-deep); font-weight: 600; }
.word-warn {
  margin: 0 0 18px;
  padding: .7rem .9rem;
  font-size: .82rem;
  line-height: 1.55;
  color: var(--ink-2);
  background: var(--rose-soft);
  border-left: 3px solid var(--rose-deep);
  border-radius: 0 12px 12px 0;
}
.pf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; }
.pf-note { margin: 14px 0 0; font-size: .78rem; color: var(--muted); line-height: 1.55; }
.pf-status {
  margin: 14px 0 0;
  padding: .7rem .9rem;
  font-size: .84rem;
  line-height: 1.5;
  color: var(--ink-2);
  background: var(--cream-2);
  border-radius: 12px;
}
@media (max-width: 560px) {
  .pf-row { grid-template-columns: 1fr; gap: 0; }
}

/* quick variant strip (all models of one piece, one tap away) */
.variant-quick {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.vq {
  position: relative;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream-2);
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease;
}
.vq img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vq span {
  position: absolute;
  right: 3px;
  bottom: 3px;
  min-width: 17px;
  height: 17px;
  padding: 0 3px;
  border-radius: 6px;
  background: rgba(43, 32, 29, .78);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}
.vq:hover { transform: translateY(-1px); }
.vq.is-active { border-color: var(--gold); }

/* ============================================================
   Theme identities
   Same containers, same positions — different shops.
   ============================================================ */

/* Glow — auriu, luxury (dbebe.ro) */
html[data-theme="glow"] .brand-sub { color: var(--rose-deep); }
html[data-theme="glow"] .eyebrow { color: var(--rose-deep); letter-spacing: .2em; }
html[data-theme="glow"] .hero-photo.main,
html[data-theme="glow"] .hero-photo.small,
html[data-theme="glow"] .hero-photo.s2 { border-color: var(--gold-soft); }
html[data-theme="glow"] .hero-stamp {
  background: var(--ink);
  border: 1px solid var(--gold);
  color: var(--gold-soft);
}
html[data-theme="glow"] .what-card,
html[data-theme="glow"] .product-card { border-color: rgba(192, 146, 60, .34); }
html[data-theme="glow"] .what-card:hover,
html[data-theme="glow"] .product-card:hover { border-color: var(--gold); }
html[data-theme="glow"] .what-icon { background: var(--gold-soft); color: #6B4E14; }
html[data-theme="glow"] .card-kicker { color: var(--rose-deep); }
html[data-theme="glow"] .ribbon-track i { color: var(--rose-deep); }
html[data-theme="glow"] .section-what {
  background: linear-gradient(180deg, rgba(232, 212, 168, .38), transparent);
}

/* Noapte — spațiu, stele și lumină (dbebe.space) */
html[data-theme="noapte"] body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.4px 1.4px at 18% 22%, rgba(255, 255, 255, .55), transparent),
    radial-gradient(1.2px 1.2px at 72% 12%, rgba(255, 255, 255, .40), transparent),
    radial-gradient(1.6px 1.6px at 42% 62%, rgba(255, 255, 255, .35), transparent),
    radial-gradient(1.1px 1.1px at 88% 48%, rgba(255, 255, 255, .45), transparent),
    radial-gradient(1.3px 1.3px at 10% 78%, rgba(255, 255, 255, .32), transparent),
    radial-gradient(1.1px 1.1px at 62% 88%, rgba(255, 255, 255, .35), transparent),
    radial-gradient(1.7px 1.7px at 26% 44%, rgba(243, 201, 105, .45), transparent),
    radial-gradient(1.5px 1.5px at 94% 74%, rgba(157, 183, 255, .5), transparent);
  background-size: 380px 380px, 520px 520px, 460px 460px, 300px 300px, 600px 600px, 340px 340px, 720px 720px, 640px 640px;
}
html[data-theme="noapte"] body::before {
  background:
    radial-gradient(60rem 42rem at 82% -10%, rgba(78, 108, 255, .28), transparent 62%),
    radial-gradient(48rem 36rem at -8% 18%, rgba(150, 90, 255, .22), transparent 64%),
    radial-gradient(46rem 34rem at 50% 112%, rgba(40, 170, 255, .16), transparent 66%);
}
html[data-theme="noapte"] .site-header {
  background: var(--header-solid);
  border-bottom: 1px solid var(--line-soft);
}
html[data-theme="noapte"] .brand-sub {
  align-self: center;
  font-family: var(--sans);
  font-style: normal;
  font-size: .66rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
}
html[data-theme="noapte"] .eyebrow { color: var(--gold); letter-spacing: .24em; }
html[data-theme="noapte"] .hero-photo.main {
  border-color: rgba(238, 242, 255, .14);
  box-shadow: 0 0 130px -30px rgba(78, 108, 255, .7), var(--shadow-lg);
}
html[data-theme="noapte"] .hero-stamp {
  border-style: solid;
  border-color: var(--line-strong);
  background: rgba(5, 8, 26, .86);
  color: var(--gold);
}
html[data-theme="noapte"] .what-card,
html[data-theme="noapte"] .product-card { border-color: var(--line); }
html[data-theme="noapte"] .what-icon { background: rgba(110, 139, 255, .18); color: var(--gold); }
html[data-theme="noapte"] .ribbon { background: rgba(10, 15, 38, .7); }
html[data-theme="noapte"] .card-kicker { color: var(--gold); }
html[data-theme="noapte"] .nav > a.nav-cta {
  background: rgba(63, 91, 232, .16);
  border-color: rgba(243, 201, 105, .5);
  color: var(--gold);
  box-shadow: none;
}
html[data-theme="noapte"] .nav > a.nav-cta:hover {
  background: rgba(63, 91, 232, .3);
  color: var(--gold);
}
html[data-theme="noapte"] .btn-primary {
  box-shadow: 0 10px 34px -16px rgba(78, 108, 255, .85);
}

/* Cadouri — albastru și roșu (cadouri.store) */
html[data-theme="cadouri"] .site-header {
  background: var(--header-solid);
  border-bottom: 3px solid var(--rose-deep);
}
html[data-theme="cadouri"] .brand-sub {
  font-family: var(--sans);
  font-style: normal;
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
html[data-theme="cadouri"] .eyebrow { letter-spacing: .22em; }
html[data-theme="cadouri"] .btn { font-weight: 700; letter-spacing: .015em; }
html[data-theme="cadouri"] .hero-photo.main { border-width: 12px; border-color: var(--paper); }
html[data-theme="cadouri"] .hero-photo.small { transform: rotate(-2deg); }
html[data-theme="cadouri"] .hero-photo.s2 { transform: rotate(2deg); }
html[data-theme="cadouri"] .hero-stamp {
  background: var(--rose-deep);
  border: 1px solid var(--rose-deep);
  color: #FFFFFF;
}
html[data-theme="cadouri"] .what-card,
html[data-theme="cadouri"] .product-card {
  border: 1.5px solid var(--line);
  box-shadow: 7px 7px 0 var(--rose-soft);
}
html[data-theme="cadouri"] .what-card:hover,
html[data-theme="cadouri"] .product-card:hover {
  transform: translateY(-3px);
  box-shadow: 9px 9px 0 var(--rose-soft);
}
html[data-theme="cadouri"] .what-icon {
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
}
html[data-theme="cadouri"] .card-kicker { color: var(--gold); }
html[data-theme="cadouri"] .ribbon {
  background: var(--gold-soft);
  border-color: transparent;
}
html[data-theme="cadouri"] .ribbon-track { color: var(--ink); letter-spacing: .16em; }
html[data-theme="cadouri"] .ribbon-track i { color: var(--rose-deep); }
html[data-theme="cadouri"] .section-what {
  background: linear-gradient(180deg, rgba(207, 224, 250, .5), transparent);
}
.vq-all {
  border: 1px dashed var(--line);
  background: none;
  border-radius: 999px;
  padding: .42rem .78rem;
  font-size: .74rem;
  letter-spacing: .02em;
  color: var(--ink-2);
  cursor: pointer;
}
.vq-all:hover { border-color: var(--rose-deep); color: var(--rose-deep); }

/* ---------------- public order tracking ---------------- */

.page-tracking .section-tracking { padding-top: clamp(1rem, 2vw, 1.6rem); }
.section-tracking > .wrap { max-width: 1040px; }

.track-gate {
  max-width: 460px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.2rem);
  box-shadow: var(--shadow);
}
.track-gate h2 { margin: .35rem 0 .5rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.track-gate .hint { color: var(--muted); font-size: .85rem; margin-bottom: 1.2rem; }
.track-gate .field input { letter-spacing: .06em; }
.track-gate .field input[name="pin"] { letter-spacing: .5em; font-size: 1.1rem; }
.track-gate-help { margin: 1rem 0 0; text-align: center; font-size: .78rem; color: var(--muted); }
.track-alert {
  padding: .7rem .9rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  font-size: .85rem;
  color: #8E3F36;
  background: rgba(184, 123, 112, .12);
  border: 1px solid rgba(184, 123, 112, .3);
}

.track-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}
.track-top h2 { margin-bottom: .35rem; }
.track-sub { margin: 0; color: var(--muted); font-size: .9rem; }
.track-status {
  display: inline-flex;
  align-items: center;
  padding: .4rem .9rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--st, var(--ink-2));
  background: var(--st-bg, rgba(43, 32, 29, .06));
  white-space: nowrap;
}

.track-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.4rem;
  align-items: start;
}
.track-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.track-card h3 { font-size: 1.12rem; margin-bottom: 1rem; }
.track-side { display: grid; gap: 1rem; position: sticky; top: 92px; }
.track-facts { display: grid; gap: .6rem; margin: 0; }
.track-facts > div {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: .88rem;
}
.track-facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.track-facts dt { color: var(--muted); }
.track-facts dd { margin: 0; font-weight: 600; text-align: right; }
.track-paid { color: var(--ok, #2F7D5A); font-weight: 700; }
.track-note-card p { font-size: .85rem; color: var(--muted); }
.track-note-card .btn { margin-top: .3rem; }

/* status colours (shared by the status pill and the roadmap dots) */
.st-received { --st: #9A8B84; --st-bg: rgba(154, 139, 132, .16); }
.st-payment { --st: #B9882F; --st-bg: rgba(198, 161, 91, .18); }
.st-draft { --st: #4B7A97; --st-bg: rgba(75, 122, 151, .13); }
.st-draft_model { --st: #7A5CA8; --st-bg: rgba(122, 92, 168, .13); }
.st-working { --st: #C4692F; --st-bg: rgba(196, 105, 47, .14); }
.st-final { --st: #1F6B52; --st-bg: rgba(31, 107, 82, .14); }
.st-final_payment { --st: #A8791F; --st-bg: rgba(198, 161, 91, .2); }
.st-shipping { --st: #2F6F8F; --st-bg: rgba(47, 111, 143, .13); }
.st-delivered { --st: #1F6B52; --st-bg: rgba(31, 107, 82, .18); }

.track-road { list-style: none; margin: 0; padding: 0; }
.track-stop {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: .9rem;
  padding-bottom: 1.5rem;
}
.track-stop:last-child { padding-bottom: 0; }
.track-stop::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 34px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.track-stop:last-child::before { display: none; }
.track-stop.is-done::before { background: var(--st); opacity: .4; }
.track-dot {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .76rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--cream);
  border: 1px solid var(--line);
}
.track-stop.is-done .track-dot { background: var(--st); border-color: var(--st); color: #fff; }
.track-stop.is-current .track-dot {
  background: var(--paper);
  border-color: var(--st);
  color: var(--st);
  box-shadow: 0 0 0 4px var(--st-bg);
  animation: trackPulse 2.4s ease-in-out infinite;
}
@keyframes trackPulse {
  50% { box-shadow: 0 0 0 9px rgba(43, 32, 29, 0); }
}
.track-stop.is-pending { opacity: .62; }
.track-body { padding-top: .25rem; min-width: 0; }
.track-step-head { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.track-step-head strong { font-size: .98rem; }
.track-step-head time { margin-left: auto; font-size: .72rem; color: var(--muted); }
.track-state {
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--st);
  background: var(--st-bg);
  border-radius: 999px;
  padding: .16rem .5rem;
}
.track-state.is-ok { color: var(--ok, #2F7D5A); background: rgba(47, 125, 90, .1); }
.track-hint { margin: .3rem 0 0; font-size: .8rem; color: var(--muted); }
.track-note { margin: .45rem 0 0; font-size: .9rem; color: var(--ink-2); }
.track-amount { margin: .3rem 0 0; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.track-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: .5rem;
  margin-top: .7rem;
}
.track-photo { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-soft); }
.track-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s; }
.track-photo:hover img { transform: scale(1.04); }

@media (max-width: 900px) {
  .track-grid { grid-template-columns: 1fr; }
  .track-side { position: static; }
  .track-card { padding: 1.1rem; }
  .track-step-head time { margin-left: 0; }
}

/* ---------------- tracking: full-container history view ---------------- */

.track-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  flex-wrap: wrap;
  margin-bottom: .9rem;
}
.track-card-head h3 { margin: 0; }
.track-card-actions { display: flex; align-items: center; gap: .5rem; }
.track-expand {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  border-radius: 999px;
  padding: .35rem .75rem;
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  cursor: pointer;
}
.track-expand:hover { border-color: var(--ink); color: var(--ink); }
.track-close { display: none; }

body.track-history-open { overflow: hidden; }
.track-card.is-expanded {
  position: fixed;
  inset: 0;
  z-index: 300;
  border-radius: 0;
  border: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 clamp(1rem, 4vw, 2.4rem) 2.4rem;
}
.track-card.is-expanded .track-card-head {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 1rem 0 .8rem;
  margin-bottom: .8rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
}
.track-card.is-expanded .track-road,
.track-card.is-expanded > .track-card-head { width: min(100%, 880px); margin-inline: auto; }
.track-card.is-expanded .track-road { padding-bottom: 2rem; }
.track-card.is-expanded .track-expand { display: none; }
.track-card.is-expanded .track-close {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.track-card.is-expanded .track-hint { font-size: .85rem; }
.track-card.is-expanded .track-note { font-size: .95rem; }

/* ---------------- tracking: full-page order popup ---------------- */

body.track-popup-open { overflow: hidden; }

.track-popup {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  background: var(--cream);
}
.track-popup[hidden] { display: none; }
.track-popup-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100dvh;
  max-height: 100dvh;
}
.track-popup-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem clamp(1rem, 4vw, 2.4rem);
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
}
.track-popup-bar .eyebrow { margin: 0; }
.track-popup-close {
  appearance: none;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.track-popup-close:hover { border-color: var(--ink); color: var(--ink); }
.track-popup-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(1.1rem, 3vw, 2rem) clamp(1rem, 4vw, 2.4rem) clamp(1.4rem, 4vw, 2.6rem);
}
.track-popup-body > .track-top,
.track-popup-body > .track-grid { width: min(100%, 1040px); margin-inline: auto; }
.track-popup-body > .track-top { margin-bottom: 1.2rem; }
.track-popup-body > .track-grid { margin-bottom: 0; }
.track-popup-body .track-side { top: 0; }

@media (max-width: 700px) {
  .track-popup-bar { padding: .7rem 1rem; }
  .track-popup-body { padding: 1rem 1rem 1.6rem; }
  .track-popup-body > .track-top { margin-bottom: 1rem; }
}
