:root {
  --ink: #121410;
  --paper: #f0eee6;
  --acid: #c9ff47;
  --coral: #ff7459;
  --sage: #8fb6a0;
  --line: rgba(18, 20, 16, 0.2);
  --serif: "Songti SC", "STSong", "SimSun", "Times New Roman", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --shell: min(1320px, calc(100vw - 80px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}

body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.section-shell { width: var(--shell); margin-inline: auto; }

.section-label {
  margin: 0;
  color: #586057;
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 88px;
  padding: 18px 40px;
  color: #fff;
  transition: min-height 240ms ease, background-color 240ms ease, color 240ms ease;
}

.site-header.is-solid {
  min-height: 70px;
  background: rgba(240, 238, 230, 0.94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  line-height: 1;
}

.brand span { font-family: var(--serif); font-size: 22px; }
.brand small { margin-top: 7px; font-size: 9px; opacity: 0.66; }

.desktop-nav { display: flex; gap: 32px; align-items: center; font-size: 13px; }
.desktop-nav a { padding: 8px 0; border-bottom: 1px solid transparent; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { border-bottom-color: currentColor; }

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  padding: 9px 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 32px;
  height: 1px;
  margin: 7px 0;
  background: currentColor;
  transition: transform 200ms ease;
}

.menu-button.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-button.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  align-content: center;
  gap: 22px;
  padding: 100px 24px 40px;
  background: var(--acid);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(34px, 11vw, 54px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.mobile-menu.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }

.design-hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.design-hero > img,
.hero-overlay,
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.design-hero > img {
  object-fit: cover;
  object-position: 57% 38%;
  filter: grayscale(1) contrast(1.14) brightness(0.62);
  transform: translate3d(0, var(--hero-shift, 0), 0) scale(1.07);
  will-change: transform;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 12, 9, 0.9) 0%, rgba(10, 12, 9, 0.44) 55%, rgba(10, 12, 9, 0.2) 100%),
    linear-gradient(0deg, rgba(10, 12, 9, 0.68) 0%, transparent 50%);
}

.hero-grid {
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.24) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, #000, transparent 76%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: var(--shell);
  min-height: 88svh;
  margin-inline: auto;
  padding: 140px 0 56px;
}

.hero-copy > p { margin: 0 0 18px; color: var(--acid); font-size: 12px; }

.hero-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(78px, 11vw, 164px);
  font-weight: 400;
  line-height: 0.88;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.42);
  font-size: 13px;
}

.hero-meta a { color: var(--acid); }

.hero-side {
  position: absolute;
  right: 30px;
  top: 50%;
  z-index: 2;
  margin: 0;
  color: rgba(255,255,255,0.55);
  font-size: 10px;
  transform: translateY(-50%) rotate(90deg);
}

.manifesto { padding: 118px 0 132px; background: var(--acid); }

.manifesto-grid {
  display: grid;
  grid-template-columns: 0.7fr 2fr 0.9fr;
  gap: clamp(36px, 6vw, 100px);
  align-items: start;
}

.manifesto .section-label { color: rgba(18,20,16,0.64); }

.manifesto h2,
.index-heading h2,
.approach h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
}

.manifesto h2 { font-size: clamp(46px, 6vw, 82px); line-height: 1.14; }

.manifesto-note {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.85;
}

.project-index { padding: 118px 0 132px; background: var(--paper); }

.index-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 62px;
}

