:root {
    --ink: #080808;
    --paper: #f4f2ed;
    --white: #fff;
    --yellow: #ffc400;
    --yellow-2: #ffb800;
    --body-size: 16px;
    --section-title-size: clamp(24px, 2vw, 28px);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: var(--body-size);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
button, a {
    -webkit-tap-highlight-color: transparent;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: -100px;
    z-index: 9999;
    padding: 10px 14px;
    background: var(--yellow);
    color: var(--ink);
    font-weight: 800;
}
.skip-link:focus {
    top: 16px;
}

.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 100;
    color: var(--white);
}
.header-inner {
    min-height: 86px;
}
.brand {
    min-width: 245px;
}
.brand-logo-extended {
    display: block;
    width: 235px;
    object-fit: contain;
}
.header-contacts {
    gap: clamp(12px, 2vw, 28px);
}
.header-contact {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #f5f5f5;
    font-size: 13px;
    font-weight: 750;
    white-space: nowrap;
    transition: color .18s ease;
}
.header-contact svg {
    color: var(--yellow);
    flex: 0 0 auto;
}
.header-contact:hover,
.header-contact:focus-visible,
.header-contact--whatsapp {
    color: var(--yellow);
}

.hero {
    overflow: hidden;
    color: var(--white);
    background-color: #070707;
    background-image:
        linear-gradient(90deg, rgba(7,7,7,.94) 0%, rgba(7,7,7,.82) 39%, rgba(7,7,7,.42) 67%, rgba(7,7,7,.2) 100%),
        url("../img/taebaek-hero-mountains.webp");
    background-repeat: no-repeat;
    background-position: center, center bottom;
    background-size: cover, 100% auto;
}
.hero-container {
    position: relative;
    z-index: 2;
}
.hero-row {
    min-height: 700px;
    padding-top: 126px;
    padding-bottom: 70px;
}
.hero-copy {
    padding-right: 3rem;
}
.eyebrow {
    margin: 0 0 18px;
    color: var(--yellow);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .055em;
}
.hero h1,
.academy h2,
.trial h2 {
    margin: 0;
    font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: -.035em;
    line-height: .92;
}
.hero h1 {
    font-size: clamp(58px, 6.5vw, 94px);
}
.hero h1 mark,
.academy h2 mark {
    color: var(--yellow);
    background: none;
    padding: 0;
}
.hero-lead {
    margin: 24px 0 0;
    max-width: 500px;
    color: #f0f0f0;
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.5;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 28px;
    padding: 0 20px;
    border: 1px solid var(--yellow);
    border-radius: 2px;
    background: var(--yellow);
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .02em;
    transition: transform .18s ease, background-color .18s ease;
}
.hero-cta:hover,
.hero-cta:focus-visible {
    background: #ffd23d;
    color: var(--ink);
    transform: translateY(-2px);
}

.hero-visual {
    min-height: 510px;
    display: grid;
    place-items: center;
}
.hero-emblem {
    width: min(455px, 86%);
    aspect-ratio: 1;
}
.hero-emblem img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 18px 42px rgba(0,0,0,.38));
}

.section-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 30px;
}
.section-kicker span {
    width: 44px;
    height: 2px;
    background: var(--yellow);
}
.section-kicker h2 {
    margin: 0;
    font-size: var(--section-title-size);
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: -.02em;
}

.training {
    background: var(--paper);
    padding: 42px 0 52px;
}
.venue,
.schedule-note {
    border: 1px solid #c9c6bf;
    border-radius: 3px;
    background: rgba(255,255,255,.38);
}
.venue {
    display: flex;
    gap: 18px;
    padding: 28px 30px;
}
.venue-pin {
    color: var(--yellow-2);
    flex: 0 0 auto;
    margin-top: 1px;
}
.venue h3 {
    margin: 0;
    font-size: clamp(28px, 2.7vw, 38px);
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: -.035em;
    line-height: 1;
}
.venue p {
    margin: 6px 0 16px;
    font-weight: 750;
}

.venue-map {
    display: inline-block;
    margin: -6px 0 16px;
    color: #5e5a50;
    font-size: 15px;
    font-weight: normal;
    line-height: 1.4;
    text-decoration: normal;
    text-underline-offset: 3px;
}
.venue-map:hover,
.venue-map:focus-visible {
    color: #111;
}

