:root {
  --ink: #172130;
  --muted: #667085;
  --paper: #ffffff;
  --soft: #f4f6f8;
  --line: #dfe5ed;
  --deep: #111820;
  --deep-2: #1c2835;
  --gold: #c69345;
  --gold-2: #e2b86d;
  --blue: #1c5f90;
  --shadow: 0 22px 60px rgba(17, 24, 32, 0.14);
  --shadow-strong: 0 34px 90px rgba(17, 24, 32, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.62;
}

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

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

button {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

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

.section-dark {
  color: #fff;
  background: var(--deep);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 6.2vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

.section-dark p,
.page-hero p,
.home-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: var(--gold);
  color: var(--deep);
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--gold-2);
  border-color: var(--gold-2);
}

.btn--light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--light:hover {
  background: #fff;
  color: var(--deep);
  border-color: #fff;
}

.btn--small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9rem;
}

.text-link {
  display: inline-flex;
  color: var(--blue);
  font-weight: 800;
}

.text-link::after {
  margin-left: 8px;
  content: "→";
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(17, 24, 32, 0.08);
  backdrop-filter: blur(16px);
}

.topbar {
  color: rgba(255, 255, 255, 0.82);
  background: var(--deep);
  font-size: 0.88rem;
}

.topbar__inner,
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar__inner {
  min-height: 40px;
}

.topbar a {
  color: #fff;
  font-weight: 800;
}

.phone-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.navbar__inner {
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__logo {
  width: 138px;
  height: 68px;
  object-fit: contain;
}

.brand--footer .brand__logo {
  width: 150px;
  height: 74px;
  padding: 8px;
  border-radius: 6px;
  background: #fff;
}

.brand__mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--deep);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.18rem;
  line-height: 1;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.73rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #263242;
  font-size: 0.95rem;
  font-weight: 800;
}

.nav-links a:not(.btn) {
  position: relative;
}

.nav-links a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

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

.home-hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
}

.home-hero__image,
.home-hero__shade {
  position: absolute;
  inset: 0;
}

.home-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero__shade {
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.95) 0%, rgba(17, 24, 32, 0.74) 48%, rgba(17, 24, 32, 0.18) 100%),
    linear-gradient(0deg, rgba(17, 24, 32, 0.52), rgba(17, 24, 32, 0.08));
}

.home-hero__content {
  position: relative;
  z-index: 1;
  padding: 86px 0 112px;
  animation: heroRise 900ms ease both;
}

.home-hero__content p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 34px;
  font-size: 1.12rem;
}

.home-hero h1 {
  max-width: 900px;
  font-size: clamp(3rem, 6.2vw, 5rem);
  line-height: 1;
}

.hero-subtitle {
  margin: -6px 0 22px;
  color: #fff !important;
  font-size: clamp(1.35rem, 2.6vw, 2.2rem) !important;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.metrics {
  position: relative;
  z-index: 2;
  margin-top: -70px;
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.metrics article {
  min-height: 150px;
  padding: 30px;
  border-right: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(198, 147, 69, 0.08), rgba(255, 255, 255, 0) 48%), #fff;
  transition: transform 220ms ease, background 220ms ease;
}

.metrics article:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, rgba(198, 147, 69, 0.15), rgba(255, 255, 255, 0) 56%), #fff;
}

.metrics article:last-child {
  border-right: 0;
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  color: var(--gold);
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  line-height: 1;
}

.metrics span {
  margin-top: 12px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 72px;
  align-items: center;
}

.section-copy p {
  font-size: 1.02rem;
}

.image-panel {
  position: relative;
}

.image-panel img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  box-shadow: var(--shadow);
  transition: transform 500ms ease, filter 500ms ease;
}

.image-panel:hover img {
  filter: saturate(1.08) contrast(1.03);
}

.image-panel > div {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: min(360px, calc(100% - 56px));
  padding: 24px;
  background: var(--deep);
  color: #fff;
}

.image-panel strong,
.image-panel span {
  display: block;
}

.image-panel span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.image-panel--quiet img {
  min-height: 560px;
}

.section-head {
  max-width: 810px;
  margin-bottom: 44px;
  text-align: center;
}

.cards {
  display: grid;
  gap: 22px;
}

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

.info-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 44px rgba(17, 24, 32, 0.08);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.info-card:hover,
.portfolio-grid article:hover,
.feature-grid article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.info-card img {
  width: 100%;
  height: 255px;
  object-fit: cover;
}

