/* ==========================================================================
   NeighborFi — "Let's talk" landing page
   Colours, type and motion are taken from the announcement film's own slates:
   the coral logo slate, the navy "special announcement" slate and the black
   "1 + 1 = 3" end card.
   ========================================================================== */

:root {
  --black: #000;
  --white: #fff;
  --mist: #d1d1d1;        /* small caps and secondary text (end card) */
  --dim: #a3a3a3;
  --coral: #e86742;       /* logo slate */
  --coral-hi: #f0714b;
  --coral-lo: #df633e;
  --orange: #df7643;      /* "Let's talk." on the end card */
  --navy: #0b2c41;        /* the "Fi" in the wordmark */
  --navy-deep: #042138;   /* announcement slate */
  --ice: #d1e5fc;
  --on-coral: #0b1620;    /* text on coral buttons */
  --line: rgba(255, 255, 255, .14);

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --stagger: 110ms;
}

/* ───────────── Base ───────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  background: var(--black);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--coral); color: var(--on-coral); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap--narrow { max-width: 780px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  background: var(--white); color: var(--black); padding: 12px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.icon { width: 1.1em; height: 1.1em; flex: none; }

/* ───────────── Type ───────────── */
.eyebrow {
  font: 500 .74rem/1.3 var(--sans);
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 1.1rem;
}
.eyebrow--coral { color: var(--orange); }

h2 {
  font: 700 clamp(2rem, 4.6vw, 3.6rem)/1.06 var(--serif);
  letter-spacing: -.015em;
  text-wrap: balance;
}

.rule {
  display: block;
  width: min(200px, 44%);
  height: 2px;
  margin: 20px auto;
  background: var(--orange);
  border-radius: 2px;
}
.rule--left { margin-left: 0; margin-right: auto; }

/* ───────────── Buttons ───────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: .55em 1.5em;
  border: 1px solid transparent; border-radius: 999px;
  font: 500 1rem/1.1 var(--sans); text-decoration: none; text-align: center;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, border-color .25s, color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn--talk {
  background: var(--coral); color: var(--on-coral);
  font: italic 700 1.3rem/1.1 var(--serif);
  padding-inline: 1.7em;
  box-shadow: 0 0 0 rgba(232, 103, 66, 0);
}
.btn--talk:hover { transform: translateY(-2px); background: var(--coral-hi); box-shadow: 0 10px 44px rgba(232, 103, 66, .55); }
.btn--talk:active { transform: translateY(0); }
.btn--ghost {
  background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .32); color: var(--white);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .7); }
.btn__meta { color: var(--mist); font-variant-numeric: tabular-nums; }
.btn--nav {
  min-height: 42px; padding: .3em 1.15em;
  background: var(--coral); color: var(--on-coral);
  font: italic 700 1.02rem/1 var(--serif);
}
.btn--nav:hover { background: var(--coral-hi); box-shadow: 0 6px 28px rgba(232, 103, 66, .5); }

/* ───────────── Header ───────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: flex-start; justify-content: space-between;
  padding-inline: var(--gutter);
  transition: background-color .35s ease;
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0));
  opacity: 1; transition: opacity .35s ease; pointer-events: none;
}
.site-header.is-stuck {
  background: rgba(0, 0, 0, .82);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-stuck::before { opacity: 0; }

/* The wordmark always sits on its coral slate, exactly as in the film. */
.brand {
  display: block;
  background: var(--coral);
  padding: 19px 20px 16px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: background-color .25s;
}
.brand:hover { background: var(--coral-hi); }
.brand img { width: clamp(124px, 14vw, 164px); }

