:root {
  --paper: #f1f2ed;
  --paper-warm: #e9e9e1;
  --ink: #161815;
  --muted: #676b64;
  --line: rgba(22, 24, 21, 0.18);
  --forest: #233b31;
  --red: #b7462d;
  --white: #f8f8f4;
  --sans: "Avenir Next", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC",
    Georgia, serif;
  --shell: min(90vw, 1440px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

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

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

button {
  color: inherit;
}

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

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 18px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-progress {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.cursor {
  position: fixed;
  z-index: 300;
  top: 0;
  left: 0;
  display: grid;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.25);
  transition: opacity 0.25s ease, transform 0.35s var(--ease);
}

.cursor span {
  font-size: 10px;
  letter-spacing: 0.16em;
}

.cursor.is-visible {
  opacity: 1;
}

.cursor.is-active {
  transform: translate(-50%, -50%) scale(1);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: 92px;
  padding: 0 4.5vw;
  color: var(--white);
  transition:
    height 0.35s var(--ease),
    color 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  height: 74px;
  color: var(--ink);
  background: rgba(241, 242, 237, 0.93);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
}

.brand-sub {
  padding-left: 12px;
  border-left: 1px solid currentColor;
  font-size: 8px;
  line-height: 1.45;
  letter-spacing: 0.16em;
  opacity: 0.72;
}

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

.desktop-nav a {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

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

.header-cta {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
  padding-bottom: 5px;
  font-size: 12px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid currentColor;
}

.header-cta svg,
.text-link svg,
.submit-button svg,
.next-project svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  transition: transform 0.3s var(--ease);
}

.header-cta:hover svg,
.text-link:hover svg,
.submit-button:hover svg,
.next-project:hover svg {
  transform: translate(3px, -3px);
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  padding: 12px 3px;
  background: none;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 1px;
  margin: 7px 0;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: flex;
  visibility: hidden;
  flex-direction: column;
  justify-content: space-between;
  padding: 130px 6vw 32px;
  color: var(--white);
  background: var(--forest);
  opacity: 0;
  transform: translateY(-20px);
  transition:
    opacity 0.35s ease,
    transform 0.45s var(--ease),
    visibility 0.35s;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

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

.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 15px 0;
  font-family: var(--serif);
  font-size: clamp(32px, 9vw, 54px);
  line-height: 1.2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.mobile-menu nav span {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  opacity: 0.55;
}

.mobile-menu-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.hero {
  position: relative;
  display: flex;
  min-height: 720px;
  height: 100svh;
  color: var(--white);
  overflow: hidden;
}

.hero-media-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: center 56%;
  transform: translateY(var(--hero-shift, 0));
  will-change: transform;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 13, 10, 0.68) 0%, rgba(10, 13, 10, 0.2) 55%, rgba(10, 13, 10, 0.15) 100%),
    linear-gradient(180deg, rgba(9, 12, 9, 0.34) 0%, transparent 28%, rgba(9, 12, 9, 0.12) 56%, rgba(9, 12, 9, 0.57) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  width: 100%;
  padding: 0 8vw 13.5vh;
}

.hero-eyebrow {
  display: flex;
  gap: 27px;
  margin: 0 0 2.2vh;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-eyebrow span {
  position: relative;
}

.hero-eyebrow span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -17px;
  width: 7px;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.65;
}

.hero h1 {
  max-width: 1000px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(64px, 10.5vw, 164px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-line {
  display: block;
  overflow: hidden;
  padding: 0 0.03em 0.12em 0;
}

.hero-line > span {
  display: block;
  transform: translateY(115%);
  animation: hero-line-in 1.1s var(--ease) forwards;
}

.hero-line:nth-child(2) > span {
  animation-delay: 0.12s;
}

.hero-line-offset {
  padding-left: 0.82em;
}

@keyframes hero-line-in {
  to {
    transform: translateY(0);
  }
}

.hero-intro {
  margin: 3.5vh 0 0 0.9em;
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.95;
  letter-spacing: 0.04em;
  opacity: 0;
  animation: fade-up 0.8s 0.55s ease forwards;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-bottom {
  position: absolute;
  z-index: 2;
  right: 4.5vw;
  bottom: 4.5vh;
  left: 4.5vw;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
  font-size: 10px;
  line-height: 1.55;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  animation: fade-up 0.8s 0.8s ease forwards;
}

.hero-bottom p {
  margin: 0;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 11px;
}

.scroll-cue svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1;
  animation: scroll-nudge 1.8s ease-in-out infinite;
}

@keyframes scroll-nudge {
  0%,
  100% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(4px);
  }
}

.hero-side-note {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 1.8vw;
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  opacity: 0.7;
}

.ticker {
  padding: 15px 0 13px;
  overflow: hidden;
  color: var(--white);
  background: var(--red);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker-move 26s linear infinite;
}

.ticker span {
  padding: 0 34px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ticker i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.62;
}

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

.section-shell {
  width: var(--shell);
  margin: 0 auto;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 8vh;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-label span {
  display: grid;
  width: 27px;
  height: 27px;
  color: var(--white);
  background: var(--red);
  place-items: center;
  font-size: 9px;
  letter-spacing: 0;
}

.section-label p {
  margin: 0;
}

.studio {
  padding-top: 14vh;
  padding-bottom: 14vh;
}

.studio-lead {
  display: grid;
  grid-template-columns: 1.55fr 0.7fr;
  gap: 7vw;
  align-items: end;
  padding-bottom: 10vh;
}

.display-heading {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 5.4vw, 84px);
  font-weight: 500;
  line-height: 1.26;
  letter-spacing: 0;
}

.display-heading em {
  color: var(--red);
  font-style: normal;
}

.studio-copy {
  padding-bottom: 0.5em;
}

.studio-copy p {
  max-width: 430px;
  margin: 0 0 1.35em;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 7px;
  font-size: 12px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid currentColor;
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) 0.75fr;
  gap: 6vw;
  align-items: stretch;
}

.studio-image {
  margin: 0;
  overflow: hidden;
}

.studio-image img {
  height: min(69vh, 790px);
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.studio-image:hover img {
  transform: scale(1.025);
}

.studio-image figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.studio-stats {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 0.3vw;
}

.stat {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  padding: 31px 0 25px;
  border-top: 1px solid var(--line);
}

.stat-number {
  font-family: var(--serif);
  font-size: clamp(60px, 6vw, 92px);
  line-height: 1;
}

.stat-plus {
  margin-left: 4px;
  color: var(--red);
  font-size: 25px;
}

.stat p {
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 12vh;
  border-top: 1px solid var(--line);
}

.principle {
  min-height: 230px;
  padding: 30px 3vw 15px 0;
}

.principle + .principle {
  padding-left: 3vw;
  border-left: 1px solid var(--line);
}

.principle > span {
  color: var(--red);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.principle h3 {
  margin: 4.5em 0 0.7em;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.principle p {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.projects {
  padding-bottom: 16vh;
}

.projects-header {
  display: grid;
  grid-template-columns: 1.6fr 0.6fr;
  gap: 7vw;
  align-items: end;
  padding-bottom: 7vh;
}

.projects-header p {
  margin: 0 0 0.8em;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.project-filters {
  display: flex;
  gap: 8px;
  padding: 16px 0 34px;
  border-top: 1px solid var(--line);
}

.filter {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  cursor: pointer;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.filter span {
  font-size: 8px;
  opacity: 0.7;
}

.filter:hover,
.filter:focus-visible,
.filter.is-active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 9vw 2vw;
}

.project-card {
  min-width: 0;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

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

.project-card-wide {
  grid-column: 1 / span 8;
}

.project-card-tall {
  grid-column: 9 / span 4;
  align-self: end;
}

.project-card-half {
  grid-column: span 5;
}

.project-card-offset {
  grid-column: 7 / span 6;
}

.project-card-full {
  grid-column: 2 / span 10;
}

.project-open {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.project-open figure {
  margin: 0;
}

.project-image {
  position: relative;
  overflow: hidden;
  background: #d8d9d2;
}

.project-card-wide .project-image {
  aspect-ratio: 1.46;
}

.project-card-tall .project-image {
  aspect-ratio: 0.76;
}

.project-card-half .project-image {
  aspect-ratio: 0.94;
}

.project-card-full .project-image {
  aspect-ratio: 2.22;
}

.project-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 1.05s var(--ease);
}

.project-open:hover .project-image img,
.project-open:focus-visible .project-image img {
  transform: scale(1.035);
}

.view-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 46px;
  height: 46px;
  color: var(--ink);
  background: rgba(248, 248, 244, 0.92);
  border-radius: 50%;
  place-items: center;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s var(--ease);
}

.view-badge svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}

.project-open:hover .view-badge,
.project-open:focus-visible .view-badge {
  opacity: 1;
  transform: translateY(0);
}

.project-open figcaption {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding-top: 16px;
  border-top: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.project-open:hover figcaption,
.project-open:focus-visible figcaption {
  border-color: var(--line);
}

.project-no {
  color: var(--red);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.project-name {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 25px);
}

.project-meta {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.method {
  color: var(--white);
  background: var(--forest);
}

.method-inner {
  padding-top: 13vh;
  padding-bottom: 15vh;
}

.section-label-light span {
  color: var(--forest);
  background: var(--white);
}

.method-head {
  display: grid;
  grid-template-columns: 1.55fr 0.62fr;
  gap: 7vw;
  align-items: end;
  padding-bottom: 11vh;
}

.method-head em {
  color: #df8069;
}

.method-head p {
  max-width: 360px;
  margin: 0 0 0.65em;
  color: rgba(248, 248, 244, 0.66);
  font-size: 13px;
  line-height: 1.9;
}

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

.method-step {
  display: grid;
  grid-template-columns: 70px 1fr 130px;
  gap: 2vw;
  align-items: start;
  padding: 32px 0 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.step-no {
  color: #df8069;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.method-step > div {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 6vw;
}

.method-step h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 500;
}

.method-step p {
  max-width: 480px;
  margin: 0;
  color: rgba(248, 248, 244, 0.6);
  font-size: 13px;
  line-height: 1.8;
}

.step-en {
  justify-self: end;
  color: rgba(248, 248, 244, 0.38);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about {
  display: grid;
  grid-template-columns: 1fr 0.84fr;
  min-height: 92vh;
  padding-top: 14vh;
  padding-bottom: 14vh;
}

.about-image {
  position: relative;
  align-self: start;
  margin-right: 8vw;
  overflow: hidden;
}

.about-image img {
  height: 76vh;
  min-height: 580px;
  object-fit: cover;
}

.about-image span {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(22, 24, 21, 0.65);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.about-copy {
  align-self: center;
  padding-right: 2vw;
}

.about-copy .section-label {
  margin-bottom: 6vh;
}

.about-copy h2 {
  font-size: clamp(40px, 4.8vw, 72px);
}

.about-copy > p {
  max-width: 460px;
  margin: 2em 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}

.about-links {
  margin-top: 3em;
}

.quote-band {
  position: relative;
  padding: 14vh 8vw 12vh;
  color: var(--white);
  background: var(--red);
  text-align: center;
}

.quote-mark {
  height: 50px;
  color: rgba(255, 255, 255, 0.36);
  font-family: var(--serif);
  font-size: 100px;
  line-height: 0.9;
}

.quote-band blockquote {
  max-width: 900px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(31px, 4.3vw, 64px);
  line-height: 1.45;
  letter-spacing: 0;
}

.quote-band > p {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 5vh 0 0;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote-band > p span:last-child {
  opacity: 0.65;
}

.contact {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 9vw;
  padding-top: 14vh;
  padding-bottom: 14vh;
}

.contact-intro .section-label {
  margin-bottom: 7vh;
}

.contact-intro h2 {
  font-size: clamp(42px, 5vw, 76px);
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 8vh;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.contact-details > div:first-child {
  grid-column: 1 / -1;
}

.contact-details span {
  display: block;
  margin-bottom: 7px;
  color: var(--red);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-details a,
.contact-details p {
  margin: 0;
  font-size: 13px;
}

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

.contact-form {
  align-self: end;
  padding-top: 4vh;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5vw;
}

.contact-form label {
  display: block;
  margin-bottom: 36px;
}

.contact-form label > span {
  display: block;
  margin-bottom: 7px;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 0 13px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  font-size: 15px;
  transition: border-color 0.25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #979a92;
}

.contact-form select {
  color: var(--muted);
  cursor: pointer;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

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

.contact-form .is-invalid {
  border-color: var(--red);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 0.8vh;
}

.form-footer > p {
  max-width: 220px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.submit-button {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 17px 22px 17px 27px;
  color: var(--white);
  background: var(--ink);
  border: 0;
  cursor: pointer;
  transition: background 0.25s ease;
}

.submit-button:hover,
.submit-button:focus-visible {
  background: var(--red);
}

.submit-button span {
  font-size: 12px;
  letter-spacing: 0.08em;
}

.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--red);
  font-size: 12px;
}

.site-footer {
  padding: 80px 4.5vw 22px;
  color: var(--white);
  background: var(--ink);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.6fr;
  align-items: start;
  padding-bottom: 12vh;
}

.footer-brand {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  width: max-content;
}

.footer-brand span {
  font-family: var(--serif);
  font-size: clamp(70px, 9vw, 140px);
  line-height: 0.72;
  letter-spacing: 0.02em;
}

.footer-brand small {
  padding-bottom: 5px;
  font-size: 8px;
  line-height: 1.45;
  letter-spacing: 0.15em;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 40px;
  width: max-content;
}

.footer-nav a,
.footer-social a {
  font-size: 12px;
  letter-spacing: 0.06em;
  opacity: 0.72;
  transition: opacity 0.2s ease;
}

.footer-nav a:hover,
.footer-social a:hover {
  opacity: 1;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.52);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.footer-bottom span:nth-child(2) {
  justify-self: center;
}

.local-time b {
  color: var(--white);
  font-weight: 400;
}

.project-modal {
  position: fixed;
  z-index: 250;
  inset: 0;
  display: grid;
  padding: 4vh 4vw;
  place-items: center;
}

.project-modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 10, 0.85);
  backdrop-filter: blur(9px);
  animation: fade-in 0.3s ease both;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

.modal-dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  width: min(1240px, 94vw);
  max-height: 91vh;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  animation: modal-in 0.55s var(--ease) both;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  background: var(--white);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.modal-close span {
  position: absolute;
  top: 23px;
  left: 14px;
  width: 20px;
  height: 1px;
  background: var(--ink);
}

.modal-close span:first-child {
  transform: rotate(45deg);
}

.modal-close span:last-child {
  transform: rotate(-45deg);
}

.modal-media {
  position: relative;
  min-height: 620px;
  background: #d6d7d0;
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-index {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(22, 24, 21, 0.6);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.modal-content {
  display: flex;
  flex-direction: column;
  padding: clamp(34px, 4.2vw, 64px);
  overflow-y: auto;
}

.modal-kicker {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.modal-content h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 62px);
  font-weight: 500;
  line-height: 1.2;
}

.modal-description {
  margin: 26px 0 30px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.modal-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.modal-facts div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

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

.modal-facts dd {
  margin: 3px 0 0;
  font-size: 12px;
}

.next-project {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding: 24px 0 10px;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s ease,
    transform 0.9s var(--ease);
}

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

.media-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 1s ease,
    transform 1s var(--ease);
}

.media-reveal img {
  transform: scale(1.04);
  transition: transform 1.4s var(--ease);
}

.media-reveal.is-visible img {
  transform: scale(1);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

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

  .studio-lead,
  .projects-header,
  .method-head {
    gap: 5vw;
  }

  .project-card-wide {
    grid-column: 1 / span 7;
  }

  .project-card-tall {
    grid-column: 8 / span 5;
  }

  .method-step > div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .modal-dialog {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .modal-media {
    min-height: 540px;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: calc(100vw - 40px);
  }

  .cursor {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    height: 76px;
    padding: 0 20px;
  }

  .site-header.is-scrolled {
    height: 66px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 690px;
  }

  .hero-content {
    padding: 0 6vw 18vh;
  }

  .hero h1 {
    font-size: clamp(56px, 17vw, 112px);
  }

  .hero-line-offset {
    padding-left: 0.28em;
  }

  .hero-intro {
    margin-left: 0;
    font-size: 12px;
  }

  .hero-bottom {
    right: 6vw;
    bottom: 3vh;
    left: 6vw;
    grid-template-columns: 1fr auto;
  }

  .hero-bottom p {
    display: none;
  }

  .hero-side-note {
    display: none;
  }

  .section-label {
    margin-bottom: 6vh;
  }

  .studio {
    padding-top: 10vh;
    padding-bottom: 10vh;
  }

  .studio-lead,
  .studio-grid,
  .projects-header,
  .method-head,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .studio-lead {
    gap: 5vh;
  }

  .display-heading {
    font-size: clamp(36px, 10vw, 58px);
    line-height: 1.32;
  }

  .studio-copy {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .studio-grid {
    gap: 4vh;
  }

  .studio-image img {
    height: 60vh;
    min-height: 460px;
  }

  .studio-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .stat {
    display: block;
    padding: 18px 0;
  }

  .stat p {
    margin-top: 8px;
  }

  .stat-number {
    font-size: 42px;
  }

  .principles {
    grid-template-columns: 1fr;
    margin-top: 8vh;
  }

  .principle {
    min-height: 0;
    padding: 26px 0 28px;
  }

  .principle + .principle {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .principle h3 {
    margin-top: 2em;
  }

  .projects-header {
    gap: 3vh;
  }

  .project-filters {
    overflow-x: auto;
    padding-bottom: 26px;
    scrollbar-width: none;
  }

  .project-filters::-webkit-scrollbar {
    display: none;
  }

  .filter {
    flex: 0 0 auto;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 9vh;
  }

  .project-card-wide,
  .project-card-tall,
  .project-card-half,
  .project-card-offset,
  .project-card-full {
    grid-column: 1;
  }

  .project-card-wide .project-image,
  .project-card-tall .project-image,
  .project-card-half .project-image {
    aspect-ratio: 1.08;
  }

  .project-card-full .project-image {
    aspect-ratio: 1.3;
  }

  .project-open figcaption {
    grid-template-columns: 31px 1fr auto;
  }

  .project-name {
    font-size: 20px;
  }

  .view-badge {
    width: 38px;
    height: 38px;
    opacity: 1;
    transform: none;
  }

  .method-inner {
    padding-top: 10vh;
    padding-bottom: 11vh;
  }

  .method-head {
    gap: 4vh;
  }

  .method-step {
    grid-template-columns: 36px 1fr;
    gap: 10px;
    padding: 26px 0;
  }

  .step-en {
    display: none;
  }

  .method-step h3 {
    font-size: 27px;
  }

  .about {
    min-height: 0;
    gap: 8vh;
    padding-top: 10vh;
    padding-bottom: 10vh;
  }

  .about-image {
    margin-right: 0;
  }

  .about-image img {
    height: 60vh;
    min-height: 430px;
  }

  .about-copy {
    padding-right: 0;
  }

  .quote-band {
    padding: 10vh 5vw 9vh;
  }

  .quote-band blockquote {
    font-size: clamp(29px, 7.8vw, 45px);
  }

  .quote-band > p {
    flex-direction: column;
    gap: 3px;
  }

  .contact {
    gap: 9vh;
    padding-top: 10vh;
    padding-bottom: 10vh;
  }

  .contact-details {
    margin-top: 5vh;
  }

  .contact-form {
    padding-top: 0;
  }

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

  .form-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .submit-button {
    width: 100%;
    justify-content: space-between;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 8vh;
    padding-bottom: 10vh;
  }

  .footer-brand span {
    font-size: 25vw;
  }

  .footer-bottom {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .footer-bottom span:nth-child(2) {
    justify-self: start;
    grid-row: 2;
  }

  .footer-bottom a {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .project-modal {
    padding: 0;
  }

  .modal-dialog {
    grid-template-columns: 1fr;
    width: 100%;
    height: 100%;
    max-height: none;
    overflow-y: auto;
  }

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

  .modal-media {
    min-height: 0;
    height: 48vh;
  }

  .modal-content {
    overflow: visible;
  }

  .next-project {
    margin-top: 6vh;
  }
}

@media (max-width: 480px) {
  .brand-mark {
    font-size: 23px;
  }

  .brand-sub {
    display: none;
  }

  .ticker span {
    padding: 0 22px;
  }

  .studio-image img,
  .about-image img {
    height: 52vh;
    min-height: 390px;
  }

  .studio-stats {
    gap: 10px;
  }

  .stat {
    padding: 14px 0;
  }

  .stat-number {
    font-size: 36px;
  }

  .stat p {
    font-size: 9px;
  }

  .projects-header p br {
    display: none;
  }

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .media-reveal {
    opacity: 1;
    transform: none;
  }
}
