:root {
  --navy: #1a2f5a;
  --navy-dark: #0f1e3a;
  --french-blue: #0055A4;
  --french-red: #EF4135;
  --cream: #F7F4EF;
  --cream-dark: #E8E2D9;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --white: #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', sans-serif;

  --nav-height: 72px;
  --section-pad: 88px;
  --container-max: 1100px;
  --radius: 4px;
  --t: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── TRICOLOR ── */
.tricolor {
  height: 4px;
  background: linear-gradient(
    to right,
    var(--french-blue) 33.33%,
    var(--white)       33.33%,
    var(--white)       66.66%,
    var(--french-red)  66.66%
  );
  flex-shrink: 0;
}

/* ── NAV ── */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  box-shadow: 0 2px 24px rgba(0,0,0,0.28);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  padding: 0 32px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  position: relative;
  transition: color var(--t);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--french-red);
  transition: width var(--t);
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links .cta a {
  background: var(--french-red);
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius);
}
.nav-links .cta a::after { display: none; }
.nav-links .cta a:hover { background: #d63328; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  transition: var(--t);
}

.nav-mobile {
  list-style: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
  background: var(--navy-dark);
}
.nav-mobile.open { max-height: 320px; }
.nav-mobile li a {
  display: block;
  padding: 13px 32px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
}
.nav-mobile li a:hover { color: var(--white); background: rgba(255,255,255,0.05); }

@media (max-width: 780px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* Cahier de dictée — ruled notebook lines */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 31px,
      rgba(255,255,255,0.035) 31px,
      rgba(255,255,255,0.035) 32px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(0,85,164,0.07) 79px,
      rgba(0,85,164,0.07) 80px
    );
  pointer-events: none;
}

/* Red margin line */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 100px;
  width: 2px; height: 100%;
  background: rgba(239,65,53,0.18);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  padding: 60px 24px;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--french-red);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.2s forwards;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.4s forwards;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-style: italic;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.6s forwards;
}

.hero-update {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  max-width: 620px;
  margin: 0 auto 44px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.7s forwards;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.8s forwards;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  font-weight: 300;
  letter-spacing: 0.03em;
}

.hero-cta {
  opacity: 0;
  animation: fadeUp 0.7s ease 1s forwards;
}

.hero-partners {
  opacity: 0;
  animation: fadeUp 0.7s ease 1.2s forwards;
  margin-top: 52px;
}

.hero-partners-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
}

.hero-partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.partner-logo {
  max-height: 96px;
  width: auto;
  opacity: 0.8;
  transition: opacity var(--t), transform var(--t);
}

.partner-logo:hover {
  opacity: 1;
  transform: scale(1.08);
}

.partner-logo-light-bg {
  background: rgba(255,255,255,0.92);
  padding: 16px 28px;
  border-radius: 4px;
  max-height: 88px;
  display: inline-block;
}

.partner-logo-light-bg:hover {
  background: rgba(255,255,255,1);
}

.partner-logo-small {
  max-height: 56px !important;
}

.hero-sponsors {
  opacity: 0;
  animation: fadeUp 0.7s ease 1.4s forwards;
  margin-top: 64px;
  padding-top: 48px;
  padding-bottom: 64px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-sponsors-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
}

.hero-sponsors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 560px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
}

.hero-sponsors-grid img:nth-child(7) {
  grid-column: 1 / -1;
  justify-self: center;
}

.sponsor-logo {
  max-height: 56px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--t), transform var(--t);
}

.sponsor-logo:hover {
  opacity: 1;
  transform: scale(1.08);
}

.sponsor-logo-white-bg {
  background: rgba(255,255,255,0.92);
  padding: 10px 16px;
  border-radius: 4px;
  max-height: 48px;
  display: inline-block;
}

.sponsor-logo-white-bg:hover {
  background: rgba(255,255,255,1);
}

