:root{color-scheme:light;--ink:#292321;--muted:#655451;--rose:#743943;--blush:#f4e3e0;--paper:#fffbf8;--line:#e6d5cf;--serif:"Songti TC","Noto Serif TC",serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.75 system-ui,sans-serif}
img{display:block;width:100%;height:auto}
a{color:inherit;text-underline-offset:.25em}
a:focus-visible{outline:3px solid #a55268;outline-offset:4px}
.wrap{width:min(1160px,calc(100% - 40px));margin:auto}
header{background:var(--paper);border-bottom:1px solid var(--line)}
header .wrap,nav,.actions{display:flex;align-items:center;gap:clamp(.55rem,2vw,1.5rem);flex-wrap:wrap}
header .wrap{justify-content:space-between;padding-block:17px}
.brand{font-weight:800;text-decoration:none}
nav a{font-size:.9rem;text-decoration:none}
nav a:hover{text-decoration:underline}
.hero{background:var(--blush);padding-block:clamp(40px,7vw,90px)}
.hero>.wrap,.split{display:grid;grid-template-columns:1.06fr .94fr;align-items:center;gap:clamp(28px,6vw,80px)}
h1,h2{font-family:var(--serif);line-height:1.19;margin:.25em 0 .45em;font-weight:800}
h1{font-size:clamp(2.5rem,5.5vw,5.6rem);letter-spacing:-.055em}
h2{font-size:clamp(2rem,4.2vw,3.65rem);letter-spacing:-.04em}
h3{margin:0;font-size:1.25rem;line-height:1.4}
p{max-width:62ch}
.eyebrow,.status{color:var(--rose);font-weight:800}
.eyebrow{border-left:3px solid var(--rose);padding-left:.7rem;margin:0 0 .65rem}
.hero-services{font-weight:650;margin:0 0 1.3rem;color:var(--muted)}
.hero-copy>p:last-of-type{max-width:37ch}
.actions{margin-top:1.6rem}
.btn{display:inline-flex;align-items:center;min-height:44px;padding:.6rem 1rem;border:1px solid var(--rose);border-radius:5px;text-decoration:none;font-weight:750;color:var(--rose)}
.btn:hover{background:#f2dedc}
.primary{background:var(--rose);color:white}
.primary:hover{background:#582830}
.visual{overflow:hidden;margin:0;border-radius:7rem 7rem 1rem 1rem;background:#ebd7d1}
.visual img{aspect-ratio:1.17;object-fit:cover}
figcaption{color:var(--muted);font-size:.875rem;padding:.45rem 1rem}
.section{padding-block:clamp(44px,8vw,90px);scroll-margin-top:1rem}
.section+.section{border-top:1px solid var(--line)}
.split .visual{border-radius:1rem}
.split .visual img{aspect-ratio:1.5}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:1.1rem;margin-top:1.7rem}
.card{background:white;border:1px solid var(--line);border-radius:12px;padding:1.4rem}
.card p{margin:.55rem 0 0;color:var(--muted)}
.card a{display:inline-block;margin-top:.8rem;color:var(--rose);font-weight:700}
.experiences{grid-template-columns:repeat(6,minmax(0,1fr))}
.experiences .card{grid-column:span 2}
.experiences .card:nth-last-child(-n+2){grid-column:span 3;background:#f9eeeb}
.room-list{padding:0;list-style:none}
.room-list li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.3rem 1rem;border-bottom:1px solid var(--line);padding:.7rem 0}
.visit{background:#f4e3e0;border-radius:1rem;padding:clamp(22px,5vw,56px)}
footer{background:#38272a;color:#fff6f2;padding:2.5rem 0}
footer p{margin:.4rem 0}
@media(max-width:770px){.hero>.wrap,.split{grid-template-columns:1fr}.hero .visual img{aspect-ratio:1.65}.visual{border-radius:3rem 3rem .9rem .9rem}.experiences{grid-template-columns:repeat(2,minmax(0,1fr))}.experiences .card,.experiences .card:nth-last-child(-n+2){grid-column:auto}}
@media(max-width:470px){.experiences{grid-template-columns:1fr}.hero .actions{gap:.55rem}.wrap{width:calc(100% - 32px)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.btn.line-button{gap:.65rem;background:#008344;border-color:#008344;color:#fff}
.line-icon{position:relative;display:inline-grid;place-items:center;width:1.8rem;height:1.4rem;border-radius:50%;background:#fff;color:#006b38;font-size:.55rem;font-weight:900;line-height:1}
.line-icon::after{content:"";position:absolute;bottom:-.15rem;left:.5rem;border:.2rem solid transparent;border-top-color:#fff;border-left-color:#fff}
.btn.line-button:hover{background:#006a38;border-color:#006a38;color:#fff}
.line-dock{display:none}
@media(max-width:770px){
  .line-dock:not([hidden]){display:flex;justify-content:center;position:fixed;z-index:5;inset:auto 0 0;padding:.65rem 1rem calc(.65rem + env(safe-area-inset-bottom,0px));background:var(--paper);border-top:1px solid var(--line)}
  .line-dock .line-button{width:min(100%,30rem);justify-content:center}
  .line-dock.first-show{animation:line-dock-enter .22s ease-out}
  body:has(.line-dock:not([hidden])){padding-bottom:calc(70px + env(safe-area-inset-bottom,0px))}
}
@keyframes line-dock-enter{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.line-dock.first-show{animation:none}}
.table-scroll{overflow-x:auto;margin:1rem 0}
.table-scroll:focus-visible{outline:3px solid var(--rose);outline-offset:2px}
.table-scroll table{border-collapse:collapse;width:100%;min-width:32rem;background:white}
.table-scroll th,.table-scroll td{padding:.75rem 1rem;text-align:left;vertical-align:top;border:1px solid var(--line)}
.table-scroll thead{background:var(--blush)}
details.section>summary{font-size:1.2rem;font-weight:750;color:var(--rose);cursor:pointer}
.coach-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr))}
.coach-feature{background:var(--blush)}
.card .coach-role{color:var(--rose);font-weight:750}
.coach-recommendations{padding-left:1.3rem;margin:.75rem 0 0}
.coach-recommendations li+li{margin-top:.75rem}
.coach-recommendations a{margin:0}
.decision-list{display:grid;gap:.65rem;margin-top:1.25rem}
.decision-list details{background:white;border:1px solid var(--line);border-radius:.75rem;padding:.8rem 1rem}
.decision-list summary{color:var(--rose);font-weight:750;cursor:pointer}
.decision-list details p{margin:.7rem 0 .1rem}
.campus-visual{max-width:42rem;margin:1.5rem 0;border-radius:1rem}
.campus-visual img{aspect-ratio:1.9;object-fit:cover}
.experiences .experience-image{width:100%;height:auto;aspect-ratio:1.48;object-fit:cover;border-radius:.55rem;margin-bottom:.9rem}
.experiences .experience-image[src$="qin-photo.webp"]{aspect-ratio:auto;object-fit:contain;max-height:32rem;background:var(--paper)}
@media(min-width:771px){.experiences .card:has(.experience-image){grid-column:span 3}.experiences .card:nth-last-child(2){background:white}}
.brand-film{max-width:50rem;margin:1.25rem 0}
.brand-film video{display:block;width:100%;height:auto;aspect-ratio:910/512;background:#38272a;border-radius:1rem}
.brand-film figcaption{padding-inline:0}

.event-feature{display:grid;grid-template-columns:minmax(0,22rem) minmax(0,1fr);gap:clamp(1.25rem,4vw,3rem);align-items:center}
.event-feature h3{font-size:clamp(1.45rem,3vw,2.1rem)}
.event-poster{border-radius:.65rem}
.event-date{color:var(--rose);font-weight:750}
@media(max-width:680px){
  .event-feature{grid-template-columns:1fr}
  .event-poster{max-width:22rem}
}

#events[hidden],
#events article[hidden],
[data-events-link][hidden] {
  display: none;
}
