@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 {
  --sp-forest: #1a3328;
  --sp-forest-deep: #0f1f18;
  --sp-canopy: #2a4a3a;
  --sp-moss: #3f6b52;
  --sp-leaf: #5a8a6a;
  --sp-parchment: #efe6d4;
  --sp-parchment-mid: #e2d5bc;
  --sp-parchment-deep: #d0be9e;
  --sp-cream: #f8f3e9;
  --sp-ink: #121a15;
  --sp-muted: #556058;
  --sp-line: rgba(15, 31, 24, 0.14);
  --sp-amber: #a67c3d;
  --sp-amber-soft: #c4a06a;
  --sp-serif: "Literata", "Iowan Old Style", "Palatino Linotype", serif;
  --sp-sans: "Figtree", "Segoe UI", sans-serif;
  --sp-max: 980px;
  --sp-wide: 1140px;
  --sp-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(--sp-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--sp-ink);
  background:
    radial-gradient(ellipse 52% 38% at 88% 0%, rgba(63, 107, 82, 0.18), transparent 55%),
    radial-gradient(ellipse 36% 28% at 8% 18%, rgba(166, 124, 61, 0.1), transparent 50%),
    linear-gradient(168deg, var(--sp-parchment) 0%, var(--sp-parchment-mid) 52%, var(--sp-parchment-deep) 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sp-forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.25s var(--sp-ease);
}

a:hover {
  color: var(--sp-amber);
}

h1,
h2,
h3 {
  font-family: var(--sp-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--sp-forest-deep);
  margin: 0 0 0.65rem;
}

p {
  margin: 0 0 1rem;
}

.wrap {
  width: min(100% - 2.2rem, var(--sp-max));
  margin-inline: auto;
}

.wrap-wide {
  width: min(100% - 2.2rem, var(--sp-wide));
  margin-inline: auto;
}

.kicker {
  font-family: var(--sp-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--sp-amber);
  margin: 0 0 0.7rem;
}

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  padding: 1.1rem 0;
}

.site-header.is-solid {
  position: relative;
  background: var(--sp-forest-deep);
  padding: 0.8rem 0;
}

.header-bar {
  width: min(100% - 2.2rem, var(--sp-wide));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--sp-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.38rem);
  font-weight: 600;
  color: var(--sp-cream);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand em {
  display: block;
  font-family: var(--sp-sans);
  font-style: normal;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(248, 243, 233, 0.58);
  margin-top: 0.16rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.55rem;
  height: 2.55rem;
  padding: 0;
  border: 1px solid rgba(248, 243, 233, 0.3);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin-inline: auto;
  background: var(--sp-cream);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 0.1rem 1.2rem;
}

.nav-main a {
  color: rgba(248, 243, 233, 0.86);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-main a:hover,
.nav-main a[aria-current="page"] {
  color: var(--sp-cream);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.76rem 1.3rem;
  font-family: var(--sp-sans);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--sp-ease), color 0.25s var(--sp-ease), border-color 0.25s var(--sp-ease), transform 0.25s var(--sp-ease);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-amber {
  background: var(--sp-amber);
  color: var(--sp-cream);
  border-color: var(--sp-amber);
}

.btn-amber:hover {
  background: #8f6a32;
  color: var(--sp-cream);
  border-color: #8f6a32;
}

.btn-ghost {
  background: transparent;
  color: var(--sp-cream);
  border-color: rgba(248, 243, 233, 0.45);
}

.btn-ghost:hover {
  background: rgba(248, 243, 233, 0.1);
  color: var(--sp-cream);
}

.btn-forest {
  background: var(--sp-forest);
  color: var(--sp-cream);
  border-color: var(--sp-forest);
}

.btn-forest:hover {
  background: var(--sp-forest-deep);
  color: var(--sp-cream);
}

.btn-line {
  background: transparent;
  color: var(--sp-forest);
  border-color: var(--sp-forest);
}

.btn-line:hover {
  background: var(--sp-forest);
  color: var(--sp-cream);
}

/* Hero — full bleed */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: var(--sp-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 40%;
  animation: sp-settle 1.5s var(--sp-ease) both;
}

.hero-plane::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 31, 24, 0.62) 0%, rgba(15, 31, 24, 0.28) 42%, rgba(15, 31, 24, 0.88) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 2.2rem, var(--sp-wide));
  margin: 0 auto;
  padding: 7.2rem 0 4.4rem;
  max-width: 36rem;
  animation: sp-rise 1s var(--sp-ease) 0.2s both;
}

.hero-brand {
  font-family: var(--sp-serif);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 700;
  line-height: 1.02;
  color: var(--sp-cream);
  letter-spacing: -0.03em;
  margin: 0 0 0.9rem;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.3);
}

