/* ==========================================================================
   SREO Program — 5th Edition
   Design system derived from the official Instagram brand assets:
   near-black grainy backgrounds, off-white type, white rounded info bars,
   monochrome 3D geometry, five skill accent tints.
   ========================================================================== */

:root {
  /* color */
  --bg: #0a0a0b;
  --bg-raised: #121215;
  --bg-card: #141418;
  --line: #26262c;
  --line-strong: #3a3a42;
  --ink: #f5f5f3;
  --ink-muted: #a8a8b0;
  --ink-faint: #77777f;
  --paper: #ffffff; /* pure white so baked logo backgrounds blend seamlessly */
  --paper-ink: #0a0a0b;
  --paper-ink-soft: #4a4a52;

  /* skill accents (sampled from the five skill posts) */
  --accent-green: #a3d9b2;
  --accent-purple: #c7b6f0;
  --accent-copper: #e8a678;
  --accent-gold: #e0c76e;
  --accent-steel: #aec3e4;

  /* type */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Helvetica Neue",
    Helvetica, Arial, sans-serif;
  --h1: clamp(2.6rem, 7.5vw, 5.2rem);
  --h2: clamp(1.9rem, 4.4vw, 3.1rem);
  --h3: clamp(1.25rem, 2.4vw, 1.6rem);

  /* rhythm */
  --space: clamp(4.5rem, 10vw, 8.5rem);
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius-lg: 28px;
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1200px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.8, 0.3, 1);
  --dur: 0.55s;

  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.45);
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,
h2,
h3,
h4,
p {
  margin: 0 0 0.6em;
  overflow-wrap: break-word;
}
h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}
h1 {
  font-size: var(--h1);
}
h2 {
  font-size: var(--h2);
}
h3 {
  font-size: var(--h3);
  line-height: 1.25;
}
a {
  color: inherit;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--paper);
  color: var(--paper-ink);
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.25s var(--ease);
}
.skip-link:focus {
  top: 1rem;
}

