:root {
  color-scheme: light;
  --ink: #0B1C24;
  --paper: #F4F2EE;
  --accent: #19B9A8;
  --accent-hover: #16A595;
  --gold: #CF9D3F;
  --text: #10222B;
  --muted: #5A6B74;
  --on-dark-muted: #BAC4C8;
  --dark-surface: #152A33;
  --line: #CCD0CC;
  --dark-line: #3B4D55;
  --radius: 8px;
  --gutter: 48px;
  --section-space: 120px;
  --header-height: 88px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --text-sm: .875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --heading-size: clamp(2rem, 3.1vw, 2.75rem);
  --fast: 150ms;
  --switch: 200ms;
  --reveal: 420ms;
  --ease: cubic-bezier(.2, .65, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; background: var(--paper); color: var(--text); font-family: "Noto Sans TC", sans-serif; font-size: var(--text-base); line-height: 1.75; font-variant-numeric: tabular-nums; }
body.menu-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a, button, summary { touch-action: manipulation; }
button, .button, .text-link, .site-nav a, .site-footer a { transition: color var(--fast), background-color var(--fast), border-color var(--fast), transform var(--fast); }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
a:active, button:active { opacity: .85; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -.02em; text-wrap: pretty; }
p { text-wrap: pretty; }
h2 { font-size: var(--heading-size); font-weight: 700; }
h3 { font-size: 1.25rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.container { width: min(1200px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.dark { color: var(--paper); background: var(--ink); }
.nb { display: inline-block; }
.accent { color: var(--accent); }
.kicker { margin-bottom: var(--space-3); font-size: var(--text-sm); font-weight: 500; letter-spacing: .06em; }
.kicker > span { display: inline-block; margin-right: var(--space-2); font-weight: 700; }
.section-heading { margin-bottom: var(--space-6); }
.section-heading .kicker { color: var(--muted); }
.dark .section-heading .kicker { color: var(--on-dark-muted); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 100; top: 8px; left: 20px; padding: 12px 24px; background: var(--paper); color: var(--text); border-radius: var(--radius); }
.button { display: inline-flex; min-height: 56px; align-items: center; justify-content: center; gap: var(--space-3); padding: 12px 24px; border: 1px solid transparent; border-radius: var(--radius); font-weight: 700; white-space: nowrap; }
.button-primary { background: var(--accent); color: var(--ink); }
.button-primary:hover { background: var(--accent-hover); }
.button-secondary { border-color: rgba(244, 242, 238, .5); color: var(--paper); background: rgba(11, 28, 36, .2); }
.button-secondary:hover { background: var(--ink); border-color: var(--paper); }
.button:active { transform: scale(.98); }
.button-primary:focus-visible { outline-color: var(--accent); }
.plan-card .button-primary:focus-visible { outline-color: var(--ink); }
.arrow { display: inline-block; transition: transform var(--fast); }
a:hover .arrow, a:focus-visible .arrow { transform: translateX(3px); }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: var(--space-1); text-decoration: underline; text-underline-offset: 5px; font-weight: 500; }
.text-link:hover { color: var(--accent); }

/* Shared navigation; remains usable when scripting is unavailable. */
.site-header { position: absolute; inset: 0 0 auto; z-index: 40; color: var(--paper); border-bottom: 1px solid rgba(244, 242, 238, .2); transition: transform 250ms var(--ease), background-color 250ms, border-color 250ms; }
.site-header.nav-ready { position: fixed; }
.site-header.is-scrolled, .menu-open .site-header { background: rgba(11, 28, 36, .97); border-color: var(--dark-line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header:focus-within { transform: translateY(0); }
.header-inner { display: flex; min-height: var(--header-height); align-items: center; justify-content: space-between; gap: var(--space-4); }
.brand { display: inline-flex; min-height: 48px; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { border-radius: var(--radius); }
.brand-type { display: flex; flex-direction: column; line-height: 1.2; gap: 5px; }
.brand strong { font-size: 1.3rem; letter-spacing: -.02em; }
.brand small { font-size: .75rem; letter-spacing: .12em; }
.brand:hover { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: var(--space-4); }
.site-nav > a { display: inline-flex; min-width: 44px; min-height: 48px; align-items: center; }
.site-nav > a:not(.button):hover { color: var(--accent); }
.nav-cta { min-height: 48px; padding: 8px 20px; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; flex-shrink: 0; color: var(--paper); border: 1px solid var(--dark-line); background: transparent; border-radius: var(--radius); }
.menu-toggle:hover { background: var(--dark-surface); }
.menu-lines, .menu-lines::after { display: block; width: 22px; height: 1.75px; background: currentColor; }
.menu-lines { position: relative; transform: translateY(-4px); }
.menu-lines::after { content: ""; position: absolute; top: 8px; }
.menu-open .menu-lines { transform: rotate(45deg); }
.menu-open .menu-lines::after { transform: rotate(-90deg); top: 0; }

/* Full-bleed photography is the main visual. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--paper); }
.hero-picture, .hero-picture img, .cta-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-picture { z-index: -2; }
.hero-picture img { object-position: center 53%; }
.hero::after, .cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 28, 36, .88), rgba(11, 28, 36, .48) 56%, rgba(11, 28, 36, .12)); }
.hero-inner { min-height: 760px; min-height: min(900px, max(760px, 100svh)); display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-height) + 96px); padding-bottom: var(--space-4); }
.hero-copy { margin-block: auto; padding-block: 24px 96px; }
.hero h1 { font-size: clamp(2.5rem, 4.15vw, 3.75rem); font-weight: 900; line-height: 1.38; }
.hero-intro { margin-top: var(--space-4); max-width: 31em; color: var(--paper); font-size: var(--text-lg); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 800px; border-top: 1px solid rgba(244, 242, 238, .35); padding-top: var(--space-3); font-size: var(--text-sm); }
.hero-proof li { padding-right: var(--space-2); }
.hero-proof li + li { border-left: 1px solid rgba(244, 242, 238, .35); padding-left: var(--space-3); }

/* The large numbers slightly overlap the photographs' top edge. */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
.step { min-width: 0; padding-top: 4px; }
.step-number { position: relative; display: block; z-index: 1; margin-bottom: -20px; padding-left: 12px; font-size: 5rem; font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.step img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; border-radius: var(--radius); }
.step img.desk-photo { object-position: 92% center; }
.step h3 { margin-top: var(--space-3); }
.step p { margin-top: var(--space-1); color: var(--muted); font-size: var(--text-base); }

/* Static plan cards are enhanced into a single synchronized selection. */
.plans .section-heading { margin-bottom: var(--space-4); }
.plan-switcher { display: inline-flex; flex-wrap: wrap; gap: var(--space-1); padding: 6px; margin-bottom: var(--space-6); border: 1px solid var(--dark-line); border-radius: var(--radius); }
.plan-switcher button { padding: 10px 24px; min-height: 48px; border: 1px solid transparent; border-radius: var(--radius); color: var(--paper); background: transparent; font-weight: 500; }
.plan-switcher button:hover { background: var(--dark-surface); }
.plan-switcher button[aria-checked="true"] { background: var(--paper); color: var(--ink); }
.plan-switcher button:focus-visible { outline-color: var(--accent); outline-offset: 3px; }
.plan-layout { display: grid; gap: var(--space-6); align-items: start; }
.plans.is-ready .plan-layout { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.weekly { padding-top: var(--space-4); }
.week-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); align-items: baseline; padding-bottom: var(--space-3); border-bottom: 1px solid var(--dark-line); }
.week-heading h3 { font-size: var(--text-lg); font-weight: 500; }
.week-heading > span { color: var(--on-dark-muted); font-size: var(--text-sm); }
.week-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--space-1); margin-top: var(--space-4); }
.week-grid li { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 24px; min-height: 156px; padding: 20px 2px; border: 1px solid var(--dark-line); border-radius: var(--radius); color: var(--on-dark-muted); font-size: var(--text-sm); }
.week-grid li::before { content: ""; position: absolute; inset: -1px; border-radius: var(--radius); background: var(--accent); z-index: -1; opacity: 0; transition: opacity var(--switch); }
.week-grid li.is-active { color: var(--ink); border-color: var(--accent); }
.week-grid li.is-active::before { opacity: 1; }
.post-type { font-weight: 700; animation: calendar-in var(--switch) ease; }
.video-note { margin-top: var(--space-3); color: var(--paper); font-size: var(--text-sm); }
.plan-cards { display: grid; gap: var(--space-3); }
.plans:not(.is-ready) .plan-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan-card { min-width: 0; position: relative; padding: 32px; border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--radius); color: var(--text); background: var(--paper); }
.plan-card h3 { font-size: 1.25rem; font-weight: 700; }
.price { display: flex; align-items: baseline; gap: 12px; margin-top: var(--space-2); white-space: nowrap; line-height: 1.2; }
.price strong { font-size: clamp(3rem, 4.6vw, 4rem); font-weight: 900; letter-spacing: -.02em; }
.price > span { font-size: var(--text-base); font-weight: 500; }
.plan-description { margin-top: var(--space-3); min-height: 56px; color: var(--muted); }
.plan-features { display: grid; gap: 12px; padding-block: 24px 32px; margin-top: var(--space-1); border-top: 1px solid var(--line); }
.plan-features li { position: relative; padding-left: 24px; }
.plan-features li::before { content: ""; position: absolute; width: 7px; height: 12px; top: 5px; left: 3px; border: solid var(--text); border-width: 0 1.75px 1.75px 0; transform: rotate(45deg); }
.plan-card .button { width: 100%; gap: var(--space-2); }
.plan-notes { margin-top: var(--space-6); color: var(--on-dark-muted); font-size: var(--text-sm); }
.plan-notes > p { padding-block: 24px; border-top: 1px solid var(--dark-line); }
.plan-notes > p:last-child { padding-bottom: 0; }
.photography-note { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; }
.photography-note strong, .photo-price { color: var(--paper); font-weight: 500; }
.photo-price { white-space: nowrap; }
.plan-notes .text-link { margin-left: 12px; color: var(--paper); }
.plan-notes .text-link:hover { color: var(--accent); }

.faq h2 { white-space: nowrap; }
.faq-list { margin-left: 20%; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 88px; padding-block: var(--space-3); cursor: pointer; font-size: var(--text-lg); font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--muted); }
.faq-list details[open] summary { font-weight: 700; }
.faq-list details > p { max-width: 45em; padding: 0 48px 24px 0; color: var(--muted); }
.faq-mark { width: 18px; height: 18px; position: relative; flex-shrink: 0; }
.faq-mark::before, .faq-mark::after { content: ""; position: absolute; background: currentColor; }
.faq-mark::before { left: 0; top: 8px; width: 18px; height: 1.75px; }
.faq-mark::after { top: 0; left: 8px; height: 18px; width: 1.75px; }
details[open] .faq-mark::after { display: none; }

.cta-band { position: relative; isolation: isolate; overflow: hidden; padding-block: 144px; }
.cta-photo { z-index: -2; object-position: center 48%; }
.cta-band::after { background: linear-gradient(90deg, rgba(11, 28, 36, .91), rgba(11, 28, 36, .63) 60%, rgba(11, 28, 36, .2)); }
.cta-content h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.cta-content > p:not(.kicker) { max-width: 32em; margin-top: var(--space-3); }
.cta-content .button { margin-top: var(--space-4); }
.site-footer { padding-top: 80px; padding-bottom: var(--space-4); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr .6fr; gap: 64px; padding-bottom: 64px; }
.site-footer h2 { font-size: var(--text-base); font-weight: 500; margin-bottom: var(--space-3); letter-spacing: 0; }
.site-footer p, .site-footer address, .site-footer a:not(.brand) { font-size: var(--text-sm); }
.site-footer p, .site-footer address { color: var(--on-dark-muted); }
.footer-brand > p { margin-top: var(--space-3); max-width: 16em; }
.footer-contact address { margin-top: var(--space-1); font-style: normal; overflow-wrap: anywhere; }
.footer-contact > a, .footer-links > a { display: table; min-height: 44px; padding-block: 9px; }
.footer-contact > a:first-of-type { margin-top: var(--space-1); }
.site-footer a:not(.brand):hover { color: var(--accent); }
.family-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 28px; border-top: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); padding-block: 16px; }
.family-links > span { color: var(--on-dark-muted); margin-right: auto; font-size: var(--text-sm); }
.family-links a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.family-links [aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: 6px; }
.copyright { padding-top: var(--space-3); }
.not-found { min-height: 60svh; padding-block: calc(var(--header-height) + 100px) 100px; }
.not-found .button { margin-top: 32px; }
.not-found h1 { font-size: var(--heading-size); }

