/* Halden Bottle Co. — sample site by Even Ground Studio */

@font-face {
  font-family: 'Fraunces Variable';
  src: url('fonts/fraunces-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans Variable';
  src: url('fonts/public-sans-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono Variable';
  src: url('fonts/jetbrains-mono-variable.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #12161a;
  --ink-2: #1b2126;
  --bone: #eef0ec;
  --paper: #f5f6f4;
  --paper-2: #e8eae6;
  --steel: #5c656d;
  --steel-soft: #5c656d;
  --line: rgba(18, 22, 26, 0.14);
  --line-on-dark: rgba(243, 239, 230, 0.16);
  --alpine: #3a5a6b;
  --clay: #9a4a2a;
  --clay-on-dark: #c96b3f;
  --radius-sm: 3px;
  --radius-md: 8px;
  --font-display: 'Fraunces Variable', 'Iowan Old Style', serif;
  --font-body: 'Public Sans Variable', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono Variable', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--bone); padding: 10px 16px;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ===================== NAV ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(18, 22, 26, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-on-dark);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 20px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
  color: var(--bone);
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--bone); opacity: 0.82; font-size: 0.92rem;
  padding: 10px 2px; transition: opacity 0.2s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.cart-btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; color: var(--bone); border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease);
}
.cart-btn:hover { background: rgba(243, 239, 230, 0.1); }
.cart-count {
  position: absolute; top: 6px; right: 5px;
  min-width: 15px; height: 15px; padding: 0 3px;
  background: var(--clay); color: var(--bone);
  font-family: var(--font-mono); font-size: 0.72rem; line-height: 15px; text-align: center;
  border-radius: 50px;
}
@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ===================== HERO ===================== */
.hero {
  background: var(--ink);
  color: var(--bone);
  position: relative;
  overflow: hidden;
}
.hero-pin {
  height: 100vh;
  padding-top: 76px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.hero-top {
  flex: 1 1 auto;
  min-height: 0;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero-copy {
  flex: 0 0 auto;
  width: min(360px, 36%);
}
.hero-heading {
  font-family: var(--font-display);
  font-weight: 460;
  font-variation-settings: 'opsz' 70;
  font-size: clamp(1.7rem, 3.1vw, 2.5rem);
  line-height: 1.14;
  color: var(--bone);
}
.hero-sub {
  margin-top: 16px;
  max-width: 38ch;
  color: var(--steel-soft);
  font-size: 0.98rem;
}
.hero-visual {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero-stage {
  position: relative;
  height: min(100%, 560px);
  aspect-ratio: 3 / 4;
  max-width: 100%;
}
.hero-poster {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--steel);
  opacity: 1;
  transition: opacity 0.5s var(--ease);
  background: radial-gradient(60% 55% at 50% 48%, rgba(243,239,230,0.07), transparent 70%);
}
.hero-poster.is-hidden { opacity: 0; }
.poster-glyph { width: 110px; height: auto; opacity: 0.5; }
#bottle-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  touch-action: pan-y;
}
#bottle-canvas.is-ready { opacity: 1; }

.callouts {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.callout {
  position: absolute;
  left: var(--cx);
  top: var(--cy);
  max-width: 220px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.08s linear;
  pointer-events: none;
}
.callout-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--clay-on-dark);
  padding-bottom: 6px;
}
.callout p {
  font-size: 0.86rem;
  line-height: 1.42;
  color: var(--steel-soft);
}
.callout.is-active p { color: var(--bone); }

.hero-controls {
  flex: 0 0 auto;
  max-width: 1280px; margin: 0 auto; width: 100%;
  padding: 0 32px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: flex-end;
  justify-content: center;
  border-top: 1px solid var(--line-on-dark);
  padding-top: 16px;
}
.control-group { display: flex; flex-direction: column; gap: 10px; }
.control-label {
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--steel-soft);
}
.control-label strong { color: var(--bone); font-weight: 600; margin-left: 4px; }
.swatches { display: flex; gap: 10px; }
.swatch {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--sw);
  border: 2px solid rgba(243,239,230,0.25);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease);
}
.swatch:hover { transform: translateY(-2px); }
.swatch[aria-pressed="true"] { border-color: var(--bone); transform: scale(1.08); }
.sizes { display: flex; gap: 8px; }
.size-btn {
  min-width: 44px; height: 44px; padding: 0 14px;
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-sm);
  color: var(--steel-soft);
  font-size: 0.9rem;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background 0.18s var(--ease);
}
.size-btn:hover { border-color: var(--bone); color: var(--bone); }
.size-btn.is-active {
  background: var(--bone); color: var(--ink); border-color: var(--bone); font-weight: 600;
}
.buy-group { flex-direction: row; align-items: center; gap: 18px; }
.price {
  font-family: var(--font-mono); font-size: 1.3rem; color: var(--bone);
  min-width: 3.4ch;
}
.btn {
  height: 46px; padding: 0 24px; border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 600; letter-spacing: 0.01em;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.16s var(--ease), background 0.16s var(--ease), color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.btn-primary { background: var(--clay); color: var(--bone); }
.btn-primary:hover { transform: translateY(-1px); background: #8a4126; }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  border: 1px solid var(--line); color: var(--ink); height: 40px; padding: 0 16px; font-size: 0.85rem;
}
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bone); }

