/* Nudge Fitness website (Nov 2026). Light "paper" pages in Nudge's petrol and cyan, Syne at 400 (never bold) for
   display, Inter for reading. The signature shape is the bubble: every frame has one tucked corner, like a message
   from your coach. The motion kit is "the nudge": things arrive with a small sideways push and settle (nudge.js). */

:root {
  --ink: #09394f;
  --ink-deep: #062a3b;
  --paper: #f5f9fb;
  --white: #fff;
  --mist: #e4f1f6;
  --cyan: #29b8d8;
  --cyan-deep: #1b8ba6;
  --amber: #e8a020;
  --text: #2f4a5a;
  --muted: #5f7584;
  --line: rgba(9, 57, 79, .14);
  --r: 28px;
  --tuck: 6px;
  --bubble: var(--r) var(--r) var(--r) var(--tuck);
  --bubble-r: var(--r) var(--r) var(--tuck) var(--r);
  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --display: 'Syne', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --spring: cubic-bezier(.34, 1.42, .52, 1);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --head: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 12px); }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: var(--cyan-deep); text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, .display {
  font-family: var(--display); font-weight: 400; color: var(--ink); margin: 0;
  letter-spacing: -.035em; line-height: 1.02; text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.6vw, 6.4rem); }
h2 { font-size: clamp(2.05rem, 4.6vw, 4.1rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -.02em; line-height: 1.12; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.28rem); line-height: 1.55; color: var(--text); }
.hl { color: var(--cyan-deep); }
.dark .hl { color: var(--cyan); }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.sec { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.sec--tight { padding: clamp(52px, 7vw, 96px) 0; }
.white { background: var(--white); }
.mist { background: var(--mist); }
.dark { background: var(--ink); color: rgba(255, 255, 255, .84); }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark a { color: var(--cyan); }
.dark .lead, .dark p { color: rgba(255, 255, 255, .84); }

/* ------------------------------------------------------------------ buttons */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; gap: .7em; min-height: 54px; padding: 0 1.45em 0 1.6em;
  border: 0; border-radius: 999px 999px 999px 10px; background: var(--bg); color: var(--fg);
  font: 500 1.02rem/1 var(--display); letter-spacing: -.01em; text-decoration: none; cursor: pointer;
  transition: background .25s, color .25s, transform .3s var(--spring); white-space: nowrap;
}
.btn:hover { --bg: var(--ink-deep); transform: translateY(-2px); }
a.btn, .dark a.btn, .foot a.btn { color: var(--fg); }
.btn .arr { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover .arr { animation: nudge .7s var(--ease); }
.btn--cyan { --bg: var(--cyan); --fg: var(--ink-deep); }
.btn--cyan:hover { --bg: #4cc6e2; }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { --bg: var(--mist); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { --bg: rgba(9, 57, 79, .06); }
.dark .btn--ghost { --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.btn--big { min-height: 62px; font-size: 1.12rem; padding: 0 1.6em 0 1.8em; }
@keyframes nudge { 0%, 100% { transform: none; } 25% { transform: translateX(5px); } 45% { transform: translateX(1px); } 65% { transform: translateX(4px); } }
.textlink { font: 500 1rem var(--display); color: var(--ink); text-decoration: none; display: inline-flex; gap: .45em; align-items: center; border-bottom: 1.5px solid var(--cyan); padding-bottom: 2px; }
.textlink:hover .arr { animation: nudge .7s var(--ease); }
.textlink .arr { width: 1em; height: 1em; }
.dark .textlink { color: #fff; }

/* ------------------------------------------------------------------ header */
.head {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head);
  display: flex; align-items: center; transition: background .3s, box-shadow .3s, transform .35s var(--ease);
}
.head.solid { background: rgba(245, 249, 251, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.head .wrap { display: flex; align-items: center; gap: 28px; }
.logo { display: block; width: 112px; flex: none; }
.logo img { width: 100%; height: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font: 500 .98rem var(--display); letter-spacing: -.01em; padding: 6px 0; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.head .btn { min-height: 46px; font-size: .95rem; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 50% 50% 50% 8px; background: var(--ink); color: #fff; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: currentColor; margin: auto; position: relative; transition: transform .3s; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  :root { --head: 66px; }
  .logo { width: 96px; }
  .nav, .head .btn { display: none; }
  .menu-btn { display: block; }
  .menu-open .nav {
    display: flex; flex-direction: column; gap: 4px; position: fixed; inset: var(--head) 0 auto; padding: 18px var(--gut) 28px;
    background: var(--paper); box-shadow: 0 20px 30px rgba(9, 57, 79, .12);
  }
  .menu-open .nav a { font-size: 1.6rem; padding: 10px 0; }
  .menu-open .head { background: var(--paper); }
}

/* the phone dock: always one tap from a call or a WhatsApp */
.dock { display: none; }
@media (max-width: 900px) {
  .dock {
    display: flex; gap: 10px; position: fixed; z-index: 45; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
    transform: translateY(140%); transition: transform .45s var(--spring);
  }
  .dock.on { transform: none; }
  .dock .btn { flex: 1; justify-content: center; box-shadow: 0 12px 30px rgba(6, 42, 59, .28); }
  .dock .wa { flex: none; width: 56px; padding: 0; justify-content: center; }
  body { padding-bottom: 84px; }
}

/* ------------------------------------------------------------------ the bubble frame */
.frame { position: relative; overflow: hidden; border-radius: var(--bubble); background: var(--mist); isolation: isolate; }
.frame--r { border-radius: var(--bubble-r); }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------------ hero */
.hero { padding: calc(var(--head) + clamp(28px, 5vw, 72px)) 0 0; }
.hero__top { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.hero h1 { max-width: 14ch; font-size: clamp(2.5rem, 5.7vw, 5.6rem); }
.hero__side .lead { margin-bottom: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.stars { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--muted); margin-top: 18px; }
.stars b { color: var(--amber); letter-spacing: 2px; font-weight: 400; }
.hero__film { margin-top: clamp(28px, 4vw, 56px); aspect-ratio: 16 / 8; transform-origin: 50% 0; }
.hero__film .frame { height: 100%; }
.hero__film video { position: absolute; inset: 0; }
.pause {
  position: absolute; right: 16px; bottom: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(6, 42, 59, .55); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px);
}
.pause svg { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .hero__top { grid-template-columns: 1fr; gap: 18px; }
  .hero h1 { max-width: 15ch; }
  .hero__side .lead { margin-bottom: 20px; font-size: 1.05rem; }
  .hero__film { aspect-ratio: 4 / 3; margin-top: 26px; }
  .stars { margin-top: 12px; font-size: .88rem; }
}
@media (max-width: 420px) { h1 { font-size: 2.35rem; } }

/* facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 80px); }
.fact { padding: 26px 22px 6px 0; }
.fact + .fact { padding-left: 22px; border-left: 1px solid var(--line); }
.fact b { display: block; font: 400 clamp(2.2rem, 4vw, 3.4rem)/1 var(--display); color: var(--ink); letter-spacing: -.04em; margin-bottom: 8px; }
.fact span { font-size: .95rem; color: var(--muted); }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ------------------------------------------------------------------ split intro */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.split--mid { align-items: center; }
.split--flip > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--flip > :first-child { order: 0; } }
.quote-h { font-size: clamp(2.2rem, 5vw, 4.4rem); }
.quote-h .q { color: var(--cyan); }
.sign { display: flex; align-items: center; gap: 14px; margin-top: 22px; color: var(--muted); font-size: .95rem; }
.sign img { width: 52px; height: 52px; border-radius: 50% 50% 50% 8px; object-fit: cover; }
.sign b { color: var(--ink); font-weight: 600; display: block; }

/* ------------------------------------------------------------------ rows you scroll (stories, reviews) */
.rowhead { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3.5vw, 44px); }
.rowhead p { max-width: 46ch; margin: 14px 0 0; }
.arrows { display: flex; gap: 10px; flex: none; }
.arrows button {
  width: 50px; height: 50px; border-radius: 50% 50% 50% 8px; border: 0; background: #fff; color: var(--ink); cursor: pointer;
  box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; transition: background .2s, transform .3s var(--spring);
}
.arrows button:hover { background: var(--ink); color: #fff; }
.arrows button:active { transform: scale(.92); }
.arrows svg { width: 18px; height: 18px; }
.arrows [data-prev] svg { transform: scaleX(-1); }
.dark .arrows button { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .2); }
.row {
  display: grid; grid-auto-flow: column; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 4px max(var(--gut), calc((100vw - var(--wrap)) / 2)) 24px; scroll-padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2));
  scrollbar-width: none;
}
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; }
@media (max-width: 640px) { .rowhead .arrows { display: none; } }

/* story card: the member's film behind a tucked frame, their name and their line */
.story { width: clamp(236px, 22vw, 290px); display: flex; flex-direction: column; }
.story .frame { aspect-ratio: 9 / 14; }
.story button.play-film { all: unset; cursor: pointer; display: block; position: absolute; inset: 0; }
.story button.play-film:focus-visible { outline: 3px solid var(--cyan); outline-offset: -3px; }
.story .frame img { transition: transform .8s var(--ease); }
.story:hover .frame img { transform: scale(1.04); }
.playmark {
  position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 9px; border-radius: 999px 999px 999px 6px; background: rgba(255, 255, 255, .94); color: var(--ink);
  font: 500 .86rem var(--display);
}
.playmark i { width: 24px; height: 24px; border-radius: 50%; background: var(--cyan); display: grid; place-items: center; }
.playmark i::before { content: ''; border-left: 8px solid var(--ink-deep); border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }
.story h3 { font-size: 1.35rem; margin: 16px 0 6px; }
.story blockquote { margin: 0; font-size: .98rem; line-height: 1.5; color: var(--text); }
.dark .story blockquote { color: rgba(255, 255, 255, .8); }

/* review bubble */
.review {
  width: clamp(280px, 30vw, 380px); background: #fff; border-radius: var(--bubble); padding: 26px 26px 22px;
  display: flex; flex-direction: column; gap: 14px; box-shadow: 0 1px 0 var(--line);
}
.review .stars-row { color: var(--amber); letter-spacing: 3px; font-size: 1.05rem; }
.review blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--ink); flex: 1; }
.review cite { font-style: normal; font-size: .9rem; color: var(--muted); }
.review cite b { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------------ small group PT */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(36px, 5vw, 64px); }
.how article { display: flex; flex-direction: column; }
.how .frame { aspect-ratio: 4 / 5; margin-bottom: 20px; }
.how h3 { margin-bottom: 10px; }
.how p { color: var(--text); font-size: 1rem; }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } .how .frame { aspect-ratio: 16 / 11; } }

