:root {
  --paper: #eeede6;
  --paper-2: #f7f5ef;
  --ink: #1b211b;
  --muted: #656a61;
  --line: rgba(27, 33, 27, 0.18);
  --moss: #2f432f;
  --moss-dark: #172218;
  --acid: #d8e76b;
  --clay: #b86849;
  --white: #fffef8;
  --serif: "Bodoni MT", "SimSun", "宋体", Georgia, serif;
  --sans: "Segoe UI", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  --side: clamp(22px, 3.3vw, 54px);
  --max: 1900px;
  --ease: cubic-bezier(.22, .7, .18, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

::selection {
  color: var(--moss-dark);
  background: var(--acid);
}

img,
video,
svg {
  display: block;
}

img,
video {
  width: 100%;
}

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  cursor: pointer;
}

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

p,
h1,
h2,
h3,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.036;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1200;
  width: 100%;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--acid);
  transition: width 80ms linear;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  padding: 0 var(--side);
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: min-height 350ms var(--ease), background 350ms ease, border-color 350ms ease, color 300ms ease;
}

.site-header.scrolled,
.site-header.solid {
  min-height: 68px;
  border-color: var(--line);
  background: rgba(238, 237, 230, 0.88);
  backdrop-filter: blur(18px);
}

.site-header.on-dark {
  color: var(--white);
}

.site-header.on-dark.scrolled {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(23, 34, 24, 0.88);
}

.brand {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  justify-self: start;
}

.brand-mark {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: var(--paper);
  background: var(--moss-dark);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: -0.06em;
}

.brand-copy {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: 0.15em;
}

.brand-copy i {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
}

.desktop-nav {
  display: flex;
  gap: clamp(22px, 2.6vw, 44px);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.desktop-nav a {
  position: relative;
  padding: 7px 0;
}

.desktop-nav a::after {
  position: absolute;
  bottom: 1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-self: end;
}

.availability {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.availability span,
.hero-availability i,
.editor-status i {
  display: block;
  width: 6px;
  height: 6px;
  background: #7a964b;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(122, 150, 75, 0.13);
}

.edit-trigger {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 9px 13px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.site-header.on-dark .edit-trigger {
  color: var(--ink);
  background: var(--paper);
}

.edit-trigger svg {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 12px 9px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 300ms ease;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 990;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px var(--side) 32px;
  color: var(--white);
  background: var(--moss-dark);
  opacity: 0;
  pointer-events: none;
  transition: opacity 350ms ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu nav a {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--serif);
  font-size: clamp(38px, 10vw, 68px);
  line-height: 1;
}

.mobile-menu nav small {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.mobile-menu-foot {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.13em;
}

.section {
  position: relative;
}

.section-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding-right: var(--side);
  padding-left: var(--side);
}

.eyebrow,
.kicker,
.section-no,
.contact-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.kicker {
  color: var(--muted);
}

.section-label {
  display: flex;
  justify-content: space-between;
  padding: 20px 0 18px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.section-label.light {
  border-color: rgba(255, 255, 255, 0.24);
}

.hero {
  min-height: 100svh;
  padding: 110px var(--side) 24px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: 0;
  left: 69.3%;
  width: 1px;
  height: 100%;
  background: var(--line);
  content: "";
}

.hero-heading {
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  margin: 0 0 40px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--serif);
  font-size: clamp(88px, 13vw, 238px);
  font-weight: 400;
  line-height: 0.72;
  letter-spacing: -0.06em;
}

.title-line {
  display: block;
  white-space: nowrap;
}

.title-line:nth-child(1) {
  margin-left: -0.03em;
}

.title-line:nth-child(2) {
  margin-left: 20.8vw;
}

.title-line:nth-child(3) {
  margin-left: 42vw;
}

.title-italic {
  font-style: italic;
  letter-spacing: -0.045em;
}

.title-outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
}

.hero-lower {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 29.5vw) 15%;
  gap: 4vw;
  align-items: end;
  margin-top: clamp(-10px, -1vw, -28px);
}

.hero-intro {
  padding-bottom: 4px;
}

.hero-intro .section-no {
  display: block;
  margin-bottom: 22px;
  color: var(--muted);
}

.hero-intro p {
  max-width: 400px;
  margin-bottom: 30px;
  font-family: var(--serif);
  font-size: clamp(20px, 1.88vw, 34px);
  line-height: 1.25;
}

.text-link {
  display: inline-flex;
  gap: 15px;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.text-link svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  transition: transform 250ms var(--ease);
}

.text-link:hover svg {
  transform: translateX(5px);
}

.hero-media {
  position: relative;
  height: min(42vw, 610px);
  overflow: hidden;
  background: var(--moss);
}

.hero-media > img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.02);
  transition: transform 1.4s var(--ease);
}

.hero-media:hover > img {
  transform: scale(1.025);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 16, 10, 0.64));
  content: "";
}

