@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --ink:        #0f1318;
  --ink-mid:    #1c2330;
  --ink-light:  #273041;
  --off-white:  #f4f2ef;
  --cream:      #eeebe5;
  --white:      #ffffff;
  --accent:     #1a3cff;          /* strong institutional blue */
  --accent-hover:#0028e0;
  --muted:      #8896aa;
  --border:     rgba(255,255,255,0.09);
  --border-light: rgba(15,19,24,0.1);

  --font:       'Red Hat Display', sans-serif;
}

/* ─── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

/* ─── NAV ─────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  background: rgba(12, 16, 22, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-logo {
  text-decoration: none;
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.35;
  max-width: 200px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.25rem;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }

.nav-cta {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  color: #fff !important;
  background: var(--accent);
  padding: 0.45rem 1.1rem;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: rgba(255,255,255,0.8);
  transition: all 0.25s;
}

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  height: auto;
  min-height: 520px;
  background: #1e2640;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding: 80px 3rem 4rem;
  overflow: visible;
}

/* Starfield */
.hero-stars {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 8%  22%, rgba(255,255,255,0.55) 0%, transparent 100%),
    radial-gradient(1px 1px at 76% 14%, rgba(255,255,255,0.45) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 43% 60%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 61% 78%, rgba(255,255,255,0.28) 0%, transparent 100%),
    radial-gradient(1px 1px at 22% 71%, rgba(255,255,255,0.22) 0%, transparent 100%),
    radial-gradient(2px 2px at 89% 42%, rgba(255,255,255,0.18) 0%, transparent 100%),
    radial-gradient(1px 1px at 54% 31%, rgba(255,255,255,0.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 33% 88%, rgba(255,255,255,0.15) 0%, transparent 100%),
    radial-gradient(1px 1px at 68% 55%, rgba(255,255,255,0.12) 0%, transparent 100%);
  background-size: 700px 700px, 500px 500px, 600px 600px, 800px 800px, 650px 650px, 450px 450px, 550px 550px, 750px 750px, 480px 480px;
}

.hero-glow {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 38%, rgba(26,60,255,0.22) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  width: 100%;
  padding-top: 1.25rem;
}

.hero-title {
  font-size: clamp(2.65rem, 6.3vw, 4.55rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.18em;
  line-height: 1;
  margin-bottom: 0.6rem;
}

/* Rotating tagline */
.hero-tagline-wrap {
  height: 1.5rem;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.25rem;
}

.hero-tagline {
  position: absolute;
  left: 0; right: 0;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  opacity: 0;
  transition: opacity 0.7s ease;
}
.hero-tagline.visible { opacity: 1; }

.hero-body {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.72;
  margin-bottom: 1.5rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.hero-body p + p { margin-top: 0.65rem; }

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.9rem;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.22s;
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.45);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.8);
}
.btn-solid {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.btn-solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn-ink {
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
}
.btn-ink:hover { background: var(--ink-light); }

.btn-light {
  background: var(--off-white);
  color: var(--ink);
  border: 1px solid var(--cream);
}
.btn-light:hover { background: var(--cream); }

/* ─── DISCOVER / AUDIENCE SECTION ────────────────────────── */
.audience-wrap {
  position: relative;
  z-index: 10;
  margin-top: 0;
  padding: 0 2.5rem 5rem;
}

.audience-panel {
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: 0 24px 70px rgba(0,0,0,0.22), 0 4px 14px rgba(0,0,0,0.09);
  padding: 0 2rem 2rem;
}

/* Blue rule at top of panel */
.audience-panel::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(26,60,255,0.25) 55%, transparent 100%);
  margin-bottom: 1.75rem;
}

.audience-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.audience-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.audience-sub {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--off-white);
  border: 1px solid var(--border-light);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26,60,255,0.09);
  border-color: rgba(26,60,255,0.25);
}

.card-thumb {
  height: 110px;
  display: flex;
  align-items: flex-end;
  padding: 0.65rem 0.8rem;
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  line-height: 1.3;
  letter-spacing: 0.02em;
}

