/* RedNexus Social — rednexus.us — visual system v3
   The logo is a heavy condensed wordmark over an italic line, inside a hard-edged frame.
   The site uses the same three ideas: heavy condensed headlines (Archivo), italic serif
   annotations (Newsreader), and hard-edged frames with a solid red offset. */

@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --paper: #ffffff;
  --ink: #111214;
  --soft: #4b4f58;
  --faint: #6c717c;
  --line: #e2e2e0;
  --red: #eb5242;
  --red-btn: #d43c2c;
  --red-deep: #b93022;
  --red-wash: #fdf1ef;
  --on-ink: #c9ccd3;
  --rule-ink: #33363d;
  --cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC";
  --display: "Archivo", "Arial Narrow", var(--cjk), sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, "Songti SC", serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", var(--cjk), sans-serif;
  --wrap: 1280px;
  --gutter: clamp(20px, 4.4vw, 56px);
  --sec: clamp(72px, 8vw, 128px);
  --drop: 7px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------------------------------------------------------------- type */
h1, h2, .display { font-family: var(--display); font-weight: 800; font-stretch: 78%; letter-spacing: -0.012em; line-height: .96; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 8.2vw, 7.4rem); }
h2 { font-size: clamp(2.25rem, 5.2vw, 4.5rem); }
h3 { font-family: var(--display); font-weight: 700; font-stretch: 88%; font-size: 1.32rem; line-height: 1.16; letter-spacing: -0.005em; }
h4 { font-size: 1rem; font-weight: 600; }
.lead { font-size: clamp(1.1rem, 1.55vw, 1.3rem); line-height: 1.5; color: var(--soft); max-width: 36em; }
.note { font-size: .88rem; line-height: 1.55; color: var(--faint); }
.note a { text-decoration-color: var(--line); text-underline-offset: 3px; }
.note a:hover { color: var(--ink); }
.where, .group-label, .flow-title, .caption, .logos-band p { font-family: var(--serif); font-style: italic; }

