/* Reliquary Woodworks — site styles
   Layout concept: THE NICHE. A reliquary is a vessel built to honour what it holds. Every image on the
   site sits inside an arched niche (the shape of the logo's shrine), on a warm near-black ground lit
   like candlelight. Sections are divided by carved rune bands: the box's own inscription, drawn from
   the same glyph data that drives the CNC. One theme, by choice: the hall is dark. */

:root {
  color-scheme: dark;
  /* ground */
  --ink:      #0E0B09;   /* warm black: the hall */
  --ink-2:    #171210;   /* raised surface */
  --ink-3:    #221A15;   /* card / panel */
  --ink-4:    #2E241D;   /* hairlines on panels */
  --ebony:    #191614;
  --walnut:   #6B4730;
  --walnut-2: #8C5F3F;
  /* text */
  --bone:     #EFE5D3;
  --bone-2:   #BFB09A;
  --bone-3:   #968872;
  /* precious */
  --gold:     #C9A45C;
  --gold-2:   #EAD08D;
  --gold-3:   #8E6E34;
  --silver:   #C4C9CF;
  --silver-2: #EEF1F4;
  --silver-3: #7B838D;
  --crimson:  #8E1E2B;
  --crimson-2:#5A1120;
  /* the leaf: the accent that follows the chosen finish */
  --leaf:   var(--gold);
  --leaf-2: var(--gold-2);
  --leaf-3: var(--gold-3);
  /* type */
  --f-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --f-body:    "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-ui:      "Josefin Sans", "Futura", "Avenir Next", "Segoe UI", sans-serif;
  /* scale */
  --fs-xs: 0.75rem; --fs-s: 0.875rem; --fs-m: 1.2rem; --fs-l: 1.5rem;
  --fs-xl: clamp(2rem, 4.5vw, 3.4rem);
  --fs-xxl: clamp(2.6rem, 7vw, 5.6rem);
  --gutter: clamp(16px, 5vw, 72px);
  --wrap: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
}
:root[data-finish="silver"] { --leaf: var(--silver); --leaf-2: var(--silver-2); --leaf-3: var(--silver-3); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font-family: var(--f-body); font-size: 1.15rem; line-height: 1.55; font-weight: 500;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
main { overflow-x: clip; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 500; line-height: 1.05; text-wrap: balance; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--leaf-2); outline-offset: 3px; }
::selection { background: var(--crimson); color: var(--bone); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.eyebrow {
  font-family: var(--f-ui); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--leaf); display: inline-flex; align-items: center; gap: 0.75em;
}
.eyebrow::before { content: ""; width: 1.6em; height: 1px; background: var(--leaf); opacity: .7; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 1.6em; height: 1px; background: var(--leaf); opacity: .7; }
.lede { font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.45; color: var(--bone-2); font-weight: 400; max-width: 34em; }
.lede em, .prose em, h1 em, h2 em, .hero-title em { font-style: italic; color: var(--leaf-2); }
.prose { max-width: 62ch; color: var(--bone-2); font-size: 1.2rem; }
.prose p + p { margin-top: 1em; }
.prose strong { color: var(--bone); font-weight: 600; }
.center { text-align: center; }
.stack { display: grid; gap: 1.25rem; }
.tnum { font-variant-numeric: tabular-nums; }

/* --- Buttons: the gold leaf on ebony --- */
.btn {
  font-family: var(--f-ui); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: .7em; min-height: 3.1rem; padding: 0 1.7rem;
  border: 1px solid transparent; border-radius: 2px; transition: transform .35s var(--ease), box-shadow .35s, background .35s, color .35s, border-color .35s;
  position: relative; white-space: nowrap;
}
.btn-leaf { background: linear-gradient(160deg, var(--leaf-2), var(--leaf) 45%, var(--leaf-3)); color: var(--ink); box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--leaf) 60%, transparent); }
.btn-leaf:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px color-mix(in srgb, var(--leaf) 75%, transparent); }
.btn-leaf::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); background-size: 250% 100%; background-position: 120% 0; opacity: 0; transition: opacity .3s; }
.btn-leaf:hover::after { opacity: 1; animation: sheen 1.1s var(--ease) forwards; }
.btn-ghost { border-color: color-mix(in srgb, var(--bone) 35%, transparent); color: var(--bone); }
.btn-ghost:hover { border-color: var(--leaf); color: var(--leaf-2); }
.btn-ghost.leaf { border-color: color-mix(in srgb, var(--leaf) 60%, transparent); color: var(--leaf-2); }
.btn .arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
@keyframes sheen { to { background-position: -20% 0; } }

