/* The Sanctuary of Plant City: "signage" redesign.
   Tokens and shared components. Page sections live in each page's <style>.
   Desktop values match the 1440 artboards (80px gutters, 1280 content);
   phone values (<= 760px) match the 390 artboards (20px gutters). */

:root {
  --white: #FFFFFF;
  --ink: #111410;
  --brown: #46301F;         /* dark sections (closing, footer, home board): trial swap from ink */
  --green: #5F6739;         /* olive from the logo wordmark (#687042), one step deeper so text on it stays readable */
  --yellow: #F4C21B;
  --concrete: #EDEEEA;
  --gray: #5A5F58;
  --rule: #2E332C;          /* rules on ink */
  --on-ink: #B9BDB5;        /* body text on ink */
  --on-ink-muted: #8A8F87;
  --on-green: #EEF0E3;      /* body text on green */
  --on-green-label: #E3E6D2;
  --on-green-accent: #FFE27A; /* yellow text on green (chrome yellow is too dark for small text on olive) */
  --font: "Overpass", system-ui, sans-serif;
  --mono: "Overpass Mono", ui-monospace, monospace;
  --gutter: 80px;
  --max: 1440px;
}
@media (max-width: 1100px) { :root { --gutter: 48px; } }
@media (max-width: 760px)  { :root { --gutter: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 16px;
  text-transform: uppercase;
}
@media (max-width: 760px) { .eyebrow { font-size: 12px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 4px;
  padding: 18px 26px;
  font-weight: 800;
  font-size: 17px;
  line-height: 22px;
  white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #2a2e28; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #ffd23d; }
.btn--outline { border: 2px solid currentColor; padding: 16px 24px; }
.btn--outline-light { border: 2px solid var(--white); color: var(--white); padding: 16px 24px; }
.btn--outline-light:hover { background: rgba(255,255,255,.08); }
@media (max-width: 760px) {
  .btn { justify-content: center; }
}

/* ---------- Nav ---------- */
.site-nav { position: relative; z-index: 50; background: var(--white); border-bottom: 1px solid var(--concrete); }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 20px; }
.nav-logo img { width: 140px; height: 88px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 600; font-size: 16px; line-height: 20px; padding-block: 6px; border-bottom: 3px solid transparent; }
.nav-links a:hover { border-bottom-color: var(--concrete); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--yellow); }
.nav-cta { padding: 14px 22px; font-size: 15px; line-height: 18px; letter-spacing: .01em; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-right: -8px; }
.nav-toggle svg { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-menu { display: none; }
.cta-mobile { display: none; }

@media (max-width: 900px) {
  /* Bar stays on screen while scrolling, so the menu is always one tap away. */
  .site-nav { position: sticky; top: 0; }
  html { scroll-padding-top: 92px; } /* in-page jumps land below the bar */
  .site-nav .wrap { padding-top: 10px; padding-bottom: 10px; }
  .nav-logo img { width: 96px; height: 60px; }
  .nav-links--desktop { display: none; }
  .nav-cta { padding: 10px 14px; font-size: 14px; }
  .nav-toggle { display: inline-flex; }
  .cta-desktop { display: none; }
  .cta-mobile { display: inline; }
  /* Overlay dropdown: does not push content, does not lock page scroll. */
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink); color: var(--white);
    padding: 8px var(--gutter) 28px;
    box-shadow: 0 18px 30px rgba(17,20,16,.25);
    max-height: calc(100vh - 81px); max-height: calc(100dvh - 81px); overflow-y: auto; /* short phones */
  }
  .nav-menu.is-open { display: block; }
  .nav-menu ul { list-style: none; margin: 0; padding: 0; }
  .nav-menu li a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 0; border-bottom: 1px solid var(--rule);
    font-size: 26px; font-weight: 800; letter-spacing: -0.01em;
  }
  .nav-menu li a[aria-current="page"] { color: var(--yellow); }
  .nav-menu .menu-meta { margin-top: 22px; color: var(--on-ink); font-size: 15px; line-height: 24px; }
}

