/* /mulai: interactive form over the "company taking shape" scene.
   Daylight version of the Lumea tokens: soft cool-grey paper, ink text, one amber accent.
   Shape rule: form controls and tiles are soft (12-18px), photo cards and panels are round
   (28px), every CTA is a pill. */

:root {
  --bg: #eceef2;
  --bg-hi: #f8f9fb;
  --ink: #111318;
  --ink-muted: rgba(17, 19, 24, .66);
  --ink-subtle: rgba(17, 19, 24, .46);
  --line: rgba(17, 19, 24, .16);
  --line-soft: rgba(17, 19, 24, .08);
  --panel: rgba(255, 255, 255, .72);
  --panel-solid: #ffffff;
  --light: #ee7d1c;
  --light-soft: #ffd8a8;
  --night: #0c0d11;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --shadow: 0 40px 80px -36px rgba(22, 26, 38, .42), 0 14px 28px -18px rgba(22, 26, 38, .28);
  --display: "Instrument Serif", ui-serif, Georgia, serif;
  --body: "General Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, 0, 0, 1);
  --spring: cubic-bezier(.2, .9, .25, 1.05);
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh;
  background: radial-gradient(120% 80% at 70% 0%, var(--bg-hi) 0%, var(--bg) 60%) fixed, var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
::selection { background: var(--light-soft); color: var(--ink); }
[hidden] { display: none !important; }

/* ---------- backdrop ---------- */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.scene-on #scene { opacity: 1; }
body.is-wide #scene { opacity: .55; }
.glow-fallback {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 74% 50%, rgba(238, 125, 28, .3) 0, rgba(238, 125, 28, .08) 9%, transparent 26%);
  transition: opacity 1.2s var(--ease);
}
.scene-on .glow-fallback { opacity: 0; }
.scrim {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(236, 238, 242, .94) 0%, rgba(236, 238, 242, .72) 38%, rgba(236, 238, 242, 0) 64%);
}
body.is-wide .scrim { background: linear-gradient(180deg, rgba(236, 238, 242, 0) 0%, rgba(236, 238, 242, .6) 22%, rgba(236, 238, 242, .9) 40%); }

/* ---------- header ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; gap: 24px;
  height: 68px; padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
body.scrolled .top {
  background: rgba(244, 245, 248, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--line-soft);
}
.brand { font: 400 24px/1 var(--display); text-decoration: none; }
.progress { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.progress i { display: block; width: clamp(80px, 14vw, 180px); height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.progress b { display: block; height: 100%; width: 0; background: var(--light); transition: width .9s var(--spring); }
.restart { background: none; border: 0; padding: 6px 0; color: var(--ink-subtle); font-size: 13px; cursor: pointer; }
.restart:hover { color: var(--ink); }

.label {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 11.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-subtle);
}
.dot {
  width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--light); box-shadow: 0 0 0 4px rgba(238, 125, 28, .16);
  animation: breathe 3.2s ease-in-out infinite;
}
@keyframes breathe { 50% { box-shadow: 0 0 0 7px rgba(238, 125, 28, .04); } }

/* ---------- layout ---------- */
.app { position: relative; z-index: 2; min-height: 100dvh; padding: 128px var(--gutter) 96px; }
.step { max-width: 620px; }
.step.wide { max-width: 1240px; margin: 0 auto; }
.display { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -.01em; text-wrap: balance; }
.display em { font-style: italic; }
.q { margin-top: 20px; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.06; padding-bottom: 4px; }
.lead { margin: 18px 0 0; color: var(--ink-muted); font-size: clamp(16px, 1.2vw, 18px); max-width: 52ch; }
.fine { margin: 26px 0 0; color: var(--ink-subtle); font-size: 13.5px; }
.fine i { vertical-align: -2px; margin-right: 4px; }

/* entrance: children rise out of a soft blur, one after another */
.step.enter > * { animation: rise .9s var(--spring) both; animation-delay: calc(var(--i, 0) * 70ms); }
.step.leave { animation: fall .32s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } }
@keyframes fall { to { opacity: 0; transform: translateY(-10px); filter: blur(6px); } }
.reduced .step.enter > *, .reduced .step.leave { animation: none; }

