@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/newsreader-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/newsreader-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/hanken-grotesk-latin.woff2") format("woff2");
}

:root {
  --paper: #f3f4f1;
  --paper-2: #e6e9e3;
  --ink: #14201c;
  --ink-2: #46504b;
  --rule: #d0d5cd;
  --thread: #b5402a;
  --thread-deep: #94321f;
  --night: #111b18;
  --night-ink: #ecefe9;
  --night-ink-2: #a9b2ac;
  --night-rule: #2c3833;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 10vw, 136px);
  --header-h: 68px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
::selection { background: var(--thread); color: var(--paper); }
:focus-visible { outline: 2px solid var(--thread); outline-offset: 3px; border-radius: 2px; }
[lang="zh-Hans"] { font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", var(--sans); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }

/* Header — glassmorphism */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 244, 241, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--rule); box-shadow: 0 8px 24px -20px rgba(20, 32, 28, 0.45); background: rgba(243, 244, 241, 0.88); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.375rem; font-weight: 500; letter-spacing: -0.01em; }
.mark { width: 24px; height: 24px; color: var(--ink); }

.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.site-nav a { text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--ink-2); padding: 6px 0; position: relative; transition: color 0.2s; }
.site-nav a:hover, .site-nav a[aria-current="true"] { color: var(--ink); }
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--thread);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-out);
}
.site-nav a:not(.nav-cta):hover::after, .site-nav a[aria-current="true"]::after { transform: scaleX(1); }
.site-nav .nav-cta { color: var(--paper); background: var(--ink); padding: 9px 18px; border-radius: 999px; }
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="true"] { background: var(--thread-deep); color: var(--paper); }

.nav-toggle { display: none; align-items: center; gap: 10px; background: none; border: 1px solid var(--rule); border-radius: 999px; padding: 8px 14px; font: 500 0.9rem var(--sans); color: var(--ink); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: transform 0.3s var(--ease-out); }
.nav-toggle-bars::before { content: ""; position: absolute; top: 5px; }
.nav-toggle-bars { top: -2.5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { transform: translateY(2.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(-5px) rotate(-90deg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 999px; font: 600 0.98rem var(--sans); text-decoration: none; transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--thread-deep); }
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* Hero — Task 5: dark hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); }
.hero-dark { background: var(--night); color: var(--night-ink); }
.hero-dark .lede { color: var(--night-ink-2); }
.hero-dark .footprint { border-top-color: var(--night-ink-2); }
.hero-dark .footprint div + div { border-left-color: var(--night-rule); }
.hero-dark .footprint dd { color: var(--night-ink-2); }
.hero-dark .collage figcaption { color: var(--night-ink-2); }
.hero-dark .collage .c3 { border-color: var(--night); }
.hero-dark .collage img { box-shadow: 0 28px 48px -26px rgba(0,0,0,0.65), 0 4px 10px -4px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.1); }
.hero-dark ::selection { background: var(--night-ink); color: var(--night); }

