@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url("/assets/fonts/commissioner-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url("/assets/fonts/commissioner-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Sofia Sans Extra Condensed";
  font-style: normal;
  font-weight: 600 800;
  font-display: optional;
  src: url("/assets/fonts/sofia-extra-condensed-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Sofia Sans Extra Condensed";
  font-style: normal;
  font-weight: 600 800;
  font-display: optional;
  src: url("/assets/fonts/sofia-extra-condensed-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --petrol: oklch(0.43 0.075 211);
  --petrol-deep: oklch(0.24 0.04 211);
  --graphite: oklch(0.16 0.015 215);
  --aluminium: oklch(0.91 0.01 215);
  --white: oklch(0.99 0.004 215);
  --signal: oklch(0.88 0.185 104);
  --signal-ink: oklch(0.22 0.04 104);
  --muted-dark: oklch(0.78 0.02 211);
  --muted-light: oklch(0.4 0.025 211);
  --line-dark: oklch(0.99 0.004 215 / 0.16);
  --line-light: oklch(0.24 0.04 211 / 0.16);
  --font-display: "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif;
  --font-body: "Commissioner", Arial, sans-serif;
  --shell: min(calc(100% - 48px), 1360px);
  --header-height: 88px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --z-header: 30;
  --z-actions: 40;
  --z-backdrop: 60;
  --z-dialog: 70;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  background: var(--white);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 450;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
select {
  cursor: pointer;
}

a,
button,
select {
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

ul,
ol {
  padding: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 750;
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--petrol-deep);
  outline-offset: 3px;
}

.hero :focus-visible,
.projects :focus-visible,
.contact-primary :focus-visible,
.site-footer :focus-visible,
.menu-dialog :focus-visible,
.media-dialog :focus-visible,
.mobile-actions a:first-child:focus-visible {
  outline-color: var(--signal);
}

.skip-link {
  position: fixed;
  z-index: calc(var(--z-dialog) + 1);
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  background: var(--signal);
  color: var(--signal-ink);
  font-weight: 700;
  transform: translateY(-180%);
}

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

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

.section {
  padding-block: clamp(5rem, 9vw, 9rem);
}

.section-note {
  color: var(--petrol);
  font-size: 0.96rem;
  font-weight: 650;
}

.site-header {
  position: sticky;
  z-index: var(--z-header);
  top: 0;
  height: var(--header-height);
  background: var(--white);
  border-bottom: 1px solid var(--line-light);
}

.header-inner {
  display: flex;
  align-items: stretch;
  width: var(--shell);
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 20px;
  padding-right: clamp(18px, 2.6vw, 42px);
  color: var(--petrol-deep);
  text-decoration: none;
}

.brand img {
  width: clamp(150px, 13vw, 200px);
}

.brand span {
  padding-left: 18px;
  border-left: 1px solid var(--line-light);
  font-size: 0.7rem;
  font-weight: 650;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  border-left: 1px solid var(--line-light);
}

.desktop-nav a {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 12px clamp(10px, 1.2vw, 20px);
  color: var(--petrol-deep);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.desktop-nav a::after {
  width: 0;
  height: 2px;
  margin-top: 4px;
  background: var(--petrol);
  content: "";
  transition: width 220ms var(--ease-out);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  width: 100%;
}

.header-phone {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-direction: column;
  min-width: 196px;
  padding-left: 28px;
  border-left: 1px solid var(--line-light);
  color: var(--petrol-deep);
  text-decoration: none;
}

.header-phone span {
  color: var(--muted-light);
  font-size: 0.72rem;
}

.header-phone strong {
  font-size: 0.98rem;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  align-self: center;
  width: 52px;
  height: 52px;
  margin-left: auto;
  border: 0;
  border-radius: 0;
  background: var(--petrol);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: calc(100svh - var(--header-height));
  background: var(--petrol-deep);
  color: var(--white);
  overflow: clip;
}

.hero-copy {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: clamp(48px, 6.5vw, 112px) clamp(28px, 6vw, 108px) clamp(110px, 10vw, 150px) max(24px, calc((100vw - 1360px) / 2 + 24px));
}

.hero-context {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(28px, 4vw, 56px);
  color: var(--muted-dark);
  font-size: 0.82rem;
  font-weight: 650;
}

.hero-context span + span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-context span + span::before {
  width: 28px;
  height: 1px;
  background: var(--line-dark);
  content: "";
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.5rem, 7.2vw, 6rem);
}

.hero h1 em {
  color: var(--white);
  font-style: normal;
}

.hero h1 em::after {
  display: inline-block;
  width: 0.18em;
  height: 0.18em;
  margin-left: 0.08em;
  background: var(--signal);
  content: "";
}

.hero-lead {
  max-width: 56ch;
  margin-top: clamp(26px, 3vw, 40px);
  color: var(--muted-dark);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(30px, 4vw, 48px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 14px 20px;
  border: 0;
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: color 180ms var(--ease-out), background-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.button svg,
.map-link svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.8;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button-signal:hover {
  background: var(--white);
}

.button-quiet {
  min-height: 50px;
  border-bottom: 1px solid var(--line-dark);
  border-radius: 0;
  color: var(--white);
}

.button-quiet:hover {
  border-bottom-color: var(--signal);
  color: var(--signal);
}

.hero-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: clamp(30px, 4vw, 56px);
  color: var(--muted-dark);
  font-size: 0.8rem;
  list-style: none;
}

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

.hero-scope li::before {
  width: 6px;
  height: 6px;
  background: var(--signal);
  content: "";
}

.hero-visual {
  position: relative;
  min-width: 0;
  background: var(--petrol);
  overflow: hidden;
}

.hero-visual picture,
.hero-visual img {
  width: 100%;
  height: 100%;
}

.hero-visual img {
  object-fit: cover;
  object-position: 48% center;
  filter: saturate(0.82) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--petrol-deep) 0%, transparent 24%, transparent 78%, oklch(0.16 0.015 215 / 0.4) 100%);
  pointer-events: none;
}

.hero-caption {
  position: absolute;
  z-index: 2;
  isolation: isolate;
  right: clamp(20px, 4vw, 58px);
  bottom: 112px;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  max-width: 240px;
  padding: 14px 16px;
  background-color: var(--petrol-deep);
  text-align: right;
}

.hero-caption span {
  color: var(--signal);
  font-size: 0.72rem;
}

.hero-caption strong {
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-seam {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 10px;
  height: 100%;
  background: var(--aluminium);
  transform-origin: top;
  animation: seam-set 760ms var(--ease-out) both;
}

.hero-seam span {
  position: absolute;
  inset: 0 0 0 4px;
  background: var(--signal);
}

@keyframes seam-set {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@media (min-width: 1121px) and (max-height: 860px) {
  .hero-copy {
    padding-top: 36px;
    padding-bottom: 44px;
  }

  .hero-context {
    margin-bottom: 18px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 5.8vw, 4.8rem);
  }

  .hero-lead {
    margin-top: 18px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-scope {
    margin-top: 20px;
  }

  .hero-caption {
    bottom: 32px;
  }
}

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(48px, 9vw, 140px);
}

.about-heading h2,
.services-heading h2,
.projects-heading h2,
.letters-heading h2,
.contact h2,
.start h2 {
  margin-top: 20px;
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.about-copy {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  gap: 26px;
  max-width: 760px;
}

.large-copy {
  color: var(--petrol-deep);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 560;
  line-height: 1.25;
}

.about-copy > p:last-child {
  max-width: 68ch;
  color: var(--muted-light);
}

.principle-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(64px, 9vw, 132px);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.principle-rail > div {
  min-height: 190px;
  padding: clamp(24px, 3vw, 42px);
  border-right: 1px solid var(--line-light);
}

.principle-rail > div:last-child {
  border-right: 0;
}

.principle-rail span {
  display: block;
  color: var(--petrol);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
}

.principle-rail p {
  max-width: 28ch;
  margin-top: 22px;
  color: var(--muted-light);
}

.services {
  background: var(--aluminium);
}

.services-heading,
.letters-heading,
.projects-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: clamp(40px, 8vw, 120px);
  margin-bottom: clamp(60px, 8vw, 110px);
}

.services-heading > p,
.letters-heading > p,
.projects-heading > p {
  max-width: 48ch;
  color: var(--muted-light);
}

.service-cutaway {
  position: relative;
}

.service-block {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1.24fr);
  min-height: 560px;
  background: var(--white);
}

.service-block + .service-block {
  grid-template-columns: minmax(0, 1.24fr) minmax(300px, 0.76fr);
  background: var(--petrol-deep);
  color: var(--white);
}

.service-copy {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: clamp(36px, 6vw, 86px);
}

.material-tag {
  align-self: flex-start;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--signal);
  color: var(--petrol);
  font-size: 0.9rem;
  font-weight: 700;
}

.service-metal .material-tag {
  color: var(--signal);
}

.service-copy h3 {
  max-width: 10ch;
  margin-top: 28px;
  color: var(--petrol-deep);
  font-size: clamp(2.6rem, 4.7vw, 4.8rem);
}

.service-metal .service-copy h3 {
  color: var(--white);
}

.service-copy > p {
  max-width: 46ch;
  margin-top: 28px;
  color: var(--muted-light);
}

.service-metal .service-copy > p,
.service-metal .service-copy li {
  color: var(--muted-dark);
}

.service-copy ul {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  list-style: none;
}

.service-copy li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--petrol-deep);
}

