/* ============================================================
   The Wild Flower Gardener
   A quiet, well-manicured garden. Plain CSS, mobile-first
   ============================================================ */

:root {
  --ivory: #f5f2e9;
  --paper: #fcfaf4;
  --green-950: #101d15;
  --green-900: #182b1f;
  --green-800: #203a2a;
  --green-700: #2c4f3a;
  --green-500: #5c8169;
  --green-200: #ccd8cb;
  --green-100: #e9efe5;
  --gold: #a9834b;
  --gold-soft: #cbb27f;
  --poppy: #b04a2e;
  --poppy-dark: #93391f;
  --ink: #2a2f27;
  --muted: #67705f;
  --line: rgba(44, 79, 58, .16);
  --shadow-sm: 0 2px 10px rgba(16, 29, 21, .07);
  --shadow-md: 0 14px 40px rgba(16, 29, 21, .12);
  --shadow-lg: 0 30px 80px rgba(16, 29, 21, .22);
  --radius: 16px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: .01em;
  color: var(--green-900);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.5rem, 9vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 6vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 4vw, 1.7rem); }
p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--green-900); color: #fff;
  padding: .6rem 1rem; z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Generous gutters on every screen size. Nothing touches the edges */
.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(22px, 6vw, 40px);
}
.wrap-narrow { max-width: 820px; }

/* ---------- Eyebrow & ornaments ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .9rem;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.eyebrow::before, .eyebrow.center::after {
  content: ""; width: 34px; height: 1px; background: var(--gold); opacity: .7;
}
.eyebrow.center { justify-content: center; }

.divider {
  display: flex; align-items: center; justify-content: center; gap: .8rem;
  color: var(--gold); margin: 0 auto 1.4rem;
}
.divider::before, .divider::after {
  content: ""; width: 52px; height: 1px; background: currentColor; opacity: .55;
}
.divider svg { width: 20px; height: 20px; }

.lead { font-size: 1.2rem; color: var(--muted); }
.measure { max-width: 38rem; }
.measure-center { max-width: 42rem; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 2.1rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-primary {
  background: var(--green-800); color: var(--ivory);
  box-shadow: 0 10px 26px rgba(16, 29, 21, .28);
}
.btn-primary:hover { background: var(--green-950); transform: translateY(-2px); }
.btn-accent { background: var(--poppy); color: #fff; box-shadow: 0 10px 26px rgba(176, 74, 46, .3); }
.btn-accent:hover { background: var(--poppy-dark); transform: translateY(-2px); }
.btn-outline { border-color: var(--green-700); color: var(--green-800); background: transparent; }
.btn-outline:hover { background: var(--green-800); color: var(--ivory); }
.btn-light { background: var(--ivory); color: var(--green-900); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(245, 242, 233, .6); color: var(--ivory); }
.btn-outline-light:hover { background: rgba(245, 242, 233, .12); border-color: var(--ivory); }


/* Keyboard focus */
.brand:focus-visible,
.nav-toggle:focus-visible,
.site-nav a:focus-visible,
.btn:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 242, 233, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.brand-text .brand-small {
  font-family: var(--font-display); font-style: italic;
  font-size: 1rem; color: var(--gold);
}
.brand-text .brand-name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.3rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-900);
}

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px;
  background: none; border: 0; cursor: pointer; padding: 10px;
}
.nav-toggle span {
  display: block; height: 1.5px; width: 100%;
  background: var(--green-900);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.site-nav {
  position: absolute; top: var(--header-h); left: 0; right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: none;
  padding: 1rem clamp(22px, 6vw, 40px) 1.5rem;
  max-height: calc(100svh - var(--header-h));
  overflow-y: auto;
}
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .2rem; }
.site-nav a {
  display: block; padding: .85rem 1rem;
  text-decoration: none; color: var(--ink);
  font-weight: 500; font-size: .95rem;
  letter-spacing: .06em;
  border-radius: 10px;
}
.site-nav a:hover { background: var(--green-100); color: var(--green-800); }
.site-nav a.active { color: var(--poppy); }
.nav-cta { margin-top: .8rem; }
.nav-cta .btn { width: 100%; }

