/* ============================================================
   THE HEDGE BETWEEN WORLDS — shared stylesheet
   One file, linked from every page. Each page's content sits
   inside its own uniquely-named wrapper class (.hedge-page,
   .hedge-archive, .hedge-carto, etc.) so none of these sections
   collide with each other — safe to keep them all in one file.
   ============================================================ */


/* ============================================================
   HOMEPAGE — index.html
   ============================================================ */
.hedge-page {
  --paper:  #F2ECDE;
  --paper-2:#EAE2CE;
  --ink:    #2A2419;
  --green:  #3E4A32;
  --rust:   #A85C32;
  --gold:   #B99A4B;
  --hair:   #D8CFB8;

  background: var(--paper);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(62,74,50,0.05), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(168,92,50,0.04), transparent 60%);
  color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  min-height: 100vh;
  padding: 6vh 6vw 10vh;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}
.hedge-page * { box-sizing: border-box; }

.hedge-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(42,36,25,0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.5;
  mix-blend-mode: multiply;
}

.hedge-core {
  max-width: 1400px;
  width: 90vw;
  margin: 0 auto;
  position: relative;
  text-align: center;
  padding-top: 8vh;
}

.hedge-sentence {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-size: clamp(2.4rem, 3.4vw + 0.5rem, 5.2rem);
  line-height: 1.28;
  letter-spacing: 0.002em;
  color: var(--ink);
  margin: 0 0 3.2rem;
}

.hedge-sentence em {
  font-style: italic;
  font-weight: 300;
  color: var(--green);
}

.hedge-divider {
  width: 220px;
  max-width: 60vw;
  height: auto;
  margin: 0 auto 3rem;
  color: var(--green);
  opacity: 0.75;
}

.hedge-enter {
  display: inline-block;
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--rust);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  letter-spacing: 0.01em;
  transition: color 0.25s ease, border-color 0.25s ease, letter-spacing 0.25s ease;
}
.hedge-enter:hover,
.hedge-enter:focus-visible {
  color: var(--green);
  letter-spacing: 0.04em;
}
.hedge-enter:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
  border-radius: 2px;
}
.hedge-enter::after {
  content: " \2192";
}

.hedge-foot {
  margin-top: 5rem;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 0.82rem;
  color: var(--ink);
  opacity: 0.45;
  font-style: italic;
  letter-spacing: 0.02em;
}

