/* ============================================================
   SvnBlessin — "Marble & Ink" quiet-luxury redesign
   Strictly monochrome cool-neutral. Cormorant Garamond + Inter.
   ============================================================ */

:root {
  --black:     #0A0A0A;
  --ink-2:     #141414;
  --ink-3:     #1C1C1C;
  --line-dark: #2B2B2B;
  --grey-70:   #575757;
  --grey-55:   #7A7A7A;
  --grey-40:   #A3A3A3;
  --grey-15:   #D9D9D9;
  --paper:     #F4F4F3;
  --white:     #FFFFFF;

  --body-dark:  #333333;   /* body text on light */
  --body-light: #CFCFCF;   /* body text on dark  */

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  Inter, system-ui, -apple-system, "Segoe UI", sans-serif;

  --space: clamp(4.5rem, 10vw, 9rem);
  /* Liquid silk curve — long, heavy, calm */
  --ease: cubic-bezier(0.65, 0, 0.35, 1);

  /* Liquid divider height */
  --dh: clamp(56px, 8vw, 120px);

  --tex-marble-hero:     url("assets/textures/black-marble-hero.png");
  --tex-marble-portrait: url("assets/textures/black-marble-portrait.png");
  --tex-carrara:         url("assets/textures/white-marble.png");
  --tex-granite:         url("assets/textures/black-granite.png");
}

/* ---------- Base ---------- */

* { box-sizing: border-box; }

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

html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body-dark);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
}

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

h1, h2, h3, blockquote {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--black);
  margin: 0;
  text-wrap: balance;
}

h1, h2, h3, blockquote, .step-num, .price, .quote {
  padding-bottom: 0.15em; /* descender safety on reveal wrappers */
}

em { font-style: italic; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

/* Anchored sections clear the fixed header when smooth-scrolling */
section[id] { scroll-margin-top: 84px; }

a { color: inherit; }

::selection { background: var(--black); color: var(--white); }

/* ---------- Eyebrow lockup ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.1rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--grey-70);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
  flex: none;
}

.eyebrow-dark { color: var(--grey-40); }

/* ---------- Hairline-and-diamond divider ---------- */

.divider {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.9rem;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--grey-15);
}

.divider .diamond {
  width: 7px;
  height: 7px;
  border: 1px solid var(--black);
  transform: rotate(45deg);
  flex: none;
}

/* ---------- Type scale ---------- */

h1 {
  font-size: clamp(2.75rem, 6vw + 0.75rem, 5.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(2.125rem, 4.2vw + 0.5rem, 3.75rem);
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin-bottom: 1.25rem;
}

.lead {
  font-size: clamp(1.0625rem, 0.3vw + 1rem, 1.25rem);
  line-height: 1.6;
  max-width: 44rem;
  margin: 0 0 clamp(2.25rem, 5vw, 3.5rem);
}

.fineprint {
  font-size: 0.75rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--grey-40);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  padding: 1.05rem 2.25rem;
  border: 1px solid transparent;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 44px;
  transition: color 500ms var(--ease), background-color 500ms var(--ease),
              border-color 500ms var(--ease), transform 500ms var(--ease);
}

.btn::after {
  content: "→";
  font-size: 0.9em;
  order: 2;
}

.btn-secondary::after,
.btn-ghost::after { content: none; }