/* film grain over everything, matching the posts */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 99;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.section {
  padding-block: var(--space);
  position: relative;
}
.section + .section {
  border-top: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--ink-faint);
}
.section-head {
  max-width: 46ch;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-head .lead,
.lead {
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 1.9vw, 1.2rem);
  max-width: 62ch;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s 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-solid {
  background: var(--paper);
  color: var(--paper-ink);
}
.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(245, 245, 243, 0.16);
}
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.btn .arrow {
  transition: transform 0.25s var(--ease);
}
.btn:hover .arrow {
  transform: translateX(4px);
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(10, 10, 11, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-bar {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.brand img {
  height: 30px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
  flex-wrap: nowrap;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 0.55rem 0.72rem;
  border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-links a.is-active {
  color: var(--paper-ink);
  background: var(--paper);
}
.nav-cta {
  margin-left: 0.6rem;
  flex-shrink: 0;
}
.nav-cta .btn {
  min-height: 42px;
  padding: 0.45rem 1.25rem;
  font-size: 0.94rem;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span {
  top: 50%;
  margin-top: -1px;
}
.nav-toggle span::before {
  top: -7px;
}
.nav-toggle span::after {
  top: 7px;
}
.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] span::before {
  transform: translate(-50%, 7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span::after {
  transform: translate(-50%, -7px) rotate(-45deg);
}

@media (max-width: 1023px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: rgba(10, 10, 11, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem var(--gutter) 1.4rem;
    display: none;
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-links a {
    font-size: 1.08rem;
    padding: 0.85rem 1rem;
  }
  .nav-cta {
    display: none;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/instagram/hero-shapes.jpg") center 30% / cover no-repeat;
  opacity: 0.5;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.55) 0%, rgba(10, 10, 11, 0.25) 45%, rgba(10, 10, 11, 0.94) 88%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(7rem, 16vh, 11rem) clamp(3rem, 7vh, 5rem);
}
.hero-partners {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  margin-bottom: 2.4rem;
}
.hero-partners .collab-label {
  flex-basis: 100%;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hero-partners .chip {
  background: #ffffff;
  border-radius: 14px;
  padding: 0.65rem 1.15rem;
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s var(--ease);
}
.hero-partners .chip:hover {
  transform: translateY(-2px);
}
.hero-partners .chip.lead-partner img {
  height: 44px;
}
.hero-partners .chip.co-partner {
  padding: 0.5rem 0.9rem;
  opacity: 0.92;
}
.hero-partners .chip.co-partner img {
  height: 26px;
}
.hero-partners img {
  width: auto;
}
.hero-eyebrow {
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 0.2em;
}
.hero h1 {
  margin-bottom: 0.35em;
}
.hero .hero-sub {
  font-size: clamp(1.08rem, 2.1vw, 1.3rem);
  color: var(--ink-muted);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

/* white meta bar, straight from post 1 */
.meta-bar {
  display: flex;
  flex-wrap: wrap;
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: var(--radius);
  margin-top: 2.6rem;
  overflow: hidden;
}
.meta-bar > div {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: clamp(0.98rem, 1.8vw, 1.12rem);
  flex: 1 1 auto;
}
.meta-bar > div + div {
  border-left: 1px solid rgba(10, 10, 11, 0.16);
}
.meta-bar svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .meta-bar {
    flex-direction: column;
  }
  .meta-bar > div + div {
    border-left: 0;
    border-top: 1px solid rgba(10, 10, 11, 0.16);
  }
}

/* ---------- overview cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.1rem);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.card h3 {
  margin-bottom: 0.5em;
}
.card p {
  color: var(--ink-muted);
  margin-bottom: 0;
}
.card .num {
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 1.1rem;
}

/* ---------- overview: poster treatment (from the "UAE's Largest
   Student-Led Program" post: white banner bar + floating question bubbles) */
.poster-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 2rem;
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.5rem;
  font-weight: 650;
  font-size: clamp(1rem, 2vw, 1.2rem);
  letter-spacing: -0.01em;
}
.poster-banner .half {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.poster-banner .half::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--paper-ink);
  transform: rotate(45deg);
  border-radius: 2px;
  flex-shrink: 0;
}
/* the overview poster: an interactive recreation of the "UAE's Largest
   Student-Led Program" announcement post. Headline + white banner + floating
   parallax speech bubbles over the brand artwork. */
.poster-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-raised);
  padding: clamp(1.6rem, 4vw, 3.2rem);
}
.poster-panel .panel-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 85%;
  opacity: 0.26;
  transition: transform 9s var(--ease);
}
.poster-panel:hover .panel-art {
  transform: scale(1.06);
}
.poster-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 11, 0.82), rgba(10, 10, 11, 0.15) 42%, rgba(10, 10, 11, 0.8) 95%);
  pointer-events: none;
}
.poster-panel > * {
  position: relative;
  z-index: 2;
}
.poster-headline {
  font-size: clamp(2.1rem, 5.4vw, 4rem);
  max-width: 15ch;
  margin-bottom: 0.45em;
}
.poster-sub {
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.9vw, 1.18rem);
  max-width: 52ch;
  margin-bottom: clamp(1.4rem, 3vw, 2rem);
}
.q-field {
  position: relative;
  min-height: clamp(400px, 36vw, 480px);
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}
.q-bubble {
  position: absolute;
  z-index: 2;
  max-width: min(40%, 430px);
  background: linear-gradient(155deg, #1d1d22, #0f0f12 72%);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: clamp(1.3rem, 2.4vw, 1.8rem) clamp(1.4rem, 2.6vw, 2rem);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
  text-align: left;
  text-wrap: pretty;
  box-shadow: var(--shadow-card);
  will-change: transform;
  animation: bubble-float 8s ease-in-out infinite;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease),
    opacity 0.4s var(--ease);
}
/* focus interaction: hovering one bubble softly recedes the others */
.q-field:has(.q-bubble:hover) .q-bubble:not(:hover) {
  opacity: 0.45;
}
.q-bubble:hover {
  border-color: var(--ink-faint);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.6);
  animation-play-state: paused;
}
/* speech-bubble tails */
.q-bubble::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: inherit;
  border: inherit;
  border-top: 0;
  border-left: 0;
  bottom: -10px;
  left: 34px;
  transform: rotate(45deg);
  border-bottom-right-radius: 5px;
}
.q-bubble.flip::after {
  left: auto;
  right: 34px;
}
.q-bubble.b1 { left: 2%; top: 4%; animation-delay: 0s; }
.q-bubble.b2 { right: 2%; top: 30%; animation-delay: -2.6s; }
.q-bubble.b3 { left: 14%; bottom: 4%; animation-delay: -5.2s; }
/* three distinct shades: white, deep grey, mid grey */
.q-bubble.paper {
  background: var(--paper);
  color: var(--paper-ink);
  border-color: var(--paper);
}
.q-bubble.tint {
  background: linear-gradient(155deg, #3a3a41, #26262c 72%);
  border-color: #4a4a52;
}
@keyframes bubble-float {
  0%, 100% { transform: translateY(0) translate(var(--px, 0), var(--py, 0)); }
  50% { transform: translateY(-11px) translate(var(--px, 0), var(--py, 0)); }
}
@media (max-width: 900px) {
  .q-field {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
  }
  .q-bubble {
    position: relative;
    inset: auto;
    max-width: 88%;
  }
  .q-bubble.b1,
  .q-bubble.b2,
  .q-bubble.b3 {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }
  .q-bubble.b2 {
    align-self: flex-end;
  }
}
.overview-note {
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 56ch;
  text-wrap: pretty; /* no single-word orphan lines */
}
.overview-note strong {
  color: var(--ink);
}

/* fact marquee: continuous ticker of provided program facts */
.fact-marquee {
  margin-top: clamp(2rem, 5vw, 3.2rem);
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding-block: 1.05rem;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.fact-marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  padding-inline: 1.4rem;
  white-space: nowrap;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink-muted);
}
.marquee-track span::after {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--ink-faint);
  transform: rotate(45deg);
  border-radius: 2px;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    gap: 0.8rem 0;
  }
  .marquee-track span[aria-hidden="true"] {
    display: none;
  }
  .q-bubble {
    animation: none;
  }
}