.scroll-cue {
  flex: 0 0 auto;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  padding-bottom: 14px;
}

/* Below this width the hero stops pinning (see js/bottle.js, isSmall):
   the bottle gets its own static block, stacked above a plain callout
   list, instead of floating text over the canvas. */
@media (max-width: 760px) {
  .hero-pin { height: auto; padding-top: 76px; padding-bottom: 8px; }
  .hero-top { flex-direction: column; align-items: stretch; padding: 0 20px; gap: 6px; }
  .hero-copy { width: 100%; }
  .hero-visual {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
  }
  .hero-stage {
    height: auto;
    width: min(76vw, 300px);
    aspect-ratio: 3 / 4;
    margin: 14px auto 6px;
  }
  .callouts {
    position: static;
    pointer-events: auto;
    display: block;
  }
  .callout {
    position: static !important;
    left: auto !important; top: auto !important;
    max-width: none;
    opacity: 1 !important;
    transform: none !important;
    transition: none;
    pointer-events: auto;
    padding: 12px 0;
    border-top: 1px solid var(--line-on-dark);
  }
  .callout:first-of-type { border-top: none; }
  .hero-controls { justify-content: flex-start; padding-top: 18px; }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-pin { height: auto; }
  .hero-top { flex-direction: column; align-items: stretch; }
  .hero-copy { width: 100%; }
  .hero-visual {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
  }
  .hero-stage { height: auto; width: min(70vw, 360px); aspect-ratio: 3 / 4; margin: 14px auto; }
  .callouts { position: static; pointer-events: auto; }
  .callout {
    position: static !important; left: auto !important; top: auto !important;
    max-width: none; opacity: 1 !important; transform: none !important;
    pointer-events: auto;
    padding: 10px 0; border-top: 1px solid var(--line-on-dark);
  }
}

/* ===================== SHARED SECTION TYPE ===================== */
section { padding: 96px 0; }
.section-heading {
  font-family: var(--font-display);
  font-weight: 480;
  font-variation-settings: 'opsz' 48;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.18;
  max-width: 20ch;
}
.section-lede {
  margin-top: 14px;
  max-width: 54ch;
  color: var(--steel);
  font-size: 1rem;
}

