/* ── Font metric overrides — prevent CLS during web font swap ── */
/* These match Barlow Condensed metrics closely to reduce layout shift */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Barlow Condensed Bold');
  size-adjust: 100%;
  ascent-override: 95%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: local('Barlow Condensed ExtraBold');
  size-adjust: 100%;
  ascent-override: 95%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Barlow Regular');
  size-adjust: 100%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

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

:root {
  --red:       #e8001d;
  --red-dark:  #b5001a;
  --black:     #0a0a0a;
  --charcoal:  #141414;
  --off-white: #f7f6f4;
  --white:     #ffffff;
  --muted:     #767676; /* min AA contrast on white bg */
  --display:   'Barlow Condensed', sans-serif;
  --body:      'Barlow', sans-serif;
  --expo:      cubic-bezier(0.16, 1, 0.3, 1);
  --max:       1200px;
  --pad:       7%;

  --section-space: clamp(72px, 8vw, 120px);
  --content-width: 1280px;
  --text-width: 720px;

  --fs-xs: 0.85rem;
  --fs-sm: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.4rem;
  --fs-xl: clamp(2.8rem, 6vw, 5.5rem);

  --radius: 14px;
}

html { scroll-behavior: smooth; }
body{
  font-family: var(--body);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;

  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container{
  width: min(100% - 48px, var(--content-width));
  margin-inline: auto;
}

/* ── Shared ── */
.label {
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.label::before { content: ''; width: 24px; height: 2px; background: var(--red); flex-shrink: 0; }

h2{
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;

  max-width: 12ch;
}

h2 em { font-style: italic; color: var(--red); }

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--red);
  border-bottom: 2px solid var(--red);
  padding-bottom: 3px;
  transition: gap 0.2s;
}
.btn-line:hover { gap: 16px; }

/* ── Ticker ── */
.ticker { background: var(--red); padding: 13px 0; overflow: hidden; user-select: none; }
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
.ticker-track span {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0 22px;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

.feed-card,
.cta-card,
.feed-card--linkedin-facade,
.feed-card--insta-facade{
  border-radius: var(--radius);
}

/* ── CTA Trio ── */
.cta-trio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.04);
}
.cta-card {
  text-decoration: none;
  color: var(--white);
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
  overflow: hidden;
}
.cta-card:hover { background: rgba(255,255,255,0.04); }
.cta-card:nth-child(2) { border-right: none; }
.cta-card--fs {
  grid-column: 1 / -1;
  border-right: none;
  border-bottom: none;
  flex-direction: row;
  align-items: center;
}

.cta-img {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6) saturate(0.8);
  transition: filter 0.4s, transform 0.5s var(--expo);
  flex-shrink: 0;
}
.cta-card:hover .cta-img { filter: brightness(1) saturate(1); transform: scale(1.03); }

.cta-body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.cta-card--fs .cta-body { padding: 36px var(--pad); max-width: 640px; }
.cta-card h3, .cta-heading {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.cta-card p { font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.65; flex: 1; }
.cta-card .btn-line { color: var(--white); border-color: rgba(255,255,255,0.3); margin-top: 10px; align-self: flex-start; }

/* ── Feed ── */
.feed { padding: 88px 0; background: var(--off-white); }
.feed-grid {
  display: grid;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 40px;
  align-items: stretch;
  margin: 36px 0 0;
  align-items: start;
}
.feed-col { display: flex; flex-direction: column; gap: 14px; }
.feed-source {
  font-family: var(--display); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 8px;
}
.feed-card {
  background: var(--white);
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--black);
  border: 1px solid rgba(0,0,0,0.07);
  overflow: hidden;
  min-height: 200px;
  transition: transform 0.25s var(--expo), box-shadow 0.25s;
}
.feed-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.08); }