.hero-media figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: var(--white);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.hero-side {
  align-self: stretch;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.portrait-stamp {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 28px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.portrait-stamp span:last-child {
  margin-top: 5px;
  font-family: var(--sans);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.25em;
}

.hero-facts {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 42px;
}

.hero-facts div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-facts span {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.hero-facts strong {
  font-size: 10px;
  font-weight: 500;
}

.vertical-note {
  position: absolute;
  right: 15px;
  bottom: 0;
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
}

.hero-side {
  position: relative;
}

.hero-foot {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.hero-foot > span:nth-child(2) {
  text-align: center;
}

.hero-availability {
  display: flex;
  gap: 10px;
  align-items: center;
}

.scroll-cue {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-self: end;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 34px;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  background: var(--ink);
  content: "";
  animation: scrollLine 2.3s infinite var(--ease);
}

@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

.marquee {
  overflow: hidden;
  padding: 17px 0 15px;
  color: var(--paper);
  background: var(--moss-dark);
}

.marquee-track {
  display: flex;
  gap: 26px;
  align-items: center;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee track {
  display: flex;
}

.marquee span {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 40px);
  letter-spacing: -0.02em;
}

.marquee i {
  color: var(--acid);
  font-size: 17px;
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.about,
.experience,
.projects {
  padding-top: 92px;
  padding-bottom: 130px;
}

.about-grid {
  display: grid;
  grid-template-columns: 38% 1fr 22%;
  gap: 5vw;
  margin-top: 76px;
}

.about-title h2,
.experience-intro h2,
.projects-heading h2,
.approach-lead h2,
.film-heading h2,
.contact-main h2 {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(48px, 6.4vw, 116px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.about-title h2 em,
.experience-intro h2 em,
.projects-heading h2 em,
.approach-lead h2 em,
.film-heading h2 em,
.contact-main h2 em {
  font-weight: 400;
}

.about-drawing {
  width: 88%;
  margin-top: 64px;
  color: var(--clay);
}

.about-drawing svg {
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 0.7;
}

.about-drawing circle {
  fill: var(--clay);
  stroke: none;
}

.about-drawing span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.about-body {
  align-self: end;
  padding-bottom: 5px;
}

.about-lead {
  max-width: 710px;
  margin-bottom: 35px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.1vw, 53px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.about-lead strong {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink);
  font-weight: 400;
}

.about-body > p:not(.about-lead) {
  max-width: 620px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.pill-link {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  padding: 13px 17px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 250ms ease, background 250ms ease;
}

.pill-link:hover {
  color: var(--paper);
  background: var(--ink);
}

.about-facts {
  padding: 12px 0 0 22px;
  border-left: 1px solid var(--line);
}

.about-facts dl {
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.about-facts dl > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-facts dt {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.about-facts dd {
  max-width: 220px;
  font-size: 11px;
  line-height: 1.5;
}

.experience {
  padding-top: 0;
}

.experience-intro {
  display: grid;
  grid-template-columns: 1fr 29%;
  gap: 10vw;
  align-items: end;
  margin: 75px 0 100px;
}

.experience-intro h2 {
  margin: 0;
}

.experience-intro p {
  max-width: 350px;
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.experience-list {
  border-bottom: 1px solid var(--line);
}

.experience-item {
  position: relative;
  display: grid;
  grid-template-columns: 17% 1fr 18%;
  gap: 4vw;
  padding: 31px 0 33px;
  border-top: 1px solid var(--line);
}

.experience-item::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transition: width 700ms var(--ease);
}

.experience-item:hover::before {
  width: 100%;
}

.exp-year {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 21px;
}

.exp-company {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.exp-main h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(27px, 2.45vw, 42px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.exp-main > p:last-child {
  max-width: 740px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.exp-meta {
  display: flex;
  gap: 7px;
  flex-direction: column;
  align-items: flex-start;
  justify-self: end;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.exp-meta span:last-child {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 7px;
}

.projects {
  color: var(--moss-dark);
  background: var(--paper-2);
}

.projects-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5vw;
  align-items: end;
  margin: 72px 0 96px;
}

.projects-heading h2 {
  max-width: 1020px;
  margin: 0;
}

.projects-heading h2 em {
  color: var(--clay);
}

.projects-filter {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 360px;
}

.projects-filter button {
  padding: 8px 11px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 9px;
  transition: border-color 200ms ease, color 200ms ease;
}

.projects-filter button:hover,
.projects-filter button.active {
  color: var(--ink);
  border-color: var(--line);
}

.projects-filter sup {
  color: var(--clay);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 20px;
  row-gap: 92px;
}

.project-card {
  position: relative;
  grid-column: span 6;
}

.project-card:nth-child(4n + 1) {
  grid-column: 1 / span 7;
}

.project-card:nth-child(4n + 2) {
  grid-column: 8 / span 5;
  padding-top: 124px;
}

.project-card:nth-child(4n + 3) {
  grid-column: 1 / span 5;
  padding-top: 76px;
}

.project-card:nth-child(4n + 4) {
  grid-column: 6 / span 7;
}

.project-card.hidden {
  display: none;
}

.project-card-button {
  display: block;
  width: 100%;
  padding: 0;
  color: inherit;
  text-align: left;
  background: none;
  cursor: pointer;
}

.project-image {
  position: relative;
  height: clamp(360px, 47vw, 760px);
  overflow: hidden;
  background: #c9cbbf;
}

.project-card:nth-child(4n + 1) .project-image,
.project-card:nth-child(4n + 4) .project-image {
  height: clamp(420px, 55vw, 880px);
}

.project-image img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.02);
  transition: transform 1.2s var(--ease), filter 600ms ease;
}

.project-card-button:hover .project-image img {
  filter: saturate(0.95) contrast(1.015);
  transform: scale(1.035);
}

.project-release {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: grid;
  width: 69px;
  height: 69px;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-size: 7px;
  letter-spacing: 0.11em;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 400ms ease, transform 400ms var(--ease);
}

.project-card-button:hover .project-release {
  opacity: 1;
  transform: scale(1);
}

.project-hover-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--ink);
  background: var(--paper-2);
  border-radius: 50%;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 350ms var(--ease), opacity 300ms ease;
}

.project-hover-arrow svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.project-card-button:hover .project-hover-arrow {
  opacity: 1;
  transform: translateY(0);
}

.project-info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding-top: 19px;
}

.project-index {
  margin-bottom: 12px;
  color: var(--clay);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.project-info h3 {
  margin-bottom: 2px;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}

.project-en {
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.project-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
  white-space: nowrap;
}

.project-meta-detail {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.project-summary {
  grid-column: 1 / -1;
  max-width: 520px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 11px;
}

.project-delete {
  display: none;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(25, 30, 25, 0.8);
  border-radius: 100px;
  font-size: 8px;
}

body.edit-mode .project-delete {
  display: block;
}

.project-sort-tools {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 6;
  display: none;
  gap: 4px;
  align-items: center;
}

body.edit-mode .project-sort-tools {
  display: flex;
}

.project-sort-tools button {
  display: grid;
  min-width: 30px;
  height: 30px;
  place-items: center;
  padding: 0 9px;
  color: var(--white);
  background: rgba(25, 30, 25, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 100px;
  font-size: 9px;
}

.project-sort-handle {
  cursor: grab;
  letter-spacing: 0.04em;
}

.project-sort-handle:active {
  cursor: grabbing;
}

.project-sort-tools button:hover {
  color: var(--ink);
  background: var(--paper);
}

.project-card.is-project-dragging {
  opacity: 0.35;
}

.project-card.is-project-drag-over .project-image {
  outline: 2px solid var(--clay);
  outline-offset: 5px;
}

.projects-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 100px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.projects-foot p {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.approach {
  padding: 102px 0 120px;
  color: var(--white);
  background: var(--moss-dark);
  overflow: hidden;
}

.approach::before {
  position: absolute;
  top: -26vw;
  right: -17vw;
  width: 62vw;
  height: 62vw;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 8vw rgba(255, 255, 255, 0.015), 0 0 0 16vw rgba(255, 255, 255, 0.012);
}

.approach-lead {
  display: grid;
  grid-template-columns: 16% 1fr;
  gap: 4vw;
  align-items: start;
  margin: 80px 0 100px;
}

.approach-lead .kicker {
  padding-top: 16px;
  color: rgba(255, 255, 255, 0.45);
}

.approach-lead h2 {
  max-width: 1150px;
  margin: 0;
}

.approach-lead h2 em {
  color: var(--acid);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.process-card {
  position: relative;
  min-height: 440px;
  padding: 26px 25px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.17);
  transition: background 400ms ease;
}

.process-card:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.process-card:hover {
  background: rgba(255, 255, 255, 0.055);
}

.process-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.45);
  font-size: 9px;
}

.process-top svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 0.8;
}

.process-card h3 {
  margin-top: 138px;
  font-family: var(--serif);
  font-size: clamp(28px, 2.4vw, 41px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.process-card p {
  max-width: 280px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  line-height: 1.75;
}

.process-en {
  position: absolute;
  right: 20px;
  bottom: 22px;
  color: var(--acid);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
}

.film {
  padding: 104px 0 0;
  background: #d5d7cd;
}

.film-heading {
  display: grid;
  grid-template-columns: 16% 1fr;
  gap: 4vw;
  padding-bottom: 80px;
}

.film-heading .section-label {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: space-between;
  padding-top: 20px;
}

.film-heading > div:last-child {
  display: grid;
  grid-template-columns: 22% 1fr;
  gap: 2vw;
  align-items: start;
}

.film-heading .kicker {
  padding-top: 11px;
}

.film-heading h2 {
  margin: 0;
}

.film-stage {
  position: relative;
  height: min(67vw, 970px);
  overflow: hidden;
  color: var(--white);
  background: var(--moss-dark);
}

.film-stage video {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.55) contrast(1.05);
}

.film-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 13, 8, 0.15), rgba(8, 13, 8, 0.05) 48%, rgba(8, 13, 8, 0.65)),
    radial-gradient(circle at center, transparent 0, rgba(8, 13, 8, 0.2) 72%);
}

.film-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: flex;
  gap: 19px;
  align-items: center;
  color: var(--white);
  background: transparent;
  transform: translate(-50%, -50%);
}

.play-icon {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  backdrop-filter: blur(7px);
  transition: color 300ms ease, background 300ms ease, transform 350ms var(--ease);
}

.play-icon svg {
  width: 27px;
  fill: currentColor;
}

.film-play:hover .play-icon {
  color: var(--ink);
  background: var(--acid);
  transform: scale(1.07);
}

.play-label {
  text-align: left;
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.14em;
}

.film-stage.is-playing .film-play {
  opacity: 0;
  pointer-events: none;
}

.film-caption {
  position: absolute;
  right: var(--side);
  bottom: 27px;
  left: var(--side);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0.1em;
}

.contact {
  padding-top: 110px;
  overflow: hidden;
  background: var(--paper);
}

.contact-orb {
  position: absolute;
  top: 18%;
  right: -11vw;
  width: 36vw;
  height: 36vw;
  background: var(--acid);
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.75;
}

.contact-inner {
  position: relative;
}

.contact-main {
  max-width: 1100px;
  margin: 100px 0 120px;
}

.contact-main h2 {
  margin: 20px 0 52px;
  font-size: clamp(70px, 10.5vw, 190px);
  line-height: 0.82;
}

.contact-main h2 em {
  color: var(--clay);
}

.contact-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.email-link {
  display: inline-flex;
  gap: 26px;
  align-items: center;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--serif);
  font-size: clamp(25px, 3.2vw, 52px);
  line-height: 1;
  letter-spacing: -0.025em;
}

.email-link svg {
  width: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  transition: transform 300ms var(--ease);
}

.email-link:hover svg {
  transform: translate(5px, -5px);
}

.copy-mail {
  padding: 10px 14px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.contact-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4vw;
  padding: 28px 0 100px;
  border-top: 1px solid var(--line);
}

.contact-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 7px;
}

.contact-bottom p {
  font-size: 12px;
}

.social-links {
  display: flex;
  gap: 22px;
  justify-content: flex-end;
  align-items: flex-start;
  font-size: 10px;
}

.social-links a {
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}

.social-links a:hover {
  border-color: currentColor;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 19px var(--side);
  color: rgba(255, 255, 255, 0.65);
  background: var(--moss-dark);
  font-size: 8px;
  letter-spacing: 0.11em;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  color: var(--ink);
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translateY(2%);
  transition: opacity 400ms ease, visibility 400ms ease, transform 500ms var(--ease);
}

.project-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.modal-close {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 2100;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 15px;
  color: var(--paper);
  background: rgba(23, 34, 24, 0.93);
  border-radius: 100px;
  backdrop-filter: blur(10px);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.modal-close svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.modal-scroll {
  height: 100%;
  overflow-y: auto;
}

.modal-hero {
  position: relative;
  color: var(--white);
}

.modal-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 8, 0.18), transparent 40%, rgba(8, 12, 8, 0.68));
  content: "";
  pointer-events: none;
}

.modal-image {
  height: min(77vh, 950px);
  min-height: 540px;
  overflow: hidden;
}

.modal-image img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75);
}

