@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&family=Noto+Sans+TC:wght@400;500;700;900&family=Noto+Serif+TC:wght@500;600;700;900&display=swap");

:root {
  --bg: #f9f7fb;
  --bg-strong: #f2edf7;
  --surface: rgba(255, 255, 255, 0.95);
  --surface-soft: #f6f1f8;
  --surface-alt: #efe5f1;
  --ink: #1d2533;
  --ink-soft: #596273;
  --line: #ddd6e6;
  --line-strong: #c9bad7;
  --primary: #9a3d8c;
  --primary-deep: #6e2864;
  --primary-soft: #f5e6f3;
  --teal: #14756f;
  --teal-soft: #d8efed;
  --gold: #c8985d;
  --gold-soft: #f7ecdc;
  --shadow-soft: 0 20px 48px rgba(72, 31, 80, 0.08);
  --shadow-card: 0 14px 32px rgba(54, 28, 70, 0.1);
  --shadow-strong: 0 34px 90px rgba(51, 23, 63, 0.18);
  --radius-xs: 12px;
  --radius-sm: 20px;
  --radius-md: 28px;
  --radius-lg: 40px;
  --container: min(1180px, calc(100vw - 2rem));
  --duration: 220ms;
  --font-body-zh: "Noto Sans TC", "Segoe UI", sans-serif;
  --font-display-zh: "Noto Serif TC", "Noto Sans TC", serif;
  --font-body-en: "Manrope", "Segoe UI", sans-serif;
  --font-display-en: "Fraunces", "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body-zh);
  line-height: 1.75;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(154, 61, 140, 0.14), transparent 28%),
    radial-gradient(circle at bottom left, rgba(20, 117, 111, 0.1), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

body[data-lang="zh"] {
  font-family: var(--font-body-zh);
}

body[data-lang="en"] {
  font-family: var(--font-body-en);
}

body[data-lang="en"] .section__head {
  max-width: 56rem;
}

body[data-lang="en"] .section__head--wide,
body[data-lang="en"] .contact-info-section .section__head,
body[data-lang="en"] .contact-social-section .section__head,
body[data-lang="en"] .contact-form-section .section__head {
  max-width: 100%;
}

body[data-lang="en"] .section__title {
  font-size: clamp(1.72rem, 1.28rem + 1vw, 2.72rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
}

body[data-lang="en"] .resource-page-head__copy {
  max-width: 56rem;
}

body[data-lang="en"] .resource-page-head__title {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.14;
}

body[data-lang="en"] .site-nav {
  gap: 0.04rem;
}

body[data-lang="en"] .site-nav a {
  padding: 0.62rem 0.72rem;
  font-size: 0.92rem;
  letter-spacing: 0;
}

body[data-lang="en"] .site-nav .lang-link {
  padding-inline: 0.72rem;
}

img,
svg,
iframe,
video {
  display: block;
  max-width: 100%;
}

iframe,
video {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

ul,
ol,
p,
h1,
h2,
h3,
h4,
h5,
h6,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 3px solid rgba(20, 117, 111, 0.34);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-xs);
  background: var(--primary-deep);
  color: #fff;
  transition: top var(--duration) ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-shell {
  position: relative;
  overflow-x: clip;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 5.25rem 0;
}

.section--tight {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section--muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(242, 237, 247, 0.9));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), rgba(154, 61, 140, 0));
}

.section__head {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2rem;
  max-width: 44rem;
}

.section__head--wide {
  max-width: 100%;
}

.section__head--center {
  justify-items: center;
  text-align: center;
  margin-inline: auto;
}

body[data-lang="zh"] .section__title,
body[data-lang="zh"] .resource-page-head__title,
body[data-lang="zh"] .hero__title,
body[data-lang="zh"] .cta-banner .section__title,
body[data-lang="zh"] .report-preview__subhead {
  font-family: var(--font-display-zh);
}

body[data-lang="en"] .section__title,
body[data-lang="en"] .resource-page-head__title,
body[data-lang="en"] .hero__title,
body[data-lang="en"] .cta-banner .section__title,
body[data-lang="en"] .report-preview__subhead {
  font-family: var(--font-display-en);
}

body[data-lang="zh"] .card__title,
body[data-lang="zh"] .stat__value,
body[data-lang="zh"] .faq__button,
body[data-lang="zh"] .footer__title,
body[data-lang="zh"] .brand__title {
  font-family: var(--font-body-zh);
}

body[data-lang="en"] .card__title,
body[data-lang="en"] .stat__value,
body[data-lang="en"] .faq__button,
body[data-lang="en"] .footer__title,
body[data-lang="en"] .brand__title {
  font-family: var(--font-body-en);
}