/* Primary on light: black fill, white label; hover = inversion sweep */
.btn-primary {
  background: var(--black);
  color: var(--white);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateY(101%);
  transition: transform 500ms var(--ease);
  z-index: 0;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover, .btn-primary:focus-visible {
  color: var(--black);
}
.btn-primary:hover::before, .btn-primary:focus-visible::before {
  transform: translateY(0);
}

/* Primary on dark: white fill, black label; hover = transparent + white border */
.btn-primary-inv {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-primary-inv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  transition: transform 500ms var(--ease);
  z-index: 0;
}
.btn-primary-inv > * { position: relative; z-index: 1; }
.btn-primary-inv:hover, .btn-primary-inv:focus-visible {
  background: transparent;
  color: var(--white);
}

/* Secondary on light */
.btn-secondary {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: var(--black);
  color: var(--white);
}

/* Secondary on dark */
.btn-secondary-inv {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-secondary-inv:hover, .btn-secondary-inv:focus-visible {
  background: var(--white);
  color: var(--black);
}

.btn-sm { padding: 0.85rem 1.5rem; font-size: 0.75rem; }

.btn:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}
.site-header .btn:focus-visible,
.hero .btn:focus-visible,
.closing .btn:focus-visible,
.notice .btn:focus-visible { outline-color: var(--white); }

/* Underline-draw text links */
.site-nav a,
.footer-links a,
.back-link,
.notice label a {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 300ms var(--ease);
}
.site-nav a:hover, .site-nav a:focus-visible,
.footer-links a:hover, .footer-links a:focus-visible,
.back-link:hover, .back-link:focus-visible,
.notice label a:hover, .notice label a:focus-visible {
  background-size: 100% 1px;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background-color 450ms var(--ease), border-color 450ms var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(28, 28, 28, 0.92);
  border-bottom-color: var(--line-dark);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 76px;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
  margin-right: auto;
}

.site-nav {
  display: flex;
  gap: 2rem;
}

.site-nav a {
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--white);
  padding: 0.5rem 0;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  padding: 0.7rem 1.4rem;
  font-size: 0.75rem;
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--white);
  color: var(--black);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.hamburger .bar {
  display: block;
  height: 1px;
  background: var(--white);
  width: 100%;
}

/* ---------- Mobile nav overlay ---------- */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--ink-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 450ms var(--ease), visibility 300ms;
}

.mobile-nav.open { opacity: 1; visibility: visible; }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.mobile-nav-links a {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2rem;
  color: var(--white);
  text-decoration: none;
}

.btn-mobile-cta { min-width: min(320px, 80vw); }

body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--black);
  padding-top: 120px;
  padding-bottom: calc(var(--dh) + clamp(2.5rem, 6vh, 4rem));
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: -60px 0;
  z-index: -3;
  background: var(--tex-marble-hero) center / cover no-repeat, var(--black);
  will-change: transform;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  /* Bottom-up scrim, weighted so every text position over the veining clears 4.5:1 */
  background: linear-gradient(180deg,
    rgba(10,10,10,0.15) 0%,
    rgba(10,10,10,0.32) 32%,
    rgba(10,10,10,0.60) 58%,
    rgba(10,10,10,0.82) 100%);
}

/* ---------- Hero ornament scene: candlesticks + three-cross horizon ---------- */

.scene {
  position: absolute;
  right: 4vw;
  top: 13vh;
  width: min(32vw, 470px);
  height: auto;
  z-index: -1;
}

.scene .candles-g { opacity: 0.45; }
.scene .crosses-g { opacity: 0.3; }

.scene .cd {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: candle-draw 1.6s var(--ease) forwards;
}
.scene .cd-1 { animation-delay: 0.15s; }
.scene .cd-2 { animation-delay: 0.32s; }
.scene .cd-3 { animation-delay: 0.49s; }
.scene .cd-4 { animation-delay: 0.66s; }
.scene .cd-5 { animation-delay: 0.83s; }
.scene .cd-6 { animation-delay: 1.00s; }
.scene .cd-7 { animation-delay: 1.17s; }

@keyframes candle-draw { to { stroke-dashoffset: 0; } }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  width: 100%;
}

/* Localized soft darkening behind the text block: guarantees white text
   clears 4.5:1 where bright marble veining crosses the H1/sub/CTA zone. */
.hero-copy { position: relative; }

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -1.5rem -2rem -1.25rem;
  background: radial-gradient(130% 105% at 50% 38%,
    rgba(10,10,10,0.40) 0%,
    rgba(10,10,10,0.26) 55%,
    rgba(10,10,10,0) 100%);
  z-index: -1;
  pointer-events: none;
}

.hero-copy h1 {
  color: var(--white);
  max-width: 14ch;
  margin: 0 0 1.4rem;
}

