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

/* ── BRAND TOKENS ─────────────────────────────────────────────────────────── */
:root {
  --crimson:      #A5003C;
  --crimson-dark: #7A002C;
  --crimson-glow: rgba(165,0,60,0.22);
  --black:        #000000;
  --off-black:    #0D0D0D;
  --charcoal:     #111111;
  --charcoal-2:   #1A1A1A;
  --charcoal-3:   #222222;
  --mid-gray:     #555555;
  --light-gray:   #888888;
  --silver:       #BBBBBB;
  --white:        #FFFFFF;
  --white-dim:    rgba(255,255,255,0.06);
  --white-muted:  rgba(255,255,255,0.12);
  --white-subtle: rgba(255,255,255,0.55);

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --font-ui:      'Rajdhani', sans-serif;

  --nav-h:     72px;
  --max-w:     1440px;
  --gutter:    clamp(20px, 5vw, 80px);
  --section-v: clamp(64px, 8vw, 140px);

  --ease-out-expo: cubic-bezier(0.16,1,0.3,1);
  --ease-in-out:   cubic-bezier(0.76,0,0.24,1);
}

/* ── RESET ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

/* ── TYPOGRAPHY ───────────────────────────────────────────────────────────── */
.t-eyebrow {
  font-family: var(--font-ui);
  font-size: clamp(10px,1.2vw,11px);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--crimson);
  display: flex;
  align-items: center;
  gap: 12px;
}
.t-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--crimson);
  flex-shrink: 0;
}
.t-h1 {
  font-family: var(--font-display);
  font-size: clamp(48px,8vw,130px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.t-h2 {
  font-family: var(--font-display);
  font-size: clamp(32px,4.5vw,72px);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.t-h3 {
  font-family: var(--font-display);
  font-size: clamp(20px,2.5vw,36px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.t-h4 {
  font-family: var(--font-ui);
  font-size: clamp(13px,1.3vw,16px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.t-body {
  font-family: var(--font-body);
  font-size: clamp(13px,1.1vw,15px);
  font-weight: 400;
  line-height: 1.75;
  color: var(--silver);
}
.t-body-lg {
  font-family: var(--font-body);
  font-size: clamp(15px,1.4vw,19px);
  font-weight: 300;
  line-height: 1.7;
  color: var(--silver);
}

/* ── UTILITIES ────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--section-v) 0; }
.crimson  { color: var(--crimson); }
.white    { color: var(--white); }

/* ── NAV ──────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.nav.scrolled {
  background: rgba(0,0,0,0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--white-muted);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  gap: 16px;
}
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo  { height: 34px; width: auto; display: block; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}
.nav__link {
  font-family: var(--font-ui);
  font-size: clamp(11px,1vw,13px);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--silver);
  padding: 8px clamp(10px,1.2vw,18px);
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: clamp(10px,1.2vw,18px);
  right: clamp(10px,1.2vw,18px);
  height: 2px;
  background: var(--crimson);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out-expo);
}
.nav__link:hover, .nav__link.active { color: var(--white); }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }

.nav__cta {
  font-family: var(--font-ui);
  font-size: clamp(10px,1vw,12px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--crimson);
  border: 1px solid var(--crimson);
  padding: 10px 20px;
  clip-path: polygon(8px 0%,100% 0%,calc(100% - 8px) 100%,0% 100%);
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav__cta:hover { background: transparent; color: var(--crimson); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--off-black);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.nav__mobile.open { opacity: 1; pointer-events: all; }
.nav__mobile .nav__link {
  font-size: clamp(24px,6vw,36px);
  letter-spacing: 0.06em;
  padding: 14px 0;
  color: var(--white);
}
.nav__mobile .nav__link::after { left: 0; right: 0; bottom: 8px; }
.nav__mobile .nav__cta {
  margin-top: 20px;
  font-size: 14px;
  padding: 14px 36px;
}

/* ── BUTTONS ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: clamp(10px,1vw,12px);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: clamp(12px,1.5vw,16px) clamp(20px,3vw,36px);
  transition: all 0.25s var(--ease-out-expo);
  white-space: nowrap;
}
.btn--primary {
  background: var(--crimson);
  color: var(--white);
  clip-path: polygon(10px 0%,100% 0%,calc(100% - 10px) 100%,0% 100%);
}
.btn--primary:hover { background: var(--crimson-dark); transform: translateY(-2px); }
.btn--ghost {
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  clip-path: polygon(10px 0%,100% 0%,calc(100% - 10px) 100%,0% 100%);
}
.btn--ghost:hover { border-color: var(--crimson); color: var(--crimson); transform: translateY(-2px); }
.btn svg { flex-shrink: 0; transition: transform 0.25s; width: 14px; height: 14px; }
.btn:hover svg { transform: translateX(4px); }

/* ── SCROLL REVEAL ────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.45s; }
.reveal-delay-5 { transition-delay: 0.6s; }

/* ── SECTION HEADER ───────────────────────────────────────────────────────── */
.section-header { margin-bottom: clamp(40px,5vw,80px); }
.section-header .t-eyebrow { margin-bottom: 14px; }

/* ── IMG PLACEHOLDER ──────────────────────────────────────────────────────── */
.img-placeholder {
  background: var(--charcoal-2);
  position: relative;
  overflow: hidden;
}
.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,var(--charcoal-3),var(--charcoal),var(--charcoal-3));
  background-size: 200% 200%;
  animation: shimmer 2.5s ease-in-out infinite;
}
@keyframes shimmer {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
.footer {
  background: var(--off-black);
  border-top: 1px solid var(--white-muted);
  padding: clamp(48px,6vw,80px) 0 clamp(24px,3vw,40px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(32px,4vw,56px);
  margin-bottom: clamp(40px,5vw,64px);
}
.footer__tagline { color: var(--mid-gray); font-size: 13px; line-height: 1.7; max-width: 240px; margin-top: 18px; }
.footer__col-title {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 13px;
  color: var(--mid-gray);
  transition: color 0.2s;
  font-family: var(--font-ui);
  font-weight: 500;
  letter-spacing: 0.06em;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid var(--white-muted);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__copy { font-size: 12px; color: var(--mid-gray); font-family: var(--font-ui); letter-spacing: 0.08em; }
.footer__socials { display: flex; gap: 12px; }
.footer__social {
  width: 36px;
  height: 36px;
  border: 1px solid var(--white-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.footer__social:hover { border-color: var(--crimson); background: var(--crimson); }
.footer__social svg { width: 14px; height: 14px; fill: var(--white); }

/* ── NOISE OVERLAY ────────────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.022;
  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");
}

/* ── PAGE TRANSITION ──────────────────────────────────────────────────────── */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--crimson);
  z-index: 99997;
  transform: translateY(100%);
  pointer-events: none;
}

/* ── SCROLLBAR ────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--crimson); border-radius: 2px; }

/* ════════════════════════════════════════════════════════════════════════════
   RESPONSIVE — main.css
   ════════════════════════════════════════════════════════════════════════════ */

/* Large desktop — 1280px+ — default above */

/* Medium desktop / small laptop */
@media (max-width: 1280px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__grid > .footer__col:last-child { grid-column: 2; }
}

/* Tablet landscape */
@media (max-width: 1024px) {
  :root { --nav-h: 64px; }
  .nav__links { gap: 0; }
  .nav__link { padding: 8px 12px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__grid > .footer__brand { grid-column: 1 / -1; }
}

/* Tablet portrait */
@media (max-width: 768px) {
  :root { --nav-h: 60px; --gutter: 20px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .site-logo { height: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__tagline { max-width: 100%; }
  .btn { padding: 12px 20px; font-size: 11px; }
}

/* Mobile */
@media (max-width: 480px) {
  :root { --gutter: 16px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .t-h1 { font-size: clamp(40px,12vw,56px); }
  .t-h2 { font-size: clamp(28px,9vw,40px); }
}

/* Small mobile */
@media (max-width: 360px) {
  :root { --gutter: 14px; }
  .site-logo { height: 24px; }
}
