/* Meeting refinement: readable type, an interactive framework and continuous content. */
@font-face {
  font-family: "Source Serif 4";
  src: url("assets/fonts/SourceSerif4Variable-Roman.ttf.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: optional;
}
:root {
  --font-english: "Source Serif 4";
  --font-chinese-body: "PingFang SC", system-ui, "Microsoft YaHei", sans-serif;
  --font-chinese-heading: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --content-paper: #f8f5ed;
  --footer-ink: #35372f;
}
:root, [lang]:lang(zh) {
  --font-heading: var(--font-english), var(--font-chinese-heading);
  --heading-weight: 700;
}
[lang]:lang(en) {
  --font-heading: "Iowan Old Style", var(--font-english), "Source Serif Pro", Georgia, serif;
  --heading-weight: 400;
}

html.localizing body { visibility: hidden; }

body, button, input, select, textarea {
  font-family: var(--font-english), var(--font-chinese-body);
  font-size: 16px;
}
html[lang="en"] body, html[lang="en"] button,
html[lang="en"] input, html[lang="en"] select, html[lang="en"] textarea {
  font-family: var(--font-english), serif;
}
h1, h2, h3, h4:lang(en), .serif, .reading-copy, #research-dialog-title {
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}
em, i, .italic, .footer-top p { font-style: normal; }
.mono, .process-number, .contact-email > .copy-email {
  font-family: var(--font-english), var(--font-chinese-body);
}
.button, .text-link, .language-switch button, .menu-toggle,
.hero-actions .button, .hero-actions .text-link,
.hero .hero-description, html[lang="en"] .hero .hero-description,
.about-description, .story-copy > p:not(.eyebrow),
.story-navigation button, html[lang="en"] .story-navigation button,
.story-navigation button .mono, .offering-copy > p, .offering-copy .offering-focus,
.copy-email, #copy-status,
.footer-top .text-link, .footer-bottom, .footer-bottom button,
dialog p, dialog li, dialog .eyebrow, .dialog-top .mono,
.published-channels a, html[lang="en"] .social-name {
  font-size: 16px;
}
.dialog-note { font-size: 16px !important; }
.hero .hero-description, html[lang="en"] .hero .hero-description,
.about-description, .story-copy > p:not(.eyebrow), .offering-copy > p {
  color: #665f52;
  line-height: 1.8;
}
:is(.hero-description, .about-description, .story-copy p, .offering-copy p,
    .research-preview-description, .contact-page-intro p, dialog p, dialog li):lang(zh) {
  text-wrap: pretty;
}
.button, .hero-actions .button { gap: 14px; padding: 14px 21px; }
.text-link, .hero-actions .text-link { gap: 10px; }
.language-switch button { padding-inline: 8px; min-height: 38px; }

