*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', system-ui, sans-serif; background: #07090E; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
::selection { background: #4ADE80; color: #07090E; }

@keyframes up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes twinkle { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@keyframes orbitspin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

#app {
  position: relative;
  color: var(--fg);
  transition: color 0.15s linear;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

/* hover utilities */
.op-hover-70 { transition: opacity 0.2s; }
.op-hover-70:hover { opacity: 0.7; }
.op-hover-80 { transition: opacity 0.2s; }
.op-hover-80:hover { opacity: 0.8; }
.op-hover-85 { transition: opacity 0.2s; }
.op-hover-85:hover { opacity: 0.85; }
.op-hover-88 { transition: opacity 0.2s; }
.op-hover-88:hover { opacity: 0.88; }

.accent-text { color: var(--accent); }
.accent-text2 { color: #4ADE80; }

/* ══ FIXED SKY ══ */
.sky-fixed { position: fixed; inset: 0; z-index: 0; background: var(--bg); pointer-events: none; }
.sky-upper { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--sky-top) 0%, transparent 62%); }
.sky-stars { position: absolute; inset: 0; opacity: var(--star-o); }
.sky-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 95% 60% at 50% 102%, color-mix(in srgb, var(--glow-c) calc(var(--glow-o) * 100%), transparent), transparent 70%);
}
.sky-sun-halo {
  position: absolute; left: 50%; top: var(--sun-top); width: 640px; height: 640px;
  transform: translate(-50%, -50%); border-radius: 50%; opacity: var(--sun-o);
  background: radial-gradient(circle, var(--sun-c) 0%, color-mix(in srgb, var(--sun-c) 50%, transparent) 30%, transparent 66%);
}
.sky-sun-disc {
  position: absolute; left: 50%; top: var(--sun-top); width: 130px; height: 130px;
  transform: translate(-50%, -50%); border-radius: 50%; opacity: var(--sun-o);
  background: var(--sun-c); box-shadow: 0 0 90px 36px color-mix(in srgb, var(--sun-c) 60%, transparent);
}

/* ══ SKYLINE · fixed foreground ══ */
.skyline { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; pointer-events: none; }
.skyline-svg { display: block; width: 100%; height: 24vh; }

/* ══ NAV ══ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand-name { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700; color: var(--fg); letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-link { font-size: 13px; font-weight: 500; color: var(--muted); }
.nav-cta {
  font-size: 13px; font-weight: 600; font-family: 'Space Grotesk', sans-serif;
  background: var(--accent); color: #06130B; padding: 9px 22px; border-radius: 6px;
}

/* ══ HERO ══ */
.hero { position: relative; z-index: 1; min-height: 100vh; display: flex; align-items: center; padding-top: 64px; overflow: hidden; }
.hero-orbit {
  position: absolute; right: -220px; top: 50%; width: 720px; height: 720px;
  margin-top: -360px; animation: orbitspin 140s linear infinite; pointer-events: none;
}
.hero-inner { padding-top: 0; padding-bottom: 100px; position: relative; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line);
  border-radius: 100px; padding: 6px 14px; margin-bottom: 44px; animation: fadein 0.6s ease both;
  background: color-mix(in srgb, var(--card) 60%, transparent);
}
.hero-badge-text { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 500; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; }
.hero-title {
  font-family: 'Space Grotesk', sans-serif; font-size: clamp(52px, 7vw, 96px); font-weight: 700;
  color: var(--fg); line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 32px;
  animation: up 0.8s ease 0.1s both; max-width: 940px;
}
.hero-tagline {
  font-size: 19px; font-weight: 300; color: var(--muted); line-height: 1.75; max-width: 560px;
  margin-bottom: 52px; animation: up 0.8s ease 0.25s both;
}
.hero-ctas { display: flex; gap: 16px; align-items: center; animation: up 0.8s ease 0.4s both; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: #06130B;
  padding: 16px 36px; font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; border-radius: 8px;
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px; background: color-mix(in srgb, var(--fg) 6%, transparent);
  border: 1px solid var(--line); color: var(--fg); padding: 16px 36px; font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 600; border-radius: 8px;
}
.btn-large { padding: 18px 40px; gap: 12px; }
.arrow { font-size: 18px; }
.hero-scrollcue { margin-top: 110px; display: flex; align-items: center; gap: 14px; animation: fadein 1s ease 0.8s both; }
.hero-scrollcue-line { width: 1px; height: 44px; background: linear-gradient(to bottom, var(--accent), transparent); }
.hero-scrollcue-text { font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; }

