:root {
  --blue: #2B7FD8;
  --blue-deep: #1E5BA8;
  --yellow: #F4D758;
  --red: #E84A5F;
  --cream: #fefcf6;
  --cream-dark: #faf6eb;
  --ink: #1A1A2E;
  --ink-light: #4A4A5A;
  --ink-faint: #777786;
  --ink-line: rgba(26, 26, 46, 0.16);
  --content: 1300px;
  --header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-width: 320px;
  color: var(--ink);
  background-color: var(--cream);
  background-image: radial-gradient(rgba(43, 127, 216, 0.09) 0.65px, transparent 0.65px);
  background-size: 12px 12px;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

::selection { color: var(--ink); background: var(--yellow); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--cream);
  background: var(--ink);
  border-radius: 10px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms;
}

.skip-link:focus { transform: translateY(0); }
.container { width: min(100% - clamp(36px, 6vw, 88px), var(--content)); margin-inline: auto; }

.label-caps {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-deep);
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.label-caps::before { content: ""; width: 34px; height: 3px; background: currentColor; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-inline: clamp(18px, 4vw, 60px);
  background: rgba(254, 252, 246, 0.97);
  border-bottom: 1px solid var(--ink-line);
}

.site-header.is-scrolled { background: var(--cream); box-shadow: 0 8px 32px rgba(26, 26, 46, 0.08); }

.wordmark {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.wordmark::after { content: ""; position: absolute; right: -9px; bottom: 3px; width: 7px; height: 7px; background: var(--red); border-radius: 50%; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }

.site-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 5px;
  background: var(--yellow);
  border-radius: 60% 42% 54% 38%;
  opacity: 0.72;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.site-nav a:hover::after, .site-nav a.is-current::after { transform: scaleX(1); transform-origin: left center; }
.menu-toggle { display: none; min-width: 52px; min-height: 44px; padding: 8px 12px; color: var(--ink); background: var(--yellow); border: 2px solid var(--ink); border-radius: 10px; cursor: pointer; }

.page-hero {
  min-height: min(760px, 82svh);
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-height) + clamp(54px, 8vh, 90px)) clamp(54px, 8vh, 90px);
  border-bottom: 1px solid var(--ink-line);
}

.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(280px, .62fr); align-items: end; gap: clamp(44px, 8vw, 130px); }
.page-hero h1 { max-width: 930px; margin-top: 28px; font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(3.2rem, 6.6vw, 6.7rem); font-weight: 900; line-height: 1.04; text-wrap: pretty; }
.page-hero h1 > span { display: block; }
.page-hero h1 em { color: var(--blue-deep); font-family: "Caveat", cursive; font-style: normal; font-weight: 700; }
.projects-hero h1 { max-width: none; font-size: clamp(3rem, 5.7vw, 6rem); }
.projects-hero h1 > span { white-space: nowrap; }
.page-hero__side { padding-top: 24px; border-top: 4px solid var(--yellow); color: var(--ink-light); font-size: clamp(.92rem, 1.3vw, 1.06rem); text-wrap: pretty; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; list-style: none; }
.page-hero__meta li { padding: 5px 11px; border: 1px solid var(--ink-line); border-radius: 999px; background: var(--cream-dark); font-size: .72rem; font-weight: 700; }

.section { padding-block: clamp(90px, 12vw, 160px); }
.section--paper { background: var(--cream-dark); border-block: 1px solid var(--ink-line); }
.projects-index-section { padding-top: calc(var(--header-height) + clamp(70px, 9vw, 120px)); }
.section--blue { color: var(--cream); background: var(--blue-deep); }
.section--yellow { background: var(--yellow); }
.section-heading { display: grid; grid-template-columns: minmax(150px, .34fr) minmax(0, 1fr); align-items: end; gap: clamp(30px, 6vw, 90px); margin-bottom: clamp(44px, 7vw, 84px); }
.section-heading h2 { font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(2.1rem, 4.6vw, 4.8rem); font-weight: 900; line-height: 1.12; text-wrap: balance; }
.section-heading p { max-width: 720px; margin-top: 18px; color: var(--ink-light); text-wrap: pretty; }
.section--blue .label-caps { color: var(--yellow); }
.section--blue .section-heading p { color: rgba(254, 252, 246, .74); }