/* Larger sponsor logos */
.hero-sponsors-grid img:nth-child(1),
.hero-sponsors-grid img:nth-child(2),
.hero-sponsors-grid img:nth-child(4),
.hero-sponsors-grid img:nth-child(7) {
  max-height: 84px;
}

.hero-sponsors-grid img:nth-child(1).sponsor-logo-white-bg,
.hero-sponsors-grid img:nth-child(2).sponsor-logo-white-bg,
.hero-sponsors-grid img:nth-child(7).sponsor-logo-white-bg {
  max-height: 72px;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 44px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all var(--t);
  cursor: pointer;
}

.btn-red {
  background: var(--french-red);
  color: var(--white);
  border-color: var(--french-red);
}
.btn-red:hover { background: transparent; color: var(--white); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: transparent; color: var(--navy); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease infinite;
}
.scroll-cue::after {
  content: '';
  width: 1px; height: 36px;
  background: rgba(255,255,255,0.18);
}

/* ── SHARED SECTION STYLES ── */
.section {
  padding: var(--section-pad) 24px;
}

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

.section-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--french-red);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 14px;
}

.section-lead {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 0;
}

.rule {
  width: 48px; height: 3px;
  background: linear-gradient(to right, var(--french-blue), var(--french-red));
  margin: 18px 0 52px;
}

/* ── SCHEDULE ── */
.schedule-section { background: var(--white); }

.timeline {
  max-width: 680px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 96px; top: 0; bottom: 0;
  width: 1px;
  background: var(--cream-dark);
}

.tl-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0 36px;
  padding: 30px 0;
  border-bottom: 1px solid var(--cream-dark);
  position: relative;
}
.tl-item:last-child { border-bottom: none; }

.tl-time {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--french-blue);
  text-align: right;
  padding-right: 36px;
  padding-top: 3px;
  white-space: nowrap;
}

.tl-dot {
  position: absolute;
  left: 92px; top: 34px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--navy);
}

.tl-body { padding-left: 6px; }

.tl-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.tl-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.tl-sub {
  list-style: none;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.tl-sub li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}
.tl-sub li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--french-red);
  font-size: 0.65rem;
  top: 3px;
}

/* ── NOTICE ── */
.notice-section {
  background: var(--navy);
  padding: 64px 24px;
}
.notice-box {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}
.notice-icon { font-size: 1.8rem; margin-bottom: 18px; }
.notice-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
}
.notice-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
}

/* ── AWARDS ── */
.awards-section { background: var(--cream); }

.award-all {
  background: var(--french-blue);
  border-radius: 8px;
  padding: 36px 44px;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.award-all-left { flex: 1; min-width: 220px; }
.award-all-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}
.award-all-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}
.award-all-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1; min-width: 220px;
}
.award-all-items li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.award-all-items li::before {
  content: '★';
  color: #F4D03F;
  font-size: 0.75rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.award-card {
  background: var(--white);
  border-radius: 6px;
  padding: 28px;
  border-top: 3px solid var(--navy);
  transition: transform var(--t), box-shadow var(--t);
}
.award-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26,47,90,0.12);
}
.award-cat {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--french-red);
  margin-bottom: 8px;
}
.award-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.award-prizes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.award-prizes li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.award-prizes li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--french-blue);
  font-size: 0.7rem;
  top: 1px;
}

/* ── SPONSORS ── */
.sponsors-section { background: var(--white); }

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 14px;
  margin-top: 0;
}
.sponsor-card {
  border: 1px solid var(--cream-dark);
  border-radius: 6px;
  padding: 24px 16px;
  text-align: center;
  transition: border-color var(--t), box-shadow var(--t);
}
.sponsor-card:hover {
  border-color: var(--french-blue);
  box-shadow: 0 4px 20px rgba(0,85,164,0.09);
}
.sponsor-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: calc(var(--nav-height) + 64px) 24px 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 31px,
      rgba(255,255,255,0.03) 31px,
      rgba(255,255,255,0.03) 32px
    );
  pointer-events: none;
}
.page-hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--french-red);
  margin-bottom: 12px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.05;
}

