:root {
  --night: #17141b;
  --night-2: #211d25;
  --plum: #38242f;
  --ivory: #f0ede4;
  --mist: #d5d1c8;
  --muted: #969098;
  --acid: #c7b28c;
  --copper: #c7794f;
  --line: rgba(240, 237, 228, 0.2);
  --font-display: "Instrument Serif", "Iowan Old Style", "Baskerville", serif;
  --font-sans: "DM Sans", "Helvetica Neue", sans-serif;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --section-y: clamp(6.5rem, 13vw, 12rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--ivory);
  background: var(--night);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button,
select {
  cursor: pointer;
}

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

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--night);
  background: var(--acid);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.section-pad {
  padding-inline: var(--pad);
}

.eyebrow,
.section-meta,
.project-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(2.25rem);
  transition:
    opacity 900ms var(--ease),
    transform 900ms var(--ease);
}

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

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.25rem var(--pad);
  transition: padding 300ms ease;
}

.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(23, 20, 27, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(240, 237, 228, 0.1);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.site-header.scrolled {
  padding-block: 0.85rem;
}

.site-header.scrolled::before {
  opacity: 1;
}

body.menu-open .site-header::before {
  opacity: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
}

.brand-mark {
  display: grid;
  width: 2.5rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--night);
  background: var(--acid);
  font-family: var(--font-display);
  font-size: 1.8rem;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}

.brand-name {
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.5rem);
  font-size: 0.82rem;
  font-weight: 500;
}

.site-nav a:not(.nav-cta) {
  position: relative;
  padding-block: 0.75rem;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 350ms var(--ease);
}

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

.nav-cta,
.button-cut {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 3rem;
  padding: 0.8rem 1.1rem;
  color: var(--night);
  background: var(--acid);
  border: 0;
  clip-path: polygon(0 0, calc(100% - 0.8rem) 0, 100% 0.8rem, 100% 100%, 0.8rem 100%, 0 calc(100% - 0.8rem));
  transition:
    background 250ms ease,
    color 250ms ease,
    transform 250ms var(--ease);
}

.nav-cta:hover,
.button-cut:hover {
  color: var(--ivory);
  background: var(--copper);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 3;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  background: none;
  border: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-icon,
.menu-icon::after {
  display: block;
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 250ms ease;
}

.menu-icon::after {
  transform: translateY(0.4rem);
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
  transform: rotate(-90deg);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100svh;
  padding: clamp(8.5rem, 15vh, 11rem) var(--pad) 3rem;
  overflow: hidden;
  isolation: isolate;
  background: var(--night) url("./assets/hero.jpg") center / cover no-repeat;
}

#hero-canvas {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  z-index: -4;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  container-type: size;
}

.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.78vh);
  width: max(100cqw, 177.78cqh);
  height: max(56.25vw, 100vh);
  height: max(56.25cqw, 100cqh);
  border: 0;
  transform: translate(-50%, -50%) scale(1.01);
  pointer-events: none;
  user-select: none;
}

.hero-video-overlay {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 0 76%, rgba(11, 9, 13, 0.96) 89%, #0b090d 100%),
    linear-gradient(90deg, rgba(11, 9, 13, 0.82) 0%, rgba(11, 9, 13, 0.48) 60%, rgba(11, 9, 13, 0.62) 100%),
    rgba(0, 0, 0, 0.34);
  pointer-events: none;
}

.hero-noise {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.045;
  pointer-events: none;
  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='.7'/%3E%3C/svg%3E");
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: start;
}

.hero .eyebrow {
  margin-left: 0.4rem;
  color: var(--acid);
}

.hero h1 {
  margin-top: clamp(1.5rem, 4vh, 3rem);
  font-family: var(--font-display);
  font-size: clamp(5.1rem, 15.2vw, 14.5rem);
  font-weight: 400;
  line-height: 0.72;
  letter-spacing: -0.055em;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  margin-left: clamp(1rem, 17vw, 17rem);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ivory);
  font-weight: 400;
}

.hero-intro {
  display: grid;
  grid-template-columns: minmax(15rem, 27rem) auto;
  align-items: end;
  gap: 2rem;
  max-width: 60rem;
  margin-top: clamp(2rem, 6vh, 4.5rem);
  margin-left: clamp(0rem, 29vw, 28rem);
}

.hero-intro p {
  color: var(--mist);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  gap: 1.5rem;
  padding-block: 0.65rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.text-link::after {
  content: "↘";
}

.parallax-frame img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y, -5%), 0) scale(1.04);
  will-change: transform;
}

