:root {
  --ink: #171b20;
  --muted: #66717d;
  --paper: #f1f3f5;
  --white: #fff;
  --line: #d5dbe1;
  --navy: #20272f;
  --violet: #8b45c6;
  --violet-soft: #f3eafa;
  --teal: #16756f;
  --sans: "IBM Plex Sans KR", sans-serif;
  --display: Inter, "IBM Plex Sans KR", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
button, a { font: inherit; }
.site-header { min-height: 62px; position: sticky; z-index: 30; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px clamp(20px,4vw,62px); background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand > span { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: var(--navy); border-radius: 5px; font-family: var(--mono); font-size: .66rem; }
.brand strong { font-size: .84rem; }
.site-header nav { display: flex; gap: 22px; }
.site-header nav a { color: #626e7a; font-size: .72rem; font-weight: 600; text-decoration: none; }
.hero { padding: 62px clamp(24px,7vw,130px) 38px; background: #fff; border-bottom: 1px solid var(--line); }
.back-link { color: var(--violet); font-size: .7rem; font-weight: 700; text-decoration: none; }
.hero-grid { max-width: 1500px; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(420px,.75fr); gap: 80px; align-items: end; margin: 26px auto 0; }
.eyebrow { margin: 0 0 11px; color: var(--teal); font-family: var(--mono); font-size: .62rem; font-weight: 600; }
.hero h1 { margin: 0; font-family: var(--display); font-size: clamp(2rem,3.6vw,3.7rem); line-height: 1.15; letter-spacing: 0; }
.hero h1 span { color: var(--violet); }
.hero-copy { max-width: 760px; margin: 21px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.85; }
.hero-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0; border-top: 1px solid #a6afb8; border-left: 1px solid var(--line); }
.hero-facts div { min-width: 0; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-facts dt { color: var(--violet); font-family: var(--mono); font-size: .57rem; font-weight: 600; }
.hero-facts dd { margin: 7px 0 0; font-size: .69rem; font-weight: 600; line-height: 1.5; }
.record-note { max-width: 1500px; display: grid; grid-template-columns: 160px minmax(0,1fr); gap: 20px; margin: 34px auto 0; padding-top: 15px; border-top: 1px solid var(--line); }
.record-note span { color: var(--teal); font-family: var(--mono); font-size: .59rem; font-weight: 600; }
.record-note p { margin: 0; color: #7b8590; font-size: .68rem; }
.stage-nav { position: sticky; z-index: 20; top: 62px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); background: rgba(32,39,47,.97); backdrop-filter: blur(10px); }
.stage-nav a { min-width: 0; display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 8px; min-height: 58px; padding: 10px clamp(15px,3vw,42px); color: #9ea8b2; border-right: 1px solid #3c4650; text-decoration: none; }
.stage-nav b { color: #798692; font-family: var(--mono); font-size: .59rem; }
.stage-nav span { font-size: .7rem; font-weight: 600; }
.stage-nav a.active { color: #fff; background: #2a333c; box-shadow: inset 0 -3px var(--violet); }
.stage-nav a.active b { color: #d8afea; }
.record-canvas { width: min(1500px,calc(100% - 40px)); margin: 0 auto; padding: 58px 0 90px; }
.record-section { scroll-margin-top: 130px; padding-bottom: 76px; }
.section-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.75fr); gap: 14px 60px; align-items: end; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid #adb6bf; }
.section-heading > span { grid-column: 1 / -1; color: var(--violet); font-family: var(--mono); font-size: .61rem; font-weight: 600; }
.section-heading h2 { margin: 0; font-size: clamp(1.45rem,2.2vw,2.1rem); line-height: 1.3; }
.section-heading p { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.75; }
.card-grid { display: grid; gap: 18px; }
.card-grid.two-up { grid-template-columns: repeat(2,minmax(0,1fr)); }
.record-card { min-width: 0; margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 12px 28px rgba(25,32,39,.055); }
.record-card.wide { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(310px,.55fr); }
.screen-open { width: 100%; min-width: 0; position: relative; display: block; padding: 0; overflow: hidden; background: #eaedf0; border: 0; cursor: zoom-in; }
.screen-open img { width: 100%; aspect-ratio: 2230 / 1786; display: block; object-fit: contain; background: #eef0f2; transition: transform .35s ease; }
.screen-open:hover img { transform: scale(1.012); }
.screen-open > span { position: absolute; right: 13px; bottom: 13px; width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: rgba(32,39,47,.84); border: 1px solid rgba(255,255,255,.28); border-radius: 4px; }
.record-card figcaption { padding: 19px 20px 21px; }
.record-card figcaption > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.record-card figcaption b { color: var(--violet); font-family: var(--mono); font-size: .6rem; }
.record-card figcaption em { color: #8b949d; font-family: var(--mono); font-size: .55rem; font-style: normal; }
.record-card h3 { margin: 10px 0 8px; font-size: 1rem; }
.record-card p { margin: 0; color: #5f6b76; font-size: .73rem; line-height: 1.75; }
.record-card ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 15px 0 0; padding: 0; list-style: none; }
.record-card li { padding: 4px 7px; color: #315f5b; background: #e9f4f2; border: 1px solid #c8dfdc; border-radius: 4px; font-size: .56rem; font-weight: 600; }
.record-card.wide .screen-open img { height: 100%; aspect-ratio: auto; }
.record-card.wide figcaption { display: flex; flex-direction: column; justify-content: center; padding: 28px; border-left: 1px solid var(--line); }
.result-stack { display: grid; gap: 22px; }
.result-card { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(300px,.4fr); }
.result-card.reverse { grid-template-columns: minmax(300px,.4fr) minmax(0,1.6fr); }
.result-card.reverse .screen-open { grid-column: 2; }
.result-card.reverse figcaption { grid-column: 1; grid-row: 1; border-right: 1px solid var(--line); }
.result-card figcaption { display: flex; flex-direction: column; justify-content: center; padding: 26px; }
.result-card .screen-open img { height: 100%; aspect-ratio: auto; }
.tour-footer { display: flex; align-items: end; justify-content: space-between; gap: 22px; padding-top: 25px; border-top: 1px solid #aeb7c0; }
.tour-footer span { color: var(--violet); font-family: var(--mono); font-size: .59rem; font-weight: 600; }
.tour-footer h2 { margin: 6px 0 0; font-size: 1.1rem; }
.tour-footer a { min-height: 42px; display: inline-flex; align-items: center; padding: 9px 14px; color: #fff; background: var(--navy); border-radius: 5px; font-size: .7rem; font-weight: 700; text-decoration: none; }
.lightbox { width: min(96vw,1500px); max-width: none; height: min(94vh,1060px); max-height: none; padding: 0; overflow: hidden; color: #fff; background: #141a20; border: 1px solid #3b4651; border-radius: 7px; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.lightbox::backdrop { background: rgba(9,13,17,.78); backdrop-filter: blur(7px); }
.lightbox-bar { min-height: 58px; display: grid; grid-template-columns: 90px minmax(0,1fr) 42px; align-items: center; gap: 12px; padding: 9px 12px 9px 20px; border-bottom: 1px solid #39444e; }
.lightbox-bar span { color: #d0a9e3; font-family: var(--mono); font-size: .61rem; }
.lightbox-bar strong { font-size: .77rem; }
.lightbox-close, .lightbox-nav { color: #fff; background: transparent; border: 0; cursor: pointer; }
.lightbox-close { width: 36px; height: 36px; font-size: 1.3rem; }
.lightbox-stage { height: calc(100% - 116px); display: grid; grid-template-columns: 48px minmax(0,1fr) 48px; gap: 12px; align-items: center; padding: 13px; }
.lightbox-stage img { width: 100%; height: 100%; min-width: 0; object-fit: contain; }
.lightbox-nav { height: 70px; font-size: 1.25rem; }
.lightbox > p { margin: 0; padding: 0 72px 14px; color: #aeb8c2; font-size: .68rem; text-align: center; }
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-facts { max-width: 760px; }
  .section-heading { grid-template-columns: 1fr; }
  .record-card.wide, .result-card, .result-card.reverse { grid-template-columns: 1fr; }
  .record-card.wide .screen-open img, .result-card .screen-open img { width: 100%; height: auto; aspect-ratio: 2230 / 1786; }
  .record-card.wide figcaption, .result-card figcaption, .result-card.reverse figcaption { border: 0; border-top: 1px solid var(--line); }
  .result-card.reverse .screen-open { grid-column: 1; grid-row: 1; }
  .result-card.reverse figcaption { grid-column: 1; grid-row: 2; }
}
@media (max-width: 700px) {
  .site-header { min-height: 58px; padding-inline: 15px; }
  .brand strong { display: none; }
  .site-header nav a:first-child { display: none; }
  .hero { padding: 38px 20px 27px; }
  .hero h1 { font-size: 2rem; }
  .hero-copy { font-size: .79rem; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .record-note { grid-template-columns: 1fr; gap: 7px; }
  .stage-nav { top: 58px; overflow-x: auto; scrollbar-width: none; }
  .stage-nav::-webkit-scrollbar { display: none; }
  .stage-nav a { min-width: 120px; padding-inline: 11px; }
  .record-canvas { width: calc(100% - 24px); padding-top: 38px; }
  .record-section { padding-bottom: 58px; }
  .section-heading { gap: 10px; }
  .card-grid.two-up { grid-template-columns: 1fr; }
  .record-card figcaption, .record-card.wide figcaption, .result-card figcaption { padding: 18px; }
  .tour-footer { align-items: stretch; flex-direction: column; }
  .tour-footer a { justify-content: center; }
  .lightbox { width: 98vw; height: 94vh; }
  .lightbox-bar { grid-template-columns: 58px minmax(0,1fr) 38px; padding-left: 10px; }
  .lightbox-stage { height: calc(100% - 130px); grid-template-columns: 34px minmax(0,1fr) 34px; gap: 4px; padding: 7px; }
  .lightbox > p { padding: 0 38px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