/* ---------- edition banner ---------- */
.edition-banner {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4.5vw, 3.2rem);
  background:
    radial-gradient(120% 160% at 85% -20%, rgba(245, 245, 243, 0.07), transparent 55%),
    var(--bg-raised);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  overflow: hidden;
}
.edition-banner .ghost-num {
  position: absolute;
  right: clamp(-1rem, -0.5vw, 0rem);
  top: -2.6rem;
  font-size: clamp(9rem, 22vw, 17rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}
.edition-banner .mark {
  justify-self: center;
  width: min(240px, 60%);
  opacity: 0.9;
}
.edition-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1.6rem;
  margin-top: 1.6rem;
}
.edition-facts div {
  border-left: 2px solid var(--line-strong);
  padding-left: 0.9rem;
}
.edition-facts .k {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.15rem;
}
.edition-facts .v {
  font-weight: 600;
  font-size: 1.05rem;
}
@media (max-width: 860px) {
  .edition-banner {
    grid-template-columns: 1fr;
  }
  .edition-banner .mark {
    order: -1;
    width: 130px;
    justify-self: start;
  }
}

/* ---------- skills ---------- */
.skills-layout {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 1023px) {
  .skills-layout {
    grid-template-columns: 1fr;
  }
}

/* radial constellation (desktop) */
.skill-orbit {
  position: sticky;
  top: 110px;
  aspect-ratio: 1;
  max-width: 460px;
  margin-inline: auto;
  width: 100%;
}
.skill-orbit::before {
  content: "";
  position: absolute;
  inset: 7%;
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
  opacity: 0.6;
  animation: orbit-spin 60s linear infinite;
}
@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .skill-orbit::before {
    animation: none;
  }
}
.orbit-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
}
.orbit-hub img {
  width: 42%;
}
.orbit-hub span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}
.orbit-node {
  position: absolute;
  width: 27%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.6rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    background 0.3s var(--ease), color 0.3s var(--ease);
}
.orbit-node small {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.orbit-node:hover {
  transform: translate(-50%, -50%) scale(1.07);
}
.orbit-node[aria-pressed="true"] {
  background: var(--paper);
  color: var(--paper-ink);
  border-color: var(--paper);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, #fff) 55%, transparent),
    0 14px 34px rgba(0, 0, 0, 0.5);
}
.orbit-node[aria-pressed="true"] small {
  color: var(--paper-ink-soft);
}
.orbit-node::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--accent, var(--ink-faint));
  margin-top: 0.15rem;
}
/* pentagon positions */
.orbit-node:nth-of-type(1) { left: 50%; top: 7%; }
.orbit-node:nth-of-type(2) { left: 91%; top: 37%; }
.orbit-node:nth-of-type(3) { left: 75%; top: 86%; }
.orbit-node:nth-of-type(4) { left: 25%; top: 86%; }
.orbit-node:nth-of-type(5) { left: 9%; top: 37%; }
@media (max-width: 1023px) {
  .skill-orbit {
    display: none;
  }
}

