:root {
  --canvas: #0d1517;
  --canvas-deep: #070d10;
  --layer: rgba(255, 255, 255, 0.035);
  --ink: #c1d7d2;
  --ink-soft: rgba(193, 215, 210, 0.7);
  --ink-muted: rgba(193, 215, 210, 0.42);
  --line: rgba(193, 215, 210, 0.14);
  --line-soft: rgba(193, 215, 210, 0.07);
  --ambient: rgba(58, 142, 142, 0.2);
  --ambient-warm: rgba(71, 120, 132, 0.14);
  --serif: "FZSYJW--GB1-0", "FZSongYi-Z13", "FZSongYi-Z13S", "FZSongYi-Z13T", "FZShuSong-Z01", "STSong", "Songti SC", "SimSun", "Noto Serif SC", "Source Han Serif SC", serif;
  --sans: "FZSYJW--GB1-0", "FZSongYi-Z13", "FZSongYi-Z13S", "FZSongYi-Z13T", "FZShuSong-Z01", "STSong", "Songti SC", "SimSun", "Noto Serif SC", serif;
  --mono: "FZSYJW--GB1-0", "FZSongYi-Z13", "FZSongYi-Z13S", "FZSongYi-Z13T", "FZShuSong-Z01", "STSong", "Songti SC", "SimSun", serif;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --lens-shift: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, var(--canvas), var(--canvas-deep));
  font-family: var(--sans);
  letter-spacing: -0.1em;
  overflow-x: hidden;
  position: relative;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 67%, rgba(236, 229, 219, 0.045) 67.05%, transparent 67.14%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 34%);
  pointer-events: none;
}

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

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

.site-grain {
  display: none;
}

.lens-field {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  overflow: hidden;
  transform: translate3d(0, var(--lens-shift), 0);
  transition: transform 900ms var(--ease);
}

.lens-field::before,
.lens-field::after {
  position: absolute;
  content: "";
  left: -6vw;
  right: -6vw;
  height: 8vh;
  backdrop-filter: blur(4.8px) saturate(1.08) brightness(1.08);
  -webkit-backdrop-filter: blur(4.8px) saturate(1.08) brightness(1.08);
  background:
    linear-gradient(180deg, rgba(220, 226, 150, 0.08), rgba(18, 20, 23, 0.02));
  opacity: 0.58;
}

.lens-field::before {
  top: -2vh;
  mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 100%);
}

.lens-field::after {
  bottom: -2vh;
  mask-image: linear-gradient(0deg, #000 0%, #000 42%, transparent 100%);
  -webkit-mask-image: linear-gradient(0deg, #000 0%, #000 42%, transparent 100%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 40px clamp(22px, 5vw, 82px);
  color: var(--nav-color, rgba(193, 215, 210, 0.78));
  mix-blend-mode: normal;
  transition: color 700ms var(--ease), filter 700ms var(--ease);
}

.brand {
  display: grid;
  gap: 9px;
  line-height: 1;
}

.brand-mark {
  font-family: var(--serif);
  font-size: clamp(1.62rem, 2vw, 2.24rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-shadow: 0.6px 0.8px 1px rgba(70, 34, 58, 0.18);
}

.brand-sub,
.site-nav a,
.eyebrow,
.work-index,
dt,
time,
.parameter-footer,
.work-row span {
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-sub {
  color: var(--nav-color, rgba(193, 215, 210, 0.66));
  opacity: 0.58;
}

.site-nav {
  display: flex;
  gap: clamp(26px, 2.8vw, 52px);
}

.site-nav a {
  color: var(--nav-color, rgba(193, 215, 210, 0.7));
  opacity: 0.62;
  transition: color 420ms var(--ease), filter 420ms var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--nav-color, rgba(193, 215, 210, 0.9));
  opacity: 1;
  filter: drop-shadow(0 0 14px rgba(218, 180, 128, 0.34));
  outline: none;
}

.section {
  position: relative;
  padding: clamp(92px, 12vw, 176px) clamp(22px, 5vw, 82px);
  color: var(--ink);
  overflow: hidden;
}

.section::before {
  position: absolute;
  top: 96px;
  bottom: 96px;
  left: clamp(22px, 5vw, 82px);
  width: 1px;
  content: "";
  background: linear-gradient(180deg, transparent, var(--line), transparent);
  opacity: 0.8;
}

.section::after,
.contact-section::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  opacity: 0.36;
  mix-blend-mode: overlay;
  background-image:
    url("./assets/grain-reference.png"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.25' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='96' height='96' filter='url(%23n)' opacity='.76'/%3E%3C/svg%3E");
  background-size: 360px 360px, 96px 96px;
  background-attachment: scroll;
}

.hero {
  --ink: #a7cac5;
  --ink-soft: rgba(167, 202, 197, 0.7);
  --ink-muted: rgba(167, 202, 197, 0.43);
  --line: rgba(167, 202, 197, 0.16);
  --line-soft: rgba(167, 202, 197, 0.08);
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 96px;
  overflow: hidden;
  background:
    linear-gradient(128deg, #0d171a 0%, #163b3f 100%);
}

.hero-bg,
.about-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg img,
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(0.58) contrast(0.8) blur(1.6px);
  transform: scale(1.06);
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 18, 20, 0.6), rgba(12, 38, 40, 0.32)),
    linear-gradient(180deg, rgba(7, 18, 20, 0.42), rgba(5, 12, 14, 0.82));
}

.glass-line {
  position: absolute;
  top: 18vh;
  bottom: 11vh;
  z-index: 1;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(236, 229, 219, 0.22), transparent);
  box-shadow: 0 0 34px rgba(218, 180, 128, 0.1);
}