/* Hero CTA buttons — Task 5 */
.btn-hero { background: var(--thread); color: #fff; }
.btn-hero:hover { background: var(--thread-deep); }
.btn-ghost-hero { border: 1px solid var(--night-ink-2); color: var(--night-ink); }
.btn-ghost-hero:hover { background: var(--night-ink); color: var(--night); }

/* Task 1: Data highlights bar */
.data-bar { margin-top: 36px; background: var(--ink); border-radius: 8px; padding: 24px 28px; }
.data-bar-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; }
.data-bar-items div { text-align: center; padding: 0 8px; }
.data-bar-items div + div { border-left: 1px solid var(--night-rule); }
.data-bar-items dd { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 500; line-height: 1.1; color: #fff; letter-spacing: -0.02em; }
.data-bar-items dt { margin-top: 4px; font-size: 0.82rem; font-weight: 500; color: var(--night-ink-2); letter-spacing: 0.01em; text-transform: uppercase; }

.threads { position: absolute; top: 0; bottom: 0; right: 0; width: 52%; height: 100%; pointer-events: none; }
.thread-line { stroke-dasharray: 2400; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js .thread-line { animation: draw 2.4s var(--ease-out) 0.2s both; }
  .js .collage img { animation: settle 1.1s var(--ease-out) both; }
  .js .collage .c2 { animation-delay: 0.12s; }
  .js .collage .c3 { animation-delay: 0.24s; }
}
@keyframes draw { from { stroke-dashoffset: 2400; } }
@keyframes settle { from { opacity: 0; transform: translateY(18px); } }

.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 6rem); line-height: 0.98; letter-spacing: -0.035em; max-width: 13ch; }
.lede { margin-top: 28px; font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.footprint { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 48px 0 0; border-top: 1px solid var(--ink); }
.footprint div { padding: 14px 16px 0 0; }
.footprint div + div { padding-left: 16px; border-left: 1px solid var(--rule); }
.footprint dt { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.footprint dd { margin: 4px 0 0; font-size: 0.9rem; color: var(--ink-2); line-height: 1.4; }

.collage { position: relative; margin: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(14, minmax(0, 1fr)); aspect-ratio: 10 / 11; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; border: 1px solid rgba(20, 32, 28, 0.12); box-shadow: 0 28px 48px -26px rgba(20, 32, 28, 0.55), 0 4px 10px -4px rgba(20, 32, 28, 0.2); background: var(--paper-2); }
.collage .c1 { grid-column: 1 / 7; grid-row: 1 / 11; z-index: 1; }
.collage .c2 { grid-column: 7 / 13; grid-row: 3 / 13; z-index: 1; width: calc(100% - 14px); justify-self: end; }
.collage .c3 { grid-column: 4 / 9; grid-row: 9 / 15; z-index: 2; border: 4px solid var(--paper); }
.collage figcaption { position: absolute; right: 0; top: calc(100% + 14px); font-size: 0.8rem; color: var(--ink-2); max-width: 34ch; text-align: right; line-height: 1.35; }

/* Sections */
.section { padding: var(--section-y) 0; border-top: 1px solid var(--rule); }
.section-tint { background: var(--paper-2); }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 0.95; letter-spacing: -0.03em; position: relative; padding-left: 22px; }
.section-head h2::before { content: ""; position: absolute; left: 0; top: 0.08em; width: 5px; height: 0.85em; background: var(--thread); border-radius: 2px; }
.section-head p { color: var(--ink-2); font-size: 1.125rem; max-width: 40em; }

/* Background */
.entities { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.entity { padding: 32px 40px 8px 0; }
.entity + .entity { padding-left: 40px; padding-right: 0; border-left: 1px solid var(--rule); }
.entity h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.1; letter-spacing: -0.015em; }
.entity-place { margin-top: 6px; font-size: 0.9rem; font-weight: 600; color: var(--thread); letter-spacing: 0.02em; }
.entity > p:not(.entity-place):not(.cred-label) { margin-top: 18px; max-width: 34em; }
.ticks, .creds { list-style: none; margin: 22px 0 0; padding: 0; }
.ticks li, .creds li { position: relative; padding: 10px 0 10px 26px; border-top: 1px solid var(--rule); font-size: 0.98rem; }
.ticks li::before, .creds li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 12px; height: 6px; border-left: 1.5px solid var(--thread); border-bottom: 1.5px solid var(--thread); transform: rotate(-45deg); }
.cred-label { margin-top: 26px; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }
.creds { margin-top: 10px; }

/* Full-width team hero — 4A visual */
.team-hero {
  margin-top: clamp(56px, 8vw, 96px);
  margin-left: calc(var(--gutter) * -1);
  margin-right: calc(var(--gutter) * -1);
}
.team-hero-figure {
  margin: 0;
  position: relative;
  overflow: hidden;
}
.team-hero-figure img {
  width: 100%;
  height: auto;
  min-height: 340px;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
  transition: transform 0.8s var(--ease-out);
}
.team-hero-figure:hover img {
  transform: scale(1.015);
}
.team-hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 56px);
  background: linear-gradient(0deg, rgba(17,27,24,0.78) 0%, rgba(17,27,24,0.25) 60%, transparent 100%);
  color: #fff;
}
.team-hero-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
}
.team-hero-caption {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  line-height: 1.25;
  max-width: 36em;
  font-weight: 400;
}

