:root {
  --graphite: #252525;
  --mineral-white: #f5f3ef;
  --warm-stone: #d8d1c6;
  --mineral-grey: #b8b8b3;
  --green-grey: #68736d;
  --deep: #080b0a;
  --line: rgba(245, 243, 239, 0.18);
  --accent: #c6a06a;
  --text: #f5f3ef;
  --muted: rgba(245, 243, 239, 0.72);
  --sans: Inter, "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--deep);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 78px;
  padding: 20px clamp(22px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(8, 11, 10, 0.82), rgba(8, 11, 10, 0));
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled,
body.menu-open .site-header {
  border-bottom: 1px solid rgba(245, 243, 239, 0.1);
  background: rgba(8, 11, 10, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(122px, 12vw, 154px);
}

.brand img {
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
  margin-left: auto;
  font-size: 13px;
}

.nav a,
.back-link,
.button--text {
  color: rgba(245, 243, 239, 0.78);
  transition: color 0.2s ease;
}

.nav a:hover,
.back-link:hover,
.button--text:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang,
.menu-button {
  background: transparent;
  color: var(--text);
  border: 0;
  font: inherit;
}

.lang {
  font-size: 13px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 25px;
  border: 1px solid rgba(198, 160, 106, 0.8);
  font-size: 13px;
  white-space: nowrap;
}

.button--ghost {
  background: rgba(8, 11, 10, 0.16);
}

.button--accent {
  background: var(--accent);
  color: #fff;
}

.button--text {
  border-color: transparent;
  padding-left: 12px;
  padding-right: 12px;
}

.gateway {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 126px clamp(28px, 4vw, 56px) 52px;
}

.gateway__image,
.gateway__shade {
  position: absolute;
  inset: 0;
}

.gateway__image {
  background-image: url("../assets/hero-corridor-clean.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.78;
  transform: scale(1.02);
}

.gateway__shade {
  background:
    linear-gradient(90deg, rgba(5, 7, 7, 0.9), rgba(5, 7, 7, 0.36) 52%, rgba(5, 7, 7, 0.86)),
    linear-gradient(180deg, rgba(5, 7, 7, 0.25), rgba(5, 7, 7, 0.88));
}

.gateway__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: calc(100svh - 178px);
  flex-direction: column;
  justify-content: space-between;
  gap: 64px;
}

.gateway__intro {
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
}

h1 {
  font-size: clamp(64px, 8vw, 124px);
}

h2 {
  font-size: clamp(34px, 4.4vw, 72px);
}

h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
}

.gateway__intro p:not(.eyebrow),
.route-hero__content p:not(.eyebrow),
.contact-section p {
  max-width: 440px;
  color: var(--muted);
}

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

.role-card {
  position: relative;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  overflow: hidden;
  border: 1px solid rgba(245, 243, 239, 0.24);
  padding: 24px;
  background: rgba(5, 7, 7, 0.48);
}

.role-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 7, 0.1), rgba(5, 7, 7, 0.88));
}

.role-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.role-card > *:not(img) {
  position: relative;
  z-index: 1;
}

.role-card:hover,
.role-card.is-active {
  border-color: var(--accent);
}

.role-card:hover img,
.role-card.is-active img {
  opacity: 0.72;
  transform: scale(1.04);
}

.role-card__icon {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1;
}

.role-card strong {
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
}

.role-card span:not(.role-card__icon) {
  color: var(--muted);
}

.role-card b {
  color: var(--accent);
  font-size: 28px;
  font-weight: 400;
}


.role-grid.is-inviting .role-card {
  animation: role-invite 5.2s ease-in-out infinite;
}

.role-grid.is-inviting .role-card:nth-child(2) { animation-delay: 0.9s; }
.role-grid.is-inviting .role-card:nth-child(3) { animation-delay: 1.8s; }
.role-grid.is-inviting .role-card:nth-child(4) { animation-delay: 2.7s; }

@keyframes role-invite {
  0%, 18%, 100% {
    box-shadow: 0 0 0 rgba(198, 160, 106, 0);
    transform: translateY(0);
  }
  7%, 11% {
    border-color: var(--accent);
    box-shadow: 0 12px 34px rgba(198, 160, 106, 0.18);
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .role-grid.is-inviting .role-card {
    animation: none;
  }
}
.route-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 138px clamp(28px, 6vw, 92px) 80px;
  background: #111616;
}

.route-hero__media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(8, 11, 10, 0.95), rgba(8, 11, 10, 0.58) 45%, rgba(8, 11, 10, 0.18)),
    url("../assets/hero-building-clean.jpg");
  background-size: cover;
  background-position: center right;
}

