/* Garden Capital — shared stylesheet (single source of truth for the site).
   Type: Fraunces (serif) for display/headings, DM Sans for body/UI.
   Color: OrangeRed #ff4500 (logo), Rust #cc3700 accent, white body, peach-gradient heroes.
   No horizontal divider lines anywhere — whitespace and motifs separate content. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400..700&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --orangered: #ff4500;   /* primary: logo, buttons, key accents */
  --rust: #cc3700;        /* deep accent: legible text accent on light, hovers */
  --coral: #ff6a33;       /* secondary highlight, motifs */
  --wheat: #f9e2b7;       /* warm surface tint, badges */
  --ink: #211c19;         /* body + headings */
  --muted: #7a6f68;       /* meta, secondary text */
  --card: #ffffff;
  --soft: #fff8f0;        /* faint warm surface (footer, fills) */
  --shadow: 0 1px 3px rgba(120,70,30,.06), 0 8px 22px rgba(120,70,30,.05);
  /* legacy aliases so hand-authored pages map onto the new palette */
  --primary: #ff4500; --primary-deep: #cc3700; --paper: #ffffff;
  --line: #ece2d2; --chip: #f4ead7;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
a { color: var(--rust); }
h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin: 0; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 96px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 96px; }
.kicker { font-weight: 600; text-transform: uppercase; letter-spacing: .22em; font-size: 14px; color: var(--rust); }

