:root {
  --ink: #17242b;
  --ink-soft: #536269;
  --paper: #f6f7f5;
  --white: #ffffff;
  --line: #d8dfdf;
  --aqua: #2498b4;
  --blue: #287eae;
  --deep: #1c596c;
  --steel: #60615f;
  --warm: #e96d46;
  --lime: #c7df74;
  --shadow: 0 22px 70px rgba(18, 44, 51, .12);
  --shell: min(1180px, calc(100vw - 48px));
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "IBM Plex Sans", "Noto Sans TC", sans-serif; line-height: 1.65; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .26; background-image: radial-gradient(rgba(23,36,43,.17) .55px, transparent .55px); background-size: 8px 8px; z-index: -1; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 99; background: var(--ink); color: white; padding: 10px 14px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246,247,245,.88); backdrop-filter: blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 32px rgba(23,36,43,.06); }
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { width: 186px; }
.brand img { width: 100%; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { font-size: 14px; font-weight: 600; text-decoration: none; position: relative; }
.site-nav a::after { content: ""; position: absolute; height: 2px; left: 0; right: 100%; bottom: -9px; background: var(--aqua); transition: right .2s; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.site-nav a[aria-current="page"] { color: var(--deep); }
.site-nav a[aria-current="page"]::after { right: 0; }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; }
.menu-button > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--ink); transition: .2s; }

