:root {
    --black: #111412;
    --accent: #315f63;
    --accent-soft: #d9e5e3;
    --accent-light: #afceca;
    --paper: #f4f5f3;
    --ink: #111412;
    --muted: #5b635f;
    --line: #ccd1cd;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 15px; background: var(--accent); color: #fff; z-index: 10; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.site-header { background: #ecefed; border-bottom: 1px solid var(--line); }
.navigation { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 900; letter-spacing: -.8px; }
.brand-logo { display: block; width: 72px; height: auto; flex-shrink: 0; }
.brand small { display: block; font-size: 10px; font-weight: 500; letter-spacing: 2px; margin-top: 4px; }
.nav-links { display: flex; gap: 36px; font-size: 14px; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav-cta { padding: 12px 19px; background: var(--black); color: white; font-size: 13px; }
.nav-cta span { margin-left: 20px; }
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 48% 25%, #fff 0%, #f0f2f0 48%, #d4dbd7 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 65px; padding-block: 52px 40px; }
.hero-content { position: relative; min-width: 0; grid-column: 1; grid-row: 1; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; font-size: 11px; letter-spacing: 2.3px; font-weight: 700; }
.live-dot { display: inline-block; width: 9px; height: 9px; background: var(--accent); border: 1px solid var(--accent); }
.race-wordmark { font-size: clamp(14px, 1.6vw, 21px); font-style: italic; letter-spacing: -.5px; margin: 0 0 14px; }
h1 { margin: 0; font-size: clamp(42px, 4.6vw, 65px); line-height: 1.13; letter-spacing: -4px; font-weight: 900; }
.title-period { color: var(--accent); }
.hero-description { font-size: 15px; line-height: 1.8; color: var(--muted); margin: 25px 0; }
.hero-event { display: flex; align-items: center; flex-wrap: wrap; gap: 17px; font-size: 17px; font-weight: 800; }
.hero-event time { font-size: 24px; letter-spacing: -.8px; }
.hero-event small { font-size: 12px; margin-left: 5px; }
.hero-event>span { padding-left: 17px; border-left: 1px solid #87928a; }
.distance-tags { display: flex; gap: 25px; margin: 20px 0 28px; }
.distance-tags span { font-size: 22px; font-weight: 900; font-style: italic; border-bottom: 3px solid var(--accent); padding-right: 12px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 16px 21px; font-weight: 750; font-size: 13px; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-3px); }
.primary { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.primary:hover { background: #244b4f; border-color: #244b4f; }
.outline { border: 1px solid var(--black); }
.outline:hover { background: #fff; }
.hero-poster { margin: 0; min-width: 0; grid-column: 2; grid-row: 1; }
.poster-link { display: block; box-shadow: 0 15px 45px #17241b1c; transition: transform .2s; }
.poster-link:hover { transform: translateY(-4px); }
.hero-poster img { display: block; width: 100%; height: auto; }
.hero-poster figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 15px; font-size: 10px; letter-spacing: .7px; color: #4d5951; }
.hero-poster figcaption a { text-decoration: underline; text-underline-offset: 3px; }
.hero-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 23px; border-top: 1px solid #a8b3ac; font-size: 10px; letter-spacing: 1.5px; }
.hero-bottom a span { margin-left: 18px; }
.race-info { background: var(--accent-soft); }
.info-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr; padding-block: 28px; margin-block: 0; }
.info-grid>div { padding-inline: 26px; border-left: 1px solid #11141235; }
.info-grid>div:first-child { padding-left: 0; border: 0; }
dt { font-size: 10px; letter-spacing: 1.7px; margin-bottom: 10px; }
dd { margin: 0; font-size: 17px; font-weight: 800; }
dd small { font-size: 11px; font-weight: 500; }
.section { padding-block: 95px; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.dark { color: #555e58; margin-bottom: 22px; }
h2 { font-size: clamp(33px, 3.6vw, 49px); line-height: 1.25; letter-spacing: -2px; margin: 0; font-weight: 850; }
h2 em { font-style: normal; background: linear-gradient(transparent 62%, var(--accent-soft) 62%); }
.about-copy .intro { font-size: 22px; line-height: 1.6; margin: 4px 0 22px; color: var(--ink); font-weight: 600; }
.about-copy p, .section-copy { font-size: 15px; line-height: 1.9; color: var(--muted); }
.values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.values span { border: 1px solid var(--line); padding: 8px 12px; font-size: 11px; }
.course-section { border-block: 1px solid var(--line); background: #e5e9e6; }
.course-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: center; }
.course-art { background: #242b27; color: #dae0dc; position: relative; overflow: hidden; }
.course-art svg { display: block; width: 100%; }
.course-art text { font-size: 10px; fill: var(--accent-light); letter-spacing: 2px; }
.art-caption { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding: 22px; font-size: 10px; letter-spacing: 1px; border-top: 1px solid #ffffff20; }
.art-caption small { font-size: 10px; color: #c4cdc7; letter-spacing: 0; }
.course-distances { display: flex; justify-content: space-between; gap: 18px; margin-top: 28px; border-bottom: 4px solid var(--accent); }
.course-distances>span { font-size: 46px; font-weight: 900; font-style: italic; letter-spacing: -2px; }
.course-distances small { font-size: 25px; }
.section-copy { margin: 24px 0 16px; }
.notice { font-size: 12px; color: #555f58; line-height: 1.7; }
.text-link { display: inline-flex; gap: 50px; padding: 15px 0 10px; border-bottom: 1px solid var(--black); font-size: 14px; font-weight: 700; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 40px; }
.section-head>p { font-size: 14px; line-height: 1.8; color: var(--muted); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card { padding: 28px; border: 1px solid var(--line); border-top: 3px solid var(--black); background: #fafbf9; transition: background .2s, border-color .2s; }
.guide-card:hover { background: #e8efed; border-top-color: var(--accent); }
.card-top { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 1.3px; color: #535f56; }
.card-top span { font-size: 23px; line-height: 1; }
h3 { font-size: 25px; letter-spacing: -1px; margin: 40px 0 13px; }
.guide-card p { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 0; }
.card-link { display: block; font-size: 12px; font-weight: 700; margin-top: 30px; }
.registration { background: #161b18; color: #fff; position: relative; overflow: hidden; }
.registration::before { content: ""; position: absolute; width: 350px; height: 350px; right: 30%; top: 70px; border: 1px solid #afceca25; transform: rotate(45deg); pointer-events: none; }
.registration-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-block: 75px; }
.registration .eyebrow { color: var(--accent-light); }
.registration h2 { font-size: clamp(34px, 4vw, 52px); font-weight: 850; line-height: 1.25; letter-spacing: -2px; }
.registration p { font-size: 14px; line-height: 1.9; color: #c2cbc5; margin: 22px 0 0; }
.registration-details { border-left: 1px solid #ffffff25; padding-left: 50px; min-width: 340px; }
.registration-status { display: inline-block; padding: 7px 12px; border: 1px solid #afceca75; color: var(--accent-light); font-size: 12px; }
.registration-details p { margin: 20px 0 25px; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 32px; }
.footer-brand { font-weight: 900; font-size: 14px; letter-spacing: -.5px; font-style: italic; }
.site-footer p, .site-footer small { font-size: 10px; color: var(--muted); }
@media (max-width: 1000px) {
    .wrap { width: calc(100% - 48px); }
    .nav-links { gap: 20px; }
    .hero-grid { gap: 32px; }
    h1 { font-size: 45px; letter-spacing: -3px; }
    .hero-event { gap: 10px; font-size: 14px; }
    .hero-event time { font-size: 20px; }
    .button { padding: 14px 16px; gap: 16px; font-size: 12px; }
    .about, .course-layout { gap: 35px; }
    .info-grid>div { padding-inline: 15px; }
    dd { font-size: 14px; }
    .guide-card { padding: 22px; }
    .registration-details { padding-left: 30px; min-width: 290px; }
    .section { padding-block: 70px; }
}
@media (max-width: 700px) {
    .wrap { width: calc(100% - 40px); }
    .navigation { min-height: 100px; flex-wrap: wrap; gap: 15px; padding-block: 17px; }
    .brand { font-size: 15px; gap: 8px; }
    .brand-logo { width: 56px; }
    .brand small { font-size: 9px; }
    .nav-links { order: 3; width: 100%; justify-content: space-between; font-size: 12px; gap: 12px; }
    .nav-cta { font-size: 11px; padding: 10px 12px; }
    .nav-cta span { margin-left: 10px; }
    .hero-grid { grid-template-columns: 1fr; padding-block: 42px 25px; gap: 35px; }
    h1 { font-size: clamp(43px, 9vw, 62px); }
    .hero-description { margin-block: 20px; }
    .hero-event time { font-size: 24px; }
    .hero-event { font-size: 16px; }
    .eyebrow { font-size: 10px; letter-spacing: 1.8px; }
    .hero-poster { width: min(100%, 480px); justify-self: center; }
    .hero-bottom { font-size: 8px; letter-spacing: .5px; gap: 15px; }
    .hero-bottom a span { margin-left: 4px; }
    .info-grid { grid-template-columns: 1fr 1fr; row-gap: 24px; padding-block: 25px; }
    .info-grid>div { padding-left: 17px; }
    .info-grid>div:nth-child(odd) { padding-left: 0; border: 0; }
    dd small { display: block; margin-top: 4px; }
    .section { padding-block: 60px; }
    .about, .course-layout { grid-template-columns: 1fr; gap: 30px; }
    .about-copy .intro { font-size: 19px; }
    .section-head { display: block; margin-bottom: 28px; }
    .section-head>p { margin-top: 20px; }
    .guide-grid { grid-template-columns: 1fr; gap: 12px; }
    .guide-card { padding: 24px; }
    h3 { margin-top: 24px; }
    .card-link { margin-top: 20px; }
    .registration-inner { display: block; padding-block: 55px; }
    .registration-details { border-left: 0; border-top: 1px solid #ffffff25; padding: 27px 0 0; margin-top: 30px; min-width: 0; }
    .site-footer { display: block; padding-block: 28px; }
    .site-footer p { margin-block: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
.external-note { font-size: 11px; line-height: 1.6; color: var(--muted); margin: 13px 0 0; }
.registration-details .external-note { font-size: 11px; margin: 12px 0 0; }
.mobile-registration { display: none; }
@media (max-width: 700px) {
    body { padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
    .mobile-registration { position: fixed; bottom: 0; inset-inline: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)); background: #161b18; color: white; border-top: 1px solid #ffffff30; box-shadow: 0 -4px 20px #11141215; }
    .mobile-registration>span { font-size: 13px; font-weight: 800; }
    .mobile-registration small { display: block; font-size: 10px; font-weight: 400; margin-top: 4px; color: #c2cbc5; }
    html { scroll-padding-bottom: 100px; }
}

.poster-stage { position: relative; }
.poster-actions { display: none; }
@media (max-width: 700px) {
    .hero-grid { padding-top: 16px; gap: 30px; }
    .hero-poster { grid-column: 1; grid-row: 1; }
    .hero-content { grid-column: 1; grid-row: 2; }
    .hero-content .actions { display: none; }
    .poster-link:hover { transform: none; }
    .poster-actions { position: absolute; inset-inline: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 28px 12px 12px; background: linear-gradient(transparent, #edf1efed 45%); }
    .poster-actions .button { min-height: 44px; padding: 12px 10px; gap: 6px; font-size: 12px; white-space: nowrap; }
    .poster-actions .outline { background: #f4f5f3f5; border-color: var(--accent); color: var(--accent); }
    .poster-actions .outline:hover { background: #fff; }
    .poster-actions .button:hover { transform: none; }
}
