/* Archaic Art Deco treatment for the homepage statement. */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #2b180d;
  background-image: url("assets/hero-desktop-quiet-charcoal.png");
  background-position: center;
  background-size: cover;
  color: #202219;
}

.hero::before {
  display: none;
}

.hero::after {
  display: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero .constellation {
  display: none;
}

.home-page .site-header {
  color: #f0e3c9;
  border-bottom-color: rgba(190, 146, 74, 0.72);
  background: rgba(52, 56, 59, 0.97);
  box-shadow: 0 3px 0 rgba(166, 125, 61, 0.22);
  backdrop-filter: blur(5px);
}

.home-page .site-header nav a:hover,
.home-page .site-header nav a:focus-visible {
  color: #e1bc77;
}

.home-page .site-header .wordmark span {
  color: #e1bc77;
}

.home-page .site-header .menu-button {
  border-color: #bd9552;
}

.home-page .brand-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.home-page .brand-logo img {
  display: block;
  width: auto;
  object-fit: contain;
}

.home-page .header-logo img {
  height: 4.65rem;
}

.home-page .footer-logo img {
  height: 6.5rem;
}

.hero-journal {
  z-index: 6;
  width: min(62rem, 76vw);
  margin-inline: auto;
  padding: clamp(2rem, 3vw, 3rem) clamp(2.25rem, 4.5vw, 4.5rem);
  aspect-ratio: 5 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #f0e3c9;
  background-image:
    radial-gradient(circle at 12% 17%, rgba(255, 255, 255, 0.3), transparent 24%),
    linear-gradient(90deg, rgba(91, 61, 31, 0.025) 1px, transparent 1px);
  background-size: auto, 4px 100%;
  border: 1px solid #b79b68;
  box-shadow: 0 1.7rem 3.8rem rgba(10, 6, 3, 0.56), 0 0.2rem 0.45rem rgba(10, 6, 3, 0.34);
  transform: rotate(-0.55deg);
}

.hero-ornament {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
  color: #9b7337;
}

.hero-ornament span {
  height: 1px;
  background: linear-gradient(90deg, transparent, #a57d3e);
}

.hero-ornament span:last-child {
  background: linear-gradient(90deg, #a57d3e, transparent);
}

.hero-ornament b {
  font: 400 1.12rem/1 Georgia, serif;
  letter-spacing: 0.12em;
}

.hero-kicker {
  margin: 0;
  color: #526c58;
  font: 600 0.69rem/1.3 "DM Sans", Arial, sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 47rem;
  margin: 1.15rem 0 1.65rem;
  font-family: "Forum", "Times New Roman", serif;
  font-size: clamp(2.35rem, 3.35vw, 3.45rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.008em;
  text-wrap: balance;
  color: #263342;
}

.hero h1 em {
  font-style: normal;
  letter-spacing: 0.025em;
  color: #34383b;
  text-shadow: none;
}

.hero .eyebrow {
  color: #6f5229;
}

.hero .hero-copy {
  max-width: 41rem;
  margin-bottom: 1rem;
  color: #374149;
  font-size: clamp(1.05rem, 1.45vw, 1.24rem);
  line-height: 1.55;
}

.hero .hero-copy + .hero-copy {
  margin-bottom: 1.8rem;
}

.hero .text-link {
  color: #34383b;
  border-bottom-color: #a57d3e;
  border-bottom-width: 2px;
}

@media (max-width: 820px) {
  .home-page .site-header nav {
    background: #34383b;
    border-top-color: rgba(190, 146, 74, 0.6);
  }

  .hero {
    align-items: center;
    padding-bottom: 4rem;
    background-position: 48% center;
  }

  .hero-journal {
    width: min(100%, 44rem);
    margin-inline: auto;
    padding: clamp(1.6rem, 3.5vw, 2rem) clamp(1.85rem, 5vw, 2.75rem);
    transform: rotate(-0.35deg);
  }

  .hero h1 {
    max-width: none;
    margin: .8rem 0 1rem;
    font-size: clamp(2rem, 4.5vw, 2.45rem);
    line-height: 1.02;
    letter-spacing: 0.008em;
  }

  .hero-ornament {
    margin-bottom: .8rem;
  }

  .hero .hero-copy {
    margin-bottom: .8rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.45;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: auto;
    padding-top: 8.5rem;
  }

  .hero-journal {
    aspect-ratio: auto;
  }

  .hero-journal::before {
    letter-spacing: 0.16em;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.45rem);
    line-height: 1.12;
    letter-spacing: 0.01em;
  }

  .home-page .header-logo img {
    height: 4.25rem;
  }

  .home-page .footer-logo img {
    height: 5.75rem;
  }
}

#one-thing-led-to-another .concept-summary {
  max-width: 34rem;
  text-wrap: balance;
}
/* Homepage scale refinement: quieter type and a more deliberate vertical rhythm. */
.home-page:not(.adventures-index-page) {
  font-size: 1rem;
}
.home-page:not(.adventures-index-page) .hero {
  min-height: 92vh;
  border-bottom: 2px solid rgba(210, 174, 107, .86);
}
.home-page:not(.adventures-index-page) .hero-journal {
  width: min(56rem, 72vw);
  padding: clamp(1.75rem, 2.7vw, 2.6rem) clamp(2rem, 4vw, 4rem);
}
.home-page:not(.adventures-index-page) .hero h1 {
  max-width: 43rem;
  margin: .9rem 0 1.25rem;
  font-size: clamp(2.15rem, 3vw, 3.1rem);
}
.home-page:not(.adventures-index-page) .hero .hero-copy {
  max-width: 39rem;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.5;
}
.home-page:not(.adventures-index-page) .section {
  padding: clamp(4.5rem, 7.5vw, 7rem) clamp(1.25rem, 7vw, 7rem);
}
.home-page:not(.adventures-index-page) .section-heading {
  display: block;
  margin-bottom: clamp(2rem, 3.5vw, 2.75rem);
  padding-bottom: 1.45rem;
}
.home-page:not(.adventures-index-page) .section-heading > div {
  max-width: 60rem;
}
.home-page:not(.adventures-index-page) .section-heading h2,
.home-page:not(.adventures-index-page) .quill-section h2 {
  font-size: clamp(2.4rem, 4.1vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.home-page:not(.adventures-index-page) .section-heading .section-subtitle {
  max-width: 38rem;
  margin: .7rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.5;
}
.home-page:not(.adventures-index-page) .rabbit-grid {
  gap: clamp(.9rem, 1.8vw, 1.4rem);
}
.home-page:not(.adventures-index-page) .rabbit-grid .rabbit-card {
  padding: clamp(.95rem, 1.6vw, 1.25rem);
}
.home-page:not(.adventures-index-page) .rabbit-grid .case-tile {
  height: clamp(10.5rem, 18vw, 14rem);
  margin-bottom: clamp(1.1rem, 2vw, 1.55rem);
}
.home-page:not(.adventures-index-page) .rabbit-grid .rabbit-card h3 {
  max-width: 16ch;
  font-size: clamp(1.7rem, 2.4vw, 2.45rem);
  line-height: 1.08;
}
.home-page:not(.adventures-index-page) .rabbit-grid .rabbit-card div > p:not(.tag) {
  font-size: 1rem;
  line-height: 1.55;
}
.home-page:not(.adventures-index-page) .rabbit-grid .calm-home-card .case-tile {
  max-height: 15rem;
  margin-bottom: 0;
}
.home-page:not(.adventures-index-page) .adventure-feature {
  min-height: 26rem;
  grid-template-columns: minmax(8rem, .34fr) minmax(0, 1.66fr);
}
.home-page:not(.adventures-index-page) .adventure-stamp {
  padding: clamp(1.4rem, 2.5vw, 2rem);
}
.home-page:not(.adventures-index-page) .adventure-stamp-number strong {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}
.home-page:not(.adventures-index-page) .adventure-copy {
  padding: clamp(2rem, 4.5vw, 4rem);
}
.home-page:not(.adventures-index-page) .adventure-copy h3 {
  max-width: 22ch;
  font-size: clamp(2rem, 2.8vw, 2.85rem);
}
.home-page:not(.adventures-index-page) .adventure-copy > p:not(.tag) {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
}
.home-page:not(.adventures-index-page) .listening-section {
  padding: clamp(4rem, 6.5vw, 5.75rem) clamp(1.25rem, 7vw, 7rem);
}
.home-page:not(.adventures-index-page) .listening-glass {
  max-width: 72rem;
  padding: clamp(1.8rem, 4vw, 3.75rem);
}
.home-page:not(.adventures-index-page) .listening-copy h2 {
  font-size: clamp(2.35rem, 4.1vw, 4.35rem);
  line-height: 1.02;
}
.home-page:not(.adventures-index-page) .quill-section {
  padding: clamp(4.75rem, 7.5vw, 7rem) clamp(1.25rem, 7vw, 7rem);
  column-gap: clamp(2.5rem, 6vw, 6rem);
  row-gap: clamp(2.75rem, 5vw, 4.25rem);
}
.home-page:not(.adventures-index-page) .quill-emblem {
  min-height: 27rem;
}
.home-page:not(.adventures-index-page) .quill-emblem img {
  width: min(100%, 22rem);
}
.home-page:not(.adventures-index-page) .quill-intro {
  font-size: 1.6rem;
}
.home-page:not(.adventures-index-page) .quill-copy > p:last-child {
  font-size: 1rem;
  line-height: 1.55;
}
.home-page:not(.adventures-index-page) .quill-copy {
  max-width: 47rem;
}
.home-page:not(.adventures-index-page) .quill-copy .eyebrow {
  margin-bottom: .9rem;
  font-size: .78rem;
}
.home-page:not(.adventures-index-page) .quill-section h2 {
  font-size: clamp(3rem, 4.7vw, 5rem);
}
.home-page:not(.adventures-index-page) .quill-intro {
  margin: 1rem 0 1.45rem;
  font-size: clamp(1.85rem, 2.25vw, 2.2rem);
  line-height: 1.2;
}
.home-page:not(.adventures-index-page) .quill-copy > p:last-child {
  max-width: 44rem;
  font-size: clamp(1.06rem, 1.3vw, 1.18rem);
  line-height: 1.62;
}
@media (max-width: 820px) {
  .home-page:not(.adventures-index-page) .hero-journal {
    width: min(100%, 40rem);
  }
  .home-page:not(.adventures-index-page) .hero h1 {
    font-size: clamp(2rem, 4.3vw, 2.35rem);
  }
  .home-page:not(.adventures-index-page) .adventure-feature {
    grid-template-columns: 1fr;
  }
  .home-page:not(.adventures-index-page) .rabbit-grid .calm-home-card .case-tile {
    margin-bottom: 1rem;
  }
}
@media (max-width: 520px) {
  .home-page:not(.adventures-index-page) .hero-journal {
    padding: 1.55rem 1.4rem 1.8rem;
  }
  .home-page:not(.adventures-index-page) .hero h1 {
    font-size: clamp(1.9rem, 8.5vw, 2.3rem);
  }
  .home-page:not(.adventures-index-page) .section-heading h2,
  .home-page:not(.adventures-index-page) .quill-section h2,
  .home-page:not(.adventures-index-page) .listening-copy h2 {
    font-size: clamp(2.2rem, 11vw, 3.15rem);
  }
  .home-page:not(.adventures-index-page) .quill-emblem {
    min-height: 21rem;
  }
}
.hero h1 em,.hero .text-link{color:#34383b}.home-page .site-header nav{background:#34383b}
.hero-journal{position:relative;overflow:visible}
.hero-moth-anchor{position:absolute;z-index:7;top:clamp(-4rem,-6vw,-2.4rem);right:clamp(-3rem,-4vw,-1.1rem);width:clamp(7.8rem,11vw,10rem);transform:rotate(11deg);pointer-events:none;user-select:none}
.hero-moth{display:block;width:100%;height:auto;filter:drop-shadow(0 .7rem .7rem rgba(38,51,66,.22));transform-origin:50% 46%}
.hero-moth.is-fluttering{animation:luna-wing-flex 11s ease-in-out 1}
@keyframes luna-wing-flex{0%,82%,100%{transform:scaleX(1) scaleY(1)}86%{transform:scaleX(.88) scaleY(.985)}90%{transform:scaleX(1.015) scaleY(1)}94%{transform:scaleX(.92) scaleY(.99)}97%{transform:scaleX(1) scaleY(1)}}
@media(max-width:850px){.hero-moth-anchor{top:clamp(-3rem,-8vw,-1.75rem);right:clamp(-1.75rem,-5vw,-.75rem);width:clamp(6.4rem,20vw,8.5rem)}}
@media(max-width:520px){.hero-moth-anchor{top:clamp(-2.35rem,-9vw,-1.35rem);right:clamp(-1.2rem,-4vw,-.55rem);width:clamp(5.5rem,23vw,7rem)}}
@media(prefers-reduced-motion:reduce){.hero-moth{animation:none}}
