:root {
  --ink: #181616;
  --ink-2: #211e1e;
  --ink-3: #2c2828;
  --cream: #fffddb;
  --cream-60: rgba(255, 253, 219, .6);
  --cream-30: rgba(255, 253, 219, .3);
  --cream-15: rgba(255, 253, 219, .15);
  --cream-08: rgba(255, 253, 219, .08);
  --red: #ff3831;
  --glass: rgba(24, 22, 22, .62);
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Roboto Mono", ui-monospace, monospace;
  --top: 60px;
  --tick: 38px;
  --index-w: 268px;
  --gutter: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
.show-sm { display: none; }

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  overscroll-behavior: none;
}
body.is-list { overflow: auto; }
html { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
[hidden] { display: none !important; }

.mono {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); margin-right: 10px; vertical-align: 1px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 18px; border-radius: 999px;
  font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: var(--ink); }
.btn--red:hover { background: var(--cream); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: var(--red); }
.link { position: relative; padding: 4px 0; opacity: .85; transition: opacity .2s; }
.link:hover, .link[aria-pressed="true"] { opacity: 1; }
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.link:hover::after, .link[aria-pressed="true"]::after { transform: scaleX(1); transform-origin: left; }
.close {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--cream-30);
  display: grid; place-items: center; font-size: 13px; transition: background .2s, color .2s;
}
.close:hover { background: var(--cream); color: var(--ink); }

/* Loader */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--ink);
  display: grid; place-items: center; transition: opacity .7s var(--ease), visibility .7s;
}
.loader__mark { font-size: clamp(32px, 5vw, 56px); font-weight: 600; letter-spacing: -.03em; }
.loader__count { position: absolute; bottom: 28px; right: 28px; font-size: 13px; }
.is-ready .loader { opacity: 0; visibility: hidden; pointer-events: none; }

/* Top bar */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: calc(var(--top) + var(--safe-t));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: var(--safe-t) var(--gutter) 0;
  background: linear-gradient(var(--ink) 30%, rgba(24, 22, 22, 0));
}
.brand { font-size: 24px; font-weight: 600; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.brand em { font-size: 1.08em; }
.top__coords { position: absolute; left: 50%; transform: translateX(-50%); color: var(--cream-60); font-variant-numeric: tabular-nums; }
.top__nav { display: flex; align-items: center; gap: 22px; }
.lang { display: flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--cream-15); border-radius: 999px; }
.lang button { min-width: 34px; height: 30px; padding: 0 8px; border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--cream-60); transition: background .2s, color .2s; }
.lang button:hover { color: var(--cream); }
.lang button[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
[data-toggle-index] { display: none; }

/* Index */
.index {
  position: fixed; z-index: 20; top: var(--top); left: var(--gutter); bottom: calc(var(--tick) + 16px);
  width: var(--index-w); display: flex; flex-direction: column;
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--cream-08); border-radius: 14px;
  transition: opacity .4s, transform .5s var(--ease);
}
.index__head { display: flex; justify-content: space-between; padding: 16px 18px 12px; border-bottom: 1px solid var(--cream-08); color: var(--cream-60); }
.index__body { overflow-y: auto; padding: 6px 8px 14px; scrollbar-width: thin; scrollbar-color: var(--cream-15) transparent; }
.index__group { margin-top: 12px; }
.index__group h3 { margin: 0 10px 4px; color: var(--red); }
.index__item {
  display: flex; align-items: baseline; gap: 10px; width: 100%; text-align: left;
  padding: 5px 10px; border-radius: 8px; font-size: 15px; letter-spacing: -.01em;
  transition: background .2s, color .2s;
}
.index__item small { font-family: var(--mono); font-size: 10px; color: var(--cream-60); }
.index__item:hover, .index__item.is-active { background: var(--cream); color: var(--ink); }
.index__item:hover small, .index__item.is-active small { color: var(--ink); }
body.is-list .index { opacity: 0; pointer-events: none; transform: translateX(-20px); }