.section__title {
  font-size: clamp(1.9rem, 1.45rem + 1.35vw, 3.05rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section__description,
.section__meta,
.hero__description,
.hero__support,
.card__body,
.card__meta,
.stat__label,
.footer__copy,
.footer__legal,
.footer__list a,
.field__hint,
.results-empty,
.status-note,
.note,
.article-copy,
.result-card__meta {
  color: var(--ink-soft);
}

.stack {
  display: grid;
  gap: 1rem;
}

.section-stack {
  display: grid;
  gap: 1.75rem;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr);
  align-items: stretch;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.list,
.feature-list,
.footer__list {
  list-style: none;
}

.list,
.feature-list {
  display: grid;
  gap: 0.8rem;
}

.list li,
.feature-list li {
  position: relative;
  padding-left: 1.2rem;
}

.list li::before,
.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.75rem;
  left: 0;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--teal));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 0.75rem 0 0.45rem;
  background: transparent;
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 5.15rem;
  padding-inline: 1.35rem;
  border: 1px solid rgba(221, 214, 230, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 28px rgba(72, 31, 80, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  flex-shrink: 0;
}

.brand__logo {
  width: min(12.1rem, 37.8vw);
  height: auto;
}

.brand__copy {
  display: grid;
  gap: 0.05rem;
}

.brand__title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand__subtitle {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.34rem;
  width: 2.95rem;
  height: 2.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
}

.menu-toggle span {
  display: block;
  width: 1.18rem;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform var(--duration) ease, opacity var(--duration) ease;
}

.site-header.is-open .menu-toggle span:first-child {
  transform: translateY(0.18rem) rotate(45deg);
}

.site-header.is-open .menu-toggle span:last-child {
  transform: translateY(-0.18rem) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
  gap: 0.08rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.68rem 0.86rem;
  border-radius: 999px;
  font-weight: 800;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background var(--duration) ease, color var(--duration) ease, border-color var(--duration) ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(154, 61, 140, 0.1);
  color: var(--primary-deep);
}

.site-nav .lang-link {
  margin-left: 0.2rem;
  min-width: 3rem;
  border: 1px solid rgba(154, 61, 140, 0.18);
  background: rgba(245, 230, 243, 0.72);
  color: var(--primary-deep);
}

.site-nav .lang-link:hover,
.site-nav .lang-link:focus-visible {
  background: rgba(154, 61, 140, 0.1);
}

.hero {
  padding: 4.7rem 0 3.7rem;
}

.hero__grid,
.split-panel,
.footer__grid,
.cta-banner,
.stats-strip,
.station-tool,
.video-grid,
.resource-grid {
  display: grid;
  gap: 1.25rem;
}

.hero__grid,
.split-panel {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
}

.split-panel--equal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.hero__copy,
.hero__media,
.hero__card,
.surface-panel,
.card,
.faq,
.footer__brand,
.timeline__item,
.result-card,
.contact-card,
.video-card {
  display: grid;
  gap: 0.9rem;
}

.hero__title {
  font-size: clamp(2.45rem, 1.95rem + 2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-title-nowrap {
  display: inline-block;
  white-space: nowrap;
}

body[data-page="home"] #home-hero .hero__grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(19rem, 0.92fr);
  align-items: start;
}

body[data-page="home"] #home-hero .hero__title {
  font-size: clamp(2.35rem, 2.02rem + 1.15vw, 4rem);
  line-height: 1.04;
  display: grid;
  gap: 0.32rem;
}

body[data-page="home"] #home-hero .hero__title-main {
  display: block;
  white-space: nowrap;
}

body[data-page="home"] #home-hero .hero__title-subline {
  display: block;
  white-space: nowrap;
  font-size: 0.7em;
  line-height: 1.16;
  letter-spacing: -0.035em;
  color: var(--ink);
}

body[data-page="home"] #home-hero .hero__copy {
  gap: 1.05rem;
  padding-right: 0.8rem;
}

body[data-page="home"] #home-hero .hero__media {
  position: relative;
  max-width: 33.5rem;
  justify-self: end;
}

body[data-page="home"] #home-hero .hero-chip {
  position: absolute;
  top: 0.7rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.56rem 0.88rem;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  background: rgba(73, 30, 76, 0.84);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  box-shadow: 0 14px 28px rgba(73, 30, 76, 0.2);
}

body[data-page="home"] #home-hero .eyebrow {
  max-width: 42rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

body[data-lang="en"][data-page="home"] #home-hero .hero__eyebrow-line {
  display: block;
}

