/* =========================================================================
   FRAMEHOUSE — Cinematic Property Films
   Dark cinematic-luxury launch page. Hand-authored, no build step.
   Design dials: VARIANCE 7 / MOTION 6 / DENSITY 4. Theme locked: dark.
   Single accent: muted gold. Type: Playfair Display (display) + Plus Jakarta Sans.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg:        #0B0B0D;
  --bg-1:      #111116;
  --bg-2:      #17171E;
  --bg-3:      #1E1E26;
  --line:      rgba(244, 241, 234, 0.10);
  --line-soft: rgba(244, 241, 234, 0.06);
  --text:      #F4F1EA;
  --muted:     rgba(244, 241, 234, 0.64);
  --muted-2:   rgba(244, 241, 234, 0.60);
  --accent:    #C8A86A;          /* muted gold, < 80% sat */
  --accent-2:  #E4CB95;          /* lighter gold for gradients */
  --accent-deep:#9C7E45;
  --accent-soft: rgba(200, 168, 106, 0.12);
  --on-accent: #100D07;

  --maxw: 1200px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(5.5rem, 11vw, 10rem);
  --radius: 22px;
  --radius-lg: 30px;
  --radius-sm: 14px;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.32s var(--ease);
  --t-med: 0.6s var(--ease);

  --font-display: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --shadow: 0 30px 80px -30px rgba(0,0,0,0.8);
  --z-nav: 100;
  --z-overlay: 200;
  --z-grain: 300;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--on-accent); }

/* film-grain overlay (fixed, never on scroll containers) */
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--accent-soft);
}
.eyebrow::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.01em;
  color: var(--text);
}
h1.display { font-size: clamp(2.4rem, 1.55rem + 3.8vw, 4.7rem); }
h2.display { font-size: clamp(2.05rem, 1.4rem + 3vw, 3.7rem); }
h3.display { font-size: clamp(1.45rem, 1.15rem + 1.4vw, 2.1rem); }
.display em { font-style: italic; color: var(--accent-2); line-height: 1.12; }

.lede { font-size: clamp(1.08rem, 1rem + 0.5vw, 1.3rem); color: var(--muted); max-width: 56ch; }
.section-intro { max-width: 60ch; }
.section-intro p { color: var(--muted); margin-top: 1.1rem; }
.kicker { color: var(--accent); font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; color: var(--muted-2); }

/* ---------- Buttons (button-in-button physics) ---------- */
.btn {
  --b-bg: var(--accent);
  --b-fg: var(--on-accent);
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 0.85rem 0.95rem 0.85rem 1.5rem;
  background: var(--b-bg); color: var(--b-fg);
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 14px 30px -12px rgba(200,168,106,0.5);
}
.btn .ico {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(16,13,7,0.16);
  transition: transform var(--t-fast), background var(--t-fast);
}
.btn .ico svg { width: 15px; height: 15px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 22px 44px -14px rgba(200,168,106,0.6); }
.btn:hover .ico { transform: translate(3px, -1px) scale(1.05); }
.btn:active { transform: translateY(0) scale(0.985); }

.btn--ghost {
  --b-bg: transparent; --b-fg: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(6px);
  box-shadow: none;
}
.btn--ghost .ico { background: rgba(255,255,255,0.08); }
.btn--ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.2); box-shadow: none; transform: translateY(-2px); }
.btn--lg { padding: 1rem 1.05rem 1rem 1.7rem; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; justify-content: space-between; }

.textlink {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--accent); font-weight: 600;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color var(--t-fast), gap var(--t-fast);
}
.textlink:hover { border-color: var(--accent); gap: 0.6rem; }

