:root {
  --black: #050506;
  --ink: #111318;
  --muted: #6f7682;
  --line: #e7ebf1;
  --soft: #f4f6f9;
  --blue: #20aef3;
  --orange: #ff7a1a;
  --radius: 18px;
  font-family: "Noto Sans KR", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: white;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button { font: inherit; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 72px);
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition: background .28s ease, color .28s ease, border-color .28s ease;
}
.site-header.is-on-hero {
  color: white;
  background: rgba(5, 5, 6, .82);
  border-bottom-color: rgba(255, 255, 255, .08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font: 900 1.85rem/1 "Inter", sans-serif;
  letter-spacing: -.04em;
}
.brand-mark { width: 52px; height: 52px; flex: 0 0 auto; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: clamp(26px, 4vw, 56px); font: 800 .95rem/1 "Inter", sans-serif; }
.site-nav a { position: relative; color: #a5abb5; transition: color .2s ease; }
.site-nav a:hover, .site-nav a.is-active { color: var(--black); }
.site-header.is-on-hero .site-nav a { color: rgba(255,255,255,.62); }
.site-header.is-on-hero .site-nav a:hover,
.site-header.is-on-hero .site-nav a.is-active,
.site-header.is-on-hero .nav-cta { color: white !important; }
.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 4px;
  background: var(--blue);
}
.nav-cta { color: var(--black) !important; }
.menu-button { display: none; border: 0; background: none; padding: 10px; }
.menu-button span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--black); }
.site-header.is-on-hero .menu-button span { background: white; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 132px clamp(18px, 6vw, 92px) 72px;
  color: white;
  background:
    radial-gradient(circle at 18% 62%, rgba(32, 174, 243, .45) 0 17%, transparent 18%),
    radial-gradient(circle at 84% 18%, rgba(32, 174, 243, .85) 0 11%, transparent 12%),
    linear-gradient(135deg, transparent 76%, var(--orange) 76% 100%),
    var(--black);
}
.hero-frame {
  position: relative;
  z-index: 2;
  width: min(100%, 1240px);
  min-height: min(650px, calc(100svh - 190px));
  display: grid;
  place-items: center;
  align-content: center;
  padding: clamp(40px, 7vw, 86px) clamp(20px, 5vw, 70px);
  text-align: center;
  border: 2px solid rgba(255,255,255,.74);
}
.kicker, .eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font: 800 .85rem/1 "Inter", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero .kicker { color: white; font-family: "Noto Sans KR", sans-serif; font-size: 1.12rem; letter-spacing: 0; }
.hero h1 {
  margin: 0;
  font: 780 clamp(3.1rem, 7.1vw, 7.15rem)/1.02 "Inter", sans-serif;
  letter-spacing: -.025em;
}
.hero h1 span {
  display: block;
  margin-bottom: 18px;
  font-size: clamp(1.85rem, 3.7vw, 3.8rem);
  font-weight: 820;
  letter-spacing: -.02em;
}
.hero-copy { max-width: 620px; margin: 28px auto 0; color: rgba(255,255,255,.78); font-size: 1.08rem; }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.primary-button, .ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 900;
}
.primary-button { color: white; background: var(--orange); box-shadow: 0 16px 32px rgba(255, 122, 26, .24); }
.ghost-button { color: white; border: 1px solid rgba(255,255,255,.4); }
.shape { position: absolute; z-index: 1; pointer-events: none; }
.ring { left: -130px; bottom: 30px; width: 330px; height: 330px; border: 62px solid var(--blue); border-radius: 50%; }
.box { right: 10vw; top: 38%; width: 126px; height: 126px; background: var(--orange); transform: rotate(45deg); }
.tag { right: 13vw; bottom: 18%; padding: 10px 18px; color: var(--black); background: white; border-radius: 999px; font-weight: 900; transform: rotate(-7deg); }

