/* d05: one motif, the seal of the logo. A white character cut out of a green square, at every scale:
   the hero stage, the square crop of every picture, the buttons, the bullets, the green band, the footer mark. */

/* Albert Sans for Latin letters and figures. General punctuation (“” ’ …) is a second face that only the English
   pages list, so Chinese text keeps its full-width CJK punctuation. */
@font-face {
  font-family: "Albert Sans";
  src: url(fonts/albert-sans-latin.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Albert Sans";
  src: url(fonts/albert-sans-latin-ext.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Albert Sans Punctuation";
  src: url(fonts/albert-sans-latin.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+2000-206F;
}

:root {
  /* the logo's green on grey paper; dealt proportions of "oxblood and grey" */
  --bg: #e4e5e0;
  --surface: #d7d9d2;
  --surface-2: #c9ccc3;
  --plate: #ffffff;
  --ink: #15330e;
  --muted: #4a5a44;
  --accent: #318420;
  --accent-ink: #ffffff;
  --deep: #173a10;
  --deep-ink: #e4e5e0;

  --cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Noto Sans SC";
  --font: "Albert Sans", var(--cjk), "Helvetica Neue", Arial, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.75rem, 0.6rem + 6.6vw, 7rem);

  --margin: clamp(1rem, 2.2vw, 2rem);
  --gutter: clamp(1rem, 2vw, 1.75rem);
  --section: clamp(4.5rem, 8vw, 7.5rem);
  --notch: clamp(2.5rem, 4.4vw, 4rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.55; font-kerning: normal; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
:target { scroll-margin-top: 2rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.stage :focus-visible, .strategy :focus-visible, .foot :focus-visible, .letter :focus-visible, .coupon :focus-visible, .folder--1 :focus-visible, .folder--3 :focus-visible, .person--0 :focus-visible { outline-color: #fff; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }

/* Chinese: open leading, a little tracking, no tight display tracking */
:lang(zh) { line-height: 1.85; letter-spacing: 0.02em; text-spacing-trim: trim-start; text-autospace: normal; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { letter-spacing: 0.02em; line-height: 1.2; }
html:lang(en) { --font: "Albert Sans", "Albert Sans Punctuation", "Helvetica Neue", Arial, var(--cjk), sans-serif; }
:lang(en) h1, :lang(en) h2 { letter-spacing: -0.035em; line-height: 1; }
:lang(en) h3 { letter-spacing: -0.015em; line-height: 1.15; }

.wrap { padding-inline: var(--margin); }
.display { font-size: var(--step-display); }
:lang(zh) .display { word-break: keep-all; line-height: 1.1; }
.head { font-size: var(--step-head); }
.lead { font-size: var(--step-lead); line-height: 1.45; }
:lang(zh) .lead { line-height: 1.75; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: var(--margin); top: -4rem; z-index: 10; padding: 0.75rem 1rem; background: var(--ink); color: #fff; }
.skip:focus { top: 0.5rem; }

/* square bullets: the seal at text size */
.squares li, .prose li { position: relative; padding-left: 1.3em; }
.squares li::before, .prose li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.5em; height: 0.5em; background: var(--accent); }
:lang(en) .squares li::before, :lang(en) .prose li::before { top: 0.5em; }
@media (min-width: 68.01rem) {
  .squares li { padding-left: 0; }
  .squares li::before { left: -1.15em; }
}

.prose p:empty { display: none; }
.prose p + p, .prose p + ul, .prose ul + p, .prose li + li, .prose p + ol, .prose ol + p { margin-top: 0.85em; }
.prose ol { counter-reset: none; }
.prose a { text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; }
.prose { max-width: 62ch; }
:lang(zh) .prose { max-width: 36em; }

/* ---------- buttons, links, fields ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.75rem; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.button:active { transform: scale(0.97); }
.button--light { background: var(--plate); color: var(--ink); }
.button--quiet { min-height: 2.75rem; padding: 0 1.1rem; background: var(--plate); color: var(--ink); }
.link { text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 0.07em; font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--ink); color: #fff; }
  .button--light:hover, .button--quiet:hover { background: var(--ink); color: #fff; }
  .link:hover { text-decoration-thickness: 0.14em; }
}
.field { display: block; width: 100%; min-height: 3.25rem; padding: 0 0.9rem; border: 0; border-radius: 0; background: var(--plate); color: var(--ink); font-size: max(1rem, var(--step-body)); }
.field { font-weight: 400; }
.field::placeholder { color: #6b7766; opacity: 1; }

/* ---------- header ---------- */
.bar { display: flex; align-items: center; gap: 1.25rem 2rem; padding-block: 1.1rem; }
.bar__logo { display: block; position: relative; width: clamp(8.5rem, 12vw, 11rem); aspect-ratio: 665 / 190; overflow: hidden; flex: none; }
.bar__logo img { position: absolute; max-width: none; width: 120.3%; left: -14.3%; top: -90.5%; mix-blend-mode: multiply; }
.bar__nav { margin-left: auto; }
.bar__nav ul { display: flex; gap: 0.25rem 1.75rem; flex-wrap: wrap; }
.bar__nav a, .foot__nav a { position: relative; display: inline-block; padding-block: 0.5rem; text-decoration: none; }
.bar__nav a[aria-current]::before { content: ""; position: absolute; left: 0; bottom: 0.15rem; width: 0.45rem; height: 0.45rem; background: var(--accent); }
.bar__lang { display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding: 0 0.6rem; background: var(--surface); text-decoration: none; font-weight: 600; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .bar__nav a:hover { color: var(--accent); }
  .bar__lang:hover { background: var(--accent); color: #fff; }
}

/* ---------- hero: the stage ---------- */
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: var(--gutter); padding-top: clamp(2rem, 7vh, 5.5rem); }
.hero__title { grid-column: 1 / -1; max-width: 13em; }
:lang(en) .hero__title { max-width: 9em; }
.hero__facts { grid-column: 1 / span 4; align-self: start; margin-top: clamp(1.5rem, 2.5vw, 2.5rem); display: grid; gap: 1.5rem; }
.hero__facts ul { display: grid; gap: 0.75rem; }
:lang(zh) .phrases, :lang(zh) .phrases li { word-break: keep-all; }
.stage { --tab: calc((100vw - 2 * var(--margin) + 2 * var(--gutter)) / 6); grid-column: 5 / -1; align-self: stretch; margin-top: clamp(1.5rem, 2.5vw, 2.5rem); margin-right: calc(var(--margin) * -1); padding: calc(var(--notch) + 1.75rem) clamp(1.5rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4rem); background: var(--accent); color: var(--accent-ink); clip-path: polygon(var(--tab) 0, 100% 0, 100% 100%, 0 100%, 0 var(--notch), var(--tab) var(--notch)); }
.stage .button { background: var(--ink); color: #fff; }
@media (hover: hover) and (pointer: fine) { .stage .button:hover { background: var(--plate); color: var(--ink); } }

/* the seal maker */
.sealer { display: grid; grid-template-columns: minmax(10rem, 19rem) minmax(14rem, 22rem); gap: clamp(1.5rem, 3vw, 2.75rem); align-items: end; }
.sealer__paper { aspect-ratio: 1; display: grid; place-items: center; padding: 11%; background: var(--plate); }
.sealer__seal { width: 100%; height: 100%; display: grid; place-items: center; }
.sealer__seal svg { width: 100%; height: 100%; }
.seal text { font-family: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif; font-weight: 900; font-size: 86px; }
.seal--latin text { font-family: "Albert Sans", sans-serif; font-weight: 600; font-size: 62px; }
.sealer__form { display: grid; gap: 1rem; }
.sealer__field { display: grid; gap: 0.4rem; font-size: var(--step-small); font-weight: 600; }
.sealer__field span { font-size: var(--step-body); }
.sealer .button { justify-self: start; }
html:not(.js) .sealer__field { display: none; }

/* ---------- statement ---------- */
.statement { padding-block: clamp(4.5rem, 9vw, 8rem); }
.statement__text { max-width: 30em; margin-inline: auto; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); line-height: 1.3; font-weight: 500; text-align: center; text-wrap: balance; }
:lang(zh) .statement__text { max-width: 22em; line-height: 1.6; }
.nb { white-space: nowrap; }
.thumb { display: inline-block; width: 0.85em; height: 0.85em; margin: 0 0.14em; vertical-align: -0.08em; overflow: hidden; background: var(--surface); }
.thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }

/* square pictures: every photograph is cut to the seal's square */
.sq { position: relative; margin: 0; }
.shutter { overflow: hidden; }
.letter, .person--0 { --cover: var(--deep); }
.person--1 { --cover: var(--surface); }
.sq img, .sq video { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; background: var(--surface); }
.sq figcaption, .offices__clip figcaption { margin-top: 0.6rem; font-size: 1rem; line-height: 1.5; }
.credit { display: block; margin-top: 0.15rem; overflow-wrap: anywhere; }
.credit a { color: inherit; }

/* ---------- the founder's letter ---------- */
.letter__panel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding: clamp(3rem, 7vw, 6rem) var(--margin) 0; background: var(--deep); color: var(--deep-ink); overflow: hidden; }
.letter__side { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 3rem; }
.letter__title { font-size: var(--step-head); position: sticky; top: 2rem; }
.letter__portrait { margin-top: auto; margin-bottom: -20%; }
.letter__body { grid-column: 7 / -1; padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.letter__body li::before { background: var(--accent); }
.signature { margin-top: 2.5rem !important; font-size: var(--step-lead); line-height: 1.45; font-weight: 600; }

/* ---------- sayings: the giant word and the bars ---------- */
.sayings { padding-block: var(--section); }
.sayings__col { max-width: 58rem; margin-inline: auto; container-type: inline-size; }
.giant { font-size: 24.5cqw; line-height: 0.95; font-weight: 700; letter-spacing: 0 !important; }
:lang(en) .giant { font-size: 17.5cqw; line-height: 0.88; letter-spacing: -0.045em !important; }
.sayings__list { margin-top: 1.5rem; display: grid; gap: 6px; }
.saying { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 1.5rem; padding: clamp(1.25rem, 2.5vw, 2rem); background: var(--surface); }
.saying h3 { font-size: var(--step-body); padding-top: 0.2em; }
.saying h3::before { content: ""; display: block; width: 0.6rem; height: 0.6rem; margin-bottom: 0.8rem; background: var(--accent); }
.saying blockquote { margin: 0; }
.saying p { font-size: var(--step-lead); line-height: 1.45; max-width: 34em; }
:lang(zh) .saying p { line-height: 1.75; }

/* ---------- strategy: the green band ---------- */
.strategy { background: var(--accent); color: var(--accent-ink); padding-block: var(--section); }
.strategy__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.strategy__head { grid-column: 1 / span 6; align-self: start; position: sticky; top: 2rem; display: grid; gap: 1.5rem; }
.strategy__head h2 { font-size: var(--step-display); }
.strategy__head .lead { max-width: 20em; }
.strategy__aims { grid-column: 7 / -1; display: grid; gap: clamp(3rem, 5vw, 4.5rem); }
.aim h3 { font-size: var(--step-head); font-weight: 600; }
.aim h3::before { content: ""; display: block; width: 0.5em; height: 0.5em; margin-bottom: 0.45em; background: var(--plate); }
.aim p { margin-top: 1rem; font-size: var(--step-lead); line-height: 1.45; max-width: 24em; }
:lang(zh) .aim p { line-height: 1.7; }

/* ---------- 出品: stacked folders ---------- */
.works { padding-top: var(--section); }
.folders { margin-top: clamp(2rem, 4vw, 3rem); }
.folder { --band: var(--surface); --band-ink: var(--ink); --tab: var(--ink); --tab-ink: #fff; position: sticky; top: calc(var(--i) * 4rem); min-height: calc(80svh + (2 - var(--i)) * 4rem); background: var(--band); color: var(--band-ink); }
.folder--1 { --band: var(--deep); --band-ink: var(--deep-ink); --tab: var(--accent); }
.folder--2 { --band: var(--surface-2); }
.folder--3 { --band: var(--deep); --band-ink: var(--deep-ink); --tab: var(--accent); position: relative; min-height: 0; }
.folder__strip { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; height: 4rem; padding-inline: var(--margin); }
.folder__strip p { align-self: center; font-size: var(--step-small); }
.folder__tab { display: flex; align-items: center; height: 2.75rem; padding: 0 1.25rem; background: var(--tab); color: var(--tab-ink); font-size: var(--step-lead); white-space: nowrap; }
.folder__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding: clamp(1.5rem, 3vw, 2.5rem) var(--margin) clamp(3rem, 6vw, 4.5rem); }
.folder__body > .plate { grid-column: 1 / span 6; }
.folder__text { grid-column: 7 / -1; }
.folder__text p:last-child { margin-top: 1.5rem; }
.folder__body--wall { display: block; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); gap: 6px; }
.wall a { display: block; }
.wall .plate { padding: 16%; }
.folder__body--wall p { margin-top: 2rem; }

/* logo plates */
.plate { display: grid; place-items: center; aspect-ratio: 1; padding: 14%; background: var(--plate); overflow: hidden; }
.plate img { width: 100%; height: 100%; max-width: calc(var(--w) * 1.6); object-fit: contain; transition: transform var(--t-ui) var(--ease-out); }
.plate--dark { background: var(--ink); }
.plate--wide { aspect-ratio: 16 / 10; padding: 9% 16%; }
.plate--seal svg { width: 100%; height: 100%; }
@media (hover: hover) and (pointer: fine) { a:hover .plate img { transform: scale(1.05); } }

/* ---------- portfolio page ---------- */
.intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 1.5rem; align-items: start; padding-block: clamp(2rem, 6vh, 4.5rem) clamp(2.5rem, 5vw, 4rem); }
.intro__title { grid-column: 1 / span 5; }
.intro__text { grid-column: 6 / -1; max-width: 34em; padding-top: 0.4em; }
.shelf__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.5rem; margin-bottom: 1.5rem; }
.shelf__title { font-size: var(--step-lead); }
.shelf__head p { font-size: var(--step-small); }
.shelf__spines { display: flex; gap: 6px; }
.shelf__spines li { flex: 1 1 0; min-width: 0; }
.spine { display: flex; flex-direction: column; align-items: center; justify-content: space-between; height: 26.25rem; padding-block: 0.9rem; background: var(--surface); text-decoration: none; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, opacity var(--t-hover) ease; }
.spine span { writing-mode: vertical-rl; font-size: 1.125rem; font-weight: 600; line-height: 1.2; letter-spacing: 0.04em; white-space: nowrap; }
/* the publisher's mark at the foot of each spine: these are the firm's 出品 */
.spine::after { content: ""; flex: none; width: 0.6rem; height: 0.6rem; background: var(--accent); transition: background-color var(--t-hover) ease; }
.spine:hover::after, .spine:focus-visible::after { background: var(--plate); }
.shelf__spines:has(.spine:hover, .spine:focus-visible) .spine:not(:hover, :focus-visible) { opacity: 0.4; }
.spine:hover, .spine:focus-visible { background: var(--accent); color: #fff; }
.entries { columns: 2; column-gap: clamp(2rem, 5vw, 5rem); margin-top: var(--section); }
.entry { display: grid; grid-template-columns: clamp(6rem, 11vw, 10rem) minmax(0, 1fr); gap: 1.5rem; break-inside: avoid; padding-bottom: clamp(2.5rem, 4vw, 3.5rem); scroll-margin-top: 2rem; }
.entry h3 { font-size: var(--step-lead); margin-bottom: 0.6rem; }
.entry .prose { font-size: var(--step-body); }
.entry:target .plate { outline: 4px solid var(--accent); outline-offset: 4px; }

/* ---------- team page ---------- */
.team-head, .contact-head { display: grid; gap: 1.25rem; padding-block: clamp(2rem, 6vh, 4.5rem) clamp(2rem, 4vw, 3.5rem); }
.team-head .lead, .contact-head .lead { max-width: 30em; }
.person__panel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding: clamp(3rem, 7vw, 6rem) var(--margin) 0; overflow: hidden; }
.person--0 .person__panel { background: var(--deep); color: var(--deep-ink); }
.person--1 .person__panel { background: var(--surface); }
.person__side { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 0.75rem; }
.person__name { font-size: var(--step-head); }
.person__role { font-size: var(--step-lead); }
.person__portrait { margin-top: auto; padding-top: 2.5rem; margin-bottom: -20%; }
.person__bio { grid-column: 7 / -1; align-self: start; padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.person--1 .person__side { grid-column: 8 / -1; grid-row: 1; }
.person--1 .person__bio { grid-column: 1 / span 6; grid-row: 1; }

/* ---------- contact page ---------- */
.coupon { --split: 44%; --cut: 1.75rem; position: relative; display: grid; grid-template-columns: var(--split) 1fr; background: var(--accent); color: var(--accent-ink); clip-path: polygon(0 0, calc(var(--split) - var(--cut) / 2) 0, calc(var(--split) - var(--cut) / 2) var(--cut), calc(var(--split) + var(--cut) / 2) var(--cut), calc(var(--split) + var(--cut) / 2) 0, 100% 0, 100% 100%, calc(var(--split) + var(--cut) / 2) 100%, calc(var(--split) + var(--cut) / 2) calc(100% - var(--cut)), calc(var(--split) - var(--cut) / 2) calc(100% - var(--cut)), calc(var(--split) - var(--cut) / 2) 100%, 0 100%); }
.coupon::after { content: ""; position: absolute; top: calc(var(--cut) + 0.75rem); bottom: calc(var(--cut) + 0.75rem); left: calc(var(--split) - 4px); width: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='20'%3E%3Crect width='8' height='8' fill='%23e4e5e0'/%3E%3C/svg%3E") repeat-y; }
.coupon__left { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 4vw, 3.5rem); }
.coupon__title { font-size: var(--step-head); }
.coupon__note { font-size: var(--step-body); }
.coupon .sealer { padding: clamp(2rem, 4vw, 3.5rem); grid-template-columns: minmax(9rem, 15rem) minmax(13rem, 1fr); }
.coupon .button { background: var(--ink); color: #fff; }
@media (hover: hover) and (pointer: fine) { .coupon .button:hover { background: var(--plate); color: var(--ink); } }
.wechat { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; padding-block: var(--section); }
.wechat__qr { grid-column: 2 / span 4; }
.wechat__qr img { object-fit: contain; background: #fff; }
.wechat__text { grid-column: 7 / -1; display: grid; gap: 1rem; }
.wechat__account { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.offices__clip { position: relative; margin: 0; }
.offices__clip video { width: 100%; height: clamp(18rem, 62svh, 42rem); object-fit: cover; background: var(--surface); }
.offices__clip { margin-top: clamp(2rem, 4vw, 3rem); }
.offices__clip figcaption { padding-inline: var(--margin); }
.offices__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); margin-top: clamp(2rem, 4vw, 3rem); }
.office h3 { margin: 1.5rem 0 0.75rem; font-size: var(--step-lead); }
.office p { font-size: var(--step-body); }
.office a { text-decoration: none; }
.office a:hover { text-decoration: underline; }
.offices :is(.sq img, video) { filter: grayscale(1) contrast(1.05); }

/* ---------- footer: the mark built from squares ---------- */
.foot { margin-top: clamp(5rem, 9vw, 8rem); padding-top: var(--margin); background: var(--accent); color: var(--accent-ink); }
.foot__mark svg { width: 100%; height: auto; }
.mark text { font-family: var(--font); font-size: 64px; font-weight: 700; }
.mark--narrow { display: none; }
:lang(en) .mark text { font-weight: 600; }
.foot__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2.5rem; padding-block: clamp(3rem, 5vw, 4.5rem); }
.foot__nav { grid-column: 1 / span 2; }
.foot__nav a { padding-block: 0.3rem; }
@media (hover: hover) and (pointer: fine) { .foot__nav a:hover { text-decoration: underline; text-underline-offset: 0.25em; } }
.foot__offices { grid-column: 3 / span 7; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.foot__offices :is(img, video) { filter: grayscale(1) contrast(1.05); }
.foot__city { margin: 1.25rem 0 0.5rem; font-size: var(--step-lead); }
.foot__offices p { font-size: var(--step-small); }
.foot__reach { grid-column: 10 / -1; display: grid; gap: 0.75rem; align-content: start; }
.foot__reach span { display: block; font-size: var(--step-small); }
.foot__base { background: var(--deep); color: var(--deep-ink); }
.foot__base .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.25rem; }
.page-contact .foot__nav { grid-column: 1 / span 4; }
.page-contact .foot__reach { grid-column: 7 / -1; }

/* ---------- tablet ---------- */
@media (max-width: 68rem) {
  .hero__facts { grid-column: 1 / -1; max-width: 34em; }
  .stage { grid-column: 1 / -1; margin-left: calc(var(--margin) * -1); }
  .letter__side { grid-column: 1 / -1; }
  .letter__title { position: static; }
  .letter__portrait { width: min(70%, 26rem); margin: 0 0 2.5rem; order: 2; }
  .letter__body { grid-column: 1 / -1; grid-row: 2; padding-bottom: 0; }
  .letter__panel { padding-bottom: 0; }
  .strategy__head { grid-column: 1 / -1; position: static; margin-bottom: 4rem; }
  .strategy__aims { grid-column: 1 / -1; }
  .folder__body > .plate { grid-column: 1 / -1; }
  .folder__text { grid-column: 1 / -1; margin-top: 1.75rem; }
  .shelf__spines { flex-wrap: wrap; gap: 8px; }
  .shelf__spines li { flex: none; }
  .spine { height: auto; padding: 0.55rem 0.8rem; flex-direction: row; gap: 0.6rem; }
  .spine span { writing-mode: horizontal-tb; font-size: 1.0625rem; }
  .entries { columns: 1; }
  .intro__title, .intro__text { grid-column: 1 / -1; }
  .person__side, .person--1 .person__side { grid-column: 1 / -1; grid-row: 1; }
  .person__bio, .person--1 .person__bio { grid-column: 1 / -1; grid-row: 3; margin-top: 2rem; }
  .person__portrait { order: 3; width: min(80%, 26rem); margin: 0 0 -20%; padding-top: 0; }
  .person__panel { padding-bottom: 0; }
  .person__panel > .person__side { display: contents; }
  .person__name { grid-column: 1 / -1; grid-row: 1; }
  .person__role { grid-column: 1 / -1; grid-row: 2; margin-top: 0.5rem; }
  .person__portrait { grid-column: 1 / -1; grid-row: 4; margin-top: 2.5rem; }
  .coupon { --split: 100%; grid-template-columns: 1fr; clip-path: none; }
  .coupon::after { display: none; }
  .coupon .sealer { padding-top: 0; }
  .wechat__qr { grid-column: 1 / span 5; }
  .wechat__text { grid-column: 7 / -1; }
  .foot__nav, .page-contact .foot__nav { grid-column: 1 / span 4; }
  .foot__reach, .page-contact .foot__reach { grid-column: 5 / -1; }
  .foot__offices { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- phone ---------- */
@media (max-width: 40rem) {
  .bar { flex-wrap: wrap; }
  .bar__nav { order: 3; width: 100%; margin-left: 0; }
  .bar__nav ul { gap: 0.25rem 1.25rem; }
  .bar__lang { margin-left: auto; }
  .hero__title { max-width: none; }
  .stage { padding: calc(var(--notch) + 1rem) var(--margin) 4rem; }
  .sealer, .coupon .sealer { grid-template-columns: 1fr; }
  .sealer__paper { width: min(78%, 17rem); }
  .statement__text { text-align: left; font-size: 1.3rem; }
  .giant { font-size: 24cqw; }
  .folder { position: relative; top: auto; min-height: 0; }
  .folder__tab { height: 2.5rem; font-size: 1.25rem; white-space: normal; }
  .folder__strip { height: auto; padding-top: 1.25rem; }
  .plate--wide { aspect-ratio: 4 / 3; }
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .entry { grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; }
  .wechat { row-gap: 2rem; }
  .wechat__qr { grid-column: 1 / span 9; }
  .wechat__text { grid-column: 1 / -1; }
  .wechat__account { font-size: 2rem; }
  .offices__list { grid-template-columns: 1fr; row-gap: 3.5rem; }
  .foot__nav, .page-contact .foot__nav { grid-column: 1 / -1; }
  .foot__reach, .page-contact .foot__reach { grid-column: 1 / -1; }
  .saying { grid-template-columns: 1fr; gap: 0.75rem; }
  .foot__offices { grid-template-columns: 1fr; row-gap: 2.5rem; }
  .foot__offices li { display: grid; grid-template-columns: 42% minmax(0, 1fr); column-gap: 1rem; align-items: start; align-content: start; }
  .foot__offices .sq { display: contents; }
  .foot__offices .sq > :is(img, video) { grid-column: 1; grid-row: 1 / span 4; }
  .foot__offices .sq figcaption { grid-column: 1 / -1; grid-row: 5; }
  .foot__offices li > :not(figure) { grid-column: 2; }
  .foot__city { margin-top: 0; }
  .mark--wide { display: none; }
  .mark--narrow { display: block; width: 74%; }
}

/* ---------- motion: transform and opacity, all inside no-preference ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title { animation: rise 900ms var(--ease-expo) 80ms both; }
  .js [data-rise] { animation: rise 800ms var(--ease-expo) 80ms both; }
  .js [data-rise] + [data-rise] { animation-delay: 300ms; }
  .js .hero__facts li { animation: rise 700ms var(--ease-out) both; }
  .js .hero__facts li:nth-child(1) { animation-delay: 380ms; }
  .js .hero__facts li:nth-child(2) { animation-delay: 450ms; }
  .js .hero__facts li:nth-child(3) { animation-delay: 520ms; }
  /* the signature: the stage opens from the bottom edge; the paper settles from 1.12 */
  .js .stage[data-open] { animation: open-up 1100ms var(--ease-in-out) 200ms both; }
  .js .stage[data-open] .sealer__paper { animation: settle 1500ms var(--ease-soft) 200ms both; }
  .js .stage[data-open] .sealer__form { animation: rise 700ms var(--ease-out) 900ms both; }

  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  /* the shutter: a cover in the ground's colour lifts off the picture, which settles from 1.12 */
  .js .shutter[data-reveal] { opacity: 1; transform: none; }
  .js .shutter[data-reveal]::after { content: ""; position: absolute; inset: 0; background: var(--cover, var(--bg)); transform-origin: 50% 0; transition: transform 1100ms var(--ease-in-out); }
  .js .shutter[data-reveal] img { transform: scale(1.12); transition: transform 1500ms var(--ease-soft); }
  .js .shutter[data-reveal].is-in::after { transform: scaleY(0); }
  .js .shutter[data-reveal].is-in img { transform: none; }
  .js .strategy__aims .aim { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
  .js .strategy__aims .aim.is-in { opacity: 1; transform: none; }

  .seal.is-new { animation: stamp 520ms var(--ease-out) both; }

  @supports (animation-timeline: view()) {
    /* far down the page: a rise tied to the scroll that moves the block but never hides it */
    [data-scroll] { animation: scroll-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    .letter__portrait { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes open-up { from { clip-path: polygon(var(--tab) 100%, 100% 100%, 100% 100%, 0 100%, 0 100%, var(--tab) 100%); } }
@keyframes settle { from { transform: scale(1.12); } to { transform: none; } }
@keyframes stamp { 0% { transform: scale(1.08); opacity: 0.35; } 100% { transform: none; opacity: 1; } }
@keyframes scroll-rise { from { transform: translateY(24px); } to { transform: none; } }
@keyframes drift { from { translate: 0 -4%; } to { translate: 0 4%; } }
