/* =========================================================
   To Dungeons Deep — stylesheet
   Plain CSS, no build step. Colours live in :root below.
   ========================================================= */

:root {
  --ink: #131511;
  --ink-2: #1d201b;
  --ink-3: #272b24;
  --paper: #efe7d6;
  --paper-2: #e5d9c2;
  --paper-3: #f6f0e3;
  --moss: #3d4f42;
  --moss-2: #2e3c32;
  --moss-light: #7e917f;
  --brass: #a87a3e;
  --brass-light: #d1a563;
  --brass-glow: #f0c27a;
  --wa: #25d366;
  --wa-dark: #128c4b;
  --text-muted: #5d5b52;
  --line: rgba(19, 21, 17, .16);
  --line-light: rgba(255, 255, 255, .14);
  --white: #fffdf7;
  --shadow: 0 24px 70px rgba(10, 11, 8, .22);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hand: Caveat, 'Segoe Print', cursive;
  --header-h: 4.875rem;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* Large screens (1440p, 4K): scale the whole layout up gently.
   Everything is sized in rem, so this one value grows text, header, spacing and content width together.
   16px at 1600px wide → ~19px at 2560px → 24px at 3840px. */
@media (min-width: 1600px) {
  html { font-size: clamp(16px, calc(10.29px + .357vw), 24px); }
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--brass-light); outline-offset: 3px; }
.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 200;
  padding: .8rem 1rem; background: var(--paper); color: var(--ink);
}
.skip-link:focus { top: 1rem; }

.shell { width: min(73.75rem, calc(100% - 3rem)); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  margin: 0 0 1.1rem; font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 1.875rem; height: 1px; background: currentColor; opacity: .6; }
.eyebrow .flag-dot { display: none; }