.route-hero__content {
  position: relative;
  z-index: 1;
  max-width: 710px;
}

.back-link {
  display: inline-block;
  margin-bottom: 34px;
  font-size: 13px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 28px clamp(28px, 6vw, 92px);
  background: #101514;
}

.metrics div {
  padding: 12px 34px;
  border-left: 1px solid rgba(245, 243, 239, 0.12);
}

.metrics div:first-child {
  border-left: 0;
  padding-left: 0;
}

.metrics strong {
  display: block;
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.1;
}

.metrics span {
  color: var(--muted);
  font-size: 13px;
}

.partners {
  padding: 44px clamp(28px, 6vw, 92px) 56px;
  border-bottom: 1px solid #d8d7d2;
  background: var(--mineral-white);
  color: #161818;
}

.partners h2 {
  margin: 0 0 28px;
  font-size: clamp(32px, 4vw, 52px);
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #d8d7d2;
  border-left: 1px solid #d8d7d2;
}

.partners__logo {
  display: flex;
  min-height: 142px;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-right: 1px solid #d8d7d2;
  border-bottom: 1px solid #d8d7d2;
  background: #fff;
  overflow: hidden;
}

.partners__logo img {
  width: 100%;
  max-width: 220px;
  height: 88px;
  object-fit: contain;
  filter: grayscale(1);
}

.light-section,
.dark-section,
.contact-section {
  padding: 76px clamp(28px, 6vw, 92px);
}

.light-section {
  background: var(--mineral-white);
  color: #161818;
}

.light-section .eyebrow {
  color: var(--green-grey);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.feature-grid,
.reason-grid,
.case-grid,
.knowledge-grid,
.columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.feature-grid article,
.reason-grid article {
  min-height: 190px;
}

.feature-grid span,
.reason-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
}

.feature-grid p,
.reason-grid p,
.material-band p,
.columns p,
.knowledge-grid p,
.case-card p {
  color: rgba(22, 24, 24, 0.68);
}

.compact {
  padding-top: 58px;
}

.reason-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 34px;
}

.reason-grid h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
}

.reason-grid p {
  font-size: 13px;
}

.dark-section {
  background: #08100f;
  color: var(--text);
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.split-heading a {
  color: var(--accent);
  font-size: 14px;
}

.case-carousel {
  overflow: hidden;
}

.case-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, calc((100% - 56px) / 3));
  gap: 28px;
  overflow-x: auto;
  padding: 2px 2px 16px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--accent) rgba(245, 243, 239, 0.1);
  scrollbar-width: thin;
}

.case-track::-webkit-scrollbar { height: 4px; }
.case-track::-webkit-scrollbar-track { background: rgba(245, 243, 239, 0.1); }
.case-track::-webkit-scrollbar-thumb { background: var(--accent); }

.carousel-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.carousel-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(245, 243, 239, 0.34);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  transition: border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.carousel-button:hover {
  border-color: var(--accent);
  background: rgba(198, 160, 106, 0.12);
}

.carousel-button:disabled {
  cursor: default;
  opacity: 0.28;
}

.case-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  background: rgba(245, 243, 239, 0.06);
  color: var(--text);
  scroll-snap-align: start;
}

.case-card img {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 230px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.case-card:hover img { transform: scale(1.025); }

.case-card > div {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 300px;
  padding: 22px;
}

.case-card h3 {
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.05;
}

.case-card__tag,
.case-card small {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-card p,
.knowledge-grid p { color: var(--muted); }

.case-card p { margin: 0; }

.case-card small {
  display: block;
  color: rgba(245, 243, 239, 0.58);
  line-height: 1.45;
}

.case-card__link {
  align-self: end;
  margin-top: auto;
  padding-top: 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}
.service-map ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
}

.service-map li {
  padding: 28px;
  border-left: 1px solid var(--line);
}

.service-map li:first-child {
  border-left: 0;
}

.service-map strong,
.service-map span {
  display: block;
}

.service-map span {
  margin-top: 18px;
  color: var(--muted);
}

.material-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 48px;
  align-items: end;
}

.columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background:
    linear-gradient(90deg, rgba(245, 243, 239, 0.96), rgba(245, 243, 239, 0.82)),
    linear-gradient(135deg, var(--warm-stone), var(--mineral-grey));
}

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

.knowledge-grid article {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line);
}

.knowledge-entry-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 64px;
  background: var(--graphite);
}

.contact-details {
  display: grid;
  gap: 24px;
  margin-top: 36px;
  max-width: 560px;
}