.info-card div {
  padding: 28px;
}

.info-card span,
.feature-grid span,
.service-list span,
.portfolio-grid span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-link {
  margin-top: 34px;
  text-align: center;
}

.project-preview {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}

.project-tile {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: var(--deep);
  box-shadow: var(--shadow);
}

.project-tile img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  opacity: 0.74;
  transition: transform 360ms ease, opacity 360ms ease;
}

.project-tile:hover img {
  opacity: 0.58;
  transform: scale(1.04);
}

.project-tile span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  background: linear-gradient(0deg, rgba(17, 24, 32, 0.96), rgba(17, 24, 32, 0));
}

.cta-band {
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.98), rgba(17, 24, 32, 0.82)),
    url("../images/premium/construction-team.jpg") center/cover;
}

.cta-band__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
}

.cta-band p {
  max-width: 740px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 126px 0;
  color: #fff;
  background: var(--deep);
}

.page-hero::before,
.page-hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

.page-hero::before {
  background-position: center;
  background-size: cover;
}

.page-hero::after {
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.94), rgba(17, 24, 32, 0.62)),
    linear-gradient(0deg, rgba(17, 24, 32, 0.38), rgba(17, 24, 32, 0.18));
}

.page-hero > .container {
  position: relative;
  z-index: 1;
  animation: heroRise 850ms ease both;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  font-size: 1.08rem;
}

.page-hero--about::before {
  background-image: url("../images/premium/site-inspection.jpg");
}

.page-hero--services::before {
  background-image: url("../images/premium/blueprint-engineers.jpg");
}

.page-hero--projects::before {
  background-image: url("../images/premium/Construction.jpg");
}