/* ---------- fields ---------- */
.fields { display: grid; gap: 18px 24px; margin-top: 40px; }
.fields.two { grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 8px; margin-top: 26px; }
.fields .field { margin-top: 0; }
.field.narrow { max-width: 300px; }
.field > span, .group legend {
  font: 500 11px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-subtle);
}
.field small { text-transform: none; letter-spacing: 0; font-family: var(--body); color: var(--ink-subtle); margin-left: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; font-size: 19px; outline: none; resize: vertical;
  transition: border-color .2s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { font-size: 16px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: rgba(17, 19, 24, .3); }
.field input:focus, .field textarea:focus { border-bottom-color: var(--ink); box-shadow: 0 10px 18px -16px rgba(238, 125, 28, .9); }
.field.bad input { border-bottom-color: #c8442c; }

.group { margin: 30px 0 0; padding: 0; border: 0; min-width: 0; }
.group legend { padding: 0; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 42px; padding: 0 16px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .55); border-radius: var(--r-sm);
  font-size: 14.5px; color: var(--ink-muted);
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease), transform .25s var(--spring);
}
.chip:hover { border-color: rgba(17, 19, 24, .4); color: var(--ink); }
.chip:active { transform: scale(.97); }
.chip.on { border-color: var(--ink); background: var(--ink); color: #fff; }

.assets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 36px; }
.step[data-step="2"] { max-width: 820px; }
.asset {
  position: relative; display: grid; align-content: start; gap: 4px; min-height: 128px; padding: 16px;
  text-align: left; cursor: pointer; border-radius: var(--r-md);
  border: 1px solid var(--line-soft); background: var(--panel);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
  transition: border-color .25s var(--ease), background .35s var(--ease), transform .3s var(--spring), box-shadow .3s var(--ease);
}
.asset i { font-size: 22px; color: var(--ink-subtle); margin-bottom: 14px; transition: color .25s var(--ease); }
.asset b { font-weight: 500; font-size: 15px; line-height: 1.25; }
.asset small { color: var(--ink-subtle); font-size: 12.5px; line-height: 1.35; }
.asset:hover { border-color: var(--line); transform: translateY(-2px); }
.asset:active { transform: scale(.98); }
.asset.on {
  border-color: var(--ink); background: var(--panel-solid);
  box-shadow: 0 18px 30px -22px rgba(238, 125, 28, .9);
}
.asset.on i { color: var(--light); }
.asset.on::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--light); box-shadow: 0 0 0 4px rgba(238, 125, 28, .18);
}
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.details .field { animation: rise .7s var(--spring) both; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 30px; color: var(--ink-muted); font-size: 13.5px; line-height: 1.5; cursor: pointer; }
.consent input {
  appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 1px 0 0;
  border: 1px solid var(--line); border-radius: 5px; background: #fff; cursor: pointer; display: grid; place-items: center;
}
.consent input:checked { border-color: var(--ink); background: var(--ink); }
.consent input:checked::after { content: ""; width: 9px; height: 5px; border: 1.5px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.consent.bad input { border-color: #c8442c; }

.err { margin: 20px 0 0; color: #b23a24; font-size: 14px; }
.err::before { content: "— "; }

/* ---------- actions ---------- */
.actions { display: flex; align-items: center; gap: 22px; margin-top: 38px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 30px; border-radius: 9999px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  font: 500 15.5px/1 var(--body); white-space: nowrap; cursor: pointer; text-decoration: none;
  transition: opacity .15s var(--ease), transform .25s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { box-shadow: 0 14px 26px -16px rgba(17, 19, 24, .8); }
.btn:active { transform: scale(.98); }
.btn i { transition: transform .25s var(--ease); }
.btn:hover i.ph-arrow-right { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn[disabled] { opacity: .5; cursor: progress; }
.back, .link { background: none; border: 0; padding: 0; color: var(--ink-subtle); cursor: pointer; font-size: 14.5px; }
.back:hover, .link:hover { color: var(--ink); }
.link { text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }

/* ---------- thinking ---------- */
.thinking { max-width: 620px; }
.think-log { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 10px; }
.think-log li {
  display: flex; gap: 12px; align-items: center;
  font: 400 13px/1.4 var(--mono); color: var(--ink-subtle);
  animation: rise .7s var(--spring) both;
}
.think-log li::before { content: ""; width: 14px; height: 2px; border-radius: 2px; background: var(--line); }
.think-log li.done { color: var(--ink-muted); }
.think-log li.done::before { background: var(--light); }
#think-line { transition: opacity .35s var(--ease), filter .35s var(--ease); }
#think-line.swap { opacity: 0; filter: blur(6px); }

/* ---------- ideas: a fanned deck of photo cards + a detail panel ---------- */
body.is-wide .app { padding-top: clamp(120px, 16vh, 170px); }
.ideas-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.greeting { margin: 14px 0 0; max-width: 46ch; font: 400 clamp(24px, 2.3vw, 34px)/1.2 var(--display); text-wrap: balance; }
.deck-nav { display: flex; align-items: center; gap: 10px; }
.deck-nav button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel);
  display: grid; place-items: center; cursor: pointer; font-size: 18px;
  transition: border-color .2s var(--ease), transform .25s var(--spring);
}
.deck-nav button:hover { border-color: var(--ink); }
.deck-nav button:active { transform: scale(.94); }
.pips { display: flex; gap: 6px; margin: 0 6px; }
.pips i { width: 7px; height: 7px; border-radius: 9px; background: var(--line); transition: width .4s var(--spring), background .3s var(--ease); }
.pips i.on { width: 22px; background: var(--ink); }

.deck-wrap {
  --card-w: min(430px, 80vw);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0fr); gap: 0;
  margin: 30px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 40px;
  overflow-x: clip;   /* side cards peek past the edges without making the page scroll sideways */
  transition: grid-template-columns .9s var(--spring), gap .9s var(--spring);
}
.deck-wrap.open { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); }
.deck { position: relative; height: clamp(540px, 66vh, 640px); perspective: 1800px; touch-action: pan-y; }

.card {
  position: absolute; top: 0; left: 50%; width: var(--card-w); height: 100%;
  margin-left: calc(var(--card-w) / -2);
  display: grid; grid-template-columns: minmax(0, 1fr) 74px;
  border-radius: var(--r-lg); overflow: hidden; background: var(--night); color: #fff;
  box-shadow: var(--shadow);
  transform-origin: 50% 60%;
  transition: transform .95s var(--spring), opacity .6s var(--ease), filter .6s var(--ease);
  cursor: pointer; outline: none;
  animation: deal 1.1s var(--spring) both; animation-delay: calc(var(--i, 0) * 110ms + 120ms);
}
@keyframes deal { from { opacity: 0; transform: translateY(60px) rotate(-4deg) scale(.9); } }
.card[data-pos="0"] { z-index: 3; transform: none; cursor: default; }
.card[data-pos="-1"] { z-index: 2; transform: translateX(-56%) scale(.8) rotateY(9deg); filter: saturate(.8) brightness(.9); }
.card[data-pos="1"] { z-index: 2; transform: translateX(56%) scale(.8) rotateY(-9deg); filter: saturate(.8) brightness(.9); }
.card[data-pos="-1"]:hover { transform: translateX(-60%) scale(.82) rotateY(7deg); }
.card[data-pos="1"]:hover { transform: translateX(60%) scale(.82) rotateY(-7deg); }
.card:focus-visible { box-shadow: var(--shadow), 0 0 0 3px var(--light); }
.deck-wrap.open .card[data-pos="-1"] { transform: translateX(-26%) scale(.72); opacity: 0; pointer-events: none; }
.deck-wrap.open .card[data-pos="1"] { transform: translateX(26%) scale(.72); opacity: 0; pointer-events: none; }
.card.pop { animation: pop .7s var(--spring); }
@keyframes pop { 35% { transform: scale(.965); } 70% { transform: scale(1.015); } }

.face { position: relative; min-width: 0; overflow: hidden; background: var(--cover, #33363f); }
.face .cover-ico { position: absolute; right: -18px; bottom: 90px; font-size: 220px; color: rgba(255, 255, 255, .08); }
.face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.card[data-pos="0"]:hover .face img { transform: scale(1.1); }
.face::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, .1) 44%, rgba(0, 0, 0, .78) 100%);
}
/* light sweep when the card is opened */
.face::before {
  content: ""; position: absolute; inset: -20% auto -20% -60%; width: 40%; z-index: 3; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-18deg) translateX(-120%); opacity: 0;
}
.card.pop .face::before { animation: sweep .9s var(--ease) .05s; }
@keyframes sweep { 0% { opacity: 1; transform: skewX(-18deg) translateX(0); } 100% { opacity: 0; transform: skewX(-18deg) translateX(520%); } }