.hero-sub {
  color: var(--body-light);
  max-width: 34rem;
  margin: 0 0 2.25rem;
  font-size: clamp(1rem, 0.3vw + 1rem, 1.125rem);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-card {
  border: 1px solid var(--line-dark);
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 2rem;
  color: var(--white);
}

.hero-card h2 {
  font-size: 1.375rem;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.ticks, .card.product ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ticks li, .card.product ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.ticks li::before, .card.product ul li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='0.5' y='0.5' width='15' height='15' fill='none' stroke='rgba(255,255,255,0.85)' stroke-width='1'/%3E%3Cpath d='M4.5 8.5l2.5 2.5 4.5-5' fill='none' stroke='%23FFFFFF' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  margin: 0;
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-40);
  transition: opacity 600ms var(--ease);
}

.scroll-cue.hidden { opacity: 0; }

/* ---------- Liquid section dividers ---------- */
/* Decorative pour curves at section boundaries: the previous section's color
   flows into the next. aria-hidden, zero layout impact, transform-only drift. */

.liquid-divider {
  position: absolute;
  top: -1px;
  left: -1%;
  width: 102%;
  height: var(--dh);
  display: block;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

.hero .liquid-divider { top: auto; bottom: -1px; }

.ld-paper { fill: var(--paper); }
.ld-dark  { fill: var(--black); }

/* ---------- 777 engraved watermark ---------- */

.wm-777 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: 0.02em;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.wm-777-hero {
  position: absolute;
  right: 3vw;
  bottom: calc(var(--dh) + 1.25rem);
  font-size: clamp(6rem, 11vw, 10rem);
  color: rgba(255, 255, 255, 0.09);
  /* engraved-in-marble: light top lip, dark carve beneath */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.55), 0 -1px 0 rgba(255, 255, 255, 0.12);
  z-index: -1;
}

.wm-777-footer {
  position: absolute;
  right: clamp(1.25rem, 4vw, 2.5rem);
  bottom: 0.75rem;
  font-size: clamp(2.25rem, 4vw, 3rem);
  color: rgba(255, 255, 255, 0.12);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6), 0 -1px 0 rgba(255, 255, 255, 0.1);
}

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

.section-light {
  position: relative;
  background: var(--paper);
  /* Bottom padding shares the boundary rhythm with the pour divider that
     opens the next section (no dead gap bands). */
  padding-bottom: max(0.75rem, calc(var(--space) - var(--dh)));
}

#why { padding-top: var(--space); }

/* Sections opened by a pour divider: content starts clear of the curve */
#indicators, #how, .fit, #about, #faq {
  padding-top: calc(var(--dh) + 0.75rem);
}

/* Carrara washes */
.why, .about {
  background:
    linear-gradient(rgba(244,244,243,0.95), rgba(244,244,243,0.95)),
    var(--tex-carrara);
  background-size: cover, 140%;
  background-position: center, center 85%;
  background-repeat: no-repeat;
}

.fit {
  background:
    linear-gradient(rgba(244,244,243,0.96), rgba(244,244,243,0.96)),
    var(--tex-carrara);
  background-size: cover, 140%;
  background-position: center, center 85%;
  background-repeat: no-repeat;
}

/* ---------- Why ---------- */

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

.feature {
  background: var(--white);
  border: 1px solid var(--grey-15);
  border-radius: 0;
  padding: 2rem;
}

.feature h3 {
  font-size: 1.375rem;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.feature p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--body-dark);
}

.why-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.caption {
  margin: 0;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-70);
}

/* ---------- Indicators ---------- */

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

.card.product {
  display: flex;
  flex-direction: column;
  background: var(--ink-3);
  border: 1px solid var(--line-dark);
  border-radius: 0;
  padding: 0;
  color: var(--body-light);
  transition: transform 500ms var(--ease), box-shadow 500ms var(--ease);
}

@media (hover: hover) {
  .card.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(10, 10, 10, 0.35);
  }
  .card.product:hover .shot::after {
    transform: scale(1.03);
  }
}

.card.product:active { border-color: #4A4A4A; }

/* Image / placeholder slot (granite) */
.shot {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--ink-3);
  border-bottom: 1px solid var(--line-dark);
  color: var(--grey-40);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  padding: 1.5rem;
  overflow: hidden;
}

.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tex-granite) center / 480px no-repeat;
  opacity: 0.12;
  transition: transform 800ms var(--ease);
  pointer-events: none;
}

