:root {
  --ink: #26342f;
  --teal: #487d76;
  --teal-dark: #35443e;
  --paper: #f5f1e8;
  --cream: #fbfaf6;
  --line: #dcd8cc;
  --rose: #b26755;
  --mist: #e9efea;
  --muted: #5d6962;
  --max: 1184px;
  --read: 720px;
  --brand-cn: "Ma Shan Zheng", "Noto Serif SC", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font: 15px/1.8 "Noto Sans SC", sans-serif;
  background: var(--cream);
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--rose); }

.announcement {
  height: 34px;
  background: var(--teal-dark);
  color: #eef0e8;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 34px;
}
.announce-dot { margin: 0 8px; color: #b9cbbd; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 246, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--line);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: none;
}

.lang-picker {
  position: relative;
  font-size: 11px;
  color: var(--muted);
}
.lang-picker-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font: 500 11px "Noto Sans SC", system-ui, sans-serif;
  letter-spacing: 0.03em;
  cursor: pointer;
  line-height: 1.2;
  max-width: 148px;
}
.lang-picker-trigger:hover,
.lang-picker.open .lang-picker-trigger {
  border-color: #c8d4cc;
  color: var(--ink);
  background: #faf9f6;
}
.lang-picker-label { opacity: 0.72; white-space: nowrap; }
.lang-picker-current { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 88px; }
.lang-picker-chevron { font-size: 9px; opacity: 0.55; margin-left: 2px; }
.lang-picker-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 156px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(36, 48, 41, 0.08);
  z-index: 40;
}
.lang-picker:not(.open) .lang-picker-menu {
  display: none !important;
}
.lang-picker--nav .lang-picker-menu { left: 0; right: auto; }
.lang-picker-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--ink);
  cursor: pointer;
}
.lang-picker-option:hover,
.lang-picker-option:focus {
  background: #f3f1eb;
  outline: none;
}
.lang-picker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid #c5cec7;
  flex-shrink: 0;
}
.lang-picker-option.active .lang-picker-dot {
  background: var(--teal);
  border-color: var(--teal);
}
.lang-picker-slot--nav { display: none; }

.preview-notice {
  margin: 0 0 20px;
  padding: 12px 14px;
  background: var(--paper);
  border-left: 3px solid var(--teal);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}
.preview-notice-links { margin: 8px 0 0; }
.preview-notice-links a { color: var(--teal); text-decoration: none; font-weight: 500; }
.preview-notice-links a:hover { text-decoration: underline; }

