:root {
  --bg: #0a1416; --bg-2: #0c181a; --card: rgba(255,255,255,.035); --line: rgba(255,255,255,.09);
  --ink: #eef3f1; --dim: #9fb1ad; --teal: #2dd9c3; --cream: #e6dca4; --violet: #aba0fb;
  --display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.025em; margin: 0; line-height: 1.04; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.t { color: var(--teal); } .c { color: var(--cream); } .v { color: var(--violet); }
.kicker { font: 600 .74rem/1.2 var(--body); letter-spacing: .28em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.lede { color: var(--dim); font-size: clamp(1.02rem, 2.4vw, 1.2rem); line-height: 1.55; max-width: 56ch; margin-top: 18px; }
.fine { color: var(--dim); font-size: .8rem; margin-top: 14px; opacity: .85; }

/* glow backdrops, like the deck */
.chapter { position: relative; padding: clamp(72px, 12vw, 140px) 0; isolation: isolate; }
.chapter::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 45% at 85% 0%, rgba(45,217,195,.16), transparent 70%),
              radial-gradient(50% 40% at 0% 100%, rgba(171,160,251,.07), transparent 70%); }
.chapter + .chapter { border-top: 1px solid var(--line); }
h2 { font-size: clamp(2.1rem, 6.4vw, 4rem); font-weight: 700; max-width: 18ch; }

/* hero */
.hero { min-height: 100svh; display: flex; flex-direction: column; padding: 18px 0 28px; position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(60% 50% at 80% 22%, rgba(45,217,195,.24), transparent 70%),
              radial-gradient(45% 35% at 10% 95%, rgba(171,160,251,.12), transparent 70%); }
.top { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: .02em; }
.mark img { width: 30px; height: 30px; border-radius: 9px; }
.top .where { color: var(--dim); text-align: right; line-height: 1.3; }
.top .where b { display: block; color: var(--ink); letter-spacing: .2em; font-size: .72rem; }
.orbit { position: absolute; z-index: -1; right: -18vw; top: 4vh; width: min(92vw, 720px); aspect-ratio: 1; pointer-events: none; opacity: .95; }
.orbit .ring { transform-origin: 50% 50%; animation: spin 60s linear infinite; }
.orbit .ring.r2 { animation-duration: 90s; animation-direction: reverse; }
.orbit .ring.r3 { animation-duration: 120s; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-body { margin-top: auto; padding-top: 34vh; }
.hero h1 { font-size: clamp(2.7rem, 9.6vw, 6rem); font-weight: 800; max-width: 13ch; }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; max-width: 640px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 14px 16px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tile b { display: block; font: 700 clamp(1.4rem, 4.6vw, 2rem)/1 var(--display); color: var(--teal); letter-spacing: -0.02em; }
.tile span { display: block; margin-top: 8px; color: var(--dim); font-size: .78rem; line-height: 1.35; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; font: 600 .98rem/1 var(--body);
  padding: 16px 22px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--ink); }
.btn.go { background: var(--teal); color: #04201c; border-color: var(--teal); }
.btn svg { width: 18px; height: 18px; flex: none; }
.byline { display: flex; justify-content: space-between; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--dim); }
.byline b { color: var(--ink); font-weight: 600; }

/* job chips */
.jobs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; list-style: none; padding: 0; }
.jobs li { font-size: .82rem; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.jobs li b { color: var(--teal); font-weight: 600; margin-right: 6px; }

/* swipe galleries of real screens */
.rail-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 54px; }
.rail-head h3 { font-size: 1.15rem; font-weight: 600; }
.rail-head span { color: var(--dim); font-size: .8rem; white-space: nowrap; }
.rail { display: flex; align-items: flex-start; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 22px max(16px, calc((100vw - 1120px) / 2)) 10px;
  margin-inline: calc(50% - 50vw); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 auto; width: min(74vw, 300px); scroll-snap-align: center; }