.service-copy li::before {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 0.55em;
  background: var(--signal);
  content: "";
}

.service-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.service-media picture,
.service-media img {
  width: 100%;
  height: 100%;
}

.service-media img {
  object-fit: cover;
}

.service-media figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 260px;
  padding: 12px 16px;
  background: var(--petrol-deep);
  color: var(--muted-dark);
  font-size: 0.72rem;
}

.service-metal .service-media figcaption {
  background: var(--white);
  color: var(--muted-light);
}

.projects {
  background: var(--graphite);
  color: var(--white);
}

.projects-heading > p {
  color: var(--muted-dark);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(240px, 28vw);
  gap: 12px;
}

.project-tile {
  position: relative;
  grid-column: span 5;
  min-height: 0;
  color: var(--white);
  text-decoration: none;
  overflow: hidden;
}

.project-featured {
  grid-column: span 7;
  grid-row: span 2;
}

.project-wide {
  grid-column: span 5;
}

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

.project-tile:nth-of-type(4) {
  grid-column: span 4;
}

.project-tile figure,
.project-tile picture,
.project-tile img {
  width: 100%;
  height: 100%;
}

.project-tile img {
  object-fit: cover;
  transition: transform 520ms var(--ease-out), filter 520ms var(--ease-out);
}

.project-open {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--white);
  color: var(--petrol-deep);
  font-size: 1.4rem;
}