.section {
  padding: 110px clamp(22px, 8vw, 132px);
  scroll-margin-top: 86px;
}
.section.muted { background: var(--soft); }
.section-heading { max-width: 780px; margin-bottom: 56px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2, .join-panel h2 {
  margin: 0;
  font: 900 clamp(2.8rem, 6vw, 5.5rem)/1.05 "Inter", "Noto Sans KR", sans-serif;
  letter-spacing: -.06em;
}
.section-heading p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 1.12rem; }

.about-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 132px clamp(18px, 6vw, 92px) 72px;
  color: white;
  background:
    radial-gradient(circle at -4% 62%, rgba(32,174,243,.88) 0 18%, transparent 19%),
    radial-gradient(circle at 92% 18%, rgba(32,174,243,.9) 0 11%, transparent 12%),
    linear-gradient(135deg, transparent 78%, var(--orange) 78% 100%),
    var(--black);
  scroll-margin-top: 86px;
}
.about-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1240px);
  min-height: min(650px, calc(100svh - 190px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(380px, 1.05fr) minmax(420px, .95fr);
  align-items: center;
  gap: clamp(58px, 8vw, 126px);
  padding: clamp(42px, 6vw, 72px);
  border: 2px solid rgba(255,255,255,.72);
}
.about-copy h2 {
  margin: 0;
  font: 900 clamp(3.8rem, 7vw, 7rem)/.98 "Inter", sans-serif;
  letter-spacing: -.065em;
}
.about-copy h3 {
  margin: 34px 0 16px;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.35;
}
.about-copy p {
  max-width: 650px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.78);
  word-break: keep-all;
}
.about-slogan {
  color: white !important;
  font-weight: 900;
  font-size: 1.25rem;
}
.rule {
  width: min(360px, 80%);
  height: 2px;
  margin: 30px 0 0;
  background: rgba(255,255,255,.5);
}
.blackbox-diagram {
  display: grid;
  grid-template-columns: minmax(58px, .55fr) minmax(150px, 210px) minmax(58px, .55fr);
  align-items: center;
  gap: 0;
  min-width: 0;
  max-width: 620px;
  justify-self: end;
}
.blackbox-module {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 3px solid white;
  background: rgba(0,0,0,.28);
  font: 900 clamp(1rem, 2vw, 1.4rem)/1 "Inter", sans-serif;
  box-shadow: 0 0 40px rgba(32,174,243,.16);
}
.wire {
  display: grid;
  gap: 24px;
}
.wire span {
  position: relative;
  height: 4px;
  background: var(--blue);
}
.wire.left span::before,
.wire.right span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--blue);
  transform: translateY(-50%);
}
.wire.left span::before { left: -2px; }
.wire.right span::after { right: -2px; }
.process-icons {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 42px;
  perspective: 900px;
}
.process-icons article {
  display: grid;
  justify-items: center;
  gap: 10px;
  font: 900 .9rem/1 "Inter", sans-serif;
}
.process-icons i {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 2px solid white;
  border-radius: 50%;
  color: var(--blue);
  font-style: normal;
  transition: transform .65s cubic-bezier(.2,.8,.2,1), background .25s ease;
}
.process-icons article:hover i {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  transform: rotateY(180deg) rotateZ(8deg);
}