/* ===================== RANGE ===================== */
.range { background: var(--paper); }
.range-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.product-card {
  background: var(--paper);
  padding: 26px 22px 24px;
  display: flex;
  flex-direction: column;
}
.product-art {
  aspect-ratio: 6 / 9;
  margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
}
.product-art svg { width: 62%; height: auto; }
.product-card h3 {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.15rem;
}
.product-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--steel);
  margin-top: 6px;
}
.product-desc {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--ink);
  opacity: 0.82;
  flex: 1;
}
.product-foot {
  margin-top: 18px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.product-price { font-family: var(--font-mono); font-size: 0.95rem; }

@media (max-width: 980px) {
  .range-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .range-grid { grid-template-columns: 1fr; }
}

/* ===================== SPECS ===================== */
.specs { background: var(--ink); color: var(--bone); }
.specs .section-heading { color: var(--bone); max-width: 16ch; }
.specs-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}
.diagram { margin-top: 32px; }
.diagram svg { width: 100%; height: auto; max-width: 420px; }
.diagram .leader { stroke: var(--steel-soft); stroke-width: 1; }
.diagram .label { fill: var(--steel-soft); font-size: 11px; font-family: var(--font-mono); }
.diagram .label-left { text-anchor: end; }

.specs-subhead {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel-soft);
  margin: 30px 0 14px;
}
.specs-table-wrap .specs-subhead:first-child { margin-top: 0; }
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.specs-table th, .specs-table td {
  text-align: left;
  padding: 10px 10px 10px 0;
  border-bottom: 1px solid var(--line-on-dark);
}
.specs-table thead th { color: var(--steel-soft); font-weight: 500; font-size: 0.78rem; }
.specs-table td, .specs-table th[scope="row"] { font-family: var(--font-mono); }

.spec-list { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; font-size: 0.9rem; color: var(--steel-soft); }
.spec-list strong { color: var(--bone); }
.in-box { margin-top: 8px; color: var(--steel-soft); font-size: 0.92rem; max-width: 42ch; }

@media (max-width: 860px) {
  .specs-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ===================== HOW IT'S MADE ===================== */
.made { background: var(--paper-2); }
.made-copy {
  margin-top: 22px;
  max-width: 66ch;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink);
}
.process-strip {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.process-strip::before {
  content: "";
  position: absolute;
  top: 6px; left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.process-step { position: relative; padding-top: 24px; }
.process-step::before {
  content: "";
  position: absolute;
  top: 2px; left: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--clay);
}
.process-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.02rem;
  margin-bottom: 8px;
}
.process-step p { font-size: 0.85rem; color: var(--steel); line-height: 1.45; }

@media (max-width: 860px) {
  .process-strip { grid-template-columns: 1fr 1fr; }
  .process-strip::before { display: none; }
}
@media (max-width: 480px) {
  .process-strip { grid-template-columns: 1fr; }
}

/* ===================== SHIPPING ===================== */
.shipping { background: var(--paper); }
.shipping-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.shipping-card h3 {
  font-family: var(--font-display);
  font-weight: 540;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.shipping-card p { color: var(--steel); font-size: 0.95rem; }
@media (max-width: 860px) {
  .shipping-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ===================== FOOTER ===================== */
.site-footer { background: var(--ink); color: var(--bone); padding-top: 72px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.3fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer-brand .wordmark { color: var(--bone); font-size: 1.2rem; margin-bottom: 10px; }
.footer-brand p { color: var(--steel-soft); font-size: 0.9rem; max-width: 26ch; }
.footer-col h4, .footer-signup h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel-soft);
  margin-bottom: 14px;
  font-weight: 500;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--bone); opacity: 0.85; font-size: 0.92rem; }