.project-tile figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 14px 18px;
  background: var(--petrol-deep);
  font-size: 0.78rem;
  font-weight: 600;
}

.project-tile:hover img,
.project-tile:focus-visible img {
  filter: saturate(1.04) contrast(1.03);
  transform: scale(1.025);
}

.start {
  background: var(--aluminium);
  color: var(--petrol-deep);
}

.start-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(60px, 10vw, 150px);
}

.start-kicker {
  color: var(--petrol);
  font-weight: 700;
}

.start h2 {
  max-width: 10ch;
  margin-top: 20px;
}

.start-steps {
  border-top: 2px solid currentColor;
  list-style: none;
}

.start-steps li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line-light);
}

.start-steps li > span {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 750;
  line-height: 1;
}

.start-steps strong {
  display: block;
  font-size: 1.1rem;
}

.start-steps p {
  max-width: 48ch;
  margin-top: 6px;
}

.letters {
  background: var(--white);
}

.letters-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.letter-link {
  display: block;
  padding: 12px;
  background: var(--aluminium);
  color: var(--petrol-deep);
  text-decoration: none;
}

.letter-link picture {
  display: block;
  aspect-ratio: 0.7;
  background: var(--white);
  overflow: hidden;
}

.letter-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 320ms var(--ease-out);
}

.letter-link figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 4px 4px;
  font-size: 0.78rem;
}

.letter-link figcaption span {
  color: var(--muted-light);
}

.letter-link:hover img,
.letter-link:focus-visible img {
  transform: translateY(-4px);
}

