:root {
  --field-ink: #193d3e;
  --field-dark: #163536;
  --field-rust: #894329;
  --field-gold: #e5bc7b;
  --field-paper: #fcf9ef;
  --field-rule: #cbc8b4;
}

.site-header {
  min-height: 76px;
  background: var(--field-paper);
  border-top-color: var(--field-dark);
  box-shadow: none;
}

.site-header .brand small { color: var(--field-rust); }
.site-header nav a {
  display: flex;
  align-items: center;
  padding-inline: .8rem;
  font-size: .95rem;
}

.site-header nav a[aria-current="page"] {
  background: transparent;
  border-radius: 0;
  box-shadow: inset 0 -2px var(--field-rust);
  color: var(--field-rust);
}

.page-intro {
  background: var(--field-paper);
  border-bottom: 1px solid var(--field-rule);
  box-shadow: inset 0 -5px var(--season-band);
}

.guide-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  margin-top: 1rem;
}

.guide-jumps a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

.field-home {
  background: var(--field-paper);
  color: var(--field-ink);
}

.field-home h2 { font-size: clamp(2rem, 4vw, 3.65rem); }
.field-home .eyebrow { color: var(--field-rust); }

.field-hero {
  background-color: #e4ebe5;
  background-image: repeating-linear-gradient(160deg, transparent 0 40px, #193d3e08 41px 42px, transparent 43px 68px);
  border-bottom: 1px solid #aebbb0;
}

.field-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-block: clamp(3.6rem, 7vw, 7rem);
}

.field-welcome h1 {
  font-size: clamp(3.05rem, 6.1vw, 6.5rem);
  font-weight: 600;
  line-height: 1.01;
  margin: .35rem 0 .9rem;
}

.field-welcome h1 em { color: var(--field-rust); }
.field-welcome .hero-tagline { font-size: clamp(1.18rem, 2vw, 1.55rem); }
.field-lead { max-width: 35rem; font-size: clamp(1.02rem, 1.6vw, 1.22rem); }
.field-welcome-note { margin: 1.2rem 0 0; color: #425854; }

.field-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.field-home .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  text-align: center;
}

