@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=JetBrains+Mono:wght@400;500;600&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #090d0c;
  --bg-deep: #060908;
  --surface: #121917;
  --surface-soft: #17221e;
  --surface-elevated: #1e2c27;
  --ink: #f2f6f4;
  --muted: #9eada7;
  --line: rgba(202, 227, 218, 0.14);
  --line-strong: rgba(0, 217, 221, 0.32);
  --accent: #00d9dd;
  --accent-light: #9af6ee;
  --accent-glow: rgba(0, 217, 221, 0.16);
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.14);
  --amber: #f2c48a;
  --header-height: 82px;
  --font-sans: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background-color: var(--bg);
  position: relative;
}

/* =========================================================================
   GLOBAL ATMOSPHERE & AMBIANCE: Film Grain, Ambient Auroras & Vignette Grid
   ========================================================================= */

/* 1. Tactile Film Grain Overlay (Fixed viewport noise) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* 2. Architectural Micro-Grid with Radial Lens Mask */
.ambient-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(202, 227, 218, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(202, 227, 218, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 38%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 38%, #000 20%, transparent 80%);
}

/* 3. Soft Breathing Ambient Light Fields */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
  animation: aurora-drift 18s ease-in-out infinite alternate;
}
.ambient-glow-1 {
  width: min(65vw, 680px);
  height: min(65vw, 680px);
  top: -100px;
  right: -80px;
  background: radial-gradient(circle, rgba(0, 217, 221, 0.14) 0%, rgba(16, 185, 129, 0.06) 45%, transparent 70%);
}
.ambient-glow-2 {
  width: min(70vw, 750px);
  height: min(70vw, 750px);
  top: 900px;
  left: -120px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.1) 0%, rgba(30, 41, 59, 0.12) 50%, transparent 70%);
  animation-duration: 22s;
  animation-delay: -7s;
}
.ambient-glow-3 {
  width: min(60vw, 620px);
  height: min(60vw, 620px);
  bottom: 300px;
  right: -60px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.09) 0%, rgba(0, 217, 221, 0.04) 50%, transparent 70%);
  animation-duration: 25s;
  animation-delay: -12s;
}

@keyframes aurora-drift {
  0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate(-30px, 40px) scale(1.08); opacity: 0.9; }
  100% { transform: translate(35px, -25px) scale(0.96); opacity: 0.75; }
}

/* 4. Section Light Horizons (Glowing Rim Highlight) */
.light-horizon {
  position: relative;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 217, 221, 0.4) 30%, rgba(16, 185, 129, 0.5) 50%, rgba(0, 217, 221, 0.4) 70%, transparent 100%);
  margin: 0;
  border: 0;
}
.light-horizon::after {
  content: '';
  position: absolute;
  left: 15%;
  right: 15%;
  top: 0;
  height: 14px;
  background: linear-gradient(180deg, rgba(0, 217, 221, 0.15) 0%, transparent 100%);
  filter: blur(8px);
  pointer-events: none;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { color: var(--bg); background: var(--accent); }

/* Custom Obsidian Scrollbar */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: rgba(202, 227, 218, 0.18);
  border-radius: 999px;
  border: 2px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 217, 221, 0.4);
}

