/* Connctr — one continuous scroll journey through the FPV film.
   Hero measurements come from STUDY.md, re-mapped onto a 16:9 stage that matches the film frame. */
:root {
  --cream: #f1e7dd;
  --ink: #141416;
  --deep: #1e1c1e;
  --circle: #272425;
  --line: rgba(241, 231, 221, .62);
  --glass-border: rgba(241, 231, 221, .38);
  --glass-bg: linear-gradient(180deg, rgba(40, 38, 42, .46), rgba(22, 21, 24, .62));
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--deep); }
body { margin: 0; overflow-x: hidden; color: var(--cream); font-family: "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

/* ---------- The journey: a tall scroll track with the viewport pinned ---------- */
.track { position: relative; height: 1100vh; }
.viewport { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--deep); }

/* 16:9 stage that covers the window exactly like the film frame does */
.stage {
  position: absolute; left: 50%; top: 50%;
  width: max(100vw, 177.78vh); height: max(100vh, 56.25vw);
  transform: translate(-50%, -50%);
  container-type: size;
}
.layer { position: absolute; inset: 0; }
/* film + roof share one transform: frame 1 is zoomed to sit exactly where the design puts the house */
.film-layer, .roof-layer { transform: translateY(calc(var(--dy, .015) * 100%)) scale(var(--z, 1.19)); transform-origin: 50% 50%; }
.film-layer { z-index: 1; }
.hero-back  { z-index: 2; }
.roof-layer { z-index: 3; }
.hero-front { z-index: 4; }
.film { display: block; width: 100%; height: 100%; }
.roof { position: absolute; left: 21.927%; top: 31.296%; width: 53.438%; height: 24.259%; }

