:root {
  --ink: #151411;
  --paper: #f3f0e9;
  --paper-strong: #fbfaf6;
  --muted: #6a665e;
  --line: #d7d0c4;
  --gold: #e2c579;
  --gold-deep: #70551a;
  --white: #fffdf8;
  --max: 1180px;
  --reading: 720px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.8;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 240, 233, 0.96);
  border-bottom: 1px solid var(--line);
}

html.v2-viewport-occluded .site-header,
html.v2-viewport-occluded .hero {
  padding-left: var(--v2-visible-left, 0px);
  padding-right: var(--v2-visible-right, 0px);
}

html.v2-viewport-occluded .section,
html.v2-viewport-occluded .contact-cta,
html.v2-viewport-occluded .site-footer {
  padding-left: calc(24px + var(--v2-visible-left, 0px));
  padding-right: calc(24px + var(--v2-visible-right, 0px));
}

.header-inner {
  width: min(calc(100% - 48px), var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.desktop-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  border-color: currentColor;
}

.desktop-nav .lang-link {
  min-width: 44px;
  justify-content: center;
  border: 1px solid #ad965d;
  border-radius: 999px;
}

.mobile-menu {
  display: none;
}

.hero {
  background: var(--ink);
  color: var(--white);
}

.hero-inner {
  width: min(calc(100% - 48px), var(--max));
  min-height: 720px;
  margin: 0 auto;
  padding: 36px 0 40px;
}

.hero-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(36px, 5vw, 62px);
}

.hero-copy,
.hero-visuals,
.hero-credentials > *,
.section-head > *,
.project-copy > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1,
.section-title,
.project-copy h3,
.about-copy h2,
.cta-copy h2 {
  font-family: "Songti SC", "STSong", "SimSun", Georgia, serif;
}