/* --- Nav --- */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px);
  transition: background .5s, box-shadow .5s, backdrop-filter .5s;
}
.nav.solid { background: color-mix(in srgb, var(--ink) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 color-mix(in srgb, var(--gold) 18%, transparent); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 74px; }
.brand { display: flex; align-items: center; gap: .9rem; }
.brand img { height: 46px; width: auto; }
.brand-name { font-family: var(--f-display); font-size: 1.35rem; letter-spacing: .04em; font-weight: 600; line-height: 1; }
.brand-name small { display: block; font-family: var(--f-ui); font-size: .58rem; letter-spacing: .32em; text-transform: uppercase; color: var(--bone-3); margin-top: .35em; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 2rem; font-family: var(--f-ui); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.nav-links a { position: relative; padding: .4em 0; color: var(--bone-2); transition: color .3s; }
.nav-links a:hover { color: var(--bone); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--leaf); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav .btn { min-height: 2.5rem; padding-inline: 1.2rem; font-size: .7rem; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--bone); }
.nav-toggle svg { width: 26px; height: 26px; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; position: absolute; inset-inline: 0; top: 100%;
    background: color-mix(in srgb, var(--ink) 96%, transparent); padding: 2rem var(--gutter) 2.5rem; font-size: .9rem;
    border-top: 1px solid var(--ink-4); box-shadow: 0 30px 40px -20px #000;
  }
  .nav-toggle { display: inline-flex; }
  .nav .btn.nav-cta { display: none; }
  .brand img { height: 40px; }
}

/* --- Sections --- */
.section { padding-block: clamp(4rem, 9vw, 9rem); position: relative; }
.section-tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section-head { display: grid; gap: 1.1rem; max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head h2, .h2 { font-size: var(--fs-xl); font-weight: 400; letter-spacing: -.005em; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.hair { height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--gold) 45%, transparent), transparent); border: 0; margin: 0; }

/* --- The niche: an arched frame for every image --- */
.niche { position: relative; aspect-ratio: 4 / 5; max-width: 100%; }
.niche-img { position: absolute; inset: 0; clip-path: url(#archClip); overflow: hidden; background: var(--ink-2); }
.niche-img img { width: 100%; height: 100%; object-fit: cover; }
.niche-img::after { content: ""; position: absolute; inset: 0; background: radial-gradient(95% 85% at 50% 42%, transparent 40%, rgba(8,5,4,.82) 100%); pointer-events: none; }
.niche-frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.niche-frame path { fill: none; stroke: var(--leaf); vector-effect: non-scaling-stroke; }
.niche-frame .outer { stroke-width: 1; opacity: .9; }
.niche-frame .inner { stroke-width: .6; opacity: .45; }
.niche-frame .finial { fill: var(--leaf); stroke: none; }
.niche.glow::before { content: ""; position: absolute; inset: -20% -25%; background: radial-gradient(50% 45% at 50% 55%, color-mix(in srgb, var(--leaf) 22%, transparent), transparent 70%); filter: blur(10px); pointer-events: none; animation: candle 6s ease-in-out infinite alternate; }
@keyframes candle { 0% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04) translateY(-1%); } 100% { opacity: .85; transform: scale(.98); } }

