:root {
  --bg: #080810;
  --surface: #0d0e1c;
  --surface-2: #0d0c15;
  --line: #1f223d;
  --white: #fff;
  --text: #8f95b2;
  --muted: #545875;
  --cyan: #00f0ff;
  --purple: #9d4edd;
  --pink: #ff007a;
  --page-x: 80px;
  --section-y: 140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--white); font-family: "Geist", Arial, sans-serif; font-size: 16px; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, blockquote { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-family: "Squada One", sans-serif; font-weight: 400; font-style: normal; }
p { color: var(--text); line-height: 1.625; }
.cyan { color: var(--cyan) !important; }
.purple { color: var(--purple) !important; }
.pink { color: var(--pink) !important; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -80px; padding: 12px 16px; background: var(--white); color: var(--bg); border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { min-height: 104px; padding: 32px var(--page-x); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 20; background: rgba(8,8,16,.72); transition: background .25s, backdrop-filter .25s; }
.site-header.scrolled { position: sticky; top: 0; background: rgba(8,8,16,.94); backdrop-filter: blur(16px); }
.brand-logo { width: 300px; flex: 0 0 auto; }
.brand-logo img { width: 100%; height: auto; }
.brand-logo-footer { width: 220px; }
.desktop-nav { display: flex; gap: 40px; font-size: 14px; font-weight: 500; color: var(--text); }
.desktop-nav a, .site-footer nav a { transition: color .2s; }
.desktop-nav a:hover, .site-footer nav a:hover { color: var(--white); }
.header-cta { padding: 12px 24px; border: 1px solid var(--cyan); border-radius: 8px; font-size: 14px; font-weight: 600; transition: background .2s, color .2s; }
.header-cta:hover { background: var(--cyan); color: var(--bg); }
.menu-button, .mobile-menu { display: none; }

.hero { min-height: 820px; padding: 0 var(--page-x); display: flex; align-items: center; justify-content: space-between; overflow: clip; }
.hero-copy { width: 640px; display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.eyebrow { font-family: "Geist", Arial, sans-serif; font-size: 14px; line-height: 1.2; font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
.hero h1 { max-width: 640px; margin-top: 16px; font-size: clamp(58px, 5vw, 72px); line-height: 1.083; letter-spacing: -2px; }
.hero h1 span { display: block; color: var(--cyan); }
.hero-lede { width: 580px; max-width: 100%; margin-top: 16px; font-size: 18px; line-height: 28px; }
.hero-actions { display: flex; gap: 16px; }
.button { min-height: 52px; padding: 16px 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; font-weight: 600; font-size: 15px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(90deg, var(--purple), var(--pink)); box-shadow: 0 12px 36px rgba(157,78,221,.16); }
.button-primary:hover { box-shadow: 0 14px 42px rgba(255,0,122,.24); }
.button-secondary { border: 1px solid var(--line); }
.button-secondary:hover { border-color: var(--cyan); }
.scroll-indicator { padding-top: 40px; display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; text-transform: uppercase; }
.scroll-indicator img { width: 14px; height: 14px; }
.hero-art { position: relative; width: 580px; height: 580px; display: flex; align-items: center; justify-content: center; }
.hero-glow { position: absolute; width: 760px; height: 760px; max-width: none; pointer-events: none; }
.hero-mascot { position: relative; z-index: 1; width: 490px; height: 490px; object-fit: contain; mix-blend-mode: screen; animation: mascotFloat 4.6s ease-in-out infinite; }
@keyframes mascotFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.section { padding: var(--section-y) var(--page-x); }
.section-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.section h2, .human-block h2 { font-size: 48px; line-height: 1.12; letter-spacing: 1px; }
.portfolio { padding-top: 80px; display: flex; flex-direction: column; gap: 64px; }
.intro-columns { padding-top: 8px; display: flex; gap: 40px; }
.intro-columns p { width: 500px; font-size: 16px; line-height: 26px; }
.projects { display: flex; flex-direction: column; gap: 32px; }
.project { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: border-color .25s, transform .25s; }
.project:hover { border-color: rgba(0,240,255,.55); transform: translateY(-3px); }
.project-image { height: 280px; overflow: hidden; }
.project-large .project-image { height: 440px; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project:hover .project-image img { transform: scale(1.025); }
.project-info { min-height: 104px; padding: 32px; display: flex; align-items: center; justify-content: space-between; }
.project-info span { display: flex; flex-direction: column; gap: 8px; }
.project-info small { font-size: 12px; line-height: 1; font-weight: 700; text-transform: uppercase; }
.project-info strong { font-family: "Squada One", sans-serif; font-size: 28px; line-height: 1.1; font-weight: 400; }
.project-info > img { width: 24px; height: 24px; transition: transform .2s; }
.project:hover .project-info > img { transform: translateX(4px); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.project-info.compact { min-height: 88px; padding: 24px; }
.project-info.compact small { font-size: 11px; }
.project-info.compact strong { font-size: 20px; }
.project-info.compact > img { width: 20px; height: 20px; }

.services { background: var(--surface); display: flex; flex-direction: column; gap: 80px; }
.service-list { display: flex; flex-direction: column; }
.service { min-height: 126px; padding: 40px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 60px 340px minmax(0,500px) 1fr; gap: 48px; align-items: center; transition: padding-left .2s, background .2s; }
.service:hover { padding-left: 12px; background: rgba(255,255,255,.012); }
.service-number { color: var(--muted); font-family: "Squada One", sans-serif; font-size: 20px; font-weight: 400; }
.service h3 { font-size: 28px; }
.service p { font-size: 16px; line-height: 26px; }
.service > img { width: 24px; height: 24px; justify-self: end; }

.about { display: flex; align-items: center; justify-content: space-between; gap: 80px; }
.about-copy { width: 680px; display: flex; flex-direction: column; gap: 32px; }
.about-copy > div:first-child { display: flex; flex-direction: column; gap: 16px; }
.body-copy { display: flex; flex-direction: column; gap: 20px; }
.body-copy p, .why-copy p { font-size: 16px; line-height: 26px; }
.about-art { width: 520px; height: 400px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.about-art img { width: 380px; height: 380px; object-fit: contain; mix-blend-mode: screen; }
.why { display: flex; flex-direction: column; gap: 64px; }
.why-copy { width: 680px; padding-top: 8px; display: flex; flex-direction: column; gap: 20px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.benefit { padding: 32px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; display: flex; flex-direction: column; gap: 16px; }
.benefit > img { width: 24px; height: 24px; }
.benefit h3 { font-size: 20px; }
.benefit p { font-size: 14px; line-height: 22px; }

.human-block { padding: 80px var(--page-x); background: var(--surface-2); display: flex; align-items: center; justify-content: space-between; gap: 80px; }
.human-copy { width: 520px; display: flex; flex-direction: column; gap: 16px; }
.human-copy h2 { font-size: 36px; }
.human-copy p { font-size: 16px; line-height: 26px; }
.quote-card { width: 520px; padding: 40px; border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; gap: 8px; }
.quote-card q { font-family: "Squada One", sans-serif; font-size: 35px; line-height: 1.15; font-weight: 400; }
.quote-card q::before, .quote-card q::after { content: none; }

.process { display: flex; flex-direction: column; gap: 80px; }
.process-list { position: relative; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.process-list::before { content: ""; position: absolute; top: 16px; left: 40px; right: 40px; height: 1px; background: var(--line); }
.process-list li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.process-list li span { position: relative; z-index: 1; margin-bottom: 12px; padding-right: 16px; background: var(--bg); color: var(--cyan); font-family: "Squada One", sans-serif; font-size: 20px; line-height: 32px; font-weight: 400; }
.process-list h3 { font-size: 20px; }
.process-list p { font-size: 14px; line-height: 22px; }

.contact-section { padding: 80px var(--page-x) 140px; }
.contact-card { position: relative; overflow: hidden; min-height: 420px; padding: 80px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(90deg, #0f112a, #1d1e3a); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; text-align: center; }
.contact-glow { position: absolute; z-index: 0; width: 880px; height: 880px; right: -340px; bottom: -340px; pointer-events: none; }
.contact-card > *:not(.contact-glow) { position: relative; z-index: 1; }
.contact-card h2 { max-width: 800px; font-size: 54px; line-height: 1.1; letter-spacing: 1px; }
.contact-actions { display: flex; align-items: center; gap: 32px; }
.button-light { min-height: 56px; padding: 18px 36px; border-radius: 12px; background: var(--white); color: var(--bg); font-weight: 700; font-size: 16px; }
.email-link { color: var(--cyan); font-size: 16px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.site-footer { padding: 80px var(--page-x) 40px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 48px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; }
.footer-row > div { display: flex; flex-direction: column; gap: 8px; }
.footer-row p, .copyright { font-size: 14px; line-height: 1.25; }
.site-footer nav { display: flex; align-items: center; gap: 32px; color: var(--text); font-size: 14px; }
.copyright { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  :root { --page-x: 40px; }
  .hero-copy { width: 52%; }
  .hero-art { width: 44vw; height: 44vw; }
  .hero-mascot { width: 86%; height: 86%; }
  .hero-glow { width: 130%; height: 130%; }
  .service { grid-template-columns: 44px 250px minmax(0,1fr) 24px; gap: 24px; }
  .about-copy { width: 56%; }
  .about-art { width: 38%; }
}

@media (max-width: 760px) {
  :root { --page-x: 20px; --section-y: 56px; }
  body { font-size: 15px; }
  .site-header { min-height: 80px; padding: 20px; }
  .site-header.scrolled { position: sticky; }
  .brand-logo { width: 270px; }
  .brand-logo-footer { width: 190px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-button { width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
  .menu-button span { width: 20px; height: 2px; background: var(--white); transition: transform .2s; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu { position: fixed; z-index: 19; inset: 80px 0 0; padding: 40px 20px; background: rgba(8,8,16,.98); flex-direction: column; gap: 28px; font-family: "Squada One", sans-serif; font-size: 28px; font-weight: 400; }
  .mobile-menu.open { display: flex; }

  .hero { min-height: 872px; padding: 48px 20px; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 36px; }
  .hero-copy { width: 100%; gap: 36px; }
  .eyebrow { font-size: 12px; }
  .hero h1 { margin-top: 12px; max-width: 350px; font-size: 42px; line-height: 44px; letter-spacing: -1px; }
  .hero-lede { margin-top: 16px; width: 100%; font-size: 15px; line-height: 22px; }
  .hero-actions { width: 100%; flex-direction: column; gap: 12px; }
  .hero-actions .button { width: 100%; min-height: 48px; padding: 14px 24px; }
  .scroll-indicator { position: absolute; top: 808px; left: 20px; width: calc(100% - 40px); padding: 0; justify-content: center; font-size: 12px; }
  .hero-art { width: 100%; height: 320px; flex: 0 0 320px; }
  .hero-glow { width: 360px; height: 360px; }
  .hero-mascot { width: 260px; height: 260px; }
  .section h2, .human-block h2 { font-size: 34px; line-height: 1.06; letter-spacing: 1px; }
  .portfolio { gap: 32px; }
  .intro-columns { flex-direction: column; gap: 12px; }
  .intro-columns p { width: 100%; font-size: 14px; line-height: 22px; }
  .projects { gap: 20px; }
  .project-grid { grid-template-columns: 1fr; gap: 20px; }
  .project-image, .project-large .project-image { height: 200px; }
  .project-info, .project-info.compact { min-height: 79px; padding: 16px; }
  .project-info strong, .project-info.compact strong { max-width: 285px; font-size: 20px; }
  .project-info small, .project-info.compact small { font-size: 10px; }

  .services { gap: 24px; }
  .services h2 br { display: none; }
  .service { min-height: 117px; padding: 20px 0; grid-template-columns: auto 1fr; grid-template-areas: "number title" "copy copy"; gap: 8px 12px; align-items: start; }
  .service:hover { padding-left: 0; }
  .service-number { grid-area: number; font-size: 14px; line-height: 25px; }
  .service h3 { grid-area: title; font-size: 22px; line-height: 25px; }
  .service p { grid-area: copy; font-size: 14px; line-height: 22px; }
  .service > img { display: none; }

  .about { min-height: 832px; flex-direction: column; align-items: stretch; gap: 32px; }
  .about-copy { width: 100%; gap: 32px; }
  .body-copy p, .why-copy p { font-size: 15px; line-height: 24px; }
  .about-art { width: 100%; height: 260px; }
  .about-art img { width: 230px; height: 230px; }
  .why { gap: 32px; }
  .why-copy { width: 100%; gap: 14px; }
  .benefit-grid { grid-template-columns: 1fr; gap: 16px; }
  .benefit { min-height: 151px; padding: 20px; gap: 12px; }
  .benefit h3 { font-size: 20px; }

  .human-block { padding: 40px 20px; flex-direction: column; align-items: stretch; gap: 24px; }
  .human-copy, .quote-card { width: 100%; }
  .human-copy h2 { font-size: 30px; line-height: 1; }
  .human-copy p { font-size: 14px; line-height: 22px; }
  .quote-card { padding: 24px; }
  .quote-card q { font-size: 20px; line-height: 26px; }

  .process { gap: 32px; }
  .process-list { display: flex; flex-direction: column; gap: 24px; }
  .process-list::before { display: none; }
  .process-list li { min-height: 82px; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "number title" "copy copy"; gap: 8px 12px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .process-list li span { grid-area: number; margin: 0; padding: 2px 8px; border-radius: 12px; background: var(--surface); font-size: 16px; line-height: 20px; }
  .process-list h3 { grid-area: title; font-size: 20px; }
  .process-list p { grid-area: copy; font-size: 14px; }

  .contact-section { padding: 32px 20px 56px; }
  .contact-card { min-height: 380px; padding: 32px; gap: 24px; }
  .contact-card h2 { font-size: 36px; line-height: 1.05; }
  .contact-actions { width: 100%; flex-direction: column; gap: 16px; }
  .contact-actions .button { width: 100%; }
  .contact-glow { width: 600px; height: 600px; right: -300px; bottom: -300px; }

  .site-footer { padding: 40px 20px; gap: 24px; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-row p { max-width: 350px; }
  .site-footer nav { gap: 24px; }
  .copyright { line-height: 18px; }
}

@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; }
}
