:root {
  --ink: #0d1110;
  --ink-soft: #151b18;
  --paper: #eee6d5;
  --paper-dim: #b7b4a8;
  --line: rgba(238, 230, 213, 0.2);
  --line-strong: rgba(238, 230, 213, 0.4);
  --brass: #d5bc77;
  --coral: #e47b61;
  --sea: #8dbdb1;
  --blue: #a6bdd6;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  font-synthesis: none;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.5; }
body, button, a { -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }

.site-grid { position: fixed; z-index: 1; inset: 0; pointer-events: none; opacity: 0.18; background-image: linear-gradient(to right, transparent 0, transparent calc(100% - 1px), var(--line) calc(100% - 1px)), linear-gradient(to bottom, transparent 0, transparent calc(100% - 1px), var(--line) calc(100% - 1px)); background-size: 9.09% 100%, 100% 88px; }
.skip-link { position: fixed; z-index: 50; top: 12px; left: 12px; padding: 8px 12px; background: var(--paper); color: var(--ink); transform: translateY(-150%); transition: transform 160ms var(--ease-out); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 3.3vw; border-bottom: 1px solid transparent; transition: background-color 220ms ease, border-color 220ms ease; }
.site-header.is-scrolled { background: rgba(13, 17, 16, 0.92); border-color: var(--line); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 208px; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-strong); color: var(--brass); font: 700 20px Georgia, serif; }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 15px; }
.brand-copy small { color: var(--paper-dim); font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.site-nav a { color: var(--paper-dim); font-size: 12px; transition: color 180ms ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--paper); }
.header-cta { display: inline-flex; align-items: center; gap: 14px; min-height: 40px; padding: 0 15px; border: 1px solid var(--line-strong); color: var(--paper); font-size: 12px; transition: transform 160ms var(--ease-out), background-color 180ms ease, color 180ms ease; }
.header-cta:hover { background: var(--paper); color: var(--ink); }
.header-cta:active, .button:active { transform: scale(0.97); }

