/* One typographic identity, with a more intimate composition on small screens. */
:root {
  --font-serif: "MT Display", "MT Song", Georgia, "Songti SC", serif;
  --font-sans: "MT Text", Arial, "PingFang SC", sans-serif;
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-weight: 400; }
img { max-width: 100%; }
main, section, article, figure, .hero-copy, .profile-heading { min-width: 0; }
h1, h2, h3, .statement, blockquote { text-wrap: balance; }
p { overflow-wrap: break-word; }
.wordmark { letter-spacing: -.045em; }
.brand-emblem { background: none; -webkit-mask: none; mask: none; object-fit: contain; }
.brand-lockup { width: 100%; height: auto; }
.brand-emblem, .chapter-emblem, .brand-lockup { image-rendering: auto; }
.menu-toggle { display: none; }
.nav a, .language { -webkit-tap-highlight-color: transparent; }
.language {
  min-width: 46px; min-height: 44px;
  color: var(--ink); -webkit-text-fill-color: currentColor;
  -webkit-appearance: none; appearance: none;
}
.text-link, .light-text-link { min-height: 44px; display: inline-flex; align-items: center; padding-block: 8px; }
.founder-link { display: table; }
.contact-actions .text-link { display: inline-flex; }
.footer-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; }
.footer-contact a { min-height: 44px; min-width: 0; max-width: 100%; display: inline-flex; align-items: center; justify-self: start; }
@media (min-width: 1200px) {
  .footer-contact { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(240px, 1.2fr); }
}
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
html[lang="zh-CN"] .statement,
html[lang="zh-CN"] blockquote { letter-spacing: .025em; line-height: 1.6; }
html[lang="zh-CN"] h2, html[lang="zh-CN"] h3 { line-height: 1.45; }
html[lang="zh-CN"] .hero h1 em,
html[lang="zh-CN"] .stories-heading h1 em { font-style: normal; }

@media (min-width: 701px) {
  .nav { display: flex !important; }
  .hero h1 { font-size: clamp(3.75rem, 7.2vw, 7rem); }
  .profile-heading h1 { font-size: clamp(3.75rem, 6.2vw, 5.75rem); }
  .footer-brand { width: 216px; }
}