/* skill accordion cards */
.skill-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.skill-card + .skill-card {
  margin-top: 0.9rem;
}
.skill-card[open],
.skill-card:hover {
  border-color: var(--line-strong);
}
@supports (background: color-mix(in srgb, red 10%, blue)) {
  .skill-card[open] {
    background:
      radial-gradient(130% 130% at 100% -20%, color-mix(in srgb, var(--accent, transparent) 13%, transparent), transparent 58%),
      var(--bg-card);
    border-color: color-mix(in srgb, var(--accent, var(--line-strong)) 38%, var(--line-strong));
  }
}
.skill-card summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.2rem 1.4rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.skill-card summary::-webkit-details-marker {
  display: none;
}
.skill-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  transform: rotate(45deg);
  flex-shrink: 0;
  background: var(--accent, var(--ink));
}
.skill-card summary .titles {
  min-width: 0;
}
.skill-card summary h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
}
.skill-card summary .when {
  font-size: 0.85rem;
  color: var(--ink-faint);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.skill-card summary .chev {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}
.skill-card[open] summary .chev {
  transform: rotate(180deg);
}
.skill-body {
  padding: 0.2rem 1.4rem 1.6rem;
  border-top: 1px solid var(--line);
}
.skill-body .what-why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  padding-top: 1.2rem;
}
@media (max-width: 760px) {
  .skill-body .what-why {
    grid-template-columns: 1fr;
  }
}
.skill-body h4 {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent, var(--ink-muted));
  margin-bottom: 0.5rem;
}
.skill-body p {
  color: var(--ink-muted);
  font-size: 0.99rem;
  margin: 0;
}
.skill-people {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 1.5rem;
  padding-top: 1.3rem;
  border-top: 1px dashed var(--line);
}
.person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}
.person img {
  /* squircle shape + inner background are baked into the artwork; render as-is */
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
  transition: transform 0.35s var(--ease);
}
.person:hover img {
  transform: scale(1.06) rotate(-2deg);
}
.person .p-name {
  font-weight: 600;
  line-height: 1.25;
}
.person .p-role {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.35;
}
.person .p-org {
  font-size: 0.8rem;
  color: var(--ink-faint);
}
.person .p-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent, var(--ink-faint));
  display: block;
  margin-bottom: 0.15rem;
}

/* ---------- journey: quarter-circle paper cards (from the 4-day post) ---------- */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  counter-reset: step;
}
@media (max-width: 1100px) {
  .journey-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .journey-grid {
    grid-template-columns: 1fr;
  }
}
.j-card {
  position: relative;
  background: var(--paper);
  color: var(--paper-ink);
  min-height: clamp(300px, 26vw, 380px);
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  padding-top: clamp(5rem, 8vw, 6.5rem);
  overflow: hidden;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* copy always anchors to the bottom edge */
  transition: transform 0.4s var(--ease), border-radius 0.5s var(--ease),
    box-shadow 0.4s var(--ease);
}
/* mega radius on TOP corners only, so bottom copy is never clipped */
.j-card:nth-child(odd) { border-top-left-radius: clamp(70px, 9vw, 130px); }
.j-card:nth-child(even) { border-top-right-radius: clamp(70px, 9vw, 130px); }
.j-card:hover {
  transform: translateY(-6px);
  border-radius: var(--radius);
  box-shadow: 0 24px 54px rgba(245, 245, 243, 0.12);
}
.j-card .j-num {
  position: absolute;
  font-size: clamp(4.2rem, 6.5vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(10, 10, 11, 0.4);
  transition: color 0.4s var(--ease);
  user-select: none;
}
/* number sits opposite the swept corner, aligned to the card padding */
.j-card:nth-child(odd) .j-num { top: 1.3rem; right: clamp(1.6rem, 2.6vw, 2.2rem); }
.j-card:nth-child(even) .j-num { top: 1.3rem; left: clamp(1.6rem, 2.6vw, 2.2rem); }
.j-card:hover .j-num {
  color: var(--paper-ink);
}
.j-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  margin-bottom: 0.5em;
}
.j-card p {
  color: #3c3c43;
  font-size: 0.97rem;
  margin: 0;
  line-height: 1.55;
}
/* phones: single column, so keep every card identical — swept corner on the
   left, number on the right — for a clean, structured rhythm */
