:root {
  --ink: #0b0d0c;
  --ink-soft: #171a18;
  --paper: #f4f5f1;
  --paper-deep: #e8eae4;
  --muted: #656b66;
  --line: rgba(11, 13, 12, 0.14);
  --accent: #c7ff3d;
  --accent-dark: #8fca00;
  --radius: 18px;
  --max: 1380px;
  --font: "Signika", sans-serif;
  --font-display: "Freeman", sans-serif;
  --font-label: "Bebas Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .8rem 1rem; background: var(--accent); color: var(--ink); }
.skip-link:focus { top: 1rem; }
.section-shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section-kicker, .eyebrow { font-family: var(--font-label); font-size: .88rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; }

.site-header {
  position: fixed; inset: 18px 24px auto; z-index: 50; width: min(calc(100% - 48px), var(--max)); margin-inline: auto;
  min-height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 8px 10px 8px 18px;
  color: #fff; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius);
  background: rgba(11,13,12,.76); backdrop-filter: blur(20px); box-shadow: 0 18px 60px rgba(0,0,0,.16);
}
.brand { display: inline-flex; align-items: center; width: fit-content; font-weight: 800; letter-spacing: -.04em; }
.brand img { width: auto; height: 36px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 2rem; color: rgba(255,255,255,.68); font-size: .85rem; }
.desktop-nav a, .text-link { transition: color .25s ease; }
.desktop-nav a:hover, .text-link:hover { color: var(--accent); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 1rem; }
.text-link { font-size: .85rem; font-weight: 600; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; color: var(--ink); background: var(--accent); font-size: 1.3rem; }
.mobile-menu { display: none; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: 0 1.25rem;
  border: 1px solid transparent; border-radius: 13px; font-size: .86rem; font-weight: 700; white-space: nowrap;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(.98); }
.button-small { min-height: 46px; }
.button-accent { background: var(--accent); color: var(--ink); }
.button-accent:hover { background: #d5ff70; }
.button-ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.button-ghost:hover { border-color: var(--ink); }
.button-light { background: #fff; color: var(--ink); }
.button-dark { background: var(--ink); color: #fff; }

.hero {
  position: relative; min-height: 100dvh; padding: 156px max(24px, calc((100vw - var(--max))/2)) 54px; color: #fff; background:
    radial-gradient(circle at 78% 28%, rgba(199,255,61,.13), transparent 25%),
    linear-gradient(145deg, #0b0d0c, #131815 65%, #0c0e0d);
  display: grid; grid-template-columns: 1.05fr .95fr; grid-template-rows: 1fr auto; gap: 2.5rem; overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, black, transparent 72%); }
.hero-copy { position: relative; z-index: 2; align-self: center; max-width: 820px; }
.eyebrow { margin: 0 0 1.4rem; color: var(--accent); }
.hero h1 { max-width: 820px; margin: 0; font-family: var(--font); font-size: 48px; font-weight: 700; line-height: 1.08; letter-spacing: -.045em; }
.hero h1 span, .hero h1 em { display: block; white-space: nowrap; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-lead { max-width: 600px; margin: 1.35rem 0 0; color: rgba(255,255,255,.62); font-size: clamp(.9rem, 1vw, 1rem); line-height: 1.6; }
.hero-cta { display: flex; gap: .7rem; margin-top: 2rem; }
.hero .button-ghost { color: #fff; border-color: rgba(255,255,255,.22); }
.hero .button-ghost:hover { border-color: #fff; }
.hero-stage { position: relative; z-index: 2; min-height: 620px; align-self: center; }
.hero-product {
  position: absolute; inset: 8% 2% 8% 12%; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius);
  background: #202522; box-shadow: 0 50px 120px rgba(0,0,0,.55); transform: perspective(1200px) rotateY(-9deg) rotateX(3deg);
}
.browser-bar { height: 42px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
.browser-bar span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.25); }
.browser-bar small { margin-left: auto; color: rgba(255,255,255,.34); font-size: .62rem; }
.hero-product img { width: 100%; height: calc(100% - 42px); object-fit: cover; object-position: top; }
.hero-mascot { inset: 0 0 0 5%; overflow: visible; border: 0; background: transparent; box-shadow: none; transform: none; }
.hero-mascot::before { content: ""; position: absolute; z-index: -1; width: 72%; aspect-ratio: 1; left: 15%; top: 12%; border-radius: 50%; background: rgba(199,255,61,.2); filter: blur(70px); }
.hero-mascot img { width: 100%; height: 100%; object-fit: contain; object-position: center; filter: drop-shadow(0 35px 55px rgba(0,0,0,.45)); mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); }
.stage-orbit { position: absolute; border: 1px solid rgba(199,255,61,.18); border-radius: 50%; }
.orbit-one { width: 520px; height: 520px; right: -8%; top: 4%; }
.orbit-two { width: 720px; height: 720px; right: -26%; top: -12%; }
.stage-note { position: absolute; display: flex; align-items: center; gap: .75rem; padding: .75rem .9rem; color: var(--ink); background: var(--accent); border-radius: 13px; box-shadow: 0 18px 50px rgba(0,0,0,.28); font-size: .7rem; line-height: 1.35; }
.stage-note i { font-size: 1.3rem; }
.stage-note strong { font-size: .78rem; }
.note-top { top: 13%; right: 0; }
.note-bottom { bottom: 13%; left: 3%; background: #fff; }
.hero-metrics { position: relative; z-index: 2; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.hero-metrics div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem 0; border-right: 1px solid rgba(255,255,255,.14); }
.hero-metrics div:last-child { border-right: 0; }
.hero-metrics strong { color: var(--accent); font-size: clamp(1.5rem, 2.8vw, 3rem); letter-spacing: -.06em; }
.hero-metrics span { color: rgba(255,255,255,.48); font-size: .75rem; }

.service-intro, .projects, .process, .pricing, .journal { padding-block: clamp(72px, 8vw, 120px); }
.intro-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 3rem; align-items: end; margin: 1rem 0 2.25rem; }
.intro-grid h2, .projects-heading h2, .pricing-copy h2, .journal-heading h2 { max-width: 940px; margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3.8rem); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
.intro-grid p, .pricing-copy p { margin: 0; color: var(--muted); line-height: 1.75; }
.service-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.service-row { min-height: 250px; display: flex; flex-direction: column; align-items: flex-start; padding: 1.15rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.46); transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.service-row:hover { transform: translateY(-5px); border-color: var(--ink); background: #fff; }
.service-index { align-self: flex-end; color: var(--muted); font-size: .62rem; }
.service-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-top: .6rem; border-radius: 12px; background: var(--ink); color: var(--accent); font-size: 1.12rem; }
.service-main { display: block; margin-top: auto; }
.service-main strong { display: block; font-size: 1rem; letter-spacing: -.03em; }
.service-main small { display: block; margin-top: .45rem; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.service-link { display: flex; gap: .35rem; align-items: center; margin-top: 1rem; font-size: .68rem; font-weight: 700; }

.projects { padding-top: 20px; }
.projects-heading, .journal-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.projects-heading h2 { max-width: 850px; margin-top: .65rem; font-size: clamp(1.8rem, 2.8vw, 3rem); }
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .3s ease, border-color .3s ease; }
.project-card:hover { transform: translateY(-4px); border-color: var(--ink); }
.project-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-deep); }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.project-card:hover img { transform: scale(1.035); }
.project-info { display: grid; gap: .8rem; padding: .9rem; }
.project-info span { color: var(--muted); font-size: .58rem; text-transform: uppercase; letter-spacing: .1em; }
.project-info h3 { max-width: 520px; min-height: 2.7em; margin: .35rem 0 0; font-size: .78rem; line-height: 1.4; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.project-price { padding-top: .7rem; border-top: 1px solid var(--line); font-size: .75rem; font-weight: 700; white-space: nowrap; }

.process { padding: clamp(2rem, 5vw, 4.5rem); border-radius: var(--radius); color: #fff; background: var(--ink); }
.process-copy { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.15); }
.process-copy > div:last-child { display: flex; align-items: end; gap: 1.5rem; }
.process-copy .section-kicker { color: var(--accent); }
.process-copy h2 { max-width: 650px; margin: .8rem 0 0; font-family: var(--font); font-size: clamp(2rem, 3vw, 3.3rem); font-weight: 700; line-height: 1.06; letter-spacing: -.045em; }
.process-copy p { max-width: 260px; margin: 0; color: rgba(255,255,255,.55); font-size: .78rem; line-height: 1.6; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.process-step { position: relative; min-height: 215px; padding: 1.5rem 1.25rem 0; border-right: 1px solid rgba(255,255,255,.15); }
.process-step:last-child { border-right: 0; }
.process-step::before { content: ""; position: absolute; top: -5px; left: 1.25rem; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.process-step > div { display: flex; align-items: center; justify-content: space-between; color: var(--accent); }
.process-step span { font-size: .66rem; }
.process-step i { font-size: 1.4rem; }
.process-step h3 { margin: 4.5rem 0 .5rem; font-size: 1rem; letter-spacing: -.025em; }
.process-step p { max-width: 220px; margin: 0; color: rgba(255,255,255,.48); font-size: .7rem; line-height: 1.55; }

.pricing { border-top: 1px solid var(--line); }
.pricing-copy { display: grid; grid-template-columns: .6fr 1fr .6fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.price-card { min-height: 460px; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; background: rgba(255,255,255,.45); }
.price-card-accent { border-color: var(--accent-dark); background: var(--accent); }
.price-top { display: flex; align-items: center; justify-content: space-between; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.price-top i { font-size: 1.5rem; }
.price-card h3 { margin: 3.5rem 0 1rem; font-size: clamp(1.55rem, 2vw, 2.2rem); line-height: 1.1; letter-spacing: -.05em; }
.price-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.price-card-accent p { color: rgba(11,13,12,.65); }
.price-card ul { display: grid; gap: .75rem; margin: auto 0 1.5rem; padding: 1.5rem 0 0; border-top: 1px solid var(--line); list-style: none; font-size: .83rem; }
.price-card li { display: flex; gap: .55rem; align-items: center; }
.domain-list { display: grid; margin: 3rem 0 auto; border-top: 1px solid var(--line); }
.domain-list a { display: flex; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: .82rem; }
.domain-list strong { font-size: 1.15rem; }
.domain-list span { color: var(--muted); }

.journal { max-width: 1180px; padding-top: 0; padding-bottom: clamp(60px, 7vw, 90px); }
.journal-heading { margin-bottom: 1.35rem; }
.journal-heading h2 { margin-top: .5rem; font-family: var(--font); font-size: clamp(1.55rem, 2.2vw, 2.25rem); font-weight: 700; letter-spacing: -.04em; }
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.journal-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.6); transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.journal-card:hover { transform: translateY(-4px); border-color: var(--ink); background: #fff; }
.journal-image { display: block; aspect-ratio: 16 / 8.5; overflow: hidden; }
.journal-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); transition: filter .3s ease, transform .5s ease; }
.journal-card:hover img { filter: saturate(1); transform: scale(1.025); }
.journal-content { min-height: 145px; display: flex; flex-direction: column; padding: .9rem; }
.journal-meta { color: var(--muted); font-size: .55rem; text-transform: uppercase; letter-spacing: .08em; }
.journal-card h3 { margin: .5rem 0 .8rem; font-size: .78rem; line-height: 1.45; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.journal-link { display: flex; align-items: center; gap: .3rem; margin-top: auto; font-size: .62rem; font-weight: 700; }

.final-cta { position: relative; min-height: 530px; margin-bottom: 1rem; padding: clamp(2rem, 7vw, 7rem); overflow: hidden; border-radius: var(--radius); color: #fff; background: var(--ink); display: flex; flex-direction: column; align-items: flex-start; justify-content: end; }
.final-cta p { position: relative; z-index: 2; color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.final-cta h2 { position: relative; z-index: 2; max-width: 850px; margin: 1rem 0 2rem; font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 4.8rem); font-weight: 400; line-height: 1.04; letter-spacing: -.04em; }
.final-cta div:last-child { position: relative; z-index: 2; display: flex; gap: .75rem; }
.cta-glow { position: absolute; width: 650px; height: 650px; border-radius: 50%; right: -5%; top: -45%; background: var(--accent); filter: blur(120px); opacity: .23; }

.site-footer { padding-block: 4rem 2rem; }
.footer-main { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 3rem; padding-bottom: 4rem; }
.footer-main > div { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.footer-brand { display: inline-flex; }
.footer-brand img { width: auto; height: 42px; }
.footer-main p { max-width: 420px; margin: 0; color: var(--muted); line-height: 1.7; }
.footer-main strong { margin-bottom: .4rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-main a:not(.footer-brand) { color: var(--muted); font-size: .82rem; }
.footer-main a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.empty-state { grid-column: 1 / -1; padding: 3rem; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); }

@media (max-width: 1100px) {
  .desktop-nav, .header-actions { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .menu-toggle { display: grid; place-items: center; justify-self: end; }
  .mobile-menu { position: fixed; inset: 92px 24px auto; z-index: 49; display: grid; gap: .3rem; padding: 1rem; border-radius: var(--radius); background: var(--ink); color: #fff; transform: translateY(-16px); opacity: 0; visibility: hidden; transition: .25s ease; }
  .mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .mobile-menu a { padding: 1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero { grid-template-columns: 1fr; padding-top: 140px; }
  .hero-copy { padding-top: 2rem; }
  .hero h1 { font-size: 42px; }
  .hero h1 span, .hero h1 em { white-space: nowrap; }
  .hero-stage { min-height: 560px; }
  .hero-product { inset: 5% 6%; transform: none; }
  .hero-mascot { inset: 0 8%; }
  .pricing-copy { grid-template-columns: 1fr; }
  .service-list, .project-grid { grid-template-columns: repeat(2, 1fr); }
  .process-copy { grid-template-columns: 1fr; }
  .process-copy > div:last-child { justify-content: space-between; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.15); }
  .journal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .section-shell { width: min(calc(100% - 32px), var(--max)); }
  .site-header { inset: 12px 16px auto; width: calc(100% - 32px); }
  .mobile-menu { inset: 84px 16px auto; }
  .hero { padding-inline: 16px; padding-bottom: 24px; }
  .hero h1 { font-size: 34px; letter-spacing: -.035em; }
  .hero h1 span, .hero h1 em { white-space: nowrap; }
  .hero-stage { min-height: 430px; }
  .hero-mascot { inset: 0 4%; }
  .stage-note { display: none; }
  .hero-metrics { grid-template-columns: 1fr; }
  .hero-metrics div { padding: 1rem 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-grid { gap: 1.5rem; }
  .projects-heading, .journal-heading { display: grid; }
  .pricing-grid { grid-template-columns: 1fr; }
  .process-copy > div:last-child { display: grid; justify-content: start; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step, .process-step:nth-child(2) { min-height: 185px; border-top: 1px solid rgba(255,255,255,.15); border-right: 0; }
  .process-step:first-child { border-top: 0; }
  .process-step h3 { margin-top: 3rem; }
  .journal-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 29px; }
  .hero-cta, .final-cta div:last-child { width: 100%; display: grid; }
  .hero-cta .button, .final-cta .button { width: 100%; }
  .hero-stage { min-height: 330px; }
  .hero-product { inset: 4% 0; }
  .hero-mascot { inset: 0; }
  .orbit-one, .orbit-two { display: none; }
  .service-list, .project-grid { grid-template-columns: 1fr; }
  .service-row { min-height: 210px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; gap: 1rem; }
  .final-cta { min-height: 480px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