/* Keep the header CTA visually independent from ordinary navigation links. */
.site-nav .nav-cta .btn.btn-primary {
  display: inline-flex;
  background: var(--green-800);
  color: #fff;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.site-nav .nav-cta .btn.btn-primary:hover,
.site-nav .nav-cta .btn.btn-primary:focus-visible {
  background: var(--green-950);
  color: #fff;
  transform: translateY(-2px);
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; display: block;
    background: none; border: 0; box-shadow: none; padding: 0;
  }
  .site-nav ul { flex-direction: row; align-items: center; gap: .2rem; }
  .site-nav a { padding: .55rem .95rem; border-radius: 999px; font-size: .88rem; }
  .site-nav a.active { background: var(--green-100); color: var(--green-800); }
  .nav-cta { margin: 0 0 0 .8rem; }
  .nav-cta .btn { width: auto; padding: .7rem 1.5rem; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: calc(100svh - var(--header-h));
  color: var(--ivory);
  background: var(--green-950);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroDrift 24s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(16, 29, 21, .88) 0%, rgba(16, 29, 21, .45) 42%, rgba(16, 29, 21, .18) 70%, rgba(16, 29, 21, .35) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  padding-block: 5rem 7rem;
  text-align: center;
  width: 100%;
}
.hero .eyebrow { color: var(--gold-soft); justify-content: center; }
.hero .eyebrow::before, .hero .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold-soft); }
.hero h1 { color: var(--ivory); margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero p.lead {
  color: rgba(245, 242, 233, .92);
  max-width: 37rem; margin-inline: auto;
  font-size: 1.15rem;
}
.hero-actions {
  display: flex; flex-direction: column; align-items: center;
  gap: .9rem; margin-top: 2.2rem;
}
.hero-actions .btn { min-width: min(320px, 100%); }
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; justify-content: center; }
  .hero-actions .btn { min-width: 0; }
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 1.6rem; z-index: 1;
  transform: translateX(-50%);
  color: rgba(245,242,233,.75);
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 34px;
  background: linear-gradient(to bottom, var(--gold-soft), transparent);
}

/* Curved transition out of the hero */
.hero-curve { display: block; width: 100%; height: 60px; margin-top: -59px; position: relative; z-index: 2; color: var(--ivory); }
.hero-curve.on-ivory { color: var(--ivory); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--green-950); color: var(--ivory);
}
.page-hero .hero-bg { opacity: .5; animation: none; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16,29,21,.85), rgba(16,29,21,.35) 60%, rgba(16,29,21,.3));
}
.page-hero .hero-inner {
  position: relative; z-index: 1;
  padding-block: 5rem 6.5rem;
  text-align: center;
  width: 100%;
}
.page-hero h1 { color: var(--ivory); }
.page-hero .eyebrow { color: var(--gold-soft); justify-content: center; }
.page-hero .eyebrow::before, .page-hero .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold-soft); }
.page-hero p { color: rgba(245,242,233,.9); max-width: 40rem; margin-inline: auto; font-size: 1.12rem; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 10vw, 7rem); }
.section-paper { background: var(--paper); }
.section-green {
  background: var(--green-900);
  color: rgba(245, 242, 233, .85);
  position: relative; overflow: hidden;
}
.section-green::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 85% 10%, rgba(169, 131, 75, .16), transparent 60%);
  pointer-events: none;
}
.section-green > .wrap { position: relative; }
.section-green h2, .section-green h3 { color: var(--ivory); }
.section-green .lead { color: rgba(245, 242, 233, .8); }
.section-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head.center { text-align: center; }
.section-head.center .measure, .section-head.center .lead { margin-inline: auto; }