.filmcard { position: relative; }
.filmcard .frame { aspect-ratio: 9 / 13; }
.filmcard button { all: unset; cursor: pointer; position: absolute; inset: 0; z-index: 3; }

/* ------------------------------------------------------------------ the Kickstart band */
.kick { overflow: hidden; }
.kick .split { align-items: center; }
.ticks { list-style: none; margin: 28px 0 34px; padding: 0; display: grid; gap: 2px; }
.ticks li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 1.04rem; }
.white .ticks li, .paper .ticks li, .mist .ticks li { border-color: var(--line); }
.ticks li::before {
  content: ''; width: 24px; height: 24px; margin-top: 1px; border-radius: 50% 50% 50% 5px; background: var(--cyan)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062a3b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ticks b { color: #fff; font-weight: 600; }
.white .ticks b, .mist .ticks b { color: var(--ink); }
.kick .filmcard { max-width: 440px; justify-self: end; width: 100%; }
@media (max-width: 900px) { .kick .filmcard { justify-self: start; max-width: 360px; } }

/* ------------------------------------------------------------------ community mosaic */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(90px, 9vw, 130px); gap: clamp(10px, 1.4vw, 18px); margin-top: clamp(36px, 5vw, 60px); }
.mosaic .frame { height: 100%; }
.m1 { grid-column: 1 / 6; grid-row: span 4; }
.m2 { grid-column: 6 / 10; grid-row: span 2; }
.m3 { grid-column: 10 / 13; grid-row: span 3; }
.m4 { grid-column: 6 / 10; grid-row: span 3; }
.m5 { grid-column: 10 / 13; grid-row: span 2; }
.m6 { grid-column: 1 / 6; grid-row: span 1; }
.mosaic .note {
  grid-column: 1 / 6; grid-row: span 1; display: flex; align-items: center; gap: 14px; padding: 0 22px;
  background: var(--ink); color: #fff; border-radius: var(--bubble); font: 400 1.15rem/1.2 var(--display); text-decoration: none; cursor: pointer; border: 0; text-align: left;
}
.mosaic .note .playmark { position: static; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .m1 { grid-column: 1 / 3; grid-row: span 2; }
  .m2, .m3, .m4, .m5 { grid-column: auto; grid-row: span 2; }
  .mosaic .note { grid-column: 1 / 3; }
}

/* ------------------------------------------------------------------ coaches */
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 2vw, 24px); margin-top: clamp(32px, 4.5vw, 56px); }
.coach .frame { aspect-ratio: 3 / 4; margin-bottom: 16px; }
.coach h3 { font-size: 1.5rem; }
.coach .role { display: block; color: var(--cyan-deep); font: 500 .92rem var(--display); margin: 4px 0 10px; }
.coach p { font-size: .98rem; }
@media (max-width: 1100px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .team { grid-template-columns: 1fr 1fr; } }


