/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #07060a;
  --bg-soft: #0e0c14;
  --fg: #f4f1ea;
  --muted: #8c8794;
  --line: rgba(255, 255, 255, 0.09);
  --accent-1: #ff6a2b;
  --accent-2: #ff2d7e;
  --accent-3: #b14bff;
  --grad: linear-gradient(115deg, var(--accent-1), var(--accent-2) 55%, var(--accent-3));
  --maxw: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============ FILM GRAIN ============ */
.grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; padding: 1.4rem clamp(1.2rem, 4vw, 3rem);
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 6, 10, 0.72); backdrop-filter: blur(14px);
  padding-top: 0.9rem; padding-bottom: 0.9rem; border-bottom-color: var(--line);
}
.brand {
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 0.55rem;
}
.brand-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--grad);
  box-shadow: 0 0 14px var(--accent-2);
}
.brand-thin { color: var(--muted); font-weight: 500; }
.nav-links { display: flex; gap: 2rem; margin-left: auto; }
.nav-links a {
  font-size: 0.92rem; color: var(--muted); position: relative; padding: 0.2rem 0;
  transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--grad); transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-size: 0.9rem; font-weight: 600; padding: 0.6rem 1.2rem;
  border: 1px solid var(--line); border-radius: 100px; transition: all .3s var(--ease);
}
.nav-cta:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.burger { display: none; background: none; border: none; flex-direction: column; gap: 5px; cursor: pointer; }
.burger span { width: 26px; height: 2px; background: var(--fg); transition: .3s var(--ease); }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-soft); padding: 1.5rem clamp(1.2rem, 4vw, 3rem); gap: 1.2rem;
    border-bottom: 1px solid var(--line);
  }
  .nav.open .burger span:first-child { transform: rotate(45deg) translate(4px, 4px); }
  .nav.open .burger span:last-child { transform: rotate(-45deg) translate(4px, -4px); }
}

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; padding: 7rem 0 4rem; overflow: hidden;
}
.hero-inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.orb-1 { width: 540px; height: 540px; background: var(--accent-1); top: -10%; right: -8%; }
.orb-2 { width: 460px; height: 460px; background: var(--accent-3); bottom: -15%; left: -10%; }
.orb-3 { width: 320px; height: 320px; background: var(--accent-2); top: 40%; left: 40%; opacity: 0.35; }

.hero-info {
  display: flex; align-items: center; gap: 0.75rem; width: fit-content;
  max-width: 100%; padding: 0.4rem 1.1rem 0.4rem 0.4rem; margin-bottom: 1.6rem;
  border: 1px solid var(--line); border-radius: 100px;
  background: rgba(255, 255, 255, 0.03); font-size: 0.92rem; color: var(--fg);
}
.hero-info-badge {
  background: var(--grad); color: #fff; font-weight: 700; font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 0.3rem 0.7rem;
  border-radius: 100px; flex-shrink: 0;
}

.hero-kicker {
  font-size: 0.85rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.8rem;
  display: inline-flex; align-items: center; gap: 0.7rem; width: fit-content;
}
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--grad); }

.hero-title {
  font-family: "Anton", sans-serif; font-weight: 400;
  font-size: clamp(2.8rem, 9vw, 8.5rem); line-height: 1.08; letter-spacing: 0.005em;
  text-transform: uppercase;
}
.hero-title .line { display: block; overflow: hidden; padding-top: 0.16em; margin-top: -0.16em; }

