/* ==========================================================================
   Aphantos House — site stylesheet (v2 redesign)
   Light, warm, product-forward. Mobile-first.
   ========================================================================== */

:root {
  --paper:        #FBF7F0;
  --paper-2:      #F4EDE0;
  --paper-3:      #EFE6D4;
  --ink:          #262F3E;
  --ink-soft:     #57616F;
  --ink-faint:    #8A93A0;
  --copper:       #A25C2B;
  --copper-dark:  #86471D;
  --copper-tint:  #F3E4D5;
  --navy:         #1D2742;
  --navy-2:       #253052;
  --cream:        #F3ECDC;
  --cream-dim:    #D9CFB8;
  --gold:         #C9A84C;
  --line:         #E7DECC;
  --radius:       14px;
  --radius-sm:    10px;
  --shadow:       0 2px 10px rgba(38, 47, 62, 0.07), 0 12px 32px rgba(38, 47, 62, 0.07);
  --shadow-soft:  0 1px 4px rgba(38, 47, 62, 0.06);
  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Inter", -apple-system, "Segoe UI", sans-serif;
  --container:    1120px;
  --pad-x:        clamp(1.1rem, 4vw, 2rem);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--copper-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--copper); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.35rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: clamp(3rem, 8vw, 5.5rem); }
.section--tint { background: var(--paper-2); }
.section--tight { padding-block: clamp(2.2rem, 6vw, 4rem); }

.kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.9rem;
}

.lede { font-size: 1.08rem; color: var(--ink-soft); max-width: 60ch; }