/* Stage */
.stage {
  position: fixed; inset: 0; overflow: hidden; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
}
.stage.is-dragging { cursor: grabbing; }
.world { position: absolute; inset: 0; }
.tile {
  position: absolute; top: 0; left: 0; will-change: transform;
  width: var(--tw); padding: 0; text-align: left;
}
.tile__img {
  position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden;
  background: var(--ink-3); box-shadow: .3rem .5rem 1.2rem 0 rgba(0, 0, 0, .45);
  transition: transform .6s var(--ease), box-shadow .4s, opacity .4s, filter .4s;
}
.tile__img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.tile__img::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid var(--cream-08);
  transition: border-color .3s;
}
.tile__label { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; transition: opacity .4s; }
.tile__name { font-size: 15px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile__meta { color: var(--cream-60); white-space: nowrap; padding-top: 3px; }
.tile:hover .tile__img, .tile.is-lit .tile__img { transform: scale(1.035); box-shadow: .5rem .9rem 2rem 0 rgba(0, 0, 0, .6); }
.tile:hover .tile__img::after, .tile.is-lit .tile__img::after { border-color: var(--cream); }
.world.has-lit .tile:not(.is-lit) .tile__img { opacity: .25; filter: grayscale(1); }
.world.has-lit .tile:not(.is-lit) .tile__label { opacity: .25; }
.tile--cta .tile__img {
  display: grid; place-items: center; background: var(--red); color: var(--ink); text-align: center;
}
.tile--cta .tile__img span { font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }

/* Hero */
.hero {
  position: fixed; z-index: 15; left: calc(var(--index-w) + var(--gutter) * 2); bottom: calc(var(--tick) + 26px);
  pointer-events: none; max-width: 640px;
  padding: 22px 26px 24px; border-radius: 14px;
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--cream-08);
  transition: opacity .5s, transform .6s var(--ease);
}
.hero__eyebrow { margin: 0 0 10px; color: var(--cream-60); }
.hero__title { margin: 0; font-size: clamp(36px, 4.6vw, 72px); line-height: .95; letter-spacing: -.045em; font-weight: 600; }
.hero__title em { letter-spacing: -.02em; }
.hero__actions { display: flex; align-items: center; gap: 18px; margin-top: 20px; pointer-events: auto; }
.hero__hint { color: var(--cream-60); }
.hero.is-tucked { opacity: 0; transform: translateY(20px); }
body.is-list .hero { opacity: 0; pointer-events: none; }
body.is-list .hero * { pointer-events: none; }

/* Ticker */
.ticker {
  position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; height: calc(var(--tick) + var(--safe-b));
  padding-bottom: var(--safe-b); display: flex; align-items: center; overflow: hidden; background: var(--ink); border-top: 1px solid var(--cream-08);
}
.ticker__track { display: flex; white-space: nowrap; animation: tick 60s linear infinite; }
.ticker__track span { padding-right: 28px; }
.ticker__track i { font-style: normal; color: var(--red); padding-right: 28px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* List view */
.list { position: relative; z-index: 10; padding: calc(var(--top) + 40px) var(--gutter) calc(var(--tick) + 60px); background: var(--ink); min-height: 100%; }
.list__inner { max-width: 1400px; margin: 0 auto; }
.list__head h2 { margin: 8px 0 40px; font-size: clamp(36px, 5vw, 76px); line-height: .95; letter-spacing: -.045em; font-weight: 600; }
.list__head p { margin: 0; color: var(--cream-60); }
.list__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 24px; }
.card { display: block; text-align: left; width: 100%; }
.card .tile__img { transition: transform .6s var(--ease); }
.card:hover .tile__img { transform: translateY(-4px); }
.card:hover .tile__img::after { border-color: var(--cream); }
.card p { margin: 6px 0 0; color: var(--cream-60); font-size: 14px; line-height: 1.45; }
body.is-list .stage { visibility: hidden; }