.hedge-rooms {
  margin-top: 3.2rem;
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.9rem;
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: 0.8rem;
}
.hedge-rooms a {
  color: var(--ink);
  opacity: 0.5;
  text-decoration: none;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.hedge-rooms a:hover, .hedge-rooms a:focus-visible {
  opacity: 0.9;
  color: var(--rust);
}
.hedge-rooms span.sep { opacity: 0.25; }

.hedge-scrap {
  position: absolute;
  font-family: 'Caveat', cursive;
  color: var(--ink);
  opacity: 0.5;
  line-height: 1.25;
  pointer-events: none;
  max-width: 220px;
}
.scrap-1 { top: 4%; left: -2%; font-size: 1.35rem; transform: rotate(-6deg); text-align: left; color: var(--green); }
.scrap-2 { top: 10%; right: -4%; font-size: 1.25rem; transform: rotate(4deg); text-align: right; color: var(--rust); }
.scrap-3 { bottom: 16%; left: -6%; font-size: 1.2rem; transform: rotate(3deg); text-align: left; color: var(--ink); opacity: 0.4; }
.scrap-4 { bottom: 6%; right: -3%; font-size: 1.3rem; transform: rotate(-4deg); text-align: right; color: var(--gold); opacity: 0.6; }

.hedge-moth {
  position: absolute;
  top: 3vh;
  right: 4vw;
  width: 34px;
  height: 34px;
  color: var(--ink);
  opacity: 0.22;
}

@media (max-width: 720px) {
  .hedge-scrap { display: none; }
  .hedge-page { padding: 8vh 6vw 10vh; }

  .hedge-core {
    width: 100%;
    padding-top: 4vh;
  }

  .hedge-sentence {
    font-size: clamp(1.9rem, 7vw + 0.5rem, 2.6rem);
    line-height: 1.35;
    margin-bottom: 2.4rem;
  }

  .hedge-moth {
    top: 2vh;
    right: 5vw;
    width: 26px;
    height: 26px;
  }

  .hedge-divider {
    margin-bottom: 2.2rem;
  }

  .hedge-rooms {
    margin-top: 2.4rem;
    gap: 0.4rem 0.7rem;
    font-size: 0.78rem;
  }

  .hedge-foot {
    margin-top: 3.5rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 400px) {
  .hedge-sentence {
    font-size: clamp(1.6rem, 8vw + 0.3rem, 2.1rem);
  }

  .hedge-rooms {
    font-size: 0.72rem;
    gap: 0.35rem 0.5rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hedge-sentence, .hedge-divider, .hedge-enter, .hedge-scrap {
    animation: hedge-settle 1.4s ease both;
  }
  .hedge-divider { animation-delay: 0.15s; }
  .hedge-enter { animation-delay: 0.3s; }
  .scrap-1 { animation-delay: 0.5s; }
  .scrap-2 { animation-delay: 0.65s; }
  .scrap-3 { animation-delay: 0.8s; }
  .scrap-4 { animation-delay: 0.95s; }
}
@keyframes hedge-settle {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: var(--end-opacity, 1); transform: translateY(0); }
}


/* ============================================================
   ARCHIVE — archive.html (index of entries)
   ============================================================ */
.hedge-archive {
  --paper:  #F2ECDE;
  --ink:    #2A2419;
  --green:  #3E4A32;
  --rust:   #A85C32;
  --gold:   #B99A4B;
  --hair:   #D8CFB8;

  background: var(--paper);
  background-image: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(62,74,50,0.05), transparent 60%);
  color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  padding: 7vh 6vw 12vh;
  box-sizing: border-box;
}
.hedge-archive * { box-sizing: border-box; }

.archive-wrap { max-width: 620px; margin: 0 auto; }

.archive-head { text-align: center; margin-bottom: 5rem; }
.archive-title { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: clamp(1.9rem, 2.6vw + 1rem, 2.5rem); margin: 0 0 0.8rem; }
.archive-intro { font-style: italic; font-size: 1rem; color: var(--ink); opacity: 0.6; max-width: 420px; margin: 0 auto; line-height: 1.6; }

.archive-entry { position: relative; padding: 2.2rem 0.5rem 2.4rem; border-bottom: 1px solid var(--hair); }
.archive-entry:first-of-type { border-top: 1px solid var(--hair); }

.entry-no { display: inline-block; font-family: 'Caveat', cursive; font-size: 1.15rem; color: var(--gold); opacity: 0.85; margin-bottom: 0.6rem; transform: rotate(-2deg); }

.entry-fragment { font-style: italic; font-size: 1.15rem; line-height: 1.65; color: var(--ink); margin: 0 0 0.9rem; }
.entry-fragment::before { content: "\201C"; }
.entry-fragment::after  { content: "\201D"; }

.entry-provenance { font-family: 'Newsreader', Georgia, serif; font-size: 0.85rem; letter-spacing: 0.02em; color: var(--green); opacity: 0.75; }
.entry-provenance::before { content: "\005F"; }

.entry-link {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--rust);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  opacity: 0.85;
  transition: opacity 0.2s ease, letter-spacing 0.2s ease;
}
.entry-link:hover, .entry-link:focus-visible { opacity: 1; letter-spacing: 0.02em; }
.entry-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.archive-entry:nth-of-type(3n+2) .entry-no { transform: rotate(2deg); }
.archive-entry:nth-of-type(3n)   .entry-no { transform: rotate(-1deg); }

.archive-foot { text-align: center; margin-top: 4.5rem; }
.archive-foot p { font-style: italic; opacity: 0.55; font-size: 0.92rem; margin-bottom: 0.8rem; }
.archive-foot a { font-family: 'Newsreader', Georgia, serif; font-style: italic; color: var(--green); text-decoration: none; border-bottom: 1px solid currentColor; font-size: 1rem; }
.archive-foot a:hover, .archive-foot a:focus-visible { color: var(--rust); }

