@import url("./fonts/fonts.css");

:root {
  --ink: #1d211e;
  --ink-soft: #58605a;
  --paper: #f2f0e9;
  --paper-2: #e7e3d8;
  --card: #faf9f4;
  --moss: #4b5649;
  --accent: #b75237;
  --line: rgba(29, 33, 30, .16);
  --white: #fff;
  --radius: 4px;
  --shadow: 0 24px 70px rgba(28, 34, 29, .12);
  --serif: "Noto Serif SC", "Songti SC", STSong, serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.78;
  letter-spacing: .008em;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: var(--accent); color: white; }

.skip-link { position: fixed; left: 12px; top: -80px; z-index: 200; padding: 10px 16px; background: white; }
.skip-link:focus { top: 12px; }
.shell { width: min(1440px, calc(100% - 8vw)); margin-inline: auto; }
.narrow { width: min(900px, calc(100% - 8vw)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1px; margin: 0 12px 4px 0; background: currentColor; }
.display { margin: 0; font-family: var(--serif); font-weight: 300; line-height: 1.1; letter-spacing: -.045em; }
.section-title { max-width: 840px; font-size: clamp(40px, 5vw, 72px); }
.section-lead { max-width: 700px; color: var(--ink-soft); font-size: 18px; }
.muted { color: var(--ink-soft); }
.small { font-size: 13px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 84px;
  color: var(--ink);
  transition: background .35s ease, color .35s ease, transform .35s ease;
}
.site-header.on-hero { color: white; }
.site-header.scrolled { color: var(--ink); background: rgba(242, 240, 233, .94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.header-inner { height: 100%; display: grid; grid-template-columns: 235px 1fr auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.brand-symbol { width: 58px; height: 32px; object-fit: contain; transition: filter .35s ease; }
.site-header.on-hero:not(.scrolled) .brand-symbol, .site-footer .brand-symbol { filter: invert(1); }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid currentColor; font-family: var(--serif); font-size: 17px; line-height: 1; }
.brand-word { display: grid; line-height: 1.1; }
.brand-word strong { font-family: var(--serif); font-weight: 500; letter-spacing: .1em; font-size: 16px; }
.brand-word span { margin-top: 4px; font-size: 8px; letter-spacing: .13em; text-transform: uppercase; opacity: .76; }
.nav { justify-self: center; display: flex; align-items: center; gap: clamp(18px, 2.5vw, 42px); }
.nav a { position: relative; font-size: 13px; letter-spacing: .08em; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: currentColor; transition: right .25s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { font-size: 12px; letter-spacing: .08em; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { display: block; height: 1px; margin: 7px 0; background: currentColor; }

.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 14px; border: 1px solid transparent; padding: 0 22px; background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .12em; transition: all .25s ease; }
.btn::after { content: "↗"; font-size: 15px; transition: transform .25s ease; }
.btn:hover::after { transform: translate(3px, -3px); }
.btn-dark { background: var(--ink); color: white; }
.btn-dark:hover { background: var(--accent); }
.btn-light { background: white; color: var(--ink); }
.btn-outline { border-color: currentColor; }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: white; }
.on-hero:not(.scrolled) .header-cta { background: rgba(255,255,255,.12); color: white; border-color: rgba(255,255,255,.5); }

.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; color: white; background: #232b26; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { height: 100%; object-fit: cover; object-position: center; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 20, 17, .72) 0%, rgba(16,20,17,.32) 48%, rgba(16,20,17,.08) 100%), linear-gradient(0deg, rgba(16,20,17,.42), transparent 45%); }
.hero-content { position: relative; z-index: 2; padding: 190px 0 90px; }
.hero h1 { max-width: 790px; font-size: clamp(54px, 7.6vw, 112px); }
.hero h1 em { display: block; font-style: normal; color: #d8c7b1; }
.hero .hero-brand-title { max-width: 1040px; font-size: clamp(64px, 7.5vw, 114px); line-height: .94; letter-spacing: -.055em; }
.hero-brand-title span { display: block; color: #dbc7aa; }
.hero-service-line { margin: 22px 0 0; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.hero-copy { max-width: 650px; margin: 30px 0 38px; font-size: clamp(16px, 1.5vw, 20px); font-weight: 400; line-height: 1.9; color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-index { position: absolute; right: 4vw; bottom: 90px; z-index: 3; display: grid; gap: 16px; width: 200px; }
.hero-index span { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.34); font-size: 11px; letter-spacing: .12em; }
.scroll-mark { position: absolute; right: 4vw; top: 50%; z-index: 2; writing-mode: vertical-rl; font-size: 9px; letter-spacing: .24em; text-transform: uppercase; }

.fact-strip { background: var(--ink); color: white; }
.fact-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); }
.fact { min-height: 130px; padding: 28px 30px; border-right: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; justify-content: space-between; }
.fact:first-child { padding-left: 0; }
.fact:last-child { border-right: 0; }
.fact strong { font-family: var(--serif); font-size: 28px; font-weight: 400; }
.fact span { font-size: 11px; letter-spacing: .12em; opacity: .56; }

.section { padding: clamp(90px, 11vw, 160px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr); align-items: end; gap: 8vw; margin-bottom: 70px; }
.section-head .section-lead { margin: 0 0 4px; }
.intro-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 10vw; align-items: start; }
.intro-copy { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.4vw, 48px); line-height: 1.45; letter-spacing: -.03em; }
.intro-detail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px; margin-top: 64px; }
.intro-detail h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.studio-section { background: var(--paper-2); }
.studio-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 9vw; align-items: end; margin-bottom: 54px; }
.studio-heading .section-title { max-width: 760px; margin-bottom: 0; }
.studio-title span { display: block; }
.studio-heading .text-link { display: inline-block; margin-top: 24px; }
.studio-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(2, minmax(280px, 400px)); gap: 22px; }
.studio-photo { grid-column: span 5; position: relative; margin: 0; overflow: hidden; background: #d8d5ce; }
.studio-photo-main { grid-column: span 7; grid-row: span 2; }
.studio-photo img { height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.studio-photo:hover img { transform: scale(1.018); }
.studio-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 18px 20px; background: linear-gradient(0deg, rgba(15,18,16,.68), transparent); color: white; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.office-about { background: var(--ink); color: white; }
.office-about .section-lead { color: rgba(255,255,255,.62); }
.office-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.office-shot { grid-column: span 6; margin: 0; }
.office-shot-wide { grid-column: span 8; }
.office-shot-portrait { grid-column: span 4; }
.office-shot img { height: clamp(360px, 39vw, 600px); object-fit: cover; }
.office-shot-portrait img { height: 100%; min-height: 600px; }
.office-shot figcaption { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.52); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }

.service-list { border-top: 1px solid var(--line); }
.service-row { position: relative; display: grid; grid-template-columns: 90px 1fr 1fr auto; align-items: center; gap: 30px; min-height: 142px; border-bottom: 1px solid var(--line); transition: padding .3s ease, background .3s ease; }
.service-row:hover { padding-inline: 24px; background: rgba(255,255,255,.45); }
.service-row .num { font-family: var(--serif); font-size: 16px; opacity: .55; }
.service-row h3 { margin: 0; font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); font-weight: 300; letter-spacing: -.03em; }
.service-row p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.service-row .arrow { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }

