/* =========================================================
   IDSeat Design System — css/idseat.css
   Source of truth: mockups/option-final.html <style> block
   ========================================================= */

/* tokens */
:root {
  --navy: #113A5A;
  --turq: #1ABC9C;
  --bg: #f5f7f7;            /* cool off-white */
  --card: #ffffff;
  --ink: #113A5A;          /* brand navy — used for headings/text */
  --muted: #5d6b7a;
  --line: #e6e9e9;
  --turq-soft: rgba(26,188,156,.12);
  --navy-soft: rgba(17,58,90,.08);
}

/* base + bg-fx */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Poppins, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}

/* ambient background motion: soft, slow, low-opacity blobs */
.bg-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; will-change: transform; }
.b1 { width: 46vw; height: 46vw; background: radial-gradient(circle, var(--turq-soft), transparent 70%); top: -12vw; right: -8vw; animation: drift1 26s ease-in-out infinite; }
.b2 { width: 40vw; height: 40vw; background: radial-gradient(circle, var(--navy-soft), transparent 70%); top: 38vh; left: -12vw; animation: drift2 32s ease-in-out infinite; }
.b3 { width: 34vw; height: 34vw; background: radial-gradient(circle, var(--turq-soft), transparent 70%); bottom: -10vw; left: 40vw; animation: drift3 30s ease-in-out infinite; }
@keyframes drift1 { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-4vw,5vh) scale(1.12); } }
@keyframes drift2 { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(5vw,-4vh) scale(1.1); } }
@keyframes drift3 { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(3vw,-6vh) scale(1.15); } }
@media (prefers-reduced-motion: reduce) {
  .blob,.ripple,.bookcard::before{animation:none}
  .reveal{opacity:1!important;transform:none!important;transition:none!important}
}

.wrap { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* nav */
nav { position: sticky; top: 0; z-index: 50; background: rgba(245,247,247,.78); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; color: var(--navy); letter-spacing: -.01em; text-decoration: none; }
.brand .mark { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--navy), var(--turq)); display: grid; place-items: center; }
.brand .mark svg { width: 17px; height: 17px; }
.links { display: flex; gap: 32px; }
.links a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.links a:hover { color: var(--ink); }

/* buttons */
.btn { font-family: Poppins; font-weight: 600; font-size: 14.5px; border: none; cursor: pointer; border-radius: 100px; padding: 11px 22px; text-decoration: none; display: inline-block; transition: .22s; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(17,58,90,.28); }
.btn-turq { background: var(--turq); color: #04201a; }
.btn-turq:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(26,188,156,.4); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--turq); color: var(--navy); }