/* ---------- Arched imagery (garden-gate motif) ---------- */
.arch {
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  background: var(--green-100);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-frame {
  padding: .7rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px 999px calc(var(--radius) + .7rem) calc(var(--radius) + .7rem);
  box-shadow: var(--shadow-sm);
}
.arch-frame .arch { box-shadow: none; border: 0; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-3-4 { aspect-ratio: 3 / 4; }
.ratio-1-1 { aspect-ratio: 1 / 1; }
.ratio-16-10 { aspect-ratio: 16 / 10; }

/* About page owner image. Keep the full artwork visible with no arch treatment. */
.owner-image {
  width: 100%;
}
.owner-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.rounded-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.rounded-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Split layouts ---------- */
.split { display: grid; gap: clamp(2rem, 6vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse .split-media { order: 2; }
  .split.wide-media { grid-template-columns: 1.15fr 1fr; }
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(1.5rem, 4vw, 2.2rem); }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card-media { overflow: hidden; }
.card-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .6s ease;
}
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.8rem 1.8rem 2rem; flex: 1; }
.card-body h3 { margin-bottom: .4rem; }
.card-body p { color: var(--muted); font-size: .98rem; }

/* Feature rows: numbered, minimal */
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.features li {
  display: flex; gap: 1.3rem; align-items: flex-start;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.features li:first-child { padding-top: 0; }
.features li:last-child { border-bottom: 0; padding-bottom: 0; }
.features .num {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.6rem; color: var(--gold);
  line-height: 1.2; min-width: 2.2rem;
}
.features strong { display: block; color: var(--green-900); font-size: 1.08rem; font-weight: 600; margin-bottom: .2rem; }
.features p { color: var(--muted); font-size: .97rem; margin: 0; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.4rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  counter-increment: step;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display); font-style: italic;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}
.steps h3 { margin-bottom: .4rem; font-size: 1.3rem; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }
.section-green .steps li { background: rgba(245,242,233,.05); border-color: rgba(245,242,233,.14); box-shadow: none; }
.section-green .steps p { color: rgba(245,242,233,.75); }
.section-green .steps li::before { border-color: var(--gold-soft); color: var(--gold-soft); }

/* ---------- CTA panel ---------- */
.cta-panel {
  position: relative; overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  background: var(--green-900);
  color: var(--ivory);
  text-align: center;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.6rem, 6vw, 4rem);
  box-shadow: var(--shadow-lg);
}
.cta-panel .cta-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: .22;
}
.cta-panel::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 90% at 50% 110%, rgba(169,131,75,.25), transparent 60%);
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { color: var(--ivory); }
.cta-panel p { max-width: 36rem; margin: 0 auto 2rem; color: rgba(245,242,233,.88); }
.cta-panel .hero-actions { margin-top: 0; }
.cta-panel .eyebrow { color: var(--gold-soft); justify-content: center; }

/* ---------- Acuity scheduler ---------- */
.scheduler-frame-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  padding: clamp(.4rem, 2vw, 1rem);
}
.scheduler-frame-wrap iframe {
  display: block;
  width: 100%;
  min-height: clamp(820px, 92svh, 1040px);
  border: 0;
  border-radius: var(--radius);
}
.scheduler-fallback {
  margin-top: 1.4rem; text-align: center;
  color: var(--muted); font-size: .95rem;
}

/* ---------- Pull quote ---------- */
.pull-quote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.5rem, 4.5vw, 2.1rem);
  line-height: 1.4;
  color: var(--green-800);
  text-align: center;
  max-width: 46rem; margin-inline: auto;
}
.pull-quote footer {
  font-family: var(--font-body); font-style: normal;
  font-size: .8rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); margin-top: 1.4rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-950);
  color: rgba(245, 242, 233, .7);
  padding: clamp(3.5rem, 8vw, 5rem) 0 2rem;
}
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4, .site-footer .footer-heading {
  color: var(--ivory); font-size: 1.25rem;
  letter-spacing: .04em; margin-bottom: 1rem;
  line-height: 1.2;
}
.site-footer a { color: rgba(245, 242, 233, .8); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-brand { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.2rem; }
.footer-brand img {
  width: 54px; height: 54px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(245,242,233,.2);
}
.footer-brand .f-name {
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--ivory); font-size: 1.15rem; line-height: 1.2;
}
.footer-brand .f-sub { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid rgba(245, 242, 233, .12);
  margin-top: 3rem; padding-top: 1.6rem;
  font-size: .82rem; text-align: center;
  color: rgba(245, 242, 233, .45);
  letter-spacing: .04em;
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .card-media img { transition: none; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.gold-rule {
  width: 72px; height: 1px; background: var(--gold);
  margin: 0 auto 1.2rem; opacity: .8;
}
