/* Greg's Planter Boxes */

:root {
  --cream: #f8f2e6;
  --paper: #fffcf6;
  --ink: #2b2118;
  --ink-soft: #5b4b3d;
  --cedar: #b25f2a;
  --cedar-dark: #8c4518;
  --cedar-light: #f0dcc2;
  --leaf: #3d6838;
  --leaf-light: #e4ebd9;
  --line: #e4d6c1;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --shadow: 0 1px 2px rgb(43 33 24 / .06), 0 8px 24px rgb(43 33 24 / .08);
  --gutter: clamp(18px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--cedar-dark); text-underline-offset: .18em; }
a:hover { color: var(--cedar); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 50;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1160px; margin: 0 auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 8px; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cedar);
  margin-bottom: .6em;
}

.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 34em; }

section { padding-block: clamp(56px, 9vw, 104px); }
.section-head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 40em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  font: 700 1rem/1 var(--sans);
  padding: .95em 1.4em;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cedar); color: #fff; }
.btn-primary:hover { background: var(--cedar-dark); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--cedar-dark); font-size: clamp(1rem, 2.6vw, 1.2rem); word-break: break-all; }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-small { font-size: .95rem; padding: .8em 1.2em; background: var(--ink); color: var(--paper); }
.btn-small:hover { background: var(--cedar-dark); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(248 242 230 / .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 10px;
}
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 26px); }
.nav a {
  font-weight: 600; font-size: .98rem; color: var(--ink); text-decoration: none;
  padding: 6px 2px;
}
.nav a:hover { color: var(--cedar); }
.nav .nav-cta {
  background: var(--ink); color: var(--paper); padding: 9px 16px; border-radius: 999px;
}
.nav .nav-cta:hover { background: var(--cedar); color: #fff; }

@media (max-width: 760px) {
  .header-inner { flex-direction: column; gap: 6px; padding-block: 8px; }
  .brand img { height: 44px; }
  .nav { width: 100%; justify-content: space-between; gap: 4px; }
  .nav a { font-size: .9rem; }
  .nav .nav-cta { padding: 7px 12px; }
  html { scroll-padding-top: 120px; }
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(40px, 7vw, 88px);
  background:
    radial-gradient(1200px 500px at 85% 0%, var(--cedar-light), transparent 60%),
    var(--cream);
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
.hero-photo { margin: 0; position: relative; isolation: isolate; }
.hero-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1; object-fit: cover; width: 100%;
}
.hero-photo::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border-radius: var(--radius); background: var(--leaf); z-index: -1; opacity: .9;
}
.welcome-back { font-size: .95rem; color: var(--ink-soft); }
.welcome-back a { font-weight: 600; white-space: nowrap; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { max-width: 520px; margin-right: 14px; }
}

/* ---------- Find us / events ---------- */
.find-us { background: var(--leaf-light); }
.find-us .eyebrow { color: var(--leaf); }

.events { display: grid; gap: 18px; }
.event {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 3vw, 28px);
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 30px);
}
.event-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 84px; height: 92px; border-radius: 14px;
  background: var(--cedar); color: #fff; text-align: center; line-height: 1;
}
.event-month { font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }
.event-day { font-family: var(--serif); font-weight: 800; font-size: 2.4rem; margin-top: 4px; }
.event h3 { margin-bottom: .3em; }
.event-when { font-weight: 700; margin-bottom: .25em; }
.event-where, .event-address { margin-bottom: .25em; color: var(--ink-soft); }
.event-address a { color: var(--leaf); font-weight: 600; }
.event-text { margin-top: .8em; }
.event-flag {
  display: inline-block; margin-bottom: .6em;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--leaf); color: #fff; padding: 4px 10px; border-radius: 999px;
}
.event--recent .event-date { background: var(--ink-soft); }

@media (max-width: 520px) {
  .event { grid-template-columns: 1fr; }
  .event-date { flex-direction: row; gap: 8px; width: auto; height: auto; padding: 8px 14px; justify-self: start; }
  .event-day { font-size: 1.4rem; margin: 0; }
}