/* --- Hero (coffer) --- */
.hero { position: relative; padding-top: calc(74px + env(safe-area-inset-top, 0px) + clamp(2rem, 5vw, 4.5rem)); padding-bottom: clamp(3rem, 6vw, 5rem); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy { display: grid; gap: 1.6rem; align-content: center; }
.hero-title { font-size: var(--fs-xxl); font-weight: 400; line-height: .98; letter-spacing: -.01em; }
.hero-title .gilt { background: linear-gradient(100deg, var(--leaf-2) 0%, var(--leaf) 35%, var(--leaf-2) 50%, var(--leaf-3) 75%, var(--leaf) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gilt 4.5s var(--ease) .6s 1 both; }
@keyframes gilt { from { background-position: 120% 0; } to { background-position: -40% 0; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem 1rem; align-items: center; }
.hero-note { font-family: var(--f-ui); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-3); display: flex; flex-wrap: wrap; gap: .5em 1.4em; }
.hero-note span { display: inline-flex; align-items: center; gap: .6em; }
.hero-note span::before { content: ""; width: 4px; height: 4px; background: var(--leaf); transform: rotate(45deg); }
.hero-niche { width: min(100%, 520px); margin-inline: auto; position: relative; perspective: 1400px; }
.hero-niche .niche { transition: transform .9s var(--ease); transform-style: preserve-3d; will-change: transform; }
.hero-niche::after, .relic .niche::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -6%; height: 12%; background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,.75), transparent 70%); filter: blur(6px); z-index: -1; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-bg::before { content: ""; position: absolute; inset: -10% -10% 0; background: radial-gradient(60% 55% at 72% 45%, color-mix(in srgb, var(--walnut) 42%, transparent), transparent 70%), radial-gradient(45% 45% at 15% 95%, color-mix(in srgb, var(--crimson-2) 50%, transparent), transparent 70%); }
.hero-bg .grain { position: absolute; inset: 0; opacity: .35; background-image: 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.9 0 0 0 0 0.8 0 0 0 0 0.6 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.grain { position: absolute; inset: 0; pointer-events: none; opacity: .35; background-image: 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.9 0 0 0 0 0.8 0 0 0 0 0.6 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-niche { width: min(100%, 420px); order: -1; }
}

/* --- Rune bands --- */
.runeband { --h: 22px; color: var(--leaf); display: flex; flex-wrap: wrap; align-items: center; gap: .7em calc(var(--h) * .3); }
.runeband svg { height: var(--h); width: auto; flex: none; overflow: visible; display: block; }
.runeband path { fill: none; stroke: currentColor; stroke-width: .11; stroke-linecap: round; stroke-linejoin: round; }
.runeband .dot { fill: currentColor; }
.rune-divider { border-block: 1px solid color-mix(in srgb, var(--gold) 22%, transparent); background: var(--ebony); padding-block: 14px; position: relative; overflow: hidden; }
.rune-divider::before, .rune-divider::after { content: ""; position: absolute; top: 0; bottom: 0; width: 18%; z-index: 2; pointer-events: none; }
.rune-divider::before { left: 0; background: linear-gradient(90deg, var(--ebony), transparent); }
.rune-divider::after { right: 0; background: linear-gradient(-90deg, var(--ebony), transparent); }
.marquee { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee .runeband { padding-inline: 2.5rem; flex-wrap: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }
.rune-draw path, .rune-draw .dot { transition: none; }
.rune-draw.armed path { stroke-dasharray: 12; stroke-dashoffset: 12; }
.rune-draw.armed .dot { opacity: 0; }
.rune-draw.drawn path { animation: draw 1.4s var(--ease) forwards; }
.rune-draw.drawn .dot { animation: fadein .6s 1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }

/* --- Craft: the four cuts --- */
.craft-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.craft { display: grid; gap: 1.1rem; position: relative; }
.craft:nth-child(1) { grid-column: 1 / span 5; }
.craft:nth-child(2) { grid-column: 7 / span 6; margin-top: clamp(2rem, 6vw, 6rem); }
.craft:nth-child(3) { grid-column: 2 / span 6; margin-top: clamp(-2rem, -2vw, -1rem); }
.craft:nth-child(4) { grid-column: 8 / span 5; margin-top: clamp(1rem, 4vw, 4rem); }
.craft-img { position: relative; overflow: hidden; background: var(--ink-2); border: 1px solid color-mix(in srgb, var(--gold) 18%, transparent); }
.craft-img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform 1.2s var(--ease); }
.craft-img.tall img { aspect-ratio: 4 / 5; }
.craft-img.wide img { aspect-ratio: 16 / 9; }
.craft:hover .craft-img img { transform: scale(1.04); }
.craft-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,235,190,.10) 50%, transparent 60%); transform: translateX(-100%); transition: transform 1.1s var(--ease); pointer-events: none; }
.craft:hover .craft-img::after { transform: translateX(100%); }
.craft h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; }
.craft p { color: var(--bone-2); max-width: 44ch; }
.craft .n { position: absolute; top: -.2em; left: 0; font-family: var(--f-display); font-size: 5rem; font-weight: 300; color: color-mix(in srgb, var(--gold) 16%, transparent); line-height: 1; pointer-events: none; }
.craft-cap { font-family: var(--f-ui); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-3); }
@media (max-width: 860px) {
  .craft-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
  .craft:nth-child(n) { grid-column: auto; margin-top: 0; }
  .craft:nth-child(2) { margin-top: 3rem; } .craft:nth-child(4) { margin-top: 3rem; }
}
@media (max-width: 560px) { .craft-grid { grid-template-columns: 1fr; } .craft:nth-child(n) { margin-top: 0; } }