@media (max-width: 640px) {
  .j-card {
    min-height: 0;
    padding-top: 5.4rem;
  }
  .j-card:nth-child(even) {
    border-top-right-radius: var(--radius);
    border-top-left-radius: clamp(64px, 17vw, 90px);
  }
  .j-card:nth-child(odd) {
    border-top-left-radius: clamp(64px, 17vw, 90px);
  }
  .j-card:nth-child(odd) .j-num,
  .j-card:nth-child(even) .j-num {
    font-size: 3.4rem;
    top: 1.2rem;
    left: auto;
    right: 1.4rem;
  }
}

/* ---------- alumni: banner tracks (from the Alumni Program post) ---------- */
.alumni-shell {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 120% at 12% -10%, rgba(245, 245, 243, 0.06), transparent 55%),
    radial-gradient(90% 120% at 92% 115%, rgba(245, 245, 243, 0.05), transparent 55%),
    var(--bg-raised);
  padding: clamp(1.8rem, 4.5vw, 3.4rem);
  overflow: hidden;
}
.alumni-shell .shape {
  position: absolute;
  width: 130px;
  height: 130px;
  border: 1px solid var(--line-strong);
  transform: rotate(45deg);
  border-radius: 26px;
  opacity: 0.5;
  pointer-events: none;
}
.alumni-shell .shape.s1 { right: -46px; top: -46px; }
.alumni-shell .shape.s2 { left: -56px; bottom: -56px; width: 160px; height: 160px; }
.alumni-head {
  max-width: 62ch;
  margin-bottom: clamp(1.8rem, 4vw, 2.6rem);
}
.alumni-head .lead {
  margin-bottom: 0;
}
.alumni-tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
@media (max-width: 860px) {
  .alumni-tracks {
    grid-template-columns: 1fr;
  }
}
.track {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.track:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
}
.track-head {
  background: var(--paper);
  color: var(--paper-ink);
  text-align: center;
  padding: 1rem 1.4rem 1.15rem;
  font-weight: 650;
  font-size: clamp(1.12rem, 2.2vw, 1.35rem);
  letter-spacing: -0.01em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 50% 100%, 0 calc(100% - 12px));
}
.track-body {
  padding: 1.5rem clamp(1.3rem, 2.6vw, 2rem) 1.7rem;
}
.track .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}
.track p {
  color: var(--ink-muted);
  margin: 0;
}

/* ---------- venue ---------- */
.venue-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 460px;
  display: flex;
  align-items: flex-end;
}
.venue-panel img.venue-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.venue-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.2), rgba(10, 10, 11, 0.88) 78%);
}
.venue-copy {
  position: relative;
  z-index: 2;
  padding: clamp(1.6rem, 4vw, 3rem);
}
.venue-copy h3 {
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  max-width: 18ch;
}
.venue-copy p {
  color: var(--ink-muted);
  max-width: 52ch;
}

/* ---------- partners (pure #fff tiles so baked logo backgrounds vanish) ---------- */
.partner-wall {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.1rem;
  align-items: stretch;
}
@media (max-width: 860px) {
  .partner-wall {
    grid-template-columns: 1fr;
  }
}
.partner-tile {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  min-height: 230px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.partner-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(245, 245, 243, 0.14);
}
.partner-tile img {
  max-height: 92px;
  width: auto;
  max-width: min(100%, 420px);
  object-fit: contain;
}
.partner-tile.featured {
  min-height: 300px;
}
.partner-tile.featured img {
  max-height: 132px;
  max-width: min(100%, 560px);
}
@media (max-width: 860px) {
  .partner-tile.featured {
    min-height: 230px;
  }
  .partner-tile {
    min-height: 180px;
  }
  .partner-tile.featured img {
    max-height: 96px;
  }
  .partner-tile img {
    max-height: 64px;
  }
}

