/* ============================================================
   SAGEPENNY STUDIO — sagepennystudio.com
   Editorial stationery-catalogue aesthetic.
   Cream paper · hairline keylines · tracked-caps kickers ·
   ghost plate numerals · per-product accent palettes.
   ============================================================ */

:root {
  --paper: #F6F1E2;          /* page */
  --paper-deep: #F0EAD9;     /* brand cream — alternating sections */
  --card: #FCFAF2;           /* card surface */
  --ink: #2F3A29;            /* deep sage-ink text */
  --ink-soft: #5C674E;
  --ink-faint: #84907373;
  --line: rgba(47, 58, 41, .22);
  --line-soft: rgba(47, 58, 41, .12);
  --sage: #7D8A5F;
  --sage-deep: #3E4A35;
  --accent: var(--sage-deep); /* overridden per product */
  --accent-soft: var(--sage);
  --serif: "Playfair Display", "Didot", Georgia, serif;
  --sans: "Mulish", "Avenir Next", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .8, .3, 1);
  --sect: clamp(64px, 9vw, 100px);   /* shared vertical rhythm for sections */
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
video { max-width: 100%; }
a { color: inherit; }
[id] { scroll-margin-top: 84px; } /* anchor targets clear the sticky header */
::selection { background: var(--sage); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* paper grain over everything */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.22 0 0 0 0 0.16 0 0 0 0.045 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
@media (min-width: 760px) { .wrap { padding: 0 40px; } }

/* ---------- typography helpers ---------- */
.kicker {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: .9em;
}
.kicker::before, .kicker.center::after {
  content: "";
  height: 1px; width: 2.2em;
  background: var(--accent);
  opacity: .65;
  flex: none;
}
.kicker.center { justify-content: center; }
.kicker.plain::before, .kicker.plain::after { display: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--accent); }

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

/* stationery ornament — thin double rule with a diamond */
.ornament {
  display: flex; align-items: center; gap: 14px;
  color: var(--accent); opacity: .75;
}
.ornament::before, .ornament::after {
  content: ""; flex: 1; height: 3px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  opacity: .5;
}
.ornament span { font-size: .7rem; transform: rotate(45deg); border: 1px solid currentColor; width: 8px; height: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--sans); font-weight: 700;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 1.05em 1.9em;
  text-decoration: none;
  border: 1px solid var(--ink);
  color: var(--ink); background: transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn-fill { background: var(--accent); border-color: var(--accent); color: #FCFAF2; }
.btn-fill:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.wordmark {
  font-family: var(--serif); font-size: 1.32rem; font-weight: 700;
  text-decoration: none; letter-spacing: .01em;
  display: flex; align-items: baseline; gap: .45em;
}
.wordmark i { font-style: italic; font-weight: 500; font-size: .78em; color: var(--sage); letter-spacing: .08em; }
.site-nav { display: flex; align-items: center; gap: 2.1em; }
.site-nav a {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft);
  position: relative; padding: 4px 0;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.site-nav a:not(.btn):hover { color: var(--ink); }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.site-nav .btn { padding: .65em 1.3em; font-size: .72rem; }

.nav-toggle {
  display: none;
  background: none; border: none; padding: 8px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--ink);
  margin: 5px 0; transition: transform .3s var(--ease), opacity .3s;
}
@media (max-width: 759px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden;
    transition: max-height .4s var(--ease);
  }
  .site-nav a { padding: 17px 22px; width: 100%; border-top: 1px solid var(--line-soft); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin: 14px 22px 20px; width: calc(100% - 44px); }
  .site-header.open .site-nav { max-height: 480px; }
  .site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 72px); position: relative; }
.hero .wrap {
  display: grid; gap: 56px;
  align-items: center;
}
@media (min-width: 980px) { .hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 56px; } }

.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 4.6rem);
  font-weight: 600;
  margin: .55em 0 .45em;
  letter-spacing: -.01em;
}
.hero .lede { margin: 0 0 2em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.4em; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: .6em 1.6em;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600;
}
.trust-row span { display: inline-flex; align-items: center; gap: .55em; }
.trust-row .d { color: var(--sage); font-size: .6rem; }