.contact {
  background: var(--petrol);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  gap: clamp(50px, 9vw, 140px);
}

.contact-primary > p {
  color: var(--signal);
  font-weight: 650;
}

.contact-primary h2 {
  max-width: 9ch;
}

.contact-phone,
.contact-mail {
  display: block;
  width: fit-content;
  text-decoration: none;
}

.contact-phone {
  margin-top: clamp(42px, 6vw, 72px);
  color: var(--signal);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 750;
  line-height: 1;
}

.contact-mail {
  margin-top: 12px;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 600;
}

.contact address {
  display: grid;
  gap: 6px;
  max-width: 54ch;
  margin-top: 42px;
  color: var(--aluminium);
  font-style: normal;
}

.contact address strong {
  color: var(--white);
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  margin-top: 24px;
  color: var(--white);
  font-weight: 650;
}

.contact-brief {
  align-self: start;
  padding: clamp(28px, 4.5vw, 58px);
  border-top: 10px solid var(--signal);
  background: var(--white);
  color: var(--graphite);
}

.brief-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 18px;
}

.field {
  display: grid;
  gap: 9px;
}

.field-wide,
.form-privacy,
.form-actions,
.form-status {
  grid-column: 1 / -1;
}

.field label {
  color: var(--petrol-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 0;
  border-radius: 2px;
  background: var(--aluminium);
  color: var(--graphite);
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: oklch(0.39 0.022 211);
  opacity: 1;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--petrol);
  outline-offset: 1px;
}

.field [aria-invalid="true"] {
  outline: 3px solid oklch(0.52 0.2 29);
  outline-offset: 1px;
}

.form-privacy {
  max-width: 66ch;
  color: var(--muted-light);
  font-size: 0.78rem;
}

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

.contact-brief .button-signal:hover {
  background: var(--petrol-deep);
  color: var(--white);
}

.mail-fallback {
  color: var(--petrol-deep);
  font-size: 0.84rem;
  font-weight: 650;
}

.form-status {
  min-height: 1.4em;
  color: var(--petrol-deep);
  font-size: 0.84rem;
  font-weight: 600;
}

.site-footer {
  padding-block: 42px;
  background: var(--graphite);
  color: var(--muted-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(240px, 1fr) minmax(220px, 0.7fr);
  align-items: end;
  gap: 36px;
}

.footer-brand img {
  width: 180px;
}

.footer-legal,
.footer-links {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
}

.footer-legal strong,
.footer-links a {
  color: var(--white);
}

.footer-links {
  justify-items: end;
  text-align: right;
}

.mobile-actions {
  display: none;
}

.menu-dialog,
.media-dialog {
  z-index: var(--z-dialog);
  margin: 0;
  padding: 0;
  border: 0;
  overscroll-behavior: contain;
}

.menu-dialog::backdrop,
.media-dialog::backdrop {
  background: oklch(0.1 0.01 215 / 0.82);
}

.menu-dialog {
  inset: 0 0 0 auto;
  width: min(100%, 560px);
  max-width: none;
  height: 100dvh;
  max-height: none;
  background: var(--petrol-deep);
  color: var(--white);
}

.menu-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px clamp(24px, 8vw, 54px) max(36px, env(safe-area-inset-bottom));
}

.menu-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.menu-topline img {
  width: 150px;
}

.dialog-close,
.media-close {
  min-width: 48px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 0;
  background: transparent;
  color: var(--white);
  font-size: 0.78rem;
}

.menu-title {
  margin-top: clamp(52px, 10vh, 90px);
  color: var(--muted-dark);
  font-size: 0.78rem;
}

.mobile-nav {
  display: grid;
  margin-top: 16px;
}

.mobile-nav a {
  padding-block: 13px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 4rem);
  font-weight: 700;
  line-height: 0.95;
  text-decoration: none;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  color: var(--signal);
}

.menu-contact {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 44px;
  color: var(--muted-dark);
  font-size: 0.84rem;
}

.menu-contact a {
  width: fit-content;
  color: var(--white);
  font-weight: 650;
}

.media-dialog {
  top: 50%;
  left: 50%;
  width: min(calc(100% - 32px), 1100px);
  max-width: none;
  max-height: calc(100dvh - 32px);
  background: var(--graphite);
  color: var(--white);
  transform: translate(-50%, -50%);
}

