:root {
  --bg: #050609;
  --surface: #0d1017;
  --text: #f7f9fc;
  --muted: #9ba8bb;
  --accent: #44e7d4;
  --accent-2: #5584ff;
  --border: rgba(255, 255, 255, .09);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: Inter, "Segoe UI", sans-serif; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
#loader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: #050609; transition: opacity .45s ease, visibility .45s ease; }
#loader.is-hidden { opacity: 0; visibility: hidden; }
.loader-content { text-align: center; }
.loader-mark { color: var(--accent); font-size: clamp(2.4rem, 8vw, 5rem); font-weight: 800; letter-spacing: -.08em; }
.loading-line { width: 180px; height: 2px; margin-top: 22px; overflow: hidden; background: #1d2430; }
.loading-line span { display: block; width: 45%; height: 100%; background: var(--accent); animation: loading 1s ease-in-out infinite alternate; }
@keyframes loading { to { transform: translateX(125%); } }
header { position: fixed; inset: 0 0 auto; z-index: 20; border-bottom: 1px solid var(--border); background: rgba(5, 6, 9, .72); backdrop-filter: blur(18px); }
nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--accent); font-size: 1.3rem; font-weight: 800; letter-spacing: -.05em; text-decoration: none; }
nav ul { display: flex; gap: 34px; list-style: none; }
nav ul a { color: var(--muted); font-size: .92rem; text-decoration: none; transition: color .2s ease; }
nav ul a:hover { color: var(--text); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--text); font-size: 1.5rem; }
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 120px 20px 70px; overflow: hidden; background: radial-gradient(circle at 50% 40%, #11223d 0, #070911 43%, #050609 72%); text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom, black, transparent 86%); }
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.eyebrow { display: inline-block; margin-bottom: 22px; color: var(--accent); font-size: .8rem; font-weight: 700; letter-spacing: .28em; }
.hero h1 { max-width: 880px; font-size: clamp(3.3rem, 9vw, 7.6rem); line-height: .96; letter-spacing: -.075em; }
.hero p { max-width: 660px; margin: 28px auto 36px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.35rem); }
.primary-button { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--accent); color: #06110f; font-weight: 750; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 12px 38px rgba(68, 231, 212, .22); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .35; }
.hero-orb-one { width: 320px; height: 320px; top: 16%; left: -170px; background: var(--accent-2); }
.hero-orb-two { width: 240px; height: 240px; right: -100px; bottom: 10%; background: var(--accent); }
.scroll-hint { position: absolute; bottom: 28px; z-index: 2; width: 26px; height: 42px; border: 1px solid rgba(255,255,255,.3); border-radius: 20px; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 7px; border-radius: 3px; background: var(--accent); transform: translateX(-50%); animation: scroll 1.8s infinite; }
@keyframes scroll { 70% { transform: translate(-50%, 14px); opacity: 0; } 100% { opacity: 0; } }
.content-section { padding: 120px 0; }
.section-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 46px; }
.section-heading h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.05em; }
.section-index { color: var(--accent); font-family: ui-monospace, monospace; font-size: .85rem; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease, border-color .25s ease; }
.card.is-visible { opacity: 1; transform: translateY(0); }
.card:hover { border-color: rgba(68, 231, 212, .4); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #141c2b, #0b2730); }
.card-media img, .card-media video { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.045); }
.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 8px; font-size: 1.2rem; }
.card-body p { color: var(--muted); font-size: .95rem; }
.media-placeholder { height: 100%; display: grid; place-items: center; color: var(--muted); font-size: .85rem; }
.empty-state { grid-column: 1 / -1; padding: 50px; border: 1px dashed var(--border); border-radius: 20px; color: var(--muted); text-align: center; }
.error-state { color: #ff9e9e; }
.about-section { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.about-grid .section-heading { margin: 0; }
.about-grid > p { color: #c3ccda; font-size: clamp(1.2rem, 2.4vw, 1.8rem); line-height: 1.65; white-space: pre-line; }
footer { border-top: 1px solid var(--border); padding: 32px 0; color: var(--muted); font-size: .9rem; }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-content a { color: #687486; text-decoration: none; }
.footer-content a:hover { color: var(--accent); }
@media (max-width: 800px) {
  .menu-toggle { display: block; }
  nav ul { position: absolute; top: 74px; left: 20px; right: 20px; display: none; flex-direction: column; gap: 0; padding: 10px; border: 1px solid var(--border); border-radius: 14px; background: #0b0e14; }
  nav ul.is-open { display: flex; }
  nav ul a { display: block; padding: 13px; }
  .cards { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .content-section { padding: 88px 0; }
}
