:root {
  --ink: #1f211d;
  --muted: #6d6a62;
  --paper: #fbf6eb;
  --wash: #f2e6d2;
  --rose: #c95643;
  --green: #386f63;
  --ochre: #d79b34;
  --blue: #345f83;
  --night: #18201d;
  --line: rgba(31, 33, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(215, 155, 52, 0.16), transparent 26%),
    radial-gradient(circle at 88% 28%, rgba(52, 95, 131, 0.12), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.48) 0 25%, transparent 25% 100%),
    var(--paper);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei",
    sans-serif;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(31, 33, 29, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 33, 29, 0.028) 1px, transparent 1px);
  background-size: 34px 34px;
}

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

.home-page main > section:not(.hero):not(.is-current),
.home-page.is-section-open .hero {
  display: none;
}

.section-home-button {
  position: fixed;
  right: clamp(18px, 4vw, 42px);
  bottom: clamp(18px, 4vw, 42px);
  z-index: 30;
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  color: white;
  background: var(--ink);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(31, 33, 29, 0.22);
  font-weight: 900;
}

.section-home-button small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.home-page.is-section-open .section-home-button {
  display: inline-flex;
}

small,
em,
.zh-note {
  font-family:
    "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

.zh-note {
  color: var(--muted);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei",
    sans-serif;
  font-size: 0.9em;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: var(--ink);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(251, 246, 235, 0.9);
  box-shadow: 0 1px 24px rgba(31, 33, 29, 0.08);
  backdrop-filter: blur(18px);
}

.home-page.is-works-open .site-header,
.home-page.is-works-open .site-header.is-solid,
.works-detail-body .site-header,
.works-detail-body .site-header.is-solid {
  color: white;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.home-page.is-works-open .brand-logo,
.works-detail-body .brand-logo {
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.34));
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand > span:last-child {
  display: grid;
  line-height: 1.12;
}

.brand small {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.72;
}

.brand-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(31, 33, 29, 0.14));
}

.site-nav {
  gap: clamp(10px, 2.2vw, 26px);
  font-size: 13px;
  font-weight: 700;
}

.site-nav a {
  display: grid;
  line-height: 1.1;
  opacity: 0.88;
}

.site-nav small {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 600;
  opacity: 0.68;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 126px clamp(20px, 7vw, 96px) 86px;
  color: var(--ink);
}

.portfolio-hero {
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  gap: clamp(34px, 6vw, 84px);
  background:
    radial-gradient(circle at 18% 22%, rgba(201, 86, 67, 0.16), transparent 24%),
    radial-gradient(circle at 86% 74%, rgba(52, 95, 131, 0.13), transparent 26%),
    var(--paper);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8.5vw, 116px);
  line-height: 0.98;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 16px;
  font-size: clamp(17px, 2vw, 22px);
  color: var(--ink);
}

.en-copy {
  max-width: 560px;
  margin-bottom: 34px;
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.55;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
}

.button small,
.contact-link small {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.72;
}

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

.button.secondary {
  color: var(--ink);
}

.hero-note {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: 34px;
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-note span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}

.hero-art-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2vw, 24px);
  align-items: center;
  max-width: 720px;
}

.art-card {
  margin: 0;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(31, 33, 29, 0.14);
  transform: rotate(2deg);
}

.art-card img,
.project-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-card img {
  object-fit: contain;
  background: #f7f1e8;
}

.art-card {
  aspect-ratio: 4 / 3;
  padding: 10px;
}

.art-card.is-tall {
  aspect-ratio: 4 / 3;
  transform: rotate(-3deg);
}

.art-card.is-offset {
  align-self: end;
  transform: translateY(34px) rotate(4deg);
}

