/* Base layout: big confident headlines, alternating bands,
   bento tiles, and 9:16 reel frames as the recurring hero object (the work is vertical video, so the page is built around it). */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --tile: #ffffff;
  --tile-alt: #fbfbfd;
  --fg: #1d1d1f;
  --fg-2: #6e6e73;
  --fg-3: #86868b;
  --sep: rgba(0, 0, 0, .1);
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --link: #0066cc;
  --nav: rgba(251, 251, 253, .8);
  --frame: #1d1d1f;
  --draft: #bf4800;
  --draft-bg: rgba(191, 72, 0, .08);
  --shadow: 0 2px 4px rgba(0,0,0,.04), 0 12px 32px rgba(0,0,0,.08);

  --f-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --f-text: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  --wrap: 1068px;
  --wide: 1260px;
  --r-tile: 28px;
  --r-small: 18px;
  --gutter-l: max(22px, env(safe-area-inset-left, 0px));
  --gutter-r: max(22px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --bg-alt: #101012; --tile: #1c1c1e; --tile-alt: #161618;
    --fg: #f5f5f7; --fg-2: #a1a1a6; --fg-3: #86868b; --sep: rgba(255,255,255,.14);
    --accent: #0a84ff; --accent-hover: #409cff; --link: #2997ff;
    --nav: rgba(22, 22, 23, .8); --frame: #2c2c2e;
    --draft: #ff9f0a; --draft-bg: rgba(255, 159, 10, .12);
    --shadow: 0 2px 4px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --bg-alt: #101012; --tile: #1c1c1e; --tile-alt: #161618;
  --fg: #f5f5f7; --fg-2: #a1a1a6; --fg-3: #86868b; --sep: rgba(255,255,255,.14);
  --accent: #0a84ff; --accent-hover: #409cff; --link: #2997ff;
  --nav: rgba(22, 22, 23, .8); --frame: #2c2c2e;
  --draft: #ff9f0a; --draft-bg: rgba(255, 159, 10, .12);
  --shadow: 0 2px 4px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.5);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 17px/1.47 var(--f-text); letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--nav); }
img, video, svg { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; color: var(--fg); }
p { margin: 0; text-wrap: pretty; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--tile); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }

