/* ==========================================================================
   The House — brand site pages (home, collections, flame society, story, concierge)
   Every class here is prefixed st-. Tokens and components come from base.css.
   ========================================================================== */

/* ---------- shared ---------- */
.st-sec { position: relative; overflow-x: clip; }
/* light editions: deepen the gold so it holds on ivory and blush */
.st-light { --gold: #94702e; --gold-2: #7a5a20; --gold-3: #b89a5e; --line: rgba(148, 112, 46, .34); }
.st-warm { background: radial-gradient(90% 70% at 22% 40%, #21170f, transparent 70%), #0d0a08; }
.st-deep { background: var(--bg-2); }

.st-serif-it { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.5; color: var(--ink); }
.st-statement { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.22; letter-spacing: .01em; text-wrap: balance; }
.st-statement em { color: var(--gold); }
.st-affirm { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(2.1rem, 5.2vw, 4.4rem); line-height: 1.08; letter-spacing: 0; color: var(--gold-2); text-wrap: balance; }
.st-light .st-affirm { color: var(--gold); }
.st-prose { max-width: 58ch; color: var(--ink-2); }
.st-prose > p + p { margin-top: 1.1em; }
.st-notes { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); line-height: 1.9; }
.st-numeral { font-family: var(--serif); font-weight: 300; font-size: clamp(3.4rem, 8vw, 6.5rem); line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--gold); opacity: .6; letter-spacing: .04em; }
.st-script-line { display: block; margin-top: 10px; }
.st-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.center .st-actions, .st-actions.is-center { justify-content: center; }
.st-quiet { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: color .3s, border-color .3s; }
.st-quiet:hover { color: var(--gold); border-color: var(--gold); }
.st-d1 { transition-delay: .12s; } .st-d2 { transition-delay: .24s; } .st-d3 { transition-delay: .36s; } .st-d4 { transition-delay: .48s; }

/* photograph in an explicit aspect-ratio box, with an offset gold keyline */
.st-framed { position: relative; isolation: isolate; margin: 0; }
.st-framed::after { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--line); z-index: -1; pointer-events: none; }
.st-framed.is-left::after { inset: 16px 16px -16px -16px; }
.st-frame { position: relative; aspect-ratio: var(--ar, 4 / 3); overflow: hidden; background: var(--bg-3); }
.st-frame > img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.st-frame.is-lined { border: 1px solid var(--line); }
.st-cap { margin-top: 30px; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); }

/* twelve-column editorial pairing */
.st-feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.6vw, 44px); row-gap: 48px; align-items: center; }
.st-feature > .st-media { grid-column: 1 / span 6; grid-row: 1; }
.st-feature > .st-copy { grid-column: 8 / span 5; grid-row: 1; }
.st-feature.is-flip > .st-media { grid-column: 7 / span 6; }
.st-feature.is-flip > .st-copy { grid-column: 1 / span 5; }
.st-feature.is-wide > .st-media { grid-column: 1 / span 7; }
.st-feature.is-wide > .st-copy { grid-column: 9 / span 4; }
.st-feature.is-wide.is-flip > .st-media { grid-column: 6 / span 7; }
.st-feature.is-wide.is-flip > .st-copy { grid-column: 1 / span 4; }
.st-feature.is-slim > .st-media { grid-column: 2 / span 4; }
.st-feature.is-slim > .st-copy { grid-column: 7 / span 5; }
.st-feature.is-slim.is-flip > .st-media { grid-column: 8 / span 4; }
.st-feature.is-slim.is-flip > .st-copy { grid-column: 2 / span 5; }
.st-feature.is-top { align-items: start; }
@media (max-width: 900px) {
  .st-feature > .st-media, .st-feature > .st-copy,
  .st-feature[class] > .st-media, .st-feature[class] > .st-copy { grid-column: 1 / -1; grid-row: auto; }
  .st-feature > .st-media { max-width: 560px; width: 100%; }
  .st-framed::after, .st-framed.is-left::after { inset: 10px -10px -10px 10px; }
}

