:root {
    --red: #ab0000;
    --red-dark: #8f0000;
    --ink: #313131;
    --muted: #77716d;
    --paper: #f0eae5;
    --soft: #f4f4f4;
    --beige: #daccbe;
    --white: #fff;
    --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    --serif: "Noto Serif TC", "Source Han Serif TC", serif;
    --container: 1250px;
    --header-height: 88px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: #fff;
    background: #111;
    transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.container {
    width: min(calc(100% - 64px), var(--container));
    margin-inline: auto;
}
.container--wide { --container: 1440px; }
.container--narrow { --container: 1000px; }
.section { padding: 110px 0; }

.section-title {
    margin: 0 0 68px;
    font-family: var(--serif);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    letter-spacing: .08em;
    text-align: center;
}

.section-kicker {
    margin: 0 0 10px;
    color: var(--red);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
}

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, .95);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
    border-color: rgba(0, 0, 0, .08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .06);
}
.brand {
    position: absolute;
    left: clamp(18px, 2.8vw, 54px);
    top: 0;
}
.brand__panel {
    display: flex;
    width: 148px;
    height: 130px;
    padding: 45px 20px 12px;
    color: #fff;
    background: var(--red);
    align-items: center;
    flex-direction: column;
}
.brand__panel img { width: 100px; height: 45px; object-fit: contain; }
.brand__panel small { margin-top: 2px; font-size: .72rem; letter-spacing: .04em; }