/* Dual-city connector & regional hub cards */
.hub-connector {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.88rem;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}
.hub-node strong { color: var(--ink); font-weight: 600; }
.hub-line { flex: 1; height: 1px; background: var(--rule); min-width: 16px; }
.hub-arrows {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 999px;
  border: 1px solid var(--thread); color: var(--thread);
  font-size: 0.9rem; font-weight: 600; line-height: 1; flex-shrink: 0;
}
.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 14px;
  margin-left: calc(var(--gutter) * -1);
  margin-right: calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
}
.studio-card {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}
.hub-badge {
  position: absolute;
  top: 12px; left: 12px; z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(17, 27, 24, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  pointer-events: none;
}
.studio-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.studio-card:hover img {
  transform: scale(1.03);
}
.studio-card figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 18px 14px;
  background: linear-gradient(0deg, rgba(17,27,24,0.84) 0%, rgba(17,27,24,0.38) 55%, transparent 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
}
.studio-capability {
  margin-top: 18px;
  font-size: 0.98rem;
  color: var(--ink-2);
  font-style: italic;
  max-width: 50em;
}

.note { margin-top: 40px; padding: 20px 24px; border: 1px solid var(--rule); background: var(--paper-2); border-radius: 6px; font-size: 0.95rem; color: var(--ink-2); max-width: 62em; }
.note strong { color: var(--ink); font-weight: 600; }

/* Services — 6 cards: row 1 = 2 wide, row 2 = 2 mid, row 3 = 2 mid */
.services { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--rule); }
.service { grid-column: span 3; padding: 32px 28px 30px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--paper); transition: background-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); }
.service.s-wide { grid-column: span 3; }
.service:hover { background: #f9faf7; transform: translateY(-2px); box-shadow: 0 8px 24px -12px rgba(20,32,28,0.1); }
.service h3 { font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.15; letter-spacing: -0.01em; }
.s-wide h3 { font-size: clamp(1.55rem, 2.4vw, 2.1rem); }
.service p { margin-top: 14px; color: var(--ink-2); max-width: 38em; }
.service ul.service-details { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--rule); }
.service ul.service-details li { position: relative; padding: 10px 0 10px 16px; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; background: transparent; font-size: 0.92rem; font-weight: 400; line-height: 1.5; color: var(--ink-2); }
.service ul.service-details li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 6px; height: 6px; border-radius: 50%; background: var(--thread); }
.service ul.service-details strong { color: var(--ink); font-weight: 600; }
.service ul.service-tags { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.service ul.service-tags li { font-size: 0.84rem; font-weight: 500; padding: 5px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper-2); }
.service-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; margin-bottom: 20px; opacity: 0.92; transition: opacity 0.3s; }
.service:hover .service-img { opacity: 1; }
.service-ref { margin-top: 18px; font-size: 0.88rem; font-style: italic; color: var(--ink-2); padding-top: 14px; border-top: 1px solid var(--rule); }

/* Standardized process & commercial commitments (inside Services) */
.process-block { margin-top: clamp(48px, 6vw, 76px); padding-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--ink); }
.process-eyebrow { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--thread); }
.process-head h3 { margin-top: 8px; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; }
.process-head > p:last-child { margin-top: 12px; color: var(--ink-2); font-size: 1.04rem; max-width: 48em; }
.process-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.process-steps li { background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; padding: 22px 20px; display: flex; flex-direction: column; }
.step-num { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1; color: var(--thread); letter-spacing: -0.02em; }
.process-steps h4 { margin: 12px 0 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; line-height: 1.2; color: var(--ink); }
.process-steps p { margin-top: 8px; font-size: 0.92rem; line-height: 1.5; color: var(--ink-2); }
.commitments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.commitment { background: var(--paper); border: 1px solid var(--rule); box-shadow: inset 0 2px 0 var(--thread); border-radius: 6px; padding: 20px 22px; overflow: hidden; }
.commitment h4 { margin: 0; font-family: var(--serif); font-size: 1.12rem; font-weight: 500; color: var(--ink); }
.commitment p { margin-top: 8px; font-size: 0.9rem; line-height: 1.5; color: var(--ink-2); }

