/* House Of Fit — design system
   Palette + font + dark-mode-only decision per docs/content-brief.md and
   registry/context-profiles/house-of-fit-website.yaml. Architecture (custom
   properties, component classes, breakpoints) adapted from
   personal-company-de-sully's style.css — mechanics reused, values are HOF's own.

   Contrast note: raw crimson (--color-crimson) on this dark background is only
   ~2.6:1 — fails WCAG AA even for large text. It's used as a fill/border/graphic
   color only, never as a standalone text color on the dark page background.
   --color-crimson-text is a lightened variant safe for text (~6:1). Pink
   (--color-pink) is the workhorse link/accent text color (~4.6:1). */

@font-face {
  font-family: "Universidad";
  src: url("/assets/fonts/universidad/UNIVERSIDAD-PERSONAL-USE.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #0B0B0D;
  --color-surface: #17171B;
  --color-surface-raised: #202024;
  --color-text: #F4F1EE;
  --color-text-muted: #B7B2AC;
  --color-crimson: #A31F36;        /* fills/borders/graphics on this dark bg only */
  --color-crimson-text: #C8798A;   /* lightened — safe as text-on-dark, ~6:1 */
  --color-pink: #EC008C;
  --color-pink-text: #FF4FB8;      /* slightly lightened pink, extra contrast margin */
  --color-green-cta: #1f6f55;      /* only inside light/white-background zones */
  --color-border: rgba(244, 241, 238, 0.12);

  --font-heading: "Universidad", "Impact", "Arial Narrow", sans-serif;
  --font-body: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gradient-rainbow: linear-gradient(90deg, #A31F36, #EC008C, #FFB000, #1f6f55, #2F8FD1, #A31F36);

  --max-width: 1120px;
  --gutter: 24px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
  color: var(--color-text);
}

h1 { font-size: 3rem; font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.1; }
h2 { font-size: 2rem; font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.2; }
h3 { font-size: 1.1rem; }

p { margin: 0 0 1.2em; }

a {
  color: var(--color-pink-text);
  text-decoration: none;
  background-image: var(--gradient-rainbow);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 2px;
  transition: background-size 0.2s ease;
}
a:hover, a:focus-visible { background-size: 100% 3px; }

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

.tbd {
  background: rgba(236, 0, 140, 0.14);
  color: var(--color-text);
  padding: 0 4px;
  font-size: 0.85em;
}

.disclaimer { color: var(--color-text-muted); font-size: 0.85rem; }

/* ---------------------------------------------------------------- */
/* Buttons — background-image:none so they never pick up the global   */
/* rainbow-underline rule                                              */
/* ---------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 2px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 400;
  background-image: none;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

/* Default CTA fill for the dark page background — white-on-crimson computes
   to ~7.5:1, comfortably safe (unlike crimson used as text, see header note). */
.btn-primary {
  background: var(--color-crimson);
  color: #fff;
}
.btn-primary:hover { background: var(--color-pink); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-ghost:hover { background: var(--color-surface-raised); }

/* The brief's own rule: #1f6f55 CTA only inside a light/white-background
   zone (e.g. a card sitting on the header photo) — never as a button
   directly on the dark page background. */
.btn-cta-light {
  background: var(--color-green-cta);
  color: #fff;
}
.btn-cta-light:hover { background: #17573f; }

.read-more { font-size: 0.9rem; display: inline-block; }

/* ---------------------------------------------------------------- */
/* Top navigation                                                     */
/* ---------------------------------------------------------------- */

.site-header {
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.2rem;
  color: var(--color-text);
  line-height: 1;
}

.wordmark { background-image: none; }   /* no sitewide rainbow underline on the logo link */
/* No badge: transparent mark, with a thin light edge + shadow so its dark-red outline reads on the dark header. */
.wordmark img { height: 40px; width: 40px; display: block;
  filter: drop-shadow(0 0 1px rgba(255,240,245,0.85)) drop-shadow(0 1px 4px rgba(0,0,0,0.6)); }
/* H, O, F in pink like the hero title, with a staggered "lift" on load and on hover. */
.wordmark .letter-accent { display: inline-block; color: var(--color-pink-text); animation: hof-lift 0.6s ease 0.3s both; }
.wordmark .letter-accent:nth-child(2) { animation-delay: 0.42s; }
.wordmark .letter-accent:nth-child(3) { animation-delay: 0.54s; }
.wordmark:hover .letter-accent, .wordmark:focus-visible .letter-accent { animation-name: hof-lift-hover; animation-delay: 0s; }
.wordmark:hover .letter-accent:nth-child(2), .wordmark:focus-visible .letter-accent:nth-child(2) { animation-delay: 0.12s; }
.wordmark:hover .letter-accent:nth-child(3), .wordmark:focus-visible .letter-accent:nth-child(3) { animation-delay: 0.24s; }
@keyframes hof-lift { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-0.28em); color: #fff; } }
@keyframes hof-lift-hover { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-0.28em); color: #fff; } }
@media (prefers-reduced-motion: reduce) { .wordmark .letter-accent { animation: none; } }

main { animation: page-fade-in 0.5s ease both; }

@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  main { animation: none; }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.main-nav a {
  color: var(--color-text);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  /* Unlike the sitewide always-on rainbow underline, the nav underline stays
     hidden until hover/focus, then reveals left-to-right (background-position
     is pinned left, so growing background-size from 0 draws it outward). */
  background-size: 0 2px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background-size: 100% 3px;
}

.main-nav a[aria-current="page"] {
  color: var(--color-pink-text);
  background-size: 100% 3px;
}

.nav-cta a {
  background: var(--color-crimson);
  color: #fff;
  padding: 8px 16px;
  border-radius: 2px;
  background-image: none;
  font-size: 0.88rem;
}
.nav-cta a:hover { background: var(--color-pink); }
.nav-cta a[aria-current="page"] { background: var(--color-pink); color: #fff; }

.lang-toggle {
  display: flex;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.lang-toggle a { color: var(--color-text-muted); background-image: none; }
.lang-toggle a[aria-current="true"] { color: var(--color-pink-text); font-weight: 700; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span:nth-child(1) { background: var(--color-crimson); color: var(--color-crimson); }
.nav-toggle span:nth-child(2) { background: rgb(190, 24, 105); color: rgb(190, 24, 105); }
.nav-toggle span:nth-child(3) { background: var(--color-pink); color: var(--color-pink); }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Open state reads as a barbell "X": at each end of both crossing bars, a large inner plate
   and a smaller outer plate (currentColor = the bar's colour), set 2px in from the tip so a
   short bit of bar sticks out like a real sleeve. One pseudo-element per end, two gradients. */
.nav-toggle[aria-expanded="true"] span:nth-child(1),
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  position: relative;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1)::before,
.nav-toggle[aria-expanded="true"] span:nth-child(1)::after,
.nav-toggle[aria-expanded="true"] span:nth-child(3)::before,
.nav-toggle[aria-expanded="true"] span:nth-child(3)::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 10px;
  transform: translateY(-50%);
  background:
    linear-gradient(currentColor, currentColor) var(--outer-x) 50% / 2px 6px no-repeat,
    linear-gradient(currentColor, currentColor) var(--inner-x) 50% / 2px 10px no-repeat;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1)::before,
.nav-toggle[aria-expanded="true"] span:nth-child(3)::before { left: 2px; --outer-x: 0; --inner-x: 3px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1)::after,
.nav-toggle[aria-expanded="true"] span:nth-child(3)::after { right: 2px; --outer-x: 3px; --inner-x: 0; }

@media (max-width: 1140px) {
  .site-header .container { position: relative; }
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 20px var(--gutter) 28px;
  }

  .main-nav.is-open { display: flex; }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
  }

  .nav-cta { margin-top: 4px; }
}

/* ---------------------------------------------------------------- */
/* Header photo band (Accueil) — brief's HelloAsso-photo reference:   */
/* a wide photo with the logo centered on top                         */
/* ---------------------------------------------------------------- */

.header-photo {
  position: relative;
  height: 240px;
  background: var(--color-surface) center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,13,0.35), rgba(11,11,13,0.75));
}
.header-photo img {
  position: relative;
  z-index: 1;
  max-height: 120px;
  width: auto;
}
.header-photo.is-placeholder {
  border-bottom: 1px dashed var(--color-border);
}

.page-hero { padding: 8vh var(--gutter) 4vh; text-align: center; }
.page-hero .strapline { margin: 0 auto; }

.strapline {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--color-text-muted);
  max-width: 46ch;
}

.hero { padding-top: 6vh; padding-bottom: 6vh; text-align: center; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 1.5em; justify-content: center; }

.positioning {
  max-width: 760px;
  margin: 0 auto;
  padding: 5vh var(--gutter);
  text-align: center;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.6;
}

/* ---------------------------------------------------------------- */
/* Generic sections and grids                                         */
/* ---------------------------------------------------------------- */

.section { padding-top: 6vh; padding-bottom: 6vh; }
.section-title { text-align: center; margin-bottom: 1em; }
.section-intro { text-align: center; color: var(--color-text-muted); margin-top: -0.6em; margin-bottom: 2em; }

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

.coming-soon { text-align: center; max-width: 640px; margin: 0 auto; }
.coming-soon-mark { font-size: 3rem; margin-bottom: 0.4em; }

/* ---------------------------------------------------------------- */
/* Team / board grid ("Nous connaître")                               */
/* ---------------------------------------------------------------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr; } }

.avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-raised);
  color: var(--color-pink-text);
  font-family: var(--font-heading);
  border-radius: 50%;
}

.team-card img, .team-card .avatar-placeholder {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1em;
  font-size: 1.5rem;
}
.team-role { color: var(--color-pink-text); font-weight: 600; margin-bottom: 0.6em; }

/* ---------------------------------------------------------------- */
/* Agenda                                                              */
/* ---------------------------------------------------------------- */

.agenda-photo {
  height: 200px;
  background: var(--color-surface) center/cover no-repeat;
  margin-bottom: 4vh;
}

.agenda-embed {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.agenda-embed iframe {
  width: 100%;
  height: 720px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-surface);
}
@media (max-width: 680px) { .agenda-embed iframe { height: 560px; } }

/* ---------------------------------------------------------------- */
/* Actualités                                                         */
/* ---------------------------------------------------------------- */

.actualites-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 760px) { .actualites-grid { grid-template-columns: 1fr; } }