.shot > * { position: relative; z-index: 1; }

/* Corner tick marks (framing viewfinder) */
.shot::before, .photo-slot::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 1;
  pointer-events: none;
  --tick: rgba(163,163,163,0.55);
  background:
    linear-gradient(var(--tick), var(--tick)) 0 0 / 8px 1px,
    linear-gradient(var(--tick), var(--tick)) 0 0 / 1px 8px,
    linear-gradient(var(--tick), var(--tick)) 100% 0 / 8px 1px,
    linear-gradient(var(--tick), var(--tick)) 100% 0 / 1px 8px,
    linear-gradient(var(--tick), var(--tick)) 0 100% / 8px 1px,
    linear-gradient(var(--tick), var(--tick)) 0 100% / 1px 8px,
    linear-gradient(var(--tick), var(--tick)) 100% 100% / 8px 1px,
    linear-gradient(var(--tick), var(--tick)) 100% 100% / 1px 8px;
  background-repeat: no-repeat;
}

.card.product .info { padding: 1.75rem 2rem 0; }

.card.product .num {
  margin: 0 0 0.75rem;
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-40);
}

.card.product h3 {
  font-size: 1.75rem;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.card.product .desc {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--body-light);
}

.card.product ul { padding: 0 2rem; gap: 0.7rem; }

.card.product .buyrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 2rem 2rem;
  margin-top: auto;
}

.price {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--white);
  margin: 0;
}

/* Disabled buy state: hairline border instead of solid fill */
.buy[aria-disabled="true"] {
  background: transparent;
  color: var(--white);
  border-color: var(--line-dark);
  opacity: 0.4;
}
.buy[aria-disabled="true"]::before { display: none; }
.buy[aria-disabled="true"]:hover { color: var(--white); }

/* Notice slab */
.notice {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  background:
    linear-gradient(rgba(20,20,20,0.91), rgba(20,20,20,0.91)),
    var(--tex-granite);
  background-size: cover, 480px;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--line-dark);
  border-radius: 0;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--body-light);
}

.notice h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.85rem;
}

.notice > p { margin: 0 0 1.4rem; font-size: 0.9375rem; }

.agree-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.agree-row label {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--body-light);
  cursor: pointer;
}

.agree-row label a { color: var(--white); }

/* Custom checkbox */
#agree {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  border: 1px solid var(--white);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: background-color 450ms var(--ease);
}

#agree::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 5px;
  width: 9px;
  height: 5px;
  border-left: 1.5px solid var(--white);
  border-bottom: 1.5px solid var(--white);
  transform: rotate(-45deg) scale(0);
  transition: transform 450ms var(--ease);
}

#agree:checked { background: var(--black); }
#agree:checked::after { transform: rotate(-45deg) scale(1); }
#agree:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.agree-msg {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: var(--grey-40);
  min-height: 1.2em;
}

.js .agree-msg:not(:empty) { animation: msg-in 500ms var(--ease); }

@keyframes msg-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- How it works ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.step { position: relative; }

.step-num {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 4rem;
  line-height: 1;
  color: var(--grey-15);
}

.step h3 {
  font-size: 1.375rem;
  line-height: 1.2;
  margin-top: -1.1rem;
  position: relative;
}

.step p {
  margin: 0.6rem 0 0;
  font-size: 0.9375rem;
  color: var(--body-dark);
  position: relative;
}

/* ---------- Fit check ---------- */

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

.panel {
  border-radius: 0;
  padding: clamp(1.75rem, 4vw, 2.25rem);
}

.panel h3 {
  font-size: 1.375rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.panel-light {
  background: var(--white);
  border: 1px solid var(--grey-15);
  color: var(--body-dark);
}
.panel-light h3 { color: var(--black); }

.panel-dark {
  background: var(--ink-3);
  border: 1px solid var(--line-dark);
  color: var(--body-light);
}
.panel-dark h3 { color: var(--white); }

.fit-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 0;
  font-size: 0.9375rem;
  border-top: 1px solid var(--grey-15);
}

.panel-dark .fit-list li { border-top-color: var(--line-dark); }

.fit-list li:first-child { border-top: 0; padding-top: 0.25rem; }

