:root {
  --ink: #162126;
  --ink-soft: #445158;
  --paper: #f3f0ea;
  --paper-bright: #fbfaf7;
  --red: #a63832;
  --red-deep: #762c29;
  --line: rgba(22, 33, 38, 0.16);
  --serif: "Noto Serif SC", "Songti SC", SimSun, serif;
  --sans: "Manrope", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  overflow: hidden;
}

.site-header {
  align-items: center;
  display: flex;
  height: 86px;
  justify-content: space-between;
  left: 0;
  padding: 0 6vw;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 5;
}

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

.brand-mark {
  align-items: center;
  background: var(--red);
  color: #fff9ef;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  letter-spacing: 0.06em;
  width: 34px;
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  color: #fff9ef;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
}

.brand-copy small {
  color: rgba(255, 249, 239, 0.58);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.desktop-nav {
  align-items: center;
  display: flex;
  gap: 34px;
}

.desktop-nav a {
  color: rgba(255, 249, 239, 0.74);
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: #fff9ef;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  background-color: #223036;
  background-image: url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=2200&q=85");
  background-position: center;
  background-size: cover;
  color: #fff9ef;
  min-height: 760px;
  position: relative;
}

.hero::before {
  background: rgba(18, 29, 34, 0.72);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-inner,
.hero-bottom {
  margin: 0 auto;
  max-width: 1240px;
  position: relative;
  width: calc(100% - 12vw);
}

.hero-inner {
  align-items: end;
  display: grid;
  gap: 8vw;
  grid-template-columns: minmax(0, 1fr) 250px;
  min-height: 690px;
  padding-bottom: 110px;
  padding-top: 145px;
}

.eyebrow,
.section-kicker,
.index-label,
.index-meta,
.hero-bottom,
.item-tag,
.note-meta,
.contact-placeholder {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  margin: 0 0 22px;
}

.hero .eyebrow {
  color: #d38c80;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(58px, 8vw, 112px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0;
}

.hero h1 em,
.contact-section h2 em {
  color: #d88a7d;
  font-style: normal;
}

.hero-intro {
  color: rgba(255, 249, 239, 0.72);
  font-size: 16px;
  line-height: 1.9;
  margin: 32px 0 0;
  max-width: 520px;
}

.hero-actions {
  align-items: center;
  display: flex;
  gap: 28px;
  margin-top: 38px;
}

.button {
  align-items: center;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 20px;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 18px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button-primary {
  background: var(--red);
  color: #fff9ef;
  min-width: 176px;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #c14e45;
}

.text-link {
  color: rgba(255, 249, 239, 0.76);
  font-size: 12px;
}

.text-link span {
  color: #d88a7d;
  font-size: 18px;
  margin-left: 8px;
}

.hero-index {
  border-left: 1px solid rgba(255, 249, 239, 0.34);
  padding: 5px 0 3px 28px;
}

.index-line {
  background: #d88a7d;
  height: 1px;
  margin-bottom: 21px;
  width: 43px;
}

.index-label,
.index-meta {
  color: rgba(255, 249, 239, 0.55);
  font-size: 10px;
  margin: 0;
}

.index-title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.7;
  margin: 16px 0 20px;
}

.index-stamp {
  border: 1px solid #d88a7d;
  color: #d88a7d;
  display: grid;
  font-family: var(--serif);
  font-size: 14px;
  height: 53px;
  line-height: 1.25;
  margin-top: 34px;
  place-items: center;
  width: 53px;
}

.hero-bottom {
  align-items: center;
  bottom: 27px;
  color: rgba(255, 249, 239, 0.55);
  display: flex;
  font-size: 9px;
  gap: 16px;
  position: absolute;
}

.hero-line {
  background: rgba(255, 249, 239, 0.35);
  height: 1px;
  width: 74px;
}

.section {
  margin: 0 auto;
  max-width: 1240px;
  padding: 135px 0;
  width: calc(100% - 12vw);
}

.about-section {
  display: grid;
  gap: 12vw;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
}

.section-heading h2,
.source-intro h2 {
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.16;
  margin: 0;
}

.section-heading h2 span {
  color: var(--red);
}

.about-content {
  align-self: end;
  border-top: 1px solid var(--line);
  padding-top: 27px;
}

.about-content p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2;
  margin: 0 0 23px;
  max-width: 560px;
}

.about-content .lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.7;
}

