/* =========================================================
   FiRe Club — Design tokens
   ========================================================= */
:root {
  --navy: #0b1f3a;
  --blue-deep: #123b6b;
  --blue: #1f5fa8;
  --blue-bright: #2e7bd6;
  --sky: #eaf2fb;
  --sky-soft: #f4f8fd;
  --white: #ffffff;
  --slate: #5c7290;
  --line: #d7e3f2;
  --ink: #0e2038;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --container: 1180px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--blue);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-heading {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 14px 0 18px;
  max-width: 680px;
}

.section-lede {
  color: var(--slate);
  font-size: 17px;
  max-width: 620px;
  margin-bottom: 8px;
}

section { position: relative; }

.section-pad { padding: 110px 0; }

@media (max-width: 780px) {
  .section-pad { padding: 72px 0; }
  .container { padding: 0 22px; }
}

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.4s var(--ease);
  background: transparent;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--line);
}

.nav.scrolled .nav-logo,
.nav.scrolled .nav-links a {
  color: var(--navy);
}

.nav.scrolled .nav-logo span { color: var(--slate); opacity: 1; }

.nav.scrolled .nav-cta {
  border-color: var(--navy);
}
.nav.scrolled .nav-cta:hover {
  background: var(--navy);
  color: var(--white) !important;
}

.nav.scrolled .nav-toggle { color: var(--navy); }

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-logo img {
  height: 88px;
  width: auto;
  border-radius: 4px;
  background: var(--white);
  padding: 6px 10px;
  transition: height 0.3s var(--ease), padding 0.3s var(--ease);
}

.nav.scrolled .nav-logo img {
  height: 64px;
  padding: 4px 8px;
}

.nav-logo span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--sky);
  opacity: 0.85;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}

.nav-links a {
  font-size: 14.5px;
  color: var(--sky);
  opacity: 0.88;
  transition: opacity 0.2s;
  position: relative;
}

.nav-links a:hover { opacity: 1; }

.nav-cta {
  border: 1px solid rgba(255,255,255,0.4);
  padding: 9px 20px;
  border-radius: 2px;
  font-size: 13.5px !important;
  letter-spacing: 0.02em;
}

.nav-cta:hover {
  background: var(--white);
  color: var(--navy) !important;
  opacity: 1 !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 20px 22px 26px;
    gap: 18px;
  }
  .nav-links.open a { color: var(--navy); }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  opacity: 0.9;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,19,38,0.55) 0%, rgba(11,19,38,0.35) 30%, rgba(9,22,42,0.86) 78%, rgba(8,20,38,0.97) 100%),
    linear-gradient(90deg, rgba(8,20,42,0.55) 0%, rgba(8,20,42,0.05) 45%, rgba(8,20,42,0.05) 55%, rgba(8,20,42,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 90px;
  padding-top: 262px;
}

.hero .eyebrow { color: var(--sky); }
.hero .eyebrow::before { background: var(--sky); }

.hero h1 {
  color: var(--white);
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: 1.03;
  margin: 20px 0 26px;
  max-width: 15ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--sky);
  position: relative;
}

.hero-sub {
  color: rgba(234,242,251,0.86);
  font-size: 18px;
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 2px;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--white);
  color: var(--navy);
}
.btn-primary:hover { background: var(--sky); transform: translateY(-2px); }

.btn-ghost {
  border-color: rgba(255,255,255,0.45);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

.btn-solid {
  background: var(--blue);
  color: var(--white);
}
.btn-solid:hover { background: var(--blue-bright); transform: translateY(-2px); }

.hero-ticker {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 22px;
  display: flex;
  gap: 46px;
  flex-wrap: wrap;
}

.hero-ticker div {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--sky);
  opacity: 0.75;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-ticker strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  letter-spacing: 0;
  text-transform: none;
  margin-top: 4px;
  font-weight: 600;
}

/* =========================================================
   Key facts / stats bar
   ========================================================= */
.stats {
  background: var(--blue-deep);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  border-left: 1px solid rgba(255,255,255,0.18);
  padding: 6px 0;
}