/* --- Finish switcher --- */
.finish { position: relative; }
.finish-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.seg { display: inline-grid; grid-auto-flow: column; gap: 0; border: 1px solid color-mix(in srgb, var(--bone) 22%, transparent); border-radius: 2px; padding: 3px; position: relative; isolation: isolate; }
.seg button { font-family: var(--f-ui); font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; padding: .85rem 1.4rem; color: var(--bone-2); position: relative; z-index: 1; transition: color .4s; min-width: 8.5rem; }
.seg button[aria-pressed="true"] { color: var(--ink); }
.seg .thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); background: linear-gradient(160deg, var(--leaf-2), var(--leaf) 50%, var(--leaf-3)); border-radius: 1px; transition: transform .5s var(--ease), background .6s; z-index: 0; }
:root[data-finish="silver"] .seg .thumb { transform: translateX(100%); }
.swap { position: relative; }

.swap img { transition: opacity .8s var(--ease); }
.swap img + img { position: absolute; inset: 0; opacity: 0; }
:root[data-finish="silver"] .swap img:first-child { opacity: 0; }
:root[data-finish="silver"] .swap img + img { opacity: 1; }
.finish-copy { display: grid; gap: 1.4rem; }
.finish-copy h2 { font-size: var(--fs-xl); font-weight: 400; }
.finish-desc { position: relative; min-height: 6.5em; }
.finish-desc > div { transition: opacity .5s var(--ease); }
.finish-desc > div + div { position: absolute; inset: 0; opacity: 0; }
:root[data-finish="silver"] .finish-desc > div:first-child { opacity: 0; }
:root[data-finish="silver"] .finish-desc > div + div { opacity: 1; }
.finish-desc h3 { font-size: 1.9rem; font-weight: 500; margin-bottom: .35em; }
.finish-desc h3 em { color: var(--leaf-2); font-style: italic; }
.finish-desc p { color: var(--bone-2); }
.finish-pair { margin-top: clamp(3rem, 6vw, 5rem); border: 1px solid color-mix(in srgb, var(--gold) 18%, transparent); overflow: hidden; }
.finish-pair img { width: 100%; }
.finish-pair figcaption { padding: 1rem 1.25rem; font-family: var(--f-ui); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-3); border-top: 1px solid var(--ink-4); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 860px) { .finish-grid { grid-template-columns: 1fr; } .finish-copy { order: -1; } }

/* --- Inscription --- */
.inscr { background: linear-gradient(180deg, var(--ink) 0%, var(--ebony) 30%, var(--ebony) 70%, var(--ink) 100%); }
.inscr-bands { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.band { display: grid; gap: .9rem; }
.band-label { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: baseline; }
.band-where { font-family: var(--f-ui); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--bone-3); }
.band-text { font-family: var(--f-display); font-size: clamp(1.25rem, 2vw, 1.6rem); font-style: italic; color: var(--bone-2); }
.band-text b { font-weight: 600; font-style: normal; color: var(--leaf-2); }
.band-runes { position: relative; padding: clamp(1.2rem, 3vw, 2rem) 1rem; border: 1px solid color-mix(in srgb, var(--gold) 20%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--ebony) 60%, var(--ink)) 0%, var(--ink-2) 100%); }
.band-runes .runeband { --h: clamp(26px, 3.4vw, 44px); justify-content: center; }
.band-runes .word { cursor: default; transition: color .3s, filter .3s; outline: none; }
.band-runes .word:hover, .band-runes .word:focus-visible, .band-runes .word.lit { color: var(--leaf-2); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--leaf) 70%, transparent)); }
.band-runes .word.dim { color: color-mix(in srgb, var(--leaf) 45%, var(--ink-4)); }
.rune-tip { position: absolute; z-index: 3; transform: translate(-50%, calc(-100% - 10px)); background: var(--leaf-2); color: var(--ink); font-family: var(--f-ui); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: .45em .8em .35em; border-radius: 2px; pointer-events: none; opacity: 0; transition: opacity .25s, left .25s var(--ease), top .25s var(--ease); white-space: nowrap; }
.rune-tip::after { content: ""; position: absolute; left: 50%; top: 100%; width: 8px; height: 8px; margin-left: -4px; margin-top: -4px; background: inherit; transform: rotate(45deg); }
.rune-tip.on { opacity: 1; }
.band-gloss { display: flex; flex-wrap: wrap; gap: .5rem .9rem; font-family: var(--f-ui); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-3); min-height: 1.4em; }
.band-gloss .g { color: var(--bone-2); }
.band-gloss .g b { color: var(--leaf-2); font-weight: 600; }
.band-gloss .g i { font-style: normal; opacity: .7; }
.inscr-note { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(3rem, 6vw, 5rem); }
.inscr-note h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: .4em; }
.inscr-note p { color: var(--bone-2); font-size: 1.05rem; }
@media (max-width: 760px) { .inscr-note { grid-template-columns: 1fr; } }