.statement {
  min-height: 82vh;
  display: grid;
  align-content: center;
  padding-top: clamp(118px, 14vw, 180px);
  padding-bottom: clamp(118px, 14vw, 180px);
  background:
    radial-gradient(circle at 78% 24%, rgba(201, 86, 67, 0.12), transparent 26%),
    radial-gradient(circle at 18% 82%, rgba(215, 155, 52, 0.14), transparent 28%);
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(40px, 8vw, 116px);
  align-items: start;
}

.statement h2 {
  max-width: 1080px;
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 1.02;
}

.statement .intro-copy p {
  max-width: 620px;
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.58;
}

.statement .intro-copy .zh-note {
  font-size: clamp(15px, 1.1vw, 18px);
}

.section {
  padding: clamp(76px, 10vw, 132px) clamp(20px, 7vw, 96px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.76fr);
  gap: clamp(32px, 8vw, 96px);
  align-items: start;
}

.section-kicker {
  color: var(--rose);
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

.intro-copy p,
.contact p,
.split-heading > p {
  max-width: 580px;
  color: var(--muted);
  font-size: 18px;
}

.intro-copy [lang="en"],
.contact [lang="en"],
.split-heading > p {
  font-size: 15px;
  line-height: 1.65;
}

.training {
  background:
    linear-gradient(120deg, rgba(56, 111, 99, 0.1), transparent 38%),
    rgba(255, 255, 255, 0.24);
}

.training-heading {
  margin-bottom: 36px;
}

.training-heading h2 {
  color: var(--ink);
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.04;
}

.training-heading small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
}

.training-photo {
  margin: 0 0 clamp(28px, 5vw, 54px);
}

.training-photo img {
  width: 100%;
  max-height: 560px;
  border: 1px solid var(--line);
  object-fit: cover;
  box-shadow: 0 22px 70px rgba(31, 33, 29, 0.12);
}

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

.training-list a {
  min-height: 190px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.18);
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.training-list a:hover {
  background: rgba(255, 255, 255, 0.38);
  transform: translateY(-6px);
}

.training-list a:last-child {
  border-right: 0;
}

.training-list strong {
  display: block;
  font-size: clamp(22px, 2.35vw, 34px);
  font-weight: 900;
  line-height: 1.08;
}

.training-list small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.training-schedule-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.training-schedule-nav a {
  min-height: 210px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: clamp(24px, 3vw, 38px);
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.2);
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.training-schedule-nav a:hover {
  background: rgba(255, 255, 255, 0.42);
  transform: translateY(-6px);
}

.training-schedule-nav a.is-active {
  background: rgba(255, 255, 255, 0.48);
}

.training-schedule-nav a:last-child {
  border-right: 0;
}

.training-schedule-nav strong {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.08;
}

.training-schedule-nav small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.schedule-poster {
  margin: 0;
}

.schedule-poster-stack {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  margin-top: clamp(30px, 5vw, 64px);
}

.training-page > .schedule-poster {
  max-width: 260px;
  margin-top: clamp(30px, 5vw, 64px);
}

.schedule-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 18px 48px rgba(31, 33, 29, 0.12);
  cursor: zoom-in;
  object-fit: cover;
  object-position: top center;
  transition:
    filter 160ms ease,
    transform 160ms ease;
}

.schedule-poster img:hover {
  filter: brightness(1.04);
  transform: translateY(-4px);
}

.section-heading {
  margin-bottom: 36px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 28px;
  align-items: end;
}

.works-gallery {
  min-height: 100vh;
  display: grid;
  align-content: center;
  background:
    linear-gradient(135deg, rgba(201, 86, 67, 0.18), transparent 28%),
    linear-gradient(315deg, rgba(52, 95, 131, 0.22), transparent 30%),
    radial-gradient(circle at 52% 18%, rgba(215, 155, 52, 0.18), transparent 26%),
    var(--night);
  color: white;
}

.home-page .works-gallery > :not(.works-portal-heading):not(.works-nav) {
  display: none;
}

.works-portal-heading {
  margin-bottom: clamp(34px, 6vw, 76px);
}