/* ---------- home: hero ---------- */
.st-hero {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 120px;
  background:
    radial-gradient(70% 55% at 50% 34%, rgba(201, 163, 92, .11), transparent 70%),
    radial-gradient(120% 60% at 50% 112%, #1d140b, transparent 65%),
    #070605;
  color: #efe7d8;
}
.st-hero-mark { position: relative; display: grid; place-items: center; margin-bottom: clamp(24px, 4vh, 44px); }
.st-hero-mark .moth-mark { width: clamp(132px, 19vw, 230px); position: relative; filter: drop-shadow(0 0 26px rgba(230, 180, 90, .35)); }
.st-glow {
  position: absolute; left: 50%; top: 42%; width: clamp(300px, 46vw, 620px); aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 196, 110, .34), rgba(214, 138, 52, .13) 45%, transparent 72%);
  animation: st-breathe 7s ease-in-out infinite alternate;
}
@keyframes st-breathe { from { opacity: .62; transform: translate(-50%, -50%) scale(.94); } to { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } }
.st-hero-title { font-family: var(--serif); font-weight: 300; text-transform: uppercase; color: var(--gold); font-size: clamp(2.2rem, 7.2vw, 5.8rem); line-height: 1.04; letter-spacing: .16em; padding-left: .16em; text-wrap: balance; }
.st-hero-sub { font-size: clamp(.6rem, 1.2vw, .78rem); letter-spacing: .56em; padding-left: .56em; text-transform: uppercase; color: var(--gold); margin-top: 18px; }
.st-hero-promise { font-family: var(--serif); font-size: clamp(1.15rem, 1.9vw, 1.5rem); color: #cfc5b3; max-width: 34ch; margin: 28px auto 0; line-height: 1.5; }
.st-hero .st-actions { margin-top: 40px; justify-content: center; }
.st-hero-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 clamp(20px, 4vw, 56px) 26px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.st-hero-foot i { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); animation: st-drip 3.4s var(--ease) infinite; transform-origin: top; }
@keyframes st-drip { 0% { transform: scaleY(0); opacity: 0; } 35% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.st-hero-foot ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 30px; font-size: .6rem; letter-spacing: .32em; text-transform: uppercase; color: #81786a; }
.st-hero-foot a:hover { color: #e6cf9a; }
.st-hero-in > * { animation: st-rise 1.5s var(--ease) both; }
.st-hero-in > :nth-child(2) { animation-delay: .25s; } .st-hero-in > :nth-child(3) { animation-delay: .4s; }
.st-hero-in > :nth-child(4) { animation-delay: .6s; } .st-hero-in > :nth-child(5) { animation-delay: .8s; }
@keyframes st-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .st-hero-foot ul { display: none; } .st-hero { padding-bottom: 96px; } .st-hero .btn { width: 100%; max-width: 320px; } }

/* ---------- home: manifesto ---------- */
.st-manifesto { text-align: center; }
.st-manifesto .st-statement { margin-top: 28px; }
.st-manifesto .st-prose { margin: 32px auto 0; }

/* ---------- chapter label (I · Signature) ---------- */
.st-chapter { display: flex; align-items: center; gap: 16px; }
.st-chapter b { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 1.3rem; color: var(--gold); letter-spacing: .04em; }
.st-chapter i { flex: none; width: 44px; height: 1px; background: var(--gold); opacity: .6; }

/* ---------- home: sanctuary duo ---------- */
.st-duo { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; margin-top: clamp(48px, 6vw, 84px); }
.st-duo-rule { align-self: stretch; display: flex; flex-direction: column; align-items: center; gap: 18px; color: var(--gold); }
.st-duo-rule::before, .st-duo-rule::after { content: ""; flex: 1; width: 1px; background: linear-gradient(transparent, var(--line) 30%, var(--line) 70%, transparent); }
.st-duo-side { display: flex; flex-direction: column; }
.st-duo-side.is-morning { align-items: flex-end; text-align: right; }
.st-duo-art { display: block; width: min(100%, 300px); aspect-ratio: 4 / 5; margin-bottom: 28px; border: 1px solid var(--line-2); }
.st-duo-side p { max-width: 36ch; }
@media (max-width: 760px) {
  .st-duo { grid-template-columns: 1fr; gap: 44px; }
  .st-duo-rule { flex-direction: row; }
  .st-duo-rule::before, .st-duo-rule::after { height: 1px; width: auto; background: linear-gradient(90deg, transparent, var(--line) 30%, var(--line) 70%, transparent); }
  .st-duo-side, .st-duo-side.is-morning { align-items: center; text-align: center; }
}

/* ---------- home: the Palace doorway ---------- */
.st-palace { background: radial-gradient(80% 50% at 50% 0%, rgba(201, 163, 92, .09), transparent 70%), #0e0c0a; border-block: 1px solid var(--line); }
.st-palace-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.st-door {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 22px; text-align: center;
  width: min(100%, 380px); aspect-ratio: 5 / 7; margin-inline: auto; padding: 0 24px 44px; overflow: hidden;
  border: 1px solid var(--gold); border-radius: 999px 999px 0 0;
  background: radial-gradient(70% 46% at 50% 96%, rgba(255, 190, 100, .26), transparent 72%), linear-gradient(#0b0a09, #15100a);
  transition: box-shadow 1s var(--ease);
}
.st-door::before { content: ""; position: absolute; inset: 10px 10px 0; border: 1px solid var(--line); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none; }
.st-door::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 100%, rgba(255, 196, 110, .3), transparent 70%); opacity: 0; transition: opacity 1s var(--ease); pointer-events: none; }
.st-door:hover, .st-door:focus-visible { box-shadow: 0 30px 90px -30px rgba(230, 170, 80, .45); }
.st-door:hover::after, .st-door:focus-visible::after { opacity: 1; }
.st-door .moth-mark { width: clamp(84px, 30%, 120px); position: relative; z-index: 1; }
.st-door .wordmark { font-size: clamp(1rem, 1.5vw, 1.25rem); position: relative; z-index: 1; }
.st-door-cta { position: relative; z-index: 1; margin-top: 4px; }
.st-maisons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: clamp(56px, 7vw, 96px); }
.st-maisons .maison-card .row { flex-wrap: wrap; row-gap: 6px; }
.st-maisons-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-top: clamp(56px, 7vw, 96px); padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.st-maisons-head + .st-maisons { margin-top: 28px; }
@media (max-width: 860px) { .st-palace-head { grid-template-columns: 1fr; } .st-door { width: min(100%, 300px); } }

