/* ============================================================
   The True Light Temple Sanctuary — Sun-Bleached Earth
   Shared stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,300;1,9..144,400&family=Karla:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
  /* paper */
  --paper:        #F4EDE0;
  --paper-2:      #EDE4D3;
  --paper-3:      #E4D8C1;
  --paper-deep:   #DCCDB1;

  /* earth */
  --clay:         #A85B3C;
  --clay-soft:    #C07A57;
  --ochre:        #B8862F;
  --ochre-soft:   #D0A459;
  --sage:         #7E8B6C;
  --sage-soft:    #9BA689;

  /* garden — drawn from the backyard: foliage leads, bougainvillea accents */
  --verde:        #5A7539;
  --verde-deep:   #455B2B;
  --verde-soft:   #8AA25F;
  --verde-wash:   rgba(90, 117, 57, .09);
  --bloom:        #C21E63;
  --bloom-soft:   #E0518F;
  --bloom-wash:   rgba(194, 30, 99, .07);
  --stone:        #8A8378;

  /* ink */
  --ink:          #3A3129;
  --ink-soft:     #5C5145;
  --muted:        #857868;
  --line:         #D3C4AA;
  --line-soft:    #E2D6C0;

  --radius:       3px;
  --maxw:         1140px;
  --gutter:       clamp(1.25rem, 5vw, 3.5rem);

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans:  'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--clay); text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { color: var(--verde); text-decoration-color: var(--verde); }
::selection { background: var(--verde-wash); color: var(--ink); }

/* ---------- paper grain ---------- */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .16;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tight { padding: clamp(2.25rem, 5vw, 3.5rem) 0; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0 0 .55em; line-height: 1.14; letter-spacing: -.012em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); font-weight: 300; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 300; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.1rem; font-weight: 500; }
p { margin: 0 0 1.15em; max-width: 68ch; }
.lead { font-size: clamp(1.1rem, 1.9vw, 1.32rem); line-height: 1.6; color: var(--ink-soft); font-weight: 300; }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 1.15rem;
}
.eyebrow-sage { color: var(--verde); }
.eyebrow-ochre { color: var(--ochre); }
.eyebrow-bloom { color: var(--bloom); }
.eyebrow-verde { color: var(--verde); }

.kicker { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--ink-soft); line-height: 1.5; }
.small { font-size: .875rem; color: var(--muted); }
.tiny { font-size: .78rem; color: var(--muted); line-height: 1.6; }
.center { text-align: center; }
.center p, .center .lead { margin-left: auto; margin-right: auto; }