.hero h1 {
  max-width: 7em;
  margin: 0;
  font-size: clamp(52px, 5.6vw, 76px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero-role-line {
  max-width: 38em;
  margin: 22px 0 0;
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.hero-position {
  max-width: 31em;
  margin: 14px 0 0;
  color: #ddd6ca;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.65;
}

.hero-actions,
.cta-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  padding: 11px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #6f6a61;
  border-radius: 4px;
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.button-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.button:hover,
.button:focus-visible {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.hero-visuals {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.hero-visuals.hero-visuals-single {
  grid-template-columns: 1fr;
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  height: 360px;
  object-fit: contain;
  background: #050604;
}

.hero-visuals-single .hero-media img {
  height: auto;
  aspect-ratio: 4 / 3;
}

.hero-media figcaption {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #9f9a91;
  font-size: 13px;
}

.hero-credentials {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-credentials article {
  min-height: 142px;
  padding: 18px 20px;
  border: 1px solid #45413a;
  background: #1e1d1a;
}

.hero-credentials h2 {
  margin: 0;
  color: var(--gold);
  font-size: 18px;
  line-height: 1.3;
}

.hero-credentials p {
  margin: 10px 0 0;
  color: #bdb7ad;
  font-size: 13px;
  line-height: 1.65;
}

.section {
  padding: 92px 24px;
}

section[id] {
  scroll-margin-top: 88px;
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-head {
  margin-bottom: 46px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.section-title {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-intro {
  max-width: 33em;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.featured-project {
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.project-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 36px;
  align-items: start;
}

.project-copy h3 {
  margin: 0;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 600;
  line-height: 1.1;
}

.project-copy p {
  max-width: var(--reading);
  margin: 0;
  color: #403d37;
}

.project-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--gold-deep);
  font-weight: 700;
}

.photo-sequence {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.photo-sequence figure,
.project-pair figure {
  margin: 0;
  background: #10100f;
}

.photo-sequence img {
  width: 100%;
  height: 520px;
  object-fit: contain;
}

.project-pair {
  margin-top: 78px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.project-pair article {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.project-pair figure {
  margin-bottom: 24px;
}

.project-pair img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.project-pair h3 {
  margin: 0;
  font-family: "Songti SC", "STSong", "SimSun", Georgia, serif;
  font-size: 34px;
  font-weight: 600;
}

.project-pair p {
  color: var(--muted);
}

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

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(48px, 8vw, 104px);
  align-items: center;
}

.about-grid-text {
  grid-template-columns: minmax(0, 1fr);
}

.about-grid-text .about-copy {
  max-width: 920px;
}

.about-copy h2,
.cta-copy h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 600;
  line-height: 1.08;
}

.about-copy > p {
  max-width: 38em;
  margin: 24px 0 0;
}

.proof-list {
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
}

.proof-list li {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.proof-list strong {
  display: block;
  font-size: 24px;
  line-height: 1.25;
}

.proof-list span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-grid a {
  min-height: 198px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.service-grid a:hover,
.service-grid a:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.service-grid strong {
  font-family: "Songti SC", "STSong", "SimSun", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
}

.service-grid span {
  color: var(--muted);
  font-size: 13px;
}

.service-grid a:hover span,
.service-grid a:focus-visible span {
  color: #c9c3b8;
}

.media-section {
  padding-block: 72px;
  background: var(--ink);
  color: var(--white);
}

.media-section .section-head {
  margin-bottom: 32px;
}

.media-section .section-intro {
  color: #aaa49a;
}

.media-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 22px;
  row-gap: 8px;
}

.media-list article {
  min-height: 244px;
  padding: 18px 0 20px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #4e4a43;
}

.media-meta {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.media-list h3 {
  margin: 16px 0 10px;
  font-family: "Songti SC", "STSong", "SimSun", Georgia, serif;
  font-size: clamp(21px, 1.6vw, 25px);
  font-weight: 600;
  line-height: 1.38;
}

.media-list p {
  margin: 0;
  color: #bdb7ad;
  font-size: 13px;
  line-height: 1.7;
}

.media-list a {
  margin-top: auto;
  padding-top: 18px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
}

.partners-section {
  padding-block: 58px;
  background: var(--paper-strong);
}

.partners-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(48px, 7vw, 86px);
  align-items: start;
}

.partners-heading {
  padding-top: 8px;
}

.partners-heading .section-title {
  font-size: clamp(46px, 4.6vw, 60px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.partners-heading .section-title span {
  display: block;
}

.partner-groups {
  border-bottom: 1px solid var(--line);
}

.partner-group {
  padding: 18px 0 20px;
  display: grid;
  grid-template-columns: minmax(112px, 0.24fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  border-top: 1px solid var(--line);
}

.partner-group h3 {
  margin: 0.42em 0 0;
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.09em;
}

.partner-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  row-gap: 2px;
  list-style: none;
}

.partner-list li {
  display: inline-flex;
  align-items: baseline;
  font-family: "Songti SC", "STSong", "SimSun", Georgia, serif;
  font-size: 17px;
  line-height: 1.7;
  white-space: nowrap;
}

.partner-list li:not(:last-child)::after {
  content: "·";
  margin: 0 0.58em;
  color: #aaa294;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72em;
}

.contact-cta {
  padding: 76px 24px;
  background: #25231f;
  color: var(--white);
}

.cta-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: end;
}

.cta-copy p {
  max-width: 42em;
  margin: 20px 0 0;
  color: #c0baaf;
}

.site-footer {
  padding: 56px 24px 44px;
  background: #0d0d0c;
  color: #b5afa5;
  font-size: 13px;
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
}

.footer-title {
  margin: 0 0 12px;
  color: var(--white);
  font-weight: 700;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 8px;
}

.footer-meta {
  margin: 38px 0 0;
  padding-top: 18px;
  border-top: 1px solid #34312d;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .hero-top,
  .project-copy {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-inner {
    min-height: 0;
  }

  .hero-visuals {
    max-width: 720px;
  }

  .hero-credentials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-credentials article:last-child {
    grid-column: 1 / -1;
  }

  .section-head {
    display: block;
  }

  .section-intro {
    margin-top: 14px;
  }

  .service-grid,
  .media-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

html.v2-viewport-compact .hero-top,
html.v2-viewport-compact .project-copy {
  grid-template-columns: minmax(0, 1fr);
}

html.v2-viewport-compact .hero-inner {
  min-height: 0;
}

html.v2-viewport-compact .hero-visuals {
  max-width: 720px;
}

html.v2-viewport-compact .hero-credentials {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html.v2-viewport-compact .hero-credentials article:last-child {
  grid-column: 1 / -1;
}

html.v2-viewport-compact .section-head {
  display: block;
}

html.v2-viewport-compact .section-intro {
  margin-top: 14px;
}

html.v2-viewport-compact .service-grid,
html.v2-viewport-compact .media-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
    position: relative;
  }

  .mobile-menu summary {
    min-height: 44px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #8f877a;
    border-radius: 4px;
    cursor: pointer;
    list-style: none;
    font-size: 14px;
    font-weight: 700;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(78vw, 290px);
    padding: 10px;
    background: var(--paper-strong);
    border: 1px solid var(--line);
    box-shadow: 0 16px 38px rgba(21, 20, 17, 0.18);
  }

  .mobile-menu nav a {
    min-height: 44px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    text-decoration: none;
  }

  .hero-top,
  .about-grid,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: 0;
    padding-top: 46px;
  }

  .hero-visuals {
    max-width: 720px;
  }

  .project-copy {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-list article {
    min-height: 230px;
  }

  .partners-layout {
    grid-template-columns: minmax(210px, 0.52fr) minmax(0, 1.48fr);
    gap: 42px;
  }

  .partner-group {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 22px;
  }

  .media-list a {
    margin-top: auto;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .header-inner {
    width: calc(100% - 32px);
    min-height: 60px;
  }

  html.v2-viewport-occluded .section,
  html.v2-viewport-occluded .contact-cta,
  html.v2-viewport-occluded .site-footer {
    padding-left: calc(16px + var(--v2-visible-left, 0px));
    padding-right: calc(16px + var(--v2-visible-right, 0px));
  }

  .brand small {
    display: none;
  }

  .hero-inner {
    width: calc(100% - 32px);
    padding: 38px 0 48px;
    gap: 30px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(44px, 13vw, 58px);
  }

  .hero-position {
    margin-top: 12px;
    font-size: 18px;
  }

  .hero-role-line {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.75;
  }

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

  .button {
    min-height: 46px;
  }

  .hero-visuals {
    grid-template-columns: minmax(110px, 0.42fr) minmax(0, 1fr);
    gap: 10px;
  }

  .hero-media img {
    height: 230px;
  }

  .hero-media figcaption {
    flex-direction: column;
    gap: 2px;
  }

  .hero-credentials {
    margin-right: -16px;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
  }

  .hero-credentials article {
    flex: 0 0 84vw;
    scroll-snap-align: start;
  }

  .section {
    padding: 54px 16px;
  }

  section[id] {
    scroll-margin-top: 72px;
  }

  .section-head {
    margin-bottom: 30px;
    display: block;
  }

  .media-section {
    padding-block: 50px;
  }

  .media-list {
    grid-template-columns: 1fr;
  }

  .media-list article {
    min-height: 0;
    padding-block: 18px;
  }

  .media-list h3 {
    font-size: 23px;
  }

  .media-list a {
    margin-top: 16px;
    padding-top: 0;
  }

  .section-title {
    font-size: 42px;
  }

  .section-intro {
    margin-top: 14px;
  }

  .featured-project {
    padding-top: 28px;
  }

  .project-copy {
    gap: 16px;
  }

  .project-copy h3 {
    font-size: 38px;
  }

  .photo-sequence {
    margin-right: -16px;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .photo-sequence figure {
    flex: 0 0 78vw;
    scroll-snap-align: start;
  }

  .photo-sequence img {
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .project-pair {
    margin-top: 54px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-grid {
    gap: 36px;
  }

  .about-photo {
    max-width: 310px;
  }

  .about-copy h2,
  .cta-copy h2 {
    font-size: 44px;
  }

  .proof-list {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid a {
    min-height: 132px;
  }

  .partners-section {
    padding-block: 46px;
  }

  .partners-layout,
  .partner-group {
    grid-template-columns: 1fr;
  }

  .partners-layout {
    gap: 26px;
  }

  .partners-heading {
    padding-top: 0;
  }

  .partners-heading .section-title {
    font-size: 38px;
    letter-spacing: -0.045em;
  }

  .partners-heading .section-title span {
    display: inline;
  }

  .partner-group {
    gap: 8px;
    padding: 15px 0 17px;
  }

  .partner-group h3 {
    margin-top: 0;
  }

  .partner-list li {
    font-size: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-cta {
    padding: 54px 16px;
  }

  .cta-actions {
    margin-top: 0;
  }

  .site-footer {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
