/* Michiel de Koning: personal site and case studies.
   One stylesheet for every page. Clean, white, Inter; colour comes from the work itself. */

:root {
  --bg: #ffffff;
  --ink: #111111;
  --ink-2: rgba(17, 17, 17, .62);
  --ink-3: rgba(17, 17, 17, .45);
  --line: rgba(17, 17, 17, .09);
  --soft: #f5f5f2;
  --soft-2: #ecebe6;
  --accent: #ffcc29;
  --accent-ink: #7a5600;
  --accent-soft: #fff4cc;
  --dark: #121212;
  --dark-2: #1c1c1c;
  --radius: 28px;
  --radius-lg: 36px;
  --wrap: 1200px;
  --gutter: 24px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1.04; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 120px 0; }
.section-sm { padding: 72px 0; }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.lede { font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 560px; }
.muted { color: var(--ink-2); }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(36px, 4.6vw, 56px); max-width: 720px; }
.section-head p { font-size: 18px; color: var(--ink-2); max-width: 420px; }

/* Pills and buttons */
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-ink); font-size: 14px; font-weight: 600; line-height: 1.2;
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: #2fa866; box-shadow: 0 0 0 4px rgba(47, 168, 102, .16); }
.pill-quiet { background: var(--soft); color: var(--ink-2); }
.pill + .pill { margin-left: 6px; }
.pill-dark { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .85); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2a2a2a; }
.btn-ghost { background: #fff; color: var(--ink); border-color: rgba(17, 17, 17, .16); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.arrow { display: inline-block; transition: transform .2s ease; }
a:hover .arrow { transform: translateX(3px); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; letter-spacing: -.02em; }
.nav ul { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav ul a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .2s; }
.nav ul a:not(.btn):hover { color: var(--ink); }

/* Home: hero */
.hero { padding: 64px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(48px, 6.6vw, 88px); margin: 24px 0 24px; }
/* Yellow is too light to read as text on white, so it works as a highlighter mark instead. */
.hero h1 span, .mission span { background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 94%, transparent 94%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .06em; }
.hero .lede { margin-bottom: 36px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.proof { display: flex; gap: 32px; margin-top: 48px; flex-wrap: wrap; }
.proof b { display: block; font-size: 26px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.proof span { font-size: 14px; color: var(--ink-2); line-height: 1.4; display: block; max-width: 150px; margin-top: 4px; }

.hero-visual { position: relative; }
.hero-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--soft); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-visual .phone { position: absolute; width: 41%; right: -4%; bottom: -8%; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff;
  background: rgba(20, 20, 20, .62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4);
}
.chip svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: #fff; color: var(--ink); flex: none; }
.chip-a { left: 24px; top: 24px; }
.chip-b { left: 24px; bottom: 24px; }
.hero-caption { margin-top: 28px; display: flex; gap: 20px; flex-wrap: wrap; align-items: center; font-size: 14px; font-weight: 600; }
.hero-caption ol { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.hero-caption li { display: flex; align-items: center; gap: 8px; }
.hero-caption li b { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 12px; }

/* Phone frame around real app screenshots */
.phone { border-radius: 44px; padding: 9px; background: #0b0b0b; box-shadow: 0 50px 90px -35px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.phone img { width: 100%; aspect-ratio: 600 / 1300; object-fit: cover; object-position: top; border-radius: 35px; }
/* App Store screenshots are finished designs already, so they get no phone frame. */
.store { border-radius: 30px; overflow: hidden; background: #000; box-shadow: 0 50px 90px -35px rgba(0, 0, 0, .55); }
.store img { width: 100%; aspect-ratio: 600 / 1298; object-fit: cover; }

/* Brands strip */

/* Home: work */
.case-feature {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center;
  background: var(--dark); color: #fff; border-radius: var(--radius-lg); padding: 64px; overflow: hidden;
  text-decoration: none; position: relative; isolation: isolate;
}
.case-feature::before { content: ""; position: absolute; inset: auto -10% -60% 40%; height: 120%; background: radial-gradient(closest-side, rgba(255, 204, 41, .3), transparent); z-index: -1; }
.case-feature h3 { font-size: clamp(36px, 4.4vw, 56px); margin: 18px 0 16px; }
.case-feature p { color: rgba(255, 255, 255, .7); font-size: 18px; max-width: 440px; }
.case-feature .more { display: inline-block; margin-top: 32px; font-weight: 600; font-size: 16px; }
.fan { position: relative; height: 560px; }
.fan .phone { position: absolute; width: 42%; top: 50%; left: 50%; }
.fan .phone:nth-child(1) { transform: translate(-128%, -46%) rotate(-7deg); }
.fan .phone:nth-child(2) { transform: translate(-50%, -54%); z-index: 2; }
.fan .phone:nth-child(3) { transform: translate(28%, -46%) rotate(7deg); }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }
.case-card { text-decoration: none; display: block; }
.case-card .media { position: relative; border-radius: var(--radius); overflow: hidden; height: 500px; display: flex; justify-content: center; align-items: flex-start; padding-top: 48px; isolation: isolate; }
.case-card .media .award { position: absolute; top: 18px; left: 18px; z-index: 1; padding: 7px 13px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.2; }
.case-card .media .phone, .case-card .media .store { width: min(58%, 270px); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.case-card:hover .media .phone, .case-card:hover .media .store { transform: translateY(-10px); }
.case-card .body { padding: 22px 4px 0; }
.case-card .app-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.app-icon { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 0 0 1px var(--line); flex: none; }
.case-card h3 { font-size: 26px; }
.case-card .kicker { font-size: 14px; color: var(--ink-3); }
.case-card p { color: var(--ink-2); font-size: 16px; }
.case-card .more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 15px; }
.bg-memories { background: #000; }
.bg-memories::before { content: ""; position: absolute; inset: 0; background: url(/img/memories-cardback.webp) center / 240px repeat; opacity: .28; z-index: -1; }
.bg-colors { background: linear-gradient(150deg, #ffd9e4 0%, #fff1d6 48%, #d4f1e2 100%); }
.bg-parakiting { background: url(/img/parakiting-photo.webp) 30% center / cover; }
.bg-booth { background: var(--dark); }
.bg-roundnet { background: linear-gradient(160deg, #fff6d6 0%, #f8d97c 62%, #e8b128 100%); }


/* Home: services */
.services { background: var(--soft); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { background: #fff; border-radius: 24px; padding: 30px 28px 32px; display: flex; flex-direction: column; }
.service .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 28px; }
.service .ico svg { width: 24px; height: 24px; }
.service h3 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 10px; }
.service p { font-size: 15.5px; color: var(--ink-2); }
.service .eg { margin-top: auto; padding-top: 22px; font-size: 14px; color: var(--ink-3); }
.service .eg b { color: var(--ink); font-weight: 600; }

.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px; counter-reset: step; }
.how div { border-top: 1px solid rgba(17, 17, 17, .18); padding-top: 22px; }
.how b { display: block; font-size: 17px; margin-bottom: 6px; }
.how b::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 13px; color: var(--accent-ink); letter-spacing: .06em; margin-bottom: 10px; }
.how span { font-size: 15px; color: var(--ink-2); }

/* Home: about */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.about-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.6; position: relative; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo figcaption { position: absolute; left: 20px; bottom: 20px; }
.about-photo figcaption .pill { background: rgba(0, 0, 0, .6); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.about h2 { font-size: clamp(36px, 4.6vw, 56px); margin: 18px 0 24px; }
.about p + p { margin-top: 16px; }
.about .copy p { font-size: 18px; color: var(--ink-2); }
.about .copy p strong { color: var(--ink); font-weight: 600; }
.ventures { list-style: none; padding: 0; margin: 36px 0 0; border-top: 1px solid var(--line); }
.ventures li { border-bottom: 1px solid var(--line); font-size: 15px; }
.ventures .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 0; text-decoration: none; }
.ventures b { font-weight: 600; }
.ventures small { margin-left: 6px; font-size: 13px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.ventures a.row:hover small { color: var(--accent-ink); }
.ventures span { color: var(--ink-2); text-align: right; }
.mission { margin-top: 36px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.35; }

/* Call to action panel */
.cta-panel { background: var(--dark); color: #fff; border-radius: var(--radius-lg); padding: 96px 64px; text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-panel::before { content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: 40%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 204, 41, .26), transparent); z-index: -1; }
.cta-panel h2 { font-size: clamp(40px, 5.6vw, 72px); max-width: 860px; margin: 22px auto 22px; }
.cta-panel p { font-size: 19px; color: rgba(255, 255, 255, .7); max-width: 560px; margin: 0 auto 36px; }
.cta-panel .ctas { justify-content: center; }
.cta-panel .mail { display: block; margin-top: 22px; color: rgba(255, 255, 255, .6); font-size: 15px; }

/* Footer */
footer { padding: 40px 0 56px; font-size: 14px; color: var(--ink-3); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
footer a { color: var(--ink-2); }

/* Case study pages */
.case-hero { padding: 40px 0 0; }
.back { display: flex; width: fit-content; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; margin-bottom: 40px; }
.back:hover { color: var(--ink); }
.case-hero h1 { font-size: clamp(52px, 8vw, 104px); margin: 20px 0 24px; }
.case-hero .lede { max-width: 720px; font-size: 22px; }
.meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 56px 0 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.meta dt { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.meta dd { margin: 0; font-size: 16px; line-height: 1.5; }

.showcase { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 72px 40px 0; display: flex; justify-content: center; gap: 32px; isolation: isolate; height: 640px; }
.showcase .phone, .showcase .store { width: 280px; flex: none; }
.showcase .store { align-self: flex-start; }
.showcase > :nth-child(2) { margin-top: -28px; }
.showcase-photo { padding: 0; height: auto; aspect-ratio: 16 / 8; }
.showcase-photo img { width: 100%; height: 100%; object-fit: cover; }
.caption { font-size: 14px; color: var(--ink-3); margin-top: 14px; }

/* Real photos and short films, side by side */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--dark); aspect-ratio: 4 / 5; }
.gallery video, .gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* A vertical film with sound and its own controls */
.film { margin: 0; max-width: 380px; border-radius: var(--radius); overflow: hidden; background: var(--dark); aspect-ratio: 9 / 16; }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; }

.split { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding: 96px 0; border-bottom: 1px solid var(--line); }
.split:last-of-type { border-bottom: 0; }
.split h2 { font-size: 30px; letter-spacing: -.03em; }
.split .copy { font-size: 19px; color: var(--ink-2); max-width: 720px; }
.split .copy p + p { margin-top: 18px; }
.split .copy strong { color: var(--ink); font-weight: 600; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 8px; }
.feature { background: var(--soft); border-radius: 22px; padding: 28px; }
.feature h3 { font-size: 19px; letter-spacing: -.02em; margin-bottom: 8px; }
.feature p { font-size: 15.5px; color: var(--ink-2); }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flow figure { margin: 0; }
.flow .phone { border-radius: 36px; padding: 7px; }
.flow .phone img { border-radius: 29px; }
.flow .store { border-radius: 24px; }
.flow figcaption { margin-top: 20px; }
.flow figcaption b { display: block; font-size: 17px; margin-bottom: 4px; }
.flow figcaption b::before { content: attr(data-n); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; margin-right: 10px; vertical-align: 2px; }
.flow figcaption span { font-size: 15px; color: var(--ink-2); }

.results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.result { background: var(--soft); border-radius: 24px; padding: 32px 28px; }
.result b { display: block; font-size: clamp(44px, 5vw, 64px); font-weight: 700; letter-spacing: -.045em; line-height: 1; margin-bottom: 12px; }
.result span { font-size: 15px; color: var(--ink-2); }
.result.hl { background: var(--accent); }
.result.hl span { color: rgba(17, 17, 17, .7); }

.stack { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.stack li { list-style: none; padding: 9px 16px; border-radius: 999px; background: var(--soft); font-size: 14.5px; font-weight: 500; }
.stack { padding: 0; }

.next { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 40px; border-radius: var(--radius); background: var(--soft); text-decoration: none; transition: background .2s; }
.next:hover { background: var(--soft-2); }
.next .eyebrow { margin-bottom: 8px; }
.next h3 { font-size: clamp(30px, 3.6vw, 44px); }
.next .app-icon { width: 72px; height: 72px; border-radius: 18px; }

/* The booth's "Your card" screen, rebuilt in HTML around the printed card design.
   Sizes use container units so it scales with whatever phone frame it sits in. */
.phone-card { container-type: inline-size; }
.card-screen { aspect-ratio: 600 / 1300; border-radius: 35px; background: #141414; color: #fff; display: flex; flex-direction: column; padding: 9cqw 7cqw 8cqw; }
.flow .card-screen { border-radius: 29px; }
.card-screen .label { font-size: 3.6cqw; letter-spacing: .14em; color: rgba(255, 255, 255, .55); }
.card-screen .sub { font-size: 4.6cqw; color: rgba(255, 255, 255, .55); margin-top: 1.5cqw; line-height: 1.3; }
.card-screen .cta { margin-top: auto; height: 13cqw; border-radius: 3.5cqw; background: #2d4596; display: grid; place-items: center; font-size: 4cqw; font-weight: 700; letter-spacing: .12em; }
.score-card { position: relative; margin: auto 7cqw; border-radius: 5cqw; overflow: hidden; background: #0d0d0d; aspect-ratio: 3 / 4.4; }
.score-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.score-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#0d0d0d 0%, rgba(13, 13, 13, 0) 24%, rgba(13, 13, 13, 0) 58%, #0d0d0d 86%); }
.score-card .top, .score-card .bottom { position: absolute; left: 5cqw; right: 5cqw; z-index: 1; }
.score-card .top { top: 4cqw; display: flex; justify-content: space-between; align-items: baseline; gap: 2cqw; }
.score-card .wordmark { font-size: 6.4cqw; letter-spacing: .04em; }
.score-card .score { font-size: 3.4cqw; white-space: nowrap; }
.score-card .score b { font-size: 8.4cqw; color: #f07b2c; margin-left: 1cqw; letter-spacing: -.03em; }
.score-card .bottom { bottom: 4cqw; font-size: 3.6cqw; line-height: 1.35; }
.score-card .bottom b { display: block; font-size: 3.9cqw; }
.score-card .bottom small { color: rgba(255, 255, 255, .6); font-size: 3.3cqw; }

/* Before / after comparison slider (Colors) */
.ba { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; --pos: 50%; user-select: none; background: var(--soft); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-top { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); z-index: 2; pointer-events: none; }
.ba .handle::after { content: "↔"; position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-weight: 700; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.ba .tag { position: absolute; top: 18px; z-index: 2; pointer-events: none; background: rgba(0, 0, 0, .6); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ba .tag-l { left: 18px; }
.ba .tag-r { right: 18px; }
.ba input:focus-visible ~ .handle::after { outline: 3px solid var(--accent); }

/* Legal pages (privacy policies) */
.legal { max-width: 760px; margin: 0 auto; padding: 56px var(--gutter) 96px; }
.legal h1 { font-size: clamp(40px, 6vw, 60px); margin-bottom: 14px; }
.legal .meta { display: block; margin: 0 0 40px; padding: 0; border: 0; color: var(--ink-3); font-size: 15px; }
.legal h2 { font-size: 24px; letter-spacing: -.02em; margin: 44px 0 14px; }
.legal h3 { font-size: 18px; letter-spacing: -.01em; margin: 28px 0 10px; }
.legal p, .legal li { font-size: 16.5px; color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 6px; }

/* Reveal on scroll (only when JS is running, so content never stays hidden) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .case-card .media .phone, .case-card .media .store { transition: none; }
}

/* Tablet */
@media (max-width: 1040px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; }
  .case-feature { grid-template-columns: 1fr; padding: 48px 40px; }
  .fan { height: 480px; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .service-grid, .results { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .split { grid-template-columns: 1fr; gap: 20px; padding: 72px 0; }
  .meta { grid-template-columns: 1fr 1fr; }
  .about-photo { max-width: 520px; }
  .showcase { height: 560px; }
  .showcase .phone, .showcase .store { width: 240px; }
}

/* Phone */
@media (max-width: 720px) {
  .ventures .row { flex-direction: column; gap: 2px; }
  .ventures span { text-align: left; }
  :root { --gutter: 16px; --radius: 22px; --radius-lg: 26px; }
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .nav .wrap { height: 64px; }
  .nav ul li:not(:last-child) { display: none; }
  .hero { padding: 32px 0 72px; }
  .hero h1 { margin: 20px 0; }
  .lede { font-size: 18px; }
  .ctas .btn { flex: 1 1 auto; }
  .proof { gap: 24px; }
  .proof div { flex: 1 1 40%; }
  .hero-visual .phone { width: 40%; right: -2%; }
  .chip { font-size: 13px; }
  .hero-caption ol { gap: 14px; }
  .section-head { margin-bottom: 36px; }
  .case-feature { padding: 36px 24px; }
  .fan { height: 360px; }
  .fan .phone { width: 46%; }
  .case-grid, .service-grid, .features, .results { grid-template-columns: 1fr; }
  .case-card .media { height: 420px; }
  .how { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .cta-panel { padding: 64px 22px; }
  .case-hero .lede { font-size: 19px; }
  .meta { gap: 20px; margin: 40px 0 36px; }
  .showcase { height: 440px; padding: 40px 0 0; gap: 14px; }
  .showcase .phone, .showcase .store { width: 170px; }
  .showcase .phone { border-radius: 30px; padding: 6px; }
  .showcase .phone img { border-radius: 25px; }
  .showcase .store { border-radius: 20px; }
  .showcase > :nth-child(3) { display: none; }
  .flow .store { border-radius: 16px; }
  .gallery { grid-template-columns: 1fr; gap: 14px; }
  .showcase-photo { aspect-ratio: 4 / 3; height: auto; padding: 0; }
  .flow { grid-template-columns: 1fr 1fr; gap: 32px 14px; }
  .flow figcaption span { font-size: 14px; }
  .split { padding: 56px 0; }
  .split .copy { font-size: 17px; }
  .next { padding: 28px 24px; }
  .next .app-icon { width: 56px; height: 56px; border-radius: 14px; }
  .about-grid { gap: 40px; }
}
