/* Peckham DAZ — legacy site
   Palette taken from the Click Start brand used on the original site. */

:root {
  --blue: #3666de;
  --blue-deep: #1f3f99;
  --pink: #ff3380;
  --orange: #ff8943;
  --cyan: #35d0e0;
  --ink: #1d1e20;
  --ink-soft: #4a4c52;
  --paper: #f7f5f1;
  --white: #ffffff;
  --line: #e4e1db;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 34px; width: auto; }
.brand span { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.brand span b { color: var(--pink); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-head); font-weight: 500; font-size: 0.95rem;
  color: var(--ink); text-decoration: none; padding: 8px 14px; border-radius: 999px;
}
.nav a:hover { background: #eef1fb; color: var(--blue); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--white); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; border-radius: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white);
  min-height: min(86vh, 760px);
  display: flex; align-items: flex-end;
  background: var(--ink) url("../assets/photos/audience-front.jpg") 60% 40% / cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 18, 40, 0.92) 0%, rgba(14, 18, 40, 0.72) 42%, rgba(14, 18, 40, 0.1) 75%),
    linear-gradient(0deg, rgba(14, 18, 40, 0.75) 0%, rgba(14, 18, 40, 0) 45%);
}
.hero .wrap { padding-top: 120px; padding-bottom: clamp(48px, 8vw, 96px); }
.hero-inner { max-width: 640px; }
.hero h1 {
  font-size: clamp(3rem, 9vw, 6.2rem); font-weight: 700; line-height: 0.95; margin-bottom: 0.18em;
}
.hero h1 .daz { color: var(--pink); }
.hero .sub {
  font-family: var(--font-head); font-size: clamp(1.25rem, 2.6vw, 1.75rem); font-weight: 400; margin-bottom: 1.2em;
}
.hero .lede { font-size: 1.15rem; max-width: 34em; color: rgba(255, 255, 255, 0.9); }
.hero.compact { min-height: 0; }