/* ---------- rules & ornaments ---------- */
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.rule-soft { height: 1px; background: var(--line-soft); border: 0; margin: 0; }
.glyph {
  font-family: var(--serif);
  color: var(--verde);
  font-size: 1.35rem;
  letter-spacing: .5em;
  text-align: center;
  opacity: .8;
  margin: 0 0 1.35rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 1.02em 2.1em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all .22s ease;
  text-align: center;
}
.btn-primary { background: var(--clay); color: #FBF6EC; border-color: var(--clay); }
.btn-primary:hover { background: #944E32; border-color: #944E32; color: #FBF6EC; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(58,49,41,.04); }
.btn-ochre { background: var(--ochre); color: #FBF6EC; border-color: var(--ochre); }
.btn-ochre:hover { background: #9C7124; border-color: #9C7124; color: #FBF6EC; }
.btn-bloom { background: var(--verde); color: #F7F9EF; border-color: var(--verde); }
.btn-bloom:hover { background: var(--verde-deep); border-color: var(--verde-deep); color: #F7F9EF; }
.btn-block { display: block; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.textlink {
  font-family: var(--sans); font-size: .88rem; font-weight: 500;
  color: var(--ink-soft); text-decoration: none;
  border-bottom: 1px solid var(--line); padding-bottom: 2px;
}
.textlink:hover { color: var(--verde); border-color: var(--verde); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 500;
  background: rgba(244,237,224,.93);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: .85rem var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}
.brand { font-family: var(--serif); font-size: 1.02rem; font-weight: 500; color: var(--ink); text-decoration: none; letter-spacing: .005em; white-space: nowrap; }
.brand span { color: var(--ochre); }
.nav-links { display: flex; gap: 1.45rem; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav-links a {
  font-size: .82rem; font-weight: 500; color: var(--ink-soft);
  text-decoration: none; letter-spacing: .015em; white-space: nowrap;
  padding-bottom: 2px; border-bottom: 1px solid transparent;
}
.nav-links a:hover { color: var(--verde); border-color: var(--verde); }
.nav-links a.active { color: var(--ink); border-color: var(--verde); }
.nav .btn { padding: .68em 1.35em; font-size: .72rem; }
@media (max-width: 900px) {
  .nav-inner { flex-wrap: wrap; gap: .7rem 1.1rem; }
  .nav-links { margin-left: 0; width: 100%; gap: 1.05rem; }
  .nav-links a { font-size: .78rem; }
}

/* ---------- image placeholders (shot notes) ---------- */
.ph {
  position: relative;
  background:
    linear-gradient(135deg, #E6DECF 0%, var(--paper-deep) 48%, #D6C7A6 78%, #CFD3B4 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 1.75rem 1.5rem;
  min-height: 240px;
  overflow: hidden;
}
.ph::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(90,117,57,.05) 14px 28px);
  pointer-events: none;
}
.ph-icon {
  width: 16px; height: 16px;
  border: 1px solid var(--verde-soft); border-radius: 1px;
  transform: rotate(45deg);
  position: relative; opacity: .5; flex: none;
}
.ph-label {
  font-family: var(--sans); font-size: .67rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--clay);
  margin-bottom: .5rem; position: relative; z-index: 1;
}
.ph-note {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: .95rem; line-height: 1.45; color: var(--ink-soft);
  max-width: 34ch; position: relative; z-index: 1; margin: 0;
}
/* a slot holding a real photograph */
.ph-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block; z-index: 3;
  background: var(--paper-2);
}
/* A large feature slot with no photograph in it yet simply steps aside,
   and the text beside it takes the full width. Add the photograph to
   images/ and the two-column layout comes back on its own. This is why
   the site is safe to publish before all the photographs exist. */
/* Same idea one level up: a whole grid of empty slots (the Snowboy spreads,
   for instance) steps aside until at least one photograph exists in it. */
.split > .grid:not(:has(.ph.has-img)) { display: none; }
.split:has(> .grid:not(:has(.ph.has-img))) { grid-template-columns: 1fr; }

.split > .ph:not(.has-img) { display: none; }
.split:has(> .ph:not(.has-img)) { grid-template-columns: 1fr; }
.split:has(> .ph:not(.has-img)) > div { max-width: 68ch; }

.ph.has-img { padding: 0; border-color: var(--line-soft); }
.ph.has-img .ph-icon { visibility: hidden; }
.ph.has-img::after { opacity: 0; }

.ph-hero { min-height: clamp(340px, 52vh, 560px); }
.ph-tall { min-height: 320px; }
.ph-wide { min-height: 280px; }
.ph-sq { aspect-ratio: 1; min-height: 0; }

/* Once a real photo is in the slot, let the photo's own shape lead.
   Standard (4:3) and portrait shots then crop gently instead of being
   cut down to a strip. Squares stay square. */
.ph.has-img { min-height: 0; }
.ph-hero.has-img { aspect-ratio: 3 / 2;  max-height: 72vh; }
.ph-tall.has-img { aspect-ratio: 4 / 5;  max-height: 620px; }
.ph-wide.has-img { aspect-ratio: 3 / 2;  max-height: 560px; }
.ph-sq.has-img   { aspect-ratio: 1; }
.chamber .ph.has-img { aspect-ratio: 4 / 3; }
.ph-video { min-height: 300px; }
.ph-video .ph-icon { border-radius: 50%; }
.ph-video .ph-icon::before {
  content: ''; width: 0; height: 0; border: none;
  border-left: 9px solid var(--clay); border-top: 6px solid transparent; border-bottom: 6px solid transparent;
  border-radius: 0; top: 7px; left: 11px;
}

/* ---------- grids ---------- */
.grid { display: grid; gap: clamp(1.25rem, 3vw, 2.25rem); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 5vw, 4rem); align-items: center; }
.split-wide { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 860px) {
  .g3, .g4, .split, .split-wide { grid-template-columns: 1fr; }
  .g2 { grid-template-columns: 1fr; }
}

/* ---------- cards ---------- */
.card {
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.1rem);
}
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }

.pillar { padding-top: 1.4rem; border-top: 2px solid var(--ochre); }
.grid .pillar:nth-child(3n+1) { border-top-color: var(--verde); }
.grid .pillar:nth-child(3n+2) { border-top-color: var(--ochre); }
.grid .pillar:nth-child(3n+3) { border-top-color: var(--bloom); }
.pillar h4 { font-family: var(--serif); font-size: 1.22rem; font-weight: 500; margin-bottom: .4em; }
.pillar p { font-size: .95rem; color: var(--ink-soft); margin-bottom: 0; }

.door {
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex; flex-direction: column;
  transition: border-color .22s ease, transform .22s ease;
  text-decoration: none; color: inherit;
}
.door:hover { border-color: var(--verde-soft); transform: translateY(-2px); }
.door:hover .textlink { color: var(--verde); border-color: var(--verde); }
.door .eyebrow { margin-bottom: .8rem; }
.door h3 { font-size: 1.32rem; margin-bottom: .5em; }
.door p { font-size: .94rem; color: var(--ink-soft); flex: 1; margin-bottom: 1.2em; }
.door .textlink { align-self: flex-start; }

/* ---------- chamber cards ---------- */
.chamber { display: flex; flex-direction: column; background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.chamber .ph { border: 0; border-bottom: 1px solid var(--line-soft); border-radius: 0; min-height: 230px; }
.chamber-body { padding: clamp(1.5rem, 3vw, 2rem); display: flex; flex-direction: column; flex: 1; }
.chamber-body h3 { margin-bottom: .3em; }
.chamber-meta {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-bottom: .9rem; margin-bottom: 1.15rem; border-bottom: 1px solid var(--line-soft);
}
.chamber-el { font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--verde); }
.chamber:hover { border-color: var(--verde-soft); }
.chamber { transition: border-color .22s ease; }
.rate { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; color: var(--clay); white-space: nowrap; }
.rate small { font-family: var(--sans); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sleeps {
  font-family: var(--sans); font-size: .78rem; font-weight: 500;
  color: var(--clay); margin: -.4rem 0 1rem; letter-spacing: .01em;
}
.chamber-body dl { margin: 0 0 1.35rem; }
.chamber-body dt { font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ochre); margin-bottom: .28rem; }
.chamber-body dd { margin: 0 0 1rem; font-size: .95rem; color: var(--ink-soft); line-height: 1.6; }
.chamber-body dd:last-child { margin-bottom: 0; }
.epithet {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 1rem; color: var(--clay); margin: -.15rem 0 .55rem;
}
.feline-law {
  margin: 1.5rem 0 1.6rem; padding: .95rem 1.05rem;
  background: var(--paper-3); border-left: 2px solid var(--verde-soft);
  border-radius: 0 3px 3px 0;
}
.feline-law-head {
  font-family: var(--sans); font-size: .63rem; font-weight: 700;
  letter-spacing: .19em; text-transform: uppercase;
  color: var(--verde-deep); margin: 0 0 .38rem;
}
.feline-law p:last-child {
  margin: 0; font-size: .92rem; line-height: 1.55; color: var(--ink-soft);
}
.chamber-body .btn { margin-top: auto; }

/* ---------- bands ---------- */
.band { background: var(--paper-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.band-deep { background: var(--paper-3); border-color: var(--line); }
.band-clay { background: linear-gradient(160deg, #A85B3C 0%, #8E4B31 100%); color: #F6ECDD; }
/* deep foliage band — the primary dark section across the site */
.band-bloom { background: linear-gradient(155deg, #56712F 0%, #3D5324 100%); color: #F1F3E7; }
.band-bloom h2, .band-bloom h3 { color: #F7F9EF; }
.band-bloom p { color: rgba(241,243,231,.9); }
.band-bloom .eyebrow { color: #C3D19A; }
.band-bloom .glyph { color: #E8A0BF; }
.band-bloom .btn-ghost { color: #F1F3E7; border-color: rgba(241,243,231,.42); }
.band-bloom .btn-ghost:hover { background: rgba(247,249,239,.14); border-color: #F7F9EF; }
.band-garden { background: linear-gradient(150deg, var(--paper-2) 0%, #E9E0CE 60%, #E4E5D3 100%); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.band-clay h2, .band-clay h3 { color: #FBF3E6; }
.band-clay p { color: rgba(246,236,221,.9); }
.band-clay .eyebrow { color: var(--ochre-soft); }
.band-clay .btn-ghost { color: #F6ECDD; border-color: rgba(246,236,221,.4); }
.band-clay .btn-ghost:hover { background: rgba(251,246,236,.12); border-color: #F6ECDD; }

/* ---------- rules list ---------- */
.rulelist { list-style: none; padding: 0; margin: 0; counter-reset: r; }
.rulelist li {
  counter-increment: r;
  padding: 1.65rem 0 1.65rem 3.6rem;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.rulelist li:last-child { border-bottom: 0; }
.rulelist li::before {
  content: counter(r);
  position: absolute; left: 0; top: 1.6rem;
  font-family: var(--serif); font-size: 1.5rem; font-weight: 300;
  color: var(--verde); line-height: 1;
  width: 2.4rem; text-align: center;
  border-right: 1px solid var(--line);
}
.plainlist li::before { color: var(--verde-soft); }
.rulelist h4 { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; margin-bottom: .45em; }
.rulelist p { font-size: .95rem; color: var(--ink-soft); margin-bottom: .7em; }
.rulelist p:last-child { margin-bottom: 0; }
.rulelist .tag { font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--clay); }

.plainlist { list-style: none; padding: 0; margin: 0; }
.plainlist li { padding: .82rem 0 .82rem 1.6rem; border-bottom: 1px solid var(--line-soft); position: relative; font-size: .96rem; color: var(--ink-soft); }
.plainlist li:last-child { border-bottom: 0; }
.plainlist li::before { content: '\25E6'; position: absolute; left: 0; top: .78rem; color: var(--ochre); font-size: 1.1rem; }
.plainlist strong { color: var(--ink); font-weight: 600; }

/* ---------- quiz ---------- */
.quiz-shell { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }
.progress { display: flex; gap: .55rem; justify-content: center; margin-bottom: 2.4rem; }
.pip { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--line); background: transparent; transition: all .3s ease; }
.pip.on { background: var(--ochre); border-color: var(--ochre); }
.pip.done { background: var(--sage); border-color: var(--sage); }

.stage { display: none; animation: fade .5s ease both; }
.stage.show { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.setting {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 1.08rem; color: var(--muted);
  padding-left: 1.1rem; border-left: 2px solid var(--ochre-soft);
  margin-bottom: 1.9rem;
}
.question { font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.85rem); font-weight: 400; line-height: 1.32; margin-bottom: 1.5rem; }
.scene p { font-size: 1.02rem; color: var(--ink-soft); }

.choices { display: grid; gap: .9rem; margin: 2rem 0 0; }
.choice {
  display: flex; gap: 1.1rem; align-items: flex-start; text-align: left;
  width: 100%; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.5rem; cursor: pointer;
  font-family: var(--sans); font-size: 1rem; line-height: 1.55; color: var(--ink);
  transition: all .2s ease;
}
.choice:hover:not(:disabled) { border-color: var(--verde-soft); background: var(--paper-3); }
.choice:disabled { cursor: default; }
.choice .key {
  font-family: var(--serif); font-size: 1.05rem; color: var(--ochre);
  border: 1px solid var(--line); border-radius: 50%;
  width: 2rem; height: 2rem; flex: none;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s ease;
}
.choice:hover:not(:disabled) .key { border-color: var(--clay); color: var(--clay); }
.choice.wrong { border-color: var(--clay); background: rgba(168,91,60,.07); opacity: .72; }
.choice.right { border-color: var(--sage); background: rgba(126,139,108,.12); }
.choice.right .key { border-color: var(--sage); color: var(--sage); }

.feedback { margin-top: 1.5rem; padding: 1.4rem 1.6rem; border-radius: var(--radius); display: none; animation: fade .45s ease both; }
.feedback.show { display: block; }
.feedback p { margin-bottom: 0; font-size: 1rem; }
.feedback.miss { background: rgba(168,91,60,.07); border: 1px solid rgba(168,91,60,.28); }
.feedback.miss p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.08rem; color: var(--ink-soft); }
.feedback.hit { background: rgba(126,139,108,.11); border: 1px solid rgba(126,139,108,.35); }
.feedback .spark { font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: .55rem; display: block; }
.feedback .whisper { font-family: var(--serif); font-size: 1.22rem; font-weight: 400; margin-bottom: .3rem; color: var(--ink); }
.feedback .btn, .feedback .textlink { margin-top: 1.1rem; }
.spark-gold  { color: var(--ochre); }
.spark-lapis { color: #4A6C8C; }
.spark-emerald { color: #4E7A5E; }

/* ---------- ledger / tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin: 2.25rem 0; }
.tier { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.35rem; text-align: center; background: var(--paper-2); }
.tier.featured { border-color: var(--verde); background: var(--verde-wash); }
.tier .amt { font-family: var(--serif); font-size: 2rem; font-weight: 300; color: var(--clay); display: block; margin-bottom: .3rem; }
.tier.featured .amt { color: var(--verde); }
.tier .nm { font-size: .82rem; color: var(--ink-soft); }
@media (max-width: 700px) { .tiers { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--paper-3); border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer h5 { font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .55rem; }
.footer li a { font-size: .92rem; color: var(--ink-soft); text-decoration: none; }
.footer li a:hover { color: var(--clay); }
.footer-vow { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.12rem; color: var(--ink-soft); max-width: 34ch; margin-bottom: 1rem; }
.footer-base { border-top: 1px solid var(--line); padding-top: 1.6rem; display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-base p { font-size: .8rem; color: var(--muted); margin: 0; }

/* ---------- page header ---------- */
.pagehead { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line-soft); }
.pagehead h1 { margin-bottom: .3em; }
.pagehead .lead { max-width: 60ch; }

/* ---------- misc ---------- */
.fineprint { font-size: .8rem; color: var(--muted); line-height: 1.65; border-top: 1px solid var(--line-soft); padding-top: 1.35rem; margin-top: 2.5rem; max-width: 72ch; }
.stack > * + * { margin-top: 1.15rem; }
.mb0 { margin-bottom: 0; }
.mt2 { margin-top: 2rem; }
.dl-inline { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.5rem; font-size: .95rem; }
.dl-inline dt { font-weight: 600; color: var(--ink); }
.dl-inline dd { margin: 0; color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}


/* ==================================================================
   PHOTO CROP ADJUSTMENTS
   ------------------------------------------------------------------
   Every photo is centred in its slot by default. If one is cropped
   badly — a head cut off, a cat sliced in half — find its line below,
   un-comment it (delete the slash-star at the start and the star-slash
   at the end of that line), then change the second number.

     0%   = keep the TOP of the photo
     50%  = keep the MIDDLE  (this is the default)
     100% = keep the BOTTOM

   The first number does the same left-to-right. Save, re-upload, done.
   ================================================================== */

/* --- home --- */
/* [src*="hero-backyard"]           { object-position: 50% 50%; } */
/* [src*="home-kittens"]            { object-position: 50% 50%; } */
/* [src*="life-sanctuary"]          { object-position: 50% 50%; } */

/* --- the cats --- */
/* [src*="cat-portrait"]            { object-position: 50% 40%; } */
/* [src*="cats-kittens"]            { object-position: 50% 50%; } */
/* [src*="cats-care"]               { object-position: 50% 50%; } */
/* [src*="garden-wide"]             { object-position: 50% 50%; } */
/* [src*="gallery-01-kitten"] { object-position: 50% 50%; } */
/* [src*="gallery-02-litter"]       { object-position: 50% 50%; } */
/* [src*="gallery-03-play"]         { object-position: 50% 50%; } */
/* [src*="gallery-04-midstride"]    { object-position: 50% 50%; } */
/* [src*="gallery-05-shade"]        { object-position: 50% 50%; } */
/* [src*="gallery-06-pair"]        { object-position: 50% 50%; } */

/* --- the chambers --- */
/* [src*="room-sanuel"]             { object-position: 50% 50%; } */
/* [src*="room-zareth"]             { object-position: 50% 50%; } */
/* [src*="room-nehari"]             { object-position: 50% 50%; } */
/* [src*="shared-space"]            { object-position: 50% 50%; } */

/* --- philosophy --- */
/* [src*="desert-garden"]           { object-position: 50% 50%; } */
/* [src*="portrait-ellen"]          { object-position: 50% 35%; } */

/* --- snowboy --- */
/* [src*="book-cover"]              { object-position: 50% 50%; } */
/* [src*="book-spread-01"]          { object-position: 50% 50%; } */
/* [src*="book-spread-02"]          { object-position: 50% 50%; } */
/* [src*="book-held"]               { object-position: 50% 50%; } */

/* --- the legacy project --- */
/* [src*="stone"]                   { object-position: 50% 50%; } */