body[data-lang="en"][data-page="home"] #home-hero .hero__eyebrow-line--nowrap {
  white-space: nowrap;
}

body[data-lang="en"][data-page="home"] #home-hero .hero__grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(21rem, 0.82fr);
}

body[data-lang="en"][data-page="home"] #home-hero .hero__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

body[data-lang="en"][data-page="home"] #home-hero .hero__media {
  z-index: 1;
}

body[data-lang="en"][data-page="home"] #home-hero .hero__title {
  font-size: clamp(2.18rem, 1.92rem + 0.9vw, 3.52rem);
}

body[data-page="home"] #home-hero .hero__description {
  max-width: 35rem;
  font-size: clamp(1.08rem, 0.98rem + 0.42vw, 1.28rem);
  line-height: 1.5;
  font-weight: 700;
  color: var(--primary-deep);
  margin-top: 0.3rem;
}

body[data-page="home"] #home-hero .hero__support {
  max-width: 35rem;
  font-size: 0.96rem;
  line-height: 1.82;
  margin-top: 0.2rem;
}

.hero__actions,
.tabs,
.directory-toolbar,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__actions {
  margin-top: 0.35rem;
}

.card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.hero__media--stack {
  align-items: stretch;
}

.home-report-grid {
  align-items: stretch;
}

.home-report-grid > * {
  height: 100%;
}

.home-report-grid .hero__media {
  height: 100%;
}

.home-report-grid .hero__image {
  height: 100%;
  min-height: 0;
}

.home-report-grid .hero__image--contained img {
  min-height: 0;
}

.report-image-figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.9rem;
}

.report-image-figure__caption {
  display: grid;
  gap: 0.28rem;
  padding: 0 0.2rem 0.15rem;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.report-image-figure__caption strong {
  color: var(--ink);
  font-weight: 800;
}

.home-proof-grid {
  align-items: stretch;
}

.home-proof-grid > * {
  height: 100%;
}

.home-proof-list {
  grid-template-columns: 1fr;
  grid-template-rows: repeat(6, minmax(0, 1fr));
  height: 100%;
  align-content: stretch;
  gap: 0.85rem;
}

.home-proof-list > .card {
  height: 100%;
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: 1rem 1.1rem;
}

.home-proof-list .card__title,
.home-proof-list .card__body {
  margin: 0;
}

body[data-page="home"] .home-section__head {
  max-width: 50rem;
}

body[data-page="home"] .home-difference__list--reasons {
  display: grid;
  gap: 0;
}

body[data-page="home"] .home-difference__list--reasons .home-difference__item {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1.45rem 0 1.45rem 1.15rem;
  border-top: 1px solid rgba(201, 186, 215, 0.74);
}

body[data-page="home"] .home-difference__list--reasons .home-difference__item:last-child {
  border-bottom: 1px solid rgba(201, 186, 215, 0.74);
}

body[data-page="home"] .home-difference__list--reasons .home-difference__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  bottom: 1.2rem;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(154, 61, 140, 0.95), rgba(20, 117, 111, 0.9));
  box-shadow: 0 0 0 7px rgba(154, 61, 140, 0.07);
}

