:root {
  --ink: #071419;
  --ink-soft: #0d2026;
  --paper: #f3f1e9;
  --paper-deep: #e9e6dc;
  --white: #ffffff;
  --mint: #67e8d0;
  --mint-dark: #0ba98f;
  --coral: #ff8066;
  --line: rgba(7, 20, 25, 0.15);
  --line-light: rgba(255, 255, 255, 0.16);
  --font-display: "Manrope", "Segoe UI", sans-serif;
  --font-mono: "DM Mono", Consolas, monospace;
  --shell: min(1240px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
::selection { color: var(--ink); background: var(--mint); }
a { color: inherit; }
img, svg { display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: clamp(96px, 12vw, 180px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: 16px; padding: 10px 16px; background: var(--mint); color: var(--ink); transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; }

.cursor-glow {
  position: fixed;
  z-index: 0;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(103, 232, 208, 0.065);
  filter: blur(42px);
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
  transition: opacity .3s;
}
body:hover .cursor-glow { opacity: 1; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
}
.site-header.scrolled { background: rgba(7, 20, 25, .78); border-color: rgba(255,255,255,.1); backdrop-filter: blur(18px); }
.nav-wrap { width: var(--shell); height: 84px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 800; letter-spacing: .16em; text-decoration: none; }
.brand-mark { width: 38px; color: var(--mint); }
.brand-mark path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; }
.brand-mark circle { fill: var(--coral); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 13px; font-weight: 600; text-decoration: none; letter-spacing: .04em; opacity: .76; transition: opacity .2s, color .2s; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--mint); opacity: 1; }
.nav-links .nav-cta { opacity: 1; border: 1px solid rgba(255,255,255,.34); padding: 10px 17px; border-radius: 99px; }
.menu-toggle { display: none; appearance: none; border: 0; background: none; padding: 12px 0 12px 12px; color: inherit; }
.menu-toggle > span:not(.sr-only) { display: block; width: 25px; height: 1px; background: currentColor; margin: 6px 0; transition: transform .25s; }

.hero { position: relative; min-height: 100svh; color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(4,15,20,.98) 0%, rgba(4,15,20,.86) 34%, rgba(4,15,20,.15) 72%, rgba(4,15,20,.2) 100%); }
.hero-media { position: absolute; z-index: -2; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.04); will-change: transform; }
.hero-grid { position: absolute; inset: 0; opacity: .09; background-image: linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px); background-size: 88px 88px; mask-image: linear-gradient(90deg, #000 0%, transparent 72%); }
.hero-inner { position: relative; z-index: 2; min-height: 100svh; padding-top: 140px; padding-bottom: 88px; display: flex; flex-direction: column; justify-content: center; }
.hero-copy { width: min(820px, 72%); }
.eyebrow { margin: 0 0 28px; display: flex; align-items: center; gap: 10px; color: var(--mint); font-family: var(--font-mono); font-size: 11px; font-weight: 500; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow > span { width: 4px; height: 4px; border-radius: 50%; background: var(--coral); }
.eyebrow-dark { color: var(--mint-dark); }
.hero h1, .section-heading h2, .showcase h2, .about h2, .contact h2 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: .98;
}
.hero h1 { max-width: 920px; font-size: clamp(54px, 7.1vw, 108px); }
.hero h1 em, .contact h2 em { color: var(--mint); font-family: Georgia, serif; font-weight: 400; }
.hero-lead { max-width: 610px; margin: 34px 0 0; color: rgba(255,255,255,.72); font-size: clamp(17px, 1.7vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 32px; margin-top: 42px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 58px; padding: 0 22px 0 28px; border-radius: 3px; font-size: 14px; font-weight: 700; text-decoration: none; transition: color .25s, background .25s, transform .25s; }
.button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.button-primary { color: var(--ink); background: var(--mint); }
.button-primary:hover { color: var(--white); background: var(--coral); transform: translateY(-3px); }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link span { color: var(--coral); transition: transform .2s; }
.text-link:hover span { transform: translate(3px, -3px); }
.hero-note { position: absolute; right: 0; bottom: 94px; display: grid; grid-template-columns: auto auto; gap: 16px; align-items: start; padding: 18px 24px; color: var(--white); border-left: 1px solid var(--mint); background: rgba(7,20,25,.54); backdrop-filter: blur(14px); }
.hero-note p { margin: 0; font-size: 13px; line-height: 1.6; }
.note-index { color: var(--coral); font-family: var(--font-mono); font-size: 10px; }
.scroll-cue { position: absolute; z-index: 3; left: 32px; bottom: 44px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.5); font-family: var(--font-mono); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue span { display: block; width: 1px; height: 58px; overflow: hidden; background: rgba(255,255,255,.2); }
.scroll-cue span::after { content: ""; display: block; width: 1px; height: 30px; background: var(--mint); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { from { transform: translateY(-32px); } to { transform: translateY(62px); } }

.ticker { overflow: hidden; padding: 18px 0; color: var(--ink); background: var(--mint); }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 28px; animation: ticker 28s linear infinite; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.ticker-track i { width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px 80px; align-items: end; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 4px; }
.section-heading h2 { font-size: clamp(44px, 5.6vw, 78px); }
.section-heading > p:last-child { max-width: 460px; margin: 0 0 6px; color: rgba(7,20,25,.65); font-size: 17px; }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 74px; }
.service-card { --spot-x: 50%; --spot-y: 50%; position: relative; min-height: 490px; padding: 30px; border: 1px solid var(--line); background: rgba(255,255,255,.27); overflow: hidden; transition: transform .35s, border-color .35s, box-shadow .35s; }
.service-card::before { content: ""; position: absolute; inset: 0; opacity: 0; background: radial-gradient(350px circle at var(--spot-x) var(--spot-y), rgba(103,232,208,.25), transparent 45%); transition: opacity .3s; }
.service-card:hover { z-index: 2; border-color: rgba(11,169,143,.45); box-shadow: 0 25px 70px rgba(7,20,25,.08); transform: translateY(-8px); }
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-number { color: rgba(7,20,25,.42); font-family: var(--font-mono); font-size: 10px; }
.service-icon { display: grid; place-items: center; width: 70px; height: 70px; margin: 48px 0 42px; color: var(--ink); border-radius: 50%; background: var(--mint); }
.service-icon svg { width: 38px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.service-card:nth-child(2) .service-icon { color: var(--white); background: var(--coral); }
.service-card:nth-child(3) .service-icon { color: var(--mint); background: var(--ink); }
.service-card h3 { margin: 0 0 16px; font-size: 23px; letter-spacing: -.03em; }
.service-card p { margin: 0; color: rgba(7,20,25,.62); font-size: 14px; }
.service-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.service-card li { padding: 6px 9px; border: 1px solid var(--line); border-radius: 99px; color: rgba(7,20,25,.6); font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; }

.showcase { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.showcase::before { content: ""; position: absolute; right: -10%; top: -30%; width: 700px; height: 700px; border-radius: 50%; background: rgba(103,232,208,.08); filter: blur(100px); }
.showcase-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; align-items: center; }
.showcase h2 { font-size: clamp(48px, 5.8vw, 80px); }
.showcase-copy > p:not(.eyebrow) { max-width: 530px; margin: 32px 0 0; color: rgba(255,255,255,.62); }
.mini-points { display: grid; gap: 0; margin-top: 42px; }
.mini-points span { display: flex; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line-light); font-size: 13px; }
.mini-points b { color: var(--coral); font-family: var(--font-mono); font-size: 10px; font-weight: 400; }
.browser-stage { position: relative; min-height: 560px; display: grid; place-items: center; perspective: 1200px; }
.browser-window { position: relative; z-index: 2; width: min(680px, 100%); aspect-ratio: 1.27; border: 1px solid rgba(255,255,255,.3); border-radius: 12px; background: rgba(255,255,255,.09); box-shadow: 0 45px 100px rgba(0,0,0,.45); backdrop-filter: blur(12px); transform: rotateY(-8deg) rotateX(3deg); overflow: hidden; }
.browser-bar { height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 15px; border-bottom: 1px solid rgba(255,255,255,.13); }
.browser-bar span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.35); }
.browser-bar span:first-child { background: var(--coral); }
.browser-bar i { width: 34%; height: 8px; margin-left: auto; border-radius: 99px; background: rgba(255,255,255,.08); }
.browser-content { margin: 14px; padding: 22px; height: calc(100% - 70px); border-radius: 6px; color: var(--ink); background: #eeeee8; overflow: hidden; }
.demo-nav { display: flex; align-items: center; gap: 12px; }
.demo-nav b { margin-right: auto; font-size: 8px; letter-spacing: .15em; }
.demo-nav span { width: 25px; height: 3px; border-radius: 99px; background: rgba(7,20,25,.22); }
.demo-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; height: 76%; padding-top: 34px; align-items: center; }
.demo-kicker { display: block; width: 70px; height: 4px; margin-bottom: 17px; background: var(--coral); }
.demo-hero strong { font-size: clamp(27px, 3.5vw, 48px); line-height: .91; letter-spacing: -.07em; }
.demo-hero strong em { color: var(--mint-dark); font-family: Georgia, serif; font-weight: 400; }
.demo-button { display: block; width: 72px; height: 20px; margin-top: 23px; background: var(--ink); }
.demo-art { position: relative; width: 100%; aspect-ratio: .8; border-radius: 50% 50% 4% 50%; background: var(--mint); overflow: hidden; }
.demo-art i { position: absolute; border-radius: 50%; }
.demo-art i:nth-child(1) { width: 75%; height: 75%; left: -24%; top: -18%; border: 15px solid var(--ink); }
.demo-art i:nth-child(2) { width: 45%; height: 45%; right: -8%; bottom: 9%; background: var(--coral); }
.demo-art i:nth-child(3) { width: 15%; height: 15%; left: 20%; bottom: 12%; background: var(--paper); }
.demo-footer { display: flex; gap: 8px; }
.demo-footer span { display: block; width: 36px; height: 3px; background: rgba(7,20,25,.2); }
.orbit { position: absolute; border: 1px solid rgba(103,232,208,.18); border-radius: 50%; }
.orbit-one { width: 470px; height: 470px; animation: orbit 18s linear infinite; }
.orbit-two { width: 620px; height: 260px; transform: rotate(42deg); animation: orbitReverse 22s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes orbitReverse { to { transform: rotate(-318deg); } }
.floating-tag { position: absolute; z-index: 3; padding: 8px 12px; color: var(--ink); border-radius: 2px; background: var(--mint); font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.tag-a { top: 19%; left: -1%; animation: float 5s ease-in-out infinite; }
.tag-b { right: 1%; bottom: 16%; color: var(--white); background: var(--coral); animation: float 5s 1.4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-13px) rotate(-2deg); } }