.project-index { border-top: 1px solid var(--ink-line); }
.project-row { display: grid; grid-template-columns: 90px minmax(220px, .42fr) minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 5vw, 72px); padding-block: clamp(34px, 5vw, 62px); border-bottom: 1px solid var(--ink-line); text-decoration: none; }
.project-row__number { color: var(--blue-deep); font-family: "Fraunces", Georgia, serif; font-size: clamp(2.2rem, 4vw, 4.4rem); font-style: italic; opacity: .72; }
.project-row h3 { font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(1.45rem, 2.5vw, 2.5rem); line-height: 1.25; }
.project-row p { color: var(--ink-light); font-size: .92rem; }
.project-row__arrow { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 1.25rem; transition: transform 220ms cubic-bezier(0.16,1,0.3,1); }
.project-row:hover .project-row__arrow { transform: translateX(6px); }

.taxonomy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(254,252,246,.28); border-left: 1px solid rgba(254,252,246,.28); }
.taxonomy article { min-height: 290px; padding: clamp(28px, 4vw, 50px); border-right: 1px solid rgba(254,252,246,.28); border-bottom: 1px solid rgba(254,252,246,.28); }
.taxonomy small { color: var(--yellow); font-family: "Fraunces", Georgia, serif; letter-spacing: .14em; }
.taxonomy h3 { margin: 54px 0 18px; font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(1.35rem, 2.3vw, 2.2rem); }
.taxonomy p { color: rgba(254,252,246,.74); font-size: .9rem; }

.service-band { display: grid; grid-template-columns: 100px minmax(220px, .42fr) minmax(0, 1fr); gap: clamp(26px, 6vw, 88px); padding-block: clamp(42px, 6vw, 72px); border-top: 1px solid var(--ink-line); }
.service-band:last-child { border-bottom: 1px solid var(--ink-line); }
.service-band__number { color: var(--red); font-family: "Fraunces", Georgia, serif; font-size: clamp(2.5rem, 5vw, 5.3rem); font-style: italic; line-height: 1; }
.service-band h3 { font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(1.6rem, 3vw, 3rem); line-height: 1.2; }
.service-band__body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.service-band__body div { padding-top: 14px; border-top: 4px solid var(--yellow); }
.service-band__body strong { display: block; margin-bottom: 8px; }
.service-band__body p { color: var(--ink-light); font-size: .88rem; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(254,252,246,.28); border-block: 1px solid rgba(254,252,246,.28); }
.step { min-height: 310px; padding: clamp(28px, 3.5vw, 46px); background: var(--blue-deep); }
.step small { color: var(--yellow); letter-spacing: .15em; }
.step h3 { margin: clamp(60px, 7vw, 94px) 0 16px; font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(1.2rem, 2vw, 1.8rem); }
.step p { color: rgba(254,252,246,.72); font-size: .86rem; }

.knowledge-lead { display: grid; grid-template-columns: minmax(0, .8fr) minmax(260px, .4fr); gap: clamp(40px, 8vw, 120px); align-items: end; }
.knowledge-lead h2 { font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(2.4rem, 5.6vw, 5.7rem); line-height: 1.08; }
.knowledge-lead p { color: var(--ink-light); }
.knowledge-categories { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 56px; list-style: none; }
.knowledge-categories li { padding: 10px 18px; border-radius: 999px; background: var(--yellow); font-family: "Noto Serif SC", "Songti SC", serif; font-weight: 700; }
.knowledge-categories li:nth-child(even) { color: var(--cream); background: var(--blue-deep); }

.note-index { border-top: 1px solid var(--ink-line); }
.note-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(180px, .34fr); gap: clamp(26px, 5vw, 70px); padding-block: 34px; border-bottom: 1px solid var(--ink-line); text-decoration: none; }
.note-row small { color: var(--blue-deep); font-family: "Fraunces", Georgia, serif; letter-spacing: .12em; }
.note-row h3 { font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(1.25rem, 2vw, 1.85rem); }
.note-row p { color: var(--ink-light); font-size: .86rem; }

