/* ============================================================
   BRIO VENT — DESIGN SYSTEM
   Off-white refined editorial · medical-grade precision
   ============================================================ */

:root {
  /* Palette */
  --bg: #F7F4ED;
  --bg-soft: #F1ECE0;
  --bg-card: #FFFFFF;
  --ink: #1A1F22;
  --ink-soft: #4A5358;
  --ink-mute: #7A8186;
  --line: #E3DCC9;
  --line-soft: #EBE5D4;
  --teal: #0F4C5C;
  --teal-deep: #0A3744;
  --teal-soft: #E2ECEE;
  --copper: #C97B3A;
  --copper-soft: #F4E4D2;
  --green: #4A6B3A;
  --red: #B23A48;

  /* Typography */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* Sizing */
  --container: 1240px;
  --container-narrow: 920px;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(15,76,92,.06);
  --shadow-md: 0 4px 16px rgba(15,76,92,.08);
  --shadow-lg: 0 16px 48px rgba(15,76,92,.10);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 180ms;
  --t-med: 320ms;
  --t-slow: 600ms;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 20% 0%, rgba(15,76,92,.025) 0%, transparent 40%),
    radial-gradient(circle at 80% 100%, rgba(201,123,58,.025) 0%, transparent 40%);
  background-attachment: fixed;
}

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

::selection { background: var(--teal); color: var(--bg); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.1;
  font-variation-settings: "opsz" 96;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.75rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.875rem); }
h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); letter-spacing: -0.01em; }
h4 { font-size: 1.125rem; font-family: var(--font-body); font-weight: 600; letter-spacing: -0.005em; }
h5 { font-size: 0.875rem; font-family: var(--font-mono); font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); }

h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--teal);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

p { color: var(--ink-soft); }

.lead { font-size: 1.25rem; line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }

a { color: var(--teal); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--copper); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-soft);
}
.eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--copper);
}

code, .mono { font-family: var(--font-mono); font-size: 0.92em; }

/* ============================================================
   LAYOUT
   ============================================================ */

.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 2rem; }

section { padding: 6rem 0; position: relative; }
section.compact { padding: 4rem 0; }
section.tight { padding: 3rem 0; }

.section-head { max-width: 720px; margin-bottom: 4rem; }
.section-head h2 { margin-top: 1rem; }
.section-head p { margin-top: 1.25rem; font-size: 1.125rem; }

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } section { padding: 4rem 0; } .container { padding: 0 1.25rem; } }

/* ============================================================
   HEADER & NAV
   ============================================================ */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,244,237,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}

.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 0;
  gap: 2rem;
}

.brand-mark {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 500;
  color: var(--ink); letter-spacing: -0.01em;
  font-variation-settings: "opsz" 48;
}
.brand-mark__icon {
  width: 36px; height: 36px;
  background: var(--teal); color: var(--bg);
  border-radius: var(--radius);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 500; font-size: 1.05rem;
  font-style: italic;
  font-variation-settings: "opsz" 12;
  position: relative;
  box-shadow: 0 1px 0 var(--teal-deep) inset, 0 4px 12px rgba(15,76,92,.2);
}
.brand-mark__icon::after {
  content: ''; position: absolute; inset: auto 4px 4px auto;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--copper);
}
.brand-mark__tag {
  font-family: var(--font-mono); font-size: .65rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--ink-mute);
  border-left: 1px solid var(--line);
  padding-left: .65rem; margin-left: .25rem;
}
@media (max-width: 768px) { .brand-mark__tag { display: none; } }

.primary-nav {
  display: flex; gap: 2rem;
}
.primary-nav a {
  color: var(--ink-soft); font-size: .95rem; font-weight: 500;
  position: relative; padding: .25rem 0;
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--copper);
  transition: width var(--t-fast) var(--ease);
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a:hover::after { width: 100%; }

.header-cta { display: flex; gap: .75rem; align-items: center; }