/* ---------- Guide sign (signature element) ---------- */
.guide-sign {
  display: block;
  background: var(--green);
  border-radius: 14px;
  padding: 6px;
  color: var(--white);
  width: 452px;
  max-width: 100%;
}
.guide-sign__inner {
  border: 3px solid var(--white);
  border-radius: 11px;
  padding: 22px 30px 24px 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.guide-sign__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.guide-sign__label { color: var(--on-green-accent); font-weight: 800; font-size: 17px; line-height: 21px; letter-spacing: .1em; text-transform: uppercase; }
.guide-sign__top svg { width: 34px; height: 34px; flex-shrink: 0; }
.guide-sign__big { font-size: 52px; line-height: 50px; font-weight: 800; letter-spacing: -0.02em; }
.guide-sign__rule { height: 2px; background: rgba(255,255,255,.35); }
.guide-sign__line { font-size: 22px; line-height: 28px; font-weight: 700; }
a.guide-sign:hover .guide-sign__top svg { transform: translate(2px,-2px); }
.guide-sign__top svg { transition: transform .15s ease; }
@media (max-width: 760px) {
  .guide-sign { width: 100%; border-radius: 12px; padding: 5px; }
  .guide-sign__inner { border-width: 2px; border-radius: 8px; padding: 16px 18px 18px; gap: 10px; }
  .guide-sign__label { font-size: 14px; line-height: 18px; }
  .guide-sign__top svg { width: 24px; height: 24px; }
  .guide-sign__big { font-size: 38px; line-height: 38px; }
  .guide-sign__line { font-size: 17px; line-height: 22px; }
}

/* ---------- Dark closing + footer ---------- */
.closing { background: var(--brown); color: var(--white); padding-top: 120px; padding-bottom: 96px; }
.site-footer { background: var(--brown); color: var(--white); padding-bottom: 48px; }
/* Warm the on-dark text and rules so gray-green tones don't sit on brown. */
.closing, .site-footer, .h-board { --on-ink: #D9CCBD; --on-ink-muted: #B8A694; --rule: rgba(255,255,255,.16); }
.site-footer .wrap > .footer-row {
  border-top: 1px solid var(--rule);
  padding-top: 40px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 40px;
}
.footer-name { font-size: 17px; line-height: 22px; font-weight: 800; }
.footer-text { color: var(--on-ink); font-size: 15px; line-height: 24px; }
.footer-text a:hover { color: var(--white); }
.footer-copy { color: var(--on-ink-muted); font-size: 13px; line-height: 16px; padding-top: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col--id { width: 300px; flex-shrink: 0; }
.footer-col--times { width: 260px; flex-shrink: 0; }
.footer-col--times .eyebrow { color: var(--yellow); font-size: 12px; }
.footer-col--times .footer-eyebrow-next { margin-top: 16px; }
.footer-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.footer-links a { font-weight: 600; font-size: 15px; line-height: 18px; }
.footer-links a:hover { color: var(--yellow); }
.footer-copy--mobile { display: none; }
.footer-social { display: flex; gap: 12px; list-style: none; margin: 8px 0 0; padding: 0; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.24); border-radius: 4px; color: var(--white);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.footer-social a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.footer-social svg { width: 20px; height: 20px; }
/* Tablet: three columns don't fit; links drop to their own row. */
@media (min-width: 761px) and (max-width: 1160px) {
  .site-footer .wrap > .footer-row { flex-wrap: wrap; row-gap: 32px; }
  .footer-links { flex-basis: 100%; flex-wrap: wrap; row-gap: 14px; }
}

@media (max-width: 760px) {
  .closing { padding-top: 64px; padding-bottom: 40px; }
  .site-footer .wrap > .footer-row { flex-direction: column; gap: 28px; padding-top: 32px; }
  .footer-col--id, .footer-col--times { width: auto; gap: 6px; }
  .footer-col--id .footer-copy { display: none; }
  .footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 96px)); gap: 14px 16px; }
  .footer-links a { font-size: 16px; line-height: 20px; }
  .footer-copy--mobile { display: block; padding-top: 0; }
  .site-footer { padding-bottom: 32px; }
}

/* ---------- Helpers ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.photo { background-size: cover; background-position: center; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