.timeline { border-top: 1px solid var(--ink-line); }
.timeline-entry { display: grid; grid-template-columns: minmax(160px, .27fr) minmax(220px, .36fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 92px); padding-block: clamp(38px, 5vw, 66px); border-bottom: 1px solid var(--ink-line); }
.timeline-entry time { color: var(--blue-deep); font-family: "Fraunces", Georgia, serif; font-size: 1rem; letter-spacing: .08em; }
.timeline-entry h3 { font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(1.35rem, 2.4vw, 2.25rem); line-height: 1.3; }
.timeline-entry h3 span { display: block; margin-top: 9px; color: var(--red); font-family: "Caveat", cursive; font-size: 1.15rem; }
.timeline-entry h3 .timeline-entry__line { margin-top: 0; color: inherit; font-family: inherit; font-size: clamp(1rem, 1.55vw, 1.45rem); letter-spacing: -.04em; white-space: nowrap; }
.timeline-entry ul { display: grid; gap: 12px; list-style: none; color: var(--ink-light); font-size: .9rem; }
.timeline-entry li { position: relative; padding-left: 18px; }
.timeline-entry li::before { content: ""; position: absolute; top: .75em; left: 0; width: 7px; height: 7px; background: var(--yellow); border-radius: 50%; }

.detail-banner { padding-block: calc(var(--header-height) + 96px) 72px; background: var(--blue-deep); color: var(--cream); }
.detail-banner .label-caps { color: var(--yellow); }
.detail-banner h1 { max-width: 980px; margin-top: 28px; font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(3rem, 7vw, 7rem); line-height: 1.04; }
.detail-banner p { max-width: 720px; margin-top: 24px; color: rgba(254,252,246,.74); }
.detail-outline { display: grid; grid-template-columns: minmax(180px, .28fr) minmax(0, 1fr); gap: clamp(42px, 8vw, 120px); }
.detail-outline nav { align-self: start; position: sticky; top: calc(var(--header-height) + 36px); }
.detail-outline nav ol { display: grid; gap: 12px; list-style: none; }
.detail-outline nav a { color: var(--ink-light); text-decoration-thickness: 3px; text-decoration-color: var(--yellow); text-underline-offset: 5px; }
.detail-block { min-height: 360px; padding-block: 46px; border-top: 1px solid var(--ink-line); }
.detail-block h2 { font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(1.8rem, 3.5vw, 3.5rem); }
.detail-block p { max-width: 760px; margin-top: 18px; color: var(--ink-light); }
.placeholder { margin-top: 34px; padding: 26px; background: var(--cream-dark); border-bottom: 4px solid var(--yellow); color: var(--ink-light); }

/* Project index */
.project-landing-hero { min-height: min(820px, 88svh); }
.featured-projects { display: grid; gap: clamp(100px, 14vw, 190px); }
.featured-project { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .62fr); align-items: center; gap: clamp(42px, 7vw, 110px); }
.featured-project--reverse { grid-template-columns: minmax(320px, .62fr) minmax(0, 1.1fr); }
.featured-project--reverse .featured-project__image { grid-column: 2; }
.featured-project--reverse .featured-project__copy { grid-column: 1; grid-row: 1; }
.featured-project--compact { grid-template-columns: minmax(0, .88fr) minmax(340px, .72fr); width: min(1120px, 100%); margin-left: auto; }
.featured-project__image { position: relative; min-height: 430px; overflow: hidden; background: #e9e5d9; text-decoration: none; }
.featured-project__image img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; transition: transform 650ms cubic-bezier(0.16,1,0.3,1); }
.featured-project__image:hover img { transform: scale(1.025); }
.featured-project__count { position: absolute; right: 18px; bottom: 10px; color: var(--cream); font-family: "Fraunces", Georgia, serif; font-size: clamp(4rem, 8vw, 8.5rem); font-style: italic; line-height: 1; text-shadow: 0 2px 28px rgba(26,26,46,.28); }
.featured-project__copy h3 { margin: 24px 0 20px; font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(2rem, 3.8vw, 4rem); line-height: 1.13; text-wrap: balance; }
.featured-project__copy h3 a { text-decoration: none; }
.featured-project__copy > p { color: var(--ink-light); text-wrap: pretty; }
.project-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 30px 0; padding-block: 18px; border-block: 1px solid var(--ink-line); }
.project-facts div { display: grid; gap: 4px; }
.project-facts dt { color: var(--ink-faint); font-size: .72rem; letter-spacing: .1em; }
.project-facts dd { font-size: .85rem; font-weight: 700; }
.case-link { display: inline-flex; align-items: center; gap: 14px; min-height: 46px; border-bottom: 4px solid var(--yellow); font-weight: 700; text-decoration: none; }
.case-link span { font-size: 1.1rem; transition: transform 220ms cubic-bezier(0.16,1,0.3,1); }
.case-link:hover span { transform: translate(4px, -3px); }

