:root {
  --ink: #171717;
  --paper: #f7f3ec;
  --warm: #eee7dc;
  --stone: #c8c2b8;
  --accent: #8f9b79;
  --clay: #9e604e;
  --white: #ffffff;
  --black: #050505;
  --line: rgba(255, 255, 255, 0.28);
  --dark-line: rgba(23, 23, 23, 0.14);
  --font: "Graphik", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
  font-family: var(--font);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  text-rendering: optimizeLegibility;
}

body.menu-is-open,
body.lightbox-is-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.intro-wipe {
  position: fixed;
  inset: 0;
  z-index: 300;
  color: var(--white);
  pointer-events: none;
  overflow: hidden;
}

.intro-wipe__panels {
  position: absolute;
  inset: 0;
}

.intro-wipe__panels span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 33.334%;
  background: #1c252c;
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.intro-wipe__panels span:first-child {
  left: 0;
}

.intro-wipe__panels span:nth-child(2) {
  left: 33.333%;
  transition-delay: 80ms;
}

.intro-wipe__panels span:nth-child(3) {
  left: 66.666%;
  transition-delay: 160ms;
}

.intro-wipe__title {
  position: absolute;
  top: 50%;
  left: clamp(20px, 9vw, 120px);
  font-size: clamp(3.2rem, 9vw, 9rem);
  line-height: 0.9;
  font-weight: 500;
  transform: translateY(-50%);
  transition: opacity 500ms ease, transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.intro-wipe.is-out .intro-wipe__panels span {
  transform: translateX(101vw);
}

.intro-wipe.is-out .intro-wipe__title {
  opacity: 0;
  transform: translate(-5%, -50%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 26px clamp(20px, 4vw, 54px);
  color: var(--white);
  transition: background 220ms ease, padding 220ms ease, color 220ms ease;
}

.site-header.is-scrolled {
  padding-top: 16px;
  padding-bottom: 16px;
  color: var(--ink);
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  font-size: 0.8rem;
  font-weight: 700;
}

.brand__text {
  display: grid;
  gap: 2px;
  line-height: 1;
  text-transform: uppercase;
}

.brand__text span {
  font-size: clamp(0.82rem, 1.5vw, 0.95rem);
  font-weight: 700;
}

.brand__text small {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  opacity: 0.76;
}

.quick-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.quick-nav a {
  position: relative;
  padding: 8px 0;
}

.quick-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
}

.language-switcher {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(38px, 1fr));
  min-height: 34px;
  border: 1px solid currentColor;
}

.language-switcher__button {
  min-width: 38px;
  padding: 0 10px;
  color: inherit;
  background: transparent;
  border: 0;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.language-switcher__button + .language-switcher__button {
  border-left: 1px solid currentColor;
}

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

.site-header.is-scrolled .language-switcher__button.is-active,
.site-header.is-scrolled .language-switcher__button:hover,
.site-header.is-scrolled .language-switcher__button:focus-visible {
  color: var(--white);
  background: var(--ink);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  background: transparent;
  border: 0;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
}

.menu-toggle__lines {
  display: grid;
  gap: 6px;
  width: 28px;
}

.menu-toggle__lines span {
  display: block;
  height: 2px;
  background: currentColor;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: minmax(280px, 40vw) 1fr;
  color: var(--white);
  background: var(--black);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 260ms ease, visibility 260ms ease, transform 260ms ease;
}

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

.menu-overlay__preview,
.service-card,
.project-card,
.about-band__image,
.contact-section__image {
  background-image: var(--image);
  background-position: center;
  background-size: cover;
}

[data-parallax] {
  background-position: center calc(50% + var(--parallax-y, 0px));
}

.menu-overlay__preview {
  min-height: 100%;
  opacity: 0.9;
  transition: background-image 260ms ease;
}

.menu-overlay__preview::after {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.58));
  content: "";
}

.menu-overlay__content {
  display: grid;
  align-content: center;
  gap: clamp(34px, 5vw, 70px);
  padding: clamp(34px, 6vw, 82px);
  background: #11110f;
}

.menu-overlay__intro {
  max-width: 680px;
}