/* ------------------------------------------------------------------ FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font: 400 clamp(1.15rem, 1.7vw, 1.4rem)/1.25 var(--display); color: var(--ink); letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 34px; height: 34px; border-radius: 50% 50% 50% 7px; background: var(--mist)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2309394f' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .35s var(--spring), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--cyan); }
.faq .a { padding: 0 0 24px; max-width: 64ch; }
.faq .a p:last-child { margin: 0; }

/* ------------------------------------------------------------------ closing band */
.close { text-align: left; }
.close .frame { aspect-ratio: 4 / 5; max-width: 460px; }
.close h2 { margin-bottom: 20px; }
.close .hero__cta { margin-top: 30px; }

/* page hero for inner pages */
.phero { padding: calc(var(--head) + clamp(40px, 7vw, 100px)) 0 clamp(48px, 7vw, 96px); }
.phero h1 { font-size: clamp(2.4rem, 5.6vw, 5.2rem); max-width: 16ch; }
.phero .lead { max-width: 52ch; margin-top: 22px; }
.phero .split { align-items: end; }

/* written stories (Steve's posts) */
.posts { columns: 2 380px; column-gap: clamp(18px, 2.4vw, 30px); }
.post { break-inside: avoid; background: #fff; border-radius: var(--bubble); margin-bottom: clamp(18px, 2.4vw, 30px); overflow: hidden; }
.post .frame { border-radius: 0; aspect-ratio: 4 / 3; }
.post .body { padding: 24px 26px 26px; }
.post h3 { margin-bottom: 12px; }
.post .more { display: none; }
.post.open .more { display: block; }
.post .readmore { all: unset; cursor: pointer; font: 500 .98rem var(--display); color: var(--ink); border-bottom: 1.5px solid var(--cyan); }

/* the grid of every film (stories page) */
.films { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 18px; }
.films .story { width: auto; }

/* legal */
.legal h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 2em 0 .6em; letter-spacing: -.02em; }
.legal { max-width: 760px; }
.legal p { font-size: 1rem; }