/* Service visual blocks — 4A abstract style */
.service-visual {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
  border-radius: 4px; margin-bottom: 20px; aspect-ratio: 16 / 9;
  position: relative; overflow: hidden;
}
.service-visual span {
  font-family: var(--sans); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.18); color: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.15);
}
.sv-growth {
  background: linear-gradient(135deg, #1a3a2a 0%, #0d4a3a 40%, #14786a 70%, #1aa68e 100%);
}
.sv-web {
  background: linear-gradient(135deg, #1b1f3b 0%, #2a3d6b 45%, #3a6ea5 75%, #5ca0d3 100%);
}
.sv-ai {
  background: linear-gradient(135deg, #2d1b4e 0%, #5b2d8e 40%, #8b3fa0 70%, #c06ecc 100%);
}

/* KOS service card with image */
.service-kos {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr minmax(140px, 220px);
  gap: 20px;
  align-items: start;
}
.service-kos-content { min-width: 0; }
.service-kos-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  margin-top: 4px;
  opacity: 0.9;
  transition: opacity 0.3s;
}
.service-kos:hover .service-kos-img { opacity: 1; }

/* Track record — Task 6: large image cards */
.cases { border-top: 1px solid var(--ink); }
.case { display: grid; grid-template-columns: minmax(220px, 40%) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); padding: clamp(36px, 5vw, 56px) 0; border-bottom: 1px solid var(--rule); }
.case:first-child { border-bottom-width: 2px; border-bottom-color: var(--ink); }
.case-media { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; border: 1px solid rgba(20, 32, 28, 0.1); transition: transform 0.5s var(--ease-out); }
.case:hover .case-media:not(.case-quote) { transform: scale(1.015); }
.case-quote { display: flex; align-items: flex-end; padding: 20px; background: var(--ink); color: var(--night-ink); }
.case-quote p { font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.3; }

/* YESWOOD featured quote — 4A editorial treatment */
.case-quote-featured {
  background: var(--night);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 40px);
  position: relative;
  overflow: hidden;
}
.case-quote-featured::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(181,64,42,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(181,64,42,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.case-quote-featured p {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.25;
  text-align: center;
  max-width: 16em;
  position: relative;
  z-index: 1;
  color: #fff;
}
.quote-mark {
  display: block;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 6.5vw, 5rem);
  line-height: 0.7;
  margin-bottom: 12px;
  color: var(--thread);
  opacity: 0.85;
  position: relative;
  z-index: 1;
}
.quote-mark-close {
  margin-top: 22px;
  margin-bottom: 0;
  line-height: 0.65;
}
.case h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; letter-spacing: -0.015em; }
.case h3 span { color: var(--ink-2); font-style: italic; font-weight: 400; }
.case h3 span[lang] { font-style: normal; font-size: 0.7em; white-space: nowrap; }
.case-meta { margin-top: 8px; font-size: 0.88rem; font-weight: 600; color: var(--thread); }
.case-body > p:not(.case-meta) { margin-top: 14px; max-width: 46em; color: var(--ink-2); }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 26px 0 0; }
.metrics div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 2px 16px 0; border-left: 1px solid var(--rule); }
.metrics div:first-child { padding-left: 0; border-left: 0; }
.metrics dd { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 2.5vw, 2.15rem); line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; color: var(--ink); }
.metrics dt { margin-top: 8px; font-size: 0.88rem; font-weight: 600; line-height: 1.35; }
.metrics small { display: block; font-weight: 400; color: var(--ink-2); font-size: 0.82rem; }

/* Content gallery — multi-category showcase */
.content-gallery { margin-top: clamp(48px, 6vw, 80px); padding-top: 40px; border-top: 1px solid var(--rule); }
.content-gallery-title { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 500; margin: 0; }
.content-gallery-desc { color: var(--ink-2); font-size: 1rem; margin-top: 8px; }
.content-gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 24px; }
.content-gallery-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; border: 1px solid rgba(20,32,28,0.08); transition: transform 0.4s var(--ease-out); }
.content-gallery-grid img:hover { transform: translateY(-4px); }
@media (max-width: 900px) { .content-gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .content-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* Brand strip */
.brand-strip { margin-top: clamp(40px, 5vw, 64px); padding: 32px 0; border-top: 1px solid var(--rule); text-align: center; }
.brand-strip-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-2); margin: 0; }
.brand-strip-names { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: 0.03em; margin-top: 12px; color: var(--ink); }
.brand-strip-note { font-size: 0.82rem; color: var(--ink-2); margin-top: 10px; }

.fineprint { margin-top: 32px; font-size: 0.82rem; color: var(--ink-2); max-width: 70em; }