.contact-details h3,
.site-footer h2 {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-details p,
.site-footer p {
  margin: 0 0 8px;
  color: var(--muted);
}

.contact-details a {
  color: var(--text);
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  padding: 42px clamp(28px, 6vw, 92px);
  border-top: 1px solid rgba(245, 243, 239, 0.12);
  background: #080b0a;
  color: var(--text);
}

.policy-page {
  min-height: 100svh;
  padding: 42px clamp(22px, 6vw, 92px) 76px;
  background: var(--mineral-white);
  color: #161818;
}

.policy-page .brand {
  color: #161818;
  filter: invert(1);
}

.policy-content {
  max-width: 960px;
  margin-top: 64px;
}

.policy-content h1 {
  margin-bottom: 34px;
  font-size: clamp(42px, 6vw, 84px);
}

.policy-content p {
  margin: 0 0 16px;
  color: rgba(22, 24, 24, 0.78);
}

.policy-content a {
  color: var(--green-grey);
  text-decoration: underline;
  text-underline-offset: 3px;
}

section,
form {
  scroll-margin-top: 86px;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(245, 243, 239, 0.22);
  background: rgba(8, 11, 10, 0.22);
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
}

.contact-form .consent-check {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  line-height: 1.45;
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.consent-check a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--accent);
}

body.menu-open .nav {
  display: flex;
}


.project-page .site-header { background: rgba(8, 11, 10, 0.92); }
.project-main { padding-top: 78px; }

.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  gap: clamp(40px, 8vw, 120px);
  padding: 84px clamp(28px, 6vw, 92px) 64px;
  background: var(--mineral-white);
  color: #161818;
}

.project-hero__intro { max-width: 900px; }

.project-hero .back-link {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--green-grey);
}

.project-hero .eyebrow { color: var(--green-grey); }

.project-hero h1 {
  max-width: 980px;
  font-size: clamp(52px, 7vw, 108px);
}

.project-hero__lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(22, 24, 24, 0.7);
  font-size: clamp(18px, 2vw, 24px);
}

.project-facts {
  align-self: end;
  margin: 0;
  border-top: 1px solid rgba(22, 24, 24, 0.18);
}

.project-facts div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(22, 24, 24, 0.18);
}

.project-facts dt {
  color: rgba(22, 24, 24, 0.54);
  font-size: 12px;
  text-transform: uppercase;
}

.project-facts dd {
  margin: 0;
  font-weight: 600;
}

.project-description {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 8vw, 120px);
  padding: 72px clamp(28px, 6vw, 92px);
  background: #08100f;
}

.project-description h2 { font-size: clamp(34px, 4vw, 62px); }

.project-description p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.project-gallery {
  padding: 72px clamp(28px, 6vw, 92px) 96px;
  background: var(--mineral-white);
  color: #161818;
}

.project-gallery__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.project-gallery__heading span {
  color: var(--green-grey);
  font-size: 13px;
}

.gallery-grid {
  position: relative;
  height: clamp(560px, 63vw, 720px);
  overflow: hidden;
  isolation: isolate;
  touch-action: pan-y;
}

.gallery-item {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: clamp(112px, 12vw, 176px);
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #dedbd4;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) translate(var(--gallery-x, 0), var(--gallery-y, 0)) scale(0.76);
  transition: width 0.55s ease, height 0.55s ease, opacity 0.4s ease, transform 0.55s ease, filter 0.4s ease;
}

.gallery-item[data-gallery-offset] {
  opacity: 0.58;
  pointer-events: auto;
  filter: grayscale(1);
}

.gallery-item[data-gallery-offset="-3"] { --gallery-x: -48vw; --gallery-y: 106px; }
.gallery-item[data-gallery-offset="-2"] { --gallery-x: -40vw; --gallery-y: -118px; }
.gallery-item[data-gallery-offset="-1"] { --gallery-x: -31vw; --gallery-y: 84px; }
.gallery-item[data-gallery-offset="1"] { --gallery-x: 31vw; --gallery-y: -82px; }
.gallery-item[data-gallery-offset="2"] { --gallery-x: 40vw; --gallery-y: 126px; }
.gallery-item[data-gallery-offset="3"] { --gallery-x: 48vw; --gallery-y: -104px; }

.gallery-item[data-gallery-offset="0"] {
  z-index: 4;
  width: clamp(300px, 43vw, 610px);
  height: clamp(430px, 55vw, 650px);
  aspect-ratio: auto;
  opacity: 1;
  pointer-events: auto;
  filter: none;
  transform: translate(-50%, -50%);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.4s ease;
}