/* --- Inside: lift the lid --- */
.inside-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.lid { position: sticky; top: calc(90px + env(safe-area-inset-top, 0px)); aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid color-mix(in srgb, var(--gold) 18%, transparent); background: var(--ink-2); }
.lid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s var(--ease), transform 1.4s var(--ease); }
.lid img.open { opacity: 0; transform: scale(1.03); }
.lid.is-open img.open { opacity: 1; transform: none; }
.lid.is-open img.closed { opacity: 0; }
.lid-btn { position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%); }
.spec-list { display: grid; gap: 0; border-top: 1px solid var(--ink-4); }
.spec-list div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--ink-4); }
.spec-list dt { font-family: var(--f-ui); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-3); padding-top: .35em; }
.spec-list dd { margin: 0; color: var(--bone); }
.spec-list dd small { display: block; color: var(--bone-3); font-size: .95rem; }
@media (max-width: 860px) { .inside-grid { grid-template-columns: 1fr; } .lid { position: relative; top: auto; } }
@media (max-width: 480px) { .spec-list div { grid-template-columns: 1fr; gap: .2rem; } }

/* --- The hall: gallery with a candle --- */
.hall { background: #070504; color: var(--bone); padding-block: clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hall .section-head { color: var(--bone); }
.gallery { display: flex; gap: clamp(.75rem, 1.5vw, 1.25rem); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 1.5rem; scrollbar-width: none; cursor: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; flex: 0 0 auto; scroll-snap-align: center; position: relative; }
.gallery img { height: clamp(300px, 58vh, 620px); width: auto; max-width: 88vw; object-fit: cover; filter: brightness(.55); transition: filter .6s; }
.gallery figcaption { position: absolute; left: 1rem; bottom: 1rem; font-family: var(--f-ui); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-2); opacity: .8; }
.gallery.no-candle img { filter: brightness(.85); }
.candle { position: fixed; left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; pointer-events: none; z-index: 40; opacity: 0; transition: opacity .4s; will-change: transform; }
.candle.on { opacity: 1; }
.candle::before { content: ""; position: absolute; inset: 0; border-radius: 50%; mix-blend-mode: screen; background: radial-gradient(circle, rgba(255,214,150,.5) 0%, rgba(255,190,110,.22) 28%, rgba(200,140,70,.06) 55%, transparent 70%); animation: flicker 2.3s ease-in-out infinite; }
.candle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 14px 4px rgba(255,210,140,.8); }
@keyframes flicker { 0%,100% { transform: scale(1); } 30% { transform: scale(1.03) translate(1px,-1px); } 60% { transform: scale(.98) translate(-1px,1px); } 80% { transform: scale(1.02); } }
.hall-hint { font-family: var(--f-ui); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--bone-3); display: flex; align-items: center; gap: .8em; }
.hall-hint::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 10px 2px rgba(255,210,140,.7); }
@media (hover: none) { .candle { display: none; } .gallery { cursor: auto; } .gallery img { filter: brightness(.85); } }
@media (max-width: 700px) { .gallery img { height: clamp(240px, 52vw, 420px); } }