/* visit */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
.visit address { font-style: normal; font-size: 1.1rem; line-height: 1.6; color: var(--ink); }
.visit .map { aspect-ratio: 4 / 3; }
.visit .map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ footer */
.foot { background: var(--ink-deep); color: rgba(255, 255, 255, .72); padding: clamp(56px, 8vw, 96px) 0 36px; font-size: .96rem; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: var(--cyan); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot__brand img { width: 130px; height: auto; margin-bottom: 22px; }
.foot h4 { margin: 0 0 14px; color: #fff; font: 500 1rem var(--display); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ film lightbox */
.viewer { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(4, 26, 37, .9); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; padding: 20px; }
.viewer.on { opacity: 1; visibility: visible; }
.viewer video { max-height: 88vh; max-width: min(92vw, 1100px); border-radius: var(--bubble); background: #000; }
.viewer__close, .flow__close {
  position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border: 0; border-radius: 50% 50% 50% 8px; cursor: pointer;
  background: #fff; color: var(--ink); display: grid; place-items: center; z-index: 2;
}
.viewer__close svg, .flow__close svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------------ the enquiry lightbox (nudge.js) */
.flow { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(4, 26, 37, .62); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.flow.on { opacity: 1; visibility: visible; }
.flow__panel {
  position: relative; width: min(100%, 560px); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--paper);
  border-radius: var(--bubble); padding: clamp(26px, 4vw, 42px); transform: translateX(-26px); transition: transform .55s var(--spring);
}
.flow.on .flow__panel { transform: none; }
.flow__panel.wide { width: min(100%, 760px); }
.flow__bar { height: 4px; background: var(--mist); border-radius: 4px; margin: 4px 60px 26px 0; overflow: hidden; }
.flow__bar i { display: block; height: 100%; width: 100%; background: var(--cyan); transform-origin: left; transform: scaleX(.2); transition: transform .5s var(--ease); }
.flow fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.flow legend, .flow .flow__h { font: 400 clamp(1.6rem, 3.4vw, 2.2rem)/1.08 var(--display); letter-spacing: -.03em; color: var(--ink); margin: 0 0 10px; padding: 0; }
.flow__sub { color: var(--muted); margin-bottom: 22px; }
.flow .field { margin-bottom: 14px; }
.flow label.lab { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.flow input[type=text], .flow input[type=email], .flow input[type=tel] {
  width: 100%; height: 54px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 14px 14px 14px 4px; background: #fff;
  font: 400 1.05rem var(--body); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.flow input:focus { outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(41, 184, 216, .18); }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 460px) { .two-up { grid-template-columns: 1fr; gap: 0; } }
.flow .btn { width: 100%; justify-content: center; margin-top: 8px; }
.flow__legal { font-size: .8rem; color: var(--muted); margin: 16px 0 0; }
.flow__legal a { color: inherit; }
.flow__err { color: #b4321f; font-size: .92rem; margin: 10px 0 0; }
.opts { display: grid; gap: 10px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 14px 18px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 16px 16px 16px 5px; font-size: 1.02rem; color: var(--ink);
  transition: border-color .2s, background .2s, transform .35s var(--spring);
}
.opt span::after { content: ''; width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); transition: all .2s; }
.opt:hover span { border-color: var(--cyan); transform: translateX(4px); }
.opt input:checked + span { background: var(--mist); border-color: var(--cyan); }
.opt input:checked + span::after { background: var(--cyan); border-color: var(--cyan); box-shadow: inset 0 0 0 4px #fff; }
.opt input:focus-visible + span { box-shadow: 0 0 0 3px var(--cyan); }
.flow__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; min-height: 24px; font-size: .9rem; color: var(--muted); }
.flow__back { all: unset; cursor: pointer; color: var(--ink); font-weight: 600; }
.flow__back[hidden], .post .readmore[hidden] { display: none; }
.flow__widget iframe { width: 100%; min-height: 640px; border: 0; border-radius: 16px; background: #fff; }
.flow__skip { display: inline-block; margin-top: 14px; font-size: .95rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------------ the nudge (motion) */
.js [data-nudge] { opacity: 0; transform: translateX(-26px); transition: opacity .7s var(--ease), transform .9s var(--spring); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-nudge].in { opacity: 1; transform: none; }
.js [data-nudge="up"] { transform: translateY(22px); }
.js [data-nudge="up"].in { transform: none; }
.js .words .w { display: inline-block; opacity: 0; transform: translateX(-.35em); transition: opacity .5s var(--ease), transform .8s var(--spring); transition-delay: calc(var(--w) * 55ms + 80ms); }
.js .words.in .w { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-nudge], .js .words .w { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover .arr, .textlink:hover .arr { animation: none; }
  .hero__film { transform: none !important; }
}