/* ---------- containers ---------- */
.band { padding-block: clamp(72px, 10vw, 120px); padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.band.alt { background: var(--bg-alt); }
.band.tight { padding-block: clamp(48px, 7vw, 80px); }
.wrap { max-width: var(--wrap); margin-inline: auto; }
.wide { max-width: var(--wide); margin-inline: auto; }
.stack { display: grid; gap: 16px; }

/* ---------- type scale ---------- */
.eyebrow { font: 600 clamp(17px, 1.6vw, 21px)/1.2 var(--f-display); letter-spacing: .004em; color: var(--fg-2); }
.eyebrow.accent { color: var(--draft); }
.h-hero { font-size: clamp(44px, 8vw, 96px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; }
.h-xl { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.06; font-weight: 700; letter-spacing: -.03em; }
.h-l { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
.h-m { font-size: clamp(21px, 2.2vw, 24px); line-height: 1.17; font-weight: 600; letter-spacing: -.012em; }
.lead { font: 400 clamp(19px, 2.1vw, 24px)/1.38 var(--f-display); color: var(--fg-2); letter-spacing: -.012em; max-width: 34em; }
.lead strong { color: var(--fg); font-weight: 600; }
.small { font-size: 14px; line-height: 1.43; color: var(--fg-2); letter-spacing: -.016em; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 56px); }

/* ---------- global nav ---------- */
.gnav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  border-bottom: 1px solid var(--sep);
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
}
/* the frosted glass sits on a pseudo-element, so the fixed mobile menu inside the nav is not trapped by backdrop-filter */
.gnav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--nav); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
body.menu-open .gnav::before { background: var(--bg); }
.gnav-in { max-width: var(--wide); margin-inline: auto; height: 52px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); font: 600 17px/1 var(--f-display); letter-spacing: -.02em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 26px; height: 26px; border-radius: 7px; background: var(--fg); color: var(--bg); display: grid; place-items: center; font: 700 12px/1 var(--f-display); letter-spacing: -.02em; }
.gnav-links { display: flex; gap: 26px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.gnav-links a { color: var(--fg); opacity: .8; font-size: 14px; letter-spacing: -.01em; padding-block: 16px; }
.gnav-links a:hover { opacity: 1; text-decoration: none; }
.gnav-links a[aria-current="page"] { opacity: 1; font-weight: 600; }
.gnav-cta { margin-left: 4px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; color: var(--fg); cursor: pointer; border-radius: 10px; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 5px auto; transition: transform .3s ease; }
body.menu-open .menu-btn span:first-child { transform: translateY(3.25px) rotate(45deg); }
body.menu-open .menu-btn span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .gnav-cta { display: none; }
  .gnav-links {
    position: fixed; inset: calc(53px + env(safe-area-inset-top, 0px)) 0 0 0; margin: 0;
    flex-direction: column; gap: 0; padding: 18px var(--gutter-r) 40px var(--gutter-l);
    background: var(--bg); visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s .25s;
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .gnav-links { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .gnav-links a { display: block; font: 600 28px/1.2 var(--f-display); letter-spacing: -.02em; padding-block: 10px; opacity: 1; }
  .gnav-links a[aria-current="page"] { color: var(--fg-2); }
}

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 22px;
  border-radius: 980px; border: 0; background: var(--accent); color: #fff; font: 400 17px/1.2 var(--f-text); letter-spacing: -.022em;
  cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--accent-hover); text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn.small-btn { min-height: 32px; padding: 6px 14px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
.btn.ghost:hover { background: var(--link); color: var(--bg); }
.btn.quiet { background: var(--bg-alt); color: var(--fg); }
.btn.quiet:hover { background: var(--sep); }
.more { font-size: 17px; white-space: nowrap; }
.more::after { content: " ›"; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.center .actions { justify-content: center; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(44px, 6vw, 80px); padding-bottom: 0; overflow: hidden; }
.hero .copy { display: grid; gap: 22px; justify-items: center; text-align: center; }
.hero .lead { max-width: 30em; }
.reel-stage { position: relative; height: clamp(380px, 44vw, 560px); margin-top: clamp(36px, 4.5vw, 56px); }
.reel-stage .phone {
  position: absolute; left: 50%; top: 0; width: clamp(190px, 24vw, 300px); aspect-ratio: 9 / 16; max-width: 70vw;
  border-radius: clamp(26px, 3.4vw, 42px); overflow: hidden; background: var(--frame);
  box-shadow: 0 0 0 clamp(5px, .7vw, 9px) var(--frame), 0 30px 60px -10px rgba(0,0,0,.35);
  transform: translateX(-50%) translateX(calc(var(--x, 0) * var(--spread, 1))) rotate(calc(var(--r, 0deg) * var(--spread, 1))) translateY(var(--y, 0));
  transition: transform .9s cubic-bezier(.2,.8,.2,1);
}
.reel-stage .phone video, .reel-stage .phone img { width: 100%; height: 100%; object-fit: cover; }
.reel-stage .phone.p1 { --x: -112%; --r: -9deg; --y: 9%; z-index: 1; }
.reel-stage .phone.p2 { --x: 0%; z-index: 3; }
.reel-stage .phone.p3 { --x: 112%; --r: 9deg; --y: 9%; z-index: 2; }
.reel-stage .phone.p0 { --x: -214%; --r: -16deg; --y: 26%; z-index: 0; }
.reel-stage .phone.p4 { --x: 214%; --r: 16deg; --y: 26%; z-index: 0; }
.reel-stage .tag {
  position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 980px;
  background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; font: 600 12px/1.2 var(--f-text); letter-spacing: -.01em;
}
@media (max-width: 640px) {
  .reel-stage { height: 380px; }
  .reel-stage .phone { width: 190px; }
  .reel-stage .phone.p0, .reel-stage .phone.p4 { display: none; }
  .reel-stage .phone.p1 { --x: -78%; } .reel-stage .phone.p3 { --x: 78%; }
}

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--sep); }
.stat { padding: 28px 24px 4px 0; display: grid; gap: 6px; align-content: start; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--sep); }
.stat-val { font: 700 clamp(40px, 5vw, 64px)/1 var(--f-display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.stat-label { font: 600 17px/1.3 var(--f-display); letter-spacing: -.01em; }
.stat-note { font-size: 14px; color: var(--fg-2); line-height: 1.4; }
@media (max-width: 820px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--sep); }
}

