:root {
  --canvas-width: 1920px;
  --header-height: 101px;
  --home-pin-top: var(--header-height);
  --page-bg: #000000;
  --surface: #1c1c1c;
  --surface-soft: rgba(28, 28, 28, 0.84);
  --surface-line: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: #90969a;
  --accent: #d31245;
  --shadow: none;
  --max-width: min(1816px, calc(100% - 104px));
  --service-development-image: url('/static/media/home/service-development.jpg');
  --service-property-image: url('/static/media/home/service-property.jpg');
  --service-sales-image: url('/static/media/home/service-sales.jpg');
  --service-showroom-image: url('/static/media/home/service-showroom.jpg');
  --sector-1-image: url('/static/media/home/sector-real-estate.jpg');
  --sector-2-image: url('/static/media/home/sector-energy.jpg');
  --sector-3-image: url('/static/media/home/sector-food.jpg');
  --portfolio-1-image: url('/static/media/home/portfolio-almara.png');
  --portfolio-2-image: url('/static/media/home/portfolio-40-box.png');
  --portfolio-3-image: url('/static/media/home/portfolio-istra.png');
  --contact-image: url('/static/media/home/footer-accent.jpg');
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  zoom: 0.75;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--text);
  font-family: 'Work Sans', sans-serif;
  background:
    radial-gradient(circle at top center, rgba(211, 18, 69, 0.28), transparent 22%),
    linear-gradient(180deg, #050505 0%, #000000 36%, #040404 100%);
}

body > .site-header,
body > .home-page,
body > .page-main,
body > .footer-cta,
body > .site-footer {
  width: min(100%, var(--canvas-width));
  margin-inline: auto;
}

body.nav-open {
  overflow: hidden;
}

html:has(body.nav-open) {
  overflow: hidden;
}

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

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

button {
  border: 0;
  background: transparent;
  color: inherit;
}

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

section[id] {
  scroll-margin-top: 112px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(18px);
}

.header-inner,
.section-inner,
.footer-inner {
  width: var(--max-width);
  margin: 0 auto;
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 101px;
  width: auto;
  margin: 0;
  padding: 0 clamp(16px, 2.7vw, 52px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.brand-mark {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(211, 18, 69, 0.6);
}

.brand-wordmark {
  font-family: 'Cinzel', serif;
  font-size: clamp(1rem, 1.8vw, 1.8rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  grid-column: 2;
  justify-self: center;
  margin: 0;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 1.235rem;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.tagline-flag {
  display: inline-flex;
  flex: 0 0 auto;
  width: 25px;
  height: 18px;
}

.tagline-flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

.tagline-flag rect {
  fill: var(--accent);
  stroke: rgba(255, 255, 255, 0.14);
}

.tagline-flag path {
  fill: #ffffff;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 10px;
  width: 49px;
  height: 49px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 31px;
  height: 1px;
  background: #fff;
  transition: transform 180ms ease, opacity 180ms ease, width 180ms ease;
}

.menu-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* ── Full-screen menu overlay ── */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: var(--scrollbar-w, 0px);
  bottom: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms ease, visibility 400ms ease;
  overflow: clip;
}

.menu-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc((100% - min(1440px, 100% - 104px)) / 2 + 313px);
  width: 1px;
  background: var(--surface-line);
  pointer-events: none;
  z-index: 1;
}

.menu-overlay[aria-hidden='false'] {
  opacity: 1;
  visibility: visible;
}

.menu-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  width: min(calc(100% - 104px), 1816px);
  margin: 0 auto;
  padding: 0;
}

.menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 49px;
  color: var(--muted);
  cursor: pointer;
  transition: color 200ms ease;
}

.menu-close:hover {
  color: #fff;
}

.menu-overlay-body {
  flex: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  width: min(calc(100% - 104px), 1816px);
  margin: 0 auto;
  padding-left: calc((min(100% - 104px, 1816px) - min(1440px, 100% - 104px)) / 2);
  position: relative;
  overflow: clip;
}

.menu-overlay-nav {
  display: flex;
  flex-direction: column;
  gap: 72px;
  padding: 58px 0 60px 0;
}

.menu-overlay-nav .nav-top-group,
.menu-overlay-nav .nav-bottom-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.menu-overlay-nav .nav-link {
  font-family: 'Work Sans', sans-serif;
  font-size: 72px;
  font-weight: 300;
  color: var(--muted);
  line-height: normal;
  transition: color 200ms ease;
  cursor: pointer;
}

.menu-overlay-nav .nav-link:hover {
  color: #fff;
}

.menu-overlay-nav .nav-link.is-active {
  color: #fff;
}

.nav-group {
  display: flex;
  flex-direction: column;
}

.nav-group-toggle {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-family: 'Work Sans', sans-serif;
  font-size: 72px;
  font-weight: 300;
  color: var(--muted);
  line-height: normal;
  cursor: pointer;
  padding: 0;
  transition: color 200ms ease;
}

.nav-group-toggle:hover {
  color: #fff;
}

.nav-group.is-open .nav-group-toggle {
  color: #fff;
}

