:root {
  color-scheme: light;
  --paper: #f6f0e4;
  --white: #fffcf4;
  --ink: #172638;
  --blue: #20344a;
  --gold: #efc888;
  --line: #dacaaf;
  --serif: "Noto Serif CJK TC", "Songti TC", "PMingLiU", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.65 "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}
h1, h2, h3, p, figure, dt, dd { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 850; line-height: 1.22; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 8.5vw, 5.65rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3.1rem); }
h3 { font-size: 1.08rem; line-height: 1.38; }
a { color: inherit; text-underline-offset: .18em; }
button { font: inherit; }
img { display: block; width: 100%; height: auto; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #20739e; outline-offset: 4px; }
[id] { scroll-margin-top: 1.1rem; }
.wrap { width: min(calc(100% - 2.25rem), 65rem); margin-inline: auto; }
.section { padding-block: clamp(2.15rem, 6vw, 5.1rem); }
.section-intro { margin-top: .6rem; }
.top { background: var(--white); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; gap: 1rem; align-items: center; justify-content: space-between; min-height: 61px; }
.brand { text-decoration: none; font-weight: 850; white-space: nowrap; }
.brand span { margin-left: .35rem; color: #5e4b32; font-size: .87rem; font-weight: 650; }
.top nav { display: flex; gap: 1.2rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  border: 0;
  border-radius: .35rem;
  padding: .52rem .9rem;
  color: var(--ink);
  background: var(--gold);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #f9d9a3; }
.button.small { min-height: 42px; }
.hero { background: #172638; color: var(--white); overflow: hidden; }
.hero-inner { --hero-bottom: clamp(2.5rem,7vw,5.2rem); display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); align-items: center; gap: clamp(1.7rem,6vw,5rem); padding-block: clamp(2.5rem,7vw,5.2rem) var(--hero-bottom); }
.eyebrow { font-weight: 780; color: var(--gold); margin-bottom: .5rem; }
.hero-line { margin: .75rem 0 .68rem; font: 750 clamp(1.38rem,3.5vw,2.35rem)/1.42 var(--serif); }
.hero-note { color: #eee4d1; margin-bottom: 1rem; }
.hero-visual {
  width: min(100%, 19rem);
  align-self: end;
  justify-self: end;
  margin-bottom: calc(-1 * var(--hero-bottom));
}
.scenes { list-style: none; padding: 0; margin: 1rem 0 0; border-top: 1px solid var(--line); }
.scenes li { display: grid; grid-template-columns: minmax(7rem,.35fr) minmax(0,1fr); gap: .8rem; padding: 1rem 0; align-items: baseline; border-bottom: 1px solid var(--line); }
.scenes h3 { color: #6b4622; }
.scenes p { line-height: 1.58; }
.blue { color: var(--white); background: var(--blue); }
.match { margin: 1.25rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .65rem; }
.match li { padding: .85rem .9rem; background: #2b435c; border-top: 2px solid var(--gold); }
.match span { display: block; color: var(--gold); font-size: .88rem; }
.match strong { display: block; line-height: 1.4; margin-top: .24rem; }
.work-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .75rem; margin-top: .85rem; }
.work-grid figure { min-width: 0; border: 1px solid var(--line); background: var(--white); border-radius: .4rem; overflow: hidden; }
.work-grid img { aspect-ratio: 4/5; object-fit: cover; object-position: top; }
.work-grid a { display: block; }
.work-grid figcaption { padding: .62rem .73rem; }
.work-grid figcaption span { display: block; font-size: .875rem; color: #5a4b39; }
.gain-band { background: #192b40; color: var(--white); }
.gain-band h2 { color: #f5dfb6; text-align: center; }
.benefits { display: grid; list-style: none; padding: 0; max-width: 46rem; margin: 1.1rem auto 0; gap: .58rem; }
.benefits li { padding: clamp(.86rem, 2.5vw, 1.4rem); border-left: 3px solid #d1a465; background: #fffaf0; color: var(--ink); border-radius: .32rem; }
.number { font: 700 clamp(1.7rem,5.5vw,3.15rem)/1.06 Georgia,serif; align-self: start; color: #3c536d; letter-spacing: -.045em; }
.benefits h3 { margin-bottom: .3rem; }
.line { display: flex; align-items: baseline; gap: .42rem; line-height: 1.39; color: #465b75; font-size: .94rem; }
.line + .line { margin-top: .23rem; }
.line span { white-space: nowrap; font-weight: 750; font-size: .84rem; color: #354d65; }
.line.gain { color: var(--ink); font-weight: 800; }
.line.gain span { color: #744c24; }
.steps { padding-left: 1.5rem; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .28rem 1.5rem; font-weight: 730; }
.course-notes { border-top: 1px solid var(--line); margin-top: 1.1rem; }
details { padding: .66rem 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 750; min-height: 30px; }
details p { margin: .35rem 0 0 1.1rem; }
.bio { display: flex; align-items: center; gap: .85rem 1.65rem; padding-top: 0; }
.bio img { width: clamp(5rem,16vw,8rem); border-radius: .5rem; }
.bio p { margin-top: .4rem; }
.booking { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 1rem 2rem; }
.price { margin-top: .6rem; color: var(--gold); font-size: clamp(1.95rem,4.5vw,3.1rem); font-weight: 850; line-height: 1.35; }
.facts { margin: .2rem 0 1rem; }
.facts div { display: grid; grid-template-columns: minmax(4.4em,auto) minmax(0,1fr); gap: .6rem; border-bottom: 1px solid #bca77f60; padding: .45rem 0; }
.facts dt { font-weight: 800; }
.booking .button { margin-top: .8rem; }
.legal { padding-bottom: 1.5rem; }
.legal ul { padding-left: 1.15rem; }
.site-footer { border-top: 1px solid var(--line); font-size: .9rem; padding-block: .85rem calc(6rem + env(safe-area-inset-bottom)); }
.bottom { position: fixed; z-index: 2; inset: auto 0 0; background: #142335; border-top: 2px solid #e5b976; color: var(--white); padding-bottom: env(safe-area-inset-bottom); }
.bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding-block: .48rem; }
.bottom strong { display: block; color: var(--gold); line-height: 1.15; font-size: 1.18rem; }
.bottom span { font-size: .84rem; }
.preview { color: var(--white); background: var(--ink); border: 1px solid var(--gold); border-radius: .5rem; padding: .65rem; width: min(96vw, 49rem); max-width: none; max-height: 94dvh; }
.preview::backdrop { background: #0b1520e6; }
.preview form { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .45rem; }
.preview-original { padding: .55rem .35rem; }
.preview-image { overflow: auto; max-height: calc(88dvh - 3.6rem); }
.preview img { width: 100%; height: auto; }
@media (max-width: 680px) {
  .top nav { display: none; }
  .hero-inner { grid-template-columns: minmax(0,1fr) minmax(0,.54fr); gap: .75rem; --hero-bottom: 1.75rem; padding-block: 1.55rem var(--hero-bottom); }
  .hero-visual {
    width: calc(100% + clamp(1.05rem, 6.8vw, 2.75rem));
    margin-inline-end: -.25rem;
  }
  .hero-copy h1 { font-size: clamp(1.8rem, 9.4vw, 3.05rem); }
  .hero-line { font-size: clamp(1.13rem,4.6vw,1.45rem); }
  .hero-note { font-size: .91rem; }
  .hero-copy .button { font-size: .91rem; padding-inline: .55rem; }
  .scenes li { grid-template-columns: minmax(0,1fr); gap: .22rem; padding: .72rem 0; }
  .match, .work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .steps, .booking { grid-template-columns: minmax(0,1fr); }
  .benefits { margin-top: .9rem; }
}
@media (max-width: 365px) {
  .wrap { width: calc(100% - 1.4rem); }
  .hero-inner { gap: .55rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.method-bridge .section { padding-block: clamp(1.8rem, 5vw, 3.55rem); }
.method-bridge p { margin-top: .8rem; }
.method-bridge .lead { font-size: clamp(1.08rem, 2.4vw, 1.45rem); }
.method-bridge strong { color: var(--gold); }
#industry-tools .match li { background: var(--white); border: 1px solid var(--line); border-top: 2px solid #b38343; }
#industry-tools .match span { color: #6b4622; }
.portfolio-section { padding-top: 0; }
.portfolio-section .work-rail {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, calc((100% - 2.25rem) / 4));
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: .3rem .16rem .6rem;
  scrollbar-color: #aa8050 transparent;
}
.portfolio-section .work-grid figure { scroll-snap-align: start; }
.portfolio-section .work-grid a:focus-visible { outline-offset: -3px; }
.portfolio-note { background: var(--blue); color: var(--white); padding: clamp(1rem, 4vw, 2rem); margin-top: 1.2rem; border-radius: .5rem; }
.portfolio-note h3 { color: var(--gold); font-size: clamp(1.13rem, 2.5vw, 1.45rem); }
.portfolio-note p { margin: .6rem 0 .4rem; }
.work-more { margin-top: clamp(1.15rem,4vw,2rem); }
.work-featured { margin-top: 1.2rem; }
@media (min-width: 681px) { .work-featured { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.work-featured img { border-bottom: 1px solid var(--line); }
@media (max-width: 680px) {
  .portfolio-section .work-rail { grid-auto-columns: 74%; }
}

.result-gallery {
  display: grid;
  grid-template-columns: minmax(0,1.72fr) minmax(0,1fr);
  gap: clamp(.75rem, 2vw, 1.4rem);
  align-items: stretch;
  padding-top: clamp(1.2rem, 3.5vw, 2.5rem);
}
.result-feature { display: grid; grid-template-rows: 1fr auto; margin: 0; background: var(--blue); color: var(--white); }
.result-feature, .everyday-results { border: 1px solid var(--line); border-radius: .55rem; overflow: hidden; }
.result-feature img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.result-feature figcaption { padding: clamp(1rem,3vw,2rem); background: #172638; color: #fffdf6; }
.result-feature h2 { font-size: clamp(1.28rem,3.3vw,2.4rem); }
.result-labels { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: .85rem 0 0; }
.result-labels li { padding: .23rem .64rem; background: #fff3dd; color: #172638; font-size: 1rem; font-weight: 750; border-radius: .25rem; }
.everyday-results { width: 100%; align-self: center; }
.scene-pairs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(.85rem,2vw,1.4rem);
  margin-top: 1.1rem;
}
.scene-pairs article { min-width: 0; border: 1px solid var(--line); background: var(--white); border-radius: .55rem; overflow: hidden; }
.scene-pairs article > div { padding: .9rem 1rem 1.05rem; }
.scene-pairs h3 { color: #6b4622; margin-bottom: .35rem; }
.scene-pairs img { width: 100%; aspect-ratio: 1.48; object-fit: cover; }
.scene-pairs p { margin: 0; }
.scene-summary { margin: 1.2rem 0 0; border-left: 2px solid #b48447; padding-left: .9rem; }
#safety { border-color: #ae7348; background: #f8ead7; }
.examples-kicker { color: #6b4622; font-weight: 780; margin-bottom: .55rem; }
.scene-summary { font-size: clamp(1.05rem,2.3vw,1.3rem); }
.method-focus { margin-top: 1.2rem; padding-top: .5rem; border-top: 1px solid #ffffff42; }
.method-focus strong { font-size: clamp(1.2rem,2.6vw,1.55rem); }
.method-repeat { margin-top: 1.15rem; padding-left: .8rem; border-left: 2px solid #ae7348; font-weight: 750; }
.ruby-story > h2 { margin-bottom: clamp(1.2rem,4vw,2rem); }
.story-opening, .story-chapters { display: grid; gap: clamp(.9rem,3vw,1.5rem); }
.story-opening { grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); align-items: stretch; margin-bottom: clamp(.9rem,3vw,1.5rem); }
.story-chapters { grid-template-columns: repeat(2,minmax(0,1fr)); }
.story-portrait {
  width: min(100%, 19rem);
  align-self: center;
  justify-self: center;
  text-align: center;
}
.story-portrait img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 36%;
  border: clamp(3px, .9vw, 5px) solid #d99c37;
  border-radius: 50% 50% 11% 11% / 40% 40% 9% 9%;
  box-shadow: 0 .35rem 0 #1726381c;
}
.story-portrait figcaption { margin-top: 1rem; font-weight: 750; }
.story-chapter { min-width: 0; padding: clamp(1rem,3.6vw,2.4rem); background: var(--white); border: 1px solid var(--line); border-radius: .6rem; }
.story-opening .story-chapter { align-content: center; }
.story-chapter h3 { font: 800 clamp(1.32rem,2.7vw,2rem)/1.35 var(--serif); color: #633d23; text-wrap: balance; }
.story-chapter p { margin-top: .9rem; max-width: 40rem; line-height: 1.87; text-wrap: pretty; }
.story-line { display: block; text-wrap: balance; }
.story-chapter .pullquote { max-width: none; margin-top: 1.2rem; padding: .85rem 0 .85rem 1rem; border-left: 3px solid #b48447; font: 800 clamp(1.11rem,2.6vw,1.5rem)/1.65 var(--serif); }
.story-feature { grid-column: 1 / -1; background: #eee0ca; }
.story-closing { background: var(--blue); border-color: var(--blue); color: var(--white); }
.story-closing h3, .story-closing .pullquote { color: #ffe2ac; }
.story-chapter .pairs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; margin-block: 1rem; }
.story-chapter .pairs div { padding: .7rem; border: 1px solid var(--line); background: #f7eee0; border-radius: .25rem; }
.story-chapter dt { font-weight: 800; }
.story-chapter dd { margin-top: .25rem; }
.booking-results { padding-left: 1.25rem; color: #f5dfb6; }
@media (max-width: 680px) {
  .result-gallery, .scene-pairs, .story-opening, .story-chapters { grid-template-columns: minmax(0,1fr); }
  .result-feature img { aspect-ratio: 1.5; }
  .scene-pairs img { aspect-ratio: 1.67; }
  .story-portrait { width: clamp(9rem, 53%, 16rem); }
}

.story-invitation {
  grid-column: 1 / -1;
  border-top: 4px solid #b48447;
  background: #fff4de;
  padding: clamp(1.2rem, 4.4vw, 3.3rem);
}
.story-invitation h3 { font-size: clamp(1.85rem, 4.5vw, 3.3rem); }
.story-invitation .invitation-promise {
  color: #60351c;
  margin-block: 1.3rem;
}
.story-invitation .invitation-promise p {
  max-width: none;
  margin-top: .55rem;
  font: 800 clamp(1.28rem, 3vw, 2rem)/1.5 var(--serif);
  text-wrap: pretty;
}
.story-chapter .pullquote strong { color: #784423; }
.invitation-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: .65rem;
}
.invitation-panels div {
  display: grid;
  gap: .28rem;
  background: var(--blue);
  color: var(--white);
  border-radius: .4rem;
  padding: .8rem 1rem;
}
.invitation-panels strong { font-size: 1.08rem; color: #ffe1a8; }
.story-closing { grid-column: 1 / -1; }
.price span { white-space: nowrap; font-size: clamp(1rem, 2.4vw, 1.26rem); }
.booking-bonus {
  margin-top: 1.15rem;
  padding: .9rem 1rem;
  border: 1px solid #edc484;
  border-radius: .4rem;
  background: #fff0d1;
  color: #322413;
}
.booking-bonus h3 { margin: .2rem 0 .4rem; font-size: 1.22rem; }
.booking-bonus h3 span { display: inline-block; color: #683b14; font-size: .97rem; }
.venue-note { font-size: .9rem; text-wrap: pretty; }