.menu-overlay__intro p,
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.menu-overlay__intro h2 {
  margin: 0;
  max-width: 740px;
  font-size: clamp(2.2rem, 5vw, 5.5rem);
  line-height: 0.98;
  font-weight: 500;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 48px);
}

.menu-column {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.menu-column h3 {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.menu-column__links {
  display: grid;
  gap: 16px;
}

.menu-column__links a {
  width: fit-content;
  font-size: clamp(1.15rem, 2.2vw, 2rem);
  line-height: 1.1;
  transition: color 180ms ease, transform 180ms ease;
}

.menu-column__links a:hover,
.menu-column__links a:focus-visible {
  color: var(--accent);
  transform: translateX(8px);
}

.menu-overlay__close {
  position: fixed;
  top: 28px;
  right: clamp(20px, 4vw, 54px);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.46);
}

.menu-overlay__close span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.menu-overlay__close span:first-child {
  transform: rotate(45deg);
}

.menu-overlay__close span:last-child {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media {
  z-index: 0;
  overflow: hidden;
  background: #171815;
  contain: paint;
  transform: translateZ(0);
}

.hero__media-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateZ(0);
  transition: opacity 900ms ease;
  backface-visibility: hidden;
  will-change: opacity;
}

.hero__media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, 0, 0) scale(1.12);
  transform-origin: center;
  transition: transform 6800ms cubic-bezier(0.19, 1, 0.22, 1);
  backface-visibility: hidden;
  will-change: transform;
}

.hero__media-frame.is-active {
  opacity: 1;
}

.hero__media-frame.is-active img {
  transform: translate3d(var(--hero-drift-x, 0), var(--hero-drift-y, 0), 0) scale(1.06);
}

.hero__shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.2) 58%, rgba(0, 0, 0, 0.48)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.04) 42%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(850px, calc(100% - 40px));
  margin-left: clamp(20px, 8vw, 110px);
  padding-top: 92px;
}

.hero h1 {
  margin: 0;
  max-width: 790px;
  font-size: clamp(3.2rem, 9vw, 8.8rem);
  line-height: 0.88;
  font-weight: 500;
}

.hero__lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.text-button:hover,
.text-button:focus-visible {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.text-button--ghost {
  color: var(--white);
  background: transparent;
}

.text-button--light {
  border-color: var(--white);
}

.hero__rail {
  position: absolute;
  right: clamp(20px, 4vw, 54px);
  bottom: clamp(98px, 14vh, 160px);
  z-index: 2;
  display: grid;
  gap: 10px;
  width: min(280px, 34vw);
}

.hero-rail-item {
  position: relative;
  width: 100%;
  padding: 12px 0 12px 28px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  text-align: left;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 800;
  transition: color 180ms ease;
}

.hero-rail-item::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  border: 1px solid currentColor;
  content: "";
  transform: translateY(-50%);
}

.hero-rail-item.is-active,
.hero-rail-item:hover,
.hero-rail-item:focus-visible {
  color: var(--white);
}

.hero-rail-item.is-active::before {
  background: currentColor;
}

.hero__controls {
  position: absolute;
  right: clamp(20px, 4vw, 54px);
  bottom: clamp(26px, 5vw, 54px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
}

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.42);
  transition: background 180ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.icon-button span {
  width: 12px;
  height: 12px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(2px, -2px);
}

.icon-button--next span {
  transform: rotate(225deg) translate(2px, -2px);
}

.hero__count {
  min-width: 64px;
  font-size: 0.76rem;
  font-weight: 800;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 860ms ease,
    transform 860ms cubic-bezier(0.19, 1, 0.22, 1),
    clip-path 920ms cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, clip-path;
}

.service-card[data-reveal],
.project-card[data-reveal],
.showcase-tile[data-reveal],
.about-band__image[data-reveal] {
  clip-path: inset(8% 0 8% 0);
}

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

.service-card[data-reveal].is-visible,
.project-card[data-reveal].is-visible,
.showcase-tile[data-reveal].is-visible,
.about-band__image[data-reveal].is-visible {
  clip-path: inset(0 0 0 0);
}

.section {
  padding: clamp(72px, 9vw, 132px) clamp(20px, 5vw, 72px);
}

.section--dark {
  color: var(--white);
  background: #171815;
}

.section--light {
  background: var(--paper);
}

.section--warm {
  background: var(--warm);
}