/* Card thumbnail images — subtle scrim only at the bottom for label legibility */
.g1 { background: linear-gradient(to top, rgba(4,10,22,0.65) 0%, rgba(4,10,22,0.0) 45%), url('images/g1.webp') center/cover no-repeat; }
.g2 { background: linear-gradient(to top, rgba(4,10,22,0.65) 0%, rgba(4,10,22,0.0) 45%), url('images/g2.webp') center/cover no-repeat; }
.g3 { background: linear-gradient(to top, rgba(4,10,22,0.65) 0%, rgba(4,10,22,0.0) 45%), url('images/g3.webp') center/cover no-repeat; }
.g4 { background: linear-gradient(to top, rgba(4,10,22,0.65) 0%, rgba(4,10,22,0.0) 45%), url('images/g4.webp') center/cover no-repeat; }
.g5 { background: linear-gradient(to top, rgba(4,10,22,0.65) 0%, rgba(4,10,22,0.0) 45%), url('images/g5.webp') center/cover no-repeat; }
.g6 { background: linear-gradient(to top, rgba(4,10,22,0.65) 0%, rgba(4,10,22,0.0) 45%), url('images/g6.webp') center/cover no-repeat; }
.g7 { background: linear-gradient(to top, rgba(4,10,22,0.65) 0%, rgba(4,10,22,0.0) 45%), url('images/g7.webp') center/cover no-repeat; }
.g8 { background: url('images/g8.webp') center/cover no-repeat; }

.card-body {
  padding: 0.8rem 0.85rem 0.9rem;
}
.card-body h3 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.3rem;
  line-height: 1.35;
}
.card-body p {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 0.45rem;
}
.card-link {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 500;
}

/* ─── PILOT PROGRAM ───────────────────────────────────────── */
.pilot {
  background: var(--ink);
  color: #fff;
  padding: 5rem 2.5rem;
  text-align: center;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.pilot-tagline {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
}

.pilot-box {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  text-align: left;
}

.pilot-box p {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  flex: 1;
}

/* ─── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--ink);
  padding: 120px 2.5rem 56px;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.page-hero .hero-stars,
.page-hero .hero-glow { position: absolute; inset: 0; }

/* ─── PAGE-HERO BACKGROUND IMAGES ───────────────────────────── */
.page-hero.hero-bg-curators,
.page-hero.hero-bg-educators,
.page-hero.hero-bg-funds,
.page-hero.hero-bg-makers,
.page-hero.hero-bg-policies,
.page-hero.hero-bg-venues,
.page-hero.hero-bg-distributors,
.page-hero.hero-bg-pilot,
.page-hero.hero-bg-why-impres {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.page-hero.hero-bg-curators    { background-image: linear-gradient(to right, rgba(10,16,40,0.72) 40%, rgba(10,16,40,0.35) 100%), url('images/hero-curators.webp'); }
.page-hero.hero-bg-educators   { background-image: linear-gradient(to right, rgba(10,16,40,0.72) 40%, rgba(10,16,40,0.35) 100%), url('images/hero-educators.webp'); }
.page-hero.hero-bg-funds       { background-image: linear-gradient(to right, rgba(10,16,40,0.72) 40%, rgba(10,16,40,0.35) 100%), url('images/hero-funds.webp'); }
.page-hero.hero-bg-makers      { background-image: linear-gradient(to right, rgba(10,16,40,0.72) 40%, rgba(10,16,40,0.35) 100%), url('images/hero-makers.webp'); }
.page-hero.hero-bg-policies    { background-image: linear-gradient(to right, rgba(10,16,40,0.72) 40%, rgba(10,16,40,0.35) 100%), url('images/hero-policies.webp'); }
.page-hero.hero-bg-venues      { background-image: linear-gradient(to right, rgba(10,16,40,0.72) 40%, rgba(10,16,40,0.35) 100%), url('images/hero-venues.webp'); }
.page-hero.hero-bg-distributors{ background-image: linear-gradient(to right, rgba(10,16,40,0.72) 40%, rgba(10,16,40,0.35) 100%), url('images/hero-xr_service_providers.webp'); }
.page-hero.hero-bg-pilot       { background-image: linear-gradient(to right, rgba(10,16,40,0.72) 40%, rgba(10,16,40,0.35) 100%), url('images/hero-pilot.webp'); }
.page-hero.hero-bg-why-impres  { background-image: linear-gradient(to right, rgba(10,16,40,0.72) 40%, rgba(10,16,40,0.35) 100%), url('images/hero-why-impres.webp'); }
/* Hide the animated star/glow overlays when a photo bg is present */
.page-hero.hero-bg-curators .hero-stars,
.page-hero.hero-bg-educators .hero-stars,
.page-hero.hero-bg-funds .hero-stars,
.page-hero.hero-bg-makers .hero-stars,
.page-hero.hero-bg-policies .hero-stars,
.page-hero.hero-bg-venues .hero-stars,
.page-hero.hero-bg-distributors .hero-stars,
.page-hero.hero-bg-pilot .hero-stars,
.page-hero.hero-bg-why-impres .hero-stars { display: none; }

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.page-hero-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.8rem;
}

.page-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  max-width: 700px;
}