.hero-sub {
  max-width: 540px; margin-top: 2rem; font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--muted); font-weight: 400;
}
.hero-actions { display: flex; gap: 1rem; margin-top: 2.6rem; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 600; font-size: 0.98rem; padding: 0.95rem 1.7rem;
  border-radius: 100px; transition: all .35s var(--ease); border: 1px solid transparent;
}
.btn span { transition: transform .35s var(--ease); }
.btn:hover span { transform: translateX(5px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 40px -10px var(--accent-2); }
.btn-primary:hover { box-shadow: 0 14px 50px -8px var(--accent-2); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--fg); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.25); }
.btn.big { padding: 1.1rem 2.2rem; font-size: 1.05rem; }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted);
}
.scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--muted), transparent); animation: scrollPulse 2s ease-in-out infinite; transform-origin: top; }
@keyframes scrollPulse { 0%,100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ============ MARQUEE ============ */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 1.4rem 0; background: var(--bg-soft);
}
.marquee-track {
  display: flex; align-items: center; gap: 2.5rem; white-space: nowrap;
  width: max-content; animation: scrollX 28s linear infinite;
}
.marquee-track span {
  font-family: "Anton", sans-serif; font-size: clamp(1.4rem, 3vw, 2.4rem);
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--fg);
}
.marquee-track .dot { color: var(--accent-2); font-size: 0.9rem; }
@keyframes scrollX { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ STATEMENT ============ */
.statement {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(5rem, 12vw, 9rem) clamp(1.2rem, 4vw, 3rem);
}
.statement-text {
  font-size: clamp(1.6rem, 4.5vw, 3.3rem); line-height: 1.22; font-weight: 600;
  letter-spacing: -0.02em; max-width: 18ch;
}
.statement-text { max-width: none; }
.statement-text span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============ SECTION HEAD ============ */
.section-head { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 3rem); margin-bottom: 3rem; }
.eyebrow {
  font-size: 0.8rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent-2);
  display: block; margin-bottom: 0.8rem;
}
.section-title {
  font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.2rem, 6vw, 4.5rem); line-height: 1; letter-spacing: 0.01em;
}

/* ============ SERVICES ============ */
.services { padding: clamp(3rem, 8vw, 6rem) 0; }
.service-list { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 3rem); }
.service {
  display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 2rem;
  padding: 2rem 1rem; border-top: 1px solid var(--line); position: relative;
  transition: padding .4s var(--ease);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service::before {
  content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0;
  transition: opacity .4s var(--ease); z-index: -1; transform: scaleX(0.98); border-radius: 8px;
}
.service:hover { padding-left: 2rem; padding-right: 2rem; }
.service:hover::before { opacity: 0.08; }
.service-num { font-family: "Anton", sans-serif; font-size: 1.6rem; color: var(--muted); transition: color .35s; }
.service:hover .service-num { color: var(--accent-2); }
.service-body h3 {
  font-size: clamp(1.5rem, 3.5vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.service-body p { color: var(--muted); max-width: 60ch; }
.service-tag {
  font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); padding: 0.4rem 0.9rem; border-radius: 100px; white-space: nowrap;
}
@media (max-width: 760px) {
  .service { grid-template-columns: 60px 1fr; gap: 1rem; }
  .service-tag { display: none; }
}

/* ============ WORK ============ */
.work { padding: clamp(3rem, 8vw, 6rem) 0; }
.work-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 3rem);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.work-item {
  position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
}
.work-item.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.work-item.wide { grid-column: span 2; aspect-ratio: 21 / 9; }
.work-media {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,106,43,0.5), transparent 45%),
    radial-gradient(circle at 75% 80%, rgba(177,75,255,0.5), transparent 45%),
    linear-gradient(135deg, #15121d, #0a0810);
  transition: transform .7s var(--ease);
}
.work-item:hover .work-media { transform: scale(1.08); }
.work-item figcaption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1.2rem;
  display: flex; align-items: center; gap: 0.7rem; font-weight: 600; font-size: 0.95rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  transform: translateY(8px); opacity: 0.85; transition: .4s var(--ease);
}
.work-item:hover figcaption { transform: translateY(0); opacity: 1; }
.work-soon {
  position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 1rem; font-weight: 700; letter-spacing: 0.04em;
  font-size: clamp(0.95rem, 1.5vw, 1.25rem); color: var(--fg);
  text-transform: uppercase; opacity: 0.92;
}
.play {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--grad); font-size: 0.7rem; color: #fff;
}
@media (max-width: 760px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-item.big, .work-item.wide { grid-column: span 2; aspect-ratio: 16/10; }
}

/* ============ STATS ============ */
.stats {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 4vw, 3rem);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { text-align: center; }
.stat-num, .stat-plus {
  font-family: "Anton", sans-serif; font-size: clamp(2.4rem, 6vw, 4.5rem);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat p { color: var(--muted); margin-top: 0.4rem; font-size: 0.95rem; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }

/* ============ PROCESS ============ */
.process { padding: clamp(3rem, 8vw, 6rem) 0; }
.steps {
  max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 3rem);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.step {
  padding: 2.2rem; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-soft);
  transition: transform .4s var(--ease), border-color .4s;
}
.step:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.2); }
.step-num {
  font-family: "Anton", sans-serif; font-size: 2.2rem; color: transparent;
  -webkit-text-stroke: 1.5px var(--accent-2); display: block; margin-bottom: 1rem;
}
.step h3 { font-size: 1.5rem; margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.step p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ============ CONTACT ============ */
.contact {
  position: relative; padding: clamp(5rem, 12vw, 9rem) clamp(1.2rem, 4vw, 3rem);
  overflow: hidden;
}
.contact::before {
  content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: var(--accent-3); filter: blur(150px); opacity: 0.18;
  top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: -1;
}
.contact-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.contact-title {
  font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.4rem, 8vw, 6rem); line-height: 0.95; margin: 1rem 0 3rem;
}
.contact-title span { display: block; overflow: hidden; padding-top: 0.16em; margin-top: -0.16em; }

