@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/rubik-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --orange: #f35122;
  --orange-deep: #d94313;
  --ink: #17140f;
  --ink-soft: #3a352d;
  --yellow: #ffde31;
  --yellow-deep: #e99a2c;
  --paper: #ffffff;
  --stone: #f0f0ee;
  --muted: #5b5750;
  --rule: #17140f;

  --font: "Rubik", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --space-section: clamp(72px, 10vw, 136px);
  --radius: 6px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
  accent-color: var(--orange);
}

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

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

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

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

::selection { background: var(--ink); color: var(--yellow); }

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

h1, h2, h3 { margin: 0; line-height: 1.05; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.hero :focus-visible,
.join :focus-visible { outline-color: var(--ink); }
.pillars :focus-visible,
.site-footer :focus-visible { outline-color: var(--yellow); }

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--yellow);
  border-radius: var(--radius);
  font-weight: 600;
}
.skip:focus { top: 16px; }

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

.section { padding-block: var(--space-section); }

.split {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
}
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; align-items: start; }
}

/* Type scale */
.h-xxl { font-size: clamp(2.4rem, 5.2vw, 4.25rem); font-weight: 900; letter-spacing: -0.035em; line-height: 0.98; }
.h-xl  { font-size: clamp(2.1rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -0.03em; }
.h-md  { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 700; letter-spacing: -0.01em; }
.h-sm  { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.005em; line-height: 1.2; }
.lead  { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.5; max-width: 60ch; }

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head p { max-width: 52ch; color: var(--muted); font-size: 1.125rem; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 5fr 7fr; align-items: end; gap: clamp(32px, 5vw, 72px); }
}

/* Icons */
.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon .fill { fill: currentColor; stroke: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --fill: var(--yellow);
  --fill-text: var(--ink);
  transition: color 0.35s var(--ease-out), scale 0.2s var(--ease-out), border-color 0.35s ease;
}
/* Ink rises from the bottom like a squeegee pass */
.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: var(--fill);
  clip-path: inset(100% 0 0 0 round 999px);
  transition: clip-path 0.45s var(--ease-out);
}
.btn:hover,
.btn:focus-visible { color: var(--fill-text); }
.btn:hover::before,
.btn:focus-visible::before { clip-path: inset(0 0 0 0 round 999px); }
.btn:active { scale: 0.97; }
.btn .arrow { transition: translate 0.35s var(--ease-out); }
.btn:hover .arrow,
.btn:focus-visible .arrow { translate: 4px 0; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-line { background: transparent; color: var(--ink); --fill: var(--ink); --fill-text: var(--yellow); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.975rem; }
@media (prefers-reduced-motion: reduce) {
  .btn::before { transition-duration: 0.01s; }
  .btn:hover .arrow, .btn:focus-visible .arrow { translate: none; }
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: underline;
}
.link:hover { text-decoration-thickness: 3px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  background: var(--orange);
  padding-top: 12px;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  margin-right: auto;
}
.brand img {
  width: 46px;
  height: 46px;
  padding: 3px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.28);
}
.nav-links {
  display: none;
  list-style: none;
  gap: 28px;
  font-weight: 500;
}
.nav-links a { text-decoration: none; padding-block: 6px; }
.nav-links a:hover { text-decoration: underline; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
}