/* Photo and text share one compact hero. */
.hero.hero-overlay {
  display: flex; align-items: center; min-height: 0; padding: 0; background: var(--ink);
  overflow: hidden;
}
.hero.hero-overlay::before {
  display: block;
  background: linear-gradient(90deg, rgba(14,18,40,.94) 0%, rgba(14,18,40,.82) 40%, rgba(14,18,40,.36) 75%, rgba(14,18,40,.2) 100%);
}
.hero.hero-overlay .wrap {
  width: 100%; padding-top: clamp(44px,5vw,72px); padding-bottom: clamp(44px,5vw,72px);
}
.hero.hero-overlay .hero-inner { max-width: 700px; }
.hero.hero-overlay .lede { max-width: 36em; }
.hero-photo { position: absolute; inset: 0; z-index: -2; margin: 0; }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 42%; border-radius: 0;
}
@media (max-width: 600px) {
  .hero.hero-overlay::before {
    background: linear-gradient(90deg, rgba(14,18,40,.9), rgba(14,18,40,.72));
  }
  .hero-photo img { object-position: 58% center; }
  .hero.hero-overlay .lede { font-size: 1rem; }
}
.hero.compact .wrap { padding-top: 96px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.35);
  margin-bottom: 22px;
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 13px 24px; border-radius: 999px; text-decoration: none;
  background: var(--pink); color: var(--white); border: 2px solid var(--pink);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { color: var(--white); transform: translateY(-2px); background: #e8226d; border-color: #e8226d; }
.btn.ghost { background: transparent; border-color: rgba(255, 255, 255, 0.7); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn.dark { background: var(--ink); border-color: var(--ink); }
.btn.dark:hover { background: #000; border-color: #000; }

.stripe { height: 10px; background: linear-gradient(90deg, var(--blue) 0 33%, var(--pink) 33% 66%, var(--orange) 66%); }

/* ---------- Sections ---------- */
section { padding: clamp(64px, 9vw, 112px) 0; }
.eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { font-size: 1.15rem; color: var(--ink-soft); }

.bg-white { background: var(--white); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-ink .eyebrow { color: var(--orange); }
.bg-ink .section-head p { color: rgba(255, 255, 255, 0.78); }
.bg-blue { background: var(--blue); color: var(--white); }
.bg-blue .eyebrow { color: #ffd2b8; }

/* ---------- Stats (extruded type, after the "Get next level skills" artwork) ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px 24px;
}
.stat .num {
  font-family: var(--font-head); font-weight: 700; line-height: 1;
  font-size: clamp(2.8rem, 5.5vw, 4.2rem); color: var(--white);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 3px 3px 0 var(--blue), 6px 6px 0 var(--pink), 9px 9px 0 var(--orange);
  margin-bottom: 18px; display: block;
}
.stat .label { font-weight: 500; color: var(--ink-soft); font-size: 1rem; line-height: 1.45; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Story / split ---------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split, .split.flip { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.big-quote {
  font-family: var(--font-head); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.25;
  margin: 0 0 0.6em;
}
.big-quote em { font-style: normal; color: var(--pink); }
.prose p { color: var(--ink-soft); }
.bg-ink .prose p, .bg-blue .prose p { color: rgba(255, 255, 255, 0.85); }

.media-card { border-radius: var(--radius); overflow: hidden; box-shadow: 14px 14px 0 var(--orange); }
.media-card img { width: 100%; height: auto; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; position: relative;
}
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--ink-soft); margin: 0; }
.card .tag {
  display: inline-block; font-family: var(--font-head); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px;
  background: #eef1fb; color: var(--blue); margin-bottom: 14px;
}
.card.accent-pink { border-top: 5px solid var(--pink); }
.card.accent-blue { border-top: 5px solid var(--blue); }
.card.accent-orange { border-top: 5px solid var(--orange); }
.card.accent-cyan { border-top: 5px solid var(--cyan); }
.bg-ink .card { background: #2a2b2f; border-color: #3a3b40; }
.bg-ink .card p { color: rgba(255, 255, 255, 0.78); }
.bg-ink .card .tag { background: rgba(255, 137, 67, 0.16); color: var(--orange); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.chips li {
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--ink);
}
.chips.events { flex-direction: column; gap: 14px; }
.chips.events li {
  font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 700; padding: 20px 28px; border-radius: var(--radius);
  border-width: 2px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.chips.events li::after { content: "\2192"; font-weight: 500; }
.chips.events li:nth-child(1) { box-shadow: 8px 8px 0 var(--blue); }
.chips.events li:nth-child(2) { box-shadow: 8px 8px 0 var(--pink); margin-left: clamp(0px, 4vw, 40px); }
.chips.events li:nth-child(3) { box-shadow: 8px 8px 0 var(--orange); margin-left: clamp(0px, 8vw, 80px); }
.bg-ink .chips li, .bg-blue .chips li { background: transparent; border-color: rgba(255, 255, 255, 0.6); color: var(--white); }

/* ---------- Data journey ---------- */
.journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.journey li {
  position: relative; padding: 26px 22px 24px; background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22); counter-increment: step;
}
.journey li + li { border-left: 0; }
.journey li:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.journey li:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.journey li::before {
  content: "0" counter(step); display: block;
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: #ffd2b8; margin-bottom: 10px;
}
.journey h3 { font-size: 1.1rem; margin-bottom: 6px; }
.journey p { margin: 0; font-size: 0.97rem; color: rgba(255, 255, 255, 0.85); }
@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr 1fr; }
  .journey li, .journey li + li { border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 0; }
  .journey li:first-child { border-radius: var(--radius) 0 0 0; }
  .journey li:nth-child(2) { border-radius: 0 var(--radius) 0 0; }
  .journey li:nth-child(3) { border-radius: 0 0 0 var(--radius); }
  .journey li:last-child { border-radius: 0 0 var(--radius) 0; }
}
@media (max-width: 520px) {
  .journey { grid-template-columns: 1fr; }
  .journey li, .journey li:first-child, .journey li:nth-child(2), .journey li:nth-child(3), .journey li:last-child { border-radius: 0; }
  .journey li:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .journey li:last-child { border-radius: 0 0 var(--radius) var(--radius); }
}

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  margin: 0; background: var(--white); border-radius: var(--radius); padding: 36px 32px 30px;
  border: 1px solid var(--line); position: relative;
}
.quote::before {
  content: "\201C"; position: absolute; top: -18px; left: 24px;
  font-family: var(--font-head); font-weight: 700; font-size: 5rem; line-height: 1; color: var(--pink);
}
.quote blockquote { margin: 0 0 20px; font-size: 1.1rem; line-height: 1.6; }
.quote figcaption { font-family: var(--font-head); font-weight: 600; }
.quote figcaption span { display: block; font-weight: 400; font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Thank you ---------- */
.thanks { text-align: center; }
.thanks .section-head { margin-left: auto; margin-right: auto; }
.people { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 8px; }
.person {
  min-width: 260px; padding: 28px 32px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25);
}
.person .initials {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  background: var(--white); color: var(--blue);
}
.person h3 { margin-bottom: 2px; }
.person p { margin: 0; color: rgba(255, 255, 255, 0.82); }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; text-decoration: none; color: var(--ink); transition: border-color 0.15s, transform 0.15s;
}
.partner:hover { border-color: var(--blue); transform: translateY(-2px); color: var(--ink); }
.partner .logo { height: 76px; display: flex; align-items: center; }
.partner { min-width: 0; }
.partner .logo img { max-height: 100%; max-width: min(200px, 100%); width: auto; object-fit: contain; }
.partner .logo.on-dark { background: var(--ink); border-radius: 10px; padding: 12px 16px; justify-content: flex-start; }
.partner .role { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.45; }
.partner .role strong { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 600; margin-bottom: 2px; }
@media (max-width: 900px) { .partners { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .partners { grid-template-columns: 1fr; } }

/* ---------- Lists ---------- */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 36px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 6px;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 16px 0 0; }
.facts dt { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.facts dd { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

.note {
  border-left: 4px solid var(--orange); background: #fff4ec; padding: 18px 22px; border-radius: 0 10px 10px 0;
  color: var(--ink);
}

/* ---------- CTA band ---------- */
.cta { text-align: center; }
.cta h2 { max-width: 18em; margin-left: auto; margin-right: auto; }
.cta p { max-width: 40em; margin-left: auto; margin-right: auto; color: rgba(255, 255, 255, 0.85); }
.cta .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: #121316; color: rgba(255, 255, 255, 0.75); padding: 56px 0 32px; font-size: 0.95rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 30px; width: auto; filter: brightness(0) invert(1); }
.footer-brand span { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--white); }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 40px; padding-top: 20px; font-size: 0.85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Photos ---------- */
.photo-row { display: grid; grid-template-columns: 0.8fr 1fr 1fr; gap: 16px; margin-top: 32px; }
.photo-row img { width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius); }
.photo-row img:first-child { object-position: 50% 20%; }
@media (max-width: 760px) {
  .photo-row { grid-template-columns: 1fr 1fr; }
  .photo-row img { height: 200px; }
  .photo-row img:first-child { grid-row: span 2; height: 416px; }
}

