/* Haunt My Doorbell — one stylesheet, no dependencies. */

:root {
  --bg: #0a0908;
  --bg-2: #121010;
  --panel: #191615;
  --line: #2b2624;
  --ink: #f2ede7;
  --ink-soft: #a89f97;
  --ink-dim: #6f665f;
  --pumpkin: #ff7a1a;
  --pumpkin-dim: #c25a10;
  --blood: #b3231f;
  --wrap: 1080px;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 ui-sans-serif, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 720px; }

a { color: var(--pumpkin); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: #ff9445; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }

.mono {
  font-family: ui-monospace, "Andale Mono", Menlo, Consolas, monospace;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ---- header ---- */
.masthead {
  border-bottom: 1px solid var(--line);
  background: rgba(10, 9, 8, .92);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 50;
}
.masthead .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding-top: 13px; padding-bottom: 13px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; font-weight: 750; letter-spacing: -.02em;
}
.brand svg { display: block; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: .93rem; }
.nav a:hover { color: var(--ink); }
/* .nav a beats .btn on specificity — restore the button's dark-on-orange text. */
.nav a.btn, .nav a.btn:hover { color: #17100a; }
@media (max-width: 640px) { .nav .hide-sm { display: none; } }

/* ---- buttons ---- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  background: var(--pumpkin); color: #17100a; font-weight: 700;
  text-decoration: none; border: 0; cursor: pointer; font-size: 1rem;
  transition: transform .12s ease, background .12s ease;
}
.btn:hover { background: #ff9445; color: #17100a; transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-ghost:hover { background: var(--panel); color: var(--ink); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }

/* ---- hero ---- */
.hero { padding: 68px 0 26px; text-align: center; }
.hero p.lede {
  font-size: clamp(1.05rem, 2.3vw, 1.28rem); color: var(--ink-soft);
  max-width: 620px; margin: 0 auto 28px;
}
.kicker { color: var(--pumpkin); margin-bottom: 14px; }

/* ---- the camera viewer ---- */
.cam {
  position: relative; max-width: 860px; margin: 0 auto;
  border-radius: var(--radius); overflow: hidden;
  background: #000; box-shadow: 0 26px 70px -22px rgba(0,0,0,.95), 0 0 0 1px var(--line);
}
.cam video, .cam img { display: block; width: 100%; height: auto; }
.cam .layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cam-toggle {
  display: flex; justify-content: center; gap: 8px; margin: 16px 0 0;
}
.cam-toggle button {
  background: var(--panel); color: var(--ink-soft); border: 1px solid var(--line);
  padding: 8px 18px; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: .85rem; transition: all .12s ease;
}
.cam-toggle button[aria-pressed="true"] { background: var(--pumpkin); color: #17100a; border-color: var(--pumpkin); font-weight: 650; }
.caption { text-align: center; color: var(--ink-dim); font-size: .86rem; margin-top: 14px; }

/* ---- examples gallery ---- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 780px) { .gallery { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.shot {
  border-radius: var(--radius); overflow: hidden; background: #000;
  border: 1px solid var(--line); position: relative;
}
.shot video { display: block; width: 100%; height: auto; }
.shot figcaption {
  padding: 13px 16px; background: var(--panel);
  border-top: 1px solid var(--line);
}
.shot figcaption strong { display: block; font-size: .96rem; }
.shot figcaption span { color: var(--ink-dim); font-size: .84rem; }

/* ---- sections ---- */
section { padding: 62px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 42px; }
.section-head p { color: var(--ink-soft); margin: 0; }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); gap: 32px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 560px) { .g2 { grid-template-columns: 1fr; gap: 26px; } }
@media (max-width: 860px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .g3, .g4 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.card p { color: var(--ink-soft); margin: 0; font-size: .95rem; }
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,122,26,.13); color: var(--pumpkin);
  font-weight: 750; font-size: .9rem; margin-bottom: 14px;
}

/* ---- monsters ---- */
.monster {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 16px; text-align: center;
}
.monster .face { font-size: 1.9rem; line-height: 1; margin-bottom: 10px; }
.monster h3 { font-size: 1rem; margin-bottom: 4px; }
.monster p { color: var(--ink-dim); font-size: .84rem; margin: 0; }

/* ---- pricing ---- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.tier {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px; position: relative;
}
.tier.featured { border-color: var(--pumpkin); box-shadow: 0 0 0 1px var(--pumpkin); }
.tier .tag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--pumpkin); color: #17100a; padding: 3px 13px;
  border-radius: 999px; font-weight: 750; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.tier .amount { font-size: 2.5rem; font-weight: 800; letter-spacing: -.03em; }
.tier .amount span { font-size: .95rem; font-weight: 500; color: var(--ink-dim); letter-spacing: 0; }
.tier ul { list-style: none; padding: 0; margin: 18px 0 24px; }
.tier li { padding-left: 24px; position: relative; margin-bottom: 9px; color: var(--ink-soft); font-size: .94rem; }
.tier li::before {
  content: ""; position: absolute; left: 4px; top: .58em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--pumpkin);
}
.tier .btn { width: 100%; text-align: center; }

/* ---- faq ---- */
details {
  border-bottom: 1px solid var(--line); padding: 18px 0;
}
details summary {
  cursor: pointer; font-weight: 650; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--pumpkin); font-size: 1.35rem; line-height: 1; flex: none; }
details[open] summary::after { content: "\2212"; }
details p { margin: 14px 0 0; color: var(--ink-soft); font-size: .95rem; }
details p:last-child { margin-bottom: 0; }

/* ---- callout ---- */
.callout {
  border-left: 3px solid var(--pumpkin); background: var(--panel);
  padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 26px 0;
}
.callout p { margin: 0; color: var(--ink-soft); font-size: .94rem; }
.callout strong { color: var(--ink); }

/* ---- cta band ---- */
.band { text-align: center; padding: 74px 0; }
.band h2 { margin-bottom: 14px; }
.band p { color: var(--ink-soft); max-width: 480px; margin: 0 auto 28px; }

/* ---- footer ---- */
footer {
  border-top: 1px solid var(--line); padding: 40px 0 56px;
  color: var(--ink-dim); font-size: .87rem; background: var(--bg-2);
}
footer .links { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 18px; }
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--pumpkin); }
footer .fine { max-width: 620px; }

/* ---- prose (terms/privacy) ---- */
.prose { padding: 52px 0 70px; }
.prose h2 { margin-top: 2em; }
.prose h2:first-of-type { margin-top: 1em; }
.prose ul { color: var(--ink-soft); padding-left: 22px; }
.prose li { margin-bottom: .5em; }
.prose .updated { color: var(--ink-dim); font-size: .88rem; }

/* ---- upload / delivery steps ---- */
.bigstep { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 30px; }
.bigstep .n {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--pumpkin); color: #17100a;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.bigstep h3 { margin-bottom: .35em; }
.bigstep p { color: var(--ink-soft); font-size: .95rem; margin-bottom: .6em; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding-left: 28px; position: relative; margin-bottom: 11px; color: var(--ink-soft); font-size: .95rem; }
.checklist li::before {
  content: "\2713"; position: absolute; left: 4px; top: 0; color: var(--pumpkin); font-weight: 700;
}
.checklist.no li::before { content: "\00d7"; color: var(--blood); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