.process-heading { display: block; }
.process-heading h2 { max-width: 680px; }
.process-list { margin: 70px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.process-list li { display: grid; grid-template-columns: 90px 1fr 80px; align-items: center; gap: 24px; min-height: 170px; border-bottom: 1px solid var(--line); transition: padding .25s, background .25s; }
.process-list li:hover { padding-inline: 24px; background: rgba(255,255,255,.3); }
.process-no { color: var(--coral); font-family: var(--font-mono); font-size: 11px; }
.process-list h3 { margin: 0 0 7px; font-size: clamp(25px, 3vw, 38px); letter-spacing: -.04em; }
.process-list p { max-width: 550px; margin: 0; color: rgba(7,20,25,.62); }
.process-symbol { justify-self: end; font-size: 36px; font-weight: 300; }

.about { color: var(--white); background: var(--ink-soft); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 120px; align-items: center; }
.about-visual { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(103,232,208,.16), transparent 60%); }
.about-visual::after { content: ""; position: absolute; inset: 17%; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.025); backdrop-filter: blur(7px); }
.about-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(103,232,208,.13); stroke-width: .8; animation: slowSpin 32s linear infinite; }
@keyframes slowSpin { to { transform: rotate(360deg); } }
.monogram { position: relative; z-index: 2; color: var(--mint); font-size: clamp(70px, 10vw, 150px); font-weight: 600; letter-spacing: -.11em; transform: translateX(-.06em); }
.about-stamp { position: absolute; z-index: 3; right: 8%; bottom: 15%; padding: 8px 12px; color: var(--ink); background: var(--coral); font-family: var(--font-mono); font-size: 8px; letter-spacing: .1em; transform: rotate(-7deg); }
.about h2 { font-size: clamp(46px, 5.5vw, 76px); }
.about-copy .about-lead { margin-top: 36px; color: rgba(255,255,255,.84); font-size: 21px; }
.about-copy > p:not(.eyebrow):not(.about-lead) { color: rgba(255,255,255,.58); }
.about-copy strong { color: var(--mint); }
.text-link.light { margin-top: 22px; color: var(--white); }