/* Project case studies */
.case-study { background: var(--cream); }
.case-hero { padding-top: calc(var(--header-height) + clamp(52px, 8vw, 112px)); background: var(--cream-dark); border-bottom: 1px solid var(--ink-line); }
.case-hero--rural { background-image: radial-gradient(circle at 82% 22%, rgba(244,215,88,.28), transparent 28%); }
.case-hero--water { color: var(--cream); background: var(--blue-deep); }
.case-hero--water .label-caps, .case-hero--water .case-back { color: var(--yellow); }
.case-hero--water .case-hero__title p, .case-hero--water .case-meta dt { color: rgba(254,252,246,.7); }
.case-hero--water .case-meta { border-color: rgba(254,252,246,.28); }
.case-hero--water .case-meta div { border-color: rgba(254,252,246,.18); }
.case-hero--ai { padding-bottom: clamp(64px, 9vw, 112px); background: var(--yellow); }
.case-back { display: inline-flex; min-height: 44px; align-items: center; color: var(--blue-deep); font-size: .82rem; font-weight: 700; text-decoration: none; }
.case-hero__title { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, .42fr); grid-template-areas: "label side" "title side"; align-items: end; gap: 16px clamp(36px, 7vw, 100px); margin-top: clamp(48px, 7vw, 90px); }
.case-hero__title > .label-caps { grid-area: label; align-self: start; }
.case-hero__title h1 { max-width: 1000px; font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(3.1rem, 7.2vw, 7.6rem); font-weight: 900; line-height: 1.03; letter-spacing: -.03em; text-wrap: balance; }
.case-hero__title h1 { grid-area: title; }
.case-hero__title p { grid-area: side; align-self: end; padding-top: 22px; border-top: 4px solid var(--yellow); color: var(--ink-light); font-size: clamp(.92rem, 1.2vw, 1.05rem); text-wrap: pretty; }
.case-hero--ai .case-hero__title p { border-top-color: var(--ink); }
.case-meta { display: grid; grid-template-columns: 1.2fr .8fr .9fr 1.1fr; margin-top: clamp(54px, 8vw, 96px); border-top: 1px solid var(--ink-line); }
.case-meta div { min-height: 118px; padding: 22px clamp(16px, 2vw, 30px); border-right: 1px solid var(--ink-line); }
.case-meta div:first-child { padding-left: 0; }
.case-meta div:last-child { border-right: 0; }
.case-meta dt { margin-bottom: 8px; color: var(--ink-faint); font-size: .7rem; letter-spacing: .12em; }
.case-meta dd { font-size: .86rem; font-weight: 700; }
.case-hero__media { width: min(calc(100% - clamp(36px, 6vw, 88px)), 1480px); margin: 0 auto; }
.case-hero__media img { width: 100%; max-height: 850px; object-fit: cover; }
.case-hero__media figcaption, .case-bleed figcaption, .gallery-grid figcaption, .water-gallery figcaption { padding: 13px 0; color: var(--ink-faint); font-size: .74rem; }
.case-hero--water .case-hero__media figcaption { color: rgba(254,252,246,.66); }