/* ---------- Double-bezel panels ---------- */
.panel {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 7px;
}
.panel-inner {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line-soft);
  border-radius: calc(var(--radius-lg) - 7px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  height: 100%;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  display: flex; justify-content: center;
  padding: 1rem var(--pad);
  transition: padding var(--t-med);
}
.nav__bar {
  width: 100%; max-width: var(--maxw);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  height: 64px; padding: 0 0.7rem 0 1.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11,11,13,0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background var(--t-med), box-shadow var(--t-med);
}
.nav.is-scrolled .nav__bar { background: rgba(11,11,13,0.82); box-shadow: var(--shadow); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; letter-spacing: 0.02em; }
.brand__mark { width: 26px; height: 26px; flex: none; }
.brand__name { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; letter-spacing: 0.01em; }
.nav__links { display: flex; align-items: center; gap: 1.7rem; }
.nav__links a { font-size: 0.92rem; color: var(--muted); transition: color var(--t-fast); }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; align-items: center; gap: 0.5rem; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; border: 1px solid var(--line); }
.nav__toggle span { display: block; width: 17px; height: 1.5px; background: var(--text); position: relative; transition: transform var(--t-fast), opacity var(--t-fast); }
.nav__toggle span + span { margin-top: 4px; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: calc(var(--z-nav) - 1);
  display: none; flex-direction: column; justify-content: center; gap: 0.5rem;
  padding: 6rem var(--pad) 3rem;
  background: rgba(8,8,10,0.92);
  backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px);
}
.menu.is-open { display: flex; }
.menu a { font-family: var(--font-display); font-size: clamp(1.8rem, 8vw, 2.6rem); color: var(--text); padding: 0.4rem 0; opacity: 0; transform: translateY(16px); }
.menu.is-open a { animation: menuIn 0.55s var(--ease-out) forwards; }
.menu a:nth-child(1){animation-delay:.06s} .menu a:nth-child(2){animation-delay:.1s} .menu a:nth-child(3){animation-delay:.14s}
.menu a:nth-child(4){animation-delay:.18s} .menu a:nth-child(5){animation-delay:.22s} .menu a:nth-child(6){animation-delay:.26s}
@keyframes menuIn { to { opacity: 1; transform: translateY(0); } }
.menu .btn { align-self: flex-start; margin-top: 1.5rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media > img, .hero__media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,11,13,0.72) 0%, rgba(11,11,13,0.25) 32%, rgba(11,11,13,0.55) 70%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11,11,13,0.85) 0%, rgba(11,11,13,0.25) 60%, rgba(11,11,13,0.1) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(3.5rem, 9vh, 7rem); padding-top: 8rem; }
.hero__grid { max-width: 960px; }
.hero h1 { margin: 1.4rem 0 1.5rem; }
.hero .lede { max-width: 50ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero__scrolltrust { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; color: var(--muted-2); font-size: 0.84rem; }
.hero__scrolltrust span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__scrolltrust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-1); }
.trust__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: 2.4rem; }
.trust__item { display: flex; flex-direction: column; gap: 0.3rem; }
.trust__item .n { font-family: var(--font-display); font-size: 1.7rem; color: var(--text); }
.trust__item .n em { color: var(--accent); font-style: normal; }
.trust__item .l { font-size: 0.84rem; color: var(--muted); }

/* ---------- Generic two-col split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media .panel { padding: 6px; }
.split__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; aspect-ratio: 4/3; }

/* ---------- Problem (editorial, hairline rows) ---------- */
.problem__head { max-width: 64ch; margin-bottom: 3rem; }
.choices { display: grid; gap: 0; border-top: 1px solid var(--line); }
.choice {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: start;
  padding: 1.9rem 0; border-bottom: 1px solid var(--line);
}
.choice__no { font-family: var(--font-display); font-size: 1.4rem; color: var(--muted-2); }
.choice h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.3rem; }
.choice p { color: var(--muted); max-width: 60ch; font-size: 0.96rem; }
.choice__tag { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); align-self: center; white-space: nowrap; }
.problem__resolve { margin-top: 2.6rem; font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem); max-width: 30ch; }
.problem__resolve em { color: var(--accent-2); font-style: italic; }

/* ---------- Solution mechanic ---------- */
.mech { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.mech__step { padding: 1.6rem; }
.mech__step .num { font-family: var(--font-display); color: var(--accent); font-size: 1.1rem; }
.mech__step h3 { margin: 0.8rem 0 0.4rem; font-size: 1.05rem; }
.mech__step p { color: var(--muted); font-size: 0.92rem; }
.guarantee {
  margin-top: 2.4rem; padding: 1.5rem 1.7rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--accent-soft);
  display: flex; gap: 1rem; align-items: flex-start;
}
.guarantee svg { width: 26px; height: 26px; color: var(--accent); flex: none; margin-top: 2px; }
.guarantee b { color: var(--text); }
.guarantee p { color: var(--muted); }

