/* Arnsor — site styles
   Palette: deep sea #0A2A33 · teal #0B6E6E · marigold #F2B632 · mint #DCEFE8 · ink #10202B · paper #F3F6F5 */

:root {
  --deep: #0A2A33;
  --deep-2: #0F3A45;
  --teal: #0B6E6E;
  --teal-deep: #084F50;
  --gold: #F2B632;
  --gold-hover: #FFC84F;
  --mint: #DCEFE8;
  --ink: #10202B;
  --ink-soft: #3C4C57;
  --on-dark: #B9D3D6;
  --paper: #F3F6F5;
  --white: #FFFFFF;
  --line: #D5DEDB;
  --line-dark: #1F4651;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1160px;
  --gutter: clamp(1rem, 4vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--teal-deep); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: var(--ink); padding: 0.6rem 1rem; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* ---------- header (dark on every page) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--deep); border-bottom: 1px solid var(--line-dark); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 31px; width: auto; }
.site-nav ul { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { display: block; padding: 0.5rem 0.95rem; border-radius: 999px; text-decoration: none; color: #E3EEF0; font-weight: 500; }
.site-nav a:not(.btn):hover { background: var(--deep-2); color: #fff; }
.site-nav a[aria-current="page"] { background: var(--deep-2); color: #fff; }
.nav-cta { margin-left: 0.6rem; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 12px; background: var(--deep-2); cursor: pointer; position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; content: ""; border-radius: 2px; }
.nav-toggle-bars { top: 21px; }
.nav-toggle-bars::before { left: 0; right: 0; top: -6px; }
.nav-toggle-bars::after  { left: 0; right: 0; top: 6px; }

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--deep); border-bottom: 1px solid var(--line-dark); display: none; padding: 0.5rem var(--gutter) 1.2rem; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a:not(.btn) { padding: 0.85rem 1rem; }
  .nav-cta { margin: 0.6rem 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.5rem; border-radius: 999px; border: 2px solid transparent; font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.95rem; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hover); color: var(--ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-line { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-line:hover { background: #fff; color: var(--deep); }
.btn.is-disabled { background: var(--mint); color: var(--teal-deep); cursor: default; }
.btn.is-disabled:hover { background: var(--mint); color: var(--teal-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--deep); color: #fff; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.hero::before { content: ""; position: absolute; right: -14%; top: -35%; width: 62vw; height: 62vw; max-width: 760px; max-height: 760px; border-radius: 50%; background: var(--teal); opacity: .34; }
.hero::after { content: ""; position: absolute; left: -8%; bottom: -45%; width: 36vw; height: 36vw; max-width: 460px; max-height: 460px; border-radius: 50%; background: var(--teal); opacity: .2; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { color: #fff; max-width: 13ch; }
.hero-lead { font-size: 1.25rem; color: var(--on-dark); max-width: 34rem; }
.hero-note { margin-top: 1.4rem; font-size: 0.95rem; color: var(--on-dark); }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { order: -1; } }

/* phones */
.phones { position: relative; display: flex; justify-content: center; align-items: center; min-height: 520px; }
.phone { position: relative; width: 250px; flex: none; background: #06181E; border-radius: 36px; padding: 9px; box-shadow: 0 34px 60px -28px rgba(0, 0, 0, .65); border: 1px solid #1d4350; }
.phone-img { display: block; width: 100%; border-radius: 28px; aspect-ratio: 9 / 19; object-fit: cover; background: #fff; }
.phones .phone--c { z-index: 2; width: 262px; }
.phones .phone--l { z-index: 1; transform: translateX(46px) rotate(-7deg) scale(.86); margin-right: -140px; opacity: .96; }
.phones .phone--r { z-index: 1; transform: translateX(-46px) rotate(7deg) scale(.86); margin-left: -140px; opacity: .96; }
@media (max-width: 620px) {
  .phones { min-height: 0; }
  .phones .phone--l, .phones .phone--r { display: none; }
  .phones .phone--c { width: min(250px, 70vw); }
}

.phone-screen { background: #fff; color: var(--ink); border-radius: 28px; padding: 1.3rem 1rem 1rem; min-height: 470px; }
.phone-bar { width: 70px; height: 5px; background: var(--line); border-radius: 6px; margin: 0 auto 1.1rem; }
.phone-title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin: 0 0 0.8rem; }
.ring-wrap { position: relative; width: 140px; height: 140px; margin: 0.3rem auto 1rem; }
.ring-wrap svg { transform: rotate(-90deg); }
.ring-track { stroke: var(--mint); }
.ring-bar { stroke: var(--teal); stroke-dasharray: 326.7; stroke-dashoffset: 326.7; animation: ring-fill 1.4s cubic-bezier(.2,.7,.2,1) .3s forwards; }
@keyframes ring-fill { to { stroke-dashoffset: 58.8; } }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1; }
.ring-label small { display: block; font: 500 0.72rem var(--font-body); color: var(--ink-soft); margin-top: 4px; }
.subject-list { list-style: none; margin: 0; padding: 0; }
.subject-list li { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; padding: 0.55rem 0.2rem; border-top: 1px solid var(--line); font-size: 0.88rem; }
.pill { font-weight: 600; font-size: 0.78rem; padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--mint); color: var(--teal-deep); }
.pill-warn { background: #FCEBC2; color: #6B4A00; }
.sample-note { text-align: center; font-size: 0.72rem; color: var(--ink-soft); margin: 0.8rem 0 0; }
.mock-avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--mint); margin: 0.4rem auto 1rem; }
.mock-line { height: 12px; border-radius: 6px; background: var(--line); margin: 0 auto 0.6rem; }
.mock-line.w70 { width: 70%; } .mock-line.w45 { width: 45%; }
.mock-gap { height: 0.8rem; }
.mock-row { height: 34px; border-radius: 10px; background: var(--paper); margin-bottom: 0.6rem; }
.mock-row.tall { height: 52px; }

@media (prefers-reduced-motion: reduce) {
  .ring-bar { animation: none; stroke-dashoffset: 58.8; }
  html { scroll-behavior: auto; }
}

/* ---------- sections ---------- */
.section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.section-white { background: var(--white); border-block: 1px solid var(--line); }
.section-mint { background: var(--mint); }
.section-head { max-width: 42rem; margin-bottom: 2.4rem; }
.section-head p { color: var(--ink-soft); font-size: 1.12rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem 2.6rem; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }
.svc { border-top: 2px solid var(--ink); padding-top: 1.2rem; }
.svc-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--mint); color: var(--teal-deep); display: grid; place-items: center; margin-bottom: 1rem; }
.svc h3 { margin-bottom: 0.35em; }
.svc p { color: var(--ink-soft); margin: 0; }
.svc a.more { display: inline-block; margin-top: 0.7rem; font-weight: 600; }

/* showcase */
.showcase { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } }
.app-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.app-head h2 { margin: 0; }
.check-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.6rem; }
.check-list li { padding-left: 1.7rem; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.95rem; height: 0.5rem; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg) translateY(-30%); }
.shots { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.5rem 0.3rem 1.4rem; -webkit-overflow-scrolling: touch; }
.shots .phone { scroll-snap-align: center; width: 215px; background: var(--ink); }
.shots .phone-screen { min-height: 400px; }
.shots-hint { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

/* categories */
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }
@media (max-width: 760px) { .cat-list { grid-template-columns: 1fr; } }
.cat { display: grid; gap: 0.2rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.cat strong { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -0.01em; }
.cat span { color: var(--ink-soft); }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 3.4rem; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.step h3 { margin-bottom: 0.3em; }
.step p { color: var(--ink-soft); margin: 0; }

/* principles */
.principles { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.principles li { padding-left: 1.2rem; border-left: 3px solid var(--gold); }
.principles strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.principles span { color: var(--ink-soft); }

/* app cards */
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.25rem; }
.app-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: 0.4rem; }
.app-icon { width: 64px; height: 64px; border-radius: 16px; background: var(--teal); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; margin-bottom: 0.6rem; flex: none; }
.app-icon.has-img { background: transparent; object-fit: cover; }
.app-icon.lg { width: 84px; height: 84px; border-radius: 21px; font-size: 1.8rem; }
.app-card p { color: var(--ink-soft); margin-bottom: 0.6rem; }
.app-card .btn-row { margin-top: auto; padding-top: 0.8rem; }
.tag { display: inline-block; font-size: 0.8rem; font-weight: 600; padding: 0.15rem 0.7rem; border-radius: 999px; background: var(--mint); color: var(--teal-deep); }
.tag-row { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.6rem; }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem 2rem; }
.feature { border-top: 3px solid var(--teal); padding-top: 1rem; }
.feature p { color: var(--ink-soft); margin: 0; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 260px)); gap: 1.25rem; }
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; margin-bottom: 0.9rem; object-fit: cover; }
.person h3 { margin-bottom: 0.15rem; }
.person p { margin: 0; color: var(--ink-soft); }