.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); height: var(--header-h); }
.navlink {
  display: none;
  font: 500 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: rgba(255, 255, 255, .84);
  padding: 8px 0; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.navlink:hover { color: var(--white); border-color: var(--orange); }
@media (min-width: 920px) { .navlink { display: inline-block; } }

/* ───────────── Hero ───────────── */
.hero { position: relative; isolation: isolate; background: var(--black); --overlap: clamp(64px, 19vw, 270px); }
/* Phones and tablets: the film sits below the header so the logo never covers a face,
   and the frame stays wide enough to hold both partners. */
.hero__media { position: relative; height: clamp(240px, 70vw, 62svh); margin-top: var(--header-h); overflow: hidden; background: #000; --top-shade: 0; }
@media (min-width: 900px) { .hero__media { height: min(66svh, 54vw); margin-top: 0; --top-shade: .62; } }
.hero__video {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%;
  transform-origin: 50% 28%;
  animation: pushin 28s ease-in-out infinite alternate;   /* the film's slow push-in */
}
@keyframes pushin { from { transform: scale(1); } to { transform: scale(1.075); } }
.hero__media::after {
  content: ""; position: absolute; inset: -1px 0 -2px 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, var(--top-shade)) 0, rgba(0, 0, 0, 0) 22%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, .5) 56%, rgba(0, 0, 0, .88) 80%, #000 97%);
}
.hero__content {
  position: relative; z-index: 2;
  display: grid; justify-items: center; text-align: center;
  margin-top: calc(-1 * var(--overlap));
  padding-bottom: clamp(56px, 7vw, 96px);
}
.hero .eyebrow { text-shadow: 0 1px 18px rgba(0, 0, 0, .7); }
/* Hides the sub-pixel seam some browsers draw along the bottom edge of the film. */
.hero__content::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: calc(var(--overlap) - 4px);
  width: 100vw; height: 8px; transform: translateX(-50%); background: var(--black);
}
.hero__title {
  font: 700 clamp(2.15rem, min(6.1vw, 8.4svh), 4.7rem)/1.05 var(--serif);
  letter-spacing: -.018em;
  max-width: 19ch;
  text-wrap: balance;
  text-shadow: 0 2px 34px rgba(0, 0, 0, .6);
}
.hero__cite { margin-top: 1.15rem; font: 500 .76rem/1 var(--sans); letter-spacing: .25em; text-transform: uppercase; color: var(--mist); }
.hero .rule { margin: 24px auto; }
.hero__sub { font: 400 clamp(1.12rem, 2vw, 1.5rem)/1.4 var(--serif); }
.hero__sub strong { font-weight: 700; white-space: nowrap; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(24px, 3vw, 38px); }

/* ───────────── The announcement band ───────────── */
.rebrand { display: grid; }
.rebrand__from, .rebrand__to {
  display: grid; align-content: center; justify-items: center; text-align: center;
  padding: clamp(52px, 8vw, 116px) var(--gutter);
  min-height: clamp(220px, 30vw, 400px);
}
.rebrand__from {
  gap: .7rem;
  background: radial-gradient(120% 120% at 50% 40%, #0a3350 0, var(--navy-deep) 60%, #021a2d 100%);
}
.rebrand__name { font: 700 clamp(1.5rem, 3vw, 2.5rem)/1.15 var(--serif); text-wrap: balance; }
.rebrand__isnow { font: italic 400 clamp(1.15rem, 2vw, 1.6rem)/1.2 var(--serif); color: var(--ice); }
.rebrand__to {
  gap: clamp(.9rem, 1.6vw, 1.4rem);
  background: radial-gradient(90% 90% at 50% 45%, var(--coral-hi) 0, var(--coral) 55%, var(--coral-lo) 100%);
}
.rebrand__logo { width: min(82%, 540px); }
.tagline { font: 700 clamp(1rem, 1.75vw, 1.45rem)/1.2 var(--serif); color: var(--white); }
.tagline span { color: var(--navy); }
@media (min-width: 800px) { .rebrand { grid-template-columns: 1fr 1fr; } }

/* ───────────── Sections ───────────── */
.section { position: relative; padding-block: clamp(76px, 11vw, 156px); }
.section-head { margin-bottom: clamp(32px, 5vw, 64px); }

/* ───────────── The films ───────────── */
.player { display: grid; gap: clamp(20px, 3vw, 34px); }
@media (min-width: 1000px) { .player { grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); align-items: start; } }