.nav-chevron {
  width: 48px;
  height: 48px;
  transition: transform 300ms ease;
}

.nav-group.is-open .nav-chevron {
  transform: rotate(180deg);
}

.nav-group-children {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms ease;
}

.nav-group.is-open .nav-group-children {
  grid-template-rows: 1fr;
}

.nav-group-children-inner {
  overflow: hidden;
}

.nav-group-children a {
  display: block;
  font-family: 'Work Sans', sans-serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  transition: color 200ms ease;
}

.nav-group-children a:first-child {
  margin-top: 12px;
}

.nav-group-children a:hover {
  color: #fff;
}

.nav-group-children a.is-active {
  color: #fff;
}

.menu-overlay-divider {
  display: none;
}

.menu-overlay-visual {
  position: static;
}

.menu-overlay-image {
  position: absolute;
  width: 1134px;
  height: 829px;
  right: -380px;
  bottom: -180px;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.85;
}

/* ── Overlay open animation for nav items ── */
.menu-overlay-nav .nav-link,
.menu-overlay-nav .nav-group {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 300ms ease, transform 300ms ease, color 200ms ease;
}

.menu-overlay[aria-hidden='false'] .menu-overlay-nav .nav-link,
.menu-overlay[aria-hidden='false'] .menu-overlay-nav .nav-group {
  opacity: 1;
  transform: translateY(0);
}

.menu-overlay[aria-hidden='false'] .menu-overlay-nav .nav-top-group > :nth-child(1) { transition-delay: 80ms; }
.menu-overlay[aria-hidden='false'] .menu-overlay-nav .nav-top-group > :nth-child(2) { transition-delay: 140ms; }
.menu-overlay[aria-hidden='false'] .menu-overlay-nav .nav-top-group > :nth-child(3) { transition-delay: 200ms; }
.menu-overlay[aria-hidden='false'] .menu-overlay-nav .nav-top-group > :nth-child(4) { transition-delay: 260ms; }
.menu-overlay[aria-hidden='false'] .menu-overlay-nav .nav-bottom-group > :nth-child(1) { transition-delay: 320ms; }
.menu-overlay[aria-hidden='false'] .menu-overlay-nav .nav-bottom-group > :nth-child(2) { transition-delay: 380ms; }

.home-page {
  overflow-x: clip;
}

.page-main {
  overflow: hidden;
}

.section-inner {
  padding: 0 0 64px;
}

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

.hero {
  padding-top: 0;
}

.home-page .hero .section-inner {
  width: min(calc(100% - 104px), 1816px);
  padding-bottom: 0;
}

.hero-panel {
  position: relative;
  min-height: 914px;
  margin-top: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(26, 1, 8, 0.92), rgba(15, 0, 4, 0.88));
}

.hero-panel-media {
  position: absolute;
  inset: 0;
  transform: scale(1.08);
  transform-origin: center;
  will-change: transform;
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(0.98) brightness(0.98);
}

.hero-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 0, 2, 0.24), rgba(23, 0, 8, 0.12) 32%, rgba(15, 0, 4, 0.28) 65%, rgba(15, 0, 4, 0.62) 100%),
    radial-gradient(circle at 20% 78%, rgba(211, 18, 69, 0.32), transparent 30%),
    radial-gradient(circle at 77% 16%, rgba(255, 255, 255, 0.1), transparent 22%);
}

.hero-content,
.scroll-cue {
  position: relative;
  z-index: 1;
}

.hero-content {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: clamp(180px, 17vw, 312px) 24px 182px;
  text-align: center;
}

.hero-title,
.display-title,
.contact-title {
  margin: 0;
  font-weight: 300;
  line-height: 0.95;
}

.hero-title {
  max-width: 12ch;
  font-size: clamp(4rem, 5.84vw, 7rem);
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

.hero-subtitle {
  margin: 0;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 1.46vw, 1.75rem);
  line-height: 1.8;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.24);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 77px;
  padding: 22px 36px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, letter-spacing 180ms ease;
}

.button:hover,
.button:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.drawer-nav a:hover,
.drawer-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #fff;
}

.button:hover,
.button:focus-visible {
  letter-spacing: 0.1em;
}

.button-outline {
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  backdrop-filter: blur(8px);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.08);
}