.actualite-card {
  background: var(--color-surface);
  border-radius: 4px;
  overflow: hidden;
}
.actualite-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.actualite-card .actualite-body { padding: 20px; }
.actualite-date { color: var(--color-text-muted); font-size: 0.85rem; }

.instagram-cta {
  text-align: center;
  padding: 20px;
  background: var(--color-surface);
  border-radius: 4px;
  margin-bottom: 4vh;
}

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

.site-footer {
  background: var(--color-surface);
  color: var(--color-text);
  padding: 6vh 0 4vh;
  margin-top: 8vh;
  font-size: 0.85rem;
  line-height: 1.7;
  border-top: 1px solid var(--color-border);
}

.site-footer a { color: var(--color-text); text-decoration: underline; background-image: none; }
.site-footer p { margin: 0 0 0.6em; }
.footer-tagline { max-width: 60ch; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 1.2em 0;
}

.footer-social { display: flex; gap: 20px; margin: 1.2em 0; }
.footer-social a { text-decoration: none; }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  align-items: center;
  margin: 1.2em 0;
}
.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: var(--color-surface-raised);
  border-radius: 4px;
  min-height: 64px;
}
.partner-card img {
  max-width: 100%;
  max-height: 48px;
  filter: grayscale(1) brightness(1.4);
  opacity: .85;
  transition: filter .2s ease, opacity .2s ease;
}
.partner-card:hover img { filter: none; opacity: 1; }