.hero-index {
  display: flex;
  align-items: center;
  align-self: end;
  gap: 1rem;
  width: min(23rem, 60%);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-index a {
  transition: color 180ms ease;
}

.hero-index a:hover,
.hero-index a:focus-visible {
  color: var(--acid);
}

.hero-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.manifesto {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  color: var(--night);
  background: var(--ivory);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 0.4fr 2.3fr 1fr;
  gap: clamp(1.5rem, 5vw, 6rem);
  padding-top: clamp(3rem, 7vw, 7rem);
}

.manifesto-number {
  color: var(--copper);
  font-family: var(--font-display);
  font-size: 2.2rem;
}

.manifesto h2 {
  max-width: 60rem;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6.5vw, 7rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.035em;
}

.manifesto h2 em,
.display-title em,
.approach h2 em,
.contact h2 em,
.success-dialog h2 em {
  color: var(--copper);
  font-weight: 400;
}

.manifesto-copy {
  display: grid;
  align-content: end;
  gap: 1.5rem;
  color: #514b53;
  font-size: 0.95rem;
}

.history {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  background: var(--night-2);
}

.history-lead {
  display: grid;
  grid-template-columns: 0.35fr 2fr;
  gap: clamp(2rem, 6vw, 7rem);
  padding-top: clamp(4rem, 9vw, 8rem);
}

.history-year {
  color: var(--acid);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  line-height: 1;
}

.history h2 {
  max-width: 72rem;
  font-family: var(--font-display);
  font-size: clamp(3.7rem, 7vw, 7.5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.history h2 em {
  color: var(--acid);
  font-weight: 400;
}

.history-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(3rem, 9vw, 10rem);
  margin-top: clamp(5rem, 10vw, 10rem);
  margin-left: calc(17.5% + 1.5rem);
}

.history-copy {
  display: grid;
  align-content: start;
  gap: 1.5rem;
  color: var(--mist);
  font-size: 1.05rem;
}

.history-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.history-timeline li {
  display: grid;
  grid-template-columns: minmax(5rem, 0.35fr) 1fr;
  gap: 1.5rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
}

.history-timeline li:last-child {
  border-bottom: 1px solid var(--line);
}

.history-timeline span {
  color: var(--acid);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.history-timeline p {
  color: var(--mist);
}

.projects {
  background: var(--night);
}

.projects-head {
  padding-top: var(--section-y);
  padding-bottom: clamp(4rem, 10vw, 9rem);
}

.display-title {
  margin-top: clamp(3.5rem, 8vw, 8rem);
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 12rem);
  font-weight: 400;
  line-height: 0.77;
  letter-spacing: -0.05em;
}

.project {
  position: relative;
}

.project-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(20rem, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 8vw, 9rem);
  min-height: 100vh;
  padding: clamp(4rem, 8vw, 8rem) var(--pad);
  color: var(--night);
  background: var(--acid);
}

.project-featured::before,
.project-wide::before {
  position: absolute;
  top: 1.5rem;
  left: var(--pad);
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 1;
  content: attr(data-project);
}

.project-media {
  height: min(75vh, 50rem);
  overflow: hidden;
}

.project-featured .project-media {
  clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
}

.project-copy h3 {
  margin: 1rem 0 2.25rem;
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 7.5rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.045em;
}

.project-copy > p:last-of-type {
  max-width: 32rem;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}

.project-facts {
  display: grid;
  gap: 0;
  margin: 3.5rem 0 0;
  font-size: 0.78rem;
}

.project-facts div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(23, 20, 27, 0.35);
}

.project-facts dt {
  color: rgba(23, 20, 27, 0.65);
}

.project-facts dd {
  margin: 0;
}

.project-wide {
  min-height: 115vh;
  padding: clamp(8rem, 15vw, 14rem) var(--pad) clamp(5rem, 8vw, 8rem);
  color: var(--ivory);
  background: var(--plum);
}

.project-wide .project-media {
  width: min(80vw, 78rem);
  height: min(70vh, 48rem);
  margin-inline: auto;
  clip-path: polygon(7% 0, 100% 0, 100% 93%, 93% 100%, 0 100%, 0 7%);
}

.project-wide .project-copy {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: clamp(2rem, 8vw, 8rem);
  width: min(80vw, 78rem);
  margin: 2.5rem auto 0;
}