.day-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.day-list span {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 2px;
    background: #090909;
    color: var(--white);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .025em;
}
.schedule-note {
    padding: 25px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-color: var(--yellow-2);
}
.schedule-note__icon {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 2px solid var(--yellow-2);
    border-radius: 50%;
    color: #b98100;
    font: 900 16px Georgia, serif;
}
.schedule-note p {
    margin: 0;
    line-height: 1.5;
}

.academy {
    color: var(--white);
    background: var(--ink);
    padding: 64px 0 34px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.academy-heading {
    padding-right: 42px;
    border-right: 1px solid rgba(255,196,0,.65);
}
.mountain-mark {
    display: block;
    width: 64px;
    margin-bottom: 16px;
    color: var(--yellow);
}
.academy h2 {
    font-size: clamp(40px, 4.1vw, 56px);
    line-height: .98;
}
.academy-copy {
    max-width: 720px;
    padding-left: 54px;
    color: #d8d8d8;
    line-height: 1.6;
}
.academy-copy p {
    margin: 0 0 15px;
}
.academy-copy strong {
    color: var(--white);
}

.values-section {
    margin-top: 42px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,196,0,.55);
}
.value-item {
    padding: 10px 24px 14px;
    text-align: center;
}
.value-item + .value-item {
    border-left: 1px solid rgba(255,255,255,.12);
}
.value-item h3 {
    margin: 0 0 12px;
    color: var(--white);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: .015em;
}
.value-item p {
    max-width: 235px;
    margin: 0 auto;
    color: #d2d2d2;
    line-height: 1.55;
}

.trial {
    background: linear-gradient(100deg, var(--yellow) 0%, #ffb000 100%);
}
.trial-inner {
    min-height: 122px;
    padding-top: 24px;
    padding-bottom: 24px;
}
.trial h2 {
    font-size: clamp(32px, 3.6vw, 50px);
    line-height: .96;
}
.trial p {
    margin: 8px 0 0;
    font-weight: 700;
    line-height: 1.5;
}
.whatsapp-cta {
    min-width: 330px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0 22px;
    border: 1px solid #090909;
    border-radius: 2px;
    background: #090909;
    color: var(--white);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    transition: transform .18s ease;
}
.whatsapp-cta:hover,
.whatsapp-cta:focus-visible {
    transform: translateY(-2px);
}

.site-footer {
    padding: 38px 0 18px;
    color: #eee;
    background: #070707;
    border-top: 1px solid rgba(255,255,255,.08);
}
.footer-brand img {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
}
.footer-brand strong,
.footer-item strong,
.footer-social strong {
    display: block;
    margin: 0 0 8px;
    color: var(--yellow);
    font-size: 15px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .02em;
}
.footer-item {
    margin: 0;
    font-style: normal;
}
.footer-item span,
.footer-item a {
    display: block;
    color: #e2e2e2;
    font-size: var(--body-size);
    line-height: 1.55;
}
.footer-contacts a {
    overflow-wrap: anywhere;
}
.footer-contacts a:hover,
.footer-contacts a:focus-visible {
    color: var(--yellow);
}
.footer-social {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    align-items: flex-start;
}
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.social-links a {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.18);
    color: #e2e2e2;
    transition: border-color .18s ease, color .18s ease;
}
.social-links a:hover,
.social-links a:focus-visible {
    border-color: var(--yellow);
    color: var(--yellow);
}
.social-icon {
    width: 17px;
    height: 17px;
    display: block;
    background: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.social-icon--facebook {
    -webkit-mask-image: url("../icons/social/facebook.svg");
    mask-image: url("../icons/social/facebook.svg");
}
.social-icon--instagram {
    -webkit-mask-image: url("../icons/social/instagram.svg");
    mask-image: url("../icons/social/instagram.svg");
}
.social-icon--youtube {
    -webkit-mask-image: url("../icons/social/youtube.svg");
    mask-image: url("../icons/social/youtube.svg");
}
.social-icon--x {
    -webkit-mask-image: url("../icons/social/x.svg");
    mask-image: url("../icons/social/x.svg");
}
.footer-bottom {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.09);
    color: #888;
    font-size: 13px;
}

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 220;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,196,0,.75);
    border-radius: 50%;
    background: rgba(8,8,8,.92);
    color: var(--yellow);
    box-shadow: 0 8px 24px rgba(0,0,0,.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background-color .2s ease;
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--yellow);
    color: var(--ink);
}
:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
}