/* ---- nav (unified: .topnav > .tn-inner > brand + links) ---- */
.topnav { background: #fff; }
.topnav .tn-inner { max-width: 1080px; margin: 0 auto; padding: 18px 96px; display: flex; align-items: center; gap: 22px; }
.topnav a.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; margin-right: auto; }
.topnav a.brand svg { width: 26px; height: 26px; stroke: var(--orangered); }
.topnav a.brand .name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 20px; color: var(--orangered); }
.topnav a.tn-link { font-size: 14px; color: var(--ink); text-decoration: none; font-weight: 500; }
.topnav a.tn-link:hover, .topnav a.tn-link.on { color: var(--rust); }
.topnav a.tn-sub { font-size: 14px; font-weight: 600; color: #fff; background: var(--orangered); border-radius: 999px; padding: 8px 16px; text-decoration: none; }
.topnav a.tn-sub:hover { background: var(--rust); }

/* ---- peach hero ---- */
.hero { background: linear-gradient(135deg, #fff2e2 0%, #ffd7ab 52%, #ffbe8e 100%); padding: 72px 0; }
.hero .inner { max-width: 1080px; margin: 0 auto; padding: 0 96px; }
.hero h1 { font-weight: 500; font-size: clamp(40px, 5.4vw, 58px); line-height: 1.05; margin: 16px 0 0; max-width: 16ch; }
.hero .lead { font-size: 21px; line-height: 1.5; color: #7a5e49; margin: 18px 0 0; max-width: 50ch; }
.hero .btn { margin-top: 30px; }

/* ---- buttons / links ---- */
.btn { display: inline-block; background: var(--orangered); color: #fff; font-weight: 600; font-size: 17px; padding: 15px 30px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { background: var(--rust); }
.link { color: var(--rust); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---- section heading (optional small motif before it) ---- */
.section-h { font-size: 30px; margin: 0 0 30px; display: flex; align-items: center; gap: 14px; }
.section-h .motif { width: 28px; height: 32px; flex: none; }

/* ---- garden cards ---- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.gcard { background: var(--card); border-radius: 14px; padding: 26px 24px; box-shadow: var(--shadow); text-decoration: none; display: block; color: var(--ink); transition: transform .12s ease; }
.gcard:hover { transform: translateY(-2px); }
.gcard .gname { font-family: 'Fraunces', serif; font-weight: 600; font-size: 21px; line-height: 1.15; }
.gcard .gtown { font-size: 13px; color: var(--muted); margin-top: 5px; }
.gcard .gblurb { font-size: 15px; color: #5e5249; line-height: 1.5; margin-top: 14px; }
.gcard .gcount { font-size: 13.5px; color: var(--coral); font-weight: 600; margin-top: 20px; }

/* ---- event rows — no borders, whitespace only ---- */
.daylabel, h2.month { font-family: 'Fraunces', serif; font-weight: 600; font-size: 26px; color: var(--rust); margin: 48px 0 14px; }
.daylabel:first-of-type { margin-top: 0; }
.ev { padding: 14px 0; }
.ev .t, .ev a.t { font-family: 'Fraunces', serif; font-weight: 600; font-size: 22px; line-height: 1.2; color: var(--ink); text-decoration: none; display: inline-block; }
.ev a.t:hover { color: var(--rust); }
.ev .m { font-size: 15.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.ev .m b { color: var(--ink); font-weight: 600; }
.ev .cost { color: var(--rust); font-weight: 600; }
.badge { background: var(--wheat); color: var(--rust); font-weight: 600; font-size: 13px; padding: 3px 10px; border-radius: 6px; }

/* ---- visit facts (garden detail) ---- */
.vfacts { font-size: 15px; color: var(--muted); margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.vfacts b { color: var(--ink); font-weight: 600; }

/* ---- empty / loading ---- */
.empty { text-align: center; padding: 56px 0; color: var(--muted); }
.empty .motif { width: 96px; height: 96px; }
.empty .t { font-family: 'Fraunces', serif; font-weight: 600; font-size: 23px; margin-top: 8px; color: var(--ink); }
.empty .s { font-size: 15px; color: var(--muted); margin-top: 4px; }

/* ---- legacy components used by hand-authored list/home pages ---- */
header { padding: 40px 0 0; }
h1 { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(34px, 5.4vw, 50px); line-height: 1.05; color: var(--ink); margin: 10px 0 14px; }
.intro { font-size: 17px; color: var(--muted); max-width: 60ch; line-height: 1.6; }
.intro a { color: var(--rust); font-weight: 600; }
.signup { margin: 30px 0 10px; padding: 26px; background: var(--soft); border-radius: 16px; }
.signup strong { font-family: 'Fraunces', serif; font-weight: 600; font-size: 21px; color: var(--ink); display: block; }
.signup p { margin: 7px 0 16px; color: var(--muted); font-size: 15px; }
form { display: flex; gap: 10px; }
input[type=email] { flex: 1; min-width: 0; padding: 13px 17px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid #e7dcc9; border-radius: 999px; outline: none; }
input[type=email]:focus { border-color: var(--orangered); }
button { font: inherit; font-size: 15px; font-weight: 600; color: #fff; cursor: pointer; background: var(--orangered); border: 0; padding: 13px 26px; border-radius: 999px; }
button:hover { background: var(--rust); }
button[disabled] { opacity: .6; cursor: default; }
#subMsg { margin-top: 10px; font-size: 14px; min-height: 18px; color: var(--rust); }

/* ---- footer (soft block, no top line) ---- */
.site-footer { background: var(--soft); color: var(--muted); padding: 56px 0 40px; font-size: 13px; margin-top: 72px; }
.foot-wrap { max-width: 1080px; margin: 0 auto; padding: 0 96px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.foot-col { min-width: 0; }
.foot-head { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--ink); text-decoration: none; margin-bottom: 9px; line-height: 1.4; }
.foot-col a:hover { color: var(--rust); }
.foot-bottom { max-width: 1080px; margin: 32px auto 0; padding: 0 96px; color: var(--muted); }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .wrap, .wrap-narrow, .topnav .tn-inner, .hero .inner, .foot-wrap, .foot-bottom { padding-left: 40px; padding-right: 40px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .foot-wrap { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .wrap, .wrap-narrow, .topnav .tn-inner, .hero .inner, .foot-wrap, .foot-bottom { padding-left: 22px; padding-right: 22px; }
  .grid { grid-template-columns: 1fr; }
  .foot-wrap { grid-template-columns: 1fr; }
  .topnav a.tn-link { display: none; }
}