@keyframes hero-drift { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes sentence-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes calendar-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-picture { animation: hero-drift 20s ease-in-out infinite alternate; }
  .hero h1 > .nb { animation: sentence-in 560ms var(--ease) both; }
  .hero h1 > .nb:nth-child(2) { animation-delay: 90ms; }
  .reveal-ready [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity var(--reveal) var(--ease), transform var(--reveal) var(--ease); }
  .reveal-ready [data-reveal].in { opacity: 1; transform: none; }
  .step:nth-child(2) { transition-delay: 70ms; }
  .step:nth-child(3) { transition-delay: 140ms; }
  .step:nth-child(4) { transition-delay: 210ms; }
}
@media (max-width: 1023px) {
  .header-inner { gap: 16px; }
  .site-nav { gap: 20px; }
  .hero-inner { min-height: 800px; }
  .hero h1 { font-size: clamp(2.25rem, 4.4vw, 3rem); }
  .steps { gap: 16px; }
  .step-number { font-size: 4rem; margin-bottom: -16px; }
  .step h3 { font-size: 1.125rem; }
  .plans.is-ready .plan-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; }
  .week-grid { gap: 4px; }
  .week-grid li { min-height: 120px; padding-block: 16px; font-size: .75rem; }
  .plan-card { padding: 24px; }
  .plan-description { min-height: 56px; }
  .plans:not(.is-ready) .plan-cards { grid-template-columns: 1fr; }
  .faq-list { margin-left: 10%; }
  .footer-grid { grid-template-columns: 1fr 1.25fr; gap: 40px; }
  .family-links > span { flex-basis: 100%; }
}
@media (max-width: 767px) {
  .plans.is-ready .plan-layout { grid-template-columns: minmax(0, 1fr); }
  .weekly { padding-top: 0; }
  .week-grid li { min-height: 112px; font-size: var(--text-sm); }
  .price strong { font-size: 3.5rem; }
  .plan-description { min-height: 0; margin-bottom: 24px; }
  .faq-list { margin-left: 0; }
  .site-header:not(.nav-ready) { position: relative; background: var(--ink); }
  .site-header:not(.nav-ready) .header-inner { flex-wrap: wrap; padding-block: 12px; }
  .site-header:not(.nav-ready) .site-nav { width: 100%; flex-wrap: wrap; gap: 8px 24px; }
  .nav-ready .menu-toggle { display: inline-flex; }
  .nav-ready .site-nav { display: none; }
  .nav-ready .site-nav.is-open { display: flex; position: fixed; top: var(--header-height); inset-inline: 0; height: calc(100dvh - var(--header-height)); padding: 40px var(--gutter); flex-direction: column; align-items: stretch; gap: 16px; overflow-y: auto; background: var(--ink); }
  .site-nav.is-open > a:not(.button) { padding-block: 16px; border-bottom: 1px solid var(--dark-line); font-size: 1.75rem; }
  .site-nav.is-open .nav-cta { margin-top: 16px; min-height: 56px; justify-content: space-between; }
}
@media (max-width: 639px) {
  :root { --gutter: 20px; --section-space: 72px; --header-height: 76px; --heading-size: 2rem; }
  .section-heading { margin-bottom: 32px; }
  .kicker { margin-bottom: 20px; font-size: .8125rem; letter-spacing: .04em; }
  .brand strong { font-size: 1.2rem; }
  .hero-inner { min-height: 760px; min-height: max(760px, 100svh); padding-top: calc(var(--header-height) + 64px); padding-bottom: 24px; }
  .hero-copy { margin-top: 0; padding-top: 0; padding-bottom: 48px; }
  .hero-picture img { object-position: center 58%; }
  .hero::after { background: linear-gradient(180deg, rgba(11, 28, 36, .78), rgba(11, 28, 36, .56) 57%, rgba(11, 28, 36, .79)); }
  .hero h1 { font-size: clamp(1.75rem, 8.4vw, 2.125rem); line-height: 1.5; }
  .hero-intro { max-width: 21em; margin-top: 24px; font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 28px; }
  .hero-actions .button { min-width: 224px; }
  .hero-proof { grid-template-columns: 1fr 1.35fr 1fr; margin-top: auto; padding-top: 16px; font-size: .75rem; align-items: center; }
  .hero-proof li { padding-right: 8px; }
  .hero-proof li + li { padding-left: 8px; }
  .steps { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 20px; scrollbar-width: thin; scrollbar-color: var(--muted) var(--paper); }
  .step { flex: 0 0 82%; scroll-snap-align: start; }
  .step-number { font-size: 4.5rem; margin-bottom: -18px; }
  .step h3 { font-size: 1.25rem; }
  .step p { max-width: 20em; }
  .plan-switcher { display: flex; width: 100%; gap: 4px; padding: 4px; margin-bottom: 32px; }
  .plan-switcher button { flex: 1; padding: 10px 4px; font-size: .8125rem; white-space: nowrap; }
  .plan-switcher button:last-child { flex: 1.45; }
  .week-heading { padding-bottom: 16px; }
  .week-grid { margin-top: 24px; }
  .week-grid li { padding-block: 12px; min-height: 100px; }
  .plan-layout { gap: 32px; }
  .plan-card { padding: 28px 24px; }
  .plan-notes { margin-top: 32px; }
  .photography-note { gap: 8px 20px; }
  .photography-note > span:last-child { flex-basis: 100%; }
  .plan-notes .text-link { margin-left: 0; }
  .faq h2 { font-size: clamp(1.375rem, 7.1vw, 2rem); }
  .faq-list summary { min-height: 80px; font-size: 1rem; gap: 16px; }
  .faq-list details > p { padding-right: 24px; }
  .cta-band { padding-block: 88px; }
  .cta-band::after { background: rgba(11, 28, 36, .76); }
  .cta-photo { object-position: 60% center; }
  .cta-content h2 { font-size: clamp(1.875rem, 8.1vw, 2rem); }
  .site-footer { padding-top: 64px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-bottom: 40px; }
  .footer-brand > p { max-width: none; }
  .footer-contact address { max-width: 23em; }
  .family-links { gap: 8px 24px; }
  .copyright { font-size: .75rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  a:hover .arrow, a:focus-visible .arrow, .button:active { transform: none; }
}

/* 10-26 審查：方案備註移進方案區，桌機放在週曆下方，左欄不留大片空白 */
@media (min-width: 768px) {
  .plans.is-ready .plan-layout { grid-template-areas: "week card" "notes card"; grid-template-rows: auto 1fr; }
  .plans.is-ready .weekly { grid-area: week; }
  .plans.is-ready .plan-cards { grid-area: card; }
  .plans.is-ready .plan-notes { grid-area: notes; margin-top: 0; }
  .plans.is-ready .plan-notes > p:first-child { border-top: 0; padding-top: 8px; }
}
@media (max-width: 1023px) { .plan-notes .text-link { margin-left: 0; } }