.footer-col a:hover { opacity: 1; }
.signup-row { display: flex; gap: 8px; }
#newsletter-email {
  flex: 1; height: 44px; padding: 0 12px;
  background: rgba(243,239,230,0.07);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-sm);
  color: var(--bone);
  font-size: 0.9rem;
}
#newsletter-email::placeholder { color: var(--steel-soft); }
.signup-note { margin-top: 10px; font-size: 0.82rem; color: var(--steel-soft); min-height: 1.2em; }
.footer-legal {
  padding: 20px 24px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 0.82rem; color: var(--steel-soft);
}
.footer-legal a { text-decoration: underline; text-decoration-color: var(--line-on-dark); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===================== SAMPLE PILL ===================== */
.sample-pill {
  position: fixed;
  left: 14px; bottom: 14px;
  z-index: 150;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  padding: 10px 14px;
  border-radius: 50px;
  border: 1px solid var(--line-on-dark);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.sample-pill:hover { background: var(--ink-2); }

/* ===================== CART DRAWER ===================== */
.cart-overlay {
  position: fixed; inset: 0; z-index: 180;
  background: rgba(18,22,26,0.5);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.cart-overlay.is-open { opacity: 1; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  z-index: 190;
  width: min(400px, 100vw);
  background: var(--paper);
  color: var(--ink);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s var(--ease);
  box-shadow: -10px 0 40px rgba(0,0,0,0.2);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--line);
}
.cart-head h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 560; }
.cart-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); }
.cart-close:hover { background: var(--paper-2); }

.free-ship { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.free-ship-bar { height: 5px; background: var(--paper-2); border-radius: 50px; overflow: hidden; }
.free-ship-fill { height: 100%; width: 0%; background: var(--clay); transition: width 0.4s var(--ease); }
#free-ship-note { margin-top: 8px; font-size: 0.82rem; color: var(--steel); }

.cart-items { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart-empty { padding: 40px 0; text-align: center; color: var(--steel); font-size: 0.92rem; }
.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-item-swatch {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: var(--item-hex, var(--steel-soft));
  display: flex; align-items: center; justify-content: center;
}
.cart-item-swatch svg { width: 60%; opacity: 0.9; }
.cart-item-name { font-weight: 600; font-size: 0.92rem; }
.cart-item-meta { font-size: 0.78rem; color: var(--steel); margin-top: 3px; font-family: var(--font-mono); }
.cart-item-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-item-price { font-family: var(--font-mono); font-size: 0.9rem; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.qty-stepper button { width: 28px; height: 28px; font-size: 0.95rem; }
.qty-stepper button:hover { background: var(--paper-2); }
.qty-stepper span { min-width: 22px; text-align: center; font-family: var(--font-mono); font-size: 0.82rem; }
.cart-item-remove { font-size: 0.74rem; color: var(--steel); text-decoration: underline; margin-top: 2px; }
.cart-item-remove:hover { color: var(--ink); }

.cart-foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 1rem; margin-bottom: 14px; }
.cart-subtotal span:last-child { font-family: var(--font-mono); font-weight: 600; }
.btn-checkout { width: 100%; }
.cart-note { margin-top: 10px; font-size: 0.76rem; color: var(--steel); text-align: center; }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}

/* contrast pass (Even Ground, 11-02): muted text on the dark hero */
.hero { --steel: #949ca4; }

/* ===================== PRODUCT DETAIL PAGE (product.html) ===================== */
.pdp-hero { background: var(--ink); color: var(--bone); padding-top: 112px; }
.pdp-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; padding-bottom: 72px;
}
.pdp-crumb {
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--steel-soft);
  margin-bottom: 18px;
}
.pdp-crumb a { text-decoration: underline; text-decoration-color: var(--line-on-dark); }
.pdp-title {
  font-family: var(--font-display); font-weight: 480;
  font-variation-settings: 'opsz' 70;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.05; color: var(--bone);
}
.pdp-sub { margin-top: 16px; max-width: 46ch; color: var(--steel-soft); font-size: 1.02rem; line-height: 1.5; }
.pdp-controls { margin-top: 34px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.pdp-buy { flex-direction: row; align-items: center; gap: 18px; }
.pdp-trust {
  margin-top: 30px; display: flex; flex-direction: column; gap: 10px;
  font-size: 0.86rem; color: var(--steel-soft);
  border-top: 1px solid var(--line-on-dark); padding-top: 20px;
}
.pdp-trust li { padding-left: 16px; position: relative; }
.pdp-trust li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--clay);
}

