/* ============================================================
   序曲音樂學院 Overture Academy of Music — v5
   Aesop-inspired：安靜的奢華 · 低飽和大地色 · 文學編輯排版
   全襯線 · 大量留白 · 極克制動態
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&family=Noto+Serif+TC:wght@400;500;600;700&family=Noto+Sans+TC:wght@400;500&display=swap');

:root {
  /* 全部取自品牌 LOGO：紅 · 金 · 墨 · 奶油（無藍） */
  --bone: #F4EFE6;        /* 主底 暖奶油 */
  --bone-2: #EDE6D9;      /* 次底 */
  --sand: #E3DACB;        /* 暖沙（區塊交替） */
  --gold: #C8A063;        /* 品牌金（裝飾／星等） */
  --clay: #A9824A;        /* 深金褐（可讀的點綴文字，金色家族） */
  --ink: #33302B;         /* 主文字 暖墨（近 logo #383635） */
  --ink-soft: #57514A;
  --muted: #8A8177;
  --surface: #FBF7F0;     /* 卡片底（比主底略亮） */
  --line: rgba(42,39,35,.18);
  --line-soft: rgba(42,39,35,.1);
  --cream: #EFE9DE;       /* 深底上的淺字 */
  --cream-soft: #B4ab9d;
  --red: #A6231F;         /* 品牌紅（僅極少量點綴） */

  --f-serif: "Spectral", "Noto Serif TC", serif;
  --f-serif-tc: "Noto Serif TC", "Spectral", serif;
  --f-sans: "Noto Sans TC", sans-serif;
  --maxw: 1220px;
  --ease: cubic-bezier(.33,0,.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bone); }
body { font-family: var(--f-serif-tc); color: var(--ink); background: transparent; line-height: 1.9; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; font-size: 17px; }
/* 滾動時漸變的背景層 */
#bgfx { position: fixed; inset: 0; z-index: -1; background: var(--bone); transition: background-color .2s linear; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; }
::selection { background: var(--ink); color: var(--bone); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 720px; }
.section { padding: 150px 0; position: relative; }
.sand { background: var(--sand); }
.bone-2 { background: var(--bone-2); }
.dark { background: var(--ink); color: var(--cream); }

/* labels / titles */
.label { font-family: var(--f-sans); font-size: 12px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 26px; }
.dark .label { color: var(--cream-soft); }
.h1 { font-family: var(--f-serif); font-weight: 400; line-height: 1.18; font-size: clamp(32px, 4.6vw, 58px); letter-spacing: .3px; }
.h2 { font-family: var(--f-serif); font-weight: 400; line-height: 1.24; font-size: clamp(28px, 3.6vw, 44px); letter-spacing: .3px; }
.h3 { font-family: var(--f-serif-tc); font-weight: 500; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.4; }
.lead { font-size: 18px; line-height: 1.95; color: var(--ink-soft); font-weight: 400; }
.small { font-size: 15px; color: var(--muted); }
em, .it { font-style: italic; }