.player__stage {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: #050505; border-radius: 12px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .7), 0 0 0 1px var(--line);
}
.player__video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.player__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  padding: 0; border: 0; cursor: pointer; color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .5));
  transition: opacity .3s, visibility .3s;
}
.no-js .player__play { display: none; }
.player__play-ring {
  display: grid; place-items: center;
  width: clamp(70px, 9vw, 108px); aspect-ratio: 1; border-radius: 50%;
  background: rgba(0, 0, 0, .38); border: 2px solid var(--white);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .35s var(--ease), background-color .3s, border-color .3s, color .3s, box-shadow .3s;
}
.player__play-ring svg { width: 42%; height: 42%; margin-left: 6%; }
.player__play:hover .player__play-ring, .player__play:focus-visible .player__play-ring {
  transform: scale(1.08); background: var(--coral); border-color: var(--coral); color: var(--on-coral);
  box-shadow: 0 0 60px rgba(232, 103, 66, .6);
}
.player__stage.is-started .player__play { opacity: 0; visibility: hidden; pointer-events: none; }
.player__end {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-content: center; justify-items: center; gap: 1.2rem; text-align: center;
  padding: 1rem;
  background: rgba(0, 0, 0, .84);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: fadein .5s ease both;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.player__end-line { font: 700 clamp(1.15rem, 2.6vw, 2rem)/1.2 var(--serif); }
.player__end-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.player__end .btn { min-height: 48px; }

.player__meta { padding-top: 1.25rem; }
.player__meta .eyebrow { margin-bottom: .5rem; }
.player__meta h3 { font: 700 clamp(1.4rem, 2.3vw, 1.9rem)/1.2 var(--serif); }
.player__meta p:last-child { color: var(--mist); margin-top: .3rem; }

.film-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.film-card {
  display: grid; grid-template-columns: 42% 1fr; gap: 14px; align-items: center;
  padding: 10px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  color: var(--white); text-decoration: none;
  transition: border-color .25s, background-color .25s;
}
.film-card:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); }
.film-card.is-current { border-color: var(--coral); background: rgba(232, 103, 66, .12); }
.film-card__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 7px; background: #111; }
.film-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.film-card:hover .film-card__thumb img { transform: scale(1.06); }
.film-card__time {
  position: absolute; right: 6px; bottom: 6px;
  padding: 4px 6px; border-radius: 4px; background: rgba(0, 0, 0, .74);
  font: 500 .72rem/1 var(--sans); letter-spacing: .04em; font-variant-numeric: tabular-nums;
}
.film-card__text { display: grid; gap: 3px; min-width: 0; }
.film-card__num { font: 500 .68rem/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--orange); }
.film-card.is-current .film-card__num::after { content: "  ·  Now showing"; white-space: pre; }
.film-card__title { font: 700 1.14rem/1.2 var(--serif); }
.film-card__meta { font-size: .86rem; color: var(--dim); }
@media (min-width: 620px) and (max-width: 999px) {
  .film-list { grid-template-columns: repeat(3, 1fr); }
  .film-card { grid-template-columns: 1fr; align-items: start; }
}