.glass-line-a {
  left: 67%;
}

.glass-line-b {
  left: 69.2%;
  opacity: 0.28;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  margin-left: clamp(0px, 5vw, 64px);
  margin-top: clamp(28px, 8vh, 92px);
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--ink-muted);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.2em;
  text-shadow: 0.8px 1px 1.2px rgba(70, 34, 58, 0.2);
}

.hero h1 span {
  display: block;
  font-size: clamp(3.2rem, 8.2vw, 8.2rem);
  filter: contrast(0.92);
}

.hero h1 small {
  display: block;
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(0.72rem, 1.2vw, 0.94rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero-copy {
  width: min(520px, 100%);
  margin: 46px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(0.98rem, 1.42vw, 1.2rem);
  line-height: 2;
  letter-spacing: -0.14em;
  text-align: justify;
  text-shadow: 0.45px 0.6px 0.8px rgba(70, 34, 58, 0.14);
}

.scroll-cue {
  position: absolute;
  left: clamp(22px, 5vw, 82px);
  bottom: 30px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--ink-muted);
  font-family: var(--serif);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.scroll-cue i {
  width: 54px;
  height: 1px;
  background: currentColor;
  transform-origin: left center;
  transition: transform 520ms var(--ease);
}

.scroll-cue:hover i {
  transform: scaleX(1.45);
}

.section-heading {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin-left: clamp(26px, 5vw, 86px);
}

.section-heading h2,
.contact-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5.8vw, 6.1rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-shadow: 0.65px 0.8px 1px rgba(70, 34, 58, 0.16);
}

.narrative-section {
  --ink: #c8c8ba;
  --ink-soft: rgba(200, 200, 186, 0.7);
  --ink-muted: rgba(200, 200, 186, 0.44);
  --line: rgba(200, 200, 186, 0.14);
  --line-soft: rgba(200, 200, 186, 0.07);
  background:
    linear-gradient(132deg, #182523 0%, #2c332e 100%);
}

.gallery-shell {
  position: relative;
  display: grid;
  gap: clamp(44px, 7vw, 92px);
  margin-top: clamp(58px, 7vw, 104px);
  margin-left: clamp(26px, 5vw, 86px);
}

.work-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 0.92fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: end;
  min-height: 500px;
}

.work-image {
  position: relative;
  min-height: 460px;
  overflow: hidden;
}

.work-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(12, 14, 17, 0.76), rgba(12, 14, 17, 0.18) 54%, rgba(12, 14, 17, 0.72)),
    linear-gradient(180deg, rgba(12, 14, 17, 0.22), rgba(12, 14, 17, 0.76));
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.48) contrast(0.72) blur(0.8px);
  transform: scale(1.04);
  transition: opacity 900ms var(--ease), transform 1200ms var(--ease);
}