/* links & buttons (Aesop-quiet) */
.link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-sans); font-size: 14px; letter-spacing: 1px; padding-bottom: 4px; border-bottom: 1px solid var(--ink); transition: gap .35s var(--ease), color .3s, border-color .3s; }
.link svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.link:hover { gap: 14px; } .link:hover svg { transform: translateX(3px); }
.dark .link { border-color: var(--cream); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; font-family: var(--f-sans); font-size: 14px; letter-spacing: 1px; padding: 16px 34px; background: var(--ink); color: var(--bone); border: 1px solid var(--ink); border-radius: 0; transition: background .4s var(--ease), color .4s var(--ease); }
.btn svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.btn:hover { background: transparent; color: var(--ink); } .btn:hover svg { transform: translateX(4px); }
.dark .btn { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.dark .btn:hover { background: transparent; color: var(--cream); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

/* ============ Announcement + Header ============ */
.announce { background: var(--ink); color: var(--cream); text-align: center; font-family: var(--f-sans); font-size: 13px; letter-spacing: 1px; padding: 11px 20px; }
.header { position: sticky; top: 0; z-index: 100; background: rgba(244,239,230,.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); transition: transform .55s var(--ease), box-shadow .4s var(--ease), background .4s; }
.header.scrolled { box-shadow: 0 1px 20px rgba(42,39,35,.06); background: rgba(244,239,230,.94); }
.header.hidden { transform: translateY(-100%); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 82px; }
/* 下拉巨型選單 */
.nav-drop { position: relative; }
.mega { position: absolute; top: 100%; left: 0; right: 0; background: rgba(244,239,230,.98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(42,39,35,.08); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s; z-index: 90; }
.mega.open { opacity: 1; visibility: visible; transform: none; }
.mega-inner { max-width: var(--maxw); margin: 0 auto; padding: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 40px; }
.mega a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft); transition: padding-left .3s var(--ease), color .3s; }
.mega a:hover { padding-left: 8px; color: var(--clay); }
.mega a .mt { font-family: var(--f-serif-tc); font-weight: 500; font-size: 18px; display: block; }
.mega a .ms { font-family: var(--f-sans); font-size: 12px; letter-spacing: 1px; color: var(--muted); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { height: 40px; }
.brand .wordmark { font-family: var(--f-serif-tc); font-weight: 600; font-size: 20px; letter-spacing: 3px; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a:not(.navbtn) { font-family: var(--f-sans); font-size: 14px; letter-spacing: 1px; color: var(--ink); position: relative; }
.nav-links a:not(.navbtn)::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1px; background: var(--ink); transition: width .35s var(--ease); }
.nav-links a:not(.navbtn):hover::after { width: 100%; }
.navbtn { font-family: var(--f-sans); font-size: 14px; letter-spacing: 1px; padding-bottom: 4px; border-bottom: 1px solid var(--ink); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ============ Hero ============ */
.hero { background: var(--bone); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 82vh; }
.hero-text { display: flex; flex-direction: column; justify-content: center; padding: 90px 76px 90px 0; }
.hero-text .h1 { margin-bottom: 30px; }
.hero-text .h1 .em { color: var(--red); }
.hero-text .lead { margin-bottom: 42px; max-width: 460px; }
.hero-actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.hero-rating { font-family: var(--f-sans); font-size: 13px; letter-spacing: 1px; color: var(--muted); }
.hero-rating .stars { color: var(--clay); letter-spacing: 2px; }
.hero-visual { position: relative; overflow: hidden; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ============ Philosophy ============ */
.philo { text-align: left; }
.philo .statement { font-family: var(--f-serif); font-weight: 300; font-size: clamp(24px, 3.2vw, 40px); line-height: 1.5; letter-spacing: .3px; }
.philo .statement .em { font-style: italic; color: var(--clay); }
.philo .body { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.philo .body p { color: var(--ink-soft); font-size: 16.5px; }

/* ============ Courses (editorial list) ============ */
.courses-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 64px; }
/* 一格一格的卡片，Aesop 襯線美感 */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ccard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 42px 36px; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.ccard::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.ccard:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(42,39,35,.09); border-color: transparent; }
.ccard:hover::before { transform: scaleX(1); }
.ccard .idx { font-family: var(--f-serif); font-style: italic; font-size: 17px; color: var(--muted); margin-bottom: 20px; }
.ccard .top { font-family: var(--f-sans); font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--clay); margin-bottom: 11px; }
.ccard h3 { font-family: var(--f-serif-tc); font-weight: 500; font-size: 28px; margin-bottom: 16px; }
.ccard p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.85; flex-grow: 1; margin-bottom: 28px; }
.ccard .price { padding-top: 22px; border-top: 1px solid var(--line-soft); }
.ccard .price .old { font-size: 15px; text-decoration: line-through; color: var(--muted); margin-right: 10px; }
.ccard .price .now { font-family: var(--f-serif); font-size: 30px; }
.ccard .price .unit { display: block; font-family: var(--f-sans); font-size: 13px; letter-spacing: 1px; color: var(--muted); margin-top: 6px; }
.ccard.star { border-color: var(--gold); background: linear-gradient(180deg, #FBF6EA, var(--surface)); }
.ccard.star::before { background: var(--gold); transform: scaleX(1); }
.ccard.star .top { color: var(--red); }
.ccard .tagline { position: absolute; top: 0; right: 0; background: var(--gold); color: #fff; font-family: var(--f-sans); font-size: 11.5px; letter-spacing: 1px; padding: 6px 16px; border-bottom-left-radius: 10px; }

/* ============ Image break ============ */
.imgbreak { position: relative; height: 76vh; overflow: hidden; }
.imgbreak img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.imgbreak .quote { position: absolute; inset: 0; display: flex; align-items: center; z-index: 2; }
.imgbreak .quote::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42,39,35,.55), rgba(42,39,35,.15)); }
.imgbreak .quote .inner { position: relative; z-index: 2; color: var(--bone); max-width: 620px; }
.imgbreak .quote .inner .t { font-family: var(--f-serif); font-weight: 300; font-style: italic; font-size: clamp(24px, 3.4vw, 42px); line-height: 1.45; }

/* ============ Classrooms ============ */
.rooms-head { margin-bottom: 64px; max-width: 640px; }
.rooms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 40px; }
.room .ph { overflow: hidden; aspect-ratio: 3/2; margin-bottom: 20px; }
.room .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.room:hover .ph img { transform: scale(1.05); }
.room .rlabel { font-family: var(--f-serif); font-style: italic; color: var(--muted); font-size: 15px; }
.room h3 { font-family: var(--f-serif-tc); font-weight: 500; font-size: 22px; margin-top: 2px; }
.room.tall { grid-row: span 1; }