.stat-item:first-child { border-left: none; }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  opacity: 0.85;
}

@media (max-width: 700px) {
  .stats-grid { grid-template-columns: 1fr; gap: 18px; }
  .stat-item { border-left: none; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 18px; }
  .stat-item:first-child { border-top: none; padding-top: 0; }
}

/* =========================================================
   Intro strip
   ========================================================= */
.intro {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

.intro p {
  color: var(--slate);
  font-size: 17px;
  margin-top: 18px;
}

.intro-figure {
  font-family: var(--font-mono);
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.intro-figure .num {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--blue-deep);
  display: block;
  font-weight: 600;
}

.intro-figure .label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 4px;
  display: block;
}

.intro-figure + .intro-figure { margin-top: 26px; }

@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Pillars (Events / Cooperation / Alumni)
   ========================================================= */
.pillars { background: var(--sky-soft); }

.pillar-list { margin-top: 60px; display: flex; flex-direction: column; }

.pillar {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
  padding: 50px 0;
  border-top: 1px solid var(--line);
}
.pillar:last-child { border-bottom: 1px solid var(--line); }

.pillar-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.pillar-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.pillar:hover .pillar-media img { transform: scale(1.045); }

.pillar-media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.pillar-media-split img { transition: transform 0.6s var(--ease); }

.pillar-index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue);
  letter-spacing: 0.1em;
}

.pillar h3 {
  font-size: 30px;
  margin: 10px 0 14px;
}

.pillar p { color: var(--slate); margin-bottom: 20px; }

.pillar-link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--blue-deep);
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--blue-deep);
  padding-bottom: 3px;
  display: inline-block;
  transition: opacity 0.2s;
}
.pillar-link:hover { opacity: 0.65; }

.pillar:nth-child(even) { grid-template-columns: 1.15fr 0.85fr; }
.pillar:nth-child(even) .pillar-media { order: 2; }

@media (max-width: 820px) {
  .pillar, .pillar:nth-child(even) { grid-template-columns: 1fr; }
  .pillar:nth-child(even) .pillar-media { order: 0; }
}

/* =========================================================
   Upcoming Events
   ========================================================= */
.upcoming { background: var(--white); }

.upcoming-card {
  margin-top: 48px;
  max-width: 620px;
  border: 1.5px dashed var(--line);
  border-radius: 6px;
  background: var(--sky-soft);
  padding: 52px 48px;
  text-align: center;
}

.upcoming-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  color: var(--blue);
  opacity: 0.85;
}
.upcoming-icon svg { width: 100%; height: 100%; }

.upcoming-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: rgba(31, 95, 168, 0.09);
  border: 1px solid rgba(31, 95, 168, 0.22);
  border-radius: 20px;
  padding: 5px 16px;
  margin-bottom: 16px;
}

.upcoming-card h3 {
  font-size: 26px;
  margin-bottom: 12px;
}

.upcoming-card p {
  color: var(--slate);
  font-size: 15px;
  max-width: 46ch;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .upcoming-card { padding: 38px 26px; }
}

/* =========================================================
   Alumni-Netzwerk
   ========================================================= */
.alumni { background: var(--sky-soft); }

.alumni-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.alumni-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
}
.alumni-media img { width: 100%; height: 100%; object-fit: cover; }

.alumni .section-lede { margin-bottom: 16px; }

@media (max-width: 860px) {
  .alumni-grid { grid-template-columns: 1fr; }
  .alumni-media { order: -1; }
}

/* =========================================================
   Team
   ========================================================= */
.team { background: var(--white); }

.team-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.team-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: 0 12px 28px rgba(18,59,107,0.1); }

.team-card.wide { grid-column: span 2; }

.team-photo { aspect-ratio: 4/3; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }

.team-info { padding: 20px 22px 24px; }

.team-info .role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  opacity: 0.9;
}

.team-info h4 {
  color: var(--navy);
  font-size: 19px;
  margin-top: 8px;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-card.wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-card.wide { grid-column: span 1; }
}