@media (max-width: 700px) {
  :root { --gutter: clamp(20px, 6.15vw, 36px); }
  html { scroll-padding-top: 104px; }
  body { font-size: 1rem; line-height: 1.8; }

  /* A quiet, persistent masthead; navigation expands beneath it. */
  .header {
    position: sticky; top: 0; z-index: 30;
    display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
    height: auto; min-height: 82px;
    padding: 13px var(--gutter); gap: 0 8px;
    background: #faf9f6; border-bottom: 1px solid #ddd8cd;
  }
  .wordmark {
    grid-column: 1; grid-row: 1;
    grid-template-columns: 44px max-content;
    column-gap: 8px; justify-self: start;
    font-size: 22px; min-width: 0; line-height: 1.15;
  }
  .wordmark-light { font-size: 18px; }
  .wordmark-cn {
    justify-self: center; font-size: 12px; letter-spacing: .23em;
    margin-top: 5px; padding-left: .23em; line-height: 1.45;
  }
  .brand-emblem { width: 44px; height: 44px; }
  .language {
    grid-column: 2; grid-row: 1; margin: 0; padding: 0 6px;
    font-size: 14px; min-width: 40px; min-height: 44px;
    border: none; line-height: 1;
  }
  .js .menu-toggle {
    grid-column: 3; grid-row: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 10px; color: var(--ink);
    background: none; border: 1px solid #d8d2c5; cursor: pointer;
  }
  .menu-toggle span { display: block; height: 1px; width: 19px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav {
    grid-column: 1 / -1; grid-row: 2; width: 100%; padding: 14px 0 5px;
    display: grid; gap: 0; justify-content: stretch; flex-basis: auto;
    max-height: calc(100svh - 100px); overflow-y: auto;
  }
  .js .header:not(.menu-open) .nav { display: none; }
  .nav a {
    display: flex; align-items: center; min-height: 52px;
    font-family: var(--font-serif); font-size: 20px; line-height: 1.5;
    padding: 10px 2px; border-bottom: 1px solid #e3ded4;
  }
  .nav a:last-child { border-bottom: 0; }
  .nav a[aria-current="page"] { color: #80663c; }

  /* The portrait and headline form one continuous cover. */
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-image {
    order: -1; min-height: 0; aspect-ratio: 1.12;
    width: 100%; max-height: 490px; flex-shrink: 0;
  }
  .hero-image img { object-fit: cover; object-position: 50% 23%; }
  .hero-image::after { background: linear-gradient(0deg, #080809 0%, rgba(8,8,9,.25) 18%, transparent 42%); }
  .hero-image figcaption { display: none; }
  .hero-copy {
    position: relative; width: 100%; padding: 22px var(--gutter) 36px;
    margin-top: 0; flex-shrink: 0; align-items: flex-start; justify-content: flex-start;
  }
  .hero .eyebrow { font-size: 12px; letter-spacing: .12em; line-height: 1.8; margin-bottom: 18px; }
  .hero h1 { font-size: clamp(3rem, 12.2vw, 4.5rem); line-height: 1.1; letter-spacing: -.045em; }
  .hero-description { font-size: 1rem; line-height: 1.8; margin: 20px 0 22px; max-width: 28rem; }
  .button-light { min-height: 50px; padding: 12px 20px; gap: 24px; justify-content: space-between; font-size: 14px; }
  .hero-note { margin-top: 24px; padding-top: 20px; width: 100%; border-top: 1px solid #37342f; font-size: 12px; line-height: 1.8; }
  html[lang="zh-CN"] .hero h1 { font-size: clamp(2.15rem, 9.2vw, 3.375rem); line-height: 1.4; letter-spacing: .035em; }

  /* Consistent margins, deliberate line lengths, and room between stories. */
  .content-width { width: calc(100% - var(--gutter) * 2); max-width: 600px; }
  .section { padding-inline: var(--gutter); padding-bottom: 64px; }
  .introduction { padding: 64px var(--gutter); }
  .introduction .eyebrow { font-size: 12px; line-height: 1.9; letter-spacing: .1em; margin-bottom: 22px; }
  .statement { font-size: clamp(1.875rem, 7.5vw, 2.75rem); line-height: 1.35; white-space: normal; letter-spacing: -.035em; }
  .intro-copy { margin-top: 24px; line-height: 1.95; font-size: 1rem; text-align: left; }
  .section-heading { padding-block: 24px 26px; gap: 16px; }
  .section-heading h2 { font-size: clamp(1.875rem, 7.5vw, 2.5rem); line-height: 1.3; letter-spacing: -.03em; }
  .section-heading .eyebrow { font-size: 12px; margin-bottom: 14px; }
  .collection-grid { gap: 38px; }
  .collection-image { aspect-ratio: 1; }
  .pearl-image img { object-fit: contain; }
  .jade-image { aspect-ratio: 1.5; }
  .collection-heading { margin-top: 20px; gap: 16px; }
  .collection-heading h3 { font-size: 1.75rem; line-height: 1.3; }
  .collection p { margin-top: 12px; font-size: 1rem; line-height: 1.9; }
  .story-visual { padding: 0 0 22px; }
  .story-visual figcaption { font-size: 12px; line-height: 1.8; padding: 18px var(--gutter) 0; }
  .story-copy { padding: 40px var(--gutter) 52px; }
  .story-copy .eyebrow { margin-bottom: 20px; }
  .story h2 { font-size: clamp(2rem, 8.5vw, 2.875rem); line-height: 1.22; margin-bottom: 24px; }
  .story-copy > p:not(.eyebrow) { line-height: 1.95; margin-top: 20px; }
  .founder { margin-top: 28px; }
  .founder > span:last-child { line-height: 1.8; }
  .client-teaser { padding-block: 60px; gap: 30px; }
  .client-teaser h2 { font-size: clamp(1.875rem, 7.5vw, 2.5rem); line-height: 1.35; }
  .client-teaser figure { padding: 26px 0 0; border-left: 0; border-top: 1px solid #cfc6b5; }
  .client-teaser blockquote { font-size: 1.6rem; line-height: 1.55; }
  .client-teaser figcaption { margin-top: 20px; }
  .uk { padding-block: 58px 66px; border-top: 1px solid var(--line); }
  .uk h2 { font-size: clamp(2rem, 8.25vw, 3rem); line-height: 1.25; }
  .uk > p:not(.eyebrow) { margin-block: 24px; line-height: 1.95; }
  .coming { font-size: 12px; line-height: 1.8; margin-top: 28px; }
  .contact-actions { flex-direction: column; align-items: center; gap: 10px; margin-top: 24px; }
  .uk .contact-actions { gap: 16px; }
  .uk .contact-actions .text-link {
    width: 100%; max-width: 18rem; min-height: 48px;
    justify-content: center; text-align: center; text-wrap: balance;
  }

  /* Meili's profile has the same cover language as the home page. */
  .profile-hero { display: flex; flex-direction: column; min-height: 0; }
  .profile-portrait { order: -1; aspect-ratio: 1.05; width: 100%; max-height: 520px; min-height: 0; flex-shrink: 0; }
  .profile-portrait img { object-position: 50% 20%; }
  .profile-portrait::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, #080809, transparent 30%); }
  .profile-heading { order: 0; width: 100%; padding: 22px var(--gutter) 42px; position: relative; margin-top: 0; flex-shrink: 0; }
  .profile-heading .eyebrow { margin-bottom: 17px; }
  .profile-heading h1 { font-size: clamp(2.75rem, 12vw, 4.25rem); line-height: 1.15; }
  .profile-heading h1 span { font-size: 18px; letter-spacing: .28em; margin-top: 14px; line-height: 1.7; }
  .profile-heading h2 { font-size: clamp(1.625rem, 6.5vw, 2.25rem); line-height: 1.4; margin-top: 28px; }
  .profile-heading > p:not(.eyebrow) { font-size: 1rem; line-height: 1.95; margin-top: 20px; }
  .founder-letter { padding-block: 58px; gap: 32px; }
  .letter-intro h2, .journal-intro h2 { font-size: 2rem; line-height: 1.35; }
  .letter-chapter, .journal-chapter { grid-template-columns: 1fr; gap: 10px; padding-bottom: 28px; margin-bottom: 28px; }
  .chapter-number { font-size: 14px; line-height: 1.4; padding: 0; letter-spacing: .1em; }
  .letter-chapter h3, .journal-chapter h3 { font-size: 1.5rem; line-height: 1.4; margin-bottom: 15px; }
  .letter-chapter p, .journal-chapter p { font-size: 1rem; line-height: 1.95; }
  .design-memory { padding-block: 38px 58px; gap: 22px; }
  .memory-number { font-size: 5rem; }
  .design-memory h2 { font-size: 1.875rem; line-height: 1.4; margin-bottom: 18px; }
  .design-memory p:not(.eyebrow) { line-height: 1.95; }
  .new-chapter-band { padding-block: 52px 58px; }
  .chapter-emblem { width: 64px; height: 64px; margin-bottom: 24px; }
  .new-chapter-band h2 { font-size: clamp(1.875rem, 7.5vw, 2.625rem); line-height: 1.35; margin-bottom: 24px; }
  .new-chapter-band p:not(.eyebrow) { line-height: 1.95; }
  .new-chapter-band .contact-actions { align-items: flex-start; gap: 10px; }
  .chapter-signature { font-size: 28px; }

  /* Longer client reflections use the full reading width. */
  .stories-heading { padding-block: 48px 38px; }
  .stories-heading .eyebrow { margin-bottom: 20px; }
  .stories-heading h1 { font-size: clamp(2rem, 8.8vw, 3rem); line-height: 1.25; letter-spacing: -.04em; }
  .stories-heading h1 em { margin-top: 12px; }
  .stories-deck { margin-top: 24px; line-height: 1.95; }
  .client-byline { display: flex; flex-direction: column; gap: 8px; margin-top: 26px; font-size: 12px; letter-spacing: .08em; }
  .featured-quote { padding-block: 36px 40px; }
  .featured-quote figure { padding-left: 0; }
  .quote-mark { position: static; display: block; font-size: 64px; height: 44px; }
  .featured-quote blockquote { font-size: clamp(1.5rem, 6.5vw, 2.25rem); line-height: 1.55; white-space: normal; }
  .featured-quote figcaption { margin-top: 22px; }
  .client-journal { padding-block: 52px 18px; gap: 30px; }
  .editorial-note { font-size: 14px; line-height: 1.85; margin-top: 20px; }
  .journal-chapter { padding-top: 22px; padding-bottom: 0; margin-bottom: 30px; }
  .story-ending { padding-block: 44px 58px; }
  .story-ending h2 { font-size: 1.875rem; line-height: 1.4; }
  .story-ending > p:not(.eyebrow) { line-height: 1.95; margin-block: 22px; }

  footer { padding: 44px var(--gutter) calc(22px + env(safe-area-inset-bottom)); }
  .footer-top { display: flex; flex-direction: column; align-items: center; gap: 30px; padding-bottom: 28px; text-align: center; }
  .footer-brand { width: min(220px, 70vw); }
  .footer-top p { margin: 0; font-size: 1.375rem; line-height: 1.6; }
  .footer-contact { grid-template-columns: minmax(0, 1fr); align-items: center; gap: 4px; padding-bottom: 24px; font-size: 14px; text-align: center; }
  .footer-contact a { justify-self: center; }
  .footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 22px; text-align: center; line-height: 1.8; }
  .footer-bottom a { margin: 0; }
}

@media (max-width: 359px) {
  .header { column-gap: 4px; }
  .wordmark { grid-template-columns: 38px max-content; column-gap: 6px; font-size: 20px; }
  .wordmark-light { font-size: 17px; }
  .brand-emblem { width: 38px; height: 38px; }
  .wordmark-cn { letter-spacing: .18em; }
  .hero .eyebrow { letter-spacing: .065em; }
  .hero h1 { font-size: 2.875rem; }
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle span { transition: none; }
}
