/* ===========================================================
   Aussie Bridge Football — Landing Page
   Brand: Druk Bold (headlines/CTA) + Inter (body)
   =========================================================== */

@font-face {
  font-family: "Druk Bold";
  src: url("../assets/fonts/Druk-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --blue-1: #0E0773;
  --navy: #10069F;
  --maroon: #9B0924;
  --red-1: #E4002B;
  --cream: #FEFAF0;
  --white: #FFFFFF;
  --black: #000000;

  --font-display: "Druk Bold", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container-w: 1200px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--white);
  color: var(--navy);
  padding: 12px 18px;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 760px; }
.container-form { max-width: 960px; }

/* ---------- Typography ---------- */

.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 22px;
  color: var(--cream);
}
.display-navy { color: var(--navy); }

.display-md { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.display-sm { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 20px; }

.sub-display {
  font-family: var(--font-display);
  text-transform: none;
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.15;
  color: var(--cream);
  margin: 8px 0 20px;
}

.lead { font-size: 1.1rem; line-height: 1.6; max-width: 60ch; margin: 0 0 16px; color: rgba(16,6,159,0.85); }
.lead-light { color: rgba(254,250,240,0.92); }

.body-lg { font-size: 1.1rem; font-weight: 500; line-height: 1.6; }

.section p { line-height: 1.7; }
.opportunity-text p,
.slide-text p,
.step p,
.contact-line { color: inherit; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 16px 34px;
  font-size: 0.9rem;
  transition: transform 0.15s ease, background-color 0.15s ease, opacity .15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { opacity: 0.9; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { opacity: 0.9; }

/* ---------- Header / floating nav pill ---------- */

.site-header {
  position: fixed;
  top: 20px; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 30px;
  background: var(--white);
  border-radius: 999px;
  padding: 10px 14px 10px 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  max-width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: var(--navy);
  border-radius: 50%;
  flex-shrink: 0;
}
.nav-logo img { filter: brightness(0) invert(1); width: 18px; height: 18px; }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav-links a { color: var(--navy); text-decoration: none; }
.nav-links a:hover { opacity: 0.7; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  flex-shrink: 0;
  padding-right: 4px;
}
.lang-btn {
  background: none;
  border: none;
  padding: 3px 2px;
  cursor: pointer;
  color: rgba(16,6,159,0.4);
  font-family: inherit;
  font-size: inherit;
}
.lang-btn.is-active { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.lang-sep { color: rgba(16,6,159,0.25); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  margin-bottom: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}
.hero-video {
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.hero-title {
  font-size: clamp(2.9rem, 10vw, 7.2rem);
  color: var(--white);
  margin-bottom: 32px;
}
.hero-lead {
  font-family: var(--font-display);
  font-weight: 700;
  color: rgba(255,255,255,0.94);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.35;
  margin: 0 auto 10px;
  max-width: 62ch;
}
.hero-content .btn { margin-top: 28px; }

/* Hero bottom-right controls: play/pause + expand */
.video-controls {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 10px;
}
.video-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.video-btn svg { width: 18px; height: 18px; }
.video-btn svg[hidden] { display: none; }
.video-btn:hover { background: rgba(255,255,255,0.28); }

/* ---------- Sections ---------- */

.section { padding: 110px 0; }
.section-blue { background: var(--blue-1); }
.section-maroon { background: var(--maroon); color: var(--cream); }
.section-cream { background: var(--cream); }

#founder { padding: 160px 0 170px; }

/* ---------- Opportunity ---------- */

.opportunity-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: start;
}
.opportunity-media {
  aspect-ratio: 1 / 1;
  justify-self: end;
  -webkit-mask-image: radial-gradient(circle farthest-corner, black 32%, transparent 100%);
  mask-image: radial-gradient(circle farthest-corner, black 32%, transparent 100%);
}
.opportunity-media img { width: 100%; height: 100%; object-fit: cover; }
.opportunity-text { color: var(--cream); grid-row: 1; grid-column: 1; }
.opportunity-text p { color: rgba(254,250,240,0.92); margin: 0 0 18px; }

/* ---------- Founder carousel ---------- */

.carousel { position: relative; padding: 0 76px; }
.carousel-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-arrow:hover { opacity: 0.85; }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.carousel-slide {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.carousel-slide.is-active { display: grid; }
.slide-text h2, .slide-text h3 { color: var(--navy); }
.slide-text p { color: rgba(16,6,159,0.85); margin: 0 0 16px; }
.slide-text p strong { color: var(--navy); }

.slide-media img {
  width: 100%;
  aspect-ratio: 4 / 3.3;
  object-fit: cover;
  border-radius: 22px;
}
.slide-media-top { object-position: center 8%; }
.slide-media-placeholder {
  aspect-ratio: 4 / 3.3;
  border-radius: 22px;
  border: 1.5px dashed rgba(16,6,159,0.35);
  background: rgba(16,6,159,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.slide-media-placeholder span {
  font-weight: 600;
  color: rgba(16,6,159,0.5);
  font-size: 0.95rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(16,6,159,0.2);
  cursor: pointer;
  padding: 0;
}
.dot.is-active { background: var(--navy); width: 12px; height: 12px; }

/* ---------- Path / steps ---------- */

.steps {
  list-style: none;
  margin: 64px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.step-number {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--maroon);
  font-family: var(--font-display);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-head h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.15rem;
  color: var(--cream);
  margin: 0;
}
.step-lead { font-weight: 700; color: var(--cream); margin: 0 0 10px; }
.step p:not(.step-lead) { color: rgba(254,250,240,0.85); margin: 0; }

/* ---------- Support grid ---------- */

.support-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 24px;
}
.support-card {
  border: 1.5px solid var(--navy);
  border-radius: 18px;
  padding: 26px 24px;
}
.support-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}
.support-card[open] .support-card-head { margin-bottom: 12px; }
.support-card-head::-webkit-details-marker { display: none; }
.support-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0;
}
.support-card .chevron {
  width: 18px; height: 18px;
  color: var(--navy);
  flex-shrink: 0;
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}
.support-card[open] .chevron { transform: rotate(0deg); }
.support-card p { margin: 0; color: rgba(16,6,159,0.8); font-size: 0.95rem; }

/* ---------- Application form ---------- */

.apply-form { margin-top: 56px; }
.apply-form fieldset { border: none; padding: 0; margin: 0 0 52px; }
.apply-form legend {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--red-1);
  margin-bottom: 28px;
  padding: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
}
.field { display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; font-weight: 600; color: var(--navy); }
.field-wide { grid-column: 1 / -1; }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.98rem;
  padding: 8px 0 10px;
  border: none;
  border-bottom: 1.5px solid var(--navy);
  border-radius: 0;
  background: transparent;
  color: var(--black);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--red-1);
}
.field input[type="file"] { padding: 8px 0; font-size: 0.85rem; border-bottom: 1.5px solid var(--navy); }
.field textarea { resize: vertical; border: 1.5px solid var(--navy); padding: 12px; border-radius: 10px; }

.field-question { font-weight: 700; font-size: 0.95rem; color: var(--navy); margin: 0 0 14px; }
.radio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; margin-bottom: 32px; }
.radio { display: flex; align-items: center; gap: 10px; font-size: 0.94rem; font-weight: 400; color: var(--black); cursor: pointer; }
.radio input { accent-color: var(--red-1); width: 17px; height: 17px; }