.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer; padding: .5rem;
  flex-direction: column; gap: 5px;
}
.menu-toggle span { width: 22px; height: 1.5px; background: var(--ink); display: block; transition: var(--t-fast); }

@media (max-width: 1024px) {
  .primary-nav {
    position: fixed; inset: 64px 0 auto 0;
    background: var(--bg);
    flex-direction: column; gap: 0;
    padding: 1rem 2rem 2rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-100%); opacity: 0; pointer-events: none;
    transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
  }
  .primary-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .primary-nav a { padding: 1rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1.1rem; }
  .menu-toggle { display: flex; }
  .header-cta .btn { padding: .6rem 1rem; font-size: .85rem; }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.4rem;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  border-radius: var(--radius);
  cursor: pointer; border: 1px solid transparent;
  transition: all var(--t-fast) var(--ease);
  text-decoration: none; line-height: 1;
}

.btn-primary { background: var(--teal); color: var(--bg); }
.btn-primary:hover { background: var(--teal-deep); color: var(--bg); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.btn-ghost { background: transparent; color: var(--teal); padding: .5rem 0; }
.btn-ghost:hover { color: var(--copper); }
.btn-ghost::after { content: '→'; transition: transform var(--t-fast) var(--ease); }
.btn-ghost:hover::after { transform: translateX(4px); }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding: 7rem 0 8rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; right: -10%;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse at right, rgba(15,76,92,.06), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 4rem; align-items: center;
  position: relative;
}
@media (max-width: 1024px) { .hero-grid { grid-template-columns: 1fr; gap: 3rem; } .hero { padding: 4rem 0 5rem; } }

.hero h1 { margin-top: 1.5rem; margin-bottom: 1.75rem; }
.hero .lead { margin-bottom: 2.5rem; font-size: 1.3rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-card::before {
  content: ''; position: absolute; top: -1px; left: 24px; right: 24px; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--copper));
  border-radius: 2px;
}
.hero-card h5 { margin-bottom: 1.25rem; }
.hero-stat { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
.hero-stat:last-child { border-bottom: none; }
.hero-stat__label { font-size: .9rem; color: var(--ink-soft); }
.hero-stat__value { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); font-variation-settings: "opsz" 48; }
.hero-stat__value em { color: var(--teal); font-style: italic; }

/* ============================================================
   TRUST BAR (certifications)
   ============================================================ */

.trust-bar {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-soft);
}
.trust-bar__grid {
  display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: center;
}
@media (max-width: 768px) { .trust-bar__grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.trust-bar__label { font-family: var(--font-mono); font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .15em; color: var(--ink-soft); }
.trust-bar__items { display: flex; gap: 2.5rem; flex-wrap: wrap; align-items: center; }
.trust-bar__item {
  font-family: var(--font-display); font-size: 1.05rem; color: var(--ink);
  font-variation-settings: "opsz" 24; letter-spacing: -.005em;
  display: flex; align-items: center; gap: .5rem;
}
.trust-bar__item::before { content: '◆'; color: var(--copper); font-size: .7rem; }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex; flex-direction: column;
  transition: all var(--t-med) var(--ease);
  text-decoration: none; color: inherit;
  position: relative; overflow: hidden;
  min-height: 320px;
}
.product-card::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal); color: inherit; }
.product-card:hover::after { transform: scaleX(1); }

.product-card__num { font-family: var(--font-mono); font-size: .75rem; color: var(--copper); font-weight: 500; letter-spacing: .1em; margin-bottom: 1.5rem; }
.product-card__title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: .75rem; letter-spacing: -.01em; }
.product-card__desc { color: var(--ink-soft); font-size: .95rem; flex-grow: 1; margin-bottom: 1.25rem; }
.product-card__cta { font-size: .875rem; color: var(--teal); font-weight: 600; display: flex; align-items: center; gap: .35rem; }
.product-card__cta::after { content: '→'; transition: transform var(--t-fast) var(--ease); }
.product-card:hover .product-card__cta::after { transform: translateX(4px); }