.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--copper); color: #fff; }
.btn--primary:hover { background: var(--copper-dark); color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--light { background: var(--paper); color: var(--navy); }
.btn--light:hover { background: var(--cream); color: var(--navy); }

.btn--sm { padding: 0.55rem 1.15rem; font-size: 0.88rem; }

.btn-note {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-top: 0.6rem;
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.brand svg { width: 26px; height: 26px; flex: none; }
.brand:hover { color: var(--copper-dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a:not(.btn) {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a[aria-current="page"]:not(.btn) { color: var(--ink); font-weight: 600; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.5rem 0 1rem;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { padding: 0; }
  .nav-links a:not(.btn) {
    display: block;
    padding: 0.8rem var(--pad-x);
    font-size: 1.02rem;
  }
  .nav-links .nav-cta { padding: 0.6rem var(--pad-x) 0; }
  .nav-links .nav-cta .btn { width: 100%; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(1.6rem, 4.5vw, 4rem); }
.hero__grid {
  display: grid;
  gap: clamp(1.4rem, 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 860px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; }
}
.hero h1 { margin-bottom: 0.5em; }
.hero .lede { margin-bottom: 1.6rem; }

.hero__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero__media img { width: 100%; object-fit: cover; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin-top: 1.6rem;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.trust-strip li { display: inline-flex; align-items: center; gap: 0.45rem; }
.trust-strip svg { width: 15px; height: 15px; color: var(--copper); flex: none; }

/* --------------------------------------------------------------------------
   Cards / grids
   -------------------------------------------------------------------------- */
.grid-3 { display: grid; gap: 1.4rem; }
@media (min-width: 680px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-2 { display: grid; gap: clamp(1.4rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 860px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.card__media--square { aspect-ratio: 1 / 1; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { padding: 1.15rem 1.25rem 1.35rem; }
.card__body h3 { margin-bottom: 0.35em; }
.card__body p { color: var(--ink-soft); font-size: 0.95rem; }

a.card { text-decoration: none; color: inherit; transition: box-shadow 0.2s ease, transform 0.2s ease; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
a.card .card__more { color: var(--copper-dark); font-weight: 600; font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   Product feature / specs
   -------------------------------------------------------------------------- */
.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.spec-list {
  list-style: none;
  margin: 1.4rem 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.spec-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.97rem;
  color: var(--ink-soft);
}
.spec-list svg { width: 17px; height: 17px; color: var(--copper); flex: none; margin-top: 4px; }
.spec-list strong { color: var(--ink); font-weight: 600; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1rem 0 0.4rem;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 0.6rem 0.4rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th { color: var(--ink); font-weight: 600; white-space: nowrap; padding-right: 1.2rem; }
.spec-table td { color: var(--ink-soft); }
.spec-note { font-size: 0.82rem; color: var(--ink-faint); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; counter-reset: step; }
@media (min-width: 680px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.2rem 1.3rem;
  box-shadow: var(--shadow-soft);
}
.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--copper-tint);
  color: var(--copper-dark);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}
.steps h3 { font-size: 1.08rem; margin-bottom: 0.3em; }
.steps p { color: var(--ink-soft); font-size: 0.93rem; margin: 0; }

/* --------------------------------------------------------------------------
   Founder
   -------------------------------------------------------------------------- */
.founder-quote {
  border-left: 3px solid var(--gold);
  padding-left: 1.1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
  margin: 1.4rem 0;
}
.founder-sig { font-size: 0.9rem; color: var(--ink-faint); }

/* --------------------------------------------------------------------------
   Name origin band (navy nod to brand identity)
   -------------------------------------------------------------------------- */
.name-band {
  background: var(--navy);
  color: var(--cream);
  padding-block: clamp(3rem, 8vw, 5rem);
  position: relative;
  overflow: hidden;
}
.name-band h2 { color: #fff; }
.name-band .kicker { color: var(--gold); }
.name-band p { color: var(--cream-dim); max-width: 62ch; }
.name-band .greek {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 2.9rem);
  color: var(--gold);
  display: block;
  margin-bottom: 0.4rem;
}
.name-band a { color: var(--gold); }
.name-band__grid { display: grid; gap: 2rem; align-items: center; position: relative; }
@media (min-width: 860px) { .name-band__grid { grid-template-columns: auto 1fr; column-gap: 4rem; } }
.name-band__stars {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
}

/* --------------------------------------------------------------------------
   Video
   -------------------------------------------------------------------------- */
.video-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}
.video-frame video { width: 100%; display: block; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0;
  margin-bottom: 0.8rem;
  box-shadow: var(--shadow-soft);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  font-weight: 600;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--copper);
  flex: none;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 1.2rem 1.1rem; color: var(--ink-soft); font-size: 0.96rem; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--paper-3);
  border-block: 1px solid var(--line);
  text-align: center;
  padding-block: clamp(2.8rem, 7vw, 4.5rem);
}
.cta-band h2 { margin-bottom: 0.4em; }
.cta-band p { color: var(--ink-soft); max-width: 52ch; margin-inline: auto; }
.cta-band .btn { margin-top: 1.2rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: var(--cream-dim);
  padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  font-size: 0.9rem;
}
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(246, 239, 223, 0.15);
}
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.footer-brand .brand { color: var(--cream); font-size: 1.25rem; margin-bottom: 0.8rem; }
.footer-brand p { max-width: 40ch; }
.footer-col h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-legal {
  padding-top: 1.4rem;
  font-size: 0.78rem;
  color: rgba(217, 207, 184, 0.75);
  line-height: 1.6;
}
.footer-legal p { margin-bottom: 0.6em; }

/* --------------------------------------------------------------------------
   Inner pages (articles)
   -------------------------------------------------------------------------- */
.page-header { padding-block: clamp(2.2rem, 6vw, 3.8rem) 0; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-bottom: 1.2rem;
}
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--copper-dark); text-decoration: underline; }
.breadcrumb .sep { margin-inline: 0.45rem; }

.article-body {
  max-width: 720px;
  padding-block: clamp(1.6rem, 4vw, 2.5rem) clamp(3rem, 7vw, 4.5rem);
}
.article-body h2 { margin-top: 1.8em; font-size: clamp(1.35rem, 3vw, 1.7rem); }
.article-body h3 { margin-top: 1.5em; }
.article-body ul, .article-body ol { color: var(--ink); padding-left: 1.3rem; }
.article-body li { margin-bottom: 0.4em; }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  margin: 1.4em 0;
  padding: 0.2em 0 0.2em 1.1em;
  color: var(--ink-soft);
  font-style: italic;
}
.article-body table { width: 100%; border-collapse: collapse; font-size: 0.93rem; margin: 1.2em 0; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 0.55rem 0.7rem; text-align: left; vertical-align: top; }
.article-body th { background: var(--paper-2); }
.article-body img { border-radius: var(--radius-sm); }
.article-body .table-wrap { overflow-x: auto; }

.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-block: 0 clamp(2.5rem, 6vw, 4rem);
}
.article-nav a {
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 1rem;
}
.article-nav a:hover { border-color: var(--copper); color: var(--copper-dark); }
.article-nav a[aria-current="page"] { background: var(--copper-tint); border-color: var(--copper-tint); color: var(--copper-dark); font-weight: 600; }

/* --------------------------------------------------------------------------
   Reveal on scroll (progressive enhancement)
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

.badge {
  display: inline-block;
  background: var(--copper-tint);
  color: var(--copper-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Article extras (callouts, heat map, journal download, prev/next)
   -------------------------------------------------------------------------- */
.article-callout {
  background: var(--copper-tint);
  border: 1px solid #E8D3BC;
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.3rem;
  margin: 1.5em 0;
}
.article-callout p { color: var(--ink); font-size: 0.96rem; }

.heatmap-figure { margin: 1.6em 0; }
.heatmap-figure figcaption { font-size: 0.85rem; color: var(--ink-faint); margin-top: 0.7rem; }
.heatmap-wrap { overflow-x: auto; }
.heatmap { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 0.8rem; }
.heatmap th, .heatmap td { border: 1px solid var(--line); padding: 0.45rem 0.4rem; text-align: center; }
.heatmap thead th { background: var(--paper-2); font-weight: 600; }
.heatmap tbody th { background: var(--paper-2); font-weight: 600; white-space: nowrap; }
.heatmap .axis-label { font-size: 0.72rem; color: var(--ink-faint); font-weight: 500; }
.hm-0  { background: rgba(162, 92, 43, 0.03); color: var(--ink-faint); }
.hm-1  { background: rgba(162, 92, 43, 0.10); color: var(--ink-soft); }
.hm-2  { background: rgba(162, 92, 43, 0.18); color: var(--ink); }
.hm-3  { background: rgba(162, 92, 43, 0.28); color: var(--ink); }
.hm-8  { background: rgba(162, 92, 43, 0.62); color: #fff; }
.hm-9  { background: rgba(162, 92, 43, 0.78); color: #fff; }
.hm-10 { background: rgba(162, 92, 43, 0.92); color: #fff; }
.hm-cell-val { display: block; font-weight: 700; font-size: 0.95rem; }
.hm-cell-label { display: block; font-size: 0.64rem; opacity: 0.8; }

.journal-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.3rem;
  margin: 1.6em 0;
}
.journal-download__text strong { display: block; color: var(--ink); font-size: 1rem; }
.journal-download__text span { color: var(--ink-soft); font-size: 0.88rem; }

.topic-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 720px;
  padding-bottom: clamp(2rem, 5vw, 3rem);
}
.topic-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--copper-dark);
}
.topic-nav a:hover { text-decoration: underline; }
.topic-nav__prev::before { content: "← "; }
.topic-nav__next::after { content: " →"; }

/* --------------------------------------------------------------------------
   Full-bleed hero (edge-to-edge photo with overlaid content)
   -------------------------------------------------------------------------- */
.hero-bleed {
  position: relative;
  width: 100%;
  min-height: clamp(520px, 78vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bleed__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% center; /* keep the hands in frame */
}
.hero-bleed__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(18, 23, 33, 0.55), rgba(18, 23, 33, 0.05) 45%),
    linear-gradient(to left, rgba(18, 23, 33, 0.62) 0%, rgba(18, 23, 33, 0.38) 42%, rgba(18, 23, 33, 0.06) 75%);
}
.hero-bleed__content {
  position: relative;
  width: 100%;
  padding-block: clamp(2.5rem, 8vw, 4rem);
}
.hero-bleed__inner {
  max-width: 580px;
  margin-left: auto; /* sit over the open meadow, keep the hands clear */
}
.hero-bleed h1 { color: #fff; margin-bottom: 0.45em; text-shadow: 0 1px 12px rgba(0,0,0,0.25); }
.hero-bleed .lede { color: rgba(255, 255, 255, 0.92); margin-bottom: 1.6rem; text-shadow: 0 1px 8px rgba(0,0,0,0.3); }
.hero-bleed .kicker { color: #F3D9A8; text-shadow: 0 1px 6px rgba(0,0,0,0.35); }
.hero-bleed .trust-strip { color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 6px rgba(0,0,0,0.35); }
.hero-bleed .trust-strip svg { color: #F3D9A8; }

.btn--ghost-light { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.85); backdrop-filter: blur(2px); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

@media (max-width: 859px) {
  .hero-bleed { min-height: clamp(480px, 82vh, 640px); align-items: flex-end; }
  .hero-bleed__bg { object-position: 40% center; }
  .hero-bleed__scrim {
    background: linear-gradient(to top, rgba(18, 23, 33, 0.78) 0%, rgba(18, 23, 33, 0.35) 55%, rgba(18, 23, 33, 0.08) 100%);
  }
  .hero-bleed__inner { max-width: none; margin-left: 0; }
}

/* --------------------------------------------------------------------------
   Product-page banner variant + overlapping cards
   -------------------------------------------------------------------------- */
.hero-bleed--product {
  min-height: clamp(460px, 62vh, 620px);
  align-items: center;
  padding-bottom: clamp(4.5rem, 11vw, 7.5rem); /* room for the overlapping cards */
}
.hero-bleed--product .hero-bleed__inner { margin-left: 0; max-width: 640px; }
.hero-bleed--product .hero-bleed__scrim {
  background:
    linear-gradient(to right, rgba(18, 23, 33, 0.68) 0%, rgba(18, 23, 33, 0.42) 52%, rgba(18, 23, 33, 0.14) 100%),
    linear-gradient(to top, rgba(18, 23, 33, 0.38), rgba(18, 23, 33, 0) 45%);
}
.hero-bleed .breadcrumb { color: rgba(255, 255, 255, 0.75); margin-bottom: 1rem; }
.hero-bleed .breadcrumb a { color: rgba(255, 255, 255, 0.9); }
.hero-bleed .btn-note { color: rgba(255, 255, 255, 0.78); text-shadow: 0 1px 6px rgba(0,0,0,0.35); }

.overlap-up {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * clamp(4rem, 10vw, 6.5rem));
  padding-top: 0;
}

@media (max-width: 859px) {
  .hero-bleed--product { min-height: clamp(430px, 70vh, 580px); align-items: flex-end; }
  .hero-bleed--product .hero-bleed__scrim {
    background: linear-gradient(to top, rgba(18, 23, 33, 0.8) 0%, rgba(18, 23, 33, 0.4) 55%, rgba(18, 23, 33, 0.1) 100%);
  }
}

/* --------------------------------------------------------------------------
   Inner-page banner (guides, learn index, our story) + home product band
   -------------------------------------------------------------------------- */
.hero-bleed--page {
  min-height: clamp(300px, 42vh, 440px);
  align-items: center;
}
.hero-bleed--page .hero-bleed__inner { margin-left: 0; max-width: 720px; }
.hero-bleed--page .hero-bleed__scrim {
  background:
    linear-gradient(to right, rgba(18, 23, 33, 0.68) 0%, rgba(18, 23, 33, 0.42) 55%, rgba(18, 23, 33, 0.16) 100%),
    linear-gradient(to top, rgba(18, 23, 33, 0.3), rgba(18, 23, 33, 0) 50%);
}

.hero-bleed--band {
  min-height: clamp(420px, 56vh, 560px);
  align-items: center;
  padding-bottom: clamp(4.5rem, 11vw, 7.5rem); /* room for overlapping cards */
}
.hero-bleed--band .hero-bleed__inner { margin-left: 0; max-width: 620px; }
.hero-bleed--band .hero-bleed__scrim {
  background:
    linear-gradient(to right, rgba(18, 23, 33, 0.7) 0%, rgba(18, 23, 33, 0.44) 52%, rgba(18, 23, 33, 0.14) 100%),
    linear-gradient(to top, rgba(18, 23, 33, 0.35), rgba(18, 23, 33, 0) 45%);
}
.hero-bleed h2 { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,0.25); }

@media (max-width: 859px) {
  .hero-bleed--page { min-height: clamp(280px, 46vh, 400px); align-items: flex-end; }
  .hero-bleed--page .hero-bleed__scrim,
  .hero-bleed--band .hero-bleed__scrim {
    background: linear-gradient(to top, rgba(18, 23, 33, 0.8) 0%, rgba(18, 23, 33, 0.4) 55%, rgba(18, 23, 33, 0.1) 100%);
  }
  .hero-bleed--band { min-height: clamp(420px, 64vh, 560px); align-items: flex-end; }
}
