/* Above-the-fold critical styles — keep in sync with hero/header in style.css */
:root {
  --brand-orange: #F15A24;
  --brand-orange-light: #FF7A3D;
  --brand-orange-dark: #B3461B;
  --bg: #050505;
  --bg-card: #111111;
  --bg-elevated: #181818;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(241, 90, 36, 0.35);
  --text: #f4f4f6;
  --text-muted: #9898a8;
  --text-subtle: #6b6b7b;
  --accent: var(--brand-orange);
  --accent-soft: rgba(241, 90, 36, 0.12);
  --accent-glow: rgba(241, 90, 36, 0.28);
  --accent-gradient: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 72px;
  --container: min(1140px, calc(100% - 2rem));
  --font: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Instrument Sans', 'DM Sans', sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
.container { width: var(--container); margin-inline: auto; }

.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 9999;
  padding: 0.75rem 1rem; background: var(--accent); color: #fff;
  border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.875rem 1.5rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.9375rem; line-height: 1.2;
  min-height: 48px; border: 1px solid transparent;
}
.btn-sm { padding: 0.625rem 1.125rem; font-size: 0.875rem; min-height: 40px; }
.btn-primary {
  background: var(--accent-gradient); color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-outline {
  border-color: var(--border-hover); color: var(--text); background: transparent;
}

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-logo { width: 40px; height: 40px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-display); font-size: 0.9375rem; font-weight: 700; }
.brand-text small { font-size: 0.6875rem; color: var(--text-muted); font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.lang-switcher {
  display: flex; align-items: center; gap: 0.25rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.25rem;
}
.lang-btn {
  padding: 0.375rem 0.625rem; border-radius: 6px;
  font-size: 0.75rem; font-weight: 700; color: var(--text-muted); min-width: 36px;
}
.lang-btn.active { color: var(--accent); background: rgba(255,255,255,0.08); }
.lang-divider { color: var(--text-subtle); font-size: 0.75rem; }
.burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; position: relative; z-index: 1100; }
.burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; }

.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1090;
  opacity: 0; visibility: hidden;
  pointer-events: none;
}
.nav-backdrop.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }

.nav-link { padding: 0.5rem 0.875rem; border-radius: var(--radius-sm); font-size: 0.875rem; font-weight: 500; color: var(--text-muted); }
.nav-cta-mobile { display: none; }

@media (min-width: 1025px) {
  .site-nav {
    position: fixed;
    top: 0; left: 50%;
    height: var(--header-h);
    transform: translateX(-50%);
    z-index: 1001;
    display: flex;
    align-items: center;
    background: transparent;
    pointer-events: auto;
  }
  .nav-list { display: flex; align-items: center; gap: 0.25rem; }
  .nav-backdrop { display: none !important; }
}

@media (max-width: 1024px) {
  .site-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    left: auto;
    width: min(320px, 88vw);
    z-index: 1100;
    display: block;
    background: var(--bg);
    border-left: 1px solid var(--border);
    padding: calc(var(--header-h) + 1.25rem) 1.5rem 1.5rem;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
  }
  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0.25rem; }
  .nav-cta-mobile { display: block; }
}

.hero {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 4rem;
  min-height: min(90vh, 900px);
  display: flex; align-items: center;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(241, 90, 36, 0.09), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(179, 70, 27, 0.06), transparent);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-muted); margin-bottom: 1rem; max-width: 520px;
}
.hero-tags {
  font-size: 0.8125rem; color: var(--text-subtle);
  letter-spacing: 0.04em; margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero .hero-content.reveal { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .burger { display: flex; }
  .header-cta { display: none; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 2rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
}