.about-signature {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-top: 42px;
}

.about-signature > span:first-child {
  font-family: var(--serif);
  font-size: 22px;
}

.signature-rule {
  background: var(--red);
  height: 1px;
  width: 46px;
}

.about-signature small {
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.focus-section {
  background: var(--paper-bright);
  max-width: none;
  padding-left: 6vw;
  padding-right: 6vw;
  width: 100%;
}

.focus-section > .section-heading,
.focus-grid {
  margin-left: auto;
  margin-right: auto;
  max-width: 1240px;
}

.section-description {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
  margin: 24px 0 0;
  max-width: 350px;
}

.focus-grid {
  display: grid;
  gap: 0 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 70px;
}

.focus-item {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 26px;
  grid-template-columns: 54px 1fr;
  padding: 28px 0 35px;
}

.focus-item:last-child {
  grid-column: 1 / -1;
  max-width: calc(50% - 12px);
}

.item-number {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  padding-top: 4px;
}

.focus-item h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  margin: 0 0 13px;
}

.focus-item p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
  margin: 0;
  max-width: 430px;
}

.item-tag {
  color: var(--red);
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  margin-top: 18px;
}

.method-section {
  background: var(--ink);
  color: #fff9ef;
}

.method-inner,
.sources-inner {
  display: grid;
  gap: 12vw;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  margin: 0 auto;
  max-width: 1240px;
  padding: 125px 0;
  width: calc(100% - 12vw);
}

.quote-mark {
  color: #d88a7d;
  font-family: Georgia, serif;
  font-size: 100px;
  line-height: 0.4;
  margin: 0 0 38px;
}

blockquote {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 55px);
  line-height: 1.5;
  margin: 0;
  max-width: 630px;
}

.quote-caption {
  color: rgba(255, 249, 239, 0.48);
  font-size: 10px;
  letter-spacing: 0.13em;
  margin: 44px 0 0;
}

.method-list {
  align-self: center;
}

.method-row {
  border-top: 1px solid rgba(255, 249, 239, 0.2);
  display: grid;
  gap: 10px;
  grid-template-columns: 34px 1fr;
  padding: 21px 0 20px;
}

.method-row span {
  color: #d88a7d;
  font-size: 11px;
  font-weight: 800;
}

.method-row strong {
  font-family: var(--serif);
  font-size: 20px;
}

.method-row p {
  color: rgba(255, 249, 239, 0.58);
  font-size: 13px;
  grid-column: 2;
  line-height: 1.7;
  margin: 0;
}

.notes-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
}

.notes-heading .section-description {
  margin: 0 0 3px;
}

.notes-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 72px;
}

.note-card {
  background: var(--paper-bright);
  border-top: 3px solid var(--red);
  display: flex;
  flex-direction: column;
  min-height: 315px;
  padding: 25px;
}

.note-card-dark {
  background: var(--red-deep);
  color: #fff9ef;
}

.note-meta {
  color: var(--red);
  display: flex;
  font-size: 9px;
  font-weight: 800;
  justify-content: space-between;
}

.note-card-dark .note-meta,
.note-card-dark a {
  color: #e6a198;
}

.note-card h3 {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.5;
  margin: 53px 0 14px;
}

.note-card p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
  margin: 0;
}

.note-card-dark p {
  color: rgba(255, 249, 239, 0.68);
}

.note-card a {
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  margin-top: auto;
}

.note-card a span {
  font-size: 17px;
  margin-left: 8px;
}

.sources-section {
  background: #e7e0d7;
}

.sources-inner {
  padding-bottom: 105px;
  padding-top: 105px;
}

