/* gardenlapse.com — mobile-first, no framework, system fonts only */
:root {
  --green-900: #1c3325;
  --green-700: #2c5138;
  --green-500: #3f7a4e;
  --cream: #faf7f0;
  --ink: #22281f;
  --muted: #6b7263;
  --card: #ffffff;
  --accent: #e8f0e4;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* The JS toggles visibility via the hidden attribute; this must beat every
   display rule below (.btn, .modal form, .modal-backdrop, …). */
[hidden] { display: none !important; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h2 { font-size: 1.6rem; margin-bottom: .4rem; }
section { padding: 2.6rem 1.2rem; max-width: 1060px; margin: 0 auto; }
.section-sub { color: var(--muted); margin-bottom: 1.4rem; }

.btn {
  display: inline-block;
  font: inherit; font-weight: 600;
  padding: .7rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid var(--green-700);
  background: transparent;
  color: var(--green-700);
  cursor: pointer;
  transition: transform .1s ease, background .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-500); }

/* --- hero --- */
.hero { position: relative; min-height: 88svh; display: flex; overflow: hidden; background: var(--green-900); }
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: relative;
  margin-top: auto;
  width: 100%;
  padding: 5rem 1.4rem 2.2rem;
  background: linear-gradient(to top, rgba(12, 24, 16, .88) 0%, rgba(12, 24, 16, .55) 55%, transparent 100%);
  color: #fff;
}
.hero-overlay .brand { font-weight: 800; letter-spacing: .04em; opacity: .9; margin-bottom: .6rem; }
.hero-overlay h1 { font-size: clamp(1.7rem, 5.5vw, 2.8rem); max-width: 21ch; margin-bottom: .7rem; }
.hero-overlay .sub { max-width: 52ch; opacity: .92; margin-bottom: 1.2rem; }

/* --- steps --- */
.steps ol { list-style: none; display: grid; gap: 1.2rem; margin-top: 1.4rem; }
.steps li {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.step-icon { font-size: 1.8rem; display: block; margin-bottom: .5rem; }
.steps h3 { margin-bottom: .3rem; font-size: 1.05rem; }
.steps p { color: var(--muted); font-size: .95rem; }

/* --- gallery --- */
.clips { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.clips figure { border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.clip {
  position: relative; display: block; width: 100%;
  border: 0; padding: 0; cursor: pointer; background: #000;
  aspect-ratio: 4 / 3;
}
.clip img, .clip video { width: 100%; height: 100%; object-fit: cover; display: block; }
.clip .play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 1.4rem; color: #fff;
}
.clip .play::before {
  content: ""; position: absolute;
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(20, 35, 25, .65);
}
.clip .play { text-indent: .15em; }
.clip .play::after { content: none; }
.clips figcaption { padding: .7rem .9rem; font-size: .9rem; color: var(--muted); }

/* --- pricing --- */
.pricing { background: var(--accent); max-width: none; }
.pricing > * { max-width: 1060px; margin-left: auto; margin-right: auto; }
.tiers { display: grid; gap: 1.1rem; grid-template-columns: 1fr; margin-top: 1.2rem; }
.tier {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex; flex-direction: column; gap: .5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  position: relative;
}
.tier-popular { border: 2px solid var(--green-700); }
.tier .badge {
  position: absolute; top: -0.8rem; left: 1rem;
  background: var(--green-700); color: #fff;
  font-size: .75rem; font-weight: 700;
  padding: .15rem .7rem; border-radius: 999px;
}
.tier .price { font-size: 1.7rem; font-weight: 800; color: var(--green-900); }
.tier .price span { font-size: .8rem; font-weight: 500; color: var(--muted); }
.tier p:not(.price):not(.badge) { color: var(--muted); font-size: .95rem; flex: 1; }
.tier .btn { align-self: flex-start; margin-top: .4rem; }

/* --- faq --- */
.faq details {
  background: var(--card); border-radius: var(--radius);
  padding: 1rem 1.2rem; margin-bottom: .7rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin-top: .6rem; color: var(--muted); }
.faq a { color: var(--green-700); }

/* --- final cta / footer --- */
.cta-final { text-align: center; }
.cta-final p { color: var(--muted); margin-bottom: 1.2rem; }

footer {
  background: var(--green-900); color: #dfe7db;
  text-align: center; padding: 2rem 1.2rem; font-size: .9rem;
}
footer .brand { font-weight: 800; margin-bottom: .4rem; }
footer a { color: #dfe7db; }

/* --- modal --- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(15, 25, 18, .6);
  display: grid; place-items: center;
  padding: 1.2rem;
}
.modal-backdrop[hidden] { display: none; }
.modal {
  position: relative;
  background: #fff; border-radius: var(--radius);
  width: min(430px, 100%);
  padding: 1.8rem 1.5rem 1.4rem;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.modal h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.modal p { color: var(--muted); font-size: .95rem; }
.modal form { display: flex; flex-direction: column; gap: .8rem; }
.modal input[type="email"], .modal input[type="text"]:not(.hp), .modal textarea {
  font: inherit; padding: .65rem .8rem;
  border: 1.5px solid #cfd6c9; border-radius: 10px;
  width: 100%;
}
.modal .radio-row { display: flex; gap: 1.2rem; color: var(--ink); font-size: .95rem; }
.modal .fine { font-size: .8rem; }
.modal .fine a { color: var(--green-700); }
.modal-close {
  position: absolute; top: .6rem; right: .8rem;
  font-size: 1.5rem; border: 0; background: none;
  color: var(--muted); cursor: pointer; line-height: 1;
}
.form-result { font-weight: 600; color: var(--green-700); }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }

/* --- larger screens --- */
@media (min-width: 700px) {
  h2 { font-size: 2rem; }
  .steps ol { grid-template-columns: repeat(3, 1fr); }
  .clips { grid-template-columns: repeat(2, 1fr); }
  .hero-overlay { padding: 7rem 3rem 3rem; }
}
@media (min-width: 1000px) {
  .clips { grid-template-columns: repeat(3, 1fr); }
  .tiers { grid-template-columns: repeat(4, 1fr); }
}
