/* 2026 화성레이스 — 브랜드: 블랙 #111111 · 화이트 · 퍼플 #3C0384 · 오렌지 #FF6A00 */
:root {
  --ink: #111111;
  --ink-2: #4A4650;
  --ink-3: #807A88;
  --line: #E6E0EE;
  --paper: #FFFFFF;
  --lilac: #F3ECFE;
  --purple: #3C0384;
  --violet: #5102CE;
  --plum: #A519BA;
  --pink: #FC3F8A;
  --orange: #FF6A00;
  --star: #FF5005;
  --runit-a: #8341FF;
  --runit-b: #580EE3;
  --grad: linear-gradient(112deg, #3C0384 0%, #5102CE 34%, #A519BA 56%, #FC3F8A 72%, #FF6A00 92%, #FF8A00 100%);
  --en: 'Archivo', 'Pretendard Variable', sans-serif;
  --r: 18px;
  --gut: clamp(20px, 4vw, 40px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { font-family: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', sans-serif; color: var(--ink); background: var(--paper); line-height: 1.6; word-break: keep-all; overflow-x: clip; -webkit-font-smoothing: antialiased; }
body.is-intro, body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.container { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }

.js .reveal { opacity: 0; translate: 0 28px; transition: opacity .7s ease var(--d, 0s), translate .7s cubic-bezier(.2,.8,.2,1) var(--d, 0s); }
.js .reveal.in { opacity: 1; translate: 0 0; }

.sec-head { margin-bottom: clamp(32px, 5vw, 56px); }
.eyebrow { font: italic 800 clamp(13px, 1.3vw, 15px)/1 var(--en); font-stretch: 125%; letter-spacing: .14em; color: var(--violet); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 14px; height: 14px; background: var(--orange); clip-path: path('M7 0C7.5 4.400 9.600 6.500 14 7 9.600 7.500 7.500 9.600 7 14 6.500 9.600 4.400 7.500 0 7 4.400 6.500 6.500 4.400 7 0Z'); }
.h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 900; letter-spacing: -.035em; line-height: 1.12; }
.sec-desc { margin-top: 16px; font-size: clamp(15px, 1.6vw, 18px); color: var(--ink-2); }
.sec-head--light .eyebrow { color: #FFB27A; }
.sec-head--light .h2 { color: #fff; }
.sec-head--light .sec-desc { color: #C9C3D4; }
br.pc { display: none; }
@media (min-width: 768px) { br.pc { display: inline; } }

/* buttons */
.btn-runit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--runit-a), var(--runit-b)); border-radius: 999px; padding: 12px 22px; transition: filter .2s, translate .2s, box-shadow .2s; box-shadow: 0 8px 22px rgba(88, 14, 227, .28); }
.btn-runit:hover { filter: brightness(1.1); translate: 0 -2px; box-shadow: 0 12px 28px rgba(88, 14, 227, .38); }
.btn-runit .ic { transition: translate .2s; }
.btn-runit:hover .ic { translate: 3px 0; }
.btn-lg { padding: 17px 30px; font-size: 17px; }
.btn-block { display: flex; width: 100%; padding: 16px; font-size: 16px; }
.btn-line { display: inline-flex; align-items: center; gap: 6px; padding: 11px 18px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: 14px; transition: background .2s, color .2s; }
.btn-line:hover { background: var(--ink); color: #fff; }

/* intro */
.intro { position: fixed; inset: 0; z-index: 200; background: var(--ink); display: grid; place-content: center; justify-items: center; gap: 28px; overflow: hidden; transition: clip-path .75s cubic-bezier(.75,0,.2,1); clip-path: polygon(0 0, 130% 0, 100% 100%, 0 100%); }
.intro-mark { width: min(300px, 62vw); opacity: 0; translate: -60px 0; }
.intro-txt { font: italic 800 clamp(14px, 2.2vw, 22px)/1.3 var(--en); font-stretch: 125%; letter-spacing: .1em; color: #fff; text-align: center; opacity: 0; }
.intro.is-go .intro-mark { animation: intro-in .8s cubic-bezier(.2,.8,.2,1) .1s forwards; }
.intro.is-go .intro-txt { animation: fade-in .6s ease .7s forwards; }
.intro-wipe { position: absolute; inset: 0; background: var(--grad); translate: -110% 0; transform: skewX(-14deg) scaleX(1.3); }
.intro.is-out { clip-path: polygon(0 0, 0 0, -30% 100%, 0 100%); }
@keyframes intro-in { to { opacity: 1; translate: 0 0; } }
@keyframes fade-in { to { opacity: 1; } }

/* progress + fx */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress-bar { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--pink), var(--orange)); transform-origin: left; transform: scaleX(var(--p, 0)); }
.fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 110; pointer-events: none; }

/* header */
.header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .25s, translate .3s, box-shadow .25s; }
.header-in { display: flex; align-items: center; gap: 24px; width: min(1200px, 100%); margin-inline: auto; padding: 14px var(--gut); }
.brand { position: relative; width: 136px; flex: none; }
.brand-k { position: absolute; inset: 0; opacity: 0; }
.gnb { display: flex; gap: 4px; margin-left: auto; }
.gnb a { padding: 8px 14px; font-size: 15px; font-weight: 700; color: #fff; border-radius: 999px; transition: background .2s, color .2s; }
.gnb a:hover { background: rgba(255,255,255,.16); }
.btn-head { padding: 10px 18px; font-size: 14px; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; padding: 12px 10px; flex-direction: column; justify-content: space-between; }
.burger i { display: block; height: 2.500px; border-radius: 2px; background: #fff; transition: rotate .2s, translate .2s, opacity .2s; }
.header.is-solid, .menu-open .header { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header.is-solid .brand-w, .menu-open .brand-w { opacity: 0; }
.header.is-solid .brand-k, .menu-open .brand-k { opacity: 1; }
.header.is-solid .gnb a { color: var(--ink); }
.header.is-solid .gnb a:hover { background: var(--lilac); }
.header.is-solid .gnb a.is-active { color: var(--violet); background: var(--lilac); }
.header.is-solid .burger i, .menu-open .burger i { background: var(--ink); }
.header.is-hidden { translate: 0 -100%; }
.burger[aria-expanded="true"] i:nth-child(1) { translate: 0 8.800px; rotate: 45deg; }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { translate: 0 -8.800px; rotate: -45deg; }
.mnav { background: #fff; border-top: 1px solid var(--line); padding: 8px var(--gut) 24px; height: calc(100dvh - 72px); overflow-y: auto; }
.mnav a { display: block; padding: 16px 4px; font-size: 20px; font-weight: 800; border-bottom: 1px solid var(--line); }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; color: #fff; overflow: hidden; background: var(--grad); }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.band { position: absolute; top: -20%; bottom: -20%; width: 22vw; transform: skewX(-24deg); background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,0)); }
.b1 { left: 44%; }
.b2 { left: 66%; width: 12vw; background: linear-gradient(0deg, rgba(255,255,255,.12), rgba(255,255,255,0)); }
.b3 { left: 86%; width: 28vw; background: linear-gradient(180deg, rgba(255,214,120,.18), rgba(255,214,120,0)); }
.contour { position: absolute; overflow: visible; }
.contour path { fill: none; stroke: #fff; stroke-width: 1.6; vector-effect: non-scaling-stroke; opacity: .55; }
.hero .contour { width: min(62vw, 92vh); aspect-ratio: 1; right: -5vw; top: 50%; margin-top: calc(min(62vw, 92vh) / -2 - 40px); }
.ct-star path { fill: #fff; stroke: none; opacity: 1; }

.hero-in { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding-top: clamp(96px, 14vh, 136px); padding-bottom: clamp(24px, 5vh, 44px); }
.hero-main { display: flex; flex-direction: column; align-items: flex-start; }
.hero-eyebrow { font: italic 700 clamp(11px, 1.1vw, 14px)/1.3 var(--en); font-stretch: 125%; letter-spacing: .16em; margin-bottom: 22px; }
.hero-logo { width: clamp(280px, 44vw, 640px); }
.hero-slogan { margin-top: clamp(22px, 3.500vh, 36px); font: italic 900 clamp(26px, 4vw, 54px)/1.04 var(--en); font-stretch: 125%; letter-spacing: -.01em; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(20px, 3vh, 30px); }
.hero-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border: 1.5px solid rgba(255,255,255,.65); border-radius: 999px; font-weight: 700; font-size: clamp(13px, 1.3vw, 15px); backdrop-filter: blur(6px); background: rgba(40, 0, 100, .2); }
.js .hero-main > *, .js .hero-panel { opacity: 0; translate: 0 22px; }
.is-ready .hero-main > *, .is-ready .hero-panel { opacity: 1; translate: 0 0; transition: opacity .8s ease, translate .8s cubic-bezier(.2,.8,.2,1); }
.is-ready .hero-logo { transition-delay: .08s; }
.is-ready .hero-slogan { transition-delay: .18s; }
.is-ready .hero-chips { transition-delay: .28s; }
.is-ready .hero-panel { transition-delay: .38s; }

.hero-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #fff; color: var(--ink); border-radius: var(--r); padding: clamp(16px, 2vw, 24px) clamp(18px, 3vw, 36px); box-shadow: 0 20px 50px rgba(30, 0, 80, .28); }
.cd { display: flex; align-items: center; gap: clamp(14px, 3vw, 36px); }
.cd-t { font-weight: 800; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.cd-row { display: flex; gap: clamp(14px, 2.400vw, 30px); }
.cd-row div { text-align: center; min-width: clamp(44px, 5.500vw, 72px); }
.cd-row b { display: block; font: italic 900 clamp(28px, 4vw, 50px)/1 var(--en); font-stretch: 112%; font-variant-numeric: tabular-nums; }
.cd-row span { font: 700 10px/1 var(--en); letter-spacing: .12em; color: var(--ink-3); }
.hero-cta { display: flex; align-items: center; gap: 16px; }
.hero-open { font-weight: 800; color: var(--violet); white-space: nowrap; }
.scroll-cue { display: none; }

/* marquee */
.marquee { overflow: hidden; background: var(--ink); color: #fff; padding-block: 14px; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; font: italic 800 clamp(16px, 2vw, 24px)/1.2 var(--en); font-stretch: 125%; white-space: nowrap; will-change: transform; }
.marquee .ic { color: var(--orange); width: .9em; height: .9em; }

/* sponsors */
.sponsor-roll { padding-block: 24px; border-bottom: 1px solid var(--line); overflow: hidden; }
.sponsor-roll-lb { text-align: center; font: 700 11px var(--en); letter-spacing: .2em; color: var(--ink-3); margin-bottom: 12px; }
.sponsor-roll-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: roll var(--roll-dur, 30s) linear infinite; }
.sponsor-roll-track img { height: 40px; width: auto; }
@keyframes roll { to { transform: translateX(-50%); } }

/* story */
.story { background: var(--ink); color: #fff; overflow: hidden; }
.story-bg { position: absolute; top: 28px; left: 0; white-space: nowrap; pointer-events: none; }
.story-bg span { display: block; transform: translateX(var(--x, 0)); font: italic 900 clamp(70px, 14vw, 200px)/1 var(--en); font-stretch: 125%; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); }
.story-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 80px); align-items: center; padding-top: clamp(60px, 9vw, 120px); }
.story-lead { grid-column: 1; grid-row: 1; font-size: clamp(25px, 3.600vw, 44px); font-weight: 800; line-height: 1.38; letter-spacing: -.03em; }
.story-lead .w { color: rgba(255,255,255,.2); transition: color .35s; }
.story-lead .w.on { color: #fff; }
.story-lead .w.hl.on { color: #FF8A3D; }
.story-emblem { grid-column: 2; grid-row: 1; width: min(380px, 100%); justify-self: center; }
.story-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.2); }
.story-stats li { padding: 28px 0 0; }
.story-stats li + li { padding-left: clamp(16px, 3vw, 36px); border-left: 1px solid rgba(255,255,255,.2); }
.story-stats b { display: block; font: italic 900 clamp(34px, 6vw, 76px)/1.05 var(--en); font-stretch: 112%; font-variant-numeric: tabular-nums; }
.story-stats small { font: 800 .38em 'Pretendard Variable', sans-serif; margin-left: 4px; }
.story-stats p { margin-top: 8px; color: #B9B3C4; font-size: clamp(12px, 1.300vw, 15px); }

/* overview */
.info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 64px); border-top: 2px solid var(--ink); }
.info > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info dt { font-weight: 800; color: var(--violet); font-size: 15px; }
.info dd { font-weight: 700; font-size: 17px; line-height: 1.45; }
.info small { display: block; margin-top: 3px; font-weight: 500; font-size: 14px; color: var(--ink-2); }
.table-wrap { margin-top: 36px; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); border: 1px solid var(--line); }
.course-table { width: 100%; min-width: 640px; border-collapse: collapse; text-align: center; }
.course-table thead th { background: var(--ink); color: #fff; padding: 13px 8px; font-size: 14px; font-weight: 700; }
.course-table td, .course-table tbody th { padding: 18px 8px; border-top: 1px solid var(--line); font-size: 16px; }
.course-table em { font: italic 900 26px/1 var(--en); font-stretch: 112%; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 3px; }
.yes { color: var(--violet); font-weight: 800; }
.no { color: var(--ink-3); }

/* apply */
.apply { background: var(--lilac); overflow: hidden; }
.phase { margin-bottom: clamp(36px, 5vw, 56px); position: relative; }
.phase-track { height: 6px; background: #DCCFF3; border-radius: 3px; overflow: hidden; margin-inline: 12.5%; }
.phase-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--pink), var(--orange)); transform-origin: left; transform: scaleX(var(--pp, 0)); }
.phase-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: -13px; text-align: center; }
.phase-steps li::before { content: ''; display: block; width: 20px; height: 20px; margin: 0 auto 12px; background: #fff; border: 5px solid #C4B2E4; border-radius: 50%; }
.phase-steps li.is-past::before { border-color: var(--violet); }
.phase-steps li.is-race::before { border-color: var(--orange); }
.phase-steps b { font: italic 900 clamp(22px, 3vw, 34px)/1 var(--en); font-stretch: 112%; }
.phase-steps span { font-weight: 700; font-size: 13px; margin-left: 3px; color: var(--ink-2); }
.phase-steps p { font-size: clamp(12px, 1.400vw, 15px); font-weight: 700; color: var(--ink-2); margin-top: 3px; }
.phase-steps .is-race b { color: var(--star); }

.bibs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); perspective: 1400px; }
.bib { background: #fff; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 24px 50px rgba(60, 3, 132, .16); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: opacity .7s ease var(--d, 0s), translate .7s cubic-bezier(.2,.8,.2,1) var(--d, 0s), transform .15s; }
.hole { position: absolute; top: 14px; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle, var(--lilac) 0 42%, #D5D0DC 44% 100%); box-shadow: inset 0 1px 2px rgba(0,0,0,.3); }
.hole.l { left: 14px; }
.hole.r { right: 14px; }
.bib-top { position: relative; background: linear-gradient(110deg, #3C0384, #5102CE 55%, #8A10C4); padding: clamp(24px, 3vw, 34px) 48px; }
.bib-top img { width: min(280px, 100%); margin-inline: auto; }
.bib-mid { padding: clamp(18px, 2.500vw, 30px) clamp(20px, 3vw, 36px) clamp(20px, 2.500vw, 28px); text-align: center; flex: 1; }
.bib-no { font: italic 900 clamp(84px, 13vw, 160px)/.95 var(--en); font-stretch: 112%; letter-spacing: -.03em; padding-right: .06em; }
.bib-name { margin-top: 8px; font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.badge-rec { font-style: normal; font-size: 12px; font-weight: 800; color: #fff; background: var(--violet); padding: 3px 9px; border-radius: 999px; }
.badge-rec.is-off { background: #EDE9F3; color: var(--ink-2); }
.bib-price { margin-top: 12px; font-weight: 800; font-size: 18px; }
.bib-price b { font: italic 900 clamp(32px, 4vw, 44px)/1 var(--en); font-stretch: 112%; color: var(--violet); margin-right: 2px; }
.bib-quota { color: var(--ink-2); font-size: 15px; margin-top: 2px; }
.bib-status { display: inline-block; margin: 16px 0 10px; padding: 4px 13px; font-size: 13px; font-weight: 800; border-radius: 999px; background: #FFF0E5; color: #C94B00; }
[data-state="open"] .bib-status { background: #EFE6FF; color: var(--runit-b); }
[data-state="closed"] .bib-status { background: #EEE; color: #777; }
[data-state="closed"] .btn-runit { filter: grayscale(1); opacity: .6; box-shadow: none; }
.bib-count { margin-top: 10px; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.bib-foot { position: relative; height: 62px; background: linear-gradient(100deg, #A519BA, #FC3F8A 45%, #FF6A00 85%); display: flex; justify-content: center; align-items: center; }
.bib-foot .hole { top: 22px; }
.bib-foot img { width: 62px; }

.apply-notes { margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.apply-notes > div { background: #fff; border-radius: var(--r); padding: 22px 24px; }
.apply-notes h3 { font-size: 16px; font-weight: 900; margin-bottom: 6px; }
.apply-notes p { font-size: 15px; color: var(--ink-2); }
.apply-notes b { color: var(--ink); }
.apply-notes .is-warn h3 { color: var(--star); }

/* pace */
.pace { background: var(--ink); color: #fff; }
.pace-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pace .sec-head { margin-bottom: 0; }
.pace-card { background: #1E1B24; border: 1px solid #38333F; border-radius: 22px; padding: clamp(22px, 3.500vw, 40px); }
.pace-tabs { display: inline-flex; padding: 4px; background: #000; border-radius: 999px; margin-bottom: 20px; }
.pace-tabs button { padding: 8px 22px; border-radius: 999px; font: italic 800 15px var(--en); font-stretch: 112%; color: #B9B3C4; }
.pace-tabs .is-on { background: var(--grad); color: #fff; }
.pace-card label { display: block; font-weight: 700; color: #B9B3C4; font-size: 14px; }
.pace-time { display: block; font: italic 900 clamp(46px, 8vw, 84px)/1.1 var(--en); font-stretch: 112%; font-variant-numeric: tabular-nums; margin-bottom: 14px; }
#paceRange { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--violet), var(--pink) var(--fill, 50%), #3A3541 var(--fill, 50%)); cursor: pointer; }
#paceRange::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 6px solid var(--orange); }
#paceRange::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 6px solid var(--orange); }
.pace-track { position: relative; margin-top: 34px; padding-bottom: 22px; }
.pt-line { display: block; height: 3px; background: #3A3541; }
.pt-line b { display: block; height: 100%; width: calc(var(--run, .5) * 100%); background: linear-gradient(90deg, var(--violet), var(--pink), var(--orange)); transition: width .1s; }
.pt-star { position: absolute; top: -13px; left: calc(var(--run, .5) * 100% - 14px); width: 28px; height: 28px; color: var(--orange); transition: left .1s; }
.pt-a, .pt-b { position: absolute; bottom: 0; font: 700 11px var(--en); letter-spacing: .1em; color: #8F8999; }
.pt-a { left: 0; }
.pt-b { right: 0; }
.pace-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.pace-out dt { font-size: 13px; color: #B9B3C4; }
.pace-out dd { font: italic 800 clamp(21px, 3vw, 32px)/1.2 var(--en); font-stretch: 105%; margin-top: 4px; }
.pace-note { margin-top: 14px; font-size: 13px; color: #8F8999; }
.pace-out small { font-size: .5em; margin-left: 3px; font-style: normal; color: #B9B3C4; }

/* course */
.course-maps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.c-map { margin: 0; }
.c-map a { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.c-map img { display: block; width: 100%; height: auto; }
.c-map figcaption { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; font-weight: 700; color: var(--ink-2); }
.c-map figcaption b { font: italic 900 24px/1 var(--en); font-stretch: 112%; color: var(--violet); }
.place { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 56px); align-items: center; }
.place-k { font-weight: 800; font-size: 14px; color: var(--violet); }
.place h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 900; letter-spacing: -.03em; margin-top: 6px; }
.place-addr { margin-top: 8px; color: var(--ink-2); }
.place-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.place-time div { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.place-time div:first-child { border-top: 0; }
.place-time dt { font: italic 900 24px/1 var(--en); font-stretch: 105%; color: var(--violet); font-variant-numeric: tabular-nums; }
.place-time dd { font-weight: 700; }
.place-note { grid-column: 1 / -1; font-size: 13.500px; color: var(--ink-3); }

/* goods */
.goods { background: var(--lilac); overflow: hidden; }
.goods-lb { display: flex; align-items: center; gap: 10px; font-size: clamp(20px, 2.200vw, 24px); font-weight: 900; margin: clamp(32px, 4vw, 44px) 0 14px; }
.sec-head + .goods-lb { margin-top: 0; }
.goods-lb em { font-style: normal; font-size: 13px; font-weight: 800; color: #fff; background: var(--violet); padding: 3px 10px; border-radius: 999px; }
.g-card { background: #fff; border-radius: 22px; padding: clamp(20px, 3vw, 36px); }
.g-shirt { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: center; }
.shirt-stage { background: #D4D1D9; border-radius: 16px; overflow: hidden; }
.shirt-stage img { display: block; width: 100%; height: auto; }
.g-txt h3 { font-size: 22px; font-weight: 900; }
.g-fabric { margin-top: 4px; font-weight: 700; color: var(--ink-2); }
.fabric { margin-top: 18px; }
.fabric-t { font: 800 14px/1.2 var(--en); letter-spacing: .02em; margin-bottom: 8px; }
.fabric dl > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.fabric dt { background: #666; color: #fff; font-size: 13px; font-weight: 700; padding: 6px 8px; }
.fabric dd { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 8px; font-size: 13.500px; color: var(--ink-2); }
.fabric dd.is-text { display: block; }
.fabric dd > span, .fabric dd > strong { position: relative; padding-left: 17px; font-weight: 500; }
.fabric dd > span::before, .fabric dd > strong::before { content: ''; position: absolute; left: 0; top: .32em; width: 11px; height: 11px; border: 1px solid #555; }
.fabric dd > strong { color: var(--ink); font-weight: 700; }
.fabric dd > strong::before { background: #333; border-color: #333; }
.fabric small { font-size: 11.500px; font-weight: 500; }
.size-wrap { margin-top: 18px; }
.size-table { width: 100%; border-collapse: collapse; text-align: center; font-size: 14.500px; font-variant-numeric: tabular-nums; }
.size-table caption { text-align: left; font-weight: 800; margin-bottom: 8px; }
.size-table caption small { font-weight: 600; font-size: 12.500px; color: var(--ink-3); margin-left: 4px; }
.size-table thead th { background: var(--ink); color: #fff; padding: 8px 2px; font-weight: 700; }
.size-table thead th small { display: block; font-size: 11px; font-weight: 500; opacity: .7; }
.size-table tbody th { font-weight: 700; white-space: nowrap; background: var(--lilac); padding-inline: 6px; }
.size-table td, .size-table tbody th { padding-block: 9px; border-top: 1px solid var(--line); }
.size-how { margin-top: 12px; font-size: 14px; }
.size-how summary { cursor: pointer; font-weight: 700; color: var(--violet); }
.size-how img { display: block; width: min(100%, 360px); height: auto; margin-top: 10px; }
.size-note { margin-top: 12px; font-size: 12.500px; color: var(--ink-3); }
.g-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.g-tiles--one { margin-top: 14px; grid-template-columns: minmax(0, 1fr); }
.g-tiles li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 148px; padding: 20px 10px; text-align: center; background: #fff; border-radius: 18px; }
.g-tiles--one li { flex-direction: row; min-height: 0; gap: 10px; padding-block: 16px; }
.g-tiles .ic { width: 38px; height: 38px; color: var(--violet); }
.g-tiles--one .ic { width: 26px; height: 26px; }
.g-tiles b { font-size: 17px; font-weight: 800; }
.g-tiles small { font-size: 12.500px; color: rgba(255,255,255,.85); }
.g-tiles .is-secret { background: var(--grad); color: #fff; }
.g-q { font: italic 900 46px/38px var(--en); font-stretch: 112%; }
.goods-note { display: flex; gap: 7px; align-items: center; margin-top: 20px; font-weight: 700; color: var(--ink-2); font-size: 15px; }

/* guide */
.guide-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.guide .sec-head { margin-bottom: 24px; }
.guide .h2 { font-size: clamp(32px, 3.600vw, 44px); }
.guide-sticky { position: sticky; top: 90px; }
.g-search { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--ink); border-radius: 999px; padding: 11px 16px; }
.g-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 15px; background: none; }
.g-count { font-size: 13px; font-weight: 800; color: var(--violet); }
.g-tabs { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; }
.g-tab { display: flex; justify-content: space-between; align-items: center; padding: 11px 16px; border-radius: 12px; font-weight: 700; text-align: left; font-size: 15px; transition: background .2s; }
.g-tab:hover { background: var(--lilac); }
.g-tab b { color: var(--ink-3); font-size: 13px; }
.g-tab.is-on { background: var(--ink); color: #fff; }
.g-tab.is-on b { color: #fff; }
.g-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 2px solid var(--ink); font-size: 15px; }
.g-head b { color: var(--violet); }
.g-head button { font-size: 13.500px; font-weight: 700; color: var(--ink-2); padding: 4px 8px; }
.g-head button:hover { color: var(--violet); }
.g-item { border-bottom: 1px solid var(--line); }
.g-item.is-hide { display: none; }
.g-item summary, .faq summary { display: flex; align-items: center; gap: 12px; padding: 19px 4px; cursor: pointer; list-style: none; font-weight: 800; font-size: 17px; }
.g-item summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.g-tag { flex: none; font-size: 12px; font-weight: 800; color: var(--violet); background: var(--lilac); padding: 3px 10px; border-radius: 999px; }
.g-title { flex: 1; }
.g-item summary i, .faq summary i { position: relative; flex: none; width: 16px; height: 16px; margin-left: auto; }
.g-item summary i::before, .g-item summary i::after, .faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--ink); transition: rotate .2s; }
.g-item summary i::after, .faq summary i::after { rotate: 90deg; }
details[open] > summary i::after { rotate: 0deg; }
.g-body { padding: 2px 4px 24px; color: var(--ink-2); font-size: 15.500px; }
.g-body p { margin-block: 6px; }
.g-body ul { display: grid; gap: 5px; }
.g-body li { position: relative; padding-left: 14px; }
.g-body li::before { content: ''; position: absolute; left: 2px; top: .68em; width: 4px; height: 4px; border-radius: 50%; background: var(--plum); }
.g-body h4 { font-size: 15px; color: var(--ink); margin: 14px 0 5px; }
.g-body b { color: var(--ink); }
mark { background: #FFE2CC; color: inherit; border-radius: 2px; }
.g-empty { padding: 40px 0; text-align: center; color: var(--ink-2); }

/* contact */
.contact { background: #FAF8FD; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq details { background: #fff; border-radius: 14px; margin-bottom: 10px; padding-inline: 18px; }
.faq summary { font-size: 16px; justify-content: space-between; }
.faq p { padding-bottom: 18px; color: var(--ink-2); font-size: 15.500px; }
.contact-card { background: var(--grad); color: #fff; border-radius: 22px; padding: clamp(26px, 3.500vw, 40px); }
.contact-card img { width: 92px; margin-bottom: 18px; }
.contact-card h2 { font-size: 26px; font-weight: 900; letter-spacing: -.03em; }
.contact-card p { margin: 8px 0 20px; font-size: 15px; }
.contact-card a { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 8px; padding: 15px 18px; background: #fff; color: var(--ink); border-radius: 12px; font-weight: 800; font-size: 17px; transition: translate .2s; }
.contact-card a:hover { translate: 0 -2px; }

/* footer */
.footer { background: var(--ink); color: #fff; padding-block: 56px 88px; }
.footer-in { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.f-logo { width: 200px; }
.f-info dl { display: grid; gap: 6px; }
.f-info dl > div { display: flex; gap: 14px; font-size: 15px; }
.f-info dt { width: 42px; flex: none; color: #9C96A8; }
.f-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; font-size: 14px; font-weight: 700; }
.f-links a:hover { color: #FF8A3D; }
.f-copy { margin-top: 16px; font-size: 12.500px; color: #827C8E; }

/* floats */
.floats { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; transition: opacity .25s, translate .25s; }
.floats.is-hidden { opacity: 0; translate: 0 16px; pointer-events: none; }
.float { display: flex; align-items: center; justify-content: center; gap: 7px; height: 48px; padding-inline: 18px; border-radius: 999px; font-weight: 800; font-size: 14px; box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.float-runit { color: #fff; background: linear-gradient(135deg, var(--runit-a), var(--runit-b)); }
.float-call { background: #fff; color: var(--ink); }
.float-top { width: 48px; padding: 0; background: var(--ink); color: #fff; display: none; }
.float-top.show { display: flex; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 36px; translate: -50% 20px; z-index: 130; background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 14.500px; opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s; width: max-content; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; translate: -50% 0; }

/* responsive */
@media (max-width: 1024px) {
  .gnb, .btn-head { display: none; }
  .burger { display: flex; }
  .hero-panel { flex-direction: column; align-items: stretch; }
  .cd { justify-content: space-between; }
  .hero-cta { justify-content: space-between; }
  .guide-layout { grid-template-columns: minmax(0, 1fr); }
  .guide-sticky { position: static; }
  .g-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .g-tab { flex: none; gap: 8px; }
}
@media (max-width: 860px) {
  .story-in, .pace-in, .course-maps, .place, .g-shirt, .contact-grid, .footer-in { grid-template-columns: minmax(0, 1fr); }
  .story-lead { grid-column: 1; grid-row: 2; }
  .story-emblem { grid-column: 1; grid-row: 1; width: min(220px, 56vw); justify-self: start; }
  .info { grid-template-columns: minmax(0, 1fr); }
  .apply-notes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hero { background: linear-gradient(168deg, #3C0384 0%, #5102CE 38%, #A519BA 62%, #FC3F8A 80%, #FF6A00 100%); }
  .hero .contour { width: 130vw; right: -55vw; top: 42%; margin-top: -65vw; }
  .hero .contour path:not(.ct-star path) { opacity: .28; }
  .band { display: none; }
  .hero-logo { width: min(84vw, 340px); }
  .hero-slogan { font-size: clamp(24px, 8vw, 34px); }
  .cd { flex-direction: column; align-items: stretch; gap: 8px; }
  .cd-t { text-align: center; font-size: 13px; }
  .cd-row { justify-content: space-between; gap: 6px; }
  .cd-row div { min-width: 0; flex: 1; }
  .cd-row b { font-size: clamp(26px, 9vw, 36px); }
  .hero-cta { flex-direction: column; gap: 8px; }
  .hero-cta .btn-runit { width: 100%; }
  .story-stats b { font-size: clamp(25px, 7.200vw, 34px); }
  .story-stats li + li { padding-left: 12px; }
  .course-table { min-width: 0; }
  .course-table th:nth-child(2), .course-table td:nth-child(2), .course-table th:nth-child(6), .course-table td:nth-child(6), .course-table th:nth-child(7), .course-table td:nth-child(7) { display: none; }
  .course-table td, .course-table tbody th { font-size: 15px; padding: 14px 6px; }
  .floats { flex-direction: row; right: 12px; }
  .bibs { grid-template-columns: minmax(0, 1fr); }
  .info > div { grid-template-columns: 82px minmax(0, 1fr); padding: 15px 0; }
  .info dd { font-size: 15.500px; }
  .phase-track { margin-inline: 12.5%; }
  .fabric dl > div { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-bottom: 8px; margin-bottom: 8px; }
  .fabric dt { justify-self: start; min-width: 64px; }
  .phase-steps b { font-size: 20px; }
  .phase-steps span { display: block; margin: 3px 0 0; }
  .phase-steps p { font-size: 12.500px; line-height: 1.35; padding-inline: 3px; }
  .g-item summary { flex-wrap: wrap; gap: 6px 10px; font-size: 16px; position: relative; padding-right: 30px; }
  .g-item summary .g-title { flex-basis: 100%; }
  .g-item summary i { position: absolute; right: 4px; top: 24px; }
  .pace-out { gap: 8px; }
  .float { height: 44px; padding-inline: 14px; }
  .float-top { width: 44px; padding: 0; }
  .float-call span { display: none; }
  .float-call { width: 44px; padding: 0; }
  .footer-in { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero-main > *, .js .hero-panel { opacity: 1; translate: 0 0; }
}