/* ───────────── The partnership ───────────── */
.partners { padding-top: 0; }
.equation {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: clamp(8px, 2.2vw, 30px);
}
.portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px; background: #c9824a; }
.portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.portrait:hover img { transform: scale(1.045); }
.portrait figcaption {
  position: absolute; inset: auto 0 0 0; padding: 30% 7% 7%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .58));
}
/* Name tag in the style of the film's lower-thirds */
.lower-third {
  display: inline-block; padding-bottom: .4em;
  font: 700 clamp(.98rem, 2.1vw, 1.6rem)/1.2 var(--serif);
  text-shadow: 0 1px 14px rgba(0, 0, 0, .5);
  background: linear-gradient(var(--coral), var(--coral)) left bottom / 2.2em 3px no-repeat;
}
.equation__op { font: 700 clamp(1.7rem, 5vw, 4.4rem)/1 var(--serif); }
.equation__result {
  grid-column: 1 / -1; justify-self: center;
  display: flex; align-items: center; gap: clamp(10px, 2vw, 28px);
  margin-top: clamp(6px, 1.5vw, 16px);
}
.equation__three {
  font: italic 700 clamp(6rem, 24vw, 15rem)/.82 var(--serif);
  color: var(--orange);
  text-shadow: 0 0 26px rgba(223, 118, 67, .5), 0 0 80px rgba(223, 118, 67, .28);
  padding-right: .06em;
}
@media (min-width: 900px) {
  .equation { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; }
  .equation__result { grid-column: auto; margin-top: 0; }
}

.partners__words { display: grid; gap: clamp(36px, 5vw, 60px); margin-top: clamp(52px, 8vw, 104px); }
@media (min-width: 900px) {
  .partners__words { grid-template-columns: 1.3fr 1fr; column-gap: clamp(48px, 7vw, 110px); align-items: start; }
  .partners__words .quote--lead { grid-row: span 2; }
}
.origin .eyebrow { margin-bottom: .8rem; }
.origin__beats { list-style: none; margin: 0; padding: 0; font: 700 clamp(1.5rem, 3vw, 2.25rem)/1.25 var(--serif); }
.origin__beats li:last-child { font-style: italic; color: var(--orange); }

/* ───────────── Quotes ───────────── */
.quote p { font: italic 400 clamp(1.15rem, 1.9vw, 1.45rem)/1.5 var(--serif); }
.quote footer {
  display: flex; align-items: center; gap: .9em; margin-top: 1.15rem;
  font: 500 .74rem/1.2 var(--sans); letter-spacing: .25em; text-transform: uppercase; color: var(--mist);
}
.quote footer::before { content: ""; flex: none; width: 2.2em; height: 2px; background: var(--orange); }
.quote cite { font-style: normal; }
.quote--lead p { font: 700 clamp(1.45rem, 2.9vw, 2.4rem)/1.27 var(--serif); letter-spacing: -.006em; }
.quote--center { text-align: center; max-width: 30ch; margin-inline: auto; font-size: clamp(1.45rem, 2.9vw, 2.4rem); }
.quote--center p { text-wrap: balance; }
.quote--center footer { justify-content: center; }
.quote--hero p { font: 700 clamp(2rem, 5.3vw, 4.3rem)/1.08 var(--serif); letter-spacing: -.018em; max-width: 19ch; text-wrap: balance; }