.gallery-item[data-gallery-offset="0"] img { object-fit: contain; }
.gallery-item:hover img { transform: scale(1.035); }

.gallery-carousel__controls {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  pointer-events: none;
}

.gallery-carousel__button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(22, 24, 24, 0.36);
  border-radius: 50%;
  background: rgba(245, 243, 239, 0.92);
  color: #161818;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  transition: color 0.2s ease, background 0.2s ease;
}

.gallery-carousel__button:hover {
  background: #161818;
  color: var(--mineral-white);
}

.gallery-carousel__status {
  min-width: 58px;
  color: var(--green-grey);
  font-size: 12px;
  text-align: center;
}

.project-empty {
  grid-column: 1 / -1;
  color: var(--green-grey);
}

.lightbox {
  width: min(1180px, calc(100vw - 40px));
  max-width: none;
  height: min(86vh, 860px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(245, 243, 239, 0.2);
  background: #080b0a;
  color: var(--text);
}

.lightbox::backdrop { background: rgba(0, 0, 0, 0.86); }

.lightbox__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(245, 243, 239, 0.3);
  border-radius: 50%;
  background: rgba(8, 11, 10, 0.72);
  color: var(--text);
  cursor: pointer;
  font: inherit;
}

.lightbox__close {
  top: 18px;
  right: 18px;
  font-size: 22px;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}

.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

.lightbox__count {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 7px 12px;
  background: rgba(8, 11, 10, 0.72);
  font-size: 12px;
}
@media (max-width: 1100px) {
  .case-track { grid-auto-columns: minmax(300px, calc((100% - 28px) / 2)); }
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    border: 1px solid var(--line);
    background: var(--deep);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  }

  .nav a {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
  }

  .menu-button {
    display: block;
  }

  .role-grid,
  .metrics,
  .feature-grid,
  .reason-grid,
  .service-map ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .case-track {
    grid-auto-columns: minmax(270px, 88%);
    gap: 16px;
  }

  .case-card > div { min-height: 280px; }
  .carousel-button { width: 44px; height: 44px; }
  .project-main { padding-top: 68px; }

  .project-hero,
  .project-description {
    grid-template-columns: 1fr;
    padding-left: 20px;
    padding-right: 20px;
  }

  .project-hero { padding-top: 52px; }
  .project-hero h1 { font-size: 44px; overflow-wrap: anywhere; }
  .project-hero .back-link { margin-bottom: 36px; }
  .project-facts { margin-top: 10px; }
  .project-description { gap: 24px; }
  .project-gallery { padding: 56px 20px 72px; }

  .project-gallery__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-grid {
    height: 570px;
  }

  .gallery-item { width: 92px; }

  .gallery-item[data-gallery-offset="-3"],
  .gallery-item[data-gallery-offset="3"] { opacity: 0; pointer-events: none; }
  .gallery-item[data-gallery-offset="-2"] { --gallery-x: -46vw; --gallery-y: -168px; }
  .gallery-item[data-gallery-offset="-1"] { --gallery-x: -43vw; --gallery-y: 146px; }
  .gallery-item[data-gallery-offset="1"] { --gallery-x: 43vw; --gallery-y: -132px; }
  .gallery-item[data-gallery-offset="2"] { --gallery-x: 46vw; --gallery-y: 172px; }

  .gallery-item[data-gallery-offset="0"] {
    width: min(76vw, 390px);
    height: 470px;
  }

  .lightbox {
    width: calc(100vw - 20px);
    height: 82vh;
  }

  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .site-header {
    min-height: 68px;
    padding: 16px 20px;
  }

  .brand {
    width: 118px;
  }

  .button--ghost,
  .lang {
    display: none;
  }

  .gateway,
  .route-hero,
  .light-section,
  .dark-section,
  .contact-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .gateway {
    padding-top: 84px;
    padding-bottom: 16px;
  }

  .gateway__content {
    min-height: calc(100svh - 100px);
    gap: 16px;
  }

  .role-grid,
  .metrics,
  .feature-grid,
  .reason-grid,
  .case-grid,
  .knowledge-grid,
  .columns,
  .material-band,
  .contact-section,
  .site-footer,
  .service-map ol {
    grid-template-columns: 1fr;
  }

  .role-card {
    min-height: 68px;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 8px 14px;
  }

  .role-card span:not(.role-card__icon) {
    display: none;
  }

  .role-card b {
    margin-left: auto;
  }

  .partners {
    padding: 36px 20px 44px;
  }

  .partners h2 {
    margin-bottom: 22px;
  }

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

  .partners__logo {
    min-height: 112px;
    padding: 14px;
  }

  .partners__logo img {
    max-width: 150px;
    height: 68px;
  }

  .case-card img {
    min-height: 210px;
  }

  .metrics div,
  .metrics div:first-child,
  .service-map li,
  .service-map li:first-child {
    padding: 20px 0;
    border-left: 0;
    border-top: 1px solid rgba(245, 243, 239, 0.12);
  }

  .metrics div:first-child,
  .service-map li:first-child {
    border-top: 0;
  }

  .split-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-section {
    gap: 34px;
  }

  .site-footer {
    gap: 28px;
  }
}