/* Blog */
.feed-card--blog .feed-card-img-wrap { height: 240px; overflow: hidden; flex-shrink: 0; }
.feed-card--blog .feed-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--expo); }
.feed-card--blog:hover .feed-card-img-wrap img { transform: scale(1.05); }
.feed-card-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 7px; flex: 1; overflow: hidden; }
.feed-meta { font-family: var(--display); font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.feed-card-body h3 { font-family: var(--display); font-size: 1.1rem; font-weight: 700; text-transform: uppercase; line-height: 1.2; }
.feed-excerpt { font-size: 0.83rem; color: #666; line-height: 1.6; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }

/* Instagram embed — constrained */
.feed-card--embed {
  min-height: 500px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
}
.feed-card--embed:hover { transform: none; box-shadow: none; }
.feed-card--embed .instagram-media {
  width: 100% !important;
  min-width: unset !important;
  max-width: 100% !important;
}

/* LinkedIn */
.feed-card--linkedin { min-height: 260px; justify-content: center; }
.feed-card--linkedin .feed-card-body { padding: 28px; gap: 16px; justify-content: center; }
.linkedin-header { display: flex; align-items: center; gap: 12px; }
.linkedin-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: contain; background: var(--black); padding: 6px; flex-shrink: 0; }
.linkedin-header strong { display: block; font-family: var(--display); font-size: 0.95rem; font-weight: 700; text-transform: uppercase; }
.linkedin-header span { font-size: 0.72rem; color: var(--muted); }
.feed-card--linkedin p { font-size: 0.875rem; line-height: 1.7; color: #444; }
.linkedin-cta { font-family: var(--display); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: 8px; }

/* ── Sponsors ── */
.sponsors { padding: 88px 0; background: var(--white); border-top: 1px solid rgba(0,0,0,0.06); }
.sponsors-sub { font-size: 0.95rem; line-height: 1.7; color: #555; margin-bottom: 48px; }

.sponsors-tier-label {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,1);
}

.sponsors-grid {
  display: grid;
  align-items: center;
  justify-items: center;
  margin-bottom: 48px;
}
.sponsors-grid--exec {
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 48px;
}
.sponsors-grid--exec img {   max-height: 120px;  max-width: 240px;}

.sponsors-grid--plat {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 28px 32px;
}
.sponsors-grid--plat img { max-height: 90px; max-width: 120px; }

.sponsors-grid img {
  object-fit: contain;
  filter: grayscale(1) opacity(0.82);
  transition: 0.25s ease;
  transition: filter 0.3s, transform 0.3s;
}
.sponsors-grid img:hover { filter: grayscale(0) opacity(1); transform: scale(1.07); }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s cubic-bezier(.16,1,.3,1),
    transform 0.5s cubic-bezier(.16,1,.3,1);
}

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


/* ── LinkedIn Facade ── */
/* Replaces the iframe entirely until user clicks, saves 640KB + bot scripts */
.feed-card--linkedin-facade {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.li-facade-inner {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.li-facade-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.li-facade-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #0077b5;
  color: #fff;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.li-facade-header strong {
  display: block;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
}
.li-facade-header span {
  font-size: 0.72rem;
  color: #555;
}
.li-facade-text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #444;
}
.li-facade-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  background: none;
  border: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 3px;
  cursor: pointer;
  transition: gap 0.2s;
  align-self: flex-start;
}
.li-facade-btn:hover { gap: 14px; }

/* ── Icon sizing ── */
.icon { flex-shrink: 0; }

/* ── CTA heading — h2 styled to match old h3 ── */
.cta-heading {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0;
}


/* ── Instagram Facade ── */
.feed-card--insta-facade {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.insta-facade-inner {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.insta-facade-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.insta-facade-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.insta-facade-header strong {
  display: block;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
}
.insta-facade-header span {
  font-size: 0.72rem;
  color: #555;
}
.insta-facade-text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #444;
}
.insta-facade-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  background: none;
  border: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 3px;
  cursor: pointer;
  transition: gap 0.2s;
  align-self: flex-start;
}
.insta-facade-btn:hover { gap: 14px; }

