/* GymStation Rabat — bespoke premium dark theme. Hand-written, no framework. */

/* ============ TOKENS ============ */
:root {
  --void: #050505;
  --charcoal: #131313;
  --charcoal-2: #1a1a1a;
  --charcoal-3: #222222;
  --gold: #f5c400;
  --gold-deep: #e0b400;
  --white: #f5f5f2;
  --gray: #9b9b97;
  --gray-dim: #6c6c68;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, sans-serif;

  --radius: 4px;
  --radius-lg: 8px;
  --maxw: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--void);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.gold { color: var(--gold); }

/* ============ HEADER / NAV ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 76px;
  display: flex;
  align-items: center;
  background: rgba(5, 5, 5, 0);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), height 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  height: 66px;
}
.nav-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img { width: 42px; height: 42px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.brand-name b { color: var(--gold); font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--gold);
  color: var(--void);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform 0.2s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.nav-cta:hover {
  background: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(245, 196, 0, 0.22);
}
.nav-cta:active { transform: translateY(0); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
  margin: 0 auto;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media video,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5,5,5,0.92) 0%, rgba(5,5,5,0.62) 42%, rgba(5,5,5,0.35) 100%),
    linear-gradient(0deg, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.1) 45%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 76px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--gold);
}
.hero h1 {
  font-size: clamp(3.4rem, 11vw, 8.5rem);
  line-height: 0.86;
  letter-spacing: 0.005em;
  max-width: 14ch;
}
.hero h1 .line2 { color: var(--gold); display: block; }
.hero-sub {
  margin-top: 24px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  color: var(--white);
  max-width: 30ch;
}
.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-primary {
  background: var(--gold);
  color: var(--void);
}
.btn-primary:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(245, 196, 0, 0.26);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============ SECTIONS ============ */
section { position: relative; }
.section-pad { padding: 110px 0; }
.section-pad-sm { padding: 78px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }

.section-title {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  max-width: 18ch;
}
.section-lead {
  margin-top: 22px;
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 56ch;
}

/* ============ INTRO (split) ============ */
.intro { background: var(--void); }
.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.intro-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
}
.intro-figure img { width: 100%; height: 100%; object-fit: cover; }
.intro-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5,5,5,0.55) 100%);
}
.intro-badge {
  position: absolute;
  left: 22px; bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(5,5,5,0.72);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.intro-badge .num {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--gold);
  line-height: 1;
}
.intro-badge .lbl {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}
.intro-body p + p { margin-top: 18px; }
.intro-body p { color: var(--gray); font-size: 1.05rem; }
.intro-body .lead-line {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
}

/* ============ ACTIVITES (cards) ============ */
.activites { background: var(--charcoal); }
.act-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.act-card {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--charcoal-2);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.act-card:hover { transform: translateY(-6px); border-color: rgba(245,196,0,0.4); }
.act-card .num {
  position: absolute;
  top: 26px; left: 30px;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.act-card .icon {
  position: absolute;
  top: 24px; right: 28px;
  width: 34px; height: 34px;
  color: var(--gold);
  opacity: 0.9;
}
.act-card h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.act-card p { color: var(--gray); font-size: 0.97rem; max-width: 36ch; }
.act-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 80% 0%, rgba(245,196,0,0.07), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.act-card:hover::before { opacity: 1; }
.act-card.tall { grid-row: span 1; }

/* ============ PILIERS ============ */
.piliers { background: var(--void); }
.pil-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.pil {
  padding: 44px 32px 44px 0;
  border-right: 1px solid var(--line);
}
.pil:last-child { border-right: none; padding-right: 0; }
.pil:not(:first-child) { padding-left: 40px; }
.pil .pnum {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.14em;
  margin-bottom: 22px;
}
.pil .icon { width: 40px; height: 40px; color: var(--gold); margin-bottom: 22px; }
.pil h3 { font-size: 2.1rem; margin-bottom: 14px; }
.pil p { color: var(--gray); font-size: 0.98rem; }

/* ============ STATS BAND ============ */
.band {
  background: var(--gold);
  color: var(--void);
}
.band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 54px 0;
}
.band-item { text-align: left; }
.band-item .v {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
}
.band-item .l {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.band-item + .band-item { border-left: 1px solid rgba(5,5,5,0.18); padding-left: 24px; }

/* ============ PROGRAMME / PLANNING ============ */
.programme { background: var(--charcoal); }
.planning-wrap {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--charcoal-2);
}
.planning-scroll { overflow-x: auto; }
table.planning {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
table.planning th,
table.planning td {
  padding: 16px 14px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-size: 0.86rem;
}
table.planning th {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--charcoal-3);
  text-transform: uppercase;
}
table.planning td:first-child,
table.planning th:first-child {
  text-align: left;
  font-weight: 700;
  color: var(--gold);
  background: rgba(245,196,0,0.04);
  position: sticky;
  left: 0;
}
table.planning td:last-child,
table.planning th:last-child { border-right: none; }
table.planning tr:last-child td { border-bottom: none; }
table.planning td { color: var(--gray); }
table.planning td.has { color: var(--white); font-weight: 600; }
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--gray);
}
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }

/* ============ ABONNEMENTS ============ */
.abos { background: var(--void); }
.abo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.abo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--charcoal);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.abo-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.abo-card.featured {
  background: var(--charcoal-2);
  border-color: var(--gold);
  box-shadow: 0 24px 70px rgba(245,196,0,0.12);
}
.abo-tag {
  position: absolute;
  top: -13px; left: 32px;
  padding: 6px 14px;
  background: var(--gold);
  color: var(--void);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
}
.abo-card h3 { font-size: 1.7rem; }
.abo-card .price-note {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--gray);
  min-height: 42px;
}
.abo-features {
  list-style: none;
  margin: 26px 0 30px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.abo-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--white);
}
.abo-features li svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--gold);
  margin-top: 2px;
}
.abo-card .btn { margin-top: auto; width: 100%; justify-content: center; }

/* ============ GALLERY / AMBIANCE ============ */
.ambiance { background: var(--charcoal); }
.amb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
  margin-top: 50px;
}
.amb-cell {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.amb-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
  filter: grayscale(0.15) contrast(1.05);
}
.amb-cell:hover img { transform: scale(1.06); }
.amb-cell.span-2 { grid-column: span 2; }
.amb-cell.row-2 { grid-row: span 2; }
.amb-cell .cap {
  position: absolute;
  left: 16px; bottom: 14px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  z-index: 2;
  text-shadow: 0 2px 18px rgba(0,0,0,0.7);
}
.amb-cell::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5,5,5,0.6) 100%);
}

/* ============ INSTAGRAM ============ */
.insta { background: var(--void); }
.insta-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.insta-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.insta-tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.insta-tile:hover img { transform: scale(1.08); }
.insta-tile .ig-ic {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5,5,5,0.55);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  color: var(--white);
}
.insta-tile:hover .ig-ic { opacity: 1; }

/* ============ CONTACT ============ */
.contact { background: var(--charcoal); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: start;
}
.contact-info .row {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info .row:first-of-type { border-top: 1px solid var(--line); }
.contact-info .ic {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--gold);
  margin-top: 3px;
}
.contact-info .row .k {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-dim);
  margin-bottom: 4px;
}
.contact-info .row .val { font-size: 1rem; font-weight: 600; color: var(--white); }
.contact-info .row .val.small { font-size: 0.9rem; font-weight: 500; color: var(--gray); }
.hours-list { list-style: none; font-size: 0.92rem; color: var(--gray); }
.hours-list li { display: flex; justify-content: space-between; padding: 4px 0; max-width: 280px; }
.hours-list li b { color: var(--white); font-weight: 600; }
.contact-socials { display: flex; gap: 12px; margin-top: 26px; }
.contact-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--white);
  transition: all 0.25s var(--ease);
}
.contact-socials a:hover { background: var(--gold); color: var(--void); border-color: var(--gold); transform: translateY(-2px); }
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-frame iframe { display: block; }

.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 16px 30px;
  background: var(--gold);
  color: var(--void);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform 0.2s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.whatsapp-cta:hover { background: var(--white); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(245,196,0,0.25); }
.whatsapp-cta svg { width: 22px; height: 22px; }