.section__heading {
  max-width: 860px;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.section__heading--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.section h2,
.about-band h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5.8vw, 6rem);
  line-height: 0.96;
  font-weight: 500;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  min-height: 650px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.service-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 560px;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

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

.service-card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.18) 62%),
    rgba(0, 0, 0, 0.18);
  content: "";
  transition: background 220ms ease;
}

.service-card:hover::before,
.service-card:focus-within::before {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.08) 62%),
    rgba(143, 155, 121, 0.18);
}

.service-card__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 36px);
}

.service-card h3,
.project-card h3,
.process-step h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.7rem);
  line-height: 1;
  font-weight: 500;
}

.service-card p,
.project-card p,
.process-step p {
  margin: 0;
  line-height: 1.6;
}

.service-card__list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 4px 0 0;
  list-style: none;
}

.service-card__list li {
  position: relative;
  padding-left: 16px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  line-height: 1.45;
}

.service-card__list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--accent);
  content: "";
  transform: translateY(-50%);
}

.service-card__content > p:not(.eyebrow),
.project-card__content > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.8);
}

.text-link {
  width: fit-content;
  margin-top: 6px;
  color: var(--white);
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--dark-line);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

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

.project-card {
  position: relative;
  min-height: clamp(360px, 48vw, 680px);
  overflow: hidden;
  color: var(--white);
}

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

.project-card:nth-child(6n + 2),
.project-card:nth-child(6n + 3) {
  grid-column: span 5;
}

.project-card:nth-child(6n + 5),
.project-card:nth-child(6n + 6) {
  grid-column: span 6;
}

.project-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.05) 60%);
  content: "";
}

.project-card__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 12px;
  padding: clamp(22px, 3vw, 38px);
}

.showcase-section {
  padding: clamp(72px, 9vw, 132px) clamp(20px, 5vw, 72px);
  background: #11110f;
  color: var(--white);
}

.showcase-section__lead {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.showcase-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 150px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.showcase-tile {
  position: relative;
  grid-column: span 2;
  grid-row: span 2;
  overflow: hidden;
  min-width: 0;
  padding: 0;
  color: var(--white);
  background: #25231f;
  border: 0;
}

.showcase-tile--wide {
  grid-column: span 3;
}

.showcase-tile--tall {
  grid-row: span 3;
}

.showcase-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.showcase-tile::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.54), transparent 56%);
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.showcase-tile span {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: left;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
  transform: translateY(8px);
}

.showcase-tile:hover img,
.showcase-tile:focus-visible img {
  filter: saturate(0.9) contrast(1.04);
  transform: scale(1.045);
}

.showcase-tile:hover::after,
.showcase-tile:focus-visible::after,
.showcase-tile:hover span,
.showcase-tile:focus-visible span {
  opacity: 1;
}

.showcase-tile:hover span,
.showcase-tile:focus-visible span {
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  padding: clamp(18px, 4vw, 50px);
  color: var(--white);
  background: rgba(5, 5, 5, 0.94);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__figure {
  display: grid;
  gap: 16px;
  justify-items: center;
  min-width: 0;
  margin: 0;
}

.lightbox__figure img {
  width: auto;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.lightbox__figure figcaption {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lightbox__close,
.lightbox__nav {
  display: grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
}

.lightbox__close span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: currentColor;
}

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

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

.lightbox__nav span {
  width: 13px;
  height: 13px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.lightbox__nav--prev span {
  transform: rotate(45deg) translate(2px, -2px);
}

.lightbox__nav--next span {
  transform: rotate(225deg) translate(2px, -2px);
}

.about-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(340px, 1.05fr);
  min-height: 680px;
  color: var(--white);
  background: #23221f;
}

.about-band__image {
  min-height: 520px;
}

.about-band__content {
  display: grid;
  align-content: center;
  gap: 24px;
  padding: clamp(44px, 7vw, 94px);
}

.about-band__content > p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.75;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.stat {
  display: grid;
  gap: 6px;
}

.stat strong {
  font-size: clamp(1.8rem, 3.6vw, 3.8rem);
  line-height: 1;
  font-weight: 500;
}

.stat span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--dark-line);
  border-left: 1px solid var(--dark-line);
}