/* =========================================================
   Partners marquee
   ========================================================= */
.partners { background: var(--white); overflow: hidden; }

.partner-track-wrap {
  margin-top: 54px;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.partner-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll-left 32s linear infinite;
}

.partner-track:hover { animation-play-state: paused; }

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.partner-slot {
  flex: 0 0 auto;
  width: 220px;
  height: 120px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sky-soft);
}

.partner-slot span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  opacity: 0.7;
}

.partner-slot-live {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 4px 16px rgba(18,59,107,0.06);
}

.partner-logo-img {
  max-width: 68%;
  max-height: 46%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-note {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--slate);
  letter-spacing: 0.02em;
}

/* =========================================================
   Forms
   ========================================================= */
.forms { background: var(--sky-soft); }

.forms-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px;
  position: relative;
  overflow: hidden;
}

.form-card-waitlist {
  border-color: rgba(196, 46, 46, 0.35);
}

.waitlist-watermark {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-24deg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 7vw, 64px);
  color: rgba(196, 46, 46, 0.14);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: 0.02em;
}

.waitlist-note {
  position: relative;
  z-index: 1;
  color: #b3312c;
  background: rgba(196, 46, 46, 0.07);
  border: 1px solid rgba(196, 46, 46, 0.25);
  border-radius: 2px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
  margin: 4px 0 16px;
}

.form-card-waitlist .tag,
.form-card-waitlist h3,
.form-card-waitlist .form-desc,
.form-card-waitlist .fee-badge,
.form-card-waitlist form {
  position: relative;
  z-index: 1;
}

.fee-badge {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--blue-deep);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 4px 0 22px;
}

.fee-badge .fee-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  color: var(--white);
  white-space: nowrap;
  line-height: 1;
}

.fee-badge .fee-text {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sky);
  opacity: 0.9;
  line-height: 1.6;
  border-left: 1px solid rgba(255,255,255,0.25);
  padding-left: 18px;
}

@media (max-width: 460px) {
  .fee-badge { flex-direction: column; align-items: flex-start; gap: 8px; }
  .fee-badge .fee-text { border-left: none; padding-left: 0; }
}

.form-card .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.form-card h3 {
  font-size: 26px;
  margin: 10px 0 8px;
}

.form-card .form-desc {
  color: var(--slate);
  font-size: 15px;
  margin-bottom: 26px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field { margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-size: 12.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 7px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--sky-soft);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}

.field textarea { resize: vertical; min-height: 96px; }

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

.form-status {
  font-family: var(--font-mono);
  font-size: 12.5px;
  margin-top: 14px;
  min-height: 18px;
}
.form-status.success { color: #1a7a4c; }
.form-status.error { color: #b0392f; }

@media (max-width: 900px) {
  .forms-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 30px 24px; }
}

/* =========================================================
   Closing CTA
   ========================================================= */
.closing {
  background: var(--white);
  color: var(--navy);
  text-align: center;
  padding: 110px 0;
  border-top: 1px solid var(--line);
}
.closing .eyebrow { justify-content: center; }
.closing .eyebrow::before { display: none; }
.closing h2 {
  color: var(--navy);
  font-size: clamp(32px, 5vw, 54px);
  max-width: 720px;
  margin: 18px auto 34px;
}
.closing .btn-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.closing .btn-primary { background: var(--navy); color: var(--white); }
.closing .btn-primary:hover { background: var(--blue-deep); }
.closing .btn-ghost { border-color: var(--navy); color: var(--navy); }
.closing .btn-ghost:hover { background: var(--sky-soft); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--sky-soft);
  border-top: 1px solid var(--line);
  color: var(--slate);
  padding: 50px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  height: 34px;
  width: auto;
  border-radius: 3px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--navy);
  font-weight: 600;
}

.footer-social {
  display: flex;
  gap: 18px;
}

.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer-bottom a { color: var(--slate); }
.footer-bottom a:hover { color: var(--navy); text-decoration: underline; }

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 2px;
}