/* Language Support */
.ls-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 18px 40px;
}
.ls-coach-title {
  margin: 0 0 6px;
  font: 600 clamp(24px, 3.6vw, 32px)/1.15 "Noto Sans SC", system-ui, sans-serif;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ls-coach-lead {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.ls-panel {
  margin-top: 0;
  padding: 14px;
  background: #faf9f6;
  border: 1px solid var(--line);
}
.ls-input-wrap {
  position: relative;
  margin-bottom: 10px;
}
.ls-input-wrap textarea {
  display: block;
  width: 100%;
  min-height: 68px;
  max-height: 120px;
  margin: 0;
  padding: 12px 44px 12px 14px;
  border: 1px solid var(--line);
  background: #fff;
  font: 400 15px/1.45 "Noto Sans SC", system-ui, sans-serif;
  color: var(--ink);
  resize: vertical;
}
.ls-input-read {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.ls-input-read:hover,
.ls-input-read.is-speaking {
  border-color: var(--teal);
  background: #f8fbfa;
}
.ls-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
  min-height: 28px;
}
.ls-advanced-mini {
  font-size: 12px;
  color: var(--muted);
}
.ls-advanced-mini summary {
  cursor: pointer;
  list-style: none;
  user-select: none;
  white-space: nowrap;
}
.ls-advanced-mini summary::-webkit-details-marker { display: none; }
.ls-learning-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  min-width: 140px;
}
.ls-learning-row select {
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: #fff;
  font: 400 12px/1.4 "Noto Sans SC", system-ui, sans-serif;
  color: var(--ink);
}
.ls-voice-debug {
  margin: 0 0 10px;
  padding: 6px 10px;
  font: 400 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--muted);
  background: #f6f6f4;
  border: 1px solid #eceae4;
}
.ls-target-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
}
.ls-target-row select {
  min-width: 120px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: #fff;
  font: 400 13px/1.4 "Noto Sans SC", system-ui, sans-serif;
  color: var(--ink);
}
.ls-type-badge {
  display: inline-block;
  padding: 3px 8px;
  font: 500 11px/1.3 "Noto Sans SC", system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  background: #f0f7f5;
  border: 1px solid #d4e8e2;
}
.ls-actions--muted .ls-action {
  opacity: 0.82;
  font-size: 11px;
  padding: 7px 3px;
  color: var(--muted);
}
.ls-output-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}
.ls-star-btn {
  border: none;
  background: none;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.55;
  padding: 2px 4px;
}
.ls-star-btn:hover,
.ls-star-btn.is-saved { opacity: 1; }
.ls-card {
  margin: 0 0 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.ls-card:last-child { margin-bottom: 0; }
.ls-card--dict { background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.ls-cefr {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  font: 600 10px/1.2 "Noto Sans SC", system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6a5a42;
  background: #f3efe6;
  border: 1px solid #e5dcc8;
  vertical-align: middle;
}
.ls-phon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 6px;
}
.ls-phon {
  font: 400 14px/1.4 "Noto Sans SC", system-ui, sans-serif;
  color: var(--muted);
}
.ls-phon em {
  font-style: normal;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-right: 4px;
}
.ls-card--result { background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.ls-card--insight { background: #faf8f4; border-color: #ebe6dc; }
.ls-card-label {
  margin: 0 0 8px;
  font: 600 10px/1.2 "Noto Sans SC", system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.ls-target-word {
  margin: 6px 0 0;
  font: 600 18px/1.3 "Noto Serif SC", Georgia, serif;
  color: var(--teal);
}
.ls-ai-text--inline {
  margin: 0;
  padding: 0;
  white-space: pre-wrap;
  font: inherit;
  background: transparent;
  border: none;
}
.ls-result-stack { display: flex; flex-direction: column; gap: 12px; }
.ls-card-head { margin-bottom: 10px; }
.ls-card-type {
  display: inline-block;
  margin-bottom: 4px;
  font: 600 10px/1.2 "Noto Sans SC", system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.ls-word-head {
  margin: 0;
  font: 600 22px/1.25 "Noto Serif SC", Georgia, serif;
  color: var(--ink);
}
.ls-ipa-inline {
  font: 400 17px/1.3 "Noto Sans SC", system-ui, sans-serif;
  color: var(--muted);
}
.ls-ipa-ref {
  margin: 4px 0 0;
  font: 400 14px/1.4 "Noto Sans SC", system-ui, sans-serif;
  color: var(--muted);
}
.ls-pos {
  margin: 4px 0 0;
  font: 500 13px/1.3 "Noto Sans SC", system-ui, sans-serif;
  color: var(--teal);
  text-transform: lowercase;
}
.ls-pron-aid {
  margin-top: 8px;
  padding: 8px 10px;
  background: #f8f7f4;
  border: 1px solid #ebe8e1;
}
.ls-pron-label {
  margin: 0 0 2px;
  font: 600 10px/1.2 "Noto Sans SC", system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ls-pron-value {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}
.ls-section-label {
  margin: 0 0 4px;
  font: 600 10px/1.2 "Noto Sans SC", system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ls-section { margin-bottom: 10px; }
.ls-coll {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.ls-meaning { margin-bottom: 12px; }
.ls-meaning h3 {
  margin: 0 0 6px;
  font: 600 13px/1.3 "Noto Sans SC", system-ui, sans-serif;
  color: var(--teal);
}
.ls-defs {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
}
.ls-defs .ls-ex { color: var(--muted); font-style: italic; }
.ls-usage {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.ls-card-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}
.ls-ai-block {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.ls-ai-block-title {
  margin: 0 0 8px;
  font: 600 11px/1.3 "Noto Sans SC", system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ls-ai-text {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  font: inherit;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.ls-output:not(.ls-output--empty):not(.ls-output--loading):not(.ls-output--error) {
  max-height: min(52vh, 420px);
}
.ls-actions, .ls-sheet-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 0 0 10px;
}
.ls-action {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 8px 4px;
  font-size: 12px;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}
.ls-action.active, .ls-action:hover { border-color: var(--teal); background: #f8fbfa; }
.ls-tts-notice {
  margin: 0 0 10px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #8a4b3c;
  background: #fff8f6;
  border: 1px solid #e2c4bb;
}
.ls-play-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 7px 12px;
  font-size: 12px;
  cursor: pointer;
}
.ls-play-btn:hover,
.ls-play-btn.is-speaking { border-color: var(--teal); background: #f8fbfa; }
.ls-output-wrap { margin-top: 0; }
.ls-output {
  min-height: 56px;
  max-height: 140px;
  overflow-y: auto;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid var(--line);
  font: 400 15px/1.5 "Noto Serif SC", Georgia, serif;
  color: var(--ink);
  white-space: pre-wrap;
}
.ls-output--empty { background: #fcfcfb; }
.ls-output--loading {
  color: var(--muted);
  font-style: italic;
}
.ls-output--error {
  color: #8a4b3c;
  border-color: #e2c4bb;
  background: #fff8f6;
}
.ls-output-head {
  margin: 0 0 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ls-output-foot {
  display: flex;
  margin-top: 7px;
}
.ls-panel.ls-busy .ls-action {
  opacity: 0.55;
  cursor: wait;
}
.ls-mobile-open { display: none; margin-top: 14px; width: 100%; }
.ls-sheet-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30, 36, 33, 0.28);
  z-index: 50;
}
.ls-sheet-backdrop.open { display: block; }
.ls-sheet {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 16px 18px 24px;
  z-index: 51;
}
.ls-sheet.open { display: block; }
.ls-sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ls-sheet-close { border: none; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); }
.ls-desktop-hint { margin-top: 18px; font-size: 12px; }

.lang-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  padding: 5px 9px;
  font: 500 11px "Noto Sans SC", sans-serif;
  cursor: pointer;
  letter-spacing: 0.04em;
}
.lang-btn.active {
  border-color: var(--teal);
  color: var(--ink);
  background: #f8fbfa;
}
.lang-soon {
  font-size: 9px;
  color: #9aa89f;
  margin-left: 6px;
  white-space: nowrap;
  display: none;
}
@media (min-width: 901px) {
  .lang-soon { display: inline; }
}

.lang-notice {
  margin: 0 0 20px;
  padding: 10px 14px;
  background: var(--paper);
  border-left: 3px solid var(--teal);
  font-size: 12px;
  color: var(--muted);
}

.image-frame img.hero-photo {
  filter: saturate(0.76) contrast(0.96) sepia(0.04);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong {
  font: 400 20px/1.25 var(--brand-cn);
  letter-spacing: 0.06em;
  font-weight: 400;
}
.brand-text em {
  font: 8px/1.4 "Cormorant Garamond", serif;
  font-style: normal;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-top: 6px;
}

nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
nav a { font-size: 13px; color: #3e4d46; white-space: nowrap; }
nav a.active, nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-cta {
  border: 1px solid #7b887e;
  padding: 7px 14px;
  color: var(--ink) !important;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 36px;
  height: 32px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
  width: 26px;
}

/* Hero */
.hero {
  min-height: 580px;
  padding: 64px max(28px, calc((100vw - 1128px) / 2)) 72px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  background:
    radial-gradient(circle at 12% 8%, #fffdf8 0, transparent 32%),
    linear-gradient(112deg, var(--mist) 0%, var(--mist) 54%, var(--paper) 54%);
}
.hero-home { min-height: 620px; }
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--teal);
  margin: 0 0 14px;
}
.eyebrow-establish {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.26em;
  font-weight: 650;
  margin-bottom: 16px;
}
.eyebrow-establish::before {
  content: '';
  width: 14px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
  flex-shrink: 0;
}
.eyebrow-establish::after {
  content: '';
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
  flex-shrink: 0;
}
.hero h1, .page-title {
  font: 500 clamp(32px, 4.2vw, 48px)/1.22 "Noto Serif SC", serif;
  margin: 0;
  letter-spacing: 0.01em;
}
.hero h1 strong, .page-title strong { color: #668b82; font-weight: 500; }
.hero-text, .lead {
  max-width: 480px;
  font-size: 16px;
  color: var(--muted);
  margin: 22px 0 0;
}
.hero-actions {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  font: 500 13px "Noto Sans SC";
  letter-spacing: 0.04em;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}
.button.primary { background: var(--rose); color: #fff; }
.button.primary:hover { background: #985241; color: #fff; }
.button.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid #9aa89f;
}
.text-link { font-size: 13px; font-weight: 500; color: #4d5e55; }

.hero-visual { position: relative; padding: 0 16px 28px 0; }
.image-frame {
  height: 400px;
  overflow: hidden;
  box-shadow: 18px 18px 0 #c6d7cc;
  border: 1px solid #d5ddd6;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.76) contrast(0.96) sepia(0.05);
}
.quote-card {
  position: absolute;
  left: -28px;
  bottom: 0;
  width: 270px;
  background: #fffcf6;
  padding: 18px 22px;
  box-shadow: 0 10px 24px rgba(38, 52, 47, 0.08);
  border-left: 3px solid var(--rose);
}
.quote-card p {
  font: 500 16px/1.55 "Noto Serif SC", serif;
  margin: 0;
}
.quote-card small { font-size: 10px; color: #7c867e; }

/* Sections */
main.page { max-width: var(--max); margin: 0 auto; padding: 0 28px 88px; }
main.page-full { padding-left: 0; padding-right: 0; }
.section { padding: 88px 0 0; }
.section-band {
  margin-top: 88px;
  padding: 88px max(28px, calc((100vw - 1128px) / 2));
  background: var(--teal-dark);
  color: #fff;
}
.section-band.mist { background: var(--mist); color: var(--ink); }
.section-band.rose {
  background: linear-gradient(135deg, #b56d5b 0%, #a85f4f 100%);
  color: #fff;
}
.section-inner { max-width: var(--max); margin: 0 auto; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
}
.section-heading h2 {
  font: 500 clamp(26px, 3vw, 36px)/1.28 "Noto Serif SC", serif;
  margin: 0;
}
.section-heading p { max-width: 360px; margin: 0; font-size: 13px; color: var(--muted); }

/* Parent pain entries */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.pain-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pain-card {
  background: #fffcf8;
  border: 1px solid var(--line);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.pain-card:hover {
  border-color: #a8bdb2;
  box-shadow: 0 8px 24px rgba(38, 52, 47, 0.06);
  transform: translateY(-2px);
}
.pain-card h3 {
  font: 500 20px/1.35 "Noto Serif SC", serif;
  margin: 0;
  color: var(--ink);
}
.pain-card p { margin: 0; font-size: 14px; color: var(--muted); }
.pain-card .links { margin-top: auto; padding-top: 8px; font-size: 12px; }
.pain-card .links a { margin-right: 12px; }

/* Learning route */
.route-track {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 28px 0 8px;
}
.route-step {
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--ink);
}
.route-step a { color: inherit; font-family: "Noto Serif SC", serif; }
.route-step:hover { border-color: var(--teal); background: #f8fbfa; }
.route-arrow { color: var(--teal); font-size: 18px; padding: 0 2px; }

/* Story proof */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.proof-card {
  background: var(--paper);
  padding: 26px 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.proof-card .tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--teal);
  font-weight: 600;
}
.proof-card h3 {
  font: 500 22px/1.35 "Noto Serif SC", serif;
  margin: 16px 0 10px;
}
.proof-card p { margin: 0; font-size: 13px; color: var(--muted); flex: 1; }
.proof-card footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #d8d2c5;
  font-size: 12px;
  color: #546159;
}

/* Method band */
.method-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.method-item {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 18px;
}
.method-item b {
  font: 600 22px "Cormorant Garamond", serif;
  color: #c0d9ca;
}
.method-item h3 {
  font: 500 17px "Noto Serif SC", serif;
  margin: 12px 0 6px;
}
.method-item p { margin: 0; font-size: 13px; color: #d3ddd6; line-height: 1.7; }

/* CTA */
.cta-panel {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.cta-panel h2 {
  font: 500 clamp(28px, 3.5vw, 38px)/1.3 "Noto Serif SC", serif;
  margin: 0 0 14px;
}
.cta-panel p { margin: 0 0 24px; font-size: 15px; opacity: 0.92; }

/* Inner / archive pages */
.narrow { max-width: var(--read); }
.muted { color: var(--muted); font-size: 14px; }

.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: baseline;
}
.list-plain .num { font: 600 15px "Cormorant Garamond", serif; color: var(--teal); }
.list-plain a { color: var(--ink); font-family: "Noto Serif SC", serif; font-size: 16px; }
.list-plain .tag { font-size: 11px; color: var(--muted); }

.article .theme { font-size: 11px; color: var(--rose); letter-spacing: 0.1em; }
.article h1 { font: 500 32px/1.3 "Noto Serif SC", serif; margin-bottom: 20px; }
.qa-block { margin: 24px 0; padding-top: 20px; border-top: 1px solid var(--line); }
.qa-block .q { font: 500 17px "Noto Serif SC", serif; margin-bottom: 12px; }
.qa-block .a { color: var(--muted); font-size: 15px; line-height: 1.85; }
.qa-block .a p { margin: 0 0 12px; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.filters button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font: 12px "Noto Sans SC";
  padding: 6px 12px;
  cursor: pointer;
}
.filters button.active { border-color: var(--teal); color: var(--ink); }

.resource-group { margin-top: 24px; }
.resource-group h3 { font-size: 15px; color: var(--teal); }
.resource-list a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
}

.contact-form { max-width: 480px; display: grid; gap: 14px; }
.contact-form label { font-size: 12px; color: var(--muted); display: grid; gap: 6px; }
.contact-form input, .contact-form select, .contact-form textarea {
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 12px;
  font: 14px "Noto Sans SC";
  width: 100%;
}
.contact-form button {
  justify-self: start;
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  cursor: pointer;
}

.principles { margin: 0; padding-left: 18px; }
.principles li { margin: 10px 0; color: var(--muted); }
.quote-band {
  margin-top: 36px;
  padding: 24px;
  background: var(--paper);
  border-left: 3px solid var(--rose);
  font: 500 17px/1.65 "Noto Serif SC", serif;
}
.back-link { font-size: 13px; margin-bottom: 20px; display: inline-block; }

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.footer-brand img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }

@media (max-width: 900px) {
  .hero, .pain-grid, .pain-grid-3, .proof-grid, .method-list { grid-template-columns: 1fr; }
  .hero { padding: 48px 22px 56px; gap: 36px; min-height: auto; }
  .image-frame { height: 280px; }
  .quote-card { left: -8px; width: 240px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 12px; }
  .header-right { gap: 10px; }
  nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 14px 22px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .site-header.nav-open nav { display: flex; }
  .menu-toggle { display: block; }
  .lang-picker-slot--header {
    display: block;
    flex-shrink: 0;
  }
  .lang-picker-slot--header .lang-picker-trigger {
    max-width: none;
    padding: 6px 10px;
    background: #fff;
    border-color: #c8d4cc;
    color: var(--ink);
  }
  .lang-picker-slot--header .lang-picker-current {
    max-width: 72px;
    font-weight: 600;
  }
  .lang-picker-slot--nav {
    display: none !important;
  }
  .ls-desktop-hint, .ls-float { display: none !important; }
  .ls-mobile-open { display: inline-flex; justify-content: center; }
  .ls-actions { display: none; }
}

@media (max-width: 520px) {
  .header-inner { padding: 12px 18px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-text strong { font-size: 18px; }
  .brand-text em { font-size: 9px; letter-spacing: 0.06em; }
  .eyebrow-establish { font-size: 10.5px; letter-spacing: 0.22em; gap: 8px; }
  .lang-picker-trigger { max-width: 100%; padding: 5px 8px; }
  .route-track { gap: 6px; }
  .route-step { padding: 10px 12px; font-size: 12px; }
  .ls-row { flex-direction: column; align-items: stretch; }
  .ls-row--samples { flex-direction: row; flex-wrap: wrap; gap: 12px; }
}

html, body { overflow-x: clip; }
.site-header, .header-inner, .header-right { min-width: 0; }
.brand-text { min-width: 0; }
.brand-text strong, .brand-text em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 42vw; display: block; }
@media (max-width: 430px) {
  .brand-text strong { max-width: 38vw; font-size: 17px; }
  .hero h1, .page-title { font-size: clamp(26px, 7.5vw, 32px); }
  .pain-card h3, .proof-card h3 { font-size: 16px; }
}