.audience-context {
  max-width: 760px;
  margin: 18px 0 0;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  color: var(--green-grey);
}

.case-study-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 clamp(28px, 6vw, 92px);
  background: #08100f;
}

.case-study-metrics div {
  min-height: 190px;
  padding: 42px 32px;
  border-left: 1px solid var(--line);
}

.case-study-metrics div:first-child { border-left: 0; }
.case-study-metrics strong,
.case-study-metrics span { display: block; }

.case-study-metrics strong {
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  line-height: 1;
}

.case-study-metrics span {
  max-width: 260px;
  margin-top: 18px;
  color: var(--muted);
}

.case-study-prose {
  display: grid;
  gap: 22px;
}

.case-study-process,
.case-study-audiences,
.case-study-result,
.case-study-facts {
  padding: 76px clamp(28px, 6vw, 92px);
}

.case-study-process,
.case-study-result {
  background: var(--mineral-white);
  color: #161818;
}

.case-study-process .eyebrow,
.case-study-result .eyebrow,
.case-study-facts .eyebrow { color: var(--green-grey); }

.case-study-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(22, 24, 24, 0.2);
}

.case-study-steps li {
  min-height: 280px;
  padding: 28px;
  border-left: 1px solid rgba(22, 24, 24, 0.16);
}

.case-study-steps li:first-child { border-left: 0; }
.case-study-steps span { color: var(--green-grey); font-size: 12px; }

.case-study-steps h3 {
  margin-top: 42px;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
}

.case-study-steps p { color: rgba(22, 24, 24, 0.68); }

.case-study-audiences {
  background: #08100f;
  color: var(--text);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.audience-grid section {
  min-height: 310px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.audience-grid section.is-relevant {
  background: rgba(198, 160, 106, 0.08);
  box-shadow: inset 3px 0 0 var(--accent);
}

.audience-grid h3 {
  max-width: 720px;
  font-family: var(--sans);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.2;
}

.audience-grid section > p:last-child {
  max-width: 760px;
  color: var(--muted);
}

.case-study-result {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 8vw, 120px);
}

.case-study-result h2 { font-size: clamp(36px, 4vw, 62px); }

.case-study-result .case-study-prose p {
  margin: 0;
  color: rgba(22, 24, 24, 0.72);
  font-size: 18px;
}

.case-study-facts {
  background: #e5e1da;
  color: #161818;
}

.case-study-facts dl {
  max-width: 980px;
  margin: 42px 0 0;
}

.case-study-facts dl div {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  padding: 24px 0;
  border-top: 1px solid rgba(22, 24, 24, 0.18);
}

.case-study-facts dt { font-weight: 700; }

.case-study-facts dd {
  margin: 0;
  color: rgba(22, 24, 24, 0.7);
}

@media (max-width: 1100px) {
  .case-study-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-study-steps li:nth-child(3) { border-left: 0; }
}

@media (max-width: 760px) {
  .case-study-metrics,
  .audience-grid,
  .case-study-result,
  .case-study-facts dl div {
    grid-template-columns: 1fr;
  }

  .case-study-metrics { padding: 0 20px; }

  .case-study-metrics div,
  .case-study-metrics div:first-child {
    min-height: auto;
    padding: 28px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .case-study-metrics div:first-child { border-top: 0; }

  .case-study-process,
  .case-study-audiences,
  .case-study-result,
  .case-study-facts {
    padding: 56px 20px;
  }

  .case-study-steps { grid-template-columns: 1fr; }

  .case-study-steps li,
  .case-study-steps li:nth-child(3) {
    min-height: auto;
    padding: 26px 0;
    border-left: 0;
    border-top: 1px solid rgba(22, 24, 24, 0.16);
  }

  .case-study-steps li:first-child { border-top: 0; }
  .case-study-steps h3 { margin-top: 26px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-grid section { min-height: auto; padding: 28px 22px; }
  .case-study-facts dl div { gap: 10px; }
}
