:root {
  color-scheme: light;
  --paper: #f2f0ea;
  --white: #faf8f2;
  --ink: #242725;
  --muted: #555953;
  --forest: #35483e;
  --clay: #b58d73;
  --line: #c7c7bd;
  --night: #202820;
  --gutter: clamp(20px, 6vw, 110px);
  --header-height: 76px;
  --space: clamp(68px, 9vw, 145px);
  font: 16px/1.65 "Aptos", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.08; }
h2 { font-size: clamp(2.45rem, 5vw, 5.3rem); letter-spacing: -.065em; }
h3 { font-size: clamp(1.28rem, 2.35vw, 2.3rem); letter-spacing: -.035em; }
:lang(zh-CN) h1, :lang(zh-CN) h2, :lang(zh-CN) h3 { letter-spacing: 0; line-height: 1.25; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { color: var(--forest); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
address { font-style: normal; }
[id] { scroll-margin-top: calc(var(--header-height) + 20px); }
#home { scroll-margin-top: var(--header-height); }
.measure { width: min(100% - 2 * var(--gutter), 1540px); margin-inline: auto; }
.section { padding-block: var(--space); }
.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  z-index: 20;
  inset: 10px auto auto 10px;
  background: var(--white);
  padding: 12px 20px;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 42px);
  padding: 8px var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.logo-definitions { position: absolute; pointer-events: none; }
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: clamp(9px, 1.25vw, 22px);
  min-height: 46px;
  text-decoration: none;
}
.brand-logo { display: block; color: inherit; width: clamp(72px, 7.2vw, 122px); height: auto; }
.brand-text {
  display: block;
  font-size: clamp(.82rem, 1.25vw, 1.28rem);
  letter-spacing: .095em;
  line-height: 1.15;
  font-weight: 600;
}
.brand-text small {
  display: block;
  margin-top: .45em;
  font-size: .56em;
  font-weight: 500;
  letter-spacing: .17em;
}
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 36px); }
.site-header nav { margin-inline-start: auto; }
.site-header nav a, .site-footer nav a, .language {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .89rem;
  line-height: 1.15;
  text-decoration: none;
}
.site-header nav a[aria-current], .site-header nav a:hover { text-decoration: underline; text-underline-offset: .42em; }
.language { min-width: 44px; justify-content: center; border: 1px solid var(--line); }
.menu-button { display: none; }
.menu-button, .language, .button { transition: background-color .18s, color .18s, border-color .18s; }
.menu-button:hover, .language:hover { background: #e7e6df; }

.hero {
  display: grid;
  position: relative;
  isolation: isolate;
  align-items: end;
  min-height: min(820px, calc(100svh - var(--header-height)));
  background: #29251f;
  color: var(--white);
  overflow: hidden;
}
.hero-image, .hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image { object-fit: cover; object-position: 57% center; }
.hero::after { content: ""; background: linear-gradient(90deg, #1a1715ee, #1a1715ae 35%, #1a171520 80%); }
.hero-content { padding-block: clamp(85px, 15vh, 172px) clamp(66px, 10vh, 118px); }
.kicker { color: inherit; font-size: .79rem; font-weight: 650; letter-spacing: .09em; }
.hero h1 {
  margin-block: 22px;
  font-size: clamp(3rem, 7.2vw, 8.1rem);
  line-height: .95;
  letter-spacing: -.075em;
  font-weight: 500;
}
.hero h1 span { display: block; }
.hero:lang(zh-CN) h1 { font-size: clamp(3rem, 6.1vw, 7.2rem); }
.hero-intro { max-width: 52ch; font-size: clamp(1rem, 1.45vw, 1.25rem); color: #f2f0ea; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  --button-bg: transparent;
  --button-color: inherit;
  min-height: 48px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: var(--button-bg);
  color: var(--button-color);
  text-align: left;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
}
.button:hover, .button:active { background: var(--forest); color: var(--white); }
.button--light { --button-bg: var(--white); --button-color: var(--ink); border-color: var(--white); }
.button--light:hover, .button--ghost:hover { background: #e2d7c8; border-color: #e2d7c8; color: var(--ink); }
.button--solid { --button-bg: var(--forest); --button-color: var(--white); border-color: var(--forest); }
.button--solid:hover { background: var(--night); }
.button:disabled { opacity: .65; cursor: wait; }

.line-arrow { display: inline-block; position: relative; width: 16px; height: 1px; flex: none; background: currentColor; transform: rotate(-33deg); }
.line-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid;
  border-right: 1px solid;
  transform: rotate(45deg);
}
.line-arrow.down { transform: rotate(90deg); }
.line-arrow.up { transform: rotate(-90deg); }
.line-link { display: inline-flex; width: fit-content; min-height: 44px; align-items: center; gap: 15px; font-weight: 600; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px 8%;
  margin-bottom: clamp(28px, 5vw, 64px);
}
.section-heading > p, .lede { max-width: 56ch; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.16rem); }
.work-kinds { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; border-block: 1px solid var(--line); padding: 16px 0; font-size: .93rem; }
.work-empty { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 30px; padding-block: 26px; }
.work-empty > p { max-width: 62ch; color: var(--muted); }
.atlas {
  display: grid;
  grid-template-columns: minmax(0,1.55fr) minmax(0,1fr);
  align-items: center;
  gap: clamp(20px, 6vw, 100px);
  padding: clamp(25px, 5vw, 75px);
  background: #e7e8df;
  border: 1px solid #d9dcd0;
}
.map-art { position: relative; }
.map-art svg { display: block; width: 100%; overflow: visible; }
.map-art path { fill: #c5ccc1; stroke: #65766b; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.map-pin { position: absolute; left: var(--x); top: var(--y); display: grid; place-items: center; width: 44px; height: 44px; transform: translate(-50%,-50%); }
.map-pin::before { content: ""; width: 14px; height: 14px; border: 2px solid white; border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 1px var(--forest); }
.map-pin:hover::before { width: 18px; height: 18px; }
.atlas-caption p { margin-top: 12px; max-width: 38ch; color: var(--muted); }
.atlas-caption li a { display: inline-flex; align-items: center; min-height: 44px; }

.expertise { background: #e9e6de; }
.expertise-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: clamp(28px,7vw,112px); }
.service { padding-block: clamp(22px, 3.6vw, 52px); border-top: 1px solid #b8baaf; }
.service h3 { max-width: 29ch; }
.service p:not(.kicker) { margin-top: 14px; max-width: 48ch; }
.service .kicker { margin-bottom: 9px; color: var(--forest); }
.deliverables { font-weight: 600; font-size: .89rem; }
.service ul { padding-left: 1.2em; margin-top: 6px; color: var(--muted); }
.service li { margin-bottom: 4px; }
.discovery { margin-top: clamp(34px, 6vw, 80px); }
.discovery h3 { margin-bottom: 20px; }
.discovery-rail {
  display: flex;
  gap: 14px;
  padding: 4px 4px 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 4px;
  scrollbar-color: #65766b #d7d8ce;
}
.discovery-rail:focus-visible { outline-offset: 2px; }
.discovery-card {
  position: relative;
  display: flex;
  isolation: isolate;
  align-items: end;
  flex: 0 0 clamp(215px, 23vw, 326px);
  aspect-ratio: 4/5;
  background: var(--night);
  color: var(--white);
  scroll-snap-align: start;
  text-decoration: none;
  overflow: hidden;
}
.discovery-card img, .discovery-card::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.discovery-card img { object-fit: cover; transition: transform .3s ease; }
.discovery-card::after { content: ""; background: linear-gradient(0deg,#1a1916ee,transparent 48%); }
.discovery-card > span { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 18px; font-size: clamp(1.03rem, 1.5vw, 1.34rem); line-height: 1.3; }
.discovery-card:hover, .discovery-card:focus-visible { color: var(--white); text-decoration: underline; }
.discovery-card:hover img { transform: scale(1.035); }
.discovery-card:focus-visible { outline: 2px solid var(--white); outline-offset: -5px; }

.process { background: var(--forest); color: var(--white); }
.process h2 { margin-bottom: clamp(30px, 5vw, 66px); }
.process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); list-style: none; gap: clamp(18px, 3vw, 44px); padding: 0; }
.process-grid li { border-top: 1px solid #aab4a8; padding-block: 18px 5px; }
.process-grid p { margin-top: 12px; color: #e2e8df; }
.studio-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 8%; align-items: center; }
.studio-grid p { max-width: 55ch; margin-top: 18px; }
.studio-grid figure img { width: 100%; aspect-ratio: 5/4; object-fit: cover; object-position: center 42%; }
figcaption { font-size: .84rem; color: var(--muted); margin-top: 8px; }
.journal { border-block: 1px solid var(--line); margin-top: clamp(32px, 6vw, 74px); }
.journal summary { font-size: 1.06rem; font-weight: 600; cursor: pointer; min-height: 50px; padding: 13px 0; }
.journal-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(18px, 4vw, 60px); padding-block: 12px 30px; }
.journal-grid img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.journal-grid h3 { margin-top: 14px; }
.journal-grid p { margin-top: 9px; }

.contact { background: #e7e3d9; }
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: clamp(26px,7vw,110px); }
.contact h2 + p { margin-top: 20px; max-width: 40ch; }
.contact address, .site-footer address { display: grid; gap: 4px; overflow-wrap: anywhere; }
.contact address { margin: 12px 0 16px; font-weight: 600; }
form { margin-top: 30px; display: grid; gap: 7px; }
form label { margin-top: 9px; font-weight: 600; }
form input, form select, form textarea { width: 100%; min-width: 0; min-height: 47px; border: 1px solid #7e8176; border-radius: 0; color: var(--ink); background: var(--white); padding: 8px 10px; }
form textarea { resize: vertical; }
.form-notice, #enquiry-status { font-size: .93rem; }
#enquiry-status:empty { display: none; }
#turnstile { max-width: 100%; }
form .button { margin-top: 8px; }

.site-footer { background: var(--night); color: var(--white); padding-block: clamp(34px, 6vw, 88px) 24px; }
.site-footer a:hover { color: #efd0b9; }
.footer-main { display: grid; grid-template-columns: auto 1fr auto; gap: 18px clamp(20px, 3vw, 50px); align-items: start; }
.brand--footer .brand-logo { width: clamp(85px, 10vw, 156px); }
.brand--footer .brand-text { font-size: clamp(1.12rem, 2vw, 2rem); }
.site-footer address { margin-top: 17px; font-size: .91rem; }
.site-footer nav { flex-wrap: wrap; gap: 0 18px; justify-content: center; }
.footer-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; border-top: 1px solid #849083; padding-top: 10px; font-size: .84rem; }
.footer-meta a { display: inline-flex; align-items: center; min-height: 44px; flex: none; }

.prose, .case-study { max-width: 1050px; }
.prose h1, .case-study h1 { font-size: clamp(2.75rem, 6vw, 6rem); letter-spacing: -.055em; margin-block: 15px 24px; }
.prose section, .case-content section { max-width: 66ch; margin-top: 30px; }
.prose h2, .case-content h2 { font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing: -.025em; margin-bottom: 10px; }
.case-study .kicker { margin-top: 25px; }
.case-study .button { margin-top: 38px; }
.case-category { margin-block: 30px; }
.case-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 16px; }
.case-grid a { display: block; text-decoration: none; padding-block: 12px; }
.case-grid h4 { margin-block: 14px 5px; font-size: 1.3rem; }
.case-grid a:hover h4 { text-decoration: underline; }
.case-thumb { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.case-images { display: grid; align-items: start; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-top: 38px; }

@media (max-width: 930px) {
  :root { --header-height: 68px; }
  .site-header { flex-wrap: wrap; gap: 4px 12px; }
  .site-header nav { order: 4; flex: 1 0 100%; flex-wrap: wrap; margin: 0; }
  .site-header .language { margin-inline-start: auto; }
  .site-header[data-ready] .language { margin-inline-start: 0; }
  .site-header[data-ready] .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: inherit;
    margin-inline-start: auto;
    cursor: pointer;
  }
  .site-header[data-ready] nav {
    padding: 9px var(--gutter) 16px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .site-header[data-ready][data-menu-open] nav { display: flex; }
  .process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-main { grid-template-columns: 1fr auto; }
  .site-footer nav { grid-row: 2; grid-column: 1 / -1; justify-content: start; }
}

@media (max-width: 600px) {
  .hero { min-height: min(650px, calc(100svh - var(--header-height))); }
  .hero::after { background: linear-gradient(0deg,#1a1715f2,#1a1715a6 58%,#1a17151f); }
  .hero-image { object-position: 66% center; }
  .hero-content { padding-block: clamp(60px, 12vh, 114px) 48px; }
  .hero h1 { font-size: clamp(2.65rem, 11.1vw, 4rem); }
  .hero-intro { font-size: 1rem; }
  .hero-actions { margin-top: 18px; }
  .section-heading, .expertise-grid, .work-empty, .atlas, .studio-grid, .journal-grid, .contact-grid, .case-grid, .case-images { grid-template-columns: 1fr; }
  .section-heading { gap: 14px; }
  .work-empty { gap: 4px; }
  .atlas { gap: 14px; }
  .studio-grid { gap: 25px; }
  .footer-main { grid-template-columns: 1fr; }
  .site-footer nav { grid-row: auto; grid-column: auto; }
  .footer-meta { align-items: start; }
  .footer-meta span { padding-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