/* draft placeholders — visible only while entwurf = true */
.missing { color: var(--draft); }
.stat-val.missing, .kpi-val.missing { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.02em; padding-block: .3em; }
.missing-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 980px; background: var(--draft-bg); color: var(--draft); font: 600 12px/1.4 var(--f-text); letter-spacing: 0; }
.draft-box { border: 1.5px dashed color-mix(in srgb, var(--draft) 55%, transparent); background: var(--draft-bg); border-radius: var(--r-small); padding: 22px; color: var(--fg); }
.draft-box .missing-chip { margin-bottom: 8px; }
.draft-pill {
  position: fixed; z-index: 70; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 980px;
  background: var(--fg); color: var(--bg); font: 600 14px/1.2 var(--f-text); box-shadow: var(--shadow);
}
.draft-pill:hover { text-decoration: none; opacity: .92; }
.draft-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--draft); }

/* ---------- bento & tiles ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.tile { background: var(--tile); border-radius: var(--r-tile); padding: clamp(26px, 3.4vw, 44px); display: grid; gap: 14px; align-content: start; min-width: 0; position: relative; overflow: hidden; }
.band:not(.alt) .tile { background: var(--bg-alt); }
.tile.span-2 { grid-column: span 2; } .tile.span-3 { grid-column: span 3; } .tile.span-4 { grid-column: span 4; } .tile.span-6 { grid-column: span 6; }
.tile.link-tile { color: inherit; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.tile.link-tile:hover { text-decoration: none; transform: scale(1.012); box-shadow: var(--shadow); }
@media (max-width: 820px) { .bento { grid-template-columns: minmax(0, 1fr); } .tile[class*="span-"] { grid-column: auto; } }

/* client case tile on home */
.case-tile { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.case-tile .reels-mini { display: flex; gap: 12px; justify-content: flex-end; align-items: center; }
.case-tile .reels-mini img { width: 30%; max-width: 150px; height: auto; aspect-ratio: 9/16; object-fit: cover; border-radius: 16px; }
.case-tile .reels-mini img:nth-child(2) { transform: translateY(-14px); }
@media (max-width: 820px) { .case-tile { grid-template-columns: minmax(0, 1fr); } .case-tile .reels-mini { justify-content: flex-start; } }

/* ---------- quotes ---------- */
.quote { display: grid; gap: 20px; }
.quote blockquote { margin: 0; font: 600 clamp(24px, 3vw, 34px)/1.22 var(--f-display); letter-spacing: -.022em; text-wrap: balance; }
.quote figcaption { font-size: 17px; color: var(--fg-2); }
.quote figcaption strong { color: var(--fg); font-weight: 600; display: block; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; }
.quotes .quote { background: var(--tile); border-radius: var(--r-tile); padding: clamp(28px, 4vw, 48px); margin: 0; }
.band:not(.alt) .quotes .quote { background: var(--bg-alt); }

/* ---------- reel cards ---------- */
.segmented { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 980px; background: var(--bg-alt); margin-bottom: 36px; max-width: 100%; }
.band.alt .segmented { background: var(--tile); }
.segmented button { min-height: 36px; padding: 6px 16px; border: 0; border-radius: 980px; background: transparent; color: var(--fg); font: 400 14px/1 var(--f-text); letter-spacing: -.01em; cursor: pointer; }
.segmented button[aria-pressed="true"] { background: var(--fg); color: var(--bg); font-weight: 600; }
.reels { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 28px 20px; }
.reels.row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 820px) { .reels.row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .reels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; } }
.reel { display: grid; gap: 12px; color: inherit; text-align: left; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; min-width: 0; }
.reel:hover { text-decoration: none; }
.reel .media { position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--frame); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease; }
.reel:hover .media { transform: translateY(-4px); box-shadow: var(--shadow); }
.reel .media img, .reel .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel .media video { opacity: 0; transition: opacity .3s ease; }
.reel.playing .media video { opacity: 1; }
.reel .play { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.22); -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%); color: #fff; }
.reel .play svg { width: 14px; height: 14px; margin-left: 2px; }
.reel .meta { display: grid; gap: 2px; }
.reel .meta b { font: 600 17px/1.25 var(--f-display); letter-spacing: -.015em; }
.reel .meta span { font-size: 14px; color: var(--fg-2); }
.reel .fmt { position: absolute; left: 12px; top: 12px; padding: 4px 8px; border-radius: 8px; background: rgba(0,0,0,.4); color: #fff; font: 500 11px/1.2 var(--f-mono); letter-spacing: .02em;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ---------- player ---------- */
dialog.player { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; overflow: hidden; }
dialog.player::backdrop { background: rgba(0,0,0,.82); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.player-in { height: 100%; display: grid; place-items: center; padding: calc(64px + env(safe-area-inset-top, 0px)) 16px calc(28px + env(safe-area-inset-bottom, 0px)); }
.player figure { margin: 0; display: grid; gap: 14px; justify-items: center; height: 100%; max-height: 860px; }
.player video { height: 100%; max-height: calc(100dvh - 160px); width: auto; aspect-ratio: 9/16; max-width: 92vw; border-radius: 24px; background: #000; object-fit: contain; }
.player figcaption { color: #f5f5f7; text-align: center; font-size: 15px; }
.player figcaption b { display: block; font: 600 19px/1.3 var(--f-display); }
.player .close { position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); right: calc(14px + env(safe-area-inset-right, 0px)); width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.16); color: #fff; display: grid; place-items: center; }
.player .close:hover { background: rgba(255,255,255,.26); }

/* ---------- clients list ---------- */
.clients { display: grid; gap: 20px; }
.client { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 32px; align-items: center; background: var(--tile); border-radius: var(--r-tile); padding: clamp(24px, 3vw, 36px); }
.band:not(.alt) .client { background: var(--bg-alt); }
.client .logo { height: 96px; border-radius: var(--r-small); background: #fff; display: grid; place-items: center; padding: 18px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.client .logo img { max-height: 54px; width: auto; }
.client .logo .word { font: 700 22px/1.1 var(--f-display); letter-spacing: -.02em; color: #1d1d1f; text-align: center; }
.client .info { display: grid; gap: 8px; min-width: 0; }
.client .thumbs { display: flex; gap: 8px; }
.client .thumbs img { width: 56px; height: auto; aspect-ratio: 9/16; object-fit: cover; border-radius: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 4px 11px; border-radius: 980px; background: var(--bg-alt); font-size: 13px; color: var(--fg); letter-spacing: -.01em; }
.band:not(.alt) .client .chip { background: var(--tile); }
.client .facts { font-size: 14px; color: var(--fg-2); }
@media (max-width: 820px) { .client { grid-template-columns: minmax(0, 1fr); gap: 18px; } .client .logo { height: 80px; } }

/* ---------- case study ---------- */
.case-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 96px); align-items: center; }
.phone-solo { width: clamp(220px, 24vw, 300px); aspect-ratio: 9 / 16; border-radius: 40px; overflow: hidden; background: var(--frame);
  box-shadow: 0 0 0 9px var(--frame), 0 40px 80px -20px rgba(0,0,0,.35); transform: rotate(3deg); margin-right: 12px; }
.phone-solo video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .case-top { grid-template-columns: minmax(0, 1fr); } .phone-solo { justify-self: center; width: 230px; transform: none; margin: 0; } }
.case-hero { display: grid; gap: 18px; }
.case-hero .handle { font-size: 17px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.kpi { background: var(--tile); border-radius: var(--r-small); padding: 24px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.kpi-val { font: 700 clamp(32px, 3.6vw, 44px)/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpi-label { font-size: 14px; color: var(--fg-2); }
@media (max-width: 820px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.chapters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.chapters h3 { font-size: 21px; font-weight: 600; letter-spacing: -.012em; margin-bottom: 10px; }
.chapters p { color: var(--fg-2); }
@media (max-width: 820px) { .chapters { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.pager { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- services & steps ---------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; }
.service li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; color: var(--fg-2); }
.service li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; transform: translateY(-2px); }
.service p { color: var(--fg-2); }
@media (max-width: 820px) { .services { grid-template-columns: minmax(0, 1fr); } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.steps li { display: grid; gap: 8px; counter-increment: s; align-content: start; border-top: 1px solid var(--sep); padding-top: 20px; }
.steps li::before { content: counter(s); font: 600 14px/1 var(--f-mono); color: var(--accent); }
.steps h3 { font-size: 21px; font-weight: 600; letter-spacing: -.012em; }
.steps p { color: var(--fg-2); font-size: 15px; }
@media (max-width: 820px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--r-tile); overflow: hidden; background: var(--bg-alt); display: grid; place-items: center; position: relative; }
.band.alt .portrait { background: linear-gradient(160deg, var(--tile), var(--tile-alt)); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .mono-mark { font: 700 clamp(80px, 12vw, 150px)/1 var(--f-display); letter-spacing: -.05em; color: var(--fg); opacity: .1; }
.portrait .missing-chip { position: absolute; left: 16px; bottom: 16px; }
@media (max-width: 820px) { .about { grid-template-columns: minmax(0, 1fr); } .portrait { max-width: 420px; } }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; padding-block: 22px; border-top: 1px solid var(--sep); }
.timeline li:last-child { border-bottom: 1px solid var(--sep); }
.timeline .when { font: 600 15px/1.5 var(--f-text); color: var(--fg-2); font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: 21px; font-weight: 600; letter-spacing: -.012em; }
.timeline .where { font-size: 15px; color: var(--fg-2); }
.timeline p { color: var(--fg-2); margin-top: 4px; }
@media (max-width: 640px) { .timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.gear { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 16px; }
.gear div { background: var(--tile); border-radius: var(--r-small); padding: 20px; display: grid; gap: 2px; }
.band:not(.alt) .gear div { background: var(--bg-alt); }
.gear b { font: 600 17px/1.3 var(--f-display); }
.gear span { font-size: 14px; color: var(--fg-2); }

/* ---------- photos ---------- */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; border-radius: var(--r-small); overflow: hidden; background: var(--bg-alt); }
.gallery img { width: 100%; height: auto; }
.gallery figcaption { padding: 10px 14px; font-size: 14px; color: var(--fg-2); }
.empty-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.empty-grid div { border-radius: var(--r-small); background: var(--bg-alt); }
.empty-grid div:nth-child(1) { aspect-ratio: 4/5; } .empty-grid div:nth-child(2) { aspect-ratio: 1; } .empty-grid div:nth-child(3) { aspect-ratio: 4/5; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 820px) { .contact { grid-template-columns: minmax(0, 1fr); } }
form.card { background: var(--tile); border-radius: var(--r-tile); padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 16px; }
.band:not(.alt) form.card { background: var(--bg-alt); }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.field input, .field textarea, .field select {
  font: 400 17px/1.35 var(--f-text); letter-spacing: -.02em; color: var(--fg); background: var(--bg); border: 1px solid var(--sep);
  border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: minmax(0, 1fr); } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--fg-2); }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); flex: none; }
.form-note { font-size: 14px; padding: 12px 14px; border-radius: 12px; background: var(--bg-alt); }
.side-list { display: grid; gap: 28px; }
.side-list h3 { font-size: 14px; font-weight: 600; color: var(--fg-2); font-family: var(--f-text); letter-spacing: -.01em; margin-bottom: 6px; }
.side-list .big { font: 600 21px/1.3 var(--f-display); letter-spacing: -.015em; word-break: break-word; }
.copy-btn { margin-top: 10px; }

/* ---------- legal ---------- */
.legal { max-width: 720px; }
.legal h2 { font-size: 24px; font-weight: 600; margin: 36px 0 10px; letter-spacing: -.015em; }
.legal p, .legal li { color: var(--fg-2); }
.legal p + p { margin-top: 12px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; display: grid; gap: 20px; justify-items: center; }

/* ---------- footer ---------- */
.foot { background: var(--bg-alt); padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); padding-left: var(--gutter-l); padding-right: var(--gutter-r); font-size: 12px; line-height: 1.5; color: var(--fg-2); letter-spacing: -.01em; }
.foot-in { max-width: var(--wide); margin-inline: auto; display: grid; gap: 20px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--sep); }
.foot h4 { margin: 0 0 8px; font-size: 12px; font-weight: 600; color: var(--fg); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: var(--fg-2); }
.foot a:hover { color: var(--fg); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.foot-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 640px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- motion ---------- */
.reveal { transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .9s ease; }
.js .reveal.below { transform: translateY(28px); opacity: .001; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal.below { transform: none; opacity: 1; }
}

.only-mobile { display: none; }
@media (max-width: 860px) { .only-mobile { display: block; } }


/* ---------- view counts on reels ---------- */
.reel .views { position: absolute; left: 12px; bottom: 14px; display: inline-flex; align-items: center; gap: 5px; color: #fff; font: 600 14px/1 var(--f-text); letter-spacing: -.01em; text-shadow: 0 1px 6px rgba(0,0,0,.6); font-variant-numeric: tabular-nums; }
.reel .views svg { filter: drop-shadow(0 1px 4px rgba(0,0,0,.6)); }

/* ---------- top reels ranking ---------- */
.toplist { display: grid; gap: 18px; }
.toplist ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: r; }
.toplist li { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr) 6.5em; gap: 18px; align-items: center; padding-block: 10px; border-top: 1px solid var(--sep); counter-increment: r; }
.toplist .t { font-size: 15px; color: var(--fg); min-width: 0; }
.toplist .t::before { content: counter(r) "  "; font: 600 13px/1 var(--f-mono); color: var(--fg-3); white-space: pre; }
.toplist .bar { height: 10px; border-radius: 980px; background: var(--bg-alt); overflow: hidden; }
.toplist .bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.toplist li:first-child .bar i { background: linear-gradient(90deg, var(--accent), #5e5ce6); }
.toplist .v { font: 600 17px/1 var(--f-display); text-align: right; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
@media (max-width: 640px) { .toplist li { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; } .toplist .bar { grid-column: 1 / -1; grid-row: 2; } }

/* ---------- photo gallery ---------- */
.gallery.reels { display: block; columns: 3 300px; column-gap: 16px; }
.gallery figure { display: block; margin: 0 0 16px; break-inside: avoid; background: none; border-radius: 0; overflow: visible; }
.gallery .photo { display: block; width: 100%; padding: 0; border: 0; background: var(--bg-alt); border-radius: var(--r-small); overflow: hidden; cursor: zoom-in; }
.gallery .photo img { width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.gallery .photo:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 8px 2px 0; font-size: 13px; color: var(--fg-2); }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; display: none; place-items: center; }
dialog.lightbox[open] { display: grid; }
dialog.lightbox::backdrop { background: rgba(0,0,0,.88); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
dialog.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100dvh - 120px); border-radius: 14px; }
dialog.lightbox .close { position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); right: calc(14px + env(safe-area-inset-right, 0px)); width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.16); color: #fff; display: grid; place-items: center; }