/* services page rows */
.svc-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 5vw, 4rem); padding: 2.6rem 0; border-top: 1px solid var(--line); }
.svc-row:first-of-type { border-top: 0; }
@media (max-width: 800px) { .svc-row { grid-template-columns: 1fr; gap: 1rem; } }
.svc-row h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); display: flex; align-items: center; gap: 0.8rem; margin: 0; }
.svc-row h2 .svc-icon { margin: 0; flex: none; }
.svc-row p { color: var(--ink-soft); }

/* faq */
.faq { max-width: 46rem; }
.faq details { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--teal); }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin: 0.7rem 0 0; color: var(--ink-soft); }

/* call-out band */
.band { background: var(--deep); color: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(2rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
.band h2 { margin: 0 0 0.3rem; }
.band p { margin: 0; color: var(--on-dark); }

/* notices */
.notice { background: #FFF7E0; border: 1px solid #EBCB7A; border-left-width: 6px; border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 0 0 1.5rem; color: #4D3900; }
.notice strong { color: #3A2A00; }
.notice-ok { background: var(--mint); border-color: #8FCDBB; color: #0A4A3F; }
.notice-err { background: #FDECEA; border-color: #E8A9A4; color: #6F1812; }

/* page title block */
.page-head { background: var(--deep); color: #fff; padding: clamp(2.8rem, 6vw, 4.5rem) 0 clamp(2.4rem, 5vw, 3.6rem); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; right: -8%; top: -60%; width: 40vw; height: 40vw; max-width: 520px; max-height: 520px; border-radius: 50%; background: var(--teal); opacity: .3; }
.page-head .wrap { position: relative; }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 20ch; margin-bottom: 0.4em; color: #fff; }
.page-head p { font-size: 1.15rem; color: var(--on-dark); max-width: 42rem; margin: 0; }
.page-head .tag { background: var(--deep-2); color: var(--on-dark); }
.page-head .updated { color: var(--on-dark); font-size: 0.95rem; margin-top: 0.6rem; }
.page-head .btn-row { margin-top: 1.4rem; }
.page-head .btn.is-disabled { background: var(--deep-2); color: var(--on-dark); }
.page-head-flex { display: flex; align-items: center; gap: 1.4rem; margin-bottom: 1.2rem; }
.page-head-flex .app-icon { margin: 0; }

/* legal / long text */
.prose { max-width: 46rem; padding: 3rem 0 4rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.prose h3 { margin-top: 1.4rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.4rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.97rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.65rem 0.8rem; border: 1px solid var(--line); }
.prose th { background: var(--mint); }
.toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.4rem; margin: 1.5rem 0 2rem; }
.toc ol { margin: 0.4rem 0 0; }

/* forms */
.form { display: grid; gap: 1.1rem; max-width: 38rem; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form-two { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.field input, .field textarea, .field select { width: 100%; font: inherit; color: inherit; background: var(--white); border: 1.5px solid #9DB0AB; border-radius: var(--radius-sm); padding: 0.75rem 0.9rem; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal); }
.field .hint { font-size: 0.9rem; color: var(--ink-soft); margin: 0.25rem 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.contact-card dl { margin: 0; }
.contact-card dt { font-weight: 600; margin-top: 1rem; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 0; color: var(--ink-soft); }

/* 404 */
.nf { padding: 6rem 0; }
.nf-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 14vw, 9rem); line-height: 1; color: var(--teal); margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--deep); color: var(--on-dark); margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold); }
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 2.6rem 0; border-bottom: 1px solid var(--line-dark); }
.footer-cta h2 { color: #fff; margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding: 2.8rem 0 2.5rem; }
.footer-about .brand { margin-bottom: 0.9rem; }
.footer-h { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; color: #fff; margin: 0 0 0.8rem; letter-spacing: 0; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-list a { text-decoration: none; color: var(--on-dark); }
.footer-list a:hover { color: var(--gold); text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; border-top: 1px solid var(--line-dark); padding: 1.2rem 0 2rem; font-size: 0.9rem; }
.footer-base p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* grid children may shrink below their content width, so scroll rows stay inside the page */
.showcase > *, .split > *, .hero-grid > *, .svc-row > * { min-width: 0; }
.shots { max-width: 100%; }

/* =====================================================================
   v3 — animated home page
   ===================================================================== */
.gold-dot { color: var(--gold); }

.stage-hero { position: relative; overflow: hidden; background: var(--deep); color: #fff; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.2rem, 7vw, 5.5rem); isolation: isolate; }
.stage-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(185, 211, 214, .22) 1.3px, transparent 1.6px); background-size: 30px 30px; -webkit-mask-image: radial-gradient(ellipse 75% 85% at 72% 50%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse 75% 85% at 72% 50%, #000 15%, transparent 72%); }
.stage-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.stage-grid > * { min-width: 0; }
.stage-hero h1 { font-size: clamp(2.7rem, 6.4vw, 5.2rem); line-height: 1.02; letter-spacing: -0.035em; max-width: 11.5ch; margin-bottom: .45em; color: #fff; }
.stage-lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--on-dark); max-width: 33rem; }

/* stage track: Sketch / Design / Build / Launch */
.stage-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 31rem; margin-top: 2.8rem; padding-top: 1.35rem; border-top: 2px solid var(--line-dark); }
.track-btn { background: none; border: 0; padding: .1rem 0 .3rem; text-align: left; color: #7FA3A9; font: 600 .98rem var(--font-body); cursor: pointer; transition: color .25s; }
.track-btn:hover { color: #fff; }
.stage-hero[data-stage="1"] .track-btn[data-go="1"],
.stage-hero[data-stage="2"] .track-btn[data-go="2"],
.stage-hero[data-stage="3"] .track-btn[data-go="3"],
.stage-hero[data-stage="4"] .track-btn[data-go="4"] { color: #fff; }
.track-dot { position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(242, 182, 50, .22); transition: left .6s cubic-bezier(.65, 0, .25, 1); }
.stage-hero[data-stage="2"] .track-dot { left: 25%; }
.stage-hero[data-stage="3"] .track-dot { left: 50%; }
.stage-hero[data-stage="4"] .track-dot { left: 75%; }

/* the phone that builds itself */
.stage-visual { position: relative; display: grid; justify-items: center; padding: 1.2rem 0 0; }
.orbit { position: absolute; top: 50%; left: 50%; width: min(440px, 92%); aspect-ratio: 1; margin: -4% 0 0; transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px dashed rgba(185, 211, 214, .28); animation: spin 26s linear infinite; pointer-events: none; }
.orbit span { position: absolute; top: -9px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 7px rgba(242, 182, 50, .16); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.stage-phone { --tx: 0deg; --ty: 0deg; position: relative; width: min(270px, 66vw); aspect-ratio: 9 / 18.6; background: #06181E; border: 1px solid #245460; border-radius: 40px; padding: 10px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .03) inset; transform: perspective(900px) rotateY(var(--tx)) rotateX(var(--ty)); transition: transform .25s ease-out; }
.sp-notch { position: absolute; z-index: 5; top: 17px; left: 50%; width: 64px; height: 6px; margin-left: -32px; border-radius: 6px; background: #1b3e48; }
.stage-phone .layer { color: var(--ink); position: absolute; inset: 10px; border-radius: 31px; overflow: hidden; background: #fff; opacity: 0; transform: scale(.97); transition: opacity .55s ease, transform .55s ease; }
.stage-hero[data-stage="1"] .layer-1,
.stage-hero[data-stage="2"] .layer-2,
.stage-hero[data-stage="3"] .layer-3,
.stage-hero[data-stage="4"] .layer-4 { opacity: 1; transform: none; z-index: 2; }

/* 1 sketch: paper with dashed boxes */
.layer-1 { background: #F7F4EA; padding: 2.4rem 1rem 1rem; }
.sk-box { border: 2px dashed #8e9a96; border-radius: 10px; }
.sk-head { height: 28px; margin-bottom: 1rem; }
.sk-ring { width: 104px; height: 104px; border-radius: 50%; margin: 0 auto 1.1rem; }
.sk-line { height: 0; border-top: 2px dashed #a9b3af; margin: 1rem 0; }
.sk-line.s2 { width: 80%; } .sk-line.s3 { width: 55%; }
.sk-tab { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; height: 34px; }
.sk-note { position: absolute; right: 1rem; top: 3.1rem; transform: rotate(6deg); font: 700 .78rem var(--font-body); color: #9a6f00; background: #FBE7A8; padding: .15rem .55rem; border-radius: 4px; }
.stage-hero[data-stage="1"] .sk-ring { animation: wobble 3s ease-in-out infinite; }
@keyframes wobble { 50% { transform: rotate(8deg) scale(1.04); } }

/* 2 design: flat blocks in brand colours */
.layer-2 { background: #F3F6F5; padding: 2.4rem .9rem .9rem; }
.ds-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.ds-head span { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); }
.ds-head i { width: 90px; height: 11px; border-radius: 6px; background: var(--deep); }
.ds-hero { background: var(--teal); border-radius: 18px; padding: 1.1rem; margin-bottom: .9rem; }
.ds-hero b { display: block; width: 60%; height: 20px; border-radius: 6px; background: #fff; margin-bottom: .7rem; }
.ds-hero i { display: block; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .55); margin-bottom: .45rem; }
.ds-hero i.short { width: 55%; }
.ds-row { display: flex; align-items: center; gap: .7rem; background: #fff; border-radius: 12px; padding: .65rem; margin-bottom: .55rem; }
.ds-row i { width: 28px; height: 28px; border-radius: 9px; background: var(--mint); flex: none; }
.ds-row b { height: 10px; flex: 1; border-radius: 5px; background: #cfdad6; }
.ds-tabs { position: absolute; left: .9rem; right: .9rem; bottom: .9rem; display: flex; justify-content: space-around; background: var(--deep); border-radius: 16px; padding: .75rem; }
.ds-tabs i { width: 22px; height: 6px; border-radius: 4px; background: #5f8a91; }
.ds-tabs i:first-child { background: var(--gold); }
.stage-hero[data-stage="2"] .ds-hero { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.stage-hero[data-stage="2"] .ds-row:nth-of-type(3) { animation: rise .7s .12s cubic-bezier(.2, .8, .2, 1) both; }
.stage-hero[data-stage="2"] .ds-row:nth-of-type(4) { animation: rise .7s .22s cubic-bezier(.2, .8, .2, 1) both; }
.stage-hero[data-stage="2"] .ds-row:nth-of-type(5) { animation: rise .7s .32s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* 3 build: the working app */
.layer-3 img { display: block; width: 100%; height: 100%; object-fit: cover; }
.layer-3 .built { min-height: 0; height: 100%; border-radius: 0; padding-top: 2.2rem; }
.stage-hero:not([data-stage="3"]) .layer-3 .ring-bar { animation: none; stroke-dashoffset: 326.7; }
.stage-hero[data-stage="3"] .layer-3 .ring-bar { animation: ring-fill 1.4s cubic-bezier(.2, .7, .2, 1) .3s forwards; }

/* 4 launch: store listing */
.layer-4 { background: #fff; padding: 2.4rem 1rem 1rem; }
.store-top { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.store-top .app-icon { margin: 0; width: 56px; height: 56px; border-radius: 14px; font-size: 1.1rem; }
.store-top strong { display: block; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.15; }
.store-top small { color: var(--teal); font-weight: 600; font-size: .8rem; }
.store-stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; font-size: .72rem; color: var(--ink-soft); padding: .55rem 0; border-block: 1px solid var(--line); margin-bottom: 1rem; }
.store-stats b { display: block; font-size: .95rem; color: var(--ink); }
.store-btn { background: var(--teal); color: #fff; text-align: center; font-weight: 700; padding: .6rem; border-radius: 999px; margin-bottom: 1rem; }
.store-shots { display: flex; gap: .5rem; }
.store-shots i { flex: 1; aspect-ratio: 9 / 16; border-radius: 10px; background: var(--mint); }
.store-shots i:nth-child(2) { background: #c4e2d8; }
.live-badge { position: absolute; right: .9rem; top: 3.1rem; background: var(--gold); color: var(--ink); font: 800 .78rem var(--font-body); padding: .25rem .7rem; border-radius: 999px; transform: scale(0); }
.stage-hero[data-stage="4"] .live-badge { animation: pop .5s .35s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.stage-hero[data-stage="4"] .store-btn { animation: press .9s .9s ease; }
@keyframes pop { to { transform: scale(1) rotate(-5deg); } }
@keyframes press { 40% { transform: scale(.94); background: var(--teal-deep); } }

.platforms { display: flex; gap: .5rem; margin-top: 1.6rem; position: relative; }
.platforms span { border: 1px solid var(--line-dark); color: var(--on-dark); font-size: .88rem; font-weight: 600; padding: .25rem .85rem; border-radius: 999px; }

@media (max-width: 880px) {
  .stage-grid { grid-template-columns: 1fr; }
  .stage-visual { order: -1; padding-top: 0; }
  .stage-hero h1 { max-width: 13ch; }
}
@media (max-width: 460px) { .stage-track { grid-template-columns: repeat(4, auto); justify-content: space-between; } .track-dot { display: none; } .track-btn { border-bottom: 3px solid transparent; } .stage-hero[data-stage="1"] .track-btn[data-go="1"], .stage-hero[data-stage="2"] .track-btn[data-go="2"], .stage-hero[data-stage="3"] .track-btn[data-go="3"], .stage-hero[data-stage="4"] .track-btn[data-go="4"] { border-bottom-color: var(--gold); } }

/* ticker */
.ticker { background: var(--gold); color: var(--ink); overflow: hidden; border-block: 1px solid #d99f1b; }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { display: flex; align-items: center; padding: .85rem 0; font: 700 1.05rem var(--font-display); white-space: nowrap; }
.ticker li::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--deep); margin: 0 1.6rem; }
@keyframes tick { to { transform: translateX(-50%); } }

/* services accordion */
.services-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.services-split > * { min-width: 0; }
.services-intro { position: sticky; top: 6rem; }
.services-intro p { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 1.6rem; }
@media (max-width: 860px) { .services-split { grid-template-columns: 1fr; } .services-intro { position: static; } }
.acc-item { border-top: 2px solid var(--ink); }
.acc-item:last-child { border-bottom: 2px solid var(--ink); }
.acc-item summary { display: flex; align-items: center; gap: 1rem; padding: 1.15rem .2rem; cursor: pointer; list-style: none; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--mint); color: var(--teal-deep); display: grid; place-items: center; flex: none; transition: background .25s, color .25s; }
.acc-title { font: 700 clamp(1.3rem, 2.4vw, 1.75rem) var(--font-display); letter-spacing: -.02em; flex: 1; }
.acc-plus { position: relative; width: 22px; height: 22px; flex: none; }
.acc-plus::before, .acc-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: var(--ink); transition: transform .3s; }
.acc-plus::after { transform: rotate(90deg); }
.acc-item[open] .acc-plus::after { transform: rotate(0); }
.acc-item:hover .acc-icon, .acc-item[open] .acc-icon { background: var(--gold); color: var(--ink); }
.acc-body { padding: 0 .2rem 1.6rem 4.2rem; color: var(--ink-soft); }
.acc-body p { margin-bottom: .8rem; max-width: 36rem; }
.acc-body ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.acc-body li { font-size: .92rem; font-weight: 600; padding: .25rem .8rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
@media (max-width: 520px) { .acc-body { padding-left: .2rem; } }

/* more apps strip */
.more-apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 2.4rem; }
.more-app { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: var(--radius); background: rgba(255, 255, 255, .6); text-decoration: none; color: var(--ink); border: 1px solid #b7d9cd; transition: background .2s, border-color .2s; }
.more-app:hover { background: #fff; border-color: var(--teal); color: var(--ink); }
.more-app .app-icon { margin: 0; width: 52px; height: 52px; border-radius: 13px; font-size: 1.1rem; }
.more-app strong { display: block; font-family: var(--font-display); }
.more-app small { display: block; color: var(--ink-soft); line-height: 1.35; }

/* process flow: a line that draws itself */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; position: relative; counter-reset: flow; }
.flow::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 2px; background: var(--ink); transform-origin: left; transform: scaleX(0); transition: transform 1.6s cubic-bezier(.6, 0, .2, 1); }
.flow.in-view::before { transform: scaleX(1); }
.flow li { position: relative; padding-top: 3.2rem; counter-increment: flow; }
.flow li::before { content: counter(flow); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink); display: grid; place-items: center; font: 800 1rem var(--font-display); transition: background .4s, border-color .4s; transition-delay: calc(var(--i, 0) * .35s); }
.flow.in-view li::before { background: var(--gold); }
.flow h3 { margin-bottom: .3em; }
.flow p { color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 1.8rem; }
  .flow::before { left: 17px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform-origin: top; transform: scaleY(0); }
  .flow.in-view::before { transform: scaleY(1); }
  .flow li { padding: 0 0 0 3.4rem; }
}

/* footer extras */
.footer-about .social { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.footer-about .social a { text-decoration: none; color: var(--on-dark); font-size: .95rem; }
.footer-about .social a:hover { color: var(--gold); text-decoration: underline; }

/* no-script / reduced motion: everything simply stays still */
@media (prefers-reduced-motion: reduce) {
  .orbit, .ticker-track { animation: none; }
  .ticker-track { flex-wrap: wrap; width: auto; }
  .ticker ul[aria-hidden] { display: none; }
  .stage-phone, .stage-phone .layer, .track-dot { transition: none; }
  .flow::before { transform: none; transition: none; }
  .flow li::before { background: var(--gold); transition: none; }
  .live-badge { transform: scale(1) rotate(-5deg); animation: none !important; }
}