.page-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.62);
  max-width: 580px;
  line-height: 1.7;
}

/* ─── CONTENT PAGE ────────────────────────────────────────── */
.content-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2.5rem 6rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
}

.content-main h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin: 2.5rem 0 0.75rem;
  line-height: 1.2;
}
.content-main h2:first-child { margin-top: 0; }

.content-main p {
  font-size: 0.97rem;
  color: #374151;
  line-height: 1.82;
  margin-bottom: 1.1rem;
}

.content-main ul {
  margin: 0.5rem 0 1.25rem 1.25rem;
  color: #374151;
}
.content-main ul li {
  margin-bottom: 0.45rem;
  font-size: 0.97rem;
  line-height: 1.7;
}

.content-main .cta-block {
  margin-top: 3rem;
  padding: 1.75rem 2rem;
  background: var(--off-white);
  border-left: 3px solid var(--accent);
}
.content-main .cta-block p {
  margin-bottom: 1rem;
  color: var(--ink);
}

/* Sidebar */
.content-sidebar {
  padding-top: 0;
}
.sidebar-block {
  background: var(--off-white);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-block h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.sidebar-block ul { list-style: none; }
.sidebar-block ul li {
  border-bottom: 1px solid var(--border-light);
  padding: 0.5rem 0;
}
.sidebar-block ul li:last-child { border-bottom: none; }
.sidebar-block ul a {
  text-decoration: none;
  font-size: 0.82rem;
  color: var(--ink);
  transition: color 0.2s;
}
.sidebar-block ul a:hover { color: var(--accent); }
.sidebar-block ul a.current { color: var(--accent); font-weight: 600; }

/* ─── EVENTS PAGE ─────────────────────────────────────────── */
.events-grid {
  max-width: 800px;
}
.event-row {
  display: flex;
  gap: 2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-light);
  align-items: baseline;
}
.event-date {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
  min-width: 140px;
  flex-shrink: 0;
}
.event-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.event-loc {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Press */
.press-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-light);
}
.press-item a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s;
}
.press-item a:hover { color: var(--accent); }
.press-item p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* ─── CONTACT ─────────────────────────────────────────────── */
.contact-email-block {
  background: var(--off-white);
  border: 1px solid var(--border-light);
  padding: 2.5rem;
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.contact-email-block p {
  color: #374151;
  margin-bottom: 1.5rem;
}

/* The email is rendered as an SVG image — not selectable text */
.email-img-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.email-img-wrap svg {
  height: 32px;
  width: auto;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--ink-mid);
  color: var(--off-white);
  padding: 4rem 2.5rem 2.5rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-logo {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.45;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.75rem;
}

.footer-col h5 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}

.footer-col p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a {
  text-decoration: none;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* ─── UTILITIES ───────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .content-wrap { grid-template-columns: 1fr; }
  .content-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}

@media (max-width: 768px) {
  .site-nav { padding: 0 1.25rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--ink-mid); padding: 1.25rem 1.5rem; gap: 0.8rem; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { height: auto; min-height: 0; padding: 70px 1.5rem 0; }
  .hero-content { padding-top: 1.5rem; }
  .audience-wrap { padding: 0 1.25rem 3rem; margin-top: 0; }
  .audience-panel { padding: 0 1.25rem 1.5rem; }
  .audience-header { flex-direction: column; gap: 0.25rem; }
  .cards-grid { grid-template-columns: 1fr; gap: 1rem; }
  .pilot-box { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .content-sidebar { grid-template-columns: 1fr; }
  .page-hero { padding: 90px 1.5rem 40px; }
  .content-wrap { padding: 2.5rem 1.5rem 4rem; }
  .hero-body { font-size: 0.97rem; }
  .event-row { flex-direction: column; gap: 0.25rem; }
  .event-date { min-width: 0; }
}

@media (max-width: 500px) {
  .hero-title { font-size: clamp(3rem, 14vw, 4rem); }
  .hero-actions { flex-direction: column; align-items: center; }
  .cards-grid { grid-template-columns: 1fr; }
}

/* ─── ABOUT SECTION (index.html — 3 editorial cards) ─────── */
.about-section {
  background: var(--off-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 4rem 2.5rem;
}

.about-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.about-section-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.about-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.about-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--border-light);
  transition: transform 0.2s, box-shadow 0.2s, border-top-color 0.2s;
  overflow: hidden;
}