/* hero */
header { padding: 88px 0 20px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 8px 16px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--turq); box-shadow: 0 0 0 4px var(--turq-soft); }
h1 { font-weight: 700; font-size: clamp(44px,7vw,88px); line-height: 1; letter-spacing: -.03em; margin: 22px auto 0; max-width: 15ch; }
.grad { background: linear-gradient(100deg, var(--navy) 20%, var(--turq)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { color: var(--muted); font-size: clamp(17px,1.7vw,21px); font-weight: 400; max-width: 52ch; margin: 24px auto 0; }
.cta-row { display: flex; gap: 14px; margin: 32px 0 0; justify-content: center; flex-wrap: wrap; }
.proof { margin-top: 26px; color: var(--muted); font-size: 14px; }
.proof b { color: var(--ink); font-weight: 600; }

/* steps */
.steps { margin-top: 80px; }
.steps h2 { text-align: center; font-size: clamp(26px,3.2vw,38px); font-weight: 700; letter-spacing: -.025em; }
.steps .lead { text-align: center; color: var(--muted); margin: 12px auto 18px; max-width: 46ch; }
.progress { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; max-width: 560px; margin: 0 auto 34px; }
.progress i { display: block; height: 100%; width: 33.33%; background: linear-gradient(90deg, var(--navy), var(--turq)); transition: transform .6s cubic-bezier(.4,0,.2,1); }
.grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; text-align: left; transition: .4s cubic-bezier(.2,.7,.2,1); }
.card::after { content: ""; position: absolute; inset: 0; border-radius: 22px; opacity: 0; transition: .4s; pointer-events: none; box-shadow: inset 0 0 0 1.5px var(--turq), 0 26px 50px -20px rgba(26,188,156,.5); }
.card.active { transform: translateY(-8px); }
.card.active::after { opacity: 1; }
.no { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 11px; background: var(--navy-soft); color: var(--navy); font-weight: 700; font-size: 15px; transition: .4s; }
.card.active .no { background: var(--turq); color: #04201a; }
.card h3 { font-size: 21px; font-weight: 600; margin: 16px 0 8px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 14.5px; font-weight: 400; }
.viz{height:200px;border-radius:14px;margin-top:20px;background:radial-gradient(120% 100% at 50% 0%,#16314a,#0a1726);border:1px solid var(--line);display:grid;place-items:center;position:relative;overflow:hidden}
.viz img.shot{max-height:90%;max-width:86%;object-fit:contain;filter:drop-shadow(0 12px 24px rgba(0,0,0,.5)) drop-shadow(0 0 2px rgba(255,255,255,.18))}

/* vizes */
.seat { width: 84px; height: 96px; border-radius: 14px 14px 8px 8px; background: #fff; border: 1px solid var(--line); position: relative; box-shadow: 0 10px 22px -12px rgba(15,34,51,.25); }
.tag { position: absolute; right: -14px; bottom: 18px; width: 46px; height: 46px; border-radius: 11px; background: linear-gradient(135deg, var(--navy), var(--turq)); display: grid; place-items: center; }
.tag svg { width: 24px; height: 24px; }
.ripple { position: absolute; right: 9px; bottom: 41px; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--turq); animation: rip 1.9s infinite; }
@keyframes rip { 0% { transform: scale(.5); opacity: .85; } 100% { transform: scale(2.6); opacity: 0; } }

.phone { width: 106px; height: 182px; border-radius: 20px; background: #fff; border: 1px solid var(--line); padding: 11px 9px; box-shadow: 0 18px 36px -18px rgba(15,34,51,.3); }
.phone .bar { height: 7px; width: 34px; border-radius: 6px; background: var(--line); margin: 0 auto 10px; }
.chip { display: flex; align-items: center; gap: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 7px; margin-bottom: 7px; font-size: 9px; color: var(--muted); }
.chip .ic { width: 14px; height: 14px; border-radius: 5px; background: var(--turq-soft); flex: 0 0 14px; }
.chip.on { border-color: var(--turq); color: var(--navy); background: var(--turq-soft); }
.pay { margin-top: 6px; background: var(--navy); color: #fff; border-radius: 9px; text-align: center; font-size: 9px; font-weight: 700; padding: 9px; }

.chart { width: 84%; height: 78%; display: flex; align-items: end; gap: 7px; padding: 10px; }
.chart i{flex:1;border-radius:6px 6px 0 0;background:linear-gradient(180deg,var(--turq),#2f7fb0)}
.euro{position:absolute;top:12px;right:14px;font-weight:700;font-size:20px;color:#bfe9df}

/* clubs */
.clubs { margin: 88px auto 10px; text-align: center; }
.clubs .k { font-size: 13px; color: var(--muted); letter-spacing: .07em; text-transform: uppercase; }
.logos { display: flex; gap: 46px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 24px; opacity: .5; }
.logos span { font-weight: 700; font-size: 20px; color: var(--ink); filter: grayscale(1); }

/* bookcard */
.bookcard { position: relative; overflow: hidden; margin: 80px 0 96px; background: var(--navy); color: #fff; border-radius: 28px; padding: 56px 40px; text-align: center; }
.bookcard::before { content: ""; position: absolute; width: 50vw; height: 50vw; border-radius: 50%; background: radial-gradient(circle, rgba(26,188,156,.28), transparent 65%); top: -20vw; right: -12vw; animation: drift1 24s ease-in-out infinite; }
.bookcard > * { position: relative; z-index: 1; }
.bookcard h2 { font-size: clamp(28px,3.2vw,42px); font-weight: 700; letter-spacing: -.025em; }
.bookcard p { color: #bcd2e2; margin: 14px auto 26px; max-width: 46ch; font-weight: 400; }

/* reveal — hidden state gated behind .js so no-JS users & non-JS crawlers still see content */
.js .reveal { opacity: 0; transform: translateY(24px); transition: .75s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width:860px) {
  .grid3 { grid-template-columns: 1fr; }
  .links { display: none; }
}

/* ---- features grid ---- */
.section { padding-top: 72px; padding-bottom: 72px; }
.section-head { text-align: center; max-width: 52ch; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(26px,3.2vw,38px); font-weight: 700; letter-spacing: -.025em; }
.section-head p { color: var(--muted); margin-top: 12px; }
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feat-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; transition: .3s; }
.feat-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -26px rgba(15,34,51,.25); border-color: #d7dcdc; }
.feat-card .fi { width: 44px; height: 44px; border-radius: 12px; background: var(--turq-soft); display: grid; place-items: center; color: var(--turq); }
.feat-card .fi svg { width: 22px; height: 22px; }
.feat-card .fi img{width:24px;height:24px;object-fit:contain}
.feat-card h3 { font-size: 18px; font-weight: 600; margin: 14px 0 6px; }
.feat-card p { color: var(--muted); font-size: 14px; }

/* ---- value split (earn / save) ---- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; }
.split h2 { font-size: clamp(26px,3.2vw,40px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.split p { color: var(--muted); margin-top: 14px; max-width: 42ch; }
.stat-row { display: flex; gap: 32px; margin-top: 24px; flex-wrap: wrap; }
.stat-row b { font-size: 30px; color: var(--navy); display: block; font-weight: 700; }
.stat-row span { font-size: 13px; color: var(--muted); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 24px 60px -34px rgba(15,34,51,.3); }
.panel .prow { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.panel .prow:last-child { border: 0; }
.panel .prow b { color: var(--navy); font-weight: 600; }

/* ---- case study card ---- */
.case-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.case { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.case .logo { font-weight: 700; color: var(--navy); filter: grayscale(1); opacity: .7; margin-bottom: 12px; }
.case p { color: var(--muted); font-size: 14px; }
.case .metrics { display: flex; gap: 22px; margin-top: 16px; }
.case .metrics b { color: var(--turq); font-size: 22px; font-weight: 700; display: block; }
.case .metrics span { font-size: 12px; color: var(--muted); }

/* ---- founders ---- */
.founders { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; max-width: 760px; margin: 0 auto; }
.founder { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; text-align: center; }
.founder .ph { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(135deg, var(--navy), var(--turq)); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 28px; }
.founder h3 { font-size: 19px; font-weight: 600; }
.founder .role { color: var(--turq); font-size: 13px; font-weight: 600; margin: 2px 0 10px; }
.founder p { color: var(--muted); font-size: 14px; }
.founder a { color: var(--navy); font-size: 13px; font-weight: 600; text-decoration: none; display: inline-block; margin-top: 12px; }

/* ---- FAQ ---- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-accordion { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 600; }
.faq-q .pm { width: 22px; height: 22px; flex: 0 0 22px; position: relative; transition: .3s; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--turq); border-radius: 2px; }
.faq-q .pm::before { top: 10px; left: 3px; width: 16px; height: 2px; }
.faq-q .pm::after { top: 3px; left: 10px; width: 2px; height: 16px; transition: .3s; }
.faq-accordion.open .pm::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; color: var(--muted); font-size: 14.5px; }
.faq-a .pad { padding: 0 20px 18px; }

/* ---- contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.field { display: block; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); display: block; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font-family: Poppins; font-size: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--turq); box-shadow: 0 0 0 3px var(--turq-soft); }
.cal-embed { background: #fff; border: 1px dashed var(--turq); border-radius: 18px; min-height: 340px; display: grid; place-items: center; text-align: center; color: var(--muted); padding: 24px; }

/* ---- footer ---- */
.footer-logo{height:34px;width:auto;display:block;margin-bottom:18px}
.showcase img{width:100%;max-width:960px;height:auto;display:block;margin:0 auto;border-radius:18px}
footer { padding: 56px 0 40px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 600px; margin: 0 auto; text-align: center; }
.footer-col .h { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer-col a { display: block; color: var(--ink); text-decoration: none; font-size: 14px; margin-bottom: 8px; }
.footer-col a:hover { color: var(--turq); }
.footer-bottom { display: flex; justify-content: center; align-items: center; margin-top: 40px; color: var(--muted); font-size: 13px; flex-wrap: wrap; gap: 8px 24px; text-align: center; }

/* ---- mobile nav ---- */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 28px; height: 28px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; }
@media (max-width:860px) {
  .nav-toggle { display: block; }
  .links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 28px 16px; display: none; }
  .links.open { display: flex; }
  .links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .feat-grid, .case-grid, .founders { grid-template-columns: 1fr; }
  .hide-mobile { display: none; }
}

/* ===================================================================
   Adaptive brand logo — CSS mask + currentColor.
   No background; color is inherited from the section (navy on light,
   white on dark) so ONE asset adapts to any page.
   =================================================================== */
.logo-mark{height:22px;width:auto;display:block}
.logo-word{height:18px;width:auto;display:block}
.logo-full{height:48px;width:auto;display:block}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--navy)}
.brand-mark{position:relative;display:inline-grid;place-items:center}
.footer-logo{color:var(--navy);margin:0 auto 18px}
.book-logo{color:#fff;height:44px;width:auto;margin:0 auto 16px}
/* Bookcard now leads with Santeri's photo + role */
.bookcard .book-avatar{width:104px;height:104px;margin:0 auto 20px;box-shadow:0 12px 30px -10px rgba(0,0,0,.5),0 0 0 4px rgba(255,255,255,.08)}
.bookcard .role{color:var(--turq);font-size:14px;font-weight:600;letter-spacing:.03em;margin:10px 0 0}

/* ===================================================================
   Motion design
   =================================================================== */
/* NFC "tap" pulse around the nav mark */
.brand-mark::after{content:"";position:absolute;width:30px;height:30px;border-radius:50%;
  border:1.5px solid var(--turq);opacity:0;pointer-events:none;animation:nfcpulse 3s ease-out infinite}
@keyframes nfcpulse{0%{transform:scale(.5);opacity:.6}70%,100%{transform:scale(1.6);opacity:0}}

/* Animated aurora background (two slow, low-opacity conic glows) */
.bg-fx::before,.bg-fx::after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.bg-fx::before{inset:-35% -15%;
  background:conic-gradient(from 0deg at 60% 40%,transparent 0deg,rgba(26,188,156,.20) 70deg,transparent 155deg,rgba(17,58,90,.22) 250deg,transparent 360deg);
  animation:auroraspin 38s linear infinite}
.bg-fx::after{inset:-15% -35%;
  background:conic-gradient(from 180deg at 35% 65%,transparent 0deg,rgba(17,58,90,.16) 90deg,transparent 200deg,rgba(26,188,156,.18) 300deg,transparent 360deg);
  animation:auroraspin 54s linear infinite reverse}
.blob{opacity:.78}
@keyframes auroraspin{to{transform:rotate(360deg)}}

/* Animated navy→turquoise sheen on hero accent words */
.grad{background:linear-gradient(100deg,var(--navy) 15%,var(--turq) 50%,var(--navy) 85%);
  background-size:220% auto;-webkit-background-clip:text;background-clip:text;color:transparent;
  animation:gradshift 9s ease-in-out infinite}
@keyframes gradshift{0%,100%{background-position:0% center}50%{background-position:100% center}}

/* Shine sweep across primary CTAs on hover */
.btn{position:relative;overflow:hidden}
.btn-turq::after,.btn-primary::after{content:"";position:absolute;top:0;left:-140%;width:55%;height:100%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.4),transparent);
  transform:skewX(-20deg);pointer-events:none}
.btn-turq:hover::after,.btn-primary:hover::after{animation:sheen .85s ease}
@keyframes sheen{to{left:150%}}

/* Respect reduced-motion for everything above */
@media (prefers-reduced-motion: reduce){
  .bg-fx::before,.bg-fx::after,.brand-mark::after,.grad{animation:none}
  .btn-turq:hover::after,.btn-primary:hover::after{animation:none;display:none}
}

/* ===================================================================
   Refinements (feedback): calmer motion, lighter weight, brand navy
   =================================================================== */
/* Calm the background — drop the rotating aurora, fade + slow the blobs */
.bg-fx::before,.bg-fx::after{content:none}
.blob{opacity:.28;animation-duration:80s}

/* Hero accent gradient: static (no shimmer) */
.grad{background:linear-gradient(100deg,var(--navy) 30%,var(--turq));
  background-size:auto;-webkit-background-clip:text;background-clip:text;color:transparent;animation:none}

/* Remove the always-on NFC pulse on the nav mark */
.brand-mark::after{content:none}

/* Lighter typographic hierarchy — one bold focal point (the H1), calmer headings */
.steps h2,.section-head h2,.split h2,.bookcard h2{font-weight:600;}
.stat-row b,.case .metrics b{font-weight:600;}
.feat-card h3,.card h3{font-weight:600;}

/* Hero NFC tag — real 3D turntable (Three.js) with static image fallback */
.hero-tag{margin:26px auto 12px}
.tag-webgl{position:relative;width:100%;height:520px}
.tag-webgl canvas{display:block;position:absolute;inset:0;margin:auto}
.tag-fallback{position:absolute;inset:0;margin:auto;max-width:88%;max-height:88%;
  width:auto;height:auto;object-fit:contain;border-radius:14px;
  transform:perspective(1200px) rotateX(6deg) rotateY(-16deg);
  box-shadow:0 26px 50px -26px rgba(17,58,90,.5)}
@media (max-width:600px){.tag-webgl{height:340px}}

/* Case cards: breathing room under the quote */
.case > p{margin-bottom:20px}

/* Case cards: breathing room under the quote */
.case > p{margin-bottom:20px}

/* Case cards: breathing room under the quote */
.case > p{margin-bottom:20px}

/* ===================================================================
   Full-screen value blocks — one idea per block (Pelly-style)
   =================================================================== */
.block{min-height:clamp(540px,76vh,760px);display:flex;flex-direction:column;justify-content:center;padding:90px 0}
.block-in{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;width:100%}
.block.reverse .block-text{order:2}
.block-eyebrow{color:var(--turq);font-weight:600;font-size:14px;letter-spacing:.01em;margin-bottom:14px}
.block-text h2{font-size:clamp(30px,4vw,50px);font-weight:600;line-height:1.06;letter-spacing:-.03em}
.block-text p{color:var(--muted);font-size:clamp(16px,1.5vw,19px);margin-top:18px;max-width:46ch}
.block-text .btn{margin-top:30px}
.block.dark{background:var(--navy);color:#fff}
.block.dark .block-text h2{color:#fff}
.block.dark .block-text p{color:#bcd2e2}
.block-visual{display:flex;justify-content:center}
.block .panel{width:100%;max-width:440px}
/* Give the laptop block a wider visual column so the screen reads clearly.
   The image bg is baked to page --bg, so letting it overflow toward the edge is invisible. */
.block-in--laptop{grid-template-columns:minmax(0,0.64fr) minmax(0,1.36fr);gap:48px}
/* laptop sits within the wider visual column, right-aligned to the page edge so it
   keeps the same gutter as the rest of the page (no bleed, never touches the edge,
   never overlaps the copy) */
.block-in--laptop .block-visual{justify-content:flex-end}
.block{overflow-x:clip}
/* Club portal shown on a real laptop mockup (bg recoloured to page --bg, baked shadow) */
.portal-laptop{display:block;width:100%;max-width:660px;height:auto;margin:0 auto;
  transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.block-in--laptop .portal-laptop{width:100%;max-width:820px;margin:0 0 0 auto}
.block-visual:hover .portal-laptop{transform:translateY(-6px)}
@media (prefers-reduced-motion:reduce){.portal-laptop{transition:none}}
.block-shot{width:100%;max-width:460px;height:auto;border-radius:20px;box-shadow:0 36px 80px -36px rgba(15,34,51,.5)}
.block-shot.wide{max-width:620px;box-shadow:none}
@media(max-width:860px){
  .block{min-height:auto;padding:64px 0}
  .block-in{grid-template-columns:1fr;gap:36px}
  .block.reverse .block-text{order:0}
  /* laptop stacks below the copy: centre it and let it fill the column (bigger) */
  .block-in--laptop .block-visual{justify-content:center}
  .block-in--laptop .portal-laptop{width:100%;max-width:560px;margin:0 auto}
}

/* ===================================================================
   Background-motion comparison modes (?bg=subtle | ?bg=none)
   =================================================================== */
body.bg-subtle .blob{opacity:.14;animation-duration:160s}
body.bg-none .bg-fx{display:none}

/* ===================================================================
   Smoother scrolling between full-screen blocks (desktop, motion-ok)
   =================================================================== */
html{scroll-padding-top:88px}  /* offset sticky nav for anchor jumps + snap */
@media (min-width:861px) and (prefers-reduced-motion:no-preference){
  html{scroll-snap-type:y proximity}
  .steps, .block{scroll-snap-align:start;scroll-snap-stop:normal}
}
/* a touch more graceful reveal for the big blocks */
.block .reveal{transition:opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1)}
.js .block .reveal{transform:translateY(34px)}
.js .block .reveal.in{transform:none}

/* ===================================================================
   Final feedback: static (non-distracting) background, animated title,
   real club logos
   =================================================================== */
/* Background: gentle, smooth, very slow drift — subtle, non-distracting */
.blob{opacity:.32;animation-duration:90s}

/* Hero title: bring back the animated navy -> turquoise colour shift */
.grad{background:linear-gradient(100deg,var(--navy) 15%,var(--turq) 50%,var(--navy) 85%);
  background-size:220% auto;-webkit-background-clip:text;background-clip:text;color:transparent;
  animation:gradshift 9s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){ .grad{animation:none} }

/* Real club logos (colour crests) */
.logos img{height:54px;width:auto;object-fit:contain}

/* ===================================================================
   Club logo carousel (marquee) — bigger logos, smooth infinite scroll
   =================================================================== */
.logos-marquee{overflow:hidden;margin-top:30px;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}
.logos-track{display:flex;align-items:center;gap:90px;width:max-content;animation:marquee 26s linear infinite}
.logos-track img{height:78px;width:auto;object-fit:contain}
.logos-marquee:hover .logos-track{animation-play-state:paused}
@keyframes marquee{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){
  .logos-track{animation:none;width:100%;justify-content:center;flex-wrap:wrap;gap:48px}
}

/* ===================================================================
   Hero spacing + Pelly-style "built with clubs" trust pill
   =================================================================== */
.hero{padding-top:74px}
.hero-tag{margin:30px auto 6px}

.trust-pill{display:inline-flex;align-items:center;gap:14px;margin-top:30px;
  background:#fff;border:1px solid var(--line);border-radius:100px;
  padding:7px 16px 7px 20px;color:var(--muted);font-size:14px;font-weight:500;
  box-shadow:0 10px 28px -18px rgba(15,34,51,.35)}
.trust-logos{display:flex;align-items:center}
.trust-logos img{width:32px;height:32px;border-radius:50%;object-fit:contain;
  background:#fff;border:1px solid var(--line);padding:3px;margin-left:-9px}
.trust-logos img:first-child{margin-left:0}
.trust-logos .more{margin-left:-9px;width:32px;height:32px;border-radius:50%;
  background:var(--navy);color:#fff;font-size:12px;font-weight:600;
  display:grid;place-items:center;border:2px solid #fff}
@media(max-width:560px){.trust-pill{flex-direction:column;gap:10px;border-radius:20px}}

/* Founder avatar: photo fills the circle; if the file is missing the
   onerror handler removes the <img> and the initial shows underneath */
.founder .ph{position:relative;overflow:hidden}
.founder .ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* ===================================================================
   Feedback round: hero spacing, case studies, photo zoom
   =================================================================== */
/* More breathing room in the hero between H1, tag and trust pill */
.hero h1{margin-top:8px}
/* hero scan/tap animation — live vector/DOM animation embedded via iframe
   (crisp + responsive); bg matched to page --bg so it blends with no rectangle */
.hero-tag{width:100%;max-width:900px;margin:30px auto 6px}
.hero-anim{width:100%;aspect-ratio:16/10;border:0;display:block;background:transparent;
  /* feather the edges so any bg seam dissolves into the page */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-composite: intersect}
/* mobile: full-bleed edge-to-edge + PORTRAIT frame so the animation shows the
   phone large and vertical (a landscape frame here crushes it into a strip) */
@media(max-width:860px){
  .hero-tag{width:100vw;max-width:none;margin:18px 0 6px;margin-left:calc(50% - 50vw)}
  /* taller portrait frame -> the animation scales fit-to-width, filling the whole
     screen width, while keeping the text-above-phone vertical layout */
  .hero-anim{aspect-ratio:3/5;
    -webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 3%, #000 97%, transparent 100%);
    -webkit-mask-composite:source-over;
    mask-image:linear-gradient(to bottom, transparent 0, #000 3%, #000 97%, transparent 100%);
    mask-composite:add}
}
.hero .sub{margin-top:34px}
.hero .trust-pill{margin-top:44px}

/* Trust pill: lone "+" badge reads as a plus, give it room */
.trust-logos .more{font-size:16px;font-weight:500}

/* Case studies: two centred cards with real club logos */
.case-grid.two{grid-template-columns:repeat(2,1fr);max-width:780px;margin:0 auto}
.case-grid.one{grid-template-columns:1fr;max-width:460px;margin:0 auto}
.case .logo{filter:none;opacity:1}
.case .logo img{height:72px;width:auto;object-fit:contain}
.case-by{display:block;margin-top:10px;color:var(--ink);font-weight:600;font-size:13px}
.trend{color:var(--turq);font-size:.7em;vertical-align:middle}

/* Founder photo: zoom in closer on the face */
.founder .ph img.zoom{transform:scale(1.5);transform-origin:center 32%}
@media(max-width:560px){.case-grid.two{grid-template-columns:1fr}}

/* Contact: clean booking card (Calendly opens in a popup) */
.book-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:40px 32px;text-align:center;
  box-shadow:0 24px 60px -34px rgba(15,34,51,.3)}
.book-ic{width:54px;height:54px;border-radius:14px;margin:0 auto 18px;background:var(--turq-soft);color:var(--turq);display:grid;place-items:center}
.book-ic svg{width:26px;height:26px}
.book-card h3{font-size:21px;font-weight:600;letter-spacing:-.01em}
.book-card p{color:var(--muted);font-size:14.5px;margin:10px auto 22px;max-width:34ch}

/* Panel always reads dark, even on dark blocks (fixes invisible labels) */
.panel{color:var(--ink)}
.panel .prow span{color:var(--muted)}

/* Mini "club admin" results card (3-step box 3 visual) */
.mini-portal{width:88%;max-width:240px;background:#fff;border-radius:14px;padding:16px 18px;box-shadow:0 20px 46px -22px rgba(0,0,0,.55)}
.mini-portal .mp-head{font-size:9.5px;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);margin-bottom:10px}
.mini-portal .mp-row{display:flex;justify-content:space-between;align-items:center;font-size:12.5px;color:var(--ink);padding:7px 0;border-bottom:1px solid var(--line)}
.mini-portal .mp-row:last-child{border:0}
.mini-portal .mp-row b{color:var(--navy);font-weight:600}

/* Contact: founder avatar inside the booking card */
.book-avatar{width:88px;height:88px;border-radius:50%;margin:0 auto 16px;overflow:hidden;background:linear-gradient(135deg,var(--navy),var(--turq))}
/* pre-cropped square headshot -> no transform zoom (keeps it crisp) */
.book-avatar img{width:100%;height:100%;object-fit:cover;object-position:center 42%}
.book-card .role{color:var(--turq);font-size:13px;font-weight:600;margin:2px 0 10px}

/* ===================================================================
   Contact form — polished, validated, with in-page success state
   =================================================================== */
.req{color:var(--turq)}
.field input,.field textarea{transition:border-color .2s, box-shadow .2s}
.field input:user-invalid,.field textarea:user-invalid{border-color:#e3b4b4}
.btn:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}
.form-note{color:var(--muted);font-size:12px;margin-top:10px}
.form-note.err{color:#c0392b}

.form-success{display:none;text-align:center;padding:18px 8px 8px}
.contact-form.sent .field,
.contact-form.sent > #contactSubmit,
.contact-form.sent > .form-note{display:none}
.contact-form.sent .form-success{display:block;animation:fsIn .5s cubic-bezier(.2,.7,.2,1)}
.fs-check{width:58px;height:58px;border-radius:50%;background:var(--turq-soft);color:var(--turq);
  display:grid;place-items:center;margin:0 auto 14px;animation:fsPop .55s cubic-bezier(.2,.9,.3,1.25)}
.fs-check svg{width:30px;height:30px}
.form-success h3{font-size:20px;font-weight:600}
.form-success p{color:var(--muted);font-size:14.5px;margin-top:8px;max-width:34ch;margin-left:auto;margin-right:auto}
@keyframes fsIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes fsPop{0%{transform:scale(.4);opacity:0}60%{transform:scale(1.12)}100%{transform:scale(1);opacity:1}}
@media (prefers-reduced-motion:reduce){.contact-form.sent .form-success,.fs-check{animation:none}}

/* Step 3 "club admin" card — green up-arrows + rising sparkline */
.mini-portal .up{color:var(--turq);font-size:.7em;vertical-align:middle}
.mp-spark{width:100%;height:38px;margin-top:10px;display:block}

/* Case study — person (photo swaps in via onerror, else initial shows) */
.case-person{display:flex;align-items:center;gap:14px;margin-top:auto}
.cp-ph{position:relative;overflow:hidden;flex:0 0 64px;width:64px;height:64px;border-radius:50%;
  background:linear-gradient(135deg,var(--navy),var(--turq));color:#fff;font-weight:700;font-size:24px;
  display:grid;place-items:center}
.cp-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cp-name{font-weight:600;font-size:14px;color:var(--ink);line-height:1.3}
.cp-name span{display:block;font-weight:400;font-size:12px;color:var(--muted)}


/* Case cards: equal height + metrics pinned to the bottom so both align */
.case{display:flex;flex-direction:column}
.case .metrics{margin-top:18px}

/* 3-step cards: align the visual across all cards (push viz to the bottom) */
.card{display:flex;flex-direction:column}
.card p{margin-bottom:18px}
.card .viz{margin-top:auto}

/* Step 2 phone photo: fills the fixed .viz box (all three step cards stay equal),
   scaled up + focused so the web-app menu reads clearly; dark edges blend into the stage */
.viz img.phone-shot{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:cover;object-position:center 38%;transform:none;filter:none;border-radius:14px}
