/* ------------------------------------------------------------------
   BISHOPED — light editorial, black accent sections
   ------------------------------------------------------------------ */

:root {
  --paper: #ffffff;
  --paper-soft: #f5f4f0;
  --ink: #0d0e10;
  --obsidian: #0b0c0e;
  --midnight: #101318;
  --hairline: rgba(11, 12, 14, 0.12);
  --hairline-light: rgba(255, 255, 255, 0.1);
  --white: #f4f3ef;
  --pure: #ffffff;
  --muted: #6f7278;
  --muted-light: rgba(244, 243, 239, 0.55);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Live site only — discourages casual copy/save (dev/localhost stays open) */
html.protect-content,
html.protect-content body {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

html.protect-content input,
html.protect-content textarea,
html.protect-content select,
html.protect-content [contenteditable="true"],
html.protect-content [contenteditable="plaintext-only"] {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

html.protect-content img,
html.protect-content .ph,
html.protect-content [data-upload],
html.protect-content .pdp-main,
html.protect-content .home-hero-media {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}

::selection { background: var(--ink); color: var(--pure); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: inherit;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

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

button { font-family: var(--sans); }

/* ---------- announcement bar ---------- */

.announce-bar {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 36px;
  background: var(--obsidian);
  color: var(--white);
}

.announce-track {
  display: flex;
  width: max-content;
  animation: announce-scroll 32s linear infinite;
}

.announce-group {
  display: flex;
  flex-shrink: 0;
}

.announce-group span {
  padding: 0 48px;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

@keyframes announce-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.announce-timer {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 16px;
  background: var(--obsidian);
  box-shadow: 0 0 16px 16px var(--obsidian);
}

.announce-timer-label {
  margin-right: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}

.timer-box {
  display: inline-flex;
  justify-content: center;
  min-width: 26px;
  padding: 3px 5px;
  background: #23262c;
  color: var(--pure);
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  padding: 14px var(--gutter);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.wordmark {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
}

.site-nav { display: flex; gap: 28px; }

.site-nav a {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink);
  opacity: 0.65;
  transition: opacity 0.3s;
}

.site-nav a:hover { opacity: 1; }

.site-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.locale-select {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink);
  opacity: 0.75;
  transition: opacity 0.3s;
}

.locale-select:hover { opacity: 1; }

.locale-select svg { width: 9px; height: 9px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  opacity: 0.8;
  transition: opacity 0.3s;
}

.icon-btn:hover { opacity: 1; }

.icon-btn svg { width: 19px; height: 19px; }

/* ---------- floating purchase ---------- */

.float-purchase {
  position: fixed;
  right: clamp(16px, 3vw, 40px);
  bottom: clamp(16px, 3vw, 36px);
  z-index: 70;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 26px;
  border: none;
  border-radius: 999px;
  background: var(--ink);
  color: var(--pure);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 18px 46px rgba(11, 12, 14, 0.28);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s, background 0.3s;
}

.float-purchase:hover { transform: translateY(-3px); }

.float-purchase-price {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
  opacity: 0.7;
}

.float-purchase-price .price-currency {
  font-size: 0.55em;
  vertical-align: top;
  margin-right: 0.04em;
}

.float-purchase.is-hidden {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}

/* ---------- placeholders (cinematic photography stand-ins) ---------- */

.ph {
  position: relative;
  overflow: hidden;
  background: var(--midnight);
  border: 1px solid rgba(11, 12, 14, 0.06);
}

.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-conic-gradient(rgba(255, 255, 255, 0.035) 0% 25%, transparent 0% 50%)
    50% / 112px 112px;
  opacity: 0.45;
}

.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.ph-tag {
  position: absolute;
  left: 18px;
  top: 14px;
  bottom: auto;
  z-index: 2;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.r-45 { aspect-ratio: 4 / 5; }
.r-34 { aspect-ratio: 3 / 4; }
.r-11 { aspect-ratio: 1 / 1; }
.r-widescreen { aspect-ratio: 21 / 9; }

.ph-hero  { background: radial-gradient(120% 90% at 30% 10%, #23262e 0%, #101216 45%, #07080a 100%); }
.ph-a     { background: radial-gradient(100% 80% at 70% 0%, #2a2620 0%, #14120f 55%, #0a0908 100%); }
.ph-b     { background: radial-gradient(110% 90% at 20% 20%, #1e242e 0%, #0f1319 55%, #08090c 100%); }
.ph-c     { background: radial-gradient(100% 100% at 80% 90%, #26221c 0%, #121110 60%, #090808 100%); }
.ph-d     { background: radial-gradient(120% 80% at 50% 0%, #232323 0%, #121212 55%, #0a0a0a 100%); }
.ph-e     { background: radial-gradient(100% 90% at 30% 100%, #1c2130 0%, #101320 55%, #080a10 100%); }
.ph-f     { background: radial-gradient(90% 90% at 60% 30%, #2b241d 0%, #15110d 60%, #0a0806 100%); }
.ph-g     { background: radial-gradient(110% 100% at 10% 40%, #202730 0%, #11151b 55%, #090b0e 100%); }
.ph-wide  { background: radial-gradient(80% 130% at 50% 50%, #262a33 0%, #12141a 55%, #08090b 100%); }

/* ---------- home landing (body.home-page) ---------- */

.home-page .home-hero {
  position: relative;
  height: 100svh;
  min-height: 100svh;
  color: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.home-page .home-hero-media {
  position: absolute;
  inset: 0;
  border: none;
  margin: 0;
}

.home-page .home-hero-media .ph-tag {
  left: var(--gutter);
  top: 18px;
  bottom: auto;
}

.home-page .home-hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to top,
      rgba(8, 9, 11, 0.88) 0%,
      rgba(8, 9, 11, 0.45) 28%,
      rgba(8, 9, 11, 0.12) 52%,
      transparent 72%
    ),
    linear-gradient(
      to right,
      rgba(8, 9, 11, 0.35) 0%,
      transparent 42%
    );
}

.home-page .home-hero-copy {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 3;
  max-width: 720px;
  padding: 0 var(--gutter) clamp(48px, 8vh, 96px);
}

.home-page .home-brand {
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pure);
  line-height: 0.95;
  margin-bottom: clamp(18px, 3vh, 28px);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

.home-page .home-hero-copy h1 {
  font-size: clamp(36px, 5.6vw, 72px);
  font-weight: 500;
  font-style: italic;
  color: var(--pure);
  line-height: 1.05;
  margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.home-page .home-hero-lede {
  max-width: 34rem;
  color: rgba(244, 243, 239, 0.72);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.55;
  margin-bottom: clamp(22px, 3vh, 32px);
}

.home-page .home-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}

.home-page .btn-light {
  display: inline-block;
  padding: 16px 36px;
  background: var(--pure);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s;
}

.home-page .btn-light:hover { transform: translateY(-2px); }

.home-page .home-hero-secondary {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 243, 239, 0.7);
  border-bottom: 1px solid rgba(244, 243, 239, 0.28);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}

.home-page .home-hero-secondary:hover {
  color: var(--pure);
  border-color: rgba(244, 243, 239, 0.7);
}

.home-page .home-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 96px;
  z-index: 3;
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted-light);
  writing-mode: vertical-rl;
  animation: home-drift 3.2s ease-in-out infinite;
}

@keyframes home-drift {
  0%, 100% { transform: translateY(0); opacity: 0.45; }
  50% { transform: translateY(10px); opacity: 1; }
}

/* Manifesto */
.home-page .home-manifesto {
  padding: clamp(100px, 18vh, 200px) var(--gutter);
  text-align: center;
  background: var(--obsidian);
  color: var(--white);
}

.home-page .home-manifesto h2 {
  font-size: clamp(40px, 7vw, 92px);
  font-style: italic;
  font-weight: 400;
  color: var(--pure);
  line-height: 1.05;
}

.home-page .home-manifesto p {
  margin: 28px auto 0;
  max-width: 28rem;
  color: var(--muted-light);
  font-size: 15px;
  line-height: 1.6;
}

/* Shared section head */
.home-page .home-section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
  padding: 0 var(--gutter);
  margin-bottom: clamp(40px, 7vh, 72px);
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}

.home-page .home-index {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.55em;
}

.home-page .home-section-head h2 {
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.05;
  margin-bottom: 14px;
}

.home-page .home-section-lede {
  max-width: 32rem;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.home-page .home-section-head-dark .home-index { color: var(--muted-light); }
.home-page .home-section-head-dark h2 { color: var(--pure); }
.home-page .home-section-head-dark .home-section-lede { color: var(--muted-light); }

/* Carry strip */
.home-page .home-carry {
  padding: clamp(90px, 14vh, 160px) 0;
  background: var(--paper);
}

.home-page .home-carry-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  padding: 0 var(--gutter);
  max-width: 1360px;
  margin: 0 auto;
}

.home-page .home-carry-shot {
  margin: 0;
  aspect-ratio: 3 / 4;
  border: none;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.home-page .home-carry-shot:hover {
  transform: scale(0.985);
}

.home-page .home-carry-shot:nth-child(2) {
  margin-top: clamp(28px, 5vh, 64px);
}

.home-page .home-carry-shot:nth-child(4) {
  margin-top: clamp(18px, 3vh, 40px);
}

/* Social language split */
.home-page .home-language {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  min-height: min(88vh, 820px);
  background: var(--paper-soft);
}

.home-page .home-language-media {
  margin: 0;
  border: none;
  min-height: 420px;
  height: 100%;
}

.home-page .home-language-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 8vh, 96px) clamp(28px, 5vw, 72px);
  background: var(--paper);
}

.home-page .home-language-copy .home-index {
  margin-bottom: 22px;
  padding-top: 0;
}

.home-page .home-language-copy h2 {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.08;
  margin-bottom: 20px;
}

.home-page .home-language-copy p {
  max-width: 28rem;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* The object */
.home-page .home-object {
  padding: clamp(90px, 14vh, 160px) 0;
  background: var(--midnight);
  color: var(--white);
}

.home-page .home-object-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  border-top: 1px solid var(--hairline-light);
}

.home-page .home-object-item {
  padding: clamp(32px, 5vh, 56px) clamp(16px, 2vw, 28px) clamp(36px, 6vh, 64px) 0;
  border-right: 1px solid var(--hairline-light);
}

.home-page .home-object-item:last-child { border-right: none; }
.home-page .home-object-item + .home-object-item {
  padding-left: clamp(16px, 2vw, 28px);
}

.home-page .home-object-no {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--muted-light);
  margin-bottom: clamp(28px, 5vh, 64px);
}

.home-page .home-object-item h3 {
  font-size: clamp(20px, 2vw, 26px);
  color: var(--pure);
  margin-bottom: 12px;
}

.home-page .home-object-item p {
  color: var(--muted-light);
  font-size: 13px;
  line-height: 1.55;
  max-width: 22ch;
}

.home-page .home-object-wide {
  margin: clamp(40px, 7vh, 80px) var(--gutter) 0;
  max-width: calc(1360px - 2 * var(--gutter));
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - 2 * var(--gutter));
  aspect-ratio: 21 / 9;
  border: none;
}

/* Close / CTA */
.home-page .home-close {
  padding: clamp(120px, 20vh, 220px) var(--gutter);
  text-align: center;
  background: var(--paper);
}

.home-page .home-close-kicker {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

.home-page .home-close h2 {
  font-size: clamp(40px, 6.5vw, 96px);
  line-height: 1.05;
}

.home-page .home-close-sub {
  margin: 22px auto 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.home-page .home-close-row {
  margin-top: clamp(36px, 5vh, 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.home-page .home-close-meta {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-height: 720px) {
  .home-page .home-brand {
    font-size: clamp(28px, 6vw, 52px);
    margin-bottom: 12px;
  }
  .home-page .home-hero-copy h1 {
    font-size: clamp(28px, 5vw, 48px);
    margin-bottom: 12px;
  }
  .home-page .home-hero-lede {
    font-size: 13px;
    margin-bottom: 16px;
  }
  .home-page .home-hero-copy {
    padding-bottom: clamp(24px, 5vh, 48px);
  }
  .home-page .home-scroll { display: none; }
}

/* Shared buttons still used on home close */
.btn-dark {
  display: inline-block;
  padding: 20px 58px;
  border: none;
  background: var(--ink);
  color: var(--pure);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s;
}

.btn-dark:hover { transform: translateY(-3px); }
.btn-dark[disabled] { opacity: 0.6; cursor: wait; }

.purchase-error {
  margin-top: 26px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #a04545;
}

/* ---------- footer (black) ---------- */

.footer {
  padding: clamp(70px, 10vh, 120px) var(--gutter) 40px;
  background: #08090b;
  color: var(--white);
}

.footer-mark {
  font-family: var(--serif);
  font-size: clamp(52px, 12vw, 180px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  user-select: none;
  margin-bottom: clamp(48px, 8vh, 90px);
  white-space: nowrap;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 220px));
  gap: 40px;
  padding-bottom: clamp(48px, 8vh, 90px);
  border-bottom: 1px solid var(--hairline-light);
}

.footer-grid.is-wide {
  grid-template-columns: repeat(4, minmax(0, 200px));
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-label {
  font-size: 9px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 13px;
  opacity: 0.8;
  transition: opacity 0.3s;
  width: fit-content;
}

.footer-col a:hover { opacity: 1; }

.footer-base {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* ==================================================================
   PRODUCT PAGE
   ================================================================== */

/* ---------- top: gallery + buy box ---------- */

.pdp-top {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(24px, 3vw, 40px) var(--gutter) clamp(48px, 7vh, 90px);
  max-width: 1360px;
  margin: 0 auto;
  align-items: start;
}

.pdp-gallery {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  position: sticky;
  top: 92px;
  align-self: start;
}

.pdp-main {
  margin: 0;
  width: 100%;
  max-width: 100%;
  border-radius: 4px;
  overflow: hidden;
  justify-self: center;
}

.pdp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 100%;
}

.pdp-thumb {
  aspect-ratio: 1 / 1;
  width: 100%;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  opacity: 0.55;
  transition: opacity 0.3s, border-color 0.3s;
}

.pdp-thumb .ph { position: absolute; inset: 0; border: none; }
.pdp-thumb .ph-tag { display: none; }

.pdp-thumb.is-active,
.pdp-thumb:hover { opacity: 1; border-color: var(--ink); }

/* ---------- feature slides (slanted white ribbon, full-bleed) ---------- */

.pdp-feature-ribbon {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 12%;
  z-index: 3;
  /* Wide enough that after the slant it still clips flush to both edges */
  width: 160%;
  max-width: none;
  box-sizing: border-box;
  transform: translateX(-50%) rotate(-3.5deg);
  transform-origin: center center;
  background: var(--pure, #fff);
  color: var(--ink, #0b0c0e);
  border: 0.5px solid rgba(11, 12, 14, 0.18);
  padding: clamp(12px, 2vw, 22px) clamp(16px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

body.dev-mode.dev-editing .pdp-feature-ribbon {
  pointer-events: auto;
}

.pdp-feature-ribbon[hidden] { display: none; }

.pdp-feature-kicker {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(11, 12, 14, 0.45);
}

.pdp-feature-title {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--ink, #0b0c0e);
}

/* Caption clashes with the feature band */
.pdp-main.has-feature .ph-tag { opacity: 0; }

/* ---------- centered white mid-text (per slide) ---------- */

.pdp-mid-wrap {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.pdp-mid-wrap[hidden] {
  display: none;
}

.pdp-mid-text {
  --mid-y: 50%;
  --mid-scale: 1;
  position: absolute;
  left: 50%;
  top: var(--mid-y);
  z-index: 3;
  margin: 0;
  max-width: none;
  width: max-content;
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 500;
  font-size: calc(var(--mid-scale) * clamp(22px, 3.4vw, 38px));
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #fff;
  white-space: nowrap;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.35),
    0 8px 28px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.pdp-main.has-mid-text .ph-tag {
  opacity: 0.55;
}

.pdp-main.has-feature .pdp-mid-wrap {
  display: none !important;
}

.pdp-mid-tools {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 58px;
  top: auto;
  z-index: 5;
  transform: translateX(-50%);
  gap: 4px;
  padding: 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  pointer-events: auto;
}

body.dev-mode.dev-editing .pdp-main.has-mid-text .pdp-mid-tools {
  display: flex;
}

.pdp-mid-tools button {
  appearance: none;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: #fff;
  color: #1d4ed8;
  font: 600 11px/1 Inter, system-ui, sans-serif;
  min-width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  padding: 0 6px;
}

.pdp-mid-tools button:hover {
  background: #eff6ff;
}

body.dev-mode.dev-editing .pdp-mid-text {
  pointer-events: auto;
  outline: 1.5px dashed rgba(37, 99, 235, 0.7);
  outline-offset: 8px;
  cursor: text;
}

/* ---------- color finish swatches (main image) ---------- */

.pdp-color-swatches {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
}

.pdp-color-label {
  margin: 0;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(8, 9, 11, 0.55);
  color: rgba(255, 255, 255, 0.92);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pdp-color-row {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.pdp-swatch {
  position: relative;
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.pdp-swatch-dot {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-sizing: border-box;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 8px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pdp-swatch-dot--matte {
  background: #0b0c0e;
}

.pdp-swatch-dot--pearl {
  background:
    radial-gradient(120% 120% at 30% 20%, #ffffff 0%, #f4f1ea 55%, #e4dfd4 100%);
  border-color: rgba(11, 12, 14, 0.28);
}

.pdp-swatch-dot--pearl.has-upload {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.pdp-swatch.is-active .pdp-swatch-dot {
  transform: scale(1.06);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.95),
    0 0 0 4px rgba(11, 12, 14, 0.85),
    0 10px 22px rgba(0, 0, 0, 0.35);
}

.pdp-swatch.is-sold-out .pdp-swatch-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    to top left,
    transparent calc(50% - 0.7px),
    rgba(11, 12, 14, 0.72) calc(50% - 0.7px),
    rgba(11, 12, 14, 0.72) calc(50% + 0.7px),
    transparent calc(50% + 0.7px)
  );
  pointer-events: none;
}

.pdp-swatch.is-sold-out .pdp-swatch-dot {
  position: relative;
  opacity: 0.92;
}

body.dev-mode.dev-editing .pdp-swatch-dot[data-upload] {
  outline: 1.5px dashed rgba(26, 120, 72, 0.9);
  outline-offset: 2px;
}

body.dev-mode.dev-editing .pdp-swatch-dot[data-upload] .upload-hint {
  font-size: 9px;
  padding: 2px 5px;
  letter-spacing: 0;
  white-space: nowrap;
}

.pdp-main.has-feature .pdp-color-swatches {
  opacity: 0;
  pointer-events: none;
}

/* Mini slanted stripe so feature thumbs match the set */
.thumb-feature-stripe {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 20%;
  height: 18%;
  transform: rotate(-4deg);
  background: var(--pure, #fff);
  border: 0.5px solid rgba(11, 12, 14, 0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1;
  pointer-events: none;
}

/* Gallery edit chrome — only visible with Edit on */
.gallery-tools {
  display: none;
  grid-column: 1 / -1;
  gap: 6px;
  margin-bottom: 4px;
}

body.dev-mode.dev-editing .gallery-tools {
  display: flex;
  flex-wrap: wrap;
}

.gallery-tools button {
  appearance: none;
  border: 1px dashed rgba(37, 99, 235, 0.55);
  background: rgba(255, 255, 255, 0.92);
  color: #1d4ed8;
  font: 500 10px/1 Inter, system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.gallery-tools button:hover {
  border-color: #1d4ed8;
  background: #eff6ff;
}

.thumb-tools {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  z-index: 4;
  background: rgba(8, 10, 14, 0.72);
  flex-direction: row;
  align-items: center;
  justify-content: stretch;
  gap: 2px;
  padding: 3px;
}

body.dev-mode.dev-editing .thumb-tools {
  display: flex;
}

.thumb-tool {
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #0b0c0e;
  font: 600 10px/1 Inter, system-ui, sans-serif;
  height: 16px;
  flex: 1;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
}

.thumb-tool:hover {
  background: #fff;
}

body.dev-mode.dev-editing .pdp-thumb {
  opacity: 1;
}

body.dev-mode.dev-editing .pdp-thumb .upload-hint {
  top: 4px;
  bottom: auto;
}

/* Place tools above thumbs column on desktop grid */
.pdp-gallery > .gallery-tools {
  grid-column: 1 / -1;
}

/* ---------- buy box ---------- */

.buybox { position: relative; }

.buybox-inner {
  position: relative;
  top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.buybox .rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}

.stars { color: var(--ink); letter-spacing: 0.2em; font-size: 12px; }

.buybox h1 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  margin-top: -4px;
}

.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.price {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 36px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: lining-nums;
}

.price .price-currency,
.bundle-price .price-currency {
  display: inline-block;
  font-size: 0.52em;
  font-weight: 500;
  letter-spacing: 0;
  vertical-align: top;
  margin-right: 0.06em;
  transform: translateY(0.22em);
}

.price-compare {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: line-through;
}

.save-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 4px;
  background: #b42318;
  color: var(--pure);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-note {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  width: 100%;
}

.buy-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 0 2px;
}

.buy-points li {
  font-size: 13px;
  color: var(--ink);
  padding-left: 26px;
  position: relative;
}

.buy-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--pure);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

.stock-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #8a5a3b;
}

.limited-line {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  position: relative;
  margin: 2px 0 4px;
}

.limited-line::before,
.limited-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 28%;
  height: 1px;
  background: var(--hairline);
}

.limited-line::before { left: 0; }
.limited-line::after { right: 0; }

/* bundles */

.bundles { display: flex; flex-direction: column; gap: 10px; }

.bundle {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(13, 14, 16, 0.14);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.bundle input { position: absolute; opacity: 0; pointer-events: none; }

.bundle:hover { border-color: rgba(13, 14, 16, 0.32); }

.bundle:has(input:checked) {
  border-color: var(--ink);
  background: #f7f6f3;
}

.bundle-radio {
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(13, 14, 16, 0.35);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.bundle:has(input:checked) .bundle-radio {
  border-color: var(--ink);
}

.bundle:has(input:checked) .bundle-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--ink);
}

.bundle-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.bundle-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.bundle-sub { font-size: 12px; color: var(--muted); }

.bundle-perk {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #5c6358;
}

.bundle-price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.bundle-compare {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: #9a9da3;
  text-decoration: line-through;
}

.bundle-price {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: lining-nums;
}

.bundle-badge {
  position: absolute;
  top: -9px;
  right: 14px;
  background: var(--ink);
  color: var(--pure);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
}

.btn-cta {
  width: 100%;
  padding: 18px 20px;
  border: none;
  border-radius: 10px;
  background: var(--ink);
  color: var(--pure);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
  text-align: center;
  display: inline-block;
}

.btn-cta:hover { transform: translateY(-2px); }
.btn-cta[disabled] { opacity: 0.6; cursor: wait; }

.buybox .purchase-error { margin-top: 0; text-align: center; }

/* ---------- trust under CTA ---------- */

.trust-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 2px;
  text-align: center;
}

.urgency {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink);
}

.urgency-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8a5a3b;
  box-shadow: 0 0 0 0 rgba(138, 90, 59, 0.4);
  animation: pulse-dot 1.8s ease-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  70% { box-shadow: 0 0 0 8px rgba(138, 90, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(138, 90, 59, 0); }
}

.guarantee {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.pay-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.pay-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 28px;
  padding: 4px 7px;
  border: 1px solid rgba(13, 14, 16, 0.1);
  border-radius: 5px;
  background: #fafaf8;
}

.pay-logo img {
  display: block;
  width: auto;
  max-width: 48px;
  height: 14px;
  object-fit: contain;
}

/* featured review in buybox */

.featured-review {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2a2d34 0%, #14161a 100%);
  color: var(--white);
  margin-top: 4px;
}

.featured-review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  border: none;
}

.featured-review-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.featured-review-head strong { font-weight: 600; }

.featured-review .verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pure);
  color: var(--ink);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

.featured-review .stars {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--pure);
  letter-spacing: 0.12em;
}

.featured-review p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- infinite loop rails ---------- */

.loop-rail {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.loop-track {
  display: flex;
  width: max-content;
  gap: 14px;
  will-change: transform;
}

.loop-rail.is-paused .loop-track { animation-play-state: paused !important; }

.loop-rail[data-reverse] .loop-track { animation-direction: reverse; }

@keyframes loop-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

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

.quote-strip {
  padding: 28px 0 36px;
  background: var(--paper);
}

.quote-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  width: min(420px, 82vw);
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2a2d34 0%, #14161a 100%);
  color: var(--white);
  flex-shrink: 0;
}

.quote-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  border: none;
}

.quote-avatar::before { background-size: 28px 28px; }

.quote-body { min-width: 0; }

.quote-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.quote-head strong { font-size: 13px; font-weight: 600; }

.verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pure);
  color: var(--ink);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

.quote-card .stars { font-size: 11px; color: var(--pure); letter-spacing: 0.12em; }

.quote-card p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  background: var(--obsidian);
  color: var(--pure);
  padding: 14px 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-block;
  animation: marquee 28s linear infinite;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- generic pdp sections ---------- */

.pdp-section {
  padding: clamp(70px, 11vh, 130px) var(--gutter);
  max-width: 1360px;
  margin: 0 auto;
}

.pdp-section-flush {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.pdp-section-flush .pdp-section-head {
  padding: 0 var(--gutter);
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}

.pdp-section-head {
  text-align: center;
  margin-bottom: clamp(36px, 6vh, 64px);
}

.pdp-section-head h2 { font-size: clamp(30px, 4vw, 56px); }

.pdp-section-head h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
}

.pdp-section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.social-pill {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--paper), var(--paper)) padding-box,
    linear-gradient(90deg, #f58529, #dd2a7b, #8134af, #515bd4) border-box;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--paper-soft);
  font-size: 11px;
  color: var(--muted);
}

.rating-pill .stars { font-size: 11px; color: var(--ink); }

/* See it in action — compact, inside buybox under Maya R */

.buybox-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-top: 4px;
}

.buybox-action-title {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.buybox-action .social-pill {
  margin-top: 0;
  font-size: 10px;
  padding: 6px 12px;
}

.buybox .ugc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  width: 100%;
  margin-top: 4px;
  margin-bottom: 8px;
}

.buybox .ugc-slide {
  margin: 0;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  border: none;
}

.buybox .ugc-slide .ph-tag {
  left: 5px;
  top: 5px;
  bottom: auto;
  font-size: 6px;
  letter-spacing: 0.06em;
}

.buybox .ugc-slide .upload-hint {
  font-size: 8px;
  padding: 4px 6px;
  letter-spacing: 0;
}

.buybox .info-accordion {
  width: 100%;
  max-width: none;
  margin: 4px 0 0;
  border-top: 1px solid var(--hairline);
}

.buybox .info-accordion .faq-item {
  border-top: none;
  border-bottom: 1px solid var(--hairline);
}

.buybox .info-accordion .faq-item summary {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 14px 0;
}

.buybox .info-accordion .faq-item p {
  padding-bottom: 14px;
  font-size: 12px;
}

/* info accordion (legacy full-width) */

.pdp-section-info {
  padding-top: clamp(24px, 4vh, 48px);
  padding-bottom: clamp(24px, 4vh, 48px);
}

.info-accordion {
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid var(--hairline);
}

.info-accordion .faq-item {
  border-top: none;
  border-bottom: 1px solid var(--hairline);
}

.info-accordion .faq-item summary {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  padding: 18px 0;
}

.info-accordion .faq-item p {
  padding-bottom: 18px;
}

/* trust ticker */

.trust-ticker {
  background: var(--obsidian);
  color: var(--pure);
  padding: 16px 0;
}

.trust-ticker .loop-rail {
  mask-image: none;
}

.trust-ticker-track {
  gap: 0;
}

.trust-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 36px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 9px;
  line-height: 1;
}

/* UGC infinite rail — sits above “Tried, tested, kept.” */

.tried > .ugc-rail {
  margin: 0 calc(-1 * var(--gutter)) clamp(28px, 5vh, 48px);
  width: calc(100% + 2 * var(--gutter));
}

/* Desktop already has the 5 static buybox clips — hide this rail */
@media (min-width: 1021px) {
  .tried > .ugc-rail { display: none !important; }
}

.ugc-rail { padding: 0; }

.ugc-slide {
  width: min(200px, 52vw);
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  flex-shrink: 0;
  border: none;
  margin: 0;
}

/* tried — split 1:1 with template: copy left, 3 photos right */

.tried {
  background: var(--paper);
  padding: clamp(56px, 9vh, 100px) var(--gutter);
}

.tried-grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.tried-copy {
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tried-copy h2 {
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 14px;
}

.tried-copy > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 28px;
  max-width: 340px;
}

.tried-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 340px;
  padding: 18px 28px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--pure);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.3s, opacity 0.3s;
}

.tried-cta:hover { transform: translateY(-2px); }

.tried-rating {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.tried-rating .stars {
  font-size: 12px;
  color: var(--ink);
}

.tried-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

.tried-rail {
  min-width: 0;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.tried-rail .loop-track {
  gap: 14px;
}

.tried-photo {
  margin: 0;
  width: clamp(140px, 18vw, 220px);
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  border: none;
  overflow: hidden;
  flex-shrink: 0;
}

.btn-pill {
  display: inline-block;
  padding: 16px 42px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--pure);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 0.3s;
}

.btn-pill:hover { transform: translateY(-2px); }

/* trust bar (legacy) */

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 36px;
  padding: 22px var(--gutter);
  background: var(--obsidian);
  color: var(--white);
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.trust-icon { opacity: 0.7; font-size: 12px; }

/* features (legacy) */

.features-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.features-copy h2 { font-size: clamp(32px, 4vw, 56px); margin-bottom: 30px; }

.feature-list { list-style: none; display: flex; flex-direction: column; }

.feature-list li {
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
}

.feature-list li:last-child { border-bottom: 1px solid var(--hairline); }

.feature-list strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}

.feature-list span { font-size: 12px; color: var(--muted); }

/* story timeline */

.story-line {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 60% at 20% 0%, #1a1d24 0%, transparent 50%),
    linear-gradient(180deg, #12151a 0%, #0e1014 55%, #12151a 100%);
  color: var(--white);
  padding: clamp(90px, 13vh, 160px) var(--gutter);
}

.story-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.2;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.story-line .reveal {
  transition:
    opacity 1.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 1.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.story-kicker {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  margin: 0 auto clamp(56px, 9vh, 100px);
  max-width: 920px;
  line-height: 1.7;
  text-align: left;
}

.story-beats {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0 auto;
  padding: 0 0 8px;
  max-width: 920px;
}

/* left spine */
.story-beats::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 40px;
  left: 7px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0.1) 70%,
    transparent
  );
  pointer-events: none;
}

.story-beat {
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, 200px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  padding: 0 0 clamp(52px, 8vh, 88px) 40px;
}

.story-beat:last-child {
  padding-bottom: 0;
}

/* node on the spine */
.story-beat::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: #12151a;
  transition: background 0.8s ease 0.35s, border-color 0.8s ease 0.35s, box-shadow 0.8s ease 0.35s;
}

.story-beat.is-visible::before {
  background: var(--pure);
  border-color: var(--pure);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.07);
}

.story-year {
  display: block;
  padding-top: 2px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--pure);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.story-copy {
  min-width: 0;
  padding-top: 2px;
}

.story-beat h3 {
  color: var(--pure);
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.18;
  max-width: 18ch;
  margin: 0;
  text-align: left;
}

.story-beat p {
  margin-top: 14px;
  color: var(--muted-light);
  font-size: 14px;
  letter-spacing: 0.01em;
  line-height: 1.55;
  max-width: 42ch;
  text-align: left;
}

.story-beat .story-source {
  margin-top: 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 243, 239, 0.38);
  max-width: none;
}

/* two-bar comparison — time with friends */
.story-chart {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: clamp(28px, 5vw, 44px);
  height: clamp(180px, 28vw, 240px);
  margin: 4px 0 0;
  max-width: 280px;
}

.story-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: clamp(48px, 10vw, 64px);
  height: 100%;
}

.story-bar-track {
  flex: 1 1 auto;
  width: 100%;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.story-bar-fill {
  display: block;
  width: 100%;
  height: 0;
  border-radius: 1px 1px 0 0;
  background: rgba(255, 255, 255, 0.9);
  transition: height 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-bar--now .story-bar-fill {
  background: rgba(255, 255, 255, 0.28);
  transition-delay: 0.18s;
}

.story-beat.is-visible .story-bar-fill {
  height: var(--bar, 100%);
}

.story-bar strong {
  margin-top: 12px;
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 400;
  line-height: 1;
  color: var(--pure);
  font-variant-numeric: tabular-nums;
}

.story-bar-unit {
  margin-top: 4px;
  flex: 0 0 auto;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.story-bar-label {
  margin-top: 10px;
  flex: 0 0 auto;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .story-bar-fill {
    transition: none;
    height: var(--bar, 100%);
  }
}

/* wordmark — same hierarchy as other beats, with a soft snap */
.story-beat .story-mark {
  text-transform: none;
  font-size: clamp(26px, 3.2vw, 42px);
  letter-spacing: 0.12em;
  max-width: none;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  transition: letter-spacing 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s,
    opacity 1s ease 0.2s, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.story-beat .story-tagline {
  white-space: nowrap;
}

.story-beat.is-visible .story-mark {
  letter-spacing: 0.02em;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .story-kicker {
    text-align: center;
    max-width: 28ch;
  }

  .story-beat .story-tagline {
    font-size: 13px;
    letter-spacing: -0.01em;
  }

  /* hide the full-height spine — connectors live only in the gaps */
  .story-beats::before {
    display: none;
  }

  .story-beat {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 0;
    padding-bottom: clamp(56px, 9vh, 80px);
    text-align: center;
    justify-items: center;
  }

  .story-beat::before {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }

  /* line only between beats, never through text */
  .story-beat:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 1px;
    height: clamp(40px, 7vh, 64px);
    transform: translateX(-50%);
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.28)
    );
    pointer-events: none;
  }

  .story-year {
    margin-top: 22px;
    white-space: normal;
    text-align: center;
  }

  .story-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .story-beat h3,
  .story-beat p {
    text-align: center;
  }

  .story-chart {
    justify-content: center;
    height: 200px;
  }

  .story-bar {
    align-items: center;
    width: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-mark {
    transition: none;
    transform: none;
    opacity: 1;
    letter-spacing: 0.02em;
  }
}

/* dark cards — staggered pair */

.pdp-section-dark-cards {
  max-width: 1280px;
}

.dark-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.dark-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #060708;
  color: var(--white);
  border-radius: 18px;
  text-align: center;
  width: 100%;
  max-width: none;
  margin: 0;
}

.dark-card--offset {
  margin-top: clamp(72px, 10vw, 140px);
}

.dark-card--light {
  background: var(--paper);
  color: var(--ink);
}

.dark-card--light::after {
  opacity: 0.12;
  mix-blend-mode: normal;
  z-index: 0;
}

.dark-card--light .dark-card-media {
  background-color: var(--paper);
}

.dark-card--light .dark-card-media.ph::after {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 28%,
    rgba(255, 255, 255, 0.35) 42%,
    rgba(255, 255, 255, 0.72) 55%,
    rgba(255, 255, 255, 0.92) 68%,
    #ffffff 82%,
    #ffffff 100%
  );
}

.dark-card--light .dark-card-copy {
  z-index: 3;
}

.dark-card--light h2,
.dark-card--light .dark-card-copy h2 {
  color: var(--ink);
  text-shadow: none;
}

.dark-card--light p,
.dark-card--light .dark-card-copy p {
  color: var(--ink);
}

.dark-card--light .ph-tag {
  color: rgba(255, 255, 255, 0.55);
}

.dark-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.35;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 2;
}

.dark-card-media {
  position: relative;
  z-index: 0;
  margin: 0;
  aspect-ratio: 1 / 1;
  width: 100%;
  border: none;
  border-radius: 0;
  flex-shrink: 0;
  background-color: #060708;
}

.dark-card-media.ph::before {
  display: none;
}

/* Real black fade — starts halfway down the collage */
.dark-card-media.ph::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 1;
  mix-blend-mode: normal;
  background-image: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 50%,
    rgba(6, 7, 8, 0.45) 62%,
    rgba(6, 7, 8, 0.82) 78%,
    #060708 92%,
    #060708 100%
  );
  pointer-events: none;
}

.dark-card-media[data-upload].has-upload {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
}

.dark-card-media .ph-tag {
  z-index: 2;
  top: 18px;
  bottom: auto;
  opacity: 0.7;
}

.dark-card-copy {
  position: relative;
  z-index: 1;
  margin-top: clamp(-140px, -18vw, -80px);
  padding: 0 clamp(28px, 5vw, 90px) clamp(40px, 6vh, 72px);
}

.dark-card h2 {
  color: var(--pure);
  font-size: clamp(30px, 3.6vw, 46px);
  margin-bottom: 14px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.dark-card p {
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.5;
  max-width: 38ch;
  margin: 0 auto;
}

.dark-card-collage {
  position: relative;
}

.dark-card-collage-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0;
  z-index: 0;
}

.dark-card-collage-grid > .ph {
  margin: 0;
  border: none;
  border-radius: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.dark-card-collage-grid > .ph::before {
  opacity: 0.25;
}

.dark-card-collage-grid > .ph::after {
  opacity: 0.3;
}

.dark-card-collage-grid > .ph.has-upload::before,
.dark-card-collage-grid > .ph.has-upload::after {
  opacity: 0;
}

/* reviews carousel */

.review-rail { padding: 0 0 8px; }

.review-card {
  width: min(320px, 82vw);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  box-shadow: 0 1px 0 rgba(13, 14, 16, 0.03);
}

.review-card .ph {
  aspect-ratio: 1 / 1;
  border: none;
  border-radius: 0;
}

.review-body {
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.review-top {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.review-body .stars {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #d4a017;
  line-height: 1;
  flex-shrink: 0;
  white-space: nowrap;
}

.review-who {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px 8px;
  min-width: 0;
  max-width: 100%;
  padding: 5px 10px 5px 8px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: #fafaf8;
  font-size: 11px;
  line-height: 1.2;
  overflow: hidden;
}

.review-who .flag {
  width: 16px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(13, 14, 16, 0.08);
  flex-shrink: 0;
}

.review-name {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.verified-buyer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.verified-buyer svg {
  width: 12px;
  height: 12px;
  color: #6f7278;
  flex-shrink: 0;
}

.review-quote {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  flex: 1;
}

.review-product {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 10px;
  border-radius: 10px;
  background: var(--paper-soft);
}

.review-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: none;
  display: block;
  flex-shrink: 0;
}

.review-thumb::before { background-size: 18px 18px; }

.review-product-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.review-product-meta strong {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.review-price {
  font-size: 12px;
  color: var(--ink);
}

.review-price b { font-weight: 600; }

.review-price s {
  color: var(--muted);
  font-weight: 400;
  margin-left: 4px;
}

.review-purchased {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  font-size: 10px;
  color: var(--muted);
}

.review-purchased svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* faq */

.faq-card {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 0 22px;
  background: var(--paper);
}

.faq-item { border-top: 1px solid var(--hairline); }

.faq-card .faq-item:first-child { border-top: none; }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--serif);
  font-size: 17px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
  max-width: 560px;
}

/* newsletter */

.newsletter { text-align: center; }

.newsletter-form {
  display: flex;
  max-width: 420px;
  margin: 0 auto;
  border: 1px solid var(--ink);
}

.newsletter-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 18px;
  font-family: var(--sans);
  font-size: 13px;
  background: transparent;
  color: var(--ink);
}

.newsletter-form button {
  border: none;
  background: var(--ink);
  color: var(--pure);
  padding: 0 26px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
}

.newsletter-done {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--muted);
}

/* ---------- dev mode uploads ---------- */

.dev-banner {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px var(--gutter);
  background: #1a3a2a;
  color: #d8f5e4;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.dev-banner[hidden] { display: none !important; }

.dev-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.dev-banner-actions button {
  border: 1px solid rgba(216, 245, 228, 0.35);
  background: transparent;
  color: inherit;
  padding: 6px 12px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.dev-banner-actions button:hover {
  background: rgba(216, 245, 228, 0.12);
}

.dev-banner-actions button.dev-save-all,
.dev-banner-actions button[data-save-all-uploads] {
  background: #d8f5e4;
  color: #1a3a2a;
  border-color: #d8f5e4;
  font-weight: 600;
}

.dev-banner-actions button.dev-save-all:hover,
.dev-banner-actions button[data-save-all-uploads]:hover {
  background: #fff;
  border-color: #fff;
}

.dev-banner-actions button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.dev-show-chip {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  background: #1a3a2a;
  color: #d8f5e4;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.dev-show-chip[hidden] { display: none !important; }

.dev-banner code {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.dev-banner [data-dev-status]:not(:empty)::before {
  content: "· ";
}

body.dev-mode.dev-editing [data-upload] {
  cursor: pointer;
  outline: 2px dashed rgba(26, 120, 72, 0.85);
  outline-offset: -2px;
  position: relative;
}

/* Keep full-bleed home hero absolute — relative collapses it to 0 height */
body.dev-mode.dev-editing .home-hero [data-upload] {
  position: absolute;
}

body.dev-mode.dev-editing [data-edit],
body.dev-mode.dev-editing [data-gallery-caption] {
  cursor: text;
  outline: 2px dashed rgba(37, 99, 235, 0.85);
  outline-offset: 3px;
  border-radius: 2px;
  min-height: 1em;
}

body.dev-mode.dev-editing [data-edit].is-editing,
body.dev-mode.dev-editing [data-edit]:focus,
body.dev-mode.dev-editing [data-gallery-caption].is-editing,
body.dev-mode.dev-editing [data-gallery-caption]:focus {
  outline: 2px solid rgba(37, 99, 235, 1);
  outline-offset: 3px;
  background: rgba(37, 99, 235, 0.08);
}

body.dev-mode.dev-editing .ph-tag {
  z-index: 6;
  pointer-events: auto;
  color: rgba(255, 255, 255, 0.85);
}

body.dev-mode.dev-editing .upload-hint {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

body.dev-mode.dev-editing .quote-avatar .upload-hint,
body.dev-mode.dev-editing .featured-review-avatar .upload-hint,
body.dev-mode.dev-editing .review-thumb .upload-hint,
body.dev-mode.dev-editing .pdp-thumb .upload-hint {
  padding: 4px 8px;
  letter-spacing: 0;
  font-size: 11px;
  pointer-events: auto;
  cursor: pointer;
}

body.dev-mode:not(.dev-editing) .dev-banner {
  display: none !important;
}

body.dev-mode:not(.dev-editing) .upload-hint {
  display: none !important;
}

.dev-edit-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 100;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  background: #1a3a2a;
  color: #d8f5e4;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.dev-edit-toggle[aria-pressed="false"] {
  background: #111;
  color: #f4f3ef;
}

.dev-edit-toggle[hidden] { display: none !important; }

body.dev-mode.dev-editing .dev-banner {
  /* leave room so toggle doesn't cover banner actions on small screens */
  padding-right: 120px;
}

[data-upload].has-upload {
  background-size: cover !important;
  background-position: center !important;
}

[data-upload].has-upload::before {
  opacity: 0;
}

.pdp-thumb.has-upload .ph {
  background-size: cover !important;
  background-position: center !important;
}

.pdp-thumb.has-upload .ph::before,
.pdp-thumb.has-upload .ph::after {
  opacity: 0;
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .home-page .home-scroll { animation: none; }
  .marquee-track { animation: none; }
  .announce-track { animation: none; }
  .loop-track { animation: none !important; }
}

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

@media (max-width: 1020px) {
  .pdp-top {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    justify-items: stretch;
  }
  .pdp-gallery {
    position: static;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-items: center;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .buybox,
  .buybox-inner {
    position: static;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .tried-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .tried-copy {
    max-width: none;
    width: 100%;
    padding: 0 4px;
  }
  /* Lifestyle photo rail is desktop-only — avoids off-center overflow on tablets */
  .tried-rail { display: none !important; }

  /* Mobile spacing for clips above Description */
  .buybox .ugc-grid {
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .pdp-gallery > .gallery-tools {
    order: 0;
    justify-content: center;
    width: 100%;
  }
  .pdp-main {
    order: 1;
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .pdp-thumbs {
    order: 2;
    flex-direction: row;
    justify-content: flex-start;
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding: 2px 0 4px;
  }
  .pdp-thumbs::-webkit-scrollbar { display: none; }
  .pdp-thumb {
    width: 64px;
    flex: 0 0 64px;
  }

  .pdp-feature-ribbon {
    width: 150%;
    bottom: 12%;
    transform: translateX(-50%) rotate(-2.5deg);
    padding: 12px 12%;
  }

  .dark-cards {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    gap: clamp(28px, 5vw, 40px);
  }
  .dark-card {
    border-radius: 14px;
    width: 100%;
    max-width: 100%;
  }
  .dark-card--offset {
    margin-top: 0;
  }
  .dark-card-copy {
    margin-top: clamp(-96px, -22vw, -56px);
    padding: 0 clamp(16px, 5vw, 28px) clamp(28px, 5vh, 48px);
  }
  .dark-card h2 {
    font-size: clamp(26px, 7vw, 40px);
  }
  .dark-card p {
    font-size: 13px;
    max-width: 34ch;
  }
  .pdp-section-dark-cards {
    max-width: 640px;
  }

  .pdp-section,
  .pdp-section-flush .pdp-section-head {
    max-width: 640px;
  }

  /* Home landing — tablet */
  .home-page .home-carry-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-page .home-carry-shot:nth-child(2),
  .home-page .home-carry-shot:nth-child(4) {
    margin-top: 0;
  }
  .home-page .home-language {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .home-page .home-language-media {
    min-height: 52vh;
    aspect-ratio: 4 / 5;
    height: auto;
  }
  .home-page .home-object-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-page .home-object-item:nth-child(2) { border-right: none; }
  .home-page .home-object-item:nth-child(n + 3) {
    border-top: 1px solid var(--hairline-light);
  }
  .home-page .home-object-wide {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 900px) {
  .features-inner { grid-template-columns: 1fr; }
  .trust-bar { gap: 14px 24px; }
  .footer-grid,
  .footer-grid.is-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .site-nav { display: none; }
  .pdp-top {
    padding-left: max(16px, var(--gutter));
    padding-right: max(16px, var(--gutter));
  }
  .pdp-section {
    padding-left: max(16px, var(--gutter));
    padding-right: max(16px, var(--gutter));
  }
  .home-page .home-hero-copy {
    padding-bottom: clamp(28px, 6vh, 48px);
  }
  .home-page .home-scroll { display: none; }
  .home-page .home-hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .home-page .home-object-wide {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 560px) {
  .locale-select { display: none; }
  .footer-grid,
  .footer-grid.is-wide { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; gap: 10px; }
  .utility-form { grid-template-columns: 1fr; }
  .dev-banner { flex-direction: column; text-align: center; }
  .tried-cta { text-transform: none; letter-spacing: 0.02em; }
  .limited-line::before,
  .limited-line::after { width: 18%; }
  .pdp-header nav { display: none; }
  .buybox .rating { justify-content: flex-start; }
  .pdp-feature-ribbon {
    width: 150%;
    bottom: 8%;
    transform: translateX(-50%) rotate(-2.5deg);
    padding: 11px 10%;
  }
  .pdp-color-swatches {
    right: 10px;
    bottom: 10px;
    gap: 6px;
  }
  .pdp-swatch-dot {
    width: 24px;
    height: 24px;
  }
  .pdp-mid-text {
    font-size: calc(var(--mid-scale, 1) * clamp(18px, 5.5vw, 28px));
    white-space: nowrap;
  }
  .pdp-feature-kicker {
    font-size: 8px;
    letter-spacing: 0.24em;
  }
  .pdp-thumb { width: 56px; flex-basis: 56px; }

  .home-page .home-section-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .home-page .home-object-grid {
    grid-template-columns: 1fr;
  }
  .home-page .home-object-item {
    border-right: none;
    padding-left: 0;
  }
  .home-page .home-object-item + .home-object-item {
    padding-left: 0;
    border-top: 1px solid var(--hairline-light);
  }
  .home-page .home-carry-strip {
    gap: 8px;
  }
  .home-page .btn-dark {
    padding: 18px 28px;
    letter-spacing: 0.16em;
    font-size: 11px;
    text-align: center;
  }
}

/* ---------- utility / policy pages ---------- */

.utility-page main {
  min-height: 55vh;
}

.utility-hero {
  padding: clamp(56px, 10vh, 110px) var(--gutter) clamp(28px, 4vh, 48px);
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.utility-kicker {
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.utility-hero h1 {
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.utility-hero .lede {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.utility-panel {
  padding: 0 var(--gutter) clamp(70px, 12vh, 140px);
  max-width: 820px;
  margin: 0 auto;
}

.policy-prose {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.policy-prose h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  margin-bottom: 10px;
}

.policy-prose p,
.policy-prose li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  font-weight: 300;
}

.policy-prose ul {
  padding-left: 1.15em;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.policy-prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-meta {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.utility-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
  margin-top: 8px;
}

.utility-form .full {
  grid-column: 1 / -1;
}

.utility-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.utility-field label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.utility-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--muted);
  cursor: pointer;
  width: fit-content;
}

.utility-check input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--ink);
  cursor: pointer;
}

.utility-check span {
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.utility-check:hover span {
  color: var(--ink);
  border-bottom-color: var(--hairline);
}

.utility-field input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: var(--paper-soft);
}

.utility-field input,
.utility-field textarea,
.utility-field select {
  width: 100%;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.25s;
}

.utility-field input:focus,
.utility-field textarea:focus,
.utility-field select:focus {
  border-color: var(--ink);
}

.utility-field textarea {
  min-height: 140px;
  resize: vertical;
}

.utility-form .btn-cta {
  width: auto;
  justify-self: start;
  min-width: 180px;
  border-radius: 8px;
}

.utility-note,
.utility-success {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.utility-success {
  color: var(--ink);
  padding: 16px 18px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--paper-soft);
}

.utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  justify-content: center;
}

.utility-links a {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}

.utility-links a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.policy-card-list {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.policy-card {
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 22px 24px;
  background: var(--paper);
}

.policy-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
}

.policy-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 300;
}