/* ============================================================
   STAT BAND
   ============================================================ */

.stat-band { background: var(--teal); color: var(--bg); padding: 4rem 0; }
.stat-band .stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 768px) { .stat-band .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-item__value { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); font-variation-settings: "opsz" 144; line-height: 1; letter-spacing: -.03em; }
.stat-item__value em { color: var(--copper); font-style: italic; }
.stat-item__label { font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; opacity: .75; margin-top: .75rem; }

/* ============================================================
   FEATURE BLOCKS (two-column)
   ============================================================ */

.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.feature-row:last-child { border-bottom: none; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
@media (max-width: 1024px) { .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 2rem; direction: ltr; padding: 3rem 0; } }

.feature-row h3 { margin: 1rem 0 1.25rem; }
.feature-row ul { list-style: none; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); margin-top: 1.5rem; }
.feature-row ul li { padding: .65rem 0; display: flex; gap: .75rem; align-items: flex-start; color: var(--ink-soft); }
.feature-row ul li::before { content: '—'; color: var(--copper); font-weight: 500; }

.feature-visual {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

/* ============================================================
   SPEC TABLE (product pages)
   ============================================================ */

.spec-table {
  width: 100%; border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
}
.spec-table caption { caption-side: top; text-align: left; padding: 1.25rem 1.5rem; background: var(--bg-soft); border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); }
.spec-table th, .spec-table td { padding: 1rem 1.5rem; text-align: left; border-bottom: 1px solid var(--line-soft); }
.spec-table th { font-family: var(--font-mono); font-size: .8rem; font-weight: 500; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .1em; width: 36%; vertical-align: top; }
.spec-table td { color: var(--ink); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */

.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 1.5rem 0; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 2rem;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; color: var(--ink);
  font-variation-settings: "opsz" 48;
}
.faq-question:hover { color: var(--teal); }
.faq-question__icon { width: 24px; height: 24px; position: relative; flex-shrink: 0; }
.faq-question__icon::before, .faq-question__icon::after {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--ink-soft); transition: transform var(--t-fast) var(--ease);
}
.faq-question__icon::before { width: 14px; height: 1.5px; }
.faq-question__icon::after { width: 1.5px; height: 14px; }
.faq-item.open .faq-question__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item.open .faq-question { color: var(--teal); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--t-med) var(--ease); }
.faq-answer__inner { padding: 0 0 1.5rem; color: var(--ink-soft); line-height: 1.65; max-width: 65ch; }
.faq-item.open .faq-answer { max-height: 600px; }

/* ============================================================
   CTA BAND
   ============================================================ */

.cta-band {
  background: var(--ink); color: var(--bg);
  padding: 5rem 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; top: -50%; left: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(201,123,58,.15), transparent 60%);
  pointer-events: none;
}
.cta-band__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: center; position: relative; }
@media (max-width: 768px) { .cta-band__grid { grid-template-columns: 1fr; gap: 2rem; } }
.cta-band h2 { color: var(--bg); }
.cta-band h2 em { color: var(--copper); }
.cta-band p { color: rgba(247,244,237,.7); margin-top: 1rem; }
.cta-band__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-band .btn-primary { background: var(--copper); border-color: var(--copper); }
.cta-band .btn-primary:hover { background: #B36A2A; }
.cta-band .btn-secondary { color: var(--bg); border-color: rgba(247,244,237,.3); }
.cta-band .btn-secondary:hover { background: var(--bg); color: var(--ink); }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */

.page-hero {
  padding: 4rem 0 5rem;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}
.breadcrumbs { font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); margin-bottom: 1.5rem; }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs .sep { margin: 0 .5rem; color: var(--ink-mute); }
.page-hero h1 { margin-top: .75rem; max-width: 18ch; }
.page-hero .lead { margin-top: 1.5rem; max-width: 65ch; }