@media (max-width: 560px) {
  .hedge-archive { padding: 8vh 6vw 10vh; }
  .entry-fragment { font-size: 1.05rem; }
}

/* ---------- section labels shared by the random picks + full index ---------- */
.archive-section-label {
  display: block;
  text-align: center;
  font-family: 'Caveat', cursive;
  font-size: 1.2rem;
  color: var(--gold);
  opacity: 0.9;
  margin: 0 0 1.6rem;
}

/* ---------- random picks: reuses .archive-entry, just a labelled group ---------- */
.archive-random { margin-bottom: 1rem; }

/* ---------- full chronological index ---------- */
.archive-fulllist-wrap { margin-top: 5rem; }

.archive-fulllist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.archive-fulllist li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 0.3rem;
  border-bottom: 1px solid var(--hair);
  font-size: 0.92rem;
}
.archive-fulllist a {
  color: var(--ink);
  text-decoration: none;
  font-style: italic;
}
.archive-fulllist a:hover, .archive-fulllist a:focus-visible { color: var(--rust); }
.archive-fulllist a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.archive-fulllist-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--green);
  opacity: 0.6;
  white-space: nowrap;
}

.archive-fulllist-empty {
  text-align: center;
  font-style: italic;
  opacity: 0.5;
  font-size: 0.9rem;
}

.archive-fulllist-item { border-bottom: 1px solid currentColor; }
.archive-fulllist-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0.5em 0;
  text-align: left;
}
.archive-fulllist-panel { padding: 0 0 1em; }
.archive-fulllist-panel[hidden] { display: none; }

@media (max-width: 560px) {
  .hedge-archive { padding: 6vh 6vw 10vh; }
  .archive-head { margin-bottom: 3rem; }
  .archive-title { font-size: clamp(1.6rem, 7vw + 0.5rem, 2.1rem); }
  .entry-fragment { font-size: 1.02rem; line-height: 1.55; }
  .archive-entry { padding: 1.6rem 0.2rem 1.8rem; }
  .archive-fulllist-wrap { margin-top: 3.5rem; }
}


/* ============================================================
   ARCHIVE ENTRY — archive-entry.html (detail page template)
   Duplicate the HTML file per real entry; this CSS is shared.
   ============================================================ */
.hedge-entry {
  --paper:  #F2ECDE;
  --ink:    #2A2419;
  --green:  #3E4A32;
  --rust:   #A85C32;
  --gold:   #B99A4B;
  --hair:   #D8CFB8;

  background: var(--paper);
  color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  padding: 8vh 6vw 12vh;
  box-sizing: border-box;
}
.hedge-entry * { box-sizing: border-box; }

.entry-wrap { max-width: 1000px; height:auto; margin: 0 auto; text-align: center; }

.entry-catalog { font-family: 'Caveat', cursive; font-size: 1.3rem; color: var(--gold); opacity: 0.9; display: inline-block; transform: rotate(-2deg); margin-bottom: 2.6rem; }

.entry-body {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(1.35rem, 1.6vw + 1rem, 1.7rem);
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 2rem;
}
.entry-body::before { content: "\201C"; }
.entry-body::after  { content: "\201D"; }

.entry-source { font-size: 0.95rem; letter-spacing: 0.02em; color: var(--green); opacity: 0.8; margin-bottom: 3.5rem; }
.entry-source::before { content: "— "; }

.entry-divider { width: 160px; max-width: 40vw; margin: 0 auto 3rem; color: var(--green); opacity: 0.6; }

.entry-related-label { font-style: italic; font-size: 0.85rem; opacity: 0.55; margin-bottom: 0.9rem; }
.entry-related { list-style: none; padding: 0; margin: 0 0 3.5rem; display: flex; flex-direction: column; gap: 0.5rem; align-items: center; }
.entry-related a { font-size: 0.92rem; font-style: italic; color: var(--rust); text-decoration: none; border-bottom: 1px solid currentColor; opacity: 0.85; }
.entry-related a:hover, .entry-related a:focus-visible { opacity: 1; }
.entry-related a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.entry-return { font-size: 0.85rem; color: var(--ink); opacity: 0.5; text-decoration: none; border-bottom: 1px solid currentColor; }
.entry-return:hover, .entry-return:focus-visible { opacity: 0.85; }