.work-feature:hover .work-image img {
  opacity: 0.46;
  transform: scale(1.08);
}

.work-copy {
  padding: 0 0 clamp(10px, 3vw, 42px);
}

.work-index {
  color: var(--ink-muted);
}

.work-copy h3,
.work-row h3,
.award-item h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 3.1rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-shadow: 0.45px 0.6px 0.8px rgba(70, 34, 58, 0.14);
}

.work-copy p {
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.96rem;
  line-height: 2;
  letter-spacing: -0.14em;
  text-align: justify;
  text-shadow: 0.35px 0.45px 0.6px rgba(70, 34, 58, 0.1);
}

.work-copy dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 58px 0 0;
}

.work-copy dl div {
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

dt {
  margin-bottom: 10px;
  color: var(--ink-muted);
}

dd {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  letter-spacing: 0.01em;
}

.work-list {
  display: grid;
}

.work-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) minmax(190px, 0.35fr);
  gap: 28px;
  align-items: baseline;
  padding: 31px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 450ms var(--ease), padding-left 450ms var(--ease), border-color 450ms var(--ease);
}

.work-row:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.work-row:hover {
  padding-left: 18px;
  color: var(--ink);
  border-color: var(--line);
}

.work-row:focus-visible {
  color: var(--ink);
  border-color: var(--line);
  outline: none;
}

.work-row span {
  color: var(--ink-muted);
}

.work-row p {
  margin: 0;
  color: var(--ink-muted);
  font-family: var(--serif);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.work-detail {
  grid-column: 2 / -1;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    max-height 680ms var(--ease),
    opacity 520ms var(--ease),
    transform 520ms var(--ease),
    padding-top 520ms var(--ease);
}

.work-detail p {
  width: min(640px, 100%);
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.94rem;
  line-height: 2;
  letter-spacing: -0.14em;
  text-align: justify;
  text-transform: none;
}

.work-row.is-expanded {
  color: var(--ink);
  border-color: var(--line);
}

.work-row.is-expanded .work-detail {
  max-height: 220px;
  opacity: 1;
  padding-top: 24px;
  transform: translateY(0);
}

.about-section {
  --ink: #b6c5d0;
  --ink-soft: rgba(182, 197, 208, 0.7);
  --ink-muted: rgba(182, 197, 208, 0.42);
  --line: rgba(182, 197, 208, 0.15);
  --line-soft: rgba(182, 197, 208, 0.075);
  min-height: 82svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(138deg, #101923 0%, #1b3038 100%);
}

.about-visual {
  opacity: 0.24;
  filter: grayscale(0.42);
}

.about-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(12, 14, 17, 0.9), rgba(12, 14, 17, 0.42) 54%, rgba(12, 14, 17, 0.84)),
    linear-gradient(180deg, rgba(12, 14, 17, 0.28), rgba(12, 14, 17, 0.82));
}

.about-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.76fr);
  gap: clamp(40px, 8vw, 108px);
  align-items: end;
  margin-left: clamp(26px, 5vw, 86px);
}

.about-content .section-heading {
  margin-left: 0;
}

.about-text {
  padding-left: clamp(0px, 3vw, 42px);
  border-left: 1px solid var(--line);
}

.about-text p {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.98rem;
  line-height: 2;
  letter-spacing: -0.14em;
  text-align: justify;
  text-shadow: 0.35px 0.45px 0.6px rgba(70, 34, 58, 0.1);
}

.about-text p + p {
  margin-top: 30px;
}

