/* ==========================================================================
   Beyond 4walls — site styles
   ========================================================================== */

:root {
  /* Organization palette */
  --green: #228B22;
  --green-dark: #1B701B;
  --sky: #87CEFA;
  --orange: #F1A104;
  --black: #000000;

  /* Neutrals */
  --ink: #141414;
  --text: #1A1A1A;
  --muted: #555555;
  --line: #ECECEC;
  --bg: #FFFFFF;
  --bg-hero: #FBFDF9;
  --bg-tint: #FAFAF8;

  /* TINC26 sub-brand (Programs page and the home TINC26 promo only) */
  --tinc-blue: #1DA6D4;
  --tinc-orange: #F16122;
  --tinc-red: #F20004;
  --tinc-bg: #050505;
  --tinc-surface: #0D0D0D;
  --tinc-border: #1E1E1E;
  --tinc-muted: #B8B8B8;

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --radius: 16px;
  --radius-sm: 8px;
  --container: 1200px;
  --gutter: clamp(16px, 5vw, 64px);
  --section-y: clamp(64px, 10vw, 110px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }

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

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-head);
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; }

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

/* Shared type ------------------------------------------------------------ */
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.eyebrow--green { color: var(--green); }
.eyebrow--orange {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
/* Brand orange fails text contrast on white, so it carries the accent bar */
.eyebrow--orange::before {
  content: "";
  width: 28px; height: 4px;
  border-radius: 2px;
  background: var(--orange);
}

.section-title {
  font-size: clamp(30px, 4vw, 38px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.body-lg { font-size: 17px; line-height: 1.8; color: var(--muted); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 10px 22px; font-size: 14px; }

.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); }

.btn--outline { border-color: var(--green); color: var(--green); }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--outline svg { transition: transform .2s; }
.btn--outline:hover svg { transform: translateX(3px); }

.btn--light { background: #fff; color: var(--green); padding-inline: 34px; }
.btn--light:hover { background: #F0F7F0; }

/* Nav -------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.nav__brand img { height: 44px; width: auto; }

.nav__menu { display: flex; align-items: center; gap: 38px; }

.nav__link {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: #444;
  transition: color .2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform .2s;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .nav { min-height: 64px; }
  .nav__brand img { height: 38px; }
  .nav__toggle { display: inline-flex; }

  .nav__menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .06);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__link { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__menu .btn { margin-top: 16px; padding: 14px; font-size: 15px; }
}

/* Hero ------------------------------------------------------------------- */
.hero {
  background: var(--bg-hero);
  padding-block: clamp(72px, 12vw, 120px) clamp(64px, 11vw, 110px);
  text-align: center;
  border-bottom: 1px solid #EEF3EA;
}

.hero__inner { display: flex; flex-direction: column; align-items: center; }

.hero__title {
  max-width: 820px;
  margin: 26px auto;
  font-size: clamp(38px, 6.4vw, 64px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.hero__lede {
  max-width: 620px;
  margin-bottom: 36px;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.7;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* Three brand stripes, echoing the open-book mark in the logo */
.hero__stripes { display: flex; gap: 6px; margin-top: 64px; }
.hero__stripes span { width: 40px; height: 6px; border-radius: 3px; }
.hero__stripes span:nth-child(1) { background: var(--green); }
.hero__stripes span:nth-child(2) { background: var(--sky); }
.hero__stripes span:nth-child(3) { background: var(--orange); }

@media (max-width: 480px) {
  .hero .eyebrow { font-size: 12px; letter-spacing: 1.5px; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
}

/* Sections --------------------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--bg-tint); }

/* Impact numbers --------------------------------------------------------- */
/* Panel overlaps the bottom edge of the hero */
.hero { padding-bottom: calc(clamp(64px, 11vw, 110px) + 64px); border-bottom: 0; }

.impact { position: relative; z-index: 2; margin-top: -72px; }

.impact__panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(20, 20, 20, .04), 0 24px 48px -12px rgba(20, 60, 20, .12);
}

.impact__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "icon value" "icon label";
  column-gap: 18px;
  align-items: center;
  padding: clamp(24px, 3.4vw, 40px) clamp(20px, 3.4vw, 44px);
}
.stat + .stat { border-left: 1px solid var(--line); }

.stat__icon {
  grid-area: icon;
  display: inline-flex;
  width: 56px; height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}
.stat__icon--green { background: #E9F4E9; color: var(--green); }
.stat__icon--sky { background: #E7F5FE; color: #1F6E99; }
.stat__icon--orange { background: #FEF3DC; color: #9A6500; }

.stat__value {
  grid-area: value;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  grid-area: label;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

/* Tablet: keep three columns, stack icon above the number */
@media (max-width: 900px) {
  .stat { grid-template-columns: 1fr; grid-template-areas: "icon" "value" "label"; row-gap: 0; align-content: start; }
  .stat__icon { width: 48px; height: 48px; margin-bottom: 18px; }
}
@media (max-width: 560px) {
  .impact { margin-top: -56px; }
  .impact__list { grid-template-columns: 1fr; }
  .stat { grid-template-columns: auto 1fr; grid-template-areas: "icon value" "icon label"; padding: 20px 22px; }
  .stat__icon { margin-bottom: 0; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
}

/* Pillars ---------------------------------------------------------------- */
.pillars__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 64px;
  align-items: end;
  margin-bottom: 56px;
}
.pillars__head .section-title { margin-top: 14px; }

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pillar {
  --accent: var(--green);
  --accent-soft: #E9F4E9;
  --accent-ink: var(--green);
  position: relative;
  grid-column: span 2;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.pillar:nth-child(4), .pillar:nth-child(5) { grid-column: span 3; }

.pillar--sky { --accent: var(--sky); --accent-soft: #E7F5FE; --accent-ink: #1F6E99; }
.pillar--orange { --accent: var(--orange); --accent-soft: #FEF3DC; --accent-ink: #9A6500; }

/* Accent rule that grows across the top edge on hover */
.pillar::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 48px; height: 4px;
  background: var(--accent);
  transition: width .35s ease;
}
.pillar:hover { border-color: #DCE6DA; box-shadow: 0 18px 40px -16px rgba(20, 60, 20, .18); transform: translateY(-3px); }
.pillar:hover::before { width: 100%; }

.pillar__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; }

.pillar__icon {
  display: inline-flex;
  width: 56px; height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.pillar__num {
  color: #DDDDDD;
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pillar__title { margin-bottom: 10px; font-size: 22px; font-weight: 700; }
.pillar p { font-size: 16px; line-height: 1.7; }

@media (max-width: 960px) {
  .pillars__head { grid-template-columns: 1fr; }
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .pillar, .pillar:nth-child(4) { grid-column: span 1; }
  .pillar:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .pillars__head { margin-bottom: 36px; }
  .pillars__grid { grid-template-columns: 1fr; gap: 14px; }
  .pillar { padding: 26px 24px; }
  .pillar__top { margin-bottom: 20px; }
}

/* Problem ---------------------------------------------------------------- */
.problem { background: #fff; }

.problem__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.problem__photos {
  position: relative;
  padding-right: 18%;
  padding-bottom: 72px;
}

.problem__photo { position: relative; margin: 0; overflow: hidden; border-radius: 20px; }
.problem__photo img { width: 100%; height: 100%; object-fit: cover; }
.problem__photo figcaption { position: absolute; left: 16px; top: 16px; }

.problem__photo--main { aspect-ratio: 4 / 3.4; }
.problem__photo--main img { object-position: 45% center; }

.problem__photo--inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  aspect-ratio: 3 / 4;
  border: 6px solid #fff;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .35);
}

.problem__tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
}
.problem__tag--orange { color: #9A6500; }

/* "Learned in class -/- applied in life" rows under the photos */
.gap-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 18px 22px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 32px -16px rgba(20, 60, 20, .18);
}
.gap-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}
.gap-row__subject { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.gap-row__subject svg { color: var(--green); }
.gap-row__world { color: var(--muted); font-weight: 600; text-align: right; }

/* A dashed connector with a visible break in the middle: the gap */
.gap-row__break {
  position: relative;
  height: 2px;
  min-width: 36px;
  background: repeating-linear-gradient(90deg, #C9D6C6 0 6px, transparent 6px 11px);
}
.gap-row__break::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 14px;
  transform: translate(-50%, -50%);
  border: 2px solid var(--orange);
  border-radius: 50%;
  background: #fff;
}

.problem__copy .section-title { margin: 14px 0 22px; }

.problem__lead {
  margin-bottom: 18px;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.problem__quote {
  margin: 32px 0;
  padding: 4px 0 4px 22px;
  border-left: 4px solid var(--green);
}
.problem__quote p { color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.65; }

.problem__commit {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--green);
  color: rgba(255, 255, 255, .92);
  line-height: 1.7;
}
.problem__year {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
}

@media (max-width: 960px) {
  .problem__grid { grid-template-columns: 1fr; }
  .problem__media { max-width: 640px; }
}
@media (max-width: 600px) {
  .problem__photos { padding-right: 0; padding-bottom: 0; }
  .problem__photo--main { aspect-ratio: 4 / 3; }
  .problem__photo--inset { display: none; }
  .gap-list { margin-top: 14px; padding: 16px; }
  .gap-row { grid-template-columns: auto 1fr; row-gap: 4px; }
  .gap-row__break { display: none; }
  .gap-row__world { text-align: right; }
  .problem__commit { flex-direction: column; gap: 14px; padding: 22px 20px; }
}

/* Strategy --------------------------------------------------------------- */
.strategy {
  --deep: #0E2F12;
  --deep-2: #133A18;
  --deep-line: rgba(255, 255, 255, .12);
  position: relative;
  overflow: hidden;
  padding-block: var(--section-y);
  background: var(--deep);
  color: rgba(255, 255, 255, .78);
}
/* Faint grid texture, evoking a plan / blueprint */
.strategy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.strategy > .container { position: relative; }

.strategy__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 72px); }
.strategy__eyebrow { color: var(--sky); }
.strategy__title {
  margin: 14px 0 20px;
  color: #fff;
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.strategy__intro { font-size: 18px; line-height: 1.7; }

.steps {
  --marker: 64px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Connector track + progress fill running through the markers */
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  top: calc(var(--marker) / 2 - 1px);
  left: calc(var(--marker) / 2);
  right: calc(25% - var(--marker) / 2);
  height: 2px;
}
.steps::before { background: var(--deep-line); }
.steps::after {
  background: var(--sky);
  transform-origin: left;
  transform: scaleX(1);
  transition: transform 1.6s cubic-bezier(.65, 0, .35, 1);
}
.js .steps:not(.is-visible)::after { transform: scaleX(0); }

.step { position: relative; }

.step__marker { position: relative; z-index: 1; margin-bottom: 28px; }
.step__icon {
  display: inline-flex;
  width: var(--marker); height: var(--marker);
  align-items: center;
  justify-content: center;
  border: 2px solid var(--deep-line);
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  transition: background-color .4s, border-color .4s, color .4s;
}
/* Each stage is progressively "more filled" — the progression made visible */
.step:nth-child(1) .step__icon { border-color: rgba(135, 206, 250, .5); color: var(--sky); }
.step:nth-child(2) .step__icon { border-color: var(--sky); background: #173F2A; color: var(--sky); }
.step:nth-child(3) .step__icon { border-color: var(--green); background: #1A5A1D; color: #fff; }
.step:nth-child(4) .step__icon { border-color: var(--orange); background: var(--green); color: #fff; box-shadow: 0 0 0 6px rgba(241, 161, 4, .16); }

.step__body {
  height: calc(100% - var(--marker) - 28px);
  padding: 26px 24px 28px;
  border: 1px solid var(--deep-line);
  border-radius: var(--radius);
  background: var(--deep-2);
  transition: border-color .25s, transform .25s;
}
.step:hover .step__body { border-color: rgba(135, 206, 250, .4); transform: translateY(-3px); }

.step__stage {
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.step__title { margin: 10px 0 12px; color: #fff; font-size: 22px; font-weight: 700; }
.step p { font-size: 15.5px; line-height: 1.7; }

/* Staggered reveal (only when JS is present) */
.js .steps .step { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .steps.is-visible .step { opacity: 1; transform: none; }
.js .steps.is-visible .step:nth-child(2) { transition-delay: .25s; }
.js .steps.is-visible .step:nth-child(3) { transition-delay: .5s; }
.js .steps.is-visible .step:nth-child(4) { transition-delay: .75s; }

.strategy__note {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 40px;
  padding: 26px 28px;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255, 255, 255, .05);
  font-size: 17px;
  line-height: 1.75;
}
.strategy__note strong { color: #fff; font-weight: 700; }
.strategy__note-icon {
  display: inline-flex;
  flex: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(241, 161, 4, .14);
  color: var(--orange);
}

/* Tablet: 2 x 2 grid, connector hidden */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before, .steps::after { display: none; }
}

/* Phone: vertical timeline */
@media (max-width: 640px) {
  .steps { --marker: 52px; grid-template-columns: 1fr; row-gap: 20px; }
  .steps::before, .steps::after {
    display: block;
    top: calc(var(--marker) / 2);
    bottom: 40px;
    left: calc(var(--marker) / 2 - 1px);
    right: auto;
    width: 2px;
    height: auto;
  }
  .steps::after { transform-origin: top; }
  .js .steps:not(.is-visible)::after { transform: scaleY(0); }
  .step { display: grid; grid-template-columns: var(--marker) 1fr; gap: 16px; }
  .step__marker { margin-bottom: 0; }
  .step__body { height: auto; padding: 20px; }
  .strategy__note { flex-direction: column; gap: 14px; padding: 22px 20px; }
}

/* SDGs ------------------------------------------------------------------- */
.sdgs {
  /* Official UN SDG colours, used only on the goal badges */
  --sdg-1: #E5243B;
  --sdg-4: #C5192D;
  --sdg-8: #A21942;
}

.sdgs__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.sdgs__intro .section-title { margin: 14px 0 20px; }
.sdgs__em { color: var(--green); font-weight: 700; }

.sdgs__photo {
  position: relative;
  margin: 36px 0 0;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 4 / 3;
}
.sdgs__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
/* Brand stripe along the bottom edge of the photo */
.sdgs__photo::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--green) 0 33.3%, var(--sky) 33.3% 66.6%, var(--orange) 66.6%);
}

.sdg-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }

.sdg {
  --c: var(--sdg-4);
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 24px;
  align-items: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .25s, box-shadow .25s;
}
.sdg:hover { border-color: #E2E2E2; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .18); }
.sdg--1 { --c: var(--sdg-1); }
.sdg--8 { --c: var(--sdg-8); }

.sdg__badge {
  display: flex;
  flex-direction: column;
  width: 84px; height: 84px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--c);
  color: #fff;
  font-family: var(--font-head);
  line-height: 1;
}
.sdg__label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; opacity: .85; }
.sdg__num { margin-top: auto; font-size: 44px; font-weight: 800; letter-spacing: -0.04em; }

.sdg__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}
.sdg__title svg { flex: none; color: var(--c); }
.sdg p { color: var(--muted); line-height: 1.7; }

.sdg__sectors { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.sdg__sectors li {
  padding: 5px 12px;
  border: 1px solid #F0D5DD;
  border-radius: 999px;
  background: #FCF3F6;
  color: var(--sdg-8);
  font-size: 12.5px;
  font-weight: 700;
}

.sdgs__closing {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(24px, 3.5vw, 36px) clamp(24px, 4vw, 44px);
  border-radius: 20px;
  background: #F5F8F3;
  border: 1px solid #E3ECDF;
}
.sdgs__closing p { max-width: 780px; color: var(--ink); font-size: 17px; font-weight: 500; line-height: 1.7; }
.sdgs__closing .btn { flex: none; }

@media (max-width: 960px) {
  .sdgs__grid { grid-template-columns: 1fr; }
  .sdgs__photo { aspect-ratio: 16 / 9; }
  .sdgs__closing { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .sdg { grid-template-columns: 1fr; gap: 16px; padding: 22px 20px; }
  .sdg__badge { flex-direction: row; align-items: baseline; gap: 6px; width: auto; height: auto; justify-self: start; padding: 8px 12px; }
  .sdg__num { margin-top: 0; font-size: 22px; }
  .sdgs__closing .btn { width: 100%; }
}

/* Home: about teaser ----------------------------------------------------- */
.about-teaser__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px clamp(40px, 6vw, 80px);
  align-items: end;
}
.about-teaser .section-title { margin-top: 14px; }
.about-teaser__body .btn { margin-top: 24px; }

@media (max-width: 860px) {
  .about-teaser__inner { grid-template-columns: 1fr; }
}

/* Image banner (full-bleed, half the viewport tall) --------------------- */
.banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 50vh;
  height: 50svh;
  min-height: 340px;
  max-height: 620px;
  overflow: hidden;
  background: #10240F;
  color: #fff;
}
.banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
/* Scrim: even dark tint for contrast, deeper along the bottom where the text sits */
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(6, 18, 6, .82) 0%, rgba(6, 18, 6, .5) 55%, rgba(6, 18, 6, .25) 100%);
}
.banner__content { position: relative; z-index: 1; padding-bottom: clamp(32px, 5vw, 56px); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  font-weight: 600;
}
.breadcrumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--sky); }

.banner__title {
  color: #fff;
  font-size: clamp(44px, 7.5vw, 84px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
.banner__lede {
  max-width: 560px;
  margin-top: 14px;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 500;
  line-height: 1.5;
}
.banner__stripes { display: flex; gap: 6px; margin-top: 24px; }
.banner__stripes span { width: 36px; height: 5px; border-radius: 3px; }
.banner__stripes span:nth-child(1) { background: var(--green); }
.banner__stripes span:nth-child(2) { background: var(--sky); }
.banner__stripes span:nth-child(3) { background: var(--orange); }

/* About page: hero ------------------------------------------------------- */
.page-hero {
  padding-block: clamp(64px, 9vw, 104px) calc(clamp(56px, 8vw, 96px) + 80px);
  background: var(--bg-hero);
  border-bottom: 1px solid #EEF3EA;
}
.page-hero__inner > * { max-width: 860px; }
.page-hero__title {
  margin: 18px 0 22px;
  font-size: clamp(38px, 6vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.page-hero__lede { max-width: 640px; color: var(--muted); font-size: clamp(17px, 1.7vw, 19px); line-height: 1.75; }

/* In-page jump links */
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.jump a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid #DCE6DA;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: border-color .2s, color .2s, background-color .2s;
}
.jump a svg { color: var(--green); transition: transform .2s; }
.jump a:hover { border-color: var(--green); background: #F2F8F1; }
.jump a:hover svg { transform: translateY(2px); }

@media (max-width: 600px) {
  .jump { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .jump::-webkit-scrollbar { display: none; }
  .jump a { flex: none; }
}

/* About page: mission & vision (overlaps the hero) ------------------------ */
.mv { position: relative; z-index: 2; margin-top: -80px; padding-bottom: var(--section-y); }
.mv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.statement {
  padding: 36px 40px;
  border-radius: var(--radius);
}
.statement p { font-size: 17px; line-height: 1.75; }
.statement--filled { background: var(--green); color: #fff; box-shadow: 0 24px 48px -16px rgba(34, 139, 34, .35); }
.statement--filled .statement__label { color: #fff; }
.statement--outline { border: 1.5px solid var(--green); background: #fff; color: var(--muted); box-shadow: 0 24px 48px -20px rgba(20, 60, 20, .14); }

.statement__icon {
  display: inline-flex;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 12px;
}
.statement--filled .statement__icon { background: rgba(255, 255, 255, .16); color: #fff; }
.statement--outline .statement__icon { background: #E9F4E9; color: var(--green); }

.statement__label { margin-bottom: 10px; font-size: 24px; font-weight: 700; }

@media (max-width: 860px) {
  .mv__grid { grid-template-columns: 1fr; }
  .statement { padding: 28px 24px; }
}

/* TINC26 buttons (sub-brand) --------------------------------------------- */
.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.tp-btn:active { transform: translateY(1px); }
.tp-btn--primary { background: var(--tinc-orange); color: #fff; }
.tp-btn--primary:hover { background: #D94E12; }
.tp-btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.tp-btn--ghost:hover { border-color: var(--tinc-blue); color: var(--tinc-blue); }
.tp-btn--lg { padding: 17px 32px; font-size: 16px; }
.tp-btn--block { width: 100%; }

/* Home: TINC26 promo ----------------------------------------------------- */
.tinc-promo {
  background: var(--tinc-bg);
  color: var(--tinc-muted);
  padding-block: var(--section-y);
  border-top: 4px solid var(--tinc-orange);
}
.tinc-promo__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.tinc-promo__eyebrow {
  color: var(--tinc-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.tinc-promo__logo { width: auto; height: 52px; margin: 22px 0 20px; }
.tinc-promo__title { color: #fff; font-size: clamp(30px, 4.2vw, 42px); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
.tinc-promo__body { margin: 18px 0 24px; font-size: 17px; line-height: 1.75; }
.tinc-promo__body strong { color: #fff; }
.tinc-promo__facts { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 32px; padding: 0; list-style: none; }
.tinc-promo__facts li {
  padding: 6px 14px;
  border: 1px solid var(--tinc-border);
  border-radius: 999px;
  background: var(--tinc-surface);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
}
.tinc-promo__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.tinc-promo__photo { display: block; overflow: hidden; border-radius: 20px; border: 1px solid var(--tinc-border); }
.tinc-promo__photo img { width: 100%; transition: transform .6s ease; }
.tinc-promo__photo:hover img { transform: scale(1.03); }

@media (max-width: 900px) {
  .tinc-promo__grid { grid-template-columns: 1fr; }
  .tinc-promo__photo { order: -1; }
}

/* ========================================================================
   Programs page (TINC26)
   ======================================================================== */
.tp { background: var(--tinc-bg); color: var(--tinc-muted); }

.tp-eyebrow {
  color: var(--tinc-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.tp-eyebrow--orange { color: var(--tinc-orange); }
.tp-title {
  margin-top: 12px;
  color: #fff;
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.tp-h3 { margin-bottom: 14px; color: #fff; font-size: 20px; font-weight: 700; }
.tp-lede { font-size: 17.5px; line-height: 1.75; }
.tp-lede strong { color: #fff; }
.tp-accent { color: var(--tinc-orange); }
.tp-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  color: var(--tinc-blue);
  font-size: 14px;
  font-weight: 700;
}
.tp-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Hero: landscape version of the portrait flyer -------------------------- */
.tp-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(40px, 6vw, 72px);
  background: #000;
}
/* Brand stripe echoing the flyer's red / blue split */
.tp-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tinc-blue) 0 33%, var(--tinc-red) 33% 66%, var(--tinc-orange) 66%);
}

.tp-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.tp-hero .breadcrumb { margin-bottom: 28px; }

.tp-hero__logo { margin: 0; }
.tp-hero__logo img { width: min(100%, 460px); height: auto; }

.tp-hero__theme {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--tinc-border);
}
.tp-hero__theme-label {
  color: var(--tinc-orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.tp-hero__theme img { width: min(100%, 300px); height: auto; }

.tp-hero__meta { display: grid; gap: 12px; margin: 28px 0 32px; padding: 0; list-style: none; }
.tp-hero__meta li { display: flex; align-items: flex-start; gap: 12px; color: #fff; font-size: 16px; line-height: 1.5; }
.tp-hero__meta svg { flex: none; margin-top: 1px; color: var(--tinc-blue); }
.tp-hero__meta strong { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.01em; }

.tp-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.tp-hero__photo { position: relative; margin: 0; align-self: end; }
.tp-hero__photo img {
  width: 100%;
  border-radius: 20px 20px 0 0;
  /* soft fade at the bottom so the photo sinks into the credits bar */
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent);
  mask-image: linear-gradient(to bottom, #000 80%, transparent);
}
.tp-hero__photo figcaption { position: absolute; right: 16px; top: 16px; }
.tp-hero__flyer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .7);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(6px);
  transition: background-color .2s;
}
.tp-hero__flyer:hover { background: var(--tinc-orange); }

.tp-hero__footer { position: relative; border-top: 1px solid var(--tinc-border); background: #000; }
.tp-hero__credits {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  padding-block: 20px;
  font-size: 14px;
}
.tp-hero__credits strong { color: #fff; font-weight: 700; }
.tp-dot { display: inline-block; width: 4px; height: 4px; margin: 0 6px 3px; border-radius: 50%; background: var(--tinc-orange); vertical-align: middle; }

/* Animated mouse scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 11px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  color: #fff;
}
.scroll-cue__mouse {
  position: relative;
  width: 26px; height: 40px;
  border: 2px solid rgba(255, 255, 255, .7);
  border-radius: 14px;
}
.scroll-cue__wheel {
  position: absolute;
  left: 50%; top: 7px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--tinc-orange);
  animation: wheel 1.8s ease-in-out infinite;
}
.scroll-cue:hover .scroll-cue__mouse { border-color: #fff; }
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@media (max-width: 1100px) { .scroll-cue { display: none; } }
@media (max-width: 900px) {
  .tp-hero__grid { grid-template-columns: 1fr; }
  .tp-hero__photo { margin-top: 8px; }
  .tp-hero__credits { flex-direction: column; }
}
@media (max-width: 480px) {
  .tp-hero__actions { flex-direction: column; }
  .tp-hero__actions .tp-btn { width: 100%; }
}

/* At a glance ------------------------------------------------------------ */
.tp-glance { padding-block: 28px; background: var(--tinc-surface); border-bottom: 1px solid var(--tinc-border); }
.tp-glance__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.tp-glance__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "icon label" "icon value";
  column-gap: 14px;
  align-items: center;
  padding: 12px 24px;
}
.tp-glance__list li + li { border-left: 1px solid var(--tinc-border); }
.tp-glance__icon {
  grid-area: icon;
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tinc-border);
  border-radius: 12px;
  background: #000;
}
.tp-glance__icon--blue { color: var(--tinc-blue); }
.tp-glance__icon--orange { color: var(--tinc-orange); }
.tp-glance__icon--red { color: var(--tinc-red); }
.tp-glance__label { grid-area: label; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.tp-glance__value { grid-area: value; color: #fff; font-weight: 700; line-height: 1.4; }

@media (max-width: 1024px) {
  .tp-glance__list { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .tp-glance__list li:nth-child(3) { border-left: 0; }
}
@media (max-width: 560px) {
  .tp-glance__list { grid-template-columns: 1fr; }
  .tp-glance__list li { padding: 12px 0; }
  .tp-glance__list li + li { border-left: 0; border-top: 1px solid var(--tinc-border); }
}

/* Speakers marquee ------------------------------------------------------- */
.tp-speakers { padding-block: var(--section-y); overflow: hidden; }
.tp-speakers__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
}
.tp-speakers__controls { display: flex; align-items: center; gap: 16px; }
.tp-speakers__hint { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.tp-speakers__hint svg { color: var(--tinc-orange); }

.marquee-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--tinc-border);
  border-radius: 999px;
  background: var(--tinc-surface);
  color: #fff;
  font: 700 13px var(--font-body);
  cursor: pointer;
  transition: border-color .2s;
}
.marquee-toggle:hover { border-color: var(--tinc-blue); }
.marquee-toggle__play { display: none; }
.marquee-toggle[aria-pressed="true"] .marquee-toggle__pause { display: none; }
.marquee-toggle[aria-pressed="true"] .marquee-toggle__play { display: block; }

.marquee {
  position: relative;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee.is-dragging { cursor: grabbing; }
.marquee__track {
  display: flex;
  gap: 20px;
  width: max-content;
  margin: 0;
  padding: 12px 0 20px;
  list-style: none;
  will-change: transform;
}
/* No JS / reduced motion: a plain horizontal scroller */
.marquee.is-static { overflow-x: auto; cursor: auto; -webkit-mask-image: none; mask-image: none; }
.marquee.is-static .marquee__track { padding-inline: var(--gutter); }

.speaker {
  --tone: var(--tinc-blue);
  --rx: 0deg;
  --ry: 0deg;
  flex: none;
  width: 240px;
  overflow: hidden;
  border: 1px solid var(--tinc-border);
  border-radius: 18px;
  background: var(--tinc-surface);
  transform: perspective(700px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .25s ease, border-color .25s;
}
.speaker:hover { border-color: var(--tone); }
.speaker--orange { --tone: var(--tinc-orange); }
.speaker--red { --tone: var(--tinc-red); }

/* Placeholder portrait: tinted panel + silhouette + initials */
.speaker__photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--tone) 40%, transparent) 0 22%, transparent 23%),
    radial-gradient(ellipse 58% 42% at 50% 100%, color-mix(in srgb, var(--tone) 32%, transparent) 0 99%, transparent 100%),
    #141414;
}
.speaker__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.speaker__initials {
  position: relative;
  margin-top: -12%;
  color: #fff;
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.speaker__photo::after {
  content: "Photo coming soon";
  position: absolute;
  left: 12px; bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .6);
  color: rgba(255, 255, 255, .75);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
}
.speaker__photo:has(img)::after, .speaker__photo:has(img) .speaker__initials { display: none; }

.speaker__info { padding: 16px 18px 18px; border-top: 3px solid var(--tone); }
.speaker__name { color: #fff; font-size: 17px; font-weight: 700; line-height: 1.3; }
.speaker__role { margin-top: 4px; font-size: 13.5px; font-weight: 600; }

@media (max-width: 600px) {
  .speaker { width: 200px; }
  .tp-speakers__hint { display: none; }
}

/* Event details + registration ------------------------------------------ */
.tp-event { padding-block: var(--section-y); background: var(--tinc-surface); border-block: 1px solid var(--tinc-border); }
.tp-event__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.tp-event__panel {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
  padding: 16%;
  border-radius: 24px;
  background: var(--tinc-red);
  overflow: hidden;
}
.tp-event__panel img { position: relative; width: 100%; height: auto; }

.tp-event__copy .tp-lede { margin: 18px 0 28px; }

.tp-details { display: grid; margin: 0 0 36px; }
.tp-details > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--tinc-border);
}
.tp-details > div:last-child { border-bottom: 1px solid var(--tinc-border); }
.tp-details dt { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding-top: 3px; }
.tp-details dd { margin: 0; color: #fff; font-weight: 600; line-height: 1.55; }
.tp-details .tp-link { display: flex; width: fit-content; }

.tp-register { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.tp-register__note { font-size: 14px; }

@media (max-width: 900px) {
  .tp-event__grid { grid-template-columns: 1fr; }
  .tp-event__panel { max-width: 320px; padding: 14%; }
}
@media (max-width: 600px) {
  .tp-event__panel { display: none; }
}
@media (max-width: 480px) {
  .tp-details > div { grid-template-columns: 1fr; gap: 4px; }
  .tp-register .tp-btn { width: 100%; }
}

/* Hackathon -------------------------------------------------------------- */
.tp-hack { padding-block: var(--section-y); }

.tp-hack__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 40px;
}
.tp-hack__sub { margin-top: 12px; color: #fff; font-size: 18px; font-weight: 500; }

.tp-prize {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 26px;
  border: 1px solid rgba(241, 97, 34, .4);
  border-radius: 16px;
  background: rgba(241, 97, 34, .08);
}
.tp-prize__label { color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.tp-prize__amount {
  color: var(--tinc-orange);
  font-family: var(--font-head);
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.tp-question {
  margin: 0 0 48px;
  padding: clamp(24px, 3.5vw, 36px) clamp(24px, 4vw, 44px);
  border-left: 4px solid var(--tinc-blue);
  border-radius: 0 20px 20px 0;
  background: var(--tinc-surface);
}
.tp-question__label { color: var(--tinc-blue); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.tp-question p {
  margin-top: 10px;
  color: #fff;
  font-family: var(--font-head);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.tp-hack__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.tp-hack__focus p { line-height: 1.8; }
.tp-hack__focus p + p { margin-top: 14px; }

.tp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.tp-chips li {
  padding: 6px 14px;
  border: 1px solid var(--tinc-border);
  border-radius: 999px;
  background: var(--tinc-surface);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
}

.tp-example {
  padding: 28px;
  border: 1px solid var(--tinc-border);
  border-radius: 20px;
  background: var(--tinc-surface);
  line-height: 1.8;
}
.tp-example p + p { margin-top: 14px; }
.tp-example strong { color: #fff; }
.tp-example__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(29, 166, 212, .12);
  color: var(--tinc-blue);
  font-size: 12.5px;
  font-weight: 700;
}

.tp-hack__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--tinc-border);
}

.tp-timeline { position: relative; display: grid; gap: 4px; margin: 6px 0 0; padding: 0; list-style: none; }
.tp-timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 10px; bottom: 10px;
  width: 2px;
  background: var(--tinc-border);
}
.tp-timeline li { position: relative; display: grid; gap: 2px; padding: 10px 0 10px 32px; }
.tp-timeline li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 16px; height: 16px;
  border: 2px solid var(--tinc-blue);
  border-radius: 50%;
  background: var(--tinc-bg);
}
.tp-timeline li:last-child::before { border-color: var(--tinc-orange); background: var(--tinc-orange); }
.tp-timeline__date { color: #fff; font-family: var(--font-head); font-weight: 700; }
.tp-timeline__what { font-size: 15px; }

.tp-hack__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  border: 1px solid var(--tinc-border);
  border-radius: 16px;
  overflow: hidden;
}
.tp-hack__facts li { display: grid; gap: 4px; padding: 16px 18px; background: var(--tinc-surface); }
.tp-hack__facts li + li { border-left: 1px solid var(--tinc-border); }
.tp-hack__facts strong { color: #fff; font-family: var(--font-head); font-size: 17px; }
.tp-hack__facts span { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }

.tp-caveat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(242, 0, 4, .45);
  border-radius: 14px;
  background: rgba(242, 0, 4, .08);
  color: #fff;
  line-height: 1.6;
}
.tp-caveat svg { flex: none; margin-top: 1px; color: #FF4D4F; }
.tp-caveat a { color: var(--tinc-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .tp-hack__grid, .tp-hack__bottom { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .tp-hack__facts { grid-template-columns: 1fr; }
  .tp-hack__facts li + li { border-left: 0; border-top: 1px solid var(--tinc-border); }
  .tp-prize { width: 100%; }
}

/* CTA -------------------------------------------------------------------- */
.cta { background: var(--green); padding-block: clamp(64px, 9vw, 90px); text-align: center; }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__title { color: #fff; font-size: clamp(28px, 4vw, 38px); font-weight: 700; letter-spacing: -0.02em; }
.cta__body { max-width: 560px; margin: 16px 0 32px; color: rgba(255, 255, 255, .9); font-size: 17px; line-height: 1.7; }

/* Footer ----------------------------------------------------------------- */
.footer { background: #0A0A0A; color: #9A9A9A; padding: 70px 0 36px; }

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__brand img { width: auto; height: 60px; margin-bottom: 20px; }
.footer__brand p { max-width: 320px; line-height: 1.7; }

.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { width: fit-content; transition: color .2s; }
.footer__col a:hover { color: #fff; }

.footer__heading {
  margin-bottom: 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.socials { display: flex; gap: 10px; }
.socials a {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #262626;
  border-radius: 10px;
  transition: color .2s, border-color .2s;
}
.socials a:hover { color: #fff; border-color: var(--green); }

.footer__legal {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #1C1C1C;
  color: #6B6B6B;
  font-size: 12px;
}

@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Motion ----------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