/* --- Reserve --- */
.reserve { position: relative; overflow: clip; }
.reserve::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 60% at 50% 100%, color-mix(in srgb, var(--crimson-2) 55%, transparent), transparent 70%); pointer-events: none; }
.reserve-card { position: relative; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); box-shadow: 0 40px 80px -40px #000; }
.reserve-card > * { padding: clamp(1.75rem, 4vw, 3.5rem); }
.reserve-copy { display: grid; gap: 1.2rem; align-content: start; border-right: 1px solid color-mix(in srgb, var(--gold) 18%, transparent); }
.reserve-copy h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 400; }
.reserve-copy .price { font-family: var(--f-display); font-size: clamp(3.5rem, 7vw, 5.5rem); line-height: 1; color: var(--leaf-2); font-weight: 300; display: flex; align-items: baseline; gap: .25em; font-variant-numeric: lining-nums; font-feature-settings: "lnum"; }
.reserve-copy .price small { font-size: .28em; font-family: var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--bone-3); font-weight: 600; }
.perks { display: grid; gap: .8rem; padding: 0; margin: 0; list-style: none; }
.perks li { display: flex; gap: .8rem; color: var(--bone-2); font-size: 1.1rem; }
.perks li::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: .5em; background: var(--leaf); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.perks b { color: var(--leaf-2); font-weight: 600; }
.reserve-copy h3 { font-size: 1.6rem; font-weight: 500; }
.form { display: grid; gap: 1rem; align-content: start; }
.field { display: grid; gap: .45rem; }
.field label { font-family: var(--f-ui); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-3); }
.field input { background: var(--ink); border: 1px solid var(--ink-4); color: var(--bone); padding: .9rem 1rem; border-radius: 2px; font-size: 1.1rem; transition: border-color .3s; width: 100%; min-width: 0; }
.field input:focus { border-color: var(--leaf); outline: none; }
.field input::placeholder { color: var(--bone-3); }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.choice label { display: grid; gap: .3rem; padding: .9rem 1rem; border: 1px solid var(--ink-4); border-radius: 2px; cursor: pointer; transition: border-color .3s, background .3s; }
.choice label:has(input:checked) { border-color: var(--leaf); background: color-mix(in srgb, var(--leaf) 8%, transparent); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice b { font-family: var(--f-ui); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.choice span { font-size: .95rem; color: var(--bone-3); }
.form .btn { width: 100%; }
.form-fine { font-size: .92rem; color: var(--bone-3); line-height: 1.45; }
.form-done { display: grid; gap: .8rem; align-content: center; text-align: center; padding: 1rem; }
.form-done h3 { font-size: 2rem; font-weight: 400; }
.form-done p { color: var(--bone-2); }
.form-err { color: #E39A8E; font-size: .95rem; }
@media (max-width: 860px) { .reserve-card { grid-template-columns: 1fr; } .reserve-copy { border-right: 0; border-bottom: 1px solid color-mix(in srgb, var(--gold) 18%, transparent); } }
@media (max-width: 420px) { .choice { grid-template-columns: 1fr; } }

/* --- FAQ --- */
.faq { display: grid; border-top: 1px solid var(--ink-4); }
.faq details { border-bottom: 1px solid var(--ink-4); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font-family: var(--f-display); font-size: 1.45rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-display); font-size: 1.8rem; font-weight: 300; color: var(--leaf); transition: transform .4s var(--ease); flex: none; width: 1em; text-align: center; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 1.4rem; color: var(--bone-2); max-width: 62ch; }

/* --- Sticky reserve pill --- */
.pill { position: fixed; z-index: 45; left: 50%; bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 140%); display: flex; align-items: center; gap: 1rem; padding: .5rem .5rem .5rem 1.2rem; background: color-mix(in srgb, var(--ink-3) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); border-radius: 999px; box-shadow: 0 20px 50px -20px #000; transition: transform .6s var(--ease); white-space: nowrap; max-width: calc(100% - 2rem); }
.pill.show { transform: translate(-50%, 0); }
.pill span { font-family: var(--f-display); font-size: 1.05rem; }
.pill .btn { min-height: 2.4rem; padding-inline: 1.1rem; font-size: .66rem; border-radius: 999px; }
@media (max-width: 480px) { .pill span { display: none; } .pill { padding-left: .5rem; } }

/* --- Footer --- */
.footer { border-top: 1px solid var(--ink-4); padding-block: clamp(3rem, 6vw, 5rem) 2rem; background: #090706; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 2.5rem; align-items: start; }
.footer .brand img { height: 120px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(1.5rem, 4vw, 4rem); }
.footer h4 { font-family: var(--f-ui); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--bone-3); margin-bottom: .8em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45em; font-size: 1.05rem; color: var(--bone-2); }
.footer ul a:hover { color: var(--leaf-2); }
.footer-note { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--ink-4); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-family: var(--f-ui); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-3); }
.footer-note .rw { color: var(--gold-3); }
.render-note { font-size: .95rem; color: var(--bone-3); max-width: 46ch; line-height: 1.5; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: 1fr 1fr; } }

