@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Literata:ital,opsz,wght@0,7..72,400;0,7..72,500;0,7..72,600;0,7..72,700;1,7..72,400&display=swap");

:root {
  --pt-forest: #1e382c;
  --pt-forest-deep: #112018;
  --pt-canopy: #2a4a3a;
  --pt-moss: #456b55;
  --pt-parchment: #efe7d6;
  --pt-parchment-mid: #e3d7c0;
  --pt-parchment-deep: #d2c2a6;
  --pt-cream: #faf6ed;
  --pt-ink: #131a16;
  --pt-muted: #58635c;
  --pt-line: rgba(17, 32, 24, 0.14);
  --pt-trail: #8b6b3a;
  --pt-serif: "Literata", "Iowan Old Style", "Palatino Linotype", serif;
  --pt-sans: "Figtree", "Segoe UI", sans-serif;
  --pt-max: 1020px;
  --pt-wide: 1180px;
  --pt-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--pt-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--pt-ink);
  background:
    radial-gradient(ellipse 52% 40% at 96% 2%, rgba(69, 107, 85, 0.15), transparent 56%),
    radial-gradient(ellipse 38% 28% at 4% 28%, rgba(139, 107, 58, 0.1), transparent 50%),
    linear-gradient(170deg, var(--pt-parchment) 0%, var(--pt-parchment-mid) 52%, var(--pt-parchment-deep) 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--pt-forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.25s var(--pt-ease);
}

a:hover {
  color: var(--pt-trail);
}

h1,
h2,
h3 {
  font-family: var(--pt-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--pt-forest-deep);
  margin: 0 0 0.65rem;
}

p {
  margin: 0 0 1rem;
}

.wrap {
  width: min(100% - 2.25rem, var(--pt-max));
  margin-inline: auto;
}

.wrap-wide {
  width: min(100% - 2.25rem, var(--pt-wide));
  margin-inline: auto;
}

.trail-mark {
  font-family: var(--pt-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pt-trail);
  margin: 0 0 0.75rem;
}

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  padding: 1.15rem 0;
}

.site-header.is-solid {
  position: relative;
  background: var(--pt-forest-deep);
  padding: 0.85rem 0;
}

.mast {
  width: min(100% - 2.25rem, var(--pt-wide));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--pt-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.38rem);
  font-weight: 600;
  color: var(--pt-cream);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand span {
  display: block;
  font-family: var(--pt-sans);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250, 246, 237, 0.58);
  margin-top: 0.2rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid rgba(250, 246, 237, 0.28);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin-inline: auto;
  background: var(--pt-cream);
  transition: transform 0.3s var(--pt-ease), opacity 0.25s;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  flex-wrap: wrap;
}

.nav-main a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(250, 246, 237, 0.88);
  text-decoration: none;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}

.nav-main a:hover,
.nav-main a[aria-current="page"],
.nav-main a.is-on {
  color: var(--pt-cream);
  border-bottom-color: var(--pt-trail);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--pt-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.78rem 1.35rem;
  border-radius: 2px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--pt-ease), color 0.25s, border-color 0.25s, transform 0.25s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-trail {
  background: var(--pt-trail);
  color: var(--pt-cream);
  border-color: var(--pt-trail);
}

.btn-trail:hover {
  background: #7a5c2f;
  color: var(--pt-cream);
}

.btn-forest {
  background: var(--pt-forest);
  color: var(--pt-cream);
  border-color: var(--pt-forest);
}

.btn-forest:hover {
  background: var(--pt-canopy);
  color: var(--pt-cream);
}

.btn-ghost {
  background: transparent;
  color: var(--pt-cream);
  border-color: rgba(250, 246, 237, 0.45);
}

.btn-ghost:hover {
  background: rgba(250, 246, 237, 0.1);
  color: var(--pt-cream);
}

.btn-line {
  background: transparent;
  color: var(--pt-forest);
  border-color: var(--pt-forest);
}

.btn-line:hover {
  background: var(--pt-forest);
  color: var(--pt-cream);
}

/* Hero — full-bleed */
.hero {
  position: relative;
  min-height: min(100vh, 780px);
  display: grid;
  align-items: end;
  color: var(--pt-cream);
  overflow: hidden;
}

.hero-plane {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-plane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-plane::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(17, 32, 24, 0.82) 0%, rgba(17, 32, 24, 0.55) 42%, rgba(17, 32, 24, 0.28) 100%),
    linear-gradient(to top, rgba(17, 32, 24, 0.75) 0%, transparent 45%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 2.25rem, var(--pt-wide));
  margin: 0 auto;
  padding: 7.5rem 0 4.5rem;
  max-width: 36rem;
  margin-left: max(calc((100% - var(--pt-wide)) / 2), 1.125rem);
  animation: lift-in 0.9s var(--pt-ease) both;
}