.glass {
  position: absolute; z-index: 2; top: 22px; left: 22px; width: 120px;
  display: grid; padding: 6px 12px; border-radius: 20px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset;
}
.glass div { display: grid; justify-items: center; gap: 5px; padding: 14px 0; text-align: center; font-size: 13px; line-height: 1.2; font-weight: 500; text-shadow: 0 1px 8px rgba(0, 0, 0, .25); }
.glass div + div { border-top: 1px solid rgba(255, 255, 255, .32); }
.glass i { font-size: 20px; }
.corner { position: absolute; z-index: 2; top: 24px; right: 20px; display: flex; gap: 8px; }
.corner span {
  height: 30px; padding: 0 11px; border-radius: 99px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 500 11px/1 var(--mono); letter-spacing: .08em;
}
.info { position: absolute; z-index: 2; left: 22px; right: 18px; bottom: 96px; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.info .label { color: rgba(255, 255, 255, .78); }
.info h3 {
  margin: 10px 0 0; font: 400 clamp(28px, 2.5vw, 34px)/1.04 var(--display); text-wrap: balance;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.info p {
  margin: 8px 0 0; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .86);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.open-btn {
  position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 20px; height: 58px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  border-radius: 99px; border: 1px solid rgba(255, 255, 255, .22); color: #fff; cursor: pointer;
  background: linear-gradient(90deg, rgba(124, 72, 34, .72), rgba(48, 36, 30, .42));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font: 500 16px/1 var(--body);
  transition: background .3s var(--ease), transform .25s var(--spring);
}
.open-btn:hover { background: linear-gradient(90deg, rgba(150, 86, 38, .82), rgba(60, 44, 34, .55)); }
.open-btn:active { transform: scale(.98); }
.open-btn i { transition: transform .3s var(--ease); }
.open-btn:hover i { transform: translateX(4px); }
.deck-wrap.open .card[data-pos="0"] .open-btn i { transform: rotate(180deg); }

.spine {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 18px 0 22px; background: var(--night); border-left: 1px solid rgba(255, 255, 255, .06);
}
.spine .badge {
  writing-mode: vertical-rl; transform: rotate(180deg);
  padding: 14px 8px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06);
  font-size: 12px; letter-spacing: .02em; white-space: nowrap;
}
.spine .sub { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 12.5px; opacity: .78; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-height: 46%; }
.spine .big {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font: 500 clamp(40px, 4vw, 54px)/1 var(--body); letter-spacing: -.03em; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-height: 52%;
}

/* detail panel */
.detail {
  position: relative; min-width: 0; height: clamp(540px, 66vh, 640px); overflow: hidden;
  border-radius: var(--r-lg); background: var(--panel-solid); box-shadow: var(--shadow);
  opacity: 0; transform: translateX(-40px) scale(.97);
  transition: opacity .5s var(--ease), transform .9s var(--spring);
  pointer-events: none;
}
.deck-wrap.open .detail { opacity: 1; transform: none; pointer-events: auto; }
.detail-scroll { height: 100%; overflow-y: auto; padding: 34px clamp(24px, 3vw, 40px) 30px; overscroll-behavior: contain; }
.detail .x {
  position: absolute; top: 16px; right: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; font-size: 16px;
}
.detail h3 { margin: 14px 0 0; font: 400 clamp(32px, 3vw, 44px)/1.05 var(--display); padding-right: 40px; text-wrap: balance; }
.detail .tagline { margin: 10px 0 0; font-size: 16.5px; color: var(--ink-muted); }
.detail .why {
  margin: 22px 0 0; padding: 16px 18px; border-radius: var(--r-md);
  background: linear-gradient(120deg, rgba(238, 125, 28, .1), rgba(238, 125, 28, .02)); font-size: 15px;
}
.detail .why b { display: block; margin-bottom: 4px; font: 500 10.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--light); }
.d-sec { margin-top: 24px; }
.d-sec > b { display: block; margin-bottom: 10px; font: 500 10.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-subtle); }
.d-sec p { margin: 0; font-size: 15px; color: var(--ink-muted); }
.d-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.team-grid div { padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-soft); background: var(--bg-hi); }
.team-grid strong { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; }
.team-grid strong i { color: var(--light); font-size: 17px; }
.team-grid span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-muted); line-height: 1.4; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: t; }
.timeline li { counter-increment: t; position: relative; padding: 0 0 14px 38px; font-size: 14.5px; color: var(--ink-muted); }
.timeline li::before {
  content: counter(t); position: absolute; left: 0; top: -1px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff; font: 500 11px/1 var(--mono);
}
.timeline li::after { content: ""; position: absolute; left: 11.5px; top: 26px; bottom: 2px; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.d-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.deck-wrap.open .detail-scroll > * { animation: rise .8s var(--spring) both; animation-delay: calc(var(--d, 0) * 60ms + 220ms); }
.reduced .deck-wrap.open .detail-scroll > *, .reduced .card { animation: none; }
.sheet-veil { display: none; }

/* ---------- plans: chosen card + plan picks ---------- */
.plan-stage { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); margin-top: 34px; align-items: start; }
.mini {
  position: relative; height: 400px; border-radius: var(--r-lg); overflow: hidden; color: #fff;
  background: var(--cover, #33363f); box-shadow: var(--shadow);
  animation: rise 1s var(--spring) both;
}
.mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mini .cover-ico { position: absolute; right: -14px; top: 40px; font-size: 170px; color: rgba(255, 255, 255, .08); }
.mini::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .7)); }
.mini-body { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; }
.mini-body .label { color: rgba(255, 255, 255, .8); }
.mini-body h3 { margin: 10px 0 0; font: 400 30px/1.05 var(--display); }
.mini-body p { margin: 8px 0 0; font-size: 13.5px; opacity: .85; }
.mini .corner { top: 18px; right: 16px; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px;
  border-radius: var(--r-lg); border: 1px solid var(--line-soft); background: var(--panel);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: border-color .3s var(--ease), transform .4s var(--spring), box-shadow .4s var(--ease);
  animation: rise 1s var(--spring) both; animation-delay: calc(var(--i, 0) * 120ms + 150ms);
}
.plan:hover { transform: translateY(-3px); }
.plan.rec-on { border-color: var(--ink); background: var(--panel-solid); box-shadow: var(--shadow); }
.plan .rec { margin-bottom: 14px; color: var(--light); }
.plan h3 { margin: 0; font: 400 30px/1.1 var(--display); }
.plan .for { margin: 4px 0 0; color: var(--ink-muted); font-size: 14px; }
.plan .price { margin-top: 18px; font: 500 34px/1 var(--body); letter-spacing: -.02em; }
.plan .price small { font: 400 13px/1 var(--body); color: var(--ink-subtle); letter-spacing: 0; margin-left: 4px; }
.plan ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--ink-muted); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li i { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--bg); color: var(--ink); font-size: 14px; margin-top: -2px; }
.plan.rec-on li i { background: rgba(238, 125, 28, .12); color: var(--light); }
.plan .why { margin: 16px 0 0; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(238, 125, 28, .08); font-size: 13.5px; color: var(--ink); }
.plan .btn { margin-top: auto; width: 100%; }
.plan ul + .btn, .plan .why + .btn { margin-top: 24px; }
.plan:not(.rec-on) .btn { background: transparent; color: var(--ink); border-color: var(--line); }
.plan:not(.rec-on) .btn:hover { border-color: var(--ink); box-shadow: none; }