#project {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at -8% 16%, rgba(32,174,243,.34) 0 18%, transparent 19%),
    radial-gradient(circle at 104% 74%, rgba(255,122,26,.34) 0 20%, transparent 21%),
    var(--black);
}
#project .section-heading h2,
#project .project-rows > div > h3 {
  color: white;
}
#project .tabs,
#project .project-rows {
  position: relative;
  z-index: 1;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -24px 0 48px;
}
.tabs button {
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  padding: 10px 22px;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.08);
  cursor: pointer;
  font-weight: 800;
}
.tabs .is-active { color: white; background: var(--blue); border-color: var(--blue); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.project-rows {
  display: grid;
  gap: 60px;
}
.project-rows > div > h3 {
  margin: 0 0 20px;
  font-size: 1.48rem;
}
.project-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.project-card img {
  height: 210px;
  object-fit: cover;
  object-position: top center;
}
.project-badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  font-weight: 900;
  font-size: .8rem;
}
.sales {
  display: inline-flex;
  margin-top: 12px;
  padding: 7px 10px;
  border-radius: 9px;
  color: var(--black);
  background: #fff08a;
  font: 900 .88rem/1 "Noto Sans KR", sans-serif;
}
.image-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.image-card:hover { transform: translateY(-6px); box-shadow: 0 22px 52px rgba(17,19,24,.12); }
.image-card img { height: 220px; object-fit: cover; }
.image-card div { padding: 22px 24px 26px; color: var(--ink); }
.image-card h3 { margin: 0 0 10px; color: var(--ink); font-size: 1.22rem; }
.image-card h4 { margin: 0 0 10px; color: var(--ink); font-size: 1.12rem; line-height: 1.35; }
.image-card p { margin: 0; color: #1b2330; font-size: .95rem; line-height: 1.72; }

.reveal-card { isolation: isolate; }
.reveal-panel {
  display: grid;
  gap: 6px;
  max-height: 0;
  padding: 0 28px;
  color: white;
  background: linear-gradient(135deg, rgba(5,5,6,.88), rgba(5,5,6,.68));
  border-top: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(14px);
  overflow: hidden;
  opacity: 0;
  transition: max-height .34s cubic-bezier(.2,.8,.2,1), padding .34s cubic-bezier(.2,.8,.2,1), opacity .2s ease;
}
.reveal-card:hover .reveal-panel,
.reveal-card:focus-within .reveal-panel {
  max-height: 150px;
  padding: 18px 24px 20px;
  opacity: 1;
}
.reveal-panel strong {
  color: var(--blue);
  font: 900 .78rem/1 "Inter", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.reveal-panel span { color: rgba(255,255,255,.84); }
.project-card.is-filtered-out { display: none; }
.project-group.is-empty { display: none; }
.project-empty {
  margin: 20px 0 0;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition:
    opacity .72s ease,
    transform .72s cubic-bezier(.2,.8,.2,1),
    filter .72s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.scroll-reveal[data-reveal="fade"] {
  transform: translateY(0);
}
.scroll-reveal[data-reveal="slide-left"] {
  transform: translateX(-28px);
}
.scroll-reveal[data-reveal="slide-right"] {
  transform: translateX(28px);
}
.scroll-reveal[data-reveal="scale"] {
  transform: translateY(18px) scale(.96);
}
.scroll-reveal.is-visible[data-reveal] {
  transform: translate(0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

.members-heading {
  max-width: 760px;
  margin-bottom: 64px;
}
.members-heading .eyebrow {
  margin-bottom: 12px;
  color: var(--black);
  font-size: clamp(1.9rem, 3.5vw, 3.05rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
}
.members-heading h2 {
  font: 500 clamp(1.02rem, 1.65vw, 1.34rem)/1.55 "Inter", "Noto Sans KR", sans-serif;
  letter-spacing: -.02em;
}
.member-groups {
  display: grid;
  gap: 34px;
  max-width: 980px;
  margin: 0 auto;
}
.member-row {
  display: grid;
  justify-content: center;
  gap: 20px;
}
.member-row-2 {
  grid-template-columns: repeat(2, minmax(220px, 260px));
}
.member-row-3 {
  grid-template-columns: repeat(3, minmax(210px, 250px));
}
.member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.member-card {
  padding: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  text-align: center;
  overflow: hidden;
}
.member-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 22px;
  border-radius: 0;
  object-fit: cover;
  object-position: center top;
  background: var(--soft);
}
.member-photo-sungbin {
  object-position: center 38%;
}
.member-photo-placeholder {
  display: grid;
  place-items: center;
  border: 1px solid rgba(22, 170, 232, .34);
  background:
    radial-gradient(circle at 24% 20%, rgba(22,170,232,.34), transparent 28%),
    radial-gradient(circle at 86% 78%, rgba(255,123,24,.24), transparent 32%),
    #11151b;
  color: white;
  font: 950 3rem/1 "Inter", sans-serif;
  letter-spacing: -.08em;
}
.member-card span { color: var(--orange); font-weight: 900; }
.member-card strong { display: block; margin-top: 12px; font-size: 1.38rem; }
.member-card p { margin: 8px 16px 0; color: var(--muted); font-size: .94rem; line-height: 1.45; }

.horizontal-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(310px, 31vw);
  gap: 24px;
  overflow-x: auto;
  padding: 8px clamp(22px, 8vw, 132px) 24px;
  margin-inline: calc(clamp(22px, 8vw, 132px) * -1);
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--blue) #edf2f7;
}
.scroll-card {
  scroll-snap-align: center;
  min-height: 360px;
}
.scroll-card img { height: 190px; }
.scroll-card div { padding: 22px; }
.scroll-card h3 { font-size: 1.25rem; }

.journal-section {
  background: white;
}
.journal-heading {
  max-width: 880px;
  margin: 0 auto 72px;
  text-align: center;
}
.journal-heading .eyebrow {
  color: var(--blue);
}
.journal-heading h2 {
  margin: 10px 0 18px;
  color: #283243;
  font: 700 clamp(2.1rem, 4vw, 3.15rem)/1.15 Georgia, "Times New Roman", serif;
  letter-spacing: -.02em;
}
.journal-heading span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 500;
}
.journal-heading p {
  margin: 0 auto;
  max-width: 720px;
  color: #303846;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  font-weight: 400;
  line-height: 1.7;
}
.program-timeline {
  position: relative;
  display: grid;
  gap: 30px;
  max-width: 720px;
  margin: 0 auto 76px;
}
.program-timeline::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(#e6e8ec, #8c939d);
}
.timeline-item {
  position: relative;
  display: grid;
  gap: 5px;
  width: calc(50% - 30px);
  color: #16191f;
}
.timeline-item::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #aeb3ba;
  box-shadow: 0 0 0 6px white;
}
.timeline-item.left {
  justify-self: start;
  text-align: right;
}
.timeline-item.right {
  justify-self: end;
  text-align: left;
}
.timeline-item.left::after {
  right: -36px;
}
.timeline-item.right::after {
  left: -36px;
}
.timeline-item strong {
  font-size: 1.14rem;
  line-height: 1.25;
}
.timeline-item span {
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.55;
}
.programs-title {
  max-width: 1180px;
  margin: 0 auto 22px;
  color: var(--black);
  font-size: 1.7rem;
  letter-spacing: -.02em;
}
.programs-scroller {
  grid-auto-columns: minmax(280px, 29vw);
}

.recruit-section {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 92% 8%, rgba(32,174,243,.36) 0 15%, transparent 16%),
    linear-gradient(135deg, transparent 82%, rgba(255,122,26,.9) 82% 100%),
    var(--black);
}
.recruit-section .section-heading h2,
.recruit-section .recruit-block h3 {
  color: white;
}
.recruit-section .section-heading p:last-child,
.recruit-section .recruit-note {
  color: rgba(255,255,255,.68);
}
.recruit-block {
  margin-top: 72px;
  position: relative;
  z-index: 1;
}
.recruit-block h3 {
  margin: 0 0 22px;
  font-size: 1.55rem;
  font-weight: 900;
}
.recruit-card-grid {
  display: grid;
  gap: 24px;
}
.schedule-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.event-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.recruit-card-grid article {
  min-height: 134px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 26px 18px;
  border-radius: 18px;
  color: var(--black);
  background: rgba(255,255,255,.94);
  text-align: center;
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease;
}
.recruit-card-grid article:hover {
  transform: translateY(-5px);
  background: #eef8ff;
  box-shadow: 0 18px 38px rgba(17, 19, 24, .08);
}
.recruit-card-grid strong {
  font-size: 1.28rem;
  font-weight: 900;
}
.recruit-card-grid span {
  font-weight: 800;
  color: var(--black);
}
.recruit-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 700;
}
.recruit-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-top: 58px;
  padding: 0 34px;
  border-radius: 999px;
  color: white;
  background: var(--orange);
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(255, 122, 26, .22);
  border: 0;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.recruit-status {
  min-height: 28px;
  margin: 16px 0 0;
  color: var(--orange);
  font-weight: 900;
  text-align: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(22px, 5vw, 72px);
  color: white;
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,.12);
}
.site-footer span { color: rgba(255,255,255,.55); }
.instagram-link {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 13px;
}
.instagram-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .site-header { height: 72px; }
  .brand { font-size: 1.35rem; }
  .brand-mark { width: 40px; height: 40px; }
  .menu-button { display: block; }
  .site-nav {
    position: fixed;
    inset: 72px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 24px 26px;
    background: white;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 18px 0; color: var(--black); }
  .site-nav a.is-active::after { display: none; }
  .hero { min-height: 100svh; padding: 104px 14px 42px; }
  .hero-frame { min-height: calc(100svh - 150px); }
  .hero-actions { flex-direction: column; align-items: center; }
  .about-section { padding: 104px 14px 42px; }
  .about-shell { min-height: calc(100svh - 150px); grid-template-columns: 1fr; padding: 30px 22px; }
  .blackbox-diagram {
    width: min(100%, 520px);
    grid-template-columns: minmax(44px, 1fr) minmax(132px, 180px) minmax(44px, 1fr);
    justify-self: center;
    gap: 0;
  }
  .wire {
    display: grid;
    gap: 18px;
  }
  .wire span {
    height: 4px;
  }
  .wire.left span::before,
  .wire.right span::after {
    width: 12px;
    height: 12px;
  }
  .process-icons {
    grid-column: 1 / -1;
  }
  .process-icons { grid-template-columns: repeat(3, 1fr); }
  .card-grid, .member-grid, .member-row-2, .member-row-3, .journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .members-heading .eyebrow { font-size: clamp(2rem, 10vw, 2.9rem); }
  .members-heading h2 { font-size: clamp(1rem, 4.5vw, 1.22rem); }
  .project-grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schedule-grid, .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .horizontal-scroller, .programs-scroller { grid-auto-columns: minmax(280px, 82vw); }
  .section { padding: 80px 20px; }
  .image-card img, .project-card img { height: 220px; }
  .program-timeline { gap: 24px; margin-bottom: 56px; }
  .program-timeline::before { left: 10px; }
  .timeline-item,
  .timeline-item.left,
  .timeline-item.right {
    justify-self: stretch;
    width: auto;
    padding-left: 34px;
    text-align: left;
  }
  .timeline-item.left::after,
  .timeline-item.right::after {
    left: 4px;
    right: auto;
  }
  .site-footer { flex-direction: column; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .site-header {
    height: 66px;
    padding: 0 16px;
  }
  .brand {
    gap: 9px;
    font-size: 1.08rem;
    letter-spacing: -.03em;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  .site-nav {
    inset: 66px 0 auto;
    padding: 10px 20px 18px;
  }
  .site-nav a {
    padding: 14px 0;
    font-size: .92rem;
  }
  .hero {
    min-height: 100svh;
    padding: 86px 12px 28px;
  }
  .hero-frame {
    min-height: calc(100svh - 118px);
    padding: 34px 16px;
    border-width: 1px;
  }
  .hero .kicker {
    font-size: .92rem;
  }
  .hero h1 {
    font-size: clamp(2.4rem, 14vw, 4.1rem);
    line-height: 1.05;
  }
  .hero h1 span {
    margin-bottom: 12px;
    font-size: clamp(1.35rem, 8vw, 2.1rem);
  }
  .hero-copy {
    max-width: 30ch;
    margin-top: 20px;
    font-size: .95rem;
    line-height: 1.65;
  }
  .shape.ring {
    left: -118px;
    bottom: 16px;
    width: 210px;
    height: 210px;
    border-width: 42px;
  }
  .shape.box {
    right: -28px;
    top: 50%;
    width: 86px;
    height: 86px;
  }
  .shape.tag {
    right: 16px;
    bottom: 10%;
    font-size: .78rem;
  }
  .section {
    padding: 68px 16px;
    scroll-margin-top: 66px;
  }
  .section-heading {
    margin-bottom: 34px;
  }
  .section-heading h2,
  .join-panel h2 {
    font-size: clamp(2rem, 12vw, 3.2rem);
    letter-spacing: -.045em;
  }
  .about-shell {
    padding: 24px 14px;
  }
  .blackbox-diagram {
    width: 100%;
    grid-template-columns: minmax(34px, 1fr) minmax(118px, 152px) minmax(34px, 1fr);
  }
  .blackbox-module {
    border-width: 2px;
    font-size: .92rem;
  }
  .wire {
    gap: 14px;
  }
  .wire span {
    height: 3px;
  }
  .wire.left span::before,
  .wire.right span::after {
    width: 10px;
    height: 10px;
  }
  .tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 8px;
    margin: -12px -16px 30px;
    padding: 0 16px 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button {
    flex: 0 0 auto;
    padding: 9px 18px;
    font-size: .9rem;
  }
  .project-rows {
    gap: 36px;
  }
  .project-rows > div > h3 {
    font-size: 1.08rem;
  }
  .image-card,
  .member-card,
  .recruit-card-grid article {
    border-radius: 14px;
  }
  .image-card div {
    padding: 13px 12px 16px;
  }
  .image-card h4 {
    font-size: .86rem;
    line-height: 1.35;
  }
  .image-card p {
    font-size: .75rem;
    line-height: 1.55;
  }
  .image-card h3 {
    font-size: .9rem;
  }
  .project-card img,
  .image-card img {
    height: 128px;
  }
  .project-badge {
    margin-bottom: 8px;
    padding: 4px 8px;
    font-size: .68rem;
  }
  .sales {
    margin-top: 9px;
    padding: 6px 8px;
    font-size: .72rem;
  }
  .reveal-card:hover .reveal-panel,
  .reveal-card:focus-within .reveal-panel {
    max-height: 180px;
    padding: 16px 18px 18px;
  }
  .members-heading {
    margin-bottom: 36px;
  }
  .members-heading h2 {
    max-width: 28ch;
    margin-inline: auto;
    font-size: clamp(.78rem, 3.2vw, .98rem);
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0;
  }
  .member-groups {
    gap: 18px;
  }
  .member-row {
    gap: 18px;
  }
  .member-card {
    max-width: none;
    width: 100%;
    margin: 0 auto;
  }
  .member-photo {
    aspect-ratio: 1 / .9;
  }
  .journal-heading {
    margin-bottom: 48px;
  }
  .journal-heading h2 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }
  .journal-heading p {
    font-size: 1rem;
    line-height: 1.7;
  }
  .timeline-item strong {
    font-size: 1rem;
  }
  .timeline-item span {
    font-size: .88rem;
  }
  .programs-title {
    font-size: 1.35rem;
  }
  .scroll-card {
    min-height: 330px;
  }
  .scroll-card img {
    height: 170px;
  }
  .recruit-card-grid article {
    min-height: 96px;
    padding: 18px 10px;
  }
  .recruit-card-grid strong {
    font-size: 1rem;
  }
  .recruit-card-grid span {
    font-size: .78rem;
    line-height: 1.4;
  }
  .recruit-cta {
    width: 100%;
    max-width: 320px;
    margin-top: 40px;
  }
  .site-footer {
    align-items: flex-start;
    padding: 28px 20px;
  }
}