.media-dialog-inner {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: calc(100dvh - 32px);
  padding: 16px;
}

.media-dialog form {
  position: absolute;
  z-index: 2;
  top: 26px;
  right: 26px;
}

.media-close {
  background: var(--graphite);
}

.media-dialog img {
  width: 100%;
  max-height: calc(100dvh - 110px);
  object-fit: contain;
}

.media-dialog p {
  padding: 14px 2px 2px;
  color: var(--muted-dark);
  font-size: 0.84rem;
}

@media (max-width: 1120px) {
  .brand span,
  .desktop-nav {
    display: none;
  }

  .brand {
    padding-right: 0;
  }

  .header-phone {
    margin-left: auto;
    padding-right: 24px;
    border-left: 0;
  }

  .menu-toggle {
    display: block;
  }

  html:not(.js) .site-header {
    position: relative;
    height: auto;
  }

  html:not(.js) .header-inner {
    flex-wrap: wrap;
    height: auto;
  }

  html:not(.js) .desktop-nav {
    display: flex;
    flex: 0 0 100%;
    order: 3;
    justify-content: flex-start;
    border-top: 1px solid var(--line-light);
    border-left: 0;
    overflow-x: auto;
  }

  html:not(.js) .desktop-nav a {
    flex: 1 0 auto;
  }

  html:not(.js) .menu-toggle {
    display: none;
  }

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

  .hero-copy {
    min-height: calc(88svh - var(--header-height));
    padding-right: max(24px, calc((100vw - 900px) / 2 + 24px));
    padding-bottom: 118px;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero-visual {
    min-height: min(72vw, 720px);
  }

  .hero-visual::after {
    background: linear-gradient(180deg, var(--petrol-deep) 0%, transparent 18%, transparent 82%, oklch(0.16 0.015 215 / 0.45) 100%);
  }

  .hero-seam {
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    transform-origin: left;
    animation-name: seam-set-horizontal;
  }

  .hero-seam span {
    inset: 4px 0 0;
  }

  @keyframes seam-set-horizontal {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }

  .service-block,
  .service-block + .service-block {
    grid-template-columns: 1fr 1fr;
  }

  .service-copy {
    padding: clamp(30px, 5vw, 56px);
  }

  .project-grid {
    grid-auto-rows: minmax(230px, 34vw);
  }

  .project-featured {
    grid-column: span 12;
    grid-row: span 1;
  }

  .project-tile,
  .project-wide,
  .project-tall,
  .project-tile:nth-of-type(4) {
    grid-column: span 6;
  }
}

@media (max-width: 860px) {
  :root {
    --shell: min(calc(100% - 32px), 720px);
    --header-height: 76px;
  }

  .section {
    padding-block: clamp(4.5rem, 12vw, 7rem);
  }

  .brand img {
    width: 160px;
  }

  .header-phone {
    display: none;
  }

  .about-grid,
  .services-heading,
  .letters-heading,
  .projects-heading,
  .start-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .start-grid,
  .contact-grid {
    gap: 48px;
  }

  .about-copy {
    max-width: none;
  }

  .principle-rail {
    grid-template-columns: 1fr;
  }

  .principle-rail > div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .principle-rail > div:last-child {
    border-bottom: 0;
  }

  .service-block,
  .service-block + .service-block {
    grid-template-columns: 1fr;
  }

  .service-media {
    min-height: min(68vw, 500px);
  }

  .service-metal .service-copy {
    order: 1;
  }

  .service-metal .service-media {
    order: 2;
  }

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

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

  .footer-grid {
    align-items: start;
  }

  .footer-links {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  .header-inner {
    width: calc(100% - 24px);
  }

  .brand img {
    width: 144px;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
  }

  .hero-copy {
    min-height: calc(92svh - var(--header-height));
    padding: 44px 16px 104px;
  }

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

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(3.35rem, 17vw, 5.2rem);
    letter-spacing: -0.02em;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .button-quiet {
    justify-content: flex-start;
    padding-inline: 0;
  }

  .hero-scope {
    display: grid;
    gap: 8px;
    margin-top: 28px;
  }

  .hero-visual {
    min-height: 78vw;
  }

  .hero-caption {
    right: 16px;
    bottom: 88px;
  }

  .about-heading h2,
  .services-heading h2,
  .projects-heading h2,
  .letters-heading h2,
  .contact h2,
  .start h2 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .services-heading,
  .letters-heading,
  .projects-heading {
    margin-bottom: 48px;
  }

  .service-copy h3 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .service-media {
    min-height: 78vw;
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .project-featured,
  .project-tile,
  .project-wide,
  .project-tall,
  .project-tile:nth-of-type(4) {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .project-featured {
    aspect-ratio: 16 / 10;
  }

  .start-steps li {
    grid-template-columns: 42px 1fr;
  }

  .letters-track {
    display: flex;
    width: calc(100% - 16px);
    margin-right: 0;
    margin-left: 16px;
    padding-right: 16px;
    overflow-x: auto;
    scroll-padding-inline: 0 16px;
    scroll-snap-type: x mandatory;
  }

  .letter-link {
    flex: 0 0 min(78vw, 330px);
    scroll-snap-align: start;
  }

  .contact-phone {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .contact-phone,
  .contact-mail,
  .mail-fallback,
  .footer-brand,
  .footer-links a,
  .menu-contact a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .contact-brief {
    margin-inline: -16px;
    padding: 28px 16px 34px;
  }

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

  .field-wide,
  .form-privacy,
  .form-actions,
  .form-status {
    grid-column: auto;
  }

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

  .mobile-actions {
    position: fixed;
    z-index: var(--z-actions);
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    width: 100%;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--graphite);
    transition: opacity 160ms var(--ease-out), visibility 160ms;
  }

  .mobile-actions a {
    display: grid;
    place-items: center;
    min-height: 64px;
    padding: 10px;
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-actions a:last-child {
    background: var(--signal);
    color: var(--signal-ink);
  }

  body:has(dialog[open]) .mobile-actions {
    visibility: hidden;
    opacity: 0;
  }

  .menu-dialog {
    width: 100%;
  }

  .menu-panel {
    padding-inline: 20px;
  }

  .media-dialog {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
  }

  .media-dialog-inner {
    max-height: calc(100dvh - 16px);
    padding: 8px;
  }
}

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

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

  .hero-seam {
    transform: none;
  }
}

@media (prefers-reduced-data: reduce) {
  .hero-visual img,
  .project-tile img {
    filter: none;
  }
}

@media (forced-colors: active) {
  .hero-seam,
  .hero-scope li::before,
  .service-copy li::before,
  .project-open {
    background: CanvasText;
  }

  .button,
  .material-tag,
  .mobile-actions a {
    border: 2px solid ButtonText;
  }
}

@media print {
  .site-header,
  .mobile-actions,
  .hero-seam,
  .project-open,
  .brief-form,
  dialog {
    display: none !important;
  }

  body {
    padding: 0;
    color: #000;
  }

  .hero,
  .projects,
  .contact,
  .site-footer {
    background: #fff;
    color: #000;
  }
}

.error-page {
  padding: 0;
  background: var(--petrol-deep);
  color: var(--white);
}

.error-main {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  min-height: 100svh;
  padding: clamp(24px, 5vw, 72px);
  overflow: hidden;
}

.error-brand {
  position: relative;
  z-index: 2;
  width: min(210px, 54vw);
}

.error-copy {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-block: auto;
  padding-block: 64px;
}

.error-copy > p:first-child {
  color: var(--signal);
  font-weight: 700;
}

.error-copy h1 {
  max-width: 9ch;
  margin-top: 24px;
  font-size: clamp(4rem, 12vw, 8rem);
}

.error-copy > p:not(:first-child) {
  max-width: 48ch;
  margin-top: 30px;
  color: var(--muted-dark);
  font-size: 1.08rem;
}

.error-seam {
  position: absolute;
  right: clamp(28px, 10vw, 160px);
  top: 0;
  width: clamp(30px, 5vw, 72px);
  height: 100%;
  background: var(--petrol);
}

.error-seam::after {
  position: absolute;
  inset: 0 0 0 68%;
  background: var(--signal);
  content: "";
}
