:root {
  --navy: #0a1430;
  --navy-deep: #050a1a;
  --red: #c8102e;
  --white: #ffffff;
  --grey: #767b89;
  --grey-light: #f4f4f2;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--white);
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow.light { color: rgba(255,255,255,0.75); }

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5,10,26,0.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0.06em;
}
.logo-mark { display: inline-flex; gap: 2px; }
.logo-mark span {
  width: 4px; height: 16px;
  background: var(--red);
  transform: skewX(-12deg);
}
.logo-mark span:nth-child(2) { background: var(--white); }
.logo-mark span:nth-child(3) { background: #3a5bdc; }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--red); }

@media (max-width: 680px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 11px; }
}

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% 20%, rgba(200,16,46,0.22), transparent 60%),
    radial-gradient(ellipse 60% 60% at 85% 80%, rgba(58,91,220,0.22), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 2px, transparent 2px, transparent 60px),
    linear-gradient(180deg, rgba(5,10,26,0.45) 0%, rgba(10,20,48,0.5) 55%, rgba(5,10,26,0.6) 100%),
    url("images/hero.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@media (max-width: 820px) {
  .hero-bg { background-attachment: scroll; }
}
.social-rail {
  position: absolute;
  left: 28px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px;
  z-index: 2;
}
.social-rail a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: var(--white);
  font-size: 15px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.social-rail a:hover { background: var(--red); border-color: var(--red); }
.hero-content { position: relative; z-index: 2; }
.hero h1 {
  font-family: var(--serif);
  color: var(--white);
  font-size: clamp(36px, 6.5vw, 88px);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}
.hero-rule {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-top: 26px;
}
.hero-rule span:not(:nth-child(2)) { width: 46px; height: 1px; background: rgba(255,255,255,0.4); }
.hero-rule span:nth-child(2) {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}

/* ABOUT */
.about { padding: 130px 28px 0; max-width: 1320px; margin: 0 auto; }
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.about-visual { position: relative; }
.visual-plate {
  aspect-ratio: 4/5;
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(200,16,46,0.55), transparent 55%),
    linear-gradient(315deg, rgba(58,91,220,0.5), transparent 55%),
    url("images/about.jpg") center/cover;
  position: relative;
  overflow: hidden;
}
.visual-plate::after {
  content: "#FrenchTouch";
  position: absolute; bottom: 24px; left: 24px;
  color: rgba(255,255,255,0.85);
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
}
.about-copy h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 600;
  margin-bottom: 22px;
}
.about-copy p {
  font-size: 16px;
  line-height: 1.75;
  color: #3a3f4c;
  max-width: 560px;
  margin-bottom: 16px;
}
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}

.partners { max-width: 1320px; margin: 100px auto 0; padding: 48px 28px; border-top: 1px solid #e8e8e6; text-align: center; }
.partners .eyebrow { text-align: center; }
.partners-row {
  display: flex; flex-wrap: nowrap; justify-content: center; align-items: center;
  gap: 32px; margin-top: 36px;
}
.partners-row img {
  height: 24px;
  width: auto;
  flex-shrink: 0;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: opacity 0.2s ease;
}
.partners-row img:hover { opacity: 0.9; }
@media (max-width: 820px) {
  .partners-row { flex-wrap: wrap; gap: 16px 28px; }
}

/* QUOTE */
.quote {
  background: var(--navy-deep);
  color: var(--white);
  text-align: center;
  padding: 130px 28px;
  margin-top: 90px;
}
.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 4vw, 44px);
  max-width: 820px;
  margin: 0 auto 20px;
  line-height: 1.3;
}
.quote span { color: rgba(255,255,255,0.6); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }

/* GALLERY */
.gallery { padding: 110px 28px; max-width: 1320px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 42px); font-weight: 600; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.tile {
  aspect-ratio: 1/1;
  position: relative;
  display: flex; align-items: flex-end;
  padding: 18px;
  overflow: hidden;
}
.tile span {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  letter-spacing: 0.04em;
  position: relative; z-index: 1;
}
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55) 100%); }
.tile-1 { background: linear-gradient(rgba(10,10,26,0.15), rgba(5,10,26,0.3)), url("images/tile-raceday.jpg") center/cover; }
.tile-2 { background: linear-gradient(rgba(10,10,26,0.15), rgba(5,10,26,0.3)), url("images/tile-pitlane.jpg") center/cover; }
.tile-3 { background: linear-gradient(rgba(10,10,26,0.15), rgba(5,10,26,0.3)), url("images/tile-frenchtouch.jpg") center/cover; }
.tile-4 { background: linear-gradient(rgba(10,10,26,0.15), rgba(5,10,26,0.3)), url("images/tile-qualifying.jpg") center/cover; }
.tile-5 { background: linear-gradient(rgba(10,10,26,0.15), rgba(5,10,26,0.3)), url("images/tile-paddocklife.jpg") center/cover; }
.tile-6 { background: linear-gradient(rgba(10,10,26,0.15), rgba(5,10,26,0.3)), url("images/tile-podium.jpg") center/cover; }
.tile-7 { background: linear-gradient(rgba(10,10,26,0.15), rgba(5,10,26,0.3)), url("images/tile-teamradio.jpg") center/cover; }
.tile-8 { background: linear-gradient(rgba(10,10,26,0.15), rgba(5,10,26,0.3)), url("images/tile-formationlap.jpg") center/cover; }
@media (max-width: 820px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* CONTACT / FOOTER */
.contact { background: var(--grey-light); padding-top: 100px; }
.contact-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 28px 90px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
}
.contact-info h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 42px); margin-bottom: 26px; }
.contact-info .eyebrow.light { color: var(--red); }
.footer-logo { display: inline-block; font-size: 15px; letter-spacing: 0.06em; margin-bottom: 20px; color: #1a1a1a; }
.contact-list li { margin-bottom: 10px; font-size: 15px; color: #3a3f4c; }
.contact-list a:hover { color: var(--red); }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form textarea {
  border: none; border-bottom: 1px solid #cfcfca;
  background: transparent;
  padding: 12px 2px;
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--red); }
.contact-form button {
  align-self: flex-start;
  margin-top: 8px;
  background: var(--navy-deep);
  color: var(--white);
  border: none;
  padding: 13px 34px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease;
}
.contact-form button:hover { background: var(--red); }
@media (max-width: 820px) { .contact-inner { grid-template-columns: 1fr; } }

.footer-bottom {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 26px 28px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 13px;
}
.to-top { background: none; border: none; color: rgba(255,255,255,0.75); font-size: 13px; cursor: pointer; letter-spacing: 0.04em; }
.to-top:hover { color: var(--red); }