h1, h2, h3, .price, .feature-price strong, .dlg-price strong, .d20-num, .maker-facts dd { font-variant-numeric: lining-nums; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.02; margin: 0; }
h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); letter-spacing: -.02em; }
p { margin: 0; }
p + p { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.125rem; padding: .8rem 1.25rem; border: 1px solid transparent; border-radius: 2px;
  font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-lg { min-height: 3.625rem; padding: 1rem 1.6rem; font-size: .8rem; }
.button-primary { background: var(--brass-light); color: #1a150d; box-shadow: 0 8px 30px rgba(209,165,99,.18); }
.button-primary:hover { background: var(--brass-glow); box-shadow: 0 12px 40px rgba(240,194,122,.3); }
.button-ghost { border-color: rgba(255,255,255,.36); color: var(--white); background: rgba(10,12,10,.28); backdrop-filter: blur(4px); }
.button-ghost:hover { border-color: var(--wa); color: var(--white); }
.button-ghost .icon { color: var(--wa); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--moss); }
.button-wa { background: var(--wa); color: #06260f; }
.button-wa:hover { background: #3ee07b; }

/* =========================================================
   HEADER — fixed, transparent over hero, solid on scroll
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 90;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,11,9,.7), rgba(10,11,9,0));
  transition: opacity .35s ease;
}
.site-header.scrolled {
  background: rgba(17,19,15,.88);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(0.875rem) saturate(1.2);
  border-bottom-color: var(--line-light);
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.site-header.scrolled::before { opacity: 0; }
body.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; border-bottom-color: transparent; }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; transition: height .3s ease; }
.site-header.scrolled .nav { height: 4.125rem; }

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--white); position: relative; z-index: 2; }
.brand-mark { width: 1.875rem; height: 2.375rem; flex: 0 0 auto; color: var(--paper); }
.brand-mark .brand-arch { color: var(--brass-light); stroke: var(--brass-light); }
.brand-text { font-family: var(--serif); font-weight: 700; font-size: 1.06rem; letter-spacing: .17em; line-height: 1.08; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a:not(.button) {
  position: relative; font-size: .74rem; font-weight: 700; letter-spacing: .14em;
  text-decoration: none; text-transform: uppercase; padding: .4rem 0; color: rgba(255,255,255,.86);
}
.nav-links a:not(.button)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--brass-light); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-links a:not(.button):hover, .nav-links a.is-current { color: var(--brass-light); }
.nav-links a:not(.button):hover::after, .nav-links a.is-current::after { transform: scaleX(1); }
.menu-only { display: none !important; }

.nav-actions { display: flex; align-items: center; gap: .6rem; position: relative; z-index: 2; }

.sound-toggle {
  display: inline-flex; align-items: center; gap: .55rem;
  height: 2.625rem; padding: 0 .85rem;
  border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
  background: rgba(10,12,10,.25); cursor: pointer;
  font-size: .68rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase;
  transition: border-color .2s ease, color .2s ease;
}
.sound-toggle:hover { border-color: var(--brass-light); color: var(--brass-light); }
.sound-toggle[data-playing="true"] { border-color: rgba(209,165,99,.6); color: var(--brass-light); }

/* animated equaliser bars */
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 0.875rem; }
.eq i { width: 2.5px; height: 30%; background: currentColor; border-radius: 1px; transition: height .3s ease; }
.sound-toggle[data-playing="true"] .eq i, .eq.playing i { animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s !important; }
.eq i:nth-child(3) { animation-delay: -.6s !important; }
.eq i:nth-child(4) { animation-delay: -.15s !important; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }

.nav-wa {
  display: inline-flex; align-items: center; gap: .5rem; height: 2.625rem; padding: 0 1rem;
  border-radius: 999px; background: var(--wa); color: #06260f; text-decoration: none;
  font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  transition: background .2s ease, transform .2s ease;
}
.nav-wa:hover { background: #3ee07b; transform: translateY(-1px); }
.nav-wa .icon { width: 1.125rem; height: 1.125rem; }

.menu-btn {
  display: none; width: 2.75rem; height: 2.75rem; border: 1px solid rgba(255,255,255,.3); border-radius: 50%;
  background: rgba(10,12,10,.25); cursor: pointer; position: relative;
}
.menu-btn span { position: absolute; left: 0.8125rem; right: 0.8125rem; height: 1.5px; background: currentColor; transition: transform .3s ease, opacity .2s ease, top .3s ease; }
.menu-btn span:nth-child(1) { top: 0.9375rem; }
.menu-btn span:nth-child(2) { top: 1.3125rem; }
.menu-btn span:nth-child(3) { top: 1.6875rem; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 1.3125rem; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { top: 1.3125rem; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
/* Wide screens: the whole painting is shown (nothing cropped) and parked on the right,
   so the party on the stairs sits clear of the text column. Its edges feather into the dark.
   --art-w: as wide as possible while still fitting the screen height.
   --copy-w: text column width; the headline is sized from it so it can never reach the figures. */
.hero {
  --art-w: min(74vw, calc((100svh - 2rem) * 1.432));
  --copy-w: min(34rem, 43vw);
  position: relative; min-height: max(40rem, 100svh); display: grid;
  color: var(--white); overflow: hidden; background: #14130f; isolation: isolate;
}
.hero-media {
  position: absolute; z-index: -1; will-change: transform; overflow: hidden;
  right: -2vw; top: 50%; width: var(--art-w); aspect-ratio: 1280 / 894; margin-top: calc(var(--art-w) / -2.864);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 13%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 13%, #000 82%, transparent 100%);
  mask-composite: intersect;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  filter: saturate(.85) contrast(1.06);
  animation: heroZoom 22s ease-out both;
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 45% 48%, rgba(12,13,11,0) 50%, rgba(12,13,11,.45) 100%);
}
/* flickering torchlight over the adventurer's staff */
.torch-glow {
  position: absolute; left: 37%; top: 45%; width: 80%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; z-index: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(255,196,110,.34) 0%, rgba(255,160,70,.12) 30%, rgba(255,150,60,0) 62%);
  mix-blend-mode: screen; animation: flicker 3.2s infinite steps(1, end);
}
@keyframes flicker {
  0% { opacity: .9; } 8% { opacity: .75; } 12% { opacity: 1; } 30% { opacity: .85; }
  34% { opacity: .95; } 52% { opacity: .78; } 60% { opacity: 1; } 78% { opacity: .86; } 90% { opacity: .96; }
}
/* drifting dust motes */
.dust {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(255,220,170,.8), transparent),
    radial-gradient(1px 1px at 40% 70%, rgba(255,220,170,.7), transparent),
    radial-gradient(1.5px 1.5px at 60% 40%, rgba(255,220,170,.6), transparent),
    radial-gradient(1px 1px at 75% 20%, rgba(255,220,170,.7), transparent),
    radial-gradient(1px 1px at 30% 85%, rgba(255,220,170,.6), transparent),
    radial-gradient(1.5px 1.5px at 85% 60%, rgba(255,220,170,.5), transparent);
  background-size: 26.25rem 26.25rem;
  animation: dust 40s linear infinite;
}
@keyframes dust { from { background-position: 0 0; } to { background-position: 11.25rem -26.25rem; } }

.hero-inner {
  position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--header-h) + 2rem); padding-bottom: 4rem;
}
.hero-copy { max-width: var(--copy-w); position: relative; }
/* soft shade that travels with the text, so it stays readable wherever the column lands on the painting */
.hero-copy::before {
  content: ''; position: absolute; inset: -18% -35% -12% -40%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 42% 55%, rgba(12,13,11,.62) 0%, rgba(12,13,11,.35) 45%, rgba(12,13,11,0) 72%);
}
.hero .eyebrow, .hero-lead { text-shadow: 0 1px 12px rgba(0,0,0,.85); }
.hero .eyebrow { color: var(--brass-light); }
.hero h1 {
  font-size: calc(var(--copy-w) / 6.1); letter-spacing: -.035em; font-weight: 600;
  text-shadow: 0 4px 40px rgba(0,0,0,.4);
}
.hero h1 .line { white-space: nowrap; }
@media (max-width: 380px) { .hero h1 .line { white-space: normal; } }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--brass-glow); }
.hero-lead { max-width: var(--copy-w); margin-top: 1.4rem; font-size: clamp(1rem, 1.25vw, 1.14rem); color: rgba(255,255,255,.8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }

.hero-copy > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > :nth-child(2) { animation-delay: .12s; }
.hero-copy > :nth-child(3) { animation-delay: .24s; }
.hero-copy > :nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: none; } }

