/* Bellingham Country Gardens — site styles */

:root {
  --paper:      #FBF7EE;
  --paper-2:    #F3EDDF;
  --ink:        #1E2A21;
  --ink-soft:   #4A5A4E;
  --green-900:  #1B3527;
  --green-700:  #2F5D45;
  --green-500:  #5C8A63;
  --green-100:  #DCE7D9;
  --sun:        #DFA22B;
  --sun-soft:   #F6E3B6;
  --berry:      #A63A4B;
  --line:       #D9D0BC;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1120px;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(30,42,33,.06), 0 12px 32px -18px rgba(30,42,33,.35);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--green-900);
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem); }

p { margin: 0 0 1.1em; max-width: 68ch; }

a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--berry); }

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: min(var(--wrap), 100% - (2 * var(--gut))); margin-inline: auto; }
.narrow { max-width: 62ch; }

section { padding: clamp(3.25rem, 7vw, 6rem) 0; }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--green-900); color: var(--green-100); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a { color: var(--sun-soft); }

.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-500);
  margin: 0 0 .9rem;
}
.section--dark .eyebrow { color: var(--sun); }

.lede { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); color: var(--ink-soft); }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--green-900); color: #fff; padding: .75rem 1.1rem; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- Status banner ---------- */
.banner {
  background: var(--green-900);
  color: var(--sun-soft);
  font-size: .875rem;
  text-align: center;
  padding: .6rem 1rem;
  letter-spacing: .01em;
}
.banner strong { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .7rem 0;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--serif); font-size: 1.12rem; font-weight: 600; color: var(--green-900);
  letter-spacing: -.01em;
}
.brand__sub {
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green-500); font-weight: 700;
}

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .93rem;
  padding: .5rem .7rem; border-radius: 8px;
}
.nav a:hover { background: var(--green-100); color: var(--green-900); }
.nav a[aria-current="page"] { color: var(--green-900); box-shadow: inset 0 -2px 0 var(--sun); border-radius: 0; }
/* the CTA in the nav is a button first — win over the .nav a colour rules */
.nav a.btn { border-radius: 999px; }
.nav a.btn--primary { color: #fff; background: var(--green-700); }
.nav a.btn--primary:hover { background: var(--green-900); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 9px;
  padding: .5rem .7rem; font: inherit; font-size: .9rem; font-weight: 600; color: var(--green-900); cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gut) 1.25rem;
    box-shadow: 0 18px 30px -18px rgba(30,42,33,.45);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem .25rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  /* the CTA becomes a full-width button at the bottom of the sheet */
  .nav a.btn { justify-content: center; margin-top: 1rem; padding: .9rem 1.4rem; border-bottom: 0; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--green-900); }
  .nav a[aria-current="page"]::before { content: "› "; color: var(--sun); }
  .site-header__inner { position: relative; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font: inherit; font-weight: 700; font-size: .95rem;
  padding: .8rem 1.4rem; border-radius: 999px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--green-700); color: #fff; }
