/* ==========================================================
   SEOUL TEX & TECH — Landing
   ========================================================== */
:root {
  --bg: #07081a;
  --bg-2: #0c0e26;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.12);
  --text: #eef0ff;
  --text-dim: #a9add0;
  --violet: #6d5cff;
  --blue: #3d7bff;
  --cyan: #35d0ff;
  --magenta: #d24bb0;
  --grad: linear-gradient(100deg, var(--violet) 0%, var(--blue) 50%, var(--cyan) 100%);
  --radius: 18px;
  --header-h: 72px;
  --font-ko: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --font-display: "Bebas Neue", "Pretendard", sans-serif;
  --font-en: "Poppins", "Pretendard", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ko);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
p { margin: 0; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

.br-mobile { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(109, 92, 255, .8); }
.btn-primary:hover { box-shadow: 0 14px 36px -10px rgba(53, 208, 255, .8); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }
.btn-small { height: 40px; padding: 0 18px; font-size: 14px; border-color: var(--line); background: var(--surface); }
.btn-small:hover { border-color: var(--cyan); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7, 8, 26, .82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-mark { font-family: var(--font-display); font-size: 28px; letter-spacing: .02em; line-height: 1; }
.brand-ko { font-size: 13px; color: var(--text-dim); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.nav a { opacity: .85; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.nav .nav-cta { opacity: 1; padding: 9px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); }
.nav .nav-cta:hover { border-color: var(--cyan); color: var(--cyan); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; }
.nav-toggle span { position: absolute; left: 11px; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; background: #05060f; }
.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg iframe {
  position: absolute; top: 50%; left: 50%;
  /* 실제 크기는 main.js(fitHeroVideo)가 16:9 cover + 유튜브 UI 잘라내기로 계산 */
  width: 100vw; height: 56.25vw;
  min-height: 100%; min-width: 177.78vh;
  transform: translate(-50%, -50%);
  border: 0; pointer-events: none;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-bg.is-playing iframe { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 8, 26, .55) 0%, rgba(7, 8, 26, .15) 35%, rgba(7, 8, 26, .35) 65%, var(--bg) 100%),
    radial-gradient(ellipse at 20% 60%, rgba(7, 8, 26, .65), transparent 60%);
}
.hero-content { padding: calc(var(--header-h) + 40px) 0 110px; }
.hero-eyebrow {
  display: inline-block; font-family: var(--font-en); font-weight: 600; font-size: 13px; letter-spacing: .22em;
  padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(6px);
}
.hero-title { margin: 22px 0 18px; display: flex; flex-direction: column; }
.hero-title-en {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(64px, 11vw, 168px); line-height: .9; letter-spacing: .01em;
  text-shadow: 0 6px 40px rgba(0, 0, 0, .35);
}
.hero-title-ko {
  font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; margin-top: 10px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  width: fit-content;
}
.hero-lead { font-size: clamp(17px, 1.6vw, 21px); color: #dfe2ff; max-width: 640px; }
.hero-lead strong { color: #fff; }
.hero-meta { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 8px; font-size: 15px; color: #d5d8f5; }
.hero-meta li { display: flex; gap: 14px; align-items: baseline; }
.hero-meta span { font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .16em; color: var(--cyan); min-width: 54px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.sound-toggle {
  position: absolute; right: 24px; bottom: 28px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(7, 8, 26, .45); backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 500;
}
.sound-toggle:hover { border-color: #fff; }
.sound-icon { width: 14px; height: 14px; position: relative; }
.sound-icon::before {
  content: ""; position: absolute; inset: 0;
  background: currentColor;
  clip-path: polygon(0 32%, 30% 32%, 65% 0, 65% 100%, 30% 68%, 0 68%);
}
.sound-icon::after {
  content: ""; position: absolute; right: -2px; top: 50%; width: 6px; height: 2px; background: currentColor;
  transform: translateY(-50%) rotate(45deg); box-shadow: 0 0 0 0 currentColor;
}
.sound-toggle[aria-pressed="true"] .sound-icon::after {
  width: 5px; height: 9px; background: none; border: 2px solid currentColor; border-left: 0;
  border-radius: 0 10px 10px 0; transform: translateY(-50%); right: -4px;
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .5);
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: #fff; animation: cue 1.8s infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section-head { margin-bottom: 56px; max-width: 720px; }
.eyebrow {
  font-family: var(--font-en); font-weight: 600; font-size: 13px; letter-spacing: .24em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  width: fit-content; margin-bottom: 14px;
}
.section h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.03em; }
.section-desc { margin-top: 16px; color: var(--text-dim); font-size: 17px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* ---------- About ---------- */
.about::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px 400px at 90% 10%, rgba(109, 92, 255, .18), transparent 70%);
}
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
.about-text { display: grid; gap: 18px; color: var(--text-dim); font-size: 17px; }
.about-text strong { color: var(--text); }
.about-lead { font-size: 21px; color: var(--text); font-weight: 500; line-height: 1.6; }
.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stats li {
  padding: 26px 24px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(109, 92, 255, .16), rgba(53, 208, 255, .04));
  border: 1px solid var(--line);
}
.stats strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 60px; line-height: 1; letter-spacing: .01em; }
.stats span { display: block; margin-top: 8px; font-size: 15px; font-weight: 600; line-height: 1.45; }
.stats em { font-style: normal; font-weight: 400; font-size: 12px; color: var(--text-dim); }
.keywords { margin-top: 72px; display: flex; flex-wrap: wrap; gap: 10px; }
.keywords span {
  font-family: var(--font-en); font-weight: 600; font-size: 14px; letter-spacing: .06em;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
}
.keywords span:nth-child(odd) { border-color: rgba(109, 92, 255, .5); }
.keywords span:nth-child(3n) { border-color: rgba(53, 208, 255, .5); }

/* ---------- Program ---------- */
.program { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.program-card { padding: 34px 30px; transition: transform .3s ease, border-color .3s ease; }
.program-card:hover { transform: translateY(-6px); border-color: rgba(109, 92, 255, .6); }
.card-num { font-family: var(--font-display); font-size: 44px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.program-card h3 { margin: 18px 0 10px; font-size: 23px; font-weight: 700; }
.program-card p { color: var(--text-dim); }
.tag-list { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list li { font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--surface-2); }
.audience { margin-top: 48px; padding: 36px; border-radius: var(--radius); border: 1px dashed var(--line); }
.audience h3 { font-size: 20px; margin-bottom: 18px; }
.audience ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; color: var(--text-dim); }
.audience b { display: inline-block; min-width: 64px; margin-right: 10px; color: var(--cyan); font-weight: 600; }

/* ---------- History ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 70px; top: 10px; bottom: 10px; width: 1px;
  background: linear-gradient(180deg, var(--cyan), var(--violet) 60%, transparent);
}
.tl-item { display: grid; grid-template-columns: 140px 1fr; gap: 0; align-items: start; }
.tl-year {
  font-family: var(--font-display); font-size: 40px; line-height: 1; padding-top: 22px;
  position: relative; background: var(--bg); width: fit-content; padding-bottom: 6px;
}
.tl-body { display: grid; grid-template-columns: 300px 1fr; gap: 32px; padding: 26px; }
.tl-compact { grid-template-columns: 1fr; padding: 24px 28px; }
.tl-media { margin: 0; border-radius: 12px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.tl-media img { width: 100%; height: 100%; object-fit: cover; }
.tl-media-portrait { aspect-ratio: 16 / 9; }
.tl-media-portrait img { object-position: center 70%; }
.tl-text h3 { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.tl-text > p { color: var(--text-dim); }
.tl-theme { font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--cyan); margin-bottom: 8px; }
.tl-text dl { display: grid; grid-template-columns: 76px 1fr; gap: 6px 12px; margin: 18px 0 0; font-size: 15px; }
.tl-text dt { color: var(--text-dim); }
.tl-text dd { margin: 0; }
.text-link { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--cyan); }
.text-link:hover { text-decoration: underline; }

/* ---------- Gallery ---------- */
.gallery { background: var(--bg-2); }
.gallery-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.gallery-tabs button {
  height: 42px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; font-weight: 600; font-size: 15px;
  transition: background .2s, border-color .2s;
}
.gallery-tabs button:hover { border-color: rgba(255, 255, 255, .4); }
.gallery-tabs button[aria-selected="true"] { background: var(--grad); border-color: transparent; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; grid-auto-flow: dense; }
.g-item {
  position: relative; overflow: hidden; border-radius: 14px; border: 0; padding: 0; background: #11132e;
  animation: fadeUp .5s ease both;
}
.g-item.wide { grid-column: span 2; }
.g-item.tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.g-item:hover img { transform: scale(1.06); }
.g-item .g-cap {
  position: absolute; inset: auto 0 0 0; padding: 30px 16px 12px; text-align: left;
  font-size: 13px; background: linear-gradient(transparent, rgba(0, 0, 0, .75));
  opacity: 0; transition: opacity .3s;
}
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; }
.g-badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .1em;
  padding: 3px 10px; border-radius: 999px; background: rgba(7, 8, 26, .7);
}
/* 사진이 아직 없을 때 보이는 자리 표시 타일 */
.g-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background:
    radial-gradient(circle at 30% 20%, rgba(109, 92, 255, .35), transparent 60%),
    radial-gradient(circle at 80% 90%, rgba(53, 208, 255, .25), transparent 55%),
    #0f1130;
  border: 1px dashed rgba(255, 255, 255, .15);
  color: var(--text-dim); cursor: default;
}
.g-placeholder strong { font-family: var(--font-display); font-weight: 400; font-size: 42px; color: rgba(255, 255, 255, .85); line-height: 1; }
.g-placeholder span { font-size: 13px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(3, 4, 12, .94); padding: 60px 70px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: 8px; }
.lightbox figcaption { color: var(--text-dim); font-size: 14px; text-align: center; }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgba(255, 255, 255, .08); border-radius: 50%; width: 48px; height: 48px; font-size: 28px; line-height: 1; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .18); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Location ---------- */
.location-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: #11132e; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.2) contrast(1.05); }
.location-info { padding: 34px 30px; display: flex; flex-direction: column; }
.location-info h3 { font-size: 22px; font-weight: 700; }
.location-info .addr { margin-top: 6px; color: var(--cyan); font-weight: 600; }
.location-info ul { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; color: var(--text-dim); font-size: 15px; }
.location-info b { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.map-links { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(700px 500px at 10% 80%, rgba(53, 208, 255, .12), transparent 70%),
              radial-gradient(600px 400px at 90% 20%, rgba(210, 75, 176, .12), transparent 70%);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact-list { margin: 40px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list > div { display: grid; grid-template-columns: 90px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--text-dim); }
.contact-list dd { margin: 0; font-weight: 600; font-size: 17px; }
.contact-list a:hover { color: var(--cyan); }
.contact-form { padding: 34px; display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text-dim); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text);
  background: rgba(0, 0, 0, .25); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%), linear-gradient(135deg, var(--text-dim) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--bg-2); }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(109, 92, 255, .25); }
