/* Shared reading scale and narrative layout. Load after the page styles. */
:root {
  --reading-body: 18px;
  --reading-leading: 1.7;
  --reading-meta: 13px;
  --reading-label: 12px;
  --reading-rule: #b7c1ac;
  --reading-muted: #4e5c46;
  --reading-heading: clamp(38px, 3.7vw, 54px);
}

body[data-page] {
  font-size: var(--reading-body);
  line-height: var(--reading-leading);
}

body[data-page] main :is(
  .editorial-intro > p, .latest-heading-row > p, .section-intro,
  .case-summary, .service-step-content > .service-summary,
  .service-more-body > p, .platform-proof-copy > p,
  .activity-summary, .social-heading > p,
  .company-hero-bottom > div > p,
  .company-hero-bottom .read-more-content > p,
  .read-more-content > p, .chapter-lead, .capability-summary,
  .capability-detail-body p, .capability-detail-body li,
  .channel-detail p, .service-evidence > p,
  .founder-body, .timeline-description p, .regional-experience > p,
  .partnership-steps p, .entity-role, .past-brands-content > p,
  .past-brand-copy, .case-study-intro, .case-section-heading > p,
  .dual-market-copy p, .case-pillar > p, .case-pillar li,
  .case-commerce p, .case-timeline-entry p,
  .case-conclusion > div > p, .case-relationship p,
  .contact-bottom > p
) {
  font-size: var(--reading-body);
  line-height: var(--reading-leading);
  letter-spacing: 0;
}

body[data-page] main :is(
  .section-heading h2, .latest-heading-row h2, .company-chapter > h2,
  .social-heading h2, .case-section-heading h2, .case-conclusion h2
) {
  font-size: var(--reading-heading);
  line-height: 1.12;
  letter-spacing: -.04em;
  text-wrap: balance;
}

body[data-page][data-lang="zh"] main :is(
  .section-heading h2, .latest-heading-row h2, .company-chapter > h2,
  .social-heading h2, .case-section-heading h2, .case-conclusion h2
) {
  font-size: var(--reading-heading);
  line-height: 1.35;
  letter-spacing: -.025em;
}

body[data-page] main :is(
  .section-index, .tiny-label, .experience-label,
  .case-section-heading > .section-index,
  .case-conclusion .section-index
) {
  font-size: var(--reading-label);
  line-height: 1.6;
  letter-spacing: .07em;
}

body[data-page] main :is(
  .case-labels, .case-category, .work-footnote,
  .work-closing .work-footnote, .service-number,
  .case-source-note, .case-status, .personal-note,
  .founder-evidence figcaption, .culture-figure figcaption,
  .commerce-figure figcaption, .case-materials figcaption,
  .case-study-cover figcaption, .case-collateral figcaption,
  .case-fieldwork-layout figcaption,
  .case-timeline-entry time, .experience-date,
  .entity-id dt, .past-brand-status
) {
  font-size: var(--reading-meta);
  line-height: 1.65;
  letter-spacing: 0;
}

body[data-page] #founder-project-details > .read-more-content > .personal-note {
  font-size: var(--reading-meta);
  line-height: 1.7;
}

body[data-page] main :is(
  .inline-arrow, .case-film, .capability-evidence,
  .channel-link, .text-button, .image-case-link,
  .case-commerce .inline-arrow, .case-conclusion .inline-arrow
) {
  min-height: 48px;
  font-size: 16px;
  line-height: 1.5;
  padding-block: 11px;
}

body[data-page] .read-more > summary,
body[data-page] .past-brands > summary {
  min-height: 60px;
  font-size: 16px;
  line-height: 1.5;
  padding-block: 18px;
}

body[data-page] :is(p, h1, h2, h3, dd, li) {
  overflow-wrap: break-word;
}

/* A complete bilingual identity remains visible at every width. */
body[data-page] .site-header {
  height: auto;
  min-height: 100px;
  padding-block: 15px;
  gap: 24px;
}

body[data-page] .wordmark {
  flex: 0 1 350px;
  min-width: 0;
  gap: 14px;
  letter-spacing: 0;
}

body[data-page] .header-logo {
  width: 58px;
  height: 52px;
  flex-shrink: 0;
}

body[data-page] .wordmark-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  border: 0;
  padding: 0;
  white-space: normal;
  line-height: 1.35;
}

.wordmark-en { display: block; font-size: 14px; font-weight: 700; }
.wordmark-zh { display: block; font-size: 17px; font-weight: 400; }

body[data-page] .desktop-nav {
  font-size: 15px;
  gap: 24px;
  line-height: 1.4;
}

body[data-page] .header-actions { flex-shrink: 0; gap: 16px; }
body[data-page] .header-contact { min-height: 48px; font-size: 15px; }
body[data-page] .header-instagram { min-height: 44px; font-size: 13px; }
body[data-page] .language-switch { align-items: center; gap: 2px; }
body[data-page] .language-switch button { min-width: 35px; min-height: 44px; font-size: 14px; }

/* Entrance: identity, promise, one explanation, then two clear directions. */
body[data-page="home"] .editorial-hero {
  padding-top: 44px;
  padding-bottom: 54px;
}

body[data-page="home"] .editorial-hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 5%;
}

body[data-page] .hero-company-name {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: .015em;
}

body[data-page] .editorial-hero .hero-eyebrow {
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .025em;
}

body[data-page] .editorial-hero h1 {
  font-size: clamp(54px, 5.9vw, 96px);
  line-height: .99;
  letter-spacing: -.06em;
}

body[data-page][data-lang="zh"] .editorial-hero h1 {
  font-size: clamp(43px, 5.1vw, 80px);
  line-height: 1.25;
  letter-spacing: -.035em;
}