/* ── footer-col-label as h3 (heading order fix) ── */
h3.footer-col-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
h3.footer-col-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.2);
}


/* ── Responsive ── */
@media (max-width: 960px) {
  .cta-trio { grid-template-columns: 1fr; }
  .cta-card { border-right: none; }
  .cta-card--fs { grid-column: auto; flex-direction: column; }
  .cta-card--fs .cta-body { padding: 28px 32px 32px; max-width: none; }

  .feed-grid { grid-template-columns: 1fr; }
  .feed-card, .feed-card--embed, .feed-card--linkedin { height: auto; min-height: 320px; }
  .feed-card--blog .feed-card-img-wrap { height: 220px; }

  .stats { gap: 0; }
  .stat { padding: 0 24px; }

  .sponsors-grid--exec { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --pad: 5%; }
  .hero-scroll { display: none; }
  .hero-content { max-width: none; max-height: 275px;}

  .stats { flex-direction: column; gap: 24px; padding: 44px var(--pad); }
  .stat + .stat { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; }

  .ticker-track span { padding: 0 14px; font-size: 0.75rem; }

  .cta-body { padding: 22px 20px 26px; }
  .sponsors-grid--exec { grid-template-columns: repeat(1, 1fr); gap: 24px; }
}


/* Header.css ? */

:root {
  --red:          #e8001d;
  --red-dark:     #b5001a;
  --black:        #0a0a0a;
  --charcoal:     #141414;
  --dark-grey:    #1e1e1e;
  --mid-grey:     #2e2e2e;
  --border:       rgba(255,255,255,0.07);
  --text-nav:     rgba(255,255,255,0.72);
  --text-nav-h:   #ffffff;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --nav-h:        68px;
  --ease-expo:    cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--black);
  width: 100%;
  border-bottom: 4px solid var(--red);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.45);
}

.navbar-bar {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  padding: 0 5%;
  gap: 32px;
  position: relative;
}

.navbar-bar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: auto;
}

.brand-logo-img {
  height: 60px;
  width: auto;
  /* filter: invert(1) brightness(1); */
  transition: opacity 0.2s ease;
}
.brand:hover .brand-logo-img { opacity: 0.85; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  padding-left: 4px;
  border-left: 2px solid var(--red);
}

.brand-ashwa {
  font-family: 'Samarkan', serif;
  font-size: 26px;
  color: var(--red);
  letter-spacing: 1px;
  line-height: 1.05;
}

.brand-racing {
  font-family: 'Xenotron', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,1);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 10px 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-nav);
  border-radius: 3px;
  transition: color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 12px; right: 12px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease-expo);
}

.nav-link:hover { color: var(--text-nav-h); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link.active { color: var(--text-nav-h); }
.nav-link.active::after { transform: scaleX(1); }

/* =========================================================
   FORMULA STUDENT FEATURE SECTION
========================================================= */

.formula-student-feature{
  position: relative;

  min-height: 500px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 120px 40px;

  overflow: hidden;

  text-align: center;

  background:
    linear-gradient(
      rgba(0,0,0,0.72),
      rgba(0,0,0,0.78)
    ),
    url("https://assets.ashwaracing.org/images/gallery/Panoramic-2024.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.formula-student-feature::before{
  content: "";

  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at center,
      rgba(255,255,255,0.04),
      transparent 70%
    );

  pointer-events: none;
}

.formula-student-feature-content{
  position: relative;
  z-index: 2;

  max-width: 760px;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 24px;
}

.formula-student-feature-title{
  font-family: var(--display);

  font-size: clamp(3.5rem, 8vw, 7rem);

  font-weight: 800;

  line-height: 0.9;

  text-transform: uppercase;

  color: var(--white);
}

.formula-student-feature-text{
  font-size: 1.1rem;

  line-height: 1.8;

  color: rgba(255,255,255,0.82);

  max-width: 58ch;
}

.formula-student-feature .btn-line{
  color: var(--white);

  border-color: rgba(255,255,255,0.35);
}

/* ─── Dropdown ──────────────────────────────────────────────── */
.nav-dropdown {
  position: relative;
}

.nav-drop-btn::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.5;
  transition: transform 0.22s ease, opacity 0.22s ease;
  flex-shrink: 0;
  position: static;
  background: none;
}