/* ---------- ritual / care strip ---------- */
.st-ritual { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: clamp(40px, 5vw, 64px); }
.st-ritual > li { padding: 32px clamp(16px, 2.4vw, 36px) 8px; border-left: 1px solid var(--line); }
.st-ritual > li:first-child { border-left: 0; padding-left: 0; }
.st-ritual b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.1rem; color: var(--gold); }
.st-ritual .h3 { margin-top: 10px; }
.st-ritual p { margin-top: 10px; font-size: .92rem; color: var(--ink-2); }
@media (max-width: 900px) {
  .st-ritual { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-ritual > li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .st-ritual > li:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 24px; }
}
@media (max-width: 520px) {
  .st-ritual { grid-template-columns: 1fr; }
  .st-ritual > li { border-left: 0; padding-left: 0; }
  .st-ritual > li + li { border-top: 1px solid var(--line); margin-top: 24px; }
}

/* ---------- inner page heads ---------- */
.st-head { padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(40px, 5vw, 72px); }
.st-head.is-over { padding-top: calc(var(--header-h) + clamp(56px, 9vw, 130px)); }
.st-head .lede { max-width: 46ch; }
.st-head.center .lede { margin-inline: auto; }

/* ---------- collections ---------- */
.st-jump { position: sticky; top: var(--header-h); z-index: 40; background: rgba(11, 10, 9, .9); backdrop-filter: blur(12px); border-block: 1px solid var(--line-2); }
.st-jump .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-block: 14px; }
.st-jump .chips::-webkit-scrollbar { display: none; }
.st-jump .chip { background: transparent; flex: none; }
.st-coll { scroll-margin-top: calc(var(--header-h) + 64px); border-top: 1px solid var(--line-2); }
.st-coll:first-of-type { border-top: 0; }
.st-coll-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.st-coll-intro { position: sticky; top: calc(var(--header-h) + 96px); }
.st-coll-intro .st-numeral { margin-bottom: 18px; }
.st-coll-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 44px 28px; }
.st-coll-count { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.st-tile { margin: 0; }
.st-tile .st-frame { --ar: 4 / 5; border: 1px solid var(--line-2); }
.st-tile figcaption { padding-top: 16px; font-family: var(--serif); font-style: italic; font-size: 1.08rem; line-height: 1.45; color: var(--ink-2); }
.st-verse { border-left: 1px solid var(--gold); padding-left: 20px; margin: 28px 0 0; }
@media (max-width: 900px) {
  .st-coll-grid { grid-template-columns: 1fr; }
  .st-coll-intro { position: static; }
}
@media (max-width: 520px) { .st-coll-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } .st-coll-items .product-card .name { font-size: 1.08rem; } }

