/* Field of Work — site styles */
:root {
  --ink: #000000;
  --ink-2: #3A3A37;
  --muted: #55554F;
  --dim: #7A7A75;
  --rule: #D9D7D0;
  --blue: #1A1AFF;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #FFFFFF; color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
a:hover { color: var(--blue); }
img { display: block; width: 100%; height: auto; }
.serif { font-family: var(--serif); }
.upper { text-transform: uppercase; }
.gap { margin-left: 1.2em; }
.dot { display: inline-block; width: 22px; height: 22px; border-radius: 50%; background: #000; }

.page { position: relative; z-index: 1; }
.wrap { max-width: 1320px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Header */
.topbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: center; gap: 14px 24px; padding: 22px 24px; }
.topnav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; font-size: 15px; text-transform: uppercase; }
.topnav a, .wordmark { text-decoration: none; }
.wordmark { justify-self: center; font-size: 15px; letter-spacing: -0.01em; text-transform: uppercase; white-space: nowrap; }
.topcta { justify-self: end; font-size: 15px; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }

/* Labels, type */
.label { margin: 0; font-size: 18px; text-transform: uppercase; }
.title { margin: 0; font-size: 17px; font-weight: 700; }
.pill { border: 1px solid var(--blue); border-radius: 999px; padding: 1px 8px; font-size: 11px; letter-spacing: 0.025em; text-transform: uppercase; color: var(--blue); white-space: nowrap; }
.note { margin: 0; text-align: center; font-size: 15px; color: var(--muted); }
.ulink { font-size: 15px; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }
.statement { margin: 0; max-width: 980px; text-align: center; font-size: clamp(32px, 4.2vw, 62px); line-height: 1.06; font-weight: 300; letter-spacing: -0.02em; }
.statement-md { margin: 0; max-width: 900px; text-align: center; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.08; font-weight: 300; letter-spacing: -0.02em; }
.statement-sm { margin: 0; max-width: 960px; font-size: clamp(28px, 3.3vw, 46px); line-height: 1.12; font-weight: 300; letter-spacing: -0.015em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px; border-radius: 999px; background: #000; color: #FFF; font-size: 15px; text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none; }
.btn:hover { color: #FFF; background: var(--blue); }
.btn-sm { min-height: 44px; padding: 0 18px; text-transform: none; letter-spacing: 0; white-space: nowrap; flex: 0 0 auto; }

/* Hero */
.hero { padding: 88px 24px 72px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-title { margin: 0; max-width: 1080px; font-size: clamp(48px, 7vw, 108px); line-height: 1; font-weight: 300; letter-spacing: -0.03em; }
.hero-sub { margin: 32px 0 48px; max-width: 620px; font-size: 19px; line-height: 1.5; color: var(--ink-2); }
.hero-label { margin: 64px 0 6px; }
.sectors { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-size: 22px; }
.sectors span { display: inline-flex; align-items: flex-start; gap: 3px; }
.sectors i { width: 5px; height: 5px; border-radius: 50%; margin-top: 4px; }

/* Showcase */
.showcase { padding-bottom: 160px; display: flex; flex-direction: column; gap: 160px; }
.case { display: flex; flex-direction: column; gap: 56px; }
.device { position: relative; }
.device-right { padding: 0 14% 8% 0; }
.device-left { padding: 0 0 8% 14%; }
.browser { border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; background: #FFF; box-shadow: 0 30px 80px rgba(0,0,0,0.08); }
.browser-bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid #ECEBE6; background: #FAFAF8; }
.lights { display: flex; gap: 7px; }
.lights span { width: 11px; height: 11px; border-radius: 50%; background: #DEDCD5; }
.url { flex: 1; max-width: 420px; margin: 0 auto; padding: 5px 14px; border-radius: 999px; background: #F0EFEB; font-size: 12px; color: var(--muted); text-align: center; }
.bar-spacer { width: 46px; }
.phone { position: absolute; bottom: 0; width: 22%; min-width: 120px; aspect-ratio: 9 / 19; border: 8px solid #111; border-radius: 36px; overflow: hidden; background: #111; box-shadow: 0 30px 60px rgba(0,0,0,0.18); }
.phone-right { right: 0; }
.phone-left { left: 0; }
.phone img, .phone .shot-phone { width: 100%; height: 100%; border-radius: 28px; object-fit: cover; }
.shot { display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; }
.shot span { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.shot-wide { aspect-ratio: 16 / 10; }
.shot-card { aspect-ratio: 16 / 10; }
.shot-phone span { font-size: 12px; }
.caption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 40px; }
.caption p { margin: 0; flex: 1 1 420px; max-width: 620px; font-size: 17px; line-height: 1.45; }
.title-row { display: flex; align-items: center; gap: 8px; }

/* Blocks */
.block { padding-top: 40px; padding-bottom: 140px; display: flex; flex-direction: column; align-items: center; gap: 64px; }
#how.block { padding-top: 0; }
.grid { align-self: stretch; display: grid; gap: 40px 32px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #000; padding-top: 16px; }
.card .sub { font-size: 18px; margin-top: -4px; }
.card .body { font-size: 17px; line-height: 1.45; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.center-block { padding: 0 24px 140px; display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
#about.center-block { padding: 40px 24px 96px; }
.label-row { padding: 0 24px 40px; display: flex; justify-content: center; }

/* Work */
.work-grid { padding-bottom: 140px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 64px 32px; }
.work-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: #000; }
.work-card .title-row { margin-top: 4px; }
.work-card p { margin: 0; max-width: 560px; font-size: 17px; line-height: 1.45; }

/* Team */
.team { max-width: 1392px; padding-bottom: 140px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px 20px; }
.person { display: flex; flex-direction: column; gap: 6px; }
.portrait { aspect-ratio: 7 / 8; background: #E4E4E1; display: flex; align-items: center; justify-content: center; }
.portrait span { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.portrait img { height: 100%; object-fit: cover; filter: grayscale(1); }
.name { margin-top: 6px; font-size: 17px; text-transform: uppercase; }
.role { font-size: 18px; }

/* Contact + footer */
.contact { padding-top: 40px; padding-bottom: 160px; gap: 40px; }
.footer { margin: 0 24px; border-top: 1px solid #000; padding: 64px 0 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px; font-size: 15px; }
.footer-left { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 40px 140px; }
.clocks { display: flex; gap: 24px; }
.clock { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer-contact { display: flex; flex-direction: column; }
.footer-contact a { font-size: 17px; text-decoration: none; }

/* Background glow */
.glow-layer { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.glow { position: absolute; border-radius: 50%; filter: blur(110px); transition: background-color 1.8s ease, transform 2.4s ease; will-change: transform; }
.glow-a { width: 62vw; height: 62vw; max-width: 900px; max-height: 900px; top: -20vw; right: -18vw; opacity: 0.16; background-color: #1A1AFF; animation: driftA 22s ease-in-out infinite; }
.glow-b { width: 48vw; height: 48vw; max-width: 700px; max-height: 700px; bottom: -22vw; left: -16vw; opacity: 0.09; background-color: #2E9E5B; animation: driftB 28s ease-in-out infinite; }
@keyframes driftA { 0%, 100% { translate: 0 0; } 50% { translate: -6vw 4vh; } }
@keyframes driftB { 0%, 100% { translate: 0 0; } 50% { translate: 5vw -5vh; } }

/* Floating dock */
.dock { position: fixed; left: 50%; bottom: 24px; z-index: 20; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); transform: translate(-50%, 160%); opacity: 0; pointer-events: none; transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .4s ease; }
.dock.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.dock-home { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; background: #FFF; box-shadow: 0 10px 30px rgba(0,0,0,0.10); display: flex; align-items: center; justify-content: center; }
.dock-pill { display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: #FFF; box-shadow: 0 10px 30px rgba(0,0,0,0.10); }
.dock-link { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: 15px; text-decoration: none; white-space: nowrap; color: var(--dim); }
.dock-link.on { color: #000; }
@media (max-width: 560px) { .dock-link { display: none; } }
.url { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Dashboard mockup animation (11s loop) */
@keyframes fowCur{0%{transform:translate(40em,46em);opacity:0}6%{opacity:1}24%{transform:translate(68.3em,23.8em)}31%{transform:translate(68.3em,23.8em)}49%{transform:translate(48.55em,35.8em)}56%{transform:translate(48.55em,35.8em)}76%{transform:translate(62em,44em);opacity:1}86%{opacity:0}100%{transform:translate(62em,44em);opacity:0}}
@keyframes fowRip{0%,26%{transform:scale(0);opacity:0}27%{transform:scale(.3);opacity:.6}33%{transform:scale(1.6);opacity:0}51%{transform:scale(0);opacity:0}52%{transform:scale(.3);opacity:.6}58%{transform:scale(1.6);opacity:0}100%{transform:scale(0);opacity:0}}
@keyframes fowOff1{0%,28%{opacity:1}29%,94%{opacity:0}96%,100%{opacity:1}}
@keyframes fowOn1{0%,28%{opacity:0}29%,94%{opacity:1}96%,100%{opacity:0}}
@keyframes fowOn2{0%,53%{opacity:0}54%,94%{opacity:1}96%,100%{opacity:0}}
@keyframes fowStrike{0%,53%{text-decoration-line:none;color:#111111}54%,94%{text-decoration-line:line-through;color:#6B6B66}96%,100%{text-decoration-line:none;color:#111111}}
@keyframes fowTap{0%,66%{transform:translate(-50%,-50%) scale(0);opacity:0}67%{transform:translate(-50%,-50%) scale(.4);opacity:.55}74%{transform:translate(-50%,-50%) scale(1.5);opacity:0}100%{transform:translate(-50%,-50%) scale(0);opacity:0}}
@keyframes fowOn3{0%,68%{opacity:0}69%,94%{opacity:1}96%,100%{opacity:0}}
@keyframes fowOff3{0%,68%{opacity:1}69%,94%{opacity:0}96%,100%{opacity:1}}
.fow-cur{animation:fowCur 11s ease-in-out infinite}
.fow-rip{animation:fowRip 11s linear infinite}
.fow-due{animation:fowOff1 11s infinite}
.fow-paid{animation:fowOn1 11s infinite}
.fow-chk{animation:fowOn2 11s infinite}
.fow-strike{animation:fowStrike 11s infinite}
.fow-tap{animation:fowTap 11s ease-out infinite}
.fow-pon,.fow-aoff,.fow-c12{animation:fowOn3 11s infinite}
.fow-c11{animation:fowOff3 11s infinite}
@media (prefers-reduced-motion: reduce){.fow-cur,.fow-rip,.fow-tap{animation:none;opacity:0}.fow-due,.fow-paid,.fow-chk,.fow-strike,.fow-pon,.fow-aoff,.fow-c11,.fow-c12{animation:none}}

/* Rounded pictures */
.shot-card, .shot-hero, .shot-43, .portrait { border-radius: 10px; overflow: hidden; }
.photo { width: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .topbar { display: flex; justify-content: space-between; }
  .topnav { display: none; }
  .wordmark { justify-self: auto; }
  .bar-spacer { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .glow { animation: none; transition: none; }
  .dock { transition: opacity .2s; }
}

/* Case study page */
.cs-hero { padding: 96px 24px 72px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.cs-title { margin: 0; max-width: 1000px; font-size: clamp(38px, 5vw, 74px); line-height: 1.05; font-weight: 300; letter-spacing: -0.025em; }
.cs-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; font-size: 15px; text-transform: uppercase; }
.cs-section { padding-bottom: 120px; display: flex; flex-wrap: wrap; gap: 48px 80px; }
.cs-section > .label-side { flex: 0 0 200px; margin: 0; font-size: 17px; text-transform: uppercase; }
.cs-section > .cs-body { flex: 1 1 560px; min-width: 0; }
.cs-lead { margin: 0; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; font-weight: 300; }
.cs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 40px 32px; }
.cs-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-value { font-size: 64px; line-height: 1; font-weight: 300; letter-spacing: -0.03em; }
.cs-shots { padding-bottom: 120px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 32px; }
.shot-43 { aspect-ratio: 4 / 3; }
.shot-hero { aspect-ratio: 16 / 8; }
.quote { padding: 40px 24px 160px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.quote p { margin: 0; max-width: 900px; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.1; font-weight: 300; letter-spacing: -0.015em; }
.cs-cta { margin: 0 24px; border-top: 1px solid #000; padding: 120px 0 140px; display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.cs-footer { margin: 0 24px; border-top: 1px solid #000; padding: 40px 0 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; font-size: 15px; }

/* Intro + reveal animations (only when JS runs) */
@keyframes wordIn { from { opacity: 0; transform: translateY(0.35em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.js .hero-title .w { display: inline-block; opacity: 0; animation: wordIn .9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * 80ms + 120ms); }
.js .intro { opacity: 0; animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, .6s); }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.work-grid .reveal:nth-child(2), .team .reveal:nth-child(2) { transition-delay: .08s; }
.work-grid .reveal:nth-child(3), .team .reveal:nth-child(3) { transition-delay: .16s; }
.team .reveal:nth-child(4) { transition-delay: .24s; }

/* Buttons and links */
.btn { transition: transform .25s ease, background-color .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.ulink, .topcta { transition: text-underline-offset .25s ease, color .25s ease; }
.ulink:hover, .topcta:hover { text-underline-offset: 6px; }
.work-card img, .work-card .shot { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.work-card:hover img, .work-card:hover .shot { transform: scale(1.015); }
.dock-link { transition: color .25s ease; }
.dock-link:hover { color: #000; }

@media (prefers-reduced-motion: reduce) {
  .js .hero-title .w, .js .intro { animation: none; opacity: 1; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn:hover, .work-card:hover img, .work-card:hover .shot { transform: none; }
}
.js .showcase .case:first-child.reveal { transition-delay: 1.1s; }

/* Proportional device frames (scale with the mockup) */
.device { container-type: inline-size; }
.browser { border-radius: clamp(6px, 0.9cqw, 12px); }
.browser-bar { gap: clamp(8px, 1.2cqw, 16px); padding: clamp(6px, 0.9cqw, 12px) clamp(8px, 1.2cqw, 16px); }
.lights { gap: clamp(4px, 0.5cqw, 7px); }
.lights span { width: clamp(6px, 0.8cqw, 11px); height: clamp(6px, 0.8cqw, 11px); }
.url { padding: clamp(2px, 0.4cqw, 5px) clamp(8px, 1cqw, 14px); font-size: clamp(8px, 0.9cqw, 12px); }
.bar-spacer { width: clamp(24px, 3.4cqw, 46px); }
.phone { min-width: 0; border-width: max(3px, 0.65cqw); border-radius: max(14px, 2.9cqw); box-sizing: border-box; }
.phone > [role=img] { border-radius: max(11px, 2.3cqw) !important; }

/* How it works */
.how { gap: 40px; }
.steps { align-self: stretch; margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 56px 48px; }
.step { border-top: 1px solid #000; padding-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.step-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.step-n { font-size: 64px; line-height: 0.9; font-weight: 300; letter-spacing: -0.03em; }
.step-title { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.step-body { margin: 0; max-width: 360px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }

/* Header: always one line on desktop */
.topbar { grid-template-columns: 1fr auto 1fr; }
.topnav { flex-wrap: nowrap; }
@media (max-width: 900px) {
  .topbar { display: flex; justify-content: space-between; }
  .topnav { display: none; }
}

/* How it works: glass cards */
.how { padding-top: 40px; padding-bottom: 180px; gap: 40px; }
.steps { margin-top: 72px; gap: 28px; }
.step { position: relative; overflow: hidden; border-top: 0; padding: 40px 36px 44px; border-radius: 20px;
  background: rgba(255,255,255,0.42); border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 20px 50px rgba(20,20,40,0.06);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease; }
.step::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,0.75), rgba(255,255,255,0) 45%); }
.step::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.55), rgba(255,255,255,0) 40%); }
.step > * { position: relative; z-index: 1; }
.step:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 28px 60px rgba(20,20,40,0.09); }
.step:hover::before { opacity: 1; }
.step-top { margin-bottom: 28px; }
section[id] { scroll-margin-top: 32px; }
@media (prefers-reduced-motion: reduce) { .step, .step:hover { transform: none; transition: none; } }

/* Liquid glass (v2) */
.steps { position: relative; }
.glass-orbs { position: absolute; inset: -40px -20px; pointer-events: none; z-index: 0; overflow: visible; }
.glass-orbs i { position: absolute; border-radius: 50%; filter: blur(28px); opacity: .55; }
.glass-orbs i:nth-child(1) { width: 260px; height: 260px; left: 8%; top: 30%; background: #1A1AFF; opacity: .28; animation: orbA 18s ease-in-out infinite; }
.glass-orbs i:nth-child(2) { width: 220px; height: 220px; left: 44%; top: 5%; background: #E8A817; opacity: .38; animation: orbB 22s ease-in-out infinite; }
.glass-orbs i:nth-child(3) { width: 240px; height: 240px; left: 74%; top: 40%; background: #2E9E5B; opacity: .26; animation: orbA 26s ease-in-out infinite reverse; }
@keyframes orbA { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px,-30px); } }
@keyframes orbB { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-50px,30px); } }
.step { z-index: 1; border: 0; border-radius: 28px;
  background: linear-gradient(160deg, rgba(255,255,255,0.38) 0%, rgba(255,255,255,0.14) 45%, rgba(255,255,255,0.22) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(185%) brightness(1.04); backdrop-filter: blur(22px) saturate(185%) brightness(1.04);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.95), inset 0 -1px 1px rgba(255,255,255,0.35), inset 0 0 0 1px rgba(255,255,255,0.18), inset 0 18px 30px -18px rgba(255,255,255,0.75), inset 0 -24px 40px -28px rgba(20,20,60,0.10), 0 14px 40px rgba(20,20,50,0.08), 0 2px 6px rgba(20,20,50,0.04); }
.step::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.25) 22%, rgba(255,255,255,0) 45%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.55) 85%, rgba(255,255,255,0.9) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.step::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: .55; transition: opacity .4s ease;
  background: radial-gradient(120% 60% at 30% -10%, rgba(255,255,255,0.75), rgba(255,255,255,0) 55%), radial-gradient(380px circle at var(--mx, 50%) var(--my, -40%), rgba(255,255,255,0.65), rgba(255,255,255,0) 45%); }
.step:hover { transform: translateY(-4px) scale(1.01); box-shadow: inset 0 1px 1px rgba(255,255,255,1), inset 0 -1px 1px rgba(255,255,255,0.4), inset 0 0 0 1px rgba(255,255,255,0.22), inset 0 18px 30px -18px rgba(255,255,255,0.85), inset 0 -24px 40px -28px rgba(20,20,60,0.12), 0 22px 54px rgba(20,20,50,0.11), 0 2px 6px rgba(20,20,50,0.05); }
.step:hover::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .glass-orbs i { animation: none; } }

/* Liquid glass (v3 tuning) */
.glass-orbs i:nth-child(1) { left: 24%; top: 58%; width: 200px; height: 200px; opacity: .22; }
.glass-orbs i:nth-child(2) { left: 58%; top: -12%; width: 180px; height: 180px; opacity: .30; }
.glass-orbs i:nth-child(3) { left: 88%; top: 50%; width: 200px; height: 200px; opacity: .22; }
.step { background: linear-gradient(160deg, rgba(255,255,255,0.30) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.16) 100%);
  -webkit-backdrop-filter: blur(28px) saturate(190%) brightness(1.05); backdrop-filter: blur(28px) saturate(190%) brightness(1.05);
  box-shadow: 0 0 0 0.5px rgba(20,20,50,0.07), inset 0 1px 1px rgba(255,255,255,1), inset 0 -1px 1px rgba(255,255,255,0.45), inset 0 20px 30px -20px rgba(255,255,255,0.8), inset 0 -28px 40px -30px rgba(20,20,60,0.12), 0 16px 44px rgba(20,20,50,0.08), 0 2px 6px rgba(20,20,50,0.04); }
.step::after { padding: 1.5px; }

/* Calmer orbs */
.glass-orbs i { filter: blur(34px); }
.glass-orbs i:nth-child(1) { opacity: .10; }
.glass-orbs i:nth-child(2) { opacity: .14; }
.glass-orbs i:nth-child(3) { opacity: .10; }

/* Floating hero photos */
@keyframes floatIn { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.hero { position: relative; }
.hero > *:not(.float-layer) { position: relative; z-index: 1; }
.float-layer { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.float-card { position: absolute; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px rgba(20,20,50,0.12); will-change: transform, opacity; }
.float-card .float-inner { width: 100%; height: 100%; opacity: 0; animation: floatIn 1s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(1.2s + var(--d)); }
.float-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1024px) { .float-layer { display: none; } }
@media (prefers-reduced-motion: reduce) { .float-card .float-inner { animation: none; opacity: 1; } }

/* Hero centered in the first screen, dashboard peeking below */
.hero { min-height: calc(100vh - 140px); min-height: calc(100svh - 140px); justify-content: center; padding-top: 40px; padding-bottom: 56px; box-sizing: border-box; }
.hero { min-height: calc(100vh - 230px); min-height: calc(100svh - 230px); }

/* More air */
.hero { min-height: calc(100vh - 110px); min-height: calc(100svh - 110px); padding-top: 72px; padding-bottom: 96px; }
.hero-sub { margin: 44px 0 60px; }
.hero-label { margin: 104px 0 10px; }
.showcase { padding-bottom: 220px; }
.block { padding-bottom: 200px; gap: 80px; }
.how { padding-bottom: 220px; }
.center-block { padding-bottom: 200px; gap: 40px; }
#about.center-block { padding: 80px 24px 120px; }
.label-row { padding-bottom: 64px; }
.work-grid { padding-bottom: 200px; gap: 96px 40px; }
.team { padding-bottom: 200px; }
.contact { padding-top: 80px; padding-bottom: 220px; gap: 48px; }
html, body { overflow-x: clip; }

/* Hero rhythm matched to Z's comp */
.hero { padding-top: 120px; padding-bottom: 40px; }
.hero-sub { margin: 36px 0 44px; max-width: 640px; }
.hero-label { margin: 80px 0 8px; }
video.photo { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { video.photo { animation: none; } }

/* ---------- Moments ---------- */
.moments { padding-bottom: 200px; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.m-grid { align-self: stretch; margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 28px; }
@media (max-width: 900px) { .m-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.moment { margin: 0; container-type: inline-size; display: flex; flex-direction: column; gap: 22px; }
.m-phone { position: relative; container-type: inline-size; aspect-ratio: 9 / 19; border: max(4px, 3.2cqw) solid #111; border-radius: 14cqw; overflow: hidden; background: #FFF; box-shadow: 0 24px 50px rgba(20,20,50,0.10); box-sizing: border-box; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.moment:hover .m-phone { transform: translateY(-6px); }
.m-screen { font-size: calc(100cqw / 20); height: 100%; box-sizing: border-box; padding: 3.4em 1.4em 1.4em; display: flex; flex-direction: column; gap: 1em; line-height: 1.3; color: #111; text-align: left; }
.m-cap { font-family: var(--serif); font-size: 21px; line-height: 1.3; text-align: center; padding: 0 6px; }
.m-top { display: flex; flex-direction: column; gap: .25em; }
.m-muted { color: #6B6B66; }
.m-sm { font-size: .8em; }
.m-title { font-size: 1.6em; font-weight: 500; letter-spacing: -0.02em; }
.m-card { border: 1px solid #EEEDE9; border-radius: 1em; padding: 1.1em; display: flex; flex-direction: column; gap: .3em; background: #FAFAF8; }
.m-amount { font-size: 2.2em; font-weight: 500; letter-spacing: -0.02em; }
.m-due { display: inline-grid; justify-items: start; } .m-due > * { grid-area: 1 / 1; }
.m-green { color: #1F7A3F; }
.m-rows { display: flex; flex-direction: column; }
.m-row { display: flex; justify-content: space-between; padding: .7em 0; border-bottom: 1px solid #F0EFEB; font-size: .9em; }
.m-row span:first-child { color: #6B6B66; }
.m-fill { flex: 1; }
.m-btn { position: relative; display: grid; place-items: center; min-height: 3em; border-radius: 999px; background: #111; color: #FFF; font-size: .95em; font-weight: 500; overflow: hidden; }
.m-btn > span:not(.m-tap) { grid-area: 1 / 1; }
.m-btn-soft { background: #F2F1ED; color: #111; }
.m-btn-done { background: #2E9E5B; color: #FFF; align-self: stretch; justify-self: stretch; display: grid; place-items: center; border-radius: 999px; }
.m-btn-soft .m-on { background: #2E9E5B; color: #FFF; align-self: stretch; justify-self: stretch; display: grid; place-items: center; border-radius: 999px; }
.m-list { display: flex; flex-direction: column; }
.m-att { display: flex; align-items: center; gap: .7em; padding: .6em 0; border-bottom: 1px solid #F0EFEB; }
.m-av { flex: 0 0 auto; width: 2em; height: 2em; border-radius: 50%; background: #F0EFEB; display: grid; place-items: center; font-size: .7em; font-weight: 600; }
.m-name { flex: 1; font-size: .9em; }
.m-tg { position: relative; width: 2.2em; height: 2.2em; border-radius: .6em; border: 1px solid #E4E3DE; color: #A3A29C; display: grid; place-items: center; font-size: .8em; font-weight: 600; box-sizing: border-box; }
.m-tg > span:not(.m-tap) { grid-area: 1 / 1; }
.m-tg-on { background: #2E9E5B; border-color: #2E9E5B; color: #FFF; }
.m-tg-fill { position: absolute; inset: -1px; border-radius: .6em; display: grid; place-items: center; }
.m-days { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: .4em; }
.m-day { display: flex; flex-direction: column; align-items: center; gap: .1em; padding: .5em 0; border-radius: .7em; background: #F5F5F3; font-weight: 500; }
.m-day-on { background: #111; color: #FFF; }
.m-day-on .m-sm { color: #CFCFCB; }
.m-slots { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .5em; }
.m-slot { position: relative; padding: .7em 0; text-align: center; border: 1px solid #E4E3DE; border-radius: .7em; font-size: .9em; overflow: hidden; }
.m-slot-fill { position: absolute; inset: 0; display: grid; place-items: center; background: #1A1AFF; color: #FFF; }
.m-tiles { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .6em; }
.m-tile { border-radius: 1em; background: #F5F5F3; padding: .9em; display: flex; flex-direction: column; gap: .2em; }
.m-big { font-size: 1.7em; font-weight: 500; letter-spacing: -0.02em; }
.m-note { display: flex; align-items: center; gap: .6em; padding: .8em; border-radius: .9em; background: #E3F4E8; color: #1F7A3F; font-size: .85em; }
.m-check { width: 1.6em; height: 1.6em; border-radius: 50%; background: #2E9E5B; color: #FFF; display: grid; place-items: center; font-size: .8em; }
.m-tap { position: absolute; left: 50%; top: 50%; width: 3em; height: 3em; border-radius: 50%; background: rgba(26,26,255,0.35); pointer-events: none; opacity: 0; z-index: 2; animation: mTap 8s ease-out infinite; animation-delay: var(--md, 0s); }
.m-on { opacity: 0; animation: mOn 8s infinite; animation-delay: var(--md, 0s); }
.m-off { animation: mOff 8s infinite; animation-delay: var(--md, 0s); }
@keyframes mTap { 0%, 34% { transform: translate(-50%,-50%) scale(0); opacity: 0; } 36% { transform: translate(-50%,-50%) scale(.4); opacity: .6; } 44% { transform: translate(-50%,-50%) scale(1.8); opacity: 0; } 100% { transform: translate(-50%,-50%) scale(0); opacity: 0; } }
@keyframes mOn { 0%, 37% { opacity: 0; } 40%, 88% { opacity: 1; } 92%, 100% { opacity: 0; } }
@keyframes mOff { 0%, 37% { opacity: 1; } 40%, 88% { opacity: 0; } 92%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .m-tap, .m-on, .m-off { animation: none; } .m-tap { opacity: 0; } }

/* ---------- Pick what you need ---------- */
.menu { gap: 56px; }
.picks { align-self: stretch; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.pick { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 24px; border-radius: 20px; background: #FFFFFF; border: 1px solid #E8E7E2; transition: border-color .25s ease, transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, background-color .25s ease; font-family: var(--sans); color: #111; }
.pick:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(20,20,50,0.07); }
.pick:focus-visible { outline: 2px solid #1A1AFF; outline-offset: 3px; }
.pick[aria-pressed="true"] { border-color: #111; background: #FAFAF8; box-shadow: 0 0 0 1px #111 inset; }
.pick-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pick-ico { width: 28px; height: 28px; }
.pick-check { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #D6D5CF; display: grid; place-items: center; font-size: 13px; color: transparent; transition: all .25s ease; }
.pick[aria-pressed="true"] .pick-check { background: #1A1AFF; border-color: #1A1AFF; color: #FFF; }
.pick-title { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.pick-body { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.pick-hours { margin-top: 6px; font-size: 13px; color: #6B6B66; }
.pick-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; padding: 14px 14px 14px 30px; border-radius: 999px; background: #111; color: #FFF; max-width: 100%; box-sizing: border-box; }
.pick-summary { font-size: 16px; }
.pick-summary b { font-weight: 600; }
.btn-light { background: #FFF; color: #111; }
.btn-light:hover { background: #1A1AFF; color: #FFF; }
@media (max-width: 600px) { .pick-bar { border-radius: 24px; padding: 20px; text-align: center; } }
.m-phone { aspect-ratio: 9 / 16.5; }
.picks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .picks { grid-template-columns: 1fr; } }
.m-phone { aspect-ratio: 9 / 14.5; }
.m-screen { padding-top: 2.6em; }
.wordmark { font-weight: 700; letter-spacing: 0; }

/* Case study screen animations */
.cs-tap{position:absolute;left:50%;top:50%;width:3em;height:3em;border-radius:50%;background:rgba(26,26,255,0.3);pointer-events:none;opacity:0;z-index:2}
@keyframes csTap22{0%,22%{transform:translate(-50%,-50%) scale(0);opacity:0}22.8%{transform:translate(-50%,-50%) scale(.4);opacity:.6}28%{transform:translate(-50%,-50%) scale(1.8);opacity:0}100%{transform:translate(-50%,-50%) scale(0);opacity:0}}
.cs-tap-22{animation:csTap22 10s ease-out infinite}
@keyframes csOff24{0%,24%{opacity:1}25.5%,92%{opacity:0}95%,100%{opacity:1}}
.cs-off-24{animation:csOff24 10s infinite}
@keyframes csOn24{0%,24%{opacity:0}25.5%,92%{opacity:1}95%,100%{opacity:0}}
.cs-on-24{opacity:0;animation:csOn24 10s infinite}
@keyframes csOn26{0%,26%{opacity:0}27.5%,92%{opacity:1}95%,100%{opacity:0}}
.cs-on-26{opacity:0;animation:csOn26 10s infinite}
@keyframes csOff26{0%,26%{opacity:1}27.5%,92%{opacity:0}95%,100%{opacity:1}}
.cs-off-26{animation:csOff26 10s infinite}
@keyframes csTap48{0%,48%{transform:translate(-50%,-50%) scale(0);opacity:0}48.8%{transform:translate(-50%,-50%) scale(.4);opacity:.6}54%{transform:translate(-50%,-50%) scale(1.8);opacity:0}100%{transform:translate(-50%,-50%) scale(0);opacity:0}}
.cs-tap-48{animation:csTap48 10s ease-out infinite}
@keyframes csOff50{0%,50%{opacity:1}51.5%,92%{opacity:0}95%,100%{opacity:1}}
.cs-off-50{animation:csOff50 10s infinite}
@keyframes csOn50{0%,50%{opacity:0}51.5%,92%{opacity:1}95%,100%{opacity:0}}
.cs-on-50{opacity:0;animation:csOn50 10s infinite}
@keyframes csTap62{0%,62%{transform:translate(-50%,-50%) scale(0);opacity:0}62.8%{transform:translate(-50%,-50%) scale(.4);opacity:.6}68%{transform:translate(-50%,-50%) scale(1.8);opacity:0}100%{transform:translate(-50%,-50%) scale(0);opacity:0}}
.cs-tap-62{animation:csTap62 10s ease-out infinite}
@keyframes csOn64{0%,64%{opacity:0}65.5%,92%{opacity:1}95%,100%{opacity:0}}
.cs-on-64{opacity:0;animation:csOn64 10s infinite}
@keyframes csOff64{0%,64%{opacity:1}65.5%,92%{opacity:0}95%,100%{opacity:1}}
.cs-off-64{animation:csOff64 10s infinite}
@keyframes csCard30{0%,30%{opacity:0;transform:translateY(1em)}34%,90%{opacity:1;transform:none}95%,100%{opacity:0;transform:translateY(1em)}}
.cs-card-30{opacity:0;animation:csCard30 10s cubic-bezier(.2,.7,.2,1) infinite}
@keyframes csCard54{0%,54%{opacity:0;transform:translateY(1em)}58%,90%{opacity:1;transform:none}95%,100%{opacity:0;transform:translateY(1em)}}
.cs-card-54{opacity:0;animation:csCard54 10s cubic-bezier(.2,.7,.2,1) infinite}
@keyframes csCard68{0%,68%{opacity:0;transform:translateY(1em)}72%,90%{opacity:1;transform:none}95%,100%{opacity:0;transform:translateY(1em)}}
.cs-card-68{opacity:0;animation:csCard68 10s cubic-bezier(.2,.7,.2,1) infinite}
@media (prefers-reduced-motion: reduce){[class*='cs-on-'],[class*='cs-off-'],[class*='cs-tap-'],[class*='cs-card-']{animation:none}[class*='cs-card-']{opacity:1;transform:none}.cs-tap{opacity:0}}

/* Opening Agency case study */
@keyframes csOn30{0%,30%{opacity:0}31.5%,92%{opacity:1}95%,100%{opacity:0}}
.cs-on-30{opacity:0;animation:csOn30 10s infinite}
@keyframes csOff30{0%,30%{opacity:1}31.5%,92%{opacity:0}95%,100%{opacity:1}}
.cs-off-30{animation:csOff30 10s infinite}
@keyframes csTap28{0%,28%{transform:translate(-50%,-50%) scale(0);opacity:0}28.8%{transform:translate(-50%,-50%) scale(.4);opacity:.6}34%{transform:translate(-50%,-50%) scale(1.8);opacity:0}100%{transform:translate(-50%,-50%) scale(0);opacity:0}}
.cs-tap-28{animation:csTap28 10s ease-out infinite}
@keyframes csOn38{0%,38%{opacity:0}39.5%,92%{opacity:1}95%,100%{opacity:0}}
.cs-on-38{opacity:0;animation:csOn38 10s infinite}
@keyframes csOff38{0%,38%{opacity:1}39.5%,92%{opacity:0}95%,100%{opacity:1}}
.cs-off-38{animation:csOff38 10s infinite}

@keyframes oaBar { 0% { transform: scaleY(0); } 12% { transform: scaleY(1); } 92% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
.oa-bar { transform-origin: bottom; animation: oaBar 10s cubic-bezier(.2,.7,.2,1) infinite; animation-delay: calc(var(--b) * 0.08s); }
@keyframes oaRing { 0% { stroke-dashoffset: 169.6; } 14%, 92% { stroke-dashoffset: 61.7; } 100% { stroke-dashoffset: 169.6; } }
.oa-ring { animation: oaRing 10s cubic-bezier(.2,.7,.2,1) infinite; }
@keyframes oaCaret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.oa-caret { animation: oaCaret 0.9s steps(1) infinite; font-weight: 400; margin-left: 0.05em; }
@keyframes oaCert { 0%, 40% { opacity: 0; transform: translateY(1.4em) rotate(4deg); } 46%, 92% { opacity: 1; transform: rotate(2deg); } 97%, 100% { opacity: 0; transform: translateY(1.4em) rotate(4deg); } }
.oa-cert { animation: oaCert 10s cubic-bezier(.2,.7,.2,1) infinite; }
@media (prefers-reduced-motion: reduce) { .oa-bar, .oa-ring, .oa-caret, .oa-cert { animation: none; } }

/* Intake form */
.ff-lock, .ff-lock body { overflow: hidden; }
.ff-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(10,10,20,0.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity .25s ease; }
.ff-overlay.is-open { opacity: 1; }
.ff-overlay[hidden] { display: none; }
.ff-panel { position: relative; width: 100%; max-width: 720px; max-height: calc(100vh - 48px); overflow-y: auto; background: #FFFFFF; border-radius: 20px; box-shadow: 0 40px 120px rgba(10,10,40,0.22); transform: translateY(16px); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.ff-overlay.is-open .ff-panel { transform: none; }
.ff-body { padding: 56px 56px 48px; }
.ff-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); background: #FFF; font-size: 24px; line-height: 1; cursor: pointer; color: #000; }
.ff-close:hover { border-color: #000; }
.ff-kicker { margin: 0 0 18px; font-size: 13px; letter-spacing: 0.04em; color: var(--blue); }
.ff-title { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.04; font-weight: 300; letter-spacing: -0.02em; }
.ff-sub { margin: 16px 0 0; max-width: 520px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.ff-form { margin-top: 40px; display: flex; flex-direction: column; gap: 28px; }
.ff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.ff-field { display: flex; flex-direction: column; gap: 8px; }
.ff-field > span, .ff-set legend { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.ff-field input, .ff-field textarea { font: inherit; font-size: 18px; color: #000; border: 0; border-bottom: 1px solid var(--rule); padding: 8px 0 10px; background: transparent; border-radius: 0; outline: none; resize: vertical; transition: border-color .2s ease; }
.ff-field input::placeholder, .ff-field textarea::placeholder { color: #A9A9A3; }
.ff-field input:focus, .ff-field textarea:focus { border-bottom-color: var(--blue); }
.ff-set { border: 0; padding: 0; margin: 0; }
.ff-set legend { padding: 0; margin-bottom: 12px; }
.ff-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ff-chips input { position: absolute; opacity: 0; pointer-events: none; }
.ff-chips label { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 999px; font-size: 15px; cursor: pointer; user-select: none; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.ff-chips label:hover { border-color: #000; }
.ff-chips input:checked + label { background: #000; border-color: #000; color: #FFF; }
.ff-chips input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 2px; }
.ff-hp { position: absolute; left: -9999px; }
.ff-error { margin: 0; padding: 12px 16px; border-radius: 12px; background: #FDE7E3; color: #B3321C; font-size: 15px; }
.ff-error a { color: inherit; }
.ff-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.ff-submit { border: 0; cursor: pointer; font: inherit; font-size: 15px; }
.ff-submit:disabled { opacity: .6; cursor: default; }
.ff-note { font-size: 15px; color: var(--muted); }
.ff-done .btn { margin-top: 32px; border: 0; cursor: pointer; font: inherit; font-size: 15px; }
@media (max-width: 640px) {
  .ff-overlay { padding: 0; align-items: flex-end; }
  .ff-panel { max-height: 94vh; border-radius: 20px 20px 0 0; }
  .ff-body { padding: 56px 20px 32px; }
  .ff-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ff-overlay, .ff-panel { transition: none; } }

.ff-overlay [hidden] { display: none !important; }
.ff-check { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #FFF; font-size: 24px; margin-bottom: 28px; }