.footer-legal {
  margin-top: 1.5em;
  padding-top: 1em;
  border-top: 1px solid var(--color-border);
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.footer-legal .tbd { background: rgba(236, 0, 140, 0.25); color: #fff; }


/* ================================================================ */
/* v0.2 — real-content draft components                              */
/* ================================================================ */

.muted { color: var(--color-text-muted); }
.center { text-align: center; }
.lead { font-size: 1.15em; color: var(--color-text); }
.positioning p:not(.lead) { color: var(--color-text-muted); font-size: 0.95em; }
.positioning strong { color: var(--color-text); }

.grad-text {
  background: linear-gradient(90deg, #FF4FB8, #EC008C 40%, #FFB000);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-pink-text);
  margin: 0 0 1em;
  font-weight: 600;
}

/* Hero band: community photo + logo on top (brief). Pink vignette: the photo stays clear in
   the middle and fades into dark crimson/pink toward every edge, then into the page bg at the
   bottom. Text readability comes from a soft dark halo behind the text block + text-shadow. */
.hero-band {
  position: relative;
  background: #1a0710;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-photo, .hero-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero-photo { z-index: -2; }
.hero-photo img { object-fit: cover; object-position: 50% 35%; }
.hero-band::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    /* bottom fade into the page */
    linear-gradient(180deg, rgba(11,11,13,0) 66%, rgba(11,11,13,0.75) 90%, var(--color-bg) 100%),
    /* dark halo right behind the centred text block */
    radial-gradient(36% 32% at 50% 50%, rgba(11,11,13,0.7) 0%, rgba(11,11,13,0.42) 55%, rgba(11,11,13,0) 100%),
    /* the pink/crimson vignette: clear centre -> dark pink edges */
    radial-gradient(ellipse 70% 78% at 50% 48%, rgba(92,10,48,0) 22%, rgba(120,12,64,0.5) 52%, rgba(80,8,42,0.88) 78%, rgba(45,5,25,0.97) 100%);
}
@media (max-aspect-ratio: 1/1) {
  /* portrait/mobile: the crop is mostly faces, so a rounder vignette and a taller text halo */
  .hero-band::before {
    background:
      linear-gradient(180deg, rgba(11,11,13,0) 64%, rgba(11,11,13,0.8) 88%, var(--color-bg) 100%),
      radial-gradient(70% 36% at 50% 50%, rgba(11,11,13,0.6) 0%, rgba(11,11,13,0.3) 65%, rgba(11,11,13,0) 100%),
      radial-gradient(ellipse 90% 60% at 50% 46%, rgba(92,10,48,0) 18%, rgba(120,12,64,0.55) 50%, rgba(80,8,42,0.92) 82%, rgba(45,5,25,0.97) 100%);
  }
}
.hero-band-inner { min-height: min(78vh, 760px); display: flex; flex-direction: column; justify-content: center; }
.hero-band .eyebrow { text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 2px 14px rgba(0,0,0,0.85); }
.hero-tagline { filter: drop-shadow(0 1px 2px rgba(0,0,0,0.95)) drop-shadow(0 2px 10px rgba(0,0,0,0.8)); }
.hero-credit {
  position: absolute; right: 12px; bottom: 8px; z-index: 1;
  margin: 0; font-size: 0.7rem; color: rgba(255,255,255,0.7);
}
.hero-credit a { color: inherit; }
.hero-band-inner { position: relative; z-index: 1; padding-bottom: 10vh;
  /* keep the text block below the logo on the ivy (.hero-logo ends at 20.5% of the band) */
  padding-top: max(9vh, calc(min(78vh, 760px) * 0.235)); }
.hero-logo {
  /* no badge: the transparent artwork sits on the ivy in the top ~21% of the photo, above the
     heads (the photo fills the band's height, so % of the band tracks the foliage). The two
     drop-shadows keep the dark-red outline readable on the dark leaves. */
  position: absolute; left: 50%; top: 2%; transform: translateX(-50%);
  height: 18.5%; width: auto; margin: 0;
  filter: drop-shadow(0 0 1.5px rgba(255,240,245,0.85)) drop-shadow(0 3px 10px rgba(0,0,0,0.75));
}
.hero-title {
  font-size: 4.5rem;
  font-size: clamp(2.2rem, 10.5vw, 7.5rem);   /* "Of" is full size now: one line down to ~320px */
  line-height: 0.95;
  margin: 0 0 0.25em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.75), 0 2px 6px rgba(0,0,0,0.6);
}
.hero-title .letter-accent { color: var(--color-pink-text); }
.hero-tagline { font-size: clamp(1.1rem, 2.4vw, 1.5rem); margin: 0 0 0.5em; font-weight: 600; }

/* Judge scorecards — perfect-10 paper cards held up at a slight tilt, like
   the reference photo, dropped into the "aiming for the ... across the
   board" line. */
.score-tiles { white-space: nowrap; }
.score-tile {
  display: inline-block;
  background: #f2ede4;
  color: #17181a;
  font-weight: 800;
  padding: 0.02em 0.26em 0.06em;
  margin: 0 0.06em;
  border-radius: 3px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
  line-height: 1.15;
  vertical-align: -0.05em;
}
.score-tile--a { transform: rotate(-8deg); }
.score-tile--b { transform: rotate(5deg); }
.score-tile--c { transform: rotate(-3deg); }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .card-grid, .card-grid--2 { grid-template-columns: 1fr; } }

.card, .venue-card, .join-card, .product-card, .contact-card, .step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 28px;
  position: relative;
}
.card::before {
  content: "";
  position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: var(--gradient-rainbow);
  border-radius: 6px 6px 0 0;
  opacity: 0.85;
}
.card h3, .venue-card h3, .step h3, .product-card h3 { font-size: 1.5rem; }
.card p:last-child { margin-bottom: 0; }
.card-kicker {
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-crimson-text); margin-bottom: 0.6em; font-weight: 700;
}