.case-body { display: grid; grid-template-columns: minmax(180px, .25fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 130px); align-items: start; }
.case-toc { position: sticky; top: calc(var(--header-height) + 38px); padding-top: clamp(92px, 10vw, 140px); }
.case-toc > span { display: block; margin-bottom: 22px; color: var(--blue-deep); font-family: "Fraunces", Georgia, serif; font-size: .72rem; letter-spacing: .16em; }
.case-toc ol { display: grid; gap: 10px; list-style: none; }
.case-toc a { color: var(--ink-light); font-size: .8rem; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.case-toc--continuation { min-height: 1px; }
.case-content { min-width: 0; }
.case-section { position: relative; padding-block: clamp(92px, 11vw, 150px); border-top: 1px solid var(--ink-line); }
.case-content > .case-section:first-child { border-top: 0; }
.case-section__number { position: absolute; top: clamp(54px, 7vw, 92px); right: 0; color: var(--blue-deep); font-family: "Fraunces", Georgia, serif; font-size: clamp(5rem, 9vw, 9rem); font-style: italic; line-height: 1; opacity: .08; }
.case-kicker { margin-bottom: 16px; color: var(--blue-deep); font-family: "Fraunces", Georgia, serif; font-size: .76rem; letter-spacing: .18em; }
.case-section h2, .case-gallery__head h2 { max-width: 900px; font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(2.15rem, 4.8vw, 4.8rem); line-height: 1.14; text-wrap: balance; }
.case-section > p:not(.case-kicker) { max-width: 820px; margin-top: 20px; color: var(--ink-light); }
.case-section .case-lead { color: var(--ink); font-size: clamp(1.08rem, 1.8vw, 1.38rem); line-height: 1.8; }
.case-principle { display: grid; gap: 16px; margin-top: 48px; padding: clamp(28px, 4vw, 48px); background: var(--yellow); }
.case-principle small { font-family: "Fraunces", Georgia, serif; letter-spacing: .16em; }
.case-principle strong { max-width: 820px; font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(1.35rem, 2.4vw, 2.25rem); line-height: 1.55; }

.role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 50px; border-top: 1px solid var(--ink-line); border-left: 1px solid var(--ink-line); }
.role-grid article { min-height: 245px; padding: clamp(24px, 3.5vw, 42px); border-right: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); }
.role-grid b { color: var(--red); font-family: "Fraunces", Georgia, serif; font-size: 1.15rem; font-style: italic; }
.role-grid h3 { margin: 42px 0 12px; font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(1.12rem, 1.8vw, 1.45rem); }
.role-grid p { color: var(--ink-light); font-size: .86rem; }
.role-grid--four article { min-height: 270px; }
.case-bleed { width: calc(100% + clamp(0px, 4vw, 48px)); margin-block: 0 clamp(20px, 4vw, 54px); margin-left: clamp(-48px, -4vw, 0px); }
.case-bleed img { width: 100%; max-height: 680px; object-fit: cover; }
.problem-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 50px; background: var(--ink-line); border: 1px solid var(--ink-line); }
.problem-list article { min-height: 230px; padding: clamp(24px, 3vw, 38px); background: var(--cream); }
.problem-list span { color: var(--red); font-family: "Fraunces", Georgia, serif; font-style: italic; }
.problem-list h3 { margin: 44px 0 12px; font-family: "Noto Serif SC", "Songti SC", serif; font-size: 1.2rem; }
.problem-list p { color: var(--ink-light); font-size: .86rem; }
.insight-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr); gap: clamp(34px, 6vw, 80px); align-items: start; margin-top: 48px; }
.insight-layout > div:first-child > p { color: var(--ink-light); }
.styled-list { display: grid; gap: 16px; margin-top: 28px; list-style: none; }
.styled-list li { position: relative; padding: 16px 0 16px 28px; border-top: 1px solid var(--ink-line); color: var(--ink-light); }
.styled-list li::before { content: ""; position: absolute; top: 1.6em; left: 2px; width: 9px; height: 9px; background: var(--yellow); border-radius: 50%; }
.insight-card { padding: clamp(28px, 4vw, 48px); color: var(--cream); background: var(--blue-deep); }
.insight-card small { color: var(--yellow); font-family: "Fraunces", Georgia, serif; letter-spacing: .15em; }
.insight-card strong { display: block; margin: 54px 0; font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(1.35rem, 2.6vw, 2.4rem); line-height: 1.55; }
.insight-card div { display: flex; flex-wrap: wrap; gap: 8px; }
.insight-card span { padding: 6px 12px; border: 1px solid rgba(254,252,246,.35); border-radius: 999px; font-size: .76rem; }
.strategy-list { margin-top: 52px; border-top: 1px solid var(--ink-line); }
.strategy-list article { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 28px; padding-block: 34px; border-bottom: 1px solid var(--ink-line); }
.strategy-list b { color: var(--blue-deep); font-family: "Fraunces", Georgia, serif; font-size: 2rem; font-style: italic; }
.strategy-list h3 { margin-bottom: 8px; font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(1.2rem, 2vw, 1.7rem); }
.strategy-list p { color: var(--ink-light); }