.hero-lead {
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.55;
  color: rgba(248, 243, 233, 0.9);
  max-width: 31rem;
  margin: 0 0 1.65rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

@keyframes sp-settle {
  from {
    transform: scale(1.08);
    opacity: 0.6;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes sp-rise {
  from {
    opacity: 0;
    transform: translateY(1.4rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sp-draw {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.rise {
  animation: sp-rise 0.85s var(--sp-ease) both;
}

.rise-2 {
  animation-delay: 0.12s;
}

.rise-3 {
  animation-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-plane img,
  .hero-copy,
  .rise,
  .rise-2,
  .rise-3,
  .spree-rule::before {
    animation: none;
  }
}

/* Inner page top */
.page-top {
  background: linear-gradient(132deg, var(--sp-forest-deep) 0%, var(--sp-canopy) 100%);
  color: var(--sp-cream);
  padding: 3.3rem 0 2.6rem;
}

.page-top h1 {
  color: var(--sp-cream);
  font-size: clamp(2rem, 4.4vw, 2.85rem);
  margin-bottom: 0.5rem;
}

.page-top p {
  color: rgba(248, 243, 233, 0.82);
  margin: 0;
  max-width: 36rem;
}

/* Sections */
.block {
  padding: 4.3rem 0;
}

.block-tight {
  padding: 2.7rem 0;
}

.block-head {
  max-width: 34rem;
  margin-bottom: 2rem;
}

.block-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
}

.wash {
  background: rgba(248, 243, 233, 0.4);
  border-block: 1px solid var(--sp-line);
}

.grove {
  background: var(--sp-forest-deep);
  color: rgba(248, 243, 233, 0.88);
}

.grove h2 {
  color: var(--sp-cream);
}

.grove p {
  color: rgba(248, 243, 233, 0.82);
}

.grove .kicker {
  color: var(--sp-amber-soft);
}

.pair {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.3rem 3.2rem;
  align-items: start;
}

.prose h2 {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
}

.prose p:last-child {
  margin-bottom: 0;
}

/* Spree rule + triad */
.spree-rule {
  position: relative;
  padding-top: 0.3rem;
}

.spree-rule::before {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, transparent, var(--sp-moss), var(--sp-amber), var(--sp-moss), transparent);
  transform-origin: left center;
  animation: sp-draw 1.1s var(--sp-ease) 0.35s both;
}

.triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.triad a {
  display: block;
  padding: 1.55rem 1.3rem 1.65rem;
  text-decoration: none;
  color: inherit;
  border-right: 1px solid var(--sp-line);
  transition: background 0.3s var(--sp-ease);
}

.triad a:last-child {
  border-right: none;
}

.triad a:hover {
  background: var(--sp-cream);
  color: inherit;
}

.triad .label {
  font-family: var(--sp-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sp-moss);
  margin: 0 0 0.5rem;
}

.triad h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.triad p {
  margin: 0;
  color: var(--sp-muted);
  font-size: 0.94rem;
}

/* Hours / visit panel */
.visit-panel {
  background: var(--sp-cream);
  border: 1px solid var(--sp-line);
  padding: 1.65rem 1.4rem;
}

.visit-panel h2 {
  font-size: 1.28rem;
  margin-bottom: 1rem;
}

.visit-panel dl {
  margin: 0;
}

.visit-panel dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.52rem 0;
  border-bottom: 1px solid var(--sp-line);
  font-size: 0.95rem;
}

.visit-panel dl > div:last-child {
  border-bottom: none;
}

.visit-panel dt {
  font-weight: 500;
  color: var(--sp-forest);
}

.visit-panel dd {
  margin: 0;
  color: var(--sp-muted);
  text-align: right;
}

/* Title list */
.spine-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--sp-line);
}

.spine-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--sp-line);
  font-family: var(--sp-serif);
  font-size: 1.1rem;
}

.spine-list .tag {
  font-family: var(--sp-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sp-muted);
  flex-shrink: 0;
}

/* Invite strip */
.invite-strip {
  display: grid;
  grid-template-columns: 1.25fr auto;
  gap: 1.5rem;
  align-items: center;
}

.invite-strip h2 {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
}

.invite-strip p {
  margin-bottom: 0;
  max-width: 34rem;
}

/* Shelves */
.bay {
  padding: 2.3rem 0;
  border-bottom: 1px solid var(--sp-line);
}

.bay:last-child {
  border-bottom: none;
}

.bay h2 {
  font-size: clamp(1.5rem, 2.7vw, 1.9rem);
}

.bay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem 2rem;
  margin-top: 1.15rem;
}

.bay-item h3 {
  font-size: 1.06rem;
  margin-bottom: 0.28rem;
}

.bay-item p {
  margin: 0;
  color: var(--sp-muted);
  font-size: 0.94rem;
}

/* Café menu */
.menu-board {
  display: grid;
  gap: 2.3rem;
}

.menu-group h2 {
  font-size: 1.48rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--sp-forest);
  margin-bottom: 1rem;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem 1.2rem;
  padding: 0.82rem 0;
  border-bottom: 1px solid var(--sp-line);
}

.menu-list li:last-child {
  border-bottom: none;
}

.menu-list strong {
  font-family: var(--sp-serif);
  font-weight: 600;
  color: var(--sp-forest-deep);
  display: block;
}

.menu-list .note {
  display: block;
  font-size: 0.9rem;
  color: var(--sp-muted);
  font-weight: 400;
  margin-top: 0.12rem;
}