.glyph { flex: none; width: 16px; height: 16px; margin-top: 3px; }

.glyph-check {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.5 3.5L13 5' fill='none' stroke='%230A0A0A' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.glyph-cross {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 3l10 10M13 3L3 13' stroke='%23FFFFFF' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}

.about-p {
  margin: 0 0 1.4rem;
  max-width: 40rem;
}

.text-fill strong { font-weight: 600; }

.tf-word { color: #B0B0B0; transition: color 500ms var(--ease); }
.tf-word.on { color: var(--body-dark); }

/* Three-cross faith motif above the pull-quote (echoes the hero horizon) */
.about-crosses {
  display: block;
  width: 96px;
  height: auto;
  margin: 2.25rem 0 0;
}

.quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--black);
  margin: 1.25rem 0 0;
  position: relative;
  padding-top: 1.75rem;
}

.quote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--black);
}

.about-photos {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.photo-slot {
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--grey-15);
  border-radius: 0;
  background-color: var(--paper);
  color: var(--grey-55);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  padding: 1.5rem;
  overflow: hidden;
}

.photo-slot::before { --tick: rgba(87,87,87,0.5); }

.photo-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tex-granite) center / 480px no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.photo-slot span { position: relative; z-index: 1; }

/* ---------- FAQ ---------- */

.faq-list { border-top: 1px solid var(--grey-15); }

.faq-item { border-bottom: 1px solid var(--grey-15); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.25;
  color: var(--black);
  min-height: 44px;
}

.faq-icon {
  flex: none;
  width: 18px;
  height: 18px;
  position: relative;
  transition: transform 450ms var(--ease);
}

.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--black);
}

.faq-icon::before { left: 0; top: 8.25px; width: 18px; height: 1.5px; }
.faq-icon::after  { left: 8.25px; top: 0; width: 1.5px; height: 18px; }

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 650ms var(--ease);
}

.faq-a-inner { overflow: hidden; }

.faq-a-inner p {
  margin: 0;
  padding-bottom: 1.5rem;
  font-size: 0.9375rem;
  color: var(--body-dark);
  max-width: 46rem;
}

.js .faq-a { grid-template-rows: 0fr; }
.js .faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- Dark-card button variants (built by main.js) ---------- */

/* "Get notified in Discord" — secondary-inverted */
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--white);
  color: var(--black);
}

/* "Buy now" — primary-inverted on the dark product card */
.card.product .btn-primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.card.product .btn-primary::before { display: none; }
.card.product .btn-primary:hover,
.card.product .btn-primary:focus-visible {
  background: transparent;
  color: var(--white);
}
.card.product .btn:focus-visible { outline-color: var(--white); }

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

.closing {
  position: relative;
  text-align: center;
  padding-top: calc(var(--dh) + clamp(2.5rem, 7vw, 4.5rem));
  padding-bottom: clamp(6rem, 14vw, 10rem);
  background: var(--black);
  isolation: isolate;
}

.closing-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--tex-marble-hero) center 30% / 175% auto no-repeat, var(--black);
}

.closing-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10,10,10,0.55), rgba(10,10,10,0.85));
}

.closing h2 {
  color: var(--white);
  max-width: 18ch;
  margin: 0 auto 1.25rem;
}

.closing p {
  color: var(--body-light);
  max-width: 36rem;
  margin: 0 auto 2.25rem;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  background:
    linear-gradient(rgba(10,10,10,0.94), rgba(10,10,10,0.94)),
    var(--tex-granite);
  background-size: cover, 480px;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--grey-40);
  padding-top: calc(var(--dh) + clamp(1.5rem, 5vw, 3rem));
  padding-bottom: 2.5rem;
}

.site-footer .wrap { position: relative; }

.footer-wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.375rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin: 0 0 1.75rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-dark);
}

.footer-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--grey-40);
  padding: 0.35rem 0;
}

.legal {
  font-size: 0.8125rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--grey-40);
  max-width: 72rem;
  margin: 2rem 0 0;
}

.copyright {
  margin: 2rem 0 0;
  font-size: 0.8125rem;
  color: var(--grey-40);
}

