@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Karla:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
  --bg: #000000;
  --bg-elevated: #111111;
  --text: #FFFFFF;
  --text-muted: #999999;
  --accent: #DC2626;
  --accent-light: #EF4444;
  --accent-glow: rgba(220, 38, 38, 0.3);
  --ember: #B91C1C;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Karla', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-width: 320px;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(220, 38, 38, 0.15);
}

.site-header {
  overflow: hidden;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.625rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
}

.logo {
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  align-items: center;
  max-width: calc(100% - 50px);
}

.logo img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left;
}

.nav-links {
  display: none;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Mobile menu button - always visible on mobile */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 1rem;
  transition: color 0.3s;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav a:hover,
.mobile-nav a:active { color: var(--accent); }

/* Desktop: show nav links, hide hamburger */
@media (min-width: 769px) {
  .header-inner { padding: 1rem 2rem; }
  .logo { max-width: none; }
  .logo img { height: 40px; }
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav a { font-size: 2rem; }
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  height: 28px !important;
  margin-bottom: 0.5rem;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links a,
.footer-links span {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  text-align: center;
}

@media (min-width: 769px) {
  .footer-inner { padding: 3rem 2rem; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .footer-logo-img { height: 40px !important; }
  .footer-desc { font-size: 0.875rem; }
  .footer-links a, .footer-links span { font-size: 0.875rem; }
  .footer-heading { font-size: 0.8rem; margin-bottom: 1rem; }
  .footer-bottom { font-size: 0.75rem; }
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
  50% { box-shadow: 0 0 40px var(--accent-glow), 0 0 60px rgba(220, 38, 38, 0.15); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.15s; }
.reveal-delay-3 { transition-delay: 0.2s; }

/* ── Shared Section Styles ── */
.section-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

@media (min-width: 769px) {
  .section-label { font-size: 0.75rem; margin-bottom: 1rem; }
}

/* ── Image Styles ── */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-hover-zoom { overflow: hidden; }
.img-hover-zoom img { transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.img-hover-zoom:hover img { transform: scale(1.05); }

/* ── Grain Overlay ── */
.grain::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ── Utility ── */
.text-gradient { color: var(--accent); }

.glow-border {
  border: 1px solid rgba(220, 38, 38, 0.25);
  box-shadow: 0 0 15px var(--accent-glow);
}

/* ── Instagram embed responsive ── */
.instagram-media {
  min-width: 0 !important;
  max-width: 100% !important;
}