/* Hero */
.hero {
  background: var(--orange);
  padding-block: clamp(32px, 6vw, 72px) clamp(56px, 8vw, 104px);
}
.hero-grid {
  display: grid;
  gap: clamp(36px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1fr 1.08fr; }
}
.hero-copy { display: grid; gap: 28px; }
.hero-title {
  font-size: clamp(2.75rem, 7.6vw, 5.75rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
  text-shadow: 0.045em 0.05em 0 var(--yellow);
}
.hero-title .line { display: block; }
.hero-title .line > span { display: inline-block; }
.hero-title .line:last-child { color: var(--paper); text-shadow: 0.045em 0.05em 0 var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .hero-title .line > span {
    animation: rise 0.9s var(--ease-out) both, register 1.4s var(--ease-out) both;
    animation-delay: calc(var(--i, 0) * 0.09s), calc(0.25s + var(--i, 0) * 0.09s);
  }
  .hero-title .line:nth-child(2) > span { --i: 1; }
  .hero-title .line:nth-child(3) > span { --i: 2; animation-name: rise, register-last; }
  .hero-lead, .hero .actions { animation: rise 0.9s var(--ease-out) 0.3s both; }
  .hero .actions { animation-delay: 0.4s; }
  .hero-logo { animation: logo-in 1.2s var(--ease-out) 0.1s both; }
}
@keyframes rise {
  from { opacity: 0; translate: 0 0.45em; }
}
@keyframes logo-in {
  from { opacity: 0; scale: 0.82; rotate: -18deg; }
}
@keyframes register {
  from { text-shadow: 0.22em 0.18em 0 var(--yellow); }
  to   { text-shadow: 0.045em 0.05em 0 var(--yellow); }
}
@keyframes register-last {
  from { text-shadow: 0.22em 0.18em 0 var(--ink); }
  to   { text-shadow: 0.045em 0.05em 0 var(--ink); }
}
.hero-lead {
  font-size: clamp(1.15rem, 1.7vw, 1.3rem);
  line-height: 1.5;
  max-width: 44ch;
  color: var(--ink);
}
/* About */
.prose { display: grid; gap: 20px; }
.prose .h-sm { margin-top: 20px; }
.prose p { max-width: 62ch; }

.ticks { list-style: none; display: grid; gap: 14px; max-width: 60ch; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--orange);
  box-shadow: 3px 3px 0 var(--yellow);
}
.ticks-ink li::before { background: var(--ink); box-shadow: 3px 3px 0 var(--yellow); }

/* Pillars */
.pillars { background: var(--ink); color: var(--paper); }
.pillars .h-md { color: var(--yellow); margin-bottom: clamp(28px, 4vw, 48px); }
.pillar-list { margin: 0; display: grid; gap: clamp(36px, 5vw, 56px); }
.pillar { display: grid; gap: 12px; }
.pillar dt {
  font-size: clamp(2.6rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}
.pillar dt::after { content: "."; color: var(--orange); -webkit-text-stroke: 0; }
.pillar dd {
  margin: 0;
  max-width: 36ch;
  font-size: 1.125rem;
  color: rgb(255 255 255 / 0.78);
}
/* Staggered like words pasted across a wall */
@media (min-width: 900px) {
  .pillar { grid-template-columns: auto minmax(0, 34ch); align-items: end; column-gap: 32px; justify-content: start; }
  .pillar:nth-child(2) { margin-left: 12%; }
  .pillar:nth-child(3) { grid-template-columns: minmax(0, 30ch) auto; justify-content: end; }
  .pillar:nth-child(3) dd { order: -1; text-align: right; }
  .pillar dd { padding-bottom: 0.6em; }
}

/* Programs */
.programs { background: var(--stone); }
/* Join */
.join { background: var(--orange); }
.join .ticks { margin-top: 32px; font-size: 1.125rem; }
/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding-block: 56px;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 40px;
}
.footer-logo { width: 96px; height: auto; }
.footer-tag { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; color: var(--yellow); }
.footer-meta { margin-top: 6px; color: rgb(255 255 255 / 0.7); font-size: 0.95rem; }

/* Lightbox */
.lightbox {
  max-width: min(92vw, 1100px);
  max-height: 92dvh;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  overflow: visible;
}
.lightbox:modal { overscroll-behavior: contain; }
.lightbox::backdrop {
  background: rgb(23 20 15 / 0.95);
  overflow: hidden;
  overscroll-behavior: contain;
}
.lightbox img {
  max-width: 100%;
  max-height: calc(92dvh - 72px);
  margin-inline: auto;
  border-radius: var(--radius);
}
.lightbox p { margin-top: 12px; text-align: center; font-weight: 500; }
.lightbox form { position: absolute; top: -8px; right: -8px; translate: 0 -100%; }
.lightbox-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.2rem;
}
.lightbox-close:focus-visible { outline-color: var(--yellow); }
@media (max-width: 640px) {
  .lightbox form { top: auto; bottom: -12px; right: 50%; translate: 50% 100%; }
}