.hero-brand {
  font-family: var(--pt-serif);
  font-size: clamp(2.4rem, 6.5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--pt-cream);
  margin: 0 0 1rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero-lead {
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.55;
  color: rgba(250, 246, 237, 0.9);
  margin: 0 0 1.75rem;
  max-width: 28rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes lift-in {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.drift {
  animation: fade-up 0.75s var(--pt-ease) both;
}

.drift-2 {
  animation-delay: 0.12s;
}

.drift-3 {
  animation-delay: 0.24s;
}

/* Sections */
.band {
  padding: 4.25rem 0;
}

.band-tight {
  padding: 3rem 0;
}

.band-soft {
  background: rgba(250, 246, 237, 0.45);
}

.band-forest {
  background:
    linear-gradient(135deg, var(--pt-forest-deep) 0%, var(--pt-canopy) 100%);
  color: rgba(250, 246, 237, 0.9);
}

.band-forest h2,
.band-forest h3 {
  color: var(--pt-cream);
}

.band-forest .trail-mark {
  color: #d4b87a;
}

.band-head {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.band-head p:last-child {
  margin-bottom: 0;
  color: var(--pt-muted);
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem 3rem;
  align-items: start;
}

.prose p {
  color: var(--pt-muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

/* Trail path links */
.trail-path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--pt-line);
  border-bottom: 1px solid var(--pt-line);
}

.trail-path a {
  text-decoration: none;
  color: inherit;
  padding: 1.75rem 1.35rem;
  border-right: 1px solid var(--pt-line);
  transition: background 0.3s var(--pt-ease);
}

.trail-path a:last-child {
  border-right: none;
}

.trail-path a:hover {
  background: rgba(250, 246, 237, 0.65);
}

.trail-path h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.trail-path p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--pt-muted);
}

.trail-path .mile {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pt-trail);
  margin-bottom: 0.55rem;
}

/* Hours / visit panel */
.visit-box {
  background: var(--pt-forest-deep);
  color: rgba(250, 246, 237, 0.88);
  padding: 1.75rem 1.6rem;
}

.visit-box h2 {
  color: var(--pt-cream);
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
}

.visit-box dl {
  margin: 0;
}

.visit-box dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(250, 246, 237, 0.12);
  font-size: 0.95rem;
}

.visit-box dl > div:last-child {
  border-bottom: none;
}

.visit-box dt {
  font-weight: 500;
  color: rgba(250, 246, 237, 0.7);
}

.visit-box dd {
  margin: 0;
  font-weight: 600;
  color: var(--pt-cream);
}

.visit-box a {
  color: #d4b87a;
}

.visit-box a:hover {
  color: var(--pt-cream);
}

/* Café invite strip */
.invite-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.invite-strip p:last-of-type {
  margin-bottom: 0;
  max-width: 34rem;
  color: rgba(250, 246, 237, 0.82);
}

/* Staff picks / spine rail */
.spine-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--pt-line);
}

.spine-rail li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0.25rem;
  border-bottom: 1px solid var(--pt-line);
  font-family: var(--pt-serif);
  font-size: 1.05rem;
}

.spine-rail .tag {
  font-family: var(--pt-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pt-muted);
  flex-shrink: 0;
}

/* Page top (inner pages) */
.page-top {
  background: var(--pt-forest-deep);
  color: rgba(250, 246, 237, 0.88);
  padding: 3.25rem 0 2.75rem;
}

.page-top h1 {
  color: var(--pt-cream);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  margin-bottom: 0.65rem;
}

.page-top p {
  margin: 0;
  max-width: 34rem;
  color: rgba(250, 246, 237, 0.78);
}

/* Shelves */
.shelf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2.5rem;
}

.shelf-block h3 {
  font-size: 1.35rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--pt-trail);
  margin-bottom: 0.85rem;
}

.shelf-block p {
  color: var(--pt-muted);
  margin: 0;
}

.shelf-block ul {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.shelf-block li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--pt-line);
  font-size: 0.98rem;
  color: var(--pt-ink);
}

.shelf-block li:last-child {
  border-bottom: none;
}

/* Café menu */
.menu-board {
  display: grid;
  gap: 2.5rem;
}

.menu-group h2 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--pt-trail);
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--pt-line);
}

.menu-list li:last-child {
  border-bottom: none;
}

.menu-list strong {
  display: block;
  font-family: var(--pt-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--pt-forest-deep);
  margin-bottom: 0.15rem;
}

.menu-list .desc {
  display: block;
  font-size: 0.9rem;
  color: var(--pt-muted);
}