/* ============ Testimonial ============ */
.testi { text-align: center; }
.testi .stars { color: var(--clay); letter-spacing: 4px; font-size: 16px; margin-bottom: 30px; }
.testi blockquote { font-family: var(--f-serif); font-weight: 300; font-style: italic; font-size: clamp(23px, 3vw, 38px); line-height: 1.5; max-width: 900px; margin: 0 auto; }
.testi .cite { font-family: var(--f-sans); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--cream-soft); margin-top: 34px; }
.testi .score { margin-top: 46px; font-size: 15px; color: var(--cream-soft); }
.testi .score b { color: var(--cream); font-family: var(--f-serif); font-size: 20px; }
.testi-more { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; max-width: 900px; margin: 64px auto 0; padding-top: 56px; border-top: 1px solid rgba(239,233,222,.16); }
.testi-more .tq { text-align: left; }
.testi-more .tq .stars { font-size: 13px; margin-bottom: 14px; }
.testi-more .tq p { font-family: var(--f-serif); font-style: italic; font-size: 18px; line-height: 1.7; color: var(--cream); }
.testi-more .tq .cite { margin-top: 18px; }
@media (max-width: 720px) { .testi-more { grid-template-columns: 1fr; gap: 36px; } }

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.info { list-style: none; margin-top: 40px; }
.info li { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 20px; }
.info li:last-child { border-bottom: 1px solid var(--line); }
.info .k { font-family: var(--f-sans); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.info .v { font-size: 17px; }
.info a.v:hover { color: var(--clay); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 24px; font-size: 16px; }
.hours .d { color: var(--muted); } .hours .off { color: var(--clay); }
.form h3 { font-family: var(--f-serif); font-weight: 400; font-size: 30px; margin-bottom: 8px; }
.form .sub { color: var(--muted); font-size: 15px; margin-bottom: 34px; }
.field { margin-bottom: 26px; }
.field label { display: block; font-family: var(--f-sans); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 0; border: none; border-bottom: 1px solid var(--line); background: transparent; font-family: var(--f-serif-tc); font-size: 17px; color: var(--ink); transition: border-color .3s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .7; }
.form .btn { margin-top: 10px; }
.form .note { font-family: var(--f-sans); font-size: 12px; color: var(--muted); margin-top: 18px; }
.form .note a { border-bottom: 1px solid var(--clay); color: var(--clay); }
.booking .calendly-inline-widget { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); margin-top: 6px; }