/* ── REGISTER PAGE ── */
.register-section { background: var(--white); }

.register-note {
  background: #FFF8E1;
  border-left: 3px solid #E6B800;
  padding: 14px 20px;
  border-radius: 0 4px 4px 0;
  font-size: 0.9rem;
  color: #7a5f00;
  font-weight: 500;
  margin-bottom: 40px;
}

.form-placeholder {
  border: 2px dashed var(--cream-dark);
  border-radius: 8px;
  padding: 80px 40px;
  text-align: center;
  background: var(--cream);
}
.form-icon { font-size: 3rem; margin-bottom: 20px; opacity: 0.45; }
.form-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.form-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ── CONTACT PAGE ── */
.contact-section { background: var(--white); }

.contact-email-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: 6px;
  padding: 18px 28px;
  margin-bottom: 40px;
  text-decoration: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.contact-email-card:hover {
  border-color: var(--french-blue);
  box-shadow: 0 4px 20px rgba(0,85,164,0.09);
}
.contact-email-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}
.contact-email-addr {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
}

/* ── ABOUT PAGE ── */
.about-story { background: var(--white); }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.story-block {
  border-radius: 6px;
  padding: 40px;
}
.story-block.fr { background: var(--navy); }
.story-block.en {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
}

.story-lang {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.story-block.fr .story-lang { color: rgba(255,255,255,0.4); }
.story-block.en .story-lang { color: var(--french-red); }

.story-h {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
}
.story-block.fr .story-h { color: var(--white); }
.story-block.en .story-h { color: var(--navy); }

.story-p { font-size: 0.975rem; line-height: 1.8; }
.story-block.fr .story-p { color: rgba(255,255,255,0.7); font-style: italic; }
.story-block.en .story-p { color: var(--text-muted); }

.team-section { background: var(--cream); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.team-card {
  background: var(--white);
  border-radius: 6px;
  padding: 32px 28px;
  text-align: center;
  border-bottom: 3px solid var(--navy);
  transition: transform var(--t), box-shadow var(--t);
}
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(26,47,90,0.1);
}

.team-avatar {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 auto 16px;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.team-role {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--french-red);
}

.nonprofit {
  text-align: center;
  margin-top: 40px;
  padding: 22px 28px;
  background: var(--navy);
  border-radius: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  font-style: italic;
}

/* ── FOOTER ── */
footer {
  background: var(--navy-dark);
}
.footer-body {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 48px 32px 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 22px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
}
.footer-logo span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.footer-nav {
  display: flex;
  gap: 22px;
  list-style: none;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color var(--t);
}
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.28); }
.footer-email {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  transition: color var(--t);
}
.footer-email:hover { color: var(--white); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  margin-top: 0;
}

.gallery-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-section-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.gallery-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gallery-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  aspect-ratio: 1;
  transition: transform var(--t), box-shadow var(--t);
  cursor: pointer;
}

.gallery-img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(26,47,90,0.15);
}

/* ── FORMS ── */
.registration-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 560px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input {
  padding: 12px 16px;
  border: 1px solid var(--cream-dark);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--t), box-shadow var(--t);
}

.form-group input:focus {
  outline: none;
  border-color: var(--french-blue);
  box-shadow: 0 0 0 3px rgba(0,85,164,0.1);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.registration-form button {
  align-self: flex-start;
  padding: 14px 32px;
  font-size: 1rem;
  margin-top: 12px;
}

.form-message {
  padding: 16px;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 12px;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .award-all { flex-direction: column; }
}

@media (max-width: 600px) {
  :root { --section-pad: 60px; }

  .timeline::before { left: 76px; }
  .tl-item { grid-template-columns: 76px 1fr; }
  .tl-dot { left: 72px; }
  .tl-time { font-size: 0.82rem; padding-right: 28px; }

  .hero::after { left: 48px; }

  .story-block { padding: 28px 24px; }
  .form-placeholder { padding: 52px 24px; }
  .award-all { padding: 28px 24px; }

  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