body[data-page] .editorial-intro { margin-top: 26px; max-width: 560px; }
body[data-page] .editorial-intro > p { max-width: 50ch; color: var(--reading-muted); }
body[data-page] .hero-scope { display: block; margin-top: 16px; font-size: 14px; line-height: 1.6; color: #526046; letter-spacing: 0; }

.hero-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 14px 24px; margin-top: 26px; }
body[data-page] .hero-actions > a { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin: 0; font-size: 16px; line-height: 1.4; gap: 18px; }
body[data-page] .hero-actions .hero-primary { background: var(--ink); color: var(--paper); padding: 14px 22px; border: 1px solid var(--ink); border-radius: 2px; }
body[data-page] .hero-actions .hero-primary:hover { background: #30392a; }
body[data-page] .hero-actions .secondary { padding: 12px 0; border-bottom: 1px solid #7b8b6a; }

body[data-page] .editorial-cover { aspect-ratio: 4 / 3; height: auto; }
body[data-page] .editorial-cover-image { object-position: center 54%; }
body[data-page] .editorial-cover figcaption > span { font-size: 12px; line-height: 1.5; }
body[data-page] .editorial-cover figcaption > p { font-size: 15px; line-height: 1.55; }
body[data-page] .editorial-cover .image-case-link { min-height: 48px; font-size: 16px; }

body[data-page] .editorial-hero .proof-strip { margin-top: 34px; padding-bottom: 28px; }
body[data-page] .editorial-hero .proof-number { font-size: 54px; }
body[data-page] .editorial-hero .proof-strip p { font-size: 14px; line-height: 1.55; }
body[data-page] .editorial-hero .proof-strip .proof-statement p { font-size: 26px; line-height: 1.3; }
body[data-page] .proof-statement .tiny-label { font-size: 12px; }

/* Selected work leads with the broadest evidence, followed by two cases. */
body[data-page="home"] .work { padding-top: 62px; padding-bottom: 70px; }
body[data-page] .section-heading { margin-top: 30px; margin-bottom: 38px; align-items: flex-end; gap: 32px; }
body[data-page] .section-intro { max-width: 410px; }
body[data-page] .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 38px; }
body[data-page] .work-card:nth-child(even) { padding-top: 0; }
body[data-page] .work-card:first-child { grid-column: 1 / -1; }

body[data-page] .work .case-image,
body[data-page] .work .work-card:nth-child(even) .case-image {
  height: auto;
  aspect-ratio: 3 / 2;
  background: #dce1d4;
}

body[data-page] .work .case-image img,
body[data-page] .work .case-button:hover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
  filter: none;
}