.project-wide .project-copy h3 {
  margin-bottom: 0;
}

.project-split {
  display: grid;
  grid-template-columns: 0.75fr 2fr 0.8fr;
  gap: clamp(2rem, 7vw, 8rem);
  min-height: 80vh;
  align-items: center;
  padding: var(--section-y) var(--pad);
  color: var(--night);
  background: var(--ivory);
}

.gallery-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(3rem, 6vw, 6rem);
  color: var(--ivory);
  background: var(--night);
  border-top: 1px solid var(--line);
}

.gallery-cta p {
  color: var(--muted);
}

.gallery-cta .button-cut {
  width: auto;
}

.project-index {
  align-self: start;
  color: var(--copper);
  font-family: var(--font-display);
  font-size: clamp(6rem, 16vw, 17rem);
  line-height: 0.7;
  opacity: 0.35;
}

.project-detail {
  display: grid;
  align-self: end;
  border-top: 1px solid var(--night);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.project-detail span {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(23, 20, 27, 0.2);
}

.approach {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  background: var(--night);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 9vw, 10rem);
  padding-top: clamp(4rem, 9vw, 8rem);
}

.approach-heading {
  position: sticky;
  top: 8rem;
  align-self: start;
}

.approach h2,
.contact h2,
.success-dialog h2 {
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 8vw, 8.5rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.05em;
}

.approach-heading > p {
  max-width: 26rem;
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.5rem;
  min-height: 13rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps li > span {
  color: var(--acid);
  font-family: var(--font-display);
  font-size: 1.7rem;
}

.steps h3 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1;
}

.steps p {
  max-width: 28rem;
  margin-top: 1.3rem;
  color: var(--muted);
}

.material-interlude {
  position: relative;
  display: grid;
  min-height: 90vh;
  place-items: center;
  padding: 5rem var(--pad);
  color: var(--night);
  background: var(--copper);
  overflow: hidden;
  text-align: center;
}

.material-interlude > p {
  position: absolute;
  top: 2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.material-interlude blockquote {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 8.5vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
}

.material-orbit {
  position: absolute;
  width: min(70vw, 62rem);
  aspect-ratio: 1;
  border: 1px solid rgba(23, 20, 27, 0.45);
  border-radius: 50%;
}

.material-orbit::before,
.material-orbit::after {
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(23, 20, 27, 0.35);
  border-radius: 50%;
  content: "";
}

.material-orbit::after {
  inset: 30%;
}

.contact {
  display: grid;
  grid-template-columns: minmax(18rem, 0.85fr) minmax(30rem, 1.15fr);
  gap: clamp(3rem, 9vw, 10rem);
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  background: var(--night-2);
}

.contact-intro .eyebrow {
  margin-bottom: 2rem;
  color: var(--acid);
}

.contact-intro > p:not(.eyebrow) {
  max-width: 30rem;
  margin-top: 2.5rem;
  color: var(--muted);
}

.contact-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 30rem;
  margin-top: 3rem;
  padding: 1rem 0;
  border-block: 1px solid var(--line);
  font-size: 0.78rem;
}

.contact-note strong {
  color: var(--acid);
  font-weight: 500;
}

