/* interiorlapse — mobile-first, no framework, system fonts only.
   Layout cloned from gardenlapse.com; palette swapped to warm interior tones. */
:root {
  --brand-900: #2b2018;
  --brand-700: #9c5330;
  --brand-500: #bd6c42;
  --cream: #faf7f2;
  --ink: #2a251f;
  --muted: #75695e;
  --card: #ffffff;
  --accent: #f3e9df;
  --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(--brand-700);
  background: transparent;
  color: var(--brand-700);
  cursor: pointer;
  transition: transform .1s ease, background .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brand-700); color: #fff; }
.btn-primary:hover { background: var(--brand-500); }

/* --- hero --- */
.hero { position: relative; min-height: 88svh; display: flex; overflow: hidden; background: var(--brand-900); }
/* No published film yet: warm "evening room" gradient stands in for the hero video. */
.hero-static {
  background:
    radial-gradient(120% 90% at 85% 8%, rgba(255, 196, 120, .28) 0%, transparent 55%),
    radial-gradient(90% 70% at 15% 100%, rgba(189, 108, 66, .35) 0%, transparent 60%),
    linear-gradient(165deg, #3a2c20 0%, #2b2018 55%, #201811 100%);
}
.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(24, 16, 10, .88) 0%, rgba(24, 16, 10, .55) 55%, transparent 100%);
  color: #fff;
}
.hero-static .hero-overlay { background: none; }
.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 --- */
.disclaimer { font-size: .85rem; color: var(--muted); max-width: 62ch; }
.gallery .disclaimer { margin: -.6rem 0 1.4rem; }
.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;
  text-indent: .15em;
}
.clip .play::before {
  content: ""; position: absolute;
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(43, 32, 24, .65);
}
.clips figcaption { padding: .7rem .9rem; font-size: .9rem; color: var(--muted); }
.gallery-empty {
  background: var(--card); border-radius: var(--radius);
  padding: 2rem 1.4rem; text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.gallery-empty p { color: var(--muted); max-width: 46ch; margin: 0 auto .6rem; }
.gallery-empty p:first-child { font-size: 1.05rem; color: var(--ink); }
.gallery-empty .btn { margin-top: .6rem; }

/* --- 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(--brand-700); }
.tier .badge {
  position: absolute; top: -0.8rem; left: 1rem;
  background: var(--brand-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(--brand-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(--brand-700); }

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

footer {
  background: var(--brand-900); color: #ece2d7;
  text-align: center; padding: 2rem 1.2rem; font-size: .9rem;
}
footer .brand { font-weight: 800; margin-bottom: .4rem; }
footer a { color: #ece2d7; }
footer .disclaimer {
  color: #bfae9e; font-size: .8rem;
  margin: .9rem auto 0; max-width: 62ch;
}

/* --- modal --- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(28, 20, 13, .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) {
  font: inherit; padding: .65rem .8rem;
  border: 1.5px solid #d8cec2; border-radius: 10px;
  width: 100%;
}
.modal .fine { font-size: .8rem; }
.modal .fine a { color: var(--brand-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(--brand-700); }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }

/* --- privacy page --- */
.privacy { max-width: 680px; }
.privacy h1 { font-size: 1.8rem; margin-bottom: 1rem; }
.privacy h2 { font-size: 1.15rem; margin: 1.6rem 0 .4rem; }
.privacy p, .privacy li { color: var(--muted); }
.privacy ul { padding-left: 1.2rem; }
.privacy a { color: var(--brand-700); }
.privacy .brand { font-weight: 800; color: var(--brand-900); margin-bottom: 1.5rem; }
.privacy .brand a { color: inherit; text-decoration: none; }

/* --- 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); }
}