/* fanned deck of template heroes */
.deck {
  position: relative;
  aspect-ratio: 1.06;
  max-width: 520px;
  margin: 0 auto 34px; /* room for the caption hanging below the fan */
  width: 100%;
}
.deck a {
  position: absolute;
  width: 62%;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 4.5%;
  box-shadow: 0 24px 60px -18px rgba(47, 58, 41, .35);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  display: block;
}
.deck a img { width: 100%; height: auto; }
.deck a:nth-child(1) { top: 6%; left: 0; transform: rotate(-7deg); z-index: 1; }
.deck a:nth-child(2) { top: 0; left: 19%; transform: rotate(.5deg); z-index: 2; }
.deck a:nth-child(3) { top: 9%; left: 38%; transform: rotate(6.5deg); z-index: 3; }
.deck a:hover { transform: rotate(0deg) translateY(-12px) scale(1.03); z-index: 5; box-shadow: 0 36px 80px -16px rgba(47, 58, 41, .45); }
.deck .deck-caption {
  position: absolute; bottom: -4%; left: 50%; transform: translateX(-50%);
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-soft); white-space: nowrap;
}

/* ---------- ticker ---------- */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 13px 0;
  background: var(--paper-deep);
}
.ticker-track {
  display: flex; gap: 3em; width: max-content;
  animation: ticker 38s linear infinite;
  font-family: var(--serif); font-style: italic;
  font-size: 1rem; color: var(--ink-soft);
  white-space: nowrap;
}
.ticker-track span::after { content: "◆"; font-style: normal; font-size: .55em; color: var(--sage); margin-left: 3em; vertical-align: .25em; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ============================================================
   COLLECTION GRID
   ============================================================ */
.collection { padding: var(--sect) 0; }
.section-head { margin-bottom: 52px; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin: .4em 0 .3em; }
.section-head .lede { margin: 0; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.head-row-side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.filter-row { display: flex; align-items: center; gap: .8em; }
.filter-row label {
  font-size: .66rem; font-weight: 800; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-soft);
}
.filter-row select {
  font: inherit; font-size: .9rem; color: var(--ink);
  background: var(--card); border: 1px solid var(--line);
  padding: .5em 1em; cursor: pointer;
}
.filter-row select:focus-visible { outline: 2px solid var(--accent, #7D8A5F); outline-offset: 2px; }

.product-grid {
  display: grid; gap: 26px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; } }

.product-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.product-card:hover { transform: translateY(-7px); box-shadow: 0 30px 60px -22px rgba(47, 58, 41, .38); }
.product-card .plate {
  position: absolute; top: 6px; right: 14px; z-index: 2;
  font-family: var(--serif); font-weight: 700; font-style: italic;
  font-size: 3.4rem; line-height: 1;
  color: var(--accent); opacity: .14;
  pointer-events: none;
}
.product-card figure { margin: 0; padding: 18px 18px 0; overflow: hidden; }
.product-card figure img {
  width: 100%; border: 1px solid var(--line-soft);
  transition: transform .6s var(--ease);
}
.product-card:hover figure img { transform: scale(1.035); }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-kicker {
  font-size: .66rem; font-weight: 800; letter-spacing: .26em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .7em;
}
.product-card h3 { font-size: 1.36rem; font-weight: 600; margin-bottom: .35em; }
.product-card p { margin: 0 0 1.1em; font-size: .92rem; color: var(--ink-soft); flex: 1; }
.card-foot {
  display: flex; align-items: baseline; justify-content: space-between;
  border-top: 1px solid var(--line-soft); padding-top: 14px;
}
.price { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; }
.price s { font-family: var(--sans); font-size: .78rem; font-weight: 400; color: var(--ink-faint); margin-left: .5em; }
.card-cta {
  font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: .5em;
}
.card-cta .arrow { transition: transform .3s var(--ease); }
.product-card:hover .card-cta .arrow { transform: translateX(5px); }

/* ============================================================
   WHY / FEATURES
   ============================================================ */
.why { background: var(--paper-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--sect) 0; }
.why .wrap { display: grid; gap: 54px; }
@media (min-width: 980px) { .why .wrap { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; } }
.why h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin: .4em 0 .5em; }
.why-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.why-item {
  display: grid; grid-template-columns: 54px 1fr; gap: 18px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
  align-items: start;
}
.why-num {
  font-family: var(--serif); font-style: italic; font-size: 1.5rem;
  color: var(--sage); line-height: 1.3;
}
.why-item h3 { font-size: 1.18rem; margin-bottom: .25em; }
.why-item p { margin: 0; font-size: .93rem; color: var(--ink-soft); }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: var(--sect) 0; }
.about .wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 880px) { .about .wrap { grid-template-columns: 320px 1fr; gap: 76px; } }
.about-icon { position: relative; max-width: 280px; margin: 0 auto; }
.about-icon img { border-radius: 50%; border: 1px solid var(--line); }
.about-icon::after {
  content: ""; position: absolute; inset: -14px;
  border: 1px solid var(--line); border-radius: 50%;
}
.about h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: .4em 0 .55em; }
.about p { color: var(--ink-soft); max-width: 58ch; }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--sage-deep); margin-top: 1.2em; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--paper-deep); border-top: 1px solid var(--line); padding: var(--sect) 0; }
.faq .wrap { max-width: 860px; }
.faq .section-head { text-align: center; }
.faq .kicker { justify-content: center; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  font-family: var(--serif); font-size: 1.18rem; font-weight: 600;
  padding: 22px 4px;
  transition: color .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--sage); }