/* ---------- How it works (stepped) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 2.5rem; }
.step { background: var(--bg-1); padding: 1.9rem 1.6rem; position: relative; transition: background var(--t-fast); }
.step:hover { background: var(--bg-2); }
.step__n { font-size: 0.78rem; letter-spacing: 0.18em; color: var(--accent); font-weight: 600; }
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin: 0.9rem 0 0.5rem; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.1rem; margin-top: 2.6rem; }
.film { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; cursor: pointer; }
.film--wide { grid-column: span 7; }
.film--tall { grid-column: span 5; grid-row: span 2; }
.film--half { grid-column: span 7; }
.film__poster, .film video { width: 100%; height: 100%; object-fit: cover; }
.film--wide .film__poster, .film--half .film__poster { aspect-ratio: 16/9; }
.film--tall .film__poster { aspect-ratio: 9/16; height: 100%; }
.film__inner { position: relative; height: 100%; }
.film__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.3rem; gap: 0.2rem;
  background: linear-gradient(0deg, rgba(8,8,10,0.85) 0%, rgba(8,8,10,0.1) 45%, rgba(8,8,10,0.35) 100%);
  transition: opacity var(--t-fast);
}
.film__play {
  position: absolute; top: 1.1rem; right: 1.1rem;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(200,168,106,0.92); color: var(--on-accent);
  transition: transform var(--t-fast), background var(--t-fast);
}
.film:hover .film__play { transform: scale(1.08); }
.film__play svg { width: 18px; height: 18px; margin-left: 2px; }
.film__meta .t { font-weight: 600; font-size: 0.98rem; }
.film__meta .s { font-size: 0.82rem; color: var(--muted); }
.film__badge { position: absolute; top: 1.1rem; left: 1.1rem; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.32rem 0.7rem; border-radius: 999px; background: rgba(8,8,10,0.6); border: 1px solid var(--line); color: var(--accent); backdrop-filter: blur(6px); }
.gallery__note { margin-top: 1.4rem; color: var(--muted-2); font-size: 0.86rem; }

/* video modal */
.modal { position: fixed; inset: 0; z-index: var(--z-overlay); display: none; align-items: center; justify-content: center; padding: var(--pad); background: rgba(5,5,7,0.86); backdrop-filter: blur(10px); }
.modal.is-open { display: flex; }
.modal__box { width: min(960px, 100%); }
.modal__box video { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: #000; }
.modal__close { position: absolute; top: 1.4rem; right: 1.6rem; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,0.05); display: grid; place-items: center; }
.modal__close svg { width: 18px; height: 18px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 2.8rem; align-items: stretch; }
.tier { display: flex; flex-direction: column; height: 100%; }
.tier .panel-inner { display: flex; flex-direction: column; padding: 1.8rem 1.6rem; gap: 0.2rem; }
.tier--featured .panel { background: linear-gradient(160deg, rgba(200,168,106,0.5), rgba(200,168,106,0.08)); }
.tier__flag { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.tier__name { font-family: var(--font-display); font-size: 1.4rem; margin-top: 0.5rem; }
.tier__price { margin: 0.9rem 0 0.2rem; display: flex; align-items: baseline; gap: 0.35rem; }
.tier__price .from { font-size: 0.78rem; color: var(--muted-2); }
.tier__price .amt { font-family: var(--font-display); font-size: 2.2rem; color: var(--text); }
.tier__price .unit { font-size: 0.8rem; color: var(--muted); }
.tier__desc { color: var(--muted); font-size: 0.9rem; min-height: 2.6em; margin-bottom: 0.5rem; }
.tier__list { list-style: none; padding: 1.1rem 0; margin: 0.6rem 0; border-top: 1px solid var(--line); display: grid; gap: 0.6rem; flex: 1; }
.tier__list li { display: flex; gap: 0.6rem; font-size: 0.88rem; color: var(--muted); }
.tier__list li svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 3px; }
.tier .btn { margin-top: auto; }