.scroll-cue {
  display: flex;
  justify-content: center;
  padding-bottom: 20px;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page .about .section-inner,
.home-page .sectors .section-inner,
.home-page .portfolio .section-inner {
  width: min(1440px, calc(100% - 104px));
}

.about-grid,
.split-section,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(220px, 313px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.about-grid {
  padding-top: 189px;
  border-top: 1px solid var(--surface-line);
  grid-template-columns: 113px minmax(0, 1127px);
  gap: 200px;
}

.about-copy {
  position: relative;
  padding-left: 0;
  color: var(--text);
}

.about-copy::before {
  display: none;
}

.about-copy p,
.contact-copy p {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.15rem, 1.55vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: -0.04em;
}

.accent-text {
  color: var(--accent);
}

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

.split-label {
  font-size: clamp(2rem, 1.875vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.label-primary,
.label-secondary {
  display: block;
}

.label-secondary {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.text-link::after {
  content: '\2192';
  font-size: 1.2em;
}

.section-stack {
  padding-top: 90px;
  padding-bottom: 102px;
}

.services {
  position: relative;
  background: var(--surface);
  overflow: hidden;
}

.services .section-inner {
  width: 100%;
  margin: 0;
  padding-left: 82px;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc((100% - min(1440px, 100% - 104px)) / 2 + 313px);
  width: 1px;
  background: #000;
}

.display-title {
  font-size: clamp(4rem, 5.2vw, 6.25rem);
}

.services-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 960px;
  gap: 80px;
  margin-top: 47px;
  margin-bottom: -50px;
  overflow-x: auto;
  padding-bottom: 50px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}

.services-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.services-rail img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.services-rail::-webkit-scrollbar {
  display: none;
}

.service-card,
.info-card,
.portfolio-card,
.news-shell,
.contact-grid {
  position: relative;
}

.service-card,
.info-card,
.portfolio-card {
  display: grid;
  gap: 20px;
  min-width: 0;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}

.service-card {
  gap: 0;
  align-content: end;
}

.card-media,
.info-media,
.portfolio-media {
  border-radius: 2px;
  background-color: #151515;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.card-media {
  height: 496px;
}

.service-card .card-media {
  width: 100%;
  height: auto;
  aspect-ratio: 1.94 / 1;
  --service-card-overlay-opacity: 0.62;
  transition: transform 320ms ease;
  transform-origin: top center;
}

.service-card .card-media::after,
.info-media::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.88));
  transition: transform 320ms ease, opacity 1s ease;
}

.service-card .card-media,
.info-card .info-media,
.portfolio-card .portfolio-media {
  position: relative;
  overflow: hidden;
}

.service-card .card-media {
  overflow: hidden;
  box-shadow: none;
}

.service-card .card-media::after {
  opacity: var(--service-card-overlay-opacity);
  transform: scale(1.02);
  box-shadow: var(--shadow);
  transform-origin: center center;
}

.service-card .card-media::before,
.info-card .info-media::before,
.portfolio-card .portfolio-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  transform-origin: center center;
  transition: transform 320ms ease;
}

.service-card .card-media::before {
  border-radius: inherit;
  background-position: center center;
}

.service-card:hover .card-media::before,
.info-card:hover .info-media::before,
.portfolio-card:hover .portfolio-media::before {
  transform: scale(1.14);
}

.service-card:hover .card-media::after {
  transform: scale(1.14);
}

.service-card:hover .card-media {
  --service-card-overlay-opacity: 0.98;
  transform: scaleY(1.101);
}

.service-card-development .card-media::before {
  background-image: var(--service-development-image);
}

.service-card-property .card-media::before {
  background-image: var(--service-property-image);
}

.service-card-sales .card-media::before {
  background-image: var(--service-sales-image);
}

.service-card-showroom .card-media::before {
  background-image: var(--service-showroom-image);
}

.card-meta,
.info-meta {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.service-card .card-meta {
  position: relative;
  z-index: 2;
  gap: 8px;
  margin-top: -70px;
  pointer-events: none;
  align-items: last baseline;
}

.service-card .card-index {
  color: rgba(255, 255, 255, 0.5);
  font-size: 112px;
  font-weight: 300;
  line-height: 1.17;
  letter-spacing: -0.06em;
}

.service-card .card-meta h3 {
  font-size: 64px;
  font-weight: 600;
  line-height: 1.17;
  letter-spacing: -0.05em;
}

.card-index {
  color: rgba(255, 255, 255, 0.5);
  font-size: clamp(4rem, 5.84vw, 7rem);
  font-weight: 300;
  line-height: 1;
}

.card-meta h3,
.info-meta h3,
.portfolio-card h3 {
  margin: 0;
  font-size: clamp(2rem, 3.34vw, 4rem);
  line-height: 1.1;
}

.split-section {
  padding-top: 189px;
  padding-bottom: 96px;
  border-top: 1px solid var(--surface-line);
}

.section-side {
  display: grid;
  gap: 43px;
  align-content: start;
}

.sectors .section-side {
  width: 313px;
  gap: 52px;
}

.sectors .section-label {
  font-size: clamp(2.5rem, 3.2vw, 3.5rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.sectors .button {
  min-width: 278px;
  min-height: 89px;
  padding: 24px 40px;
  transform-origin: top left;
  transition: transform 320ms ease;
}

.sectors .button:hover {
  transform: scale(1.1);
}

.section-side .button {
  justify-self: start;
}

.home-page .sectors .split-section,
.home-page .portfolio .split-section {
  border-top: none;
}

.home-page .sectors,
.home-page .portfolio {
  --_iw: min(1440px, calc(100% - 104px));
  --_off: calc((100% - var(--_iw)) / 2);
}

.home-page .sectors {
  background-image:
    linear-gradient(to right, var(--surface-line) 1px, transparent 1px),
    linear-gradient(to right, var(--surface-line) 1px, transparent 1px),
    linear-gradient(to right, var(--surface-line) 1px, transparent 1px);
  background-size: 1px 100%, 1px calc(100% - 189px), 1px calc(100% - 189px);
  background-position: calc(var(--_off) + 337px) 0, calc(var(--_off) + 726px) 189px, calc(var(--_off) + 1115px) 189px;
  background-repeat: no-repeat;
}

.home-page .portfolio {
  background-image:
    linear-gradient(to right, var(--surface-line) 1px, transparent 1px),
    linear-gradient(to right, var(--surface-line) 1px, transparent 1px),
    linear-gradient(to right, var(--surface-line) 1px, transparent 1px);
  background-size: 1px 100%, 1px calc(100% - 243px), 1px calc(100% - 243px);
  background-position: calc(var(--_off) + 337px) 0, calc(var(--_off) + 726px) 0, calc(var(--_off) + 1115px) 0;
  background-repeat: no-repeat;
}

.triple-grid {
  display: grid;
  grid-template-columns: repeat(3, 350px);
  gap: 39px;
}

.home-page .sectors .split-section {
  grid-template-columns: 313px minmax(0, 1fr);
  gap: 24px;
  overflow: hidden;
}

.home-page .sectors .triple-grid {
  grid-template-columns: repeat(3, 350px);
  gap: 39px;
}

.home-page .sectors .info-card {
  gap: 38px;
}

.home-page .sectors .info-media {
  width: 350px;
  height: 277px;
}

.home-page .sectors .info-media::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18));
}