@media (max-width: 520px) {
  .hedge-entry { padding: 6vh 6vw 10vh; }
  .entry-catalog { margin-bottom: 1.8rem; }
  .entry-body { font-size: clamp(1.2rem, 5vw + 0.5rem, 1.5rem); line-height: 1.6; }
  .entry-related { margin-bottom: 2.5rem; }
}


/* ============================================================
   CARTOGRAPHER'S ROOM — cartographer.html
   ============================================================ */
.hedge-carto {
  --paper:#F2ECDE; --ink:#2A2419; --green:#3E4A32; --rust:#A85C32; --gold:#B99A4B; --hair:#D8CFB8;
  background: var(--paper); color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  padding: 7vh 6vw 12vh; box-sizing: border-box;
}
.hedge-carto * { box-sizing: border-box; }
.carto-wrap { max-width: 680px; margin: 0 auto; }

.carto-title { text-align: center; font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: clamp(1.9rem, 2.6vw + 1rem, 2.4rem); margin: 0 0 0.6rem; }
.carto-intro { text-align: center; font-style: italic; opacity: 0.6; max-width: 440px; margin: 0 auto 4rem; line-height: 1.6; }

.carto-map { width: 100%; height: auto; }
.carto-region { fill: none; stroke: var(--green); stroke-width: 1; opacity: 0.6; transition: opacity 0.2s ease, fill 0.2s ease; }
.carto-region:hover, .carto-region:focus-visible { opacity: 1; fill: rgba(168,92,50,0.06); outline: none; }
.carto-label { font-family: 'Caveat', cursive; font-size: 15px; fill: var(--ink); opacity: 0.75; pointer-events: none; }
.carto-dot { fill: var(--rust); }

.carto-key { display: flex; justify-content: center; gap: 2rem; margin-top: 3rem; flex-wrap: wrap; font-size: 0.85rem; font-style: italic; opacity: 0.6; }
.carto-key span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--rust); margin-right: 0.4rem; vertical-align: middle; }

@media (max-width: 480px) {
  .hedge-carto { padding: 6vh 6vw 10vh; }
  .carto-intro { margin-bottom: 2.5rem; }
  .carto-label { font-size: 12px; }
  .carto-key { gap: 1.2rem; margin-top: 2rem; }
}


/* ============================================================
   THE USEFUL PART — useful-part.html
   ============================================================ */
.hedge-useful {
  --paper:#F2ECDE; --ink:#2A2419; --green:#3E4A32; --rust:#A85C32; --hair:#D8CFB8;
  background: var(--paper); color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  padding: 7vh 6vw 12vh; box-sizing: border-box;
}
.hedge-useful * { box-sizing: border-box; }
.useful-wrap { max-width: 560px; margin: 0 auto; }

.useful-title { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: clamp(1.8rem, 2.4vw + 1rem, 2.2rem); margin: 0 0 0.6rem; }
.useful-intro { opacity: 0.65; font-size: 0.98rem; line-height: 1.6; margin-bottom: 3.5rem; max-width: 440px; }

.useful-list { list-style: none; margin: 0; padding: 0; }
.useful-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hair);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
}
.useful-list a { color: var(--ink); text-decoration: none; }
.useful-list a:hover, .useful-list a:focus-visible { color: var(--rust); }
.useful-list a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.useful-tag { color: var(--green); opacity: 0.6; font-size: 0.78rem; white-space: nowrap; }

.useful-note { margin-top: 3.5rem; font-style: italic; font-family: 'Newsreader', serif; opacity: 0.55; font-size: 0.92rem; line-height: 1.6; }