.sub { margin-top: 1.2rem; }
.sub .panel-inner { padding: clamp(1.8rem, 4vw, 2.6rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.sub__plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.sub__plan { padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-2); }
.sub__plan .pn { font-weight: 600; }
.sub__plan .pp { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); margin: 0.3rem 0; }
.sub__plan .pl { font-size: 0.82rem; color: var(--muted); }
.addons { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.addons .chip { font-size: 0.82rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 0.9rem; background: var(--bg-1); }
.addons .chip b { color: var(--accent); font-weight: 600; }

/* subscription-led pricing additions */
.pricing.is-three { grid-template-columns: repeat(3, 1fr); }
.tier__perfilm { display: block; color: var(--accent); font-size: 0.82rem; font-weight: 600; margin-top: 0.15rem; }
.freefilm { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; flex-wrap: wrap; margin: 2.4rem 0 1.4rem; padding: 1.6rem 1.9rem; border: 1px solid var(--accent); border-radius: var(--radius); background: var(--accent-soft); }
.freefilm .btn { flex: none; }
.statband { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-bottom: 0.9rem; }
.stat { text-align: center; padding: 1.6rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.stat .sn { display: block; font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem); color: var(--accent); line-height: 1; }
.stat .sl { display: block; color: var(--muted); font-size: 0.92rem; margin-top: 0.45rem; }
.statsrc { text-align: center; color: var(--muted-2); font-size: 0.8rem; margin: 0 auto 2.6rem; max-width: 62ch; }
@media (max-width: 980px) { .pricing.is-three { grid-template-columns: 1fr 1fr; } .freefilm { flex-direction: column; align-items: flex-start; } }
@media (max-width: 640px) { .pricing.is-three { grid-template-columns: 1fr; } .statband { grid-template-columns: 1fr; } }

/* ---------- Use cases ---------- */
.usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 2.6rem; }
.uc { background: var(--bg-1); padding: 1.6rem; transition: background var(--t-fast); }
.uc:hover { background: var(--bg-2); }
.uc svg { width: 22px; height: 22px; color: var(--accent); }
.uc h3 { margin: 0.9rem 0 0.35rem; font-size: 1.02rem; }
.uc p { color: var(--muted); font-size: 0.88rem; }

/* ---------- Why video (editorial) ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.why__points { display: grid; gap: 1.2rem; }
.why__point { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.why__point:last-child { border-bottom: none; }
.why__point svg { width: 22px; height: 22px; color: var(--accent); margin-top: 3px; }
.why__point b { display: block; margin-bottom: 0.2rem; }
.why__point p { color: var(--muted); font-size: 0.92rem; }
.why__aside { padding: clamp(1.6rem, 4vw, 2.4rem); }
.why__aside .q { font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); line-height: 1.25; }
.why__aside .q em { color: var(--accent-2); font-style: italic; }
.why__aside .src { margin-top: 1.2rem; color: var(--muted-2); font-size: 0.82rem; }

/* ---------- Deliverables ---------- */
.deliver { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem 2.4rem; margin-top: 2.6rem; }
.deliver__group h3 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.deliver__group ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.deliver__group li { display: flex; gap: 0.6rem; color: var(--muted); font-size: 0.93rem; align-items: flex-start; }
.deliver__group li svg { width: 15px; height: 15px; color: var(--accent); flex: none; margin-top: 4px; }

/* ---------- Form ---------- */
.intake { max-width: 920px; margin-inline: auto; }
.intake .panel-inner { padding: clamp(1.6rem, 4vw, 2.8rem); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 0.4rem; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); margin-bottom: 2rem; }
.tab { padding: 0.8rem 1rem; border-radius: 999px; font-weight: 600; font-size: 0.92rem; color: var(--muted); text-align: center; transition: background var(--t-fast), color var(--t-fast); }
.tab[aria-selected="true"] { background: var(--accent); color: var(--on-accent); }
.tab .tab__sub { display: block; font-size: 0.74rem; font-weight: 500; opacity: 0.8; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.84rem; font-weight: 600; color: var(--text); }
.field label .req { color: var(--accent); }
.field .hint { font-size: 0.78rem; color: var(--muted-2); }
.field input, .field select, .field textarea {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: var(--text);
  transition: border-color var(--t-fast), background var(--t-fast);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: var(--bg-3); outline: none; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23C8A86A' stroke-width='2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }
.field input[type="file"] { padding: 0.7rem; background: var(--bg-1); border-style: dashed; cursor: pointer; }
.field input[type="file"]::file-selector-button { margin-right: 0.9rem; padding: 0.5rem 0.9rem; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-3); color: var(--text); cursor: pointer; }