/* ---------- Motion & dynamics ---------- */
main { overflow-x: clip; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Sticky header gains an ink rule once the page moves */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-block: 8px;
}
/* Frosted once the page moves: the orange thins out and blurs what passes under it */
.site-header {
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
}
@supports (animation-timeline: scroll()) {
  .site-header {
    animation: header-lift linear both;
    animation-timeline: scroll(root);
    animation-range: 0 140px;
  }
}
@keyframes header-lift {
  to {
    background-color: rgb(243 81 34 / 0.74);
    box-shadow: 0 1px 0 rgb(23 20 15 / 0.25), 0 12px 28px -18px rgb(23 20 15 / 0.5);
  }
}

/* Running bands, like tape across the print */
.band {
  position: relative;
  z-index: 3;
  margin-block: clamp(-34px, -3vw, -22px);
  margin-inline: -3vw;
  padding-block: clamp(12px, 1.6vw, 18px);
  rotate: -2deg;
  overflow: hidden;
  font-weight: 900;
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  line-height: 1;
}
.band-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 2px 0 var(--ink), 0 -2px 0 var(--ink); }
.band-ink { background: var(--ink); color: var(--yellow); rotate: 1.6deg; }
.band-track { display: flex; width: max-content; }
.band-run {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
  padding-right: clamp(18px, 2.4vw, 32px);
  white-space: nowrap;
}
.band-run img { width: 1.05em; height: 1.05em; }
.band-toggle {
  position: absolute;
  right: calc(3vw + 12px);
  top: 50%;
  translate: 0 -50%;
  display: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 2px solid currentColor;
  border-radius: 999px;
  background: inherit;
  color: inherit;
  cursor: pointer;
}
.band-ink .band-toggle { background: var(--ink); }
.band-yellow .band-toggle { background: var(--yellow); }
.band-toggle .icon { width: 16px; height: 16px; }
.band-toggle .icon-play { display: none; }
.band.is-paused .icon-play { display: block; }
.band.is-paused .icon-pause { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .band-track { animation: marquee 32s linear infinite; }
  .band-ink .band-track { animation-direction: reverse; animation-duration: 38s; }
  .band.is-paused .band-track { animation-play-state: paused; }
  .band-toggle { display: grid; }
}
@keyframes marquee {
  to { translate: -50% 0; }
}
.hero { padding-bottom: clamp(80px, 10vw, 128px); }

/* Scroll reveals (decorative, so no fallback: content simply stays put) */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .reveal,
    .mcard,
    .contact-block,
    .pillar dd {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 80%;
    }

    /* Pillar words fill with ink as they pass the middle */
    .pillar dt {
      -webkit-text-stroke: 2px var(--paper);
      animation: ink-fill linear both;
      animation-timeline: view();
      animation-range: entry 60% cover 50%;
    }
  }
}
@keyframes reveal-up {
  from { opacity: 0; translate: 0 44px; }
}
@keyframes ink-fill {
  from { color: transparent; translate: -24px 0; }
  to   { color: var(--paper); }
}

/* Nav underline grows */
.nav-links a { background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat; transition: background-size 0.35s var(--ease-out); }
.nav-links a:hover { text-decoration: none; background-size: 100% 2px; }