@media (max-width: 480px) {
  .hedge-useful { padding: 6vh 6vw 10vh; }
  .useful-list li { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
  .useful-intro { margin-bottom: 2.4rem; }
}


/* ============================================================
   USEFUL PART — GUIDE PAGES
   Shared by every page under /useful/ (gardening-guides,
   seasonal-calendar, folk-crafts, mending, plant-id,
   nature-journalling, oral-history, storytelling). Deliberately
   the plainest template on the site — same family as useful-part
   itself, built for reading rather than atmosphere.
   ============================================================ */
.hedge-guide {
  --paper:#F2ECDE; --ink:#2A2419; --green:#3E4A32; --rust:#A85C32; --gold:#B99A4B; --hair:#D8CFB8;
  background: var(--paper); color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  padding: 7vh 6vw 12vh; box-sizing: border-box;
}
.hedge-guide * { box-sizing: border-box; }
.guide-wrap { max-width: 620px; margin: 0 auto; }

.guide-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.7;
  margin-bottom: 1rem;
}

.guide-title { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: clamp(1.8rem, 2.4vw + 1rem, 2.3rem); margin: 0 0 1.2rem; }
.guide-intro { font-style: italic; opacity: 0.7; font-size: 1.02rem; line-height: 1.65; max-width: 480px; margin: 0 0 3rem; }

.guide-section { margin-bottom: 2.6rem; }
.guide-section h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 1.25rem;
  margin: 0 0 0.9rem;
  color: var(--green);
}
.guide-section p { line-height: 1.7; margin: 0 0 0.9rem; }
.guide-section p:last-child { margin-bottom: 0; }

.guide-list { margin: 0 0 0.9rem; padding-left: 1.2rem; line-height: 1.75; }
.guide-list li { margin-bottom: 0.3rem; }

.guide-note {
  margin-top: 3rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--hair);
  border-radius: 3px;
  font-style: italic;
  opacity: 0.8;
  line-height: 1.65;
}

.guide-return { display: inline-block; margin-top: 3.5rem; font-size: 0.85rem; color: var(--ink); opacity: 0.5; text-decoration: none; border-bottom: 1px solid currentColor; }
.guide-return:hover, .guide-return:focus-visible { opacity: 0.85; }
.guide-return:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

@media (max-width: 560px) {
  .hedge-guide { padding: 6vh 6vw 10vh; }
  .guide-title { font-size: clamp(1.5rem, 6vw + 0.5rem, 1.9rem); }
  .guide-intro { margin-bottom: 2.2rem; }
  .guide-section h2 { font-size: 1.1rem; }
  .guide-note { padding: 1.1rem 1.2rem; margin-top: 2.2rem; }
}


/* ============================================================
   THE GREENHOUSE OF UNFINISHED PROJECTS — greenhouse.html
   Not linked from anywhere on the site by design — see the
   comment in greenhouse.html.
   ============================================================ */
.hedge-greenhouse {

  --paper:#EDE9D8; --ink:#2A2419; --green:#3E4A32; --rust:#A85C32; --gold:#B99A4B; --hair:#D3CBB0;
  background: var(--paper); color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  padding: 9vh 6vw 12vh; box-sizing: border-box;
}
.hedge-greenhouse * { box-sizing: border-box; }
.gh-wrap { max-width: 1000px; margin: 0 auto; text-align: center; }

.gh-eyebrow { font-family: 'Caveat', cursive; font-size: 1.1rem; color: var(--gold); margin-bottom: 1.4rem; display: block; }
.gh-title { font-family: 'Fraunces', Georgia, serif; font-weight: 300; font-size: clamp(1.8rem, 2.4vw + 1rem, 2.3rem); margin: 0 0 2.5rem; }

.gh-item { border-top: 1px dashed var(--hair); padding: 1.3rem 0.5rem; opacity: 0.8; line-height: 1.6; text-align: left;}
.gh-item:last-of-type { border-bottom: 1px dashed var(--hair); }

.gh-close { margin-top: 3.5rem; font-size: 0.9rem; opacity: 0.5; font-style: italic; }

@media (max-width: 520px) {
  .hedge-greenhouse { padding: 7vh 6vw 10vh; }
  .gh-title { font-size: clamp(1.5rem, 6vw + 0.5rem, 1.9rem); margin-bottom: 2rem; }
  .gh-item { padding: 1rem 0.2rem; font-size: 0.95rem; }
}


/* ============================================================
   THE HERBARIUM — herbarium.html (index of entries)
   ============================================================ */
