/* Hex & Hearth — a walk through a stone garden, apothecary, and library. */
:root {
  color-scheme: dark;
  --walnut: #21170f;
  --deep: #18120d;
  --cream: #f2e5cc;
  --muted: #cbbda5;
  --gold: #e1b779;
  --moss: #98a66e;
  --moss-deep: #52613d;
  --moss-line: rgba(152, 166, 110, .34);
  --line: rgba(222, 182, 120, .28);
  --parchment: #d5bb8e;
  --paper-ink: #3d2b19;
  --serif: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--walnut); color: var(--cream); font-family: var(--sans); font-size: 1rem; line-height: 1.7; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
img { display: block; width: 100%; object-fit: cover; }
p { margin: 0 0 1.1rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.12; letter-spacing: -.035em; }
h1 i, h2 em, h3 em { color: var(--gold); font-weight: 400; }
h2 { font-size: clamp(2.5rem, 4.5vw, 4.2rem); }
.content-width { width: min(1180px, calc(100% - 112px)); margin-inline: auto; }
.section-space { padding-block: 90px; }
.eyebrow { font-size: .75rem; letter-spacing: .16em; line-height: 1.7; color: var(--gold); margin-bottom: 22px; font-weight: 600; }
.small-label { font-size: .75rem; letter-spacing: .1em; line-height: 1.7; }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 20px; padding: 12px 20px; color: var(--walnut); background: var(--cream); }
.skip-link:focus { top: 20px; }
.site-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; background: linear-gradient(rgba(20, 14, 8, .68), rgba(20, 14, 8, .1)); }
.header-inner { min-height: 96px; width: calc(100% - 96px); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark, .footer-brand { font-family: var(--serif); letter-spacing: .09em; font-size: 1.4rem; white-space: nowrap; }
.wordmark { text-shadow: 0 1px 9px #21170f; }
.wordmark i, .footer-brand i { color: var(--gold); }
#primary-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; font-size: .875rem; }
#primary-nav a { padding: 12px 0; text-shadow: 0 1px 8px #21170f; }
#primary-nav a:hover { color: var(--gold); }
.menu-toggle { display: none; }
.scene { position: relative; isolation: isolate; overflow: hidden; background: #302315; }
.scene-art { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene-shade { position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(0deg, #21170f 0%, rgba(26, 17, 8, .76) 18%, rgba(26, 17, 8, .08) 54%, transparent 78%); }
.garden-scene { min-height: 820px; min-height: max(760px, 100svh); display: flex; align-items: flex-end; justify-content: center; padding: 210px 32px 76px; }
.garden-scene .scene-art { object-position: center 48%; }
.garden-copy { text-align: center; width: 850px; max-width: 100%; text-shadow: 0 2px 22px rgba(17, 10, 5, .8); }
.garden-copy .eyebrow { margin-bottom: 12px; color: var(--moss); text-shadow: 0 1px 10px rgba(12, 18, 8, .9); }
.garden-copy h1 { font-size: clamp(3.5rem, 8.4vw, 7.9rem); letter-spacing: -.025em; line-height: 1.04; }
.garden-copy h1 i { font-size: .8em; }
.hero-invitation { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.3vw, 2.1rem); color: #ecd0a4; margin: 13px 0 19px; }
.hero-description { font-size: 1rem; color: #eddfc6; line-height: 1.8; margin-bottom: 25px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 35px; min-height: 52px; padding: 12px 27px; border: 1px solid #b48c53; background: rgba(46, 29, 13, .8); font-size: .875rem; color: #f3dfb8; transition: background .2s, border-color .2s; }
.button:hover { background: #684424; border-color: var(--gold); }
.button span { font-size: 1.15rem; }
.scene-marker { position: absolute; bottom: 40px; left: 48px; font-size: .75rem; letter-spacing: .14em; color: #d5bc91; }
.threshold { display: flex; justify-content: center; align-items: center; gap: 26px; padding: 29px 24px; background: var(--walnut); border-bottom: 1px solid var(--line); }
.threshold p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: #d9c3a0; }
.threshold span { color: var(--moss); font-size: 1.6rem; }
.room-scene { min-height: 750px; min-height: max(660px, 86svh); display: flex; align-items: flex-end; padding: 250px 0 68px; }
.room-copy { position: relative; }
.room-copy h2 { font-size: clamp(3rem, 5vw, 4.8rem); text-shadow: 0 2px 20px #1b1007; }
.room-copy>p:not(.eyebrow) { font-size: 1.05rem; color: #ebd9bc; line-height: 1.85; margin: 22px 0; max-width: 440px; text-shadow: 0 1px 10px #1b1007; }
.room-copy .eyebrow { margin-bottom: 18px; }
.scene-link { font-size: .875rem; display: inline-flex; align-items: center; gap: 24px; padding: 9px 0; border-bottom: 1px solid #b89460; }
.scene-link:hover { color: var(--gold); }
.apothecary-scene .scene-art { object-position: center 55%; }
.library-scene .scene-art { object-position: center 45%; }
.room-scene .scene-shade { background: linear-gradient(0deg, #21170f 0%, rgba(27, 17, 8, .85) 13%, rgba(27, 17, 8, .34) 37%, transparent 66%); }
.worktable-section { background: var(--walnut); }
.worktable-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 100px; align-items: start; }
.worktable-intro h2 { font-size: clamp(2.5rem, 3.6vw, 3.5rem); }
.worktable-intro>p:not(.eyebrow) { max-width: 360px; color: var(--muted); margin-top: 25px; }
.worktable-intro .collection-status { color: var(--moss); font-size: .875rem; border-top: 1px solid var(--moss-line); padding-top: 17px; max-width: max-content; }
.offering-list { min-width: 0; }
.offering-list details { border-top: 1px solid var(--line); }
.offering-list details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.offering-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; }
.item-number { font-family: var(--sans); font-size: .75rem; color: var(--gold); margin-right: 18px; vertical-align: middle; }
.detail-symbol { position: relative; width: 18px; height: 18px; flex: 0 0 18px; }
.detail-symbol:before, .detail-symbol:after { content: ""; position: absolute; width: 16px; height: 1px; top: 8px; left: 0; background: var(--gold); }
.detail-symbol:after { transform: rotate(90deg); }
details[open] .detail-symbol:after { transform: rotate(0); }
.detail-content { padding: 0 18px 25px 35px; color: var(--muted); font-size: 1rem; }
.detail-note { font-size: .875rem; }
.text-link { display: inline-flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); padding-bottom: 5px; color: var(--gold); font-size: .875rem; }
.text-link .reading-corner-arrow { display: block; flex-shrink: 0; width: 2em; height: auto; filter: sepia(1) saturate(.75); }
.ritual-section { position: relative; isolation: isolate; overflow: hidden; color-scheme: dark; color: var(--cream); background: #24180f; border-block: 1px solid #6f5738; }
.ritual-section::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("assets/hearth-library.webp") center 52% / cover no-repeat; }
.ritual-section::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(23,15,9,.88) 0%, rgba(24,16,10,.72) 38%, rgba(24,16,10,.46) 66%, rgba(20,14,9,.58) 100%), linear-gradient(0deg, rgba(20,14,9,.74) 0%, rgba(20,14,9,.12) 44%, rgba(20,14,9,.48) 100%); }
.ritual-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 100px; }
.ritual-copy .eyebrow { color: var(--gold); text-shadow: 0 2px 12px rgba(0,0,0,.72); }
.ritual-copy h2 { text-shadow: 0 2px 18px rgba(0,0,0,.72); }
.ritual-copy h2 em { color: #f0c982; }
.ritual-copy>p:not(.eyebrow) { max-width: 365px; font-size: 1rem; line-height: 1.85; margin-top: 25px; color: #f0e3ca; text-shadow: 0 2px 12px rgba(0,0,0,.72); }
.ritual-copy .quiet-note { color: #e4c99c; font-family: var(--serif); font-style: italic; }
.moment-card { min-width: 0; padding: 0; overflow: hidden; border: 1px solid #ad8b59; outline: 1px solid rgba(173,139,89,.55); outline-offset: -8px; background: linear-gradient(115deg, #e5cb9f, #f0ddbb 45%, #e5cca3); box-shadow: 0 18px 40px rgba(7, 5, 3, .35); }
/* Each moment is a real anchor target. The links work without JavaScript; JS only smooths the motion. */
.moment-track { display: flex; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.moment-track::-webkit-scrollbar { display: none; }
.moment-slide { flex: 0 0 100%; min-width: 100%; padding: 30px 34px 0; scroll-snap-align: start; scroll-snap-stop: always; }
.moment-slide .next-moment { cursor: pointer; text-decoration: none; }
.moment-slide .next-moment:focus-visible { outline: 2px solid #61482d; outline-offset: 5px; }

.moment-count { display: flex; justify-content: space-between; gap: 15px; color: #705130; font-size: .75rem; letter-spacing: .12em; }
.moment-count span { letter-spacing: .02em; }
.moment-content { min-height: 295px; padding: 28px 0; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.moment-star { color: #94713d; font-size: 2.5rem; line-height: 1; margin-bottom: 27px; }
.moment-content h3 { font-size: 2.1rem; line-height: 1.17; color: #4b321d; }
.moment-content p { font-size: 1rem; line-height: 1.8; color: #61482d; margin: 18px auto 0; max-width: 340px; min-height: 86px; }
.next-moment { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 19px 0; border: 0; border-top: 1px solid #bba077; color: #52391f; background: transparent; font-size: .875rem; }
.next-moment:hover { color: #201208; }
.next-moment span { font-size: 1.5rem; line-height: 1; }
.next-moment:focus-visible { outline-color: #61482d; }
.books-section { padding-top: 50px; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; }
.story-item { min-width: 0; padding: 25px 65px 40px 0; }
.story-item:nth-child(2) { border-left: 1px solid var(--line); padding-left: 65px; padding-right: 0; }
.story-item.weaver-story { grid-column: 1 / -1; border-top: 1px solid var(--line); border-left: 0; padding: 55px 0 20px; margin-top: 10px; }
.story-topline { display: flex; justify-content: space-between; align-items: center; gap: 15px; color: var(--muted); margin-bottom: 25px; }
.story-number { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold); }
.story-item h3 { font-size: 2.85rem; }
.story-item>p { margin: 25px 0; color: var(--muted); line-height: 1.85; font-size: 1rem; }
.story-details summary { font-size: .875rem; display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.story-details summary span { color: var(--gold); font-size: 1.2rem; }
.story-details[open] summary span { transform: rotate(45deg); }
.story-details p { margin-top: 20px; color: var(--muted); font-size: 1rem; }
.story-status { display: block; font-size: .875rem; color: var(--gold); margin-top: 26px; }
.roots-section { border-block: 1px solid var(--line); background: #2a2016; }
.roots-layout { display: grid; grid-template-columns: 1fr 1.13fr; gap: 100px; }
.roots-copy p { color: #d2c1a7; font-size: 1rem; line-height: 1.9; }
.roots-copy .signature { color: var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.25rem; margin-top: 26px; margin-bottom: 0; }
.signature span { display: block; font-size: 1rem; margin-top: 7px; }
.site-footer { padding-top: 48px; padding-bottom: 28px; }
.footer-brand { font-size: 1.7rem; }
.site-footer>p { font-size: .875rem; color: var(--muted); margin-top: 10px; }
.footer-bottom { margin-top: 36px; padding-top: 21px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 22px; font-size: .75rem; color: var(--muted); }
.footer-bottom a { font-size: .875rem; padding-block: 5px; }
.footer-bottom a span { color: var(--gold); margin-left: 10px; }
@media(min-width:1700px) {
  .garden-scene { min-height: 980px; min-height: max(920px, 100svh); }
  .room-scene { min-height: 900px; min-height: max(850px, 88svh); }
}
@media(max-width:1100px) {
  .content-width { width: calc(100% - 76px); }
  .header-inner { width: calc(100% - 76px); }
  #primary-nav { gap: 23px; }
  .wordmark { font-size: 1.25rem; }
  .garden-scene { min-height: 780px; min-height: max(740px, 100svh); }
  .scene-marker { left: 38px; bottom: 30px; }
  .worktable-layout, .ritual-layout, .roots-layout { gap: 55px; }
  .story-item { padding-right: 38px; }
  .story-item:nth-child(2) { padding-left: 38px; }
  .story-item.weaver-story { padding-left: 0; padding-right: 0; }
  .moment-slide { padding-inline: 25px; }
}
@media(max-width:800px) {
  .header-inner { min-height: 88px; width: calc(100% - 42px); flex-wrap: wrap; justify-content: flex-start; gap: 0 18px; padding-block: 15px; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; flex: 0 0 54px; border: 0; border-radius: 50%; background: #f0e9da; color: #21170f; order: 0; box-shadow: 0 2px 15px rgba(0,0,0,.1); }
  .menu-lines { width: 22px; height: 16px; position: relative; }
  .menu-lines:before, .menu-lines:after { content: ""; position: absolute; left: 0; height: 2px; background: #21170f; border-radius: 1px; }
  .menu-lines:before { width: 22px; top: 3px; }
  .menu-lines:after { width: 15px; top: 12px; }
  .menu-toggle[aria-expanded="true"] .menu-lines:before { transform: rotate(45deg); top: 7px; }
  .menu-toggle[aria-expanded="true"] .menu-lines:after { transform: rotate(-45deg); top: 7px; width: 22px; }
  .wordmark { order: 1; font-size: 1.3rem; letter-spacing: .075em; }
  #primary-nav { order: 2; display: flex; width: 100%; padding: 18px 22px; margin-top: 15px; background: rgba(33,23,15,.98); border: 1px solid var(--line); gap: 8px 26px; }
  .js #primary-nav { display: none; }
  .js #primary-nav.is-open { display: flex; }
  #primary-nav a { padding-block: 8px; }
  .content-width { width: calc(100% - 48px); }
  .garden-scene { padding-bottom: 75px; min-height: 820px; min-height: max(730px, 100svh); }
  .garden-copy h1 { font-size: clamp(3rem, 9vw, 5.7rem); }
  .scene-marker { left: 25px; bottom: 22px; font-size: .75rem; }
  .room-scene { min-height: 740px; padding-top: 300px; }
  .room-copy h2 { font-size: 3.6rem; }
  .worktable-layout, .ritual-layout, .roots-layout { gap: 36px; }
  .section-space { padding-block: 70px; }
  .offering-list summary { font-size: 1.2rem; }
  .item-number { margin-right: 10px; }
  .ritual-copy h2, .roots-layout h2 { font-size: 2.8rem; }
  .moment-slide { padding-inline: 22px; }
  .moment-count { font-size: .75rem; letter-spacing: .04em; }
  .moment-content h3 { font-size: 1.8rem; }
  .moment-content { min-height: 300px; }
  .story-item { padding-right: 25px; }
  .story-item:nth-child(2) { padding-left: 25px; }
  .story-item.weaver-story { padding-left: 0; padding-right: 0; }
  .story-item h3 { font-size: 2.5rem; }
}
@media(max-width:620px) {
  .ritual-section::before { background-position: 72% center; }
  .ritual-section::after { background: linear-gradient(0deg, rgba(20,14,9,.84) 0%, rgba(20,14,9,.55) 38%, rgba(20,14,9,.72) 100%); }

  html { scroll-padding-top: 18px; }
  .header-inner { width: calc(100% - 38px); }
  .wordmark { font-size: 1.15rem; }
  .garden-scene { padding: 250px 22px 64px; min-height: 800px; min-height: max(740px, 100svh); }
  .garden-scene .scene-art { object-position: 59% center; }
  .garden-scene .scene-shade { background: linear-gradient(0deg, #21170f 0%, rgba(26,17,8,.79) 16%, rgba(26,17,8,.33) 36%, transparent 62%); }
  .garden-copy .eyebrow { font-size: .75rem; letter-spacing: .12em; }
  .garden-copy h1 { font-size: clamp(2.8rem, 11.3vw, 4.1rem); }
  .hero-invitation { margin-top: 12px; font-size: 1.6rem; }
  .hero-description { font-size: 1rem; line-height: 1.8; margin-bottom: 24px; }
  .hero-description br { display: none; }
  .scene-marker { font-size: .75rem; letter-spacing: .12em; bottom: 18px; }
  .threshold { padding: 25px 24px; gap: 15px; }
  .threshold p { font-size: 1.125rem; text-align: center; }
  .threshold span { display: none; }
  .room-scene { min-height: 780px; min-height: max(720px, 97svh); padding: 350px 0 47px; }
  .apothecary-scene .scene-art { object-position: 82% center; }
  .library-scene .scene-art { object-position: 77% center; }
  .room-copy h2 { font-size: clamp(2.75rem, 10vw, 3.8rem); }
  .room-copy .eyebrow { margin-bottom: 16px; }
  .room-copy>p:not(.eyebrow) { font-size: 1rem; margin-block: 20px; line-height: 1.8; }
  .room-copy>p br { display: none; }
  .room-copy>p { max-width: 330px; }
  .section-space { padding-block: 57px; }
  .worktable-layout, .ritual-layout, .roots-layout { grid-template-columns: 1fr; gap: 30px; }
  .worktable-intro h2 { font-size: 2.6rem; }
  .worktable-intro>p:not(.eyebrow) { margin-top: 21px; max-width: none; }
  .offering-list summary { font-size: 1.25rem; padding-block: 24px; gap: 15px; }
  .item-number { margin-right: 13px; }
  .detail-content { padding-inline: 29px 0; }
  .ritual-copy h2, .roots-layout h2 { font-size: 2.85rem; }
  .ritual-copy>p:not(.eyebrow) { max-width: none; margin-top: 22px; }
  .ritual-copy .quiet-note { margin-bottom: 0; }
  .moment-slide { padding: 27px 26px 0; }
  .moment-content h3 { font-size: 2.05rem; }
  .moment-content { min-height: 286px; }
  .moment-content p { min-height: 86px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-item, .story-item:nth-child(2), .story-item.weaver-story { grid-column: auto; border-left: 0; padding: 0 0 35px; margin-top: 0; }
  .story-item:nth-child(2), .story-item.weaver-story { border-top: 1px solid var(--line); padding: 35px 0 0; }
  .story-item h3 { font-size: 2.6rem; }
  .story-topline { margin-bottom: 22px; }
  .story-topline .small-label { letter-spacing: .07em; }
  .roots-layout { gap: 24px; }
  .site-footer { padding-top: 36px; }
  .footer-brand { font-size: 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 25px; }
}
@media(max-width:360px) {
  .wordmark { font-size: 1rem; }
  .header-inner { gap: 0 12px; }
  .garden-copy h1 { font-size: 2.65rem; }
  .hero-invitation { font-size: 1.4rem; }
  .moment-slide { padding-inline: 20px; }
  .moment-content h3 { font-size: 1.8rem; }
  .offering-list summary { font-size: 1.15rem; }
  .item-number { margin-right: 9px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}
@media print {
  body { color: #302315; background: white; }
  .site-header, .scene-marker, .next-moment, .skip-link { display: none; }
  .scene { min-height: 480px; padding: 100px 30px 35px; color: #f2e5cc; }
  .content-width { width: 100%; }
  .section-space { padding: 30px 0; }
  .worktable-section, .books-section, .roots-section { color: #302315; background: white; }
  .worktable-intro>p:not(.eyebrow), .story-item>p, .roots-copy p, .story-details p, .detail-content { color: #493522; }
  .garden-copy h1 { font-size: 48pt; }
  .scene, .story-item, .moment-card { break-inside: avoid; }
}

/* Stay by the hearth */
.stay-section { background: linear-gradient(180deg, #1d160f 0%, #21170f 100%); border-bottom: 1px solid var(--moss-line); }
.stay-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.stay-layout .eyebrow { color: var(--moss); }
.stay-copy>p { color: var(--muted); max-width: 520px; margin-bottom: 30px; font-size: 1.05rem; }
.stay-links { border-top: 1px solid var(--moss-line); }
.contact-link { display: grid; grid-template-columns: 90px minmax(0,1fr) auto; align-items: center; gap: 22px; padding: 21px 0; border-bottom: 1px solid var(--line); transition: color .2s, padding-left .2s; }
.contact-link:hover { color: var(--moss); padding-left: 8px; }
.contact-kicker { color: var(--moss); font-size: .72rem; letter-spacing: .14em; font-weight: 600; }
.contact-value { min-width: 0; overflow-wrap: anywhere; color: var(--cream); }
.contact-arrow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 6rem; text-align: center; }
.contact-arrow img { display: block; width: 64px; height: 64px; object-fit: contain; }
.contact-action-label { color: var(--gold); font-size: .875rem; line-height: 1.4; text-decoration: underline; text-underline-offset: 3px; }

@media(max-width:1100px) {
  .stay-layout { gap: 55px; }
}
@media(max-width:800px) {
  .stay-layout { gap: 36px; }
}
@media(max-width:620px) {
  .stay-layout { grid-template-columns: 1fr; gap: 24px; }
  .stay-layout h2 { font-size: 2.85rem; }
  .stay-copy>p { margin-bottom: 24px; }
  .contact-link { grid-template-columns: 1fr auto; gap: 4px 18px; padding: 19px 0; }
  .contact-kicker { grid-column: 1; }
  .contact-value { grid-column: 1; font-size: .95rem; }
  .contact-arrow { grid-column: 2; grid-row: 1 / span 2; }
}

/* Optional music: uses browser playback controls and never autoplays. */
.hearth-music { margin: 24px auto 0; width: min(100%, 320px); }
.hearth-music > p { margin: 0 0 8px; }
.hearth-music audio { display: block; width: 100%; height: 40px; }
.hearth-music .music-caption, #music-status { font-size: .75rem; color: var(--cream); margin-top: 8px; }
#music-status:empty { display: none; }
.music-credit { font-size: .8rem; color: var(--muted); margin-block: 24px; }
.music-credit a { text-decoration: underline; text-underline-offset: 3px; }

/* Lantern forest connects the remaining quiet sections. The oversized
   artwork layer crops the supplied photo's black top/bottom borders in CSS. */
@media screen {
  body { background: #30271c; }
  .roots-section, .stay-section, .threshold, .site-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #30271c;
  }
  .roots-section::before, .stay-section::before,
  .threshold::before, .site-footer::before {
    content: "";
    position: absolute;
    inset: -25%;
    z-index: -2;
    background: url("assets/lantern-forest.jpeg") center / cover no-repeat;
    pointer-events: none;
  }
  .roots-section::after, .stay-section::after,
  .threshold::after, .site-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(35,28,18,.77);
    pointer-events: none;
  }
  .roots-copy p, .stay-copy > p, .site-footer > p,
  .footer-bottom { color: #ecdfc8; }
  .stay-layout .eyebrow, .contact-kicker, .threshold span { color: var(--gold); }
  .site-footer.content-width {
    width: 100%;
    padding-inline: max(24px, calc((100% - 1180px) / 2));
  }
  .section-onward { margin-top: 38px; position: relative; z-index: 1; }
}

/* Continue through the same illustrated library while reading the books. */
@media screen {
  .books-section {
    background-color: #38291c;
    background-image: linear-gradient(rgba(45,31,20,.84), rgba(45,31,20,.84)), url("assets/hearth-library.webp");
    background-position: center top;
    background-size: auto, 100% auto;
    background-repeat: repeat, repeat-y;
  }
  .books-section .story-item > p, .books-section .story-details p,
  .books-section .story-topline { color: #ecdfc8; }
  .story-item > p, .story-details p { max-width: 72ch; }
  .books-section .text-link { margin-top: 18px; }
}
@media screen and (max-width:620px) {
  .books-section { background-size: auto, auto 850px; }
  .story-item:nth-child(2) { padding-bottom: 35px; }
}
@media (prefers-reduced-motion:reduce) {
  .moment-track { scroll-behavior: auto; }
}

/* Manda's supplied herb worktable scene. */
@media screen {
  .worktable-section {
    background: linear-gradient(rgba(43,29,17,.76), rgba(43,29,17,.84)), url("assets/worktable-hearth.jpeg") center center / cover no-repeat;
  }
  .worktable-intro > p:not(.eyebrow), .worktable-section .detail-content { color: #ecdfc8; }
  .worktable-intro .collection-status { color: #e1b779; }
}
@media screen and (max-width:620px) {
  .worktable-section { background-position: center, 43% center; }
}

/* Show the forest's full width instead of enlarging it to fill long copy. */
@media screen {
  .roots-section::before {
    inset: 0;
    background-size: 100% auto;
    background-position: center;
    background-color: #30271c;
    background-blend-mode: lighten;
  }
}

.site-footer .visit-counter { margin: 30px auto 0; text-align: center; color: var(--gold); font-size: .8125rem; line-height: 1.6; letter-spacing: .025em; opacity: .85; }
.visit-counter > span[aria-hidden] { padding: 0 .45em; }

/* Manda's real desert discoveries, alongside the Carlos stories. */
.carlos-origin { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; margin-top: 10px; padding: 38px 0 30px; border-top: 1px solid var(--line); }
.carlos-origin-copy { min-width: 0; }
.carlos-origin h3 { margin-bottom: 20px; font-size: clamp(1.65rem, 2.5vw, 2.2rem); line-height: 1.2; }
.carlos-origin-copy p { max-width: 46ch; font-size: 1rem; line-height: 1.8; color: #ecdfc8; }
.carlos-origin-copy .carlos-origin-signature { color: var(--gold); font-family: var(--serif); font-size: 1.25rem; font-style: italic; margin-bottom: 0; }
.carlos-origin-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; min-width: 0; }
.carlos-origin-photos figure { min-width: 0; margin: 0; }
/* Keep the uploaded photographs intact; frame out only their black borders. */
.carlos-origin-photos img { width: 100%; height: auto; aspect-ratio: 709 / 946; object-fit: cover; object-position: center; border: 1px solid var(--line); }
.carlos-origin-photos figcaption { margin-top: 10px; color: var(--muted); font-size: .875rem; line-height: 1.5; }
@media (max-width:800px) {
  .carlos-origin { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .carlos-origin-photos { max-width: 580px; width: 100%; }
}
@media (max-width:620px) {
  .carlos-origin { margin-top: 0; padding: 32px 0 35px; }
  .carlos-origin-photos { gap: 14px; }
}
@media print {
  .carlos-origin-copy p, .carlos-origin-photos figcaption { color: #493522; }
}