/* ---------- flame society ---------- */
.st-soc-hero { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px)); padding-bottom: clamp(64px, 8vw, 120px); background: radial-gradient(70% 80% at 78% 40%, #2a1c12, transparent 70%), #0c0907; }
.st-arrives { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(40px, 5vw, 64px); }
.st-arrives > li { background: var(--bg); padding: clamp(24px, 3vw, 40px) clamp(20px, 2.4vw, 32px); }
.st-arrives b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); font-size: 1.1rem; }
.st-arrives .h3 { margin-top: 12px; }
.st-arrives p { margin-top: 10px; font-size: .92rem; color: var(--ink-2); }
@media (max-width: 980px) { .st-arrives { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .st-arrives { grid-template-columns: 1fr; } }
.st-season { padding-block: clamp(56px, 8vw, 116px); }
.st-season .st-affirm { font-size: clamp(1.9rem, 4vw, 3.3rem); margin-top: 26px; }
.st-season-meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .9rem; }
.st-season-meta dt { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); padding-top: 4px; }
.st-season-meta dd { margin: 0; color: var(--ink-2); }
.st-steps { counter-reset: st-step; margin-top: 28px; }
.st-steps > li { counter-increment: st-step; display: grid; grid-template-columns: 44px 1fr; gap: 6px; padding: 18px 0; border-top: 1px solid var(--line); }
.st-steps > li:last-child { border-bottom: 1px solid var(--line); }
.st-steps > li::before { content: counter(st-step, upper-roman); font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.15rem; }
.st-steps strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.2rem; line-height: 1.3; }
.st-steps span { display: block; color: var(--ink-2); font-size: .94rem; margin-top: 2px; }
.st-price { font-family: var(--serif); font-size: 1.5rem; color: var(--gold); font-variant-numeric: tabular-nums; }

/* ---------- story ---------- */
.st-story-hero { text-align: center; padding-top: calc(var(--header-h) + clamp(72px, 11vw, 160px)); padding-bottom: clamp(72px, 9vw, 130px); background: radial-gradient(60% 60% at 50% 30%, rgba(201, 163, 92, .1), transparent 70%), #080706; }
.st-story-hero .display { text-wrap: balance; }
.st-chapters { counter-reset: none; }
.st-ch { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr) minmax(0, 2fr); gap: clamp(20px, 4vw, 64px); align-items: start; }
.st-ch-label { position: sticky; top: calc(var(--header-h) + 40px); }
.st-ch-label .st-numeral { display: block; margin-bottom: 14px; }
.st-ch-body .st-prose { max-width: 60ch; font-size: 1.04rem; }
.st-ch-body .st-prose > p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 4.4em; line-height: .82; padding: .06em .12em 0 0; color: var(--gold); }
.st-pull { margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; }
.st-pull p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.22; color: var(--gold-2); text-wrap: balance; }
.st-pull::before { content: ""; display: block; width: 64px; height: 1px; background: var(--gold); margin-bottom: 26px; }
.st-light .st-pull p { color: var(--gold); }
.st-band { text-align: center; }
.st-band .st-affirm { max-width: 18ch; margin-inline: auto; }
@media (max-width: 900px) {
  .st-ch { grid-template-columns: 1fr; }
  .st-ch-label { position: static; display: flex; align-items: flex-end; gap: 20px; }
  .st-ch-label .st-numeral { margin: 0; }
}

/* ---------- concierge ---------- */
.st-concierge { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 104px); align-items: start; }
.st-form { padding: clamp(24px, 4vw, 52px); border: 1px solid var(--line); background: linear-gradient(rgba(201, 163, 92, .035), transparent 40%), var(--bg-2); position: relative; }
.st-form::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line-2); pointer-events: none; }
.st-form > * { position: relative; }
.st-err { display: block; min-height: 1.2em; margin-top: 6px; font-size: .76rem; color: var(--bad); letter-spacing: .02em; }
.st-form [aria-invalid="true"] { border-color: var(--bad); }
.st-sent { margin-top: 22px; padding: 18px 20px; border: 1px solid var(--line); border-left: 2px solid var(--gold); background: rgba(201, 163, 92, .05); font-size: .94rem; display: flex; gap: 14px; align-items: flex-start; }
.st-sent .moth-mark { margin-top: 4px; }
.st-ways { margin-top: 36px; border-top: 1px solid var(--line); }
.st-ways a { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); }
.st-ways a:hover { padding-left: 10px; }
.st-ways a:hover .h3 { color: var(--gold); }
.st-ways .h3 { transition: color .3s; }
.st-ways small { grid-column: 1; color: var(--ink-2); font-size: .88rem; }
.st-ways svg { grid-row: 1 / span 2; grid-column: 2; color: var(--gold); }
@media (max-width: 900px) { .st-concierge { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .st-glow, .st-hero-foot i, .st-hero-in > * { animation: none; }
  .st-hero-foot i { opacity: .6; }
  .st-door, .st-door::after, .st-ways a { transition: none; }
}