/* Sessions list */
.session-list { list-style: none; padding: 0; margin: 0 auto 1.5em; max-width: 820px; display: grid; gap: 12px; }
.session-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 14px 18px;
}
.session-date {
  flex: 0 0 72px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--color-crimson); border-radius: 4px; padding: 8px 0; line-height: 1;
}
.session-day { font-family: var(--font-heading); font-size: 1.8rem; color: #fff; }
.session-month { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; margin-top: 4px; }
.session-info { flex: 1 1 200px; min-width: 0; }
.session-info p { margin: 0; }
.session-kind { font-family: var(--font-heading); text-transform: uppercase; font-size: 1.2rem; }
.session-kind--happy { color: #FFC24D; }
.session-meta { color: var(--color-text-muted); font-size: 0.88rem; }
.session-action { display: flex; align-items: center; gap: 14px; }
.session-price { font-weight: 700; white-space: nowrap; }
.btn-small { padding: 8px 16px; font-size: 0.85rem; background: var(--color-crimson); color: #fff; }
.btn-small:hover { background: var(--color-pink); }
@media (max-width: 560px) {
  .session-date { flex-basis: 60px; }
  .session-info { flex-basis: 0; }
  .session-action { flex: 1 1 100%; justify-content: space-between; border-top: 1px solid var(--color-border); padding-top: 10px; }
}

/* Venue + membership split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.join-card {
  background: linear-gradient(145deg, #5c1020 0%, var(--color-crimson) 55%, #b3006b 100%);
  border: none;
}
.join-card .card-kicker { color: rgba(255,255,255,0.8); }
.join-card .btn-primary { background: #fff; color: var(--color-crimson); }
.join-card .btn-primary:hover { background: var(--color-text); color: var(--color-pink); }
.price { font-family: var(--font-heading); font-size: 3rem; line-height: 1; margin: 0.1em 0 0.3em; }
.price span { font-family: var(--font-body); font-size: 1rem; opacity: 0.8; }

.story-teaser { text-align: center; max-width: 760px; }
.story-teaser p { color: var(--color-text-muted); font-size: 1.1rem; }

/* Team */
.team-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 860px) { .team-grid--4 { grid-template-columns: repeat(2, 1fr); } }
.team-card { text-align: center; }
.team-card .avatar-placeholder {
  width: 110px; height: 110px; margin: 0 auto 1em; font-size: 1.1rem;
  border: 2px dashed rgba(236,0,140,0.4);
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 0.3em; }

/* Join steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-crimson); color: #fff;
  font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 0.8em;
}

/* Light zone — the only place the brief's green CTA is used */
.contact-card {
  background: #F4F1EE; color: #17171B; text-align: center; max-width: 680px; margin: 0 auto; border: none;
}
.contact-card h2 { color: #17171B; }
.contact-card p { color: #3a3a40; }

/* Shop / member coming-soon */
.coming-soon-logo { width: 140px; height: 140px; padding: 12px; box-sizing: border-box; border-radius: 50%; background: #fbeef2; margin: 0 auto 1.5em; display: block; }
.product-card { max-width: 420px; margin: 0 auto; text-align: center; }
.empty-state { padding: 4vh 0; }

/* Agenda embed: calendar renders on white — frame it as a light zone */
.agenda-embed { padding: 0; }
.agenda-embed iframe { background: #fff; border-radius: 6px; }

/* Footer v0.2 */
.footer-top { display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; gap: 12px; } }
.footer-wordmark { font-family: var(--font-heading); font-size: 1.6rem; text-transform: uppercase; margin-bottom: 0.3em; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin: 0; }
.footer-social { flex-direction: column; gap: 6px; margin: 0; }
.footer-partners { margin-top: 2.5em; }
.footer-label { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-text-muted); }
.partners-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .partners-grid { grid-template-columns: 1fr 1fr; } }
.partner-card .tbd { font-size: 0.75rem; }

/* The Universidad font ships without digits (they render as stars), so every
   numeric element uses a heavy condensed body stack instead. */
:root { --font-numeric: "Impact", "Haettenschweiler", "Arial Narrow Bold", "Helvetica Neue", Arial, sans-serif; }
.session-day, .price, .step-num { font-family: var(--font-numeric); font-weight: 700; letter-spacing: 0.01em; }
.venue-card h3 { font-family: var(--font-body); font-weight: 800; letter-spacing: 0.04em; }
.footer-social .tbd { align-self: flex-start; }

.contact-alt { margin: 1em 0 0; }
.legal-page h2 { margin-top: 1.8em; font-size: 1.2rem; }
.legal-page dl { display: grid; grid-template-columns: minmax(9em, max-content) 1fr; gap: 0.4em 1.2em; }
.legal-page dt { color: var(--color-crimson-text); }
.legal-page dd { margin: 0; }
@media (max-width: 600px) { .legal-page dl { grid-template-columns: 1fr; } .legal-page dd { margin-bottom: 0.6em; } }
