:root {
  --ink: #222522;
  --muted: #62675f;
  --paper: #f6f4ef;
  --white: #fff;
  --forest: #2f5b4f;
  --forest-dark: #173a32;
  --coral: #c9634f;
  --blue: #4b6579;
  --gold: #b58b43;
  --line: rgba(34, 37, 34, 0.16);
  --serif: "Noto Serif TC", serif;
  --sans: "Noto Sans TC", sans-serif;
  --max: 1180px;
  --header: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.75; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: 0; }
h1, h2 { font-family: var(--serif); line-height: 1.3; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1.4rem; }
h3 { font-size: 1.35rem; }

.skip-link { position: fixed; z-index: 1000; left: 12px; top: -80px; padding: 10px 16px; background: #fff; }
.skip-link:focus { top: 12px; }
.site-header { height: var(--header); position: fixed; inset: 0 0 auto; z-index: 50; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 0 max(24px, calc((100vw - var(--max)) / 2)); background: rgba(246, 244, 239, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; white-space: nowrap; }
.wordmark-mark { width: 34px; height: 34px; display: grid; place-items: center; color: white; background: var(--forest); border-radius: 50%; font-family: var(--serif); }
.main-nav { justify-self: end; display: flex; gap: 30px; }
.main-nav a { text-decoration: none; font-size: .92rem; font-weight: 600; }
.main-nav a:hover { color: var(--coral); }
.nav-toggle { display: none; border: 0; background: transparent; padding: 10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 4px 0; background: var(--ink); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid var(--forest); border-radius: 4px; background: var(--forest); color: #fff; font-weight: 700; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--forest-dark); }
.button-small { min-height: 40px; padding: 8px 15px; font-size: .88rem; }
.button-light { color: var(--forest-dark); background: white; border-color: white; }
.button-light:hover { color: white; background: var(--coral); border-color: var(--coral); }
.text-link { font-weight: 700; text-underline-offset: 5px; }

.hero { min-height: min(860px, 90vh); position: relative; display: grid; align-items: center; padding: calc(var(--header) + 40px) max(24px, calc((100vw - var(--max)) / 2)) 70px; background: url('/assets/website/yawen-formal.jpg') center 42% / cover no-repeat; overflow: hidden; }
.hero-shade { position: absolute; inset: 0; background: rgba(246, 244, 239, .54); }
.hero-content { position: relative; z-index: 1; width: min(590px, 51%); margin-left: auto; }
.eyebrow, .section-index { margin-bottom: 16px; color: var(--coral); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-brand { margin-bottom: 4px; color: var(--forest); font-family: var(--serif); font-size: 1.45rem; font-weight: 700; }
.hero h1 { margin-bottom: 22px; max-width: 600px; font-size: clamp(3rem, 6vw, 5.8rem); }
.hero-lead { max-width: 580px; font-size: 1.18rem; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin: 30px 0 16px; }
.hero-note { max-width: 520px; font-size: .84rem; color: #3f463f; }
.scroll-cue { position: absolute; z-index: 2; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; color: var(--ink); font-size: .74rem; text-decoration: none; }
.scroll-cue span { width: 1px; height: 22px; margin-bottom: 6px; background: var(--ink); }

.section { padding: 110px 24px; }
.section-inner { width: min(var(--max), 100%); margin: 0 auto; }
.section-heading { max-width: 760px; margin-bottom: 55px; }
.section-heading.narrow { max-width: 830px; }
.section-heading > p:not(.section-index) { color: var(--muted); font-size: 1.06rem; }
.section-index.light { color: #e9b870; }
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.scenario-grid article { min-height: 170px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.38); }
.scenario-grid span { display: block; color: var(--coral); font-size: .76rem; font-weight: 700; }
.scenario-grid p { margin: 20px 0 0; font-weight: 500; line-height: 1.7; }

.story-band { padding: 0; color: #fff; background: var(--forest-dark); }
.split { width: min(1380px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.story-copy { align-self: center; padding: clamp(60px, 8vw, 110px); }
.story-copy h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
.story-copy p { color: rgba(255,255,255,.82); }
.story-copy blockquote { margin: 32px 0 0; padding: 20px 0 20px 24px; border-left: 3px solid #e9b870; font-family: var(--serif); font-size: 1.2rem; }
.story-image, .wide-photo, .portrait-frame { min-height: 560px; margin: 0; overflow: hidden; }
.story-image img, .wide-photo img, .portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.story-image img { object-position: center; }
.personal-story { padding: 0; background: #eef0eb; }
.portrait-frame img { object-position: center 42%; }
.dark-copy p { color: var(--muted); }
.credentials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 34px 0 0; }
.credentials div { padding-top: 18px; border-top: 2px solid var(--coral); }
.credentials dt { font-family: var(--serif); font-size: 1.8rem; font-weight: 700; }
.credentials dd { margin: 5px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }

.diagnosis { color: #fff; background: var(--blue); }
.diagnosis-inner { text-align: center; }
.diagnosis h2 { max-width: 850px; margin-inline: auto; }
.diagnosis-lead { max-width: 770px; margin: 0 auto 50px; color: rgba(255,255,255,.8); font-size: 1.08rem; }
.steps { display: grid; grid-template-columns: 1fr 44px 1fr 44px 1fr 44px 1fr; align-items: center; gap: 10px; margin: 0 auto 48px; }
.steps div { min-height: 150px; display: grid; align-content: center; padding: 18px; border: 1px solid rgba(255,255,255,.32); }
.steps span { color: #e9b870; font-weight: 700; }
.steps p { margin: 8px 0 0; font-weight: 600; line-height: 1.5; }
.steps i { position: relative; height: 1px; background: rgba(255,255,255,.5); }
.steps i::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid white; border-right: 1px solid white; transform: rotate(45deg); }

.aspiration { background: #fff; }
.aspiration .section-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.outcome-list { margin: 0; padding: 0; list-style: none; counter-reset: outcomes; }
.outcome-list li { counter-increment: outcomes; position: relative; padding: 20px 20px 20px 55px; border-bottom: 1px solid var(--line); font-weight: 500; }
.outcome-list li::before { content: counter(outcomes, decimal-leading-zero); position: absolute; left: 0; color: var(--coral); font-size: .75rem; font-weight: 700; }
.facilitator-definition { padding: 0; background: #e8ece7; }
.facilitator-definition .story-copy { padding-block: 90px; }
.wide-photo img { object-position: center; }
.boundary-note { padding: 20px; border-left: 3px solid var(--coral); background: rgba(255,255,255,.62); color: var(--ink) !important; }

.framework { background: var(--paper); }
.framework-path { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.phase { position: relative; min-height: 390px; padding: 30px 26px; border-right: 1px solid var(--line); background: #fff; }
.phase:last-child { border-right: 0; }
.phase::after { content: ''; position: absolute; inset: auto 0 0; height: 8px; background: var(--phase-color); }
.phase > span { color: var(--phase-color); font-weight: 700; }
.phase h3 { margin: 40px 0 0; font-family: var(--serif); font-size: 4rem; }
.phase-label { color: var(--muted); }
.phase strong { display: block; min-height: 58px; margin: 30px 0 14px; line-height: 1.55; }
.phase > p:last-child { color: var(--muted); font-size: .9rem; }
.phase-bone { --phase-color: #b25848; }
.phase-flesh { --phase-color: #b58b43; }
.phase-skin { --phase-color: #587165; }
.phase-road { --phase-color: #4b6579; }

.course { background: #fff; }
.course-list { border-top: 1px solid var(--line); }
.course-list article { display: grid; grid-template-columns: 110px 1fr; gap: 35px; padding: 46px 0; border-bottom: 1px solid var(--line); }
.course-list article > div:last-child { display: grid; grid-template-columns: 1.2fr .8fr; column-gap: 60px; }
.course-number { color: var(--coral); font-family: var(--serif); font-size: 2.4rem; }
.course-phase { grid-column: 1 / -1; margin-bottom: 6px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.course-list h3 { grid-column: 1 / -1; margin-bottom: 22px; font-family: var(--serif); font-size: 1.9rem; }
.course-list ul { margin: 0; padding-left: 20px; }

.system-result { color: white; background: var(--forest-dark); }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.25); border-left: 1px solid rgba(255,255,255,.25); }
.result-grid span { min-height: 100px; display: grid; place-items: center; padding: 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); }
.fine-print { max-width: 760px; margin: 35px 0 0; color: rgba(255,255,255,.62); font-size: .78rem; }

.fit-section { background: #edf0ed; }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.fit-column { padding: 42px; background: white; border-top: 6px solid var(--forest); }
.fit-column.fit-no { border-color: var(--coral); }
.fit-column h2 { font-size: 2rem; }
.fit-column ul { margin: 26px 0 0; padding-left: 1.25rem; }
.fit-column li { margin: 12px 0; }

.testimonials { background: #fff; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.video-grid article { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.video-grid h3 { margin: 16px 0 4px; font-size: 1rem; }
.video-wrap { aspect-ratio: 16 / 9; background: #111; }
.video-wrap iframe { width: 100%; height: 100%; border: 0; }

.plans { color: white; background: var(--blue); }
.plans .section-heading > p:not(.section-index) { color: rgba(255,255,255,.72); }
.plans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan-card { display: flex; flex-direction: column; min-height: 430px; padding: 40px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.plan-card.featured { background: #fff; color: var(--ink); }
.plan-number { color: #e9b870; font-size: .8rem; font-weight: 700; }
.plan-card h3 { margin: 18px 0 18px; font-family: var(--serif); font-size: 2rem; }
.plan-card p { color: inherit; opacity: .78; }
.plan-card ul { flex: 1; padding-left: 20px; }
.plan-card .button { margin-top: 24px; align-self: flex-start; }
.plans-note { max-width: 860px; margin: 30px 0 0; padding-left: 20px; border-left: 3px solid #e9b870; color: rgba(255,255,255,.78); }

.ai-bonus { background: #eef0eb; }
.ai-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.ai-capabilities { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ai-capabilities span { min-height: 115px; display: grid; place-items: center; padding: 18px; text-align: center; background: rgba(255,255,255,.55); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 600; }

.consultation { color: white; background: var(--coral); }
.consultation-grid { display: grid; grid-template-columns: 1fr 320px; gap: 100px; align-items: center; }
.consultation-copy > p { max-width: 760px; color: rgba(255,255,255,.86); font-size: 1.05rem; }
.consultation-copy ul { margin: 30px 0; padding-left: 20px; columns: 2; column-gap: 50px; }
.consultation-copy li { break-inside: avoid; margin-bottom: 10px; }
.qr-panel { padding: 24px; background: white; color: var(--ink); text-align: center; border-radius: 6px; }
.qr-panel img { width: 220px; margin: 0 auto 16px; }
.qr-panel p { margin: 4px 0 0; color: var(--muted); font-size: .86rem; }

.faq { background: #fff; }
.faq-layout { display: grid; grid-template-columns: 360px 1fr; gap: 80px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: grid; grid-template-columns: 1fr 24px; gap: 20px; padding: 24px 0; border: 0; background: transparent; color: var(--ink); font: 600 1rem/1.6 var(--sans); text-align: left; cursor: pointer; }
.faq-question span:last-child { font-size: 1.4rem; font-weight: 400; transition: transform .2s ease; }
.faq-item.open .faq-question span:last-child { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { margin: 0; padding: 0 38px 24px 0; color: var(--muted); }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }

.final-cta { min-height: 680px; position: relative; display: grid; align-items: center; padding: 100px max(24px, calc((100vw - var(--max)) / 2)); color: white; background: url('/assets/website/yawenclass-09.jpeg') center 46% / cover no-repeat; }
.final-shade { position: absolute; inset: 0; background: rgba(23, 58, 50, .76); }
.final-content { position: relative; max-width: 680px; }
.final-content h2 { font-size: clamp(2.6rem, 5vw, 4.8rem); }
.final-content p:not(.section-index) { max-width: 620px; font-size: 1.1rem; }

.site-footer { padding: 55px max(24px, calc((100vw - var(--max)) / 2)); background: #181b19; color: #e9ece9; display: grid; grid-template-columns: 1fr auto; gap: 30px; }
.site-footer > div { display: flex; gap: 18px; align-items: center; }
.site-footer img { width: 54px; height: 54px; object-fit: contain; background: white; border-radius: 50%; }
.site-footer p { margin: 3px 0 0; color: #aeb6b0; font-size: .8rem; }
.site-footer nav { display: flex; align-items: center; gap: 24px; }
.site-footer nav a { color: #cbd1cc; font-size: .82rem; text-decoration: none; }
.copyright { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.floating-line { display: none; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto auto 1fr; }
  .nav-toggle { display: block; justify-self: end; }
  .main-nav { position: fixed; inset: var(--header) 0 auto; display: none; flex-direction: column; padding: 26px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .header-cta { justify-self: end; }
  .hero-content { width: min(620px, 64%); }
  .scenario-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-image-right .story-image, .split-image-right .wide-photo { order: -1; }
  .story-image, .wide-photo, .portrait-frame { min-height: 480px; max-height: 620px; }
  .story-copy { padding: 70px max(24px, calc((100vw - 720px)/2)); }
  .aspiration .section-inner, .ai-layout, .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .framework-path { grid-template-columns: repeat(2, 1fr); }
  .phase:nth-child(2) { border-right: 0; }
  .phase:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .consultation-grid { grid-template-columns: 1fr 260px; gap: 50px; }
}

@media (max-width: 700px) {
  :root { --header: 64px; }
  .site-header { padding-inline: 16px; gap: 8px; }
  .wordmark-mark { width: 30px; height: 30px; }
  .header-cta { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .section { padding: 74px 20px; }
  h2 { font-size: 2rem; }
  .hero { min-height: 820px; padding: calc(var(--header) + 40px) 20px 90px; align-items: end; background-position: 38% center; }
  .hero-shade { background: rgba(246, 244, 239, .68); }
  .hero-content { width: 100%; margin: 0; }
  .hero h1 { max-width: 440px; font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .text-link { align-self: flex-start; }
  .scenario-grid { grid-template-columns: 1fr; }
  .scenario-grid article { min-height: auto; padding: 24px; }
  .story-copy { padding: 60px 20px; }
  .story-image, .wide-photo, .portrait-frame { min-height: 360px; }
  .credentials { grid-template-columns: 1fr; }
  .credentials div { display: grid; grid-template-columns: 110px 1fr; align-items: center; }
  .steps { grid-template-columns: 1fr; }
  .steps i { width: 1px; height: 26px; margin: auto; }
  .steps i::after { right: -3px; top: auto; bottom: 0; transform: rotate(135deg); }
  .aspiration .section-inner { gap: 10px; }
  .framework-path { grid-template-columns: 1fr; }
  .phase { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .phase h3 { margin-top: 20px; }
  .phase strong { min-height: auto; }
  .course-list article { grid-template-columns: 50px 1fr; gap: 16px; }
  .course-list article > div:last-child { display: block; }
  .course-list h3 { font-size: 1.45rem; }
  .course-number { font-size: 1.5rem; }
  .result-grid { grid-template-columns: 1fr; }
  .result-grid span { min-height: 74px; }
  .fit-grid, .video-grid, .plans-grid { grid-template-columns: 1fr; }
  .fit-column, .plan-card { padding: 28px 24px; }
  .plan-card { min-height: auto; }
  .ai-capabilities { grid-template-columns: 1fr; }
  .ai-capabilities span { min-height: 82px; }
  .consultation-grid { grid-template-columns: 1fr; gap: 35px; }
  .consultation-copy ul { columns: 1; }
  .qr-panel { display: none; }
  .faq-layout { gap: 12px; }
  .final-cta { min-height: 650px; padding: 80px 20px; background-position: 54% center; }
  .site-footer { display: block; padding: 45px 20px 90px; }
  .site-footer nav { flex-wrap: wrap; margin: 28px 0; }
  .floating-line { position: fixed; z-index: 45; right: 16px; bottom: 16px; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: #06c755; color: white; font-size: .76rem; font-weight: 800; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
}

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