.hedge-herbarium {
  --paper:#F2ECDE; --ink:#2A2419; --green:#3E4A32; --rust:#A85C32; --gold:#B99A4B; --hair:#D8CFB8;
  background: var(--paper); color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  padding: 7vh 6vw 12vh; box-sizing: border-box;
}
.hedge-herbarium * { box-sizing: border-box; }
.herb-wrap { max-width: 680px; margin: 0 auto; }

.herb-head { text-align: center; margin-bottom: 4.5rem; }
.herb-title { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: clamp(1.9rem, 2.6vw + 1rem, 2.5rem); margin: 0 0 0.8rem; }
.herb-intro { font-style: italic; opacity: 0.6; max-width: 440px; margin: 0 auto; line-height: 1.6; }

.herb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2.2rem 2rem; }
.herb-entry { border: 1px solid var(--hair); border-radius: 3px; padding: 1.6rem 1.4rem 1.4rem; text-align: center; background: rgba(255,255,255,0.15); }
.herb-sprig { width: 46px; height: 60px; margin: 0 auto 0.9rem; color: var(--green); }
.herb-name { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 1.2rem; margin: 0 0 0.4rem; }
.herb-assoc { font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--rust); opacity: 0.8; margin-bottom: 0.7rem; }

.herb-season { width: 16px; height: 16px; margin: 0 auto 0.9rem; border-radius: 50%; border: 1px solid var(--hair); position: relative; }
.herb-season::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.season-spring::after { top: 1px; left: 5.5px; }
.season-summer::after { top: 5.5px; right: 1px; }
.season-autumn::after { bottom: 1px; left: 5.5px; }
.season-winter::after { top: 5.5px; left: 1px; }

.herb-link { display: inline-block; font-size: 0.85rem; font-style: italic; color: var(--green); text-decoration: none; border-bottom: 1px solid currentColor; opacity: 0.85; }
.herb-link:hover, .herb-link:focus-visible { opacity: 1; color: var(--rust); }
.herb-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