.hero { padding: 84px 0 74px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr); gap: 80px; align-items: center; }
.eyebrow, .section-index, .mini-label { margin: 0 0 16px; color: var(--deep); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { display: inline-block; background: var(--ink); color: white; border-radius: 99px; padding: 3px 9px; margin-right: 8px; letter-spacing: .08em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 28px; font-family: "Noto Sans TC", sans-serif; font-size: clamp(48px, 6vw, 78px); line-height: 1.12; letter-spacing: -.055em; font-weight: 800; }
.hero-lead { max-width: 720px; color: var(--ink-soft); font-size: clamp(18px, 2vw, 22px); line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; margin: 36px 0 42px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 7px; padding: 11px 20px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--ink); box-shadow: 0 8px 20px rgba(23,36,43,.16); }
.button-primary:hover { background: var(--deep); }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.55); }
.button-secondary:hover { border-color: var(--ink); }
.button:disabled { cursor: not-allowed; opacity: .65; transform: none; }
.hero-meta { display: grid; grid-template-columns: repeat(3, max-content); gap: 40px; margin: 0; }
.hero-meta div { padding-left: 14px; border-left: 2px solid var(--aqua); }
.hero-meta dt { color: var(--ink-soft); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.hero-meta dd { margin: 2px 0 0; font-weight: 700; }

.now-panel { position: relative; background: var(--ink); color: white; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transform: rotate(1.2deg); }
.now-panel::before { content: ""; position: absolute; width: 120px; height: 9px; right: 18px; top: -4px; background: var(--lime); transform: rotate(-3deg); }
.now-panel-head { display: flex; align-items: center; gap: 9px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.14); color: #d9e4e6; font-size: 12px; font-weight: 600; }
.now-panel-head time { margin-left: auto; color: #93a8ae; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(199,223,116,.12); }
.phase-label { margin: 28px 0 5px; color: #96abb0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.now-panel h2 { margin-bottom: 9px; font-size: 32px; }
.now-panel > p:not(.phase-label) { color: #cad6d8; font-size: 14px; }
.next-deadline { display: grid; grid-template-columns: 1fr auto; gap: 0 18px; align-items: end; margin: 27px 0 24px; padding: 18px 0; border-block: 1px solid rgba(255,255,255,.14); }
.next-deadline span { color: #9eb0b5; font-size: 12px; }
.next-deadline strong { grid-row: 1 / span 2; grid-column: 2; color: var(--lime); font-size: 38px; line-height: 1; }
.next-deadline em { font-style: normal; font-weight: 700; }
.progress-track { height: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
.progress-track span { display: block; width: var(--progress); height: 100%; background: var(--aqua); }
.progress-labels { display: flex; justify-content: space-between; margin-top: 8px; color: #8fa4a9; font-size: 11px; }

.announcement-strip { background: white; border-block: 1px solid var(--line); padding: 72px 0; }
.section { padding: 110px 0; }
.section-heading { margin-bottom: 46px; max-width: 730px; }
.section-heading h2 { margin-bottom: 0; font-family: "Noto Sans TC", sans-serif; font-size: clamp(34px, 4vw, 52px); line-height: 1.25; letter-spacing: -.035em; }
.section-heading > p:last-child:not(.section-index) { margin-top: 18px; color: var(--ink-soft); font-size: 17px; }
.row-heading { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section-heading.row-heading > p:last-child:not(.section-index) { max-width: 330px; margin-top: 0; margin-bottom: 7px; color: var(--ink-soft); font-size: 13px; line-height: 1.75; letter-spacing: .01em; }
.notice-heading { align-items: flex-end; }
.notice-list { border-top: 2px solid var(--ink); }
.notice { display: grid; grid-template-columns: 160px minmax(0, 1fr) 160px; gap: 28px; align-items: center; padding: 26px 12px; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; }
.notice:hover { background: #f5f9f9; padding-inline: 20px; }
.notice-featured { background: #edf7f8; }
.notice-meta { display: flex; flex-direction: column; align-items: start; gap: 9px; }
.notice-meta time { color: var(--ink-soft); font-size: 12px; }
.badge { display: inline-flex; padding: 3px 8px; border-radius: 99px; background: #e4eff1; color: var(--deep); font-size: 11px; font-weight: 700; }
.badge-important { background: var(--warm); color: white; }
.notice h3 { margin-bottom: 4px; font-size: 18px; }
.notice p { margin-bottom: 0; color: var(--ink-soft); font-size: 14px; }
.notice > a { justify-self: end; font-size: 13px; font-weight: 700; text-decoration: none; }
.notice-action { justify-self: end; color: var(--warm); font-size: 12px; font-weight: 700; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.about > .shell > .section-heading { max-width: 1120px; }
.statement { font-family: "Noto Sans TC", sans-serif; font-size: clamp(23px, 2.7vw, 35px); line-height: 1.55; font-weight: 600; letter-spacing: -.025em; }
.statement p:first-child { color: var(--aqua); }
.principles article { display: grid; grid-template-columns: 45px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.principles article:last-child { border-bottom: 1px solid var(--line); }
.principles article > span { color: var(--aqua); font-size: 12px; font-weight: 700; }
.principles h3 { margin-bottom: 5px; font-size: 19px; }
.principles p { margin: 0; color: var(--ink-soft); }
.eligibility { display: grid; grid-template-columns: 260px 1fr; gap: 60px; margin-top: 80px; padding: 38px; background: var(--deep); color: white; border-radius: var(--radius); }
.eligibility .mini-label { color: var(--lime); }
.eligibility h3 { font-size: 27px; }
.eligibility ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px 26px; list-style: none; padding: 0; margin: 0; }
.eligibility li { position: relative; padding-left: 23px; color: #e0ebed; }
.eligibility li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); font-weight: 700; }

.timeline-section { background: #e9eeec; }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.timeline li { --node: var(--aqua); display: grid; grid-template-columns: 185px 1fr; gap: 42px; position: relative; padding: 26px 20px 26px 38px; border-bottom: 1px solid #cbd4d1; transition: background .2s; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 36px; width: 9px; height: 9px; border: 3px solid var(--node); border-radius: 50%; background: #e9eeec; }
.timeline li::after { content: ""; position: absolute; left: 12px; top: 48px; bottom: -28px; width: 1px; background: #a9b9b5; }
.timeline li:last-child::after { display: none; }
.timeline li:hover { background: rgba(255,255,255,.46); }
.timeline li.is-current { --node: var(--warm); background: white; }
.timeline li.is-buffer { --node: #859592; }
.timeline li.is-final { --node: var(--deep); }
.timeline time { font-size: 13px; font-weight: 700; letter-spacing: .05em; }
.timeline li > div { display: grid; grid-template-columns: 145px minmax(210px,.7fr) 1fr; gap: 32px; align-items: baseline; }
.timeline span { color: var(--deep); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.timeline h3 { margin: 0; font-size: 18px; }
.timeline p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.office-section { background: var(--ink); color: white; }
.office-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; align-items: start; }
.office-section .section-index { color: var(--lime); }
.office-section .section-heading p:last-child { color: #b4c3c6; }
.calendar-card { background: white; color: var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.calendar-top { display: flex; justify-content: space-between; padding: 17px 22px; background: #eef5f5; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.status-pill { color: var(--deep); }
.calendar-body { display: grid; grid-template-columns: 105px 1fr; gap: 28px; padding: 32px; align-items: center; }
.calendar-date { border-right: 1px solid var(--line); text-align: center; }
.calendar-date span { display: block; color: var(--ink-soft); font-size: 11px; }
.calendar-date strong { font-family: "Noto Sans TC", sans-serif; font-size: 55px; line-height: 1.1; }
.calendar-body h3 { margin-bottom: 4px; font-size: 23px; }
.calendar-body p { margin-bottom: 0; color: var(--ink-soft); }
.session-format { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0 32px 30px; }
.session-format li { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 5px; padding: 16px 18px; border-block: 1px solid var(--line); border-right: 1px solid var(--line); }
.session-format li:first-child { border-left: 1px solid var(--line); border-radius: 8px 0 0 8px; }
.session-format li:last-child { border-radius: 0 8px 8px 0; }
.session-format strong { color: var(--deep); font-size: 24px; line-height: 1; }
.session-format span { color: var(--ink-soft); font-size: 11px; }
.session-format p { grid-column: 1 / -1; margin: 7px 0 0; font-size: 12px; font-weight: 700; }
.calendar-embed { min-height: 500px; border-top: 1px solid var(--line); background: #f4f6f6; }
.calendar-embed iframe { display: block; width: 100%; height: 500px; border: 0; background: white; }
.calendar-actions { display: flex; align-items: center; gap: 22px; padding: 22px 32px; border-top: 1px solid var(--line); }
.calendar-buttons { display: flex; gap: 10px; flex: 0 0 auto; }
.calendar-actions p { margin: 0; color: var(--ink-soft); font-size: 12px; }

.faq-grid { display: grid; grid-template-columns: 310px 1fr; gap: 100px; }
.accordion { border-top: 2px solid var(--ink); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { position: relative; list-style: none; cursor: pointer; padding: 23px 46px 23px 4px; font-weight: 700; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span, .accordion summary span::after { position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--aqua); transition: transform .2s; }
.accordion summary span::after { content: ""; right: 0; top: 0; transform: rotate(90deg); }
.accordion details[open] summary span::after { transform: rotate(0); }
.accordion details p { padding: 0 46px 23px 4px; color: var(--ink-soft); }

.site-footer { background: white; border-top: 1px solid var(--line); padding: 36px 0; }
.footer-inner { display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 35px; }
.footer-inner > div { display: flex; flex-direction: column; }
.footer-inner span, .footer-inner p { color: var(--ink-soft); font-size: 12px; }
.footer-inner a { color: var(--deep); font-size: 12px; text-decoration: none; }
.footer-inner a:hover, .footer-inner a:focus-visible { text-decoration: underline; }
.footer-inner p { margin: 0; text-align: right; }

.home-page .schedule-only { display: none; }
.schedule-page .hero,
.schedule-page .announcement-strip,
.schedule-page .about,
.schedule-page .faq-section { display: none; }
.schedule-page .timeline-section { padding-top: 70px; }
.subpage-intro { padding: 78px 0 64px; background: var(--ink); color: white; }
.subpage-intro .section-index { color: var(--lime); }
.subpage-intro h1 { margin-bottom: 16px; font-size: clamp(44px, 6vw, 70px); }
.subpage-intro > .shell > p:last-child { max-width: 680px; margin-bottom: 0; color: #c8d4d6; font-size: 18px; }

.showcase-hero { padding: 100px 0 86px; background: var(--ink); color: white; }
.showcase-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 100px; align-items: end; }
.showcase-hero h1 { margin-bottom: 20px; font-size: clamp(52px, 7vw, 88px); }
.showcase-hero .section-index { color: var(--lime); }
.showcase-hero p:not(.section-index) { max-width: 700px; color: #c8d4d6; font-size: 18px; }
.showcase-status { padding: 28px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); }
.showcase-status .live-dot { display: block; margin-bottom: 20px; }
.showcase-status p { margin-bottom: 4px; color: #9eb0b5; font-size: 12px; }
.showcase-status strong { display: block; margin-bottom: 22px; font-size: 25px; line-height: 1.4; }
.showcase-status time { color: var(--lime); font-size: 12px; }
.metric-preview { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 2px solid var(--ink); }
.metric-preview article { padding: 28px 20px; border-right: 1px solid var(--line); }
.metric-preview article:last-child { border-right: 0; }
.metric-preview span { color: var(--aqua); font-size: 40px; font-weight: 700; }
.metric-preview p { margin: 4px 0 0; color: var(--ink-soft); font-size: 13px; }
.case-placeholder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 50px 0 34px; }
.case-placeholder div { min-height: 170px; padding: 22px; border: 1px dashed #aab8b8; border-radius: 10px; background: rgba(255,255,255,.45); }
.case-placeholder span { color: var(--aqua); font-size: 12px; font-weight: 700; }
.case-placeholder p { margin-top: 58px; font-weight: 700; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } * { animation: none !important; } }

@media (max-width: 900px) {
  :root { --shell: min(100% - 36px, 720px); }
  .site-nav { position: absolute; left: 0; right: 0; top: 76px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 18px 18px; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; }
  .menu-button { display: block; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 54px; }
  .hero-grid, .about-grid, .office-grid, .faq-grid { grid-template-columns: 1fr; gap: 52px; }
  .now-panel { transform: none; }
  .row-heading { align-items: start; flex-direction: column; gap: 12px; }
  .notice { grid-template-columns: 120px 1fr; }
  .notice > :last-child { grid-column: 2; justify-self: start; }
  .eligibility { grid-template-columns: 1fr; gap: 16px; }
  .timeline li > div { grid-template-columns: 125px 1fr; }
  .timeline li > div p { grid-column: 2; }
  .faq-grid .section-heading { margin-bottom: 0; }
  .showcase-grid { grid-template-columns: 1fr; gap: 44px; }
  .metric-preview, .case-placeholder { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 28px); }
  .header-inner { height: 66px; }
  .brand { width: 154px; }
  .site-nav { top: 66px; }
  .hero { padding: 42px 0 58px; }
  h1 { font-size: clamp(39px, 12vw, 54px); letter-spacing: -.06em; }
  .hero-lead { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .hero-meta { grid-template-columns: 1fr; gap: 15px; }
  .now-panel { padding: 20px; }
  .section, .announcement-strip { padding: 74px 0; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2 { font-size: 33px; }
  .notice { grid-template-columns: 1fr; gap: 12px; padding: 22px 8px; }
  .notice-meta { flex-direction: row; align-items: center; }
  .notice > :last-child { grid-column: 1; }
  .notice:hover { padding-inline: 8px; }
  .eligibility { margin-top: 54px; padding: 26px 22px; }
  .eligibility ul { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 9px; padding: 25px 10px 25px 32px; }
  .timeline li::before { left: 4px; top: 33px; }
  .timeline li::after { left: 10px; }
  .timeline li > div { grid-template-columns: 1fr; gap: 3px; }
  .timeline li > div p { grid-column: 1; margin-top: 6px; }
  .calendar-body { grid-template-columns: 76px 1fr; gap: 18px; padding: 24px 18px; }
  .calendar-date strong { font-size: 44px; }
  .session-format { padding: 0 18px 24px; }
  .session-format li { padding: 13px 9px; }
  .session-format strong { font-size: 20px; }
  .session-format p { font-size: 11px; line-height: 1.45; }
  .calendar-embed, .calendar-embed iframe { height: 430px; min-height: 430px; }
  .calendar-actions { align-items: stretch; flex-direction: column; padding: 20px 18px; }
  .calendar-buttons { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-inner img { width: 180px; }
  .footer-inner p { text-align: left; }
  .showcase-hero { padding: 66px 0; }
  .metric-preview { grid-template-columns: repeat(2, 1fr); }
  .metric-preview article:nth-child(2) { border-right: 0; }
  .case-placeholder { grid-template-columns: 1fr; }
  .case-placeholder div { min-height: 120px; }
  .case-placeholder p { margin-top: 28px; }
}