/* Program cards */
.pcard-grid {
  list-style: none;
  display: grid;
  gap: 16px;
}
@media (min-width: 700px) { .pcard-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .pcard-grid { grid-template-columns: repeat(3, 1fr); }
  .pcard-wide { grid-column: span 2; }
}
.pcard { display: flex; min-width: 0; }
.pcard-btn {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: translate 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.pcard-btn img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 2px solid var(--ink);
  transition: scale 0.6s var(--ease-out);
}
.pcard-wide .pcard-btn img { aspect-ratio: 16 / 7.4; }
.pcard-body {
  display: grid;
  gap: 8px;
  padding: 20px 22px 22px;
  flex: 1;
  align-content: start;
}
.pcard-title {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.pcard-title small {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.pcard-desc { color: var(--ink-soft); max-width: 40ch; }
.pcard-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-weight: 700;
  font-size: 0.975rem;
}
.pcard-more .icon {
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  transition: rotate 0.4s var(--ease-out), background-color 0.3s ease;
}
/* Cards without a photo get a full ink field and big type */
.pcard-ink .pcard-btn { background: var(--ink); color: var(--paper); }
.pcard-ink .pcard-desc { color: rgb(255 255 255 / 0.78); }
.pcard-ink .pcard-title { color: var(--yellow); }
.pcard-ink .pcard-more .icon { background: var(--yellow); color: var(--ink); }
.pcard-orange .pcard-btn { background: var(--orange); }
.pcard-orange .pcard-desc { color: var(--ink); }
.pcard-ink .pcard-body,
.pcard-orange .pcard-body {
  min-height: 260px;
  align-content: end;
}
.pcard-ink .pcard-title,
.pcard-orange .pcard-title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
@media (hover: hover) {
  .pcard-btn:hover {
    translate: 0 -6px;
    box-shadow: 0 18px 30px -16px rgb(23 20 15 / 0.5);
  }
  .pcard-btn:hover img { scale: 1.04; }
  .pcard-btn:hover .pcard-more .icon { rotate: 90deg; }
}
.pcard-btn:active { translate: 0 -2px; }
.pcard-btn:focus-visible { outline-offset: 4px; border-radius: 14px; }
@media (prefers-reduced-motion: reduce) {
  .pcard-btn:hover { translate: none; }
  .pcard-btn:hover img { scale: none; }
  .pcard-btn:hover .pcard-more .icon { rotate: none; }
}

/* Program popup */
.program-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
}
.program-dialog:modal { overscroll-behavior: contain; }
.program-dialog::backdrop {
  background: rgb(23 20 15 / 0.72);
  overflow: hidden;
  overscroll-behavior: contain;
}
.pd-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 2px solid var(--ink);
}
.pd-body { display: grid; gap: 14px; padding: 26px 26px 28px; }
.pd-body h2 {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  margin-bottom: 2px;
}
.pd-body > p { color: var(--ink-soft); }
.pd-body .btn { justify-self: start; margin-top: 6px; }
.pd-close {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 12px -56px 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  cursor: pointer;
  transition: rotate 0.3s var(--ease-out);
}
.pd-close:hover { rotate: 90deg; }
@media (prefers-reduced-motion: no-preference) {
  .program-dialog[open] { animation: pd-in 0.45s var(--ease-out); }
  .program-dialog[open]::backdrop { animation: fade-in 0.3s ease; }
}
@keyframes pd-in {
  from { opacity: 0; translate: 0 28px; scale: 0.96; }
}
@keyframes fade-in {
  from { opacity: 0; }
}

/* Vision & mission */
.vision .h-xl { margin-bottom: clamp(28px, 4vw, 44px); }
.visi-card {
  padding: clamp(28px, 5vw, 56px);
  border-radius: 20px;
  background: var(--ink);
  color: var(--paper);
}
.visi-label,
.misi-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 14px;
}
.misi-label { color: var(--ink); margin: clamp(40px, 5vw, 56px) 0 16px; font-size: 1.25rem; }
.vision-text {
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  max-width: 26ch;
}
.vision-text mark {
  color: var(--ink);
  background: linear-gradient(var(--yellow), var(--yellow)) left 92% / 100% 88% no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline: 0.12em;
  border-radius: 4px;
}
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .vision-text mark {
      animation: marker linear both;
      animation-timeline: view();
      animation-range: entry 70% cover 45%;
    }
  }
}
@keyframes marker {
  from { background-size: 0% 88%; color: var(--paper); }
}