/* ══ SECTIONS ══ */
.section { position: relative; z-index: 1; padding: 140px 0; }
.section-pitch { padding: 140px 0 180px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; }
.eyebrow-tick { width: 20px; height: 1px; background: var(--accent); }
.eyebrow-text { font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 600; color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; }

.h2 {
  font-family: 'Space Grotesk', sans-serif; font-size: clamp(34px, 3.5vw, 50px); font-weight: 700;
  color: var(--fg); line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 28px;
}
.h2-narrow { max-width: 480px; margin-bottom: 0; }
.h2-pitch { font-size: clamp(38px, 4.5vw, 62px); line-height: 1.08; }

.p-lead { font-size: 17px; color: var(--muted); line-height: 1.85; margin-bottom: 24px; }
.p-lead:last-of-type { margin-bottom: 0; }
.p-side { font-size: 15px; color: var(--muted); max-width: 320px; line-height: 1.8; text-align: right; flex-shrink: 0; }
.p-side-narrow { max-width: 280px; }

/* ── STUDIO ── */
.studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.studio-grid .eyebrow { margin-bottom: 28px; }
.feature-list { display: flex; flex-direction: column; }
.feature-row { padding: 32px 0; border-top: 1px solid var(--line); display: flex; align-items: flex-start; gap: 20px; }
.feature-row-last { border-bottom: 1px solid var(--line); }
.feature-icon {
  width: 40px; height: 40px; background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feature-title { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 600; color: var(--fg); margin-bottom: 8px; }
.feature-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── PROCESS ── */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 80px; gap: 40px; }
.triptych { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); }
.triptych-cell { background: var(--card); padding: 48px 40px; }
.triptych-label { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.triptych-title { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 600; color: var(--fg); margin-bottom: 16px; }
.triptych-desc { font-size: 14px; color: var(--muted); line-height: 1.85; }

/* ── PORTFOLIO ── */
.section-head-portfolio { margin-bottom: 64px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); }
.portfolio-card { background: var(--card); padding: 36px; display: flex; flex-direction: column; }
.portfolio-logo {
  height: 56px; display: flex; align-items: center; margin-bottom: 22px; background: #0E1219;
  border-radius: 8px; padding: 0 18px; border: 1px solid rgba(255,255,255,0.06);
}
.portfolio-textmark { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; color: #E8EAF2; letter-spacing: -0.02em; }
.portfolio-name { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 600; color: var(--fg); margin-bottom: 6px; }
.portfolio-cat { font-size: 12px; color: var(--accent); margin-bottom: 12px; font-weight: 500; }
.portfolio-desc { font-size: 13px; color: var(--muted); line-height: 1.7; }
.portfolio-more {
  background: color-mix(in srgb, var(--card) 55%, transparent); padding: 36px; grid-column: span 2;
  display: flex; align-items: center; gap: 20px;
}
.portfolio-more-title { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.portfolio-more-desc { font-size: 13px; color: color-mix(in srgb, var(--muted) 70%, transparent); line-height: 1.7; }

/* ── PITCH ── */
.pitch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.pitch-lead { margin-bottom: 48px; }
.pitch-card {
  background: var(--card); padding: 48px; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 24px 60px -30px color-mix(in srgb, var(--fg) 18%, transparent);
}
.pitch-block { margin-bottom: 28px; }
.pitch-label { font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.pitch-bullets { display: flex; flex-direction: column; gap: 12px; }
.pitch-bullet { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--fg); }
.dot { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.pitch-divider { height: 1px; background: var(--line); margin-bottom: 28px; }
.pitch-divider-mid { margin: 24px 0; }
.pitch-value { font-size: 15px; color: var(--fg); }

/* ══ FOOTER ══ */
.footer {
  position: relative; z-index: 1; padding: 28px 0 calc(20vh + 28px); border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(8px);
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand-name { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 700; color: var(--fg); }
.footer-copy { font-size: 12px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 12px; color: var(--muted); }

/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
  .wrap { padding: 0 24px; }
  .studio-grid, .pitch-grid { grid-template-columns: 1fr; gap: 56px; }
  .triptych, .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-more { grid-column: span 1; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .p-side { text-align: left; max-width: none; }
  .nav-links { gap: 16px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 560px) {
  .nav-link { display: none; }
}