.btn--primary:hover { background: var(--green-900); color: #fff; }
.btn--ghost { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn--ghost:hover { background: var(--green-100); color: var(--green-900); }
.btn--sun { background: var(--sun); color: var(--green-900); }
.btn--sun:hover { background: #C98F1E; color: var(--green-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--paper); padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--berry); }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; padding: 0; list-style: none;
}
.hero__facts li {
  background: var(--green-100); color: var(--green-900);
  border-radius: 999px; padding: .4rem .9rem; font-size: .85rem; font-weight: 600;
}

.hero__art {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: linear-gradient(165deg, #E8EEDF 0%, #D7E4CE 45%, #C6D9BC 100%);
  aspect-ratio: 4 / 5;
}
.hero__art svg { width: 100%; height: 100%; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(295px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card__num {
  font-family: var(--serif); font-size: 2rem; color: var(--sun); line-height: 1; display: block; margin-bottom: .5rem;
}
.card__icon { width: 44px; height: 44px; margin-bottom: .9rem; }

/* ---------- Ripe now ---------- */
.ripe { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.ripe__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.ripe__head h2 { margin: 0; }
.ripe__month { font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-500); }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem 1rem .5rem .7rem; font-weight: 600; font-size: .95rem;
}
.chip__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green-500); flex: none; }
.chip[data-kind="berry"] .chip__dot { background: var(--berry); }
.chip[data-kind="flower"] .chip__dot { background: var(--sun); }
.chip[data-kind="root"] .chip__dot { background: #9A6B3F; }

/* ---------- Calendar table ---------- */
.cal-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.cal { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .92rem; }
table.cal th, table.cal td { padding: .7rem .6rem; text-align: center; border-bottom: 1px solid var(--line); }
table.cal thead th { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); background: var(--paper-2); }
table.cal thead th:first-child { text-align: left; padding-left: 1rem; }
table.cal th[scope="row"] { text-align: left; font-weight: 600; white-space: nowrap; padding-left: 1rem; }
table.cal tbody tr:last-child th, table.cal tbody tr:last-child td { border-bottom: 0; }
.bar { display: block; height: 12px; border-radius: 999px; background: var(--green-100); }
.bar.on { background: var(--green-500); }
.bar.peak { background: var(--sun); }
td.is-now { background: rgba(223,162,43,.09); }
th.is-now { background: rgba(223,162,43,.16); color: var(--green-900); }
.legend { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1rem; font-size: .85rem; color: var(--ink-soft); }
.legend span { display: inline-flex; align-items: center; gap: .45rem; }
.legend i { width: 22px; height: 10px; border-radius: 999px; display: inline-block; }

/* ---------- Visit / info blocks ---------- */
.info-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 860px) { .info-split { grid-template-columns: 1fr; } }

.hours-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow);
}
.hours-box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.25rem; }
.hours-box dt { font-weight: 700; color: var(--green-900); }
.hours-box dd { margin: 0; color: var(--ink-soft); }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 1.9rem; margin-bottom: .8rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 12px; height: 12px; border-radius: 3px; background: var(--sun);
  transform: rotate(45deg);
}

/* ---------- FAQ ---------- */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 1rem 1.25rem; margin-bottom: .75rem;
}
.faq details[open] { border-color: var(--green-500); }
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--green-900); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 1.5rem; color: var(--sun); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .85rem 0 .2rem; color: var(--ink-soft); }

/* ---------- Pull quote ---------- */
.quote {
  font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2rem);
  line-height: 1.35; color: var(--green-900); font-style: italic;
  border-left: 4px solid var(--sun); padding-left: clamp(1rem, 3vw, 2rem); margin: 0;
  max-width: 32ch;
}
.quote cite { display: block; font-size: .8rem; font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--green-500); margin-top: 1.2rem; font-family: var(--sans); }

/* ---------- Photos ---------- */
.photo {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: var(--paper-2); margin: 0;
}
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Source photos are 4:3 landscape (one is 3:4). Keep crops close to native —
   forcing a landscape shot into a portrait box cuts the subject out. */
.photo--tall { aspect-ratio: 3 / 4; }
.photo--wide { aspect-ratio: 4 / 3; }
.photo--hero { aspect-ratio: 4 / 3; }
.photo figcaption {
  font-size: .8rem; color: var(--ink-soft); padding: .6rem .2rem 0; background: none;
}

/* Horizontal photo band. Fixed height, natural widths — a true filmstrip.
   Forcing one aspect-ratio here threw away 44% of the portrait shots. */