@media (max-width: 560px) {
  .hedge-herbarium { padding: 6vh 6vw 10vh; }
  .herb-head { margin-bottom: 3rem; }
  .herb-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* ============================================================
   HERBARIUM ENTRY — herbarium-entry.html (template, one per plant)
   ============================================================ */
.hedge-herb-entry {
  --paper:#F2ECDE; --ink:#2A2419; --green:#3E4A32; --rust:#A85C32; --gold:#B99A4B; --hair:#D8CFB8;
  background: var(--paper); color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  padding: 8vh 6vw 12vh; box-sizing: border-box;
}
.hedge-herb-entry * { box-sizing: border-box; }
.he-wrap { max-width: 560px; margin: 0 auto; }

.he-head { text-align: center; margin-bottom: 3rem; }
.he-sprig { width: 60px; height: 78px; margin: 0 auto 1rem; color: var(--green); }
.he-name { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 400; font-size: clamp(1.8rem, 2.2vw + 1rem, 2.3rem); margin: 0 0 0.3rem; }
.he-latin { font-size: 0.9rem; font-style: italic; opacity: 0.5; }

.he-section { margin-bottom: 2.4rem; }
.he-label { font-family: 'Caveat', cursive; font-size: 1.2rem; color: var(--gold); margin-bottom: 0.4rem; display: block; }
.he-section p { line-height: 1.7; margin: 0; }

.he-note {
  margin-top: 3rem;
  padding: 1.6rem 1.6rem 1.4rem;
  border: 1px solid var(--hair);
  border-radius: 3px;
  position: relative;
}
.he-note::before { content: "from the archive"; position: absolute; top: -0.7rem; left: 1.2rem; background: var(--paper); padding: 0 0.5rem; font-family: 'Caveat', cursive; font-size: 1.05rem; color: var(--rust); }
.he-note p { font-style: italic; line-height: 1.7; margin: 0 0 0.6rem; }
.he-note span { font-size: 0.82rem; opacity: 0.6; }

.he-return { display: block; text-align: center; margin-top: 3.5rem; font-size: 0.85rem; color: var(--ink); opacity: 0.5; text-decoration: none; border-bottom: 1px solid currentColor; }
.he-return:hover, .he-return:focus-visible { opacity: 0.85; }

@media (max-width: 520px) {
  .hedge-herb-entry { padding: 6vh 6vw 10vh; }
  .he-name { font-size: clamp(1.5rem, 6vw + 0.5rem, 1.9rem); }
  .he-note { padding: 1.3rem 1.3rem 1.1rem; }
}


/* ============================================================
   THE LISTENING ROOM — listening-room.html
   ============================================================ */
.hedge-listening {
  --paper:#F2ECDE; --ink:#2A2419; --green:#3E4A32; --rust:#A85C32; --gold:#B99A4B; --hair:#D8CFB8;
  background: var(--paper); color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  padding: 8vh 6vw 12vh; box-sizing: border-box;
}
.hedge-listening * { box-sizing: border-box; }
.listen-wrap { max-width: 520px; margin: 0 auto; }

.listen-title { text-align: center; font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: clamp(1.9rem, 2.6vw + 1rem, 2.4rem); margin: 0 0 5rem; }

.listen-item { margin-bottom: 3.2rem; text-align: center; }
.listen-item h2 { font-style: italic; font-weight: 400; font-size: 1.15rem; margin: 0 0 1rem; opacity: 0.85; }

.hedge-listening audio { width: 100%; max-width: 380px; }
.hedge-listening audio::-webkit-media-controls-panel { background-color: var(--paper); }

.listen-foot { text-align: center; margin-top: 4rem; font-style: italic; opacity: 0.4; font-size: 0.85rem; }

@media (max-width: 520px) {
  .hedge-listening { padding: 6vh 6vw 10vh; }
  .listen-title { margin-bottom: 3rem; }
  .listen-item { margin-bottom: 2.4rem; }
  .hedge-listening audio { max-width: 100%; }
}


/* ============================================================
   THE DEPARTMENT OF LOST THINGS — lost-things.html
   ============================================================ */
.hedge-lost {
  --paper:#F2ECDE; --ink:#2A2419; --green:#3E4A32; --rust:#A85C32; --gold:#B99A4B; --hair:#D8CFB8;
  background: var(--paper); color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  padding: 7vh 6vw 12vh; box-sizing: border-box;
}
.hedge-lost * { box-sizing: border-box; }
.lost-wrap { max-width: 600px; margin: 0 auto; }

.lost-title { text-align: center; font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: clamp(1.9rem, 2.6vw + 1rem, 2.4rem); margin: 0 0 0.6rem; }
.lost-intro { text-align: center; font-style: italic; opacity: 0.6; max-width: 420px; margin: 0 auto 5rem; line-height: 1.6; }

.lost-item { border-top: 1px solid var(--hair); padding: 1.6rem 0.3rem; }
.lost-item:last-of-type { border-bottom: 1px solid var(--hair); }

.lost-item summary {
  cursor: pointer;
  list-style: none;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lost-item summary::-webkit-details-marker { display: none; }
.lost-item summary::after { content: "+"; color: var(--rust); font-family: 'Newsreader', serif; font-style: normal; font-size: 1.3rem; transition: transform 0.25s ease; }
.lost-item[open] summary::after { transform: rotate(45deg); }
.lost-item summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.lost-stories { margin-top: 1rem; }
.lost-story { font-size: 0.95rem; line-height: 1.65; opacity: 0.85; margin: 0 0 0.9rem; padding-left: 1rem; border-left: 2px solid var(--hair); }
.lost-story span { display: block; font-family: 'Caveat', cursive; font-size: 0.95rem; color: var(--gold); margin-top: 0.3rem; }

.lost-foot { text-align: center; margin-top: 4rem; }
.lost-foot a { font-style: italic; color: var(--green); text-decoration: none; border-bottom: 1px solid currentColor; }
.lost-foot a:hover, .lost-foot a:focus-visible { color: var(--rust); }

@media (max-width: 520px) {
  .hedge-lost { padding: 6vh 6vw 10vh; }
  .lost-intro { margin-bottom: 3rem; }
  .lost-item summary { font-size: 1.05rem; }
}


/* ============================================================
   THE OBSERVATORY — observatory.html
   ============================================================ */
.hedge-observatory {
  --night:  #171A22;
  --night-2:#1F2330;
  --star:   #EDE6CE;
  --gold:   #C9A227;
  --rust:   #C97B4A;
  background: radial-gradient(ellipse 90% 70% at 50% 20%, var(--night-2), var(--night));
  color: var(--star);
  font-family: 'Newsreader', Georgia, serif;
  padding: 8vh 6vw 12vh;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
}
.hedge-observatory * { box-sizing: border-box; }

.hedge-observatory::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(237,230,206,0.5), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(237,230,206,0.4), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(237,230,206,0.3), transparent),
    radial-gradient(1px 1px at 25% 85%, rgba(237,230,206,0.4), transparent),
    radial-gradient(1px 1px at 45% 40%, rgba(237,230,206,0.3), transparent),
    radial-gradient(1px 1px at 90% 60%, rgba(237,230,206,0.4), transparent),
    radial-gradient(1px 1px at 70% 90%, rgba(237,230,206,0.3), transparent);
  pointer-events: none;
}