.works-portal-heading h2 {
  max-width: 1180px;
  color: white;
  font-size: clamp(40px, 6vw, 82px);
  line-height: 1.04;
}

.works-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.28);
}

.works-nav a {
  min-height: clamp(122px, 15vw, 210px);
  display: grid;
  align-content: center;
  gap: 3px;
  padding: clamp(18px, 2.2vw, 30px);
  border-right: 0;
  color: white;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(24, 32, 29, 0.72);
  font-size: clamp(20px, 2.6vw, 42px);
  font-weight: 900;
  line-height: 1.1;
  overflow: hidden;
  position: relative;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.works-nav a::after {
  position: absolute;
  right: -28px;
  bottom: -38px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  content: "";
  opacity: 0.22;
  background: var(--rose);
}

.works-nav a:nth-child(2)::after {
  background: var(--blue);
}

.works-nav a:nth-child(3)::after {
  background: var(--ochre);
}

.works-nav a:nth-child(4)::after {
  background: var(--green);
}

.works-nav a:nth-child(5)::after {
  background: #9b5cc2;
}

.works-nav a:nth-child(6)::after {
  background: #f1aa64;
}

.works-nav a:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.16);
}

.works-nav a:last-child {
  border-right: 0;
}

.works-nav a.is-active {
  color: white;
  background: var(--ink);
}

.works-nav a.is-active small {
  color: rgba(255, 255, 255, 0.72);
}

.works-nav small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 700;
}

.exhibition-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(24px, 4vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.26);
}

.exhibition-nav a {
  min-height: 210px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: clamp(22px, 2.6vw, 34px);
  color: white;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(18, 24, 28, 0.74);
  overflow: hidden;
  position: relative;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.exhibition-nav a::before {
  position: absolute;
  inset: 16px auto auto 16px;
  width: 46px;
  height: 5px;
  content: "";
  background: var(--ochre);
}

.exhibition-nav a::after {
  position: absolute;
  right: -36px;
  bottom: -46px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  content: "";
  opacity: 0.2;
  background: var(--rose);
}

.exhibition-nav a:nth-child(2)::after {
  background: var(--blue);
}

.exhibition-nav a:nth-child(3)::after {
  background: var(--green);
}

.exhibition-nav a:nth-child(4)::after {
  background: #9b5cc2;
}

.exhibition-nav a:nth-child(5)::after {
  background: #f1aa64;
}

.exhibition-nav a:nth-child(6)::after {
  background: var(--mint);
}

.exhibition-nav a:hover {
  transform: translateY(-7px);
  background: rgba(255, 255, 255, 0.16);
}

.exhibition-nav a.has-cover {
  min-height: 330px;
  align-content: start;
  grid-template-rows: auto auto 1fr;
  gap: 16px;
}

.exhibition-nav a.has-cover img {
  width: min(72%, 360px);
  height: 130px;
  margin: 0;
  object-fit: cover;
  position: static;
  opacity: 1;
  order: 2;
  z-index: 1;
}

.exhibition-nav a.has-cover strong {
  order: 1;
}

.exhibition-nav a.has-cover small {
  order: 3;
}

.exhibition-nav a.has-cover::before {
  z-index: 1;
}

.exhibition-nav a.has-cover::after {
  opacity: 0.34;
}

.exhibition-nav strong {
  max-width: 95%;
  font-size: clamp(22px, 2.2vw, 36px);
  line-height: 1.08;
  position: relative;
  z-index: 1;
}

.exhibition-nav small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  position: relative;
  z-index: 1;
}

.exhibition-intro {
  display: grid;
  gap: 14px;
  margin-top: clamp(22px, 3vw, 40px);
}

.exhibition-intro p {
  color: rgba(255, 255, 255, 0.8);
}

.exhibition-intro .zh-note {
  color: rgba(255, 255, 255, 0.62);
}

.exhibition-subnav {
  margin: clamp(20px, 3vw, 40px) 0 0;
}