.note {
  margin-top: 28px; padding: clamp(18px, 3vw, 28px);
  border: 2px dashed rgb(61 104 56 / .35); border-radius: var(--radius);
}
.empty-note {
  background: var(--paper); border-radius: var(--radius); padding: 22px 26px; max-width: 46em;
}
.more-link { margin: 26px 0 0; font-weight: 700; }
.more-link a { color: var(--leaf); }

/* Markdown output */
.prose > :last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }

/* ---------- Boxes ---------- */
.box-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.box-card {
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
}
.box-photo { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.box-info { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; flex: 1; }
.box-info .btn { align-self: flex-start; margin-top: auto; }
.specs {
  display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: center;
  background: var(--cream); border-radius: 14px; padding: 14px 18px; margin: .4em 0 1.6em;
}
.specs img { mix-blend-mode: multiply; }
.specs dl { margin: 0; display: grid; gap: 6px; }
.specs dl div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.specs dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.specs dt { color: var(--ink-soft); font-size: .95rem; }
.specs dd { margin: 0; font-weight: 700; }

@media (max-width: 860px) {
  .box-grid { grid-template-columns: 1fr; max-width: 600px; }
}
@media (max-width: 420px) {
  .specs { grid-template-columns: 1fr; }
  .specs img { max-width: 160px; }
}

/* ---------- Custom ---------- */
.custom { background: var(--ink); color: var(--cream); }
.custom .eyebrow { color: #e7a874; }
.custom h2 { color: #fff; }
.custom p { color: #e9dfcf; }
.custom strong { color: #fff; }
.custom-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.custom-copy .btn { margin-top: .6em; }
.custom-photos {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 12px;
}
.custom-photos img { border-radius: 14px; width: 100%; height: 100%; object-fit: cover; }
.custom-photos .cp-main { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.custom-photos img:not(.cp-main) { aspect-ratio: 1 / 1; }

@media (max-width: 860px) {
  .custom-inner { grid-template-columns: 1fr; }
}

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow);
}
@media (max-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ---------- Shop ---------- */
.shop { background: var(--paper); }
.shop-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.shop-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.shop-photos img { border-radius: 14px; width: 100%; height: 100%; object-fit: cover; }
.shop-photos .sp-main { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.shop-photos figure { margin: 0; position: relative; aspect-ratio: 1 / 1; }
.shop-photos > img:last-child { aspect-ratio: 1 / 1; }
.shop-photos figcaption {
  position: absolute; left: 10px; bottom: 10px;
  background: rgb(255 252 246 / .94); color: var(--ink);
  font-size: .82rem; font-weight: 700; padding: 5px 10px; border-radius: 999px;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .shop-photos figcaption { left: 6px; bottom: 6px; font-size: .68rem; padding: 3px 8px; }
}

@media (max-width: 860px) {
  .shop-inner { grid-template-columns: 1fr; }
  .shop-copy { order: -1; }
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--cedar-light); }
.testimonials:not(:has(blockquote)) { display: none; }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.quote { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.quote blockquote {
  margin: 0 0 1em; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.45;
}
.quote blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: .6; color: var(--cedar); margin-bottom: 8px; }
.quote figcaption { color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact { background: var(--cedar); color: #fff; text-align: center; }
.contact-inner { max-width: 760px; }
.contact h2 { color: #fff; }
.contact p { color: #fbeee0; font-size: 1.15rem; margin-inline: auto; max-width: 36em; }
.contact .btn { margin: .6em 0 1.4em; }
.contact-alt a { color: #fff; font-weight: 700; }

/* ---------- Past events page ---------- */
.page-head { padding-bottom: 24px; }
.archive { padding-top: 16px; }
.archive-year {
  font-size: 1.6rem; color: var(--cedar); margin: 1.4em 0 .7em;
  padding-bottom: .3em; border-bottom: 2px solid var(--line);
}
.archive-year:first-child { margin-top: 0; }
.events--archive .event { box-shadow: none; border: 1px solid var(--line); }
.events--archive .event-date { background: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9ccb8; padding-block: 56px 32px; }
.site-footer a { color: #fff; }
.footer-logo { height: 64px; width: auto; margin-bottom: 24px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.copyright { margin-top: 32px; font-size: .9rem; opacity: .7; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