.case-gallery { padding-block: clamp(92px, 12vw, 160px); border-block: 1px solid var(--ink-line); }
.case-gallery__head { display: grid; grid-template-columns: minmax(150px, .26fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: start; margin-bottom: clamp(52px, 8vw, 100px); }
.case-gallery__head .label-caps { margin-top: 12px; }
.case-gallery__head p { grid-column: 2; max-width: 720px; color: var(--ink-light); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 4vw, 48px); align-items: start; }
.gallery-grid__wide { grid-column: 1 / -1; }
.gallery-grid figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gallery-grid__wide img { aspect-ratio: 2 / 1; }
.gallery-group { width: min(100%, 1080px); margin-inline: auto; }
.gallery-group--design { margin-top: clamp(70px, 9vw, 120px); padding-top: clamp(44px, 6vw, 72px); border-top: 1px solid var(--ink-line); }
.gallery-group__title { display: grid; grid-template-columns: minmax(130px, .28fr) minmax(0, 1fr); align-items: end; gap: 28px; margin-bottom: 28px; }
.gallery-group__title span { color: var(--blue-deep); font-family: "Fraunces", Georgia, serif; font-size: .74rem; letter-spacing: .15em; }
.gallery-group__title h3 { font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(1.65rem, 3vw, 2.7rem); }
.gallery-grid--compact { gap: clamp(18px, 2.5vw, 30px); }
.gallery-grid--compact figure img { aspect-ratio: 4 / 3; }
.gallery-grid--design figure img { aspect-ratio: 16 / 10; }
.result-list { margin-top: 48px; list-style: none; border-top: 1px solid var(--ink-line); }
.result-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding-block: 24px; border-bottom: 1px solid var(--ink-line); }
.result-list b { color: var(--red); font-family: "Fraunces", Georgia, serif; font-style: italic; }
.news-links { margin-top: 64px; padding: clamp(28px, 4vw, 48px); background: var(--cream-dark); }
.news-links__head { display: grid; grid-template-columns: minmax(150px, .3fr) minmax(0, 1fr); align-items: end; gap: 28px; margin-bottom: 28px; }
.news-links__head span { color: var(--blue-deep); font-family: "Fraunces", Georgia, serif; font-size: .74rem; letter-spacing: .15em; }
.news-links__head h3 { font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(1.6rem, 3vw, 2.6rem); }
.news-links__list { border-top: 1px solid var(--ink-line); }
.news-links__list a { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; align-items: center; gap: clamp(18px, 3vw, 36px); min-height: 108px; padding-block: 22px; border-bottom: 1px solid var(--ink-line); text-decoration: none; }
.news-links__list small { color: var(--blue-deep); font-size: .76rem; font-weight: 700; }
.news-links__list strong { font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(1rem, 1.6vw, 1.3rem); line-height: 1.6; }
.news-links__list a > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; transition: transform 220ms cubic-bezier(0.16,1,0.3,1); }
.news-links__list a:hover > span { transform: translate(3px, -3px); }
.review-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 48px; }
.review-notes article { min-height: 200px; padding: clamp(24px, 3vw, 36px); background: var(--cream-dark); border-bottom: 4px solid var(--yellow); }
.review-notes h3 { margin-bottom: 18px; font-family: "Noto Serif SC", "Songti SC", serif; }
.review-notes p { color: var(--ink-light); }
.case-next { padding-block: clamp(78px, 10vw, 130px); background: var(--yellow); }
.case-next .container { display: grid; grid-template-columns: minmax(140px, .25fr) minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 70px); align-items: end; }
.case-next > div > span { font-family: "Fraunces", Georgia, serif; font-size: .8rem; letter-spacing: .12em; }
.case-next h2 { font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(2rem, 4.3vw, 4.2rem); line-height: 1.18; }
.case-next .case-link { border-color: var(--ink); }

/* Water case */
.zone-sequence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; border-top: 1px solid var(--ink-line); border-left: 1px solid var(--ink-line); counter-reset: zones; }
.zone-sequence span { min-height: 118px; display: flex; align-items: end; padding: 22px; border-right: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); font-family: "Noto Serif SC", "Songti SC", serif; font-weight: 700; counter-increment: zones; }
.zone-sequence span::before { content: "0" counter(zones); align-self: start; margin-right: auto; color: var(--blue-deep); font-family: "Fraunces", Georgia, serif; font-size: .76rem; }
.workflow-map { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 12px; margin-top: 52px; }
.workflow-map div { min-height: 210px; display: flex; flex-direction: column; padding: 24px; background: var(--cream-dark); border-bottom: 4px solid var(--yellow); }
.workflow-map b { color: var(--blue-deep); font-family: "Fraunces", Georgia, serif; }
.workflow-map strong { margin: auto 0 12px; font-family: "Noto Serif SC", "Songti SC", serif; }
.workflow-map span { color: var(--ink-light); font-size: .76rem; }
.workflow-map i { align-self: center; color: var(--red); font-size: 1.5rem; font-style: normal; }
.water-gallery { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 50px); align-items: stretch; }
.water-gallery figure { display: flex; min-height: 0; flex-direction: column; }
.water-gallery figure:first-child { grid-row: span 2; }
.water-gallery figure:first-child img { min-height: 660px; }
.water-gallery img { width: 100%; height: 0; min-height: 300px; flex: 1 1 0; object-fit: cover; }