body[data-page="home"] .home-difference__list--reasons .home-difference__index {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  color: var(--primary-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(154, 61, 140, 0.16);
  background: linear-gradient(135deg, rgba(154, 61, 140, 0.12), rgba(255, 255, 255, 0.92));
  box-shadow: 0 10px 18px rgba(154, 61, 140, 0.08);
}

body[data-lang="en"][data-page="home"] .home-difference__list--reasons .home-difference__index {
  white-space: nowrap;
}

body[data-page="home"] .home-difference__list--reasons .home-difference__body {
  max-width: 46rem;
}

body[data-page="home"] .home-difference__list--reasons .home-difference__body h3 {
  margin: 0 0 0.42rem;
  color: var(--primary-deep);
  font-size: clamp(1.2rem, 1.08rem + 0.4vw, 1.46rem);
  line-height: 1.22;
}

body[data-page="home"] .home-difference__list--reasons .home-difference__body p {
  margin: 0;
  max-width: 38rem;
  line-height: 1.78;
  color: var(--ink-soft);
}

.media-frame,
.surface-panel,
.card,
.faq,
.cta-banner,
.footer,
.timeline__item,
.result-card,
.contact-card,
.video-card,
.directory-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.media-frame {
  overflow: hidden;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__image {
  min-height: 21rem;
}

.hero__image--contained {
  padding: 1.1rem;
  background:
    radial-gradient(circle at top right, rgba(154, 61, 140, 0.18), transparent 30%),
    radial-gradient(circle at bottom left, rgba(20, 117, 111, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(245, 238, 247, 0.92));
}

.hero__image--contained img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: contain;
}

.surface-panel {
  padding: 1.25rem;
}

.card,
.hero__card,
.timeline__item,
.result-card,
.contact-card,
.video-card {
  padding: 1.2rem;
}

.hero__card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at top right, rgba(154, 61, 140, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(245, 238, 247, 0.92));
  box-shadow: var(--shadow-card);
}

.card__media {
  overflow: hidden;
  border-radius: calc(var(--radius-sm) - 8px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(245, 238, 247, 0.94));
}

.card__media img {
  width: 100%;
  height: 13rem;
  object-fit: cover;
}

.card__media--contain {
  padding: 1rem;
}

.card__media--contain img {
  object-fit: contain;
  background: transparent;
}

.card__title,
.timeline__title,
.result-card__title,
.contact-card__title {
  font-size: 1.12rem;
  line-height: 1.28;
  color: var(--primary-deep);
}

.card__meta,
.article-meta {
  font-size: 0.92rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.45rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(154, 61, 140, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-deep);
  font-size: 0.88rem;
  font-weight: 700;
}

.pill--primary {
  background: var(--primary-soft);
}

.pill--teal {
  background: var(--teal-soft);
  border-color: rgba(20, 117, 111, 0.16);
  color: var(--teal);
}

.pill--gold {
  background: var(--gold-soft);
  border-color: rgba(200, 152, 93, 0.2);
  color: #8a5e2e;
}

.stats-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.55rem;
}

.stat {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(221, 214, 230, 0.9);
}

.stat__value {
  font-size: clamp(1.6rem, 1.4rem + 0.7vw, 2.1rem);
  color: var(--primary-deep);
}

.trust-summary-grid .stat {
  gap: 0.5rem;
  min-height: 8.35rem;
  padding: 1.1rem 1.1rem 1rem;
}

.trust-summary-grid .stat__value {
  font-size: clamp(1.04rem, 0.94rem + 0.3vw, 1.28rem);
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.trust-summary-grid .card__body {
  font-size: 0.92rem;
  line-height: 1.6;
}

.nowrap {
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.72rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform var(--duration) ease, box-shadow var(--duration) ease, background var(--duration) ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.68;
  cursor: progress;
  transform: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  box-shadow: 0 14px 28px rgba(110, 40, 100, 0.22);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(154, 61, 140, 0.2);
  color: var(--primary-deep);
}

.btn--ghost {
  background: rgba(20, 117, 111, 0.08);
  border-color: rgba(20, 117, 111, 0.18);
  color: var(--teal);
}

.tabs {
  overflow-x: auto;
  padding-bottom: 0.35rem;
  margin-bottom: 1.4rem;
}

.tabs__hint {
  margin: 0 0 0.7rem;
  color: var(--primary-deep);
  font-size: 0.95rem;
  font-weight: 700;
}

.tabs--segmented {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem;
  border: 1px solid rgba(154, 61, 140, 0.14);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 238, 247, 0.92));
  box-shadow: 0 14px 26px rgba(72, 31, 80, 0.06);
}

.tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.68rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-soft);
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background var(--duration) ease,
    color var(--duration) ease,
    border-color var(--duration) ease,
    transform var(--duration) ease,
    box-shadow var(--duration) ease;
}

.tab-button:hover,
.tab-button:focus-visible {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(154, 61, 140, 0.26);
  color: var(--primary-deep);
  box-shadow: 0 10px 18px rgba(154, 61, 140, 0.1);
  transform: translateY(-1px);
}

.tab-button[aria-selected="true"] {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 22px rgba(110, 40, 100, 0.22);
}

.subsection-head {
  display: grid;
  gap: 0.45rem;
}

.subsection-head--compact {
  margin-top: 0.35rem;
}

.tabpanel[hidden],
.faq__panel[hidden] {
  display: none !important;
}

body[data-page="products"] .tabpanel .section__title {
  font-size: clamp(1.55rem, 1.2rem + 0.9vw, 2.15rem);
  line-height: 1.2;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.detail-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-card {
  gap: 1rem;
}

.detail-card__header,
.article-copy {
  display: grid;
  gap: 0.65rem;
}

.detail-card__columns {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-card__list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.detail-card__list li {
  position: relative;
  padding-left: 1rem;
  color: var(--ink-soft);
}

.detail-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--teal));
}

.service-report-layout,
.service-method-grid {
  align-items: stretch;
}