/* --- Home page --- */
.home-hero { position: relative; min-height: min(92vh, 900px); display: grid; place-items: center; text-align: center; padding-top: calc(74px + env(safe-area-inset-top, 0px) + 2rem); padding-bottom: 3rem; overflow: clip; }
.home-hero-in { display: grid; justify-items: center; gap: 1.6rem; position: relative; }
.home-logo { width: clamp(150px, 22vw, 240px); position: relative; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
.home-logo::before { content: ""; position: absolute; inset: -40% -60%; background: radial-gradient(45% 45% at 50% 50%, color-mix(in srgb, var(--gold) 26%, transparent), transparent 70%); filter: blur(12px); z-index: -1; animation: candle 7s ease-in-out infinite alternate; }
.home-title { font-size: clamp(2.8rem, 7.5vw, 6.4rem); font-weight: 400; letter-spacing: .02em; line-height: 1; }
.home-title .gilt { background: linear-gradient(100deg, var(--gold-2) 0%, var(--gold) 35%, var(--gold-2) 50%, var(--gold-3) 75%, var(--gold) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gilt 4.5s var(--ease) .8s 1 both; }
.home-sub { font-family: var(--f-ui); font-size: .78rem; letter-spacing: .38em; text-transform: uppercase; color: var(--bone-3); }
.thesis { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.thesis article { display: grid; gap: .8rem; padding-top: 1.4rem; border-top: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); }
.thesis h3 { font-size: 1.7rem; font-weight: 500; }
.thesis p { color: var(--bone-2); font-size: 1.1rem; }
.thesis .glyph { width: 34px; height: 34px; color: var(--gold); }
@media (max-width: 760px) { .thesis { grid-template-columns: 1fr; } }
.relic { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.relic .niche { width: min(100%, 480px); }
.relic-copy { display: grid; gap: 1.4rem; }
.relic-copy h2 { font-size: var(--fs-xxl); font-weight: 400; line-height: .98; }
@media (max-width: 860px) { .relic { grid-template-columns: 1fr; } .relic .niche { margin-inline: auto; } }
.shop { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.shop-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: end; }
.shop-imgs img { width: 100%; border: 1px solid color-mix(in srgb, var(--gold) 18%, transparent); }
.shop-imgs .a { aspect-ratio: 4/5; object-fit: cover; }
.shop-imgs .b { aspect-ratio: 4/3; object-fit: cover; margin-bottom: 3rem; }
@media (max-width: 860px) { .shop { grid-template-columns: 1fr; } }
.vow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink-4); border: 1px solid var(--ink-4); }
.vow article { background: var(--ink-2); padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: .7rem; align-content: start; }
.vow h3 { font-size: 1.5rem; font-weight: 500; }
.vow p { color: var(--bone-2); font-size: 1.05rem; }
@media (max-width: 760px) { .vow { grid-template-columns: 1fr; } }
.signup { display: grid; grid-template-columns: 1fr auto; gap: .6rem; max-width: 560px; }
.signup input { background: var(--ink); border: 1px solid var(--ink-4); color: var(--bone); padding: .9rem 1rem; border-radius: 2px; font-size: 1.05rem; min-width: 0; }
.signup input:focus { border-color: var(--gold); outline: none; }
@media (max-width: 480px) { .signup { grid-template-columns: 1fr; } }

/* --- Reveal on scroll (only when JS is present; resting state is visible) --- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .12s; } .js .reveal[data-delay="2"] { transition-delay: .24s; } .js .reveal[data-delay="3"] { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-title .gilt, .home-title .gilt { animation: none; background-position: 0 0; }
  .niche.glow::before, .home-logo::before, .candle { animation: none; }
  .craft-img img, .btn { transition: none; }
}

/* ---- landing: the reserve form sits in the hero (14 Oct 2026) ---- */
.hero.reserve .hero-grid { align-items: start; }
.hero-form { display: grid; gap: 1.2rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); box-shadow: 0 40px 80px -40px #000; border-radius: 2px; }
.hero-form .price { font-family: var(--f-display); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--leaf-2); font-weight: 300; display: flex; align-items: baseline; gap: .3em; font-variant-numeric: lining-nums; font-feature-settings: "lnum"; }
.hero-form .price small { font-size: .3em; font-family: var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--bone-3); font-weight: 600; }
.hero-form .perks { gap: .5rem; }
.hero-form .perks li { font-size: 1rem; }