.faq-item summary .ind {
  font-family: var(--sans); font-size: 1.2rem; font-weight: 300; color: var(--sage);
  transition: transform .35s var(--ease); flex: none;
}
.faq-item[open] summary .ind { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 4px 24px; color: var(--ink-soft); font-size: .95rem; max-width: 64ch; }
.faq-item .faq-body a { color: var(--sage-deep); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--sage-deep); color: #EDE7D4;
  padding: 70px 0 36px;
}
.site-footer .wrap { display: grid; gap: 40px; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 1.2fr 1fr 1fr; } }
.site-footer .wordmark { color: #F6F1E2; font-size: 1.5rem; }
.site-footer .wordmark i { color: #B9C4A0; }
.foot-tag { font-family: var(--serif); font-style: italic; color: #C4CDAD; margin: .8em 0 0; font-size: 1.02rem; }
.site-footer h4 {
  font-size: .7rem; font-weight: 800; letter-spacing: .28em; text-transform: uppercase;
  color: #B9C4A0; margin: 0 0 1.1em;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65em; }
.site-footer ul a { color: #EDE7D4; text-decoration: none; font-size: .93rem; }
.site-footer ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(237, 231, 212, .22);
  padding-top: 24px; margin-top: 16px;
  display: flex; flex-wrap: wrap; gap: 1em 2em; justify-content: space-between;
  font-size: .78rem; color: #B9C4A0;
}

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.crumbs {
  padding: 26px 0 0;
  font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft);
}
.crumbs a { text-decoration: none; color: var(--ink-soft); }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { margin: 0 .7em; color: var(--sage); }
.crumbs .here { color: var(--accent); }

.product-hero { padding: 28px 0 var(--sect); }
.product-hero .wrap { display: grid; gap: 48px; align-items: start; }
@media (min-width: 980px) {
  .product-hero .wrap { grid-template-columns: 1.04fr .96fr; gap: 60px; }
  .gallery { position: sticky; top: 92px; }
}

/* gallery */
.gallery-main {
  margin: 0; background: var(--card);
  border: 1px solid var(--line);
  padding: 22px;
  position: relative;
}
.gallery-main .plate {
  position: absolute; top: 2px; right: 14px;
  font-family: var(--serif); font-style: italic; font-weight: 700;
  font-size: 3rem; color: var(--accent); opacity: .13;
  pointer-events: none;
}
.gallery-main img { width: 100%; border: 1px solid var(--line-soft); }
.gallery-main figcaption {
  text-align: center; padding-top: 14px;
  font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 700;
}
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 14px; }
.thumb {
  border: 1px solid var(--line); background: var(--card);
  padding: 5px; cursor: pointer;
  transition: border-color .25s, transform .25s var(--ease);
}
.thumb img { width: 100%; }
.thumb:hover { transform: translateY(-3px); }
.thumb.active { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }

/* ============================================================
   IN MOTION — editorial demo-video band (product pages)
   video autoplays muted on a loop like a gif; click to pause
   ============================================================ */
.motion {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  padding: var(--sect) 0;
  overflow: hidden;
}
/* minmax(0,…) so the video's intrinsic 1080px can't blow the tracks open */
.motion .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
@media (min-width: 980px) { .motion .wrap { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 76px; } }
.motion h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin: .4em 0 .5em; }
.motion .lede { margin: 0 0 1.8em; }
.motion-meta {
  display: flex; flex-wrap: wrap; gap: .6em 1.4em; margin: 0;
  font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft);
}
.motion-meta .d { color: var(--accent); font-size: .6rem; align-self: center; }

