/* Seal of the Keeper keeps its own identity: warm ink-black ground, one antique gold,
   Fraunces for display and Spectral for reading (as on sealofthekeeper.com). */
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300 600; font-display: swap; src: url(/assets/fonts/fraunces-latin-opsz-italic.woff2) format("woff2-variations"); }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 300; font-display: swap; src: url(/assets/fonts/spectral-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/spectral-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 300; font-display: swap; src: url(/assets/fonts/spectral-latin-300-italic.woff2) format("woff2"); }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/spectral-latin-400-italic.woff2) format("woff2"); }

.page-keeper main {
  --k-void: #0A0806; --k-deep: #12100B; --k-stone: #191510; --k-edge: #3A3122;
  --k-bone: #F0E9DA; --k-parch: #D2C7B2; --k-ash: #9A8F7C;
  --k-gold: #C8A25C; --k-gold-hi: #E9D097;
  --fg: var(--k-bone); --fg-soft: var(--k-parch); --fg-muted: var(--k-ash); --line: rgba(200, 162, 92, .22); --line-soft: rgba(240, 233, 218, .08);
  background: var(--k-void); color: var(--k-bone);
}
.page-keeper main .eyebrow { color: var(--k-gold); font-family: var(--f-ui); }
.page-keeper main .btn--solid { background: var(--k-gold); color: var(--k-void); }
.page-keeper main .btn--solid::after { background: var(--k-gold-hi); }
.page-keeper main .btn--line { color: var(--k-bone); border-color: var(--line); }
.page-keeper main .btn--line:hover { border-color: var(--k-gold); }
.page-keeper main .btn--ghost { color: var(--k-gold); }
.page-keeper main :focus-visible { outline-color: var(--k-gold-hi); }
.page-keeper .crumbs ol { color: var(--k-ash); }

.house-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--mast-u) + var(--mast-b) + 3.2rem) 0 clamp(3.5rem, 8vh, 6rem); overflow: hidden; isolation: isolate; }
.house-hero__top { position: absolute; left: 0; right: 0; top: calc(var(--mast-u) + var(--mast-b) + 1.2rem); z-index: 2; }
.house-hero__film { position: relative; width: min(100%, 78rem, calc(60svh * 16 / 9)); margin: 0 auto auto; aspect-ratio: 16 / 9; -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 46%, #000 52%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 50% 46%, #000 52%, transparent 100%); }
.house-hero__still img, .house-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.house-hero__video { opacity: 0; transition: opacity .9s var(--ease); }
.house-hero__video.is-playing { opacity: 1; }
.house-hero__still { transition: opacity .9s var(--ease); }
.house-hero.has-film .house-hero__still { opacity: 0; }
.house-hero.film-ended .house-hero__still { opacity: 1; }
.house-hero__in { position: relative; text-align: center; margin-top: -1.5rem; }

.house-hero__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.house-hero__tagline { margin: 0 auto; font: italic 300 clamp(1.6rem, 3vw, 2.6rem)/1.25 "Fraunces", Georgia, serif; font-variation-settings: "opsz" 48; color: var(--k-bone); max-width: 30ch; }
.house-hero__desc { margin: 1.4rem auto 0; max-width: 36rem; font: 300 clamp(1.05rem, 1.4vw, 1.22rem)/1.65 "Spectral", Georgia, serif; color: var(--k-parch); }
@media (max-aspect-ratio: 4/5) {
  .house-hero__film { aspect-ratio: 9 / 16; width: min(100%, 30rem, calc(62svh * 9 / 16)); -webkit-mask-image: radial-gradient(ellipse 80% 64% at 50% 44%, #000 50%, transparent 100%); mask-image: radial-gradient(ellipse 80% 64% at 50% 44%, #000 50%, transparent 100%); }
  .house-hero__in { margin-top: -1rem; }
}

.k-section { position: relative; padding-block: clamp(5rem, 12vw, 10rem); background: var(--k-void); border-top: 1px solid rgba(200, 162, 92, .08); }
.k-section--stone { background: var(--k-deep); }
.k-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.k-split--rev .k-split__media { order: -1; }
.k-split__media { justify-self: center; width: min(100%, 28rem); }
.k-seal { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)); }
.k-h2 { font: 400 clamp(2rem, 3.8vw, 3.4rem)/1.12 "Fraunces", Georgia, serif; font-variation-settings: "opsz" 72; color: var(--k-bone); text-wrap: balance; letter-spacing: -.005em; }
.k-body { margin-top: 1.6rem; font: 300 clamp(1.08rem, 1.4vw, 1.25rem)/1.7 "Spectral", Georgia, serif; color: var(--k-parch); max-width: 34rem; }
.k-head { max-width: 44rem; margin: 0 auto clamp(3rem, 6vw, 4.5rem); text-align: center; }
.k-head .k-body { margin-inline: auto; }
.shelf { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.6vw, 2.4rem); margin-bottom: 1rem; }
.shelf__book { display: flex; flex-direction: column; gap: 1rem; }
.shelf__img { width: 100%; height: auto; aspect-ratio: 5 / 8; object-fit: cover; box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(200, 162, 92, .14); transition: transform .9s var(--ease-out); }
.shelf__book:hover .shelf__img { transform: translateY(-6px); }
.shelf__title { font: italic 300 1.05rem/1.3 "Spectral", Georgia, serif; color: var(--k-parch); text-align: center; }
.k-section--forthcoming { min-height: 72svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.k-section--forthcoming .instrument__fresh { stroke: var(--k-gold-hi); filter: drop-shadow(0 0 6px rgba(233, 208, 151, .7)); }
.k-section--forthcoming::after { background: radial-gradient(60% 70% at 20% 50%, rgba(10, 8, 6, .94), rgba(10, 8, 6, .6) 60%, rgba(10, 8, 6, .25)); }
.page-keeper .teaser__hook { font-family: "Spectral", Georgia, serif; font-weight: 300; }
@media (max-width: 820px) {
  .k-split { grid-template-columns: 1fr; }
  .k-split--rev .k-split__media { order: 0; }
  .k-split__media { width: min(80%, 22rem); }
  .shelf { grid-template-columns: repeat(2, 1fr); }
}