.pdp-visual { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pdp-visual .hero-stage { position: relative; height: auto; width: min(100%, 360px); aspect-ratio: 3 / 4; margin: 0 auto; }
.pdp-visual-note { font-size: 0.8rem; color: var(--steel-soft); text-align: center; max-width: 36ch; }

@media (max-width: 860px) {
  .pdp-hero-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 48px; }
  .pdp-visual { order: -1; }
  .pdp-hero { padding-top: 92px; }
}

/* specs */
.pdp-specs { background: var(--paper); }
.pdp-specs-table-wrap { margin-top: 40px; overflow-x: auto; }
.pdp-table { min-width: 640px; }
.pdp-specs-foot { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.pdp-box h3 { font-family: var(--font-display); font-weight: 540; font-size: 1.05rem; margin-bottom: 10px; }
.pdp-box p { color: var(--steel); font-size: 0.92rem; max-width: 42ch; }
@media (max-width: 760px) { .pdp-specs-foot { grid-template-columns: 1fr; gap: 24px; } }

/* care */
.pdp-care { background: var(--paper-2); }
.pdp-care-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.pdp-care-list { display: flex; flex-direction: column; gap: 16px; }
.pdp-care-list li { font-size: 0.94rem; color: var(--ink); line-height: 1.5; border-top: 1px solid var(--line); padding-top: 14px; }
.pdp-care-list li:first-child { border-top: 0; padding-top: 0; }
.pdp-care-list strong { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.02em; }
@media (max-width: 760px) { .pdp-care-grid { grid-template-columns: 1fr; gap: 24px; } }

/* comparison */
.pdp-compare { background: var(--paper); }
.compare-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.compare-card { border: 1px solid var(--line); padding: 26px 24px; display: flex; flex-direction: column; gap: 4px; background: var(--paper); }
.compare-card.is-current { border-color: var(--clay); background: var(--paper-2); }
.compare-flag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; }
.compare-card h3 { font-family: var(--font-display); font-weight: 560; font-size: 1.15rem; }
.compare-meta { font-family: var(--font-mono); font-size: 0.76rem; color: var(--steel); margin-top: 6px; }
.compare-specs { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.compare-specs dt { font-family: var(--font-mono); font-size: 0.74rem; color: var(--steel); }
.compare-specs dd { margin: 2px 0 0; font-size: 0.92rem; color: var(--ink); }
.compare-card .btn { margin-top: 18px; align-self: flex-start; }
@media (max-width: 900px) { .compare-grid { grid-template-columns: 1fr; } }

/* reviews */
.pdp-reviews { background: var(--paper-2); }
.reviews-summary {
  margin-top: 40px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center;
  padding-bottom: 36px; border-bottom: 1px solid var(--line);
}
.reviews-score { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.reviews-score-num { font-family: var(--font-display); font-weight: 560; font-size: 2.6rem; color: var(--ink); line-height: 1; }
.reviews-count { font-family: var(--font-mono); font-size: 0.8rem; color: var(--steel); }
.reviews-breakdown { max-width: 320px; width: 100%; height: auto; }
.reviews-list { margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.review-card { background: var(--paper-2); padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.review-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 0.92rem; }
.review-head span { font-family: var(--font-mono); font-size: 0.78rem; color: var(--steel); }
.review-card p { font-size: 0.92rem; color: var(--ink); opacity: 0.86; line-height: 1.5; }
@media (max-width: 760px) {
  .reviews-list { grid-template-columns: 1fr; }
  .reviews-summary { gap: 28px; }
}

/* detector pass 11-02: readable grey on the product page's light sections */
.hero, .pdp-hero, .specs, .site-footer { --steel-soft: #c7ccd1; }