.menu-list .price {
  font-weight: 600;
  color: var(--sp-forest);
  white-space: nowrap;
}

.aside-note {
  font-size: 0.95rem;
  color: var(--sp-muted);
  font-style: italic;
  margin-top: 1.35rem;
}

/* Events */
.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.event-list li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.2rem 1.8rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--sp-line);
}

.event-list li:last-child {
  border-bottom: none;
}

.event-date {
  font-family: var(--sp-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sp-amber);
  padding-top: 0.2rem;
}

.event-list h3 {
  font-size: 1.28rem;
  margin-bottom: 0.35rem;
}

.event-list p {
  margin: 0;
  color: var(--sp-muted);
  font-size: 0.96rem;
}

/* Contact */
.contact-pair {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.3rem 3rem;
}

.contact-facts p {
  margin-bottom: 0.6rem;
}

.contact-facts a {
  font-weight: 500;
}

.form-stack {
  display: grid;
  gap: 1rem;
}

.form-stack label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sp-forest);
}

.form-stack input,
.form-stack textarea,
.form-stack select {
  font: inherit;
  padding: 0.72rem 0.88rem;
  border: 1px solid var(--sp-line);
  background: var(--sp-cream);
  color: var(--sp-ink);
  width: 100%;
}

.form-stack input:focus,
.form-stack textarea:focus,
.form-stack select:focus {
  outline: 2px solid var(--sp-moss);
  outline-offset: 1px;
}

.form-stack textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.88rem 1rem;
  background: rgba(63, 107, 82, 0.14);
  border: 1px solid var(--sp-moss);
  color: var(--sp-forest-deep);
}

.form-success.show {
  display: block;
}

/* Legal */
.legal {
  max-width: 42rem;
}

.legal h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
}

.legal ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.legal li {
  margin-bottom: 0.4rem;
}

.legal code {
  font-size: 0.9em;
  background: rgba(15, 31, 24, 0.06);
  padding: 0.1em 0.35em;
}

/* Footer */
.site-footer {
  background: var(--sp-forest-deep);
  color: rgba(248, 243, 233, 0.76);
  padding: 3.3rem 0 1.45rem;
}

.site-footer .brand {
  color: var(--sp-cream);
  display: inline-block;
  margin-bottom: 0.7rem;
}

.site-footer a {
  color: rgba(248, 243, 233, 0.82);
}

.site-footer a:hover {
  color: var(--sp-cream);
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.3rem;
  border-bottom: 1px solid rgba(248, 243, 233, 0.12);
}

.footer-cols h3 {
  color: var(--sp-cream);
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.footer-cols p {
  margin: 0;
  font-size: 0.94rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.footer-nav a {
  text-decoration: none;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem 1.5rem;
  padding-top: 1.25rem;
  font-size: 0.88rem;
}

.footer-legal {
  display: flex;
  gap: 1.1rem;
}

.footer-legal a {
  text-decoration: none;
}

/* Cookie banner */
#cookie-banner {
  display: none;
  position: fixed;
  inset: auto 0 0;
  z-index: 100;
  padding: 1rem;
  background: rgba(15, 31, 24, 0.96);
  color: rgba(248, 243, 233, 0.9);
  border-top: 1px solid rgba(248, 243, 233, 0.15);
}

#cookie-banner.show {
  display: block;
}

.cookie-inner {
  width: min(100%, var(--sp-wide));
  margin-inline: auto;
}

.cookie-inner p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
}

.cookie-inner a {
  color: var(--sp-parchment);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

#cookie-banner .btn-amber {
  background: var(--sp-amber);
  color: var(--sp-cream);
}

#cookie-banner .btn-ghost {
  color: var(--sp-cream);
  border-color: rgba(248, 243, 233, 0.4);
}

#cookie-panel {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(248, 243, 233, 0.15);
}

#cookie-panel.open {
  display: grid;
  gap: 0.65rem;
  justify-items: start;
}

#cookie-panel label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
}

/* 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;
    padding: 0.7rem 1.1rem 1.2rem;
    background: var(--sp-forest-deep);
    border-top: 1px solid rgba(248, 243, 233, 0.12);
  }

  .nav-main.open {
    display: flex;
  }

  .nav-main a {
    padding: 0.68rem 0;
    border-bottom: 1px solid rgba(248, 243, 233, 0.1);
  }

  .site-header {
    background: linear-gradient(180deg, rgba(15, 31, 24, 0.8), transparent);
  }

  .site-header.is-solid {
    background: var(--sp-forest-deep);
  }

  .triad {
    grid-template-columns: 1fr;
  }

  .triad a {
    border-right: none;
    border-bottom: 1px solid var(--sp-line);
  }

  .triad a:last-child {
    border-bottom: none;
  }

  .pair,
  .invite-strip,
  .contact-pair,
  .footer-cols,
  .bay-grid {
    grid-template-columns: 1fr;
  }

  .event-list li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .hero-copy {
    padding-bottom: 3.1rem;
  }
}

@media (max-width: 520px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .spine-list li {
    flex-direction: column;
    gap: 0.22rem;
  }
}