.confirmation {
  margin-top: 56px;
  padding: 44px;
  border: 1.5px solid var(--navy);
  border-radius: 20px;
}
.confirmation h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.5rem;
  color: var(--navy);
  margin: 0 0 20px;
}
.confirmation p { margin: 0 0 14px; color: rgba(16,6,159,0.85); }
.confirmation-signoff { font-weight: 600; margin-top: 22px !important; }

/* ---------- FAQ / Accordion ---------- */

.accordion { margin-top: 44px; }
.accordion-item { border-bottom: 1.5px solid rgba(16,6,159,0.18); padding: 22px 0; }
.accordion-item summary {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  line-height: 1.4;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--red-1);
  flex-shrink: 0;
}
.accordion-item[open] summary::after { content: "–"; }
.accordion-body { margin-top: 16px; max-width: 68ch; }
.accordion-body p { margin: 0 0 14px; color: rgba(16,6,159,0.8); }
.accordion-body p:last-child { margin-bottom: 0; }

/* ---------- Contact / Footer ---------- */

.contact-line {
  margin: 0 0 6px;
  color: var(--cream);
  font-size: 1.02rem;
}
.contact-line span { opacity: 0.75; margin-right: 6px; }
.contact-line a { text-decoration: underline; text-underline-offset: 3px; color: var(--cream); }

.footer-bottom {
  margin-top: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--cream);
}
.footer-logo span {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.05rem;
  line-height: 1.15;
}
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(254,250,240,0.12);
  border: 1px solid rgba(254,250,240,0.4);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-socials svg { width: 18px; height: 18px; }
.footer-socials a:hover { background: rgba(254,250,240,0.22); }

.footer-copy {
  margin-top: 40px;
  font-size: 0.8rem;
  color: rgba(254,250,240,0.55);
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .opportunity-layout { grid-template-columns: 1fr; }
  .opportunity-media { justify-self: center; width: 72%; margin-bottom: 32px; }
  .carousel-slide { grid-template-columns: 1fr; gap: 28px; }
  .slide-media { order: -1; }
  .carousel { padding: 0 54px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .support-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; gap: 24px; }
  .radio-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header { top: 12px; padding: 0 14px; }
  .nav-links, .lang-switch { display: none; }
  .nav-toggle { display: flex; }
  .nav-pill {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
  }
  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 20px;
    padding: 12px 20px 16px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.14);
  }
  body.nav-open .nav-links a { display: block; padding: 10px 0; }
  body.nav-open .lang-switch {
    display: flex;
    position: absolute;
    top: 52px;
    right: 20px;
  }

  .section { padding: 76px 0; }
  .opportunity-media { width: 78%; }
  .support-grid { grid-template-columns: 1fr; }
  .carousel { padding: 0 8px; }
  .carousel-arrow { position: static; transform: none; margin: 0 8px; }
  .carousel-arrows-row { display: flex; justify-content: center; margin-top: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