.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; grid-auto-flow: dense;
  margin-bottom: -1px;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.gallery img.wide { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 480px) { .gallery { grid-auto-rows: 140px; gap: 8px; } }

/* ---------- Alumni outcomes ---------- */
/* Flex + centred wrap so any number of cards looks deliberate (partial last row is centred) */
.alumni { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.alumni li {
  flex: 0 1 calc((100% - 48px) / 4);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px 26px; display: flex; flex-direction: column;
}
.alumni h3 { font-size: 1.1rem; margin: 18px 0 6px; }
.alumni p { margin: 0; font-size: 0.95rem; line-height: 1.5; color: var(--ink-soft); }
.alumni-logo { height: 72px; display: flex; align-items: center; }
.alumni-logo img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.alumni-logo.on-dark { background: var(--ink); border-radius: 10px; padding: 12px 14px; }
.alumni-logo.icon { width: 72px; justify-content: center; border-radius: 16px; }
.alumni-logo.icon svg { width: 38px; height: 38px; }
.alumni-logo.i-pink { background: #ffe7f0; color: var(--pink); }
.alumni-logo.i-blue { background: #e8eefc; color: var(--blue); }
.alumni-logo.i-orange { background: #fff0e6; color: var(--orange); }
.alumni-logo.i-cyan { background: #e2f8fa; color: #1a9fae; }
.alumni li:nth-child(4n+1) { border-top: 5px solid var(--blue); }
.alumni li:nth-child(4n+2) { border-top: 5px solid var(--pink); }
.alumni li:nth-child(4n+3) { border-top: 5px solid var(--orange); }
.alumni li:nth-child(4n) { border-top: 5px solid var(--cyan); }
@media (max-width: 1000px) { .alumni li { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 520px) { .alumni li { flex-basis: 100%; } }

/* ---------- High Street Innovation Project ---------- */
.hs-intro { margin-bottom: clamp(36px, 5vw, 56px); }
.hs-photo { margin: 0; }
.hs-photo img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 14px 14px 0 var(--orange); }
.hs-photo figcaption { margin-top: 22px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); }
.hs-360 {
  display: flex; align-items: center; gap: clamp(20px, 4vw, 40px);
  margin-top: clamp(36px, 5vw, 56px); padding: clamp(24px, 4vw, 36px);
  background: var(--ink); border-radius: var(--radius);
}
.hs-360-mark {
  margin: 0; flex: none; font-family: var(--font-head); font-weight: 700; line-height: 1;
  font-size: clamp(3rem, 8vw, 5.5rem); color: var(--white);
  text-shadow: 3px 3px 0 var(--blue), 6px 6px 0 var(--pink), 9px 9px 0 var(--orange);
}
.hs-360-text { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.1rem, 2.2vw, 1.4rem); line-height: 1.4; }
@media (max-width: 600px) { .hs-360 { flex-direction: column; align-items: flex-start; } }
.hs-logos { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hs-logos li { background: var(--white); border-radius: var(--radius); height: 110px; display: flex; align-items: center; justify-content: center; padding: 18px 24px; }
.hs-logos li.dark { background: #121516; }
.hs-logos img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
@media (max-width: 680px) { .hs-logos { grid-template-columns: 1fr; } .hs-logos li { height: 96px; } }

/* ---------- Hackathons ---------- */
.hack-side { align-self: center; }
.hack-label {
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--orange); margin: 0 0 12px;
}
.hack-side .chips + .hack-label { margin-top: 28px; }

.photo-row.even { grid-template-columns: repeat(3, 1fr); }
.photo-row.even img { height: 360px; object-position: 50% 50%; }
@media (max-width: 760px) {
  .photo-row.even { grid-template-columns: 1fr 1fr; }
  .photo-row.even img, .photo-row.even img:first-child { grid-row: auto; height: 240px; }
  .photo-row.even img:last-child { grid-column: span 2; }
}

/* ---------- Partner tiers ---------- */
.tier-label {
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-soft); margin: 36px 0 14px;
  display: flex; align-items: center; gap: 14px;
}
.tier-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section-head + .tier-label { margin-top: 0; }
.partners.tier-main { grid-template-columns: 1fr 1fr; }
.tier-main .partner { padding: 32px; border-width: 2px; border-color: var(--ink); }
.tier-main .partner .logo { height: 96px; }
.tier-main .partner .logo img { max-width: min(280px, 100%); }
.tier-main .partner .role { font-size: 1rem; }
.tier-main .partner .role strong { font-size: 1.2rem; }
.partners.tier-support { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .partners.tier-main { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .partners.tier-support { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .partners.tier-support { grid-template-columns: 1fr; } }

/* Hero partner strip */
.hero-partners {
  display: flex; flex-wrap: wrap; gap: 18px 40px; margin-top: 36px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hp-group { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hp-label {
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.65);
}
.hero-partners img { height: 34px; width: auto; }
.hero-partners img.invert { height: 36px; filter: brightness(0) invert(1); }

/* ---------- Industry sessions ---------- */
.tier-label.on-ink { color: rgba(255, 255, 255, 0.7); margin-top: 0; }
.tier-label.on-ink::after { background: rgba(255, 255, 255, 0.18); }
.sessions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.session { background: #2a2b2f; border: 1px solid #3a3b40; border-radius: var(--radius); padding: 0 0 24px; overflow: hidden; }
.session-logo { background: var(--white); height: 110px; display: flex; align-items: center; justify-content: center; padding: 22px 26px; margin-bottom: 20px; }
.session-logo img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.session .tag, .session h3, .session p { margin-left: 22px; margin-right: 22px; }
.session .tag {
  display: inline-block; font-family: var(--font-head); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 6px; background: rgba(255, 137, 67, 0.16); color: var(--orange); margin-bottom: 12px;
}
.session h3 { font-size: 1.15rem; margin-bottom: 6px; }
.session p { margin-bottom: 0; font-size: 0.95rem; line-height: 1.5; color: rgba(255, 255, 255, 0.78); }
@media (max-width: 1000px) { .sessions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sessions { grid-template-columns: 1fr; } }
.partners.tier-four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .partners.tier-four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .partners.tier-four { grid-template-columns: 1fr; } }
/* Optical balance for the session logos */
.session-logo img, .tier-four .logo img { max-height: 50px; }
.session-logo img[src*="booking"], .tier-four .logo img[src*="booking"] { max-height: 34px; }
.session-logo img[src*="vantage"], .tier-four .logo img[src*="vantage"] { max-height: 72px; }

/* Compact mobile layouts with all content visible. */
.mobile-jump { display: none; }
@media (max-width: 600px) {
  body { font-size: 1rem; line-height: 1.55; }
  section { padding: 32px 0; }
  .mobile-jump { display: flex; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
  .mobile-jump a { flex: 1; text-align: center; padding: 10px 4px; border: 1px solid var(--line); border-radius: 8px; font-size: .85rem; font-weight: 700; text-decoration: none; }
  .hero.hero-overlay .wrap { padding-top: 28px; padding-bottom: 28px; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 3rem) !important; }
  .hero .pill { font-size: .65rem; padding: 6px 10px; margin-bottom: 14px; }
  .hero .sub { font-size: 1.05rem; line-height: 1.4; margin-bottom: 16px; }
  .hero .lede { line-height: 1.5; margin-bottom: 0; }
  .hero .btn-row { margin-top: 18px; gap: 8px; }
  .btn { min-height: 44px; padding: 10px 16px; font-size: .9rem; }
  .hero-partners { margin-top: 20px; padding-top: 14px; gap: 10px; }
  .hp-group { gap: 10px; }
  .hp-label { font-size: .6rem; }
  .hero-partners img, .hero-partners img.invert { height: 23px; }
  .section-head { margin-bottom: 20px; }
  .section-head p { font-size: 1rem; }
  h2 { font-size: 1.65rem; }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .stat { padding: 16px 12px; }
  .stat .num { font-size: 2.5rem; margin-bottom: 12px; text-shadow: 2px 2px 0 var(--blue), 4px 4px 0 var(--pink), 6px 6px 0 var(--orange); }
  .stat .label { font-size: .85rem; margin-bottom: 0; }
  .split { gap: 24px; }
  .card, .quote, .partner, .tier-main .partner, .alumni li { padding: 20px; }
  .session { display: grid; grid-template-columns: 90px 1fr; padding: 16px; gap: 6px 14px; }
  .session-logo { grid-row: span 3; height: 80px; padding: 10px; margin: 0; border-radius: 8px; }
  .session .tag, .session h3, .session p { margin: 0; }
  .session h3 { font-size: 1rem; }
  .partner { gap: 12px; }
  .partner .logo, .tier-main .partner .logo { height: 56px; }
  .hs-logos { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
  .hs-logos li { height: 72px; padding: 10px; }
  .photo-row, .photo-row.even { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 20px; }
  .photo-row img, .photo-row img:first-child, .photo-row.even img { grid-row: auto; height: 140px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 8px; }
  .gallery img, .gallery img.wide { grid-column: auto; grid-row: auto; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
  .reveal { opacity: 1; transform: none; }
  .mobile-jump a { min-height: 44px; }
  .media-card img, .hs-photo img { max-height: 240px; object-fit: cover; }
  .media-card, .hs-photo img { box-shadow: 6px 6px 0 var(--orange); }
  .journey li { padding: 16px; }
  .hs-360 { margin-top: 24px; padding: 20px; gap: 12px; }
  .site-footer { padding: 28px 0 20px; }
  .footer-grid { gap: 20px; }
  .footer-base { margin-top: 24px; }
}

@media (min-width: 480px) and (max-width: 760px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; }
  .gallery img, .gallery img.wide { grid-column: auto; grid-row: auto; height: auto; aspect-ratio: 4 / 3; }
}