.page-hero--contacts::before {
  background-image: url("../images/premium/cranes-site.jpg");
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-grid article {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.feature-grid article:hover {
  border-color: rgba(198, 147, 69, 0.48);
}

.license-block {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 50px;
  align-items: center;
  padding: 50px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 46px rgba(17, 24, 32, 0.08);
}

.document-card {
  min-height: 260px;
  padding: 34px;
  border: 1px solid rgba(198, 147, 69, 0.42);
  background: linear-gradient(135deg, #151f2b, #263445);
  color: #fff;
}

.document-card strong,
.document-card span,
.document-card small {
  display: block;
}

.document-card strong {
  margin-bottom: 18px;
  color: var(--gold-2);
  font-size: 2rem;
  line-height: 1.1;
}

.document-card small {
  margin-top: 70px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.service-list {
  display: grid;
  gap: 34px;
}

.service-list article {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 44px;
  align-items: center;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.service-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.service-list article:nth-child(even) img {
  order: 2;
}

.service-list img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.service-list ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  color: var(--muted);
}

.contact-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.contact-action-grid a {
  padding: 22px;
  border-left: 4px solid var(--gold);
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(17, 24, 32, 0.07);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.contact-action-grid a:hover {
  transform: translateX(5px);
  border-color: var(--blue);
  box-shadow: 0 20px 44px rgba(17, 24, 32, 0.12);
}

.contact-action-grid--left {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin-top: 28px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.portfolio-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 44px rgba(17, 24, 32, 0.08);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.portfolio-grid img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.portfolio-grid div {
  padding: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 410px;
  gap: 64px;
  align-items: start;
}

.contact-main h2 {
  max-width: 760px;
}

.hours-card {
  padding: 34px;
  background: var(--deep);
  color: #fff;
  box-shadow: var(--shadow);
}

.hours-card ul {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.hours-card li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hours-card span {
  color: rgba(255, 255, 255, 0.72);
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
  filter: grayscale(0.2);
}

.governance-block {
  background: linear-gradient(180deg, #fff 0%, #f7f9fb 100%);
}

.governance-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-strong);
}

.governance-card__media {
  position: relative;
  min-height: 0;
  height: 620px;
  align-self: start;
  background: var(--deep);
}

.governance-card__media::after {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(226, 184, 109, 0.72);
  content: "";
  pointer-events: none;
}

.governance-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.governance-card__copy {
  position: relative;
  padding: clamp(34px, 5vw, 68px);
}

.governance-card__copy::before {
  position: absolute;
  top: 40px;
  right: 40px;
  color: rgba(198, 147, 69, 0.14);
  content: "СКУ";
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 1;
}

.governance-card__copy > * {
  position: relative;
  z-index: 1;
}

.governance-card__links {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.governance-card__links a {
  color: var(--blue);
  font-weight: 900;
}

.license-showcase__head {
  max-width: 820px;
  margin-bottom: 42px;
}

.license-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.license-gallery a {
  display: block;
  padding: 18px;
  border: 1px solid rgba(198, 147, 69, 0.35);
  background: linear-gradient(135deg, rgba(198, 147, 69, 0.12), rgba(255, 255, 255, 0) 46%), #fff;
  box-shadow: var(--shadow);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.license-gallery a:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.license-gallery img {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  background: #fff;
}

.clients-marquee {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(198, 147, 69, 0.13), transparent 26%),
    linear-gradient(180deg, #fff 0%, #f7f9fb 100%);
}

.clients-marquee__head {
  max-width: 780px;
  margin-bottom: 34px;
  text-align: center;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.logo-marquee::before,
.logo-marquee::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(160px, 18vw);
  content: "";
  pointer-events: none;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.logo-marquee__track {
  display: flex;
  width: max-content;
  gap: 22px;
  animation: marqueeMove 34s linear infinite;
}

.logo-marquee:hover .logo-marquee__track {
  animation-play-state: paused;
}

.logo-marquee__track img {
  width: 178px;
  height: 96px;
  flex: 0 0 auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(17, 24, 32, 0.08);
  filter: grayscale(0.18);
  transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
}

.logo-marquee__track img:hover {
  transform: translateY(-4px) scale(1.03);
  filter: none;
  box-shadow: 0 20px 46px rgba(17, 24, 32, 0.14);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.footer {
  padding: 72px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.65fr 0.9fr;
  gap: 58px;
}

.brand--footer .brand__mark {
  background: var(--gold);
}

.brand--footer small,
.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.72);
}

.footer h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1rem;
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.9rem;
}

@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .section {
    padding: 78px 0;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    top: 122px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 13px;
  }

  .nav-links .btn {
    margin-top: 8px;
  }

  .metrics__grid,
  .feature-grid,
  .cards--three,
  .footer__grid,
  .contact-action-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .cta-band__inner,
  .license-block,
  .contact-layout,
  .governance-card {
    grid-template-columns: 1fr;
  }

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

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

  .service-list article,
  .service-list article:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-list article:nth-child(even) img {
    order: 0;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 28px);
    max-width: calc(100vw - 28px);
  }

  body {
    overflow-x: hidden;
  }

  main *,
  .site-header *,
  .footer * {
    min-width: 0;
  }

  h1,
  h2,
  h3,
  p,
  li,
  a,
  span,
  strong {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .section {
    padding: 58px 0;
  }

  .topbar__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 8px 0;
    font-size: 0.78rem;
  }

  .topbar__inner span:first-child {
    max-width: 100%;
    line-height: 1.35;
  }

  .topbar__inner strong {
    margin-left: 0;
    white-space: nowrap;
  }

  .navbar__inner {
    position: relative;
    min-height: 66px;
    flex-wrap: nowrap;
    gap: 14px;
    padding: 8px 0;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__logo {
    width: 112px;
    height: 50px;
  }

  .brand small {
    max-width: 150px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 42px;
    margin-left: auto;
    border-radius: 4px;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 80;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-height: calc(100vh - 136px);
    overflow-y: auto;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 26px 70px rgba(17, 24, 32, 0.2);
    backdrop-filter: blur(18px);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a:not(.btn) {
    width: 100%;
    padding: 13px 12px;
    border: 0;
    border-radius: 4px;
    font-size: 0.98rem;
  }

  .nav-links a:not(.btn)::after {
    display: none;
  }

  .nav-links a:not(.btn).active {
    background: rgba(204, 144, 59, 0.12);
  }

  .nav-links .btn {
    display: flex;
    width: 100%;
    margin-top: 8px;
    padding: 13px 16px;
  }

  h1 {
    width: 100%;
    max-width: calc(100vw - 28px);
    font-size: clamp(1.9rem, 8.2vw, 2.3rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2.15rem);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .home-hero {
    min-height: auto;
  }

  .home-hero__shade {
    background: linear-gradient(90deg, rgba(8, 18, 28, 0.9), rgba(8, 18, 28, 0.72) 56%, rgba(8, 18, 28, 0.54));
  }

  .home-hero__image {
    object-position: center top;
  }

  .home-hero__content {
    padding: 58px 0 66px;
  }

  .page-hero {
    min-height: auto;
    padding: 70px 0;
  }

  .page-hero::after {
    opacity: 0.2;
  }

  .home-hero__content .eyebrow,
  .page-hero .eyebrow {
    margin-bottom: 16px;
    font-size: 0.78rem;
  }

  .home-hero h1 {
    max-width: calc(100vw - 28px);
    font-size: clamp(2rem, 9vw, 2.55rem);
    line-height: 1.04;
  }

  .hero-subtitle {
    max-width: calc(100vw - 28px);
    font-size: 1.08rem !important;
    line-height: 1.35;
  }

  .home-hero__content p:not(.eyebrow),
  .page-hero p:not(.eyebrow) {
    width: 100%;
    max-width: calc(100vw - 28px);
    font-size: 0.98rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }

  .hero-actions,
  .footer__bottom,
  .governance-card__links,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    min-height: 50px;
  }

  .metrics {
    margin-top: 0;
  }

  .metrics__grid,
  .feature-grid,
  .cards--three,
  .project-preview,
  .portfolio-grid,
  .gallery-grid,
  .footer__grid,
  .contact-action-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .metrics article {
    min-height: auto;
    padding: 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics strong {
    font-size: 2rem;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head--center {
    text-align: left;
  }

  .split,
  .cta-band__inner,
  .license-block,
  .contact-layout,
  .governance-card {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr);
  }

  .image-panel img,
  .image-panel--quiet img {
    min-height: 0;
    height: 300px;
  }

  .image-panel > div {
    position: static;
    width: 100%;
    padding: 20px;
  }

  .image-panel__badge {
    grid-template-columns: 1fr;
  }

  .info-card img {
    height: 220px;
  }

  .info-card div,
  .feature-grid article,
  .portfolio-grid div,
  .hours-card {
    padding: 22px;
  }

  .project-tile--wide {
    grid-column: span 1;
  }

  .project-tile {
    min-height: 284px;
  }

  .project-tile span {
    padding: 18px;
    font-size: 1rem;
    line-height: 1.35;
  }

  .license-block {
    padding: 24px;
  }

  .document-card {
    min-height: 210px;
    padding: 22px;
  }

  .service-list {
    gap: 24px;
  }

  .service-list article,
  .service-list article:nth-child(even) {
    gap: 20px;
    grid-template-columns: 1fr;
  }

  .service-list article div {
    padding: 0 2px 6px;
  }

  .service-list article:nth-child(even) img {
    order: 0;
  }

  .service-list img,
  .portfolio-grid img,
  .gallery-grid img {
    height: 230px;
  }

  .portfolio-grid h2 {
    font-size: 1.45rem;
  }

  .hours-card li {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .contact-card,
  .contact-form,
  .cta-band {
    padding: 24px;
  }

  .map-section iframe {
    height: 320px;
  }

  .governance-card__media {
    height: 300px;
  }

  .governance-card__copy {
    padding: 24px;
  }

  .governance-card__copy::before {
    top: 16px;
    right: 18px;
    font-size: 4.2rem;
  }

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

  .license-gallery a {
    padding: 10px;
  }

  .license-gallery img {
    max-height: 500px;
  }

  .client-strip {
    padding: 46px 0;
  }

  .logo-marquee {
    padding: 14px 0;
  }

  .logo-marquee__track {
    gap: 14px;
    animation-duration: 30s;
  }

  .logo-marquee__track img {
    width: 132px;
    height: 74px;
    padding: 14px;
  }

  .footer {
    padding: 52px 0 24px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(1180px, calc(100% - 24px));
  }

  .brand__logo {
    width: 104px;
    height: 46px;
  }

  .nav-toggle {
    width: 42px;
    height: 40px;
  }

  .home-hero__content {
    padding: 48px 0 58px;
  }

  .page-hero {
    padding: 58px 0;
  }

  .home-hero h1 {
    font-size: clamp(1.9rem, 9.2vw, 2.25rem);
  }

  .hero-subtitle {
    font-size: 1rem !important;
  }

  .project-tile {
    min-height: 250px;
  }

  .image-panel img,
  .image-panel--quiet img,
  .governance-card__media {
    height: 270px;
  }

  .service-list img,
  .portfolio-grid img,
  .gallery-grid img,
  .info-card img {
    height: 210px;
  }
}

@media (max-width: 360px) {
  .topbar__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar__inner span:first-child {
    max-width: 100%;
  }

  .topbar__inner strong {
    margin-left: 0;
  }

  .home-hero h1 {
    font-size: 1.85rem;
  }
}

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