.descend {
  position: absolute; right: 0; bottom: 3.5rem; display: flex; flex-direction: column; align-items: center; gap: .6rem;
  color: rgba(255,255,255,.62); text-decoration: none; font-family: var(--serif); font-style: italic; font-size: 1.05rem;
}
.descend svg { width: 1rem; height: 2.5rem; animation: bob 2.2s ease-in-out infinite; }
.descend:hover { color: var(--brass-light); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(0.375rem); } }

/* =========================================================
   PROMISE STRIP
   ========================================================= */
.promise { background: var(--ink); color: var(--white); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.promise-inner { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.promise li {
  display: flex; align-items: center; gap: .9rem; padding: 1.6rem 1.4rem;
  border-right: 1px solid var(--line-light);
}
.promise li:first-child { padding-left: 0; }
.promise li:last-child { border-right: 0; }
.promise .icon { width: 1.75rem; height: 1.75rem; color: var(--brass-light); }
.promise strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; line-height: 1.2; }
.promise li span { font-size: .8rem; color: rgba(255,255,255,.58); line-height: 1.35; }

/* =========================================================
   SECTIONS
   ========================================================= */
section { scroll-margin-top: 4rem; }
.section { padding: 7rem 0; position: relative; }
.parchment { background: var(--paper); }
.parchment::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background-image: var(--grain); mix-blend-mode: multiply;
}
.parchment > * { position: relative; }
.section-head { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: end; margin-bottom: 3rem; }
.section-head .eyebrow { color: var(--moss); }
.section-intro { max-width: 35rem; justify-self: end; color: var(--text-muted); font-size: 1.04rem; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.filter {
  padding: .6rem 1.05rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer;
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted);
  transition: all .2s ease;
}
.filter:hover { border-color: var(--moss); color: var(--moss); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.product-card {
  display: flex; flex-direction: column; text-align: left; padding: 0; cursor: pointer;
  background: var(--paper-3); border: 1px solid rgba(19,21,17,.1); border-radius: 3px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(34,31,24,.06);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, opacity .3s ease;
  animation: cardIn .5s cubic-bezier(.2,.7,.2,1) both;
}
.product-card:hover { transform: translateY(-0.375rem); box-shadow: 0 22px 50px rgba(34,31,24,.16); }
@keyframes cardIn { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }
.product-photo { aspect-ratio: 1 / 1; overflow: hidden; position: relative; background: #25241f; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-photo img { transform: scale(1.06); }
.product-photo::after {
  content: 'View details'; position: absolute; inset: auto 0 0; padding: .8rem 1rem;
  background: linear-gradient(0deg, rgba(12,13,11,.85), transparent); color: var(--white);
  font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  opacity: 0; transform: translateY(0.5rem); transition: opacity .25s ease, transform .25s ease;
}
.product-card:hover .product-photo::after { opacity: 1; transform: none; }
.tag {
  position: absolute; left: .8rem; top: .8rem; z-index: 1; padding: .35rem .6rem; border-radius: 2px;
  background: var(--paper); color: var(--ink); font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.product-body { padding: 1.1rem 1.15rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.product-meta { display: flex; justify-content: space-between; gap: .5rem; margin-bottom: .45rem; color: var(--moss); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.product-meta span:last-child { color: var(--text-muted); }
.product-body h3 { font-size: 1.45rem; }
.product-body p { margin: .5rem 0 1rem; color: var(--text-muted); font-size: .86rem; line-height: 1.5; flex: 1; }
.product-foot { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.price { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.price small { font-family: var(--sans); font-size: .66rem; font-weight: 600; color: var(--text-muted); letter-spacing: .06em; text-transform: uppercase; margin-right: .3rem; }
.days { font-size: .72rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: .3rem; }
.grid-note { margin-top: 2rem; text-align: center; color: var(--text-muted); }
.grid-note a { color: var(--moss); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* =========================================================
   FEATURED
   ========================================================= */
.featured { background: var(--ink-2); color: var(--white); position: relative; overflow: hidden; }
.featured::before {
  content: ''; position: absolute; inset: 0; opacity: .05;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 1.5rem 1.5rem;
}
.feature-grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; min-height: 41.25rem; }
.feature-image { position: relative; overflow: hidden; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--ink-2)); pointer-events: none; }
.feature-badge {
  position: absolute; left: 1.5rem; top: 1.5rem; padding: .45rem .75rem; background: rgba(17,19,15,.8); backdrop-filter: blur(6px);
  border: 1px solid rgba(209,165,99,.45); color: var(--brass-light);
  font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.feature-copy { align-self: center; padding: 4.5rem clamp(2rem, 5vw, 5rem) 4.5rem clamp(1.5rem, 3vw, 2.5rem); }
.feature-copy .eyebrow { color: var(--brass-light); }
.feature-copy h2 { max-width: 9ch; }
.feature-copy > p { margin-top: 1.3rem; color: rgba(255,255,255,.72); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.4rem; padding: 0; margin: 1.8rem 0 2rem; list-style: none; color: rgba(255,255,255,.85); font-size: .9rem; }
.feature-list li { display: flex; gap: .55rem; }
.feature-list li::before { content: '✦'; color: var(--brass-light); }
.feature-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem .8rem; margin-bottom: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line-light); }
.feature-price .from { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.feature-price strong { font-family: var(--serif); font-size: 2.8rem; font-weight: 600; line-height: 1; }
.feature-price .save { font-size: .78rem; color: var(--moss-light); }
.feature-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.lead-time { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; color: rgba(255,255,255,.6); }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how { background: var(--ink); color: var(--white); overflow: hidden; }
.how::before {
  content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: radial-gradient(ellipse at 80% 0%, rgba(209,165,99,.12), transparent 55%);
}
.how .section-head .eyebrow { color: var(--brass-light); }
.how .section-intro { color: rgba(255,255,255,.66); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; position: relative; }
.step {
  position: relative; padding: 2rem 1.6rem 1.8rem; border: 1px solid var(--line-light); border-radius: 3px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.step:hover { border-color: rgba(209,165,99,.5); background: linear-gradient(180deg, rgba(209,165,99,.08), rgba(255,255,255,.01)); transform: translateY(-0.25rem); }
.step-no { position: absolute; right: 1.2rem; top: 1rem; font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: rgba(255,255,255,.08); line-height: 1; }
.step-icon { width: 2.375rem; height: 2.375rem; color: var(--brass-light); margin-bottom: 1.4rem; }
.step:nth-child(2) .step-icon { color: var(--wa); }
.step h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.step p { color: rgba(255,255,255,.64); font-size: .9rem; line-height: 1.55; }
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 3.125rem; right: -1.25rem; width: 1.25rem; height: 1px;
  background: repeating-linear-gradient(90deg, var(--brass-light) 0 4px, transparent 4px 8px); opacity: .6;
}
.timeline { margin-top: 2.6rem; }
.timeline-bar { display: flex; gap: 3px; height: 2.125rem; border-radius: 3px; overflow: hidden; }
.timeline-bar span {
  flex: 0 0 var(--w); display: flex; align-items: center; justify-content: center; white-space: nowrap; overflow: hidden;
  font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.07);
}
.timeline-bar span:nth-child(2) { background: rgba(37,211,102,.18); }
.timeline-bar span:nth-child(3) { background: rgba(209,165,99,.3); color: var(--white); }
.timeline-bar span:nth-child(4) { background: rgba(126,145,127,.28); }
.timeline p { margin-top: .9rem; font-size: .88rem; color: rgba(255,255,255,.6); }
.timeline strong { color: var(--brass-light); }

/* =========================================================
   CUSTOM ORDERS
   ========================================================= */
.custom { position: relative; padding: 7.5rem 0; color: var(--white); background: var(--moss-2); overflow: hidden; isolation: isolate; }
.custom-bg { position: absolute; inset: 0; z-index: -1; background: url('../assets/img/chapel.jpg') center / cover; opacity: .16; filter: grayscale(.4); }
.custom-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--moss-2) 25%, rgba(46,60,50,.6)); }
.custom-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: center; }
.custom-copy .eyebrow { color: var(--brass-light); }
.custom-copy h2 { max-width: 10ch; }
.custom-copy p { margin: 1.4rem 0 2rem; color: rgba(255,255,255,.76); font-size: 1.05rem; max-width: 32.5rem; }
.custom-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.custom-list li { padding: 1.8rem 1.6rem; background: var(--moss-2); transition: background .3s ease; }
.custom-list li:hover { background: #34453a; }
.custom-list h3 { font-size: 1.35rem; margin-bottom: .5rem; color: var(--paper); }
.custom-list h3::before { content: '✦ '; color: var(--brass-light); font-size: .9rem; vertical-align: .1em; }
.custom-list p { font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.55; }

/* =========================================================
   MAKER
   ========================================================= */
.maker-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 6rem; align-items: center; }
.maker-photos { position: relative; min-height: 32.5rem; }
.polaroid {
  position: absolute; margin: 0; padding: 0.75rem 0.75rem 3rem; background: #fbf8f1;
  box-shadow: 0 20px 50px rgba(34,31,24,.25), 0 2px 6px rgba(34,31,24,.15);
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 0.625rem; text-align: center; font-family: var(--hand); font-size: 1.35rem; color: #3b3a33; }
.p1 { width: 68%; left: 0; top: 0; transform: rotate(-4deg); }
.p2 { width: 56%; right: 0; bottom: 0; transform: rotate(5deg); }
.maker-photos:hover .p1 { transform: rotate(-6deg) translateY(-0.375rem); }
.maker-photos:hover .p2 { transform: rotate(7deg) translateY(-0.375rem); }
.polaroid::before {
  content: ''; position: absolute; left: 50%; top: -0.75rem; width: 5.625rem; height: 1.625rem; z-index: 1;
  background: rgba(230,215,170,.72); box-shadow: 0 1px 3px rgba(0,0,0,.1); transform: translateX(-50%) rotate(-6deg);
}
.p2::before { transform: translateX(-30%) rotate(8deg); }
.maker-copy .eyebrow { color: var(--moss); }
.maker-copy h2 { margin-bottom: 1.6rem; max-width: 13ch; }
.maker-copy > p:not(.eyebrow):not(.signature) { color: #3f3e37; font-size: 1.04rem; max-width: 36.25rem; }
.signature { margin-top: 1.6rem !important; font-family: var(--hand); font-size: 2.4rem; line-height: 1; color: var(--moss); transform: rotate(-2deg); transform-origin: left; }
.signature span { display: block; margin-top: .3rem; font-size: 1.2rem; color: var(--text-muted); }
.maker-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 2.2rem; margin: 2rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.maker-facts dt { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.maker-facts dd { margin: .2rem 0 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.tales { background: var(--paper-2); }
.tales .section-head { margin-bottom: 2.25rem; }
.tales .section-head .eyebrow { color: var(--moss); }
.tales-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tale { margin: 0; padding: 2rem 1.8rem; background: var(--paper-3); border: 1px solid var(--line); border-radius: 3px; display: flex; flex-direction: column; position: relative; }
.tale::before { content: '“'; position: absolute; right: 1.4rem; top: .2rem; font-family: var(--serif); font-size: 6rem; line-height: 1; color: rgba(168,122,62,.18); }
.stars { color: var(--brass); letter-spacing: .15em; font-size: .9rem; margin-bottom: 1rem; }
.tale p { font-family: var(--serif); font-size: 1.25rem; line-height: 1.4; font-weight: 500; flex: 1; }
.tale footer { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.tale footer strong { font-size: .9rem; }
.tale footer span { font-size: .78rem; color: var(--text-muted); }

/* =========================================================
   D20
   ========================================================= */
.roll { padding: 5.625rem 0; background: var(--ink-3); color: var(--white); position: relative; overflow: hidden; }
.roll::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 22% 50%, rgba(209,165,99,.14), transparent 40%); }
.roll-inner { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4rem; align-items: center; }
.d20 { position: relative; width: 11.25rem; height: 11.25rem; padding: 0; border: 0; background: none; cursor: pointer; transition: transform .3s ease; }
.d20:hover { transform: scale(1.05) rotate(-4deg); }
.d20 svg { width: 100%; height: 100%; filter: drop-shadow(0 16px 30px rgba(0,0,0,.5)); }
.d20-face { fill: #3a2f22; stroke: var(--brass-light); stroke-width: 1.5; }
.d20-inner { fill: #4a3c2a; stroke: var(--brass-light); stroke-width: 1.2; }
.d20-lines { fill: none; stroke: var(--brass-light); stroke-width: 1; opacity: .7; }
.d20-num { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-38%); text-align: center; font-family: var(--serif); font-size: 2.3rem; font-weight: 700; color: var(--brass-glow); pointer-events: none; }
.d20.rolling { animation: roll .9s cubic-bezier(.3,.8,.3,1); }
@keyframes roll { 0% { transform: rotate(0) scale(1); } 40% { transform: rotate(400deg) scale(.85); } 100% { transform: rotate(720deg) scale(1); } }
.d20.crit .d20-num { color: #7dff9e; text-shadow: 0 0 18px rgba(125,255,158,.6); }
.roll-copy .eyebrow { color: var(--brass-light); }
.roll-copy h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.roll-result { margin-top: 1.2rem; min-height: 6.875rem; max-width: 38.75rem; color: rgba(255,255,255,.72); }
.roll-result h3 { font-size: 1.7rem; color: var(--brass-glow); margin-bottom: .4rem; }
.roll-result .terrain { margin-top: .8rem; font-size: .82rem; color: rgba(255,255,255,.55); }
.roll-result .terrain a { color: var(--brass-light); font-weight: 700; }
.roll-result.show > * { animation: rise .5s ease both; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; align-items: start; }
.faq-grid .eyebrow { color: var(--moss); }
.faq-intro { margin: 1.4rem 0 2rem; justify-self: start; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; position: relative;
  font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1.25;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.4rem; font-weight: 300; color: var(--brass); transition: transform .3s ease;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list summary:hover { color: var(--moss); }
.faq-list details p { padding: 0 2.5rem 1.5rem 0; color: var(--text-muted); animation: rise .35s ease both; }

/* =========================================================
   CLOSING
   ========================================================= */
.closing { position: relative; min-height: 35rem; display: grid; place-items: center; text-align: center; color: var(--white); overflow: hidden; isolation: isolate; }
.closing::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url('../assets/img/hero.jpg') center 65% / cover; filter: saturate(.7); }
.closing::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(12,13,11,.6), rgba(12,13,11,.9)); }
.closing-inner { width: min(47.5rem, calc(100% - 3rem)); padding: 6.25rem 0; }
.closing .eyebrow { color: var(--brass-light); }
.closing .eyebrow::after { content: ''; width: 1.875rem; height: 1px; background: currentColor; opacity: .6; }
.closing h2 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
.closing p { max-width: 36.25rem; margin: 1.3rem auto 2.2rem; color: rgba(255,255,255,.76); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { padding: 4rem 0 2.25rem; background: #0d0f0b; color: rgba(255,255,255,.62); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 3rem; }
.footer-brand p { margin-top: 1.1rem; max-width: 22.5rem; font-size: .88rem; }
.footer-col strong { display: block; margin-bottom: .9rem; color: var(--white); font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.footer-col a { display: flex; align-items: center; gap: .55rem; margin: .5rem 0; font-size: .88rem; text-decoration: none; }
.footer-col a:hover { color: var(--brass-light); }
.footer-col .icon { color: var(--brass-light); }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1rem; margin-top: 3rem; padding-top: 1.375rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .75rem; color: rgba(255,255,255,.42); }

/* =========================================================
   FLOATING WHATSAPP + SOUND PROMPT
   ========================================================= */
.wa-fab {
  position: fixed; right: 1.375rem; bottom: 1.375rem; z-index: 80;
  display: flex; align-items: center; gap: .6rem; height: 3.625rem; padding: 0 1.2rem 0 1rem;
  border-radius: 999px; background: var(--wa); color: #06260f; text-decoration: none;
  box-shadow: 0 12px 34px rgba(18,140,75,.45);
  font-size: .78rem; font-weight: 800; letter-spacing: .06em;
  transform: translateY(140%); opacity: 0; transition: transform .4s cubic-bezier(.2,.7,.2,1), opacity .3s ease, background .2s ease;
}
.wa-fab.show { transform: none; opacity: 1; }
.wa-fab:hover { background: #3ee07b; }
.wa-fab .icon { width: 1.75rem; height: 1.75rem; }
.wa-fab::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa);
  animation: pulse 2.6s ease-out infinite; pointer-events: none;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }

.sound-prompt {
  position: fixed; right: max(1.5rem, calc((100vw - 73.75rem) / 2)); top: calc(var(--header-h) + 0.5rem); z-index: 91;
  display: flex; align-items: center; gap: .9rem; width: min(30rem, calc(100% - 2.75rem));
  padding: .85rem .9rem .85rem 1.1rem; color: var(--white); background: rgba(23,25,21,.96);
  border: 1px solid rgba(209,165,99,.3); border-left: 3px solid var(--brass-light); border-radius: 3px; box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transform: translateY(-0.75rem); opacity: 0; pointer-events: none;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), opacity .3s ease;
}
.sound-prompt.show { transform: none; opacity: 1; pointer-events: auto; }
.sound-prompt::before {
  content: ''; position: absolute; top: -0.4375rem; right: 11.625rem; width: 0.75rem; height: 0.75rem; transform: rotate(45deg);
  background: rgba(23,25,21,.96); border-left: 1px solid rgba(209,165,99,.3); border-top: 1px solid rgba(209,165,99,.3);
}
@media (max-width: 1100px) { .sound-prompt::before { right: 3.75rem; } }
@media (max-width: 960px) { .sound-prompt::before { right: 3.875rem; } }
.sound-prompt .eq { color: var(--brass-light); }
.sound-prompt p { flex: 1; font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }
.sound-prompt button { border: 0; cursor: pointer; }
.sound-yes { padding: .65rem .85rem; border-radius: 2px; background: var(--brass-light); color: #1a150d; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sound-yes:hover { background: var(--brass-glow); }
.sound-no { padding: .5rem .2rem; background: transparent; color: rgba(255,255,255,.6); font-size: .76rem; }
.sound-no:hover { color: var(--white); }

/* =========================================================
   PRODUCT DIALOG
   ========================================================= */
.product-dialog {
  width: min(61.25rem, calc(100% - 2rem)); max-height: calc(100dvh - 2.5rem); padding: 0; border: 0; border-radius: 4px;
  background: var(--paper-3); color: var(--ink); box-shadow: 0 40px 120px rgba(0,0,0,.5); overflow: auto;
}
.product-dialog::backdrop { background: rgba(8,9,7,.78); backdrop-filter: blur(4px); }
.product-dialog[open] { animation: dlgIn .35s cubic-bezier(.2,.7,.2,1); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(1.25rem) scale(.98); } to { opacity: 1; transform: none; } }
.dlg-close {
  position: absolute; right: 0.875rem; top: 0.875rem; z-index: 2; width: 2.625rem; height: 2.625rem; border: 0; border-radius: 50%;
  background: rgba(19,21,17,.75); color: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.dlg-close:hover { background: var(--ink); }
.dlg-grid { display: grid; grid-template-columns: 1fr 1fr; }
.dlg-img { background: #25241f; min-height: 100%; }
.dlg-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.dlg-body { padding: 2.4rem 2.2rem 2rem; }
.dlg-body .eyebrow { color: var(--moss); margin-bottom: .7rem; }
.dlg-body h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.dlg-body > p:not(.eyebrow) { margin-top: .9rem; color: var(--text-muted); }
.dlg-specs { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.2rem; margin: 1.4rem 0; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dlg-specs dt { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.dlg-specs dd { margin: .1rem 0 0; font-size: .88rem; font-weight: 600; line-height: 1.35; }
.dlg-body h3 { font-size: 1.2rem; margin-bottom: .5rem; }
#dlg-contents { margin: 0; padding: 0; list-style: none; font-size: .88rem; color: #3f3e37; }
#dlg-contents li { padding: .22rem 0 .22rem 1.3rem; position: relative; }
#dlg-contents li::before { content: '✦'; position: absolute; left: 0; color: var(--brass); font-size: .75rem; top: .35rem; }
.dlg-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; }
.dlg-price span { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.dlg-price strong { font-family: var(--serif); font-size: 2.3rem; font-weight: 600; line-height: 1; }
.dlg-note { margin-top: 1.2rem; font-size: .76rem; color: var(--text-muted); font-style: italic; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(1.625rem); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.steps .reveal:nth-child(2), .tales-grid .reveal:nth-child(2), .custom-list .reveal:nth-child(2) { transition-delay: .1s; }
.steps .reveal:nth-child(3), .tales-grid .reveal:nth-child(3), .custom-list .reveal:nth-child(3) { transition-delay: .2s; }
.steps .reveal:nth-child(4), .custom-list .reveal:nth-child(4) { transition-delay: .3s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-links { gap: 1.4rem; }
  .nav-wa span { display: none; }
  .nav-wa { width: 2.625rem; padding: 0; justify-content: center; }
}

@media (max-width: 960px) {
  :root { --header-h: 4.375rem; }
  .menu-btn { display: inline-block; }
  .nav-links {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: .4rem;
    padding: 5.625rem 2rem 2.5rem; background: rgba(13,15,11,.97); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
  }
  .nav-links::before {
    content: ''; position: absolute; inset: 0; z-index: -1; opacity: .12;
    background: url('../assets/img/hero.jpg') center / cover;
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a:not(.button) {
    font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3rem); font-weight: 600; letter-spacing: -.01em; text-transform: none;
    color: var(--white); transform: translateY(0.75rem); opacity: 0; transition: transform .4s ease, opacity .4s ease, color .2s ease;
  }
  .nav-links.open a:not(.button) { transform: none; opacity: 1; }
  .nav-links.open a:nth-child(2) { transition-delay: .04s; }
  .nav-links.open a:nth-child(3) { transition-delay: .08s; }
  .nav-links.open a:nth-child(4) { transition-delay: .12s; }
  .nav-links.open a:nth-child(5) { transition-delay: .16s; }
  .nav-links a:not(.button)::after { display: none; }
  .menu-only { display: inline-flex !important; margin-top: 1.6rem; }
  .nav-wa { display: none; }

  .hero-inner { padding-bottom: 4.375rem; }
  .descend { display: none; }
  .promise-inner { grid-template-columns: 1fr 1fr; }
  .promise li { padding: 1.3rem 1rem; border-bottom: 1px solid var(--line-light); }
  .promise li:nth-child(2) { border-right: 0; }
  .promise li:nth-child(odd) { padding-left: 0; }
  .promise li:nth-child(n+3) { border-bottom: 0; }
  .section-head { grid-template-columns: 1fr; gap: 1.2rem; }
  .section-intro { justify-self: start; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-image { min-height: 27.5rem; }
  .feature-image::after { background: linear-gradient(0deg, var(--ink-2), transparent 40%); }
  .feature-copy { padding: 2.5rem 1.5rem 4.5rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: none; }
  .custom-inner, .maker-grid, .faq-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .maker-photos { min-height: 0; aspect-ratio: 1.1; max-width: 35rem; width: 100%; margin-inline: auto; }
  .tales-grid { grid-template-columns: 1fr; max-width: 40rem; }
  .dlg-grid { grid-template-columns: 1fr; }
  .dlg-img img { aspect-ratio: 16 / 10; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 2rem); }
  .brand-text { font-size: .9rem; letter-spacing: .13em; }
  .brand-mark { width: 1.625rem; height: 2.0625rem; }
  .sound-label { display: none; }
  .sound-toggle { width: 2.625rem; padding: 0; justify-content: center; }

  .hero-lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; white-space: normal; }
  .feature-actions .button, .dlg-foot .button { width: 100%; }

  .promise-inner { grid-template-columns: 1fr; }
  .promise li { padding: 1rem 0 !important; border-right: 0; border-bottom: 1px solid var(--line-light) !important; }
  .promise li:last-child { border-bottom: 0 !important; }

  .section { padding: 5rem 0; }
  h2 { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -1rem; padding: 0 1rem 0.375rem; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: 0 0 auto; }
  .product-grid { gap: .8rem; }
  .product-body { padding: .85rem .85rem 1rem; }
  .product-body h3 { font-size: 1.2rem; }
  .product-body p { display: none; }
  .product-meta span:last-child { display: none; }
  .product-foot { flex-direction: column; gap: .1rem; margin-top: .6rem; }
  .price { font-size: 1.25rem; }
  .product-photo::after { display: none; }

  .feature-image { min-height: 20rem; }
  .feature-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .timeline-bar span { font-size: 0; }
  .timeline-bar span:nth-child(3) { font-size: .6rem; }
  .custom { padding: 5.25rem 0; }
  .custom-list { grid-template-columns: 1fr; }
  .maker-grid { gap: 2.5rem; }
  .maker-facts { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .roll { padding: 4.375rem 0; }
  .roll-inner { grid-template-columns: 1fr; gap: 1.5rem; justify-items: center; text-align: center; }
  .roll-copy .eyebrow::before { display: none; }
  .d20 { width: 9.375rem; height: 9.375rem; }
  .faq-list summary { font-size: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .legal { flex-direction: column; }

  .wa-fab { right: 1rem; bottom: 1rem; height: 3.5rem; width: 3.5rem; padding: 0; justify-content: center; }
  .wa-fab-label { display: none; }
  .sound-prompt { left: 0.75rem; right: 0.75rem; top: auto; bottom: 0.75rem; width: auto; flex-wrap: wrap; transform: translateY(140%); }
  .sound-prompt.show { transform: none; }
  .sound-prompt::before { display: none; }
  .sound-prompt p { flex: 1 1 calc(100% - 1.875rem); }
  .sound-yes { flex: 1; }
  body.prompt-open .wa-fab { opacity: 0; pointer-events: none; }

  .dlg-body { padding: 1.8rem 1.3rem 1.5rem; }
  .product-dialog { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 12px 12px 0 0; }
}

/* Phones: a full-bleed portrait crop would only show a thin sliver of the painting and lose the
   descending staircase. Instead the art sits as a wide window at the top, framed on the torch and the
   party, and fades into the page. Text starts over the dark underside of the stair, below the figures. */
@media (max-width: 700px), (max-width: 1100px) and (max-aspect-ratio: 1/1) {
  .hero { --art-h: min(118vw, 64svh); --copy-w: 40rem; min-height: 0; display: block; }
  .hero-media {
    inset: 0 0 auto; width: auto; height: var(--art-h); margin-top: 0; aspect-ratio: auto;
    -webkit-mask-image: none; mask-image: none;
  }
  .hero-media img { object-position: 44% 50%; }
  .hero-media::after {
    z-index: 2;
    background:
      linear-gradient(180deg, rgba(12,13,11,.65) 0%, rgba(12,13,11,0) 22%, rgba(12,13,11,0) 58%, rgba(20,19,15,.85) 82%, #14130f 100%);
  }
  .torch-glow { left: 31%; top: 45%; width: 110vw; }
  .hero-inner { display: block; padding-top: calc(var(--art-h) * .76); padding-bottom: 3.5rem; }
  .hero h1 { font-size: clamp(3.3rem, 15vw, 5.4rem); text-shadow: 0 2px 24px rgba(0,0,0,.7); }
  .hero-copy::before { display: none; }
  .descend { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