.service-report-layout > *,
.service-method-grid > * {
  height: 100%;
}

.service-report-preview-card {
  padding: 0;
}

.report-preview {
  display: grid;
  gap: 1rem;
  height: 100%;
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 240, 249, 0.95)),
    radial-gradient(circle at top right, rgba(154, 61, 140, 0.12), transparent 34%);
}

.report-preview__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(221, 214, 230, 0.92);
}

.report-preview__brand {
  display: grid;
  gap: 0.35rem;
}

.report-preview__label {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.report-preview__subhead {
  font-size: 1.08rem;
  line-height: 1.3;
  font-weight: 800;
  color: var(--ink);
}

.report-preview__summary {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.report-preview__metric {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem;
  border: 1px solid rgba(221, 214, 230, 0.92);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
}

.report-preview__metric-label {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.report-preview__metric-value {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--primary-deep);
}

.report-preview__body {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: start;
}

.report-preview__image {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.report-preview__image img {
  width: 100%;
  height: auto;
  min-height: 14rem;
  border: 1px solid rgba(221, 214, 230, 0.92);
  border-radius: 1rem;
  background: #fff;
  object-fit: cover;
}

.report-preview__caption {
  display: grid;
  gap: 0.28rem;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.service-use-case-card {
  gap: 0.9rem;
}

.service-use-case-card__media {
  padding: 0.85rem 0.85rem 0.1rem;
  background: linear-gradient(180deg, rgba(250, 248, 252, 0.96), rgba(243, 236, 247, 0.88));
}

.service-use-case-card__media img {
  height: 11rem;
  object-fit: contain;
}

.report-preview__caption strong {
  color: var(--ink);
  font-weight: 800;
}

.service-method-figure img {
  min-height: 21rem;
}

.service-type-columns {
  margin-top: 0.15rem;
}

.service-type-card {
  gap: 0.4rem;
  padding: 1rem;
  border: 1px solid rgba(221, 214, 230, 0.92);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.service-type-card .fact-card__label {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--primary-deep);
}

.service-type-card .fact-card__value {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--ink);
}

.service-method-cards .card {
  height: 100%;
}

.fact-card {
  align-content: start;
}

.fact-card__label {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.fact-card__value {
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--primary-deep);
}

.spec-list {
  display: grid;
  gap: 0.8rem;
}

.spec-item {
  display: grid;
  gap: 0.28rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.spec-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.spec-item dt {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.spec-item dd {
  margin: 0;
  color: var(--ink);
}

.timeline__item {
  grid-template-columns: 8rem minmax(0, 1fr);
  align-items: start;
}

.timeline__date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-weight: 800;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field--honeypot {
  display: none;
}

.field__label {
  font-size: 0.92rem;
  font-weight: 800;
}

.field__hint {
  font-size: 0.86rem;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 3.05rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.98);
}

.select:disabled,
.input:disabled {
  background: rgba(242, 237, 247, 0.8);
  cursor: not-allowed;
}

.textarea {
  min-height: 10rem;
  resize: vertical;
}

.station-tool,
.video-grid,
.resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.station-tool {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.station-tool--location {
  align-items: end;
}

.station-tool--location .btn {
  width: 100%;
}

.station-results {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.result-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.result-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.2rem;
}

.results-empty {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(154, 61, 140, 0.28);
  background: rgba(255, 255, 255, 0.78);
}

.directory-toolbar {
  align-items: end;
  margin-bottom: 1rem;
}

.directory-table-wrap {
  overflow-x: auto;
}

.directory-table th,
.directory-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(221, 214, 230, 0.85);
  text-align: left;
  vertical-align: top;
}

.directory-table th {
  background: var(--surface-soft);
  color: var(--primary-deep);
  font-weight: 800;
}

.directory-table a {
  color: var(--teal);
}

.contact-rail {
  display: grid;
  gap: 1rem;
}

.info-card-grid,
.social-qr-grid {
  display: grid;
  gap: 1rem;
}

.info-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.social-qr-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.info-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.info-card__actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-page .section__head {
  max-width: 48rem;
}

.contact-info-section .section__head,
.contact-social-section .section__head,
.contact-form-section .section__head {
  max-width: 100%;
}

.contact-info__lead {
  max-width: 54rem;
  font-size: 1.02rem;
  line-height: 1.8;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--ink-soft);
}

.contact-intro-section .section__head {
  max-width: 42rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-shell {
  max-width: 52rem;
  margin-inline: auto;
  gap: 1.4rem;
}

.contact-form-section .form-shell {
  max-width: 100%;
  margin-inline: 0;
}

.social-qr-card {
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.social-qr-card__actions {
  display: flex;
  justify-content: center;
  width: 100%;
}

.qr-code-frame {
  width: min(100%, 18rem);
  padding: 0.9rem;
  border: 1px solid rgba(126, 90, 181, 0.14);
  border-radius: calc(var(--radius-sm) - 4px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 240, 249, 0.94));
}

.qr-code-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-card__icon {
  width: 3rem;
  height: 3rem;
  padding: 0.6rem;
  border-radius: 1rem;
  background: var(--surface-soft);
}

.note,
.status-note {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(221, 214, 230, 0.9);
}

.status-note[data-state="error"] {
  color: #9f1c1c;
  background: #fff3f3;
  border-color: #f0c2c2;
}

.status-note[data-state="info"] {
  color: var(--teal);
  background: #eff8f7;
  border-color: #bcded9;
}

.status-note[data-state="success"] {
  color: #0e6c57;
  background: #eefaf6;
  border-color: #bfe5d7;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq {
  overflow: hidden;
}

.faq__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 1rem;
  color: var(--ink);
  font-weight: 800;
}

.faq__button::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--primary);
}

.faq__button[aria-expanded="true"]::after {
  content: "−";
}

.faq__panel {
  padding: 0 1.1rem 1.1rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

body[data-page="services"] .faq {
  border: 1px solid rgba(126, 90, 181, 0.14);
  background: rgba(255, 255, 255, 0.96);
}

body[data-page="services"] .faq__button {
  color: var(--ink);
}

body[data-page="services"] .faq__panel {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(126, 90, 181, 0.12);
  background: linear-gradient(180deg, rgba(248, 243, 250, 0.86), rgba(255, 255, 255, 0.98));
  color: var(--primary-deep);
  font-weight: 600;
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
}

.video-card .card__media img {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.about-lab-frame img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-evidence-card {
  height: 100%;
}

.about-evidence-card .card__media--contain {
  padding: 0.75rem;
}

.about-evidence-card .card__media--contain img {
  height: 15rem;
}

.about-qr-panel {
  justify-items: center;
  text-align: center;
}

.about-qr-panel .section__head {
  justify-items: center;
}

.about-qr-frame {
  width: min(100%, 18rem);
  padding: 1rem;
  border: 1px solid rgba(126, 90, 181, 0.14);
  border-radius: calc(var(--radius-sm) - 4px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 240, 249, 0.94));
}

.about-qr-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.cta-banner {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 1.6rem;
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
  box-shadow: var(--shadow-strong);
}

.cta-banner__description {
  color: rgba(255, 255, 255, 0.86);
}

.cta-banner .btn--secondary {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.footer {
  margin-top: 4rem;
  padding: 3rem 0 2rem;
}

.footer__grid {
  grid-template-columns: 1.25fr repeat(2, minmax(0, 1fr));
  align-items: start;
}

.footer__brand-logo {
  width: min(16rem, 60vw);
  height: auto;
}

.footer__title {
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.footer__contact-list {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer__contact-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.15rem;
  row-gap: 0.1rem;
}

.footer__contact-label {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink-soft);
  white-space: nowrap;
  line-height: 1.45;
}

.footer__contact-value,
.footer__contact-link {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

.footer__contact-link {
  text-decoration: none;
}

.footer__contact-link:hover,
.footer__contact-link:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

.footer__list {
  display: grid;
  gap: 0.5rem;
}

.footer__legal {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(221, 214, 230, 0.85);
  font-size: 0.92rem;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 25;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 12px 24px rgba(110, 40, 100, 0.28);
}

.back-to-top::before {
  content: "↑";
  font-size: 1.05rem;
  font-weight: 800;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .trust-summary-grid,
  .grid--4,
  .detail-grid,
  .video-grid,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .station-results {
    grid-template-columns: 1fr;
  }

  .report-preview__summary,
  .report-preview__body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .site-header {
    padding-top: 0.6rem;
    padding-bottom: 0.2rem;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    width: 2.65rem;
    height: 2.65rem;
    margin-left: auto;
  }

  .site-header.is-open .site-nav {
    display: grid;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.22rem);
    padding: 0.52rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-card);
    grid-template-columns: 1fr;
    gap: 0.12rem;
    justify-content: stretch;
    justify-items: stretch;
    align-items: stretch;
    align-content: start;
    flex: none;
    min-width: 0;
  }

  .site-header.is-open .site-nav a {
    justify-content: flex-start;
    width: 100%;
    min-height: 2.6rem;
    padding: 0.72rem 0.9rem;
    border-radius: var(--radius-xs);
  }

  .site-header.is-open .site-nav .lang-link {
    margin-left: 0;
    justify-content: flex-start;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
  }

  .site-header__inner {
    min-height: 4.35rem;
    padding-inline: 0.95rem;
  }

  .hero__grid,
  .split-panel,
  .footer__grid,
  .cta-banner,
  .trust-summary-grid,
  .timeline__item,
  .detail-card__columns,
  .grid--3,
  .grid--4,
  .station-tool,
  .detail-grid,
  .video-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] #home-hero .hero__grid {
    grid-template-columns: 1fr;
  }

  body[data-lang="en"][data-page="home"] #home-hero .hero__grid {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] #home-hero .hero__title {
    font-size: clamp(1.85rem, 4.6vw, 2.5rem);
  }

  body[data-page="home"] #home-hero .hero__copy {
    padding-right: 0;
  }

  body[data-lang="en"][data-page="home"] #home-hero .hero__copy {
    min-width: 0;
    max-width: none;
  }

  body[data-page="home"] #home-hero .hero__media {
    max-width: none;
    justify-self: stretch;
  }

  body[data-lang="en"][data-page="home"] #home-hero .hero__media {
    max-width: none;
    justify-self: stretch;
  }

  body[data-lang="en"][data-page="home"] #home-hero .eyebrow {
    max-width: 30rem;
    font-size: 0.78rem;
    line-height: 1.56;
    letter-spacing: 0.03em;
  }

  body[data-lang="en"][data-page="home"] #home-hero .hero__title-main,
  body[data-lang="en"][data-page="home"] #home-hero .hero__title-subline {
    white-space: normal;
  }

  body[data-lang="en"][data-page="home"] #home-hero .hero__description,
  body[data-lang="en"][data-page="home"] #home-hero .hero__support {
    max-width: none;
  }

  body[data-page="home"] #home-hero .hero-chip {
    display: none;
  }

  .home-proof-list {
    grid-template-rows: none;
    height: auto;
  }

  .report-preview__top {
    display: grid;
  }

  body[data-page="home"] .home-difference__list--reasons .home-difference__item {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 1rem;
    padding-left: 1rem;
  }
}