/* ---------- teams ---------- */
.team-group {
  margin-top: clamp(2.6rem, 6vw, 4rem);
}
.team-group:first-of-type {
  margin-top: 0;
}
.team-group-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.7rem;
  margin-bottom: 1.6rem;
}
.team-group-head h3 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.team-group-head h3::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--ink);
  transform: rotate(45deg);
  border-radius: 3px;
}
.team-group-head .count {
  color: var(--ink-faint);
  font-size: 0.9rem;
  font-weight: 600;
  margin-left: auto;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.1rem;
}
.member-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  padding: 1.6rem;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.member-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 85% -10%, rgba(245, 245, 243, 0.07), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.member-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
}
.member-card:hover::before {
  opacity: 1;
}
/* elegant LinkedIn chip: only rendered for people who have a profile */
.li-btn {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  background: rgba(245, 245, 243, 0.03);
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 2;
}
.li-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.li-btn:hover {
  background: var(--paper);
  color: var(--paper-ink);
  border-color: var(--paper);
  transform: translateY(-2px) rotate(-3deg);
}
.person {
  position: relative;
}
.person .li-btn {
  position: static;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  margin-left: 0.2rem;
  align-self: center;
  flex-shrink: 0;
}
.person .li-btn svg {
  width: 15px;
  height: 15px;
}
.member-card img {
  /* squircle + photo background baked into the artwork; render untouched */
  width: 96px;
  height: 96px;
  margin-bottom: 1.15rem;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.5));
  transition: transform 0.4s var(--ease);
}
.member-card:hover img {
  transform: scale(1.05) rotate(-2deg);
}
.member-card .m-name {
  font-weight: 650;
  font-size: 1.16rem;
  letter-spacing: -0.01em;
  position: relative;
}
.member-card .m-role {
  color: var(--ink-muted);
  font-size: 0.93rem;
  margin-top: 0.2rem;
  line-height: 1.45;
  position: relative;
}
.member-card .m-org {
  color: var(--ink-faint);
  font-size: 0.85rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--line);
  position: relative;
}
.team-grid.leadership {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 960px) {
  .team-grid.leadership {
    grid-template-columns: 1fr;
  }
}
.team-grid.leadership .member-card {
  padding: 2rem;
}
.team-grid.leadership .member-card img {
  width: 128px;
  height: 128px;
}
.team-grid.leadership .member-card .m-name {
  font-size: 1.3rem;
}

/* ---------- editions ---------- */
.editions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
@media (max-width: 860px) {
  .editions-grid {
    grid-template-columns: 1fr;
  }
}