/* ============ INSCRIPTION FORM ============ */
.inscription { background: var(--void); }
.form-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.form-side .step {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.form-side .step:first-child { border-top: 1px solid var(--line); }
.form-side .step .n {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  width: 42px;
}
.form-side .step h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.form-side .step p { font-size: 0.92rem; color: var(--gray); }

form.signup {
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--void);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.96rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--gray-dim); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,196,0,0.14);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.signup .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-note { margin-top: 16px; font-size: 0.82rem; color: var(--gray-dim); text-align: center; }

/* ============ CTA STRIP ============ */
.cta-strip {
  position: relative;
  text-align: center;
  background: var(--charcoal);
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(70% 120% at 50% 0%, rgba(245,196,0,0.12), transparent 60%);
}
.cta-strip .inner { position: relative; z-index: 1; }
.cta-strip h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
.cta-strip p { margin: 20px auto 34px; color: var(--gray); max-width: 48ch; font-size: 1.05rem; }

/* ============ PAGE HERO (interior) ============ */
.page-hero {
  position: relative;
  padding: 150px 0 70px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 60%; height: 180%;
  background: radial-gradient(circle, rgba(245,196,0,0.08), transparent 65%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 6rem); }
.page-hero .crumb {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.page-hero p { margin-top: 18px; color: var(--gray); max-width: 56ch; font-size: 1.05rem; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--void);
  border-top: 1px solid var(--line);
  padding: 70px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--gray); max-width: 36ch; font-size: 0.95rem; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-dim);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--gray); font-size: 0.95rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 26px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--gray-dim); }
.footer-credit { font-size: 0.82rem; color: var(--gray-dim); }
.footer-credit a { color: var(--gray); transition: color 0.2s var(--ease); }
.footer-credit a:hover { color: var(--gold); }

/* ============ SCROLL REVEAL ============ */
/* Progressive enhancement: hidden only when JS is active (html.js).
   Without JS, content is fully visible. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .intro-figure { aspect-ratio: 16 / 11; max-height: 460px; }
  .insta-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-grid { grid-template-columns: 1fr; gap: 40px; }
  .abo-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .abo-card.featured { order: -1; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open {
    height: auto;
    background: var(--void);
    backdrop-filter: none;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 28px 60px rgba(0,0,0,0.7);
    transition: none;
  }
  .site-header.nav-open .nav-inner {
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 18px;
  }
  .site-header.nav-open nav {
    order: 3;
    width: 100%;
    margin-top: 10px;
    border-top: 1px solid var(--line);
  }
  .site-header.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }
  .site-header.nav-open .nav-links a { padding: 16px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .site-header.nav-open .nav-links a::after { display: none; }
  .site-header.nav-open .nav-cta {
    display: inline-flex;
    order: 4;
    width: 100%;
    justify-content: center;
    margin-top: 14px;
  }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .act-grid { grid-template-columns: 1fr; }
  .pil-grid { grid-template-columns: 1fr; }
  .pil { border-right: none; border-bottom: 1px solid var(--line); padding: 34px 0 !important; }
  .pil:last-child { border-bottom: none; }
  .band-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .band-item { padding: 22px 0; }
  .band-item + .band-item { border-left: none; padding-left: 0; }
  .band-item:nth-child(2) { border-left: 1px solid rgba(5,5,5,0.18); padding-left: 24px; }
  .band-item:nth-child(4) { border-left: 1px solid rgba(5,5,5,0.18); padding-left: 24px; }
  .band-item:nth-child(3), .band-item:nth-child(4) { border-top: 1px solid rgba(5,5,5,0.18); padding-top: 22px; }
  .amb-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .amb-cell.span-2 { grid-column: span 2; }
  .insta-tiles { grid-template-columns: repeat(3, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .section-pad { padding: 78px 0; }
}

@media (max-width: 860px) {
  .map-frame iframe { height: 360px; }
  /* programme info cards: force single column on mobile (overrides inline grid) */
  .planning-cards { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .wrap, .nav-inner { padding: 0 18px; }
  .hero h1 { font-size: clamp(2.8rem, 16vw, 4.2rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .amb-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .amb-cell.span-2 { grid-column: span 1; }
  .band-grid { grid-template-columns: 1fr; }
  .band-item + .band-item { border-left: none !important; padding-left: 0 !important; border-top: 1px solid rgba(5,5,5,0.18); padding-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .act-card:hover, .abo-card:hover, .btn:hover, .nav-cta:hover { transform: none; }
}