.field .invalid { border-color: var(--magenta); }
.form-note { font-size: 13px; color: var(--text-dim); }
.form-note.error { color: #ff8ccf; }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 56px; border-top: 1px solid var(--line); background: #05060f; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-sub { margin-top: 6px; color: var(--text-dim); font-size: 14px; }
.footer-meta { font-size: 14px; color: var(--text-dim); text-align: right; display: grid; gap: 2px; }
.copy { margin-top: 10px; font-size: 12px; opacity: .7; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .program-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .tl-body { grid-template-columns: 240px 1fr; }
  .location-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 24px; background: rgba(7, 8, 26, .97); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .nav-cta { margin-top: 16px; text-align: center; border: 0; background: var(--grad); }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav-open .site-header { background: rgba(7, 8, 26, .97); }
  .nav-toggle { display: block; }
}

@media (max-width: 640px) {
  :root { --header-h: 62px; }
  .container { width: calc(100% - 32px); }
  .br-mobile { display: inline; }
  .br-desktop { display: none; }
  .brand-mark { font-size: 24px; }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 36px; }
  .hero-content { padding-bottom: 120px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(7, 8, 26, .6) 0%, rgba(7, 8, 26, .45) 50%, var(--bg) 100%); }
  .hero-meta li { flex-direction: column; gap: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .sound-toggle { right: 16px; bottom: 20px; }
  .scroll-cue { display: none; }
  .about-lead { font-size: 19px; }
  .stats strong { font-size: 48px; }
  .stats li { padding: 20px 18px; }
  .audience { padding: 26px 22px; }
  .audience ul { grid-template-columns: 1fr; }
  .audience b { display: block; }
  .timeline::before { left: 0; }
  .tl-item { grid-template-columns: 1fr; gap: 10px; padding-left: 20px; }
  .tl-year { padding-top: 0; font-size: 34px; }
  .tl-body { grid-template-columns: 1fr; gap: 20px; padding: 18px; }
  .tl-text dl { grid-template-columns: 68px 1fr; font-size: 14px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 8px; }
  .g-item.wide { grid-column: span 2; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .lightbox { padding: 60px 12px; }
  .lb-nav { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .footer-meta { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span, .g-item { animation: none; }
}