/* Contact */
.contact { background: var(--night); color: var(--night-ink); border-top: 0; }
.contact ::selection { background: var(--night-ink); color: var(--night); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 0.95; letter-spacing: -0.03em; }
.contact-lede { margin-top: 22px; font-size: 1.15rem; color: var(--night-ink-2); max-width: 32em; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 28px 0 20px; }
.email { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.45rem); line-height: 1.15; letter-spacing: -0.02em; text-decoration: underline; text-decoration-color: var(--thread); text-decoration-thickness: 2px; text-underline-offset: 0.18em; overflow-wrap: anywhere; }
.email:hover { text-decoration-color: var(--night-ink); }
.copy { background: none; color: var(--night-ink); border: 1px solid var(--night-rule); border-radius: 999px; padding: 8px 16px; font: 500 0.9rem var(--sans); cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.copy:hover { border-color: var(--night-ink-2); background: rgba(237, 232, 221, 0.06); }
.copy-status { font-size: 0.88rem; color: var(--night-ink-2); min-width: 6em; }
.contact :focus-visible { outline-color: var(--night-ink); }
.company { margin: 0; border-top: 1px solid var(--night-ink-2); }
.company div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--night-rule); }
.company dt { color: var(--night-ink-2); font-size: 0.92rem; }
.company dd { margin: 0; font-weight: 500; }
.bring-title { margin-top: 32px; font-weight: 600; }
.bring { margin: 10px 0 0; padding-left: 1.1em; color: var(--night-ink-2); }
.bring li { padding: 3px 0; }
.bring li::marker { color: var(--thread); }

/* Footer — 4A tagline */
.site-footer { background: var(--night); color: var(--night-ink-2); border-top: 1px solid var(--night-rule); font-size: 0.85rem; }
.footer-inner { padding-top: 36px; padding-bottom: 32px; }
.footer-tagline {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--night-ink);
  letter-spacing: -0.01em;
  padding-bottom: 24px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--night-rule);
  line-height: 1.35;
}
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.site-footer a { color: var(--night-ink); }

/* Responsive */
@media (max-width: 1080px) {
  .case { grid-template-columns: minmax(160px, 35%) minmax(0, 1fr); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .metrics div:nth-child(3) { padding-left: 0; border-left: 0; }
  .data-bar-items { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .data-bar-items div:nth-child(3) { border-left: 0; }
}

@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(243, 244, 241, 0.95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter) 20px;
    box-shadow: 0 18px 30px -24px rgba(20, 32, 28, 0.5);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0s linear 0.25s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .site-nav a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--rule); }
  .site-nav a::after { display: none; }
  .site-nav .nav-cta { margin-top: 16px; text-align: center; border-bottom: 0; padding: 14px; }

  .threads { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 15ch; }
  .collage { max-width: 520px; width: 100%; margin: 0 auto 36px; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .section-head h2 { padding-left: 16px; }
  .entities { grid-template-columns: 1fr; }
  .entity { padding: 28px 0 8px; }
  .entity + .entity { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); margin-top: 24px; }
  .studio-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .services { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commitments { grid-template-columns: 1fr; }
  .service, .service.s-wide, .service-kos { grid-column: auto; }
  .service-kos { grid-template-columns: 1fr; }
  .service-kos-img { max-width: 280px; }
  .contact-grid { grid-template-columns: 1fr; }
  .data-bar-items { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .data-bar-items div:nth-child(3) { border-left: 0; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .footprint { grid-template-columns: 1fr; border-top: 0; margin-top: 40px; }
  .footprint div, .footprint div + div { padding: 12px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .hero-dark .footprint div:first-child { border-top-color: var(--night-ink-2); }
  .footprint div:first-child { border-top-color: var(--ink); }
  .actions .btn { flex: 1 1 100%; }
  .collage figcaption { position: static; grid-column: 1 / -1; grid-row: auto; text-align: left; max-width: none; margin-top: 14px; }
  .collage { aspect-ratio: auto; grid-template-rows: repeat(14, 30px) auto; margin-bottom: 0; }
  .case { grid-template-columns: 1fr; gap: 18px; }
  .case-media { width: 100%; max-width: none; aspect-ratio: 16 / 10; }
  .case-quote { aspect-ratio: auto; min-height: 120px; }
  .case-quote-featured { min-height: 180px; padding: 24px 20px; }
  .case-quote-featured p { font-size: 1.3rem; }
  .quote-mark { font-size: 3.5rem; }
  .service { padding: 26px 20px; }
  .process-steps { grid-template-columns: 1fr; }
  .service-kos { grid-template-columns: 1fr; }
  .service-kos-img { max-width: 100%; }
  .studio-grid { grid-template-columns: 1fr; gap: 10px; }
  .hub-connector { flex-wrap: wrap; gap: 8px; font-size: 0.84rem; }
  .hub-line { display: none; }
  .team-hero-overlay { padding: 20px; }
  .team-hero-caption { font-size: 1.1rem; }
  .note { padding: 18px; }
  .data-bar { padding: 20px 16px; }
  .data-bar-items { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .data-bar-items div:nth-child(3) { border-left: 0; }
  .brand-strip-names { font-size: 1.15rem; }
  .footer-tagline { font-size: 1rem; }
}