.source-intro h2 {
  font-size: 38px;
}

.source-intro > p:last-child {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
  margin: 25px 0 0;
  max-width: 460px;
}

.source-links {
  align-self: center;
}

.source-links a {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  font-family: var(--serif);
  font-size: 18px;
  justify-content: space-between;
  padding: 21px 0;
  transition: color 180ms ease, padding 180ms ease;
}

.source-links a:hover,
.source-links a:focus-visible {
  color: var(--red);
  padding-left: 8px;
}

.source-links a span:last-child {
  color: var(--red);
  font-family: var(--sans);
  font-size: 18px;
}

.contact-section {
  background: var(--paper-bright);
  padding: 142px 6vw 150px;
}

.work-section {
  background: #e7e0d7;
  padding: 110px 6vw;
}

.work-inner {
  margin: 0 auto;
  max-width: 1240px;
}

.work-inner h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.2;
  margin: 0;
}

.work-inner > p:not(.section-kicker) {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
  margin: 24px 0 28px;
  max-width: 540px;
}

.work-placeholder {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.contact-inner {
  margin: 0 auto;
  max-width: 1240px;
}

.contact-section h2 {
  font-family: var(--serif);
  font-size: clamp(50px, 7vw, 98px);
  line-height: 1.12;
  margin: 0;
}

.contact-copy {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
  margin: 32px 0 27px;
  max-width: 430px;
}

.contact-placeholder {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
}

.site-footer {
  align-items: center;
  background: var(--ink);
  color: rgba(255, 249, 239, 0.53);
  display: flex;
  font-size: 9px;
  gap: 24px;
  justify-content: space-between;
  letter-spacing: 0.12em;
  padding: 24px 6vw;
}

.site-footer a {
  color: #d88a7d;
}

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

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

.reveal-delay {
  transition-delay: 120ms;
}

@media (max-width: 800px) {
  .site-header {
    height: 72px;
    padding: 0 6vw;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    background: transparent;
    border: 0;
    color: #fff9ef;
    cursor: pointer;
    display: inline-flex;
    font-size: 21px;
    padding: 8px;
  }

  .mobile-nav {
    background: var(--ink);
    display: grid;
    gap: 18px;
    left: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 6vw;
    position: absolute;
    right: 0;
    top: 72px;
    transition: max-height 220ms ease, padding 220ms ease;
    z-index: 4;
  }

  .mobile-nav.is-open {
    max-height: 250px;
    padding-bottom: 25px;
    padding-top: 8px;
  }

  .mobile-nav a {
    color: rgba(255, 249, 239, 0.8);
    font-size: 13px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-inner {
    display: block;
    min-height: 650px;
    padding-bottom: 100px;
    padding-top: 150px;
  }

  .hero h1 {
    font-size: clamp(54px, 16vw, 84px);
  }

  .hero-intro {
    font-size: 14px;
    max-width: 470px;
  }

  .hero-index {
    margin-top: 60px;
    max-width: 275px;
  }

  .hero-bottom {
    width: calc(100% - 12vw);
  }

  .section {
    padding-bottom: 90px;
    padding-top: 90px;
  }

  .about-section,
  .method-inner,
  .sources-inner {
    display: block;
  }

  .about-content {
    margin-top: 56px;
  }

  .focus-section {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .focus-grid {
    display: block;
    margin-top: 52px;
  }

  .focus-item:last-child {
    max-width: none;
  }

  .method-inner,
  .sources-inner {
    padding-bottom: 90px;
    padding-top: 90px;
  }

  .method-list,
  .source-links {
    margin-top: 65px;
  }

  .notes-heading {
    display: block;
  }

  .notes-heading .section-description {
    margin-top: 24px;
  }

  .notes-grid {
    display: block;
    margin-top: 48px;
  }

  .note-card + .note-card {
    margin-top: 18px;
  }

  .contact-section {
    padding-bottom: 100px;
    padding-top: 100px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