/* AI case */
.ai-levels { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; margin-top: 52px; }
.ai-levels article { min-height: 220px; display: flex; flex-direction: column; padding: 24px; color: var(--cream); background: var(--blue-deep); }
.ai-levels article:nth-of-type(even) { color: var(--ink); background: var(--yellow); }
.ai-levels b { font-family: "Fraunces", Georgia, serif; font-size: .72rem; letter-spacing: .12em; }
.ai-levels strong { margin: auto 0 10px; font-family: "Noto Serif SC", "Songti SC", serif; font-size: 1.2rem; }
.ai-levels span { font-size: .75rem; opacity: .76; }
.ai-levels i { color: var(--red); font-size: 1.4rem; font-style: normal; }
.ai-loop { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 70px; border: 1px solid var(--ink-line); }
.ai-loop div { min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; border-right: 1px solid var(--ink-line); }
.ai-loop div:last-child { border-right: 0; }
.ai-loop span { color: var(--red); font-family: "Fraunces", Georgia, serif; font-style: italic; }
.ai-loop strong { font-family: "Noto Serif SC", "Songti SC", serif; font-size: .9rem; }
.ai-output-band { padding-block: clamp(90px, 12vw, 150px); color: var(--cream); background: var(--blue-deep); }
.ai-output-band .label-caps { color: var(--yellow); }
.ai-output-band .case-gallery__head p { color: rgba(254,252,246,.72); }
.ai-output-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid rgba(254,252,246,.3); border-left: 1px solid rgba(254,252,246,.3); }
.ai-output-grid article { grid-column: span 2; min-height: 280px; padding: clamp(24px, 3vw, 38px); border-right: 1px solid rgba(254,252,246,.3); border-bottom: 1px solid rgba(254,252,246,.3); }
.ai-output-grid article:nth-child(4), .ai-output-grid article:nth-child(5) { grid-column: span 3; }
.ai-output-grid small { color: var(--yellow); font-family: "Fraunces", Georgia, serif; letter-spacing: .14em; }
.ai-output-grid h3 { margin: 72px 0 14px; font-family: "Noto Serif SC", "Songti SC", serif; font-size: 1.35rem; }
.ai-output-grid p { color: rgba(254,252,246,.7); font-size: .86rem; }

.cta-band { padding-block: clamp(72px, 9vw, 110px); background: var(--yellow); }
.cta-band__inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.cta-band h2 { max-width: 840px; font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(2rem, 4.4vw, 4.4rem); line-height: 1.15; }
.text-link { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 48px; gap: 14px; padding-bottom: 4px; border-bottom: 4px solid var(--ink); font-weight: 700; text-decoration: none; }