.field-home .button.primary { background: var(--field-dark); border-color: var(--field-dark); }
.field-home .button.primary:hover { background: #2c5250; }
.field-home .button.outline { background: var(--field-paper); color: var(--field-dark); }
.field-home .button.outline:hover { background: #f3ead5; }

.field-photo {
  position: relative;
  margin: 0;
  padding: .65rem;
  background: var(--field-paper);
  border: 1px solid var(--field-rule);
  box-shadow: 0 12px 24px #193d3e22;
}

.field-photo::before {
  content: "";
  position: absolute;
  top: -.65rem;
  left: 50%;
  width: 5.3rem;
  height: 1.2rem;
  background: repeating-linear-gradient(110deg, #ebc890 0 5px, #e4b97a 5px 6px);
  transform: translateX(-50%) rotate(-5deg);
}

.field-hero .field-photo { transform: rotate(1deg); }
.field-photo img { display: block; width: 100%; height: auto; object-fit: cover; }
.field-hero .field-photo img { aspect-ratio: 4 / 3; }
.field-photo figcaption {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .05rem .55rem;
  padding: .55rem .2rem 0;
  font-size: .81rem;
  color: #3f5350;
}

.field-photo figcaption span { margin-right: auto; font-weight: 700; }
.field-photo figcaption a { color: inherit; }

.field-choices,
.field-directory { padding-block: clamp(2.5rem, 6vw, 5rem); }

.field-choice-list, .field-directory-list, .field-season-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.field-choice-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--field-rule);
}

.field-choice-list li + li { border-inline-start: 1px solid var(--field-rule); }
.field-choice-list a,
.field-directory-list a {
  display: grid;
  gap: .25rem;
  align-content: start;
  padding: 1.2rem;
  color: var(--field-ink);
  text-decoration: none;
}

.field-choice-list a { height: 100%; background: #f6eedc; border-top: 4px solid var(--field-rust); }
.field-choice-list li:nth-child(2n) a { background: #eaf0e7; border-top-color: #46685c; }
.field-choice-list strong,
.field-directory-list strong {
  font: 600 clamp(1.25rem, 2.2vw, 1.75rem)/1.15 var(--serif);
  text-decoration: underline;
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
}

.field-choice-list a:hover strong,
.field-directory-list a:hover strong { text-decoration-thickness: 2px; }

.field-season {
  background: var(--field-dark);
  color: var(--field-paper);
  border-block: 1px solid var(--field-dark);
}

.field-season-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2.6rem, 6vw, 5.8rem);
}

.field-season .eyebrow { color: #f7cd91; }
.field-season h2 { margin-bottom: .8rem; }
.field-season-list { border-top: 1px solid #f4e6c750; }
.field-season-list li {
  display: grid;
  gap: .2rem;
  border-bottom: 1px solid #f4e6c750;
  padding-block: .85rem;
}
.field-season-list a { color: #ffe2ad; width: fit-content; }
.field-lake img { aspect-ratio: 1400 / 955; }

.field-home #upcoming .place-grid { grid-template-columns: minmax(0, 1fr); }
.field-home #upcoming .place-card {
  border-left: 4px solid var(--field-rust);
  border-radius: 0;
  background: #f6eedc;
  margin-bottom: 1rem;
}

.field-directory-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 5vw, 5rem);
  border-top: 1px solid var(--field-rule);
}

.field-directory-list li { border-bottom: 1px solid var(--field-rule); }
.field-directory-list a { padding-inline: 0; }
.field-home .shared-site-footer { background: var(--field-dark); }

@media (min-width: 901px) {
  .site-header .menu-button { display: none; }
  .site-header nav,
  .site-header nav.open {
    display: flex;
    flex-direction: row;
    position: static;
    padding: 0;
    border: 0;
    overflow: visible;
    background: transparent;
  }
}

@media (max-width: 900px) {
  .site-header .menu-button { display: block; }
  .site-header nav { display: none; background: var(--field-paper); }
  .site-header nav.open { display: flex; }
  .field-choice-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-choice-list li:nth-child(odd) { border-inline-start: 0; }
  .field-choice-list li:nth-child(n+3) { border-top: 1px solid var(--field-rule); }
}

@media (max-width: 700px) {
  .field-hero-inner, .field-season-inner { grid-template-columns: minmax(0, 1fr); }
  .field-hero-inner { padding-block: 2.2rem; gap: 1.75rem; }
  .field-hero .field-photo { transform: none; }
  .field-hero .field-photo img { aspect-ratio: 16 / 10; }
  .field-choice-list a { padding: .85rem; }
  .field-directory-list { grid-template-columns: minmax(0, 1fr); }
}

/* Shared storybook palette, illustrated chapter openings, and landscape edges. */
:root {
  --field-paper: #faf0db;
  --field-ink: #1e3828;
  --field-dark: #203d2e;
  --field-rust: #7e3b24;
  --field-rule: #bcbc9d;
  --storybook-paper: repeating-linear-gradient(102deg, #714a1d05 0 1px, transparent 1px 5px), radial-gradient(ellipse at 18% 0, #fff8e9, #f1e4c7);
  --storybook-ridge: polygon(0 72%, 6% 58%, 11% 61%, 19% 35%, 25% 51%, 32% 21%, 39% 43%, 49% 10%, 55% 36%, 63% 54%, 71% 39%, 79% 61%, 84% 54%, 92% 70%, 100% 49%, 100% 100%, 0 100%);
}

.site-header, .site-header nav.open { background: var(--field-paper); }
.site-header { color: var(--field-ink); }
.site-header .brand strong { font-size: clamp(1.2rem, 2.6vw, 1.9rem); }
.field-home, .story-chapter {
  --paper: #fbf2e0;
  --white: #fffaf0;
  --line: var(--field-rule);
  --ink: var(--field-ink);
  --deep: var(--field-dark);
  --blue: #e7ead7;
  --season-band: #e8ebd8;
  --ochre: var(--field-rust);
  --season-button: var(--field-dark);
  --season-accent: var(--field-rust);
  background: var(--storybook-paper);
}

.field-hero {
  position: relative;
  isolation: isolate;
  background: #203d2e;
  border: 0;
  color: #fff9e8;
}

.field-hero-inner { display: block; min-height: clamp(470px, 50vw, 690px); padding-block: clamp(3rem, 8vw, 8rem) 5.75rem; }
.field-hero .field-welcome { position: relative; z-index: 2; max-width: 41rem; }
.field-hero .eyebrow { color: #ffdda3; }
.field-hero h1 em { color: #ffe2ab; }
.field-hero .field-welcome-note { color: #fff9e8; }
.field-hero .button.primary { border-color: #eac88c; }
.field-support-link {
  color: #fff8e4;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-inline: .35rem;
}

.field-hero .story-hero-photo {
  position: absolute;
  z-index: -1;
  inset: 0;
  transform: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.story-hero-photo::before { content: none; }
.field-hero .story-hero-photo img { height: 100%; width: 100%; object-fit: cover; object-position: center 52%; }
.story-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#142719f5 0,#142719bb 38%,#1427192b 76%), linear-gradient(0deg,#152c21a8,transparent 40%);
}
.story-hero-photo figcaption {
  position: absolute;
  z-index: 1;
  bottom: 1.8rem;
  right: clamp(1rem, 5vw, 5rem);
  max-width: calc(100% - 2rem);
  color: #fff9ec;
  background: #142d23ed;
  padding: .2rem .5rem;
  border-radius: .2rem;
}
.field-hero::after, .story-chapter .page-intro::after, .shared-site-footer::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: clamp(1.4rem, 4vw, 3rem);
  background: #a5aa89;
  clip-path: var(--storybook-ridge);
  pointer-events: none;
}
.field-hero::after { background: #ede3c7; }
.field-choices h2, .field-directory h2 { max-width: 24ch; }
.field-choice-list { border: 0; gap: 1rem; }
.field-choice-list li + li { border: 0; }
.field-choice-list a, .field-choice-list li:nth-child(2n) a {
  border: 0;
  border-top: 2px dashed #a77534;
  background: transparent;
  padding: 1rem 0;
}
.field-choice-list strong {
  width: fit-content;
  padding: .38rem .55rem;
  color: #342b18;
  text-decoration-color: #836635;
  background: linear-gradient(177deg,#e6c68e,#d6ad72 53%,#e8cb94 57%,#e6c68e);
  border: 1px solid #b58950;
  border-radius: .2rem .55rem .35rem .2rem;
}
.field-season { background: #264634; }
.field-season .field-photo { background: #fff3db; }
.field-season-inner { gap: clamp(1.9rem,5vw,5rem); }

.story-chapter .page-intro {
  position: relative;
  isolation: isolate;
  padding-block: clamp(2rem, 5vw, 5rem) clamp(2.8rem, 6vw, 5rem);
  background: linear-gradient(105deg,#f9eed7 0%,#f9eed7 44%,#e5ead4 100%);
  border-bottom: 1px solid #a5aa89;
  box-shadow: none;
}
.story-chapter[data-chapter="cozy"] .page-intro { background: linear-gradient(110deg,#fff2d8,#ead3ae); }
.story-chapter[data-chapter="community"] .page-intro { background: linear-gradient(110deg,#f9efd9,#e3e7cf); }
.story-chapter .page-intro h1 { max-width: min(19ch, 70%); font-size: clamp(2.8rem, 6vw, 5.6rem); }
.story-chapter .page-intro .lead { max-width: min(50ch, 66%); }
.story-chapter .breadcrumb { margin-bottom: 1rem; }
.story-chapter .page-section:nth-of-type(even) { border-block-start: 1px solid var(--field-rule); }
.story-chapter .guide-card,
.story-chapter .place-card,
.story-chapter .resource-card,
.story-chapter .download-feature,
.story-chapter .planning-note,
.story-chapter .community-main,
.story-chapter .community-aside {
  border-radius: .2rem .75rem .3rem .55rem;
  background-color: var(--white);
  box-shadow: 0 4px 0 #645b3120;
}
.story-chapter .guide-card { border-top: 3px solid #a46b34; }
.story-chapter .guide-card:nth-child(even) { border-top-color: #59724a; }
.story-chapter .guide-arrow { color: #4a571e; }
.shared-site-footer { position: relative; margin-top: 1.5rem; background: var(--field-dark); }
.shared-site-footer::before { bottom: 100%; height: 1.4rem; background: var(--field-dark); }
.shared-footer-share .qr-card { border-radius: .2rem .75rem .3rem .55rem; }

@media(max-width: 700px) {
  .field-hero .story-hero-photo img { height: 100%; aspect-ratio: auto; object-position: 60% center; }
  .story-hero-photo::after { background: linear-gradient(90deg,#15281ce8,#15281c98),linear-gradient(0deg,#15281cac,transparent 35%); }
  .story-hero-photo figcaption { bottom: 1rem; }
  .field-hero h1 { font-size: clamp(2.7rem, 11vw, 4.1rem); }
  .field-hero-inner { min-height: 490px; padding-bottom: 5rem; }
  .story-chapter .page-intro h1 { max-width: 100%; }
  .story-chapter .page-intro .lead { max-width: 32ch; }
  .field-choice-list { gap: .5rem 1rem; }
}

.story-chapter .mission-intro { padding-inline: clamp(1rem, 4vw, 2.5rem); }
.story-chapter .mission-intro::before { right: 1.25rem; }
@media(max-width: 700px) {
  .story-chapter .mission-intro { padding-bottom: 5rem; }
}

/* The landscape is a continuous spread, with navigation along its lower edge. */
:root {
  --trail-landscape: url("/images/haywood/storybook-trail.webp");
  --trail-parchment: #f8eed8;
  --trail-ink: #263b29;
}
.field-home, .story-chapter { background: var(--trail-parchment); }
.field-hero::before, .field-choice-list a::before, .story-chapter .page-intro::before { content: none; }
.field-hero::after { height: 1.7rem; background: var(--trail-parchment); }
.field-hero-inner { min-height: clamp(435px, 42vw, 620px); }
.field-hero .story-hero-photo img { object-position: center 42%; }

.trail-spread {
  background-color: var(--trail-parchment);
  background-image: linear-gradient(to bottom, var(--trail-parchment), #f8eed800 26%, #f8eed800 56%, var(--trail-parchment) 93%), var(--trail-landscape);
  background-size: 100% 100%, cover;
  background-position: center, center 54%;
  margin-top: -1px;
}
.trail-spread .field-choices {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(430px, 45vw, 660px);
  padding-block: clamp(1.8rem, 4vw, 3rem) 1.8rem;
}
.trail-spread h2 { margin-bottom: 0; color: var(--trail-ink); }
.trail-spread .field-choice-list { gap: 0; border-block: 1px solid #80654485; background: #fff8e9ef; }
.trail-spread .field-choice-list li + li { border-inline-start: 1px solid #80654450; }
.trail-spread .field-choice-list a,
.trail-spread .field-choice-list li:nth-child(2n) a {
  border: 0;
  padding: .85rem 1rem 1rem;
  background: transparent;
}
.trail-spread .field-choice-list strong {
  padding: 0;
  background: none;
  border: 0;
  color: var(--trail-ink);
  font-size: clamp(1.22rem, 2.1vw, 1.7rem);
}
.trail-spread .field-choice-list a:hover,
.trail-spread .field-choice-list a:focus-visible { background: #f4e6c7; }

.field-season { position: relative; background: #273f2e; }
.field-season-inner { align-items: stretch; gap: 0; padding: 0; max-width: none; }
.field-season .field-lake { display: grid; grid-template-rows: 1fr auto; padding: 0; border: 0; box-shadow: none; background: #ede0bf; }
.field-season .field-lake::before { content: none; }
.field-season .field-lake img { min-height: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.field-season .field-lake figcaption { padding: .5rem 1rem; }
.field-season-copy { padding: clamp(1.5rem, 5vw, 5rem); }

.field-home #upcoming { border-bottom: 1px solid #b9a989; }
.field-home #upcoming .place-card { background: #fff8e8; }
.field-directory-list { border-top: 2px dashed #9b7b4d; }
.field-home .sensory-band { background: #253d2c; }
.shared-footer-share { background: #f3e6cb; }

.story-chapter .page-intro {
  min-height: clamp(300px, 30vw, 430px);
  background-image: linear-gradient(90deg,#faf0dcee 0%,#faf0dced 37%,#faf0dc62 68%,#faf0dc18),var(--trail-landscape);
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 -1px #a4a584;
}
.story-chapter[data-chapter="explore"] .page-intro { background-position: center, left 62%; }
.story-chapter[data-chapter="cozy"] .page-intro { background: linear-gradient(90deg,#faf0dcf5 0%,#faf0dceb 45%,#faf0dc20),var(--trail-landscape) center 53%/cover; }
.story-chapter[data-chapter="community"] .page-intro { background: linear-gradient(90deg,#faf0dcf5 0%,#faf0dceb 44%,#faf0dc28),var(--trail-landscape) right 64%/cover; }
.story-chapter .page-intro::after { background: var(--trail-parchment); }
.story-chapter .guide-grid { column-gap: 0; }
.story-chapter .guide-card { background: transparent; box-shadow: none; border-radius: 0; border: 0; border-block-start: 2px solid #a18858; }
.story-chapter .guide-card:nth-child(even) { border-block-start-color: #a18858; }
.story-chapter .guide-card:hover { background: #fff7e5; }
.story-chapter .guide-card + .guide-card { border-inline-start: 1px solid #b9a989; }
.story-chapter .guide-section, .story-chapter .planning-note { border-color: #a18858; }

@media (max-width:700px) {
  .field-hero-inner { min-height: 420px; padding-bottom: 4.75rem; }
  .trail-spread { background-size: 100% 100%, auto 76%; background-repeat: no-repeat; background-position: center, center 30%; }
  .trail-spread .field-choices { min-height: 485px; }
  .trail-spread .field-choice-list li:nth-child(odd) { border-inline-start: 0; }
  .trail-spread .field-choice-list li:nth-child(n+3) { border-block-start: 1px solid #80654450; }
  .story-chapter .guide-card + .guide-card { border-inline-start: 0; }
  .story-chapter .page-intro { padding-bottom: 3.5rem; }
}

/* The route threads through the lower guide, from the seasonal spread to the footer. */
.field-home .field-directory {
  position: relative;
  padding-top: clamp(2.5rem,6vw,5.25rem);
}
.field-home .field-directory::before {
  content: "";
  position: absolute;
  inset: 1rem clamp(1rem,5vw,5rem) auto;
  border-top: 2px dotted #917141;
  pointer-events: none;
}
.field-home .sensory-band {
  background-image: linear-gradient(90deg,#20392bf2,#20392bec 66%,#20392baf),var(--trail-landscape);
  background-size: cover;
  background-position: center, right 70%;
}
.field-home .app-install-section {
  padding-block: 2.5rem;
  border-bottom: 1px solid #b9a989;
}
.story-chapter #explore, .story-chapter #december-plans, .story-chapter .directory {
  border-block-start: 2px dotted #9b7b4d;
}