.menu-list .price {
  font-weight: 600;
  color: var(--pt-forest);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.note-plain {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  color: var(--pt-muted);
}

/* Events */
.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.event-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.35rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--pt-line);
}

.event-list li:first-child {
  border-top: 1px solid var(--pt-line);
}

.event-date {
  text-align: center;
  background: var(--pt-forest);
  color: var(--pt-cream);
  padding: 0.65rem 0.4rem;
  line-height: 1.15;
}

.event-date .month {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}

.event-date .day {
  display: block;
  font-family: var(--pt-serif);
  font-size: 1.65rem;
  font-weight: 600;
}

.event-meta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pt-trail);
  margin: 0 0 0.35rem;
}

.event-list h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.event-list p:last-child {
  margin: 0;
  color: var(--pt-muted);
  font-size: 0.98rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem 3rem;
  align-items: start;
}

.form-stack {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

.form-stack label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pt-forest-deep);
}

.form-stack input,
.form-stack select,
.form-stack textarea {
  font-family: var(--pt-sans);
  font-size: 1rem;
  font-weight: 400;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--pt-line);
  background: var(--pt-cream);
  color: var(--pt-ink);
  border-radius: 2px;
  width: 100%;
}

.form-stack textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-stack input:focus,
.form-stack select:focus,
.form-stack textarea:focus {
  outline: 2px solid var(--pt-moss);
  outline-offset: 1px;
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(69, 107, 85, 0.15);
  border-left: 3px solid var(--pt-moss);
  color: var(--pt-forest-deep);
  font-size: 0.95rem;
}

.form-success.show {
  display: block;
}

/* Legal */
.legal {
  max-width: 42rem;
}

.legal h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
}

.legal ul {
  padding-left: 1.25rem;
  color: var(--pt-muted);
}

.legal li {
  margin-bottom: 0.4rem;
}

.legal p {
  color: var(--pt-muted);
}

/* Footer */
.site-footer {
  background: var(--pt-forest-deep);
  color: rgba(250, 246, 237, 0.72);
  padding: 3.25rem 0 1.75rem;
  margin-top: 0;
}

.site-footer .brand {
  display: inline-block;
  margin-bottom: 0.85rem;
}

.site-footer p {
  font-size: 0.92rem;
  margin: 0;
  max-width: 22rem;
}

.site-footer h3 {
  font-family: var(--pt-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 246, 237, 0.5);
  margin-bottom: 0.85rem;
}

.site-footer a {
  color: rgba(250, 246, 237, 0.85);
  text-decoration: none;
}

.site-footer a:hover {
  color: #d4b87a;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(250, 246, 237, 0.12);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.35rem;
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 1.15rem;
}

/* Cookie banner */
#cookie-banner {
  display: none;
  position: fixed;
  inset: auto 0 0;
  z-index: 100;
  padding: 1rem;
  background: rgba(17, 32, 24, 0.96);
  color: rgba(250, 246, 237, 0.9);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25);
}

#cookie-banner.show {
  display: block;
}

.cookie-inner {
  width: min(100%, var(--pt-wide));
  margin-inline: auto;
}

.cookie-inner p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
}

.cookie-inner a {
  color: #d4b87a;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

#cookie-panel {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(250, 246, 237, 0.15);
}

#cookie-panel.open {
  display: block;
}

#cookie-panel label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
}

#cookie-panel .btn {
  margin-top: 0.35rem;
}

/* Responsive */
@media (max-width: 860px) {
  .menu-toggle {
    display: flex;
  }

  .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--pt-forest-deep);
    padding: 0.5rem 1.125rem 1.15rem;
    border-top: 1px solid rgba(250, 246, 237, 0.1);
  }

  .nav-main.open {
    display: flex;
  }

  .nav-main a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(250, 246, 237, 0.1);
  }

  .nav-main a[aria-current="page"],
  .nav-main a.is-on {
    border-bottom-color: rgba(250, 246, 237, 0.1);
  }

  .site-header {
    background: rgba(17, 32, 24, 0.88);
  }

  .hero-copy {
    margin-left: auto;
    margin-right: auto;
    padding-top: 6.5rem;
  }

  .trail-path {
    grid-template-columns: 1fr;
  }

  .trail-path a {
    border-right: none;
    border-bottom: 1px solid var(--pt-line);
  }

  .trail-path a:last-child {
    border-bottom: none;
  }

  .split,
  .contact-grid,
  .footer-cols,
  .shelf-grid {
    grid-template-columns: 1fr;
  }

  .spine-rail {
    grid-template-columns: 1fr;
  }

  .event-list li {
    grid-template-columns: 3.75rem 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