/* cinematic mosaic: 4th large, 3rd beside it, 1st & 2nd small, next-edition tile */
.editions-mosaic {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr;
  grid-template-areas:
    "big third third"
    "big first second"
    "next first second";
  gap: 1.1rem;
}
.ed-big { grid-area: big; }
.ed-third { grid-area: third; }
.ed-first { grid-area: first; }
.ed-second { grid-area: second; }
.ed-next { grid-area: next; }
.editions-mosaic .video-panel {
  height: 100%;
  aspect-ratio: auto;
  min-height: 200px;
}
.ed-big .video-panel {
  min-height: 460px;
}
@media (max-width: 1023px) {
  .editions-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "big big"
      "third third"
      "first second"
      "next next";
  }
  .ed-big .video-panel {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .ed-third .video-panel {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .ed-first .video-panel,
  .ed-second .video-panel {
    min-height: 170px;
  }
}
@media (max-width: 620px) {
  .editions-mosaic {
    grid-template-columns: 1fr;
    grid-template-areas: "big" "third" "first" "second" "next";
  }
  .ed-first .video-panel,
  .ed-second .video-panel {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}
.ed-badge {
  position: absolute;
  z-index: 2;
  top: 1.1rem;
  left: 1.1rem;
  background: var(--paper);
  color: var(--paper-ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
}
.ed-next {
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}
.ed-next .ghost {
  position: absolute;
  right: -0.6rem;
  bottom: -1.8rem;
  font-size: 7.5rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(10, 10, 11, 0.22);
  line-height: 1;
  user-select: none;
}
.ed-next .k {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-ink-soft);
}
.ed-next strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 0.3rem;
  position: relative;
}
.ed-next a {
  position: relative;
  font-weight: 700;
  color: var(--paper-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.ed-next a::after {
  content: "›";
  transition: transform 0.25s var(--ease);
}
.ed-next a:hover::after {
  transform: translateX(4px);
}
.video-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background: var(--bg-raised);
}
.video-panel iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  display: block;
  padding: 0;
  text-align: left;
}
.video-facade img.poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), opacity 0.4s;
  opacity: 0.85;
}
.video-facade:hover img.poster {
  transform: scale(1.04);
  opacity: 1;
}
.video-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.1), rgba(10, 10, 11, 0.75) 85%);
}
.video-facade .vp-label {
  position: absolute;
  z-index: 2;
  left: 1.4rem;
  bottom: 1.2rem;
  right: 5.5rem;
  color: var(--ink);
}
.video-facade .vp-label strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.video-facade .vp-label span {
  color: var(--ink-muted);
  font-size: 0.9rem;
}
.video-facade .play {
  position: absolute;
  z-index: 2;
  right: 1.3rem;
  bottom: 1.3rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--paper);
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease);
}
.video-facade:hover .play {
  transform: scale(1.08);
}
.video-facade .play svg {
  width: 20px;
  height: 20px;
  fill: var(--paper-ink);
  margin-left: 3px;
}
.editions-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}
.edition-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.edition-link:hover {
  color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.25rem 0.2rem;
  cursor: pointer;
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  letter-spacing: -0.01em;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary .chev {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease);
}
.faq-item[open] summary .chev {
  transform: rotate(45deg);
}
.faq-item .faq-a {
  padding: 0 0.2rem 1.4rem;
  color: var(--ink-muted);
  max-width: 68ch;
}
.chev svg {
  width: 14px;
  height: 14px;
  stroke: var(--ink);
  stroke-width: 2;
  fill: none;
}

/* ---------- connect ---------- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
@media (max-width: 860px) {
  .social-grid {
    grid-template-columns: 1fr;
  }
}
.social-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  padding: 1.7rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.social-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink-faint);
}
.social-card.primary {
  background: var(--paper);
  color: var(--paper-ink);
  border-color: var(--paper);
}
.social-card .s-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  opacity: 0.9;
}
.social-card .s-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.social-card .s-name {
  font-weight: 700;
  font-size: 1.15rem;
}
.social-card .s-handle {
  font-size: 0.92rem;
  opacity: 0.65;
}

/* ---------- final CTA ---------- */
.final-cta {
  text-align: center;
  padding-block: calc(var(--space) * 1.15);
  position: relative;
  overflow: hidden;
}
.final-cta .mark-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(720px, 130vw);
  opacity: 0.05;
  pointer-events: none;
}
.final-cta h2 {
  max-width: 22ch;
  margin-inline: auto;
}
.final-cta .lead {
  margin-inline: auto;
}
.final-cta .hero-actions {
  justify-content: center;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 2.2rem;
  background: #070708;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.site-footer .brand img {
  height: 28px;
}
.footer-about {
  color: var(--ink-muted);
  font-size: 0.95rem;
  max-width: 46ch;
  margin-top: 1.2rem;
}
.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}
.footer-col ul li {
  margin-bottom: 0.55rem;
}
.footer-col a {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--ink);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  justify-content: space-between;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

/* ---------- impact page ---------- */
.stat-hero {
  position: relative;
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.6rem);
  overflow: hidden;
  margin-bottom: 1.1rem;
}
.stat-hero .stat-value {
  font-size: clamp(3.6rem, 11vw, 7.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
  font-variant-numeric: tabular-nums;
}
.stat-hero .stat-label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--paper-ink-soft);
  max-width: 44ch;
  position: relative;
}
.stat-hero .mark-wm {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(220px, 32%, 360px);
  opacity: 0.07;
  pointer-events: none;
}
.edition-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
}
.edition-steps .step {
  border: 1px solid var(--line-strong);
  color: var(--ink-muted);
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}
.edition-steps .sep {
  color: var(--ink-faint);
  user-select: none;
}
.edition-steps .step.now {
  background: var(--paper);
  color: var(--paper-ink);
  border-color: var(--paper);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
@media (max-width: 1000px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }
}
.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.stat-card .stat-value {
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
  font-variant-numeric: tabular-nums;
}
.stat-card .stat-label {
  color: var(--ink-muted);
  margin-top: 0.7rem;
  display: block;
  font-weight: 500;
}
.stat-card.paper {
  background: var(--paper);
  border-color: var(--paper);
}
.stat-card.paper .stat-value {
  color: var(--paper-ink);
}
.stat-card.paper .stat-label {
  color: var(--paper-ink-soft);
}