/* the video, mounted like a framed print */
.motion-frame {
  position: relative; margin: 0;
  width: min(100%, 560px); justify-self: center;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 16px;
  box-shadow: 0 34px 70px -32px rgba(47, 58, 41, .4);
}
@media (min-width: 980px) { .motion-frame { justify-self: end; } }
.motion-frame::before {
  content: ""; position: absolute; inset: 7px;
  border: 1px solid var(--line-soft);
  pointer-events: none;
}
.motion-frame video {
  display: block; width: 100%;
  aspect-ratio: 1 / 1;        /* listing videos are 1080×1080 */
  object-fit: cover;
  background: var(--paper-deep);
  cursor: pointer;
}
.motion-frame figcaption {
  text-align: center; padding: 14px 4px 2px;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft);
}
.motion-frame figcaption::before {
  content: "◆"; color: var(--accent);
  font-size: .65em; vertical-align: .25em; margin-right: 1em;
}
.gallery-video.paused::after {
  content: "▶";
  position: absolute; left: 50%; top: calc(50% - 18px); /* centre of the video, above the caption */
  transform: translate(-50%, -50%);
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  padding-left: 5px; box-sizing: border-box;
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  color: var(--paper); font-size: 1.15rem;
  pointer-events: none;
}

/* info column */
.p-info .kicker { margin-bottom: 1.2em; }
.p-info h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); margin: 0 0 .35em; }
.p-tagline {
  font-family: var(--serif); font-style: italic;
  font-size: 1.22rem; color: var(--accent);
  margin: 0 0 1.2em;
}
.price-row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: .6em; }
.price-row .price { font-size: 2rem; }
.price-row .chip {
  font-size: .66rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid var(--accent); color: var(--accent);
  padding: .55em 1em;
}
.platform-row {
  display: flex; gap: 1.6em; flex-wrap: wrap;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft);
  padding: 14px 0 4px;
}
.platform-row span { display: inline-flex; align-items: center; gap: .5em; }
.platform-row .d { color: var(--accent); }
.p-desc { color: var(--ink-soft); margin: 1.1em 0 1.6em; }
.buy-block { display: flex; flex-direction: column; gap: 12px; margin-bottom: 2.2em; }
.buy-block .btn { width: 100%; max-width: 420px; }
.buy-note { font-size: .78rem; color: var(--ink-soft); letter-spacing: .04em; }

.whats-inside { border-top: 1px solid var(--line); padding-top: 2em; }
.whats-inside h2 { font-size: 1.5rem; margin: 0 0 1em; }
.whats-inside h2 i { font-style: italic; font-weight: 500; color: var(--accent); font-size: .8em; }
.tab-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tab-list li {
  position: relative;
  padding: 13px 0 13px 32px; border-bottom: 1px solid var(--line-soft);
  font-size: .93rem; color: var(--ink-soft);
}
.tab-list li::before {
  content: "◆"; position: absolute; left: 6px; top: 19px;
  color: var(--accent); font-size: .55rem; line-height: 1;
}
.tab-list li strong { color: var(--ink); font-weight: 700; }

/* pairs-with */
.pairs { background: var(--paper-deep); border-top: 1px solid var(--line); padding: var(--sect) 0; }
.pairs .section-head { text-align: center; }
.pairs .kicker { justify-content: center; }
.pairs-grid { display: grid; gap: 26px; max-width: 760px; margin: 0 auto; }
@media (min-width: 700px) { .pairs-grid { grid-template-columns: 1fr 1fr; } }

/* sticky mobile buy bar */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--card);
  border-top: 1px solid var(--line);
  padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transform: translateY(110%);
  transition: transform .4s var(--ease);
  box-shadow: 0 -14px 40px -18px rgba(47, 58, 41, .4);
}
.buybar.show { transform: translateY(0); }
.buybar .price { font-size: 1.25rem; }
.buybar .btn { padding: .8em 1.5em; font-size: .72rem; }
@media (min-width: 980px) { .buybar { display: none; } }
@media (max-width: 979px) {
  /* keep the fixed buy bar from covering the footer's last lines */
  body:has(.buybar) .site-footer { padding-bottom: calc(36px + 72px + env(safe-area-inset-bottom)); }
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