.home-page .sectors .info-meta {
  gap: 12px;
  align-items: last baseline;
}

.home-page .sectors .card-index {
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.home-page .sectors .info-meta h3 {
  font-size: 34px;
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.info-media {
  height: 277px;
}

.info-card-sector-1 .info-media::before {
  background-image: var(--sector-1-image);
}

.info-card-sector-2 .info-media::before {
  background-image: var(--sector-2-image);
}

.info-card-sector-3 .info-media::before {
  background-image: var(--sector-3-image);
}

.portfolio-card {
  gap: 20px;
}

.portfolio-media {
  height: 520px;
}

.home-page .portfolio .split-section {
  grid-template-columns: 313px minmax(0, 1fr);
  gap: 24px;
  overflow: hidden;
}

.home-page .portfolio .section-side {
  width: 313px;
  gap: 52px;
}

.home-page .portfolio .section-label {
  font-size: clamp(2.5rem, 3.2vw, 3.5rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.home-page .portfolio .button {
  min-width: 278px;
  min-height: 89px;
  padding: 24px 40px;
  transform-origin: top left;
  transition: transform 320ms ease;
}

.home-page .portfolio .button:hover {
  transform: scale(1.1);
}

.home-page .portfolio .triple-grid {
  grid-template-columns: repeat(3, 350px);
  gap: 39px;
}

.home-page .portfolio .portfolio-card {
  gap: 20px;
}

.home-page .portfolio .portfolio-media {
  width: 350px;
  height: 520px;
}

.home-page .portfolio .portfolio-card h3 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.home-page .portfolio .portfolio-card p {
  font-size: 16px;
  line-height: 1.4;
}

.portfolio-card-1 .portfolio-media::before {
  background-image: var(--portfolio-1-image);
}

.portfolio-card-2 .portfolio-media::before {
  background-image: var(--portfolio-2-image);
}

.portfolio-card-3 .portfolio-media::before {
  background-image: var(--portfolio-3-image);
}

.portfolio-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.4;
}

.news {
  padding-bottom: 24px;
}

.news-shell {
  width: min(1816px, calc(100% - 104px));
  padding: 112px 186px;
  margin: 0 auto;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.news-shell .button {
  transform-origin: top left;
  transition: transform 320ms ease;
}

.news-shell .button:hover {
  transform: scale(1.1);
}

.news-title {
  margin-bottom: 48px;
}

.news-list {
  display: grid;
  margin-bottom: 48px;
}

.news-item {
  border-bottom: 1px solid rgba(145, 150, 154, 0.45);
  color: var(--muted);
}

.news-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 36px 0;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
  text-align: left;
  font: inherit;
  transition: color 180ms ease;
}

.news-item-header::after {
  content: '';
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.news-item-header span {
  font-size: clamp(1.35rem, 2.1vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.news-item.is-active,
.news-item:hover,
.news-item:focus-within {
  color: #fff;
}

.news-item.is-active .news-item-header::after {
  transform: rotate(-135deg);
}

/* Expanded body */
@keyframes accordion-open {
  0%   { grid-template-rows: 0fr; margin-bottom: 0; }
  20%  { grid-template-rows: 0.6fr; margin-bottom: 4px; }
  45%  { grid-template-rows: 1fr; margin-bottom: 20px; }
  55%  { grid-template-rows: 1fr; margin-bottom: 24px; }
  100% { grid-template-rows: 1fr; margin-bottom: 0; }
}

@keyframes accordion-close {
  0%   { grid-template-rows: 1fr; margin-bottom: 0; }
  20%  { grid-template-rows: 0.4fr; margin-bottom: -4px; }
  45%  { grid-template-rows: 0fr; margin-bottom: -20px; }
  55%  { grid-template-rows: 0fr; margin-bottom: -24px; }
  100% { grid-template-rows: 0fr; margin-bottom: 0; }
}

.news-item-body {
  display: grid;
  grid-template-rows: 0fr;
}

.news-item.is-active .news-item-body {
  grid-template-rows: 1fr;
  animation: accordion-open 1s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.news-item.is-closing .news-item-body {
  animation: accordion-close 1s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.news-item-columns {
  overflow: hidden;
  display: flex;
  gap: 60px;
  padding-bottom: 0;
  opacity: 0;
  transition: opacity 300ms ease;
}

.news-item.is-active .news-item-columns {
  padding-bottom: 36px;
  opacity: 1;
  transition: opacity 500ms 200ms ease;
}

.news-item-columns p {
  flex: 1 0 0;
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.6;
  letter-spacing: -0.05em;
  color: #fff;
}

.news-item-image {
  flex: 0 0 332px;
  width: 332px;
  height: 413px;
  border-radius: 2px;
  object-fit: cover;
}

.contact {
  position: relative;
  padding-top: 48px;
}

.contact-grid {
  padding-top: 86px;
  padding-bottom: 90px;
  border-top: 1px solid var(--surface-line);
}

.contact-copy {
  position: relative;
  z-index: 1;
}

.contact-title {
  margin: 0 0 24px;
  font-size: clamp(2.75rem, 4.8vw, 4rem);
}

.contact-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  width: min(610px, 100%);
  justify-self: end;
}

.field {
  display: grid;
  gap: 14px;
  color: var(--muted);
}

.field span {
  font-size: 1.05rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0 0 18px;
  border: 0;
  border-bottom: 1px solid var(--surface-line);
  background: transparent;
  color: #fff;
  outline: none;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(144, 150, 154, 0.7);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.contact-accent {
  position: absolute;
  right: -40px;
  bottom: 0;
  width: min(520px, 38vw);
  height: min(620px, 46vw);
  opacity: 0.26;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 18%, rgba(0, 0, 0, 0.2) 62%, rgba(0, 0, 0, 0.92) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.88) 58%, rgba(0, 0, 0, 0.98) 100%),
    var(--contact-image) center/cover no-repeat;
}

.contact-accent::before,
.contact-accent::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
}

.contact-accent::before {
  top: 82px;
  right: 88px;
  width: 32px;
  height: 132px;
}

.contact-accent::after {
  top: 132px;
  right: 38px;
  width: 132px;
  height: 32px;
}

.site-footer {
  position: relative;
  z-index: 2;
  margin-top: -151px;
  background: rgba(0, 0, 0, 0.40);
  border-top: 1px solid var(--surface-line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 101px;
}

.footer-inner-nav {
  width: min(1829px, calc(100% - 90px));
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 56px;
}

.footer-nav a,
.footer-credit {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-credit {
  margin: 0;
  text-transform: none;
  letter-spacing: -0.04em;
}



.page-hero {
  padding: 28px 0 16px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  min-height: 720px;
  background: #0d0d0d;
  box-shadow: var(--shadow);
}

.hero-card-page {
  min-height: 760px;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.02);
}

.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.38) 48%, rgba(0, 0, 0, 0.75) 100%),
    radial-gradient(circle at 16% 82%, rgba(211, 18, 69, 0.22), transparent 24%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content-left {
  display: grid;
  justify-items: start;
  gap: 22px;
  align-content: end;
  min-height: inherit;
  padding: clamp(120px, 18vh, 220px) 72px 72px;
  text-align: left;
}

.hero-eyebrow,
.footer-kicker,
.card-kicker,
.project-category,
.timeline-year {
  margin: 0;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-title,
.section-title,
.section-title-large,
.section-title-xlarge {
  margin: 0;
  font-weight: 300;
  line-height: 0.94;
}

.page-title {
  font-size: clamp(3.8rem, 8vw, 7rem);
}

.section-title {
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.section-title-large {
  font-size: clamp(3rem, 5vw, 5.4rem);
}

.section-title-xlarge {
  font-size: clamp(3.4rem, 6vw, 6rem);
}

.hero-subtitle-wide,
.split-copy p,
.surface-card p,
.link-card p,
.number-card p,
.feature-copy p,
.project-meta p,
.project-meta li,
.contact-page-lead,
.contact-detail p,
.news-entry-body p,
.logo-tile,
.muted-copy {
  color: var(--muted);
  line-height: 1.5;
}

.hero-subtitle-wide {
  max-width: 58rem;
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
}

.section-block {
  padding: 32px 0;
}

.section-block-dark {
  background: #0f0f0f;
}

.section-stack-large {
  display: grid;
  gap: 56px;
}

.stacked-split {
  display: grid;
  gap: 56px;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-header-centered {
  justify-content: center;
  text-align: center;
}

.split-copy,
.feature-split {
  display: grid;
  gap: 56px;
  align-items: start;
}

.split-copy {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
}

.split-copy-columns {
  align-items: stretch;
}

.text-columns {
  display: grid;
  gap: 24px;
}

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

.split-copy p,
.surface-card p,
.link-card p,
.number-card p,
.feature-copy p,
.project-meta p,
.news-entry-body p,
.contact-page-lead {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.32rem);
}

.feature-split {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.feature-split-reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.feature-split-reverse .feature-media {
  order: 2;
}

.feature-split-reverse .feature-copy {
  order: 1;
}

.feature-media,
.project-media,
.link-card-media,
.material-media {
  border-radius: 12px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: var(--shadow);
}

.feature-media {
  min-height: 460px;
}

.tall-media {
  min-height: 620px;
}

.wide-media {
  min-height: 520px;
}

.stack-gap-large {
  display: grid;
  gap: 28px;
}

.copy-block {
  display: grid;
  gap: 18px;
}

.copy-block h2,
.surface-card h3,
.link-card h3,
.number-card h3,
.project-meta h2,
.material-card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.65rem, 2.5vw, 2.7rem);
  line-height: 1.08;
}

.accent-word {
  color: var(--accent);
}

.cards-grid {
  display: grid;
  gap: 28px;
}

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

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

.cards-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.surface-card,
.link-card,
.number-card,
.service-summary-card,
.material-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--surface-line);
  border-radius: 12px;
  background: var(--surface);
}

.surface-card .text-link,
.link-card .text-link {
  margin-top: 8px;
}

.link-card,
.service-summary-card {
  color: #fff;
  transition: transform 180ms ease, border-color 180ms ease;
}

.link-card:hover,
.service-summary-card:hover,
.link-card:focus-visible,
.service-summary-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(211, 18, 69, 0.45);
}

.link-card-media {
  min-height: 280px;
}

.service-summary-card {
  align-content: space-between;
  min-height: 188px;
  background:
    linear-gradient(180deg, rgba(211, 18, 69, 0.12), rgba(0, 0, 0, 0.04)),
    var(--surface);
}

.service-summary-card span,
.number-card span {
  color: rgba(255, 255, 255, 0.45);
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 300;
}

.compact-number-card span {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(211, 18, 69, 0.12);
}

.line-list {
  display: grid;
  gap: 18px;
}

.line-list p {
  position: relative;
  margin: 0;
  padding-left: 90px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.32rem);
}

.line-list p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 70px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.project-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--surface-line);
}