/* ---------- WhatsApp: a ticket that sums it all up ---------- */
.ticket {
  display: grid; grid-template-columns: 180px minmax(0, 1fr); margin-top: 32px; max-width: 620px;
  border-radius: var(--r-lg); overflow: hidden; background: var(--panel-solid); box-shadow: var(--shadow);
}
.ticket .mini { height: auto; min-height: 210px; border-radius: 0; box-shadow: none; animation: none; }
.ticket dl { margin: 0; padding: 22px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; border-left: 2px dashed var(--line); }
.ticket dt { font: 500 10.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-subtle); }
.ticket dd { margin: 5px 0 0; font-size: 15px; font-weight: 500; }
.ticket .wide-dd { grid-column: 1 / -1; }

.noscript { position: relative; z-index: 3; padding: 140px var(--gutter); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .deck-wrap.open { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .deck-wrap.open { --card-w: min(400px, 44vw); }
}
@media (max-width: 980px) {
  .assets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-stage { grid-template-columns: 1fr; }
  .mini { height: 260px; }
}
@media (max-width: 860px) {
  /* detail becomes a bottom sheet over the deck */
  .deck-wrap, .deck-wrap.open { grid-template-columns: minmax(0, 1fr) 0; gap: 0; }
  .deck-wrap.open .card[data-pos="-1"], .deck-wrap.open .card[data-pos="1"] { opacity: 1; pointer-events: auto; }
  .deck-wrap.open .card[data-pos="-1"] { transform: translateX(-56%) scale(.8) rotateY(9deg); }
  .deck-wrap.open .card[data-pos="1"] { transform: translateX(56%) scale(.8) rotateY(-9deg); }
  .detail {
    position: fixed; z-index: 21; left: 0; right: 0; bottom: 0; height: 88dvh;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    transform: translateY(104%); opacity: 1;
  }
  .deck-wrap.open .detail { transform: none; }
  .detail-scroll { padding-top: 40px; padding-bottom: calc(26px + env(safe-area-inset-bottom)); }
  .detail::before { content: ""; position: absolute; top: 10px; left: 50%; width: 44px; height: 4px; margin-left: -22px; border-radius: 4px; background: var(--line); }
  .sheet-veil {
    display: block; position: fixed; inset: 0; z-index: 20; background: rgba(17, 19, 24, .35);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
  }
  .deck-wrap.open + .sheet-veil, .sheet-veil.on { opacity: 1; pointer-events: auto; }
  body.sheet-open { overflow: hidden; }
}
@media (max-width: 720px) {
  .top { height: 58px; gap: 14px; }
  .brand { font-size: 21px; }
  .progress i { width: 64px; }
  .app { padding: 37vh var(--gutter) 80px; }
  body.is-wide .app { padding-top: 92px; }
  .scrim { background: linear-gradient(180deg, rgba(236, 238, 242, 0) 0%, rgba(236, 238, 242, .4) 24%, rgba(236, 238, 242, .94) 40%); }
  body.is-wide .scrim { background: rgba(236, 238, 242, .72); }
  .glow-fallback { background: radial-gradient(circle at 50% 22%, rgba(238, 125, 28, .28) 0, rgba(238, 125, 28, .06) 14%, transparent 34%); }
  .q { font-size: clamp(32px, 9vw, 42px); }
  .fields.two, .details { grid-template-columns: 1fr; }
  .fields { margin-top: 30px; gap: 22px; }
  .asset { min-height: 112px; padding: 14px; }
  .asset i { margin-bottom: 8px; }
  .chip { height: 40px; padding: 0 13px; font-size: 14px; }
  .btn { height: 52px; }
  .actions .btn { flex: 1; }
  .actions .back { order: 2; }

  .deck-wrap { --card-w: min(340px, 80vw); margin-top: 22px; }
  .deck-wrap.open { padding-bottom: 40px; }
  .deck { height: min(540px, 70dvh); }
  .card { grid-template-columns: minmax(0, 1fr) 56px; }
  .card[data-pos="-1"] { transform: translateX(-64%) scale(.84); }
  .card[data-pos="1"] { transform: translateX(64%) scale(.84); }
  .glass { width: 100px; top: 16px; left: 16px; padding: 4px 10px; }
  .glass div { padding: 11px 0; font-size: 12px; }
  .info { left: 16px; right: 14px; bottom: 82px; }
  .info h3 { font-size: 25px; }
  .info p { font-size: 13px; }
  .open-btn { left: 14px; right: 14px; bottom: 16px; height: 52px; font-size: 15px; }
  .corner { top: 16px; right: 14px; }
  .spine .big { font-size: 34px; }
  .d-two, .team-grid { grid-template-columns: 1fr; }
  .ideas-head .deck-nav { width: 100%; justify-content: center; order: 3; }
  .plans { grid-template-columns: 1fr; }
  .ticket { grid-template-columns: 1fr; }
  .ticket .mini { min-height: 150px; }
  .ticket dl { border-left: 0; border-top: 2px dashed var(--line); }
}