.dark-section { background: #202620; color: white; }
.dark-section .eyebrow, .dark-section .muted { color: rgba(255,255,255,.58); }
.portfolio-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.project-card { position: relative; grid-column: span 6; overflow: hidden; }
.project-card.wide { grid-column: span 7; }
.project-card.tall { grid-column: span 5; margin-top: 100px; }
.project-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #353c35; }
.visual-label { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 6px 9px; background: rgba(18,22,19,.74); color: white; font-size: 9px; letter-spacing: .12em; backdrop-filter: blur(8px); }
.project-card.tall .project-media { aspect-ratio: 4 / 5; }
.project-card img { height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.project-card:hover img { transform: scale(1.035); }
.project-meta { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; padding: 22px 0 12px; }
.project-meta h3 { margin: 0 0 6px; font-family: var(--serif); font-size: clamp(24px, 2.2vw, 34px); font-weight: 400; }
.project-meta p { margin: 0; font-size: 12px; color: rgba(255,255,255,.52); letter-spacing: .1em; }
.project-meta span { font-family: var(--serif); font-size: 14px; opacity: .7; }

.principle-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 10vw; }
.quote { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 5vw, 76px); line-height: 1.25; letter-spacing: -.045em; }
.principle-side { align-self: end; }
.rule-list { margin-top: 44px; border-top: 1px solid var(--line); }
.rule { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rule b { font-family: var(--serif); font-weight: 400; }
.rule p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.process { counter-reset: step; border-top: 1px solid var(--line); }
.process-step { counter-increment: step; display: grid; grid-template-columns: 70px 1fr 1fr; gap: 30px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.process-step::before { content: "0" counter(step); font-family: var(--serif); color: var(--accent); }
.process-step h3 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.process-step p { margin: 0; color: var(--ink-soft); }

.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.insight-card { min-height: 360px; padding: 34px; background: var(--paper); display: flex; flex-direction: column; transition: background .25s ease; }
.insight-card:hover { background: var(--card); }
.insight-card .tag { font-size: 10px; letter-spacing: .15em; color: var(--accent); }
.insight-card h3 { margin: auto 0 24px; font-family: var(--serif); font-size: 30px; line-height: 1.35; font-weight: 400; }
.insight-card p { color: var(--ink-soft); font-size: 13px; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 26px 54px 26px 0; position: relative; font-family: var(--serif); font-size: 21px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; top: 23px; font-family: var(--sans); font-size: 24px; font-weight: 200; }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { max-width: 760px; padding: 0 0 28px; color: var(--ink-soft); }

.cta { background: var(--accent); color: white; overflow: hidden; }
.cta-inner { min-height: 530px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 50px; position: relative; }
.cta h2 { max-width: 850px; font-size: clamp(52px, 7vw, 104px); }
.cta p { max-width: 600px; color: rgba(255,255,255,.74); }
.cta .btn { align-self: end; margin-bottom: 80px; }
.cta-ring { position: absolute; width: 520px; height: 520px; right: -260px; top: -160px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }

.site-footer { padding: 80px 0 30px; background: #151916; color: white; }
.footer-main { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 50px; padding-bottom: 70px; }
.footer-brand p { max-width: 340px; color: rgba(255,255,255,.48); font-size: 13px; }
.footer-col h4 { margin: 0 0 20px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.footer-col a, .footer-col span { display: block; margin: 10px 0; font-size: 13px; color: rgba(255,255,255,.75); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.38); font-size: 11px; }
.icp-link { display: inline-block; white-space: nowrap; color: rgba(255,255,255,.55); transition: color .25s ease; }
.icp-link:hover, .icp-link:focus-visible { color: rgba(255,255,255,.78); }

/* Inner pages */
.inner-main { padding-top: 84px; }
.page-hero { min-height: 70vh; display: grid; align-items: end; padding: 140px 0 80px; background: linear-gradient(135deg, #e9e5da, #f2efe7 56%, #ddd8ca); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::after { content: ""; position: absolute; right: -10vw; top: -18vw; z-index: -1; width: 48vw; height: 48vw; border: 1px solid rgba(29,33,30,.12); border-radius: 50%; }
.page-hero:not(.page-hero-image)::before { content: ""; position: absolute; inset: 0 0 0 48%; z-index: -2; background: linear-gradient(90deg, #e9e5da 0%, transparent 34%), url("office/office-material-library.webp") center / cover no-repeat; opacity: .3; filter: saturate(.7); }
.page-hero:not(.page-hero-image) > .shell { position: relative; z-index: 1; }
.page-hero h1 { max-width: 1000px; font-size: clamp(54px, 8vw, 112px); }
.page-hero .section-lead { margin: 28px 0 0; }
.page-hero-image { min-height: 78svh; color: white; background: var(--ink); isolation: isolate; }
.page-hero-image::after { z-index: 1; inset: 0; width: auto; height: auto; border: 0; border-radius: 0; background: linear-gradient(90deg, rgba(13,16,14,.78) 0%, rgba(13,16,14,.47) 48%, rgba(13,16,14,.12) 100%), linear-gradient(0deg, rgba(13,16,14,.46), transparent 62%); }
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero-content { position: relative; z-index: 2; }
.page-hero-image .breadcrumbs { color: rgba(255,255,255,.64); }
.page-hero-image .breadcrumbs a, .page-hero-image .breadcrumbs strong { color: inherit; }
.page-hero-image .eyebrow { color: rgba(255,255,255,.68); }
.page-hero-image .section-lead { max-width: 650px; color: rgba(255,255,255,.78); }
.page-hero-portfolio .page-hero-media img { object-position: center 58%; }
.breadcrumbs { margin-bottom: 38px; color: var(--ink-soft); font-size: 11px; letter-spacing: .1em; }
.breadcrumbs span { margin: 0 10px; opacity: .5; }
.answer-block { margin-top: -1px; background: var(--ink); color: white; }
.answer-inner { display: grid; grid-template-columns: 220px 1fr; gap: 7vw; padding-block: 58px; border-left: 1px solid rgba(255,255,255,.12); padding-left: clamp(24px, 4vw, 64px); }
.answer-inner h2 { margin: 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.answer-inner p { margin: 0; max-width: 900px; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 34px); line-height: 1.6; }
.entity-answer { background: #2b332c; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plain-card { min-height: 320px; padding: 32px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform .35s ease, box-shadow .35s ease, background .35s ease; }
.plain-card::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 72px; height: 3px; background: var(--accent); transition: width .35s ease; }
.plain-card:hover { transform: translateY(-8px); background: white; box-shadow: var(--shadow); }
.plain-card:hover::before { width: 100%; }
.plain-card .num { font-family: var(--serif); color: var(--accent); }
.plain-card h2, .plain-card h3 { margin: auto 0 16px; font-family: var(--serif); font-size: 30px; line-height: 1.3; font-weight: 400; }
.plain-card p { margin: 0 0 22px; color: var(--ink-soft); font-size: 14px; }
.plain-card .card-fit { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; }
.plain-card .card-fit b { color: var(--ink); font-weight: 600; }
.text-link { display: inline-flex; gap: 10px; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(5px); }
.content-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; }
.sticky-label { position: sticky; top: 130px; align-self: start; }
.prose h2 { margin: 0 0 26px; font-family: var(--serif); font-size: clamp(34px, 4vw, 56px); font-weight: 400; line-height: 1.25; }
.prose h3 { margin: 50px 0 14px; font-family: var(--serif); font-size: 26px; font-weight: 400; }
.prose p { color: var(--ink-soft); }
.bullet-list { list-style: none; padding: 0; margin: 32px 0; border-top: 1px solid var(--line); }
.bullet-list li { padding: 17px 0 17px 32px; border-bottom: 1px solid var(--line); position: relative; }
.bullet-list li::before { content: ""; width: 7px; height: 7px; background: var(--accent); position: absolute; left: 2px; top: 26px; }
.decision-list { list-style: none; margin: 0 0 64px; padding: 0; border-top: 1px solid var(--line); }
.decision-list li { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.decision-list span { color: var(--accent); font-family: var(--serif); }
.decision-list p { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 22px; line-height: 1.55; }

.topic-nav { position: sticky; top: 84px; z-index: 5; display: flex; flex-wrap: wrap; gap: 8px; margin: -28px 0 74px; padding: 14px; background: rgba(242,240,233,.9); border: 1px solid var(--line); backdrop-filter: blur(14px); }
.topic-nav a { padding: 10px 15px; border: 1px solid transparent; font-size: 12px; letter-spacing: .08em; }
.topic-nav a:hover { border-color: var(--line); background: white; }
.knowledge-group { scroll-margin-top: 150px; margin-top: 100px; }
.knowledge-group:first-of-type { margin-top: 0; }
.knowledge-group-head { display: grid; grid-template-columns: 64px 1fr; align-items: end; gap: 24px; margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.knowledge-group-head > span { color: var(--accent); font-family: var(--serif); font-size: 30px; }
.knowledge-group-head .eyebrow { margin-bottom: 5px; }
.knowledge-group-head h2 { margin: 0; font-family: var(--serif); font-size: clamp(32px, 4vw, 54px); font-weight: 400; }
.knowledge-group .insight-grid { grid-template-columns: repeat(2, 1fr); }

.article-prose { max-width: 840px; }
.article-intro { margin: 0 0 72px; padding: 28px 30px; border-left: 3px solid var(--accent); background: var(--paper-2); color: var(--ink) !important; font-family: var(--serif); font-size: 20px; line-height: 1.8; }
.article-section { margin: 0 0 72px; scroll-margin-top: 120px; }
.article-section h2 { font-size: clamp(32px, 3.3vw, 48px); }
.article-section p { font-size: 17px; line-height: 2; }
.article-checklist { margin: 84px 0; padding: clamp(26px, 4vw, 46px); background: var(--ink); color: white; }
.article-checklist .eyebrow { color: rgba(255,255,255,.54); }
.article-checklist h2 { max-width: 660px; color: white; }
.article-checklist ol { list-style: none; margin: 38px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.16); }
.article-checklist li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.article-checklist li span { color: #d6b9a4; font-family: var(--serif); }
.article-checklist li p { margin: 0; color: rgba(255,255,255,.84); }
.article-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 44px 0 70px; }
.article-links a { min-height: 150px; padding: 24px; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; transition: background .25s ease, transform .25s ease; }
.article-links a:hover { background: white; transform: translateY(-4px); }
.article-links span { color: var(--ink-soft); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.article-links strong { font-family: var(--serif); font-size: 22px; font-weight: 400; }

.portfolio-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 70px 24px; }
.portfolio-list .project-card { grid-column: auto; color: var(--ink); }
.portfolio-list .project-card:nth-child(even) { margin-top: 90px; }
.portfolio-list .project-media { aspect-ratio: 4 / 3; }
.portfolio-list .project-meta p { color: var(--ink-soft); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 50px; }
.filter-btn { padding: 10px 17px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 12px; }
.filter-btn.active, .filter-btn:hover { background: var(--ink); color: white; }
.project-card[hidden] { display: none; }

.case-hero { min-height: 92vh; position: relative; display: grid; align-items: end; color: white; background: var(--ink); }
.case-hero img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.case-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,15,13,.7), transparent 65%); }
.case-hero-content { position: relative; z-index: 1; padding: 180px 0 72px; }
.case-hero h1 { max-width: 900px; font-size: clamp(48px, 7vw, 96px); }
.case-hero p { font-size: 14px; letter-spacing: .12em; }
.case-facts { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-fact { padding: 24px; border-right: 1px solid var(--line); }
.case-fact:last-child { border-right: 0; }
.case-fact span { display: block; font-size: 10px; letter-spacing: .14em; color: var(--ink-soft); }
.case-fact strong { display: block; margin-top: 6px; font-family: var(--serif); font-weight: 400; font-size: 20px; }
.case-archive { overflow: hidden; }
.case-gallery-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 8vw; align-items: end; margin-bottom: 54px; }
.case-gallery-head .section-title { margin-bottom: 0; }
.case-gallery-editorial { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.case-gallery-item { grid-column: span 6; margin: 0; overflow: hidden; }
.case-gallery-item:first-child, .case-gallery-item:nth-child(6) { grid-column: span 12; }
.case-gallery-item:nth-child(2), .case-gallery-item:nth-child(5) { grid-column: span 7; }
.case-gallery-item:nth-child(3), .case-gallery-item:nth-child(4) { grid-column: span 5; }
.case-gallery-item img { width: 100%; height: clamp(380px, 42vw, 620px); object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.case-gallery-item:first-child img, .case-gallery-item:nth-child(6) img { height: clamp(520px, 55vw, 760px); }
.case-gallery-item:hover img { transform: scale(1.018); }
.case-gallery-item figcaption { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.54); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.case-gallery-item figcaption span { color: white; }
.evidence-note { margin: 0 0 58px; padding: 24px 26px; border: 1px solid var(--line); background: rgba(255,255,255,.36); }
.evidence-note strong { display: block; margin-bottom: 7px; color: var(--accent); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.evidence-note p { margin: 0; font-size: 14px; }
.related-reading { background: var(--paper-2); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card { min-height: 230px; padding: 28px; background: rgba(255,255,255,.56); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; transition: transform .3s ease, background .3s ease; }
.related-card:hover { transform: translateY(-6px); background: white; }
.related-card span { color: var(--ink-soft); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.related-card strong { font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.4; }
.related-card b { color: var(--accent); font-size: 11px; letter-spacing: .08em; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; }
.contact-info { display: grid; gap: 34px; }
.contact-logo-card { min-height: 250px; display: grid; place-items: center; padding: 38px; background: white; border: 1px solid var(--line); }
.contact-logo-card img { max-width: 430px; }
.contact-item { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.contact-item span { display: block; font-size: 10px; letter-spacing: .15em; color: var(--ink-soft); text-transform: uppercase; }
.contact-item strong { display: block; margin-top: 8px; font-family: var(--serif); font-size: 23px; font-weight: 400; }
.form { display: grid; gap: 18px; padding: clamp(28px, 4vw, 54px); background: var(--card); }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-size: 11px; letter-spacing: .1em; color: var(--ink-soft); }
.field input, .field textarea, .field select { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 11px 0; outline: none; color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 11px; color: var(--ink-soft); }
.form-success { display: none; padding: 20px; background: #e4ecdf; }
.form-success.show { display: block; }
.contact-side { display: grid; gap: 24px; }
.wechat-card { display: grid; grid-template-columns: 1fr 230px; align-items: center; gap: 36px; padding: 34px; background: #202620; color: white; }
.wechat-card h2 { font-size: 42px; }
.wechat-card p:last-child { color: rgba(255,255,255,.58); font-size: 13px; }
.wechat-card img { background: white; }

/* Contact and official channels */
.contact-hero .page-hero-media img { object-position: center 56%; }
.contact-overview { padding: 72px 0; background: var(--ink); color: white; }
.contact-overview-grid { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.55fr); gap: 7vw; align-items: stretch; }
.contact-identity { display: flex; flex-direction: column; justify-content: space-between; padding: 32px; background: white; color: var(--ink); }
.contact-identity img { width: min(100%, 380px); margin: auto; }
.contact-identity p { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; }
.contact-primary-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.contact-primary-card { min-height: 270px; padding: 32px 28px; border-right: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column; justify-content: space-between; transition: background .25s ease; }
.contact-primary-card:last-child { border-right: 0; }
a.contact-primary-card:hover { background: rgba(255,255,255,.07); }
.contact-primary-card span { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.48); }
.contact-primary-card strong { font-family: var(--serif); font-size: clamp(21px, 2vw, 30px); line-height: 1.55; font-weight: 400; }
.contact-primary-card b { color: rgba(255,255,255,.56); font-size: 11px; font-weight: 500; }
.social-section { background: var(--paper-2); }
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.social-card { min-width: 0; padding: 24px; background: rgba(255,255,255,.72); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease, background .35s ease; }
.social-card:hover { transform: translateY(-7px); background: white; box-shadow: var(--shadow); }
.social-card-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.social-card-head span { display: block; color: var(--ink-soft); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.social-card-head h3 { margin: 4px 0 0; font-family: var(--serif); font-size: 29px; font-weight: 400; }
.social-card-head b { flex: 0 0 auto; padding: 5px 8px; background: var(--ink); color: white; font-size: 9px; font-weight: 600; letter-spacing: .08em; }
.social-qr { aspect-ratio: 1; margin: 22px 0; padding: 10px; background: white; display: grid; place-items: center; overflow: hidden; }
.social-qr img { width: 100%; height: 100%; object-fit: contain; }
.social-card p { margin: 0; min-height: 76px; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.social-card > strong { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .12em; }
.contact-form-section { background: var(--paper); }
.contact-form-intro .section-lead { margin-top: 28px; }
.contact-note { margin-top: 48px; border-top: 1px solid var(--line); }
.contact-note { display: grid; grid-template-columns: 48px 1fr; }
.contact-note span, .contact-note p { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-note span { color: var(--accent); font-family: var(--serif); }
.contact-note p { color: var(--ink-soft); font-size: 13px; }

.wechat-widget { position: fixed; right: 24px; bottom: 24px; z-index: 120; }
.contact-page .wechat-widget { display: none; }
.wechat-fab { min-height: 48px; padding: 0 18px; border: 1px solid rgba(255,255,255,.22); background: var(--ink); color: white; box-shadow: var(--shadow); cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: .1em; }
.wechat-fab:hover { background: var(--accent); }
.wechat-popover { position: absolute; right: 0; bottom: 60px; width: 270px; padding: 18px; background: white; box-shadow: var(--shadow); color: var(--ink); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.wechat-widget.open .wechat-popover { opacity: 1; visibility: visible; transform: none; }
.wechat-popover img { margin-bottom: 12px; }
.wechat-popover strong, .wechat-popover span { display: block; text-align: center; }
.wechat-popover strong { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.wechat-popover span { margin-top: 2px; color: var(--ink-soft); font-size: 11px; }
.wechat-close { position: absolute; right: 8px; top: 8px; z-index: 2; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--ink); color: white; cursor: pointer; }

.reveal { opacity: 1; transform: none; transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .nav, .header-phone, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .nav.open { position: fixed; inset: 84px 0 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 8vw; background: var(--paper); color: var(--ink); }
  .nav.open a { font-family: var(--serif); font-size: clamp(30px, 6vw, 54px); }
  .hero-index, .scroll-mark { display: none; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact { border-bottom: 1px solid rgba(255,255,255,.12); }
  .fact:first-child { padding-left: 30px; }
  .section-head, .intro-grid, .principle-grid, .content-split, .contact-grid, .studio-heading { grid-template-columns: 1fr; gap: 42px; }
  .sticky-label { position: static; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 60px 1fr auto; }
  .service-row p { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .answer-inner { grid-template-columns: 1fr; gap: 16px; }
  .contact-overview-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .shell, .narrow { width: min(100% - 40px, 1440px); }
  .site-header { height: 70px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-symbol { width: 46px; height: 26px; }
  .brand-word span { display: none; }
  .nav.open { inset-top: 70px; }
  .hero { min-height: 820px; }
  .hero-content { padding-bottom: 55px; }
  .hero h1 { font-size: clamp(48px, 15vw, 72px); }
  .hero .hero-brand-title { font-size: clamp(52px, 15.5vw, 74px); line-height: .98; }
  .hero-service-line { max-width: 290px; line-height: 1.7; }
  .hero-media img { object-position: 62% center; }
  .page-hero-image { min-height: 720px; padding-bottom: 64px; }
  .page-hero-image .page-hero-media img { object-position: 62% center; }
  .page-hero-portfolio .page-hero-media img { object-position: 56% center; }
  .fact-grid { grid-template-columns: 1fr; }
  .fact, .fact:first-child { min-height: 100px; padding: 22px 20px; border-right: 0; }
  .section { padding: 90px 0; }
  .section-head { margin-bottom: 44px; }
  .intro-detail, .card-grid, .insight-grid, .portfolio-list, .field-row { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 42px 1fr auto; gap: 12px; min-height: 108px; }
  .service-row:hover { padding-inline: 8px; }
  .portfolio-grid { display: block; }
  .project-card, .project-card.tall { margin: 0 0 50px; }
  .project-card.tall .project-media { aspect-ratio: 4/3; }
  .process-step { grid-template-columns: 44px 1fr; gap: 10px; }
  .process-step p { grid-column: 2; }
  .insight-card { min-height: 310px; }
  .cta-inner { grid-template-columns: 1fr; min-height: 600px; padding: 90px 0; }
  .cta .btn { margin: 0; justify-self: start; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .page-hero { min-height: 560px; padding-bottom: 56px; }
  .page-hero h1 { font-size: clamp(48px, 14vw, 72px); }
  .page-hero:not(.page-hero-image)::before { inset: 0; opacity: .18; background-position: 64% center; }
  .answer-inner { border-left: 0; padding-left: 0; }
  .plain-card { min-height: 280px; }
  .portfolio-list .project-card:nth-child(even) { margin-top: 0; }
  .studio-heading { margin-bottom: 34px; }
  .studio-grid, .office-gallery { display: block; }
  .studio-photo, .office-shot { margin-bottom: 24px; }
  .studio-photo img, .studio-photo-main img, .office-shot img, .office-shot-portrait img { width: 100%; height: min(78vw, 410px); min-height: 0; }
  .case-hero { min-height: 760px; }
  .case-facts { grid-template-columns: 1fr 1fr; }
  .case-fact { border-bottom: 1px solid var(--line); }
  .case-gallery-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 34px; }
  .case-gallery-editorial { display: block; }
  .case-gallery-item, .case-gallery-item:first-child, .case-gallery-item:nth-child(6) { margin-bottom: 34px; }
  .case-gallery-item img, .case-gallery-item:first-child img, .case-gallery-item:nth-child(6) img { height: min(76vw, 390px); }
  .contact-logo-card { min-height: 190px; padding: 28px; }
  .contact-overview { padding: 46px 0; }
  .contact-identity { min-height: 250px; padding: 24px; }
  .contact-primary-grid { grid-template-columns: 1fr; }
  .contact-primary-card { min-height: 190px; padding: 24px 20px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .contact-primary-card:last-child { border-bottom: 0; }
  .social-grid { grid-template-columns: 1fr; }
  .social-card { padding: 22px; }
  .social-qr { width: min(100%, 280px); justify-self: center; align-self: center; }
  .social-card p { min-height: 0; }
  .wechat-card { grid-template-columns: 1fr; padding: 26px; }
  .wechat-card img { width: min(100%, 280px); justify-self: center; }
  .wechat-widget { right: 12px; bottom: 12px; }
  .wechat-popover { width: min(270px, calc(100vw - 24px)); }
  .topic-nav { top: 70px; margin-bottom: 54px; }
  .knowledge-group .insight-grid, .article-links, .related-grid { grid-template-columns: 1fr; }
  .knowledge-group { margin-top: 76px; }
  .knowledge-group-head { grid-template-columns: 44px 1fr; gap: 12px; }
  .article-intro { padding: 22px 20px; font-size: 18px; }
  .decision-list p { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