/* header balance: picture left, title + deposit card right (14 Oct 2026) */
.hero.reserve .hero-grid { grid-template-columns: 1fr 1fr; align-items: center; }
.hero.reserve .hero-niche { order: -1; width: min(100%, 560px); }
.hero.reserve .hero-copy { gap: 1.3rem; max-width: 560px; }
.hero-form .form { grid-template-columns: 1fr 1fr; gap: .9rem; }
.hero-form .form > * { grid-column: 1 / -1; }
.hero-form .form > .field { grid-column: auto; }
@media (max-width: 900px) { .hero.reserve .hero-grid { grid-template-columns: 1fr; } .hero.reserve .hero-copy { max-width: none; } }
@media (max-width: 480px) { .hero-form .form > .field { grid-column: 1 / -1; } }
.hero.reserve .hero-title { font-size: clamp(2.6rem, 4.6vw, 4.2rem); }
.hero.reserve .lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); }

/* ---- inside: tiled pictures matching the specs column; hover zoom + light sweep (14 Oct 2026) ---- */
.inside-grid:has(.tiles) { align-items: stretch; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(7, minmax(0, 1fr)); gap: .6rem; min-height: 100%;
  grid-template-areas: "a a" "a a" "a a" "b c" "b d" "e e" "e e"; }
.tile { position: relative; margin: 0; overflow: hidden; background: var(--ink-2); border: 1px solid color-mix(in srgb, var(--gold) 18%, transparent); min-height: 0; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 100%; transform-origin: 100% 100%; transition: transform 1.2s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,235,190,.10) 50%, transparent 60%); transform: translateX(-100%); transition: transform 1.1s var(--ease); pointer-events: none; }
.tile:hover img { transform: scale(1.04); }
.tile:hover::after { transform: translateX(100%); }
.t-a { grid-area: a; } .t-b { grid-area: b; } .t-c { grid-area: c; } .t-d { grid-area: d; } .t-e { grid-area: e; }
@media (max-width: 860px) { .tiles { grid-template-rows: none; grid-auto-rows: clamp(110px, 24vw, 200px); min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .tile img, .tile::after { transition: none; } }
.hero-form .kick-price { margin: -.4rem 0 0; font-family: var(--f-ui); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-3); }
.hero-form .kick-price b { color: var(--leaf-2); font-weight: 600; letter-spacing: .08em; }
.terms { border-top: 1px solid var(--ink-4); padding-top: .8rem; color: var(--bone-3); font-size: .92rem; line-height: 1.45; }
.terms summary { cursor: pointer; font-family: var(--f-ui); font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bone-2); }
.terms summary:hover { color: var(--leaf-2); }
.terms p { margin-top: .7rem; }
.terms b { color: var(--bone-2); font-weight: 600; }

.hero-form .price-sub { margin: .1rem 0 .2rem; font-family: var(--f-display); font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.35; color: var(--bone-2); font-weight: 500; font-style: italic; }
.hero-form .price-sub b { color: var(--leaf-2); font-weight: 600; }

.terms-link { justify-self: start; font-family: var(--f-ui); font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bone-2); text-decoration: none; border-bottom: 1px solid var(--ink-4); padding-bottom: .15rem; }
.terms-link:hover { color: var(--leaf-2); border-color: var(--leaf-2); }
.terms-sec { background: var(--ink-2); }
.terms-sec .h2 { margin: .8rem 0 1.4rem; }
.terms-sec .terms { border-top: 0; padding-top: 0; font-size: 1.05rem; line-height: 1.55; }
.terms-sec .terms p + p { margin-top: 1rem; }