.exhibition-subnav a {
  display: inline-grid;
  gap: 3px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: white;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.exhibition-subnav small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.exhibition-grid {
  margin-top: clamp(26px, 4vw, 56px);
}

.work-panel {
  display: none;
}

.work-panel.is-visible.work-category-heading {
  display: grid;
}

.work-panel.is-visible.artwork-grid {
  display: grid;
}

.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: start;
}

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

.work-category-heading {
  gap: 8px;
  margin: clamp(36px, 5vw, 64px) 0 clamp(20px, 3vw, 32px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.work-category-heading:first-of-type {
  margin-top: 0;
}

.work-category-heading span {
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-category-heading p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
}

.project-card {
  display: grid;
  gap: 18px;
}

.project-card img {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 20px 60px rgba(31, 33, 29, 0.1);
}

.artwork-grid .project-card img {
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  object-fit: contain;
}

.animation-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0e1412;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  object-fit: contain;
}

.animation-cover-link {
  display: block;
}

.animation-card .animation-cover-link img,
.animation-card .animation-cover-link video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  object-fit: cover;
  transition:
    filter 160ms ease,
    transform 160ms ease;
}

.animation-card .animation-cover-link:hover img,
.animation-card .animation-cover-link:hover video {
  filter: brightness(1.04);
  transform: translateY(-4px);
}

.animation-player {
  margin-top: clamp(28px, 5vw, 64px);
}

.animation-player video {
  display: block;
  width: min(1180px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0e1412;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  object-fit: contain;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(20, 20, 17, 0.86);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  display: block;
  max-width: min(1100px, 92vw);
  max-height: 84vh;
  object-fit: contain;
  background: #f7f1e8;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
}

.lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.project-card div {
  display: grid;
  gap: 6px;
}

.project-card span {
  color: var(--rose);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h3 {
  margin-bottom: 0;
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.1;
}

.project-card p {
  max-width: 520px;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 0;
}

.project-large {
  grid-row: span 2;
}

.project-large img {
  aspect-ratio: 4 / 5.3;
}

.offer {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent),
    var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.32);
}

.service-grid article {
  position: relative;
  min-height: 330px;
  padding: 32px;
  border-right: 1px solid var(--line);
  overflow: hidden;
}

.service-grid article::after {
  position: absolute;
  right: -38px;
  bottom: -48px;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  content: "";
  opacity: 0.2;
}

.service-grid article:nth-child(1)::after {
  background: var(--rose);
}

.service-grid article:nth-child(2)::after {
  background: var(--ochre);
}

.service-grid article:nth-child(3)::after {
  background: var(--green);
}

.service-grid article:last-child {
  border-right: 0;
}

.service-grid span {
  display: block;
  margin-bottom: 64px;
  color: var(--green);
  font-weight: 900;
}

.service-grid h3,
.timeline h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.25;
}

.service-grid p,
.timeline p {
  color: var(--muted);
}

