:root {
  color-scheme: light;
  --pine: #294740;
  --pine-deep: #203a35;
  --aubergine: #392c32;
  --ink: #342f2c;
  --muted: #746e67;
  --line: #ded5c8;
  --washi: #f7f2ea;
  --sage: #e6ede7;
  --brass: #c39b54;
  --white: #fffdf9;
  --red: #b8493d;
  --red-dark: #94372f;
  --serif: "Noto Serif TC", "Noto Serif SC", "Source Han Serif TC", "Songti TC", "Microsoft JhengHei", "Microsoft YaHei", PMingLiU, serif;
  --sans: "Noto Sans TC", "Noto Sans SC", "Microsoft JhengHei", "Microsoft YaHei", "PingFang TC", sans-serif;
  --shell: min(1568px, calc(100% - 112px));
  --shadow: 0 18px 48px rgb(42 55 48 / 12%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 118px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); line-height: 1.65; }
img { max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 4px; }
.page-shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; color: white; background: var(--pine); transform: translateY(-140%); text-decoration: none; }
.skip-link:focus { transform: none; }

.preview-flag { min-height: 26px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 3px 16px; color: #fffaf4; background: var(--aubergine); font-size: 11px; letter-spacing: .08em; }
.preview-flag span { color: #efa79f; font-weight: 800; text-transform: uppercase; }
.preview-flag strong { font-weight: 500; }

.site-header { position: relative; z-index: 50; border-bottom: 1px solid #eee6db; background: rgb(255 253 249 / 96%); }
.site-header__inner { min-height: 78px; display: grid; grid-template-columns: minmax(310px, .9fr) minmax(650px, 1.6fr) auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; width: max-content; align-items: center; gap: 13px; text-decoration: none; }
.brand img { display: block; width: 54px; height: 54px; }
.brand__copy { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.brand__copy strong { font-family: var(--sans); font-size: 20px; font-weight: 700; letter-spacing: .015em; white-space: nowrap; }
.brand__copy small { display: block; width: 100%; margin-top: 5px; color: #817970; font-family: Georgia, "Times New Roman", serif; font-size: 9px; font-weight: 400; letter-spacing: .24em; word-spacing: .1em; white-space: nowrap; text-align: justify; text-align-last: justify; }
.primary-nav { display: flex; align-items: stretch; justify-content: center; gap: clamp(20px, 2.1vw, 38px); height: 78px; }
.primary-nav > a,
.primary-nav__toggle { position: relative; display: inline-flex; align-items: center; gap: 8px; border: 0; color: var(--ink); background: transparent; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.primary-nav__toggle { height: 100%; padding: 0; cursor: pointer; }
/* Override the regional button font reset; match adjacent navigation links. */
html.v3-preview .primary-nav .primary-nav__toggle { font-weight: 700; }
.primary-nav > a::after,
.primary-nav__toggle::after { position: absolute; right: 0; bottom: 15px; left: 0; height: 2px; background: transparent; content: ""; }
.primary-nav > a:hover,
.primary-nav__toggle:hover,
.primary-nav__group--active > .primary-nav__toggle { color: var(--red); }
.primary-nav > a.primary-nav__active::after,
.primary-nav__group--active > .primary-nav__toggle::after { background: var(--red); }
.primary-nav__group { position: relative; display: flex; height: 100%; align-items: stretch; }
.primary-nav__marker { display: inline-block; font-size: 12px; transition: transform .18s ease; }
.primary-nav__toggle[aria-expanded="true"] .primary-nav__marker { transform: rotate(180deg); }
.primary-nav__dropdown { position: absolute; z-index: 70; top: calc(100% - 8px); left: 50%; display: grid; min-width: 230px; gap: 3px; margin: 0; padding: 9px; border: 1px solid #ded5c8; border-top: 3px solid var(--red); border-radius: 0 0 10px 10px; background: var(--white); box-shadow: 0 20px 42px rgb(45 55 48 / 18%); list-style: none; transform: translateX(-50%); }
.primary-nav__dropdown[hidden] { display: none; }
.primary-nav__dropdown a { display: flex; min-height: 44px; align-items: center; padding: 9px 13px; border-radius: 6px; color: var(--pine); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.primary-nav__dropdown a:hover,
.primary-nav__dropdown a.primary-nav__subactive { color: var(--red-dark); background: #f7e9e5; }
.header-actions { display: flex; align-items: center; gap: 24px; }
.icon-button { display: grid; width: 43px; height: 43px; place-items: center; border: 0; border-radius: 9px; color: var(--pine); background: var(--washi); cursor: pointer; }
.icon-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.plan-button { display: inline-flex; min-height: 44px; min-width: 164px; align-items: center; justify-content: center; gap: 18px; padding: 10px 22px; border-radius: 7px; color: white; background: var(--red); font-weight: 700; text-decoration: none; box-shadow: 0 8px 22px rgb(182 64 53 / 18%); }
.plan-button:hover { background: var(--red-dark); }
.menu-toggle { display: none; }

.region-context { position: relative; z-index: 40; border-bottom: 1px solid var(--line); background: rgb(255 253 249 / 96%); box-shadow: 0 9px 28px rgb(50 55 48 / 6%); }
.context-row { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.breadcrumb { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span[aria-hidden] { color: #b0a69c; font-family: Georgia, serif; font-size: 24px; font-weight: 300; line-height: 1; }
.brand-line { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin: 0; color: #847b71; font-family: var(--serif); font-size: 13px; letter-spacing: .25em; white-space: nowrap; text-align: right; }
.brand-line span { display: inline-flex; align-items: center; gap: 18px; font-weight: 700; }
.brand-line small { color: #948a80; font-family: Georgia, serif; font-size: 11px; line-height: 1.75; letter-spacing: .03em; text-align: right; text-transform: none; }
.section-nav { min-height: 64px; display: flex; align-items: stretch; gap: 24px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.section-nav::-webkit-scrollbar { display: none; }
.section-nav a { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; padding: 5px 0 0; color: #3f4540; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.section-nav__icon { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.section-nav a::after { position: absolute; right: 0; bottom: 10px; left: 0; height: 3px; background: transparent; content: ""; }
.section-nav a:hover, .section-nav a.section-nav__active { color: var(--red); }
.section-nav a.section-nav__active::after { background: var(--red); }

.hero { position: relative; isolation: isolate; min-height: 446px; overflow: hidden; background: var(--sage); }
.hero__image { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.hero__wash { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgb(255 255 255 / 95%) 0%, rgb(255 255 255 / 90%) 14%, rgb(255 255 255 / 55%) 29%, rgb(255 255 255 / 13%) 48%, rgb(255 255 255 / 0%) 66%); }
.hero__copy { min-height: 446px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 40px; }
.eyebrow { margin: 0 0 15px; color: var(--red); font-family: Georgia, "Times New Roman", serif; font-size: 12px; font-weight: 500; letter-spacing: .26em; }
.eyebrow--line { display: flex; align-items: center; gap: 16px; }
.eyebrow--line::before { width: 38px; height: 1px; background: currentColor; content: ""; }
.hero h1 { margin: 0; color: var(--pine-deep); font-family: var(--serif); font-size: clamp(56px, 4.6vw, 76px); font-weight: 800; letter-spacing: .07em; line-height: 1.08; text-shadow: 0 1px 1px rgb(255 255 255 / 50%); }
.hero__subtitle { margin: 12px 0 6px; color: #31413b; font-family: var(--serif); font-size: clamp(20px, 1.7vw, 27px); font-weight: 700; letter-spacing: .04em; }
.hero__lead { margin: 0; color: #59635d; font-size: 16px; letter-spacing: .03em; line-height: 1.75; }
.hero__actions { display: flex; gap: 16px; margin-top: 22px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 16px; padding: 12px 25px; border: 1px solid transparent; border-radius: 7px; font-weight: 700; text-decoration: none; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { min-width: 240px; color: white; background: var(--red); box-shadow: 0 10px 26px rgb(182 64 53 / 18%); }
.button--primary:hover { background: var(--red-dark); }
.button--outline { min-width: 170px; color: var(--pine); border-color: var(--red); background: rgb(255 253 249 / 84%); }
.button--outline:hover { color: white; background: var(--red); }
.hero__caption { position: absolute; right: 54px; bottom: 11px; margin: 0; padding: 7px 15px; border-radius: 5px; color: white; background: rgb(57 44 50 / 86%); font-size: 11px; letter-spacing: .08em; }
.hero__caption span { font-family: Georgia, serif; letter-spacing: .14em; }

.journey { min-height: 305px; display: grid; grid-template-columns: 310px minmax(0, 1fr); align-items: center; gap: 30px; padding-block: 30px; }
.journey__intro h2, .section-heading h2, .lesson-cta h2 { margin: 0; color: var(--pine); font-family: var(--serif); font-size: clamp(28px, 2.25vw, 38px); line-height: 1.3; letter-spacing: .03em; }
.journey__intro > p:not(.eyebrow) { margin: 12px 0 18px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.journey__intro .button { min-width: 238px; min-height: 46px; padding-block: 9px; }
.journey-grid { min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.journey-card { position: relative; display: grid; grid-template-rows: 128px minmax(112px, auto); overflow: hidden; border: 1px solid #ddd3c6; border-radius: 7px; color: var(--ink); background: var(--white); box-shadow: 0 6px 20px rgb(53 57 49 / 6%); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.journey-card:hover { z-index: 2; border-color: #c88f87; box-shadow: var(--shadow); transform: translateY(-5px); }
.journey-card > img { width: 100%; height: 128px; object-fit: cover; transition: transform .45s ease; }
.journey-card:hover > img { transform: scale(1.035); }
.journey-card__icon { position: absolute; top: 102px; left: 22px; display: grid; width: 53px; height: 53px; place-items: center; border: 3px solid white; border-radius: 50%; color: white; background: var(--red); box-shadow: 0 5px 12px rgb(130 39 32 / 18%); }
.journey-card__icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.journey-card__body { position: relative; display: grid; grid-template-columns: 1fr auto; align-content: start; padding: 25px 22px 16px; }
.journey-card__body strong { font-family: var(--serif); font-size: 20px; line-height: 1.45; }
.journey-card__body i { color: var(--red); font-size: 24px; font-style: normal; line-height: 1.25; }
.journey-card__body small { grid-column: 1 / -1; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.55; }

.section-space { padding-block: 96px; }
.section-heading { margin-bottom: 34px; }
.section-heading > p:not(.eyebrow) { max-width: 610px; margin: 12px 0 0; color: var(--muted); }
.section-heading--split { display: flex; align-items: end; justify-content: space-between; gap: 48px; }
.section-heading--split > p { max-width: 540px; margin: 0; }
.overview { border-top: 1px solid var(--line); }
.map-index { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(360px, .65fr); min-height: 470px; overflow: hidden; border-radius: 3px; background: var(--sage); box-shadow: 0 18px 52px rgb(42 58 51 / 10%); }
.map-index__visual { position: relative; min-height: 470px; overflow: hidden; }
.map-index__visual::after { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 58%, rgb(32 58 53 / 28%)); content: ""; }
.map-index__visual img { width: 100%; height: 100%; object-fit: cover; }
.map-index__visual > span { position: absolute; z-index: 1; top: 28px; left: 30px; padding-left: 16px; border-left: 2px solid var(--red); color: white; font-family: Georgia, serif; font-size: 14px; line-height: 1.25; letter-spacing: .2em; text-shadow: 0 2px 10px rgb(25 48 42 / 82%); }
.map-index__visual small { font-size: 8px; letter-spacing: .25em; }
.map-index__copy { display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.map-index__number { margin: 0 0 22px; color: var(--red); font-family: Georgia, serif; font-size: 13px; letter-spacing: .2em; }
.map-index__copy h3 { margin: 0; color: var(--pine); font-family: var(--serif); font-size: 28px; line-height: 1.4; }
.map-index__copy > p:not(.map-index__number) { margin: 18px 0 26px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.map-index__links { display: flex; flex-direction: column; gap: 12px; }
.map-index__links a, .text-link { color: var(--red); font-weight: 700; text-decoration: none; }
.map-index__links a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.highlights { background: var(--washi); }
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.highlight-card { overflow: hidden; background: var(--white); box-shadow: 0 10px 34px rgb(49 58 50 / 8%); }
.highlight-card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.highlight-card > div { position: relative; padding: 31px 32px 34px; }
.highlight-card div > span { position: absolute; top: -22px; right: 24px; color: white; font-family: Georgia, serif; font-size: 45px; line-height: 1; text-shadow: 0 2px 14px rgb(45 35 40 / 28%); }
.highlight-card h3 { margin: 0; font-family: var(--serif); font-size: 23px; }
.highlight-card p { min-height: 54px; margin: 13px 0 22px; color: var(--muted); font-size: 14px; }
.highlight-card a { color: var(--red); font-size: 14px; font-weight: 700; text-decoration: none; }

.guide { border-bottom: 1px solid var(--line); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guide-grid a { position: relative; min-height: 180px; display: flex; flex-direction: column; justify-content: center; padding: 32px 42px; text-decoration: none; }
.guide-grid a + a { border-left: 1px solid var(--line); }
.guide-grid a:hover { background: var(--sage); }
.guide-grid span { color: var(--red); font-family: Georgia, serif; font-size: 11px; letter-spacing: .2em; }
.guide-grid strong { margin-top: 12px; font-family: var(--serif); font-size: 22px; }
.guide-grid small { margin-top: 4px; color: var(--muted); }
.guide-grid i { position: absolute; top: 50%; right: 34px; color: var(--red); font-size: 22px; font-style: normal; transform: translateY(-50%); }

.lesson-cta { color: white; background: radial-gradient(circle at 88% 0%, rgb(184 73 61 / 30%), transparent 38%), linear-gradient(132deg, var(--pine-deep), var(--pine) 65%, #593735); }
.lesson-cta__inner { min-height: 300px; display: flex; align-items: center; justify-content: space-between; gap: 56px; padding-block: 54px; }
.lesson-cta .eyebrow { color: #e8c481; }
.lesson-cta h2 { max-width: 680px; color: white; }
.lesson-cta p:not(.eyebrow) { margin: 14px 0 0; color: #e7eee9; }
.lesson-cta__actions { display: flex; gap: 12px; }
.button--light { color: var(--pine); background: var(--white); }
.button--ghost { color: white; border-color: rgb(255 255 255 / 45%); }
.button--ghost:hover { background: rgb(255 255 255 / 10%); }

.site-footer { color: #eee5db; border-top: 4px solid var(--red); background: var(--aubergine); }
.site-footer__main { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.site-footer__brand { display: flex; align-items: center; gap: 14px; }
.site-footer__brand img { width: 48px; height: 48px; }
.site-footer__brand div { display: flex; flex-direction: column; }
.site-footer__brand strong { font-family: var(--sans); font-size: 17px; font-weight: 800; }
.site-footer__brand small { margin-top: 4px; color: #c6b8aa; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: .16em; }
.site-footer nav { display: flex; gap: 30px; }
.site-footer nav a { color: #eee5db; font-size: 13px; text-decoration: none; }
.site-footer nav a:hover { color: white; }
.site-footer__note { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgb(238 229 219 / 18%); color: #b9aa9d; font-family: Georgia, var(--serif); font-size: 10px; letter-spacing: .08em; }

.search-dialog { width: min(620px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 8px; color: var(--ink); background: var(--white); box-shadow: 0 30px 90px rgb(45 35 40 / 38%); }
.search-dialog::backdrop { background: rgb(45 35 40 / 66%); backdrop-filter: blur(3px); }
.search-dialog__panel { position: relative; padding: 45px; }
.search-dialog__close { position: absolute; top: 12px; right: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%; color: var(--muted); background: transparent; font-size: 28px; cursor: pointer; }
.search-dialog h2 { margin: 0 0 24px; font-family: var(--serif); font-size: 28px; }
.search-dialog input { width: 100%; height: 52px; padding: 0 15px; border: 1px solid #c9bfb3; border-radius: 5px; color: var(--ink); }
.search-results { display: grid; gap: 8px; margin-top: 14px; }
.search-results a { display: flex; justify-content: space-between; padding: 11px 13px; color: var(--ink); background: var(--washi); text-decoration: none; }
.search-results a::after { color: var(--red); content: "→"; }
.search-results p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }

@media (max-width: 1320px) {
  :root { --shell: min(1180px, calc(100% - 72px)); }
  .site-header__inner { grid-template-columns: minmax(280px, .8fr) minmax(560px, 1.5fr) auto; gap: 18px; }
  .brand__copy strong { font-size: 17px; }
  .primary-nav { gap: 20px; }
  .primary-nav > a, .primary-nav__toggle { font-size: 13px; }
  .plan-button { min-width: 130px; padding-inline: 16px; }
  .header-actions { gap: 12px; }
  .section-nav { gap: 23px; }
  .journey { grid-template-columns: 270px minmax(0, 1fr); gap: 24px; }
  .journey-card { grid-template-rows: 116px minmax(120px, auto); }
  .journey-card > img { height: 116px; }
  .journey-card__icon { top: 91px; left: 17px; width: 50px; height: 50px; }
  .journey-card__body { padding-inline: 17px; }
  .journey-card__body strong { font-size: 18px; }
}

@media (max-width: 1080px) {
  :root { --shell: calc(100% - 48px); }
  html { scroll-padding-top: 72px; }
  .site-header { position: sticky; top: 0; }
  .site-header__inner { min-height: 70px; display: flex; justify-content: space-between; gap: 14px; }
  .brand img { width: 46px; height: 46px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 10px 11px; border: 0; color: var(--pine); background: transparent; cursor: pointer; }
  .menu-toggle__lines, .menu-toggle__lines::before, .menu-toggle__lines::after { display: block; width: 22px; height: 2px; background: currentColor; content: ""; }
  .menu-toggle__lines { position: relative; }
  .menu-toggle__lines::before { position: absolute; top: -7px; }
  .menu-toggle__lines::after { position: absolute; top: 7px; }
  .menu-toggle__label { font-size: 12px; font-weight: 700; }
  .primary-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; height: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 20px; border-top: 1px solid var(--line); background: var(--white); box-shadow: 0 22px 30px rgb(45 55 48 / 13%); }
  .primary-nav[data-open="true"] { display: flex; }
  .primary-nav > a, .primary-nav__toggle { width: 100%; min-height: 46px; border-bottom: 1px solid #ece4da; font-size: 14px; }
  .primary-nav > a::after, .primary-nav__toggle::after { display: none; }
  .primary-nav__group { display: block; width: 100%; height: auto; }
  .primary-nav__toggle { justify-content: space-between; }
  .primary-nav__dropdown { position: static; min-width: 0; width: 100%; gap: 2px; margin: 0; padding: 5px 0 7px 13px; border: 0; border-left: 3px solid var(--red); border-radius: 0; background: #f7f4ee; box-shadow: none; transform: none; }
  .primary-nav__dropdown a { min-height: 44px; padding: 8px 14px; border-bottom: 1px solid #e7ded2; border-radius: 0; font-size: 13px; }
  .plan-button { display: none; }
  .header-actions { order: 2; }
  .menu-toggle { order: 3; }
  .context-row { min-height: 44px; }
  .brand-line { display: none; }
  .section-nav { min-height: 55px; }
  .section-nav a { font-size: 14px; }
  .section-nav a::after { bottom: 7px; }
  .journey { grid-template-columns: 1fr; padding-block: 52px; }
  .journey__intro { display: grid; grid-template-columns: 1fr auto; column-gap: 30px; align-items: end; }
  .journey__intro .eyebrow { grid-column: 1 / -1; }
  .journey__intro > p:not(.eyebrow) { margin-bottom: 0; }
  .journey__intro .button { grid-column: 2; grid-row: 2 / 4; }
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-card { grid-template-rows: 170px minmax(108px, auto); }
  .journey-card > img { height: 170px; }
  .journey-card__icon { top: 144px; }
  .map-index { grid-template-columns: 1.25fr .75fr; }
  .map-index__copy { padding: 34px; }
  .highlight-card > div { padding-inline: 24px; }
  .lesson-cta__inner { align-items: flex-start; flex-direction: column; gap: 30px; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 32px); }
  .preview-flag { justify-content: space-between; font-size: 9px; }
  /* Keep the shared, lighter brand weight at every viewport width. */
  .brand__copy strong { font-size: clamp(15px, 4.6vw, 17px); }
  .brand__copy small { font-size: clamp(8px, 2.6vw, 10px); letter-spacing: .2em; word-spacing: .08em; }
  .icon-button { width: 39px; height: 39px; }
  .menu-toggle { padding-inline: 6px; }
  .breadcrumb { font-size: 12px; }
  .section-nav { gap: 22px; }
  .hero { min-height: 560px; }
  .hero__image { height: 58%; object-position: 50% 47%; }
  .hero__wash { background: linear-gradient(180deg, rgb(255 253 249 / 0%) 0%, rgb(255 253 249 / 5%) 31%, rgb(255 253 249 / 96%) 56%, var(--white) 72%); }
  .hero__copy { min-height: 560px; justify-content: flex-end; padding-bottom: 34px; }
  .hero h1 { font-size: 50px; }
  .hero__subtitle { margin-top: 8px; font-size: 20px; }
  .hero__lead { font-size: 14px; }
  .hero__actions { width: 100%; margin-top: 17px; }
  .hero__actions .button { min-width: 0; flex: 1; padding-inline: 12px; }
  .hero__caption { top: 12px; right: 16px; bottom: auto; font-size: 9px; }
  .journey__intro { display: block; }
  .journey__intro > p:not(.eyebrow) { margin-bottom: 18px; }
  .journey-grid { grid-template-columns: 1fr; }
  .journey-card { grid-template-columns: 42% 58%; grid-template-rows: 190px; }
  .journey-card > img { width: 100%; height: 190px; }
  .journey-card__icon { top: 18px; left: calc(42% - 25px); }
  .journey-card__body { align-content: center; padding: 26px 24px 22px 34px; }
  .section-space { padding-block: 66px; }
  .section-heading--split { align-items: flex-start; flex-direction: column; gap: 18px; }
  .section-heading--split > p { margin-top: 0; }
  .map-index { grid-template-columns: 1fr; }
  .map-index__visual { min-height: 310px; }
  .map-index__copy { padding: 34px 28px 40px; }
  .highlight-grid { grid-template-columns: 1fr; }
  .highlight-card p { min-height: 0; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-grid a { min-height: 140px; padding: 26px 30px; }
  .guide-grid a + a { border-top: 1px solid var(--line); border-left: 0; }
  .lesson-cta__actions { width: 100%; }
  .lesson-cta__actions .button { flex: 1; padding-inline: 14px; }
  .site-footer__main { align-items: flex-start; flex-direction: column; justify-content: center; }
  .site-footer nav { gap: 18px; }
  .site-footer__note { align-items: flex-start; flex-direction: column; justify-content: center; gap: 2px; padding-block: 12px; }
}

@media (max-width: 430px) {
  .brand img { width: 46px; height: 46px; }
  .brand__copy strong { font-size: 17px; }
  .brand__copy small { font-size: 9px; }
  .menu-toggle__label { display: none; }
  .breadcrumb { gap: 8px; }
  .hero { min-height: 575px; }
  .hero__copy { min-height: 575px; }
  .hero h1 { font-size: 43px; }
  .hero__subtitle { font-size: 18px; }
  .hero__lead br { display: none; }
  .button { font-size: 13px; }
  .journey-card { grid-template-columns: 39% 61%; grid-template-rows: 174px; }
  .journey-card > img { height: 174px; }
  .journey-card__icon { left: calc(39% - 24px); width: 48px; height: 48px; }
  .journey-card__body { padding-right: 15px; padding-left: 32px; }
  .journey-card__body strong { font-size: 17px; }
  .journey-card__body small { font-size: 12px; }
  .journey-card__body small br { display: none; }
  .lesson-cta__actions { flex-direction: column; }
  .search-dialog__panel { padding: 38px 22px 28px; }
}

@media (max-width: 350px) {
  :root { --shell: calc(100% - 24px); }
  /* Keep the complete shared brand lockup visible on the narrowest phones. */
  .brand { min-width: 0; width: auto; flex: 1 1 auto; gap: 8px; }
  .brand img { width: 38px; height: 38px; }
  .brand__copy { min-width: 0; }
  .brand__copy strong { max-width: none; overflow: visible; font-size: 14px; text-overflow: clip; }
  .brand__copy small { display: block; margin-top: 3px; font-size: 8px; letter-spacing: .12em; word-spacing: .04em; }
  .header-actions { gap: 6px; }
  .icon-button { width: 36px; height: 36px; }
  .menu-toggle { padding-inline: 3px; }
  .hero h1 { font-size: 39px; }
  .hero__subtitle { font-size: 16px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .button { width: 100%; }
  .hero { min-height: 640px; }
  .hero__copy { min-height: 640px; }
  .journey-card { grid-template-columns: 1fr; grid-template-rows: 150px auto; }
  .journey-card > img { height: 150px; }
  .journey-card__icon { top: 125px; left: 18px; }
  .journey-card__body { padding: 27px 18px 18px; }
}

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

/* V2 continuation: preserve its content and layout, then apply the V3 palette. */
.v2-continuation {
  padding-block: 18px 80px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  background: #f8f4ee;
}

.v3-preview .v2-continuation :is(.zpv-section-heading h2, .zoi-chapter__heading h2, .zoi-card__heading h3, .zpm-detail-title, .zpv-course h2) { color: var(--pine); }
.v3-preview .v2-continuation :is(.zpv-eyebrow, .zoi-chapter__kicker) { color: var(--red); }
.v3-preview .v2-continuation :is(.zpv-section-heading > p, .zoi-chapter__lead, .zoi-card__footer p, .zoi-card__credit, .zpm-note, .zpm-layer-count, .zpm-count, .zpv-source-note) { color: var(--muted); }

.v3-preview .v2-continuation .zoi-section-index {
  border-color: #d5ddd4;
  background: #edf2ec;
  box-shadow: 0 8px 24px rgb(42 58 51 / 5%);
}

.v3-preview .v2-continuation .zoi-section-index a { gap: 9px; color: var(--pine); }
.v3-preview .v2-continuation .zoi-section-index__icon {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.v3-preview .v2-continuation .zoi-section-index a:hover { color: var(--red); background: #f6e8e3; }

.v3-preview .v2-continuation :is(.zoi-chapter, .zpv-map-placeholder) {
  border-color: #ddd6cc;
  background: #f3efe8;
}

.v3-preview .v2-continuation :is(.zoi-card, .zpm-detail, .v2-real-map, .zoi-juhyo-carousel) {
  border-color: #ddd5ca;
  background: var(--white);
  box-shadow: 0 12px 34px rgb(47 57 50 / 7%);
}

.v3-preview .v2-continuation .zoi-card__heading { background: #e9eee7; }
.v3-preview .v2-continuation .zoi-card__edition { color: #65756d; }
.v3-preview .v2-continuation .zoi-card__image-link { background: #f8f4ee; }

.v3-preview .v2-continuation .zoi-region-cards article {
  border-color: #ded5c8;
  background: #eee9e1;
}

.v3-preview .v2-continuation .zoi-region-cards h3 { color: var(--pine); }
.v3-preview .v2-continuation .zoi-region-cards p { color: #686d67; }

.v3-preview #zao-overview-regions .zoi-chapter__layout { align-items: stretch; }
.v3-preview #zao-overview-regions .zoi-chapter__copy { display: flex; min-height: 0; }
.v3-preview #zao-overview-regions .zoi-region-cards { flex: 1; grid-template-rows: repeat(4, minmax(0, 1fr)); }
.v3-preview #zao-overview-regions .zoi-region-cards .zoi-region-card {
  display: grid;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  grid-template-columns: auto minmax(0, 1fr);
}
.v3-preview .zoi-region-card__media { position: relative; height: 100%; min-height: 0; overflow: hidden; aspect-ratio: 4 / 3; grid-column: 1; grid-row: 1; background: #dbe3e3; }
.v3-preview .zoi-region-card__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition: opacity .7s ease, transform 5.2s ease, visibility .7s;
}
.v3-preview .zoi-region-card__media > img.is-active { opacity: 1; visibility: visible; transform: scale(1); }
.v3-preview .zoi-region-card__copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 20px 22px; grid-column: 2; grid-row: 1; }
.v3-preview .zoi-region-card__copy > span { margin-bottom: 7px; color: var(--red); font-family: Georgia, serif; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.v3-preview #zao-overview-regions .zoi-region-card__copy h3 { font-size: clamp(16px, 1.25vw, 20px); }
.v3-preview #zao-overview-regions .zoi-region-card__copy p { margin-top: 8px; font-size: clamp(12px, .9vw, 14px); line-height: 1.65; }
.v3-preview .zoi-region-card__arrow { position: absolute; z-index: 3; top: 50%; display: grid; width: 40px; height: 58px; padding: 0; border: 0; color: white; background: transparent; place-items: center; transform: translateY(-50%); cursor: pointer; opacity: .84; transition: opacity .2s ease, background-color .2s ease; }
.v3-preview .zoi-region-card__arrow span { font-family: Arial, sans-serif; font-size: 38px; font-weight: 300; line-height: 1; text-shadow: 0 1px 8px rgb(0 0 0 / 85%); }
.v3-preview .zoi-region-card__arrow--prev { left: 0; }
.v3-preview .zoi-region-card__arrow--next { right: 0; }
.v3-preview .zoi-region-card__arrow:hover { background: rgb(22 34 34 / 18%); opacity: 1; }
.v3-preview .zoi-region-card__arrow:focus-visible { outline: 2px solid white; outline-offset: -4px; background: rgb(22 34 34 / 28%); opacity: 1; }

@media (max-width: 47.5rem) {
  .v3-preview #zao-overview-regions .zoi-chapter__copy { display: block; }
  .v3-preview #zao-overview-regions .zoi-region-cards { height: auto; grid-template-rows: none; }
  .v3-preview #zao-overview-regions .zoi-region-cards .zoi-region-card { min-height: 190px; }
}

@media (max-width: 34rem) {
  .v3-preview #zao-overview-regions .zoi-region-cards .zoi-region-card { min-height: 0; grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .v3-preview .zoi-region-card__media { width: 100%; height: auto; grid-column: 1; grid-row: 1; }
  .v3-preview .zoi-region-card__copy { padding: 18px; grid-column: 1; grid-row: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .v3-preview .zoi-region-card__media > img { transition: none; }
  .v3-preview .zoi-region-card__arrow { transition: none; }
}

.v3-preview .v2-continuation :is(.zpm-link, .zpm-layer, .zpm-picker, .zoi-back-top a) {
  border-color: #c9cfc6;
  color: var(--pine);
  background: var(--white);
}

.v3-preview .v2-continuation :is(.zpm-link, .zpm-layer, .zoi-back-top a):hover { color: var(--red); background: #f6e8e3; }
.v3-preview .v2-continuation .zpm-layer[aria-pressed="true"] { border-color: var(--pine); background: var(--sage); box-shadow: inset 0 -3px var(--red); }
.v3-preview .v2-continuation .zpm-return { border-color: var(--red); color: white; background: var(--red); }
.v3-preview .v2-continuation .zpm-return:hover { color: white; background: var(--red-dark); }
.v3-preview .v2-continuation .v2-real-map-list button[aria-pressed="true"] { border-color: var(--pine); background: var(--sage); box-shadow: inset 3px 0 var(--red); }
.v3-preview .v2-continuation .zao-map-lift-controls input { accent-color: var(--red); }

.v3-preview .v2-continuation .zpv-text-link { color: #3c645b; }
.v3-preview .v2-continuation .zpv-text-link:hover { color: var(--red); }
.v3-preview .v2-continuation .zoi-juhyo-controls { background: var(--sage); }
.v3-preview .v2-continuation .zoi-juhyo-controls span { color: var(--pine); }
.v3-preview .v2-continuation .zoi-juhyo-arrow { color: var(--pine); box-shadow: 0 4px 16px rgb(42 58 51 / 18%); }

.v3-preview .v2-continuation .zpv-course {
  color: #304549;
  border-top: 4px solid #bd5046;
  background: #fff;
  box-shadow: 0 18px 46px rgb(48 69 73 / 14%);
}

.v3-preview .v2-continuation .zpv-course :is(h2, h3) { color: #304549; }
.v3-preview .v2-continuation .zpv-course .zpv-eyebrow { color: #ac3f36; }
.v3-preview .v2-continuation .zpv-course p:not(.zpv-eyebrow) { color: #586b6d; }
.v3-preview .v2-continuation .zpv-course .zpv-button-navy { border-color: #bd5046; color: white; background: #bd5046; }
.v3-preview .v2-continuation .zpv-course .zpv-button-navy:hover { background: #9e3f37; }
.v3-preview .v2-continuation .zpv-course .zpv-button:not(.zpv-button-navy) { border-color: rgb(48 69 73 / 42%); color: #304549; background: transparent; }
.v3-preview .v2-continuation .zpv-course .zpv-button:not(.zpv-button-navy):hover { background: rgb(48 69 73 / 9%); }
.v3-preview .v2-continuation .zpv-course .zoi-back-top a { border-color: rgb(48 69 73 / 38%); color: #304549; background: transparent; }

.v3-preview .v2-continuation .v2-button--secondary {
  border-color: var(--red);
  color: var(--red);
  background: white;
}

.v3-preview .v2-continuation :is(a, button, select):focus-visible { outline-color: var(--red); }

/* Public footer content stays identical to WantEasy; only its V3 colors change. */
.v3-preview .v2-site-footer {
  color: #ece5dc;
  border-top: 4px solid #b84438;
  background: #222224;
}
.v3-preview .v2-site-footer :is(.v2-site-footer__brand, .v2-site-footer__link, .v2-site-footer__copyright) { color: #ece5dc; }
.v3-preview .v2-site-footer :is(.v2-site-footer__description, .v2-site-footer__detail, .v2-site-footer__legal-text) { color: #c7bdb3; }
.v3-preview .v2-site-footer__heading { color: #e8c17a; }
.v3-preview .v2-site-footer__link:hover { color: #f0aaa2; }
.v3-preview .v2-site-footer :where(.v2-site-footer__link):focus-visible {
  outline-color: #f0aaa2;
  box-shadow: 0 0 0 2px #222224, 0 0 0 5px #f0aaa2;
}

/* Unified resort/course dropdown states, 2026-10-01. */
html body .v2-site-header .v2-nav__submenu-link:hover,
html body .v2-site-header .v2-nav__submenu-link:focus-visible,
html body .primary-nav__dropdown a:hover,
html body .primary-nav__dropdown a:focus-visible {
  color: #963e34 !important;
  background: #f7e9e5 !important;
}
html body .v2-site-header .v2-nav__submenu-link[aria-current="page"],
html body .primary-nav__dropdown a.primary-nav__subactive,
html body .primary-nav__dropdown a[aria-current="page"] {
  color: #b8493d !important;
  box-shadow: inset 0 -3px 0 #b8493d !important;
}

/* Match the coach search dialog on every V3 page. */
html body .search-dialog {box-sizing:border-box;width:min(600px,calc(100% - 28px));max-width:600px;max-height:min(80vh,720px);padding:28px;border:1px solid #ded5c8;border-radius:18px;background:#fffdf9;color:#342f2c;box-shadow:0 24px 70px rgb(52 47 44 / 24%)}
html body .search-dialog::backdrop {background:rgb(41 47 44 / 58%);backdrop-filter:none}
html body .search-dialog__panel {position:relative;padding:0}
html body .search-dialog__panel > .eyebrow {display:flex;align-items:center;min-height:40px;margin:0;color:#b8493d;font-size:12px;font-weight:800;letter-spacing:.16em}
html body .search-dialog__close {top:0;right:0;width:40px;height:40px;border:1px solid #ded5c8;border-radius:50%;background:#f7f2ea;color:#294740;font-size:22px}
html body .search-dialog h2 {margin:10px 0 18px;color:#294740;font:700 28px/1.4 'Noto Serif TC','Microsoft JhengHei',serif}
html body .search-dialog input {box-sizing:border-box;width:100%;min-height:52px;padding:10px 14px;border:1px solid #ded5c8;border-radius:8px;background:#fff;color:#342f2c;font:inherit}
html body .search-results {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0 0;padding:0}
html body .search-results a {display:block;padding:12px;border:1px solid #ded5c8;border-radius:8px;background:#f7f2ea;color:#294740;font-weight:700;text-decoration:none}
html body .search-results a::after {content:' →';color:inherit}
html body .search-results a:hover {border-color:#b8493d;color:#b8493d}
@media(max-width:760px){html body .search-dialog{padding:22px 18px}html body .search-results{grid-template-columns:1fr}}

html body .search-dialog {font-family:"Noto Sans TC","Microsoft JhengHei",sans-serif;}

/* Match coach dialog typography; fit all twelve entries on desktop. */
html body dialog.search-dialog {font:14px/normal 'Noto Sans TC','Microsoft JhengHei',Arial,sans-serif;max-height:calc(100dvh - 32px)}
html body dialog.search-dialog .search-dialog__panel>.eyebrow {font:800 14px/normal 'Noto Sans TC','Microsoft JhengHei',Arial,sans-serif!important;letter-spacing:.16em}
html body dialog.search-dialog .search-results a {font:700 14px/20px 'Noto Sans TC','Microsoft JhengHei',Arial,sans-serif;min-height:0;padding:12px}
html body dialog.search-dialog input {font:14px/normal 'Noto Sans TC','Microsoft JhengHei',Arial,sans-serif}
@media(min-width:761px) and (max-height:720px){html body dialog.search-dialog{padding:20px 28px}html body dialog.search-dialog .search-results a{padding:8px 12px}html body dialog.search-dialog h2{margin:8px 0 12px}html body dialog.search-dialog .search-results{margin-top:12px}}

html body .site-header [data-search-open]:hover,html body .site-header [data-search-open]:focus-visible,html body .site-header .icon-button:hover,html body .site-header .icon-button:focus-visible{background:#f7e9e5;color:#b8493d}