@media (max-width: 720px) {
  .site-header__inner {
    min-height: 4.15rem;
    padding-inline: 0.88rem;
  }

  .brand__logo {
    width: min(10.2rem, 41vw);
  }

  .section,
  .hero {
    padding-top: 3.7rem;
    padding-bottom: 2.9rem;
  }

  .container {
    width: min(100vw - 2rem, 1180px);
  }

  body[data-page="home"] .home-difference__list--reasons .home-difference__item {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 1.15rem 0 1.15rem 0.95rem;
  }

  body[data-page="home"] .home-difference__list--reasons .home-difference__index {
    padding: 0.4rem 0.74rem;
  }

  body[data-page="home"] .home-difference__list--reasons .home-difference__item::before {
    top: 1rem;
    bottom: 1rem;
    width: 3px;
    box-shadow: 0 0 0 5px rgba(154, 61, 140, 0.06);
  }

  .grid--2,
  .directory-toolbar,
  .contact-card,
  .info-card-grid,
  .social-qr-grid,
  .info-card {
    grid-template-columns: 1fr;
  }

  .hero__actions,
  .cta-banner {
    align-items: stretch;
  }

  .btn,
  .cta-banner .btn--primary,
  .cta-banner .btn--secondary {
    width: 100%;
  }

  .card__media img {
    height: auto;
  }

  .media-frame,
  .hero__image,
  .hero__media,
  .hero__media--stack,
  .report-image-figure,
  .report-preview__image,
  .service-method-figure,
  .card__media,
  .resource-card__media,
  .video-card .card__media {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
  }

  .media-frame img,
  .hero__image--contained img,
  .report-preview__image img,
  .service-use-case-card__media img,
  .service-method-figure img,
  .about-evidence-card .card__media--contain img,
  .resource-card__media img,
  .video-card .card__media img {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
  }

  .report-preview {
    padding: 1rem;
  }

  .eyebrow {
    font-size: 14px;
    line-height: 1.45;
    letter-spacing: 0.05em;
  }

  body[data-page="home"] #home-hero .eyebrow {
    display: block;
    max-width: 100%;
    margin-bottom: 0.9rem;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.03em;
  }

  body[data-page="home"] #home-hero .eyebrow::before {
    display: none;
  }

  .hero__title {
    font-size: clamp(1.68rem, 6.3vw, 2.15rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  body[data-page="home"] #home-hero .hero__title {
    font-size: clamp(1.78rem, 5.9vw, 2.22rem);
    line-height: 1.03;
  }

  body[data-lang="en"][data-page="home"] #home-hero .eyebrow {
    font-size: 0.72rem;
    line-height: 1.58;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: pretty;
  }

  body[data-lang="en"][data-page="home"] #home-hero .hero__eyebrow-line {
    display: block;
  }

  body[data-lang="en"][data-page="home"] #home-hero .hero__eyebrow-line + .hero__eyebrow-line::before {
    content: none;
  }

  body[data-lang="en"][data-page="home"] #home-hero .hero__title {
    font-size: clamp(1.56rem, 6.1vw, 1.98rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-wrap: pretty;
  }

  body[data-lang="en"][data-page="home"] #home-hero .hero__title-main {
    max-width: none;
    text-wrap: pretty;
  }

  body[data-lang="en"][data-page="home"] #home-hero .hero__title-subline {
    max-width: none;
    font-size: 0.72em;
    line-height: 1.16;
    text-wrap: pretty;
  }

  body[data-lang="en"][data-page="home"] #home-hero .hero__title-subline-keep {
    white-space: nowrap;
  }

  body[data-lang="en"][data-page="home"] #home-hero .hero__description {
    font-size: 1rem;
    line-height: 1.56;
  }

  body[data-lang="en"][data-page="home"] #home-hero .hero__support {
    font-size: 0.93rem;
    line-height: 1.74;
  }

  body[data-page="home"] #home-hero .hero__title-subline {
    font-size: 0.78em;
  }

  body[data-page="home"] #home-hero .hero-chip {
    display: none;
  }
}