.photo-strip {
  display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .5rem;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.photo-strip .photo {
  aspect-ratio: auto; height: clamp(220px, 26vw, 320px);
  flex: 0 0 auto; scroll-snap-align: start;
}
.photo-strip .photo img { width: auto; height: 100%; max-width: none; }

/* ---------- Art panels ---------- */
.panel-art {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: linear-gradient(160deg, #EFE7D6, #DCE7D9);
  aspect-ratio: 5 / 4;
}
.panel-art svg { width: 100%; height: 100%; }
.panel-art--tall { aspect-ratio: 3 / 4; }
.panel-art--dahlia { background: linear-gradient(160deg, #F6E6E3, #E7D3E0 55%, #D9C7DD); }

/* ---------- Location card ----------
   Deliberately not a live map embed: third-party map iframes render as an
   empty grey box whenever tiles are blocked (strict CSP, privacy extensions,
   corporate networks), which is exactly where a shared mock gets opened.
   This always draws, and taps straight through to the user's map app. */
.map-frame {
  position: relative; display: block; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 32% 28%, rgba(92,138,99,.20), transparent 58%),
    repeating-linear-gradient(115deg, transparent 0 38px, rgba(92,138,99,.13) 38px 40px),
    repeating-linear-gradient(25deg, transparent 0 46px, rgba(92,138,99,.10) 46px 48px),
    var(--paper-2);
  transition: box-shadow .18s ease, transform .18s ease;
}
.map-frame:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(30,42,33,.08), 0 18px 40px -20px rgba(30,42,33,.45); }

/* the two "roads" crossing the card */
.map-frame::before, .map-frame::after {
  content: ""; position: absolute; background: rgba(251,247,238,.92); pointer-events: none;
}
.map-frame::before { left: -10%; right: -10%; top: 46%; height: 14px; transform: rotate(-7deg); }
.map-frame::after  { top: -10%; bottom: -10%; left: 68%; width: 14px; transform: rotate(6deg); }

.map-card {
  position: relative; z-index: 1;
  display: grid; place-content: center; gap: .45rem; height: 100%;
  text-align: center; padding: 1.5rem;
}
.map-card strong { font-family: var(--serif); font-size: 1.3rem; color: var(--green-900); }
.map-card span { font-size: .9rem; color: var(--ink-soft); }
.map-card .pin { width: 36px; height: 36px; margin: 0 auto .3rem; }
.map-card .go {
  margin-top: .6rem; font-size: .82rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--green-700);
}
.map-frame:hover .go { color: var(--berry); }

/* ---------- CTA strip ---------- */
.cta {
  background: var(--green-900); color: var(--green-100);
  border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}
.cta h2 { color: #fff; }
.cta p { margin-inline: auto; color: rgba(255,255,255,.82); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.78); padding: clamp(2.5rem, 5vw, 4rem) 0 2rem; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sun); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sun); margin: 0 0 .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer p { color: rgba(255,255,255,.78); }
.footer-brand { font-family: var(--serif); font-size: 1.3rem; color: #fff; margin-bottom: .6rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.16); margin-top: 2.5rem; padding-top: 1.25rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .82rem; color: rgba(255,255,255,.6);
}
.social { display: flex; gap: .6rem; }
.social a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28);
  display: grid; place-items: center;
}
.social a:hover { background: var(--sun); border-color: var(--sun); }
.social svg { width: 19px; height: 19px; fill: currentColor; }
.social a:hover svg { fill: var(--green-900); }

/* ---------- Page header (interior) ---------- */
.page-head { padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); background: var(--paper-2); border-bottom: 1px solid var(--line); }
.page-head p { margin-bottom: 0; }

/* ---------- Return to the style-options hub ----------
   Review-only furniture. Delete this block and the .to-hub links in
   mock/*.html once a direction is picked and this becomes the real site. */
.to-hub {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 99;
  background: #111; color: #fff; text-decoration: none;
  font: 600 13px var(--sans); padding: .6rem 1rem; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.to-hub:hover { background: var(--sun); color: #111; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.center p { margin-inline: auto; }
.tag {
  display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  background: var(--sun-soft); color: #7A5410; padding: .3rem .6rem; border-radius: 6px; margin-left: .5rem;
  vertical-align: middle;
}
.note {
  border-left: 3px solid var(--sun); background: var(--sun-soft); color: #6B4A0E;
  padding: 1rem 1.25rem; border-radius: 0 10px 10px 0; font-size: .92rem;
}
.note p:last-child { margin-bottom: 0; }
