:root {
  --ink: #17191a;
  --muted: #62645f;
  --paper: #f5f1e8;
  --paper-deep: #e9e0d2;
  --white: #fffdfa;
  --rose: #9c4650;
  --rose-dark: #73313a;
  --sage: #53695e;
  --teal: #173f46;
  --line: rgba(31, 35, 38, 0.15);
  --shadow: 0 24px 70px rgba(31, 35, 38, 0.18);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Noto Serif SC", "Songti SC", "STSong", Georgia, "Times New Roman", serif;
  line-height: 1.7;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  padding-block: 12px;
  color: var(--ink);
  background: rgba(255, 253, 250, 0.92);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family:
    "Noto Serif SC", "Songti SC", "STSong", Georgia, "Times New Roman", serif;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(200, 164, 93, 0.86);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 248, 230, 0.88), rgba(200, 164, 93, 0.22) 36%, rgba(23, 25, 26, 0.08) 72%),
    rgba(255, 253, 250, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 248, 230, 0.32),
    0 8px 24px rgba(128, 97, 44, 0.14);
  overflow: hidden;
}

.brand-mark svg {
  width: 38px;
  height: 38px;
}

.mark-metal-frame,
.mark-metal-a,
.mark-metal-spark {
  fill: none;
  stroke: url("#metal-mark");
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mark-metal-frame {
  stroke-width: 3.2;
}

.mark-metal-a {
  stroke-width: 4.4;
}

.mark-metal-spark {
  stroke-width: 2;
  opacity: 0.9;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-size: 18px;
  font-weight: 700;
}

.brand small {
  margin-top: 2px;
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.74;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: 58% center;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 18, 17, 0.76), rgba(15, 18, 17, 0.42) 48%, rgba(15, 18, 17, 0.1)),
    linear-gradient(0deg, rgba(15, 18, 17, 0.52), rgba(15, 18, 17, 0.02) 46%);
}

.hero-content {
  align-self: end;
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
  padding: 150px 0 clamp(76px, 12vh, 128px);
  color: var(--white);
}

.eyebrow,
.section-kicker,
.work-type {
  margin: 0 0 14px;
  color: var(--rose);
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd9d9;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(58px, 9.5vw, 126px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  margin-top: 10px;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(19px, 2.2vw, 32px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 720px;
  margin: 28px 0 0;
  font-size: clamp(20px, 2.5vw, 31px);
  line-height: 1.42;
}

.hero-copy span,
.intro-grid > p span,
.contact-section p span,
figcaption span {
  display: block;
  margin-top: 8px;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.68em;
  line-height: 1.55;
  opacity: 0.78;
}

.en-copy {
  font-family: Inter, Arial, sans-serif;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--rose);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--rose-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 253, 250, 0.66);
  background: rgba(255, 253, 250, 0.08);
}

.button.ghost {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.intro-band {
  margin-top: -1px;
  color: var(--white);
  background: var(--teal);
}

.intro-grid {
  display: grid;
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
  padding: clamp(34px, 6vw, 64px) 0;
}

.intro-grid > p {
  margin: 0;
  font-size: clamp(20px, 2.75vw, 32px);
  line-height: 1.42;
}

.signature-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  background: rgba(255, 253, 250, 0.22);
}

.signature-stats div {
  min-width: 0;
  padding: 22px 16px;
  background: var(--teal);
}

.signature-stats dt {
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1;
}

.signature-stats dd {
  margin: 8px 0 0;
  color: rgba(255, 253, 250, 0.78);
  font-size: 14px;
}

.photo-ribbon {
  width: min(100% - 36px, var(--max));
  margin: clamp(64px, 9vw, 104px) auto 0;
}

.photo-ribbon img {
  width: 100%;
  aspect-ratio: 2.45;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: center;
}

.section {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
  padding: clamp(72px, 11vw, 132px) 0;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(340px, 1fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-copy p:not(.section-kicker),
.contact-section p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
}

.portrait-frame {
  margin: 0;
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 1.08;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: 62% center;
}

.portrait-frame figcaption {
  max-width: 520px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.partner-section {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
  padding: clamp(74px, 11vw, 134px) 0;
  border-top: 1px solid var(--line);
}

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

.partner-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 46px rgba(31, 35, 38, 0.08);
}

.partner-card img {
  width: 100%;
  aspect-ratio: 1.16;
  object-fit: cover;
}

.partner-card:nth-child(1) img {
  object-position: 52% center;
}

.partner-card:nth-child(2) img {
  object-position: center;
}

.partner-card:nth-child(3) img {
  object-position: center;
}

.partner-card > div {
  padding: clamp(22px, 3vw, 30px);
}

.partner-card h3 {
  margin: 0;
  font-size: clamp(23px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.26;
}

.partner-card p:not(.work-type) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.image-story {
  display: grid;
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  padding: 0 0 clamp(72px, 10vw, 122px);
}

.image-story-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 500;
  line-height: 1.12;
}

.image-story-copy p:not(.section-kicker) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
}

.image-mosaic {
  display: grid;
  grid-template-columns: 1.1fr 0.78fr;
  gap: 14px;
  align-items: stretch;
}