.kpi .missing-chip, .stat .missing-chip { justify-self: start; }

.stat-val { white-space: nowrap; font-size: clamp(36px, 4.4vw, 56px); }

/* ---------- live / concert ---------- */
.band.live { background: #000; color: #f5f5f7; }
.band.live h2 { color: #f5f5f7; }
.band.live .eyebrow { color: #ff9f0a; }
.band.live .lead { color: #a1a1a6; }
.live-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 48px); max-width: 760px; }
.live-video { position: relative; border-radius: var(--r-tile); overflow: hidden; aspect-ratio: 16 / 9; max-width: 100%; background: #111; }
.live-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.live-dot { position: absolute; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 980px; background: rgba(0,0,0,.5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; font: 600 13px/1 var(--f-text); }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff453a; animation: livepulse 1.6s ease-in-out infinite; }
@keyframes livepulse { 50% { opacity: .3; } }
.live-photos { columns: 4 220px; column-gap: 12px; margin-top: 12px; }
.live-photos .photo { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; background: #111; border-radius: var(--r-small); overflow: hidden; break-inside: avoid; cursor: zoom-in; }
.live-photos img { width: 100%; height: auto; display: block; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.live-photos .photo:hover img { transform: scale(1.03); }
@media (max-width: 640px) { .live-photos { columns: 2; } }

/* ---------- Instagram link cards (no embed) ---------- */
.reel.ig { text-decoration: none; }
.ig-media { display: grid; place-items: center; align-content: center; gap: 14px; color: #fff;
  background: linear-gradient(160deg, #feda75 0%, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5 100%); }
.ig-cta { font: 600 15px/1.2 var(--f-text); padding: 8px 14px; border-radius: 980px; background: rgba(255,255,255,.2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ---------- photos grouped by client ---------- */
.reels.gal-groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 72px); }
.gal-group { display: grid; gap: 20px; cursor: default; }
.gal-group h2 span { font-weight: 400; color: var(--fg-2); font-size: 17px; margin-left: 6px; }
.gal-group .gallery { columns: 3 300px; column-gap: 16px; }

/* ---------- photo grids (Safari-safe) ---------- */
.live-photos { columns: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(240px, 27vw, 380px); grid-auto-flow: dense; gap: 12px; }
.live-photos .photo { margin: 0; height: 100%; }
.live-photos .photo.wide { grid-column: span 2; }
.live-photos img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.gal-group .gallery { columns: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(240px, 27vw, 380px); grid-auto-flow: dense; gap: 12px; }
.gal-group .gallery figure { position: relative; margin: 0; height: 100%; min-width: 0; }
.gal-group .gallery figure.wide { grid-column: span 2; }
.gal-group .gallery .photo { height: 100%; }
.gal-group .gallery .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.gal-group .gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; color: #fff; font-size: 13px;
  background: linear-gradient(transparent, rgba(0,0,0,.6)); border-radius: 0 0 var(--r-small) var(--r-small); pointer-events: none; }
@media (max-width: 640px) {
  .live-photos, .gal-group .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 250px; gap: 8px; }
}