/* Resource Center v009 */
.resource-page-head {
  padding: 3.4rem 0 2rem;
}

.resource-page-head__inner,
.section__head-inline {
  display: grid;
  gap: 1rem;
}

.resource-page-head__copy {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
}

.resource-page-head__title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.12;
}

body[data-lang="en"][data-page="resources"] .resource-page-head__copy {
  max-width: none;
}

body[data-lang="en"][data-page="resources"] .resource-page-head__title {
  font-size: clamp(1.82rem, 2.4vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.resource-page-head__description,
.resource-index-section__count {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.category-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.category-nav__link.is-current {
  background: var(--primary-soft);
  border-color: rgba(154, 61, 140, 0.22);
  color: var(--primary-deep);
}

.resource-index-section,
.resource-subsection {
  padding-top: 1rem;
}

.resource-list-grid,
.article-gallery {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-card {
  display: grid;
  align-content: start;
  gap: 0.85rem;
}

.resource-card__media {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: rgba(234, 222, 238, 0.45);
}

.resource-card__media img,
.article-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-cover img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.resource-card__meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.resource-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  background: rgba(154, 61, 140, 0.12);
  color: var(--primary-deep);
  font-weight: 700;
}

.resource-index-section__footer,
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.4rem;
}

.resource-page-head--article {
  padding-bottom: 1.25rem;
}

.article-copy-wrap {
  max-width: 52rem;
}

.resource-page-head--article .article-copy-wrap,
.resource-page-head--article .resource-page-head__copy {
  max-width: none;
}

.article-media-section,
.article-body-section,
.related-resources-section {
  padding-top: 0.8rem;
}

.article-embed {
  width: min(100%, 52rem);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.article-embed iframe,
.article-embed video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}

.article-embed iframe {
  border: 0;
}

.article-embed video {
  background: #000;
  object-fit: cover;
}

.article-cover {
  margin: 0;
  width: min(100%, 52rem);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.article-gallery {
  width: min(100%, 52rem);
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  min-height: 13rem;
}

.rich-text {
  display: grid;
  gap: 1rem;
  width: min(100%, 52rem);
  margin: 0 auto;
}

.rich-text p {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.9;
}

.article-figure-caption {
  color: var(--ink-soft) !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
}

[data-load-more-item][hidden] {
  display: none !important;
}

@media (max-width: 1024px) {
  .resource-list-grid,
  .article-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .resource-page-head {
    padding-top: 2.6rem;
    padding-bottom: 1.35rem;
  }

  .resource-list-grid,
  .article-gallery {
    grid-template-columns: 1fr;
  }

  .category-nav {
    flex-wrap: nowrap;
  }
}

/* Keep English resource article titles readable on desktop. */
@media (min-width: 961px) {
  body[data-lang="en"][data-page="resources"] .resource-page-head__title {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  body[data-lang="en"][data-page="resources"] .resource-page-head__description {
    overflow-wrap: anywhere;
  }
}

