/* =========================================================
   Dariusch Zadeh — personal site
   Light, Apple-ish, slightly techy. Liquid-glass nav after loavillas.com
   ========================================================= */

:root {
  --bg: #F4F3EF;
  --bg-2: #ECEAE4;
  --sand: #EFE7DB;
  --card: #FFFFFF;
  --ink: #141412;
  --ink-2: #34322D;
  --muted: #6B675F;
  --muted-2: #9C978D;
  --line: rgba(20, 20, 18, .09);
  --line-2: rgba(20, 20, 18, .16);
  --accent: #E4572E;
  --accent-2: #FF7A4D;
  --accent-soft: rgba(228, 87, 46, .1);
  --ok: #22A565;
  --ph: #B7791F;
  --ph-bg: rgba(214, 158, 46, .14);

  --d-bg: #0C0C0B;
  --d-card: rgba(255, 255, 255, .045);
  --d-line: rgba(255, 255, 255, .09);
  --d-ink: #F4F3EF;
  --d-muted: #A29E95;

  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;

  --max: 1180px;
  --gut: clamp(16px, 4vw, 32px);
  --r: 22px;
  --r-sm: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(20, 20, 18, .04), 0 12px 32px -16px rgba(20, 20, 18, .14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.section { position: relative; padding: clamp(84px, 11vw, 148px) 0; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); flex: none; }
.eyebrow--num::before { display: none; }
.eyebrow.ph::before { background: var(--ph); }

.h2 {
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.h2 em, .hero__title em, .contact__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--muted);
}
.is-dark .h2 em { color: var(--d-muted); }
.h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.025em;
  margin-bottom: 14px;
  text-wrap: balance;
}
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 640px; text-wrap: pretty; }
p { text-wrap: pretty; }
p + p { margin-top: 14px; }
.muted { color: var(--muted); }
.fineprint { margin-top: 18px; font-size: 13px; color: var(--muted-2); font-family: var(--mono); letter-spacing: .01em; }

.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.head .lead { margin-top: 22px; }
.head--center { text-align: center; margin-left: auto; margin-right: auto; }
.head--center .lead { margin-left: auto; margin-right: auto; }

