:root {
  --brand: #ae3235;
  --brand-dark: #812326;
  --brand-light: #c9584f;
  --ink: #151c25;
  --ink-soft: #202c39;
  --muted: #64707b;
  --paper: #f7f5f1;
  --white: #ffffff;
  --line: #dfd9d1;
  --line-dark: rgba(255, 255, 255, 0.16);
  --max: 1240px;
  --header: 78px;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(var(--max), calc(100% - 92px));
  margin: 0 auto;
}

.eyebrow {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.eyebrow.red {
  color: var(--brand);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  height: var(--header);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(223, 217, 209, 0.65);
  transition: box-shadow 220ms ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 34px rgba(21, 28, 37, 0.07);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.official-logo {
  width: 91px;
  height: auto;
}

.brand-en {
  padding-left: 18px;
  color: #4e4c48;
  border-left: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.26em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  color: #4d5760;
  font-size: 14px;
}

.main-nav > a:not(.nav-contact) {
  position: relative;
  transition: color 180ms ease;
}

.main-nav > a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -11px;
  left: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav > a:hover {
  color: var(--brand);
}

.main-nav > a:hover::after {
  transform: scaleX(1);
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 20px;
  color: #fff;
  background: var(--brand);
}

.nav-contact:hover {
  color: #fff !important;
  background: var(--brand-dark);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  width: 45px;
  height: 45px;
  padding: 0 9px;
  margin-left: auto;
  border: 0;
  color: var(--ink);
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease;
}

main {
  padding-top: var(--header);
}

.section[id],
.contact[id] {
  scroll-margin-top: var(--header);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #111a24;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(13, 19, 27, 0.95) 0%, rgba(13, 19, 27, 0.79) 35%, rgba(13, 19, 27, 0.18) 70%),
    linear-gradient(0deg, rgba(13, 19, 27, 0.55), transparent 38%),
    url("assets/images/hero-urban-renewal.webp");
  background-position: center;
  background-size: cover;
  transform: scale(1.035);
  animation: hero-settle 1600ms ease forwards;
}

@keyframes hero-settle {
  to {
    transform: scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 68px 0 84px;
}

.hero h1 {
  margin: 25px 0 18px;
  font-family: var(--serif);
  font-size: clamp(56px, 5.5vw, 76px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.1em;
}

.hero-subtitle {
  margin-bottom: 19px;
  color: #efe6dc;
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.14em;
}

.hero-summary {
  max-width: 512px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  gap: 15px;
  margin-top: 37px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 166px;
  min-height: 52px;
  padding: 0 28px;
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--brand);
}

.button-primary:hover {
  background: var(--brand-dark);
}

.button-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.button-ghost:hover {
  border-color: #fff;
}

.hero-credit {
  position: absolute;
  right: max(calc((100vw - var(--max)) / 2), 46px);
  bottom: 28px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.metrics {
  padding: 49px 0 46px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.metrics-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 25px;
  color: #7d7972;
  font-size: 12px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.metric {
  padding: 12px 28px 8px;
  border-left: 1px solid var(--line);
}

.metric:last-child {
  border-right: 1px solid var(--line);
}

.metric strong {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--brand);
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
}

.metric small {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
}

.metric p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 98px 0;
}

.section-title h2 {
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(38px, 3.6vw, 48px);
  font-weight: 500;
  line-height: 1.58;
  letter-spacing: 0.1em;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 52px;
}

.section-heading h2 {
  margin: 22px 0 15px;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: 0.08em;
}

.section-heading > p:last-child {
  color: var(--muted);
  line-height: 1.9;
}

.section-heading.inverse > p:last-child {
  color: rgba(255, 255, 255, 0.62);
}

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 78px;
}

.about-body {
  padding-left: 54px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  line-height: 2.1;
}

.about-body .lead {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: 18px;
}

.credentials {
  display: grid;
  gap: 0;
  margin-top: 37px;
  border-top: 1px solid var(--line);
}

.credentials article {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.credentials strong {
  color: var(--brand);
  font-weight: 500;
}

.credentials span {
  color: #535f68;
}

.model {
  color: #fff;
  background: var(--ink);
}

.model-map {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  align-items: center;
  gap: 18px;
}

.model-wing,
.model-core {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 292px;
  padding: 40px 34px;
  border: 1px solid var(--line-dark);
}

.model-core {
  min-height: 348px;
  text-align: center;
  background: var(--brand);
  border-color: var(--brand);
}

.model-wing > p,
.model-core > p {
  margin-bottom: 35px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  letter-spacing: 0.25em;
}

.model-core > p {
  color: rgba(255, 255, 255, 0.68);
}

.model-wing h3,
.model-core h3 {
  margin-bottom: 21px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.model-core strong {
  margin-bottom: 30px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.model-wing span,
.model-core span {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 13px;
  line-height: 1.8;
}

.strategies {
  background: #fff;
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.strategy {
  min-height: 238px;
  padding: 31px 32px 27px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.strategy:nth-child(3n + 1) {
  border-left: 1px solid var(--line);
}

.strategy > span {
  color: var(--brand);
  font-size: 12px;
  letter-spacing: 0.2em;
}

.strategy h3 {
  margin: 26px 0 17px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.strategy p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.88;
}

.lifecycle {
  margin-top: 62px;
  padding: 30px 34px 33px;
  color: #fff;
  background: var(--ink);
}

.lifecycle > p {
  margin-bottom: 27px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  letter-spacing: 0.28em;
}

.lifecycle ol {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.lifecycle li {
  position: relative;
  padding: 0 26px 0 35px;
  border-right: 1px solid var(--line-dark);
}

.lifecycle li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 17px;
  height: 1px;
  background: var(--brand-light);
}

.lifecycle li:last-child {
  border: 0;
}

.lifecycle strong {
  display: block;
  margin-bottom: 9px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.lifecycle span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.portfolio {
  background: var(--paper);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.case-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.case-card.large {
  grid-column: span 2;
}

.case-card img {
  width: 100%;
  height: 242px;
  object-fit: cover;
  transition: transform 500ms ease;
}

.case-card.large img {
  height: 328px;
}

.case-card:hover img {
  transform: scale(1.035);
}

.case-card div {
  padding: 23px 25px 26px;
}

.case-card div > p {
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.case-card h3 {
  margin-bottom: 13px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.case-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.disclosure {
  margin-top: 32px;
  color: #817a71;
  font-size: 12px;
}

.securitization {
  color: #fff;
  background: var(--ink);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 22px;
  border-top: 1px solid var(--line-dark);
}

.milestone {
  position: relative;
  min-height: 230px;
  padding: 38px 22px 26px 0;
  margin-right: 23px;
}

.milestone::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--brand-light);
}

.milestone time {
  display: block;
  margin-bottom: 29px;
  color: var(--brand-light);
  font-size: 13px;
  letter-spacing: 0.13em;
}

.milestone h3 {
  min-height: 60px;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.65;
}

.milestone p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.75;
}

.milestone-note {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 30px;
  align-items: center;
  padding: 27px 31px;
  margin-top: 28px;
  border: 1px solid var(--line-dark);
}

.milestone-note strong {
  color: var(--brand-light);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.milestone-note p {
  color: rgba(255, 255, 255, 0.69);
  font-size: 14px;
  line-height: 1.9;
}

.ecosystem {
  background: #fff;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 78px;
}

.ecosystem-content {
  padding-left: 54px;
  border-left: 1px solid var(--line);
}

.ecosystem-content article {
  padding: 0 0 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.ecosystem-content h3 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.ecosystem-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.team {
  background: var(--paper);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.leader {
  min-height: 292px;
  padding: 36px 34px 32px;
  background: #fff;
  border-top: 3px solid var(--brand);
}

.leader > p:first-child {
  margin-bottom: 31px;
  color: var(--brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.leader h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.leader span {
  display: block;
  margin-bottom: 25px;
  color: #444e57;
  font-size: 13px;
}

.leader > p:last-child {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.contact {
  padding: 93px 0;
  color: #fff;
  text-align: center;
  background: var(--brand);
}

.contact h2 {
  margin: 22px 0 18px;
  font-family: var(--serif);
  font-size: clamp(39px, 4.5vw, 53px);
  font-weight: 500;
  letter-spacing: 0.12em;
}

.contact-inner > p:not(.eyebrow) {
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.8);
}

.contact .button-primary {
  color: var(--brand);
  background: #fff;
}

.contact .button-primary:hover {
  color: var(--brand-dark);
  background: #f5eee8;
}

.site-footer {
  background: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 53px;
  align-items: center;
  padding: 39px 0 33px;
}

.footer-logo {
  width: 103px;
}

.footer-top p {
  max-width: 770px;
  color: #737068;
  font-size: 12px;
  line-height: 2;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 20px 0 26px;
  color: #878179;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.reveal {
  opacity: 0;
  transform: translateY(19px);
  transition: opacity 600ms ease, transform 650ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (min-width: 981px) and (max-height: 740px) {
  .hero-content {
    padding: 41px 0 52px;
  }

  .hero h1 {
    margin: 18px 0 13px;
    font-size: clamp(49px, 4.6vw, 59px);
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-summary {
    font-size: 14px;
    line-height: 1.8;
  }

  .hero-actions {
    margin-top: 25px;
  }
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 19px;
    font-size: 13px;
  }

  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 0;
  }

  .metric:nth-child(3) {
    border-right: 1px solid var(--line);
  }
}

@media (max-width: 980px) {
  :root {
    --header: 70px;
  }

  .container {
    width: min(var(--max), calc(100% - 42px));
  }

  .official-logo {
    width: 78px;
  }

  .brand-en {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: flex;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: var(--header) 0 0;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 29px;
    margin: 0;
    color: var(--ink);
    font-size: 16px;
    background: #fff;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > a:not(.nav-contact)::after {
    display: none;
  }

  .nav-contact {
    min-height: 48px;
    padding: 0 35px;
  }

  .hero-content {
    padding: 66px 0 79px;
  }

  .hero h1 {
    font-size: clamp(42px, 11.4vw, 54px);
    letter-spacing: 0.06em;
  }

  .hero-subtitle {
    font-size: 17px;
    letter-spacing: 0.08em;
  }

  .hero-summary {
    font-size: 14px;
  }

  .hero-credit {
    right: 21px;
    bottom: 17px;
    font-size: 10px;
  }

  .metrics {
    padding: 39px 0;
  }

  .metrics-heading {
    display: block;
  }

  .metrics-heading > p:last-child {
    margin-top: 12px;
  }

  .metric {
    padding: 9px 16px 7px;
  }

  .metric strong {
    font-size: 33px;
  }

  .metric p {
    font-size: 12px;
  }

  .section {
    padding: 70px 0;
  }

  .about-grid,
  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-body,
  .ecosystem-content {
    padding-left: 0;
    border-left: 0;
  }

  .model-map,
  .strategy-grid,
  .case-grid,
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .model-core {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 274px;
  }

  .model-wing {
    min-height: 265px;
  }

  .strategy:nth-child(3n + 1) {
    border-left: 0;
  }

  .strategy:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .lifecycle ol {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .lifecycle li {
    padding-left: 32px;
    border-right: 0;
  }

  .case-card.large {
    grid-column: 1 / -1;
  }

  .timeline {
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }

  .milestone {
    min-height: 200px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: calc(100svh - var(--header));
  }

  .hero-media {
    background-position: 68% center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .metrics-grid,
  .model-map,
  .strategy-grid,
  .case-grid,
  .timeline,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .metric,
  .metric:nth-child(3),
  .metric:last-child {
    border-right: 1px solid var(--line);
  }

  .strategy:nth-child(n) {
    min-height: auto;
    border-left: 1px solid var(--line);
  }

  .model-core,
  .model-wing {
    grid-column: auto;
  }

  .case-card.large {
    grid-column: auto;
  }

  .case-card img,
  .case-card.large img {
    height: 235px;
  }

  .milestone-note,
  .credentials article,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 13px;
  }
}