.project-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.project-row-reverse .project-meta {
  order: 2;
}

.project-row-reverse .project-media {
  order: 1;
}

.project-meta {
  display: grid;
  gap: 16px;
}

.project-media {
  min-height: 520px;
}

.meta-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quote-shell {
  padding-top: 16px;
}

.quote-card {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 48px;
  border: 1px solid var(--surface-line);
  border-radius: 12px;
  background: #111;
}

.quote-mark {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.24);
  font-size: 5rem;
  line-height: 0.8;
}

.quote-body {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.45;
}

.quote-card footer {
  display: grid;
  gap: 4px;
  color: var(--muted);
}

.quote-card strong {
  color: #fff;
  font-weight: 600;
}

.timeline-grid {
  position: relative;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.timeline-grid::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 0.5px);
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.timeline-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 28px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 32px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(211, 18, 69, 0.16);
}

.timeline-card-left::before {
  right: -35px;
}

.timeline-card-right::before {
  left: -35px;
}

.timeline-card h3,
.timeline-card p,
.material-card p {
  margin: 0;
}

.logo-grid {
  display: grid;
  gap: 22px;
}

.logo-grid-six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 128px;
  padding: 22px;
  border: 1px solid var(--surface-line);
  border-radius: 12px;
  background: #111;
}