.contact { position: relative; color: var(--white); background: #041014; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.45) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.45) 1px, transparent 1px); background-size: 70px 70px; }
.contact-glow { position: absolute; right: -250px; top: -280px; width: 820px; height: 820px; border-radius: 50%; background: rgba(103,232,208,.15); filter: blur(130px); }
.contact-inner { position: relative; z-index: 2; }
.contact h2 { font-size: clamp(58px, 9vw, 124px); }
.contact-copy { max-width: 510px; margin: 34px 0 60px; color: rgba(255,255,255,.6); font-size: 17px; }
.big-mail { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); color: var(--white); text-decoration: none; transition: color .25s, padding .25s; }
.big-mail span { font-size: clamp(26px, 5vw, 68px); font-weight: 500; letter-spacing: -.05em; }
.big-mail svg { width: clamp(35px, 5vw, 65px); fill: none; stroke: currentColor; stroke-width: 1; }
.big-mail:hover { padding-inline: 18px; color: var(--mint); }
.contact-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 55px; }
.contact-meta span { display: block; margin-bottom: 7px; color: rgba(255,255,255,.36); font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.contact-meta a, .contact-meta p { margin: 0; color: rgba(255,255,255,.78); font-size: 14px; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 4px; }
.site-footer { color: rgba(255,255,255,.5); background: #041014; border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { min-height: 110px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center; }
.footer-inner p { margin: 0; font-size: 11px; }
.footer-inner p:last-child { justify-self: end; }
.brand-footer { color: var(--white); font-size: 14px; }
.brand-footer .brand-mark { width: 30px; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .85s cubic-bezier(.2,.7,.2,1), transform .85s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

@media (max-width: 1000px) {
  :root { --shell: min(100% - 40px, 800px); }
  .hero-copy { width: 92%; }
  .hero::after { background: linear-gradient(90deg, rgba(4,15,20,.97), rgba(4,15,20,.72)); }
  .hero-media img { object-position: 59% center; opacity: .68; }
  .hero-note { right: 0; }
  .scroll-cue { display: none; }
  .section-heading { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-icon { margin: 35px 0 28px; }
  .showcase-grid, .about-grid { grid-template-columns: 1fr; gap: 70px; }
  .showcase-copy { max-width: 650px; }
  .browser-stage { min-height: 520px; }
  .about-visual { width: min(520px, 90%); justify-self: center; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100vw - 32px); }
  .section { padding-block: 90px; }
  .nav-wrap { height: 72px; }
  .menu-toggle { display: block; z-index: 2; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-links { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; padding: 72px 32px; background: rgba(4,16,20,.97); backdrop-filter: blur(18px); transform: translateY(-105%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .nav-links.is-open { transform: none; }
  .nav-links a { font-size: 31px; font-weight: 500; letter-spacing: -.04em; opacity: 1; }
  .nav-links .nav-cta { margin-top: 10px; padding: 10px 18px; font-size: 17px; letter-spacing: 0; }
  .hero-inner { padding-top: 110px; padding-bottom: 145px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(48px, 14vw, 69px); line-height: .96; }
  .hero h1 br { display: none; }
  .hero-lead { max-width: 92%; margin-top: 25px; font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; margin-top: 34px; }
  .button { width: 100%; }
  .hero-note { left: 16px; right: auto; bottom: 24px; }
  .ticker { padding: 14px 0; }
  .section-heading h2, .showcase h2, .about h2 { font-size: clamp(42px, 13vw, 64px); }
  .service-list { margin-top: 48px; }
  .service-card { padding: 24px; }
  .browser-stage { min-height: 390px; }
  .browser-window { transform: rotateY(-4deg) rotateX(2deg); }
  .browser-content { margin: 9px; padding: 14px; }
  .browser-bar { height: 32px; }
  .demo-hero { padding-top: 20px; }
  .demo-hero strong { font-size: 25px; }
  .floating-tag { font-size: 7px; }
  .orbit-one { width: 310px; height: 310px; }
  .orbit-two { width: 380px; height: 180px; }
  .process-list li { grid-template-columns: 42px 1fr; min-height: 190px; }
  .process-symbol { display: none; }
  .process-list li:hover { padding-inline: 10px; }
  .process-list p { font-size: 14px; }
  .about-grid { gap: 55px; }
  .about-visual { width: 100%; }
  .about-copy .about-lead { font-size: 18px; }
  .contact h2 { font-size: clamp(53px, 15vw, 78px); }
  .big-mail span { font-size: clamp(22px, 7vw, 38px); }
  .contact-meta { grid-template-columns: 1fr; }
  .footer-inner { min-height: 150px; grid-template-columns: 1fr 1fr; }
  .footer-inner > p:nth-child(2) { display: none; }
  .cursor-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
