:root {
  --bg: #f2f2f0;
  --card: #ffffff;
  --sand: #e6d8bc;
  --ink: #141414;
  --ink-2: #6b6b6b;
  --line: rgba(20, 20, 20, .08);
  --wine: #7a1f24;
  --wine-2: #c94a52;
  --night: #1b1c1f;
  --sans: "Inter Tight", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgba(20,20,20,.04), 0 8px 24px -8px rgba(20,20,20,.08), 0 30px 60px -30px rgba(20,20,20,.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; color: var(--wine); }
::selection { background: var(--wine); color: #fff; }

.kicker { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.kicker.light { color: rgba(255,255,255,.6); }
.h2 { font: 700 clamp(34px, 4.4vw, 60px)/1.02 var(--sans); letter-spacing: -.04em; max-width: 16ch; }
.head { max-width: var(--max); margin: 0 auto 56px; }

.progress { position: fixed; inset: 0 0 auto; height: 2px; background: var(--wine); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(calc(100% - 2 * var(--gut)), var(--max));
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 10px 10px 22px; border-radius: 100px;
  background: rgba(255,255,255,.72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--line); box-shadow: 0 8px 30px -12px rgba(20,20,20,.12);
  transition: transform .6s var(--ease);
}
.nav.hide { transform: translate(-50%, -140%); }
.brand { font: 700 22px/1 var(--sans); letter-spacing: -.05em; display: flex; align-items: flex-end; }
.brand i { width: 6px; height: 6px; border-radius: 50%; background: var(--wine); margin: 0 0 3px 2px; }
.nav nav { display: flex; gap: 4px; }
.nav nav a { font-size: 14px; padding: 8px 14px; border-radius: 100px; color: var(--ink-2); transition: background .3s, color .3s; }
.nav nav a:hover { background: rgba(20,20,20,.05); color: var(--ink); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; padding: 11px 18px; border-radius: 100px; background: var(--ink); color: #fff; }
.nav-cta i { font-style: normal; transition: transform .4s var(--ease); }
.nav-cta:hover i { transform: translateX(3px); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; gap: 5px; flex-direction: column; flex: none; -webkit-tap-highlight-color: transparent; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.nav.open .nav-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav.open .nav-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.tab-short { display: none; }
@media (max-width: 820px) {
  .nav { top: 10px; padding: 8px 8px 8px 16px; width: min(calc(100% - 20px), var(--max)); }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav nav {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    padding: 12px; border-radius: 22px;
    background: rgba(255,255,255,.94); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-8px); transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s .3s;
  }
  .nav.open nav { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .3s var(--ease), transform .35s var(--ease); }
  .nav nav a { padding: 14px 16px; font-size: 16px; color: var(--ink); }
  .nav.hide { transform: translate(-50%, -140%); }
  .nav.open.hide { transform: translateX(-50%); }
}

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; border-radius: 100px; font: 500 15px/1 var(--sans); overflow: hidden; isolation: isolate; }
.btn i { font-style: normal; display: inline-block; transition: transform .45s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(102%); transition: transform .55s var(--ease); }
.btn:hover::after { transform: none; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink::after { background: var(--wine); }
.btn-ghost { background: var(--card); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.btn-ghost::after { background: var(--sand); }
.btn-wine { background: var(--wine); color: #fff; }
.btn-wine::after { background: #5e171b; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto; min-height: 100svh;
  padding: 130px var(--gut) 72px;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 100px; background: var(--card); border: 1px solid var(--line); font: 500 12px/1 var(--mono); letter-spacing: .02em; color: var(--ink-2); margin-bottom: 28px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2f9e44; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,158,68,.5); } 70%, 100% { box-shadow: 0 0 0 8px rgba(47,158,68,0); } }
.hero-title { font: 700 clamp(44px, 6vw, 84px)/.98 var(--sans); letter-spacing: -.05em; margin-bottom: 28px; }
.ln { display: block; overflow: hidden; padding-bottom: .06em; }
.ln > span { display: inline-block; }
.swap { display: inline-block; color: var(--wine); }
.lead { font-size: 18px; color: var(--ink-2); max-width: 44ch; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* showcase */
.show { background: var(--card); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); padding: 10px; }
.show-tabs { display: flex; gap: 4px; padding: 4px; background: var(--bg); border-radius: 18px; }
.tab { position: relative; flex: 1; padding: 11px 8px; border-radius: 14px; font-size: 13px; font-weight: 500; color: var(--ink-2); overflow: hidden; transition: color .3s, background .3s; }
.tab.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.tab b { position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--wine); transform: scaleX(0); transform-origin: 0 50%; }
.show.running .tab.on b { animation: tabprog var(--dur, 6s) linear forwards; }
@keyframes tabprog { to { transform: scaleX(1); } }

.show-stage { position: relative; height: 470px; margin-top: 10px; border-radius: 20px; overflow: hidden;
  background: radial-gradient(120% 90% at 80% 0%, rgba(201,74,82,.10), transparent 55%), radial-gradient(90% 70% at 0% 100%, rgba(230,216,188,.7), transparent 60%), #f7f6f3; }
.pane { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.98); transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s .5s; }
.pane.on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease), transform .7s var(--ease); }

/* phone */
.phone { position: relative; width: 236px; height: 430px; border-radius: 40px; background: #fff; border: 7px solid var(--night); box-shadow: 0 30px 60px -20px rgba(20,20,20,.35); padding: 34px 16px 14px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.notch { position: absolute; top: 8px; left: 50%; width: 76px; height: 20px; margin-left: -38px; border-radius: 20px; background: var(--night); z-index: 3; }
.toast { position: absolute; z-index: 2; top: 8px; left: 8px; right: 8px; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: rgba(27,28,31,.94); color: #fff; font-size: 11px; transform: translateY(-140%); }
.pane.on .toast { animation: toast 6s var(--ease) 1.4s infinite; }
@keyframes toast { 0%, 100% { transform: translateY(-140%); } 8%, 45% { transform: translateY(26px); } 55% { transform: translateY(-140%); } }
.toast .ti { width: 22px; height: 22px; border-radius: 50%; background: #2f9e44; display: grid; place-items: center; font-size: 11px; flex: none; }
.toast b { display: block; font-weight: 600; } .toast small { opacity: .6; }
.ph-head small { display: block; color: var(--ink-2); font-size: 11px; } .ph-head b { font-size: 20px; letter-spacing: -.03em; }
.ph-card { background: var(--wine); color: #fff; border-radius: 16px; padding: 14px; }
.ph-card small { opacity: .7; font-size: 11px; } .ph-card b { display: block; font-size: 30px; letter-spacing: -.04em; line-height: 1.1; }
.ph-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.2); margin-top: 8px; overflow: hidden; }
.ph-bar i { display: block; height: 100%; width: 0; background: #fff; border-radius: inherit; }
.pane.on .ph-bar i { animation: grow 1.6s var(--ease) .3s forwards; }
@keyframes grow { to { width: 68%; } }
.ph-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.ph-list li { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 12px; background: var(--bg); font-size: 11px; opacity: 0; transform: translateX(16px); }
.pane.on .ph-list li { animation: slidein .6s var(--ease) forwards; }
.pane.on .ph-list li:nth-child(2) { animation-delay: .12s; } .pane.on .ph-list li:nth-child(3) { animation-delay: .24s; }
@keyframes slidein { to { opacity: 1; transform: none; } }
.ph-list b { display: block; font-weight: 600; } .ph-list small { color: var(--ink-2); } .ph-list div { flex: 1; }
.ph-list em { color: var(--ink); font-weight: 600; }
.av { width: 26px; height: 26px; border-radius: 50%; flex: none; background: linear-gradient(135deg, hsl(calc(var(--h) * 1deg) 40% 75%), var(--sand)); }
.ph-toggle { display: flex; justify-content: space-between; align-items: center; font-size: 11px; padding: 8px 4px; }
.tg { position: relative; width: 34px; height: 20px; border-radius: 20px; background: #d9d9d6; transition: background .4s; flex: none; }
.tg::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .4s var(--ease); }
.pane.on .ph-toggle .tg { animation: tgbg 4s 1s infinite; } .pane.on .ph-toggle .tg::after { animation: tgdot 4s 1s infinite; }
@keyframes tgbg { 0%, 15% { background: #d9d9d6; } 20%, 85% { background: #2f9e44; } 90%, 100% { background: #d9d9d6; } }
@keyframes tgdot { 0%, 15% { transform: none; } 20%, 85% { transform: translateX(14px); } 90%, 100% { transform: none; } }
.ph-nav { margin-top: auto; display: flex; justify-content: space-around; padding-top: 10px; border-top: 1px solid var(--line); }
.ph-nav i { width: 18px; height: 18px; border-radius: 6px; background: #e4e4e1; } .ph-nav i.on { background: var(--ink); }
.float { position: absolute; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 12px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; animation: bob 5s ease-in-out infinite; }
.float small { width: 100%; color: var(--ink-2); font-size: 11px; }
.f1 { left: 3%; top: 12%; max-width: 150px; } .f2 { right: 4%; bottom: 16%; animation-delay: -2.5s; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--wine-2); animation: pulse2 1.6s infinite; }
@keyframes pulse2 { 0% { box-shadow: 0 0 0 0 rgba(201,74,82,.6); } 100% { box-shadow: 0 0 0 10px rgba(201,74,82,0); } }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* dashboard */
.dash { width: 92%; height: 86%; display: flex; background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.dash aside { width: 52px; background: var(--night); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 0; flex: none; }
.dash aside i { width: 20px; height: 20px; border-radius: 6px; background: rgba(255,255,255,.12); }
.dash aside i.lg { background: var(--wine-2); border-radius: 50%; margin-bottom: 8px; } .dash aside i.on { background: rgba(255,255,255,.5); }
.dash-main { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dash-top { display: flex; justify-content: space-between; align-items: center; font-size: 15px; letter-spacing: -.02em; }
.chip-s { font-size: 11px; padding: 5px 10px; border-radius: 100px; background: var(--bg); color: var(--ink-2); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpis div { padding: 12px; border-radius: 12px; background: var(--bg); min-width: 0; }
.kpis small { display: block; font-size: 11px; color: var(--ink-2); }
.kpis b { display: block; font-size: 20px; letter-spacing: -.04em; margin: 2px 0; white-space: nowrap; }
.kpis em { font-size: 11px; color: var(--ink-2); } .kpis em.up { color: #2f9e44; }
.chart { flex: 1; display: flex; align-items: flex-end; gap: 8px; padding: 10px 4px 0; border-bottom: 1px solid var(--line); min-height: 90px; }
.chart i { flex: 1; height: calc(var(--v) * 100%); border-radius: 6px 6px 2px 2px; background: #e8e1d3; transform-origin: bottom; transform: scaleY(0); }
.chart i.hi { background: var(--wine); }
.pane.on .chart i { animation: barup .9s var(--ease) forwards; }
.pane.on .chart i:nth-child(2) { animation-delay: .05s; } .pane.on .chart i:nth-child(3) { animation-delay: .1s; } .pane.on .chart i:nth-child(4) { animation-delay: .15s; }
.pane.on .chart i:nth-child(5) { animation-delay: .2s; } .pane.on .chart i:nth-child(6) { animation-delay: .25s; } .pane.on .chart i:nth-child(7) { animation-delay: .3s; } .pane.on .chart i:nth-child(8) { animation-delay: .35s; }
@keyframes barup { to { transform: scaleY(1); } }
.rows { list-style: none; font-size: 12px; }
.rows li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.rows li:last-child { border: 0; }
.rows em { margin-left: auto; color: var(--ink-2); }
.st { width: 7px; height: 7px; border-radius: 50%; } .st.ok { background: #2f9e44; } .st.run { background: #e0a526; }

/* api flow */
.pane-api { display: block; }
.flow { position: absolute; inset: 0; width: 100%; height: 100%; }
.wires use { fill: none; stroke: rgba(20,20,20,.18); stroke-width: 1.5; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.sparks circle { fill: var(--wine-2); }
.node { position: absolute; left: calc(var(--x) / 520 * 100%); top: calc(var(--y) / 340 * 100%); transform: translate(-50%, -50%); padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 12px; font-weight: 500; white-space: nowrap; }
.node.core { background: var(--wine); color: #fff; border: 0; padding: 14px 20px; text-align: center; box-shadow: 0 0 0 8px rgba(122,31,36,.08), 0 20px 40px -12px rgba(122,31,36,.5); }
.node.core b { display: block; font-size: 18px; letter-spacing: -.03em; } .node.core small { opacity: .7; font-size: 10px; }
.log { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 12px; padding: 8px 14px; border-radius: 100px; background: var(--night); color: #fff; font: 500 11px/1 var(--mono); white-space: nowrap; }
.log em { color: #7bd88f; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 110px; min-height: 0; gap: 36px; }
  .show-stage { height: 440px; }
  .f1, .f2 { display: none; }
}
@media (max-width: 520px) {
  .tab { font-size: 13px; min-height: 44px; padding: 12px 6px; }
  .tab-full { display: none; }
  .tab-short { display: inline; }
  .node { font-size: 10px; padding: 7px 9px; }
  .node.core b { font-size: 14px; }
  .phone { width: 210px; height: 390px; border-radius: 34px; padding: 30px 14px 12px; }
  .show-stage { height: 400px; border-radius: 16px; }
  .show { border-radius: 20px; }
  .log { font-size: 10px; padding: 7px 12px; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: var(--card);
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font: 600 22px/1 var(--sans); letter-spacing: -.03em; color: #b3b3ae; padding: 0 28px; display: flex; align-items: center; gap: 56px; transition: color .3s; }
.marquee-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wine-2); margin-right: -28px; }
.marquee-track span:hover { color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- manifesto ---------- */
.manifesto { max-width: var(--max); margin: 0 auto; padding: 150px var(--gut); }
.big-quote { font: 600 clamp(28px, 3.6vw, 52px)/1.12 var(--sans); letter-spacing: -.035em; max-width: 26ch; }
.big-quote .w { color: rgba(20,20,20,.14); transition: color .35s; }
.big-quote .w.on { color: var(--ink); }

/* ---------- services bento ---------- */
.services { padding: 0 var(--gut) 140px; }
.bento { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(250px, auto); gap: 16px; }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; isolation: isolate; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(20,20,20,.04), 0 18px 40px -12px rgba(20,20,20,.16); }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(201,74,82,.13), transparent 45%); }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(122,31,36,.55), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.spot:hover::before, .spot:hover::after { opacity: 1; }
.viz { flex: 1; display: grid; place-items: center; padding: 28px; min-height: 150px; }
.c-txt { padding: 0 28px 28px; }
.num { font: 500 12px/1 var(--mono); color: var(--wine); }
.card h3 { font: 700 26px/1.1 var(--sans); letter-spacing: -.035em; margin: 10px 0 8px; }
.card p { color: var(--ink-2); max-width: 44ch; }
.tags { display: inline-block; margin-top: 14px; font: 500 11px/1 var(--mono); color: var(--ink-2); padding: 7px 10px; border-radius: 100px; background: var(--bg); }

.c-app { grid-column: span 3; grid-row: span 2; }
.c-web { grid-column: span 3; }
.c-api { grid-column: span 3; }
.c-int { grid-column: span 4; }
.c-mvp { grid-column: span 2; }
.card.dark { background: var(--night); color: #fff; border-color: transparent; }
.card.dark p { color: rgba(255,255,255,.6); } .card.dark .tags { background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); } .card.dark .num { color: var(--wine-2); }

.c-app .viz { background: linear-gradient(180deg, transparent, rgba(230,216,188,.35)); }
.mini-phone { position: relative; width: 170px; height: 290px; border-radius: 30px; border: 6px solid var(--night); background: #fff; padding: 46px 14px 14px; display: flex; flex-direction: column; gap: 9px; transition: transform .7s var(--ease); overflow: hidden; }
.card:hover .mini-phone { transform: translateY(-8px) rotate(-2deg); }
.mini-phone i { height: 34px; border-radius: 10px; background: var(--bg); flex: none; } .mini-phone i.s { height: 18px; width: 60%; }
.mp-toast { position: absolute; top: 10px; left: 8px; right: 8px; padding: 8px 10px; border-radius: 12px; background: var(--wine); color: #fff; font-size: 10px; font-weight: 500; transform: translateY(-140%); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.card:hover .mp-toast { transform: none; opacity: 1; }

.bars { width: 100%; max-width: 280px; height: 110px; display: flex; align-items: flex-end; gap: 10px; }
.bars i { flex: 1; height: calc(var(--v) * 100%); border-radius: 8px 8px 3px 3px; background: #ece6da; transform-origin: bottom; transform: scaleY(.35); transition: transform .8s var(--ease); }
.bars i:last-child { background: var(--wine); }
.card:hover .bars i { transform: scaleY(1); }
.bars i:nth-child(2) { transition-delay: .04s; } .bars i:nth-child(3) { transition-delay: .08s; } .bars i:nth-child(4) { transition-delay: .12s; } .bars i:nth-child(5) { transition-delay: .16s; } .bars i:nth-child(6) { transition-delay: .2s; }

.reqs { list-style: none; width: 100%; max-width: 320px; display: flex; flex-direction: column; gap: 6px; font: 400 12px/1 var(--mono); }
.reqs li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--bg); transition: transform .5s var(--ease), background .4s, box-shadow .4s; }
.reqs b { color: var(--wine); font-weight: 500; width: 36px; } .reqs em { margin-left: auto; color: #2f9e44; }
.card:hover .reqs li:nth-child(1) { transform: translateX(-6px); } .card:hover .reqs li:nth-child(2) { transform: translateX(6px); background: #fff; box-shadow: var(--shadow); } .card:hover .reqs li:nth-child(3) { transform: translateX(-3px); }

.c-int .viz { gap: 18px; align-content: center; }
.links { display: flex; align-items: center; }
.pill { padding: 10px 16px; border-radius: 100px; background: var(--bg); font-size: 13px; font-weight: 500; white-space: nowrap; }
.pill.core { background: var(--ink); color: #fff; }
.wire { position: relative; width: 56px; height: 1.5px; background: rgba(20,20,20,.15); overflow: hidden; }
.wire i { position: absolute; top: -1px; left: -30%; width: 30%; height: 3.5px; background: var(--wine-2); border-radius: 3px; animation: flowx 1.8s linear infinite; }
.wire + .pill + .wire i { animation-delay: .9s; }
@keyframes flowx { to { left: 100%; } }
.sw-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 100px; border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.card:hover .sw-row .tg { background: #2f9e44; } .card:hover .sw-row .tg::after { transform: translateX(14px); }

.steps { position: relative; width: 100%; display: flex; justify-content: space-between; font-size: 12px; padding-top: 26px; }
.steps::before { content: ""; position: absolute; top: 8px; left: 6px; right: 6px; height: 2px; background: rgba(255,255,255,.14); }
.steps .fill { position: absolute; top: 8px; left: 6px; right: 6px; height: 2px; background: var(--wine-2); transform: scaleX(.12); transform-origin: 0; transition: transform 1.2s var(--ease); }
.card:hover .steps .fill { transform: scaleX(1); }
.steps span { position: relative; color: rgba(255,255,255,.7); }
.steps span::before { content: ""; position: absolute; top: -24px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--night); border: 2px solid var(--wine-2); z-index: 1; }
.steps span:nth-child(2)::before { left: 50%; margin-left: -6px; } .steps span:nth-child(3)::before { left: auto; right: 0; }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .bento .card { grid-column: auto; grid-row: auto; }
  .links { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .wire { width: 36px; }
  .c-app .viz { min-height: 220px; }
  .mini-phone { width: 140px; height: 240px; }
}

/* ---------- method timeline ---------- */
.method { padding: 140px var(--gut); background: var(--card); border-block: 1px solid var(--line); }
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 64px; }
.rail { position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: rgba(20,20,20,.08); border-radius: 2px; }
.rail-fill { position: absolute; inset: 0; background: var(--wine); border-radius: inherit; transform-origin: top; transform: scaleY(0); }
.tl { position: relative; padding: 0 0 80px; opacity: .3; transition: opacity .6s var(--ease); }
.tl:last-child { padding-bottom: 0; }
.tl.on { opacity: 1; }
.tl-dot { position: absolute; left: -57px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--card); border: 2px solid rgba(20,20,20,.15); transition: border-color .5s, background .5s, box-shadow .5s; }
.tl.on .tl-dot { border-color: var(--wine); background: var(--wine); box-shadow: 0 0 0 6px rgba(122,31,36,.12); }
.tl-k { font: 500 12px/1 var(--mono); color: var(--wine); text-transform: uppercase; letter-spacing: .06em; }
.tl h3 { font: 700 clamp(30px, 3.6vw, 48px)/1 var(--sans); letter-spacing: -.045em; margin: 12px 0; }
.tl p { font-size: 18px; color: var(--ink-2); max-width: 46ch; }

/* ---------- numbers ---------- */
.numbers { max-width: var(--max); margin: 0 auto; padding: 120px var(--gut); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.num-c { padding: 34px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.num-c b { font: 700 clamp(56px, 6.5vw, 96px)/1 var(--sans); letter-spacing: -.06em; }
.num-c p { color: var(--ink-2); margin-top: 10px; max-width: 26ch; }
@media (max-width: 760px) { .numbers { grid-template-columns: 1fr; } }

/* ---------- work ---------- */
.work { padding: 140px var(--gut); }
.cases { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; perspective: 1200px; }
.case { display: block; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 10px; transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s; }
.case:hover { box-shadow: 0 30px 60px -24px rgba(20,20,20,.25); }
.case-shot { position: relative; height: 300px; border-radius: 18px; overflow: hidden; display: grid; place-items: center; }
.case-shot > * { transition: transform .8s var(--ease); }
.s1 { background: linear-gradient(160deg, #7a1f24, #3d0f12); }
.s2 { background: linear-gradient(160deg, #e6d8bc, #cdbb98); }
.s3 { background: linear-gradient(160deg, #1b1c1f, #2b2c31); }
.case-txt { padding: 18px 14px 10px; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.case-txt h3 { font: 700 20px/1.15 var(--sans); letter-spacing: -.03em; }
.case-txt span { font: 500 11px/1 var(--mono); color: var(--ink-2); }

.m-phone { position: absolute; width: 130px; height: 250px; border-radius: 24px; background: #fff; border: 5px solid #111; padding: 30px 10px 10px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); }
.m-phone i { height: 28px; border-radius: 8px; background: #efece6; flex: none; } .m-phone i.s { height: 52px; background: #f3d9db; }
.m-phone.a { transform: translate(-46px, 30px) rotate(-8deg); } .m-phone.b { transform: translate(52px, 10px) rotate(6deg); }
.case:hover .m-phone.a { transform: translate(-58px, 18px) rotate(-11deg); } .case:hover .m-phone.b { transform: translate(64px, -4px) rotate(9deg); }

.m-dash { width: 84%; height: 72%; border-radius: 14px; background: #fff; padding: 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 20px 40px -14px rgba(60,40,10,.4); transform: rotate(-3deg); }
.case:hover .m-dash { transform: rotate(0) scale(1.04); }
.md-k { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .md-k i { height: 34px; border-radius: 8px; background: var(--bg); }
.md-c { flex: 1; display: flex; align-items: flex-end; gap: 6px; } .md-c i { flex: 1; height: calc(var(--v) * 100%); border-radius: 4px; background: #e8e1d3; } .md-c i:last-child { background: var(--wine); }
.md-r i { display: block; height: 10px; border-radius: 4px; background: var(--bg); margin-top: 6px; }

.m-nodes { position: relative; width: 82%; height: 70%; }
.case:hover .m-nodes { transform: scale(1.06); }
.m-nodes span { position: absolute; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: 12px; transform: translate(-50%, -50%); }
.m-nodes .c { left: 50%; top: 50%; background: var(--wine); border: 0; font-weight: 600; animation: pulse2 2s infinite; }
.m-nodes span:nth-child(1) { left: 16%; top: 18%; } .m-nodes span:nth-child(3) { left: 84%; top: 18%; } .m-nodes span:nth-child(4) { left: 16%; top: 84%; } .m-nodes span:nth-child(5) { left: 80%; top: 84%; }

.also { max-width: var(--max); margin: 28px auto 0; color: var(--ink-2); font-size: 15px; }
.also a { color: var(--ink); border-bottom: 1px solid var(--wine-2); transition: color .3s; }
.also a:hover { color: var(--wine); }
@media (max-width: 900px) {
  .cases { grid-template-columns: 1fr; }
  .case-shot { height: 240px; }
}

/* ---------- contact ---------- */
.contact { padding: 0 var(--gut) 24px; }
.contact-in { max-width: var(--max); margin: 0 auto; background: var(--night); color: #fff; border-radius: 32px; padding: clamp(28px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: 56px; position: relative; overflow: hidden; isolation: isolate; }
.contact-in::before { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(201,74,82,.35), transparent 65%); animation: drift 12s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-120px, 140px); } }
.contact-title { font: 700 clamp(38px, 5vw, 68px)/1 var(--sans); letter-spacing: -.05em; }
.contact-title em { color: var(--wine-2); }
.contact-sub { color: rgba(255,255,255,.6); margin: 22px 0 40px; max-width: 38ch; font-size: 17px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-links a { padding: 10px 16px; border-radius: 100px; border: 1px solid rgba(255,255,255,.14); font-size: 14px; transition: background .3s, border-color .3s; }
.contact-links a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); }
.brief { display: flex; flex-direction: column; gap: 28px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 24px; padding: clamp(20px, 3vw, 32px); }
.field { border: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.field label, .field legend { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); margin-bottom: 10px; }
.brief input:not([type=radio]), .brief textarea { font: 400 18px/1.5 var(--sans); color: #fff; background: transparent; resize: vertical; border: 0; border-bottom: 1px solid rgba(255,255,255,.18); padding: 6px 0 12px; outline: none; border-radius: 0; transition: border-color .3s; }
.brief input::placeholder, .brief textarea::placeholder { color: rgba(255,255,255,.3); }
.brief input:focus, .brief textarea:focus { border-color: var(--wine-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 15px; border-radius: 100px; border: 1px solid rgba(255,255,255,.16); font-size: 14px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.chips span:hover { border-color: rgba(255,255,255,.45); }
.chips input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--wine-2); outline-offset: 2px; }
.brief .btn { align-self: flex-start; }
@media (max-width: 900px) {
  .contact-in { grid-template-columns: 1fr; gap: 32px; border-radius: 24px; }
  .contact-links a { flex: 1 1 auto; text-align: center; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .chips span { min-height: 44px; display: inline-flex; align-items: center; padding: 12px 16px; }
  .brief .btn { width: 100%; justify-content: center; min-height: 52px; }
}

/* ---------- footer ---------- */
.foot { max-width: var(--max); margin: 0 auto; padding: 60px var(--gut) 28px; overflow: hidden; }
.foot-big { font: 700 clamp(56px, 11vw, 160px)/.85 var(--sans); letter-spacing: -.06em; display: flex; align-items: flex-end; color: var(--ink); }
.foot-big i { width: .1em; height: .1em; border-radius: 50%; background: var(--wine); margin: 0 0 .04em .03em; }
.foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font: 500 12px/1 var(--mono); color: var(--ink-2); }
.foot-row a:hover { color: var(--wine); }

/* ---------- página de política ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: 140px var(--gut) 100px; }
.legal h1 { font: 700 clamp(40px, 6vw, 72px)/1 var(--sans); letter-spacing: -.05em; margin-bottom: 16px; }
.legal .meta { font: 500 12px/1.6 var(--mono); color: var(--ink-2); margin-bottom: 48px; }
.legal h2 { font: 700 24px/1.2 var(--sans); letter-spacing: -.03em; margin: 48px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal h3 { font: 700 18px/1.3 var(--sans); letter-spacing: -.02em; margin: 28px 0 10px; color: var(--ink); }
.legal p, .legal li { color: #3a3a3a; font-size: 17px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 10px 0; }
.legal li { margin: 6px 0; }
.legal a { color: var(--wine); border-bottom: 1px solid currentColor; }
.legal code { font: 500 13px/1.4 var(--mono); background: rgba(20,20,20,.05); padding: 2px 6px; border-radius: 6px; }
.legal .toc { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px 28px; box-shadow: var(--shadow); margin: 20px 0 8px; }
.legal .toc ol { padding-left: 20px; columns: 2; column-gap: 32px; }
.legal .toc li { font-size: 15px; margin: 4px 0; }
.legal .toc a { color: var(--ink); border: 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }

/* índice de produtos */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 20px 0 8px; }
.product-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 22px 24px; border-radius: 20px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  color: inherit; border-bottom: 0 !important;
  transition: transform .35s var(--ease), border-color .3s;
}
.product-card:hover { transform: translateY(-2px); border-color: rgba(122,31,36,.25); }
.product-card-kicker { font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.product-card strong { font: 700 20px/1.15 var(--sans); letter-spacing: -.03em; color: var(--ink); }
.product-card span:last-child { font-size: 15px; line-height: 1.5; color: #3a3a3a; }

/* bloco de política por produto */
.product-policy {
  margin-top: 56px; padding: 36px 32px 40px;
  background: var(--card); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
  scroll-margin-top: 100px;
}
.product-policy .kicker { margin-bottom: 12px; }
.product-policy > h2 {
  margin: 0 0 10px; padding: 0; border: 0;
  font: 700 clamp(28px, 4vw, 40px)/1.05 var(--sans); letter-spacing: -.04em;
}
.product-policy .product-meta {
  font: 500 12px/1.6 var(--mono); color: var(--ink-2); margin-bottom: 16px;
}
.product-policy h3 { scroll-margin-top: 100px; }
@media (max-width: 600px) {
  .legal .toc ol { columns: 1; }
  .product-policy { padding: 28px 20px 32px; border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .big-quote .w { color: var(--ink); }
}

/* ---------- mobile polish ---------- */
@media (max-width: 760px) {
  :root { --gut: 16px; }

  .hero {
    padding: 96px var(--gut) 48px;
    gap: 28px;
  }
  .hero-title { font-size: clamp(32px, 9.2vw, 44px); margin-bottom: 18px; }
  .lead { font-size: 16px; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; min-height: 52px; }

  .eyebrow { font-size: 11px; margin-bottom: 18px; max-width: 100%; }
  .h2 { font-size: clamp(28px, 8vw, 40px); max-width: none; }
  .head { margin-bottom: 32px; }

  .manifesto { padding: 72px var(--gut); }
  .big-quote { font-size: clamp(24px, 7vw, 34px); max-width: none; }
  .services { padding: 0 var(--gut) 72px; }
  .method { padding: 72px var(--gut); }
  .work { padding: 72px var(--gut); }
  .contact { padding: 0 var(--gut) 16px; }

  .timeline { padding-left: 40px; }
  .tl { padding-bottom: 48px; }
  .tl-dot { left: -33px; width: 14px; height: 14px; }
  .rail { left: 6px; }
  .tl h3 { font-size: clamp(26px, 7vw, 36px); }
  .tl p { font-size: 16px; }

  .card h3 { font-size: 22px; }
  .c-txt { padding: 0 20px 22px; }
  .viz { padding: 20px; }

  .marquee { padding: 18px 0; }
  .marquee-track span { font-size: 16px; padding: 0 18px; gap: 36px; }
  .marquee-track span::after { margin-right: -18px; }

  .also { font-size: 14px; line-height: 1.5; }
  .contact-title { font-size: clamp(30px, 9vw, 44px); }
  .contact-sub { font-size: 15px; margin: 16px 0 28px; }
  .brief { gap: 22px; padding: 18px; border-radius: 18px; }
  .brief input:not([type=radio]), .brief textarea { font-size: 16px; } /* evita zoom no iOS */

  .foot { padding: 40px var(--gut) calc(24px + env(safe-area-inset-bottom, 0px)); }
  .foot-big { font-size: clamp(48px, 18vw, 96px); }
  .foot-row { gap: 10px; font-size: 11px; }

  .legal { padding: 110px var(--gut) 72px; }
  .legal table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* estados de hover viram “sempre ligados” no toque */
@media (hover: none) {
  .card:hover { transform: none; }
  .mini-phone { transform: none; }
  .mp-toast { transform: none; opacity: 1; }
  .bars i { transform: scaleY(1); }
  .steps .fill { transform: scaleX(1); }
  .sw-row .tg { background: #2f9e44; }
  .sw-row .tg::after { transform: translateX(14px); }
  .m-phone.a { transform: translate(-46px, 20px) rotate(-8deg); }
  .m-phone.b { transform: translate(52px, 4px) rotate(6deg); }
  .m-dash { transform: rotate(0); }
  .marquee:hover .marquee-track { animation-play-state: running; }
}

/* ---------- símbolo (monograma) ---------- */
.brand { align-items: center; gap: 10px; }
.brand img { width: 30px; height: 30px; display: block; }
.foot-big { align-items: center; gap: .12em; }
.foot-big img { width: .82em; height: .82em; display: block; }