.screen { border-radius: 26px; padding: 7px; background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.03)); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 0 1px var(--line); }
.screen { overflow: hidden; }
/* uniform 3:4 viewport for every screen */
.shot .screen .vp { aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; background: #0b0f10; display: flex; align-items: center; justify-content: center; }
.shot .screen .vp img { width: 100%; height: 100%; border-radius: 0; }
.shot .screen .vp.tall img { object-fit: cover; object-position: top center; }
.shot .screen .vp.wide img { object-fit: contain; }
.screen img { border-radius: 20px; }
.shot h4 { font: 600 1rem/1.25 var(--display); letter-spacing: -0.01em; margin: 16px 2px 4px; }
.shot p { color: var(--dim); font-size: .84rem; line-height: 1.45; margin: 0 2px; }
.tagline { display: inline-block; margin: 16px 2px 0; font: 600 .62rem/1 var(--body); letter-spacing: .2em; color: var(--teal); text-transform: uppercase; }

/* results */
.results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 30px; }
.res { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 18px; }
.res b { display: block; font: 700 clamp(1.7rem, 4.6vw, 2.5rem)/1 var(--display); letter-spacing: -0.02em; }
.res span { display: block; margin-top: 10px; color: var(--dim); font-size: .86rem; line-height: 1.4; }
.res:nth-child(3n+1) b { color: var(--teal); } .res:nth-child(3n+2) b { color: var(--cream); } .res:nth-child(3n) b { color: var(--violet); }
.group-title { margin-top: 60px; font-size: clamp(1.4rem, 3.6vw, 2rem); font-weight: 700; }

/* split chapters */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.points li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.points li::before { content: ""; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; border: 2px solid var(--teal); }
.points b { display: block; font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; }
.points span { color: var(--dim); font-size: .92rem; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  padding: 8px 13px; border-radius: 999px; border: 1px solid rgba(45,217,195,.45); color: var(--teal); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.status.proto { color: var(--cream); border-color: rgba(230,220,164,.4); }
.status.proto::before { box-shadow: none; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.duo .screen img { aspect-ratio: 3 / 4; }
.duo figure { margin: 0; }
.duo figcaption { color: var(--dim); font-size: .8rem; margin: 10px 4px 0; line-height: 1.4; }
.wide .screen img { aspect-ratio: auto; object-fit: contain; background: #fff; }
.mascots { display: flex; gap: 10px; justify-content: center; }
.mascots img { width: 32%; border-radius: 24px; background: radial-gradient(circle at 50% 40%, rgba(45,217,195,.2), transparent 70%); }

/* more builds */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.card .pic { aspect-ratio: 16 / 9; background: #0e1c1e; overflow: hidden; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
.card p { color: var(--dim); font-size: .9rem; line-height: 1.5; }
.card .st { margin-top: auto; padding-top: 8px; font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.card .st.live { color: var(--teal); }

/* close */
.close h2 { max-width: 14ch; }
.contact { display: grid; gap: 4px; margin-top: 30px; color: var(--dim); }
.contact a { text-decoration: none; color: var(--ink); }
footer { padding: 24px 0 calc(96px + env(safe-area-inset-bottom)); color: var(--dim); font-size: .78rem; border-top: 1px solid var(--line); }

/* availability + now line (status-first, like most dev portfolios) */
.avail { display: inline-flex; align-items: center; gap: 9px; font-size: .78rem; font-weight: 500; color: var(--ink);
  padding: 7px 13px 7px 11px; border-radius: 999px; background: rgba(45,217,195,.08); border: 1px solid rgba(45,217,195,.3); margin-bottom: 22px; }
.avail i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(45,217,195,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(45,217,195,0); } 100% { box-shadow: 0 0 0 0 rgba(45,217,195,0); } }
.now { margin-top: 14px; font-size: .86rem; color: var(--dim); }
.now b { color: var(--cream); font-weight: 500; }

/* glass bar that appears after the hero, with reading progress */
.bar { position: fixed; z-index: 10; top: 0; left: 0; right: 0; transform: translateY(-110%); transition: transform .35s ease;
  background: rgba(10,20,22,.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.bar.on { transform: none; }
.bar .wrap { display: flex; align-items: center; gap: 18px; height: 54px; }
.bar .who { font: 600 .9rem/1 var(--display); white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; gap: 9px; }
.bar .who img { width: 22px; height: 22px; border-radius: 6px; }
.bar nav { display: flex; gap: 4px; margin-left: auto; }
.bar nav a { text-decoration: none; font-size: .8rem; color: var(--dim); padding: 7px 11px; border-radius: 999px; white-space: nowrap; }
.bar nav a.act { color: var(--ink); background: rgba(255,255,255,.07); }
.bar nav a b { color: var(--teal); font-weight: 600; margin-right: 5px; }
.bar .here { margin-left: auto; font-size: .78rem; color: var(--teal); letter-spacing: .14em; text-transform: uppercase; display: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar .mini { padding: 9px 14px; font-size: .82rem; }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--teal), var(--cream), var(--violet)); }

/* shipped-this-year timeline */
.timeline { list-style: none; padding: 0; margin: 40px 0 0; position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 86px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--teal), var(--violet)); opacity: .5; }
.timeline li { display: grid; grid-template-columns: 70px 32px 1fr; align-items: start; padding: 14px 0; }
.timeline time { font: 600 .78rem/1.6 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.timeline li::after { content: ""; grid-column: 2; grid-row: 1; justify-self: center; width: 11px; height: 11px; margin-top: 5px; border-radius: 50%; background: var(--bg); border: 2px solid var(--teal); }
.timeline li > div { grid-column: 3; }
.timeline b { font: 600 1.02rem/1.35 var(--display); letter-spacing: -0.01em; display: block; }
.timeline span { color: var(--dim); font-size: .88rem; }

/* tools strip */
.stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.stack span { font-size: .8rem; color: var(--dim); padding: 7px 12px; border: 1px dashed rgba(255,255,255,.14); border-radius: 10px; }

/* bento + cursor spotlight */
.grid { grid-template-columns: repeat(6, 1fr); }
.grid .card { grid-column: span 2; position: relative; }
.grid .card.big { grid-column: span 3; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--x, 50%) var(--y, 50%), rgba(45,217,195,.13), transparent 60%); }
.card:hover::after { opacity: 1; }

/* floating WhatsApp pill on phones */
.float { position: fixed; z-index: 9; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  box-shadow: 0 12px 30px -8px rgba(45,217,195,.55); white-space: nowrap; }

/* reveal on scroll: visible by default, only hidden once JS is confirmed */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }

@media (max-width: 1060px) { .bar nav { display: none; } .bar .here { display: block; } }
@media (max-width: 860px) {
  .grid .card, .grid .card.big { grid-column: auto; }
  .bar .mini { display: none; }
  .timeline::before { left: 70px; }
  .timeline li { grid-template-columns: 56px 30px 1fr; }
  .split, .grid { grid-template-columns: 1fr; }
  .results { grid-template-columns: repeat(2, 1fr); }
  .hero-body { padding-top: 30vh; }
  .orbit { right: -30vw; top: 6vh; width: 120vw; }
}
@media (min-width: 861px) { .float { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .orbit .ring, .avail i { animation: none; }
  .bar { transition: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
}

/* --- v3 (2026-10-08): Access logo, small-business focus --- */
.logo-chip { display: inline-flex; align-items: center; background: #fff; border-radius: 12px; padding: 7px 12px; text-decoration: none; }
.logo-chip img { height: 28px; width: auto; }
.bar .logo-chip { padding: 4px 8px; border-radius: 8px; }
.bar .logo-chip img { height: 20px; }
.try { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 16px; max-width: 560px;
  background: rgba(45,217,195,.07); border: 1px solid rgba(45,217,195,.28); font-size: .9rem; color: var(--dim); }
.try b { color: var(--ink); font-weight: 600; }
.try .dot { flex: none; width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; background: var(--teal); animation: pulse 2s infinite; }

.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.pain { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 18px; }
.pain b { display: block; font: 600 1.05rem/1.3 var(--display); letter-spacing: -0.01em; }
.pain span { display: block; margin-top: 8px; color: var(--dim); font-size: .88rem; line-height: 1.45; }
.pain i { display: block; margin-top: 12px; font-style: normal; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }

.job { margin-top: 70px; }
.job-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.job-head .num { font: 700 .8rem/1 var(--display); color: var(--bg); background: var(--teal); border-radius: 999px; padding: 6px 10px; }
.job-head h3 { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 700; }
.job-head p { color: var(--dim); font-size: .95rem; flex-basis: 100%; max-width: 60ch; }
.job .rail-head { margin-top: 6px; }

.flow { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; counter-reset: f; }
.flow li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; counter-increment: f; }
.flow li small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .16em; color: var(--teal); text-transform: uppercase; }
.flow li b { display: block; margin-top: 8px; font: 600 .98rem/1.25 var(--display); }
.flow li span { display: block; margin-top: 6px; color: var(--dim); font-size: .8rem; line-height: 1.4; }

.steps5 { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: s5; }
.steps5 li { counter-increment: s5; border-top: 2px solid var(--teal); padding-top: 14px; }
.steps5 li::before { content: "0" counter(s5); display: block; font: 800 1.4rem/1 var(--display); color: var(--cream); margin-bottom: 10px; }
.steps5 b { display: block; font: 600 1.05rem/1.3 var(--display); }
.steps5 span { display: block; margin-top: 6px; color: var(--dim); font-size: .88rem; }
.safe-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px; }
.works { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--dim); font-size: .85rem; }
.works b { color: var(--cream); font: 700 1.1rem/1 var(--display); margin-right: 6px; }
.works span { padding: 7px 12px; border: 1px dashed rgba(255,255,255,.16); border-radius: 10px; color: var(--ink); }

@media (max-width: 860px) {
  .pains, .safe-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .steps5 { grid-template-columns: 1fr; }
}