body[data-page] .work .case-hover { display: none; }
body[data-page] .work .case-capability { margin-top: 20px; font-size: 14px; line-height: 1.55; color: #4d6d31; font-weight: 700; letter-spacing: .025em; }
body[data-page] .work .case-labels { min-height: 0; padding: 10px 0 13px; gap: 16px; font-size: 13px; line-height: 1.5; letter-spacing: .015em; }
body[data-page] .work .case-labels > span { white-space: normal; }
body[data-page] .work .case-button h3,
body[data-page][data-lang="zh"] .work .case-button h3 { min-height: 0; margin: 0; font-size: 32px; line-height: 1.3; letter-spacing: -.025em; }
body[data-page] .work .case-summary { max-width: 60ch; margin-top: 16px; color: var(--reading-muted); }
body[data-page] .work .case-proof { margin-top: 22px; padding-top: 18px; align-items: flex-end; gap: 20px; }
body[data-page] .work .case-proof strong { font-size: 42px; line-height: 1.1; }
body[data-page] .work .case-proof span { max-width: none; font-size: 13px; line-height: 1.5; }
body[data-page] .work .case-proof > .case-cta { min-height: 48px; display: inline-flex; align-items: center; gap: 14px; font-size: 16px; flex-shrink: 0; }

body[data-page] .work-card:first-child .case-button {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  column-gap: 42px;
  row-gap: 13px;
  align-items: start;
}

body[data-page] .work-card:first-child .case-button > * { min-width: 0; }
body[data-page] .work-card:first-child .case-button > .case-image { grid-column: 1; grid-row: 1 / span 6; }
body[data-page] .work-card:first-child .case-button > :not(.case-image) { grid-column: 2; }
body[data-page] .work-card:first-child .case-capability { margin-top: 0; }
body[data-page] .work-card:first-child .case-labels { padding: 0; }
body[data-page] .work-card:first-child .case-button h3 { font-size: clamp(30px, 3.2vw, 46px); }
body[data-page] .work-card:first-child .case-summary { margin-top: 0; }
body[data-page] .work-card:first-child .case-proof { margin-top: 6px; }
body[data-page] .work-closing { margin-top: 36px; padding-top: 24px; gap: 28px; align-items: center; }
body[data-page] .work-closing .work-footnote { max-width: 64ch; }

body[data-page] .marquee { padding-block: 20px; }
body[data-page] .marquee span { font-size: 18px; line-height: 1.3; }

/* Four connected responsibilities, each understandable before expansion. */
body[data-page] .expertise { padding-top: 72px; padding-bottom: 74px; }
body[data-page] .expertise .section-intro { color: #c0cab5; }
.service-step { display: grid; grid-template-columns: minmax(230px, .9fr) minmax(0, 1.1fr); gap: 6%; padding: 31px 0; border-bottom: 1px solid #ffffff2c; }
.service-heading { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: baseline; gap: 16px; }
body[data-page] .service-heading .service-number { color: #b8cd98; padding: 0; font-size: 13px; }
.service-heading h3 { font-size: 32px; line-height: 1.25; letter-spacing: -.025em; }
body[data-lang="zh"] .service-heading h3 { font-size: 30px; line-height: 1.4; }
.service-step-content { min-width: 0; }
.service-step-content > .service-summary { margin: 0; max-width: 58ch; color: #e1e7d8; }
.service-more { margin-top: 19px; border-top: 1px solid #ffffff25; }
.service-more > summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 48px; padding: 12px 0; cursor: pointer; list-style: none; font-size: 16px; line-height: 1.5; color: var(--lime); }
.service-more > summary::-webkit-details-marker { display: none; }
.service-more-body { padding: 7px 0 15px; }
.service-more-body > p { color: #bdc8b1; }
body[data-page] .service-more-body .service-proof { display: inline-flex; align-items: center; gap: 16px; margin-top: 17px; min-height: 48px; padding-block: 10px; font-size: 16px; line-height: 1.5; color: var(--lime); border-bottom: 1px solid #b8cd9866; }

body[data-page] .platform-proof { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 6%; align-items: center; margin-top: 44px; padding-top: 42px; }
body[data-page] .platform-proof-visual { padding: 16px; }
body[data-page] .platform-proof-copy h3 { font-size: 34px; line-height: 1.25; margin: 16px 0 20px; }
body[data-page] .platform-proof-copy > p { color: #c2ccb8; }
body[data-page] .platform-proof-copy .inline-arrow { font-size: 16px; }

/* Activity cards open a local detail view; source links live inside it. */
body[data-page] .latest { padding-top: 70px; padding-bottom: 72px; }
body[data-page] .latest-heading-row { align-items: flex-end; border: 0; padding: 0; margin-bottom: 36px; gap: 32px; }
body[data-page] .latest-heading-row h2 { margin-top: 16px; }
body[data-page] .latest-heading-row > p { max-width: 380px; color: var(--reading-muted); }
body[data-page] .latest .latest-stories { display: block; }
.activity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 30px; row-gap: 36px; }
.activity-card { min-width: 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "image meta" "image title" "summary summary" "read read"; gap: 13px 17px; align-content: start; border-top: 1px solid var(--reading-rule); padding-top: 25px; }
.activity-card-copy { display: contents; }
.activity-image-trigger { grid-area: image; align-self: start; display: block; width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; background: transparent; }
.activity-image-trigger img { display: block; width: 100%; height: auto; object-fit: contain; transform: none; }
.activity-card-meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 12px; min-width: 0; color: var(--reading-muted); }
.activity-card .activity-card-meta :is(.activity-status, time) { font-size: 13px; line-height: 1.55; letter-spacing: 0; white-space: normal; }
.activity-card:is(.is-upcoming, .is-today) .activity-status { display: inline-block; margin: 0; padding: 4px 9px; background: var(--ink); color: var(--lime); }
.activity-card-copy > h3 { grid-area: title; min-width: 0; margin: 0; font-size: 25px; line-height: 1.3; letter-spacing: -.025em; }
.activity-title-trigger { display: block; width: 100%; padding: 0; text-align: left; font: inherit; line-height: inherit; letter-spacing: inherit; color: var(--ink); background: none; }
.activity-title-trigger:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
body[data-page] .activity-card .activity-summary { grid-area: summary; max-width: none; margin: 3px 0 0; font-size: var(--reading-body); line-height: var(--reading-leading); color: var(--reading-muted); }
.activity-read { grid-area: read; justify-self: start; display: inline-flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 48px; margin-top: 3px; padding: 11px 0; border-bottom: 1px solid #71845f; background: none; color: var(--ink); font-size: 16px; line-height: 1.5; text-align: left; }
.activity-read:hover { color: #3e621e; border-color: currentColor; }
.activity-featured { grid-column: 1 / -1; grid-template-columns: minmax(210px, 290px) minmax(0, 1fr); grid-template-areas: "image meta" "image title" "image summary" "image read"; grid-template-rows: auto auto 1fr auto; column-gap: clamp(32px, 5vw, 70px); row-gap: 18px; padding-top: 30px; padding-bottom: 4px; }
.activity-featured .activity-card-copy > h3 { font-size: clamp(32px, 3.2vw, 46px); line-height: 1.2; max-width: 24ch; }
.activity-featured .activity-summary { max-width: 58ch; }
.activity-featured .activity-read { align-self: end; }
body[data-lang="zh"] .activity-card-copy > h3 { line-height: 1.4; }

.activity-dialog { width: min(920px, calc(100vw - 40px)); max-width: 920px; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); margin: auto; padding: 0; border: 0; border-radius: 0; background: var(--paper); color: var(--ink); box-shadow: 0 24px 90px #10150e55; overflow-y: auto; overscroll-behavior: contain; }
.activity-dialog::backdrop { background: #11170ec9; backdrop-filter: blur(3px); }
.activity-dialog-close { position: sticky; z-index: 2; top: 12px; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; min-width: 48px; margin: 12px 14px -48px auto; padding: 0; border: 1px solid #9da991; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 28px; line-height: 1; }
.activity-dialog-content { padding: 42px 40px 38px; }
.activity-dialog-overline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-right: 50px; font-size: 13px; line-height: 1.6; color: var(--reading-muted); }
.activity-dialog-overline :is(.activity-status, time) { margin: 0; font-size: 13px; line-height: 1.6; letter-spacing: 0; }
.activity-dialog-content > h2 { margin-top: 18px; padding-right: 18px; font-size: clamp(30px, 3.3vw, 44px); line-height: 1.17; letter-spacing: -.035em; }
body[data-lang="zh"] .activity-dialog-content > h2 { line-height: 1.35; }
.activity-dialog-body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; margin-top: 26px; }
.activity-dialog-image { display: block; width: 100%; height: auto; max-height: 60vh; object-fit: contain; object-position: top left; }
.activity-dialog .activity-dialog-description { margin: 0; font-size: var(--reading-body); line-height: var(--reading-leading); color: var(--reading-muted); }
.activity-source-list { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--reading-rule); }
.activity-source-list > h3 { font-size: 22px; line-height: 1.4; letter-spacing: -.015em; margin-bottom: 18px; }
.activity-source-item { padding: 20px 0; border-bottom: 1px solid var(--reading-rule); }
.activity-source-item:first-of-type { padding-top: 0; }
.activity-source-item:last-child { border-bottom: 0; padding-bottom: 0; }
.activity-source-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 12px; }
.activity-source-link, .copy-activity-link { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 12px 18px; border: 1px solid var(--ink); border-radius: 2px; font-size: 16px; line-height: 1.5; }
.activity-source-link { background: var(--ink); color: var(--paper); }
.activity-source-link:hover { background: #30392a; }
.copy-activity-link { background: transparent; color: var(--ink); }
.copy-activity-link:hover { background: #dce3d3; }
.source-address { margin-top: 12px; }
.source-address > summary { min-height: 44px; padding: 10px 0; font-size: 14px; line-height: 1.6; color: var(--reading-muted); cursor: pointer; }
.source-address > label { display: block; margin: 8px 0; font-size: 13px; line-height: 1.6; }
.source-address .source-url { display: block; width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #97a58a; border-radius: 0; background: #ffffff70; color: var(--ink); font-size: 16px; line-height: 1.5; }
.source-url:focus-visible { outline: 3px solid #719c26; outline-offset: 3px; }
.activity-dialog .activity-copy-status { min-height: 1.6em; margin: 10px 0 0; font-size: 13px; line-height: 1.6; color: #476331; }

/* The directory is a practical next destination, not another introduction. */
body[data-page="home"] .social-directory { display: block; padding-top: 62px; padding-bottom: 62px; }
body[data-page="home"] .social-heading { display: block; }
body[data-page="home"] .social-heading h2 { margin-top: 16px; }
body[data-page="home"] .social-heading > p { display: block; max-width: 60ch; margin-top: 18px; }
body[data-page="home"] .channel-links { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-top: 30px; }
body[data-page="home"] .channel-link-row { display: block; border-top: 1px solid var(--line); padding: 22px 0 0; }
body[data-page="home"] .channel-link-name h3 { min-height: 0; font-size: 23px; line-height: 1.3; }
body[data-page="home"] .channel-link-name p { font-size: 14px; line-height: 1.6; margin-top: 8px; }
body[data-page="home"] .channel-link-actions { flex-direction: column; align-items: flex-start; gap: 5px; margin-top: 14px; }
body[data-page="home"] .channel-link { max-width: 100%; min-height: 48px; font-size: 16px; padding-block: 10px; }

/* Company and case-study pages use the same reading scale. */
body[data-page] .company-name-zh { margin: 0 0 16px; font-size: 24px; line-height: 1.5; font-weight: 700; }
body[data-page] .company-scope { margin: 23px 0 0; max-width: 62ch; font-size: var(--reading-body); line-height: var(--reading-leading); color: var(--reading-muted); }
body[data-page] .company-hero h1 { font-size: clamp(48px, 6.2vw, 96px); line-height: 1.05; }
body[data-page][data-lang="zh"] .company-hero h1 { font-size: clamp(42px, 5.3vw, 78px); line-height: 1.25; }
body[data-page] .company-hero-lead { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.55 !important; }
body[data-page][data-lang="zh"] .company-hero-lead { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.6 !important; }
body[data-page] .company-facts dt { font-size: 13px; line-height: 1.5; }
body[data-page] .company-facts dd { font-size: var(--reading-body); line-height: 1.6; }
body[data-page] .company-index nav a { min-height: 48px; font-size: 15px; line-height: 1.5; padding-block: 13px; }
body[data-page] .chapter-lead { max-width: 64ch; margin-top: 24px; }
body[data-page] .capability-disclosure > .capability-detail-heading { grid-template-columns: 30px minmax(0, 1fr) 25px; gap: 18px; padding-block: 27px; }
.capability-title-group { min-width: 0; }
body[data-page] .capability-title-group h3,
body[data-page][data-lang="zh"] .capability-title-group h3 { font-size: 28px; line-height: 1.35; letter-spacing: -.02em; }
body[data-page] .capability-title-group .capability-summary { margin-top: 12px; font-size: var(--reading-body); line-height: var(--reading-leading); color: var(--reading-muted); font-weight: 400; }
body[data-page] .capability-detail .capability-number { font-size: 13px; line-height: 1.5; }
body[data-page] .scope-note { font-size: 15px; line-height: 1.7; }

.channel-map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 28px 0; padding: 0; border-block: 1px solid var(--line); }
.channel-map li { min-width: 0; padding: 22px 16px; border-left: 1px solid var(--line); font-size: 18px; line-height: 1.5; font-weight: 700; }
.channel-map li:first-child { border-left: 0; padding-left: 0; }
body[data-page] .network-evidence { padding: 28px 0; background: transparent; border-block: 1px solid var(--line); }
body[data-page] .network-evidence h3 { font-size: 25px; line-height: 1.4; }
body[data-page] .network-evidence p { font-size: 15px; line-height: 1.65; }
body[data-page] .channel-detail h3,
body[data-page] .partnership-steps h3 { font-size: 26px; line-height: 1.35; }
body[data-page] .founder-heading p { font-size: 15px; line-height: 1.6; }
body[data-page] .founder-timeline :is(h3, strong) { font-size: 21px; line-height: 1.45; }
body[data-page] .founder-timeline .experience-date { font-size: 13px; line-height: 1.6; }
body[data-page] .founder-timeline p { font-size: var(--reading-body); line-height: var(--reading-leading); }
body[data-page] .entity-name h3 { font-size: 24px; line-height: 1.4; }
body[data-page] .entity-name p { font-size: 15px; line-height: 1.6; }
body[data-page] .entity-id dd { font-size: 19px; }
body[data-page] .past-brand-row h3 { font-size: 24px; line-height: 1.4; }

body[data-page="ayunche"] .case-study-heading { margin-block: 32px; }
body[data-page="ayunche"] .case-brand-name { font-size: 34px; }
body[data-page="ayunche"] .case-study-hero h1 { font-size: clamp(42px, 4.4vw, 64px); line-height: 1.12; }
body[data-page="ayunche"][data-lang="zh"] .case-study-hero h1 { font-size: clamp(36px, 3.7vw, 54px); line-height: 1.4; }
body[data-page="ayunche"] .case-results { margin-top: 0; padding-block: 26px; }
body[data-page="ayunche"] .case-results p { font-size: 15px; line-height: 1.6; }
body[data-page="ayunche"] .case-source-note { margin-top: 16px; margin-bottom: 28px; }
body[data-page="ayunche"] .case-study-cover > img { width: 100%; height: auto; }
body[data-page="ayunche"] figcaption { font-size: 13px; line-height: 1.65; }
body[data-page="ayunche"] .dual-market-copy h3 { font-size: 23px; line-height: 1.45; }
body[data-page="ayunche"] .case-pillar h3,
body[data-page="ayunche"][data-lang="zh"] .case-pillar h3 { font-size: 27px; line-height: 1.4; }
body[data-page="ayunche"] .case-commerce h3,
body[data-page="ayunche"][data-lang="zh"] .case-commerce h3 { font-size: 32px; line-height: 1.3; }
body[data-page="ayunche"] .case-timeline-entry h3,
body[data-page="ayunche"][data-lang="zh"] .case-timeline-entry h3 { font-size: 24px; line-height: 1.4; }
.material-archive { margin-top: 30px; }
.material-archive > summary { min-height: 58px; padding-block: 17px; font-size: 16px; line-height: 1.5; cursor: pointer; }
.material-archive .case-collateral { margin-top: 24px; }

body[data-page] .contact-bottom > p { max-width: 58ch; }
body[data-page] .contact-email > a { font-size: clamp(22px, 2.7vw, 36px); line-height: 1.4; overflow-wrap: anywhere; }
body[data-page] .site-footer { font-size: 13px; line-height: 1.6; }
body[data-page] .footer-identity strong { font-size: 14px; line-height: 1.5; }
body[data-page] .footer-identity > div > span { font-size: 13px; line-height: 1.6; }
body[data-page] .footer-links { font-size: 14px; }
body[data-page] .footer-links a { min-height: 44px; display: inline-flex; align-items: center; }

@media (max-width: 1180px) {
  body[data-page] .desktop-nav { display: none; }
  body[data-page] .header-contact { display: none; }
  body[data-page] .menu-toggle { display: flex; flex-direction: column; gap: 6px; min-width: 42px; min-height: 44px; align-items: center; justify-content: center; }
  body[data-page] .menu-toggle span { margin: 0; flex-shrink: 0; }
  body[data-page] .wordmark { flex-basis: 360px; margin-right: auto; }
  .activity-grid { column-gap: 24px; }
  .activity-card { grid-template-columns: 80px minmax(0, 1fr); column-gap: 14px; }
  .activity-featured { grid-template-columns: 260px minmax(0, 1fr); column-gap: 40px; }
}

@media (max-width: 1024px) {
  body[data-page] .work-card:first-child .case-button { display: block; }
  body[data-page] .work-card:first-child .case-capability { margin-top: 22px; }
  body[data-page] .work-card:first-child .case-labels { padding-block: 10px 13px; }
  body[data-page] .work-card:first-child .case-summary { margin-top: 16px; }
  body[data-page] .work-card:first-child .case-proof { margin-top: 22px; }
  .activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activity-card { grid-template-columns: 96px minmax(0, 1fr); column-gap: 18px; }
  .activity-featured { grid-template-columns: 240px minmax(0, 1fr); column-gap: 32px; }
  body[data-page="home"] .channel-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --reading-body: 17px; --reading-heading: 32px; --pad: 22px; }
  body[data-page] .site-header { min-height: 80px; gap: 8px; padding: 12px 14px; }
  body[data-page] .wordmark { flex: 1 1 auto; margin: 0; gap: 10px; }
  body[data-page] .header-logo { width: 40px; height: 38px; }
  body[data-page] .wordmark-name { display: flex; gap: 3px; }
  .wordmark-en { font-size: 12px; line-height: 1.3; }
  .wordmark-zh { font-size: 15px; line-height: 1.4; }
  body[data-page] .header-actions { gap: 5px; }
  body[data-page] .header-instagram { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; gap: 0; }
  body[data-page] .header-instagram > span { display: none; }
  body[data-page] .header-instagram svg { width: 22px; height: 22px; }
  body[data-page] .language-switch { gap: 1px; }
  body[data-page] .language-switch button { min-width: 33px; padding-inline: 3px; }
  body[data-page] .menu-toggle { min-width: 40px; width: 40px; padding-inline: 7px; }
  body[data-page] .mobile-nav { padding: 15px var(--pad) 24px; }
  body[data-page] .mobile-nav a { font-size: 22px; min-height: 48px; padding-block: 12px; }

  body[data-page="home"] .editorial-hero { padding-top: 29px; padding-bottom: 36px; }
  body[data-page="home"] .editorial-hero-layout { display: block; }
  body[data-page] .hero-company-name { font-size: 20px; line-height: 1.5; margin-bottom: 8px; }
  body[data-page] .editorial-hero .hero-eyebrow { font-size: 13px; line-height: 1.55; margin-bottom: 24px; }
  body[data-page] .editorial-hero h1 { font-size: clamp(50px, 12vw, 78px); line-height: 1; letter-spacing: -.06em; }
  body[data-page][data-lang="zh"] .editorial-hero h1 { font-size: clamp(37px, 9.1vw, 58px); line-height: 1.25; letter-spacing: -.03em; }
  body[data-page] .editorial-intro { margin-top: 23px; max-width: none; }
  body[data-page] .hero-scope { margin-top: 15px; font-size: 14px; line-height: 1.6; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 23px; }
  body[data-page] .hero-actions > a { gap: 10px; min-height: 52px; text-align: center; }
  body[data-page] .hero-actions .hero-primary { padding: 13px 14px; }
  body[data-page] .hero-actions .secondary { padding: 12px 5px; }
  body[data-page] .editorial-cover { margin-top: 28px; }
  body[data-page] .editorial-cover figcaption { left: 20px; right: 20px; bottom: 87px; }
  body[data-page] .editorial-cover figcaption > span { font-size: 12px; }
  body[data-page] .editorial-cover figcaption > p { font-size: 14px; max-width: 27ch; }
  body[data-page] .editorial-cover .image-case-link { left: 20px; bottom: 20px; font-size: 16px; padding: 12px 17px; }
  body[data-page] .editorial-hero .proof-strip { margin-top: 28px; padding-bottom: 26px; }
  body[data-page] .editorial-hero .proof-number { font-size: 44px; }
  body[data-page] .editorial-hero .proof-strip p { font-size: 13px; line-height: 1.55; }
  body[data-page] .editorial-hero .proof-strip .proof-statement p { font-size: 23px; line-height: 1.35; }

  body[data-page] .section-topline { font-size: 12px; align-items: flex-start; gap: 18px; padding-bottom: 20px; }
  body[data-page] .section-heading { display: block; margin-top: 26px; margin-bottom: 30px; }
  body[data-page] .section-intro { max-width: none; margin-top: 20px; }
  body[data-page="home"] .work { padding-top: 44px; padding-bottom: 46px; }
  body[data-page] .work-grid { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  body[data-page] .work-card:first-child { grid-column: auto; }
  body[data-page] .work .case-capability { margin-top: 18px; font-size: 13px; }
  body[data-page] .work .case-labels { padding: 9px 0 12px; font-size: 13px; }
  body[data-page] .work .case-button h3,
  body[data-page][data-lang="zh"] .work .case-button h3,
  body[data-page] .work-card:first-child .case-button h3 { font-size: 27px; line-height: 1.35; }
  body[data-page] .work .case-summary { margin-top: 14px; }
  body[data-page] .work .case-proof { margin-top: 19px; padding-top: 16px; gap: 18px; flex-wrap: wrap; }
  body[data-page] .work .case-proof strong { font-size: 38px; }
  body[data-page] .work .case-proof > .case-cta { font-size: 16px; }
  body[data-page] .work-closing { display: block; margin-top: 29px; padding-top: 22px; }
  body[data-page] .work-closing .inline-arrow { margin-top: 19px; }
  body[data-page] .marquee { padding-block: 17px; }
  body[data-page] .marquee span { font-size: 16px; }

  body[data-page] .expertise { padding-block: 45px 48px; }
  .service-step { display: block; padding: 27px 0; }
  .service-heading { grid-template-columns: 25px minmax(0, 1fr); gap: 13px; }
  .service-heading h3,
  body[data-lang="zh"] .service-heading h3 { font-size: 26px; line-height: 1.4; }
  .service-step-content { margin-top: 16px; }
  .service-more { margin-top: 16px; }
  body[data-page] .platform-proof { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 32px; padding-top: 32px; }
  body[data-page] .platform-proof-visual { padding: 12px; }
  body[data-page] .platform-proof-copy h3 { font-size: 28px; line-height: 1.35; margin: 15px 0 18px; }

  body[data-page] .latest { padding-block: 46px 48px; }
  body[data-page] .latest-heading-row { display: block; border: 0; margin-bottom: 29px; padding: 0; }
  body[data-page] .latest-heading-row > p { max-width: none; margin-top: 19px; }
  .activity-grid { grid-template-columns: minmax(0, 1fr); row-gap: 29px; }
  .activity-card,
  .activity-featured { grid-column: auto; grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "image meta" "image title" "summary summary" "read read"; grid-template-rows: auto; gap: 13px 18px; padding: 24px 0 0; }
  .activity-card-copy > h3,
  .activity-featured .activity-card-copy > h3 { max-width: none; font-size: 25px; line-height: 1.35; }
  body[data-lang="zh"] .activity-card-copy > h3 { line-height: 1.4; }
  .activity-card-meta { gap: 7px; }
  .activity-card .activity-card-meta :is(.activity-status, time) { font-size: 13px; line-height: 1.55; }
  body[data-page] .activity-card .activity-summary { margin-top: 3px; }
  .activity-read { justify-self: stretch; width: 100%; min-height: 48px; font-size: 16px; margin-top: 2px; }

  .activity-dialog { width: calc(100vw - 20px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  .activity-dialog-close { top: 10px; margin-top: 10px; margin-right: 10px; }
  .activity-dialog-content { padding: 34px 22px 26px; }
  .activity-dialog-overline { padding-right: 48px; }
  .activity-dialog-content > h2 { font-size: 30px; line-height: 1.25; padding-right: 0; margin-top: 20px; }
  .activity-dialog-body { display: block; margin-top: 23px; }
  .activity-dialog-image { width: min(100%, 340px); height: auto; max-height: none; margin: 0 auto 23px; }
  .activity-source-list { margin-top: 26px; padding-top: 22px; }
  .activity-source-list > h3 { font-size: 22px; }
  .activity-source-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .activity-source-link, .copy-activity-link { width: 100%; font-size: 16px; }

  body[data-page="home"] .social-directory { padding-block: 44px 45px; }
  body[data-page="home"] .channel-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 22px; margin-top: 26px; }
  body[data-page="home"] .channel-link-row { padding-top: 19px; }
  body[data-page="home"] .channel-link-name h3 { font-size: 21px; }
  body[data-page="home"] .channel-link-name p { font-size: 13px; }
  body[data-page="home"] .channel-link-actions { gap: 3px; margin-top: 12px; }
  body[data-page="home"] .channel-link { font-size: 16px; min-height: 48px; }

  body[data-page] .company-name-zh { margin-bottom: 13px; font-size: 20px; }
  body[data-page] .company-hero h1 { font-size: clamp(42px, 10.3vw, 65px); line-height: 1.1; }
  body[data-page][data-lang="zh"] .company-hero h1 { font-size: clamp(36px, 9.2vw, 55px); line-height: 1.3; }
  body[data-page] .company-scope { margin-top: 19px; }
  body[data-page] .company-hero-lead,
  body[data-page][data-lang="zh"] .company-hero-lead { font-size: 24px; }
  body[data-page] .company-facts > div { min-width: 0; padding: 18px 12px 18px 0; }
  body[data-page] .company-facts dt { font-size: 13px; }
  body[data-page] .company-facts dd { font-size: 17px; }
  body[data-page] .company-index nav a { font-size: 14px; min-height: 48px; }
  body[data-page] .company-chapter { margin-bottom: 30px; padding-bottom: 36px; }
  body[data-page] .chapter-lead { margin-top: 20px; }
  body[data-page] .capability-disclosure > .capability-detail-heading { grid-template-columns: 23px minmax(0, 1fr) 24px; gap: 12px; padding-block: 24px; }
  body[data-page] .capability-title-group h3,
  body[data-page][data-lang="zh"] .capability-title-group h3 { font-size: 25px; line-height: 1.4; }
  body[data-page] .capability-title-group .capability-summary { margin-top: 10px; }
  body[data-page] .capability-disclosure .capability-detail-body { padding: 0 0 24px; }
  .channel-map { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 24px; }
  .channel-map li { padding: 18px 14px; font-size: 17px; }
  .channel-map li:nth-child(3) { border-left: 0; padding-left: 0; }
  .channel-map li:nth-child(n+3) { border-top: 1px solid var(--line); }
  body[data-page] .network-evidence { padding: 24px 0; }
  body[data-page] .network-evidence h3 { font-size: 23px; }
  body[data-page] .network-evidence p { font-size: 14px; }
  body[data-page] .channel-detail h3,
  body[data-page] .partnership-steps h3 { font-size: 24px; }
  body[data-page] .founder-timeline > .timeline-entry { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  body[data-page] .founder-timeline p { grid-column: auto; }
  body[data-page] .founder-timeline :is(h3, strong) { font-size: 23px; }
  body[data-page] .entity-row { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  body[data-page] .entity-id { display: flex; align-items: baseline; gap: 15px; }
  body[data-page] .entity-id dt { margin: 0; }
  body[data-page] .entity-name h3 { font-size: 23px; }
  body[data-page] .past-brand-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  body[data-page] .past-brand-status { text-align: left; }

  body[data-page="ayunche"] .case-study-heading { margin-block: 27px; }
  body[data-page="ayunche"] .case-brand-name { font-size: 30px; }
  body[data-page="ayunche"] .case-study-hero h1 { font-size: clamp(35px, 8.8vw, 49px); line-height: 1.2; }
  body[data-page="ayunche"][data-lang="zh"] .case-study-hero h1 { font-size: clamp(32px, 8.2vw, 42px); line-height: 1.4; }
  body[data-page="ayunche"] .case-results { margin-top: 0; padding: 0; }
  body[data-page="ayunche"] .case-results > div:first-child { align-items: flex-start; }
  body[data-page="ayunche"] .case-results p { font-size: 14px; line-height: 1.6; }
  body[data-page="ayunche"] .case-results > div:first-child p { max-width: 140px; }
  body[data-page="ayunche"] .case-source-note { margin-bottom: 24px; }
  body[data-page="ayunche"] .case-pillar h3,
  body[data-page="ayunche"][data-lang="zh"] .case-pillar h3 { font-size: 25px; }
  body[data-page="ayunche"] .case-commerce h3,
  body[data-page="ayunche"][data-lang="zh"] .case-commerce h3 { font-size: 27px; }
  body[data-page="ayunche"] .case-timeline-entry h3,
  body[data-page="ayunche"][data-lang="zh"] .case-timeline-entry h3 { font-size: 23px; }
  body[data-page="ayunche"] .case-timeline-entry { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  body[data-page="ayunche"] .case-timeline-entry time { padding: 0; }
  body[data-page="ayunche"] .case-conclusion { gap: 29px; }
  body[data-page] .contact-email > a { font-size: clamp(20px, 5.6vw, 30px); }
  body[data-page] .footer-links { font-size: 14px; gap: 10px 20px; justify-content: flex-start; }
}

@media (max-width: 480px) {
  body[data-page] .wordmark-en { display: block; }
  body[data-page] .wordmark-zh { white-space: nowrap; }
}

@media (max-width: 380px) {
  :root { --pad: 18px; }
  body[data-page] .site-header { min-height: 76px; padding-inline: 12px; gap: 6px; }
  body[data-page] .wordmark { gap: 6px; }
  body[data-page] .header-logo { width: 36px; height: 34px; }
  .wordmark-en { font-size: 11.5px; }
  .wordmark-zh { font-size: 14px; }
  body[data-page] .header-actions { gap: 4px; }
  body[data-page] .language-switch button { min-width: 31px; }
  body[data-page] .menu-toggle { min-width: 38px; width: 38px; }
  body[data-page] .menu-toggle span { width: 22px; }
  .hero-actions { gap: 10px; }
  body[data-page] .hero-actions > a { gap: 7px; }
  body[data-page] .hero-actions .hero-primary { padding-inline: 11px; }
  .activity-card, .activity-featured { grid-template-columns: 84px minmax(0, 1fr); column-gap: 14px; }
  .activity-card-copy > h3, .activity-featured .activity-card-copy > h3 { font-size: 23px; }
  .activity-dialog-content { padding-inline: 18px; }
  .activity-dialog-content > h2 { font-size: 28px; }
  body[data-page="home"] .channel-links { column-gap: 17px; }
  body[data-page="home"] .channel-link-name h3 { font-size: 20px; }
  body[data-page="ayunche"] .case-results > div:first-child { display: block; }
  body[data-page="ayunche"] .case-results > div:first-child p { max-width: none; margin-top: 10px; }
}

@media (max-width: 340px) {
  body[data-page] .site-header { padding-inline: 10px; gap: 4px; }
  body[data-page] .wordmark { gap: 5px; }
  body[data-page] .header-logo { width: 32px; height: 31px; }
  .wordmark-zh { font-size: 13px; }
  body[data-page] .header-actions { gap: 3px; }
  body[data-page] .language-switch button { min-width: 29px; }
  body[data-page] .menu-toggle { min-width: 36px; width: 36px; }
}

/* Focused follow-ups: historical case links and a shared email contact panel. */
body[data-page] .past-brand-row .past-brand-case {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  margin: 4px 0 0;
  padding-block: 10px;
  font-size: 16px;
  line-height: 1.5;
}

body[data-page] .contact .partnership-contact {
  width: 100%;
  max-width: 680px;
  margin-top: 30px;
  scroll-margin-top: 24px;
}

body[data-page] .contact .partnership-contact > summary.button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, 420px);
  min-height: 52px;
  padding: 14px 20px;
  border: 1px solid var(--lime);
  border-radius: 2px;
  background: var(--lime);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  list-style: none;
  cursor: pointer;
}

.partnership-contact > summary::-webkit-details-marker { display: none; }
.partnership-contact > summary .contact-toggle-icon { flex-shrink: 0; font-size: 24px; line-height: 1; }
.partnership-contact[open] > summary .contact-toggle-icon { transform: rotate(45deg); }

body[data-page] .contact .partnership-contact-panel {
  width: 100%;
  margin-top: 18px;
  padding: 26px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--paper);
}

body[data-page] .contact .partnership-contact-panel > p {
  max-width: 56ch;
  margin: 0 0 20px;
  color: var(--reading-muted);
  font-size: var(--reading-body);
  line-height: var(--reading-leading);
}

body[data-page] .partnership-contact-panel label {
  display: block;
  margin-bottom: 9px;
  color: var(--reading-muted);
  font-size: 13px;
  line-height: 1.6;
}

body[data-page] .partnership-contact-panel .contact-email-panel {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: var(--ink);
}

body[data-page] .contact-email-panel .contact-address {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 12px;
  border: 1px solid #9aa78e;
  border-radius: 0;
  background: #f8f9f4;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
  text-overflow: clip;
}

.contact-address:focus-visible { outline: 3px solid #719c26; outline-offset: 3px; }
.contact-panel-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 12px; min-width: 0; }

body[data-page] .contact-panel-actions > .button,
body[data-page] .contact-panel-actions > .copy-email {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1 1 200px;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
}

body[data-page] .contact-panel-actions > .copy-email { flex-basis: 160px; background: transparent; color: var(--ink); }
body[data-page] .contact-panel-actions > .copy-email:hover { background: #dce3d3; color: var(--ink); }
body[data-page] .contact-panel-actions > .button:hover { background: #30392a; color: var(--paper); }

body[data-page] .contact-email-panel .copy-status {
  position: static;
  inset: auto;
  display: block;
  min-height: 1.6em;
  margin: 0;
  transform: none;
  color: #476331;
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
}

/* The project dialog reuses the activity source controls, with event context. */
.activity-source-item > .source-item-title { margin: 0 0 6px; color: var(--ink); font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: -.015em; }
.activity-source-item > .source-item-note { margin: 0 0 15px; color: var(--reading-muted); font-size: 13px; line-height: 1.6; }
.project-dialog .activity-source-list { grid-column: 1 / -1; }
.project-dialog .activity-source-link { flex: 1 1 240px; min-width: 0; max-width: 100%; justify-content: space-between; text-align: left; white-space: normal; overflow-wrap: break-word; }
.project-dialog .copy-activity-link { flex: 0 1 auto; min-width: 0; }
.project-dialog .activity-copy-status { min-height: 1.6em; margin: 10px 0 0; color: #476331; font-size: 13px; line-height: 1.6; }

@media (max-width: 760px) {
  body[data-page] .past-brand-row .past-brand-case { margin-top: 4px; }
  body[data-page] .contact .partnership-contact { margin-top: 26px; }
  body[data-page] .contact .partnership-contact > summary.button { width: 100%; }
  body[data-page] .contact .partnership-contact-panel { padding: 20px; }
  body[data-page] .contact-email-panel .contact-address { font-size: 17px; }
  .contact-panel-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 11px; }
  body[data-page] .contact-panel-actions > .button,
  body[data-page] .contact-panel-actions > .copy-email { width: 100%; }
  .activity-source-item > .source-item-title { font-size: 19px; }
}

/* Inline event film: loaded only after the visitor activates its button. */
button.case-film,
button.dialog-film-link {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
}

button.case-film {
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
}

button.dialog-film-link {
  padding: 12px 20px;
  border: 1px solid transparent;
  background: var(--lime);
  color: var(--ink);
}

:is(button.case-film, button.dialog-film-link) .film-play svg {
  display: block;
  width: 11px;
  height: 12px;
  fill: currentColor;
  stroke: none;
}

.project-film-region[hidden] { display: none !important; }
.project-dialog .project-film-region { grid-column: 1 / -1; margin: 0 0 28px; scroll-margin-top: 20px; }
.project-film-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 200px; background: #141914; }
.project-film-embed iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; min-height: 200px; border: 0; }
.project-dialog .project-film-note { max-width: 65ch; margin: 14px 0 6px; color: var(--reading-muted); font-size: 16px; line-height: 1.65; }
.project-dialog .project-film-original { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; margin: 0; padding: 10px 0; border-bottom: 1px solid currentColor; color: var(--ink); font-size: 16px; line-height: 1.5; }

.project-film-region .film-external-status { margin: 12px 0 0; color: #476331; font-size: 14px; line-height: 1.6; }
.project-film-region .film-external-status:empty { display: none; }

/* The owner requested English identity at the entrance, including on phones. */
body[data-page] .wordmark-en { max-width: 220px; text-wrap: balance; }
@media (max-width: 760px) {
  body[data-page] .wordmark-en { max-width: 145px; font-size: 12px; line-height: 1.3; }
}
@media (max-width: 380px) {
  body[data-page] .wordmark-en { max-width: 120px; font-size: 11.5px; }
}

/* Both film entry points use the same local player. The original is separate. */
button.source-film-link {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 12px 20px;
  margin: 0 0 16px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--lime);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}
button.source-film-link .film-play svg { display: block; width: 11px; height: 12px; fill: currentColor; }
.has-inline-film .activity-source-link { background: transparent; color: var(--ink); }
.has-inline-film .activity-source-link:hover { background: #dce3d3; }
@media (max-width: 760px) {
  button.source-film-link { width: 100%; }
}