@media (max-width: 991.98px) {
    .header-inner {
        min-height: 76px;
    }
    .brand {
        min-width: 0;
    }
    .brand-logo-extended {
        width: 190px;
    }
    .header-contacts {
        gap: 8px;
    }
    .header-contact {
        width: 40px;
        height: 40px;
        min-height: 40px;
        justify-content: center;
        border: 1px solid rgba(255,255,255,.13);
    }
    .header-contact span {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        clip: rect(0,0,0,0);
        white-space: nowrap;
    }
    .header-contact--whatsapp {
        border-color: rgba(255,196,0,.45);
    }

    .hero {
        background-image:
            linear-gradient(180deg, rgba(7,7,7,.97) 0%, rgba(7,7,7,.9) 45%, rgba(7,7,7,.34) 100%),
            url("../img/taebaek-hero-mountains.webp");
        background-size: cover, auto 46%;
    }
    .hero-row {
        min-height: 0;
        padding-top: 110px;
        padding-bottom: 0;
    }
    .hero-copy {
        padding: 18px 12px 38px;
    }
    .hero h1 {
        font-size: clamp(49px, 14.5vw, 74px);
        max-width: 720px;
    }
    .hero-lead {
        font-size: 16px;
    }
    .hero-visual {
        width: 100vw;
        min-height: 56svh;
        margin-left: calc(50% - 50vw);
        border-top: 1px solid rgba(255,255,255,.08);
    }
    .hero-emblem {
        width: min(78vw, 460px);
    }

    .academy {
        padding-top: 54px;
        padding-bottom: 38px;
    }
    .academy-heading {
        padding: 0 0 30px;
        border-right: 0;
        border-bottom: 1px solid rgba(255,196,0,.55);
    }
    .academy-copy {
        padding: 28px 0 0;
    }
    .values-section {
        margin-top: 30px;
        padding-top: 26px;
    }
    .value-item {
        padding: 22px 26px;
        text-align: left;
    }
    .value-item + .value-item {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.12);
    }
    .value-item p {
        max-width: none;
        margin: 0;
    }

}

@media (max-width: 575.98px) {
    html {
        scroll-padding-top: 72px;
    }
    .container-xl {
        --bs-gutter-x: 1.35rem;
    }
    .brand-logo-extended {
        width: 168px;
    }
    .header-contacts {
        gap: 6px;
    }
    .header-contact {
        width: 37px;
        height: 37px;
        min-height: 37px;
    }

    .hero-copy {
        padding: 12px 4px 34px;
    }
    .eyebrow {
        margin-bottom: 13px;
        font-size: 10px;
    }
    .hero h1 {
        font-size: clamp(46px, 15vw, 64px);
    }
    .hero-lead {
        margin-top: 19px;
    }
    .hero-cta {
        width: 100%;
        max-width: 360px;
    }
    .hero-visual {
        min-height: 52svh;
    }
    .hero-emblem {
        width: min(86vw, 430px);
    }

    .training {
        padding: 38px 0 42px;
    }
    .section-kicker {
        margin-bottom: 22px;
        gap: 10px;
    }
    .section-kicker span {
        width: 28px;
    }
    .section-kicker h2 {
        font-size: 20px;
    }
    .venue {
        padding: 20px 18px;
        gap: 12px;
    }
    .venue h3 {
        font-size: 29px;
    }
    .venue p {
        margin-bottom: 12px;
    }
    .day-list span {
        min-height: 26px;
        padding: 0 9px;
        font-size: 9px;
    }
    .schedule-note {
        padding: 18px;
    }

    .academy {
        padding-top: 44px;
    }
    .academy h2 {
        font-size: clamp(36px, 10.8vw, 48px);
    }
    .mountain-mark {
        width: 54px;
        margin-bottom: 13px;
    }
    .value-item {
        padding: 19px 2px 20px;
    }
    .value-item h3 {
        margin-bottom: 7px;
        font-size: 18px;
    }

    .trial-inner {
        padding-top: 28px;
        padding-bottom: 30px;
    }
    .trial h2 {
        max-width: 430px;
        font-size: 34px;
    }
    .whatsapp-cta {
        width: 100%;
        min-width: 0;
        min-height: 54px;
    }

    .site-footer {
        padding-top: 32px;
        padding-bottom: 78px;
    }
    .footer-info-row > .col:not(:first-child) .footer-item,
    .footer-info-row > .col:not(:first-child) .footer-social {
        padding-top: 16px;
        border-top: 1px solid rgba(255,255,255,.08);
    }
    .back-to-top {
        right: 14px;
        bottom: max(14px, env(safe-area-inset-bottom));
        width: 44px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}