/* ---------- Hero type (all relative to the stage) ---------- */
.headline {
  position: absolute; left: 11.3cqw; top: calc(17.59cqh - 3.05cqw);
  font: 800 15.4cqw/1 "Montserrat", sans-serif; letter-spacing: -.046em; white-space: nowrap;
}
.headline span { display: inline-block; will-change: transform, opacity; }
.eyebrow { position: absolute; left: 11.1cqw; top: calc(14.25cqh - .35cqw); font: 400 1.22cqw/1.2 "Inter", sans-serif; }
.tags { position: absolute; left: 90.6cqw; top: calc(18.3cqh - .45cqw); font: 400 1.1cqw/1.45 "Inter", sans-serif; white-space: nowrap; }
.lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lines path { fill: none; stroke: var(--line); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.dot {
  position: absolute; width: 1.05cqw; height: 1.05cqw; border-radius: 50%; background: var(--cream);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 .3cqw rgba(241, 231, 221, .22), 0 0 0 .36cqw rgba(241, 231, 221, .5);
}
.script { position: absolute; left: 61.6cqw; top: 48.12cqh; font: 400 18.7cqw/1 "Allura", cursive; white-space: nowrap; }
.card {
  position: absolute; left: 29.9cqw; top: 72.57cqh; width: 21.5cqw;
  padding: 1.95cqw 1.75cqw 1.75cqw; border-radius: .9cqw;
  border: 1px solid rgba(241, 231, 221, .5);
  background: linear-gradient(180deg, rgba(150, 138, 140, .32), rgba(110, 102, 108, .38));
  -webkit-backdrop-filter: blur(1.1cqw); backdrop-filter: blur(1.1cqw);
  font: 400 .95cqw/1.24 "Inter", sans-serif;
}
.card div { display: flex; gap: .3em; white-space: nowrap; }
.card dd { font-weight: 700; }

/* ---------- Hero chrome pinned to the window ---------- */
.circle {
  position: absolute; z-index: 5; left: 5.37vw; bottom: calc(15.3vh - 19.2vw);
  width: 19.2vw; height: 19.2vw; border-radius: 50%; background: var(--circle);
}
.copy {
  position: absolute; z-index: 6; left: 61.5vw; right: 2.4vw; bottom: 4.3vh;
  display: grid; grid-template-columns: 16.6vw 15.6vw; column-gap: 4vw;
  font: 400 1vw/1.47 "Inter", sans-serif;
}

/* ---------- Nav, progress, socials ---------- */
.nav {
  position: absolute; z-index: 30; left: 0; right: 0; top: 4vh; height: 2.75vw;
  font: 700 1vw/1 "Montserrat", sans-serif; text-transform: uppercase; letter-spacing: .01em;
}
.pills { position: absolute; left: 2.75vw; top: 0; display: flex; gap: .74vw; height: 100%; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .7vw;
  height: 2.75vw; min-width: 7.2vw; padding: 0 1.6vw;
  border: 1px solid rgba(241, 231, 221, .9); border-radius: 999px;
  font: 700 1vw/1 "Montserrat", sans-serif; text-transform: uppercase; letter-spacing: .01em;
  transition: background-color .35s, color .35s, border-color .35s;
}
.pill.is-active, .pill-solid { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.pill svg { width: 1.15vw; height: 1.15vw; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: block; line-height: 0; transition: opacity .3s; }
.logo:hover { opacity: .75; }
.logo img { width: auto; height: 2.4vw; }
.contact { position: absolute; left: 78.6vw; top: 0; height: 100%; display: flex; align-items: center; }
.cta { position: absolute; left: 85.2vw; top: 0; width: 12.1vw; padding: 0; }

.progress { position: absolute; z-index: 31; left: 0; right: 0; top: 0; height: 2px; background: rgba(241, 231, 221, .12); }
.progress i { display: block; height: 100%; width: 100%; background: var(--cream); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

.socials { position: absolute; z-index: 30; left: 2.9vw; bottom: 4.1vh; display: flex; gap: 1.75vw; }
.socials a { display: grid; place-items: center; width: 2.32vw; height: 2.32vw; border: 1px solid rgba(241, 231, 221, .85); border-radius: .5vw; }
.socials svg { width: 62%; height: 62%; fill: none; stroke: var(--cream); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.socials .fill { fill: var(--cream); stroke: none; }

/* ---------- Sections (stops along the flight) ---------- */
.sections { position: absolute; inset: 0; z-index: 10; pointer-events: none; }
.sec {
  position: absolute; inset: 0; visibility: hidden;
  padding: 14vh 3vw 12vh 2.75vw;
  display: grid; grid-template-columns: minmax(0, 34vw) 1fr; column-gap: 4vw; align-items: end;
}
.sec.is-on { visibility: visible; pointer-events: auto; }
/* legibility scrim on the left, fades with the section */
.sec::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: var(--v, 0);
  background: linear-gradient(90deg, rgba(14, 13, 16, .66) 0%, rgba(14, 13, 16, .32) 42%, rgba(14, 13, 16, 0) 70%);
}
[data-a] { opacity: 0; will-change: transform, opacity; }

.kicker { font: 700 .85vw/1 "Montserrat", sans-serif; letter-spacing: .2em; text-transform: uppercase; opacity: .82; margin-bottom: 1.4vw; }
.sec h2 { font: 800 4.6vw/.94 "Montserrat", sans-serif; letter-spacing: -.035em; text-transform: uppercase; margin-bottom: 1.6vw; }
.lead { font: 400 1.15vw/1.5 "Inter", sans-serif; max-width: 30vw; opacity: .92; }
.glass {
  border: 1px solid var(--glass-border); border-radius: .9vw; background: var(--glass-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}

.facts { display: flex; gap: 2.4vw; margin-top: 2.2vw; }
.facts b { display: block; font: 800 2.2vw/1 "Montserrat", sans-serif; }
.facts span { font: 400 .9vw/1.3 "Inter", sans-serif; opacity: .8; }

.sec-work .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1vw; align-self: end; }
.shot { overflow: hidden; padding: .5vw; }
.shot img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: .55vw; }
.shot figcaption { font: 600 .85vw/1 "Inter", sans-serif; padding: .7vw .2vw .25vw; }

.chips { display: flex; flex-wrap: wrap; gap: .6vw; margin-top: 2vw; }
.chips li { border: 1px solid rgba(241, 231, 221, .7); border-radius: 999px; padding: .55vw 1.1vw; font: 700 .8vw/1 "Montserrat", sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.sec-reels { grid-template-columns: minmax(0, 34vw) 1fr; }
.phone { justify-self: end; margin-right: 6vw; width: 16vw; aspect-ratio: 9 / 16; padding: .6vw; border-radius: 2vw; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 1.5vw; display: block; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1vw; align-self: end; }
.steps li { padding: 1.6vw 1.4vw; }
.steps b { font: 800 1vw/1 "Montserrat", sans-serif; opacity: .7; }
.steps h3 { font: 800 1.5vw/1.1 "Montserrat", sans-serif; text-transform: uppercase; margin: 1.6vw 0 .6vw; }
.steps p { font: 400 .95vw/1.45 "Inter", sans-serif; opacity: .88; }

.sec-pricing { grid-template-columns: minmax(0, 22vw) 1fr; grid-template-rows: 1fr auto; row-gap: 1.4vw; }
.sec-pricing .col { grid-row: 1 / span 2; align-self: end; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1vw; align-self: end; }
.plan { position: relative; padding: 1.8vw 1.6vw; display: flex; flex-direction: column; gap: .9vw; border-radius: .9vw; }
.plan h3 { font: 700 .95vw/1 "Montserrat", sans-serif; text-transform: uppercase; letter-spacing: .14em; }
.plan .price { font: 800 3vw/1 "Montserrat", sans-serif; letter-spacing: -.03em; }
.plan .price small { font-size: .38em; letter-spacing: 0; margin-left: .15em; opacity: .8; }
.sec-pricing .lead { margin-top: .4vw; }
.plan ul { display: grid; gap: .45vw; font: 400 .95vw/1.35 "Inter", sans-serif; flex: 1; }
.plan ul li::before { content: "— "; opacity: .7; }
.plan .pill { width: 100%; height: 2.6vw; font-size: .85vw; }
.plan-hot { background: var(--cream); color: var(--ink); }
.plan-hot .pill { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.badge { position: absolute; top: 1.2vw; right: 1.2vw; font: 700 .7vw/1 "Montserrat", sans-serif; text-transform: uppercase; letter-spacing: .12em; border: 1px solid currentColor; border-radius: 999px; padding: .4vw .7vw; }
.addons { grid-column: 2; margin-top: 0; }

.quote { align-self: end; padding: 2.6vw 2.8vw; max-width: 46vw; }
.quote p { font: 400 3vw/1.08 "Allura", cursive; }
.quote footer { margin-top: 1.4vw; font: 600 .9vw/1.4 "Inter", sans-serif; opacity: .85; }
.quote em { font-weight: 400; opacity: .7; }
.quote footer a { display: inline-block; margin-top: .6vw; text-decoration: underline; text-underline-offset: .25em; font-weight: 700; }

.sec-cta { grid-template-columns: 1fr; align-items: center; justify-items: center; text-align: center; }
.sec-cta::before { background: radial-gradient(ellipse at 50% 55%, rgba(14, 13, 16, .5), rgba(14, 13, 16, 0) 70%); }
.cta-wrap { display: flex; flex-direction: column; align-items: center; }
.cta-legal { margin-top: 1.4rem; font: 600 .8rem/1 "Inter", sans-serif; opacity: .6; text-decoration: underline; text-underline-offset: .25em; }
.cta-legal:hover { opacity: 1; }
.booked { position: relative; font: 800 13vw/.9 "Montserrat", sans-serif !important; letter-spacing: -.05em !important; margin-bottom: 2.4vw !important; }
.booked span { position: absolute; right: -3vw; bottom: -4.2vw; font: 400 9vw/1 "Allura", cursive; text-transform: none; letter-spacing: 0; }
.sec-cta .lead { max-width: none; margin-bottom: 2vw; }
.sec-cta .pill { height: 3.4vw; padding: 0 2.4vw; font-size: 1.1vw; }

/* ---------- Narrow screens ---------- */
@media (max-width: 768px) {
  .sec { grid-template-columns: 1fr; padding: 16vh 5vw 14vh; row-gap: 4vw; align-content: end; }
  .sec h2 { font-size: 9vw; }
  .kicker { font-size: 2.6vw; }
  .lead { font-size: 3.6vw; max-width: none; }
  .sec-work .grid { grid-template-columns: repeat(3, 1fr); }
  .shot figcaption { font-size: 2.4vw; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps h3 { font-size: 4vw; } .steps p { font-size: 3vw; } .steps b { font-size: 3vw; }
  .sec-pricing { grid-template-columns: 1fr; }
  .sec-pricing .col { grid-row: auto; }
  .plans { grid-template-columns: 1fr; }
  .plan .price { font-size: 7vw; } .plan h3, .plan ul { font-size: 3.2vw; } .plan .pill { height: 9vw; font-size: 3vw; }
  .addons { grid-column: 1; }
  .phone { width: 40vw; justify-self: center; margin: 0; }
  .quote { max-width: none; } .quote p { font-size: 8vw; } .quote footer { font-size: 3vw; }
  .chips li { font-size: 2.6vw; padding: 1.6vw 3vw; }
}

/* ---------- Reduced motion: no flight; hero + sections as plain stacked content ---------- */
.is-static .track { height: auto; }
.is-static .viewport { position: relative; height: auto; overflow: visible; }
.is-static .stage, .is-static .stage + .circle { position: relative; }
.is-static .stage { left: 0; top: 0; transform: none; width: 100vw; height: 56.25vw; }
.is-static .sections { position: relative; }
.is-static .sec { position: relative; visibility: visible; min-height: 0; padding: 8vh 3vw; }
.is-static [data-a] { opacity: 1 !important; transform: none !important; filter: none !important; }
.is-static .copy, .is-static .circle, .is-static .socials { display: none; }

/* offers stop: badge sits above the title instead of over it */
.sec-pricing .badge { position: static; align-self: flex-start; margin-bottom: -.3vw; }
.sec-pricing .plan:not(.plan-hot) h3 { margin-top: calc(.7vw * 1 + 1.6vw); }

/* ---------- Phones (portrait): the 16:9 stage is wider than the screen, so the hero is re-laid out
   against the visible window. "50% - 50vw" = the screen's left edge inside the stage. ---------- */
@media (max-width: 768px) and (orientation: portrait) {
  .roof-layer, .lines, .dot, .circle { display: none; }
  .headline { left: calc(50% - 50vw + 5vw); top: 19vh; font-size: 17.4vw; }
  .eyebrow { left: calc(50% - 50vw + 5.5vw); top: calc(19vh - 4.4vw); font-size: 3.6vw; }
  .tags { left: calc(50% - 50vw + 5.5vw); top: calc(19vh + 21vw); font-size: 3.4vw; }
  .script { left: auto; right: calc(50% - 50vw + 3vw); top: calc(19vh + 12vw); font-size: 24vw; }
  .card { left: calc(50% - 50vw + 5vw); top: auto; bottom: 19vh; width: 90vw; padding: 4.2vw 4.6vw; border-radius: 3.2vw; font-size: 3.5vw; line-height: 1.4; -webkit-backdrop-filter: blur(3vw); backdrop-filter: blur(3vw); }
  .copy { left: 5vw; right: 5vw; bottom: 4vh; display: block; font-size: 3.6vw; line-height: 1.45; }
  .copy p + p { display: none; }

  /* nav: Book a shoot top right, page pills on the row below (same as the inner pages) */
  .nav { top: 2.4vh; height: auto; font-size: 3.1vw; }
  .pills { left: 4vw; right: 4vw; top: calc(10vw + 2.4vw); gap: 2vw; height: auto; }
  .pill { height: 9.6vw; min-width: 0; padding: 0 3.6vw; font-size: 3.1vw; gap: 1.6vw; }
  .pill svg { width: 3.4vw; height: 3.4vw; }
  .cta { left: auto; right: 4vw; width: auto; padding: 0 4vw; }
  .logo { left: 4vw; top: 0; height: 9.6vw; transform: none; display: flex; align-items: center; }
  .logo img { height: 6.6vw; }
  .sec-cta .pill { height: 11vw; padding: 0 6vw; font-size: 3.6vw; }
  .booked span { right: -2vw; bottom: -6vw; }
  .cta-legal { font-size: 3.2vw; }
}
@media (max-width: 768px) {
  /* offers stop: swipeable cards so the section fits one phone screen; Booked Solid first */
  .sec-pricing { padding-bottom: 7vh; }
  .plans { display: flex; gap: 3vw; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -5vw; padding: 1vw 5vw 2vw; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .plans::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 74vw; scroll-snap-align: center; }
  .plan-hot { order: -1; }
  .sec-pricing .plan:not(.plan-hot) h3 { margin-top: 0; }
  .sec-pricing .badge { font-size: 2.4vw; padding: 1vw 2vw; }
}
@media (max-width: 768px) and (orientation: portrait) {
  .booked { font-size: 20vw !important; margin-bottom: 9vw !important; }
  .booked span { font-size: 12vw; right: -3vw; bottom: -7vw; }
}

/* ---------- Phones: a normal, static homepage (journey.js adds .is-phone). Full-screen still hero, then the sections stacked. ---------- */
.is-phone .stage { height: 100vh; height: 100svh; }
.is-phone .progress { display: none; }
.is-phone .nav { position: fixed; top: 0; height: calc(2.4vh + 25.4vw); background: rgba(22, 21, 23, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(241, 231, 221, .08); }
.is-phone .nav .cta, .is-phone .nav .logo { top: 2.4vh; }
.is-phone .pills { top: calc(2.4vh + 12.4vw); }
.is-phone .headline { top: calc(25.4vw + 2.4vh + 9vh); }
.is-phone .eyebrow { top: calc(25.4vw + 2.4vh + 9vh - 4.4vw); }
.is-phone .tags { top: calc(25.4vw + 2.4vh + 9vh + 21vw); }
.is-phone .script { top: calc(25.4vw + 2.4vh + 9vh + 12vw); }
.is-phone .card { bottom: 6vh; }
.is-phone .sec { display: grid; grid-template-columns: 1fr; padding: 14vw 5vw; row-gap: 5vw; align-content: start; min-height: 0; }
.is-phone .sec::before { display: none; }
.is-phone .sec + .sec { border-top: 1px solid rgba(241, 231, 221, .08); }
.is-phone .sec-work .grid { grid-template-columns: repeat(2, 1fr); gap: 2.4vw; }
.is-phone .shot figcaption { font-size: 3vw; }
.is-phone .phone { width: 52vw; }
.is-phone .sec-cta { padding: 18vw 5vw 14vw; }
.is-phone .facts { gap: 6vw; margin-top: 4vw; }
.is-phone .facts b { font-size: 6vw; }
.is-phone .facts span { font-size: 3vw; }
.is-phone .stage { overflow: hidden; }
.is-phone .film-layer { transform: none; }
html.is-phone, html.is-phone body { overflow-x: hidden; }