/* ============================================================
   FORMS
   ============================================================ */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-row { display: flex; flex-direction: column; gap: .5rem; }
.form-row.full { grid-column: span 2; }
@media (max-width: 640px) { .form-row.full { grid-column: span 1; } }
.form-row label { font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); font-weight: 500; }
.form-row input, .form-row textarea, .form-row select {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .9rem 1rem; transition: border var(--t-fast) var(--ease);
  width: 100%;
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,76,92,.1); }

/* ============================================================
   CONTACT CHANNELS
   ============================================================ */

.contact-channels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 640px) { .contact-channels { grid-template-columns: 1fr; } }
.channel-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; transition: var(--t-fast); text-decoration: none; color: inherit; }
.channel-card:hover { border-color: var(--teal); transform: translateY(-2px); color: inherit; }
.channel-card h5 { color: var(--teal); margin-bottom: .5rem; }
.channel-card a { font-family: var(--font-mono); font-size: .9rem; color: var(--ink); display: block; margin-top: .5rem; }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer { background: var(--ink); color: var(--bg); padding: 5rem 0 2rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 640px)  { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4, .footer-grid h5 { color: var(--bg); margin-bottom: 1.25rem; font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 500; }
.footer-col { display: flex; flex-direction: column; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.footer-col a { color: rgba(247,244,237,.7); font-size: .92rem; }
.footer-col a:hover { color: var(--copper); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid rgba(247,244,237,.1); font-size: .85rem; color: rgba(247,244,237,.5); flex-wrap: wrap; gap: 1rem; }
.footer-bottom a { color: rgba(247,244,237,.7); }
.footer-bottom a:hover { color: var(--copper); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   UTILITIES
   ============================================================ */

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.bg-soft { background: var(--bg-soft); }
.divider { height: 1px; background: var(--line); border: none; margin: 3rem 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   PRODUCT PAGE IMAGERY
   - .page-hero--with-image : two-column hero (text + image)
   - .product-gallery       : 3-column figure grid below hero
   All images use lazy loading + intrinsic aspect-ratio to
   prevent layout shift while loading.
   ============================================================ */

.page-hero--with-image .container { display: block; }
.page-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.page-hero__content { min-width: 0; }
.page-hero__image {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--bg-soft);
}
.page-hero__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 1024px) {
  .page-hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.product-gallery {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-soft);
}
.product-gallery__head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 2rem; gap: 2rem; flex-wrap: wrap;
}
.product-gallery__head h2 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  margin: 0;
}
.product-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 768px) {
  .product-gallery__grid { grid-template-columns: 1fr; }
}
.product-image {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 0;
  background: var(--bg-card);
}
.product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms var(--ease);
}
.product-image:hover img { transform: scale(1.04); }
.product-image figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(10,55,68,.88) 100%);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 3rem 1rem .9rem;
}
/* ============================================================
   PRODUCT PAGE IMAGERY
   - .page-hero--with-image : two-column hero (text + image)
   - .product-gallery       : 3-column figure grid below hero
   All images use lazy loading + intrinsic aspect-ratio to
   prevent layout shift while loading.
   ============================================================ */

.page-hero--with-image .container { display: block; }
.page-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.page-hero__content { min-width: 0; }
.page-hero__image {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--bg-soft);
}
.page-hero__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 1024px) {
  .page-hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.product-gallery {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-soft);
}
.product-gallery__head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 2rem; gap: 2rem; flex-wrap: wrap;
}
.product-gallery__head h2 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  margin: 0;
}
.product-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 768px) {
  .product-gallery__grid { grid-template-columns: 1fr; }
}
.product-image {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 0;
  background: var(--bg-card);
}
.product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms var(--ease);
}
.product-image:hover img { transform: scale(1.04); }
.product-image figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(10,55,68,.88) 100%);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 3rem 1rem .9rem;
}