.nav-drop-btn:hover::after,
.nav-dropdown.open .nav-drop-btn::after {
  opacity: 1;
}

.nav-dropdown.open .nav-drop-btn::after {
  transform: rotate(225deg) translateY(2px);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-top: 2px solid var(--red);
  min-width: 480px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.55);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.22s var(--ease-expo),
    transform 0.22s var(--ease-expo),
    visibility 0.22s;
  z-index: 1100;
  border-radius: 3px;
}

.nav-dropdown.open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel--narrow {
  min-width: 220px;
  grid-template-columns: 1fr;
}

.dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  border-radius: 3px;
  transition: background 0.18s ease, color 0.18s ease;
  border-left: 2px solid transparent;
}

.dropdown-panel a:hover {
  background: var(--mid-grey);
  color: var(--text-nav-h);
  border-left-color: var(--red);
}

.dd-num {
  font-family: var(--font-display);
  font-size: 0.65rem;
  color: var(--red);
  opacity: 0.7;
  letter-spacing: 0.1em;
  flex-shrink: 0;
  min-width: 20px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 3px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}
.hamburger:hover { border-color: rgba(255,255,255,0.25); }

.hamburger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--text-nav);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-expo), opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease-expo);
}

.mobile-menu.open {
  max-height: 87vh;
  overflow-y: auto;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 12px 5% 24px;
}

.mob-link {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: color 0.18s ease, padding-left 0.2s ease;
}

.mob-link:hover { color: var(--text-nav-h); padding-left: 6px; }

.mob-accordion-btn {
  justify-content: space-between;
}

.mob-accordion-btn::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.45;
  transition: transform 0.25s ease, opacity 0.25s ease;
  flex-shrink: 0;
}

.mob-accordion-btn.open::after {
  transform: rotate(225deg) translateY(-2px);
  opacity: 0.9;
}

.mob-accordion {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-expo);
  padding-left: 16px;
  border-left: 2px solid var(--red);
  margin: 0 0 4px 2px;
}
.mob-accordion.open { max-height: 600px; }

.mob-accordion a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.18s ease;
}
.mob-accordion a:hover { color: var(--text-nav-h); }
.mob-accordion a:last-child { border-bottom: none; }

.navbar.scrolled .navbar-bar { height: 56px; }
.navbar.scrolled .brand-logo-img { height: 36px; }
.navbar.scrolled .brand-ashwa { font-size: 22px; }
.navbar.scrolled .brand-racing { font-size: 11px; }
.navbar-bar,
.brand-logo-img,
.brand-ashwa,
.brand-racing {
  transition:
    height 0.3s var(--ease-expo),
    font-size 0.3s var(--ease-expo);
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .hamburger   { display: flex; }
}

@media (max-width: 480px) {
  .navbar-bar { padding: 0 4%; }
  .brand-ashwa { font-size: 22px; }
  .brand-racing { font-size: 11px; }
  .brand-logo-img { height: 45px; }
}

/* ============================================================
   ASHWA RACING — FOOTER
   System: Barlow Condensed + Barlow · dark motorsport
   ============================================================ */

/* ─── Base ──────────────────────────────────────────────────── */
.footer {
  background: var(--black);
  color: rgba(255,255,255,1);
  font-family: var(--font-body);
  border-top: 2px solid var(--red);
}

/* ─── Top section ───────────────────────────────────────────── */
.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  padding: 80px 6% 64px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ─── Brand column ──────────────────────────────────────────── */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  width: fit-content;
}