.about-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26, 60, 255, 0.09);
  border-top-color: var(--accent);
}

.about-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.about-card-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.about-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}

.about-card-text {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.about-card-link {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
  margin-top: 0.5rem;
}

/* ─── PARTNERS PAGE ───────────────────────────────────────── */
.partners-intro {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.82;
  margin-bottom: 1.1rem;
}

.partners-grid-section {
  margin: 2.5rem 0;
  border: 1px solid var(--border-light);
}

.partners-grid-section::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(26,60,255,0.2) 60%, transparent 100%);
}

.partners-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.partner-entry {
  padding: 1.4rem 1.6rem;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.partner-entry:nth-child(3n) {
  border-right: none;
}

.partner-entry:nth-last-child(-n+3):nth-child(3n+1),
.partner-entry:nth-last-child(-n+3):nth-child(3n+2),
.partner-entry:nth-last-child(-n+3):nth-child(3n) {
  border-bottom: none;
}

.partner-name {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.partner-location {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ─── RESPONSIVE additions ────────────────────────────────── */
@media (max-width: 1100px) {
  .about-cards { grid-template-columns: 1fr; gap: 1rem; }
  .partners-list { grid-template-columns: repeat(2, 1fr); }
  .partner-entry:nth-child(3n) { border-right: 1px solid var(--border-light); }
  .partner-entry:nth-child(2n) { border-right: none; }
}

@media (max-width: 768px) {
  .about-section { padding: 3rem 1.5rem; }
  .partners-list { grid-template-columns: 1fr; }
  .partner-entry { border-right: none !important; }
}

/* ─── PARTNER LOGO GRID ───────────────────────────────────── */
.partners-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--border-light);
  border: 1px solid var(--border-light);
}

.partner-logo-entry {
  background: var(--white);
  padding: 1.75rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  transition: background 0.18s;
}

.partner-logo-entry:hover {
  background: #f8f7ff;
}

/* Remove right border on last in each row */
.partner-logo-entry:nth-child(3n) {
  border-right: none;
}

/* Remove bottom border on last row (entries 7, 8, 9) */
.partner-logo-entry:nth-last-child(-n+3):nth-child(3n+1),
.partner-logo-entry:nth-last-child(-n+3):nth-child(3n+2),
.partner-logo-entry:nth-last-child(-n+3):nth-child(3n) {
  border-bottom: none;
}

.partner-logo-wrap {
  width: 180px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.partner-logo {
  max-width: 160px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Text fallback for Venice Immersive (no logo supplied) */
.partner-logo-wrap--text {
  background: var(--ink);
  width: 160px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

.partner-logo-text-fallback {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-align: center;
}

.partner-logo-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

/* ─── RESPONSIVE: logo grid ───────────────────────────────── */
@media (max-width: 1100px) {
  .partners-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partner-logo-entry:nth-child(3n) {
    border-right: 1px solid var(--border-light);
  }
  .partner-logo-entry:nth-child(2n) {
    border-right: none;
  }
  /* Reset last-row bottom-border logic for 2 columns */
  .partner-logo-entry:nth-last-child(-n+3):nth-child(3n+1),
  .partner-logo-entry:nth-last-child(-n+3):nth-child(3n+2),
  .partner-logo-entry:nth-last-child(-n+3):nth-child(3n) {
    border-bottom: 1px solid var(--border-light);
  }
  .partner-logo-entry:nth-last-child(-n+2):nth-child(2n+1),
  .partner-logo-entry:nth-last-child(-n+2):nth-child(2n) {
    border-bottom: none;
  }
}

@media (max-width: 600px) {
  .partners-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partner-logo-wrap {
    width: 140px;
    height: 64px;
  }
  .partner-logo {
    max-width: 120px;
    max-height: 56px;
  }
}