.modal-project-no {
  position: absolute;
  top: 32px;
  left: var(--side);
  z-index: 3;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.modal-title-block {
  position: absolute;
  right: var(--side);
  bottom: clamp(28px, 5vw, 78px);
  left: var(--side);
  z-index: 3;
}

.modal-title-block > p:first-child {
  margin-bottom: 14px;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.modal-title-block h2 {
  font-family: var(--serif);
  font-size: clamp(70px, 11vw, 195px);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.055em;
}

.modal-en {
  margin-top: 20px;
  font-size: 10px;
  letter-spacing: 0.2em;
}

.modal-body {
  display: grid;
  grid-template-columns: 25% 1fr;
  gap: 9vw;
  padding: 80px var(--side) 120px;
}

.modal-facts {
  align-self: start;
  padding-top: 10px;
}

.modal-facts dl {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-facts dl > div {
  display: grid;
  grid-template-columns: 70px 1fr;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}

.modal-facts dt {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.modal-facts dd {
  font-size: 10px;
}

.modal-delete-project {
  display: none;
  width: 100%;
  margin-top: 30px;
  padding: 16px 0;
  align-items: center;
  justify-content: space-between;
  color: var(--clay);
  background: transparent;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
}

body.edit-mode .modal-delete-project {
  display: flex;
}

.modal-delete-project span {
  font-size: 8px;
  letter-spacing: 0.1em;
}

.modal-delete-project strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}

.modal-delete-project:hover {
  color: #8d342a;
}

.modal-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 6vw;
}

.modal-story p {
  max-width: 500px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.modal-story blockquote {
  grid-column: 1 / -1;
  max-width: 1100px;
  padding: 38px 0 38px 7vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(35px, 5vw, 82px);
  font-style: italic;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.modal-next {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 30px;
  align-items: center;
  width: 100%;
  padding: 30px var(--side);
  color: var(--paper);
  background: var(--moss-dark);
  text-align: left;
}

.modal-next span {
  font-size: 8px;
  letter-spacing: 0.12em;
}

.modal-next strong {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 62px);
  font-weight: 400;
}

.modal-next svg {
  width: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  transition: transform 250ms var(--ease);
}

.modal-next:hover svg {
  transform: translateX(7px);
}

.editor-panel {
  position: fixed;
  top: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2200;
  width: min(400px, calc(100vw - 28px));
  padding: 28px;
  color: var(--paper);
  background: #1a211b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: opacity 300ms ease, visibility 300ms ease, transform 400ms var(--ease);
  overflow-y: auto;
}

.editor-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.editor-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.editor-kicker {
  color: var(--acid);
  font-size: 7px;
  letter-spacing: 0.14em;
}

.editor-panel h2 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.editor-close {
  width: 30px;
  height: 30px;
  color: var(--paper);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
}

.editor-help {
  margin: 26px 0 23px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  line-height: 1.7;
}

.editor-mode-switch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 13px 15px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 10px;
}

.editor-mode-switch i {
  position: relative;
  display: block;
  width: 37px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
}

.editor-mode-switch i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  background: var(--paper);
  border-radius: 50%;
  content: "";
  transition: transform 250ms var(--ease), background 250ms ease;
}

.editor-mode-switch.on i {
  background: var(--acid);
}

.editor-mode-switch.on i::after {
  background: var(--moss-dark);
  transform: translateX(17px);
}

.editor-divider {
  height: 1px;
  margin: 24px 0;
  background: rgba(255, 255, 255, 0.12);
}

.editor-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.editor-actions button {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  min-height: 82px;
  padding: 15px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  transition: border-color 200ms ease, background 200ms ease;
}

.editor-actions button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.27);
}

.editor-actions span {
  font-size: 10px;
}

.editor-actions small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 8px;
}

.cloud-sync-panel {
  margin-top: 22px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cloud-sync-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.cloud-sync-head > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cloud-sync-head strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

.cloud-status {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding-top: 3px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 8px;
  white-space: nowrap;
}

.cloud-status i {
  width: 6px;
  height: 6px;
  background: #b18b62;
  border-radius: 50%;
}

.cloud-status.online {
  color: var(--sage);
}

.cloud-status.online i {
  background: var(--sage);
  box-shadow: 0 0 0 4px rgba(174, 185, 164, 0.12);
}

.cloud-status.error {
  color: #d7a08a;
}

.cloud-status.error i {
  background: #d7a08a;
}

.cloud-login-row,
.cloud-actions-row {
  display: flex;
  gap: 6px;
  margin-top: 13px;
}

.cloud-login-row input {
  min-width: 0;
  flex: 1;
  padding: 9px 10px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  outline: 0;
  font-size: 9px;
}

.cloud-login-row input:focus {
  border-color: rgba(255, 255, 255, 0.4);
}

.cloud-login-row button,
.cloud-actions-row button {
  padding: 9px 11px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 8px;
  white-space: nowrap;
}

.cloud-login-row button {
  color: var(--ink);
  background: var(--sage);
}

.cloud-actions-row button:first-child {
  flex: 1;
}

.cloud-sync-panel p {
  margin-top: 11px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 8px;
  line-height: 1.6;
}

.editor-status {
  position: absolute;
  right: 28px;
  bottom: 24px;
  left: 28px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.42);
  font-size: 8px;
}

.editor-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  z-index: 1800;
  display: flex;
  gap: 30px;
  align-items: center;
  padding: 8px 8px 8px 16px;
  color: var(--paper);
  background: rgba(23, 34, 24, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 20px);
  transition: opacity 250ms ease, visibility 250ms ease, transform 350ms var(--ease);
}

.editor-bar.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.editor-bar > span {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 9px;
  white-space: nowrap;
}

.editor-bar > span i {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--acid);
  border-radius: 50%;
}

.editor-bar div {
  display: flex;
  gap: 4px;
}

.editor-bar button {
  padding: 8px 12px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  font-size: 8px;
}

.editor-bar button:last-child {
  color: var(--ink);
  background: var(--acid);
}

body.edit-mode [data-edit],
body.edit-mode [data-project-edit],
body.edit-mode #modalTitle,
body.edit-mode #modalEn,
body.edit-mode #modalCategory,
body.edit-mode #modalContext,
body.edit-mode #modalResponse,
body.edit-mode #modalQuote {
  outline: 1px dashed rgba(184, 104, 73, 0.7);
  outline-offset: 3px;
  cursor: text;
}

body.edit-mode [data-edit]:focus,
body.edit-mode [data-project-edit]:focus,
body.edit-mode #modalTitle:focus,
body.edit-mode #modalEn:focus,
body.edit-mode #modalContext:focus,
body.edit-mode #modalResponse:focus,
body.edit-mode #modalQuote:focus {
  outline: 2px solid var(--clay);
  background: rgba(255, 255, 255, 0.22);
}

.media-tools {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 20;
  display: none;
  gap: 5px;
}

body.edit-mode .media-tools {
  display: flex;
}