/* Drawer */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(10, 9, 9, .5); }
.drawer {
  position: fixed; z-index: 45; top: 10px; right: 10px; bottom: 10px; width: min(620px, calc(100% - 20px));
  display: flex; flex-direction: column;
  background: var(--ink-2); border: 1px solid var(--cream-08); border-radius: 16px;
  transform: translateX(calc(100% + 20px)); transition: transform .7s var(--ease); outline: none;
}
.drawer.is-open { transform: none; }
.drawer__bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--cream-08); color: var(--cream-60); }
.drawer__nav { display: flex; align-items: center; gap: 18px; color: var(--cream); }
.drawer__scroll { overflow-y: auto; padding: 20px 20px 28px; }
.drawer__shot { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink-3); }
.drawer__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.drawer__shot:hover img { transform: scale(1.03); }
.drawer__visit {
  position: absolute; right: 12px; bottom: 12px; padding: 8px 12px; border-radius: 999px;
  background: var(--red); color: var(--ink); opacity: 0; transform: translateY(6px); transition: .3s var(--ease);
}
.drawer__shot:hover .drawer__visit { opacity: 1; transform: none; }
.drawer__sector { margin: 22px 0 6px; color: var(--red); }
.drawer__title { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: .98; letter-spacing: -.04em; font-weight: 600; }
.drawer__tagline { margin: 8px 0 0; font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.2; color: var(--cream-60); }
.drawer__desc { margin: 18px 0 0; font-size: 17px; line-height: 1.55; }
.drawer__meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; margin: 24px 0 0; }
.drawer__meta div { padding: 10px 0; border-top: 1px solid var(--cream-15); }
.drawer__meta dt { color: var(--cream-60); }
.drawer__meta dd { margin: 4px 0 0; text-transform: none; font-family: var(--sans); font-size: 15px; letter-spacing: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 26px; }
.tags li { padding: 6px 10px; border: 1px solid var(--cream-30); border-radius: 999px; }

/* Overlays */
.overlay {
  position: fixed; inset: 0; z-index: 50; overflow-y: auto; background: var(--ink);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.overlay.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.overlay__close { position: fixed; top: calc(11px + var(--safe-t)); right: var(--gutter); z-index: 2; background: var(--ink); }
.overlay__inner { max-width: 1200px; margin: 0 auto; padding: 90px var(--gutter) 80px; }
.overlay__inner > .mono:first-child, .contact__intro > .mono:first-child { color: var(--cream-60); margin: 0; }
.about__title { margin: 16px 0 0; font-size: clamp(36px, 5.4vw, 84px); line-height: .98; letter-spacing: -.045em; font-weight: 600; max-width: 15ch; }
.about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; font-size: 18px; color: var(--cream-60); max-width: 980px; }
.about__cols p { margin: 0; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; border-top: 1px solid var(--cream-15); padding-top: 28px; }
.services ul { list-style: none; margin: 0; padding: 0; }
.services li { font-size: clamp(20px, 2vw, 28px); line-height: 1.3; letter-spacing: -.02em; }
.about__cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--cream-15); }
.about__cta h3 { margin: 0; font-size: clamp(30px, 4vw, 56px); letter-spacing: -.04em; font-weight: 600; line-height: 1; }
.about__cta p { margin: 12px 0 0; color: var(--cream-60); font-size: 17px; max-width: 46ch; }
.about__lead { color: var(--cream); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 24px; margin: 64px 0 0; }
.stats div { border-top: 1px solid var(--cream-15); padding-top: 14px; }
.stats dt { color: var(--cream-60); }
.stats dd { margin: 6px 0 0; font-size: clamp(44px, 5vw, 72px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }

.principles { margin-top: 72px; }
.principles h3, .services__title { margin: 0 0 22px; color: var(--cream-60); }
.principles ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: p; }
.principles li { counter-increment: p; font-size: 16px; line-height: 1.55; color: var(--cream-60); }
.principles li::before { content: "0" counter(p); display: block; margin-bottom: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--red); }
.principles strong { display: block; margin-bottom: 8px; color: var(--cream); font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.services__title { grid-column: 1 / -1; margin-bottom: -8px; }
.services h4 { margin: 0 0 14px; color: var(--red); }
.list__cta { margin-top: 80px; }

.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact__intro h2 { margin: 16px 0 18px; font-size: clamp(40px, 5.6vw, 88px); line-height: .95; letter-spacing: -.045em; font-weight: 600; }
.contact__intro > p:not(.mono) { color: var(--cream-60); font-size: 18px; max-width: 42ch; margin: 0; }
.contact__links { display: flex; flex-direction: column; gap: 8px; margin-top: 32px; }
.contact__links a { text-decoration: none; }
.contact__links a:hover { color: var(--red); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 8px; }
.form label > span { color: var(--cream-60); }
.form__full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--cream);
  background: transparent; border: 0; border-bottom: 1px solid var(--cream-30); border-radius: 0;
  padding: 8px 0 10px; outline: none; transition: border-color .2s;
}
.form select { appearance: none; background: linear-gradient(45deg, transparent 50%, var(--cream) 50%) right 6px center / 6px 6px no-repeat, linear-gradient(-45deg, transparent 50%, var(--cream) 50%) right 0 center / 6px 6px no-repeat; }
.form select option { background: var(--ink); color: var(--cream); }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--red); }
.form [aria-invalid="true"] { border-color: var(--red); }
.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.form__status { margin: 0; color: var(--cream-60); }