/* ---------- Scroll reveals ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 950ms var(--ease), transform 950ms var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Mask/clip reveals on slots */
.js .shot, .js .photo-slot {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1100ms var(--ease);
}

.js .shot.in-view, .js .photo-slot.in-view {
  clip-path: inset(0);
}

/* ---------- Terms page ---------- */

.terms-page { background: var(--paper); }

.terms-header {
  border-bottom: 1px solid var(--grey-15);
}

.terms-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.wordmark-dark { color: var(--black); }

.back-link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--black);
  padding: 0.5rem 0;
}

.terms-main { padding-top: var(--space); }

.terms-wrap { max-width: 760px; }

.terms-wrap h1 {
  font-size: clamp(2.125rem, 4.2vw + 0.5rem, 3.75rem);
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin-bottom: 1.5rem;
}

.terms-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.terms-list li {
  padding: 1.25rem 0;
  border-top: 1px solid var(--grey-15);
  font-size: 1rem;
  color: var(--body-dark);
  max-width: 46rem;
}

.terms-list li:first-child { border-top: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photos { margin-top: 1rem; }
  .photo-slot { aspect-ratio: 4 / 3; }
}

@media (max-width: 860px) {
  :root { --space: clamp(3rem, 8vw, 4.5rem); }

  .site-nav, .btn-header { display: none; }
  .hamburger { display: flex; }

  .hero {
    padding-top: 100px;
    align-items: flex-end;
  }

  .hero-bg {
    background: var(--tex-marble-portrait) center / cover no-repeat, var(--black);
  }

  .hero-scrim {
    /* §10: strengthened on mobile — 0.88 at the bottom, darkening starts higher */
    background: linear-gradient(180deg,
      rgba(10,10,10,0.28) 0%,
      rgba(10,10,10,0.50) 32%,
      rgba(10,10,10,0.72) 58%,
      rgba(10,10,10,0.88) 100%);
  }

  .hero-grid { grid-template-columns: 1fr; }

  .hero-copy h1 { max-width: none; }

  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }

  .hero-card { padding: 1.5rem; }

  .scene {
    /* Hero is taller than the viewport once content stacks — anchor the motif
       below the header so it stays inside the first viewport, clear of CTAs
       and the H1 (which starts ~121px down at 375px). */
    width: 40%;
    right: 64px;
    top: 6px;
  }

  .why, .fit, .about {
    background-size: cover, 160%;
  }

  .why {
    background:
      linear-gradient(rgba(244,244,243,0.97), rgba(244,244,243,0.97)),
      var(--tex-carrara);
    background-size: cover, 160%;
    background-position: center, center 85%;
    background-repeat: no-repeat;
  }
  .fit {
    background:
      linear-gradient(rgba(244,244,243,0.97), rgba(244,244,243,0.97)),
      var(--tex-carrara);
    background-size: cover, 160%;
    background-position: center, center 85%;
    background-repeat: no-repeat;
  }
  .about {
    background:
      linear-gradient(rgba(244,244,243,0.97), rgba(244,244,243,0.97)),
      var(--tex-carrara);
    background-size: cover, 160%;
    background-position: center, center 85%;
    background-repeat: no-repeat;
  }

  .shot { aspect-ratio: 16 / 10; }

  .steps {
    grid-template-columns: 1fr;
    gap: 0;
    border-left: 1px solid var(--grey-15);
    padding-left: 1.5rem;
  }

  .step { padding: 1.25rem 0; }

  .card.product .info { padding: 1.5rem 1.5rem 0; }
  .card.product ul { padding: 0 1.5rem; }
  .card.product .buyrow { padding: 1.25rem 1.5rem 1.5rem; flex-wrap: wrap; }

  .closing-bg { background-size: 260% auto; }
}

@media (max-width: 700px) {
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .header-inner { min-height: 64px; gap: 1rem; }
  .hero { padding-top: 88px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] { opacity: 1; transform: none; }

  .js .shot, .js .photo-slot { clip-path: none; }

  .candles .cd { stroke-dashoffset: 0; animation: none; }

  .tf-word { color: var(--body-dark); }

  .hero-bg { transform: none !important; }

  .liquid-divider { transform: none !important; }
}