.mcard-grid {
  list-style: none;
  display: grid;
  gap: 16px;
}
@media (min-width: 700px) { .mcard-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .mcard-grid { grid-template-columns: repeat(4, 1fr); } }
.mcard { display: flex; min-width: 0; }
.mcard-btn {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 24px 22px 22px;
  border: 0;
  border-radius: 16px;
  background: var(--stone);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: translate 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), background-color 0.3s ease;
}
.mcard-num {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 0.9;
  color: var(--orange);
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}
.mcard-title { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.mcard-text { color: var(--ink-soft); flex: 1; }
.mcard:nth-child(2) .mcard-btn { background: var(--yellow); }
.mcard:nth-child(3) .mcard-btn { background: var(--orange); }
.mcard:nth-child(3) .mcard-num { color: var(--yellow); }
.mcard:nth-child(3) .mcard-text { color: var(--ink); }
.mcard:nth-child(2) .mcard-text { color: var(--ink); }
@media (hover: hover) {
  .mcard-btn:hover { translate: 0 -6px; box-shadow: 0 18px 30px -16px rgb(23 20 15 / 0.45); }
  .mcard-btn:hover .pcard-more .icon { rotate: 90deg; }
}
@media (prefers-reduced-motion: reduce) {
  .mcard-btn:hover { translate: none; }
}

/* Popup extras */
.pd-num { font-size: 4rem; font-weight: 900; line-height: 0.85; color: var(--orange); letter-spacing: -0.04em; }
.pd-lead { font-size: 1.2rem; font-weight: 600; color: var(--ink) !important; line-height: 1.4; }
.pd-sub { font-size: 1rem; font-weight: 700; margin-top: 6px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--yellow);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.chip:hover { background: var(--orange); color: var(--ink); }
.pd-facts {
  margin: 4px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.pd-facts div { padding: 12px 14px; border-radius: 12px; background: var(--stone); }
.pd-facts dt { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.pd-facts dd { margin: 2px 0 0; font-weight: 700; line-height: 1.3; }

/* Join: panels instead of rules */
.contact { display: grid; gap: 12px; }
.contact-block {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 22px 24px;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.16);
}
.contact-block:first-child { background: var(--ink); color: var(--paper); }
.contact-block:first-child .btn-ink { background: var(--yellow); color: var(--ink); --fill: var(--paper); }
.contact-block h3 { font-size: 1rem; font-weight: 700; }
.contact-block address { font-style: normal; font-size: 1.15rem; line-height: 1.45; }
.contact-block p { max-width: 46ch; }

.h-lg { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; }

/* Hero logo badge: ink disc so the orange mark reads on the orange field */
.hero-logo {
  justify-self: center;
  width: min(100%, 440px);
  aspect-ratio: 1;
  padding: 4.5%;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.22);
  transition: rotate 0.6s var(--ease-out), scale 0.6s var(--ease-out);
}
.hero-logo img { width: 100%; height: 100%; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero-logo:hover { rotate: 8deg; scale: 1.03; }
}
@media (max-width: 959px) { .hero-logo { width: min(64vw, 280px); } }

.about .prose { gap: 20px; }
.about .prose .h-xl { margin-bottom: 4px; }
.join-body { display: grid; gap: 28px; }
.join .ticks { margin-top: 0; }
.join .contact { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Poster cards */
.posters { margin-top: clamp(64px, 8vw, 104px); }
.poster-grid {
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-inline: calc(var(--gutter) * -1);
  padding: 6px var(--gutter) 22px;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--ink) transparent;
}
@media (min-width: 640px) { .poster-grid { grid-auto-columns: 42%; } }
@media (min-width: 1000px) {
  .poster-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    margin-inline: 0;
    padding: 0;
    gap: 22px;
  }
}
.poster { scroll-snap-align: start; display: flex; }
.poster-btn {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  width: 100%;
  height: auto;
  padding: 12px 12px 16px;
  border: 0;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 1px 0 rgb(23 20 15 / 0.08), 0 12px 26px -18px rgb(23 20 15 / 0.45);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: zoom-in;
  overflow: visible;
  transition: translate 0.45s var(--ease-out), rotate 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.poster-frame {
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  background: var(--ink);
}
.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: scale 0.6s var(--ease-out);
}
.poster-info { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 4px; }
.poster-title { font-weight: 700; font-size: 1.1rem; line-height: 1.25; }
.poster-year {
  flex: none;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--orange);
  font-weight: 700;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .poster:nth-child(odd) .poster-btn:hover { rotate: -1.5deg; }
  .poster:nth-child(even) .poster-btn:hover { rotate: 1.5deg; }
  .poster-btn:hover {
    translate: 0 -8px;
    box-shadow: 0 1px 0 rgb(23 20 15 / 0.08), 0 26px 40px -22px rgb(23 20 15 / 0.55);
  }
  .poster-btn:hover .poster-frame img { scale: 1.04; }
}


