:root {
  --ink: #1b2923;
  --muted: #63736b;
  --paper: #f4f1e9;
  --surface: #fffdf8;
  --forest: #21483d;
  --forest-soft: #dfeae2;
  --orange: #d86f4d;
  --orange-soft: #f6dfd2;
  --yellow: #efc66f;
  --yellow-soft: #f7edcc;
  --line: #d8ded5;
  --white-line: rgba(255, 253, 248, .22);
  --shadow: 0 24px 80px rgba(37, 55, 44, .08);
  --radius-lg: 30px;
  --radius-md: 18px;
  --max-width: 1220px;
  --sans: "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --serif: Georgia, "Noto Serif TC", "PMingLiU", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  background-image: radial-gradient(circle at 12% 8%, rgba(239, 198, 111, .18), transparent 24rem), radial-gradient(circle at 90% 24%, rgba(216, 111, 77, .08), transparent 25rem);
  font-family: var(--sans);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 17px 30px;
  background: rgba(244, 241, 233, .9);
  border-bottom: 1px solid rgba(216, 222, 213, .8);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.mobile-break { display: none; }
.brand-mark {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: var(--paper);
  background: var(--forest);
  border-radius: 12px 12px 12px 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
}
.brand-copy strong, .brand-copy small { display: block; }
.brand-copy strong { color: var(--forest); font-size: 15px; letter-spacing: .12em; }
.brand-copy small { color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.main-nav { display: flex; flex-wrap: wrap; gap: 25px; }
.main-nav a { color: var(--muted); font-size: 12px; text-decoration: none; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--forest); }
.section-shell { max-width: var(--max-width); margin: 0 auto; padding: 112px 30px; }
.hero-copy, .hero-card, .intro-content, .case-main, .method-content, .background-content, .contact-card { min-width: 0; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .7fr);
  align-items: center;
  gap: 80px;
  min-height: 700px;
  padding-top: 145px;
}
.eyebrow { margin: 0 0 19px; color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { color: var(--forest); }
h1 {
  max-width: 770px;
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(50px, 7vw, 88px);
  font-weight: 600;
  letter-spacing: -.075em;
  line-height: 1.07;
}
h2 {
  max-width: 760px;
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: clamp(35px, 4.5vw, 58px);
  font-weight: 600;
  letter-spacing: -.065em;
  line-height: 1.18;
}
h3 { font-size: 26px; letter-spacing: -.04em; line-height: 1.28; }
h4 { margin-bottom: 8px; color: var(--orange); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
p { color: var(--muted); }
.hero-lede { max-width: 640px; margin-bottom: 35px; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 47px;
  padding: 11px 19px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: var(--surface); background: var(--forest); }
.button-primary:hover, .button-primary:focus-visible { background: #2c5c4e; }
.button-quiet { color: var(--forest); background: transparent; }
.button-quiet:hover, .button-quiet:focus-visible { background: var(--forest-soft); }
.hero-portrait {
  position: relative;
  width: min(100%, 430px);
  margin: 0 0 0 auto;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--forest-soft);
  border: 1px solid rgba(33, 72, 61, .16);
  border-radius: var(--radius-lg) 7px var(--radius-lg) var(--radius-lg);
  box-shadow: 0 24px 70px rgba(37, 55, 44, .13);
}
.hero-portrait::after {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 253, 248, .38);
  border-radius: calc(var(--radius-lg) - 8px) 4px calc(var(--radius-lg) - 8px) calc(var(--radius-lg) - 8px);
  content: "";
  pointer-events: none;
}
.hero-portrait picture, .hero-portrait img { display: block; width: 100%; height: 100%; }
.hero-portrait img { object-fit: cover; object-position: center center; }
.intro, .method, .background { display: grid; grid-template-columns: .43fr 1.57fr; gap: 80px; border-top: 1px solid var(--line); }
.section-label { display: flex; flex-direction: column; justify-content: space-between; min-height: 90px; }
.section-label .eyebrow { margin-bottom: 0; }
.section-index { color: #aab5ae; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.intro-content h2 { max-width: 760px; }
.intro-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; max-width: 810px; }
.intro-columns p { font-size: 16px; }
blockquote { max-width: 680px; margin: 39px 0 0; padding: 22px 0 0 24px; color: var(--forest); border-left: 3px solid var(--yellow); font-family: var(--serif); font-size: 23px; line-height: 1.5; }
.cases { border-top: 1px solid var(--line); }
.cases-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.cases-heading h2 { margin-bottom: 0; }
.section-note { max-width: 310px; margin: 0 0 5px; font-size: 14px; }
.case-card { display: grid; grid-template-columns: 65px 1fr; gap: 20px; margin-bottom: 20px; padding: 38px; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 12px 44px rgba(37, 55, 44, .04); }
.case-card--forest { color: var(--surface); background: linear-gradient(135deg, #21483d 0%, #2c5a4b 100%); border-color: var(--forest); }
.case-card--forest h3, .case-card--forest .case-summary, .case-card--forest .case-highlights strong, .case-card--forest .case-details summary, .case-card--forest .details-content p, .case-card--forest .case-boundary { color: var(--surface); }
.case-card--forest .case-subtitle { color: #d8e7db; }
.case-card--forest .case-meta span { color: #e9f1ea; background: rgba(255, 253, 248, .14); }
.case-card--forest .case-meta .status-pill { color: #3a3028; background: var(--yellow); }
.case-card--forest .case-number { color: var(--yellow); }
.case-card--forest .case-details, .case-card--forest .case-boundary { border-color: var(--white-line); }
.case-card--apricot { background: #fff8f0; border-color: #ecd4c3; }
.case-card--sand { background: #fffdf8; border-color: #e4d9b8; }
.case-number { padding-top: 7px; color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.case-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.case-meta span { padding: 5px 10px; color: var(--forest); background: var(--forest-soft); border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .05em; }
.case-subtitle { margin: -8px 0 18px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.case-meta .status-pill { color: #70452f; background: var(--yellow-soft); }
.case-meta .status-pill--warm { color: #70452f; background: #f4cfb7; }
.case-main h3 { margin-bottom: 12px; font-size: clamp(28px, 3vw, 39px); }
.case-summary { max-width: 800px; margin-bottom: 31px; color: var(--ink); font-size: 17px; }
.case-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
.case-highlights div { padding-top: 14px; border-top: 1px solid var(--line); }
.case-card--forest .case-highlights div { border-color: var(--white-line); }
.case-highlights span { display: block; margin-bottom: 8px; color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.case-card--forest .case-highlights span { color: var(--yellow); }
.case-highlights strong { display: block; color: var(--ink); font-size: 14px; line-height: 1.55; }
.case-highlights .result-block { padding: 15px 17px 17px; background: var(--yellow-soft); border: 0; border-radius: 14px; }
.case-highlights .result-block span { margin-bottom: 7px; }
.case-card--forest .case-highlights .result-block { background: rgba(239, 198, 111, .18); }
.case-details { margin-top: 10px; border-top: 1px solid var(--line); }
.case-details summary { padding-top: 16px; color: var(--forest); cursor: pointer; font-size: 12px; font-weight: 800; }
.details-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 35px; max-width: 820px; padding-top: 19px; }
.details-content p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.case-boundary { margin: 24px 0 0; padding-top: 15px; color: var(--muted); border-top: 1px solid var(--line); font-size: 11px; line-height: 1.6; }
.case-boundary strong { color: var(--orange); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.case-card--forest .case-boundary strong { color: var(--yellow); }
.method { align-items: start; background: #e7efe8; }
.method-content { display: block; }
.method-heading { max-width: 660px; margin-bottom: 43px; }
.method-heading h2 { margin-bottom: 15px; }
.method-heading p { max-width: 560px; font-size: 16px; }
.method-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.method-list li { display: block; min-height: 128px; padding: 17px 20px 0 0; border-top: 1px solid #c7d7ca; }
.method-list li + li { padding-top: 17px; padding-left: 17px; border-left: 1px solid #c7d7ca; }
.method-index { color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.method-list h3 { margin-bottom: 6px; font-size: 21px; }
.method-list p { margin-bottom: 0; font-size: 14px; }
.background { align-items: start; }
.background-content > h2 { max-width: 790px; }
.background-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.background-card { min-height: 210px; padding: 23px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.card-number { display: block; margin-bottom: 30px; color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.background-card h3 { margin-bottom: 9px; font-size: 20px; }
.background-card p { margin-bottom: 0; font-size: 14px; }
.background-note { margin: 24px 0 0; color: var(--muted); font-size: 12px; }
.contact { padding-bottom: 125px; }
.contact-card { position: relative; overflow: hidden; padding: 62px; background: var(--orange); border-radius: var(--radius-lg) 7px var(--radius-lg) var(--radius-lg); }
.contact-card::after { position: absolute; right: 9%; bottom: -105px; width: 250px; height: 250px; border: 1px solid rgba(255, 253, 248, .35); border-radius: 50%; content: ""; }
.contact-card .eyebrow { position: relative; z-index: 1; color: #ffe9d7; }
.contact-card h2 { position: relative; z-index: 1; max-width: 760px; color: var(--surface); }
.contact-card p { position: relative; z-index: 1; max-width: 650px; color: #fff0e4; }
.contact-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.contact-link { position: relative; z-index: 1; display: inline-flex; align-items: center; margin-top: 0; padding: 10px 15px; color: var(--surface); border: 1px solid rgba(255, 253, 248, .42); border-radius: 999px; font-size: 12px; font-weight: 800; text-decoration: none; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.contact-link:hover, .contact-link:focus-visible { color: var(--forest); background: var(--surface); border-color: var(--surface); transform: translateY(-1px); }
.contact-line-id { margin-top: 15px; margin-bottom: 0; color: #fff0e4; font-size: 12px; letter-spacing: .05em; }
.site-footer { display: flex; justify-content: space-between; gap: 25px; max-width: var(--max-width); margin: 0 auto; padding: 26px 30px 42px; border-top: 1px solid var(--line); }
.site-footer strong, .site-footer span { display: block; }
.site-footer strong { color: var(--forest); font-size: 14px; }
.site-footer span, .site-footer p { color: var(--muted); font-size: 11px; }
.site-footer p { margin: 0; text-align: right; }
.site-footer a { color: var(--forest); font-weight: 800; text-decoration: none; }
:focus-visible { outline: 3px solid #e9a276; outline-offset: 4px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 42px; min-height: auto; padding-top: 100px; }
  .hero-portrait { margin-inline: auto; }
  .intro, .method, .background { grid-template-columns: 1fr; gap: 36px; }
  .section-label { display: block; min-height: 0; }
  .section-index { display: none; }
  .method-content { display: block; }
  .method-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .method-heading p { max-width: 620px; }
}

@media (max-width: 680px) {
  .site-header { display: block; padding: 16px 20px; }
  .main-nav { width: 100%; justify-content: flex-start; gap: 8px 14px; margin-top: 14px; }
  .main-nav a { font-size: 11px; }
  .section-shell { padding: 78px 20px; }
  .hero { display: block; padding-top: 76px; }
  .hero-copy { width: 100%; }
  h1 { width: 100%; max-width: 100%; white-space: normal; font-size: clamp(38px, 11vw, 50px); }
  h1, h2, h3, .hero-lede { word-break: break-all; }
  .mobile-break { display: block; }
  h2 { font-size: clamp(34px, 10vw, 48px); }
  .hero-lede { font-size: 15px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-portrait { width: 100%; max-width: 520px; margin-top: 6px; }
  .intro-columns, .case-highlights, .details-content, .background-grid, .method-list { grid-template-columns: 1fr; }
  .intro-columns { gap: 0; }
  .case-card { grid-template-columns: 1fr; gap: 10px; padding: 27px 21px; }
  .case-number { padding-top: 0; }
  .case-summary { font-size: 16px; }
  .case-highlights { gap: 15px; }
  .case-highlights div { padding-top: 12px; }
  .case-highlights .result-block { padding-top: 14px; }
  .method-list li, .method-list li + li { min-height: 0; padding: 15px 0; border-top: 1px solid #c7d7ca; border-left: 0; }
  .contact-card { padding: 40px 25px; }
  .site-footer { display: block; padding: 25px 20px 35px; }
  .site-footer p { margin-top: 15px; text-align: left; }
}

@media (max-width: 480px) {
  .site-header { position: static; display: block; }
  .main-nav { display: grid; grid-template-columns: repeat(2, max-content); justify-content: space-between; margin-top: 14px; }
  .brand-copy small { font-size: 9px; letter-spacing: .08em; }
  h1 { font-size: clamp(38px, 11vw, 50px); letter-spacing: -.06em; }
  .hero-lede { font-size: 15px; }
  blockquote { font-size: 20px; }
}

@media print {
  .site-header { position: static; }
  .hero, .section-shell { min-height: auto; padding: 50px 0; }
  .button { display: none; }
  .case-details { break-inside: avoid; }
}