html[lang="zh-CN"] body { font-size: 16.5px; line-height: 1.78; }
html[lang="zh-CN"] h1, html[lang="zh-CN"] h2, html[lang="zh-CN"] .display { font-weight: 800; letter-spacing: 0; line-height: 1.16; text-wrap: wrap; }
html[lang="zh-CN"] h1 { font-size: clamp(2.3rem, 6.6vw, 6rem); }
html[lang="zh-CN"] h2 { font-size: clamp(1.8rem, 3.3vw, 2.85rem); line-height: 1.26; }
html[lang="zh-CN"] h3 { font-weight: 700; font-size: 1.22rem; line-height: 1.4; }
html[lang="zh-CN"] .where, html[lang="zh-CN"] .group-label, html[lang="zh-CN"] .flow-title, html[lang="zh-CN"] .caption, html[lang="zh-CN"] .logos-band p { font-family: var(--sans); font-style: normal; }
html[lang="zh-CN"] blockquote { font-family: var(--sans); font-weight: 500; line-height: 1.6; letter-spacing: 0; }
.nb { display: inline-block; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------------------------------------------------------------- buttons: a solid block with a red offset */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 14px 30px; border: 2px solid var(--ink); border-radius: 0; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; font-stretch: 92%; font-size: 1.06rem; line-height: 1.15; letter-spacing: .005em; text-decoration: none; cursor: pointer; box-shadow: var(--drop) var(--drop) 0 var(--red); transition: transform .14s ease, box-shadow .14s ease; }
.btn:hover { transform: translate(4px, 4px); box-shadow: 3px 3px 0 var(--red); }
.btn:active { transform: translate(var(--drop), var(--drop)); box-shadow: 0 0 0 var(--red); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-outline, .btn-white { background: #fff; color: var(--ink); }
.sec-ink .btn-white, .closing .btn-white { border-color: #fff; }
html[lang="zh-CN"] .btn { font-weight: 700; letter-spacing: .04em; }
.link { font-family: var(--display); font-weight: 700; font-stretch: 92%; font-size: 1.06rem; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.link:hover { color: var(--red-deep); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 36px; margin-top: 40px; }

/* The logo's frame, as a container */
.frame { position: relative; border: 2px solid var(--ink); background: var(--paper); box-shadow: 12px 12px 0 var(--red); }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 2px solid var(--ink); }
.site-header .wrap { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px; min-height: 84px; }
.brand { display: block; }
.brand img { width: 204px; height: auto; }
.nav { display: flex; justify-content: center; gap: clamp(20px, 2.6vw, 40px); }
.nav a { position: relative; text-decoration: none; font-family: var(--display); font-weight: 600; font-stretch: 94%; font-size: 1.04rem; padding: 8px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.lang { display: flex; border: 2px solid var(--ink); }
.lang a { padding: 5px 10px; font-family: var(--display); font-size: .84rem; font-weight: 700; text-decoration: none; color: var(--ink); }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.nav-cta { min-height: 48px; padding: 10px 22px; font-size: .98rem; --drop: 5px; }
.menu-btn { display: none; width: 46px; height: 46px; border: 2px solid var(--ink); background: #fff; border-radius: 0; padding: 0; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; }

/* ---------------------------------------------------------------- sections */
.sec { padding-block: var(--sec); }
.sec-tint { background: var(--paper); border-top: 2px solid var(--ink); }
.sec-ink { background: var(--ink); color: #fff; }
.sec-ink .lead, .sec-ink p { color: var(--on-ink); }
.sec-ink .note { color: #979ca7; }
.sec-flush { padding-top: 0; }
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.head > .group-label { grid-column: 1 / -1; margin-bottom: -4px; }
.head .lead { padding-bottom: .4em; }
.head > h2:only-child, .head > .group-label + h2:last-child { grid-column: 1 / -1; max-width: 16em; }
.rule { border: 0; border-top: 2px solid var(--ink); margin: 0; }
.group-label { font-size: 1.3rem; color: var(--red-deep); margin-bottom: clamp(32px, 4vw, 52px); }

/* ---------------------------------------------------------------- home hero */
.hero { padding-top: clamp(52px, 7.5vw, 116px); }
.hero h1 { font-size: clamp(2.9rem, 8.4vw, 7.9rem); line-height: .9; font-stretch: 72%; }
.hero h1 span { display: block; }
.hero h1 .l2 { padding-left: 1.55em; }
html[lang="zh-CN"] .hero h1 { font-size: clamp(2.5rem, 7.4vw, 6.9rem); line-height: 1.1; }
html[lang="zh-CN"] .hero h1 .l2 { padding-left: 2em; }
html[lang="zh-CN"] .hero h1 .mobile-break { display: inline; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; margin-top: clamp(40px, 5.5vw, 80px); padding-bottom: clamp(56px, 7vw, 104px); }
.hero-foot .actions { margin-top: 0; order: -1; align-self: end; padding-bottom: var(--drop); }
.hero-foot .lead { max-width: 34em; padding-left: 26px; border-left: 3px solid var(--red); }

/* The four-stage workflow, as a full-width black band */
.flow { background: var(--ink); color: #fff; padding-block: clamp(44px, 5vw, 72px) clamp(52px, 6vw, 84px); }
.flow-title { font-size: clamp(1.2rem, 1.9vw, 1.55rem); color: #fff; margin-bottom: clamp(30px, 3.6vw, 48px); }
.flow ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: f; }
.flow li { position: relative; counter-increment: f; padding: 0 clamp(18px, 2.4vw, 36px) 0 0; margin-right: clamp(18px, 2.4vw, 36px); border-right: 1px solid var(--rule-ink); }
.flow li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.flow li::before { content: counter(f); display: block; font-family: var(--display); font-weight: 800; font-stretch: 70%; font-size: clamp(4.4rem, 8.4vw, 7.6rem); line-height: .82; color: transparent; -webkit-text-stroke: 2px var(--red); margin-bottom: clamp(18px, 2vw, 28px); }
.flow li:last-child::before { color: var(--red); }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: clamp(1.5rem, 3.2vw, 2.9rem); width: 16px; height: 16px; border-top: 2px solid var(--red); border-right: 2px solid var(--red); background: var(--ink); transform: rotate(45deg); }
.flow h3 { font-size: clamp(1.4rem, 2.2vw, 1.95rem); font-weight: 800; font-stretch: 80%; color: #fff; }
html[lang="zh-CN"] .flow h3 { font-size: clamp(1.4rem, 2.1vw, 1.8rem); }
.flow li p { margin-top: 10px; font-size: .98rem; line-height: 1.5; color: var(--on-ink); }

.page-hero { padding-block: clamp(56px, 8vw, 128px) clamp(44px, 5.5vw, 84px); }
.page-hero h1 { max-width: 13.5em; font-size: clamp(2.8rem, 7.4vw, 6.6rem); font-stretch: 74%; line-height: .92; }
html[lang="zh-CN"] .page-hero h1 { font-size: clamp(2.1rem, 5.2vw, 4.4rem); line-height: 1.16; max-width: 15em; }
.page-hero .lead { margin-top: clamp(26px, 3vw, 40px); padding-left: 26px; border-left: 3px solid var(--red); }

/* ---------------------------------------------------------------- logo wall */
.logos-band { padding-block: clamp(40px, 4.6vw, 64px); border-bottom: 2px solid var(--ink); }
.logos-band p { font-size: 1.16rem; color: var(--ink); margin-bottom: 26px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; margin: 0 -8px; }
.logos li { flex: 0 0 14.285%; display: flex; align-items: center; justify-content: center; height: 88px; padding: 0 14px; }
.logos img { height: var(--h, 44px); max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }

/* ---------------------------------------------------------------- figures */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.sec-ink .figures { border-top-color: #fff; }
.figure { padding: 26px clamp(16px, 2.2vw, 32px) 4px 0; margin-right: clamp(16px, 2.2vw, 32px); border-right: 1px solid var(--line); }
.figure:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.sec-ink .figure { border-right-color: var(--rule-ink); }
.figure b { display: block; font-family: var(--display); font-weight: 800; font-stretch: 70%; font-size: clamp(2.7rem, 5.3vw, 4.9rem); line-height: .86; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: lining-nums; white-space: nowrap; }
.sec-ink .figure b { color: var(--red); }
.figure span { display: block; margin-top: 16px; font-size: .98rem; line-height: 1.45; color: var(--soft); }
.sec-ink .figure span { color: var(--on-ink); }
.figure sup { font-size: .7em; color: var(--faint); }
.retained { margin-top: clamp(44px, 5.5vw, 80px); font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3.7vw, 3.3rem); line-height: 1.12; letter-spacing: -0.015em; color: #fff !important; max-width: 19em; padding-left: clamp(20px, 2.4vw, 34px); border-left: 5px solid var(--red); }
html[lang="zh-CN"] .retained { font-family: var(--sans); font-style: normal; font-weight: 700; font-size: clamp(1.4rem, 2.8vw, 2.4rem); line-height: 1.4; }
.retained.on-light { color: var(--ink) !important; margin-top: clamp(48px, 6vw, 88px); }

/* ---------------------------------------------------------------- columns and lists */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.col h3 { font-size: 1.5rem; margin-bottom: 12px; }
.col p { color: var(--soft); font-size: 1.02rem; }
.col p a { font-weight: 600; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.sec-ink .col p { color: var(--on-ink); }
.col-rule { border-top: 4px solid var(--ink); padding-top: 22px; }
.sec-ink .col-rule { border-top-color: #fff; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.split-wide { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.split-center { align-items: center; }
.ticks li { position: relative; padding-left: 30px; margin-top: 11px; color: var(--soft); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 6px; background: var(--red); }
.sec-ink .ticks li { color: var(--on-ink); }

/* Service index on the home page: an oversized list */
.svc-list { border-top: 2px solid var(--ink); }
.svc-list a { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; gap: 14px clamp(24px, 4vw, 64px); align-items: center; padding: clamp(20px, 2.4vw, 32px) 0; border-bottom: 2px solid var(--ink); text-decoration: none; transition: background-color .16s, color .16s, padding .16s; }
.svc-list h3 { font-size: clamp(1.7rem, 3.7vw, 3.3rem); font-weight: 800; font-stretch: 76%; line-height: .98; letter-spacing: -0.012em; }
html[lang="zh-CN"] .svc-list h3 { font-size: clamp(1.4rem, 2.7vw, 2.3rem); line-height: 1.25; letter-spacing: 0; }
.svc-list p { color: var(--soft); font-size: 1rem; }
.svc-list .more { display: grid; place-items: center; min-width: 96px; height: 44px; padding: 0 16px; border: 2px solid var(--ink); font-family: var(--display); font-size: .92rem; font-weight: 700; white-space: nowrap; }
.svc-list a:hover { background: var(--ink); color: #fff; padding-inline: clamp(14px, 2vw, 28px); }
.svc-list a:hover p { color: var(--on-ink); }
.svc-list a:hover .more { background: var(--red); border-color: var(--red); color: #fff; }
.team-note { display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 24px 64px; align-items: end; margin-top: clamp(48px, 6vw, 80px); }
.team-note h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 800; font-stretch: 80%; margin-bottom: 12px; }
.team-note p { color: var(--soft); max-width: 44em; }

/* Three featured cases: one large, two stacked */
.cases3 { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr); gap: clamp(28px, 3.4vw, 52px) clamp(28px, 4vw, 64px); }
.case3 { display: block; text-decoration: none; color: inherit; }
.case3:first-child { grid-row: span 2; }
.case3-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #23262d; transition: box-shadow .16s, transform .16s; }
.case3:first-child .case3-img { aspect-ratio: 16 / 9.4; }
.case3-img img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.case3:hover .case3-img { box-shadow: 10px 10px 0 var(--red); transform: translate(-4px, -4px); }
.case3 .where { display: block; margin-top: 20px; font-size: 1.06rem; color: #a8adb7; }
.case3 h3 { margin-top: 4px; font-size: clamp(1.7rem, 2.8vw, 2.5rem); font-weight: 800; font-stretch: 76%; line-height: 1; }
.case3:first-child h3 { font-size: clamp(2.2rem, 4.6vw, 4.1rem); }
.case3 p { margin-top: 10px; font-size: 1.08rem; line-height: 1.4; color: #fff !important; max-width: 26em; }
.case3 .more { display: inline-block; margin-top: 16px; font-family: var(--display); font-size: .98rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* Fit checklist */
.fit { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.fit li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 10px 40px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.fit h3 { font-size: 1.45rem; font-weight: 800; font-stretch: 82%; line-height: 1.08; }
html[lang="zh-CN"] .fit h3 { font-size: 1.2rem; line-height: 1.4; }
.fit p { color: var(--soft); }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 2px solid #fff; }
.steps li { counter-increment: step; padding: 26px clamp(16px, 2.2vw, 32px) 0 0; margin-right: clamp(16px, 2.2vw, 32px); border-right: 1px solid var(--rule-ink); }
.steps li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 800; font-stretch: 70%; font-size: clamp(3.4rem, 6vw, 5.4rem); line-height: .84; color: var(--red); margin-bottom: 22px; }
.steps h3 { font-size: 1.5rem; margin-bottom: 8px; }
.steps p { color: var(--on-ink); font-size: .98rem; }

/* ---------------------------------------------------------------- services page */
.svc { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; padding-block: clamp(56px, 7.5vw, 116px); border-top: 2px solid var(--ink); }
.svc:first-of-type { border-top: 0; padding-top: 0; }
.svc.flip .svc-media { order: -1; }
.svc h2 { font-size: clamp(2.1rem, 4.4vw, 3.9rem); }
html[lang="zh-CN"] .svc h2 { font-size: clamp(1.7rem, 3.1vw, 2.7rem); }
.svc .lead { margin-top: 22px; font-size: 1.1rem; }
.svc .ticks { margin-top: 24px; }
.svc-media img { width: 100%; border: 2px solid var(--ink); box-shadow: 9px 9px 0 var(--red); }
.svc-panel { border: 2px solid var(--ink); padding: clamp(26px, 3.2vw, 44px); background: #fff; box-shadow: none; }
.svc-panel h3 { font-size: 1.6rem; font-weight: 740; font-stretch: 80%; margin-bottom: 18px; }
.svc-panel dl { margin: 0; display: grid; gap: 0; }
.svc-panel dl div { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 1rem; }
.svc-panel dt { font-family: var(--display); font-weight: 700; }
.svc-panel dd { margin: 0; color: var(--soft); }
.caption { margin-top: 14px; font-size: 1rem; color: var(--faint); line-height: 1.45; }
figure.svc-media .caption { margin-top: 30px; }
/* The concierge block is the differentiator: it goes full-bleed black */
#concierge { background: var(--ink); color: #fff; box-shadow: 0 0 0 100vmax var(--ink); clip-path: inset(0 -100vmax); border-top: 0; }
#concierge + .svc { border-top: 0; }
#concierge .lead, #concierge .ticks li { color: var(--on-ink); }
#concierge .caption { color: #a8adb7; }
#concierge .svc-panel { background: var(--ink); border-color: #fff; }
#concierge .svc-panel dl div { border-top-color: var(--rule-ink); }
#concierge .svc-panel dd { color: var(--on-ink); }

.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #000; cursor: pointer; overflow: hidden; }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video .play { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--red-btn); border: 2px solid #fff; display: grid; place-items: center; box-shadow: 7px 7px 0 var(--ink); transition: transform .14s, box-shadow .14s; }
.video:hover .play { transform: translate(4px, 4px); box-shadow: 3px 3px 0 var(--ink); }
.video .play::before { content: ""; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent #fff; margin-left: 5px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.showcase { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 3.6vw, 48px); }
.showcase-media { display: grid; grid-template-columns: minmax(0, 1.78fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.showcase-media .video { height: 100%; }
.showcase-photo { overflow: hidden; }
.showcase-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.showcase-text { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 8px clamp(32px, 6vw, 96px); }
.showcase-text h3 { grid-row: span 3; font-size: clamp(2.1rem, 4.4vw, 3.9rem); font-weight: 800; font-stretch: 76%; line-height: .96; }
html[lang="zh-CN"] .showcase-text h3 { font-size: clamp(1.7rem, 3.1vw, 2.7rem); line-height: 1.2; }
.showcase-text p { color: var(--soft); font-size: 1.1rem; }
.showcase-text .ticks { margin-top: 10px; }
.showcase-text .caption { margin-top: 14px; }
.spec { margin-top: clamp(56px, 7vw, 104px); }
.spec h3 { font-size: clamp(1.7rem, 2.9vw, 2.5rem); font-weight: 800; font-stretch: 78%; line-height: 1; margin-bottom: 16px; }
html[lang="zh-CN"] .spec h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.3; }
.spec .eg, .col .eg { margin-top: 16px; padding-left: 18px; border-left: 3px solid var(--red); font-size: .98rem; color: var(--soft); }

/* ---------------------------------------------------------------- case studies: a portfolio */
.case-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.case-nav a { border: 2px solid var(--ink); padding: 9px 16px; font-family: var(--display); font-size: .98rem; font-weight: 700; text-decoration: none; transition: background-color .14s, color .14s; }
.case-nav a:hover { background: var(--ink); color: #fff; }
.case { display: flex; flex-direction: column; padding-block: clamp(56px, 6.7vw, 104px); border-top: 2px solid var(--ink); }
.case:first-of-type { border-top: 0; padding-top: 0; }
.case-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.case .where { font-size: clamp(1.1rem, 1.6vw, 1.36rem); color: var(--soft); margin-bottom: 12px; }
.case-head h2 { font-size: clamp(3rem, 10.4vw, 9.4rem); font-stretch: 68%; line-height: .86; letter-spacing: -0.02em; text-wrap: wrap; }
html[lang="zh-CN"] .case-head h2 { font-family: var(--display); line-height: .95; }
.case-head > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px 40px; }
.case-head > div .where { grid-column: 1 / -1; }
.case-logo { max-height: 62px; max-width: 200px; width: auto; margin-bottom: 8px; }
.case-headline { margin-top: clamp(30px, 3.8vw, 54px); font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.3vw, 2.9rem); line-height: 1.14; letter-spacing: -0.015em; max-width: 24em; padding-left: clamp(20px, 2.4vw, 34px); border-left: 5px solid var(--red); }
html[lang="zh-CN"] .case-headline { font-family: var(--sans); font-style: normal; font-weight: 700; font-size: clamp(1.3rem, 2.5vw, 2.1rem); line-height: 1.45; letter-spacing: 0; }
.case-results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(34px, 4.3vw, 60px); border-top: 2px solid var(--ink); }
.case-results li { padding: 24px clamp(14px, 2vw, 30px) 0 0; margin-right: clamp(14px, 2vw, 30px); border-right: 1px solid var(--line); }
.case-results li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.case-results b { display: block; font-family: var(--display); font-weight: 800; font-stretch: 68%; font-size: clamp(2.6rem, 5.4vw, 5rem); line-height: .84; letter-spacing: -0.02em; color: var(--red); white-space: nowrap; }
.case-results span { display: block; margin-top: 14px; font-size: 1rem; line-height: 1.45; color: var(--soft); }
.case-cols { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 96px); margin-top: clamp(36px, 4.6vw, 64px); }
.case-cols h3 { font-size: 1.6rem; font-weight: 740; font-stretch: 80%; margin-bottom: 14px; }
.case-cols p { color: var(--soft); font-size: 1.06rem; }
.case-cols .ticks li { font-size: 1.06rem; }
.case-cols .ticks li:first-child { margin-top: 0; }
.case-shot { margin-top: clamp(34px, 4.3vw, 60px); }
.case-shot img { width: 100%; cursor: zoom-in; border: 2px solid var(--ink); }
.case-shots { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.case-shots img:first-child { box-shadow: 9px 9px 0 var(--red); }
.case-shots img:last-child { margin-top: clamp(28px, 5vw, 72px); }
.case > .caption { margin-top: 30px; }
/* Every second case inverts and leads with the work */
.case:nth-of-type(even) { background: var(--ink); color: #fff; box-shadow: 0 0 0 100vmax var(--ink); clip-path: inset(0 -100vmax); border-top: 0; }
.case:nth-of-type(even) + .case { border-top: 0; }
.case:nth-of-type(even) .where, .case:nth-of-type(even) .case-cols p, .case:nth-of-type(even) .ticks li, .case:nth-of-type(even) .case-results span { color: var(--on-ink); }
.case:nth-of-type(even) .case-results { border-top-color: #fff; }
.case:nth-of-type(even) .case-results li { border-right-color: var(--rule-ink); }
.case:nth-of-type(even) .case-logo { background: #fff; padding: 10px 14px; max-height: 70px; box-sizing: content-box; }
.case:nth-of-type(even) .case-shot { order: 2; }
.case:nth-of-type(even) .case-head { order: 1; }
.case:nth-of-type(even) .case-results { order: 3; }
.case:nth-of-type(even) .case-cols { order: 4; }
.case:nth-of-type(even) .case-shot img { border-color: #fff; box-shadow: 9px 9px 0 var(--red); }
/* The third case sets its screenshot beside the text */
.case:nth-of-type(3) .case-shot img { box-shadow: -9px 9px 0 var(--red); }
.case:nth-of-type(5) .case-shot { max-width: 980px; margin-left: auto; }
.case:nth-of-type(5) .case-shot img { aspect-ratio: 856 / 775; object-fit: cover; object-position: 54% top; box-shadow: 9px 9px 0 var(--red); }

.mini-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 52px); }
.mini-case { border-top: 4px solid var(--ink); padding-top: 26px; }
.mini-case img { height: 48px; width: auto; margin-bottom: 24px; }
.mini-case h3 { font-size: clamp(1.7rem, 2.7vw, 2.4rem); font-weight: 740; font-stretch: 76%; line-height: 1; margin-bottom: 6px; }
html[lang="zh-CN"] .mini-case h3 { font-family: var(--display); }
.mini-case .where { font-size: 1.06rem; color: var(--faint); margin-bottom: 14px; }
.mini-case p { color: var(--soft); font-size: 1rem; }
.case-body p + p { margin-top: 18px; }
.case-body p { color: var(--soft); font-size: 1.12rem; }

/* ---------------------------------------------------------------- quotes */
.quotes { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.quote { border-top: 4px solid var(--red); padding-top: 30px; }
.quote blockquote { font-family: var(--serif); font-size: clamp(1.45rem, 2.5vw, 2.1rem); line-height: 1.26; letter-spacing: -0.014em; }
.quote figcaption { display: flex; align-items: center; gap: 18px; margin-top: 30px; font-size: .98rem; color: var(--soft); line-height: 1.4; }
.quote figcaption img { width: 68px; height: 68px; border-radius: 0; object-fit: cover; flex: none; border: 2px solid currentColor; }
.quote figcaption b { display: block; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.sec-ink .quote figcaption { color: var(--on-ink); }
.sec-ink .quote figcaption b { color: #fff; }

/* ---------------------------------------------------------------- industries */
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(44px, 5.5vw, 76px) clamp(28px, 4vw, 64px); }
.groups li { border-top: 4px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; }
.groups li:first-child { grid-column: span 2; }
.groups li:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, .9fr); gap: 16px clamp(28px, 4vw, 64px); align-items: start; }
.groups h3 { font-size: clamp(1.7rem, 2.7vw, 2.4rem); font-weight: 800; font-stretch: 76%; line-height: 1; letter-spacing: -0.01em; }
.groups li:first-child h3, .groups li:last-child h3 { font-size: clamp(2rem, 4.2vw, 3.7rem); }
html[lang="zh-CN"] .groups h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.3; letter-spacing: 0; }
html[lang="zh-CN"] .groups li:first-child h3, html[lang="zh-CN"] .groups li:last-child h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); }
.groups li > p { margin-top: 14px; color: var(--soft); font-size: 1.04rem; }
.groups li:first-child > p { max-width: 34em; }
.groups li:last-child > p { margin-top: 0; }
.groups .tagline { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .98rem; color: var(--ink); line-height: 1.5; }
.groups li:last-child .tagline { margin-top: 0; }
.groups .tagline + .tagline { margin-top: 12px; }
.groups .tagline b { display: inline-block; margin: 0 10px 4px 0; padding: 2px 9px; background: var(--red-btn); color: #fff; font-family: var(--display); font-size: .82rem; font-weight: 700; }
.groups .tagline b.muted { background: none; color: var(--faint); padding: 0; display: block; margin: 0 0 2px; }
.cities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 2px solid #fff; }
.cities li { padding: 18px 0; border-bottom: 1px solid var(--rule-ink); font-family: var(--display); font-weight: 800; font-stretch: 78%; font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.1; }
.cities small { display: block; color: #8f949f; font-size: .84rem; margin-top: 2px; }

/* ---------------------------------------------------------------- FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 52px 24px 0; font-family: var(--display); font-weight: 700; font-stretch: 90%; font-size: 1.28rem; line-height: 1.2; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 20px; height: 3px; margin-top: -1.5px; background: var(--red); transition: transform .16s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq p { padding: 0 52px 26px 0; color: var(--soft); max-width: 46em; }

/* ---------------------------------------------------------------- inquiry form */
.inquiry { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(40px, 6.5vw, 104px); align-items: start; }
.inquiry-copy h1, .inquiry-copy h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); font-stretch: 74%; line-height: .9; }
html[lang="zh-CN"] .inquiry-copy h1, html[lang="zh-CN"] .inquiry-copy h2 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); line-height: 1.16; }
.inquiry-copy .lead { margin-top: 26px; }
.next { margin-top: 40px; counter-reset: n; border-top: 2px solid var(--ink); }
.next li { counter-increment: n; display: grid; grid-template-columns: 44px 1fr; gap: 6px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--soft); }
.next li::before { content: counter(n); font-family: var(--display); font-weight: 800; font-stretch: 72%; font-size: 1.9rem; color: var(--red); line-height: 1; }
.reach { margin-top: 30px; font-size: 1rem; color: var(--soft); }
.reach a { white-space: nowrap; color: var(--ink); font-weight: 600; text-underline-offset: 5px; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.form-frame { padding: clamp(26px, 3.6vw, 52px); }
.form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.field { display: grid; gap: 8px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--display); font-size: .98rem; font-weight: 700; }
.field em { font-family: var(--sans); font-style: normal; font-weight: 400; color: var(--faint); }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 12px 15px; border: 2px solid var(--ink); border-radius: 0; background: #fff; font-size: 1.02rem; transition: box-shadow .12s; }
.field textarea { min-height: 136px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 5px 5px 0 var(--red); }
.field [aria-invalid="true"] { border-color: var(--red-deep); background: var(--red-wash); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; font-size: .98rem; min-height: 0; }
.form-status.err { color: var(--red-deep); font-weight: 700; }
.form-fine { grid-column: 1 / -1; font-size: .86rem; color: var(--faint); }
.form-done { position: relative; padding: 12px 0; }
.form-done h2 { font-size: 2.4rem; margin-bottom: 14px; }
.form-done p { color: var(--soft); }

/* ---------------------------------------------------------------- closing band */
.closing { background: var(--ink); color: #fff; padding-block: clamp(72px, 9.5vw, 148px); }
.closing .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px 64px; align-items: end; }
.closing h2 { max-width: 12em; font-size: clamp(2.5rem, 6.4vw, 5.8rem); font-stretch: 72%; line-height: .9; }
html[lang="zh-CN"] .closing h2 { font-size: clamp(1.9rem, 4.4vw, 3.8rem); line-height: 1.18; }
.closing p { color: var(--on-ink); margin-top: 22px; max-width: 36em; font-size: 1.12rem; }
.closing .btn { margin-bottom: var(--drop); }

/* ---------------------------------------------------------------- prose (legal) */
.narrow { max-width: 780px; }
.prose h2 { font-size: 1.7rem; margin: 44px 0 12px; }
.prose p { color: var(--soft); margin-top: 12px; }
.prose a { color: var(--red-deep); }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 2px solid var(--ink); padding-block: 64px 36px; font-size: .98rem; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px 64px; }
.foot-top .brand img { width: 250px; }
.foot-top p { margin-top: 22px; color: var(--soft); max-width: 26em; }
.foot-col h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.1rem; color: var(--faint); margin-bottom: 12px; }
html[lang="zh-CN"] .foot-col h3 { font-family: var(--sans); font-style: normal; font-size: .95rem; }
.foot-col a { display: block; padding: 5px 0; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1.06rem; }
.foot-col a:hover { color: var(--red-deep); }
.foot-col span { display: block; padding: 5px 0; color: var(--soft); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: .88rem; }
.foot-base nav { display: flex; gap: 22px; }
.foot-base a { text-decoration: none; }
.foot-base a:hover { color: var(--ink); }

.sticky-cta { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15,16,20,.94); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 48px); width: auto; }
.lightbox button { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .site-header .wrap { gap: 18px; }
  .brand img { width: 176px; }
  .nav-cta { display: none; }
  .logos li { flex-basis: 25%; height: 82px; }
  .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .groups li:first-child { grid-column: 1 / -1; }
  .groups li:last-child { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .groups li:last-child h3 { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --drop: 6px; }
  .site-header .wrap { grid-template-columns: auto 1fr auto auto; min-height: 68px; gap: 12px; }
  .brand img { width: 148px; }
  .lang { grid-column: 3; }
  .menu-btn { display: block; grid-column: 4; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 2px solid var(--ink); flex-direction: column; gap: 0; padding: 4px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.5rem; font-weight: 800; font-stretch: 80%; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--red-deep); }
  .head, .hero-foot, .split, .split-wide, .svc, .case-cols, .inquiry, .quotes, .cols, .cols-2, .mini-cases, .team-note, .cases3, .showcase-text { grid-template-columns: minmax(0, 1fr); }
  .head { align-items: start; }
  .hero h1 span { display: inline; }
  .hero h1 .l2, html[lang="zh-CN"] .hero h1 .l2 { padding-left: 0; }
  html[lang="zh-CN"] .hero h1 span { display: block; }
  .hero-foot .actions { order: 0; }
  .flow ol { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .flow li { display: grid; grid-template-columns: 74px 1fr; column-gap: 8px; padding: 22px 0; margin: 0; border-right: 0; border-top: 1px solid var(--rule-ink); }
  .flow li::before { grid-row: span 2; font-size: 4.6rem; margin: 0; -webkit-text-stroke-width: 1.5px; }
  .flow li:not(:last-child)::after { display: none; }
  .flow li p { grid-column: 2; margin-top: 6px; }
  .figures, .steps, .cols-4, .case-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figure, .steps li, .case-results li { margin-right: 0; padding-right: 16px; padding-bottom: 26px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sec-ink .figure, .steps li, .case:nth-of-type(even) .case-results li { border-bottom-color: var(--rule-ink); }
  .svc.flip .svc-media { order: 0; }
  .svc-media img, .case-shots img:first-child, .case:nth-of-type(even) .case-shot img, .case:nth-of-type(5) .case-shot img { box-shadow: 7px 7px 0 var(--red); }
  .case:nth-of-type(3) .case-shot img { box-shadow: -7px 7px 0 var(--red); }
  .frame { box-shadow: 8px 8px 0 var(--red); }
  .svc-list a { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; }
  .svc-list p { grid-column: 1; grid-row: 2; }
  .svc-list .more { grid-row: 1 / span 2; min-width: 0; }
  .case3:first-child { grid-row: auto; }
  .case3:first-child .case3-img, .case3-img { aspect-ratio: 16 / 10; }
  .case-head > div { grid-template-columns: minmax(0, 1fr); }
  .case-shots { grid-template-columns: minmax(0, 1fr); }
  .case-shots img:last-child { margin-top: 0; }
  .fit li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .showcase-text h3 { grid-row: auto; margin-bottom: 8px; }
  .closing .wrap { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-top > :first-child { grid-column: 1 / -1; }
  .sticky-cta { display: block; position: fixed; left: 14px; right: 20px; bottom: 20px; z-index: 40; background: var(--ink); color: #fff; text-align: center; font-family: var(--display); font-weight: 700; padding: 16px; border: 2px solid var(--ink); text-decoration: none; box-shadow: 6px 6px 0 var(--red); transform: translateY(170%); transition: transform .2s; }
  .sticky-cta.show { transform: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  /* Deliberate Chinese hero lines: no isolated final character on 390px phones. */
  html[lang="zh-CN"] .hero h1 .mobile-break { display: block; }
  .logos li { flex-basis: 50%; height: 72px; }
  .logos img { height: calc(var(--h, 44px) * .86); }
  .groups { grid-template-columns: minmax(0, 1fr); }
  .groups li:last-child { grid-template-columns: minmax(0, 1fr); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .svc-panel dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .showcase-media { grid-template-columns: minmax(0, 1fr); }
  .showcase-photo { aspect-ratio: 16 / 9; }
  .actions .btn { width: calc(100% - var(--drop)); }
  .case-nav a { padding: 7px 11px; font-size: .9rem; }
  .cities { grid-template-columns: minmax(0, 1fr); }
  .lang a { padding: 5px 8px; }
  .figure b, .case-results b { font-size: clamp(2.5rem, 12.5vw, 3.6rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