/* ───────────── The footprint ───────────── */
.footprint { background: radial-gradient(110% 80% at 50% 0%, #0a3350 0, var(--navy-deep) 55%, #021a2d 100%); }
.milestones { list-style: none; margin: 0; padding: 0; display: grid; }
.milestone { position: relative; padding: 4px 0 40px 32px; border-left: 2px solid rgba(120, 170, 220, .28); }
.milestone:last-child { padding-bottom: 8px; }
.milestone::before {
  content: ""; position: absolute; left: -8px; top: 8px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #2f6fd6; box-shadow: 0 0 0 5px rgba(47, 111, 214, .22);
}
.milestone--now::before { background: var(--coral); box-shadow: 0 0 0 5px rgba(232, 103, 66, .28), 0 0 22px rgba(232, 103, 66, .9); }
.pill {
  display: inline-block; padding: .5em .95em; border: 1px solid currentColor; border-radius: 999px;
  font: 500 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: #ff9c7e;
}
.milestone__num { display: flex; align-items: flex-end; gap: .7rem; margin: 1.15rem 0 .9rem; }
.count {
  display: inline-block;
  font: 700 clamp(4.4rem, 10vw, 7.6rem)/.86 var(--serif);
  font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.02em;
}
.milestone__unit { padding-bottom: .5rem; font: 500 .72rem/1.55 var(--sans); letter-spacing: .25em; text-transform: uppercase; color: var(--ice); }
.milestone h3 { font: 700 clamp(1.2rem, 1.9vw, 1.5rem)/1.2 var(--serif); margin-bottom: .35rem; }
.milestone > p:last-child { color: var(--ice); opacity: .88; }
@media (min-width: 860px) {
  .milestones { grid-template-columns: repeat(3, 1fr); }
  .milestone, .milestone:last-child { padding: 42px 32px 0 0; border-left: 0; border-top: 2px solid rgba(120, 170, 220, .28); }
  .milestone::before { left: 0; top: -8px; }
}
.footprint__note { margin-top: clamp(28px, 4vw, 44px); font-size: .9rem; color: var(--ice); opacity: .75; }
.footprint .quote--center { margin-top: clamp(56px, 8vw, 104px); }

/* ───────────── Built for loan officers ───────────── */
.built .rule { margin-block: clamp(26px, 3.5vw, 40px) 0; }
.quote-grid {
  display: grid; gap: 1px; overflow: hidden;
  margin-top: clamp(40px, 6vw, 76px);
  background: var(--line); border: 1px solid var(--line); border-radius: 14px;
}
@media (min-width: 720px) { .quote-grid { grid-template-columns: 1fr 1fr; } }
.quote--card { display: grid; align-content: center; min-height: clamp(120px, 15vw, 200px); padding: clamp(24px, 3.6vw, 48px); background: var(--black); }
.quote--card p { font: 700 clamp(1.2rem, 2.1vw, 1.65rem)/1.3 var(--serif); text-wrap: balance; }
.source-line { margin-top: 1.5rem; font-size: .9rem; color: var(--dim); }

/* ───────────── Care (the coral slate) ───────────── */
.care {
  padding-block: clamp(84px, 12vw, 176px);
  background: radial-gradient(90% 90% at 50% 45%, var(--coral-hi) 0, var(--coral) 55%, var(--coral-lo) 100%);
}
.care__quote p { font: 700 clamp(1.75rem, 4.5vw, 3.6rem)/1.13 var(--serif); letter-spacing: -.014em; max-width: 25ch; text-wrap: balance; }
.care__quote--second { margin-top: clamp(28px, 4vw, 52px); }
.care__quote--second p { font-size: clamp(1.3rem, 2.7vw, 2.1rem); line-height: 1.22; max-width: 26ch; color: var(--navy); }
.care ::selection { background: var(--navy); color: var(--white); }

/* ───────────── Let's talk (the end card) ───────────── */
.talk {
  position: relative; overflow: hidden; text-align: center;
  padding-block: clamp(92px, 13vw, 184px) clamp(72px, 10vw, 140px);
}
.talk::before {
  content: ""; position: absolute; left: 50%; top: 0; z-index: 0;
  width: min(980px, 130vw); aspect-ratio: 1; transform: translate(-50%, -58%);
  background: radial-gradient(closest-side, rgba(223, 118, 67, .17), rgba(223, 118, 67, 0));
  pointer-events: none;
}
.talk .wrap { position: relative; z-index: 1; }
.endcard { --stagger: 300ms; }
.endcard__eq {
  font: 700 clamp(2.9rem, 9.4vw, 5.8rem)/1 var(--serif);
  white-space: nowrap;
  text-shadow: 0 0 22px rgba(255, 255, 255, .55), 0 0 64px rgba(255, 255, 255, .22);
}
.endcard .rule { width: min(340px, 64%); margin: 16px auto 24px; }
.endcard__line { font: 700 clamp(1.5rem, 4.4vw, 2.75rem)/1.15 var(--serif); letter-spacing: -.008em; }
.endcard__talk {
  margin: .32em 0 .5em;
  font: italic 700 clamp(2.4rem, 7.4vw, 4.4rem)/1.1 var(--serif);
  color: var(--orange);
  text-shadow: 0 0 18px rgba(223, 118, 67, .55), 0 0 58px rgba(223, 118, 67, .3);
}
.endcard__sub { max-width: 34ch; margin-inline: auto; color: var(--mist); font-size: clamp(1rem, 1.5vw, 1.16rem); text-wrap: balance; }

/* Form */
.form {
  display: grid; gap: 22px; text-align: left;
  margin-top: clamp(38px, 5vw, 60px);
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
}
.form__row { display: grid; gap: 22px; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 9px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field > legend {
  padding: 0;
  font: 500 .75rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--mist);
}
.field > legend { margin-bottom: 9px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"] {
  width: 100%; height: 56px; padding: 0 16px;
  font: 400 1.0625rem/1 var(--sans); color: var(--white);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .24); border-radius: 12px;
  outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input::placeholder { color: rgba(255, 255, 255, .34); }
.field input:hover { border-color: rgba(255, 255, 255, .45); }
.field input:focus-visible { border-color: var(--orange); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 3px rgba(223, 118, 67, .38); }
.field input[aria-invalid="true"] { border-color: #ff9a86; }
.field input:-webkit-autofill, .field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--white); caret-color: var(--white);
  box-shadow: 0 0 0 1000px #1b1512 inset; transition: background-color 9999s;
}
.field__error { font-size: .875rem; line-height: 1.35; color: #ffb7a8; }

.chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 540px) { .chips { grid-template-columns: repeat(4, 1fr); } .chips--two { grid-template-columns: repeat(2, 1fr); } }
.chip { position: relative; display: block; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 54px; padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px; background: rgba(255, 255, 255, .04);
  font: 500 1rem/1.1 var(--sans); color: var(--white);
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease);
}
.chip:hover span { border-color: rgba(255, 255, 255, .6); }
.chip input:checked + span { background: var(--coral); border-color: var(--coral); color: var(--on-coral); font-weight: 700; }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(255, 255, 255, .9); }
.chip input:active + span { transform: scale(.98); }