.logo-tile img {
  max-width: 100%;
  max-height: 68px;
  filter: grayscale(1) brightness(1.12);
  opacity: 0.88;
}

.accordion-feed {
  display: grid;
  gap: 0;
  padding-bottom: 32px;
}

.news-page-shell {
  padding-top: 92px;
}

.news-entry {
  border-bottom: 1px solid rgba(145, 150, 154, 0.45);
}

.news-entry summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0;
  cursor: pointer;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.05em;
  list-style: none;
}

.news-entry summary::-webkit-details-marker {
  display: none;
}

.news-entry summary::after {
  content: '';
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.news-entry[open] summary::after {
  transform: rotate(-135deg);
}

.news-entry-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 0 0 36px;
}

.news-entry-image {
  min-height: 320px;
  border-radius: 12px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.footer-cta {
  padding-top: 56px;
}

@media (min-width: 901px) {
  .home-page {
    position: relative;
    overflow: visible;
  }

  .home-page .hero {
    position: relative;
    z-index: 1;
  }

  .home-page .hero .section-inner {
    position: sticky;
    top: var(--home-pin-top);
  }

  .home-page .about {
    position: relative;
    z-index: 2;
    background: #000;
  }

  .home-page .services {
    position: sticky;
    top: 0;
    z-index: 3;
  }

  .home-page .sectors {
    position: sticky;
    top: 0;
    z-index: 4;
    background-color: #000;
  }

  .home-page .portfolio {
    position: sticky;
    top: 0;
    z-index: 5;
    background-color: #000;
  }

  .home-page .news {
    position: sticky;
    top: 0;
    z-index: 6;
    background: #000;
  }

  .home-page + .footer-cta {
    position: relative;
    z-index: 7;
  }

  .footer-cta,
  .site-footer {
    position: relative;
    z-index: 0;
  }
}

.footer-cta-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 713px) minmax(360px, 610px);
  gap: 119px;
  padding: 214px 0 244px;
  border-top: 1px solid var(--surface-line);
  overflow: hidden;
}