.primary-nav {
    display: flex;
    height: 100%;
    margin-left: 240px;
    padding-right: 37px;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(24px, 2.5vw, 52px);
}
.primary-nav > a {
    position: relative;
    font-size: .95rem;
    font-weight: 700;
}
.primary-nav > a::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    background: var(--red);
    content: "";
    transform: scaleX(0);
    transition: transform .2s ease;
}
.primary-nav > a:hover::after, .primary-nav > a:focus-visible::after { transform: scaleX(1); }
.language {
    display: flex;
    height: var(--header-height);
    margin-right: -37px;
    align-items: center;
}
.language a { padding: 0 12px; color: #575757; font-size: .75rem; font-weight: 700; }
.language .is-active { display: grid; height: 100%; color: #fff; background: var(--red); place-items: center; }
.menu-toggle { display: none; }

.hero {
    position: relative;
    min-height: min(920px, 92vh);
    margin-top: var(--header-height);
    overflow: hidden;
    background:
        radial-gradient(circle at 19% 65%, rgba(171, 0, 0, .18), transparent 23%),
        linear-gradient(135deg, #e9dfd7 0 27%, #f7f4f0 27% 62%, #ded6cf 62% 100%);
}
.hero__paper {
    position: absolute;
    inset: 0;
    opacity: .42;
    background-image: repeating-linear-gradient(10deg, rgba(255,255,255,.12) 0 1px, transparent 1px 5px);
}
.hero__monogram {
    position: absolute;
    right: -4vw;
    bottom: -26%;
    color: rgba(117, 104, 97, .18);
    font-family: Georgia, serif;
    font-size: min(80vw, 980px);
    font-weight: 700;
    line-height: .82;
}
.hero__figure {
    position: absolute;
    bottom: -12%;
    left: 13%;
    width: 15vw;
    min-width: 150px;
    aspect-ratio: .42;
    border-radius: 48% 45% 30% 25%;
    background: linear-gradient(165deg, #b80b0b 0 45%, #2a2929 46% 100%);
    transform: rotate(12deg) skewX(-4deg);
    box-shadow: 30px 12px 0 rgba(255,255,255,.35);
}
.hero__content {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: min(820px, calc(92vh - var(--header-height)));
    align-content: start;
    justify-content: center;
    padding-top: 9vh;
    text-align: center;
}
.hero__eyebrow {
    margin: 0;
    color: #5b5050;
    font-family: var(--serif);
    font-size: clamp(2rem, 3vw, 3.15rem);
    font-weight: 600;
    letter-spacing: .2em;
}
.hero__eyebrow i {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin: 0 .4em .18em .2em;
    border-radius: 50%;
    background: var(--red);
}
.hero__lead {
    margin: 16px 0 0;
    padding-top: 10px;
    border-top: 1px solid rgba(53, 47, 47, .45);
    font-family: var(--serif);
    font-size: clamp(.95rem, 1.4vw, 1.25rem);
    letter-spacing: .38em;
}

.news { position: relative; background: var(--paper); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.news-card { min-height: 215px; padding: 24px 7%; border-right: 1px solid rgba(49, 49, 49, .2); }
.news-card:last-child { border-right: 0; }
.news-card time { display: inline-block; padding: 1px 9px; color: #fff; background: var(--red); font-size: .82rem; line-height: 1.45; }
.news-card h3 { margin: 6px 0 12px; font-family: var(--serif); font-size: 1.25rem; }
.news-card h3 a:hover { color: var(--red); }
.news-card p { margin: 0; font-size: .88rem; line-height: 1.8; }
.down-link { display: grid; width: 60px; height: 46px; margin: 42px auto -35px; place-items: center; }
.down-link span { width: 28px; height: 28px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(45deg); }

.concept { padding: 160px 0; background: #fff; }
.concept__layout { display: grid; grid-template-columns: 120px 1fr 1.2fr; align-items: center; gap: 70px; }
.concept__label { color: #eadfd8; font-family: var(--serif); font-size: 4rem; line-height: 1.45; text-align: center; }
.concept__copy h2 { margin: 0 0 22px; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.15rem); line-height: 1.4; }
.concept__copy p:not(.section-kicker) { max-width: 480px; }
.text-link { display: inline-flex; margin-top: 18px; color: var(--red); font-size: .9rem; font-weight: 700; align-items: center; gap: 14px; }
.text-link::after { width: 50px; height: 1px; background: currentColor; content: ""; transition: width .2s ease; }
.text-link:hover::after { width: 78px; }
.concept__visual {
    display: grid;
    min-height: 540px;
    padding: 44px;
    color: #fff;
    background: linear-gradient(145deg, #3a3837, #a7a09a);
    align-items: end;
    overflow: hidden;
    position: relative;
}
.concept__visual::before, .image-slot::before {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(115deg, transparent 0 32px, rgba(255,255,255,.06) 32px 33px);
    content: "";
}
.concept__visual span { position: relative; font-family: var(--serif); font-size: 1.7rem; letter-spacing: .12em; }

.facilities { background: var(--soft); }
.facilities__layout { display: grid; grid-template-columns: 80px minmax(0, 1.3fr) minmax(320px, .9fr); align-items: center; gap: 38px; }
.vertical-words { color: #e8ddd7; font-family: var(--serif); font-size: 4.8rem; line-height: 1.05; }
.vertical-words b { display: block; font-weight: 400; }
.facilities__image img { width: 100%; height: 455px; object-fit: cover; }
.accent-title { margin: 0; color: var(--red); font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.5rem); font-weight: 700; }
.facilities__copy h2 { margin: 90px 0 0; font-family: var(--serif); font-size: 2.25rem; }
.facilities__copy > p:last-child { max-width: 390px; font-size: .95rem; }
.cycle-tabs { grid-column: 2 / 3; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -20px; }
.cycle-tabs button { min-height: 130px; border: 0; color: #777; background: #d9d9d9; cursor: pointer; font-family: var(--serif); font-size: 2.5rem; }
.cycle-tabs button span { display: block; font-size: 1.3rem; }
.cycle-tabs button.is-active { color: #fff; background: var(--red); }

.section-heading { position: relative; text-align: center; }
.section-heading__ghost { position: absolute; z-index: -1; top: -76px; left: 48%; color: rgba(234,224,220,.72); font-family: var(--serif); font-size: 15rem; line-height: 1; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3rem); letter-spacing: .05em; }
.section-heading h2 span { color: var(--red); }
.section-heading p { margin: 6px 0 0; font-family: var(--serif); font-size: 1.15rem; letter-spacing: .05em; }
.section-heading--compact { margin-bottom: 46px; }

.equipment { position: relative; z-index: 0; }
.equipment__brands { display: flex; max-width: 700px; margin: 58px auto 28px; justify-content: center; gap: 54px; }
.equipment__brands > * { padding-left: 20px; color: #b9b9b9; border-left: 5px solid #c7c7c7; font-weight: 900; line-height: 1.3; }
.equipment__brands b { color: #222; border-color: var(--red); font-size: 1.35rem; }
.equipment__brands small { font-size: .72rem; }
.equipment__visual { max-width: 860px; margin: 0 auto; }
.equipment__visual img { width: 100%; }
.fine-print { max-width: 900px; margin: 28px auto 0; font-size: .82rem; line-height: 1.8; }
.equipment hr { max-width: 1150px; margin: 65px auto; border: 0; border-top: 1px solid #bdbdbd; }
.equipment .section-heading--compact { margin-bottom: 42px; }

.classes { position: relative; z-index: 0; background: #ebebeb; }
.classes__strip { margin-top: 48px; overflow: hidden; }
.classes__strip img { width: 100%; min-height: 300px; object-fit: cover; }
.classes > .container > h3 { margin: 42px 0 28px; font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 2rem); text-align: center; }
.classes__details { display: grid; max-width: 1440px; margin: auto; padding: 34px 11%; background: #fff; grid-template-columns: 1fr 1px 1fr; gap: 90px; text-align: center; }
.classes__details b { display: inline-block; margin-bottom: 14px; padding: 1px 14px; border: 1px solid #555; font-family: var(--serif); font-size: 1.2rem; }
.classes__details h4 { margin: 12px 0 0; font-family: var(--serif); }
.classes__details p { margin: 2px 0; font-size: .85rem; }
.classes__divider { background: #bbb; }

.safety { background: #efefef; }
.safety__heading { max-width: 1250px; margin-left: auto; }
.safety__heading h2 { margin: 0; font-family: var(--serif); font-size: 2.7rem; }
.safety__heading p { margin: 4px 0 30px; }
.image-slot { position: relative; overflow: hidden; background: linear-gradient(135deg, #8e8883, #423f3d); }
.image-slot > span { position: absolute; z-index: 1; right: 24px; bottom: 18px; color: rgba(255,255,255,.5); font-size: .7rem; letter-spacing: .16em; }
.safety__visual { min-height: 630px; }
.safety__visual article { position: absolute; z-index: 2; right: 0; bottom: 0; width: 38%; padding: 30px 50px; color: #fff; background: rgba(119, 0, 0, .88); }
.safety__visual article h3 { margin: 0; font-family: var(--serif); }
.safety__visual article p { margin: 4px 0 0; font-size: .84rem; }
.safety__thumbs { display: grid; margin-top: 10px; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.safety__thumbs span { height: 120px; background: linear-gradient(135deg, #ddd, #8e8985); }

.trainer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.trainer-grid article { padding-bottom: 24px; background: #f7f7f7; }
.trainer-grid .image-slot { min-height: 225px; }
.trainer-grid h3, .trainer-grid p { margin-right: 20px; margin-left: 20px; }
.trainer-grid h3 { margin-top: 18px; margin-bottom: 6px; font-family: var(--serif); }
.trainer-grid p { margin-top: 0; font-size: .85rem; line-height: 1.75; }

.referral { display: grid; min-height: 600px; grid-template-columns: 1.2fr .8fr; }
.referral__media { background: linear-gradient(135deg, #453f3b, #b8aaa0); }
.referral__copy { display: flex; padding: 60px 11%; background: #2d2a29; color: #fff; justify-content: center; flex-direction: column; }
.referral__copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.5rem, 4vw, 4.6rem); line-height: 1.4; }
.referral__copy p { margin: 28px 0 0; }

.visit { display: grid; grid-template-columns: 1fr 1fr; background: #f4f0ec; }
.visit__copy { padding: 100px max(50px, 10vw); }
.visit__copy h2 { margin: 0 0 38px; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1.35; }
.visit__copy h3 { display: inline-block; margin: 0 0 12px; padding: 5px 18px; color: #fff; background: var(--red); font-family: var(--serif); }
.visit__copy > p:not(.section-kicker) { max-width: 620px; font-size: .9rem; }
.visit__copy ol { margin: 30px 0; padding: 0; list-style: none; }
.visit__copy li { margin: 12px 0; }
.visit__copy li b, .visit__copy li span { display: block; }
.visit__copy li span { padding-left: 86px; font-size: .86rem; }
.visit__media { min-height: 650px; background: linear-gradient(135deg, #a09a96, #363231); }
.button { display: inline-flex; min-width: 210px; min-height: 52px; padding: 10px 24px; color: #fff; background: var(--red); align-items: center; justify-content: center; font-weight: 700; transition: background .2s ease; }
.button:hover { background: var(--red-dark); }

.stores { background: linear-gradient(#fff 0 33%, #efefef 33% 100%); }
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.store-card { display: flex; min-height: 450px; padding: 55px 30px; border: 1px solid #ddd; background: #fff; align-items: center; justify-content: center; flex-direction: column; text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
a.store-card:hover { transform: translateY(-6px); box-shadow: 0 20px 35px rgba(0,0,0,.08); }
.store-card img { width: 250px; height: 115px; object-fit: contain; }
.store-card span { margin-top: auto; font-family: var(--serif); font-size: 1.4rem; }
.store-card strong { color: var(--red); font-family: var(--serif); font-size: 3.2rem; }
.store-card--red { color: #fff; background: var(--red); border-color: var(--red); }
.store-card--muted { color: #777; background: #f6f6f6; }
.store-card--muted strong { color: #777; font-size: 2rem; }

.faq h2 { margin: 0 0 22px; padding-bottom: 12px; border-bottom: 1px solid #999; font-family: var(--serif); font-size: 2.25rem; }
.faq-item { border-bottom: 1px solid #d4d4d4; }
.faq-item h3 { margin: 0; }
.faq-item button { display: grid; width: 100%; padding: 18px 0; border: 0; background: transparent; cursor: pointer; grid-template-columns: 44px 1fr 30px; align-items: center; text-align: left; }
.faq-item__q { display: grid; width: 42px; height: 42px; color: #fff; background: var(--red); place-items: center; font-family: var(--serif); font-size: 1.2rem; }
.faq-item button > span:nth-child(2) { padding-left: 12px; }
.faq-item button i { position: relative; width: 28px; height: 28px; border: 1px solid var(--red); border-radius: 50%; }
.faq-item button i::before, .faq-item button i::after { position: absolute; top: 50%; left: 50%; width: 12px; height: 1px; background: var(--red); content: ""; transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq-item button i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open button i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item__answer { display: none; padding: 2px 52px 24px; }
.faq-item__answer p { margin: 0; font-size: .88rem; }
.faq-item.is-open .faq-item__answer { display: block; }

.site-footer { padding: 70px 0 36px; color: #fff; background: #252322; }
.site-footer__inner { display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 40px; }
.site-footer img { width: 100px; }
.site-footer p { margin: 4px 0 0; font-size: .7rem; letter-spacing: .08em; }
.site-footer nav { display: flex; gap: 28px; justify-content: center; }
.site-footer nav a { font-size: .82rem; }
.site-footer small { color: #999; font-size: .68rem; }

@media (max-width: 1100px) {
    :root { --header-height: 72px; }
    .brand { left: 18px; }
    .brand__panel { width: 110px; height: 104px; padding: 36px 12px 10px; }
    .brand__panel img { width: 78px; height: auto; }
    .brand__panel small { font-size: .54rem; }
    .primary-nav { margin-left: 150px; gap: 22px; }
    .primary-nav > a { font-size: .82rem; }
    .concept__layout { grid-template-columns: 70px 1fr 1fr; gap: 38px; }
    .facilities__layout { grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); }
    .vertical-words { display: none; }
    .cycle-tabs { grid-column: 1 / 2; }
    .classes__details { gap: 45px; }
    .site-footer__inner { grid-template-columns: 160px 1fr; }
    .site-footer small { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
    .container { width: min(calc(100% - 40px), var(--container)); }
    .section { padding: 78px 0; }
    .menu-toggle {
        position: absolute;
        z-index: 3;
        top: 18px;
        right: 18px;
        display: flex;
        width: 42px;
        height: 36px;
        padding: 7px;
        border: 0;
        background: transparent;
        cursor: pointer;
        justify-content: space-around;
        flex-direction: column;
    }
    .menu-toggle span { display: block; width: 100%; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
    .menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.is-active span:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .primary-nav {
        position: fixed;
        inset: 0;
        display: flex;
        margin: 0;
        padding: 130px 36px 60px;
        background: rgba(246, 243, 240, .98);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity .2s ease, transform .2s ease;
        align-items: stretch;
        justify-content: flex-start;
        flex-direction: column;
        gap: 0;
    }
    .primary-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
    .primary-nav > a { padding: 14px 0; border-bottom: 1px solid #d7d1cc; font-family: var(--serif); font-size: 1.25rem; }
    .language { height: auto; margin: 28px 0 0; }
    .language a, .language .is-active { display: inline-flex; height: 40px; padding: 0 16px; align-items: center; }
    .hero { min-height: 700px; }
    .hero__content { min-height: 620px; padding-top: 13vh; }
    .hero__figure { left: 8%; width: 25vw; }
    .hero__eyebrow { display: flex; align-items: center; }
    .hero__eyebrow i { flex: 0 0 7px; }
    .hero__lead { letter-spacing: .15em; }
    .news-grid { grid-template-columns: 1fr; }
    .news-card { min-height: 0; padding: 28px 0; border-right: 0; border-bottom: 1px solid rgba(49,49,49,.2); }
    .concept__layout { grid-template-columns: 1fr; }
    .concept__label { display: none; }
    .concept__visual { min-height: 420px; grid-row: 1; }
    .facilities__layout { grid-template-columns: 1fr; }
    .facilities__image img { height: auto; }
    .facilities__copy h2 { margin-top: 30px; }
    .cycle-tabs { grid-column: 1; }
    .cycle-tabs button { min-height: 100px; font-size: 2rem; }
    .equipment__brands { gap: 18px; }
    .equipment__brands > * { padding-left: 10px; font-size: .75rem; }
    .classes__strip img { min-height: 220px; }
    .classes__details { grid-template-columns: 1fr; gap: 34px; padding: 34px 24px; }
    .classes__divider { width: 100%; height: 1px; }
    .safety__visual { min-height: 520px; }
    .safety__visual article { width: 80%; padding: 22px 28px; }
    .safety__thumbs { grid-template-columns: repeat(5, 150px); overflow-x: auto; }
    .trainer-grid { grid-template-columns: 1fr; }
    .referral, .visit { grid-template-columns: 1fr; }
    .referral__media { min-height: 420px; }
    .referral__copy { padding: 70px 32px; }
    .visit__media { min-height: 420px; grid-row: 1; }
    .visit__copy { padding: 70px 24px; }
    .store-grid { grid-template-columns: 1fr; }
    .store-card { min-height: 330px; }
    .site-footer__inner { grid-template-columns: 1fr; }
    .site-footer nav { flex-wrap: wrap; justify-content: flex-start; }
    .site-footer small { grid-column: auto; }
}

@media (max-width: 520px) {
    .container { width: min(calc(100% - 32px), var(--container)); }
    .section { padding: 64px 0; }
    .section-title { margin-bottom: 38px; }
    .hero { min-height: 620px; }
    .hero__content { min-height: 548px; justify-content: start; }
    .hero__eyebrow { font-size: 1.55rem; letter-spacing: .06em; }
    .hero__figure { min-width: 115px; }
    .concept { padding: 90px 0; }
    .concept__visual { min-height: 330px; }
    .facilities__layout { gap: 24px; }
    .cycle-tabs { grid-template-columns: repeat(2, 1fr); }
    .equipment__brands { flex-wrap: wrap; }
    .section-heading__ghost { font-size: 10rem; }
    .safety__heading h2 { font-size: 2rem; }
    .safety__visual article { width: 100%; }
    .visit__copy li span { padding-left: 0; }
    .faq-item button { grid-template-columns: 42px 1fr 28px; font-size: .9rem; }
    .faq-item__answer { padding-right: 8px; padding-left: 52px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