.index-heading h2 { margin-top: 14px; font-size: clamp(54px, 7vw, 94px); line-height: 1; }
.index-heading > p { margin: 0; color: #686c65; font-size: 12px; }

.discipline-list { border-top: 1px solid var(--ink); }

.discipline-row {
  display: grid;
  grid-template-columns: 0.4fr 2fr 1.4fr 0.6fr;
  align-items: center;
  gap: 28px;
  min-height: 148px;
  padding: 26px max(40px, calc((100vw - min(1320px, calc(100vw - 80px))) / 2));
  border-bottom: 1px solid var(--line);
  transition: background-color 260ms ease, color 260ms ease, padding 260ms ease;
}

.discipline-row:hover {
  background: var(--row-tone, var(--acid));
  padding-left: max(54px, calc((100vw - min(1320px, calc(100vw - 80px))) / 2 + 14px));
}

.row-number, .row-status { font-size: 11px; }
.discipline-row h3 { margin: 0; font-family: var(--serif); font-size: clamp(32px, 4vw, 58px); font-weight: 400; }
.discipline-row p { margin: 0; color: #686c65; font-family: var(--serif); font-size: 16px; }
.discipline-row:hover p { color: inherit; }
.row-status { justify-self: end; }

.visual-break {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  background: var(--ink);
}

.visual-break img {
  width: 100%;
  height: 86svh;
  object-fit: cover;
  object-position: center 44%;
  filter: grayscale(0.76) contrast(1.08) brightness(0.68);
}

.visual-break-copy {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(54px, 9vw, 138px);
  text-align: center;
}

.visual-break-copy span:nth-child(2) { color: var(--acid); }

.approach { padding: 120px 0 132px; background: #fff; }

.approach-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr 1.4fr;
  gap: clamp(38px, 6vw, 100px);
  align-items: start;
}

.approach h2 { font-size: clamp(44px, 5.4vw, 76px); line-height: 1.16; }
.approach-steps { margin: 0; padding: 0; list-style: none; }

.approach-steps li {
  display: grid;
  grid-template-columns: 40px 100px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.approach-steps li:last-child { border-bottom: 1px solid var(--line); }
.approach-steps span { color: #787d76; font-size: 11px; }
.approach-steps strong { font-family: var(--serif); font-size: 18px; font-weight: 400; }
.approach-steps p { margin: 0; color: #686c65; font-family: var(--serif); line-height: 1.7; }

.cross-link {
  display: flex;
  align-items: end;
  justify-content: space-between;
  min-height: 52svh;
  padding: 72px 40px;
  background: var(--coral);
}

.cross-link p { margin: 0; font-size: 12px; }
.cross-link a { font-family: var(--serif); font-size: clamp(52px, 8vw, 116px); line-height: 1; }
.cross-link a span { font-family: var(--sans); font-size: 0.6em; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 28px;
  padding: 50px 40px;
  background: var(--ink);
  color: #fff;
}

.site-footer p { margin: 0; color: rgba(255,255,255,0.56); font-size: 10px; }
.site-footer > a:last-child { justify-self: end; font-size: 12px; }

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(18,20,16,0.24);
  border-radius: 50%;
  background: rgba(240,238,230,0.9);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.back-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 760ms cubic-bezier(0.22,1,0.36,1), transform 760ms cubic-bezier(0.22,1,0.36,1);
}

.motion-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  :root { --shell: min(100% - 48px, 850px); }
  .manifesto-grid, .approach-grid { grid-template-columns: 1fr 2fr; }
  .manifesto-note, .approach-steps { grid-column: 2; }
  .discipline-row { grid-template-columns: 50px 1.5fr 1fr auto; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100vw - 40px); }
  .site-header { min-height: 72px; padding: 14px 20px; }
  .site-header.is-solid { min-height: 64px; }
  .brand span { font-size: 19px; }
  .brand small { font-size: 8px; }
  .desktop-nav { display: none; }
  .menu-button { display: block; justify-self: end; }
  .design-hero, .hero-copy { min-height: 84svh; }
  .design-hero > img { object-position: 56% 40%; }
  .hero-copy { padding: 112px 0 34px; }
  .hero-copy > p { font-size: 10px; }
  .hero-copy h1 { font-size: clamp(64px, 22vw, 90px); line-height: 0.92; }
  .hero-meta { align-items: flex-start; flex-direction: column; gap: 16px; margin-top: 30px; }
  .hero-side { display: none; }
  .manifesto, .project-index, .approach { padding: 78px 0; }
  .manifesto-grid, .approach-grid { grid-template-columns: 1fr; gap: 34px; }
  .manifesto-note, .approach-steps { grid-column: auto; }
  .manifesto h2 { font-size: 43px; }
  .index-heading { align-items: flex-start; flex-direction: column; margin-bottom: 42px; }
  .index-heading h2 { font-size: 54px; }
  .discipline-row {
    grid-template-columns: 36px 1fr auto;
    gap: 14px;
    min-height: 124px;
    padding: 22px 20px;
  }
  .discipline-row:hover { padding-left: 20px; }
  .discipline-row h3 { font-size: 31px; }
  .discipline-row p { display: none; }
  .visual-break, .visual-break img { min-height: 72svh; height: 72svh; }
  .visual-break-copy { grid-template-columns: 1fr; align-content: center; gap: 18px; font-size: 62px; }
  .approach h2 { font-size: 44px; }
  .approach-steps li { grid-template-columns: 32px 72px 1fr; gap: 10px; }
  .cross-link { align-items: flex-start; flex-direction: column; min-height: 44svh; padding: 54px 20px; }
  .cross-link a { font-size: 52px; }
  .site-footer { grid-template-columns: 1fr; padding: 42px 20px; }
  .site-footer p { display: none; }
  .site-footer > a:last-child { justify-self: start; }
  .back-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}

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