/* Three primary destinations; the business links share one disclosure. */
.menu-backdrop { display: none; }
#navigation, html[lang="en"] #navigation { font-size: 16px; }
.nav-content { position: relative; }
.nav-content-toggle {
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 10px; min-height: 44px; padding: 8px 0;
  border: 0; background: transparent; color: inherit; font-size: 16px;
}
.nav-content-chevron { display: inline-block; transition: transform .2s ease; }
.nav-content-toggle[aria-expanded="true"] .nav-content-chevron { transform: rotate(180deg); }
.nav-content-toggle[aria-expanded="true"], .nav-content.is-active > .nav-content-toggle,
.nav-content-toggle.is-active, .nav-content-toggle[aria-current] { color: #4d3b21; }
.nav-content-menu {
  position: absolute; top: calc(100% + 12px); left: -18px; z-index: 12;
  min-width: 220px; padding: 10px; border: 1px solid #d4cbbb; border-radius: 12px;
  background: #f8f5ed; box-shadow: 0 12px 36px #3f33231c;
}
.nav-content-menu[hidden] { display: none !important; }
.nav-content-menu a {
  display: block; padding: 12px 14px; border-radius: 7px;
  color: #625a4e; font-size: 16px; line-height: 1.5; white-space: nowrap;
}
.nav-content-menu a:hover, .nav-content-menu a:focus-visible,
.nav-content-menu a.is-active, .nav-content-menu a[aria-current="location"] {
  background: #e9dfcd; color: #332f28;
}
.nav-content-toggle:focus-visible, .process-node:focus-visible,
.research-preview:focus-visible { outline: 2px solid #8d7049; outline-offset: 5px; }

@media (min-width: 901px) {
  .header-inner { gap: clamp(18px, 2vw, 30px); }
  .header-inner .brand { order: 0; }
  .language-switch { order: 2; margin-left: 0; }
  .menu-toggle { display: none; }
  #navigation, html[lang="en"] #navigation, #navigation.is-open {
    display: flex; position: static; order: 1; flex-direction: row;
    align-items: center; gap: clamp(18px, 2vw, 32px); margin: 0 0 0 auto;
    padding: 0; border: 0; background: transparent;
    max-height: none; overflow: visible; animation: none;
  }
  #navigation > a {
    display: inline-flex; align-items: center; min-height: 44px;
    padding: 8px 0; border-radius: 0; font-size: 16px;
  }
  #navigation > a[aria-current="location"] { background: transparent; color: #4d3b21; }
  #navigation .nav-contact {
    align-self: auto; justify-content: center; margin: 0;
    padding: 9px 16px; gap: 10px; border-radius: 30px;
  }
  #navigation .nav-contact[aria-current="location"] { background: var(--ink); color: var(--paper); }
}