.image-mosaic img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(31, 35, 38, 0.15);
  object-fit: cover;
}

.image-mosaic img:nth-child(2) {
  object-position: 54% center;
}

.image-mosaic img:nth-child(3) {
  object-position: 62% center;
}

.image-mosaic .mosaic-main {
  grid-row: span 2;
  aspect-ratio: 0.9;
}

.image-mosaic img:not(.mosaic-main) {
  aspect-ratio: 1.06;
}

.works-section {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(30px, 5vw, 54px);
}

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

.work-card {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  padding: 0 0 clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.work-card > img {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
}

.work-card:nth-child(1) > img {
  object-position: 55% center;
}

.work-card:nth-child(2) > img {
  object-position: center;
}

.work-card:nth-child(3) > img {
  object-position: 54% center;
}

.work-card .work-type,
.work-card h3,
.work-card p:not(.work-type),
.work-card a {
  margin-inline: clamp(22px, 3vw, 30px);
}

.work-card .work-type {
  margin-top: 24px;
}

.work-card h3 {
  margin: 0 clamp(22px, 3vw, 30px);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.26;
}

.work-card p:not(.work-type) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
}

.work-card .en-copy {
  margin-top: 10px;
  font-size: 14px;
}

.work-card a {
  width: fit-content;
  margin-top: auto;
  padding-top: 30px;
  color: var(--teal);
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.quote-section {
  color: var(--white);
  background: var(--sage);
}

.quote-section blockquote {
  width: min(100% - 36px, 980px);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 118px) 0;
}

.quote-section p {
  margin: 0;
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.18;
}

.quote-section cite {
  display: block;
  margin-top: 24px;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.journal-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(28px, 7vw, 86px);
}

.journal-section .section-heading {
  display: block;
  margin: 0;
}

.journal-list {
  border-top: 1px solid var(--line);
}

.journal-item {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.journal-item time {
  color: var(--rose);
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.journal-item span {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.36;
}

.library-section {
  border-top: 1px solid var(--line);
}

.library-list {
  display: grid;
  gap: 12px;
}

.library-work {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.library-work:hover,
.library-work:focus-visible {
  border-color: rgba(29, 93, 104, 0.36);
  box-shadow: 0 16px 44px rgba(31, 35, 38, 0.1);
  transform: translateY(-2px);
}

.library-work h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.24;
}

.library-work p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.library-meta {
  color: var(--rose);
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.library-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--teal);
  font-family: Inter, Arial, sans-serif;
  font-size: 22px;
}

.library-empty {
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--white);
}

.contact-section {
  display: grid;
  width: min(100% - 36px, var(--max));
  margin: 0 auto clamp(22px, 4vw, 42px);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: clamp(34px, 6vw, 62px);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper-deep);
}

.contact-section-minimal {
  display: block;
  padding: clamp(28px, 5vw, 44px);
}

.contact-actions {
  justify-content: flex-end;
  margin: 0;
}

.contact-section-minimal .contact-actions {
  justify-content: center;
}

.site-footer {
  display: flex;
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 42px;
  color: var(--muted);
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.icp-link {
  display: inline-block;
  margin-top: 8px;
  color: inherit;
  text-decoration: none;
}

.icp-link:hover {
  color: var(--rose);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 10px 18px 18px;
    color: var(--ink);
    background: rgba(255, 253, 250, 0.96);
    box-shadow: 0 18px 44px rgba(31, 35, 38, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 88svh;
  }

  .hero-image {
    object-position: 61% center;
  }

  .hero-content {
    padding-bottom: 78px;
  }

  .intro-grid,
  .about-section,
  .partner-section,
  .image-story,
  .journal-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .signature-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .work-card {
    min-height: 0;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-mark svg {
    width: 32px;
    height: 32px;
  }

  .brand strong {
    font-size: 16px;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(15, 20, 18, 0.78), rgba(15, 20, 18, 0.35)),
      linear-gradient(0deg, rgba(15, 20, 18, 0.58), rgba(15, 20, 18, 0.08) 52%);
  }

  .hero-content,
  .section,
  .intro-grid,
  .photo-ribbon,
  .partner-section,
  .image-story,
  .quote-section blockquote,
  .contact-section,
  .site-footer {
    width: min(100% - 32px, var(--max));
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .signature-stats {
    grid-template-columns: 1fr;
  }

  .signature-stats div {
    padding: 18px;
  }

  .section-heading {
    display: block;
  }

  .portrait-frame img {
    aspect-ratio: 0.82;
    object-position: 58% center;
  }

  .image-mosaic {
    grid-template-columns: 1fr;
  }

  .image-mosaic .mosaic-main,
  .image-mosaic img:not(.mosaic-main) {
    grid-row: auto;
    aspect-ratio: 1.12;
  }

  .photo-ribbon img {
    aspect-ratio: 1.35;
  }

  .partner-card img {
    aspect-ratio: 1.22;
  }

  .journal-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .library-work {
    grid-template-columns: 1fr;
  }

  .library-arrow {
    display: none;
  }

  .contact-section {
    padding-inline: 20px;
  }

  .site-footer {
    display: grid;
  }
}

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