.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; text-align: left;
}
.field { position: relative; }
.field.full { grid-column: span 2; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 1px solid var(--line); border-radius: 10px;
  padding: 1.3rem 1.1rem 0.6rem; color: var(--fg); font-family: inherit; font-size: 1rem;
  transition: border-color .3s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-2); }
.field label {
  position: absolute; left: 1.1rem; top: 1rem; color: var(--muted); font-size: 1rem;
  pointer-events: none; transition: .25s var(--ease);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: 0.45rem; font-size: 0.72rem; letter-spacing: 0.05em; color: var(--accent-2);
}
.contact-form .btn { grid-column: span 2; justify-self: center; margin-top: 0.6rem; }
.form-note { grid-column: span 2; text-align: center; color: var(--accent-1); font-weight: 600; }
@media (max-width: 600px) {
  .contact-form, .field.full, .contact-form .btn, .form-note { grid-template-columns: 1fr; grid-column: span 1; }
}

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 5rem) clamp(1.2rem, 4vw, 3rem) 2rem; }
.footer-top {
  max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between;
  align-items: flex-end; flex-wrap: wrap; gap: 1rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line);
}
.footer-brand { font-family: "Anton", sans-serif; font-size: clamp(2rem, 6vw, 3.5rem); text-transform: uppercase; }
.footer-tag { color: var(--muted); }
.footer-tag strong { color: var(--fg); }
.footer-grid {
  max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; padding: 3rem 0;
}
.footer-col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col span { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.4rem; }
.footer-col a { color: var(--fg); transition: color .25s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem; color: var(--muted); font-size: 0.85rem; padding-top: 2rem; border-top: 1px solid var(--line);
}
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ============ REVEAL ANIMATIONS ============ */
.reveal, .reveal-up { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal { transform: translateY(20px); }
.reveal-up { transform: translateY(40px); }
.reveal.in, .reveal-up.in { opacity: 1; transform: translateY(0); }
.hero-title .reveal-up { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); opacity: 1; }
.hero-title .reveal-up.in { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-up, .hero-title .reveal-up { opacity: 1; transform: none; }
}

/* ============ MAINTENANCE PAGE ============ */
.maintenance-page { display: flex; min-height: 100vh; }
.maintenance {
  position: relative; flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 4rem clamp(1.2rem, 5vw, 3rem); overflow: hidden;
}
.maintenance-inner { position: relative; max-width: 760px; text-align: center; }
.maintenance-brand {
  font-size: 1.3rem; justify-content: center; margin-bottom: 2.5rem;
  display: inline-flex;
}
.maintenance .eyebrow { text-align: center; }
.maintenance-title {
  font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.6rem, 9vw, 6.5rem); line-height: 0.95; letter-spacing: 0.01em;
  margin: 0.6rem 0 1.6rem;
}
.maintenance-sub {
  max-width: 48ch; margin: 0 auto 2.6rem; color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}
.maintenance-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem;
}
.maintenance-foot { color: var(--muted); font-size: 0.9rem; }
.maintenance-foot strong { color: var(--fg); }

/* Countdown */
.maintenance .hero-info { margin: 0 auto 2rem; }

.cd-kicker {
  font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.2rem;
}
.countdown {
  display: flex; align-items: flex-start; justify-content: center;
  gap: clamp(0.6rem, 2vw, 1.4rem); margin-bottom: 2.6rem;
}
.cd-unit { display: flex; flex-direction: column; align-items: center; min-width: clamp(64px, 16vw, 92px); }
.cd-num, .cd-sep {
  font-family: "Anton", sans-serif; font-size: clamp(2.6rem, 11vw, 5.5rem); line-height: 1;
}
.cd-num {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.cd-label { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-top: 0.6rem; }
.cd-sep { color: var(--muted); opacity: 0.35; padding-top: 0.05em; }
.cd-done {
  font-weight: 700; color: var(--accent-1); margin-bottom: 1.6rem;
  letter-spacing: 0.02em;
}