.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.btn--submit { width: 100%; min-height: 64px; margin-top: 4px; font-size: 1.5rem; }
.btn--submit .icon--arrow { transition: transform .35s var(--ease); }
.btn--submit:hover .icon--arrow { transform: translateX(6px); }
.btn--submit[disabled] { cursor: progress; opacity: .75; transform: none; box-shadow: none; }
.form__consent { font-size: .82rem; line-height: 1.5; color: var(--dim); text-align: center; }
.form__error {
  padding: 14px 16px; border: 1px solid #ff9a86; border-radius: 12px;
  background: rgba(255, 120, 96, .12); color: #ffd3ca; font-size: .95rem;
}

.form-success {
  margin-top: clamp(38px, 5vw, 60px);
  padding: clamp(36px, 6vw, 68px) clamp(22px, 4vw, 42px);
  border: 1px solid rgba(232, 103, 66, .55); border-radius: 18px;
  background: radial-gradient(80% 120% at 50% 0, rgba(223, 118, 67, .18), rgba(223, 118, 67, 0) 70%);
  outline: none;
  animation: focusin .8s var(--ease) both;
}
@keyframes focusin { from { opacity: 0; filter: blur(10px); transform: scale(1.04); } to { opacity: 1; filter: blur(0); transform: none; } }
.form-success__mark {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--coral); color: var(--on-coral);
  box-shadow: 0 0 50px rgba(232, 103, 66, .55);
}
.form-success__mark svg { width: 34px; height: 34px; }
.form-success__title {
  font: italic 700 clamp(2.1rem, 6vw, 3.5rem)/1.1 var(--serif); color: var(--orange);
  text-shadow: 0 0 18px rgba(223, 118, 67, .5), 0 0 58px rgba(223, 118, 67, .28);
  overflow-wrap: anywhere;
}
.form-success__body { margin-top: .7em; font: 400 clamp(1.1rem, 2vw, 1.35rem)/1.45 var(--serif); }
.form-success__more { color: var(--mist); font-size: .98rem; }
.form-success__more a { color: var(--white); text-decoration-color: var(--orange); text-underline-offset: 4px; }

