:root {
  --bg: #05070b;
  --surface: rgba(14, 18, 27, .78);
  --text: #f3f5f8;
  --muted: #a1a9b8;
  --line: rgba(255,255,255,.1);
  --accent: #f0ca74;
  --header-height: 76px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.noise { position: fixed; inset: 0; pointer-events: none; opacity: .03; z-index: 50; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); }
.site-header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-height); display: flex; align-items: center; justify-content: space-between; padding: 0 5vw; z-index: 40; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(5,7,11,.9); backdrop-filter: blur(18px); border-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: "Space Grotesk", sans-serif; font-weight: 700; }
.brand-logo-icon { width: 44px; height: 44px; object-fit: contain; display: block; }
.brand-logo-text { height: 48px; width: auto; object-fit: contain; display: block; max-width: min(42vw, 520px); }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: .92rem; color: #ccd2dc; }
.main-nav a.active { color: #fff; }
.main-nav a:hover { color: var(--accent); }
.menu-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.45rem; }
.section { position: relative; padding: 100px 0; }
.container { width: min(1180px, 88vw); margin: 0 auto; }
.hero { min-height: 95vh; padding-top: 150px; display: flex; align-items: center; background: radial-gradient(circle at 80% 16%, rgba(255, 209, 102, .15), transparent 30%), radial-gradient(circle at 18% 80%, rgba(123, 140, 255, .14), transparent 26%), linear-gradient(145deg,#05070b 5%,#0c0d14 58%,#121006); }
.eyebrow { color: var(--accent); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
h1,h2,h3,h4 { font-family: "Space Grotesk", sans-serif; margin-top: 0; }
h1 { font-size: clamp(3.5rem,8vw,7rem); line-height: .95; letter-spacing: -.06em; }
h1 .outline { color: transparent; -webkit-text-stroke: 1px rgba(243,245,248,.8); }
.hero-lead { color: #c4cbd5; max-width: 820px; line-height: 1.7; }
.hero-principle { margin-top: 20px; border-left: 2px solid var(--accent); padding-left: 16px; color: #e5e8ed; max-width: 820px; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; }
.button.primary { background: linear-gradient(135deg,var(--accent),#ffe7a2); color: #171105; border: 0; }
.button.ghost { background: rgba(255,255,255,.04); }
.hero-stats { margin-top: 42px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.hero-stats article { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: rgba(255,255,255,.03); }
.hero-stats strong { display: block; font-size: 1.35rem; }
.hero-stats span { color: var(--muted); font-size: .8rem; }
.dark-section { background: #06090e; }
.alt-section { background: linear-gradient(160deg,#090c13,#05080d 65%,#100d06); }
.section-heading { max-width: 800px; margin-bottom: 40px; }
.section-heading h2 { font-size: clamp(2.2rem,5vw,4.6rem); letter-spacing: -.05em; margin-bottom: 10px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.project-card { border: 1px solid var(--line); border-radius: 18px; padding: 24px; background: rgba(255,255,255,.03); min-height: 280px; display: flex; flex-direction: column; }
.project-meta { display: flex; gap: 8px; flex-wrap: wrap; color: #95a0b1; font-size: .72rem; text-transform: uppercase; }
.badge { border: 1px solid var(--line); border-radius: 999px; padding: 6px 8px; background: rgba(255,255,255,.03); }
.card-tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.card-tags span { border: 1px solid var(--line); border-radius: 999px; padding: 5px 8px; font-size: .7rem; color: #c3cada; }
.project-card p { color: var(--muted); line-height: 1.65; }
.project-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; padding-top: 16px; }
.project-actions a { border: 1px solid var(--line); border-radius: 10px; padding: 8px 11px; font-size: .82rem; background: rgba(255,255,255,.03); }
.category-block { margin-bottom: 30px; }
.category-head { margin-bottom: 12px; }
.category-head h3 { font-size: clamp(1.5rem,3vw,2.1rem); margin: 0 0 6px; }
.category-head p { color: var(--muted); margin: 0; }
.statement.compact { border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: rgba(255,255,255,.03); }
.statement.compact p { color: var(--muted); line-height: 1.7; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px 7vw; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; background: #030406; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 70px; left: 4vw; right: 4vw; flex-direction: column; align-items: stretch; padding: 20px; background: #0b1018; border: 1px solid var(--line); border-radius: 16px; }
  .main-nav.open { display: flex; }
  .project-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  footer { flex-direction: column; }
}

@media (max-width: 560px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; }
}