/* One full-bleed particle backdrop with the reading surface in front of it. */
.hero { position: relative; isolation: isolate; align-items: center; text-align: center; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 48% 42% at 50% 52%, #f8f6eecc 0%, #f8f6ee80 48%, #f8f6ee1a 78%, transparent 100%);
}
.hero .hero-art {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  max-width: none; margin: 0; padding: 0; pointer-events: auto;
}
.hero .hero-art::before { background: radial-gradient(ellipse at center, #e5d9b738, transparent 72%); }
.hero .particle-stage { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero #brand-field { display: block; width: 100%; height: 100%; }
.hero .hero-copy {
  position: relative; z-index: 2; pointer-events: none;
  width: 100%; max-width: 880px; margin-inline: auto; padding: 0;
}
.hero-copy a { pointer-events: auto; }
.hero .hero-fallback { width: min(80vw, 900px); left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .12; }
.hero h1, html[lang="en"] .hero h1 {
  font-size: clamp(50px, 5.25vw, 80px); line-height: 1.16;
  letter-spacing: -.035em; margin-top: 0;
}
.hero .hero-description, html[lang="en"] .hero .hero-description { max-width: 640px; margin-inline: auto; }
.hero-line .hero-phrase { display: inline-block; }
.hero-actions, html[lang="en"] .hero-actions { justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.reading-copy { font-size: clamp(34px, 3.25vw, 50px); line-height: 1.38; letter-spacing: -.025em; }
.about-description { margin-top: 26px; max-width: 620px; }

/* A large, selectable four-part loop, with a separate link to each detail section. */
.story-stage { padding: calc(var(--header-height) + 20px) 0 24px; }
.story-heading { flex-shrink: 0; }
.story-heading h2 { font-size: clamp(34px, 3.2vw, 48px); line-height: 1.12; letter-spacing: -.025em; }
.story-workbench {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center; gap: clamp(30px, 4vw, 64px);
  height: auto; min-height: 0; margin-top: 24px;
}
.story-visual.process-visual { height: clamp(420px, 46svh, 460px); min-width: 0; overflow: visible; }
.process-diagram.process-ring {
  position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr)); column-gap: 16%; row-gap: 64px;
  width: 100%; height: 100%; padding: 0; isolation: isolate;
}
.process-connectors { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; overflow: visible; pointer-events: none; }
.process-ring-path { fill: none; stroke: #bcab8d; stroke-width: 1.5; }
.process-ring .process-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  max-width: 46%; padding: 9px 18px; border: 1px solid #d0c3ad; border-radius: 999px;
  background: #eee7d8; color: #685b46; font-size: 16px; line-height: 1.4;
  text-align: center; white-space: nowrap;
}
.process-ring .process-node {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 8px; min-width: 0; padding: 18px 20px; text-align: left;
  border: 1px solid #d7cdbb; border-radius: 12px; background: #f6f1e7;
  color: #665f52; opacity: .9; transform: scale(1);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), background .4s, border-color .4s, opacity .4s;
}
.process-ring [data-process-node="0"] { grid-area: 1 / 1; }
.process-ring [data-process-node="1"] { grid-area: 1 / 2; }
.process-ring [data-process-node="2"] { grid-area: 2 / 2; }
.process-ring [data-process-node="3"] { grid-area: 2 / 1; }
.process-ring .process-node.is-active {
  z-index: 2; background: #e4d6b9; border-color: #a88b5c;
  color: #332f28; opacity: 1; transform: scale(1.06);
}
.process-ring .process-node:hover { opacity: 1; border-color: #ac9470; }
.process-ring .process-number { color: #7d6b50; font-size: 16px; line-height: 1; letter-spacing: 0; }
.process-ring .process-label, html[lang="en"] .process-ring .process-label {
  font-family: var(--font-heading);
  font-size: clamp(23px, 2vw, 29px); font-weight: var(--heading-weight); line-height: 1.15; letter-spacing: 0;
}
.process-ring .process-detail, html[lang="en"] .process-ring .process-detail {
  font-size: 16px; line-height: 1.45; letter-spacing: 0; text-wrap: pretty;
}
.story-copy-area, html[lang="en"] .story-copy-area { min-height: 0; padding: 0; }
.story-copy h3, html[lang="en"] .story-copy h3 {
  font-size: clamp(30px, 2.8vw, 42px); line-height: 1.2; margin: 0 0 22px;
}
.story-copy > p:not(.eyebrow) { max-width: 430px; }
.story-detail-link { margin-top: 24px; }
.story-navigation { margin-top: 20px; padding-top: 12px; }
.story-navigation button, html[lang="en"] .story-navigation button {
  display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 0;
  color: #756a57; line-height: 1.4;
}
.story-navigation button .mono { display: inline; margin: 0; }
.story-navigation button[aria-pressed="true"] { color: #332f28; }

/* Business content grows with its text instead of occupying fixed-height cards. */
#work[data-scroll-free] { background: var(--content-paper); }
#work .offering-card, html.chapter-paging #work .offering-card {
  position: relative; top: auto; min-height: 0; height: auto;
  margin: 0; padding: 80px var(--chapter-gutter); border: 0; border-radius: 0;
  border-top: 1px solid #ded5c4; box-shadow: none; background: transparent;
  scroll-snap-align: none; scroll-margin-top: var(--header-height);
}
#work .offering-layout {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(230px, .8fr);
  align-items: center; gap: clamp(40px, 6vw, 90px); min-height: 0;
  max-width: var(--content-width); margin-inline: auto;
}
.offering-copy { min-width: 0; }
#work .offering-copy h3 { font-size: clamp(36px, 4vw, 58px); line-height: 1.2; margin: 0 0 24px; }
#work .offering-copy > p { max-width: 680px; }
#work .offering-copy .offering-focus { margin-top: 24px; line-height: 1.7; color: #7a684e; }
#work .offering-visual { height: 270px; max-width: 390px; width: 100%; justify-self: center; }
#work .benchmark-matrix { width: 210px; height: 210px; }
#work .data-sheets { width: min(230px, 74%); height: auto; aspect-ratio: 23 / 19; }
#work .data-sheet { padding: 18px; }
#work .data-sheet > div { margin-top: 16px; gap: 10px; }
.environment-map text { font-family: var(--font-english), serif; font-size: 16px; letter-spacing: .04em; }
.research-previews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.research-preview {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-content: start; align-items: center; gap: 12px;
  min-width: 0; padding: 24px 22px 42px; border: 1px solid #d6cbb8; border-radius: 10px;
  border-top-color: #97825f; background: #fbf9f2; text-align: left; color: #332f28;
  transition: border-color .25s, background .25s, transform .25s;
}
.research-preview:hover { transform: translateY(-3px); border-color: #a48b65; background: #f3eddc; }
.research-preview strong { font-family: var(--font-heading); font-size: 25px; font-weight: var(--heading-weight); }
.research-preview-description { grid-column: 1 / -1; font-size: 16px; line-height: 1.65; color: #675e4f; }
.detail-toggle-mark {
  display: inline-grid; place-items: center; flex: none; width: 16px; height: 16px;
}
.detail-toggle-mark::before, .detail-toggle-mark::after {
  content: ""; grid-area: 1 / 1; width: 11px; border-block-start: 1.5px solid currentColor;
}
.detail-toggle-mark::after { transform: rotate(90deg); }
.research-preview .detail-toggle-mark {
  width: 30px; height: 30px; border: 1px solid #cbbda5; border-radius: 50%; color: #715d3f;
}
.research-preview:is(:hover, :focus-visible) .detail-toggle-mark {
  background: #3a3d32; color: #faf3e4; border-color: #3a3d32;
}

#research-dialog .dialog-top { border-bottom: 1px solid #d5cbb8; }
#research-dialog .dialog-close {
  display: grid; place-content: center; min-width: 44px; min-height: 44px;
  padding: 0; border: 1px solid #cbbda5; border-radius: 50%; color: #504838;
}
#research-dialog .dialog-close:hover { background: #eae2d1; }
#research-dialog :is(.dialog-close, .example-controls button):focus-visible {
  outline: 2px solid #856d48; outline-offset: 2px;
}
#research-dialog-points li::marker { color: #8c754f; }
#research-dialog .example-controls button { background: #faf7ef; border-color: #d6cbb8; }
#research-dialog .example-controls button[aria-pressed="true"] {
  background: #e9ddc4; color: #332f28; border-color: #9a805a; box-shadow: inset 0 -2px #806842;
}
#research-dialog .example-controls button[aria-pressed="true"] .mono { color: #63513a; }
#research-dialog .example-detail { background: #eee8da; }

/* Shared footer styling. */
.contact.contact-strip, html.chapter-paging .contact.contact-strip {
  display: block; width: 100%; height: auto; min-height: 0; margin: 0; border: 0;
  padding: 28px var(--chapter-gutter) 20px;
  color: #f3eedf; background: var(--footer-ink); scroll-snap-align: none;
  scroll-margin-top: var(--header-height);
}
.contact-meta {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "message logo" "message actions" "copyright copyright";
  align-items: start; gap: 8px 32px;
  max-width: var(--content-width); margin-inline: auto; padding: 0; border: 0;
  background: transparent; color: #beb9a8;
}
.footer-copy { grid-area: message; align-self: center; text-align: start; }
.contact-meta .brand {
  grid-area: logo; justify-self: end; display: grid; align-items: center;
  min-height: 44px; font-size: 0; line-height: 1;
}
.contact-meta .brand img { display: block; width: clamp(108px, 10vw, 132px); height: auto; filter: brightness(0) invert(.88); }
.contact-strip .footer-copy h2 {
  margin: 0 0 8px; font-size: clamp(20px, 1.8vw, 24px); font-weight: 400;
  color: #f3eedf; line-height: 1.3; letter-spacing: -.015em;
}
.footer-copy p { margin: 0; color: #d0c9b9; font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.footer-actions { grid-area: actions; justify-self: end; display: flex; align-items: center; }
.footer-actions .text-link { min-height: 44px; color: #f3eedf; }
.footer-actions .text-link:hover { color: #fff8e6; }
.contact-meta a:focus-visible { outline: 2px solid #fff1d6; outline-offset: 3px; }
.contact-meta .contact-copyright {
  grid-area: copyright; justify-self: center; margin-top: 12px;
  font-size: 14px; line-height: 1.6; text-align: center;
}

html.contact-document { scroll-snap-type: none; }
.contact-page {
  display: flex; flex-direction: column; min-height: 100svh;
  background: var(--content-paper);
}
#navigation .nav-contact[aria-current="page"] { background: var(--ink); color: var(--paper); }
.header-inner, .contact-page-main {
  width: min(var(--content-width), calc(100% - 2 * var(--chapter-gutter)));
}
.contact-page-main {
  flex: 1;
  margin-inline: auto;
  padding: calc(var(--header-height) + clamp(40px, 7vh, 80px)) 0 clamp(44px, 8vh, 88px);
}
.contact-page-intro {
  display: grid; grid-template-columns: minmax(0, 1fr);
  justify-items: center; text-align: center;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}
:is(.contact-page, .company-page) .contact-page-intro h1 {
  grid-area: 1 / 1;
  margin: 0 0 12px;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.15; letter-spacing: -.025em;
}
.contact-page-intro p {
  grid-area: 2 / 1;
  max-width: 610px; margin: 0;
  font-family: var(--font-english), var(--font-chinese-body);
  color: #665f52; font-size: clamp(16px, 1.45vw, 18px); line-height: 1.65;
  text-wrap: balance;
}
.contact-copy-measure { visibility: hidden; }
.contact-card-grid {
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(2, 1fr); gap: 16px;
}
.contact-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  gap: 16px clamp(16px, 3vw, 40px);
  padding: clamp(22px, 3vw, 38px);
  min-width: 0; min-height: 164px;
  border: 1px solid #dcd3c1; border-radius: 14px;
  background: #eee8da;
}
.contact-page .contact-card h2 {
  margin: 0;
  font-size: clamp(22px, 2vw, 27px); line-height: 1.2; letter-spacing: -.025em;
}
.contact-card-copy { display: grid; grid-template-columns: minmax(0, 1fr); }
.contact-card-copy h2 { grid-area: 1 / 1; }
.contact-card-copy p {
  grid-area: 2 / 1;
  max-width: 600px; margin: 10px 0 0;
  font-family: var(--font-english), var(--font-chinese-body);
  font-size: 16px; line-height: 1.65; color: #645a49; text-wrap: pretty;
}
.contact-card--email {
  grid-template-columns: minmax(0, 1fr) minmax(13em, max-content);
  background: var(--content-paper); color: var(--ink); border-color: #d7cebc;
}
.contact-card--email .contact-card-copy p { color: #645a49; }
.contact-card:has([data-expert-platform][hidden]) {
  background: #f4f0e6; border-color: #d9d0bc;
}
.contact-card-action {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; min-height: 44px; padding: 8px 16px;
  border: 1px solid transparent; border-radius: 999px;
  background: #3a3d32; color: #faf3e4;
  font-size: 16px; line-height: 1.35; text-align: center;
}
.contact-card-action:hover { background: #505343; }
.contact-action-caption { display: grid; }
.contact-action-caption > span { grid-area: 1 / 1; }
.contact-card--email .contact-card-action { gap: 7px; padding-inline: 16px; background: #444638; color: #fffaf0; }
.contact-card--email .contact-card-action:hover { background: #32352b; }
.contact-card--email .contact-card-action:focus-visible { outline: 2px solid #746348; outline-offset: 4px; }
#contact-email-trigger[aria-expanded="true"] { background: #34362b; }
#contact-email-trigger[aria-expanded="true"] .detail-toggle-mark::after { visibility: hidden; }
.contact-email-disclosure { position: relative; justify-self: end; }
.contact-email-panel {
  position: absolute; z-index: 2; inset: auto 0 100% auto;
  width: max-content; max-width: calc(100vw - 2 * var(--chapter-gutter) - 44px);
  padding-bottom: 8px;
}
.contact-email-panel.is-below { inset-block: 100% auto; padding-block: 8px 0; }
.contact-email-address {
  display: flex; align-items: center;
  color: #38392e;
}
.contact-address-link {
  min-height: 44px; display: inline-flex; align-items: center;
  font-size: 16px; overflow-wrap: anywhere; user-select: text; text-underline-offset: 3px;
}
.contact-address-link:hover { text-decoration: underline; }
.contact-email-address .copy-email {
  display: grid; place-items: center; flex: none; width: 44px; min-height: 44px;
  padding: 0; border: 0; background: transparent; color: inherit;
}
.copy-email > svg { pointer-events: none; }
.copy-email .copied-symbol, .copy-email.is-copied .copy-symbol { display: none; }
.copy-email.is-copied .copied-symbol { display: inline; }
.contact-email-address :is(a, button):focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
.contact-email-panel #copy-status {
  position: absolute; width: 1px; height: 1px; min-height: 0;
  overflow: hidden; clip-path: inset(50%);
}
.contact-email-panel #copy-status.copy-error {
  width: 100%; height: auto; clip-path: none; top: calc(100% + 44px); right: 0;
  color: inherit; font-size: 14px; line-height: 1.35; text-align: end;
}
.contact-email-panel.is-below #copy-status.copy-error { top: 100%; }
.contact-card-copy .published-socials { margin-top: 10px; flex-wrap: wrap; gap: 8px 18px; }
.contact-jobs { grid-column: 1 / -1; display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.contact-jobs li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.contact-jobs h3 { margin: 0; font-size: 20px; line-height: 1.4; }

@media (max-width: 600px) {
  .contact-meta {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "message message" "logo actions" "copyright copyright";
    gap: 16px 12px;
  }
  .contact-meta .brand { justify-self: start; align-self: center; }
  .footer-copy br { display: none; }
  .contact-meta .contact-copyright { margin-top: 0; }
}

@media (max-width: 600px) {
  .contact-card-grid { grid-template-rows: none; }
  .contact-card {
    grid-template-columns: minmax(0, 1fr); gap: 16px;
    align-content: center; justify-items: start;
  }
  .contact-email-disclosure { justify-self: start; }
  .contact-address-link { text-decoration: underline; }
  .contact-email-panel { position: static; padding-block: 4px 0; }
  .contact-email-panel #copy-status.copy-error { display: block; position: static; text-align: start; }
}

@media (min-width: 901px) and (min-height: 741px) and (max-height: 850px) {
  .story-heading h2 { font-size: 34px; line-height: 1.1; }
  .story-stage { padding-top: calc(var(--header-height) + 14px); padding-bottom: 18px; }
  .story-workbench { margin-top: 16px; }
  .story-visual.process-visual { height: 420px; }
  .story-navigation { margin-top: 14px; padding-top: 10px; }
}
@media (min-width: 901px) and (max-height: 740px) {
  .story-stage, html.chapter-paging .story-stage { height: auto; min-height: 0; padding-block: calc(var(--header-height) + 24px) 48px; }
  .story-heading { order: 0; }
  .story-workbench { order: 1; }
  .story-navigation { order: 2; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .story-workbench { gap: 30px; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .process-ring .process-node { padding: 16px; }
  .process-ring .process-label, html[lang="en"] .process-ring .process-label { font-size: 23px; }
  .research-previews { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .header-inner { gap: 18px; }
  .language-switch { margin-left: auto; }
  .menu-toggle { min-width: 44px; min-height: 44px; justify-content: center; font-size: 16px; }
  /* Intercept the first tap beneath the fixed header and its open navigation. */
  .menu-open .menu-backdrop { display: block; position: fixed; inset: 0; z-index: 29; }
  .menu-open .site-header { pointer-events: none; }
  .menu-open .header-inner > * { pointer-events: auto; }
  #navigation > a { font-size: 16px; }
  #navigation .nav-contact { gap: 10px; }
  .nav-content-toggle { width: 100%; min-height: 48px; padding: 11px 12px; }
  .nav-content-menu { position: static; min-width: 0; margin: 4px 0 10px; border: 0; border-radius: 8px; box-shadow: none; background: #ebe3d4; }
  .nav-content-menu a { padding-inline: 18px; }
  .hero { justify-content: center; padding-top: calc(var(--header-height) + 40px); padding-bottom: 64px; }
  .hero .hero-copy { max-width: 620px; }
  .hero::after { background: radial-gradient(ellipse 76% 42% at 50% 52%, #f8f6eed9 0%, #f8f6ee8c 52%, #f8f6ee1a 82%, transparent 100%); }
  .hero h1, html[lang="en"] .hero h1 { font-size: clamp(42px, 7vw, 64px); line-height: 1.16; margin-bottom: 24px; }
  .hero .hero-description, html[lang="en"] .hero .hero-description { max-width: 550px; }
  .hero-actions, html[lang="en"] .hero-actions { gap: 20px; margin-top: 24px; }
  .about-layout { gap: 30px; }
  .reading-copy { font-size: clamp(32px, 4.5vw, 43px); }
  .story-stage, html.chapter-paging .story-stage { height: auto; padding: calc(var(--header-height) + 20px) 0 40px; }
  .story-heading { order: 0; }
  .story-heading h2 { font-size: 36px; }
  .story-workbench { order: 1; grid-template-columns: 1fr; gap: 38px; margin-top: 34px; }
  .story-visual.process-visual { width: 100%; max-width: 620px; height: 420px; margin-inline: auto; }
  .story-copy-area, html[lang="en"] .story-copy-area { min-height: 0; }
  .story-copy h3, html[lang="en"] .story-copy h3 { font-size: 34px; margin-bottom: 16px; }
  .story-copy > p:not(.eyebrow) { max-width: 650px; }
  .story-detail-link { margin-top: 18px; }
  .story-navigation { order: 2; margin-top: 28px; }
  #work .offering-card, html.chapter-paging #work .offering-card { padding-block: 64px; }
  #work .offering-layout { grid-template-columns: minmax(0, 1fr); }
  #work .offering-visual { display: none; }
  .research-previews { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
}

@media (max-width: 600px) {
  .hero { padding-top: calc(var(--header-height) + 32px); padding-bottom: 56px; }
  .hero h1, html[lang="en"] .hero h1 { font-size: clamp(39px, 9.8vw, 54px); letter-spacing: -.035em; }
  .hero .hero-description, html[lang="en"] .hero .hero-description { line-height: 1.7; }
  .hero-actions, html[lang="en"] .hero-actions { align-items: center; gap: 6px 16px; }
  .hero-actions > a { min-height: 48px; line-height: 1.4; }
  .hero-actions .button { padding: 10px 16px; gap: 10px; }
  .hero-actions .text-link { gap: 8px; }
  #work .offering-card, html.chapter-paging #work .offering-card { padding-block: 52px; }
  #work .offering-copy h3 { font-size: 36px; }
  .research-previews { gap: 14px; }
  .research-preview { padding: 22px 20px 42px; }
  .footer-top { gap: 16px; }
  .footer-top .brand img { width: 120px; }
  .footer-bottom { gap: 10px; align-items: flex-start; }
}

@media (max-width: 600px), (max-width: 900px) and (pointer: coarse) {
  .about { padding-block: calc(var(--header-height) + 12px) 24px; }
  .about-layout { gap: clamp(12px, 2.4svh, 24px); }
  .about-layout > div { max-width: 100%; }
  .reading-copy { font-size: clamp(1.6rem, 7.4vw, 2rem); line-height: 1.24; letter-spacing: -.02em; overflow-wrap: anywhere; }
  .reading-copy > span { display: inline; }
  .js .reading-copy > span { opacity: 1; }
  .about-description { margin-top: 14px; overflow-wrap: anywhere; }
  .js #about .about-description[data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 360px) {
  html[lang="en"] .hero h1 { font-size: clamp(35px, 10.8vw, 39px); }
  .header-inner { gap: 12px; }
  .header-inner .brand-morph { --brand-width: 100px; }
  .language-switch button { padding-inline: 5px; }
  .footer-top { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .story-stage, html.chapter-paging .story-stage { position: relative; height: auto; padding-block: calc(var(--header-height) + 28px) 40px; }
  .process-ring .process-node, .process-ring .process-node.is-active { transform: none; transition: none; }
  .research-preview:hover { transform: none; }
}

/* Keep the framework usable in laptop windows and under display scaling.
   This final layout is also the mode read by app.js and paging.js. Reduced
   motion removes transitions, not access to the four scroll-driven stages. */
#story-track, html.chapter-paging #story-track { height: auto; }
.story-stage, html.chapter-paging .story-stage { position: relative; height: auto; }
.story-heading { display: block; }
.story-manual-hint { margin: 16px 0 0; font-size: 16px; color: #756a57; }
@media (min-width: 901px) {
  .story-heading h2 { position: relative; top: -8px; }
}
@media (min-width: 901px) and (min-height: 520px) {
  #story-track, html.chapter-paging #story-track { height: calc(var(--paging-height, 100svh) * 3.2); }
  .story-stage, html.chapter-paging .story-stage {
    position: sticky; top: 0; height: var(--paging-height, 100svh); min-height: 0;
    padding: calc(var(--header-height) + 4px) 0 24px;
  }
  .story-workbench { margin-top: clamp(40px, 5svh, 60px); }
  .story-manual-hint { display: none; }
}
@media (min-width: 901px) and (min-height: 520px) and (max-height: 850px) {
  .story-stage, html.chapter-paging .story-stage { padding: calc(var(--header-height) + 4px) 0 16px; }
  .story-heading h2 { font-size: 32px; line-height: 1.12; }
  .story-heading br { display: none; }
  .story-workbench { margin-top: clamp(26px, 4.5svh, 38px); }
  .story-visual.process-visual { height: clamp(280px, calc(var(--paging-height, 100svh) - 240px), 420px); }
  .process-diagram.process-ring { row-gap: 40px; column-gap: 12%; }
  .process-ring .process-node { padding: 12px 16px; gap: 6px; }
  .story-copy h3, html[lang="en"] .story-copy h3 { font-size: 30px; margin-bottom: 16px; }
  .story-detail-link { margin-top: 16px; }
  .story-navigation { margin-top: 14px; padding-top: 10px; }
}
@media (min-width: 901px) and (min-height: 520px) and (max-height: 620px) {
  .process-ring .process-node {
    display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center;
    align-items: center; padding: 8px 12px;
  }
  .process-ring .process-label, html[lang="en"] .process-ring .process-label { font-size: 22px; }
  .process-ring .process-detail { grid-column: 1 / -1; }
  .process-ring .process-center { padding-block: 6px; }
}

/* Bound the whole composition, including illustrations, on ultrawide displays.
   Full-width section backgrounds remain independent of the reading width. */
:root { --content-width: 1280px; }
.about-layout, #story-track {
  width: 100%; max-width: var(--content-width); margin-inline: auto;
}
.about-layout > * { min-width: 0; }
.footer-top, .footer-bottom { width: 100%; max-width: var(--content-width); margin-inline: auto; }

/* model-orbit.js follows the drawn ellipse in its own SVG coordinates. */
.model-map .model-dot { animation: none; transform: none; }