.service-grid em {
  position: absolute;
  left: 32px;
  bottom: 28px;
  color: var(--blue);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.work-section {
  color: white;
  background:
    linear-gradient(135deg, rgba(201, 86, 67, 0.14), transparent 34%),
    linear-gradient(315deg, rgba(52, 95, 131, 0.18), transparent 38%),
    var(--night);
}

.work-section .section-kicker {
  color: #f1aa64;
}

.work-section .split-heading > p {
  color: rgba(255, 255, 255, 0.68);
}

.work-list {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.work-item {
  display: grid;
  grid-template-columns: 190px 1fr 260px;
  gap: 24px;
  align-items: center;
  min-height: 126px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.work-item strong {
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.18;
}

.work-item span,
.work-item em {
  color: rgba(255, 255, 255, 0.66);
  font-style: normal;
}

.work-item span {
  display: grid;
  font-weight: 800;
}

.work-item small {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.7;
}

.work-item em {
  font-size: 14px;
}

.process {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.34), transparent),
    var(--wash);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
  border-top: 1px solid var(--line);
}

.timeline li {
  position: relative;
  min-height: 230px;
  padding: 76px 24px 0 0;
  border-right: 1px solid var(--line);
  counter-increment: step;
}

.timeline li::before {
  content: "0" counter(step);
  position: absolute;
  top: 24px;
  left: 0;
  color: var(--rose);
  font-weight: 900;
}

.timeline h3 small {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.timeline li:last-child {
  border-right: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
  min-height: 100vh;
  padding-top: clamp(190px, 32vh, 360px);
  padding-bottom: clamp(96px, 12vw, 160px);
  background:
    radial-gradient(circle at 82% 25%, rgba(215, 155, 52, 0.18), transparent 24%),
    var(--paper);
}

.contact .section-kicker {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: 0;
  text-transform: none;
}

.contact-location {
  max-width: 900px;
  color: var(--ink);
  font-size: clamp(28px, 4.2vw, 58px);
  font-weight: 900;
  line-height: 1.08;
}

.contact-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 66px;
  margin-top: 22px;
  padding: 0 26px;
  color: white;
  background: var(--rose);
  border-radius: 999px;
  font-weight: 900;
  white-space: normal;
  text-align: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 7vw, 96px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    gap: 12px;
    font-size: 12px;
  }

  .hero {
    min-height: 90vh;
  }

  .portfolio-hero {
    grid-template-columns: 1fr;
    padding-top: 118px;
  }

  .hero-art-grid {
    order: 2;
    max-width: 680px;
  }

  .intro,
  .statement-grid,
  .split-heading,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact {
    padding-top: clamp(150px, 24vh, 240px);
  }

  .statement {
    min-height: auto;
  }

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

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

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

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

  .works-nav a:nth-child(2n) {
    border-right: 0;
  }

  .works-nav a {
    border-bottom: 1px solid var(--line);
  }

  .project-large {
    grid-row: auto;
  }

  .service-grid,
  .training-list,
  .training-schedule-nav,
  .schedule-poster-stack,
  .timeline {
    grid-template-columns: 1fr;
  }

  .service-grid article,
  .training-list a,
  .training-schedule-nav a,
  .timeline li {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .training-list a {
    min-height: 150px;
  }

  .training-schedule-nav a {
    min-height: 150px;
  }

  .service-grid article {
    padding: 30px 0 70px;
    background: transparent;
  }

  .service-grid {
    padding: 0 24px;
  }

  .service-grid span {
    margin-bottom: 24px;
  }

  .service-grid em {
    left: 0;
  }

  .timeline li {
    padding: 68px 0 28px;
  }

  .work-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 30px 0;
  }
}

@media (max-width: 600px) {
  .site-header {
    position: absolute;
    flex-direction: column;
    padding-top: 16px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .site-nav small {
    display: none;
  }

  .hero {
    min-height: 96vh;
    padding-top: 164px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 76px);
  }

  .statement {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .statement h2 {
    font-size: clamp(38px, 12vw, 58px);
  }

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

  .exhibition-nav {
    grid-template-columns: 1fr;
  }

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

  .works-nav a {
    min-height: 62px;
    border-right: 0;
  }

  .exhibition-nav a {
    min-height: 150px;
  }

  .hero-art-grid {
    display: flex;
    gap: 14px;
    width: calc(100vw - 40px);
    max-width: none;
    overflow-x: auto;
    padding: 4px 0 18px;
    scroll-snap-type: x mandatory;
  }

  .art-card,
  .art-card.is-tall,
  .art-card.is-offset {
    flex: 0 0 78%;
    aspect-ratio: 4 / 3;
    scroll-snap-align: start;
    transform: none;
  }

  .hero-note {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 30px;
    flex-wrap: wrap;
  }

  .button,
  .contact-link {
    width: 100%;
  }

  .button {
    min-height: 52px;
  }

  .site-footer {
    flex-direction: column;
  }
}