/* Header: Modern Glassmorphic Bar */
.site-header {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(22px, 5vw, 84px);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 13, 12, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { width: 52px; height: 40px; object-fit: contain; mix-blend-mode: screen; }
.brand-name { font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: .045em; white-space: nowrap; }
.brand-name small { display: block; color: var(--accent); font: 600 9px var(--font-sans); letter-spacing: .25em; text-transform: uppercase; margin-top: 2px; }
.studio-label { border-left: 1px solid var(--line); padding-left: 18px; margin-left: 10px; font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.skip-link { position: absolute; top: -80px; left: 20px; padding: 14px 20px; color: var(--bg); background: var(--accent); z-index: 100; font-weight: 700; }
.skip-link:focus { top: 10px; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.site-nav a { color: #d2ddd7; font-size: 13px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; transition: color .2s ease; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--accent-light); }
.site-nav .nav-pill {
  padding: 6px 13px;
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(0, 217, 221, 0.35);
  background: rgba(0, 217, 221, 0.08);
  color: var(--accent-light);
  font-size: 12px;
  transition: all .2s ease;
}
.site-nav .nav-pill:hover {
  background: rgba(0, 217, 221, 0.16);
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(0, 217, 221, 0.25);
}
.site-nav .nav-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.site-nav .nav-contact { color: var(--accent-light); border-bottom: 1px solid var(--accent); padding-bottom: 4px; min-height: 32px; }
.menu-toggle { display: none; border: 1px solid var(--line); color: var(--ink); background: transparent; padding: 9px 12px; border-radius: 6px; font-size: 13px; font-weight: 600; }

.button, .text-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .02em; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button:hover, .text-link:hover { transform: translateY(-2px); }
.button { min-height: 50px; padding: 0 24px; border: 1px solid var(--accent); border-radius: 6px; cursor: pointer; }
.button-primary { color: #071514; background: var(--accent); box-shadow: 0 10px 28px -8px rgba(0, 217, 221, 0.45); }
.button-primary:hover { background: var(--accent-light); border-color: var(--accent-light); box-shadow: 0 14px 34px -8px rgba(0, 217, 221, 0.6); }
.button-secondary { color: var(--ink); border-color: var(--line); background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(8px); }
.button-secondary:hover { border-color: var(--accent); color: var(--accent-light); background: rgba(0, 217, 221, 0.06); }
.button:disabled { opacity: .42; cursor: not-allowed; transform: none; box-shadow: none; }
.text-link { color: var(--accent-light); padding-bottom: 6px; border-bottom: 1px solid var(--accent); }
.button-arrow { font-size: 17px; line-height: 1; }

.eyebrow { color: var(--accent); font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.display, h1, h2, h3 { font-family: var(--font-display); margin: 0; }
.display { font-size: clamp(46px, 7vw, 110px); letter-spacing: -.06em; line-height: .98; font-weight: 600; }
.section-title { font-size: clamp(32px, 3.6vw, 56px); letter-spacing: -.045em; line-height: 1.1; font-weight: 500; }
.lede { color: #cbd7d2; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.68; max-width: 600px; }
.muted { color: var(--muted); }
.page-gutter { padding-inline: clamp(22px, 5vw, 84px); }
.section-shell { padding-block: clamp(84px, 9vw, 135px); position: relative; z-index: 1; }

.intro-grid { display: grid; grid-template-columns: minmax(210px, .75fr) minmax(0, 1.25fr); gap: clamp(35px, 8vw, 130px); }
.intro-grid .section-title { max-width: 730px; }
.intro-grid .muted { font-size: 15px; line-height: 1.8; max-width: 650px; }
.section-index { display: flex; gap: 14px; color: var(--accent); font-size: 11px; font-family: var(--font-mono); letter-spacing: .16em; text-transform: uppercase; align-items: center; padding-top: 6px; }
.section-index::before { content: ''; width: 24px; height: 1px; background: var(--accent); }

.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 52px; }
.process-step {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 24px;
  background: rgba(18, 25, 23, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color .25s ease, transform .25s ease;
}
.process-step:hover { border-color: rgba(0, 217, 221, 0.4); transform: translateY(-3px); }
.process-step .number { color: var(--accent); font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; }
.process-step h3 { font-size: 21px; font-weight: 500; margin: 20px 0 10px; letter-spacing: -.02em; }
.process-step p { color: var(--muted); font-size: 13.5px; line-height: 1.7; margin: 0; }

.band {
  background: linear-gradient(135deg, rgba(18, 26, 24, 0.8) 0%, rgba(10, 15, 14, 0.95) 100%);
  border-top: 1px solid var(--line);
  padding: clamp(76px, 8vw, 120px) clamp(22px, 5vw, 84px);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  position: relative;
  z-index: 1;
}
.band .section-title { max-width: 760px; margin: 16px 0 0; }

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 30px;
  padding: 28px clamp(22px, 5vw, 84px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  background: var(--bg-deep);
  position: relative;
  z-index: 1;
}
.site-footer a { transition: color .2s ease; }
.site-footer a:hover { color: var(--accent-light); }

.reveal { opacity: 1; transform: none; transition: opacity .65s cubic-bezier(.16, 1, .3, 1), transform .65s cubic-bezier(.16, 1, .3, 1); }
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 860px) {
  :root { --header-height: 70px; }
  .site-header { padding-inline: 20px; }
  .brand-mark { width: 44px; height: 35px; }
  .brand-name { font-size: 13px; }
  .studio-label { display: none; }
  .site-header:has(.site-nav) { flex-wrap: wrap; }
  .site-header[data-menu-ready] .menu-toggle { display: inline-flex; align-items: center; min-height: 42px; cursor: pointer; }
  .site-nav { width: 100%; background: var(--bg); padding: 10px 0; flex-wrap: wrap; gap: 16px; }
  .site-header[data-menu-ready] .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    border-bottom: 1px solid var(--line);
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    background: rgba(9, 13, 12, 0.98);
    backdrop-filter: blur(18px);
  }
  .site-header[data-menu-ready] .site-nav.open { display: flex; }
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .band { align-items: flex-start; flex-direction: column; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 580px) {
  .process-steps { grid-template-columns: 1fr; }
}

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

/* Nov 2026: plain document pages (data handling, privacy, terms) */
.doc-page { max-width: 820px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) clamp(22px, 5vw, 40px) 96px; }
.doc-page .eyebrow { margin-bottom: 14px; }
.doc-page h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -0.04em; margin: 0 0 18px; }
.doc-page .doc-lede { color: var(--muted); font-size: 17px; line-height: 1.7; margin: 0 0 12px; }
.doc-page .doc-updated { color: var(--muted); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 44px; }
.doc-page h2 { font-size: 22px; letter-spacing: -0.02em; margin: 44px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.doc-page h3 { font-size: 16.5px; margin: 26px 0 8px; }
.doc-page p, .doc-page li { color: #c9d5d0; font-size: 15.5px; line-height: 1.75; }
.doc-page ul { padding-left: 20px; margin: 10px 0 16px; }
.doc-page li { margin: 6px 0; }
.doc-page a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 3px; }
.doc-page strong { color: var(--ink); }
.doc-note { border: 1px solid var(--line-strong); background: rgba(0, 217, 221, 0.06); border-radius: 12px; padding: 18px 20px; margin: 22px 0; }
.doc-note p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