.process-step {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 330px;
  padding: clamp(24px, 4vw, 46px);
  border-right: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
}

.process-step__number {
  color: var(--clay);
  font-size: 0.8rem;
  font-weight: 900;
}

.process-step p {
  color: rgba(23, 23, 23, 0.68);
}

.contact-section {
  position: relative;
  display: grid;
  min-height: 100svh;
  color: var(--white);
  overflow: hidden;
}

.contact-section__image,
.contact-section__shade {
  position: absolute;
  inset: 0;
}

.contact-section__shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.35) 58%, rgba(0, 0, 0, 0.62)),
    rgba(0, 0, 0, 0.28);
}

.contact-section__content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(74px, 10vw, 128px) 0;
}

.contact-section__content > p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 34px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 0;
  padding: 14px 13px;
  outline: 0;
}

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

.contact-form option {
  color: var(--ink);
}

.contact-form__wide {
  grid-column: 1 / -1;
}

.contact-form button {
  justify-self: start;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-note {
  align-self: center;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 5vw, 72px);
  background: #11110f;
  color: var(--white);
}

.site-footer strong {
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.content-editor {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 160;
  color: var(--ink);
}

.content-editor__toggle,
.content-editor button {
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.content-editor__panel {
  position: absolute;
  right: 0;
  bottom: 52px;
  display: grid;
  gap: 10px;
  width: min(760px, calc(100vw - 36px));
  max-height: min(760px, calc(100vh - 96px));
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.content-editor__header,
.content-editor__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.content-editor__actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.content-editor textarea {
  width: 100%;
  height: min(520px, 58vh);
  resize: vertical;
  padding: 12px;
  color: var(--ink);
  background: #fffdf9;
  border: 1px solid var(--dark-line);
  font: 0.82rem/1.45 Consolas, "Courier New", monospace;
}

.content-editor p {
  margin: 0;
  color: rgba(23, 23, 23, 0.7);
  line-height: 1.4;
}

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

  .quick-nav {
    display: none;
  }

  .menu-overlay {
    grid-template-columns: 1fr;
  }

  .menu-overlay__preview {
    display: none;
  }

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

  .service-card {
    min-height: 440px;
  }

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

  .project-card,
  .project-card:nth-child(n) {
    grid-column: span 6;
  }

  .showcase-grid {
    grid-auto-rows: 130px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .showcase-tile,
  .showcase-tile--wide {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 16px 18px;
  }

  .brand__mark {
    width: 40px;
  }

  .brand__text small {
    display: none;
  }

  .header-actions {
    gap: 12px;
  }

  .language-switcher {
    grid-template-columns: repeat(2, 34px);
    min-height: 32px;
  }

  .language-switcher__button {
    min-width: 34px;
    padding: 0;
  }

  .menu-toggle__label {
    display: none;
  }

  .menu-overlay__content {
    overflow-y: auto;
    padding: 72px 24px 30px;
  }

  .menu-grid,
  .service-grid,
  .process-list,
  .contact-form,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 760px;
  }

  .hero__content {
    width: calc(100% - 36px);
    margin: 0 auto;
    padding-top: 110px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .hero__rail {
    right: 18px;
    bottom: 96px;
    left: 18px;
    width: auto;
  }

  .hero-rail-item {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .hero__controls {
    right: 18px;
    left: 18px;
    justify-content: flex-end;
  }

  .section {
    padding: 66px 18px;
  }

  .section__heading--row {
    align-items: start;
    flex-direction: column;
  }

  .filter-bar {
    justify-content: flex-start;
  }

  .service-card,
  .project-card,
  .project-card:nth-child(n) {
    grid-column: span 12;
    min-height: 380px;
  }

  .showcase-grid {
    grid-auto-rows: 140px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-tile,
  .showcase-tile--wide,
  .showcase-tile--tall {
    grid-column: span 1;
    grid-row: span 2;
  }

  .lightbox {
    grid-template-columns: 1fr 1fr;
    align-content: center;
  }

  .lightbox__figure {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .lightbox__nav--prev {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
  }

  .lightbox__nav--next {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }

  .about-band__image {
    min-height: 360px;
  }

  .about-band__content {
    padding: 48px 22px;
  }

  .contact-section__content {
    width: calc(100% - 36px);
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

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