/* placeholders – visible on purpose while drafting */
.ph {
  color: var(--ph);
  background: var(--ph-bg);
  border-radius: 6px;
  padding: 0 .3em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.ph-note { display: inline-block; margin-top: 16px; font-size: 14px; line-height: 1.5; padding: 6px 10px; border-radius: 10px; }
dt.ph { display: inline-block; padding: 0 .15em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 24px;
  border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -.01em;
  border: 1px solid transparent;
  transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease);
  white-space: nowrap;
}
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: var(--accent); }
.btn--ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .5); }
.btn--ghost:hover { border-color: var(--ink); background: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .22); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.link-out { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 500; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.link-out:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- liquid glass ---------- */
.glass {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .38));
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
  backdrop-filter: blur(18px) saturate(1.8);
  box-shadow:
    0 18px 44px -20px rgba(20, 20, 18, .28),
    inset 0 1px 1px rgba(255, 255, 255, .9),
    inset 0 -10px 22px rgba(255, 255, 255, .18),
    inset 0 0 0 1px rgba(255, 255, 255, .55);
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, .7), transparent 42%);
  opacity: .55;
}
.glass > * { position: relative; z-index: 1; }
.glass-dark {
  background: linear-gradient(180deg, rgba(24, 23, 20, .82), rgba(14, 14, 12, .9));
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  backdrop-filter: blur(28px) saturate(1.4);
}

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding-top: 12px; pointer-events: none; }
.nav__bar {
  pointer-events: auto;
  width: min(var(--max), calc(100% - 24px));
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 7px 7px 7px 10px;
  border-radius: 999px;
  transition: box-shadow .4s var(--ease), background .4s;
}
.nav.is-scrolled .nav__bar { background: linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .5)); }
/* nav over dark sections */
.nav.on-dark .nav__bar { background: linear-gradient(180deg, rgba(48, 47, 44, .62), rgba(22, 22, 20, .5)); color: #F4F3EF; box-shadow: 0 18px 44px -20px rgba(0, 0, 0, .6), inset 0 1px 1px rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.nav.on-dark .nav__bar::before { opacity: .12; }
.nav.on-dark .nav__mark { background: #fff; color: var(--ink); }
.nav.on-dark .nav__links a { color: #D9D5CC; }
.nav.on-dark .nav__links a:hover, .nav.on-dark .nav__links a.is-active { background: rgba(255, 255, 255, .1); color: #fff; }
.nav.on-dark .lang { background: rgba(255, 255, 255, .1); }
.nav.on-dark .lang__btn { color: #A29E95; }
.nav.on-dark .lang__btn[aria-pressed="true"] { color: var(--ink); }
.nav.on-dark .btn--solid { background: #fff; color: var(--ink); }
.nav.on-dark .btn--solid:hover { background: var(--accent); color: #fff; }
.nav.on-dark .nav__burger { background: #fff; }
.nav.on-dark .nav__burger span { background: var(--ink); }
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.02em; font-size: 15px; }
.nav__mark {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .02em;
}
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  font-size: 14px; color: var(--ink-2);
  padding: 8px 14px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav__links a:hover { background: rgba(20, 20, 18, .06); }
.nav__links a.is-active { background: rgba(20, 20, 18, .08); color: var(--ink); }
.nav__right { display: flex; align-items: center; gap: 8px; }
.lang {
  display: flex; padding: 3px; border-radius: 999px;
  background: rgba(20, 20, 18, .06);
}
.lang__btn {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em;
  padding: 6px 10px; border-radius: 999px; color: var(--muted);
  transition: background .25s var(--ease), color .2s;
}
.lang__btn[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(20, 20, 18, .14); }
.nav__burger { display: none; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__burger span:first-child { top: 15px; }
.nav__burger span:last-child { top: 22px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 18.5px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 18.5px; transform: rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 96px var(--gut) 40px;
  opacity: 0; transition: opacity .3s var(--ease);
}
.mmenu[hidden] { display: none; }
.mmenu.is-open { opacity: 1; }
.mmenu a { color: #fff; font-size: 34px; font-weight: 600; letter-spacing: -.03em; padding: 6px 0; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(120px, 15vw, 172px) 0 clamp(56px, 7vw, 88px); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(255, 122, 77, .18), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(120, 140, 255, .08), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 64px 100%;
  -webkit-mask-image: radial-gradient(90% 70% at 50% 20%, #000 40%, transparent 85%);
  mask-image: radial-gradient(90% 70% at 50% 20%, #000 40%, transparent 85%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--ink-2);
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .7); border: 1px solid var(--line);
  margin-bottom: 28px;
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(34, 165, 101, .5); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34, 165, 101, .45); } 70% { box-shadow: 0 0 0 9px rgba(34, 165, 101, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 165, 101, 0); } }
.hero .eyebrow { display: flex; }
.hero__title {
  font-size: clamp(44px, 7.2vw, 100px);
  line-height: .98;
  font-weight: 600;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero__title em { display: block; margin-top: .08em; color: var(--muted); }
.hero__lead { margin-top: 28px; font-size: clamp(17px, 1.7vw, 21px); color: var(--ink-2); max-width: 620px; line-height: 1.55; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.intro { position: relative; }
.media--intro { aspect-ratio: 4 / 5; border-radius: 28px; box-shadow: var(--shadow); }
.intro__cap {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  border-radius: 18px; padding: 12px 16px;
  display: flex; flex-direction: column; gap: 2px;
}
.intro__k { font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.intro__v { font-size: 13px; color: var(--ink-2); }

/* ---------- media + placeholders ---------- */
.media { position: relative; overflow: hidden; background: var(--bg-2); }
.media__video, .media__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.media.has-media .media__video, .media.has-media .media__img { opacity: 1; }
.media.has-media .media__ph { opacity: 0; pointer-events: none; }
.media__ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  transition: opacity .5s;
  background:
    radial-gradient(120% 80% at 20% 0%, #FFD9C4 0%, transparent 55%),
    radial-gradient(120% 90% at 100% 100%, #CFC6FF 0%, transparent 55%),
    linear-gradient(160deg, #F3EEE6, #E6E1D8);
}
.media__ph--villa { background: radial-gradient(90% 60% at 30% 10%, #FBE3C2, transparent 60%), radial-gradient(90% 80% at 90% 100%, #9DB89A, transparent 60%), linear-gradient(170deg, #E9DCC7, #B9C7A9); }
.media__ph--villa2 { background: radial-gradient(90% 60% at 70% 0%, #FFE9D0, transparent 60%), radial-gradient(100% 80% at 0% 100%, #7FA3B5, transparent 60%), linear-gradient(170deg, #E6DCCB, #A9BFC4); }
.media__ph--villa3 { background: radial-gradient(90% 60% at 40% 0%, #FFF1DA, transparent 60%), radial-gradient(100% 80% at 100% 100%, #C9A27A, transparent 60%), linear-gradient(170deg, #EDE3D2, #CDB79A); }
.media__ph--raw { background: repeating-linear-gradient(115deg, rgba(0,0,0,.035) 0 2px, transparent 2px 9px), linear-gradient(170deg, #CFCBC4, #A7A39B); }
.media__ph--loa { background: radial-gradient(90% 60% at 50% 10%, #F5D6B8, transparent 60%), linear-gradient(170deg, #3B2A20, #1C1410); }
.media__ph--loa2 { background: radial-gradient(90% 70% at 30% 20%, #FFE2C6, transparent 60%), linear-gradient(170deg, #C78A5B, #6E4329); }
.media__ph--loa3 { background: radial-gradient(90% 70% at 70% 20%, #F9E8D8, transparent 60%), linear-gradient(170deg, #9C6B48, #2E2019); }
.media__ph--food { background: radial-gradient(90% 60% at 30% 10%, #F6D7A7, transparent 60%), radial-gradient(90% 70% at 100% 100%, #7D9B76, transparent 60%), linear-gradient(170deg, #D9B98C, #6F5A3E); }
.media__ph--food2 { background: radial-gradient(90% 60% at 70% 10%, #E6F0C9, transparent 60%), radial-gradient(90% 70% at 0% 100%, #A6C08B, transparent 60%), linear-gradient(170deg, #C9D6A6, #56704E); }
.media__ph--dash { background: radial-gradient(80% 60% at 80% 0%, rgba(228, 87, 46, .18), transparent 60%), #111110; }
.ph-label {
  position: absolute; left: 14px; top: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
  color: rgba(20, 20, 18, .55);
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 4px 9px; border-radius: 99px;
}
.media__ph--loa .ph-label, .media__ph--loa3 .ph-label, .media__ph--dash .ph-label { color: rgba(255, 255, 255, .75); background: rgba(0, 0, 0, .3); }
.play {
  width: 74px; height: 74px; border-radius: 50%;
  display: grid; place-items: center;
  transition: transform .3s var(--ease);
}
.play svg { width: 26px; height: 26px; fill: var(--ink); margin-left: 3px; }
.play:hover { transform: scale(1.06); }

/* ---------- stats ---------- */
.stats {
  margin-top: clamp(56px, 8vw, 96px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-2);
}
.stat { padding: 26px 22px 0 0; }
.stat + .stat { padding-left: 22px; border-left: 1px solid var(--line); }
.stat__num {
  font-size: clamp(38px, 4.6vw, 60px);
  font-weight: 600; letter-spacing: -.045em; line-height: 1;
  font-variant-numeric: tabular-nums;
  min-height: 1em;
}
.stat dd { margin-top: 12px; font-size: 14.5px; line-height: 1.45; color: var(--muted); max-width: 240px; }

/* ---------- thread tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; overflow: hidden;
  min-height: 380px; border-radius: var(--r);
  padding: 26px; display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  isolation: isolate;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(20, 20, 18, .35); }
.tile__art { position: absolute; inset: 0; z-index: -1; }
.tile__no { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; opacity: .6; margin-bottom: auto; }
.tile__t { font-size: 40px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.tile__d { margin-top: 10px; font-size: 15px; opacity: .78; }

.tile--screens { background: #fff; }
.tile--screens .tile__art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 26px 26px 150px; }
.tile--screens .tile__art span { border-radius: 12px; background: linear-gradient(160deg, #F4F1EC, #E9E5DE); border: 1px solid var(--line); }
.tile--screens .tile__art span:nth-child(2) { background: linear-gradient(160deg, #FFE4D7, #FFC7AF); }
.tile--screens .tile__art span:nth-child(6) { background: linear-gradient(160deg, var(--accent-2), var(--accent)); }
.tile--concrete { color: #fff; background: #8F8576; }
.tile--concrete .tile__art {
  background:
    linear-gradient(180deg, transparent 30%, rgba(20, 16, 10, .55)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 92px),
    radial-gradient(80% 60% at 70% 20%, #D9C6A8, transparent 70%),
    linear-gradient(170deg, #B9AC98, #6E6455);
}
.tile--code { color: var(--d-ink); background: var(--d-bg); border-color: transparent; }
.tile--code .tile__art { padding: 30px 26px; background: radial-gradient(70% 60% at 80% 10%, rgba(228, 87, 46, .35), transparent 70%); }
.tile--code .tile__art code { font-family: var(--mono); font-size: 14px; line-height: 1.7; color: #CFCBC2; }

/* ---------- layout helpers ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.split .head { margin-bottom: 0; }
.split--wide { align-items: center; }
.split--tight { margin-bottom: 26px; align-items: end; }
.split--tight .h3 { margin-bottom: 0; }
.block { margin-top: clamp(72px, 9vw, 120px); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }

/* ---------- screens ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; padding: clamp(26px, 4vw, 48px); }
.feature__main p { color: var(--ink-2); }

.brands { margin: 48px 0 40px; }
.brands__k { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; text-align: center; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: -.03em; color: rgba(20, 20, 18, .32); white-space: nowrap; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.case { padding: 24px; }
.case__num { font-size: clamp(34px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.045em; line-height: 1; color: var(--accent); }
.case__k { margin-top: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.case__d { margin-top: 12px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }

/* ---------- loa ---------- */
.loa { background: linear-gradient(180deg, var(--bg) 0%, #F7F1EA 30%, #F7F1EA 70%, var(--bg) 100%); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpis > div { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.kpis dt { font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.kpis dd { margin-top: 8px; font-size: 14px; color: var(--muted); }
.kpis--light > div { background: rgba(255, 255, 255, .6); }

@keyframes dash { to { stroke-dashoffset: -400; } }

.funnel { padding: clamp(20px, 3vw, 32px); }
.funnel__flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; position: relative; }
.funnel__branches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.fnode {
  position: relative; text-align: left;
  padding: 16px; border-radius: 16px;
  background: var(--bg); border: 1px solid transparent;
  transition: background .25s, border-color .25s, transform .25s var(--ease);
  min-height: 92px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
}
.fnode:hover { transform: translateY(-2px); }
.fnode__i { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--muted-2); }
.fnode__t { font-weight: 600; font-size: 15px; letter-spacing: -.01em; line-height: 1.25; }
.fnode[aria-selected="true"] { background: var(--ink); color: #fff; }
.fnode[aria-selected="true"] .fnode__i { color: rgba(255, 255, 255, .55); }
.funnel__flow .fnode:not(:last-child)::after {
  content: ""; position: absolute; right: -9px; top: 50%; width: 8px; height: 8px; z-index: 2;
  border-top: 1.5px solid var(--muted-2); border-right: 1.5px solid var(--muted-2); transform: translateY(-50%) rotate(45deg);
}
.fnode--branch { background: transparent; border: 1px dashed var(--line-2); min-height: 70px; }
.fnode--branch .fnode__t { font-weight: 500; font-size: 14px; }
.fnode--empty { visibility: hidden; }
.funnel__panel { margin-top: 18px; padding: 22px 24px; border-radius: 16px; background: var(--accent-soft); min-height: 118px; }
.funnel__stage { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.funnel__title { margin-top: 6px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.funnel__text { margin-top: 6px; color: var(--ink-2); max-width: 760px; }

.wf { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.wf__row { display: grid; grid-template-columns: 170px minmax(0, 1fr) 84px; align-items: center; gap: 14px; font-size: 14px; }
.wf__l { color: var(--ink-2); line-height: 1.3; }
.wf__bar { position: relative; height: 26px; border-radius: 8px; background: var(--bg); overflow: hidden; }
.wf__bar::after {
  content: ""; position: absolute; top: 0; bottom: 0;
  left: calc(var(--base, 0) * 1%); width: calc(var(--w, 0) * 1%);
  border-radius: 8px; background: var(--ink);
  transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease);
}
.wf.is-in .wf__bar::after { transform: scaleX(1); }
.wf__row.is-neg .wf__bar::after { background: #E9C4B6; }
.wf__row.is-sum .wf__bar::after { background: var(--ink-2); }
.wf__row.is-result .wf__bar::after { background: var(--accent); }
.wf__row.is-result { font-weight: 600; }
.wf__v { text-align: right; font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.wf__row:nth-child(2) .wf__bar::after { transition-delay: .1s; } .wf__row:nth-child(3) .wf__bar::after { transition-delay: .2s; }
.wf__row:nth-child(4) .wf__bar::after { transition-delay: .3s; } .wf__row:nth-child(5) .wf__bar::after { transition-delay: .4s; }
.wf__row:nth-child(6) .wf__bar::after { transition-delay: .5s; }


.decision { margin-top: clamp(72px, 9vw, 120px); padding: clamp(28px, 5vw, 64px); }
.card--dark { background: var(--d-bg); color: var(--d-ink); border-color: transparent; }
.card--dark .eyebrow { color: var(--d-muted); }
.decision__text { font-size: clamp(19px, 2vw, 25px); line-height: 1.5; letter-spacing: -.01em; color: #DEDAD2; max-width: 900px; }
.decision__text strong { color: #fff; font-weight: 600; }
.decision__quote { margin: 34px 0; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.2; color: #fff; max-width: 900px; padding-left: 22px; border-left: 2px solid var(--accent); }

/* ---------- phones ---------- */
.phones { display: flex; justify-content: center; gap: clamp(16px, 3vw, 36px); margin-top: 40px; }
.phone { flex: 0 0 auto; width: clamp(180px, 20vw, 236px); text-align: center; }
.phone__screen {
  aspect-ratio: 9 / 19.5; border-radius: 40px;
  border: 9px solid #121211;
  box-shadow: 0 0 0 1.5px #3A3936, 0 40px 70px -34px rgba(20, 20, 18, .55);
}
.phone__screen::before {
  content: ""; position: absolute; z-index: 3; top: 10px; left: 50%; transform: translateX(-50%);
  width: 32%; height: 20px; border-radius: 99px; background: #121211;
}
.phone .ph-label { top: auto; bottom: 14px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.phone figcaption { margin-top: 16px; font-size: 14px; color: var(--muted); }
.phone figcaption b { color: var(--ink); font-weight: 600; }
.phones--scroll { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gut) 24px; margin: 0 calc(var(--gut) * -1); scrollbar-width: none; }
.phones--scroll::-webkit-scrollbar { display: none; }
.phones--scroll .phone { scroll-snap-align: center; }
@media (min-width: 1100px) { .phones--scroll { justify-content: center; overflow: visible; } }

/* ---------- bali ---------- */
.bali { background: var(--sand); }
.bali .kpis { margin-bottom: clamp(48px, 6vw, 72px); }


/* ---------- dark / code ---------- */
.is-dark { background: var(--d-bg); color: var(--d-ink); }
.is-dark .eyebrow { color: var(--d-muted); }
.is-dark .lead, .is-dark p { color: #CFCBC2; }
.is-dark .lead { color: #D9D5CC; }
.code { overflow: hidden; }
.code__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 40% at 50% 0%, rgba(228, 87, 46, .2), transparent 70%), linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 100% 56px, linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 100%; -webkit-mask-image: radial-gradient(80% 50% at 50% 0%, #000 30%, transparent 80%); mask-image: radial-gradient(80% 50% at 50% 0%, #000 30%, transparent 80%); }
.card--glass { background: var(--d-card); border: 1px solid var(--d-line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); border-radius: var(--r); }

.how { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 36px; padding: clamp(24px, 4vw, 44px); align-items: center; }
.how__statement { font-size: clamp(19px, 2vw, 24px); line-height: 1.45; letter-spacing: -.01em; color: #fff !important; }
.how__steps { display: grid; gap: 8px; }
.how__steps li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--d-line); }
.how__steps span { font-family: var(--mono); font-size: 12px; color: var(--accent-2); }
.how__steps b { font-weight: 500; font-size: 15px; }

.browser { margin-top: clamp(40px, 6vw, 72px); border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 60px 120px -50px rgba(228, 87, 46, .35), 0 30px 60px -30px rgba(0, 0, 0, .8); }
.browser__bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #1A1A18; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #3A3936; }
.browser__bar i:nth-child(1) { background: #FF5F57; } .browser__bar i:nth-child(2) { background: #FEBC2E; } .browser__bar i:nth-child(3) { background: #28C840; }
.browser__url { margin: 0 auto; transform: translateX(-24px); font-family: var(--mono); font-size: 12px; color: #8D897F; background: #222220; padding: 4px 14px; border-radius: 8px; }
.browser__screen { aspect-ratio: 16 / 9; background: #111110; }
.media__ph--dash .play svg { fill: var(--ink); }
.media__ph--dash .ph-label { top: auto; bottom: 16px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.dash { position: absolute; inset: 0; display: grid; grid-template-columns: 17% 1fr; opacity: .9; }
.dash i { display: block; border-radius: 8px; background: rgba(255, 255, 255, .06); }
.dash__side { border-right: 1px solid rgba(255, 255, 255, .06); padding: 22px 16px; display: flex; flex-direction: column; gap: 12px; }
.dash__side i { height: 12px; } .dash__side i:first-child { height: 26px; width: 60%; background: rgba(228, 87, 46, .5); margin-bottom: 14px; }
.dash__main { padding: 24px; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; }
.dash__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dash__kpis i { height: 64px; border: 1px solid rgba(255, 255, 255, .06); }
.dash__chart { border-radius: 12px; border: 1px solid rgba(255, 255, 255, .06); padding: 16px; }
.dash__chart svg { width: 100%; height: 100%; }
.dash__chart path { fill: none; stroke: var(--accent-2); stroke-width: 2; vector-effect: non-scaling-stroke; }
.dash__rows { display: grid; gap: 8px; } .dash__rows i { height: 14px; }

.tools { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tool { padding: 24px; display: flex; flex-direction: column; }
.tool__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tool h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.tool p { margin-top: 12px; font-size: 14.5px; line-height: 1.55; color: var(--d-muted) !important; flex: 1; }
.live { flex: none; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #6EE7A8; padding: 4px 8px; border-radius: 99px; background: rgba(34, 165, 101, .12); }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3DDC84; }
.stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.stack li { font-family: var(--mono); font-size: 11.5px; color: #BDB9B0; padding: 4px 9px; border-radius: 8px; background: rgba(255, 255, 255, .06); border: 1px solid var(--d-line); }

.franz { margin-top: clamp(72px, 9vw, 120px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 72px); align-items: center; }
.franz .h3 { color: #fff; }
.phones--dark { margin-top: 0; }
.phones--dark .phone figcaption { color: var(--d-muted); }
.phones--dark .phone figcaption b { color: #fff; }
.phones--dark .phone__screen { box-shadow: 0 0 0 1.5px #4A4945, 0 40px 80px -30px rgba(0, 0, 0, .9); }

.proof { margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--d-line); }
.proof li { padding: 22px 22px 0 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: #E6E2DA; }
.proof li + li { padding-left: 22px; border-left: 1px solid var(--d-line); }
.proof__k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--d-muted); }
.is-dark .ph { color: #F2C46D; background: rgba(242, 196, 109, .12); }

/* ---------- track record ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.filter { font-size: 14px; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--ink-2); transition: background .2s, color .2s, border-color .2s; }
.filter:hover { border-color: var(--ink); }
.filter.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.ventures { border-top: 1px solid var(--line-2); }
.venture {
  display: grid; grid-template-columns: 120px minmax(0, 1.1fr) minmax(0, 1.4fr) 160px;
  gap: 20px; align-items: baseline;
  padding: 22px 4px; border-bottom: 1px solid var(--line);
  transition: background .2s, opacity .3s;
}
.venture:hover { background: rgba(255, 255, 255, .55); }
.venture[hidden] { display: none; }
.venture__y { font-family: var(--mono); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.venture__n { font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.venture__r { display: block; font-size: 13.5px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.venture__d { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.venture__s { justify-self: end; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; background: var(--bg-2); color: var(--muted); white-space: nowrap; }
.tag--active { background: rgba(34, 165, 101, .12); color: #15824D; }
.tag--stopped { background: var(--accent-soft); color: #B9431F; }
.tag--ph { background: var(--ph-bg); color: var(--ph); }

/* ---------- principles ---------- */
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.principle { padding: 26px; min-height: 250px; display: flex; flex-direction: column; }
.principle__n { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-bottom: auto; }
.principle h3 { margin-top: 40px; font-size: 21px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.principle p { margin-top: 10px; font-size: 15px; color: var(--muted); }

/* ---------- why ---------- */
.why { padding-top: 0; }
.why .h2 { margin-bottom: 26px; }
.seek { padding: clamp(24px, 3vw, 34px); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { font-size: 15px; font-weight: 500; padding: 10px 16px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); }
.seek__dl { margin-top: 26px; display: grid; gap: 14px; }
.seek__dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; }
.seek__dl dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); padding-top: 3px; }

/* ---------- contact ---------- */
.contact { padding-bottom: 32px; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 50% 100%, rgba(228, 87, 46, .28), transparent 70%); }
.contact__inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact__title { font-size: clamp(64px, 12vw, 176px); line-height: .92; font-weight: 600; letter-spacing: -.055em; color: #fff; margin: 6px 0 22px; }
.contact__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.foot { position: relative; margin-top: clamp(96px, 12vw, 160px); padding-top: 22px; border-top: 1px solid var(--d-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--d-muted); }
.foot__legal { display: flex; gap: 18px; }
.foot__legal a:hover { color: #fff; }
.foot__made { font-family: var(--mono); font-size: 12px; }


/* ===================== v2 components ===================== */

/* liquid glass – lighter tint once the lens filter is active so the bend is visible */
.glass.is-lens { background: linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .14)); }
.nav.is-scrolled .nav__bar.is-lens { background: linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .2)); }
.nav.on-dark .nav__bar.is-lens { background: linear-gradient(180deg, rgba(40, 40, 38, .38), rgba(18, 18, 16, .26)); }

/* hero portrait + intro video */
.media--intro .media__img { opacity: 1; }
.media.media--intro .media__video--intro { opacity: 0; pointer-events: none; background: #000; }
.media.media--intro.is-playing .media__video--intro { opacity: 1; pointer-events: auto; }
.media--intro.is-playing .intro__play { display: none; }
.intro__play {
  position: absolute; z-index: 2; top: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 14px 0 10px; border-radius: 99px;
  font-size: 13px; font-weight: 500; color: var(--ink);
  transition: transform .25s var(--ease);
}
.intro__play svg { width: 16px; height: 16px; fill: var(--accent); }
.intro__play:hover { transform: scale(1.04); }
.media--intro::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .28)); pointer-events: none; }

/* image tiles */
.tile--img { color: #fff; border-color: transparent; background: #1c1a17; }
.tile__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile--img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .7)); }
.tile--img:hover .tile__bg { transform: scale(1.04); }
.tile--img .tile__no { opacity: .85; }

/* wide video frame (Kalani) */
.vidframe { position: relative; border-radius: 28px; overflow: hidden; box-shadow: 0 50px 100px -50px rgba(40, 30, 15, .55); }
.vidframe__media { aspect-ratio: 16 / 8.2; }
.vidframe__media .media__img { object-position: 50% 40%; }
.vidframe__cap {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 18px; border-radius: 18px; font-size: 14px; color: var(--ink);
}
.vidframe__cap b { font-weight: 600; }
.vidframe__link { font-weight: 500; }
.vidframe__link:hover { color: var(--accent); }
.vidframe + .kpis { margin-top: 16px; }

/* value chain */
.chain { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; counter-reset: c; }
.chain li { position: relative; padding: 18px 16px; border-radius: 16px; background: rgba(255, 255, 255, .65); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; min-height: 120px; }
.chain li span { font-family: var(--mono); font-size: 11.5px; color: var(--accent); }
.chain li b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.chain li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -6px; width: 8px; height: 8px; z-index: 1; border-top: 1.5px solid var(--muted-2); border-right: 1.5px solid var(--muted-2); transform: translateY(-50%) rotate(45deg); background: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips li { font-size: 13.5px; padding: 8px 14px; border-radius: 99px; background: var(--ink); color: #EDEAE3; }
.bali .phones { margin-top: clamp(56px, 7vw, 88px); }

/* deck slider */
.deck { outline: none; }
.deck__frame {
  position: relative; overflow: hidden; border-radius: 22px;
  border: 10px solid #141412; background: #141412;
  box-shadow: 0 0 0 1.5px #3A3936, 0 60px 110px -50px rgba(60, 35, 15, .6);
}
.deck__frame { overflow: clip; }
.deck__track { display: flex; transition: transform .6s var(--ease); touch-action: pan-y; }
.deck__track img { flex: 0 0 100%; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.deck__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; line-height: 1; color: var(--ink); z-index: 2; }
.deck__nav--prev { left: 14px; } .deck__nav--next { right: 14px; }
.deck__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.deck__k, .deck__count { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.deck__dots { display: flex; gap: 6px; }
.deck__dot { width: 7px; height: 7px; border-radius: 99px; background: var(--line-2); transition: width .3s var(--ease), background .3s; }
.deck__dot[aria-selected="true"] { width: 22px; background: var(--ink); }
.deck + .kpis { margin-top: 18px; }

/* built checklist */
.built { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.built li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.built li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* rail (Amazon stations) */
.rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.rail li { padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.rail__y { font-family: var(--mono); font-size: 12px; color: var(--muted-2); margin-bottom: 14px; }
.rail b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.rail li > span:last-child { font-size: 13px; color: var(--muted); line-height: 1.4; }
.rail li.is-hi { background: var(--ink); color: #fff; border-color: var(--ink); }
.rail li.is-hi .rail__y { color: var(--accent-2); }
.rail li.is-hi > span:last-child { color: rgba(255, 255, 255, .65); }

/* mini stats */
.mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-content: center; }
.mini div { padding: 18px; border-radius: 16px; background: var(--bg); }
.mini dt { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.mini dd { margin-top: 8px; font-size: 13px; color: var(--muted); }
.mini--dark { margin-top: 26px; }
.mini--dark div { background: rgba(255, 255, 255, .05); border: 1px solid var(--d-line); }
.mini--dark dt { color: #fff; }
.mini--dark dd { color: var(--d-muted); }

/* AI badge + grid */
.ai-badge { position: absolute; z-index: 3; top: 34px; right: 12px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; color: #fff; padding: 4px 8px; border-radius: 99px; background: linear-gradient(135deg, var(--accent-2), var(--accent)); box-shadow: 0 6px 16px -6px rgba(228, 87, 46, .7); }
.ai-badge--inline { position: static; display: inline-block; vertical-align: 1px; }
.aigrid { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.aigrid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; background: #1a1a18; transition: transform .5s var(--ease); }
.aigrid img:hover { transform: translateY(-4px) scale(1.02); }
.aigrid__cap { grid-column: 1 / -1; margin-top: 6px; font-size: 13.5px; color: var(--d-muted) !important; text-align: center; }
.code .franz { margin-top: 0; }
@media (min-width: 861px) {
  .franz .phone { width: clamp(150px, 13.5vw, 190px); }
  .franz .phones { gap: clamp(12px, 2vw, 22px); }
}
.mini--dark dt { font-size: clamp(24px, 2.2vw, 30px); }
.code .how { margin-top: clamp(72px, 9vw, 120px); }

/* misc */
.note { margin-top: 18px; padding-left: 14px; border-left: 2px solid var(--accent); font-size: 15px; color: var(--ink-2); }
.principle { min-height: 0; }
.principle h3 { margin-top: 28px; }
.work { padding-top: 0; }
.contact__avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; margin-bottom: 22px; border: 2px solid rgba(255, 255, 255, .2); }
.tag--handover { background: rgba(214, 158, 46, .16); color: #9A6B12; }

@media (max-width: 1080px) {
  .chain { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chain li:nth-child(3)::after { display: none; }
  .rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .aigrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .vidframe__media { aspect-ratio: 4 / 3; }
  .mini { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chain li::after { display: none; }
  .chain li { min-height: 0; gap: 12px; }
  .rail { grid-template-columns: 1fr 1fr; }
  .built { grid-template-columns: 1fr; }
  .aigrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deck__frame { border-width: 6px; border-radius: 14px; }
  .deck__nav { width: 36px; height: 36px; font-size: 20px; }
  .deck__k { display: none; }
  .vidframe__cap { font-size: 13px; padding: 10px 14px; }
  .mini dt { font-size: 24px; }
  .mini div { padding: 14px 12px; }
}


/* ===================== v3 components ===================== */

/* scroll progress */
.progress { position: fixed; z-index: 120; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* numbers with a small unit stay on one line */
.kpis dt { white-space: nowrap; }
.kpis dt small { font-size: .45em; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: .15em; }

/* code tile shows the real dashboard */
.tile--dash { background: #f3efe8; }
.tile--dash .tile__bg { object-fit: cover; object-position: 0 0; transform-origin: 0 0; }
.tile--dash::after { background: linear-gradient(180deg, rgba(12, 12, 11, .08) 20%, rgba(12, 12, 11, .82)); }

/* AdHoney showcase: scrolling A+ content in a phone + listing boards */
.showcase { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin: clamp(48px, 6vw, 80px) 0 8px; }
.phone--scroll { width: clamp(210px, 20vw, 250px); }
.phone--scroll .phone__screen { background: #fff; }
.scroller { position: absolute; inset: 0; overflow: hidden; }
.scroller img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 0%; animation: aplus 11s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
@keyframes aplus { 0%, 6% { object-position: 50% 0%; } 94%, 100% { object-position: 50% 100%; } }
.boards .h3 { margin-bottom: 22px; }
.boards__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.boards__grid img { width: 100%; aspect-ratio: 1400 / 990; object-fit: cover; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .5s var(--ease); }
.boards__grid img:hover { transform: translateY(-4px); }

/* Loa goal */
.goal {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 4vw, 52px); margin-bottom: 18px; border-radius: var(--r);
  background: radial-gradient(80% 120% at 100% 0%, rgba(255, 122, 77, .35), transparent 60%), var(--d-bg);
  color: #fff;
}
.goal .eyebrow { color: #E8A585; }
.goal__big { font-size: clamp(32px, 4.4vw, 58px); line-height: 1.02; font-weight: 600; letter-spacing: -.04em; margin-bottom: 16px; }
.goal__big em { font-family: var(--serif); font-style: italic; font-weight: 400; color: #E8A585; letter-spacing: -.01em; }
.goal__text p:not(.eyebrow):not(.goal__big) { color: #D6D2C9; font-size: 17px; max-width: 520px; }
.goal__steps { display: grid; gap: 8px; counter-reset: g; }
.goal__steps li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.goal__steps li span { font-family: var(--mono); font-size: 12px; color: var(--accent-2); }
.goal__steps li b { font-weight: 500; font-size: 16px; }
.goal__steps li:nth-child(2) { background: linear-gradient(135deg, var(--accent-2), var(--accent)); border-color: transparent; }
.goal__steps li:nth-child(2) span { color: rgba(255, 255, 255, .8); }

/* deck: count pill + thumbnails */
.deck__count { position: absolute; z-index: 2; right: 14px; bottom: 14px; padding: 6px 12px; border-radius: 99px; font-family: var(--mono); font-size: 12px; color: var(--ink); }
.deck__thumbs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.deck__thumb { position: relative; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: .62; transition: opacity .25s, border-color .25s, transform .25s var(--ease); background: #141412; }
.deck__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.deck__thumb span { position: absolute; left: 6px; bottom: 5px; font-family: var(--mono); font-size: 10px; color: #fff; background: rgba(0, 0, 0, .45); padding: 1px 6px; border-radius: 99px; }
.deck__thumb:hover { opacity: 1; transform: translateY(-2px); }
.deck__thumb[aria-selected="true"] { opacity: 1; border-color: var(--accent); }
.deck__bar { margin-top: 16px; }

/* funnel highlight */
.funnelhl .head { margin-bottom: 32px; }
.h2--sm { font-size: clamp(30px, 4vw, 52px); margin-bottom: 0; }
.funnelhl__img { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: #fff; padding: clamp(10px, 2vw, 24px); border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(228, 87, 46, .08), 0 50px 100px -50px rgba(60, 35, 15, .45); margin-bottom: 16px; }
.funnelhl__img img { width: 100%; height: auto; display: block; }
.funnelhl__zoom { position: absolute; right: 16px; top: 16px; padding: 7px 13px; border-radius: 99px; font-size: 13px; font-weight: 500; }

/* investors */
.inv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.inv__card { padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; min-height: 210px; }
.inv__n { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-bottom: auto; }
.inv__card h4 { margin-top: 34px; font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
.inv__card p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.inv__card--hi { background: var(--ink); color: #fff; border-color: var(--ink); }
.inv__card--hi h4 { font-size: 30px; }
.inv__card--hi p { color: #CFCBC2; }
.inv__card--hi .inv__n { color: var(--accent-2); }

/* dashboards */
.dashview { margin-bottom: clamp(48px, 6vw, 72px); }
.dashview__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 18px; }
.dashview__tab { font-size: 13.5px; padding: 8px 14px; border-radius: 99px; color: #CFCBC2; border: 1px solid var(--d-line); transition: background .25s, color .25s, border-color .25s; }
.dashview__tab:hover { border-color: rgba(255, 255, 255, .3); color: #fff; }
.dashview__tab[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.dashview .browser { margin-top: 0; }
.dashview__screen { position: relative; aspect-ratio: 16 / 10; background: #F8F4EE; }
.dashview__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity .6s var(--ease), transform 1.2s var(--ease); transform: scale(1.015); }
.dashview__screen img.is-on { opacity: 1; transform: none; }
.dashview__cap { margin-top: 14px; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--d-muted) !important; }
.code .tools { margin-top: 0; }
.code .franz { margin-top: clamp(72px, 9vw, 120px); }

@media (max-width: 1080px) {
  .inv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deck__thumbs { grid-template-columns: repeat(8, 120px); overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .deck__thumbs::-webkit-scrollbar { display: none; }
}
@media (max-width: 860px) {
  .showcase, .goal { grid-template-columns: 1fr; }
  .showcase .phone--scroll { margin: 0 auto; }
}
@media (max-width: 600px) {
  .inv { grid-template-columns: 1fr; }
  .inv__card { min-height: 0; }
  .inv__card h4 { margin-top: 18px; }
  .boards__grid { grid-template-columns: 1fr; }
  .deck__thumbs { grid-template-columns: repeat(16, 96px); }
  .dashview__tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1) 14px; padding: 0 var(--gut); }
  .dashview__tab { white-space: nowrap; }
  .kpis dt { font-size: 26px; }
}


/* Loa founder reels with sound */
.founders { display: block; }
.founders__text { margin-bottom: clamp(28px, 4vw, 48px); }
.phones--founders { margin-top: 0; justify-content: center; }
.founders__text .h2 { margin-bottom: 18px; }
.phone--sound .phone__screen { cursor: pointer; }
.sound {
  position: absolute; z-index: 4; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px;
  font-size: 12px; font-weight: 500; white-space: nowrap; color: var(--ink);
  transition: transform .25s var(--ease);
}
.sound:hover { transform: translateX(-50%) scale(1.05); }
.sound svg { width: 15px; height: 15px; fill: currentColor; }
.sound__off { display: none; }
.is-sound .sound__on { display: none; }
.is-sound .sound__off { display: inline; }
.is-sound .phone__screen { box-shadow: 0 0 0 1.5px var(--accent), 0 40px 70px -34px rgba(228, 87, 46, .55); }
@media (max-width: 600px) {
  .phones--founders { justify-content: flex-start; }
}


/* ===================== v4 components ===================== */

/* "So baue ich" – light card that stands out on the dark section */
.statement {
  margin-bottom: clamp(48px, 6vw, 72px); padding: clamp(28px, 4vw, 52px); border-radius: var(--r);
  background: linear-gradient(135deg, #FFFFFF, #F4EFE8); color: var(--ink);
  box-shadow: 0 50px 100px -50px rgba(228, 87, 46, .5);
}
.statement .eyebrow { color: var(--muted) !important; }
.statement__text { font-size: clamp(24px, 3vw, 38px) !important; line-height: 1.22; font-weight: 600; letter-spacing: -.03em; color: var(--ink) !important; max-width: 920px; }
.statement__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 28px; }
.statement__steps li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.statement__steps span { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.statement__steps b { font-size: 15px; font-weight: 600; }
.code .dashview { margin-top: 0; }
.code .tools { margin-top: 0; margin-bottom: clamp(48px, 6vw, 72px); }

/* "built in 9 hours" banner */
.built9 {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center;
  padding: clamp(24px, 4vw, 44px); border-radius: var(--r);
  background: radial-gradient(80% 140% at 0% 50%, rgba(255, 122, 77, .35), transparent 60%), rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 122, 77, .35);
}
.built9__num { font-size: clamp(88px, 12vw, 160px); line-height: .85; font-weight: 600; letter-spacing: -.06em; color: #fff; }
.built9__num small { font-size: .35em; letter-spacing: 0; color: var(--accent-2); margin-left: 4px; }
.built9__big { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.1; font-weight: 600; letter-spacing: -.03em; color: #fff !important; }
.built9__sub { margin-top: 10px; color: var(--d-muted) !important; max-width: 620px; }
.code .proof { margin-top: clamp(32px, 4vw, 48px); grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* fr-anz section */
.franzsec { background: linear-gradient(180deg, #F7EDEE 0%, #F5EFE8 100%); }
.kpis--pink > div { background: rgba(255, 255, 255, .7); }
.franzsec .kpis { margin-bottom: clamp(56px, 7vw, 88px); }
.franzsec__content { margin-top: 0; display: grid; grid-template-columns: minmax(0, .85fr) auto; gap: clamp(28px, 5vw, 72px); align-items: center; }
.franzsec__text .h2 { margin-bottom: 18px; }
.phones--franz { margin-top: 0; }
@media (min-width: 861px) { .phones--franz .phone { width: clamp(168px, 14.5vw, 205px); } .franzsec__content { grid-template-columns: minmax(0, 1fr) auto; } }
.views {
  position: absolute; z-index: 4; left: 12px; top: 36px;
  display: inline-flex; align-items: baseline; gap: 4px; padding: 5px 10px; border-radius: 99px;
  font-size: 11.5px; color: var(--ink);
}
.views b { font-size: 13px; font-weight: 700; letter-spacing: -.01em; }
.franzsec .aigrid { margin-top: clamp(56px, 7vw, 88px); }
.franzsec .aigrid img { background: #fff; }
.aigrid__cap { margin-top: 14px; text-align: center; font-size: 13.5px; color: var(--muted); }
.code .aigrid__cap { color: var(--d-muted); }

/* Amazon: four phones with scrolling A+ content + boards row */
.phones--aplus { margin-top: 8px; }
.phones--aplus .phone--scroll { width: clamp(180px, 20vw, 236px); }
.boards__grid--row { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 48px); }

/* Loa proof screenshot (deck page 12) */
.proofshot { margin-top: clamp(40px, 5vw, 64px); border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(228, 87, 46, .08), 0 50px 100px -50px rgba(60, 35, 15, .45); }
.proofshot img { width: 100%; height: auto; display: block; }
.proofshot figcaption { display: flex; gap: 14px; align-items: baseline; padding: 16px 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.proofshot__k { flex: none; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 3px 9px; border-radius: 99px; }

@media (max-width: 1080px) {
  .statement__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .boards__grid--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .franzsec__content, .built9 { grid-template-columns: 1fr; }
  .phones--franz { justify-content: flex-start; }
  .code .proof { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .statement__steps { grid-template-columns: 1fr; }
  .boards__grid--row { grid-template-columns: 1fr; }
  .proofshot figcaption { flex-direction: column; gap: 8px; }
}

/* ===================== motion ===================== */
/* stronger reveal: rise, de-blur, settle */
.js [data-reveal] { opacity: 0; transform: translateY(44px) scale(.985); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
/* headlines wipe up line by line */
.js [data-reveal] .h2, .js .head[data-reveal] .h2 { clip-path: inset(0 0 100% 0); transform: translateY(26px); transition: clip-path 1.1s var(--ease) .12s, transform 1.1s var(--ease) .12s; }
.js [data-reveal].is-in .h2 { clip-path: inset(-12% -4% -16% -4%); transform: none; }

/* ===================== entrances (time-based, triggered once in view) ===================== */
.tiles { perspective: 1400px; }
.js [data-stagger] > * {
  opacity: 0; transform: translate3d(0, 56px, 0) scale(.97);
  transition: opacity .8s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 95ms + 60ms);
}
.js [data-stagger].is-in > * { opacity: 1; transform: none; }
.js .tiles[data-stagger] > * { transform: translate3d(0, 90px, 0) rotateX(12deg) scale(.95); transform-origin: 50% 100%; transition-delay: calc(var(--i, 0) * 120ms + 60ms); }
.js .tiles[data-stagger].is-in > * { transform: none; }
.js .tiles[data-stagger].is-in > .tile:hover { transform: translateY(-4px); transition-delay: 0s; }
.js .phones[data-stagger] > * { transform: translate3d(0, 80px, 0); transition-duration: .8s, 1.2s; }
.js .phones[data-stagger].is-in > * { transform: none; }
.js [data-zoom] { opacity: 0; transform: translate3d(0, 40px, 0) scale(.93); transition: opacity 1s var(--ease), transform 1.4s var(--ease); }
.js [data-zoom].is-in { opacity: 1; transform: none; }
.js .fx-words .w { opacity: .12; transition: opacity .55s ease; transition-delay: calc(var(--i, 0) * 22ms + 200ms); }
.js .fx-words.is-in .w { opacity: 1; }

/* ---------- reveal ---------- */

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases, .formats, .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .venture { grid-template-columns: 100px minmax(0, 1fr) 150px; }
  .venture__d { grid-column: 2 / 3; grid-row: 2; }
  .venture__s { grid-column: 3; grid-row: 1; }
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .intro { max-width: 420px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { margin-top: 26px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 260px; }
  .tile--screens .tile__art { padding-bottom: 130px; }
  .split, .feature, .how, .franz { grid-template-columns: 1fr; align-items: start; }
  .filters { justify-content: flex-start; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .funnel__flow, .funnel__branches { grid-template-columns: 1fr; }
  .funnel__flow .fnode:not(:last-child)::after { right: auto; left: 22px; top: auto; bottom: -9px; transform: rotate(135deg); }
  .fnode { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; }
  .fnode--empty { display: none; }
  .proof { grid-template-columns: 1fr; }
  .proof li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--d-line); margin-top: 22px; }
  .franz .phones { justify-content: flex-start; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav__name { display: none; }
  .nav__cta { display: none; }
  .cases, .formats, .principles, .tools { grid-template-columns: 1fr; }
  .principle { min-height: 0; }
  .principle h3 { margin-top: 22px; }
  .wf__row { grid-template-columns: 1fr 76px; }
  .wf__bar { grid-column: 1 / -1; grid-row: 2; height: 18px; }
  .venture { grid-template-columns: 1fr auto; gap: 6px 14px; padding: 18px 2px; }
  .venture__y { grid-column: 1; grid-row: 1; }
  .venture__s { grid-column: 2; grid-row: 1; }
  .venture__n { grid-column: 1 / -1; grid-row: 2; }
  .venture__d { grid-column: 1 / -1; grid-row: 3; }
  .seek__dl div { grid-template-columns: 1fr; gap: 4px; }
  .phones:not(.phones--scroll) { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gut) 24px; margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); scrollbar-width: none; }
  .phones .phone { width: 62vw; scroll-snap-align: center; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .js [data-reveal] .h2 { clip-path: none; transform: none; }
  .scroller img { animation: none; }
}

/* ---------- v6: feedback round 06.10. ---------- */
/* tiles: titles on one baseline, no matter how long the description is */
.tile__d { line-height: 1.45; min-height: calc(2 * 1.45em); }

/* Kalani header: full video, 16:9 so subtitles stay in frame, sound button top right */
.vidframe__media { aspect-ratio: 16 / 9; }
.vidframe .sound { left: auto; right: 18px; top: 18px; bottom: auto; transform: none; }
.vidframe .sound:hover { transform: scale(1.05); }
.vidframe.is-sound { box-shadow: 0 0 0 1.5px var(--accent), 0 50px 100px -50px rgba(228, 87, 46, .55); }

/* fr-anz: paid vs organic tag, only the three pink coffee shots */
.views__tag { font-size: 11px; opacity: .72; }
.aigrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 880px; margin-inline: auto; }
.aigrid--3 img { aspect-ratio: 1 / 1; }

/* Loa: text left, three reels right; more air before the deck */
.founders { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 72px); align-items: center; }
.founders__text { margin-bottom: 0; }
.founders__text .lead { margin-bottom: 18px; }
.phones--founders { margin-top: 0; justify-content: flex-end; }
@media (min-width: 861px) { .phones--founders .phone { width: clamp(168px, 14.5vw, 205px); } }
@media (max-width: 860px) { .founders { grid-template-columns: 1fr; } .phones--founders { justify-content: flex-start; } }
.founders + .deck { margin-top: clamp(88px, 11vw, 150px); }

/* Amazon: scroll speed per phone (taller page = longer ride) */
.scroller img { animation-duration: var(--d, 11s); }
.cases--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 600px) { .cases--3 { grid-template-columns: 1fr; } }

/* Why Hamburg: walk-in video beside the text */
.why__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.why__media { aspect-ratio: 880 / 1096; border-radius: 28px; background: #2b2219; box-shadow: 0 50px 100px -50px rgba(40, 30, 15, .55); cursor: pointer; }
.why__cap { position: absolute; z-index: 3; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 10px; padding: 7px 8px 7px 14px; border-radius: 99px; font-size: 12.5px; font-weight: 500; color: var(--ink); }
.why__body { display: grid; gap: clamp(28px, 4vw, 44px); }
@media (min-width: 861px) { .why__media { position: sticky; top: 96px; } }
@media (max-width: 860px) { .why__grid { grid-template-columns: 1fr; } .why__media { max-width: 520px; } }
/* no dark hairline at the rounded corners; Code tile stays bright up top */
.tile__bg { inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); }
.tile--dash { border: 0; }
.tile--dash::after { background: linear-gradient(180deg, rgba(12, 12, 11, 0) 38%, rgba(12, 12, 11, .55) 62%, rgba(12, 12, 11, .86)); }
.vidframe .sound { top: auto; bottom: 74px; right: 18px; }
@media (max-width: 600px) { .vidframe .sound { bottom: auto; top: 12px; right: 12px; } }
/* Kalani KPIs: "130–350k USD" must stay on one line inside its tile */
.bali .kpis dt { font-size: clamp(28px, 2.85vw, 40px); }
@media (max-width: 600px) { .bali .kpis > div { padding: 18px 14px; } .bali .kpis dt { font-size: clamp(19px, 5.6vw, 26px); } }
/* views pill: optional second line for "mit Ads" / "organisch" */
.views { flex-wrap: wrap; }
.views:has(.views__tag) { border-radius: 14px; row-gap: 1px; }
.views__tag { flex-basis: 100%; font-size: 10.5px; font-weight: 500; opacity: .7; }
.views:has(.views__tag) { display: inline-grid; grid-template-columns: auto auto; justify-content: start; align-items: baseline; column-gap: 4px; }
.views__tag { grid-column: 1 / -1; text-align: left; }
/* short A+ page (FeelBelt): slight zoom so it still travels visibly */
.scroller--zoom img { width: 120%; max-width: none; margin-left: -10%; }
/* phone: caption sits under the Kalani video so the subtitles stay readable */
@media (max-width: 600px) {
  .vidframe { overflow: visible; border-radius: 0; box-shadow: none; }
  .vidframe__media { border-radius: 20px; box-shadow: 0 30px 60px -34px rgba(40, 30, 15, .55); }
  .vidframe__cap { position: static; margin-top: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .65); border: 1px solid var(--line); }
  .vidframe .sound { padding: 6px 10px; font-size: 11px; }
}

/* ---------- v7: compact phone layout – less scrolling ---------- */
@media (max-width: 600px) {
  /* rhythm + type */
  .section { padding: 52px 0; }
  .hero { padding: 104px 0 40px; }
  .hero__title { font-size: 38px; }
  .h2 { font-size: 29px; }
  .h2--sm { font-size: 25px; }
  .h3 { font-size: 21px; }
  .lead { font-size: 15.5px; line-height: 1.5; }
  .head { margin-bottom: 26px; }
  .head .lead { margin-top: 14px; }
  .block { margin-top: 44px; }
  .split { gap: 14px; }
  .intro { max-width: 300px; }
  .stat { padding-top: 18px; }
  .stat dd { font-size: 13px; margin-top: 8px; }

  /* card rows become swipeable strips (next card peeks in) */
  .tiles, .tools, .inv, .cases, .cases--3, .principles, .boards__grid--row, .chain, .rail, .statement__steps {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px;
    margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1);
    padding: 4px var(--gut) 14px; scrollbar-width: none;
  }
  .tiles::-webkit-scrollbar, .tools::-webkit-scrollbar, .inv::-webkit-scrollbar, .cases::-webkit-scrollbar, .principles::-webkit-scrollbar, .boards__grid--row::-webkit-scrollbar, .chain::-webkit-scrollbar, .rail::-webkit-scrollbar, .statement__steps::-webkit-scrollbar { display: none; }
  .tiles > *, .tools > *, .inv > *, .cases > *, .principles > *, .statement__steps > * { flex: 0 0 80%; scroll-snap-align: start; }
  .boards__grid--row > * { flex: 0 0 72%; scroll-snap-align: start; }
  .chain > *, .rail > * { flex: 0 0 42%; scroll-snap-align: start; }
  .tile { min-height: 230px; }
  .chain li { min-height: 0; gap: 10px; padding: 14px; }
  .chain li:not(:last-child)::after { display: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); padding: 0 var(--gut) 4px; scrollbar-width: none; }
  .chips li { flex: none; font-size: 12.5px; padding: 7px 12px; }
  .tool { padding: 20px; }
  .tool p { font-size: 14px; }
  .principle { padding: 20px; }
  .principle h3 { margin-top: 18px; font-size: 18px; }

  /* phones: smaller mockups */
  .phones .phone, .phones--franz .phone, .phones--founders .phone, .phones--aplus .phone--scroll { width: 44vw; }
  .phones { gap: 10px; }
  .phones figcaption { font-size: 12px; }
  .phones--scroll { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; scroll-snap-type: x mandatory; margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); padding: 4px var(--gut) 14px; scrollbar-width: none; }
  .phones--scroll .phone { flex: none; scroll-snap-align: start; }

  /* KPI tiles tighter */
  .kpis { gap: 8px; }
  .kpis > div { padding: 14px; border-radius: 14px; }
  .kpis dt { font-size: 26px; }
  .kpis dd { font-size: 12.5px; margin-top: 6px; }

  /* Code */
  .statement { padding: 22px; }
  .built9 { padding: 22px; gap: 14px; }
  .dashview { margin-top: 24px; }

  /* fr-anz */
  .franzsec__content { gap: 22px; }
  .aigrid--3 { gap: 6px; margin-top: 28px; }
  .aigrid--3 img { border-radius: 10px; }

  /* Loa */
  .goal { padding: 22px; gap: 18px; }
  .goal__big { font-size: 28px; }
  .goal__steps li { padding: 12px 14px; }
  .founders { gap: 20px; }
  .founders + .deck { margin-top: 48px; }
  .deck__thumbs { display: none; }
  .funnelhl .funnel { display: none; }
  .built { gap: 6px; }
  .built li { padding: 10px 12px; font-size: 13.5px; gap: 8px; }
  .built li::before { width: 16px; height: 16px; }
  .wf { padding: 18px; gap: 10px; }
  .decision { margin-top: 48px; padding: 24px; }
  .decision__text { font-size: 19px; }
  .proofshot { margin-top: 28px; }

  /* Amazon */
  .feature { padding: 20px; gap: 18px; }
  .rail li { padding: 12px; }

  /* Stationen: compact rows */
  .venture { padding: 12px 2px; gap: 3px 12px; }
  .venture__n { font-size: 16px; }
  .venture__r { font-size: 12.5px; }
  .venture__d { font-size: 13.5px; line-height: 1.45; }
  .venture__y { font-size: 11.5px; }

  /* Hamburg */
  .why__media { max-width: 74%; }
  .seek { padding: 20px; }
  .pills li { font-size: 13.5px; padding: 8px 12px; }
}
@media (max-width: 600px) {
  .venture { cursor: pointer; position: relative; padding-right: 26px; }
  .venture__d { display: none; }
  .venture.is-open .venture__d { display: block; }
  .venture::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 18px; font-weight: 300; color: var(--muted-2); transition: transform .25s var(--ease); }
  .venture.is-open::after { transform: translateY(-50%) rotate(45deg); }
  .split { margin-bottom: 22px; }
  .decision__text { font-size: 16.5px; }
  .decision__quote { margin: 20px 0; font-size: 23px; padding-left: 14px; }
  .goal__big { font-size: 26px; }
  .hero__cta { gap: 8px; }
}
@media (max-width: 600px) {
  .tiles, .tools, .inv, .cases, .principles, .boards__grid--row, .chain, .rail, .statement__steps, .phones--scroll, .chips, .phones:not(.phones--scroll) { scroll-padding-inline: var(--gut); }
  .built9__num { font-size: 72px; }
}

/* ---------- v8: burger menu on every screen size ---------- */
.nav__links { display: none; }
.nav__burger { display: block; cursor: pointer; transition: transform .25s var(--ease); }
.nav__burger:hover { transform: scale(1.06); }


/* ---------- v9: menu = glass dropdown top right (like the new Kalani site) ---------- */
.mmenu {
  position: static; inset: auto; z-index: auto; pointer-events: auto;
  width: min(280px, calc(100% - 24px));
  margin: 6px calc(max(12px, (100% - var(--max)) / 2) + 12px) 0 auto;
  padding: 0; display: flex; flex-direction: column; justify-content: flex-start; gap: 0;
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(246, 243, 238, .46));
  -webkit-backdrop-filter: blur(16px) saturate(1.7); backdrop-filter: blur(16px) saturate(1.7);
  box-shadow: 0 14px 40px -18px rgba(26, 23, 20, .28), inset 0 1px 1px rgba(255, 255, 255, .72), inset 0 0 0 1px rgba(26, 23, 20, .06);
  transform-origin: right top; opacity: 0; transform: translateY(-8px) scale(.98);
  transition: opacity .22s var(--ease), transform .26s var(--ease);
}
.mmenu.is-open { opacity: 1; transform: none; }
.mmenu a {
  display: block; padding: 11px 16px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.3;
  color: var(--ink); transition: background .22s var(--ease);
}
.mmenu a + a { box-shadow: inset 0 1px 0 rgba(26, 23, 20, .08); }
.mmenu a:hover, .mmenu a:focus-visible { background: rgba(26, 23, 20, .06); color: var(--ink); }
.nav.on-dark .mmenu { background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(26, 23, 20, .22)); box-shadow: 0 14px 40px -18px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .22); }
.nav.on-dark .mmenu a { color: #FAF8F5; }
.nav.on-dark .mmenu a + a { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16); }
.nav.on-dark .mmenu a:hover, .nav.on-dark .mmenu a:focus-visible { background: rgba(255, 255, 255, .14); }
@media (max-width: 600px) { .mmenu { width: calc(100% - 24px); margin: 6px auto 0; } .mmenu a { padding: 13px 16px; } }
@media (prefers-reduced-motion: reduce) { .mmenu { transition: none; transform: none; } }
.nav.on-dark .mmenu { background: linear-gradient(180deg, rgba(48, 47, 44, .58), rgba(18, 18, 16, .66)); }

/* ---------- v10 ---------- */
/* reels: no light hairline under the video (fractional sizes) */
.phone__screen { background: #121211; }
.phone__screen > .media__video, .phone__screen > .media__img { inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); }

/* Hamburg: replay button, appears once the walk-in has finished */
.replay {
  position: absolute; z-index: 4; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink); cursor: pointer;
  opacity: 0; transform: scale(.85) rotate(-40deg); pointer-events: none;
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.replay svg { width: 18px; height: 18px; }
.why__media.is-ended .replay { opacity: 1; transform: none; pointer-events: auto; }
.replay:hover { transform: rotate(-30deg) scale(1.06); }

/* Kalani video: sound ring follows the rounded video only (not the caption) */
.vidframe.is-sound { box-shadow: 0 50px 100px -50px rgba(40, 30, 15, .55); }
.vidframe__media { border-radius: 28px; }
.vidframe__media::after { content: ""; position: absolute; inset: 0; z-index: 5; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--accent); opacity: 0; transition: opacity .25s var(--ease); pointer-events: none; }
.vidframe.is-sound .vidframe__media::after { opacity: 1; }
@media (max-width: 600px) { .vidframe.is-sound { box-shadow: none; } .vidframe__media { border-radius: 20px; } }

/* ---------- v10: tighter desktop rhythm – less scrolling ---------- */
@media (min-width: 601px) {
  .section { padding: clamp(64px, 7vw, 100px) 0; }
  .hero { padding: clamp(108px, 11vw, 136px) 0 clamp(40px, 5vw, 64px); }
  .block { margin-top: clamp(48px, 6vw, 80px); }
  .head { margin-bottom: clamp(28px, 3.5vw, 44px); }
  .split { margin-bottom: clamp(28px, 3.5vw, 44px); }
  .hero__lead { margin-top: 22px; }
  .hero__cta { margin-top: 26px; }

  /* hero stat tiles: smaller numbers, tighter */
  .stats { margin-top: clamp(36px, 5vw, 60px); }
  .stat { padding-top: 20px; }
  .stat__num { font-size: clamp(30px, 3.1vw, 44px); }
  .stat dd { margin-top: 8px; font-size: 13.5px; line-height: 1.4; }

  /* big media a bit narrower, centred */
  .dashview, .deck, .funnelhl__img { max-width: 980px; margin-left: auto; margin-right: auto; }
  .vidframe { max-width: 1060px; margin-left: auto; margin-right: auto; }
  .vidframe + .kpis { max-width: 1060px; margin-left: auto; margin-right: auto; }

  /* phone mockups a touch smaller */
  .phone { width: clamp(170px, 16vw, 210px); }
  .phones--aplus .phone--scroll { width: clamp(170px, 16.5vw, 212px); }
  @media (min-width: 861px) { .phones--franz .phone, .phones--founders .phone { width: clamp(160px, 13.5vw, 190px); } }

  /* misc */
  .kpis > div { padding: 18px 20px; }
  .goal { padding: clamp(28px, 3.5vw, 44px); }
  .decision { margin-top: clamp(48px, 6vw, 80px); padding: clamp(28px, 4vw, 48px); }
  .decision__quote { margin: 24px 0; font-size: clamp(24px, 2.8vw, 34px); }
  .venture { padding: 15px 4px; }
  .principle { min-height: 200px; }
  .proofshot { margin-top: clamp(28px, 3.5vw, 44px); }
  .aigrid--3 { max-width: 720px; }
}
/* funnel stages behind a toggle */
.funnelhl .funnel { display: none; }
.funnelhl.is-open .funnel { display: block; }
.funnel__toggle { display: flex; margin: 4px auto 0; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.funnel__toggle .arr { display: inline-block; transition: transform .3s var(--ease); }
.funnelhl.is-open .funnel__toggle { margin-bottom: 16px; }
.funnelhl.is-open .funnel__toggle .arr { transform: rotate(180deg); }
@media (min-width: 601px) {
  .founders + .deck { margin-top: clamp(56px, 6vw, 80px); }
  .statement__text { font-size: clamp(22px, 2.4vw, 30px) !important; }
  .built9__num { font-size: clamp(72px, 9vw, 120px); }
  .tools { margin-top: clamp(32px, 4vw, 48px); }
}
@media (min-width: 601px) {
  .proofshot { max-width: 820px; margin-left: auto; margin-right: auto; }
  .deck, .funnelhl__img, .dashview { max-width: 920px; }
  .hero__title { font-size: clamp(44px, 6.2vw, 86px); }
}
@media (min-width: 601px) {
  .h2 { font-size: clamp(34px, 4.4vw, 58px); }
  .h2--sm { font-size: clamp(28px, 3.3vw, 44px); }
  .head .lead { margin-top: 16px; }
  .proofshot { max-width: 720px; }
  .vidframe, .vidframe + .kpis { max-width: 1000px; }
}

/* ---------- v11 ---------- */
/* hero stats = compact tiles like the Kalani KPIs, every number on one line */
.stats { border-top: 0; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 52px); }
.stat, .stat + .stat { padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .6); }
.stat__num { font-size: clamp(24px, 2.5vw, 34px); white-space: nowrap; min-height: 0; }
.stat dd { margin-top: 6px; font-size: 13px; line-height: 1.4; max-width: none; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .stat:nth-child(3) { padding-left: 18px; border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { margin-top: 0; }
}
@media (max-width: 600px) {
  .stat, .stat + .stat { padding: 12px 14px; border-radius: 14px; }
  .stat:nth-child(3) { padding-left: 14px; }
  .stat__num { font-size: 23px; }
  .stat dd { font-size: 12px; }
}

/* three materials: the same dark outline on all tiles */
.tiles .tile--img { border: 1px solid #1c1a17; }
.tiles .tile--dash { background: #1c1a17; }

/* product boards: arrows show there is more to swipe */
.strip { position: relative; }
.strip__nav { display: none; }
@media (max-width: 600px) {
  .strip__nav {
    display: grid; place-items: center; position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; color: var(--ink);
    transition: opacity .25s var(--ease);
  }
  .strip__nav--prev { left: 4px; }
  .strip__nav--next { right: 4px; }
  .strip.at-start .strip__nav--prev, .strip.at-end .strip__nav--next, .strip.no-scroll .strip__nav { opacity: 0; pointer-events: none; }
}

/* principles: explanation line under each rule */
.principle p { margin-top: 10px; font-size: 14.5px; line-height: 1.5; }
@media (min-width: 601px) { .principle h3 { margin-top: 28px; } }

/* Hamburg: picture a bit larger */
@media (min-width: 861px) { .why__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