.inquiry-form {
  align-self: start;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field > span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field-full {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0 0.75rem;
  color: var(--ivory);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  transition: border-color 200ms ease;
}

.field input,
.field select {
  min-height: 3rem;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #716b74;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--acid);
}

.field select {
  color-scheme: dark;
}

.field.has-error input,
.field.has-error textarea {
  border-color: #ff9580;
}

.field-error {
  min-height: 1rem;
  color: #ffad9d;
  font-size: 0.7rem;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.consent input {
  width: 1rem;
  height: 1rem;
  margin: 0.1rem 0 0;
  accent-color: var(--acid);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.button-cut {
  min-width: 14rem;
  min-height: 3.5rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.form-status {
  color: #ffad9d;
  font-size: 0.78rem;
}

.site-footer {
  padding: clamp(4rem, 9vw, 8rem) var(--pad) 2rem;
  color: var(--night);
  background: var(--ivory);
  overflow: hidden;
}

.manifesto,
.history,
.projects,
.approach,
.material-interlude,
.contact,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

.footer-brand {
  margin-left: -0.035em;
  font-family: var(--font-display);
  font-size: clamp(7rem, 21vw, 22rem);
  line-height: 0.7;
  letter-spacing: -0.065em;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.8fr auto;
  gap: 2rem;
  align-items: end;
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--night);
  font-size: 0.82rem;
}

.footer-grid > div {
  display: grid;
  gap: 0.35rem;
}

.footer-grid a {
  width: max-content;
  border-bottom: 1px solid transparent;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  border-color: currentColor;
}

.footer-legal {
  color: #6e6870;
  font-size: 0.7rem;
  white-space: nowrap;
}

.success-dialog {
  width: min(42rem, calc(100% - 2rem));
  padding: clamp(2rem, 6vw, 4rem);
  color: var(--ivory);
  background: var(--plum);
  border: 1px solid rgba(240, 237, 228, 0.25);
  clip-path: polygon(0 0, calc(100% - 2rem) 0, 100% 2rem, 100% 100%, 2rem 100%, 0 calc(100% - 2rem));
}

.success-dialog::backdrop {
  background: rgba(10, 8, 12, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.success-dialog .eyebrow {
  color: var(--acid);
}

.success-dialog h2 {
  margin: 1.5rem 0 2rem;
  font-size: clamp(3rem, 7vw, 5.5rem);
}

.success-dialog > p:last-of-type {
  max-width: 31rem;
  color: var(--mist);
}

.dialog-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--ivory);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.5rem;
}

.dialog-done {
  margin-top: 2rem;
}

.gallery-page {
  background: var(--ivory);
}

.gallery-page .site-header {
  color: var(--ivory);
}

.gallery-page .site-header::before {
  background: rgba(23, 20, 27, 0.94);
}

.gallery-page .site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.gallery-hero {
  padding-top: clamp(9rem, 16vw, 13rem);
  padding-bottom: clamp(4rem, 8vw, 8rem);
  color: var(--night);
  background: var(--ivory);
}

.gallery-hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  align-items: end;
  gap: clamp(2rem, 8vw, 8rem);
  padding-top: clamp(3rem, 7vw, 6rem);
}

.gallery-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(6rem, 16vw, 16rem);
  font-weight: 400;
  line-height: 0.7;
  letter-spacing: -0.06em;
}

.gallery-hero h1 em {
  color: var(--copper);
  font-weight: 400;
}

.gallery-hero-grid > p {
  max-width: 25rem;
  color: #5f5961;
  font-size: 1.05rem;
}

.gallery-price-note {
  display: block;
  margin-top: 1.5rem;
  padding-top: 1rem;
  color: var(--night);
  border-top: 1px solid rgba(23, 20, 27, 0.25);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: clamp(4rem, 8vw, 7rem);
}

.gallery-filters button {
  min-height: 2.65rem;
  padding: 0.6rem 1rem;
  color: var(--night);
  background: transparent;
  border: 1px solid rgba(23, 20, 27, 0.35);
  border-radius: 0;
  font-size: 0.76rem;
  font-weight: 600;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.gallery-filters button:hover,
.gallery-filters button:focus-visible,
.gallery-filters button.is-active {
  color: var(--ivory);
  background: var(--night);
  border-color: var(--night);
}

.gallery-grid {
  columns: 3 20rem;
  column-gap: clamp(1rem, 3vw, 3rem);
  padding-bottom: var(--section-y);
  color: var(--night);
  background: var(--ivory);
}

.gallery-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 clamp(3rem, 6vw, 6rem);
  break-inside: avoid;
}

.gallery-card[hidden] {
  display: none;
}

.gallery-card figure {
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  height: auto;
  transition: transform 800ms var(--ease);
}

.project-budget {
  display: block;
  margin-top: 1rem;
  color: var(--acid);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-card:hover img {
  transform: scale(1.018);
}

.gallery-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--night);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gallery-card > p {
  max-width: 30rem;
  margin-top: 0.8rem;
  color: #625c64;
  font-size: 0.88rem;
}

.gallery-contact {
  display: grid;
  justify-items: center;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  color: var(--ivory);
  background: var(--plum);
  text-align: center;
}

.gallery-contact .eyebrow {
  color: var(--acid);
}

.gallery-contact h2 {
  margin: 2rem 0 3rem;
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.05em;
}

.gallery-contact h2 em {
  color: var(--acid);
  font-weight: 400;
}

.gallery-hero,
.gallery-grid,
.gallery-contact {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 0.5rem;
    padding: 7rem var(--pad) 3rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    color: var(--ivory);
    background: var(--plum);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-1rem);
    transition:
      opacity 280ms ease,
      transform 280ms var(--ease),
      visibility 280ms;
  }

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

  .site-nav a:not(.nav-cta) {
    font-family: var(--font-display);
    font-size: clamp(3rem, 12vw, 6rem);
    font-weight: 400;
    line-height: 1;
  }

  .site-nav .nav-cta {
    margin-top: 2rem;
  }

  .hero-intro {
    margin-left: 18vw;
  }

  .manifesto-grid {
    grid-template-columns: 0.3fr 1.7fr;
  }

  .manifesto-copy {
    grid-column: 2;
    max-width: 35rem;
  }

  .history-grid {
    margin-left: 0;
  }

  .project-featured {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
  }

  .project-wide .project-media,
  .project-wide .project-copy {
    width: 90vw;
  }

  .project-split {
    grid-template-columns: 0.5fr 2fr;
  }

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

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

  .contact-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 3rem;
  }

  .contact-intro .eyebrow,
  .contact-intro h2 {
    grid-column: 1 / -1;
  }

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

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

  .gallery-hero-grid > p {
    margin-left: 30%;
  }

  .gallery-grid {
    columns: 2;
  }
}