/* ───────────── Footer ───────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(44px, 6vw, 76px) 0 calc(clamp(44px, 6vw, 76px) + env(safe-area-inset-bottom, 0px));
  text-align: center;
}
.site-footer__inner { display: grid; justify-items: center; gap: 16px; }
.brand--footer { padding: 16px 20px 13px; border-radius: 8px; box-shadow: none; }
.site-footer__tagline { font: 700 1.08rem/1.3 var(--serif); color: var(--mist); }
.site-footer__tagline strong { color: var(--white); }
.site-footer__legal { max-width: 70ch; font-size: .8rem; line-height: 1.6; color: var(--dim); }

/* ───────────── Motion (mirrors the film's end card) ─────────────
   Lines focus in: blurred and slightly large, settling sharp.
   Short headlines also tighten from wide-spaced letters; rules draw out from the centre. */
.js .reveal {
  opacity: 0; filter: blur(10px); transform: scale(1.06);
  transition: opacity .7s var(--ease), filter .7s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}
.js .reveal.is-in { opacity: 1; filter: blur(0); transform: none; }

.js .resolve {
  opacity: 0; filter: blur(14px); letter-spacing: .16em;
  transition: opacity .6s ease-out, filter .6s ease-out, letter-spacing .6s ease-out;
  transition-delay: calc(var(--i, 0) * var(--stagger));
}
.js .resolve.is-in { opacity: 1; filter: blur(0); letter-spacing: .01em; }

.js .rule.reveal, .js .rule.resolve-rule {
  opacity: 1; filter: none; transform: scaleX(0); transform-origin: center;
  transition: transform .9s var(--ease);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}
.js .rule.reveal.is-in, .js .rule.resolve-rule.is-in { transform: scaleX(1); }

/* The coral slate wipes in after "is now", like the film's cut */
.js .rebrand__to { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease) .55s; }
.js .rebrand__to > * { opacity: 0; transform: scale(1.05); filter: blur(8px); transition: opacity .7s var(--ease) 1.1s, transform .9s var(--ease) 1.1s, filter .7s var(--ease) 1.1s; }
.js .rebrand__to > .tagline { transition-delay: 1.5s; }
.js .rebrand.is-in .rebrand__to { clip-path: inset(0 0 0 0); }
.js .rebrand.is-in .rebrand__to > * { opacity: 1; transform: none; filter: blur(0); }
@media (min-width: 800px) {
  .js .rebrand__to { clip-path: inset(0 100% 0 0); }
  .js .rebrand.is-in .rebrand__to { clip-path: inset(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__video { animation: none; }
  .js .reveal, .js .resolve { filter: none; transform: none; letter-spacing: inherit; transition: opacity .5s ease; transition-delay: 0s; }
  .js .rule.reveal, .js .rule.resolve-rule { transform: none; transition: none; }
  .js .rebrand__to { clip-path: none; transition: none; }
  .js .rebrand__to > * { opacity: 1; transform: none; filter: none; transition: none; }
  .form-success, .player__end { animation: none; }
  .btn, .portrait img, .film-card__thumb img { transition: none; }
}

/* ───────────── Small screens ───────────── */
@media (max-width: 480px) {
  .hero__actions { width: 100%; }
  .hero__actions .btn { width: 100%; }
  .btn--ghost { font-size: .95rem; }
  .film-card { grid-template-columns: 38% 1fr; }
}