/* Custom cursor label */
.cursor {
  position: fixed; z-index: 60; top: 0; left: 0; pointer-events: none;
  width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--cream); color: var(--ink);
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  transform: translate3d(var(--x, -100px), var(--y, -100px), 0) scale(0); transition: transform .35s var(--ease);
}
.cursor.is-on { transform: translate3d(var(--x), var(--y), 0) scale(1); }

/* Responsive */
@media (max-width: 1100px) {
  .top__coords { display: none; }
}
@media (max-width: 860px) {
  :root { --gutter: 16px; --top: 56px; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  [data-toggle-index] { display: inline; }
  body.is-list [data-toggle-index] { display: none; }
  .top__nav { gap: 4px; margin-right: -10px; }
  .top__nav .link { padding: 12px 8px; white-space: nowrap; }
  .top__nav .link::after { left: 8px; right: 8px; bottom: 8px; }
  .top__nav .btn { display: none; }
  /* Phones: one button that switches to the other language. */
  .top__nav .lang { margin-left: 4px; padding: 0; border: 0; }
  .top__nav .lang button { min-width: 36px; height: 32px; padding: 0 6px; border: 1px solid var(--cream-30); color: var(--cream); }
  .top__nav .lang button[aria-pressed="true"] { display: none; }
  .brand { font-size: 21px; padding: 8px 0; }
  @media (max-width: 380px) { .brand { font-size: 19px; } .top__nav .link { padding: 12px 6px; } .top__nav .link::after { left: 6px; right: 6px; } }

  .index { left: 10px; right: 10px; width: auto; top: calc(var(--top) + var(--safe-t) + 4px); bottom: calc(var(--tick) + var(--safe-b) + 10px); opacity: 0; pointer-events: none; transform: translateY(-10px); z-index: 35; }
  body.index-open .index { opacity: 1; pointer-events: auto; transform: none; }
  .index__item { padding: 10px; font-size: 16px; }

  .hero { left: 10px; right: 10px; bottom: calc(var(--tick) + var(--safe-b) + 10px); max-width: none; padding: 14px 16px 16px; }
  .hero__eyebrow { margin-bottom: 8px; }
  .hero__title { font-size: clamp(30px, 8.6vw, 44px); }
  .hero__actions { margin-top: 14px; gap: 14px; }
  .hero .btn { height: 44px; }

  .list { padding-top: calc(var(--top) + var(--safe-t) + 24px); padding-bottom: calc(var(--tick) + var(--safe-b) + 40px); }
  .list__head h2 { margin-bottom: 28px; }
  .list__grid { gap: 32px 16px; }

  /* Drawer becomes a full-height sheet that slides up */
  .drawer { top: calc(var(--safe-t) + 8px); left: 0; right: 0; bottom: 0; width: auto; border-radius: 18px 18px 0 0; border-bottom: 0; transform: translateY(100%); }
  .drawer__bar { padding: 6px 6px 6px 16px; }
  .drawer__nav { gap: 2px; }
  .drawer__nav .link { padding: 12px 10px; }
  .drawer__nav .link::after { left: 10px; right: 10px; bottom: 8px; }
  .drawer__scroll { padding: 16px 16px calc(28px + var(--safe-b)); }
  .drawer__title { font-size: clamp(30px, 9vw, 40px); }
  .drawer__tagline { font-size: 21px; }
  .drawer__desc { font-size: 16px; }
  .drawer__meta { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  #dLink, #dCase { width: 100%; height: 48px; }
  .cases { margin-bottom: 64px; }
  .cases__grid { grid-template-columns: 1fr; gap: 36px; }

  .overlay__inner { padding: calc(72px + var(--safe-t)) var(--gutter) calc(56px + var(--safe-b)); }
  .about__cols { grid-template-columns: 1fr; gap: 18px; margin-top: 32px; font-size: 17px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 24px 16px; margin-top: 44px; }
  .principles { margin-top: 52px; }
  .principles ol { grid-template-columns: 1fr; gap: 28px; }
  .principles strong { font-size: 20px; }
  .services { grid-template-columns: 1fr; gap: 24px; margin-top: 52px; }
  .services ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .services li { font-size: 15px; letter-spacing: 0; line-height: 1; padding: 9px 12px; border: 1px solid var(--cream-15); border-radius: 999px; }
  .about__cta { margin-top: 52px; flex-direction: column; align-items: stretch; gap: 22px; }
  .about__cta .btn { height: 48px; }
  .contact { grid-template-columns: 1fr; gap: 36px; }
  .contact__links a { display: inline-block; padding: 6px 0; }
  .form { grid-template-columns: 1fr; }
  .form .btn { height: 48px; width: 100%; }
  .cursor { display: none; }
}
@media (hover: none) {
  .cursor { display: none; }
  /* Touch: stop hover effects from sticking after a tap */
  .btn:hover { transform: none; }
  .tile:hover:not(.is-lit) .tile__img { transform: none; box-shadow: .3rem .5rem 1.2rem 0 rgba(0, 0, 0, .45); }
  .tile:hover:not(.is-lit) .tile__img::after { border-color: var(--cream-08); }
  .card:hover .tile__img { transform: none; }
  .drawer__visit { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .ticker__track { animation: none; }
}

/* ==========================================================================
   Start a project: WhatsApp funnel
   ========================================================================== */
.funnel { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
.funnel__main > .mono:first-child { color: var(--cream-60); margin: 0; }
.funnel__title { margin: 16px 0 32px; font-size: clamp(38px, 5vw, 76px); line-height: .95; letter-spacing: -.045em; font-weight: 600; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 36px; padding: 0; }
.steps li { border-top: 2px solid var(--cream-15); transition: border-color .4s; }
.steps li.is-on { border-color: var(--cream); }
.steps li.is-current { border-color: var(--red); }
.steps button { display: block; width: 100%; text-align: left; padding: 12px 0 4px; color: var(--cream-30); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.steps li.is-on button { color: var(--cream); }
.steps button:disabled { cursor: default; }

.funnel__form { min-width: 0; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.step.is-on { display: block; animation: stepIn .5s var(--ease); }
.step.form.is-on { display: grid; }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } }
.step legend, .funnel__sub { display: block; float: left; width: 100%; padding: 0; margin: 0 0 14px; color: var(--cream-60); }
.step.form legend { grid-column: 1 / -1; margin: 0; }
.funnel__sub { float: none; margin-top: 30px; }

/* Hidden native inputs, styled labels */
.choice input, .pill input, .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.choices { clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; cursor: pointer;
  border: 1px solid var(--cream-15); border-radius: 12px; transition: border-color .2s, background .2s, color .2s;
}
.choice__name { font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.choice__note { font-size: 14px; color: var(--cream-60); line-height: 1.35; }
.choice:hover { border-color: var(--cream-60); }
.choice:has(input:checked) { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.choice:has(input:checked) .choice__note { color: rgba(24, 22, 22, .65); }
.choice:has(input:checked)::after { content: "●"; position: absolute; top: 12px; right: 14px; color: var(--red); font-size: 12px; }
.choice:has(input:focus-visible), .pill:has(input:focus-visible), .chip:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }

.pills, .extras { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.pill, .chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; cursor: pointer;
  border: 1px solid var(--cream-30); border-radius: 999px; font-size: 15px; transition: background .2s, color .2s, border-color .2s;
}
.chip span::before { content: "+"; margin-right: 8px; color: var(--red); font-family: var(--mono); }
.pill:hover, .chip:hover { border-color: var(--cream); }
.pill:has(input:checked), .chip:has(input:checked) { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.chip:has(input:checked) span::before { content: "✓"; color: var(--ink); }

.funnel__row { display: flex; flex-wrap: wrap; gap: 0 40px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--cream-30); border-radius: 999px; height: 40px; }
.stepper button { width: 44px; height: 100%; font-size: 18px; border-radius: 999px; transition: background .2s, color .2s; }
.stepper button:hover { background: var(--cream); color: var(--ink); }
.stepper output { min-width: 28px; text-align: center; font-size: 17px; font-variant-numeric: tabular-nums; }

.step.form { gap: 18px; grid-template-columns: 1fr 1fr; }

.summary { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; clear: both; }
.summary div { padding: 12px 0; border-top: 1px solid var(--cream-15); min-width: 0; }
.summary dt { color: var(--cream-60); }
.summary dd { margin: 4px 0 0; font-size: 16px; overflow-wrap: anywhere; }
.btn--wa { margin-top: 28px; height: 52px; padding: 0 26px; background: #25d366; color: #08130c; font-size: 12px; }
.btn--wa:hover { background: var(--cream); }
.funnel__note { margin: 12px 0 0; color: var(--cream-60); font-size: 14px; }

.funnel__nav { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--cream-15); }
.funnel__nav .btn { margin-left: auto; height: 46px; padding: 0 24px; }
.funnel__nav .link { padding: 12px 0; }
.funnel__status { margin: 0; color: var(--red); }

/* Phone preview */
.phone { position: sticky; top: 80px; }
.phone__frame {
  position: relative; display: flex; flex-direction: column; height: min(620px, calc(100vh - 190px)); min-height: 440px;
  border-radius: 40px; border: 10px solid #0d0c0c; background: #0b141a; overflow: hidden;
  box-shadow: 0 0 0 1px var(--cream-15), 0 30px 80px rgba(0, 0, 0, .55);
}
.phone__notch { position: absolute; top: 8px; left: 50%; width: 92px; height: 24px; margin-left: -46px; border-radius: 99px; background: #000; z-index: 2; }
.phone__head { display: flex; align-items: center; gap: 10px; padding: 40px 16px 12px; background: #1f2c34; }
.phone__head strong { display: block; font-size: 15px; font-weight: 600; }
.phone__head small { display: block; font-size: 12px; color: rgba(233, 237, 239, .6); }
.phone__avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: var(--ink); font-family: var(--serif); font-style: italic; font-size: 22px; }
.phone__chat { flex: 1; overflow-y: auto; padding: 14px 10px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: none; }
.phone__chat::-webkit-scrollbar { display: none; }
.bubble { max-width: 88%; padding: 8px 10px 6px; border-radius: 10px; font-size: 13.5px; line-height: 1.42; color: #e9edef; overflow-wrap: anywhere; }
.bubble time { display: block; text-align: right; font-size: 10.5px; color: rgba(233, 237, 239, .55); margin-top: 4px; }
.bubble--in { background: #202c33; border-top-left-radius: 2px; }
.bubble--out { align-self: flex-end; background: #005c4b; border-top-right-radius: 2px; }
.bubble strong { font-weight: 600; }
.ticks { color: #53bdeb; }
.phone__bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px 14px; }
.phone__bar span { flex: 1; height: 40px; border-radius: 99px; background: #2a3942; display: flex; align-items: center; padding: 0 16px; font-size: 14px; color: rgba(233, 237, 239, .5); }
.phone__bar i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #08130c; font-style: normal; }
.phone__caption { margin: 14px 0 0; color: var(--cream-60); font-size: 13px; text-align: center; }
.phone .contact__links { margin-top: 22px; align-items: center; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; z-index: 28; right: var(--gutter); bottom: calc(var(--tick) + var(--safe-b) + 18px);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  transition: transform .4s var(--ease), opacity .3s;
}
.wa-float:hover { transform: scale(1.08); }
body:has(.overlay.is-open) .wa-float, body:has(.drawer.is-open) .wa-float { opacity: 0; pointer-events: none; transform: scale(.6); }

@media (max-width: 1100px) {
  .funnel { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
}
@media (max-width: 860px) {
  .funnel { grid-template-columns: 1fr; gap: 28px; }
  .funnel__title { margin-bottom: 24px; }
  .steps { gap: 6px; margin-bottom: 26px; }
  .steps button { font-size: 10px; letter-spacing: .02em; padding-top: 10px; }
  .steps .step-label { display: none; }
  .choices { grid-template-columns: 1fr; gap: 8px; }
  .choice { padding: 14px 16px; }
  .choice__name { font-size: 18px; }
  .step.form { grid-template-columns: 1fr; }
  .summary { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .btn--wa { width: 100%; }
  .funnel__nav { position: sticky; bottom: 0; z-index: 3; margin: 28px calc(var(--gutter) * -1) 0; padding: 12px var(--gutter) calc(12px + var(--safe-b)); background: var(--ink); }
  .funnel__nav .btn { height: 48px; }
  .funnel__status { flex: 1; font-size: 10px; }
  /* Phone preview only on the last step, so the form stays short */
  .phone { position: static; display: none; }
  .is-final .phone { display: block; }
  .phone__frame { height: 520px; min-height: 0; max-width: 340px; margin: 0 auto; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: calc(var(--tick) + var(--safe-b) + 12px); }
  /* On the canvas the hero card already carries the CTA and would sit under the button */
  body:not(.is-list) .wa-float { display: none; }
}

/* Outline button (hero, list view, pricing) */
.btn--line { border: 1px solid var(--cream-30); }
.btn--line:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* Drawer buttons and case studies (list view) */
.drawer__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cases { margin-bottom: 96px; }
.cases > .mono { margin: 0; color: var(--cream-60); }
.cases h2 { margin: 8px 0 32px; font-size: clamp(32px, 4.4vw, 64px); line-height: .95; letter-spacing: -.045em; font-weight: 600; }
.cases__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.case-card .tile__img { margin-bottom: 10px; transition: transform .6s var(--ease); }
.case-card:hover .tile__img { transform: translateY(-4px); }
.case-card > .mono { color: var(--cream-60); }
.case-card strong { font-size: 26px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.case-card p { margin: 0; color: var(--cream-60); font-size: 15px; }
.case-card__go { margin-top: 6px; color: var(--red); }
.cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) {
  /* Phones: Pricing lives in the hero card and the list view, not the crowded top bar. */
  .top__nav .nav__pricing, .hero__hint { display: none; }
  .hero .btn--line { flex: 1; }
  .hero .btn--red { flex: 1.3; }
  .cta__btns { flex-direction: column-reverse; }
  .cta__btns .btn { height: 48px; }
}