@media (max-width: 720px) {
  :root {
    --pad: 1.25rem;
    --section-y: 6rem;
  }

  .site-header {
    padding-top: 1rem;
  }

  .brand-mark {
    width: 2.2rem;
  }

  .hero {
    padding-top: 8rem;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 19.5vw, 7.5rem);
    line-height: 0.77;
  }

  .hero h1 em {
    margin-left: 1.2rem;
    -webkit-text-stroke-width: 1px;
  }

  .hero-intro {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 19rem;
    margin-top: 2rem;
    margin-left: 12vw;
  }

  .hero-intro p {
    font-size: 0.95rem;
  }

  .hero-index {
    width: 100%;
  }

  .manifesto .section-meta span:last-child,
  .projects-head .section-meta span:last-child,
  .approach .section-meta span:last-child {
    display: none;
  }

  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 3.5rem;
  }

  .manifesto-number,
  .manifesto-copy {
    grid-column: auto;
  }

  .manifesto h2 {
    font-size: clamp(3.1rem, 15vw, 5rem);
  }

  .history-lead,
  .history-grid {
    grid-template-columns: 1fr;
  }

  .history-grid {
    margin-top: 4rem;
    margin-left: 0;
  }

  .history h2 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .gallery-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .display-title {
    font-size: clamp(4.6rem, 23vw, 7rem);
  }

  .project-featured {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 8rem;
  }

  .project-media {
    height: 62vh;
    min-height: 28rem;
  }

  .project-featured .project-copy {
    padding-bottom: 2rem;
  }

  .project-copy h3 {
    font-size: clamp(3.8rem, 19vw, 6rem);
  }

  .project-wide {
    min-height: 0;
    padding-top: 9rem;
  }

  .project-wide .project-media,
  .project-wide .project-copy {
    width: 100%;
  }

  .project-wide .project-media {
    height: 56vh;
  }

  .project-wide .project-copy {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .project-index {
    font-size: 8rem;
  }

  .project-detail {
    grid-column: auto;
  }

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

  .approach-heading {
    position: static;
  }

  .approach h2,
  .contact h2 {
    font-size: clamp(4rem, 20vw, 6rem);
  }

  .steps li {
    min-height: 11rem;
  }

  .material-interlude {
    min-height: 70vh;
  }

  .material-interlude blockquote {
    font-size: clamp(3.3rem, 16vw, 5.5rem);
  }

  .material-orbit {
    width: 105vw;
  }

  .contact-intro {
    display: block;
  }

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

  .field-full {
    grid-column: auto;
  }

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

  .button-cut {
    width: 100%;
  }

  .footer-brand {
    font-size: 27vw;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-legal {
    white-space: normal;
  }

  .gallery-hero h1 {
    font-size: clamp(5rem, 26vw, 8rem);
  }

  .gallery-hero-grid > p {
    margin-left: 15%;
  }

  .gallery-grid {
    columns: 1;
  }

  .gallery-card,
  .gallery-card-wide,
  .gallery-card-tall {
    margin-bottom: 4rem;
  }
}

@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 {
    opacity: 1;
    transform: none;
  }

  .parallax-frame img {
    height: 100%;
    transform: none;
  }

  #hero-canvas {
    display: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .parallax-frame img {
    height: 100%;
    transform: none;
    will-change: auto;
  }
}