.page-hero {
  padding: clamp(5rem, 12vh, 8rem) 0 clamp(2.5rem, 6vh, 4rem);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  max-width: 18ch;
}
.page-hero .lead {
  max-width: 60ch;
}

/* ---------- about page ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
@media (max-width: 860px) {
  .mv-grid {
    grid-template-columns: 1fr;
  }
}
.mv-card {
  border-radius: var(--radius-lg);
  padding: clamp(1.7rem, 4vw, 2.6rem);
}
.mv-card.mission {
  background: var(--paper);
  color: var(--paper-ink);
}
.mv-card.mission p {
  color: #2c2c31;
}
.mv-card.vision {
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
}
.mv-card.vision p {
  color: var(--ink-muted);
}
.mv-card h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.mv-card p {
  margin: 0;
  font-size: 1.05rem;
}
.letters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
@media (max-width: 900px) {
  .letters {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .letters {
    grid-template-columns: 1fr;
  }
}
.letter-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  padding: 1.6rem;
}
.letter-card .big {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: block;
  line-height: 1;
  margin-bottom: 0.8rem;
  color: var(--ink);
}
.letter-card .word {
  font-weight: 600;
  font-size: 1.08rem;
}
.pattern-band {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.pattern-band img {
  width: 100%;
  object-fit: cover;
  max-height: 340px;
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 78vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 10vh, 7rem);
}
.notfound::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 50% 42%, rgba(245, 245, 243, 0.06), transparent 70%);
  pointer-events: none;
}
.notfound-inner {
  position: relative;
  width: 100%;
}
/* 4 ◆ 4 lockup: the SREO mark plays the zero */
.nf-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 3vw, 1.8rem);
  margin-bottom: clamp(1.2rem, 3vh, 2rem);
  user-select: none;
}
.nf-code span {
  font-size: clamp(6rem, 22vw, 12rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink-faint);
}
.nf-code img {
  width: clamp(76px, 15vw, 140px);
  height: auto;
  animation: nf-spin 40s linear infinite;
  filter: drop-shadow(0 14px 40px rgba(0, 0, 0, 0.5));
}
@keyframes nf-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .nf-code img {
    animation: none;
  }
}
.notfound p {
  color: var(--ink-muted);
  max-width: 44ch;
  margin-inline: auto;
  text-wrap: pretty;
}
.nf-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: clamp(2rem, 5vh, 3rem);
}
.nf-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  text-decoration: none;
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.25s, border-color 0.25s, transform 0.25s var(--ease),
    background 0.25s var(--ease);
}
.nf-links a:hover {
  color: var(--paper-ink);
  background: var(--paper);
  border-color: var(--paper);
  transform: translateY(-2px);
}
.nf-links a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: currentColor;
  opacity: 0.7;
}

/* ---------- phone polish (desktop untouched) ---------- */
@media (max-width: 640px) {
  /* decorative outline numerals crowd small screens behind text */
  .edition-banner .ghost-num {
    display: none;
  }
  .stat-hero .mark-wm {
    display: none;
  }
  .venue-panel {
    min-height: 380px;
  }
  .final-cta .mark-bg {
    width: 150vw;
    opacity: 0.04;
  }
  .skill-card summary {
    padding: 1.1rem 1.15rem;
    gap: 0.85rem;
  }
  .skill-body {
    padding-inline: 1.15rem;
  }
  .team-grid.leadership .member-card {
    padding: 1.6rem;
  }
}
@media (max-width: 440px) {
  /* one fact per line reads better than two cramped columns */
  .edition-facts {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  /* stacked, full-width actions: cleaner and easier thumb targets */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .q-bubble {
    max-width: 94%;
  }
  .poster-banner {
    padding: 0.85rem 1.15rem;
  }
  .meta-bar > div {
    padding: 0.9rem 1.15rem;
  }
}

/* ---------- reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
html.no-observer .reveal,
html.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