.awards-section {
  --ink: #c9bfc3;
  --ink-soft: rgba(201, 191, 195, 0.72);
  --ink-muted: rgba(201, 191, 195, 0.44);
  --line: rgba(201, 191, 195, 0.15);
  --line-soft: rgba(201, 191, 195, 0.075);
  background:
    linear-gradient(145deg, #1e171c 0%, #332630 100%);
}

.awards-list {
  position: relative;
  margin-top: clamp(56px, 7vw, 92px);
  margin-left: clamp(26px, 5vw, 86px);
}

.awards-list::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 118px;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, var(--line), var(--line-soft));
}

.award-item {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: clamp(38px, 7vw, 104px);
  padding: clamp(32px, 5vw, 58px) 0;
  color: var(--ink-soft);
}

.award-item + .award-item {
  border-top: 1px solid var(--line-soft);
}

.award-item time {
  color: var(--ink-muted);
}

.award-item p {
  width: min(680px, 100%);
  margin: 18px 0 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 2;
  letter-spacing: -0.14em;
  text-align: justify;
}

.contact-section {
  --ink: #aec5c2;
  --ink-soft: rgba(174, 197, 194, 0.7);
  --ink-muted: rgba(174, 197, 194, 0.42);
  --line: rgba(174, 197, 194, 0.14);
  --line-soft: rgba(174, 197, 194, 0.07);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 38px;
  align-items: end;
  padding: clamp(82px, 10vw, 126px) clamp(22px, 5vw, 82px) 42px;
  background:
    linear-gradient(180deg, #0d1517 0%, #070d10 100%);
}

.contact-section::before {
  position: absolute;
  top: 82px;
  bottom: 42px;
  left: clamp(22px, 5vw, 82px);
  width: 1px;
  content: "";
  background: linear-gradient(180deg, transparent, var(--line), transparent);
}

.contact-section > div {
  margin-left: clamp(26px, 5vw, 86px);
}

.contact-section h2 {
  width: min(860px, 100%);
}

.contact-link {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  transition: color 450ms var(--ease), border-color 450ms var(--ease), filter 450ms var(--ease);
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--ink);
  border-color: rgba(236, 229, 219, 0.42);
  filter: drop-shadow(0 0 16px rgba(218, 180, 128, 0.24));
  outline: none;
}

.latin-run {
  display: inline;
  letter-spacing: 0.015em;
  word-spacing: 0.08em;
}

.parameter-footer {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(70px, 10vw, 120px);
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-muted);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    padding: 22px;
    mix-blend-mode: normal;
  }

  .site-nav {
    display: none;
  }

  .section::before,
  .contact-section::before {
    left: 22px;
  }

  .hero {
    min-height: 92svh;
    padding-top: 116px;
  }

  .hero-inner,
  .section-heading,
  .gallery-shell,
  .about-content,
  .awards-list,
  .contact-section > div {
    margin-left: 28px;
  }

  .glass-line-a {
    left: 84%;
  }

  .glass-line-b {
    display: none;
  }

  .work-feature,
  .about-content,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .work-image {
    min-height: 260px;
    max-width: 86%;
  }

  .work-row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
  }

  .work-row p {
    grid-column: 2;
  }

  .work-detail {
    grid-column: 2;
  }

  .about-text {
    padding-left: 0;
    border-left: 0;
  }

  .awards-list::before {
    left: 70px;
  }

  .award-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 28px;
  }

  .contact-link {
    justify-self: start;
    margin-left: 28px;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    font-size: 0.94rem;
  }

  .section,
  .hero,
  .contact-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section::before,
  .contact-section::before {
    left: 18px;
  }

  .hero-inner,
  .section-heading,
  .gallery-shell,
  .about-content,
  .awards-list,
  .contact-section > div,
  .contact-link {
    margin-left: 24px;
  }

  .hero h1 {
    letter-spacing: -0.15em;
  }

  .hero h1 span {
    font-size: clamp(3rem, 18vw, 5.8rem);
  }

  .hero-copy {
    margin-top: 36px;
    font-size: 0.98rem;
  }

  .scroll-cue {
    left: 18px;
  }

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

  .work-row {
    padding: 26px 0;
  }

  .awards-list::before {
    display: none;
  }

  .award-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .parameter-footer {
    display: grid;
  }
}