.footer-logo {
  height: 42px;
  width: auto;
  filter: invert(1) brightness(1);
  transition: opacity 0.2s ease;
}
/* FIX: removed no-op .footer-brand-link:hover .footer-logo { opacity: 1 }
   — base opacity is already 1, the hover rule had no effect */
.footer-brand-link:hover .footer-logo { opacity: 0.85; }

.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  padding-left: 4px;
  border-left: 2px solid var(--red);
}

.footer-ashwa {
  font-family: 'Samarkan', serif;
  font-size: 24px;
  color: var(--red);
  letter-spacing: 1px;
  line-height: 1.05;
}

.footer-racing {
  font-family: 'Xenotron', sans-serif;
  font-size: 12px;
  color: #ffffff;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 3px;
}

.footer-tagline {
  font-size: 0.82rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
}

/* Socials */
.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-socials a img {
  filter: brightness(0) invert(1);
  opacity: 0.65;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.footer-socials a:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  transform: translateY(-3px);
}

.footer-socials a:hover img {
  filter: none;
  opacity: 1;
}

/* ─── Nav columns ───────────────────────────────────────────── */
.footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  .footer-nav-cols{
  align-items: start;
}
}

.footer-col-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.2);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li {
  font-size: 0.82rem;
  line-height: 1.5;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.18s ease, padding-left 0.18s ease;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--red);
  padding-left: 4px;
}

/* "Soon" items */
.footer-link-soon {
  color: rgba(255,255,255,0.2);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: default;
  user-select: none;
}

.soon-tag {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1px 6px;
  border-radius: 2px;
}

/* ─── Contact column ────────────────────────────────────────── */

/* FIX: wrapper div for each contact entry — groups the link and its
   subtitle label into a structured container */
.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-contact-link {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.18s ease;
}

.footer-contact-link:hover { color: #fff; }

.footer-contact-link i,
.footer-location i {
  color: var(--red);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* FIX: explicit class for contact subtitle labels — was unstyled bare <span> */
.footer-contact-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  padding-left: 20px; /* aligns under the text, past the icon */
  line-height: 1.4;
}

.footer-location {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.55;
}

/* ─── Divider ───────────────────────────────────────────────── */
.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  max-width: 1400px;
  margin: 0 6%;
}

/* ─── Bottom bar ────────────────────────────────────────────── */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 6%;
  max-width: 1400px;
  margin: 0 auto;
}

/* FIX: .footer-copy and .footer-credit had identical declarations —
   merged into a single rule */
.footer-copy,
.footer-credit {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ─── Responsive ────────────────────────────────────────────── */

@media (max-width: 1100px) {

  .footer-nav-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 860px) {

  .footer-col-label {
    justify-content: center;
    text-align: center;

    width: 100%;
  }

  .footer-col-label::after {
    display: none;
  }
}

@media (max-width: 860px) {

  .footer-top {
    grid-template-columns: 1fr;

    justify-items: center;

    gap: 48px;
    padding: 64px 6% 48px;
  }

  .footer-brand-col {
    max-width: 360px;
    width: 100%;

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand-logo {
    display: flex;
    justify-content: center;
  }

  .footer-socials {
    display: flex;
    justify-content: center;
  }

  .footer-nav-cols {
    width: 100%;

    grid-template-columns: repeat(2, 1fr);

    justify-items: center;
    text-align: center;

    gap: 32px;
  }

  .footer-nav-col {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-col-label {
    text-align: center;
  }

  .footer-nav-col a,
  .footer-nav-col p,
  .footer-nav-col span {
    text-align: center;
  }
}

@media (max-width: 560px) {

  .footer-top {
    gap: 40px;
    padding: 56px 5% 40px;
  }

  .footer-nav-cols {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;

    text-align: center;

    gap: 10px;
  }

  .footer-bottom-right {
    justify-content: center;
  }

  .footer-brand-col {
    max-width: 320px;
  }
}

@media (max-width: 380px) {

  .footer-top {
    padding: 48px 5% 36px;
  }

  .footer-nav-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand-col {
    max-width: 100%;
  }
}