.site-footer { min-height: 82px; display: flex; align-items: center; justify-content: center; padding: 20px; color: var(--cream); background: var(--ink); font-family: "Fraunces", Georgia, serif; font-size: .78rem; letter-spacing: .08em; text-align: center; }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms cubic-bezier(0.16,1,0.3,1), transform 700ms cubic-bezier(0.16,1,0.3,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .page-hero__grid, .knowledge-lead { grid-template-columns: 1fr; }
  .section-heading { grid-template-columns: 140px minmax(0, 1fr); }
  .project-row { grid-template-columns: 64px minmax(180px, .46fr) minmax(0, 1fr) auto; gap: 20px; }
  .service-band { grid-template-columns: 70px minmax(160px, .35fr) minmax(0, 1fr); gap: 22px; }
  .service-band__body { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline-entry { grid-template-columns: 150px minmax(190px, .38fr) minmax(0, 1fr); gap: 24px; }
  .featured-project, .featured-project--reverse, .featured-project--compact { grid-template-columns: 1fr; width: 100%; }
  .featured-project--reverse .featured-project__image, .featured-project--reverse .featured-project__copy { grid-column: 1; }
  .featured-project--reverse .featured-project__image { grid-row: 1; }
  .case-hero__title { grid-template-columns: 1fr; grid-template-areas: "label" "title" "side"; }
  .case-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-meta div:nth-child(2) { border-right: 0; }
  .case-meta div:nth-child(-n+2) { border-bottom: 1px solid var(--ink-line); }
  .case-body { grid-template-columns: 150px minmax(0, 1fr); gap: 38px; }
  .case-bleed { width: 100%; margin-left: 0; }
  .insight-layout { grid-template-columns: 1fr; }
  .workflow-map, .ai-levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-map i, .ai-levels i { display: none; }
  .ai-loop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-loop div { border-bottom: 1px solid var(--ink-line); }
  .ai-output-grid article { grid-column: span 3; }
  .case-next .container { grid-template-columns: 1fr auto; }
  .case-next > div > span { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --header-height: 66px; }
  body { font-size: 15px; }
  .container { width: min(100% - 36px, var(--content)); }
  .site-header { padding-inline: 18px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: grid; gap: 0; padding: 10px 18px 18px; background: var(--cream); border-bottom: 1px solid var(--ink-line); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity 220ms, transform 220ms; }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .site-nav a { width: 100%; min-height: 48px; padding-inline: 6px; border-bottom: 1px solid var(--ink-line); }
  .site-nav a::after { display: none; }
  .site-nav a.is-current { color: var(--blue-deep); }
  .page-hero { min-height: auto; align-items: start; padding-block: calc(var(--header-height) + 62px) 74px; }
  .page-hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .projects-hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .projects-hero h1 > span { white-space: normal; }
  .section-heading, .project-row, .service-band, .note-row, .timeline-entry, .detail-outline { grid-template-columns: 1fr; }
  .project-row__arrow { display: none; }
  .taxonomy, .steps { grid-template-columns: 1fr; }
  .service-band__body { grid-column: 1; }
  .detail-outline nav { position: static; }
  .cta-band__inner { display: grid; }
  .featured-projects { gap: 88px; }
  .featured-project__image, .featured-project__image img { min-height: 270px; }
  .featured-project__copy h3 { font-size: clamp(1.9rem, 10vw, 2.8rem); }
  .project-facts { grid-template-columns: 1fr; }
  .case-hero { padding-top: calc(var(--header-height) + 28px); }
  .case-hero--ai { padding-bottom: 52px; }
  .case-hero__title { margin-top: 32px; }
  .case-hero__title h1 { font-size: clamp(2.55rem, 13.5vw, 4.1rem); }
  .case-meta { grid-template-columns: 1fr; }
  .case-meta div, .case-meta div:first-child { min-height: auto; padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--ink-line); }
  .case-meta div:nth-child(2) { border-bottom: 1px solid var(--ink-line); }
  .case-meta div:last-child { border-bottom: 0; }
  .case-hero__media { width: 100%; }
  .case-hero__media figcaption { padding-inline: 18px; }
  .case-body { grid-template-columns: 1fr; }
  .case-toc { position: static; padding-top: 54px; }
  .case-toc ol { display: flex; overflow-x: auto; gap: 18px; padding-bottom: 12px; scroll-snap-type: x mandatory; }
  .case-toc li { flex: 0 0 auto; scroll-snap-align: start; }
  .case-toc--continuation { display: none; }
  .case-section { padding-block: 80px; }
  .role-grid, .problem-list, .review-notes, .zone-sequence, .gallery-grid, .water-gallery { grid-template-columns: 1fr; }
  .role-grid article, .problem-list article { min-height: auto; }
  .case-bleed { width: calc(100% + 36px); margin-left: -18px; }
  .case-bleed figcaption { padding-inline: 18px; }
  .strategy-list article { grid-template-columns: 54px minmax(0, 1fr); gap: 14px; }
  .case-gallery__head { grid-template-columns: 1fr; }
  .case-gallery__head p { grid-column: 1; }
  .gallery-grid__wide { grid-column: 1; }
  .gallery-grid figure img, .gallery-grid__wide img { aspect-ratio: 4 / 3; }
  .gallery-group__title, .news-links__head { grid-template-columns: 1fr; gap: 8px; }
  .news-links__list a { grid-template-columns: 1fr auto; }
  .news-links__list small { grid-column: 1 / -1; }
  .workflow-map, .ai-levels, .ai-loop { grid-template-columns: 1fr; }
  .water-gallery { grid-template-rows: auto; }
  .water-gallery figure:first-child { grid-row: auto; }
  .water-gallery figure:first-child img, .water-gallery img { min-height: 260px; }
  .ai-output-grid { grid-template-columns: 1fr; }
  .ai-output-grid article, .ai-output-grid article:nth-child(4), .ai-output-grid article:nth-child(5) { grid-column: 1; min-height: 220px; }
  .ai-output-grid h3 { margin-top: 48px; }
  .case-next .container { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