.consent { grid-column: 1 / -1; display: flex; gap: 0.8rem; align-items: flex-start; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.consent label { font-size: 0.84rem; color: var(--muted); font-weight: 400; }
.form-foot { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 0.5rem; }
.pathway { display: none; }
.pathway.is-active { display: contents; }

.form-more { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: 12px; padding: 0 1.1rem; background: var(--bg-2); }
.form-more > summary { cursor: pointer; padding: 1rem 0; font-weight: 600; font-size: 0.88rem; color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.form-more > summary::-webkit-details-marker { display: none; }
.form-more > summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; flex: none; }
.form-more[open] > summary::after { content: "-"; }
.form-more[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 0.2rem; }
.form-more .form-grid { padding: 0 0 1.2rem; }

.form-status { grid-column: 1/-1; display: none; padding: 1rem 1.2rem; border-radius: 12px; font-size: 0.9rem; }
.form-status.is-error { display: block; background: rgba(200,90,70,0.12); border: 1px solid rgba(200,90,70,0.4); color: #f0c2b6; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 2.6rem auto 0; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem 0; text-align: left; font-size: 1.05rem; font-weight: 600; }
.faq__q .pm { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: transform var(--t-fast), background var(--t-fast); }
.faq__q .pm svg { width: 14px; height: 14px; color: var(--accent); }
.faq__item.is-open .pm { transform: rotate(45deg); background: var(--accent-soft); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--t-med); }
.faq__a p { color: var(--muted); padding-bottom: 1.5rem; max-width: 70ch; }

/* ---------- Final CTA ---------- */
.finalcta { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.finalcta__media { position: absolute; inset: 0; z-index: 0; }
.finalcta__media img { width: 100%; height: 100%; object-fit: cover; }
.finalcta__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,8,10,0.92), rgba(8,8,10,0.6) 70%, rgba(8,8,10,0.4)); }
.finalcta__inner { position: relative; z-index: 2; padding: clamp(2.8rem, 7vw, 5.5rem); max-width: 720px; }
.finalcta h2 { margin-bottom: 1.2rem; }
.finalcta .btn { margin-top: 2rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-1); padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer__brand .brand { margin-bottom: 1rem; }
.footer__brand p { color: var(--muted); font-size: 0.9rem; max-width: 34ch; }
.footer__col h2 { font-family: var(--font-body); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1rem; }
.footer__col a, .footer__col p { display: block; color: var(--muted); font-size: 0.9rem; padding: 0.28rem 0; transition: color var(--t-fast); }
.footer__col a:hover { color: var(--text); }
.footer__legal { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; color: var(--muted-2); font-size: 0.8rem; }
.footer__rights { max-width: 70ch; margin-top: 1rem; color: var(--muted-2); font-size: 0.78rem; line-height: 1.6; }

/* ---------- Scroll reveal ---------- */
/* Content is visible by default. JS opts into motion only after it loads, so a
   missing or blocked script never turns the whole page invisible. */
.reveal { opacity: 1; transform: none; filter: none; transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), filter 0.8s var(--ease-out); }
.js-enhanced .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); }
.js-enhanced .reveal.is-visible { opacity: 1; transform: none; filter: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__toggle { display: grid; }
  .split, .why, .sub .panel-inner { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .mech, .steps, .usecases, .deliver, .sub__plans { grid-template-columns: 1fr 1fr; }
  .trust__row { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .film--wide, .film--half, .film--tall { grid-column: span 1; grid-row: auto; }
  .film--tall .film__poster { aspect-ratio: 9/16; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --radius-lg: 24px; }
  .pricing, .mech, .steps, .usecases, .deliver, .form-grid, .sub__plans, .gallery, .trust__row, .footer__top { grid-template-columns: 1fr; }
  .choice { grid-template-columns: auto 1fr; }
  .choice__tag { grid-column: 2; justify-self: start; margin-top: 0.3rem; }
  .hero__inner { padding-top: 7rem; }
  .nav__cta .btn { padding: 0.72rem 0.72rem 0.72rem 1rem; font-size: 0.78rem; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; justify-content: space-between; }
}

/* ---------- Reduced motion / transparency ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal, .js-enhanced .reveal { opacity: 1; transform: none; filter: none; }
  .hero__media video { display: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav__bar, .menu, .modal, .btn--ghost { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav__bar { background: rgba(11,11,13,0.96); }
}