.join .contact { align-items: start; }
.contact-block { align-content: start; }
.contact-block .btn { align-self: start; }

/* Photo slots: cut-out photos (no background) standing on the section edge */
.about, .join { padding-bottom: 0; }
.about .prose, .join-body { padding-bottom: var(--space-section); }
.photo-slot {
  position: relative;
  margin: 0;
  align-self: end;
  height: clamp(340px, 44vw, 600px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.photo-slot img.photo {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: bottom center;
  transition: scale 0.6s var(--ease-out);
  transform-origin: bottom center;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .photo-slot:hover img.photo { scale: 1.03; }
}
.photo-slot-empty {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  border: 2px dashed rgb(23 20 15 / 0.25);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  color: var(--muted);
  font-weight: 600;
}
.photo-slot-empty img { opacity: 0.5; filter: grayscale(1); }
.slot-join .photo-slot-empty { border-color: rgb(23 20 15 / 0.35); color: var(--ink); }
@media (max-width: 899px) {
  .about .prose, .join-body { padding-bottom: 0; }
  .photo-slot { order: 2; height: clamp(300px, 90vw, 420px); margin-top: 8px; }
}

/* Struktur pengurus */
.org-section { background: var(--yellow); }
.org-section .section-head p { color: var(--ink-soft); }
.org-tree {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: clamp(10px, 2.4vw, 28px);
  max-width: 980px;
  margin-inline: auto;
  padding-top: clamp(24px, 4vw, 56px);
}
/* The lead stands a step higher than the two beside it */
.person-lead { translate: 0 calc(clamp(24px, 4vw, 56px) * -1); }
.person {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 20px 36px -24px rgb(23 20 15 / 0.6);
  transition: translate 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.person-lead { background: var(--ink); }
.person-photo { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
.person-photo img,
.person-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: scale 0.6s var(--ease-out);
}
.person-ph { width: 78%; height: auto; fill: rgb(23 20 15 / 0.12); }
.person-lead .person-ph { fill: rgb(255 255 255 / 0.14); }
/* Name and role sit across the belly of the photo, no plate behind them */
.person-tag {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 64%;
  display: grid;
  gap: 2px;
  text-align: center;
  color: var(--ink);
  text-shadow: 0 1px 12px rgb(255 255 255 / 0.9);
  transition: translate 0.45s var(--ease-out);
}
.person-role { font-size: 0.9rem; font-weight: 700; color: var(--orange-deep); }
.person-name { font-size: clamp(1.05rem, 2.2vw, 1.4rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
.person-lead .person-tag { color: var(--paper); text-shadow: 0 1px 14px rgb(23 20 15 / 0.85); }
.person-lead .person-role { color: var(--yellow); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .person:hover { translate: 0 -6px; box-shadow: 0 30px 44px -26px rgb(23 20 15 / 0.7); }
  .person-lead:hover { translate: 0 calc(clamp(24px, 4vw, 56px) * -1 - 6px); }
  .person:hover .person-photo img,
  .person:hover .person-ph { scale: 1.08; }
  .person:hover .person-tag { translate: 0 -6px; }
}

/* Software house apps inside its popup */
.pd-apps { list-style: none; display: grid; gap: 8px; }
.pd-apps li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--stone); }
.pd-apps li:first-child { background: var(--ink); color: var(--paper); }
.pd-apps span { color: var(--ink-soft); font-size: 0.95rem; }
.pd-apps li:first-child span { color: rgb(255 255 255 / 0.78); }
@media (max-width: 699px) {
  .person-tag { top: 54%; left: 6px; right: 6px; }
  .person-role { font-size: 0.75rem; }
  .person-name { font-size: 0.95rem; }
}

/* Struktur as one group photo: cut-outs standing on the section's bottom edge */
.org-section { padding-bottom: 0; overflow: clip; }
.org-tree {
  grid-template-columns: 1fr 1.3fr 1fr;
  align-items: end;
  gap: 0;
  max-width: 1120px;
  padding-top: clamp(16px, 3vw, 40px);
}
.person {
  aspect-ratio: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}
.person-lead { translate: none; background: none; z-index: 2; }
.org-tree > .person:first-child { margin-right: -7%; }
.org-tree > .person:last-child { margin-left: -7%; }
.person-photo { position: relative; inset: auto; display: block; }
.person-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transform-origin: bottom center;
  transition: scale 0.6s var(--ease-out), filter 0.4s ease;
}
.person-tag {
  top: 70%;
  color: var(--paper);
  text-shadow: 0 2px 14px rgb(23 20 15 / 0.8), 0 0 3px rgb(23 20 15 / 0.6);
}
.person-role { color: var(--yellow); }
.person-lead .person-tag { color: var(--paper); text-shadow: 0 2px 14px rgb(23 20 15 / 0.8), 0 0 3px rgb(23 20 15 / 0.6); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .person:hover, .person-lead:hover { translate: none; box-shadow: none; }
  .person:hover .person-photo img { scale: 1.06; }
  .org-tree:hover .person:not(:hover) .person-photo img { filter: saturate(0.7) brightness(0.92); }
}
.photo-slot img.photo { display: block; }

/* Bigger people: size cut-outs by height, let them break out of their column */
@media (min-width: 900px) {
  .about-grid, .join-grid { grid-template-columns: 1fr 1fr; }
}
.photo-slot { height: auto; justify-content: flex-end; }
.photo-slot img.photo {
  height: min(780px, 56vw);
  width: auto;
  max-width: none;
}
@media (max-width: 899px) {
  .photo-slot { height: auto; justify-content: center; }
  .photo-slot img.photo { height: min(115vw, 620px); }
}

/* Struktur: one big group, the lead in front and a head taller */
.org-tree {
  --s: min(400px, 27vw);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  max-width: none;
  padding-top: 0;
}
.org-tree > .person { flex: none; }
.person-photo img { height: var(--s); width: auto; max-width: none; }
.person-lead .person-photo img { height: calc(var(--s) * 1.2); }
.org-tree > .person:first-child { margin-right: calc(var(--s) * -0.16); margin-left: 0; }
.org-tree > .person:last-child { margin-left: calc(var(--s) * -0.16); margin-right: 0; }
.person-tag { top: auto; bottom: 9%; z-index: 3; }
.org-section .section-head { margin-bottom: clamp(16px, 3vw, 32px); }
@media (max-width: 699px) {
  .org-tree { --s: 38vw; }
  .person-lead .person-photo img { height: calc(var(--s) * 1.25); }
  .org-tree > .person:first-child { margin-right: calc(var(--s) * -0.18); }
  .org-tree > .person:last-child { margin-left: calc(var(--s) * -0.18); }
  .person-tag { top: auto; bottom: 7%; }
  /* side labels lean inward so they stay on screen */
  .org-tree > .person:first-child .person-tag { left: 28%; right: 2px; }
  .org-tree > .person:last-child .person-tag { left: 2px; right: 28%; }
}
/* Keep both columns equal; the photo spills toward the page edge instead of widening its column */
.about-grid, .join-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .about-grid, .join-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.photo-slot { min-width: 0; }
@media (max-width: 699px) {
  .org-tree { --s: 34vw; }
  .org-tree > .person:first-child { margin-right: calc(var(--s) * -0.28); }
  .org-tree > .person:last-child { margin-left: calc(var(--s) * -0.28); }
}
.join .contact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

/* Navbar spans the full width: logo in the left corner, menu + button in the right corner */
.site-header .wrap {
  max-width: none;
  padding-inline: clamp(16px, 3vw, 48px);
}

/* Tentang: two people, Rijal stands half a step behind Banna */
.slot-duo { --ph: min(860px, 48vw); }
.slot-duo img.photo { height: var(--ph); position: relative; z-index: 1; }
.slot-duo img.photo-back {
  height: calc(var(--ph) * 0.93);
  z-index: 0;
  margin-right: calc(var(--ph) * -0.5);
  filter: brightness(0.96);
}
@media (max-width: 899px) {
  .slot-duo { --ph: min(98vw, 600px); }
}