.footer-cta-copy {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.footer-heading {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(3.4rem, 4.2vw, 5.6rem);
  font-weight: 300;
  line-height: 1;
}

.footer-lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.8rem, 2.2vw, 2.4rem);
  font-weight: 300;
  line-height: 1.32;
}

.footer-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
}

.footer-cta-smoke {
  position: absolute;
   left: -60%;
   bottom: -70%;
  width: 210%;
  height: 195%;
   transform: translate(-10%, 18%);
  pointer-events: none;
  background: url('/static/media/home/menu-smoke.png') center / contain no-repeat;
  opacity: 0.9;
}

.footer-cta-accent,
.contact-page-accent {
  position: absolute;
  right: -28px;
  top: 0;
  width: min(520px, 36vw);
  height: min(720px, 52vw);
  opacity: 0.38;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 8%, rgba(0, 0, 0, 0.12) 42%, rgba(0, 0, 0, 0.12) 58%, rgba(0, 0, 0, 0.96) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.88) 100%),
    var(--contact-image) center/cover no-repeat;
}

.contact-page-accent::before,
.contact-page-accent::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
}

.contact-page-accent::before {
  top: 98px;
  right: 92px;
  width: 30px;
  height: 128px;
}

.contact-page-accent::after {
  top: 146px;
  right: 44px;
  width: 128px;
  height: 30px;
}

.contact-page-section {
  padding-top: 110px;
}

.contact-page-shell {
  position: relative;
  width: var(--max-width);
  margin: 0 auto;
  padding-bottom: 96px;
}

.contact-page-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 610px);
  gap: 72px;
  align-items: start;
}

.contact-page-copy {
  display: grid;
  gap: 28px;
  max-width: 720px;
}

.contact-page-lead {
  max-width: 720px;
}

.contact-details {
  display: grid;
  gap: 18px;
  margin-top: 12px;
}