/* ============ Footer ============ */
.footer { background: var(--ink); color: var(--cream-soft); padding: 100px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 56px; padding-bottom: 60px; border-bottom: 1px solid rgba(239,233,222,.14); }
.footer .f-brand .mark { height: 50px; margin-bottom: 24px; }
.footer .f-brand .slogan { font-family: var(--f-serif); font-style: italic; font-size: 22px; color: var(--cream); line-height: 1.5; max-width: 340px; }
.footer h4 { font-family: var(--f-sans); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--cream); margin-bottom: 22px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 14px; font-size: 15px; }
.footer ul a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.footer ul a:hover { border-color: var(--cream-soft); }
.footer .social { display: flex; gap: 22px; margin-top: 14px; }
.footer .social a svg { width: 19px; height: 19px; transition: opacity .3s; opacity: .8; }
.footer .social a:hover svg { opacity: 1; }
.footer-bottom { padding-top: 34px; display: flex; justify-content: space-between; font-family: var(--f-sans); font-size: 12px; letter-spacing: .5px; color: #8f8579; flex-wrap: wrap; gap: 10px; }

/* ============ FAQ（手風琴）============ */
.faq-head { text-align: center; margin-bottom: 60px; }
.faq-wrap { max-width: 840px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 30px 6px; font-family: var(--f-serif-tc); font-weight: 500; font-size: clamp(18px, 2vw, 22px); color: var(--ink); transition: color .3s; }
.faq-q:hover { color: var(--clay); }
.faq-q .ico { position: relative; flex-shrink: 0; width: 20px; height: 20px; }
.faq-q .ico::before, .faq-q .ico::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--clay); transition: transform .4s var(--ease); }
.faq-q .ico::before { width: 16px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-q .ico::after { width: 1.5px; height: 16px; transform: translate(-50%, -50%); }
.faq-item.open .faq-q .ico::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-a .inner { padding: 0 6px 32px; color: var(--ink-soft); font-size: 16.5px; line-height: 1.95; max-width: 720px; }
.faq-a .inner a { color: var(--clay); border-bottom: 1px solid var(--clay); }

/* ============ Follow us ============ */
.follow { text-align: center; }
.follow-links { display: flex; justify-content: center; gap: 20px; margin-top: 48px; flex-wrap: wrap; }
.follow-links a { display: flex; align-items: center; gap: 16px; padding: 22px 30px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; min-width: 220px; }
.follow-links a:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.follow-links .fi { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.follow-links .fi svg { width: 22px; height: 22px; }
.follow-links .fi.fb { background: #1877F2; }
.follow-links .fi.ig { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
.follow-links .fi.line { background: #06C755; }
.follow-links .ft { text-align: left; }
.follow-links .ft b { display: block; font-family: var(--f-serif-tc); font-weight: 500; font-size: 17px; color: var(--ink); }
.follow-links .ft span { font-family: var(--f-sans); font-size: 13px; color: var(--muted); letter-spacing: .5px; }
@media (max-width: 680px) { .follow-links a { width: 100%; } }

/* ============ 師資 Teachers ============ */
.teachers-head { margin-bottom: 60px; max-width: 640px; }
.teachers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 30px; }
.tcard { display: flex; flex-direction: column; }
.tcard .portrait { aspect-ratio: 4/5; overflow: hidden; border-radius: 14px; margin-bottom: 24px; background: var(--sand); }
.tcard .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 1s var(--ease); }
.tcard:hover .portrait img { transform: scale(1.05); }
.tcard .inst { font-family: var(--f-sans); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--clay); margin-bottom: 8px; }
.tcard h3 { font-family: var(--f-serif-tc); font-weight: 500; font-size: 24px; margin-bottom: 8px; }
.tcard .role { font-family: var(--f-serif); font-style: italic; color: var(--ink-soft); font-size: 16px; margin-bottom: 14px; }
.tcard .cred { font-size: 14.5px; line-height: 1.8; color: var(--text-soft, var(--ink-soft)); border-top: 1px solid var(--line-soft); padding-top: 14px; }
@media (max-width: 940px) { .teachers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .teachers-grid { grid-template-columns: 1fr; gap: 40px; } .tcard .portrait { max-width: 360px; } }

/* ============ 標題橫向 LOGO ============ */
.brand .logo { height: 46px; width: auto; display: block; transition: opacity .3s; }
.brand:hover .logo { opacity: .8; }
@media (max-width: 680px) { .brand .logo { height: 38px; } }

/* ============ 地圖按鈕 ============ */
.map-btn { margin-top: 28px; }

/* ============ 空間租借 Space Rental ============ */
.rental-head { max-width: 640px; margin-bottom: 54px; }
.rental-list { border-top: 1px solid var(--line); }
.rental-row { display: grid; grid-template-columns: 1.5fr 1.5fr auto; gap: 30px; align-items: center; padding: 26px 6px; border-bottom: 1px solid var(--line); transition: background .4s var(--ease); }
.rental-row:hover { background: rgba(200,160,99,.06); }
.rental-row .rm .nm { font-family: var(--f-serif-tc); font-weight: 500; font-size: 21px; color: var(--ink); }
.rental-row .rm .desc { font-size: 14.5px; color: var(--ink-soft); margin-top: 4px; }
.rental-row .eq { font-size: 14.5px; color: var(--ink-soft); }
.rental-row .pr { text-align: right; white-space: nowrap; }
.rental-row .pr .line { display: flex; justify-content: flex-end; align-items: baseline; gap: 10px; }
.rental-row .pr .reg { font-size: 14px; color: var(--muted); }
.rental-row .pr .stu { font-family: var(--f-serif); font-size: 22px; color: var(--red); }
.rental-row .pr .tag { font-size: 12px; color: var(--muted); }
.rental-row .pr .plus { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.rental-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; padding: 26px 30px; background: var(--surface); border: 1px solid var(--gold); border-radius: 14px; flex-wrap: wrap; }
.rental-note .card-title { font-family: var(--f-serif-tc); font-weight: 600; font-size: 20px; color: var(--ink); }
.rental-note .card-title span { color: var(--red); }
.rental-note .card-price { font-family: var(--f-serif); font-size: 16px; color: var(--ink-soft); }
.rental-note .card-price b { color: var(--red); font-size: 20px; }
.rental-foot { margin-top: 26px; font-size: 14.5px; color: var(--muted); line-height: 1.9; }
@media (max-width: 720px) {
  .rental-row { grid-template-columns: 1fr; gap: 8px; padding: 22px 4px; }
  .rental-row .pr { text-align: left; } .rental-row .pr .line { justify-content: flex-start; }
  .rental-note { flex-direction: column; align-items: flex-start; }
}

/* ============ 教室頁 Rooms Page ============ */
.page-hero { padding: 150px 0 60px; text-align: center; }
.page-hero .label { display: inline-flex; }
.page-hero h1 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.2; margin-top: 16px; }
.page-hero p { color: var(--ink-soft); font-size: 17px; max-width: 620px; margin: 20px auto 0; }
.page-lobby { max-width: 1100px; margin: 40px auto 0; padding: 0 40px; }
.page-lobby img { width: 100%; border-radius: 18px; box-shadow: var(--shadow-md); }
.rooms-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rcard { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.rcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.rcard .rphoto { aspect-ratio: 3/2; overflow: hidden; background: var(--sand); }
.rcard .rphoto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.rcard:hover .rphoto img { transform: scale(1.05); }
.rcard .rbody { padding: 26px 28px 30px; display: flex; flex-direction: column; flex-grow: 1; }
.rcard .reng { font-family: var(--f-serif); font-style: italic; color: var(--clay); font-size: 14px; }
.rcard h3 { font-family: var(--f-serif-tc); font-weight: 500; font-size: 23px; margin: 2px 0 12px; }
.rcard .rintro { font-size: 14.5px; color: var(--ink-soft); line-height: 1.85; flex-grow: 1; }
.rcard .requip { font-size: 13.5px; color: var(--muted); margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line-soft); }
.rcard .rprice { margin-top: 12px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.rcard .rprice .reg { font-size: 14px; color: var(--muted); text-decoration: none; }
.rcard .rprice .stu { font-family: var(--f-serif); font-size: 21px; color: var(--red); }
.rcard .rprice .note2 { flex-basis: 100%; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
@media (max-width: 940px) { .rooms-page-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .rooms-page-grid { grid-template-columns: 1fr; } .page-lobby { padding: 0 24px; } }

/* ============ 空間租借說明 ============ */
.rent-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 46px 0 6px; }
.rent-info .ri { text-align: center; padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.rent-info .ri .rt { font-family: var(--f-serif-tc); font-weight: 500; font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.rent-info .ri .rd { font-size: 14.5px; color: var(--ink-soft); line-height: 1.8; }
@media (max-width: 680px) { .rent-info { grid-template-columns: 1fr; } }

/* ============ Reveal (subtle only) ============ */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .12s; }
.js .reveal.d2 { transition-delay: .24s; }

/* ============ Responsive ============ */
@media (max-width: 940px) {
  .section { padding: 100px 0; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-text { padding: 100px 0 70px; }
  .hero-visual { height: 60vh; }
  .philo .body { grid-template-columns: 1fr; gap: 20px; }
  .courses-head { grid-template-columns: 1fr; gap: 20px; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .mega-inner { grid-template-columns: repeat(2, 1fr); }
  .rooms { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 680px) {
  .container { padding: 0 24px; }
  .nav-links { display: none; position: absolute; top: 82px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--bone); padding: 6px 24px 22px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a:not(.navbtn) { padding: 15px 0; width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav-links .navbtn { margin-top: 16px; }
  .nav-toggle { display: block; }
  .mega { display: none; }
  .course-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .imgbreak img { transform: none !important; }
}