.hero { position: relative; min-height: 88svh; overflow: hidden; display: flex; align-items: center; padding: 144px 3.3vw 92px; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-image { filter: saturate(0.72) contrast(1.04); transform: scale(1.04); transform-origin: center; }
.hero-shade { background: rgba(10, 14, 13, 0.67); }
.hero-content { position: relative; z-index: 2; width: min(720px, 60vw); }
.eyebrow, .section-label { margin: 0; color: var(--brass); font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow-line { display: inline-block; width: 42px; height: 1px; background: currentColor; }
.hero-title { margin: 20px 0 24px; font-family: Georgia, "Songti SC", "Noto Serif SC", serif; font-size: 104px; font-weight: 400; line-height: 0.96; letter-spacing: 0; }
.hero-title em { color: var(--paper); font-style: normal; }
.hero-lede { max-width: 530px; margin: 0; color: var(--paper-dim); font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 46px; padding: 0 16px; border: 1px solid var(--line-strong); font-size: 13px; transition: transform 160ms var(--ease-out), background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.button span { font-size: 16px; line-height: 1; }
.button-primary { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.button-primary:hover { border-color: var(--brass); background: var(--brass); }
.button-ghost { color: var(--paper); }
.button-ghost:hover { border-color: var(--paper); background: rgba(238, 230, 213, 0.1); }
.hero-note { position: absolute; z-index: 2; right: 3.3vw; bottom: 120px; width: min(330px, 28vw); padding: 18px; border: 1px solid var(--line-strong); background: rgba(13, 17, 16, 0.46); backdrop-filter: blur(9px); }
.note-label { color: var(--paper-dim); font-size: 10px; letter-spacing: 1.1px; }
.monogram { display: grid; place-items: center; width: 120px; height: 120px; margin: 22px auto 20px; border: 1px solid var(--line-strong); color: var(--brass); font: 64px Georgia, serif; }
.hero-note strong { display: block; font: 22px/1.15 Georgia, serif; }
.hero-note p { margin: 14px 0 0; color: var(--paper-dim); font-size: 12px; }
.hero-footer { position: absolute; z-index: 2; right: 3.3vw; bottom: 28px; left: 3.3vw; display: flex; justify-content: space-between; color: var(--paper-dim); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.scroll-cue { display: inline-flex; align-items: center; gap: 9px; }
.scroll-dot { display: inline-block; width: 7px; height: 7px; border: 1px solid var(--brass); border-radius: 50%; }

.section-band { position: relative; z-index: 2; padding: 132px 6.6vw; border-top: 1px solid var(--line); }
.statement { display: grid; grid-template-columns: minmax(120px, 0.32fr) 1fr; gap: 6vw; background: var(--ink-soft); }
.statement-copy { max-width: 880px; }
.statement h2, .section-heading h2, .cross-border h2, .method h2, .layers h2, .contact h2 { margin: 0; font: 400 55px/1.08 Georgia, "Songti SC", "Noto Serif SC", serif; letter-spacing: 0; }
.statement p, .section-heading > p, .layers-heading p, .method-intro p, .contact-copy p { max-width: 500px; margin: 28px 0 0; color: var(--paper-dim); font-size: 16px; line-height: 1.7; }
.section-heading { display: flex; justify-content: space-between; gap: 80px; align-items: end; margin-bottom: 70px; }
.section-heading > p { margin: 0; }
.section-heading h2 span, .cross-border h2 span, .method h2 span, .layers h2 span, .contact h2 span { color: var(--paper-dim); }

.modes { background: var(--paper); color: var(--ink); }
.modes .section-label { color: #766744; }
.modes .section-heading > p { color: #65665d; }
.mode-switch { display: inline-flex; gap: 0; margin-bottom: 32px; border: 1px solid rgba(13, 17, 16, 0.34); }
.mode-button { min-height: 42px; padding: 0 18px; border: 0; border-right: 1px solid rgba(13, 17, 16, 0.34); background: transparent; color: #68655b; cursor: pointer; font-size: 12px; transition: background-color 180ms ease, color 180ms ease; }
.mode-button:last-child { border-right: 0; }
.mode-button:hover, .mode-button:focus-visible { color: var(--ink); }
.mode-button.is-active { background: var(--ink); color: var(--paper); }
.mode-stage { display: grid; grid-template-columns: minmax(260px, 0.75fr) minmax(520px, 1.25fr); min-height: 560px; border: 1px solid rgba(13, 17, 16, 0.35); }
.mode-copy { display: flex; flex-direction: column; justify-content: center; padding: 46px; }
.mode-index { color: #766744; font-size: 11px; letter-spacing: 1.2px; }
.mode-copy h3 { max-width: 430px; margin: 18px 0 18px; font: 400 42px/1.12 Georgia, "Songti SC", "Noto Serif SC", serif; }
.mode-copy > p { max-width: 400px; margin: 0; color: #65665d; font-size: 15px; line-height: 1.7; }
.mode-deliverables { display: grid; gap: 0; margin-top: 32px; border-top: 1px solid rgba(13, 17, 16, 0.2); }
.mode-deliverables span { padding: 10px 0; border-bottom: 1px solid rgba(13, 17, 16, 0.2); color: #494b45; font-size: 12px; }
.mode-visual { position: relative; overflow: hidden; min-height: 560px; background: #1d2724; color: var(--paper); }
.mode-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.68) contrast(1.12); }
.visual-shade { position: absolute; inset: 0; background: rgba(9, 15, 14, 0.56); }
.visual-topline, .visual-caption { position: absolute; z-index: 2; right: 28px; left: 28px; display: flex; justify-content: space-between; color: var(--paper-dim); font-size: 10px; letter-spacing: 1px; }
.visual-topline { top: 24px; }
.visual-caption { bottom: 24px; color: var(--paper); }
.flow { position: absolute; z-index: 2; top: 50%; right: 10%; left: 10%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; transform: translateY(-50%); }
.flow-line { position: absolute; top: 23px; right: 8%; left: 8%; height: 1px; background: rgba(238, 230, 213, 0.5); }
.flow-line span { display: block; width: 0; height: 100%; transform-origin: left center; background: var(--brass); }
.flow-node { position: relative; display: grid; justify-items: center; gap: 4px; color: var(--paper-dim); text-align: center; }
.flow-node::before { content: ""; position: relative; z-index: 2; width: 46px; height: 46px; border: 1px solid rgba(238, 230, 213, 0.45); border-radius: 50%; background: rgba(13, 17, 16, 0.72); }
.flow-node span { position: absolute; z-index: 3; top: 14px; color: var(--paper); font-size: 10px; }
.flow-node strong { color: var(--paper); font-size: 14px; font-weight: 600; }
.flow-node small { font-size: 10px; }
.flow-node.is-active::before { border-color: var(--brass); box-shadow: 0 0 0 6px rgba(213, 188, 119, 0.13); }

.problem-list { background: var(--ink); }
.problem-rows { border-top: 1px solid var(--line); }
.problem-row { display: grid; grid-template-columns: 76px minmax(260px, 1fr) minmax(180px, 0.34fr); gap: 32px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.row-number { color: var(--brass); font-size: 12px; }
.problem-row h3 { margin: 0 0 7px; font: 400 28px/1.15 Georgia, "Songti SC", "Noto Serif SC", serif; }
.problem-row p { max-width: 620px; margin: 0; color: var(--paper-dim); font-size: 14px; }
.problem-row > strong { justify-self: end; color: var(--sea); font-size: 12px; font-weight: 400; text-align: right; }

.cross-border { display: grid; grid-template-columns: minmax(300px, 0.85fr) minmax(320px, 1fr); gap: 8vw; align-items: center; background: var(--ink-soft); }
.cross-border-image { position: relative; min-height: 580px; overflow: hidden; border: 1px solid var(--line-strong); }
.cross-border-image img { width: 100%; height: 100%; min-height: 580px; object-fit: cover; filter: saturate(0.58) contrast(1.12); }
.cross-border-image::after { content: ""; position: absolute; inset: 0; background: rgba(13, 17, 16, 0.2); }
.image-index { position: absolute; z-index: 2; top: 22px; left: 22px; color: var(--paper); font-size: 10px; letter-spacing: 1px; }
.cross-border-copy h2 { margin-top: 16px; }
.cross-border-copy > p { max-width: 500px; margin: 28px 0 0; color: var(--paper-dim); font-size: 16px; line-height: 1.7; }
.mini-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 34px; color: var(--brass); font-size: 13px; }
.mini-flow i { color: var(--paper-dim); font-style: normal; }
.cross-border-deliverables { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin-top: 42px; border-top: 1px solid var(--line); }
.cross-border-deliverables span { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--paper-dim); font-size: 12px; }

.method { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 9vw; background: var(--paper); color: var(--ink); }
.method .section-label { color: #766744; }
.method-intro p { color: #65665d; }
.method-list { border-top: 1px solid rgba(13, 17, 16, 0.28); }
.method-item { display: grid; grid-template-columns: 50px 1fr 28px; gap: 20px; align-items: start; padding: 25px 0; border-bottom: 1px solid rgba(13, 17, 16, 0.28); }
.method-item > span { color: #766744; font-size: 12px; }
.method-item h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.method-item p { max-width: 520px; margin: 0; color: #65665d; font-size: 14px; }
.method-item b { color: #766744; font-size: 18px; font-weight: 400; }

.layers { background: #182520; }
.layers-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin: 20px 0 64px; }
.layers-heading p { margin: 0; color: var(--paper-dim); }
.layer-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.layer-grid article { min-height: 220px; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.layer-grid span { color: var(--brass); font-size: 10px; letter-spacing: 1px; }
.layer-grid h3 { margin: 64px 0 8px; font: 400 24px Georgia, "Songti SC", "Noto Serif SC", serif; }
.layer-grid p { margin: 0; color: var(--paper-dim); font-size: 13px; }

.contact { display: grid; grid-template-columns: 0.5fr 1.4fr 0.55fr; gap: 5vw; align-items: end; min-height: 620px; background: #0a0d0c; }
.contact-mark { align-self: start; color: var(--brass); font: 130px Georgia, serif; line-height: 0.8; }
.contact-copy h2 { margin-top: 20px; font-size: 52px; }
.contact-copy p { max-width: 560px; }
.contact-copy .button { margin-top: 30px; }
.contact-meta { display: grid; gap: 11px; align-self: start; padding-top: 4px; border-top: 1px solid var(--line); }
.contact-meta span { padding-top: 12px; color: var(--brass); font-size: 10px; letter-spacing: 1px; }
.contact-meta strong { font: 18px Georgia, serif; overflow-wrap: anywhere; }
.contact-meta small { color: var(--paper-dim); font-size: 11px; }
.site-footer { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 20px; padding: 20px 6.6vw 26px; border-top: 1px solid var(--line); color: var(--paper-dim); font-size: 11px; }
.site-footer a { color: var(--paper); }

.reveal { will-change: transform, opacity; }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .site-header { padding: 17px 20px; }
  .brand { min-width: 0; }
  .brand-copy small { display: none; }
  .header-cta { padding: 0 11px; }
  .hero { min-height: 87svh; padding: 126px 20px 80px; align-items: end; }
  .hero-content { width: 100%; }
  .hero-title { font-size: 68px; }
  .hero-lede { max-width: 620px; font-size: 17px; }
  .hero-note { top: 114px; right: 20px; bottom: auto; width: 170px; padding: 12px; }
  .hero-note .monogram { width: 62px; height: 62px; margin: 12px auto; font-size: 32px; }
  .hero-note strong { font-size: 13px; }
  .hero-note p { display: none; }
  .hero-footer { right: 20px; bottom: 22px; left: 20px; }
  .hero-footer > span:last-child { display: none; }
  .section-band { padding: 88px 20px; }
  .statement, .method { grid-template-columns: 1fr; gap: 38px; }
  .statement h2, .section-heading h2, .cross-border h2, .method h2, .layers h2, .contact h2 { font-size: 42px; }
  .section-heading { display: block; margin-bottom: 48px; }
  .section-heading > p { margin-top: 22px; }
  .mode-stage { grid-template-columns: 1fr; }
  .mode-copy { padding: 32px 26px; }
  .mode-copy h3 { font-size: 35px; }
  .mode-visual { min-height: 420px; }
  .flow { right: 5%; left: 5%; }
  .flow-node strong { font-size: 12px; }
  .flow-node small { font-size: 9px; }
  .problem-row { grid-template-columns: 34px 1fr; gap: 12px; }
  .problem-row > strong { grid-column: 2; justify-self: start; margin-top: 8px; text-align: left; }
  .problem-row h3 { font-size: 24px; }
  .cross-border { grid-template-columns: 1fr; gap: 42px; }
  .cross-border-image, .cross-border-image img { min-height: 420px; }
  .layers-heading { display: block; margin-bottom: 42px; }
  .layers-heading p { margin-top: 22px; }
  .layer-grid { grid-template-columns: 1fr 1fr; }
  .layer-grid article { min-height: 190px; padding: 16px; }
  .layer-grid h3 { margin-top: 44px; font-size: 20px; }
  .contact { grid-template-columns: 1fr; gap: 38px; min-height: auto; }
  .contact-mark { font-size: 92px; }
  .contact-meta { order: 3; }
  .site-footer { display: grid; gap: 8px; padding-right: 20px; padding-left: 20px; }
}

@media (max-width: 520px) {
  .header-cta { font-size: 11px; }
  .hero-note { display: none; }
  .hero-title { font-size: 56px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .button { gap: 10px; padding: 0 12px; font-size: 12px; }
  .statement h2, .section-heading h2, .cross-border h2, .method h2, .layers h2, .contact h2 { font-size: 35px; }
  .mode-switch { width: 100%; }
  .mode-button { flex: 1; }
  .mode-copy h3 { font-size: 31px; }
  .mode-visual { min-height: 360px; }
  .visual-topline, .visual-caption { right: 16px; left: 16px; }
  .visual-caption { font-size: 8px; }
  .flow { right: 3%; left: 3%; }
  .flow-node::before { width: 38px; height: 38px; }
  .flow-node span { top: 11px; font-size: 9px; }
  .flow-node strong { font-size: 10px; }
  .flow-node small { font-size: 8px; }
  .flow-line { top: 19px; }
  .layer-grid { grid-template-columns: 1fr; }
  .layer-grid article { min-height: 150px; }
  .layer-grid h3 { margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { will-change: auto; }
}