.contact-detail {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-detail p,
.contact-detail-addresses p {
  margin: 0;
}

.contact-detail-addresses div {
  display: grid;
  gap: 6px;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  flex: 0 0 auto;
}

.contact-form-panel {
  padding-top: 10px;
}

.contact-page-dim {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(1100px, 72%);
  height: 280px;
  background:
    radial-gradient(circle at 18% 50%, rgba(211, 18, 69, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(211, 18, 69, 0.02), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.material-card {
  background: transparent;
  padding: 0;
  border: 0;
}

.material-media {
  min-height: 420px;
}

@media (max-width: 1180px) {
  .section-shell,
  .footer-inner-nav,
  .contact-page-shell {
    width: min(100% - 24px, 1816px);
  }

  .split-copy,
  .feature-split,
  .feature-split-reverse,
  .footer-cta-shell,
  .contact-page-grid,
  .project-row,
  .project-row-reverse {
    grid-template-columns: 1fr;
  }

  .feature-split-reverse .feature-media,
  .feature-split-reverse .feature-copy,
  .project-row-reverse .project-meta,
  .project-row-reverse .project-media {
    order: initial;
  }

  .text-columns-three,
  .cards-grid-four,
  .logo-grid-six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-cta-shell,
  .contact-page-grid {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  :root {
    --home-pin-top: 84px;
  }

  .hero-card,
  .hero-card-page {
    min-height: 620px;
  }

  .hero-content-left {
    padding: 120px 28px 40px;
  }

  .cards-grid-two,
  .cards-grid-three,
  .cards-grid-two-by-two,
  .text-columns-three,
  .logo-grid-six,
  .news-entry-body {
    grid-template-columns: 1fr;
  }

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

  .timeline-grid::before {
    left: 18px;
  }

  .timeline-card {
    padding-left: 44px;
  }

  .timeline-card-left::before,
  .timeline-card-right::before {
    left: 11px;
    right: auto;
  }

  .feature-media,
  .project-media,
  .tall-media,
  .wide-media {
    min-height: 360px;
  }

  .material-media {
    min-height: 300px;
  }

  .section-block,
  .footer-cta,
  .contact-page-section {
    padding-top: 28px;
  }

  .footer-cta-shell,
  .contact-page-shell {
    padding-bottom: 190px;
  }
}

@media (max-width: 640px) {
  .section-shell,
  .footer-inner-nav,
  .contact-page-shell {
    width: min(100% - 20px, 1816px);
  }

  .page-hero {
    padding-top: 12px;
  }

  .hero-card,
  .hero-card-page,
  .hero-panel {
    min-height: 520px;
  }

  .page-title,
  .hero-title {
    font-size: clamp(2.7rem, 12vw, 4.4rem);
  }

  .section-title-large,
  .section-title-xlarge,
  .display-title,
  .contact-title,
  .footer-lead {
    font-size: 2.6rem;
  }

  .split-copy,
  .feature-split,
  .footer-cta-shell,
  .contact-page-grid,
  .project-row {
    gap: 24px;
  }

  .surface-card,
  .link-card,
  .number-card,
  .service-summary-card {
    padding: 22px;
  }

  .link-card-media,
  .project-media,
  .feature-media,
  .material-media {
    min-height: 240px;
  }

  .line-list p {
    padding-left: 56px;
  }

  .line-list p::before {
    width: 40px;
  }

  .quote-card {
    padding: 28px;
  }

  .footer-cta-accent,
  .contact-page-accent {
    width: 250px;
    height: 320px;
    right: -68px;
  }

  .footer-cta-smoke {
    left: -50%;
    bottom: -60%;
    width: 180%;
    height: 165%;
   transform: translate(-10%, 18%);
  }
}

@media (max-width: 1180px) {
  .header-inner,
  .section-inner,
  .footer-inner {
    width: min(100% - 24px, 1816px);
  }

  .about-grid,
  .split-section,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .about-copy::before {
    top: -32px;
    bottom: auto;
    width: 100%;
    height: 1px;
  }

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

  .news-shell {
    padding: 72px 40px;
  }

  .menu-overlay::before {
    left: calc((100% - min(1440px, 100% - 104px)) / 2 + 177px);
  }

  .menu-overlay-body {
    padding-left: 0;
  }

  .home-page .about-grid,
  .home-page .split-section {
    grid-template-columns: minmax(96px, 113px) minmax(0, 1fr);
  }

  .home-page .about-grid {
    gap: 64px;
  }

  .home-page .services::before {
    left: calc((100% - min(1440px, 100% - 104px)) / 2 + 177px);
  }

  .home-page .split-section {
    gap: 36px;
  }

  .home-page .sectors .split-section {
    grid-template-columns: 313px minmax(0, 1fr);
    gap: 24px;
  }

  .home-page .sectors .section-side {
    width: 313px;
  }

  .home-page .sectors .triple-grid {
    grid-template-columns: repeat(3, 350px);
    gap: 39px;
  }

  .home-page .portfolio .split-section {
    grid-template-columns: 313px minmax(0, 1fr);
    gap: 24px;
  }

  .home-page .portfolio .section-side {
    width: 313px;
  }

  .home-page .portfolio .triple-grid {
    grid-template-columns: repeat(3, 350px);
    gap: 39px;
  }

  .home-page .about-copy {
    padding-left: 44px;
  }

  .home-page .about-copy::before {
    top: -48px;
    bottom: -24px;
    width: 1px;
    height: auto;
  }

  .home-page .triple-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .home-page .news-shell {
    padding: 72px 48px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .site-tagline {
    display: none;
  }

  .hero-panel {
    min-height: 640px;
  }

  .home-page {
    overflow: hidden;
  }

  .hero-content {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .services-rail {
    grid-auto-columns: minmax(280px, 82vw);
  }

  .service-card .card-meta {
    gap: 6px;
    margin-top: -50px;
  }

  .service-card .card-index {
    font-size: 72px;
  }

  .service-card .card-meta h3 {
    font-size: 42px;
  }

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

  .portfolio-media {
    height: 360px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 0;
  }
}

@media (max-width: 640px) {
  :root {
    --max-width: min(100% - 20px, 1816px);
  }

  .header-inner {
    min-height: 84px;
  }

  .brand-wordmark {
    font-size: 1rem;
  }

  .hero-panel {
    min-height: 520px;
  }

  .hero-title {
    max-width: 10ch;
  }

  .button {
    min-height: 60px;
    padding: 16px 24px;
    font-size: 0.9rem;
  }

  .about-grid,
  .split-section,
  .contact-grid,
  .section-stack {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .split-label,
  .about-copy p,
  .contact-copy p {
    font-size: 1.125rem;
  }

  .display-title,
  .contact-title {
    font-size: 2.75rem;
  }

  .card-media,
  .info-media,
  .portfolio-media {
    height: 260px;
  }

  .card-meta,
  .info-meta {
    align-items: baseline;
  }

  .card-index {
    font-size: 2.2rem;
  }

  .news-shell {
    padding: 36px 20px;
  }

  .news-item {
    padding: 24px 0;
  }

  .news-item span {
    font-size: 1.2rem;
  }

  .contact-accent {
    width: 260px;
    height: 320px;
    right: -70px;
  }

  .contact-accent::before {
    right: 72px;
    width: 20px;
    height: 78px;
  }

  .contact-accent::after {
    top: 110px;
    right: 42px;
    width: 78px;
    height: 20px;
  }

  .footer-nav {
    gap: 14px 20px;
  }

  .footer-nav a,
  .footer-credit {
    font-size: 0.75rem;
  }
}