.obs-title { position: relative; text-align: center; font-family: 'Fraunces', Georgia, serif; font-weight: 300; font-size: clamp(1.9rem, 2.6vw + 1rem, 2.4rem); margin: 0 0 0.6rem; }
.obs-intro { position: relative; text-align: center; font-style: italic; opacity: 0.55; max-width: 380px; margin: 0 auto 6vh; line-height: 1.6; }

.obs-sky { position: relative; max-width: 760px; margin: 0 auto; height: 46vh; min-height: 320px; }

.star { position: absolute; }
.star summary {
  list-style: none;
  cursor: pointer;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--star);
  box-shadow: 0 0 6px 2px rgba(237,230,206,0.5);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.star summary::-webkit-details-marker { display: none; }
.star summary:hover, .star summary:focus-visible {
  box-shadow: 0 0 12px 4px rgba(201,162,39,0.7);
  transform: scale(1.3);
}
.star summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.star[open] summary { box-shadow: 0 0 14px 5px rgba(201,162,39,0.8); }

.star-memory {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 220px;
  background: rgba(31,35,48,0.96);
  border: 1px solid rgba(237,230,206,0.25);
  border-radius: 4px;
  padding: 0.9rem 1.1rem;
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--star);
  z-index: 5;
}

.star-1 { top: 10%; left: 15%; } .star-2 { top: 30%; left: 70%; } .star-3 { top: 55%; left: 35%; }
.star-4 { top: 15%; left: 85%; } .star-5 { top: 70%; left: 60%; } .star-6 { top: 60%; left: 10%; }
.star-7 { top: 5%;  left: 50%; }

.obs-foot { position: relative; text-align: center; margin-top: 6vh; }
.obs-foot p { font-style: italic; opacity: 0.5; font-size: 0.88rem; margin-bottom: 0.7rem; }
.obs-foot a { color: var(--rust); text-decoration: none; border-bottom: 1px solid currentColor; font-style: italic; }
.obs-foot a:hover, .obs-foot a:focus-visible { color: var(--gold); }

@media (max-width: 600px) {
  .hedge-observatory { padding: 6vh 6vw 10vh; min-height: 80vh; }
  .obs-title { font-size: clamp(1.5rem, 6vw + 0.5rem, 1.9rem); }
  .obs-intro { margin-bottom: 4vh; }
  .obs-sky { height: 55vh; }
  .star-memory { width: 160px; font-size: 0.82rem; padding: 0.7rem 0.9rem; }
}


/* ============================================================
   THE FINAL PAGE — final-page.html
   Not linked from any nav, the homepage, or the archive —
   reachable only by wandering.
   ============================================================ */
.hedge-final {
  --paper:#F2ECDE; --ink:#2A2419; --green:#3E4A32;
  background: var(--paper); color: var(--ink);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8vh 8vw;
  box-sizing: border-box;
}
.hedge-final p {
  max-width: 460px;
  font-size: clamp(1.4rem, 2vw + 0.9rem, 1.9rem);
  line-height: 1.6;
  font-style: italic;
  color: var(--green);
  margin: 0;
}

@media (max-width: 480px) {
  .hedge-final { padding: 6vh 7vw; }
}