.media-tools button {
  padding: 7px 9px;
  color: var(--paper);
  background: rgba(23, 34, 24, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 100px;
  font-size: 7px;
  backdrop-filter: blur(6px);
}

.create-modal {
  position: fixed;
  inset: 0;
  z-index: 2300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(12, 17, 12, 0.78);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.create-modal.open {
  opacity: 1;
  visibility: visible;
}

.create-form {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: clamp(28px, 5vw, 56px);
  background: var(--paper);
}

.create-form .create-close {
  top: 18px;
  right: 18px;
}

.create-form h2 {
  margin: 11px 0 11px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 400;
  line-height: 1;
}

.create-form > p {
  max-width: 540px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 11px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  font-size: 11px;
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  border-color: var(--ink);
}

.form-wide {
  grid-column: 1 / -1;
}

.submit-project {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 24px;
  padding: 15px 17px;
  color: var(--paper);
  background: var(--moss-dark);
  font-size: 10px;
}

.toast {
  position: fixed;
  z-index: 3000;
  bottom: 26px;
  left: 50%;
  padding: 11px 18px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 100px;
  font-size: 9px;
  letter-spacing: 0.03em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 250ms ease, transform 300ms var(--ease);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 850ms var(--ease), transform 850ms var(--ease);
}

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

.reveal:nth-child(2) {
  transition-delay: 70ms;
}

.reveal:nth-child(3) {
  transition-delay: 130ms;
}

.reveal:nth-child(4) {
  transition-delay: 190ms;
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 20px;
  }

  .availability {
    display: none;
  }

  .hero-lower {
    grid-template-columns: 1fr 38% 13%;
  }

  .hero-title {
    font-size: 12.5vw;
  }

  .about-grid {
    grid-template-columns: 34% 1fr;
  }

  .about-facts {
    grid-column: 2;
    display: flex;
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .about-facts dl {
    flex-direction: row;
    gap: 6vw;
    flex-wrap: wrap;
  }

  .process-card {
    min-height: 390px;
  }
}

@media (max-width: 900px) {
  :root {
    --side: 22px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 68px;
  }

  .desktop-nav,
  .edit-trigger span {
    display: none;
  }

  .edit-trigger {
    width: 38px;
    height: 38px;
    justify-content: center;
    padding: 0;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 105px;
  }

  .hero::before {
    display: none;
  }

  .hero-title {
    font-size: 18vw;
    line-height: 0.77;
  }

  .title-line:nth-child(2) {
    margin-left: 13vw;
  }

  .title-line:nth-child(3) {
    margin-left: 24vw;
  }

  .hero-lower {
    grid-template-columns: 1fr 1.25fr;
    gap: 22px;
    align-items: stretch;
    margin-top: 34px;
  }

  .hero-intro {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px 0;
  }

  .hero-intro p {
    font-size: 24px;
  }

  .hero-media {
    height: 53vw;
  }

  .hero-side {
    display: none;
  }

  .hero-foot {
    grid-template-columns: 1fr auto;
  }

  .hero-foot > span:nth-child(2) {
    display: none;
  }

  .about,
  .experience,
  .projects {
    padding-top: 70px;
    padding-bottom: 90px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 45px;
    margin-top: 50px;
  }

  .about-drawing {
    width: 55%;
    margin-top: 35px;
  }

  .about-body {
    max-width: 720px;
  }

  .about-facts {
    grid-column: auto;
  }

  .experience-intro {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 55px 0 65px;
  }

  .experience-item {
    grid-template-columns: 22% 1fr;
  }

  .exp-meta {
    grid-column: 2;
    flex-direction: row;
    justify-self: start;
  }

  .projects-heading {
    grid-template-columns: 1fr;
    margin: 54px 0 65px;
  }

  .projects-filter {
    justify-content: flex-start;
    max-width: none;
    margin-top: 25px;
  }

  .project-grid {
    row-gap: 65px;
  }

  .project-card,
  .project-card:nth-child(4n + 1),
  .project-card:nth-child(4n + 2),
  .project-card:nth-child(4n + 3),
  .project-card:nth-child(4n + 4) {
    grid-column: span 6;
    padding-top: 0;
  }

  .project-card:nth-child(4n + 1) .project-image,
  .project-card:nth-child(4n + 4) .project-image {
    height: 54vw;
  }

  .approach {
    padding: 75px 0 85px;
  }

  .approach-lead {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 55px 0 60px;
  }

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

  .process-card:nth-child(2) {
    border-right: 0;
  }

  .process-card:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.17);
  }

  .film {
    padding-top: 75px;
  }

  .film-heading {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-bottom: 55px;
  }

  .film-heading .section-label {
    flex-direction: row;
  }

  .film-heading > div:last-child {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .film-stage {
    height: 70vw;
  }

  .contact-main {
    margin: 70px 0 90px;
  }

  .contact-bottom {
    grid-template-columns: 1fr 1fr;
  }

  .social-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .modal-body {
    grid-template-columns: 1fr;
    gap: 55px;
    padding-top: 55px;
  }

  .modal-facts dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 14px;
  }

  .brand-copy {
    display: none;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .header-actions {
    grid-column: 3;
  }

  .hero .eyebrow {
    margin-bottom: 28px;
  }

  .hero-title {
    font-size: 20vw;
  }

  .title-line:nth-child(2) {
    margin-left: 8vw;
  }

  .title-line:nth-child(3) {
    margin-left: 17vw;
  }

  .hero-lower {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .hero-intro {
    gap: 25px;
    order: 2;
  }

  .hero-media {
    height: 72vw;
  }

  .hero-foot {
    margin-top: 24px;
  }

  .scroll-cue span {
    display: none;
  }

  .marquee {
    padding: 11px 0 10px;
  }

  .marquee span {
    font-size: 20px;
  }

  .section-shell {
    padding-right: 18px;
    padding-left: 18px;
  }

  .section-label {
    padding-top: 15px;
  }

  .about-title h2,
  .experience-intro h2,
  .projects-heading h2,
  .approach-lead h2,
  .film-heading h2 {
    font-size: 46px;
  }

  .about-drawing {
    width: 78%;
  }

  .about-lead {
    font-size: 30px;
  }

  .about-facts dl {
    gap: 23px 12vw;
  }

  .experience-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 25px 0;
  }

  .exp-year {
    font-size: 17px;
  }

  .exp-main h3 {
    font-size: 31px;
  }

  .exp-meta {
    grid-column: auto;
  }

  .project-grid {
    display: flex;
    flex-direction: column;
    gap: 58px;
  }

  .project-card .project-image,
  .project-card:nth-child(4n + 1) .project-image,
  .project-card:nth-child(4n + 4) .project-image {
    height: 100vw;
  }

  .project-info {
    gap: 10px;
  }

  .project-info h3 {
    font-size: 35px;
  }

  .project-meta {
    font-size: 8px;
  }

  .project-summary {
    font-size: 10px;
  }

  .projects-foot {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }

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

  .process-card {
    min-height: 330px;
    border-left: 1px solid rgba(255, 255, 255, 0.17);
    border-right: 0;
  }

  .process-card + .process-card {
    border-top: 1px solid rgba(255, 255, 255, 0.17);
  }

  .process-card h3 {
    margin-top: 80px;
  }

  .film-stage {
    height: 100vw;
  }

  .play-icon {
    width: 83px;
    height: 83px;
  }

  .film-caption {
    right: 18px;
    bottom: 18px;
    left: 18px;
    gap: 20px;
    font-size: 7px;
  }

  .film-caption span:first-child {
    max-width: 170px;
  }

  .contact {
    padding-top: 75px;
  }

  .contact-orb {
    top: 12%;
    right: -22vw;
    width: 70vw;
    height: 70vw;
  }

  .contact-main {
    margin-top: 58px;
  }

  .contact-main h2 {
    margin: 18px 0 37px;
    font-size: 19vw;
  }

  .contact-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .email-link {
    gap: 10px;
    font-size: 24px;
  }

  .contact-bottom {
    gap: 28px;
    padding-bottom: 70px;
  }

  .social-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .site-footer {
    gap: 20px;
    flex-wrap: wrap;
    padding: 16px 18px;
  }

  .site-footer span:nth-child(2) {
    display: none;
  }

  .modal-close {
    top: 14px;
    right: 14px;
  }

  .modal-close span {
    display: none;
  }

  .modal-image {
    min-height: 480px;
    height: 72vh;
  }

  .modal-project-no {
    top: 22px;
    left: 18px;
  }

  .modal-title-block {
    right: 18px;
    bottom: 28px;
    left: 18px;
  }

  .modal-title-block h2 {
    font-size: 20vw;
  }

  .modal-body {
    padding: 42px 18px 70px;
  }

  .modal-facts dl {
    grid-template-columns: 1fr;
  }

  .modal-story {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .modal-story blockquote {
    padding-left: 0;
    font-size: 39px;
  }

  .modal-next {
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 22px 18px;
  }

  .modal-next span {
    grid-column: 1;
  }

  .modal-next strong {
    grid-column: 1;
    font-size: 34px;
  }

  .modal-next svg {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .editor-panel {
    top: 8px;
    right: 8px;
    bottom: 8px;
    width: calc(100vw - 16px);
    padding: 23px;
  }

  .editor-bar {
    right: 8px;
    bottom: 8px;
    left: 8px;
    justify-content: space-between;
    width: auto;
    gap: 8px;
    transform: translateY(20px);
  }

  .editor-bar.show {
    transform: translateY(0);
  }

  .editor-bar > span {
    max-width: 150px;
    white-space: normal;
    line-height: 1.3;
  }

  .editor-bar button {
    padding: 8px;
  }

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

  .form-wide {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

@media print {
  .site-header,
  .hero-media,
  .marquee,
  .projects-filter,
  .film,
  .editor-panel,
  .editor-bar,
  .modal-close {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero {
    min-height: auto;
  }

  .project-card {
    break-inside: avoid;
  }
}

html.public-site #editToggle,
html.public-site #editorPanel,
html.public-site #editorBar,
html.public-site #textToolbar,
html.public-site .media-tools,
html.public-site .project-sort-tools,
html.public-site .project-delete,
html.public-site .project-add-card,
html.public-site .modal-delete-project {
  display: none !important;
}

/* ─────────────────────────────────────────────────────────────
   ART DIRECTION REFINEMENT / EDITORIAL LANDSCAPE PORTFOLIO
   A quieter, more material palette with sharper hierarchy.
   ───────────────────────────────────────────────────────────── */

:root {
  --paper: #f0eee7;
  --paper-2: #f6f4ed;
  --ink: #171b17;
  --muted: #676c64;
  --line: rgba(23, 27, 23, 0.14);
  --moss: #364238;
  --moss-dark: #111711;
  --acid: #c8cdb7;
  --sage: #aeb9a4;
  --brass: #a38d6e;
  --clay: #8d624a;
  --white: #fbf9f0;
  --serif: "Bodoni MT", "SimSun", "宋体", Georgia, serif;
  --sans: "Segoe UI", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  --side: clamp(22px, 3.2vw, 58px);
}

body {
  letter-spacing: 0.008em;
  background: var(--paper);
}

::selection {
  color: var(--white);
  background: var(--moss);
}

.scroll-progress span {
  background: var(--brass);
}

.site-header {
  min-height: 78px;
  color: var(--white);
  background: transparent;
}

.site-header.scrolled {
  min-height: 66px;
  color: var(--ink);
  background: rgba(240, 238, 231, 0.92);
}

.site-header.on-dark {
  color: var(--white);
}

.site-header.on-dark.scrolled {
  color: var(--white);
  background: rgba(17, 23, 17, 0.92);
}

.brand {
  gap: 14px;
}

.brand-mark {
  width: 39px;
  height: 39px;
  color: currentColor;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 0;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 300ms ease, border-color 300ms ease;
}

.site-header.scrolled:not(.on-dark) .brand-mark {
  border-color: rgba(23, 27, 23, 0.3);
}

.brand-copy {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.brand-copy i {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0;
}

.desktop-nav {
  gap: clamp(24px, 3vw, 48px);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.13em;
}

.desktop-nav a {
  color: rgba(251, 249, 240, 0.74);
}

.site-header.scrolled:not(.on-dark) .desktop-nav a {
  color: rgba(23, 27, 23, 0.66);
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: currentColor;
}

.availability {
  color: rgba(251, 249, 240, 0.68);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.site-header.scrolled:not(.on-dark) .availability {
  color: var(--muted);
}

.availability span,
.hero-availability i,
.editor-status i {
  width: 5px;
  height: 5px;
  background: var(--sage);
  box-shadow: none;
}

.edit-trigger {
  padding: 9px 14px;
  color: var(--ink);
  background: var(--white);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.site-header.scrolled:not(.on-dark) .edit-trigger {
  color: var(--white);
  background: var(--ink);
}

.site-header.on-dark .edit-trigger {
  color: var(--ink);
  background: var(--white);
}

.mobile-menu {
  background: var(--moss-dark);
}

.mobile-menu nav a {
  font-family: var(--serif);
  font-size: clamp(42px, 11vw, 72px);
  font-weight: 400;
}

.hero {
  min-height: 100svh;
  padding: 0 var(--side) 16px;
  color: var(--white);
  background: var(--moss-dark);
}

.hero::before {
  display: none;
}

.hero-frame {
  display: flex;
  flex-direction: column;
  height: calc(100svh - 16px);
  min-height: 720px;
}

.hero-media {
  position: relative;
  flex: 1;
  height: auto;
  min-height: 560px;
  margin-top: 78px;
  overflow: hidden;
  background: #273027;
}

.hero-media::after {
  display: none;
}

.hero-media > img {
  height: 100%;
  object-fit: cover;
  object-position: 55% 52%;
  filter: saturate(0.64) contrast(1.08) brightness(0.82);
  transform: scale(1.035);
}

.hero-media:hover > img {
  filter: saturate(0.7) contrast(1.07) brightness(0.84);
  transform: scale(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(9, 13, 9, 0.42) 0%, rgba(9, 13, 9, 0.03) 35%, rgba(9, 13, 9, 0.14) 55%, rgba(9, 13, 9, 0.8) 100%),
    linear-gradient(90deg, rgba(9, 13, 9, 0.34), transparent 58%);
  pointer-events: none;
}

.hero-topline {
  position: absolute;
  top: 27px;
  right: 34px;
  left: 34px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  color: rgba(251, 249, 240, 0.7);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-topline p:first-child {
  display: flex;
  gap: 18px;
  align-items: center;
}

.hero-monogram {
  color: var(--white);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.01em;
}

.hero-content {
  position: absolute;
  right: 32px;
  bottom: 57px;
  left: 34px;
  z-index: 3;
}

.hero-kicker {
  margin-bottom: 18px;
  color: rgba(251, 249, 240, 0.64);
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-content h1 {
  display: flex;
  flex-direction: column;
  max-width: 1140px;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(80px, 9.7vw, 174px);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero-content h1 em {
  margin-left: 10.5vw;
  color: #d5d8ca;
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
}

.hero-summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 980px;
  margin-top: 27px;
}

.hero-summary > p {
  max-width: 390px;
  color: rgba(251, 249, 240, 0.76);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.75;
}

.light-link {
  flex: 0 0 auto;
  color: var(--white);
  font-weight: 400;
}

.light-link svg {
  width: 24px;
}

.hero-profile {
  position: absolute;
  top: 93px;
  right: 34px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 238px;
  padding: 0 0 0 17px;
  border-left: 1px solid rgba(251, 249, 240, 0.34);
}

.profile-label {
  color: rgba(251, 249, 240, 0.52);
  font-size: 7px;
  letter-spacing: 0.16em;
}

.hero-profile strong {
  color: var(--white);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.hero-profile > p {
  color: rgba(251, 249, 240, 0.64);
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.hero-availability {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 6px;
  color: rgba(251, 249, 240, 0.72);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.hero-caption {
  position: absolute;
  right: 34px;
  bottom: 21px;
  left: 34px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  color: rgba(251, 249, 240, 0.56);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.hero-foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 43px;
  margin-top: 0;
  padding-top: 14px;
  color: rgba(251, 249, 240, 0.48);
  border-top: 1px solid rgba(251, 249, 240, 0.14);
  font-size: 7px;
  letter-spacing: 0.13em;
}

.hero-foot > span:nth-child(2) {
  display: none;
}

.hero-foot > span:last-child {
  justify-self: end;
}

.scroll-cue {
  justify-self: center;
  color: rgba(251, 249, 240, 0.7);
}

.scroll-cue i {
  width: 42px;
  background: rgba(251, 249, 240, 0.2);
}

.scroll-cue i::after {
  background: var(--white);
}

.marquee {
  padding: 13px 0 12px;
  color: rgba(251, 249, 240, 0.54);
  background: var(--moss-dark);
  border-top: 1px solid rgba(251, 249, 240, 0.08);
}

.marquee-track {
  gap: 28px;
}

.marquee span {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.17em;
}

.marquee i {
  color: var(--brass);
  font-size: 9px;
}

.section-label {
  padding: 17px 0 16px;
  color: var(--muted);
  border-top-color: var(--line);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.14em;
}

.section-label.light {
  color: rgba(251, 249, 240, 0.52);
}

.eyebrow,
.kicker,
.section-no,
.contact-label {
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.15em;
}

.kicker {
  color: var(--muted);
}

.about,
.experience,
.projects {
  padding-top: 82px;
  padding-bottom: 118px;
}

.about-grid {
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.45fr) minmax(180px, 0.55fr);
  gap: clamp(32px, 5vw, 90px);
  margin-top: 68px;
}

.about-title h2,
.experience-intro h2,
.projects-heading h2,
.approach-lead h2,
.film-heading h2 {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(46px, 5.35vw, 92px);
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -0.045em;
}

.about-title h2 em {
  color: var(--clay);
}

.about-drawing {
  width: 76%;
  margin-top: 54px;
  color: var(--brass);
  opacity: 0.72;
}

.about-drawing svg {
  stroke-width: 0.55;
}

.about-drawing circle {
  fill: var(--brass);
}

.about-lead {
  max-width: 650px;
  margin-bottom: 30px;
  font-size: clamp(27px, 2.6vw, 45px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.about-lead strong {
  border-bottom-color: var(--brass);
}

.about-body > p:not(.about-lead) {
  max-width: 580px;
  margin-bottom: 32px;
  font-size: 12.5px;
  line-height: 1.9;
}

.pill-link {
  padding: 11px 16px;
  border-color: rgba(23, 27, 23, 0.4);
  font-size: 9px;
  font-weight: 400;
}

.pill-link:hover {
  border-color: var(--moss-dark);
  background: var(--moss-dark);
}

.about-facts {
  padding-left: 18px;
}

.about-facts dl {
  gap: 21px;
}

.about-facts dt {
  color: var(--brass);
  font-size: 7px;
}

.about-facts dd {
  font-size: 10px;
}

.experience {
  padding-top: 0;
}

.experience-intro {
  grid-template-columns: minmax(460px, 1fr) minmax(240px, 29%);
  margin: 67px 0 86px;
}

.experience-intro p {
  max-width: 330px;
  font-size: 12px;
}

.experience-item {
  grid-template-columns: 16% 1fr 17%;
  padding: 28px 0 30px;
}

.exp-year {
  color: var(--brass);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.exp-company {
  color: var(--brass);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.exp-main h3 {
  margin-bottom: 10px;
  font-size: clamp(26px, 2.15vw, 37px);
  letter-spacing: -0.03em;
}

.exp-main > p:last-child {
  max-width: 700px;
  font-size: 11px;
  line-height: 1.75;
}

.exp-meta span:last-child {
  border-color: rgba(23, 27, 23, 0.18);
  color: var(--muted);
}

.projects {
  background: var(--paper-2);
}

.projects-heading {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 310px);
  margin: 64px 0 80px;
}

.projects-heading h2 {
  font-size: clamp(48px, 5.75vw, 102px);
  line-height: 0.96;
}

.projects-heading h2 em {
  color: var(--clay);
}

.projects-filter {
  gap: 3px;
  flex-direction: column;
  align-items: flex-end;
}

.projects-filter button {
  padding: 5px 0 5px 20px;
  color: var(--muted);
  border: 0;
  border-radius: 0;
  font-size: 8px;
  letter-spacing: 0.06em;
}

.projects-filter button::before {
  display: inline-block;
  width: 0;
  height: 1px;
  margin-right: 0;
  background: var(--ink);
  vertical-align: middle;
  content: "";
  transition: width 250ms var(--ease), margin 250ms var(--ease);
}

.projects-filter button:hover,
.projects-filter button.active {
  color: var(--ink);
  border: 0;
}

.projects-filter button.active::before {
  width: 17px;
  margin-right: 8px;
}

.projects-filter sup {
  margin-left: 5px;
  color: var(--brass);
}

.project-grid {
  column-gap: clamp(18px, 2.2vw, 38px);
  row-gap: clamp(70px, 8vw, 126px);
}

.project-card:nth-child(4n + 1) {
  grid-column: 1 / span 7;
}

.project-card:nth-child(4n + 2) {
  grid-column: 8 / span 5;
  padding-top: 126px;
}

.project-card:nth-child(4n + 3) {
  grid-column: 1 / span 5;
  padding-top: 55px;
}

.project-card:nth-child(4n + 4) {
  grid-column: 6 / span 7;
}

.project-image,
.project-card:nth-child(4n + 1) .project-image,
.project-card:nth-child(4n + 4) .project-image {
  height: clamp(370px, 48vw, 760px);
  background: #d2d1c8;
}

.project-card:nth-child(4n + 2) .project-image,
.project-card:nth-child(4n + 3) .project-image {
  height: clamp(330px, 41vw, 650px);
}

.project-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 17, 12, 0.06), transparent 30%, rgba(12, 17, 12, 0.16));
  content: "";
  pointer-events: none;
}

.project-image img {
  filter: saturate(0.58) contrast(1.04) brightness(0.93);
}

.project-card-button:hover .project-image img {
  filter: saturate(0.72) contrast(1.035) brightness(0.96);
}

.project-release {
  width: 62px;
  height: 62px;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(17, 23, 17, 0.12);
  backdrop-filter: blur(5px);
}

.project-hover-arrow {
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--moss-dark);
}

.project-info {
  padding-top: 16px;
  border-top: 1px solid rgba(23, 27, 23, 0.18);
}

.project-index {
  margin-bottom: 10px;
  color: var(--brass);
  font-size: 7px;
}

.project-info h3 {
  font-size: clamp(31px, 2.75vw, 43px);
}

.project-en {
  color: var(--brass);
  font-size: 7px;
}

.project-meta {
  color: var(--muted);
  font-size: 8px;
}

.project-summary {
  max-width: 480px;
  font-size: 10px;
  line-height: 1.75;
}

.projects-foot {
  margin-top: 82px;
}

.projects-foot p {
  font-size: 8px;
}

.approach {
  padding: 86px 0 104px;
  background: #1a211b;
}

.approach::before {
  top: -32vw;
  right: -20vw;
  width: 70vw;
  height: 70vw;
  border-color: rgba(251, 249, 240, 0.055);
  box-shadow: 0 0 0 9vw rgba(251, 249, 240, 0.012), 0 0 0 18vw rgba(251, 249, 240, 0.008);
}

.approach-lead {
  grid-template-columns: 16% 1fr;
  margin: 65px 0 79px;
}

.approach-lead h2 {
  max-width: 1040px;
  color: var(--white);
  font-size: clamp(42px, 4.35vw, 76px);
  line-height: 1.02;
}

.approach-lead h2 em {
  color: var(--sage);
}

.approach-lead .kicker {
  color: rgba(251, 249, 240, 0.36);
}

.process-card {
  min-height: 378px;
  padding: 23px 22px 27px;
}

.process-card:hover {
  background: rgba(251, 249, 240, 0.035);
}

.process-top svg {
  width: 38px;
  height: 38px;
  stroke: rgba(251, 249, 240, 0.34);
}

.process-card h3 {
  margin-top: 120px;
  font-size: clamp(27px, 2.1vw, 36px);
}

.process-card p {
  margin-top: 17px;
  color: rgba(251, 249, 240, 0.52);
  font-size: 10px;
}

.process-en {
  right: 19px;
  bottom: 19px;
  color: var(--brass);
  font-size: 14px;
}

.film {
  padding-top: 82px;
  color: var(--white);
  background: var(--moss-dark);
}

.film-heading {
  padding-bottom: 65px;
}

.film-heading h2 {
  color: var(--white);
  font-size: clamp(46px, 5vw, 88px);
}

.film-heading h2 em {
  color: var(--sage);
}

.film-heading .kicker,
.film-heading .section-label {
  color: rgba(251, 249, 240, 0.48);
}

.film-heading .section-label {
  border-top-color: rgba(251, 249, 240, 0.14);
}

.film-stage {
  height: min(69vw, 930px);
}

.film-stage video {
  filter: saturate(0.47) contrast(1.08) brightness(0.78);
}

.film-overlay {
  background: linear-gradient(180deg, rgba(8, 12, 8, 0.25), rgba(8, 12, 8, 0.02) 48%, rgba(8, 12, 8, 0.72));
}

.play-icon {
  width: 100px;
  height: 100px;
  border-color: rgba(251, 249, 240, 0.48);
}

.film-play:hover .play-icon {
  color: var(--ink);
  background: var(--sage);
}

.film-caption {
  color: rgba(251, 249, 240, 0.62);
}

.contact {
  padding-top: 92px;
  background: var(--paper);
}

.contact-orb {
  top: 15%;
  right: -13vw;
  width: 40vw;
  height: 40vw;
  background: transparent;
  border: 1px solid rgba(54, 66, 56, 0.15);
  box-shadow:
    0 0 0 5vw rgba(54, 66, 56, 0.022),
    0 0 0 10vw rgba(54, 66, 56, 0.018),
    0 0 0 15vw rgba(54, 66, 56, 0.012);
  opacity: 1;
}

.contact-main {
  max-width: 1080px;
  margin: 84px 0 105px;
}

.contact-main h2 {
  margin: 19px 0 46px;
  font-size: clamp(66px, 8.8vw, 158px);
  line-height: 0.86;
  letter-spacing: -0.05em;
}

.contact-main h2 em {
  color: var(--clay);
}

.email-link {
  gap: 20px;
  border-bottom-color: rgba(23, 27, 23, 0.38);
  font-size: clamp(25px, 3vw, 45px);
  font-weight: 400;
}

.copy-mail {
  color: var(--muted);
  border-color: var(--line);
}

.contact-bottom {
  padding: 25px 0 88px;
}

.contact-bottom p,
.social-links {
  font-size: 10px;
}

.site-footer {
  color: rgba(251, 249, 240, 0.48);
  background: var(--moss-dark);
}

.project-modal {
  background: var(--paper);
}

.modal-close {
  color: var(--paper);
  background: rgba(17, 23, 17, 0.9);
}

.modal-title-block h2 {
  font-size: clamp(68px, 9.5vw, 168px);
}

.modal-en,
.modal-title-block > p:first-child {
  color: rgba(251, 249, 240, 0.72);
}

.modal-next {
  background: var(--moss-dark);
}

.editor-kicker {
  color: var(--brass);
}

.editor-mode-switch.on i,
.editor-bar button:last-child {
  color: var(--moss-dark);
  background: var(--sage);
}

.editor-bar > span i {
  background: var(--sage);
}

body.edit-mode [data-edit],
body.edit-mode [data-project-edit],
body.edit-mode #modalTitle,
body.edit-mode #modalEn,
body.edit-mode #modalCategory,
body.edit-mode #modalContext,
body.edit-mode #modalResponse,
body.edit-mode #modalQuote {
  outline-color: rgba(163, 141, 110, 0.72);
}

body.edit-mode [data-edit]:focus,
body.edit-mode [data-project-edit]:focus,
body.edit-mode #modalTitle:focus,
body.edit-mode #modalEn:focus,
body.edit-mode #modalContext:focus,
body.edit-mode #modalResponse:focus,
body.edit-mode #modalQuote:focus {
  outline-color: var(--brass);
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .availability {
    display: none;
  }

  .hero-content h1 {
    font-size: clamp(76px, 12vw, 130px);
  }

  .hero-profile {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr 1.5fr;
  }

  .about-facts {
    grid-column: 2;
    display: flex;
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .about-facts dl {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

  .film-heading {
    grid-template-columns: 1fr;
  }

  .film-heading .section-label {
    flex-direction: row;
  }

  .film-heading > div:last-child {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 720px) {
  :root {
    --side: 18px;
  }

  .site-header {
    min-height: 66px;
  }

  .site-header.scrolled {
    min-height: 60px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .brand-copy {
    display: none;
  }

  .edit-trigger {
    width: 38px;
    height: 38px;
    padding: 0;
  }

  .edit-trigger span {
    display: none;
  }

  .hero {
    padding: 0 8px 8px;
  }

  .hero-frame {
    height: calc(100svh - 8px);
    min-height: 690px;
  }

  .hero-media {
    margin-top: 66px;
    min-height: 600px;
  }

  .hero-media > img {
    object-position: 53% 50%;
  }

  .hero-topline {
    top: 20px;
    right: 18px;
    left: 18px;
  }

  .hero-topline p:last-child {
    display: none;
  }

  .hero-content {
    right: 18px;
    bottom: 62px;
    left: 18px;
  }

  .hero-kicker {
    max-width: 240px;
    margin-bottom: 14px;
    line-height: 1.5;
  }

  .hero-content h1 {
    font-size: clamp(62px, 19vw, 108px);
    line-height: 0.88;
  }

  .hero-content h1 em {
    margin-left: 4vw;
  }

  .hero-summary {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    margin-top: 21px;
  }

  .hero-summary > p {
    max-width: 290px;
    font-size: 12px;
    line-height: 1.7;
  }

  .hero-caption {
    right: 18px;
    bottom: 17px;
    left: 18px;
    font-size: 6px;
  }

  .hero-caption span:last-child {
    display: none;
  }

  .hero-foot {
    min-height: 34px;
    padding-top: 10px;
  }

  .hero-foot > span:first-child {
    display: none;
  }

  .hero-foot > span:last-child {
    display: block;
  }

  .scroll-cue {
    justify-self: start;
  }

  .marquee span {
    font-size: 8px;
  }

  .about,
  .experience,
  .projects {
    padding-top: 62px;
    padding-bottom: 82px;
  }

  .about-title h2,
  .experience-intro h2,
  .projects-heading h2,
  .approach-lead h2,
  .film-heading h2 {
    font-size: clamp(42px, 12vw, 58px);
    line-height: 1.02;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 46px;
  }

  .about-drawing {
    width: 58%;
    margin-top: 34px;
  }

  .about-lead {
    font-size: 29px;
    line-height: 1.25;
  }

  .about-facts {
    grid-column: auto;
  }

  .experience-intro {
    margin: 46px 0 54px;
  }

  .experience-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 23px 0;
  }

  .exp-year {
    font-size: 9px;
  }

  .exp-main h3 {
    font-size: 28px;
  }

  .exp-meta {
    grid-column: auto;
    flex-direction: row;
    justify-self: start;
  }

  .projects-heading {
    margin: 48px 0 58px;
  }

  .projects-filter {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 20px;
  }

  .projects-filter button {
    padding: 6px 10px 6px 0;
  }

  .projects-filter button.active::before {
    width: 10px;
    margin-right: 5px;
  }

  .project-grid {
    display: flex;
    flex-direction: column;
    gap: 51px;
  }

  .project-card .project-image,
  .project-card:nth-child(4n + 1) .project-image,
  .project-card:nth-child(4n + 2) .project-image,
  .project-card:nth-child(4n + 3) .project-image,
  .project-card:nth-child(4n + 4) .project-image {
    height: 112vw;
  }

  .project-info h3 {
    font-size: 34px;
  }

  .projects-foot {
    margin-top: 58px;
  }

  .approach {
    padding: 65px 0 74px;
  }

  .approach-lead {
    margin: 48px 0 55px;
  }

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

  .process-card {
    min-height: 310px;
    border-left: 1px solid rgba(255, 255, 255, 0.17);
    border-right: 0;
  }

  .process-card + .process-card {
    border-top: 1px solid rgba(255, 255, 255, 0.17);
  }

  .process-card h3 {
    margin-top: 68px;
  }

  .film {
    padding-top: 62px;
  }

  .film-heading {
    padding-bottom: 48px;
  }

  .film-stage {
    height: 108vw;
  }

  .play-icon {
    width: 78px;
    height: 78px;
  }

  .contact {
    padding-top: 64px;
  }

  .contact-orb {
    top: 14%;
    right: -35vw;
    width: 95vw;
    height: 95vw;
  }

  .contact-main {
    margin: 55px 0 76px;
  }

  .contact-main h2 {
    margin: 17px 0 35px;
    font-size: 18vw;
    line-height: 0.94;
  }

  .contact-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .email-link {
    font-size: 23px;
  }

  .contact-bottom {
    gap: 26px;
    padding-bottom: 65px;
  }

  .social-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .modal-title-block h2 {
    font-size: 20vw;
  }
}

/* ─────────────────────────────────────────────────────────────
   READABILITY, 16:9 PROJECT MEDIA & LIVE TEXT CONTROLS
   ───────────────────────────────────────────────────────────── */

body {
  font-size: 16px;
}

.brand-copy {
  font-size: 10.5px;
}

.brand-copy i {
  font-size: 13px;
}

.desktop-nav {
  gap: clamp(24px, 3vw, 44px);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.075em;
}

.availability {
  font-size: 9.5px;
}

.edit-trigger {
  font-size: 10.5px;
}

.availability span,
.hero-availability i,
.editor-status i {
  width: 7px;
  height: 7px;
}

.hero-topline {
  font-size: 10px;
  letter-spacing: 0.11em;
}

.hero-monogram {
  font-size: 18px;
}

.hero-kicker {
  margin-bottom: 20px;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.hero-title-en {
  max-width: 650px;
  margin-top: 23px;
  margin-left: 10.5vw;
  color: rgba(251, 249, 240, 0.72);
  font-family: var(--serif);
  font-size: clamp(20px, 1.85vw, 29px);
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.hero-summary {
  margin-top: 24px;
}

.hero-summary > p {
  max-width: 440px;
  font-size: 15px;
  line-height: 1.8;
}

.text-link {
  font-size: 11px;
  letter-spacing: 0.07em;
}

.hero-profile {
  top: 104px;
  width: 300px;
  gap: 12px;
  padding: 20px 22px;
  background: rgba(17, 23, 17, 0.52);
  border: 1px solid rgba(251, 249, 240, 0.18);
  backdrop-filter: blur(7px);
}

.profile-label {
  font-size: 9.5px;
  letter-spacing: 0.13em;
}

.hero-profile strong {
  font-family: var(--serif);
  font-size: clamp(24px, 2.2vw, 31px);
  line-height: 1.2;
  letter-spacing: 0.015em;
}

.hero-profile > p {
  font-size: 12px;
  line-height: 1.85;
}

.hero-availability {
  gap: 10px;
  margin-top: 7px;
  font-size: 10px;
}

.hero-caption,
.hero-foot {
  font-size: 9px;
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.105em;
}

.eyebrow,
.kicker,
.section-no,
.contact-label,
.profile-label {
  font-size: 9.5px;
  letter-spacing: 0.115em;
}

.about-body > p:not(.about-lead) {
  font-size: 14px;
  line-height: 1.9;
}

.about-facts dt {
  font-size: 9px;
}

.about-facts dd {
  max-width: 250px;
  font-size: 12px;
}

.pill-link {
  font-size: 10.5px;
}

.experience-intro p {
  font-size: 13.5px;
}

.exp-year {
  font-size: 11.5px;
}

.exp-company {
  font-size: 9.5px;
}

.exp-main > p:last-child {
  max-width: 740px;
  font-size: 13px;
}

.exp-meta {
  font-size: 10px;
}

.exp-meta span:last-child {
  padding: 4px 8px;
  font-size: 8.5px;
}

.projects-filter button {
  font-size: 10px;
  line-height: 1.7;
}

.project-image,
.project-card:nth-child(4n + 1) .project-image,
.project-card:nth-child(4n + 2) .project-image,
.project-card:nth-child(4n + 3) .project-image,
.project-card:nth-child(4n + 4) .project-image {
  height: auto;
  aspect-ratio: 16 / 9;
}

.project-image img {
  width: 100%;
  height: 100%;
}

.project-release {
  width: 68px;
  height: 68px;
  font-size: 9px;
}

.project-index {
  font-size: 9px;
}

.project-info h3 {
  font-size: clamp(32px, 2.85vw, 45px);
}

.project-en {
  font-size: 9px;
}

.project-meta {
  font-size: 10px;
}

.project-summary {
  font-size: 12.5px;
}

.project-delete,
.media-tools button {
  font-size: 9px;
}

.project-add-card {
  grid-column: 6 / span 7;
  align-self: start;
  min-width: 0;
}

.project-add-card > button {
  width: 100%;
  padding: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.project-add-frame {
  display: flex;
  aspect-ratio: 16 / 9;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 27, 23, 0.24);
  background:
    linear-gradient(135deg, transparent 0 49.85%, rgba(23, 27, 23, 0.06) 50%, transparent 50.15%),
    rgba(255, 255, 255, 0.2);
  transition: background 350ms ease, border-color 350ms ease;
}

.project-add-card > button:hover .project-add-frame {
  background: rgba(54, 66, 56, 0.07);
  border-color: var(--moss);
}

.project-add-symbol {
  color: var(--clay);
  font-family: var(--sans);
  font-size: clamp(52px, 5.5vw, 88px);
  font-weight: 300;
  line-height: 0.8;
}

.project-add-label {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.2vw, 34px);
}

.project-add-en {
  margin-top: 7px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.project-add-note {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  color: var(--muted);
  border-top: 1px solid rgba(23, 27, 23, 0.18);
  font-size: 10px;
}

.projects-foot p {
  font-size: 9.5px;
}

.process-card p {
  font-size: 12px;
  line-height: 1.75;
}

.process-en {
  font-size: 17px;
}

.film-heading .kicker,
.film-heading .section-label {
  font-size: 9.5px;
}

.play-label {
  font-size: 10px;
}

.film-caption {
  font-size: 9.5px;
}

.contact-bottom p,
.social-links {
  font-size: 11px;
}

.site-footer {
  font-size: 9px;
}

.modal-project-no {
  font-size: 9.5px;
}

.modal-title-block > p:first-child,
.modal-en {
  font-size: 10.5px;
}

.modal-image {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  max-height: 100svh;
}

.modal-facts dt {
  font-size: 9px;
}

.modal-facts dd {
  font-size: 11.5px;
}

.modal-story p {
  font-size: 14px;
}

.modal-next span {
  font-size: 9.5px;
}

.modal-gallery-section {
  padding: 0 var(--side) 110px;
  background: var(--paper);
}

.modal-gallery-section.empty-gallery {
  display: block;
}

.modal-gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.modal-gallery-head h3 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 62px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.modal-gallery-head > span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.modal-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.gallery-item {
  min-width: 0;
}

.gallery-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #d5d4cb;
}

.gallery-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.03);
}

.gallery-edit-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: none;
  gap: 4px;
}

body.edit-mode .gallery-edit-actions {
  display: flex;
}

.gallery-edit-actions button {
  padding: 7px 10px;
  color: var(--white);
  background: rgba(17, 23, 17, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 9px;
}

.gallery-edit-actions button:hover {
  color: var(--ink);
  background: var(--paper);
}

.gallery-drag-handle {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: none;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(17, 23, 17, 0.78);
  font-size: 9px;
  letter-spacing: 0.04em;
  user-select: none;
}

body.edit-mode .gallery-drag-handle {
  display: block;
}

.gallery-item[draggable="true"] .gallery-image-wrap {
  cursor: grab;
}

.gallery-item[draggable="true"] .gallery-image-wrap:active {
  cursor: grabbing;
}

.gallery-item.is-dragging {
  opacity: 0.35;
}

.gallery-item.is-drag-over .gallery-image-wrap {
  outline: 2px solid var(--clay);
  outline-offset: 4px;
}

.gallery-move-controls {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: none;
  gap: 4px;
}

body.edit-mode .gallery-move-controls {
  display: flex;
}

.gallery-move-controls button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--white);
  background: rgba(17, 23, 17, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 13px;
}

.gallery-move-controls button:hover {
  color: var(--ink);
  background: var(--paper);
}

.gallery-add {
  display: flex;
  aspect-ratio: 16 / 9;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.18);
  border: 1px dashed rgba(23, 27, 23, 0.32);
}

.gallery-add > span {
  color: var(--clay);
  font-size: 60px;
  font-weight: 300;
  line-height: 0.8;
}

.gallery-add strong {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
}

.gallery-add small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
}

.text-toolbar {
  position: fixed;
  bottom: 78px;
  left: 50%;
  z-index: 2600;
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 7px 8px 7px 16px;
  color: var(--white);
  background: rgba(17, 23, 17, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity 250ms ease, visibility 250ms ease, transform 300ms var(--ease);
}

.text-toolbar.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.text-toolbar-label {
  display: flex;
  width: 130px;
  flex: 0 0 130px;
  flex-direction: column;
  gap: 2px;
}

.text-toolbar-label span {
  color: var(--brass);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.text-toolbar-label strong {
  overflow: hidden;
  font-size: 10px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-control-group {
  display: flex;
  flex-shrink: 0;
  gap: 4px;
  align-items: center;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.text-control-group > span {
  flex: 0 0 auto;
  margin-right: 3px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  white-space: nowrap;
}

.text-toolbar button,
.text-toolbar input,
.text-toolbar select {
  height: 34px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
}

.text-toolbar button {
  min-width: 36px;
  flex-shrink: 0;
  padding: 0 9px;
  font-size: 10px;
  white-space: nowrap;
}

.text-toolbar button:hover {
  color: var(--ink);
  background: var(--sage);
}

.text-toolbar input {
  width: 50px;
  padding: 0 5px;
  text-align: center;
  font-size: 11px;
}

.text-toolbar select {
  width: 108px;
  flex-shrink: 0;
  padding: 0 8px;
  font-size: 10px;
}

.text-toolbar select option {
  color: var(--ink);
  background: var(--paper);
}

#copyTextFormat.is-active {
  color: var(--ink);
  background: var(--acid);
}

#copyTextFormat,
#resetTextStyle {
  width: auto;
  min-width: max-content;
}

#resetTextStyle {
  color: var(--ink);
  background: var(--paper);
}

.cover-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.cover-uploader {
  position: relative;
  display: grid !important;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(135deg, transparent 0 49.85%, rgba(23, 27, 23, 0.055) 50%, transparent 50.15%),
    rgba(255, 255, 255, 0.2);
  border: 1px dashed rgba(23, 27, 23, 0.34);
  cursor: pointer;
}

.cover-uploader input[type="file"] {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.cover-uploader > img {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) brightness(0.88);
}

.cover-upload-placeholder {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  padding: 24px;
  text-align: center;
  transition: opacity 200ms ease;
}

.cover-upload-placeholder strong {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0;
}

.cover-upload-placeholder small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.cover-change {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: none;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(17, 23, 17, 0.8);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.cover-uploader.has-cover > img,
.cover-uploader.has-cover .cover-change {
  display: block;
}

.cover-uploader.has-cover .cover-upload-placeholder {
  opacity: 0;
}

.phone-link {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
  padding: 15px 0 10px;
  border-bottom: 1px solid rgba(23, 27, 23, 0.38);
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 45px);
  line-height: 1;
  letter-spacing: -0.025em;
}

.phone-link .contact-label {
  margin: 0;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.phone-link strong {
  font-weight: 400;
}

.phone-link svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  transition: transform 300ms var(--ease);
}

.phone-link:hover svg {
  transform: translate(5px, -5px);
}

/* Preserve the original color of every project cover and project image. */
.project-image img,
.project-card-button:hover .project-image img,
.modal-image img,
.gallery-image-wrap img,
.cover-uploader > img {
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

.project-image::after,
.modal-hero::after {
  display: none !important;
}

.modal-title-block {
  text-shadow: 0 2px 24px rgba(8, 12, 8, 0.48);
}

.desktop-nav a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  padding: 4px 0 7px;
  line-height: 1;
}

.desktop-nav a small {
  color: currentColor;
  font-size: 8.5px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.13em;
  opacity: 0.52;
  transition: opacity 250ms ease, color 250ms ease;
}

.desktop-nav a:hover small,
.desktop-nav a.active small {
  opacity: 0.86;
}

/* Project list titles use one consistent size across every card. */
.project-info h3 {
  font-size: 31px !important;
  line-height: 1.08;
}

.editor-help,
.editor-actions span,
.editor-bar > span {
  font-size: 10.5px;
}

.editor-actions small,
.editor-status {
  font-size: 9px;
}

@media (max-width: 900px) {
  .project-add-card {
    grid-column: span 7;
  }

  .hero-profile {
    width: 280px;
  }

  .text-toolbar {
    right: 14px;
    bottom: 68px;
    left: 14px;
    gap: 8px;
    justify-content: space-between;
    padding: 7px;
    transform: translateY(12px);
  }

  .text-toolbar.show {
    transform: translateY(0);
  }

  .text-toolbar-label {
    width: 105px;
    flex-basis: 105px;
  }

  .text-control-group {
    padding-left: 8px;
  }
}

@media (max-width: 720px) {
  .desktop-nav {
    font-size: 12px;
  }

  .hero-title-en {
    max-width: 290px;
    margin-top: 17px;
    margin-left: 4vw;
    font-size: 17px;
    line-height: 1.3;
  }

  .hero-summary > p {
    font-size: 13px;
  }

  .hero-caption,
  .hero-foot {
    font-size: 8.5px;
  }

  .project-add-card {
    grid-column: auto;
    padding-top: 0;
  }

  .project-add-frame {
    aspect-ratio: 16 / 9;
  }

  .project-add-symbol {
    font-size: 48px;
  }

  .project-add-label {
    margin-top: 14px;
    font-size: 25px;
  }

  .modal-gallery-section {
    padding: 0 18px 70px;
  }

  .modal-gallery-head {
    align-items: flex-start;
  }

  .modal-gallery-head > span {
    display: none;
  }

  .modal-gallery {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .modal-image {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
  }

  .phone-link {
    gap: 11px;
    margin-top: 24px;
    font-size: 23px;
  }

  .phone-link .contact-label {
    display: none;
  }

  .modal-title-block h2 {
    font-size: 14.5vw;
  }

  .modal-title-block > p:first-child {
    margin-bottom: 8px;
    font-size: 9px;
  }

  .modal-en {
    margin-top: 10px;
    font-size: 9px;
  }

  .text-toolbar {
    flex-wrap: wrap;
    gap: 6px 8px;
  }

  .text-toolbar-label {
    width: auto;
    flex: 1 1 130px;
  }

  .text-control-group {
    flex: 1 1 44%;
    padding-left: 0;
    border-left: 0;
  }

  .text-control-group > span {
    display: none;
  }

  .text-font-group {
    flex-basis: 100%;
  }

  .text-font-group select {
    width: 100%;
  }

  #copyTextFormat,
  #resetTextStyle {
    flex: 1 1 82px;
  }
}
