@font-face {
  font-family: "El Messiri";
  src: url("../assets/fonts/ElMessiri-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "El Messiri";
  src: url("../assets/fonts/ElMessiri-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "El Messiri";
  src: url("../assets/fonts/ElMessiri-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "El Messiri";
  src: url("../assets/fonts/ElMessiri-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #064423;
  --ink-2: #064423;
  --navy: #064423;
  --indigo: #064423;
  --sun: #064423;
  --coral: #064423;
  --muted: rgba(6, 68, 35, 0.72);
  --line: rgba(6, 68, 35, 0.16);
  --paper: #ffffff;
  --white: #ffffff;
  --lime: #064423;
  --green: #064423;
  --teal: #064423;
  --steel: rgba(6, 68, 35, 0.08);
  --shadow: 0 18px 45px rgba(6, 68, 35, 0.12);
  --shadow-strong: 0 28px 80px rgba(6, 68, 35, 0.18);
  --container: min(1180px, calc(100% - 40px));
  --radius: 8px;
}

html[dir="rtl"] {
  direction: rtl;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Bahnschrift", "Segoe UI", sans-serif;
  color: var(--ink);
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  background:
    linear-gradient(rgba(16, 32, 51, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 51, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 54px 54px;
  overflow-x: hidden;
}

body.page--arabic {
  font-family: "El Messiri", "Segoe UI", Tahoma, sans-serif;
}

.page--arabic .brand strong,
.page--arabic .brand small,
.page--arabic .kicker,
.page--arabic .spec-card__label,
.page--arabic .detail-card span,
.page--arabic .site-gallery__tag,
.page--arabic .site-gallery-card__eyebrow,
.page--arabic .doc-tag,
.page--arabic .hero-logo--text strong,
.page--arabic .hero-logo--text span,
.page--arabic .footer-credit span {
  text-transform: none;
  letter-spacing: 0;
}

.page--arabic .brand strong,
.page--arabic .display-title,
.page--arabic .section-title,
.page--arabic .site-gallery__brief h3,
.page--arabic .site-gallery-card h3,
.page--arabic .detail-card h3,
.page--arabic .process-step h3,
.page--arabic .spec-card h3,
.page--arabic .quote-band h2 {
  font-family: "El Messiri", "Segoe UI", Tahoma, sans-serif;
}

.page--arabic .header-shell,
.page--arabic .section-head,
.page--arabic .quote-band__grid,
.page--arabic .footer-shell {
  direction: rtl;
}

.page--arabic .hero__content,
.page--arabic .section-head,
.page--arabic .section-sidecopy,
.page--arabic .site-gallery__brief,
.page--arabic .spec-card,
.page--arabic .process-step,
.page--arabic .detail-card,
.page--arabic .footer-brand,
.page--arabic .footer-credit {
  text-align: right;
}

.page--arabic .hero__content {
  width: min(920px, 100%);
}

.page--arabic .site-header {
  background: rgba(255, 255, 255, 0.95);
}

.page--arabic .header-shell {
  min-height: 86px;
  gap: 28px;
}

.page--arabic .brand {
  gap: 14px;
}

.page--arabic .brand strong {
  max-width: 340px;
  color: #0a8f18;
  font-size: 0.92rem;
  line-height: 1.55;
}

.page--arabic .brand small {
  color: #708197;
  font-size: 0.72rem;
}

.page--arabic .site-nav {
  gap: 8px;
}

.page--arabic .site-nav a {
  font-size: 0.98rem;
  font-weight: 700;
}

.page--arabic .hero-logo--text {
  width: min(860px, 100%);
  padding: 24px 34px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(7, 23, 38, 0.48), rgba(9, 29, 43, 0.24));
  box-shadow: 0 30px 54px rgba(0, 0, 0, 0.2);
}

.page--arabic .hero-logo--text strong {
  color: #0ac221;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1.6;
}

.page--arabic .hero-logo--text span {
  font-size: 0.9rem;
  font-weight: 800;
}

.page--arabic .display-title {
  max-width: 10.5ch;
  font-size: clamp(3rem, 6.1vw, 5.3rem);
  line-height: 1.28;
}

.page--arabic .hero__lede {
  max-width: 880px;
  font-size: 1.12rem;
  line-height: 2.15;
  color: rgba(255, 255, 255, 0.88);
}

.page--arabic .button-row {
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
}

.page--arabic .proof-grid article,
.page--arabic .spec-card,
.page--arabic .site-gallery__brief {
  text-align: right;
}

.page--arabic .proof-grid article {
  padding: 30px 28px;
  border-radius: 22px;
}

.page--arabic .proof-grid strong {
  font-size: 2rem;
}

.page--arabic .main-section {
  padding: 104px 0;
}

.page--arabic .section-head {
  grid-template-columns: minmax(320px, 0.7fr) minmax(0, 0.9fr);
  align-items: center;
}

.page--arabic .section-title {
  max-width: 13ch;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.35;
}

.page--arabic .section-sidecopy {
  font-size: 1rem;
  line-height: 2.05;
}

.page--arabic .spec-card,
.page--arabic .detail-card,
.page--arabic .process-step,
.page--arabic .site-gallery__brief,
.page--arabic .footer-shell {
  border-radius: 22px;
}

.page--arabic .spec-card h3,
.page--arabic .detail-card h3,
.page--arabic .process-step h3 {
  font-size: 1.4rem;
  line-height: 1.5;
}

.page--arabic .spec-card p,
.page--arabic .detail-card p,
.page--arabic .process-step p,
.page--arabic .site-gallery__brief p {
  line-height: 1.95;
}

.page--arabic .button {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 1rem;
}

.page--arabic .motion-ticker {
  border-top-color: rgba(16, 32, 51, 0.06);
  border-bottom-color: rgba(16, 32, 51, 0.06);
}

.page--arabic .site-nav a::after {
  transform-origin: right;
}

.page--arabic .site-nav .nav-cta {
  margin-left: 0;
  margin-right: 8px;
}

.page--arabic .ticker-track {
  animation-direction: reverse;
}

.page--arabic .footer-credit {
  justify-content: flex-start;
}

.page--arabic .footer-credit__button {
  direction: ltr;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -16vh -10vw;
  z-index: 0;
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(circle at 14% 18%, rgba(33, 184, 167, 0.3), transparent 28%),
    radial-gradient(circle at 84% 14%, rgba(139, 216, 15, 0.24), transparent 22%),
    radial-gradient(circle at 78% 74%, rgba(36, 54, 74, 0.18), transparent 26%),
    radial-gradient(circle at 22% 82%, rgba(16, 32, 51, 0.12), transparent 24%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  filter: blur(8px) saturate(1.12);
  opacity: 1;
  transform-origin: center;
  animation: ambientAurora 18s ease-in-out infinite alternate;
}

body::after {
  inset: -4vh -4vw;
  background-image:
    linear-gradient(rgba(16, 32, 51, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 51, 0.07) 1px, transparent 1px),
    linear-gradient(120deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
  background-size: 64px 64px, 64px 64px, 100% 100%;
  opacity: 0.5;
  transform-origin: center;
  animation: ambientGridShift 20s linear infinite;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  position: relative;
  z-index: 1;
  overflow-x: clip;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(16, 32, 51, 0.08);
}

.progress-bar {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: var(--scroll-progress, 0%);
  height: 2px;
  background: linear-gradient(90deg, var(--lime), var(--teal));
}

.header-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand > span:last-child {
  display: grid;
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--lime), var(--green));
  color: white;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(139, 216, 15, 0.25);
  animation: logoBeat 4s ease-in-out infinite;
}

.brand__mark--image {
  padding: 7px;
  background: #020602;
  box-shadow: 0 12px 28px rgba(0, 128, 0, 0.28);
}

.brand__mark--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand--matrix strong {
  color: #008000;
}

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

.brand strong {
  text-transform: uppercase;
  max-width: 320px;
  letter-spacing: 0.03em;
  font-size: 0.8rem;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  font-weight: 700;
  font-size: 0.92rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lime), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--green);
  background: rgba(139, 216, 15, 0.1);
}

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

.site-nav .nav-cta {
  margin-left: 8px;
  color: white;
  background: var(--ink);
}

.site-nav .nav-cta:hover {
  color: white;
  background: var(--green);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 680px;
  display: flex;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(7, 23, 38, 0.95), rgba(7, 23, 38, 0.82)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 26px),
    linear-gradient(135deg, #1a2d40, #31475e 46%, #1f8a31);
  background-size: auto, 160px 160px, auto;
  animation: heroTexture 18s linear infinite;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 23, 38, 0.92), rgba(7, 23, 38, 0.72) 48%, rgba(7, 23, 38, 0.88)),
    url("../assets/optimized/precast-panel-sky-02-hero.webp") center / cover no-repeat;
  opacity: 0.72;
  transform: scale(1.06) translate3d(0, 0, 0);
  animation: heroImageDrift 22s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at var(--mouse-x, 28%) var(--mouse-y, 34%), rgba(139, 216, 15, 0.2), transparent 28%),
    linear-gradient(115deg, rgba(7, 23, 38, 0.86), rgba(7, 23, 38, 0.44) 54%, rgba(0, 128, 0, 0.16));
  animation: heroGlowShift 12s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 880px);
  justify-content: center;
  gap: 0;
  align-items: center;
  min-width: 0;
}

.hero__content {
  min-width: 0;
  justify-self: center;
  text-align: center;
  width: min(880px, 100%);
}

.kicker {
  margin: 0 0 18px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker--ink {
  color: var(--green);
}

.display-title {
  max-width: 760px;
  margin: 0 auto;
  font-family: Georgia, serif;
  font-size: clamp(2.7rem, 5.4vw, 4.55rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero .display-title {
  width: min(760px, 100%);
}

.hero__lede {
  max-width: 680px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.hero-logo {
  display: block;
  width: min(460px, 92%);
  max-height: 104px;
  margin: 0 auto 24px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.35));
}

.hero-logo--text {
  display: grid;
  gap: 8px;
  width: min(760px, 96%);
  max-height: none;
  padding: 20px 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(7, 23, 38, 0.44), rgba(7, 23, 38, 0.16));
  box-shadow: 0 26px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  text-align: center;
}

.hero-logo--text strong {
  color: #00a61a;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-logo--text span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  overflow: hidden;
  transform: translate3d(var(--tx, 0), var(--ty, 0), 0);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: translateX(-120%);
  transition: transform 0.45s ease;
}

.button:hover::before {
  transform: translateX(120%);
}

.button:hover {
  transform: translate3d(var(--tx, 0), calc(var(--ty, 0) - 2px), 0);
  box-shadow: var(--shadow);
}

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

.button--ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.hero-dashboard {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
  animation: dashboardFloat 6s ease-in-out infinite;
}

.hero-media {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
  animation: dashboardFloat 6s ease-in-out infinite;
}

.hero-media__mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.media-card,
.showcase-card,
.project-photo-card {
  appearance: none;
  position: relative;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: white;
  background: var(--navy);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow);
}

.media-card img,
.showcase-card img,
.project-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: block;
  object-fit: cover;
  transition: transform 0.65s ease, filter 0.65s ease;
}

.media-card::after,
.showcase-card::after,
.project-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(7, 23, 38, 0.88));
}

.media-card span,
.showcase-card span,
.project-photo-card span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-card:hover img,
.showcase-card:hover img,
.project-photo-card:hover img {
  transform: scale(1.07);
  filter: saturate(1.08) contrast(1.04);
}

.media-card--hero img {
  min-height: 390px;
}

.dashboard-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.dashboard-topline span {
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 800;
}

.dashboard-meter {
  height: 180px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 14px;
  margin: 26px 0;
}

.dashboard-meter span {
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--teal), var(--lime));
  transform-origin: bottom;
  animation: barPulse 3.2s ease-in-out infinite;
}

.dashboard-meter span:nth-child(1) { height: 52%; }
.dashboard-meter span:nth-child(2) { height: 74%; animation-delay: 0.2s; }
.dashboard-meter span:nth-child(3) { height: 44%; animation-delay: 0.4s; }
.dashboard-meter span:nth-child(4) { height: 88%; animation-delay: 0.6s; }

.dashboard-grid,
.proof-grid,
.feature-grid,
.value-grid,
.service-grid,
.project-grid,
.document-grid,
.contact-layout,
.process-lane,
.detail-grid,
.quote-band__grid {
  display: grid;
  gap: 18px;
}

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

.dashboard-grid article {
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.dashboard-grid span,
.project-card span,
.document-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-grid strong {
  color: white;
}

.proof-strip {
  transform: translateY(-44px);
  margin-bottom: -44px;
}

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

.proof-grid article {
  padding: 26px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.proof-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.75rem;
}

.proof-grid span {
  color: var(--muted);
  font-weight: 700;
}

.main-section {
  padding: 92px 0;
}

.main-section--ink {
  color: white;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 32px),
    linear-gradient(135deg, var(--navy), #132c43 54%, #143822);
  background-size: 180px 180px, auto;
  animation: heroTexture 22s linear infinite;
}

.main-section--workflow {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(139, 216, 15, 0.14), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(33, 184, 167, 0.16), transparent 30%),
    linear-gradient(135deg, #102033 0%, #173147 52%, #1a2e3f 100%);
  animation: none;
}

.main-section--workflow::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.45;
  pointer-events: none;
}

.main-section--workflow::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(7, 23, 38, 0.26));
  pointer-events: none;
}

.main-section--workflow .section-shell {
  position: relative;
  z-index: 1;
}

.main-section--workflow .process-step {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.06));
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(6px);
}

.main-section--workflow .process-step:hover {
  border-color: rgba(139, 216, 15, 0.34);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.18);
}

.main-section--paper {
  background:
    radial-gradient(circle at 12% 10%, rgba(139, 216, 15, 0.18), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(33, 184, 167, 0.13), transparent 32%),
    white;
}

.section-title--light {
  color: white;
}

.section-sidecopy--light {
  color: rgba(255, 255, 255, 0.76);
}

.motion-ticker {
  overflow: hidden;
  border-top: 1px solid rgba(16, 32, 51, 0.08);
  border-bottom: 1px solid rgba(16, 32, 51, 0.08);
  background: white;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 12px;
  padding: 18px 0;
  animation: tickerMove 24s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(139, 216, 15, 0.16), rgba(33, 184, 167, 0.12));
  border: 1px solid var(--line);
  font-weight: 900;
  white-space: nowrap;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.section-title {
  max-width: 620px;
  margin: 0;
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.section-sidecopy {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

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

.value-grid {
  grid-template-columns: repeat(4, 1fr);
}

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

.document-grid {
  grid-template-columns: repeat(4, 1fr);
}

.process-lane {
  grid-template-columns: repeat(4, 1fr);
}

.detail-grid {
  grid-template-columns: repeat(4, 1fr);
}

.quote-band__grid {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.spec-card,
.value-card,
.process-card,
.project-card,
.document-card,
.contact-panel,
.quote-form {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 28px rgba(16, 32, 51, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.spec-card,
.value-card,
.process-card,
.document-card {
  position: relative;
  overflow: hidden;
}

.spec-card::before,
.value-card::before,
.process-card::before,
.document-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lime), var(--teal), var(--sun), var(--coral));
  background-size: 220% 100%;
  animation: colorRun 5s linear infinite;
}

.spec-card:hover,
.value-card:hover,
.process-card:hover,
.project-card:hover,
.document-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 216, 15, 0.55);
  box-shadow: var(--shadow);
}

.spec-card__label {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.spec-card h3,
.value-card h3,
.process-card h3,
.project-card h3,
.document-card h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
}

.spec-card p,
.value-card p,
.process-card p,
.project-card p,
.document-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.value-card__icon,
.process-card__index {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(139, 216, 15, 0.16);
  color: var(--green);
  font-weight: 900;
}

.process-step {
  position: relative;
  min-height: 310px;
  padding: 24px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.process-step:hover {
  border-color: rgba(139, 216, 15, 0.42);
}

.process-step::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--lime), var(--teal), var(--sun));
}

.process-step span {
  display: inline-flex;
  margin-bottom: 70px;
  color: var(--lime);
  font-size: 3.2rem;
  font-family: Georgia, serif;
  line-height: 1;
}

.process-step h3 {
  margin: 0 0 12px;
  color: white;
  font-size: 1.25rem;
}

.process-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.72;
}

.detail-card {
  position: relative;
  min-height: 330px;
  padding: 24px;
  border-radius: 8px;
  overflow: hidden;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 44px rgba(7, 23, 38, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.detail-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 216, 15, 0.28);
  box-shadow: 0 26px 64px rgba(7, 23, 38, 0.24);
}

.detail-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  background-size: 42px 42px, 42px 42px, 100% 100%;
  opacity: 0.32;
}

.detail-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(139, 216, 15, 0.95), rgba(33, 184, 167, 0.82));
}

.detail-card > * {
  position: relative;
}

.detail-card span {
  display: block;
  margin-bottom: 48px;
  color: rgba(220, 236, 248, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-card h3 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  line-height: 1.15;
}

.detail-card p {
  margin: 0;
  color: rgba(231, 239, 247, 0.82);
  line-height: 1.72;
}

.detail-card--green {
  background:
    linear-gradient(155deg, rgba(8, 27, 43, 0.92), rgba(16, 55, 43, 0.92)),
    linear-gradient(140deg, #102033, #1f8a31);
}

.detail-card--blue {
  background:
    linear-gradient(155deg, rgba(7, 23, 38, 0.94), rgba(22, 44, 68, 0.9)),
    linear-gradient(140deg, #071726, #24364a);
}

.detail-card--teal {
  background:
    linear-gradient(155deg, rgba(9, 27, 39, 0.94), rgba(15, 64, 72, 0.9)),
    linear-gradient(140deg, #102033, #0f5c66);
}

.detail-card--dark {
  background:
    linear-gradient(155deg, rgba(7, 23, 38, 0.96), rgba(18, 34, 52, 0.92)),
    linear-gradient(140deg, #071726, #24364a);
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 112px 0 82px;
  color: white;
  background:
    linear-gradient(90deg, rgba(16, 32, 51, 0.96), rgba(16, 32, 51, 0.84)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 28px),
    linear-gradient(135deg, #1b3044, #3b5167);
  background-size: auto, 160px 160px, auto;
  animation: heroTexture 20s linear infinite;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -10% auto auto -8%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 216, 15, 0.2), transparent 68%);
  filter: blur(18px);
  opacity: 0.85;
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--mouse-x, 78%) var(--mouse-y, 24%), rgba(139, 216, 15, 0.12), transparent 20%),
    linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, 0.08) 48%, transparent 72%);
  opacity: 0.9;
  pointer-events: none;
  animation: heroScan 9s ease-in-out infinite;
}

.page-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
  gap: 34px;
  align-items: end;
}

.page-hero__grid::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -18px;
  width: min(420px, 42%);
  height: 160px;
  border-radius: 22px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  background-size: 24px 24px, 24px 24px, auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.2);
  transform: rotate(-8deg);
  opacity: 0.55;
}

.page-hero__grid > * {
  position: relative;
  z-index: 1;
}

.page-hero .hero__lede {
  max-width: 34rem;
}

.page-hero .display-title {
  font-size: 4rem;
}

.page-hero--about {
  background:
    linear-gradient(90deg, rgba(7, 23, 38, 0.9), rgba(7, 23, 38, 0.72) 44%, rgba(7, 23, 38, 0.84)),
    linear-gradient(135deg, rgba(20, 48, 68, 0.82), rgba(31, 138, 49, 0.18)),
    url("../assets/optimized/about-profile-hero.webp") center 58% / cover no-repeat;
  background-size: auto, auto, cover;
}

.page-hero--about::before {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(139, 216, 15, 0.22), transparent 68%);
  opacity: 0.78;
}

.page-hero--about::after {
  background:
    radial-gradient(circle at var(--mouse-x, 76%) var(--mouse-y, 24%), rgba(139, 216, 15, 0.14), transparent 20%),
    linear-gradient(115deg, transparent 16%, rgba(255, 255, 255, 0.08) 42%, transparent 66%),
    linear-gradient(180deg, rgba(7, 23, 38, 0.08), rgba(7, 23, 38, 0.12));
}

.page-hero--about .page-hero__grid::after {
  width: min(470px, 46%);
  height: 172px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 23, 38, 0.1), rgba(7, 23, 38, 0.22));
  background-size: 24px 24px, 24px 24px, auto;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.18);
  opacity: 0.8;
}

.page-hero--services {
  background:
    linear-gradient(90deg, rgba(7, 23, 38, 0.92), rgba(7, 23, 38, 0.72) 42%, rgba(7, 23, 38, 0.86)),
    linear-gradient(135deg, rgba(20, 48, 68, 0.7), rgba(33, 184, 167, 0.14)),
    url("../assets/optimized/panel-lifting-yard-06-hero.webp") center 38% / cover no-repeat;
  background-size: auto, auto, cover;
}

.page-hero--services::before {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(33, 184, 167, 0.18), transparent 68%);
  opacity: 0.74;
}

.page-hero--services::after {
  background:
    radial-gradient(circle at var(--mouse-x, 82%) var(--mouse-y, 24%), rgba(139, 216, 15, 0.12), transparent 20%),
    linear-gradient(115deg, transparent 14%, rgba(255, 255, 255, 0.08) 42%, transparent 68%),
    linear-gradient(180deg, rgba(7, 23, 38, 0.1), rgba(7, 23, 38, 0.18));
}

.page-hero--services .page-hero__grid::after {
  width: min(460px, 44%);
  height: 168px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 23, 38, 0.14), rgba(7, 23, 38, 0.24));
  background-size: 24px 24px, 24px 24px, auto;
  border-color: rgba(255, 255, 255, 0.1);
  opacity: 0.74;
}

.services-image-hero {
  position: relative;
  margin-top: var(--header-height);
  background: var(--brand-green);
  overflow: hidden;
  border-bottom: 1px solid rgba(6, 68, 35, 0.16);
}

.services-image-hero img {
  display: block;
  width: 100%;
  height: clamp(260px, 43vw, 560px);
  object-fit: cover;
  object-position: center;
}

.contact-image-hero {
  position: relative;
  margin-top: var(--header-height);
  background: #064423;
  overflow: hidden;
  border-bottom: 1px solid rgba(6, 68, 35, 0.16);
}

.contact-image-hero img {
  display: block;
  width: 100%;
  height: clamp(260px, 43vw, 560px);
  object-fit: cover;
  object-position: center;
}

.page-hero--projects {
  background:
    linear-gradient(90deg, rgba(7, 23, 38, 0.9), rgba(7, 23, 38, 0.7) 40%, rgba(7, 23, 38, 0.84)),
    linear-gradient(135deg, rgba(20, 48, 68, 0.62), rgba(242, 109, 91, 0.14)),
    url("../assets/optimized/precast-panel-sky-02-hero.webp") center 34% / cover no-repeat;
  background-size: auto, auto, cover;
}

.page-hero--projects::before {
  width: 430px;
  height: 430px;
  background: radial-gradient(circle, rgba(244, 197, 66, 0.16), transparent 68%);
  opacity: 0.7;
}

.page-hero--projects::after {
  background:
    radial-gradient(circle at var(--mouse-x, 78%) var(--mouse-y, 22%), rgba(244, 197, 66, 0.12), transparent 18%),
    linear-gradient(115deg, transparent 14%, rgba(255, 255, 255, 0.08) 42%, transparent 68%),
    linear-gradient(180deg, rgba(7, 23, 38, 0.08), rgba(7, 23, 38, 0.18));
}

.page-hero--projects .page-hero__grid::after {
  width: min(460px, 44%);
  height: 170px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 23, 38, 0.12), rgba(7, 23, 38, 0.24));
  background-size: 24px 24px, 24px 24px, auto;
  border-color: rgba(255, 255, 255, 0.1);
  opacity: 0.76;
}

.project-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: white;
  background:
    linear-gradient(180deg, rgba(16, 32, 51, 0.18), rgba(16, 32, 51, 0.94)),
    repeating-linear-gradient(45deg, #31475e 0 14px, #263b50 14px 28px);
}

.project-card h3,
.project-card p {
  color: white;
}

.process-card--photo {
  padding-top: 0;
}

.process-card--photo img {
  width: calc(100% + 48px);
  height: 190px;
  margin: -24px -24px 22px;
  display: block;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.project-grid--photos {
  align-items: stretch;
}

.project-photo-card {
  min-height: 390px;
  display: grid;
  align-content: end;
  padding: 0;
  text-align: left;
}

.project-photo-card img {
  position: absolute;
  inset: 0;
}

.project-photo-card span {
  top: 18px;
  bottom: auto;
}

.project-photo-card h3,
.project-photo-card p {
  position: relative;
  z-index: 1;
  margin-left: 22px;
  margin-right: 22px;
}

.project-photo-card h3 {
  margin-bottom: 10px;
  color: white;
  font-size: 1.35rem;
}

.project-photo-card p {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.58;
}

.projects-showcase-hero {
  position: relative;
  min-height: clamp(360px, 42vw, 520px);
  margin-top: var(--header-height);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--brand-white, #ffffff);
  background:
    linear-gradient(90deg, rgba(6, 68, 35, 0.92), rgba(6, 68, 35, 0.58) 48%, rgba(6, 68, 35, 0.9)),
    url("../assets/optimized/precast-panel-crane-01-hero.webp") center 45% / cover no-repeat;
}

.projects-showcase-hero::before,
.projects-showcase-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.projects-showcase-hero::before {
  inset: auto auto -1px 0;
  width: min(34vw, 430px);
  height: min(18vw, 210px);
  background: linear-gradient(135deg, transparent 0 47%, rgba(255, 255, 255, 0.12) 47% 50%, rgba(6, 68, 35, 0.96) 50% 100%);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.projects-showcase-hero::after {
  top: 0;
  right: 0;
  width: min(24vw, 330px);
  height: min(21vw, 300px);
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(28% 0, 100% 0, 100% 70%, 0 100%);
}

.projects-showcase-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(6, 68, 35, 0.2), rgba(6, 68, 35, 0.82)),
    linear-gradient(90deg, rgba(6, 68, 35, 0.92), transparent 44%, rgba(6, 68, 35, 0.72));
}

.projects-showcase-hero__brand {
  position: absolute;
  top: 42px;
  left: max(24px, calc((100vw - 1180px) / 2));
  z-index: 2;
  display: grid;
  gap: 6px;
  justify-items: start;
}

.projects-showcase-hero__brand img {
  width: min(230px, 26vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 20px rgba(6, 68, 35, 0.28));
}

.projects-showcase-hero__brand span {
  color: var(--brand-white, #ffffff);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.projects-showcase-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: end;
  justify-items: center;
  gap: 32px;
  padding-top: 58px;
}

.projects-showcase-hero__copy {
  width: min(760px, 72vw);
  text-align: center;
  margin-inline: auto;
}

.projects-showcase-hero__copy h1 {
  margin: 0 0 12px;
  color: var(--brand-white, #ffffff);
  font-size: clamp(3.2rem, 6vw, 6rem);
  line-height: 0.98;
  font-weight: 800;
}

.projects-showcase-hero__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  font-weight: 700;
  line-height: 1.8;
}

.projects-showcase-hero__features {
  width: min(780px, 72vw);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-inline: auto;
}

.projects-showcase-hero__features article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px 12px;
  color: var(--brand-white, #ffffff);
  text-align: right;
}

.projects-icon {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #064423;
  background: var(--brand-white, #ffffff);
  border-radius: 999px;
}

.projects-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.projects-showcase-hero__features strong,
.projects-showcase-hero__features small {
  display: block;
}

.projects-showcase-hero__features strong {
  font-size: 1rem;
  font-weight: 800;
}

.projects-showcase-hero__features small {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.84rem;
  font-weight: 700;
}

.projects-catalog {
  padding: 34px 0 76px;
  background: var(--brand-white, #ffffff);
}

.projects-catalog__head {
  display: grid;
  grid-template-columns: minmax(56px, 1fr) auto minmax(56px, 1fr);
  align-items: center;
  gap: 28px;
  margin-bottom: 26px;
  text-align: center;
}

.projects-catalog__head span {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(6, 68, 35, 0.55), transparent);
}

.projects-catalog__head h2 {
  margin: 0;
  color: #064423;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.2;
}

.projects-catalog__head strong {
  color: #064423;
}

.projects-filter {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.projects-filter button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(6, 68, 35, 0.22);
  border-radius: 5px;
  color: #064423;
  background: var(--brand-white, #ffffff);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.projects-filter button:hover,
.projects-filter button.is-active {
  color: var(--brand-white, #ffffff);
  background: #064423;
}

.projects-filter button:hover {
  transform: translateY(-1px);
}

.projects-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.projects-card {
  position: relative;
  display: grid;
  grid-template-rows: 190px 1fr auto;
  overflow: hidden;
  border: 1px solid rgba(6, 68, 35, 0.15);
  border-radius: 7px;
  background: var(--brand-white, #ffffff);
  box-shadow: 0 16px 34px rgba(6, 68, 35, 0.12);
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease, opacity 0.2s ease;
}

.projects-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(6, 68, 35, 0.18);
}

.projects-card.is-hidden {
  display: none;
}

.projects-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.projects-card__body {
  padding: 18px 20px 16px;
  color: var(--brand-white, #ffffff);
  background:
    linear-gradient(180deg, rgba(6, 68, 35, 0.94), rgba(6, 68, 35, 0.99)),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 36px 36px, 36px 36px;
  border-bottom: 3px solid #064423;
}

.projects-card__body h3 {
  margin: 0 0 8px;
  color: var(--brand-white, #ffffff);
  font-size: 1.16rem;
  line-height: 1.35;
}

.projects-card__body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  font-weight: 700;
}

.projects-card__place {
  margin-bottom: 8px !important;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.9rem;
}

.projects-card__place::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-inline-end: 8px;
  border-radius: 50%;
  background: var(--brand-white, #ffffff);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15);
}

.projects-card__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border: 0;
  color: #064423;
  background: var(--brand-white, #ffffff);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.projects-card__link span {
  font-size: 1.35rem;
  line-height: 1;
}

.projects-metrics {
  margin-top: 24px;
  padding: 24px 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  color: var(--brand-white, #ffffff);
  background:
    linear-gradient(90deg, rgba(6, 68, 35, 0.98), rgba(6, 68, 35, 0.88)),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  border-radius: 7px;
  box-shadow: 0 22px 48px rgba(6, 68, 35, 0.16);
}

.projects-metrics article {
  min-height: 74px;
  display: grid;
  place-items: center;
  gap: 4px;
  text-align: center;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.2);
}

.projects-metrics article:first-child {
  border-inline-start: 0;
}

.projects-metrics strong {
  color: var(--brand-white, #ffffff);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1;
}

.projects-metrics span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.certificates-hero {
  position: relative;
  min-height: clamp(320px, 34vw, 430px);
  margin-top: var(--header-height);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--brand-white, #ffffff);
  background:
    linear-gradient(90deg, rgba(6, 68, 35, 0.95), rgba(6, 68, 35, 0.45) 48%, rgba(0, 0, 0, 0.78)),
    url("../assets/optimized/precast-panel-crane-01-hero.webp") center 44% / cover no-repeat;
}

.certificates-hero::before,
.certificates-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.certificates-hero::before {
  inset: auto auto -1px 0;
  width: min(34vw, 420px);
  height: min(18vw, 210px);
  background: rgba(6, 68, 35, 0.68);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.certificates-hero::after {
  top: 48px;
  right: max(28px, calc((100vw - 1180px) / 2));
  width: 130px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-white, #ffffff);
  opacity: 0.72;
}

.certificates-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 76% 32%, rgba(255, 255, 255, 0.09), transparent 24%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(6, 68, 35, 0.76));
}

.certificates-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.certificates-hero h1 {
  width: min(760px, 100%);
  margin: 0;
  color: var(--brand-white, #ffffff);
  font-size: clamp(3rem, 6vw, 5.9rem);
  line-height: 1.06;
  font-weight: 900;
}

.certificates-hero h1 span {
  display: block;
  color: var(--brand-white, #ffffff);
}

.certificates-hero p {
  width: min(780px, 100%);
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.35vw, 1.24rem);
  font-weight: 700;
  line-height: 1.85;
}

.certificates-catalog {
  padding: 32px 0 76px;
  background: var(--brand-white, #ffffff);
}

.certificates-catalog__head {
  display: grid;
  grid-template-columns: minmax(56px, 1fr) auto minmax(56px, 1fr);
  align-items: center;
  gap: 28px;
  text-align: center;
}

.certificates-catalog__head span {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(6, 68, 35, 0.72), transparent);
}

.certificates-catalog__head h2 {
  margin: 0;
  color: #064423;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.25;
}

.certificates-catalog__intro {
  width: min(760px, 100%);
  margin: 18px auto 30px;
  text-align: center;
  color: rgba(6, 68, 35, 0.82);
  font-weight: 700;
  line-height: 1.8;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.certificate-card {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-rows: 300px auto auto 1fr auto;
  justify-items: center;
  align-items: start;
  text-align: center;
  padding: 18px 18px 20px;
  border: 1px solid rgba(6, 68, 35, 0.14);
  border-radius: 7px;
  background: var(--brand-white, #ffffff);
  box-shadow: 0 16px 36px rgba(6, 68, 35, 0.1);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 52px rgba(6, 68, 35, 0.16);
}

.certificate-card__preview {
  width: 100%;
  height: 300px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(6, 68, 35, 0.12);
  border-radius: 5px;
  background: #ffffff;
}

.certificate-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.certificate-card__preview--image {
  padding: 12px;
  background: #ffffff;
}

.certificate-card__preview--image img {
  object-fit: contain;
  object-position: center;
}

.certificate-card__preview--mock {
  position: relative;
  background:
    linear-gradient(rgba(6, 68, 35, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 68, 35, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, rgba(6, 68, 35, 0.08), rgba(255, 255, 255, 0.96));
  background-size: 26px 26px, 26px 26px, auto;
}

.certificate-card__preview--mock::before {
  content: "";
  width: 72px;
  height: 72px;
  border: 2px solid rgba(6, 68, 35, 0.22);
  border-radius: 50%;
}

.certificate-card__preview--mock span {
  position: absolute;
  color: rgba(6, 68, 35, 0.34);
  font-family: "Segoe UI", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.certificate-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-top: -29px;
  border: 5px solid var(--brand-white, #ffffff);
  border-radius: 999px;
  color: var(--brand-white, #ffffff);
  background: #064423;
  box-shadow: 0 12px 26px rgba(6, 68, 35, 0.22);
  z-index: 1;
}

.certificate-card__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.certificate-card h3 {
  margin: 10px 0 6px;
  color: #064423;
  font-size: 1.25rem;
  line-height: 1.35;
  text-align: center;
}

.certificate-card p {
  width: min(250px, 100%);
  margin: 0;
  color: rgba(6, 68, 35, 0.78);
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
  text-wrap: balance;
}

.certificate-card strong {
  align-self: end;
  margin-top: 14px;
  color: #064423;
  font-size: 1.08rem;
  text-align: center;
}

.certificate-card strong::before,
.certificate-card strong::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  margin: 0 10px 5px;
  background: #064423;
}

.certificate-card a {
  margin-top: 12px;
  color: #064423;
  font-weight: 900;
  text-decoration: none;
}

.certificates-metrics {
  margin-top: 24px;
  padding: 24px 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  color: var(--brand-white, #ffffff);
  background:
    linear-gradient(90deg, rgba(6, 68, 35, 0.98), rgba(6, 68, 35, 0.88)),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  border-radius: 7px;
  box-shadow: 0 22px 48px rgba(6, 68, 35, 0.16);
}

.certificates-metrics article {
  min-height: 78px;
  display: grid;
  place-items: center;
  gap: 4px;
  text-align: center;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.2);
}

.certificates-metrics article:first-child {
  border-inline-start: 0;
}

.certificates-metrics strong {
  color: var(--brand-white, #ffffff);
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  line-height: 1;
  text-align: center;
}

.certificates-metrics span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  text-align: center;
}

@media (max-width: 1020px) {
  .projects-showcase-hero__copy,
  .projects-showcase-hero__features {
    width: min(620px, 100%);
  }

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

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

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

  .projects-showcase-hero__features {
    grid-template-columns: 1fr;
    width: min(420px, 100%);
  }
}

@media (max-width: 720px) {
  .projects-showcase-hero {
    min-height: 520px;
  }

  .projects-showcase-hero__brand {
    top: 22px;
    left: 20px;
  }

  .projects-showcase-hero__brand img {
    width: 170px;
  }

  .projects-showcase-hero__content {
    align-items: center;
    justify-items: center;
    padding-top: 110px;
    gap: 24px;
  }

  .projects-showcase-hero__copy {
    text-align: center;
    margin-inline-start: 0;
  }

  .projects-showcase-hero__features article {
    grid-template-columns: auto 1fr;
  }

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

  .projects-card-grid,
  .projects-metrics,
  .certificates-grid,
  .certificates-metrics {
    grid-template-columns: 1fr;
  }

  .projects-metrics article,
  .certificates-metrics article {
    border-inline-start: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .projects-metrics article:first-child,
  .certificates-metrics article:first-child {
    border-top: 0;
  }

  .certificates-hero__content {
    justify-items: center;
    text-align: center;
  }
}

.image-showcase,
.site-gallery {
  display: grid;
  gap: 18px;
}

.site-gallery {
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.92fr);
  align-items: stretch;
}

.site-gallery__rail {
  display: grid;
  gap: 18px;
  grid-template-rows: repeat(2, minmax(0, 1fr)) auto;
}

.showcase-card {
  min-height: 360px;
}

.showcase-card--wide,
.site-gallery-card--hero {
  min-height: 580px;
}

.site-gallery-card {
  display: grid;
  align-content: end;
  text-align: left;
}

.site-gallery-card img {
  position: absolute;
  inset: 0;
  min-height: 100%;
}

.site-gallery-card::after {
  background: linear-gradient(180deg, rgba(7, 23, 38, 0.08) 18%, rgba(7, 23, 38, 0.9) 100%);
}

.site-gallery-card--hero::after {
  background: linear-gradient(180deg, rgba(7, 23, 38, 0.02) 14%, rgba(7, 23, 38, 0.72) 100%);
}

.site-gallery-card__body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: 22px;
}

.site-gallery-card__eyebrow {
  position: static !important;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--lime) !important;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.68rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
}

.site-gallery-card h3,
.site-gallery-card p {
  position: relative;
  z-index: 1;
  margin: 0;
}

.site-gallery-card h3 {
  color: white;
  font-size: 1.5rem;
  line-height: 1.1;
}

.site-gallery-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.site-gallery-card--compact {
  min-height: 248px;
}

.site-gallery-card--compact h3 {
  font-size: 1.2rem;
}

.site-gallery-card--hero img {
  object-position: center 44%;
}

.site-gallery__brief {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 251, 0.98)),
    radial-gradient(circle at 100% 0, rgba(139, 216, 15, 0.18), transparent 30%);
  box-shadow: 0 16px 38px rgba(16, 32, 51, 0.08);
}

.site-gallery__tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(139, 216, 15, 0.14);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-gallery__brief h3 {
  margin: 16px 0 12px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.site-gallery__brief p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.site-gallery__metrics {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.site-gallery__metrics strong {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
  font-size: 0.98rem;
}

.site-gallery__metrics small {
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.document-card a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--green);
  font-weight: 900;
}

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

.document-gallery--compact {
  grid-template-columns: repeat(3, 1fr);
}

.doc-viewer-card {
  appearance: none;
  position: relative;
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-align: left;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 251, 0.96)),
    radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(139, 216, 15, 0.18), transparent 34%);
  box-shadow: 0 12px 34px rgba(16, 32, 51, 0.08);
  cursor: zoom-in;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.doc-viewer-card--link {
  cursor: pointer;
  text-decoration: none;
}

.doc-viewer-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--lime), var(--teal), var(--sun));
  background-size: 220% 100%;
  animation: colorRun 5s linear infinite;
}

.doc-viewer-card:hover {
  border-color: rgba(139, 216, 15, 0.58);
  box-shadow: var(--shadow-strong);
}

.doc-tag {
  position: relative;
  z-index: 1;
  justify-self: start;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(139, 216, 15, 0.14);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.doc-thumb {
  position: relative;
  display: block;
  aspect-ratio: 0.72;
  border-radius: 8px;
  overflow: hidden;
  background: var(--steel);
  box-shadow: inset 0 0 0 1px rgba(16, 32, 51, 0.08);
}

.doc-thumb::after {
  content: "Open + Zoom";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  min-height: 34px;
  border-radius: 8px;
  color: white;
  background: rgba(7, 23, 38, 0.78);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.doc-viewer-card--link .doc-thumb::after {
  content: "Open PDF";
}

.doc-viewer-card:hover .doc-thumb::after {
  opacity: 1;
  transform: translateY(0);
}

.doc-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.doc-viewer-card:hover .doc-thumb img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.05);
}

.doc-viewer-card strong {
  font-size: 1.05rem;
  line-height: 1.2;
}

.doc-viewer-card small {
  color: var(--muted);
  line-height: 1.55;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  padding: 20px;
  background: rgba(7, 23, 38, 0.82);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1200px, 100%);
  max-height: calc(100vh - 40px);
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: #0b1a27;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.34);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.25s ease;
}

.lightbox.is-open .lightbox__panel {
  transform: translateY(0) scale(1);
}

.lightbox__toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  color: white;
  background: linear-gradient(90deg, rgba(31, 138, 49, 0.52), rgba(7, 23, 38, 0.94));
}

.lightbox__title {
  min-width: 0;
  margin-right: auto;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox__button {
  min-width: 40px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-weight: 900;
}

.lightbox__link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--lime);
  font-weight: 900;
}

.lightbox__stage {
  min-height: 0;
  overflow: auto;
  display: grid;
  place-items: start center;
  padding: 22px;
}

.lightbox__image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: none;
  transform: scale(var(--zoom, 1));
  transform-origin: top center;
  transition: transform 0.15s ease;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
}

.contact-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.75fr);
  align-items: start;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-weight: 800;
}

.quote-form .full,
.quote-form button {
  grid-column: 1 / -1;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
}

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

.contact-panel__row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-panel__row:last-child {
  border-bottom: 0;
}

.contact-panel__row span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-panel__row strong {
  color: var(--ink);
}

.quote-band {
  padding: 76px 0;
  color: white;
  background:
    linear-gradient(90deg, rgba(7, 23, 38, 0.92), rgba(31, 138, 49, 0.74)),
    linear-gradient(135deg, var(--indigo), var(--teal));
}

.quote-band h2 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, serif;
  font-size: 2.8rem;
  line-height: 1.08;
}

.quote-band p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.78;
}

.footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(139, 216, 15, 0.08), transparent 26%),
    linear-gradient(180deg, #ffffff, #f4f7fb);
}

.footer-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(16, 32, 51, 0.08);
}

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

.footer-brand strong {
  color: var(--ink);
  max-width: 320px;
  font-size: 0.92rem;
  line-height: 1.35;
}

.footer-brand small {
  margin-top: 6px;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-shell > span:first-child {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.4;
}

.footer-credit {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.footer-credit span {
  color: rgba(16, 32, 51, 0.76);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-credit__button {
  min-width: 0;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(7, 23, 38, 0.1);
}

.footer-nav a:hover {
  color: var(--green);
}

[data-reveal] {
  opacity: 1;
  transform: none;
  animation: riseIn 0.65s ease both;
  animation-delay: var(--delay, 0s);
}

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

@keyframes riseIn {
  from {
    opacity: 1;
    transform: translateY(18px);
  }

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

@keyframes logoBeat {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 10px 22px rgba(139, 216, 15, 0.25);
  }

  50% {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(139, 216, 15, 0.34);
  }
}

@keyframes heroTexture {
  from {
    background-position: 0 0, 0 0, 0 0;
  }

  to {
    background-position: 0 0, 160px 160px, 0 0;
  }
}

@keyframes ambientAurora {
  0% {
    transform: translate3d(-4%, -2%, 0) scale(1);
    filter: blur(8px) saturate(1.08);
  }

  50% {
    transform: translate3d(3%, 4%, 0) scale(1.06);
    filter: blur(13px) saturate(1.2);
  }

  100% {
    transform: translate3d(6%, -3%, 0) scale(1.1);
    filter: blur(10px) saturate(1.16);
  }
}

@keyframes ambientGridShift {
  from {
    transform: translate3d(0, 0, 0);
    background-position: 0 0, 0 0, 0 0;
  }

  50% {
    transform: translate3d(-2.5%, 1.5%, 0);
    background-position: 24px 18px, 24px 18px, 0 0;
  }

  to {
    transform: translate3d(-5%, 3%, 0);
    background-position: 48px 36px, 48px 36px, 0 0;
  }
}

@keyframes heroImageDrift {
  from {
    transform: scale(1.06) translate3d(-1.5%, -1%, 0);
  }

  to {
    transform: scale(1.14) translate3d(1.5%, 1%, 0);
  }
}

@keyframes heroGlowShift {
  from {
    opacity: 0.92;
    filter: saturate(1);
  }

  to {
    opacity: 1;
    filter: saturate(1.18);
  }
}

@keyframes dashboardFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes barPulse {
  0%,
  100% {
    transform: scaleY(1);
  }

  50% {
    transform: scaleY(0.86);
  }
}

@keyframes colorRun {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 220% 0;
  }
}

@keyframes heroScan {
  0%,
  100% {
    transform: translateX(-4%) scale(1);
    opacity: 0.75;
  }

  50% {
    transform: translateX(4%) scale(1.02);
    opacity: 1;
  }
}

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

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

@media (max-width: 1080px) {
  .nav-toggle {
    display: block;
    margin-left: auto;
    background: var(--ink);
    border-color: var(--ink);
  }

  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    background: white;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: grid;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

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

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .page--arabic .nav-toggle {
    margin-left: 0;
    margin-right: auto;
  }

  .page--arabic .site-nav .nav-cta {
    margin-right: 0;
  }

  .hero__inner,
  .page-hero__grid,
  .section-head,
  .contact-layout,
  .image-showcase,
  .site-gallery {
    grid-template-columns: 1fr;
  }

  .page--arabic .section-head,
  .page--arabic .site-gallery {
    grid-template-columns: 1fr;
  }

  .page-hero__grid::after {
    width: min(520px, 72%);
    right: 16px;
    bottom: -10px;
    opacity: 0.4;
  }

  .feature-grid,
  .value-grid,
  .service-grid,
  .project-grid,
  .document-grid,
  .document-gallery,
  .document-gallery--compact,
  .process-lane,
  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quote-band__grid {
    grid-template-columns: 1fr;
  }

  .showcase-card--wide,
  .site-gallery-card--hero {
    grid-row: auto;
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .section-shell,
  .footer-shell {
    width: calc(100% - 44px);
    max-width: calc(100% - 44px);
    padding-left: 0;
    padding-right: 0;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    max-width: 220px;
    font-size: 0.74rem;
    line-height: 1.18;
  }

  .page--arabic .brand strong {
    max-width: 250px;
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .hero {
    min-height: auto;
    padding: 78px 0 110px;
  }

  .display-title,
  .page-hero .display-title {
    font-size: 2rem;
    max-width: 10ch;
  }

  .page-hero__grid::after {
    width: 88%;
    height: 120px;
    right: 6%;
    bottom: -2px;
    transform: rotate(-6deg);
    opacity: 0.32;
  }

  .hero__lede {
    font-size: 1rem;
  }

  .hero__inner,
  .proof-grid,
  .feature-grid,
  .value-grid,
  .service-grid,
  .project-grid,
  .document-grid,
  .document-gallery,
  .document-gallery--compact,
  .process-lane,
  .detail-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .hero__content,
  .hero-dashboard,
  .hero-media {
    width: 320px;
    max-width: 100%;
  }

  .hero-dashboard,
  .hero-media {
    padding: 18px;
  }

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

  .media-card--hero img,
  .showcase-card,
  .showcase-card--wide,
  .site-gallery-card--hero,
  .project-photo-card {
    min-height: 300px;
  }

  .site-gallery-card--compact {
    min-height: 280px;
  }

  .hero-logo {
    max-height: 78px;
  }

  .hero-logo--text {
    width: min(360px, 92%);
    padding: 14px 18px;
    gap: 6px;
    margin-bottom: 18px;
  }

  .hero-logo--text strong {
    font-size: 1rem;
    letter-spacing: 0.06em;
  }

  .hero-logo--text span {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
  }

  .page--arabic .hero-logo--text {
    width: min(380px, 96%);
    padding: 14px 16px;
    margin-bottom: 14px;
  }

  .page--arabic .hero-logo--text strong {
    font-size: 1.04rem;
    line-height: 1.55;
  }

  .page--arabic .hero-logo--text span {
    font-size: 0.72rem;
    letter-spacing: 0;
  }

  .page--arabic .display-title,
  .page--arabic .page-hero .display-title {
    max-width: none;
    font-size: 2.2rem;
    line-height: 1.35;
  }

  .page--arabic .section-title {
    max-width: none;
    font-size: 2.35rem;
    line-height: 1.4;
  }

  .page--arabic .hero__lede {
    font-size: 1rem;
    line-height: 1.9;
  }

  .page--arabic .button-row {
    gap: 10px;
  }

  .dashboard-topline {
    display: grid;
    justify-content: start;
  }

  .dashboard-meter {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: 150px;
    gap: 10px;
  }

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

  .section-title {
    font-size: 2.35rem;
  }

  .process-step,
  .detail-card {
    min-height: auto;
  }

  .process-step span,
  .detail-card span {
    margin-bottom: 30px;
  }

  .quote-band h2 {
    font-size: 2.05rem;
  }

  .lightbox {
    padding: 10px;
  }

  .lightbox__panel {
    max-height: calc(100vh - 20px);
  }

  .lightbox__toolbar {
    display: grid;
    grid-template-columns: 1fr repeat(4, auto);
  }

  .lightbox__link {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .lightbox__stage {
    padding: 12px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
    padding: 20px 18px;
    text-align: center;
  }

  .footer-brand {
    justify-self: center;
  }

  .footer-brand strong {
    font-size: 1rem;
  }

  .footer-brand small {
    display: block;
    margin-top: 4px;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .footer-nav {
    justify-content: center;
    gap: 10px 14px;
  }

  .footer-credit {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(221, 230, 238, 0.9);
  }

  .footer-credit span {
    line-height: 1.5;
    text-align: center;
  }

  .footer-credit__button {
    width: min(100%, 220px);
    justify-content: center;
  }

  .footer-shell > span:first-child {
    text-align: center;
  }

  .page--arabic .site-gallery__brief,
  .page--arabic .footer-shell,
  .page--arabic .footer-credit,
  .page--arabic .footer-credit span {
    text-align: center;
  }

  .page--arabic .section-head,
  .page--arabic .section-sidecopy,
  .page--arabic .spec-card,
  .page--arabic .process-step,
  .page--arabic .detail-card,
  .page--arabic .site-gallery-card,
  .page--arabic .site-gallery__brief {
    text-align: center;
  }
}

.home-main--arabic {
  position: relative;
  z-index: 1;
}

.home-section-title {
  margin: 0;
  color: #17315f;
  font-size: clamp(2.35rem, 4.4vw, 4.2rem);
  line-height: 1.28;
}

.home-eyebrow {
  margin: 0 0 16px;
  color: rgba(139, 216, 15, 0.95);
  font-size: 0.95rem;
  font-weight: 700;
}

.home-bullets {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.home-bullets li {
  position: relative;
  padding-right: 24px;
  color: #30445d;
  line-height: 1.9;
}

.home-bullets li::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8bd80f, #21b8a7);
  box-shadow: 0 0 0 6px rgba(139, 216, 15, 0.12);
}

.home-hero-ref {
  position: relative;
  overflow: clip;
  padding: 108px 0 70px;
  background:
    linear-gradient(135deg, #0e1a2b 0%, #13253a 48%, #162d49 100%);
}

.home-hero-ref::before,
.home-hero-ref::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.home-hero-ref::before {
  display: none;
}

.home-hero-ref::after {
  display: none;
}

.home-hero-ref__grid {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 760px;
}

.home-hero-ref__media {
  position: absolute;
  inset: 0;
  min-height: 100%;
}

.home-hero-ref__stage {
  position: relative;
  height: 100%;
  min-height: 760px;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  clip-path: none;
  border-radius: 0;
  box-shadow: none;
}

.home-hero-ref__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: none;
  filter: none;
  will-change: opacity;
  transition: opacity 0.36s ease;
}

.home-hero-ref__slide.is-active {
  opacity: 1;
  transform: none;
  filter: blur(0);
  z-index: 2;
}

.home-hero-ref__slide.is-prep {
  opacity: 0;
  transform: none;
  filter: none;
}

.home-hero-ref__slide.is-leaving {
  opacity: 0;
  transform: none;
  filter: none;
  z-index: 1;
}

.home-hero-ref__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 18, 32, 0.08) 0%, rgba(8, 18, 32, 0.22) 42%, rgba(8, 18, 32, 0.74) 68%, rgba(8, 18, 32, 0.94) 100%),
    linear-gradient(180deg, rgba(16, 40, 78, 0.2), rgba(7, 23, 38, 0.16));
}

.home-hero-ref__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.06);
  transform-origin: center;
  transition: transform 6.8s ease;
}

.home-hero-ref__slide.is-active img {
  transform: scale(1.01);
}

.home-hero-ref__slide-tag {
  position: absolute;
  z-index: 2;
  top: 26px;
  left: clamp(22px, 4vw, 56px);
  right: auto;
  padding: 10px 18px;
  border-radius: 999px;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f7fbff;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(7, 23, 38, 0.18);
}

.home-hero-ref__prisms {
  display: none;
}

.home-hero-ref__prism {
  display: none;
}

.home-hero-ref__prism--a {
  top: -18px;
  right: 56%;
  width: 220px;
  height: 280px;
  background: linear-gradient(180deg, rgba(106, 193, 255, 0.28), rgba(106, 193, 255, 0.01));
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.home-hero-ref__prism--b {
  top: -28px;
  right: 72%;
  width: 280px;
  height: 360px;
  background: linear-gradient(180deg, rgba(62, 125, 255, 0.2), rgba(62, 125, 255, 0.01));
  clip-path: polygon(16% 0, 100% 0, 50% 100%, 0 100%);
  animation-delay: -2.4s;
}

.home-hero-ref__prism--c {
  right: 22%;
  bottom: 24px;
  width: 240px;
  height: 170px;
  background: linear-gradient(180deg, rgba(38, 63, 146, 0.22), rgba(38, 63, 146, 0.02));
  clip-path: polygon(0 0, 100% 52%, 62% 100%, 0 62%);
  animation-delay: -4.2s;
}

.home-hero-ref__controls {
  position: absolute;
  inset: auto clamp(18px, 4vw, 48px) 28px clamp(18px, 4vw, 48px);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-hero-ref__nav {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(18, 30, 48, 0.72);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.home-hero-ref__nav:hover {
  transform: translateY(-2px);
  background: rgba(38, 63, 146, 0.76);
}

.home-hero-ref__thumbs {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(10, 22, 36, 0.34);
  backdrop-filter: blur(10px);
}

.home-hero-ref__thumbs button {
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
  transition: transform 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.home-hero-ref__thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-hero-ref__thumbs button:not(.is-active) {
  opacity: 0.72;
}

.home-hero-ref__thumbs button.is-active {
  transform: scale(1.1);
  opacity: 1;
  border-color: var(--lime);
}

.home-hero-ref__content {
  position: relative;
  z-index: 5;
  direction: rtl;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 540px);
  min-height: 760px;
  margin-left: auto;
  margin-right: clamp(20px, 6vw, 96px);
  padding: 42px 8px 34px 0;
  color: #eff7ff;
}

.home-hero-ref__content h1 {
  margin: 0;
  color: #ffffff;
  max-width: 9.2ch;
  font-size: clamp(2.6rem, 3.72vw, 4.05rem);
  line-height: 1.18;
}

.home-hero-ref__lede {
  max-width: 30rem;
  margin: 20px 0 0;
  color: rgba(239, 247, 255, 0.9);
  font-size: 1.02rem;
  line-height: 1.95;
}

.home-hero-ref__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.home-hero-ref__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  margin-top: 28px;
}

.home-hero-ref__stats article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.home-hero-ref__stats strong {
  display: inline-block;
  color: #8bd80f;
  font-size: 1.85rem;
  line-height: 1;
}

.home-hero-ref__stats span {
  color: rgba(239, 247, 255, 0.78);
  font-size: 0.94rem;
  line-height: 1.68;
}

.home-story,
.home-about-slab,
.home-why,
.home-final-cta {
  padding: 104px 0;
}

.home-story__grid,
.home-about-slab__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 56px;
}

.home-story__copy,
.home-about-slab__content,
.home-why__heading {
  display: grid;
  gap: 20px;
}

.home-story__copy p,
.home-about-slab__content p,
.home-final-cta p {
  margin: 0;
  color: #32465e;
  font-size: 1.02rem;
  line-height: 2;
}

.home-story__visual {
  position: relative;
  min-height: 500px;
}

.home-story__frame {
  position: absolute;
  border-radius: 28px;
}

.home-story__frame--back {
  inset: 24px 0 72px 84px;
  background: linear-gradient(135deg, #263f92, #355fd4);
  box-shadow: 0 24px 60px rgba(38, 63, 146, 0.18);
}

.home-story__frame--front {
  inset: 76px 64px 0 0;
  overflow: hidden;
  border: 12px solid #ffffff;
  box-shadow: 0 28px 80px rgba(16, 32, 51, 0.18);
}

.home-story__frame--front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-story__stamp {
  position: absolute;
  right: 24px;
  bottom: 18px;
  max-width: 240px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 54px rgba(16, 32, 51, 0.14);
}

.home-story__stamp strong {
  display: block;
  margin-bottom: 6px;
  color: #17315f;
  font-size: 1rem;
}

.home-story__stamp span {
  color: #5e7085;
  font-size: 0.88rem;
  line-height: 1.8;
}

.home-about-slab {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(245, 248, 251, 0.96));
}

.home-about-slab__mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-about-slab__mosaic img {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(16, 32, 51, 0.12);
}

.home-about-slab__mosaic img:nth-child(2) {
  margin-top: 32px;
}

.home-about-slab__mosaic img:nth-child(3) {
  margin-top: -24px;
}

.home-services-band {
  position: relative;
  overflow: hidden;
  padding: 108px 0 120px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #4c659c, #5069a3);
  color: #ffffff;
}

.home-services-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 24%, rgba(255, 255, 255, 0.12), transparent 24%),
    radial-gradient(circle at 84% 74%, rgba(255, 255, 255, 0.1), transparent 20%);
  pointer-events: none;
}

.home-services-band__head {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
  text-align: center;
}

.home-services-band__eyebrow {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  font-weight: 700;
}

.home-services-band__head h2 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.34;
}

.home-services-band__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.home-service-card,
.home-services-band__feature {
  height: 100%;
  border-radius: 28px;
}

.home-service-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 50px rgba(16, 32, 51, 0.18);
}

.home-service-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.home-service-card__body {
  display: grid;
  gap: 12px;
  padding: 24px 22px 26px;
}

.home-service-card__body span {
  color: rgba(139, 216, 15, 0.96);
  font-size: 0.92rem;
  font-weight: 700;
}

.home-service-card__body h3 {
  margin: 0;
  font-size: 1.44rem;
  line-height: 1.45;
}

.home-service-card__body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.95;
}

.home-service-card__body a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.home-service-card__body a::after {
  content: " \2039";
}

.home-services-band__feature {
  padding: 30px 28px;
  background: rgba(7, 23, 38, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(7, 23, 38, 0.24);
}

.home-services-band__feature-label {
  margin: 0 0 12px;
  color: rgba(139, 216, 15, 0.96);
  font-size: 0.95rem;
  font-weight: 700;
}

.home-services-band__feature h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.42;
}

.home-services-band__feature p {
  margin: 18px 0 24px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 2;
}

.home-gallery {
  position: relative;
  overflow: hidden;
  padding: 108px 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(38, 63, 146, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fbff, #edf3fa);
}

.home-gallery__shell {
  display: grid;
  gap: 46px;
}

.home-gallery__copy {
  max-width: 760px;
  text-align: center;
  margin: 0 auto;
}

.home-gallery__copy p:last-child {
  margin: 18px 0 0;
  color: #58708d;
  line-height: 1.95;
}

.home-gallery__scene {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: grid;
  place-items: center;
  perspective: 2200px;
  mask: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}

.home-gallery__ring {
  position: relative;
  width: 320px;
  height: 460px;
  transform-style: preserve-3d;
  animation: none;
}

.home-gallery__scene:hover .home-gallery__ring {
  animation-play-state: paused;
}

.home-gallery__card {
  --size: 320px;
  --angle: calc(360deg / var(--count));
  position: absolute;
  inset: 0;
  display: grid;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 28px;
  overflow: hidden;
  backface-visibility: hidden;
  box-shadow: 0 28px 80px rgba(15, 35, 58, 0.22);
  transform:
    rotateY(calc(var(--index) * var(--angle)))
    translateZ(520px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-gallery__card:hover {
  box-shadow: 0 34px 92px rgba(15, 35, 58, 0.28);
}

.home-gallery__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-gallery__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 36%),
    linear-gradient(0deg, rgba(8, 20, 35, 0.72), rgba(8, 20, 35, 0.12) 46%, rgba(8, 20, 35, 0.04));
}

.home-gallery__card span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(10, 22, 36, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
}

@keyframes homeGallerySpin {
  to {
    transform: rotateY(1turn);
  }
}

.home-why__shell {
  display: grid;
  gap: 50px;
}

.home-why__heading {
  text-align: center;
}

.home-why__heading .home-section-title {
  max-width: none;
  color: #1d3557;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.35;
}

.home-why__timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding: 4px 0 0;
}

.home-why__timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(29, 53, 87, 0.28);
}

.home-why__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 136px;
}

.home-why__item:last-child {
  min-height: 0;
}

.home-why__marker {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}

.home-why__side {
  min-width: 0;
  display: flex;
}

.home-why__side--right {
  justify-content: flex-start;
  text-align: right;
}

.home-why__side--left {
  justify-content: flex-end;
  text-align: left;
  direction: ltr;
}

.home-why__card {
  width: min(420px, 100%);
  padding: 0 16px;
}

.home-why__index {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #1d3557;
  border: 0;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(29, 53, 87, 0.16);
}

.home-why__item h3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: #1d3557;
  font-size: 1.18rem;
  line-height: 1.55;
  font-weight: 800;
}

.home-why__side--right h3 {
  flex-direction: row-reverse;
}

.home-why__icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #1d3557;
}

.home-why__icon svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-why__item p {
  margin: 0;
  color: rgba(0, 0, 0, 0.68);
  font-size: 0.9rem;
  line-height: 1.85;
}

.home-why__side--left p {
  direction: rtl;
  text-align: left;
}

.home-final-cta {
  padding-top: 0;
}

.home-final-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 38px 42px;
  border-radius: 30px;
  background: linear-gradient(135deg, #101f34, #17315f);
  color: #ffffff;
  box-shadow: 0 28px 70px rgba(16, 32, 51, 0.22);
}

.home-final-cta__grid h2 {
  margin: 8px 0 14px;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1.4;
}

.home-final-cta__grid p {
  color: rgba(239, 247, 255, 0.8);
}

.home-final-cta__actions {
  display: grid;
  gap: 12px;
  min-width: 220px;
}

@keyframes heroPrismFloat {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  100% {
    transform: translate3d(-16px, 14px, 0) rotate(3deg);
  }
}

/* Performance pass: keep the visual language, but remove always-on GPU work. */
body::before,
body::after {
  display: none;
}

.brand__mark,
.hero,
.hero::before,
.hero::after,
.hero-dashboard,
.hero-media,
.main-section--ink,
.main-section--workflow,
.motion-ticker .ticker-track,
.home-gallery__ring {
  animation: none !important;
}

[data-reveal] {
  animation: none;
}

.home-hero-ref__slide {
  transform: none;
  filter: none;
  will-change: opacity;
  transition: opacity 0.36s ease;
}

.home-hero-ref__slide.is-active,
.home-hero-ref__slide.is-prep,
.home-hero-ref__slide.is-leaving {
  transform: none;
  filter: none;
}

.home-hero-ref__slide img {
  transform: none;
  transition: none;
}

.home-hero-ref__slide.is-active img {
  transform: none;
}

.home-gallery__scene {
  min-height: auto;
  overflow: visible;
  perspective: none;
  mask: none;
}

.home-gallery__ring {
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  transform: none;
  transform-style: flat;
}

.home-gallery__card {
  position: relative;
  inset: auto;
  min-height: 240px;
  aspect-ratio: 1 / 1.18;
  transform: none;
  backface-visibility: visible;
  contain: layout paint;
}

.home-gallery__card:hover {
  transform: translateY(-3px);
}

.home-story,
.home-about-slab,
.home-services-band,
.home-gallery,
.home-why,
.home-final-cta {
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}

@media (max-width: 1080px) {
  .home-hero-ref {
    padding-top: 112px;
  }

  .home-story__grid,
  .home-about-slab__grid,
  .home-final-cta__grid {
    grid-template-columns: 1fr;
  }

  .home-hero-ref__grid {
    min-height: 700px;
  }

  .home-hero-ref__media {
    min-height: 100%;
  }

  .home-hero-ref__content {
    min-height: 700px;
    width: min(100%, 470px);
    margin-right: 20px;
    padding: 34px 10px 28px 0;
  }

  .home-hero-ref__stats,
  .home-services-band__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-story__visual {
    min-height: 420px;
  }

  .home-gallery__scene {
    min-height: 500px;
  }

  .home-gallery__ring {
    width: 270px;
    height: 390px;
  }

  .home-gallery__card {
    transform:
      rotateY(calc(var(--index) * var(--angle)))
      translateZ(420px);
  }

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

  .home-gallery__card {
    transform: none;
  }
}

@media (max-width: 720px) {
  .home-section-title {
    font-size: 2.25rem;
    line-height: 1.38;
  }

  .home-hero-ref {
    padding: 110px 0 72px;
    background:
      radial-gradient(circle at 16% 18%, rgba(38, 63, 146, 0.14), transparent 22%),
      linear-gradient(180deg, #111c2a 0 100%);
  }

  .home-hero-ref::before,
  .home-hero-ref::after {
    display: none;
  }

  .home-hero-ref__content {
    overflow: hidden;
    width: min(100%, 360px);
    min-height: 720px;
    margin-left: auto;
    margin-right: 0;
    padding: 74px 20px 120px;
  }

  .home-hero-ref__content .home-eyebrow {
    display: none;
  }

  .home-hero-ref__content h1 {
    max-width: 100%;
    font-size: 1.95rem;
    line-height: 1.25;
  }

  .home-hero-ref__lede,
  .home-story__copy p,
  .home-about-slab__content p,
  .home-final-cta p,
  .home-service-card__body p,
  .home-gallery__copy p,
  .home-why__item p {
    font-size: 0.98rem;
    line-height: 1.92;
    max-width: 100%;
  }

  .home-hero-ref__stats,
  .home-services-band__grid {
    grid-template-columns: 1fr;
  }

  .home-hero-ref__grid {
    min-height: 720px;
  }

  .home-hero-ref__media,
  .home-hero-ref__stage {
    min-height: 720px;
  }

  .home-hero-ref__stage {
    clip-path: none;
    border-radius: 0;
  }

  .home-hero-ref__slide-tag {
    top: 18px;
    right: auto;
    left: 16px;
    padding: 9px 14px;
    font-size: 0.82rem;
    text-align: start;
  }

  .home-hero-ref__stats article {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 0;
  }

  .home-hero-ref__stats strong {
    font-size: 1.2rem;
  }

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

  .home-hero-ref__controls {
    inset: auto 14px 14px 14px;
  }

  .home-hero-ref__nav {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
  }

  .home-hero-ref__thumbs {
    gap: 8px;
    padding: 6px 10px;
  }

  .home-hero-ref__thumbs button {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .home-hero-ref__prism--a {
    width: 140px;
    height: 180px;
    right: 26%;
  }

  .home-hero-ref__prism--b {
    width: 160px;
    height: 210px;
    right: 38%;
  }

  .home-hero-ref__prism--c {
    width: 160px;
    height: 140px;
    right: 2%;
  }

  .home-story,
  .home-about-slab,
  .home-gallery,
  .home-why,
  .home-final-cta,
  .home-services-band {
    padding: 78px 0;
  }

  .home-gallery__scene {
    min-height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    mask: none;
    padding: 8px 24px 12px;
    perspective: none;
  }

  .home-gallery__ring {
    width: max-content;
    height: auto;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 230px;
    gap: 16px;
    animation: none;
    transform: none;
    padding-bottom: 6px;
  }

  .home-gallery__card {
    position: relative;
    height: 320px;
    border-radius: 22px;
    transform: none;
  }

  .home-gallery__card span {
    right: 14px;
    bottom: 14px;
    font-size: 0.82rem;
  }

  .home-story__visual {
    min-height: 320px;
  }

  .home-story__frame--back {
    inset: 10px 0 42px 56px;
  }

  .home-story__frame--front {
    inset: 48px 26px 0 0;
    border-width: 8px;
  }

  .home-story__stamp {
    right: 10px;
    bottom: 0;
    max-width: 200px;
    padding: 14px 16px;
  }

  .home-about-slab__mosaic {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .home-about-slab__mosaic img {
    height: 148px;
    border-radius: 18px;
  }

  .home-about-slab__mosaic img:nth-child(2),
  .home-about-slab__mosaic img:nth-child(3) {
    margin-top: 0;
  }

  .home-services-band__head h2,
  .home-final-cta__grid h2 {
    font-size: 2.15rem;
    line-height: 1.42;
  }

  .home-service-card img {
    height: 210px;
  }

  .home-services-band__feature,
  .home-final-cta__grid {
    padding: 26px 22px;
  }

  .home-why__timeline::before {
    left: auto;
    right: 18px;
    transform: none;
  }

  .home-why__item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    min-height: auto;
    padding-bottom: 30px;
  }

  .home-why__item:last-child {
    padding-bottom: 0;
  }

  .home-why__side {
    display: block;
  }

  .home-why__side:empty {
    display: none;
  }

  .home-why__marker {
    grid-column: 1;
    grid-row: 1;
  }

  .home-why__side--right,
  .home-why__side--left {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-start;
    direction: rtl;
    text-align: right;
  }

  .home-why__card {
    width: 100%;
    padding: 0 0 0 4px;
  }

  .home-why__index {
    width: 36px;
    height: 36px;
    font-size: 0.88rem;
  }

  .home-why__item h3 {
    font-size: 1.12rem;
  }

  .home-why__side--left p {
    text-align: right;
  }

  .home-final-cta__actions {
    min-width: 0;
  }
}

/* Compact homepage sizing */
.header-shell {
  min-height: 66px;
}

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

.site-nav a {
  padding: 8px 10px;
  font-size: 0.86rem;
}

.home-hero-ref {
  padding: 64px 0 34px;
}

.home-hero-ref__grid,
.home-hero-ref__stage,
.home-hero-ref__content {
  min-height: 540px;
}

.home-hero-ref__content {
  width: min(100%, 620px);
  padding-top: 28px;
  padding-bottom: 24px;
}

.home-hero-ref__content h1 {
  max-width: 12.5ch;
  font-size: clamp(1.95rem, 2.65vw, 2.85rem);
  line-height: 1.14;
}

.home-hero-ref__lede {
  margin-top: 16px;
  font-size: 0.94rem;
  line-height: 1.78;
}

.home-hero-ref__actions,
.home-hero-ref__stats {
  margin-top: 22px;
}

.home-hero-ref__stats {
  gap: 10px 14px;
}

.home-hero-ref__stats article {
  gap: 10px;
  padding-top: 10px;
}

.home-hero-ref__stats strong {
  font-size: 1.35rem;
}

.home-hero-ref__stats span {
  font-size: 0.8rem;
  line-height: 1.45;
}

.home-story,
.home-about-slab,
.home-services-band,
.home-gallery,
.home-why,
.home-final-cta {
  padding: 54px 0;
}

.home-story__grid,
.home-about-slab__grid {
  gap: 38px;
}

.home-section-title,
.home-services-band__head h2,
.home-final-cta__grid h2 {
  font-size: clamp(1.85rem, 3vw, 2.85rem);
  line-height: 1.32;
}

.home-story__copy,
.home-about-slab__content,
.home-why__heading {
  gap: 14px;
}

.home-story__copy p,
.home-about-slab__content p,
.home-final-cta p,
.home-service-card__body p,
.home-gallery__copy p,
.home-why__item p {
  font-size: 0.9rem;
  line-height: 1.75;
}

.home-story__visual {
  min-height: 330px;
}

.home-story__frame--front {
  inset: 58px 54px 0 0;
}

.home-about-slab__mosaic img {
  height: 160px;
}

.home-services-band__head {
  margin-bottom: 28px;
}

.home-services-band__grid {
  gap: 18px;
}

.home-service-card img {
  height: 160px;
}

.home-service-card__body {
  gap: 9px;
  padding: 18px 18px 20px;
}

.home-service-card__body h3 {
  font-size: 1.18rem;
  line-height: 1.38;
}

.home-services-band__feature {
  padding: 24px 22px;
}

.home-services-band__feature h3 {
  font-size: 1.55rem;
  line-height: 1.38;
}

.home-gallery__shell {
  gap: 30px;
}

.home-gallery__ring {
  gap: 14px;
}

.home-gallery__card {
  min-height: 170px;
  border-radius: 20px;
}

.home-why__shell {
  gap: 24px;
}

.home-why__item {
  min-height: 96px;
}

.home-why__card {
  width: min(390px, 100%);
}

.home-why__item h3 {
  font-size: 1.04rem;
  line-height: 1.42;
}

.home-final-cta {
  padding-top: 0;
}

.home-final-cta__grid {
  padding: 24px 28px;
}

@media (max-width: 1080px) {
  .home-hero-ref__grid,
  .home-hero-ref__stage,
  .home-hero-ref__content {
    min-height: 560px;
  }

  .home-story__visual {
    min-height: 300px;
  }
}

@media (max-width: 720px) {
  .header-shell {
    min-height: 62px;
  }

  .home-hero-ref {
    padding: 76px 0 36px;
  }

  .home-hero-ref__grid,
  .home-hero-ref__media,
  .home-hero-ref__stage,
  .home-hero-ref__content {
    min-height: 560px;
  }

  .home-hero-ref__content {
    width: min(100%, 350px);
    padding: 38px 16px 78px;
  }

  .home-hero-ref__content h1 {
    max-width: 100%;
    font-size: 1.48rem;
    line-height: 1.28;
  }

  .home-hero-ref__lede,
  .home-story__copy p,
  .home-about-slab__content p,
  .home-final-cta p,
  .home-service-card__body p,
  .home-gallery__copy p,
  .home-why__item p {
    font-size: 0.86rem;
    line-height: 1.72;
  }

  .home-hero-ref__stats strong {
    font-size: 1.05rem;
  }

  .home-hero-ref__stats span {
    font-size: 0.82rem;
  }

  .home-story,
  .home-about-slab,
  .home-gallery,
  .home-why,
  .home-final-cta,
  .home-services-band {
    padding: 44px 0;
  }

  .home-section-title,
  .home-why__heading .home-section-title,
  .home-services-band__head h2,
  .home-final-cta__grid h2 {
    font-size: 1.7rem;
    line-height: 1.36;
  }

  .home-story__visual {
    min-height: 240px;
  }

  .home-about-slab__mosaic img {
    height: 126px;
  }

  .home-service-card img {
    height: 150px;
  }

  .home-services-band__feature,
  .home-final-cta__grid {
    padding: 20px 18px;
  }

  .home-services-band__feature h3 {
    font-size: 1.28rem;
  }

  .home-gallery__ring {
    grid-auto-columns: 205px;
  }

  .home-gallery__card {
    height: 240px;
    min-height: 0;
  }

  .home-why__shell {
    gap: 22px;
  }

  .home-why__item {
    padding-bottom: 22px;
  }

  .home-why__item h3 {
    font-size: 1rem;
  }

  .home-why__index {
    width: 32px;
    height: 32px;
  }
}

/* Project gallery carousel effect */
.home-gallery {
  overflow: hidden;
}

.home-gallery__scene {
  width: min(100%, 1040px);
  min-height: 310px;
  margin: 0 auto;
  overflow: hidden;
  display: grid;
  place-items: center;
  perspective: 1100px;
  mask: linear-gradient(90deg, transparent, #000 10% 90%, transparent);
  direction: ltr;
}

.home-gallery__ring {
  --card-w: clamp(170px, 15vw, 210px);
  --card-gap: 18px;
  width: max-content;
  height: auto;
  display: flex;
  align-items: center;
  gap: var(--card-gap);
  place-self: center;
  transform-style: preserve-3d;
  transform-origin: center center;
  animation: homeGalleryTrack 34s linear infinite !important;
  direction: ltr;
}

@keyframes homeGalleryTrack {
  from {
    transform: translate3d(calc(-1 * var(--gallery-distance, 50%)), 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

.home-gallery__scene:hover .home-gallery__ring {
  animation-play-state: running !important;
}

.home-gallery__card {
  flex: 0 0 var(--card-w);
  position: relative;
  inset: auto;
  width: var(--card-w);
  min-height: 0;
  aspect-ratio: 7 / 10;
  border-radius: 1.25rem;
  backface-visibility: visible;
  transform: perspective(900px) rotateY(var(--tilt-y, -8deg)) translateY(var(--lift-y, 0));
  transform-origin: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 24px 54px rgba(15, 35, 58, 0.18);
}

.home-gallery__card--tilt-a {
  --tilt-y: -8deg;
  --lift-y: 0;
}

.home-gallery__card--tilt-b {
  --tilt-y: 8deg;
  --lift-y: 0;
}

.home-gallery__card--tilt-c {
  --tilt-y: -5deg;
  --lift-y: -8px;
}

.home-gallery__card--tilt-d {
  --tilt-y: 5deg;
  --lift-y: 8px;
}

.home-gallery__card:hover {
  transform: perspective(900px) rotateY(0deg) translateY(-8px) scale(1.03);
  box-shadow: 0 34px 92px rgba(15, 35, 58, 0.3);
}

.home-gallery__card.is-clone {
  pointer-events: none;
}

@media (max-width: 1080px) {
  .home-gallery__scene {
    width: min(100%, 760px);
    min-height: 285px;
    perspective: 900px;
  }

  .home-gallery__ring {
    --card-w: clamp(150px, 22vw, 180px);
    --card-gap: 16px;
  }
}

@media (max-width: 720px) {
  .home-gallery__scene {
    width: min(100%, 340px);
    min-height: 245px;
    overflow: hidden;
    padding: 0;
    perspective: 720px;
    mask: linear-gradient(90deg, transparent, #000 6% 94%, transparent);
  }

  .home-gallery__ring {
    --card-w: 128px;
    --card-gap: 12px;
    width: max-content;
    height: auto;
    display: flex;
    gap: var(--card-gap);
    padding-bottom: 0;
    animation-duration: 28s !important;
  }

  .home-gallery__card {
    width: var(--card-w);
    height: auto;
    border-radius: 1rem;
  }

  .home-gallery__card span {
    right: 10px;
    bottom: 10px;
    padding: 7px 10px;
    font-size: 0.72rem;
  }
}

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

/* Executive intro layout inspired by the supplied reference */
.home-story,
.home-about-slab {
  background: #ffffff;
}

.home-story__grid,
.home-about-slab__grid {
  direction: ltr;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.85fr);
  gap: clamp(46px, 7vw, 92px);
  align-items: center;
}

.home-story__copy,
.home-about-slab__content {
  direction: rtl;
  text-align: right;
  align-content: center;
  justify-items: start;
  gap: 12px;
}

.home-story__copy .kicker,
.home-about-slab__content .kicker {
  display: none;
}

.home-story__copy .home-section-title,
.home-about-slab__content .home-section-title {
  position: relative;
  margin: 0 0 8px;
  color: #1d356f;
  font-size: clamp(2.25rem, 4vw, 3.45rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: 0;
}

.home-story__copy .home-section-title::after,
.home-about-slab__content .home-section-title::after {
  content: "";
  display: block;
  width: 170px;
  height: 4px;
  margin-top: 8px;
  margin-right: auto;
  background: #1d356f;
}

.home-story__copy p,
.home-about-slab__content p {
  max-width: 540px;
  color: #1f2633;
  font-size: 0.98rem;
  line-height: 1.85;
}

.home-story__copy .button,
.home-about-slab__content .button {
  min-height: 42px;
  margin-top: 8px;
  padding: 0 18px;
  border-radius: 0;
  color: #ffffff;
  background: #1d356f;
  box-shadow: none;
}

.home-story__copy .button::after,
.home-about-slab__content .button::after {
  content: "›";
  margin-right: 12px;
  font-size: 1.25rem;
  line-height: 1;
}

.home-story__visual {
  min-height: 300px;
}

.home-story__frame {
  border-radius: 0;
}

.home-story__frame--back {
  inset: 0 24px auto auto;
  width: 78%;
  height: 58%;
  background: #243f8f;
  box-shadow: none;
}

.home-story__frame--front {
  inset: 34px 0 26px 34px;
  border: 0;
  box-shadow: 0 0 0 2px #2d4aa0, 0 22px 42px rgba(20, 35, 70, 0.12);
}

.home-story__frame--front img {
  object-position: center;
}

.home-story__stamp {
  right: auto;
  left: 24px;
  bottom: 0;
  max-width: 160px;
  padding: 8px 10px;
  border-radius: 0;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.92);
}

.home-story__stamp strong {
  margin: 0;
  font-size: 0.78rem;
}

.home-story__stamp span {
  display: none;
}

.home-about-slab__grid {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 0.95fr);
}

.home-about-slab__mosaic {
  direction: ltr;
  position: relative;
  min-height: 300px;
  display: block;
}

.home-about-slab__mosaic img {
  position: absolute;
  width: 42%;
  height: auto;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 16px 34px rgba(20, 35, 70, 0.16);
}

.home-about-slab__mosaic img:nth-child(1) {
  left: 0;
  top: 38px;
}

.home-about-slab__mosaic img:nth-child(2) {
  left: 41%;
  top: 0;
  width: 50%;
  height: auto;
  margin: 0;
}

.home-about-slab__mosaic img:nth-child(3) {
  left: 2%;
  top: 158px;
  width: 43%;
  margin: 0;
}

.home-about-slab__mosaic img:nth-child(4) {
  left: 48%;
  top: 168px;
  width: 36%;
}

.home-bullets {
  display: none;
}

@media (max-width: 900px) {
  .home-story__grid,
  .home-about-slab__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-story__visual,
  .home-about-slab__mosaic {
    min-height: 260px;
  }

  .home-story__visual {
    order: 2;
  }

  .home-story__copy,
  .home-about-slab__content {
    order: 1;
  }
}

@media (max-width: 720px) {
  .home-story__copy .home-section-title,
  .home-about-slab__content .home-section-title {
    font-size: 2rem;
  }

  .home-story__copy .home-section-title::after,
  .home-about-slab__content .home-section-title::after {
    width: 120px;
    height: 3px;
  }

  .home-story__visual,
  .home-about-slab__mosaic {
    min-height: 230px;
  }

  .home-story__frame--front {
    inset: 28px 0 20px 24px;
  }

  .home-about-slab__mosaic img:nth-child(3) {
    top: 130px;
  }

  .home-about-slab__mosaic img:nth-child(4) {
    top: 140px;
  }
}

/* Unified Matrix identity: olive #064423 + white */
:root {
  --brand-olive: #064423;
  --brand-white: #ffffff;
  --brand-soft: rgba(6, 68, 35, 0.08);
  --brand-line: rgba(6, 68, 35, 0.18);
  --brand-muted: rgba(6, 68, 35, 0.72);
}

body {
  color: var(--brand-olive);
  background:
    linear-gradient(rgba(6, 68, 35, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 68, 35, 0.035) 1px, transparent 1px),
    var(--brand-white);
}

.site-header,
.page--arabic .site-header,
.home-about-slab,
.home-gallery,
.home-story,
.home-why,
.home-final-cta {
  background: var(--brand-white);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 34px rgba(6, 68, 35, 0.08);
}

.brand strong,
.brand--matrix strong,
.page--arabic .brand strong,
.site-nav a,
.footer-brand strong,
.footer-nav a,
.home-section-title,
.section-title,
.display-title,
.home-story__copy .home-section-title,
.home-about-slab__content .home-section-title,
.home-why__heading .home-section-title,
.home-why__item h3,
.home-why__icon,
.home-why__stats strong,
.home-services-band__head h2,
.home-final-cta__grid h2,
.kicker,
.kicker--ink {
  color: var(--brand-olive) !important;
}

.brand small,
.page--arabic .brand small,
.home-story__copy p,
.home-about-slab__content p,
.home-gallery__copy p:last-child,
.home-why__item p,
.home-final-cta p,
.section-sidecopy,
.footer-credit span {
  color: var(--brand-muted) !important;
}

.progress-bar,
.site-nav a::after,
.home-story__copy .home-section-title::after,
.home-about-slab__content .home-section-title::after,
.home-why__timeline::before {
  background: var(--brand-olive) !important;
}

.brand__mark,
.brand__mark--image,
.button--solid,
.site-nav .nav-cta,
.home-story__copy .button,
.home-about-slab__content .button,
.home-why__index,
.home-final-cta__grid,
.home-services-band,
.home-services-band__feature {
  background: var(--brand-olive) !important;
  color: var(--brand-white) !important;
}

.button--solid,
.site-nav .nav-cta,
.home-story__copy .button,
.home-about-slab__content .button {
  border-color: var(--brand-olive) !important;
  box-shadow: none !important;
}

.button--ghost {
  color: var(--brand-olive) !important;
  border-color: var(--brand-line) !important;
  background: var(--brand-white) !important;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--brand-olive) !important;
  background: var(--brand-soft) !important;
}

.home-hero-ref,
.hero,
.main-section--ink,
.main-section--workflow,
.page-hero,
.footer {
  background:
    linear-gradient(90deg, rgba(6, 68, 35, 0.94), rgba(6, 68, 35, 0.78)),
    var(--brand-olive) !important;
  color: var(--brand-white) !important;
}

.home-hero-ref__slide::before {
  background:
    linear-gradient(90deg, rgba(6, 68, 35, 0.08) 0%, rgba(6, 68, 35, 0.2) 42%, rgba(6, 68, 35, 0.74) 68%, rgba(6, 68, 35, 0.94) 100%),
    linear-gradient(180deg, rgba(6, 68, 35, 0.2), rgba(6, 68, 35, 0.16)) !important;
}

.home-hero-ref__content h1,
.home-hero-ref__lede,
.home-hero-ref__stats span,
.home-services-band,
.home-services-band__head h2,
.home-service-card__body h3,
.home-service-card__body p,
.home-services-band__feature h3,
.home-services-band__feature p,
.home-final-cta__grid h2,
.home-final-cta__grid p,
.footer,
.footer a,
.footer small {
  color: var(--brand-white) !important;
}

.home-hero-ref__stats strong,
.home-service-card__body span,
.home-services-band__eyebrow,
.home-services-band__feature-label {
  color: var(--brand-white) !important;
}

.home-service-card,
.home-gallery__card,
.proof-grid article,
.spec-card,
.detail-card,
.process-step,
.document-card,
.project-card {
  border-color: var(--brand-line) !important;
  box-shadow: 0 18px 40px rgba(6, 68, 35, 0.12) !important;
}

.home-service-card,
.home-services-band__feature {
  background: rgba(255, 255, 255, 0.08) !important;
}

.home-story__frame--back {
  background: var(--brand-olive) !important;
}

.home-story__frame--front {
  box-shadow: 0 0 0 2px var(--brand-olive), 0 22px 42px rgba(6, 68, 35, 0.12) !important;
}

.home-gallery__card span,
.media-card span,
.showcase-card span,
.project-photo-card span {
  color: var(--brand-white) !important;
  background: rgba(6, 68, 35, 0.78) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.home-gallery {
  background:
    linear-gradient(rgba(6, 68, 35, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 68, 35, 0.035) 1px, transparent 1px),
    var(--brand-white) !important;
}

.home-gallery__card::after,
.media-card::after,
.showcase-card::after,
.project-photo-card::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 36%),
    linear-gradient(0deg, rgba(6, 68, 35, 0.72), rgba(6, 68, 35, 0.12) 46%, rgba(6, 68, 35, 0.04)) !important;
}

.home-about-slab__mosaic img,
.home-gallery__card,
.home-story__frame--front {
  box-shadow: 0 18px 38px rgba(6, 68, 35, 0.14) !important;
}

.home-hero-ref__controls {
  display: none !important;
}

#matrix-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
}

#matrix-particles canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.home-hero-ref__grid {
  z-index: 2;
}

.home-service-card__body a,
.home-services-band__feature .button,
.home-story__copy .button,
.home-about-slab__content .button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 0;
  color: var(--brand-white) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    var(--brand-olive) !important;
  overflow: hidden;
  box-shadow: none !important;
}

.home-story__copy .button,
.home-about-slab__content .button {
  border-color: var(--brand-olive) !important;
}

.home-service-card__body a::before,
.home-services-band__feature .button::before,
.home-story__copy .button::before,
.home-about-slab__content .button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-120%);
  transition: transform 0.42s ease;
}

.home-service-card__body a:hover::before,
.home-services-band__feature .button:hover::before,
.home-story__copy .button:hover::before,
.home-about-slab__content .button:hover::before {
  transform: translateX(120%);
}

.home-service-card__body a::after {
  content: "‹";
  position: relative;
  margin-right: 10px;
  font-size: 1.1rem;
  line-height: 1;
}

/* Compact services cards: remove empty stretched space */
.home-services-band {
  padding: 46px 0 54px !important;
}

.home-services-band__head {
  margin-bottom: 24px !important;
}

.home-services-band__grid {
  grid-template-columns: 0.95fr repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: start !important;
}

.home-service-card,
.home-services-band__feature {
  height: auto !important;
  min-height: 0 !important;
  border-radius: 18px !important;
}

.home-service-card {
  align-self: start !important;
}

.home-service-card img {
  height: 150px !important;
}

.home-service-card__body {
  gap: 8px !important;
  padding: 16px 18px 18px !important;
}

.home-service-card__body h3 {
  font-size: 1.08rem !important;
  line-height: 1.45 !important;
}

.home-service-card__body p {
  font-size: 0.84rem !important;
  line-height: 1.65 !important;
}

.home-service-card__body span,
.home-service-card__body a {
  font-size: 0.86rem !important;
}

.home-services-band__feature {
  align-self: start !important;
  padding: 22px 20px !important;
}

.home-services-band__feature h3 {
  font-size: 1.42rem !important;
  line-height: 1.5 !important;
}

.home-services-band__feature p {
  margin: 12px 0 18px !important;
  font-size: 0.88rem !important;
  line-height: 1.7 !important;
}

@media (max-width: 1080px) {
  .home-services-band__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .home-services-band__grid {
    grid-template-columns: 1fr !important;
  }

  .home-service-card img {
    height: 145px !important;
  }
}

/* Final layout polish requested from browser comments */
.home-hero-ref__content .home-eyebrow {
  color: var(--brand-white) !important;
  opacity: 0.92;
}

.home-hero-ref__stats {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  max-width: 620px;
}

.home-hero-ref__stats article {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 5px !important;
  padding: 10px 8px 0 !important;
  text-align: center;
}

.home-hero-ref__stats strong {
  font-size: 1.2rem !important;
}

.home-hero-ref__stats span {
  font-size: 0.76rem !important;
  line-height: 1.45 !important;
}

.home-services-band__grid {
  align-items: stretch !important;
}

.home-service-card,
.home-services-band__feature {
  height: 100% !important;
  min-height: 390px !important;
  display: flex !important;
  flex-direction: column !important;
}

.home-service-card img {
  flex: 0 0 150px;
}

.home-service-card__body {
  flex: 1;
  align-content: start;
}

.home-services-band__feature {
  justify-content: center;
}

.home-about-slab__mosaic {
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  padding: 12px;
  border: 2px solid var(--brand-olive);
  background: var(--brand-white);
}

.home-about-slab__mosaic img,
.home-about-slab__mosaic img:nth-child(1),
.home-about-slab__mosaic img:nth-child(2),
.home-about-slab__mosaic img:nth-child(3),
.home-about-slab__mosaic img:nth-child(4) {
  position: static !important;
  width: 100% !important;
  height: 150px !important;
  margin: 0 !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.home-why {
  padding-top: 52px !important;
  padding-bottom: 52px !important;
}

.home-why__shell {
  gap: 26px !important;
}

.home-why__timeline {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
  padding: 0 !important;
}

.home-why__timeline::before {
  display: none !important;
}

.home-why__item {
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  padding: 18px 14px !important;
  border: 1px solid var(--brand-line);
  background: var(--brand-white);
  box-shadow: 0 14px 34px rgba(6, 68, 35, 0.08);
}

.home-why__side,
.home-why__side--right,
.home-why__side--left {
  display: block !important;
  grid-column: auto !important;
  grid-row: auto !important;
  direction: rtl !important;
  text-align: right !important;
}

.home-why__side:empty {
  display: none !important;
}

.home-why__marker {
  order: -1;
  justify-items: start !important;
}

.home-why__card {
  width: 100% !important;
  padding: 0 !important;
}

.home-why__item h3 {
  font-size: 0.98rem !important;
  line-height: 1.45 !important;
}

.home-why__item p {
  font-size: 0.8rem !important;
  line-height: 1.65 !important;
}

.home-final-cta__grid {
  border-radius: 8px !important;
  box-shadow: none !important;
  background: var(--brand-olive) !important;
}

.home-final-cta__actions .button {
  background: var(--brand-white) !important;
  color: var(--brand-olive) !important;
  border-color: var(--brand-white) !important;
}

.home-final-cta__actions .button--ghost {
  background: transparent !important;
  color: var(--brand-white) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.footer {
  padding: 42px 0 !important;
  background: var(--brand-olive) !important;
}

.footer-shell {
  display: grid !important;
  grid-template-columns: minmax(260px, 1fr) auto minmax(220px, 0.8fr) !important;
  gap: 28px !important;
  align-items: center !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.footer-brand strong,
.footer-brand small,
.footer-nav a,
.footer-credit span {
  color: var(--brand-white) !important;
}

.footer-nav {
  justify-content: center !important;
  gap: 18px !important;
}

.footer-nav a {
  opacity: 0.86;
}

.footer-nav a:hover {
  opacity: 1;
}

.footer-credit {
  justify-content: end !important;
}

.footer-credit__button {
  background: var(--brand-white) !important;
  color: var(--brand-olive) !important;
}

.footer .footer-credit__button,
.footer .footer-credit__button:visited {
  color: var(--brand-olive) !important;
  background: var(--brand-white) !important;
}

@media (max-width: 1080px) {
  .home-why__timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .footer-shell {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  .footer-credit,
  .footer-nav {
    justify-content: center !important;
  }
}

@media (max-width: 720px) {
  .home-hero-ref__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .home-service-card,
  .home-services-band__feature {
    min-height: 0 !important;
  }

  .home-why__timeline {
    grid-template-columns: 1fr !important;
  }

  .home-about-slab__mosaic img,
  .home-about-slab__mosaic img:nth-child(1),
  .home-about-slab__mosaic img:nth-child(2),
  .home-about-slab__mosaic img:nth-child(3),
  .home-about-slab__mosaic img:nth-child(4) {
    height: 112px !important;
  }
}

/* Brand particle background and read-more buttons */
.home-hero-ref {
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 255, 255, 0.16), transparent 26%),
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.1), transparent 24%),
    linear-gradient(90deg, rgba(6, 68, 35, 0.98), rgba(6, 68, 35, 0.84)),
    var(--brand-olive) !important;
}

#matrix-particles {
  z-index: 1 !important;
  opacity: 1 !important;
  mix-blend-mode: screen;
}

.home-hero-ref__grid,
.home-hero-ref__media,
.home-hero-ref__content {
  position: relative;
  z-index: 2 !important;
}

.home-hero-ref__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr) !important;
  align-items: stretch !important;
  min-height: 540px !important;
}

.home-hero-ref__media,
.home-hero-ref__stage,
.home-hero-ref__content {
  min-height: 540px !important;
}

.home-hero-ref__content {
  width: 100% !important;
  margin-inline: 0 !important;
  padding-inline: 18px !important;
  box-sizing: border-box;
  overflow: hidden;
}

.home-hero-ref__stats {
  max-width: 100% !important;
}

.home-service-card__body a,
.home-services-band__feature .button,
.home-story__copy .button,
.home-about-slab__content .button {
  min-width: 126px !important;
  min-height: 42px !important;
  padding: 0 18px !important;
  border: 1px solid var(--brand-olive) !important;
  border-radius: 8px !important;
  background: var(--brand-olive) !important;
  color: var(--brand-white) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: 0 12px 24px rgba(6, 68, 35, 0.14) !important;
}

.home-service-card__body a,
.home-services-band__feature .button {
  border-color: rgba(255, 255, 255, 0.62) !important;
}

.home-service-card__body a:hover,
.home-services-band__feature .button:hover,
.home-story__copy .button:hover,
.home-about-slab__content .button:hover {
  background: var(--brand-white) !important;
  color: var(--brand-olive) !important;
  border-color: var(--brand-white) !important;
  transform: translateY(-2px);
}

.home-service-card__body a::after {
  content: "\2039" !important;
}

@media (max-width: 900px) {
  .home-hero-ref__grid {
    grid-template-columns: 1fr !important;
  }

  .home-hero-ref__media,
  .home-hero-ref__stage,
  .home-hero-ref__content {
    min-height: 0 !important;
  }
}

/* Clean hero arrangement after particle background */
.home-hero-ref {
  padding: 46px 0 34px !important;
}

.home-hero-ref__grid {
  direction: ltr;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 0.9fr) !important;
  grid-template-areas: "media content";
  min-height: 520px !important;
}

.home-hero-ref__media {
  grid-area: media;
  overflow: hidden;
}

.home-hero-ref__content {
  grid-area: content;
  direction: rtl;
  text-align: right;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 34px 34px 34px 18px !important;
  overflow: visible !important;
}

.home-hero-ref__media,
.home-hero-ref__stage,
.home-hero-ref__content {
  min-height: 520px !important;
}

.home-hero-ref__slide-tag {
  display: none !important;
}

.home-hero-ref__lede {
  max-width: 56ch;
}

.home-hero-ref__actions {
  justify-content: flex-start !important;
}

.home-hero-ref__stats {
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

#matrix-particles {
  opacity: 0.72 !important;
}

@media (max-width: 900px) {
  .home-hero-ref__grid {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "content"
      "media";
  }

  .home-hero-ref__content {
    padding: 30px 18px !important;
  }

  .home-hero-ref__media,
  .home-hero-ref__stage,
  .home-hero-ref__content {
    min-height: 0 !important;
  }
}

/* Professional geometric frame and 3D-room hero transition */
.home-hero-ref__media {
  position: relative;
  margin: 24px 0 24px clamp(16px, 3vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.04),
    0 28px 70px rgba(6, 68, 35, 0.18);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
  perspective: 1100px;
  transform-style: preserve-3d;
}

.home-hero-ref__media::before,
.home-hero-ref__media::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 6;
}

.home-hero-ref__media::before {
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

.home-hero-ref__media::after {
  top: 50%;
  right: -42vw;
  width: 62vw;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
  transform: translateY(-50%);
}

.home-hero-ref__stage {
  background: var(--brand-olive);
  overflow: hidden;
  perspective: 1100px;
  transform-style: preserve-3d;
}

.home-hero-ref__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 100%);
  background-size: 76px 76px;
  opacity: 0.2;
}

.home-hero-ref__slide {
  opacity: 0 !important;
  transform: translate3d(18%, 0, -90px) rotateY(-42deg) scale(0.94) !important;
  transform-origin: left center;
  backface-visibility: hidden;
  filter: brightness(0.82);
  transition:
    transform 0.76s cubic-bezier(0.22, 0.72, 0.18, 1),
    opacity 0.76s ease,
    filter 0.76s ease !important;
  will-change: transform, opacity, filter;
}

.home-hero-ref__slide.is-active {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) rotateY(0deg) scale(1) !important;
  filter: brightness(1);
  z-index: 3;
}

.home-hero-ref__slide.is-prep {
  opacity: 0 !important;
  transform: translate3d(-18%, 0, -90px) rotateY(42deg) scale(0.94) !important;
  z-index: 2;
}

.home-hero-ref__slide.is-leaving {
  opacity: 0 !important;
  transform: translate3d(20%, 0, -120px) rotateY(-52deg) scale(0.9) !important;
  filter: brightness(0.68);
  z-index: 1;
}

.home-hero-ref__slide img,
.home-hero-ref__slide.is-active img {
  transform: scale(1.035) !important;
  transition: transform 7s ease !important;
}

.home-hero-ref__slide.is-active img {
  transform: scale(1) !important;
}

@media (max-width: 900px) {
  .home-hero-ref__media {
    margin: 0 18px 28px;
  }

  .home-hero-ref__media::after {
    display: none;
  }
}

/* Fixed header across all pages */
:root {
  --site-header-height: 86px;
}

html {
  scroll-padding-top: calc(var(--site-header-height) + 18px);
}

body {
  padding-top: var(--site-header-height);
}

.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999 !important;
}

.site-shell {
  overflow-x: clip;
}

@media (max-width: 720px) {
  :root {
    --site-header-height: 76px;
  }
}

/* About page redesign */
.about-page {
  background: var(--brand-white);
  color: var(--brand-olive);
}

.about-hero {
  padding: 46px 0 42px;
  background:
    linear-gradient(rgba(6, 68, 35, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 68, 35, 0.035) 1px, transparent 1px),
    var(--brand-white);
  background-size: 58px 58px;
}

.about-hero__grid,
.about-intro__grid,
.about-process__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.about-hero__copy {
  text-align: right;
}

.about-hero__copy h1,
.about-intro__copy h2,
.about-section-head h2,
.about-process__copy h2 {
  margin: 0;
  color: var(--brand-olive);
  font-weight: 800;
  letter-spacing: 0;
}

.about-hero__copy h1 {
  max-width: 13ch;
  font-size: clamp(2.2rem, 4.3vw, 4.8rem);
  line-height: 1.12;
}

.about-hero__copy p,
.about-intro__copy p {
  margin: 20px 0 0;
  max-width: 62ch;
  color: var(--brand-muted);
  font-size: 1.02rem;
  line-height: 2;
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.about-hero__media,
.about-intro__media {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--brand-olive);
  background: var(--brand-white);
}

.about-hero__media {
  min-height: 430px;
  box-shadow: 22px 22px 0 var(--brand-olive);
}

.about-hero__media::before,
.about-hero__media::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.about-hero__media::before {
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.about-hero__media::after {
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 68, 35, 0.1), rgba(6, 68, 35, 0.62));
}

.about-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: block;
  object-fit: cover;
}

.about-intro,
.about-strengths,
.about-process {
  padding: 58px 0;
}

.about-intro__grid {
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
}

.about-intro__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  box-shadow: -18px 18px 0 rgba(6, 68, 35, 0.1);
}

.about-intro__media img {
  width: 100%;
  height: 150px;
  display: block;
  object-fit: cover;
}

.about-intro__media img:first-child {
  grid-row: span 2;
  height: 310px;
}

.about-intro__copy h2,
.about-section-head h2,
.about-process__copy h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 3vw, 3.3rem);
  line-height: 1.18;
}

.about-section-head {
  max-width: 720px;
  margin-bottom: 24px;
  text-align: right;
}

.about-strengths {
  background: var(--brand-olive);
  color: var(--brand-white);
}

.about-strengths .kicker,
.about-strengths h2 {
  color: var(--brand-white) !important;
}

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

.about-strengths__grid article {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.about-strengths__grid span {
  color: var(--brand-white);
  font-size: 1.85rem;
  font-weight: 800;
}

.about-strengths__grid h3 {
  margin: 0;
  color: var(--brand-white);
  font-size: 1.1rem;
  line-height: 1.5;
}

.about-strengths__grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.8;
}

.about-process__grid {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.about-process__steps {
  display: grid;
  gap: 12px;
}

.about-process__steps article {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--brand-line);
  background: var(--brand-white);
  box-shadow: 0 14px 34px rgba(6, 68, 35, 0.08);
}

.about-process__steps strong {
  color: var(--brand-olive);
  font-size: 1.65rem;
  font-weight: 800;
}

.about-process__steps span {
  color: var(--brand-muted);
  line-height: 1.7;
}

@media (max-width: 980px) {
  .about-hero__grid,
  .about-intro__grid,
  .about-process__grid {
    grid-template-columns: 1fr;
  }

  .about-hero__copy h1,
  .about-intro__copy h2,
  .about-section-head h2,
  .about-process__copy h2 {
    max-width: 100%;
  }

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

@media (max-width: 640px) {
  .about-hero,
  .about-intro,
  .about-strengths,
  .about-process {
    padding: 36px 0;
  }

  .about-hero__media {
    min-height: 300px;
    box-shadow: 10px 10px 0 var(--brand-olive);
  }

  .about-hero__media img {
    min-height: 300px;
  }

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

  .about-intro__media img,
  .about-intro__media img:first-child {
    height: 170px;
    grid-row: auto;
  }

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

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

/* Unified wave footer */
.footer.footer-wave {
  position: relative;
  margin-top: 76px !important;
  padding: 38px 0 30px !important;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 14% 24%, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(135deg, #032816, #021c10 58%, #01170d) !important;
  background-size: 74px 74px, 74px 74px, auto, auto;
  color: var(--brand-white) !important;
  overflow: visible;
}

.footer.footer-wave::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -74px;
  height: 76px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 100' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23021c10' d='M0,50 C240,90 480,10 720,50 C960,90 1200,10 1440,50 V100 H0 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}

.footer.footer-wave::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.16;
  background:
    linear-gradient(90deg, rgba(2, 28, 16, 0.98) 0%, rgba(2, 28, 16, 0.64) 34%, rgba(2, 28, 16, 0.9) 100%),
    linear-gradient(180deg, rgba(2, 28, 16, 0.9) 0%, rgba(2, 28, 16, 0.18) 48%, rgba(2, 28, 16, 0.96) 100%),
    linear-gradient(120deg, transparent 0 42%, rgba(255, 255, 255, 0.18) 42% 43%, transparent 43% 100%),
    linear-gradient(30deg, transparent 0 58%, rgba(255, 255, 255, 0.12) 58% 59%, transparent 59% 100%),
    url("../assets/optimized/precast-panel-sky-02-hero.webp") 28% 46% / 1180px auto no-repeat;
  filter: saturate(0.8) contrast(1.05);
  mix-blend-mode: luminosity;
}

.footer-wave .footer-shell,
.footer-shell.footer-wave__main-grid {
  position: relative;
  z-index: 1;
  width: var(--container) !important;
  max-width: var(--container) !important;
  display: grid !important;
  grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(170px, 1fr)) !important;
  gap: clamp(22px, 4vw, 46px) !important;
  align-items: start !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: right !important;
}

.footer-wave h3,
.footer-wave .footer-brand strong {
  margin: 0 0 12px;
  color: var(--brand-white) !important;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.6;
}

.footer-wave .footer-brand small {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.72) !important;
}

.footer-wave .footer-brand p {
  margin: 0;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  line-height: 1.9;
}

.footer-wave .footer-nav,
.footer-wave__links,
.footer-wave__contact {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px !important;
}

.footer-wave .footer-nav a,
.footer-wave__links a,
.footer-wave__contact a,
.footer-wave__contact span {
  color: rgba(255, 255, 255, 0.76) !important;
  font-size: 0.92rem;
  line-height: 1.7;
  transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.footer-wave .footer-nav a:hover,
.footer-wave__links a:hover,
.footer-wave__contact a:hover {
  color: var(--brand-white) !important;
  transform: translateX(-3px);
}

/* Global subtle animated background */
body::before,
body::after {
  display: block !important;
}

body::before {
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(6, 68, 35, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 68, 35, 0.03) 1px, transparent 1px),
    linear-gradient(135deg, rgba(6, 68, 35, 0.06), rgba(255, 255, 255, 0));
  background-size: 72px 72px, 72px 72px, auto;
  filter: none;
  opacity: 0.75;
  animation: matrixPageGrid 24s linear infinite !important;
}

body::after {
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(120deg, transparent 0 42%, rgba(6, 68, 35, 0.045) 42% 43%, transparent 43% 100%),
    linear-gradient(30deg, transparent 0 58%, rgba(6, 68, 35, 0.035) 58% 59%, transparent 59% 100%);
  background-size: 780px 520px, 640px 460px;
  opacity: 0.62;
  animation: matrixPageSweep 28s ease-in-out infinite alternate !important;
}

.site-shell {
  position: relative;
  z-index: 1;
}

.page--services .services-overview__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.page--services .services-overview__head > *,
.page--services .services-overview__head .section-title,
.page--services .services-overview__head .section-sidecopy {
  max-width: 850px;
  text-align: center;
}

.page--services .services-overview__head .section-title {
  margin-inline: auto;
}

@keyframes matrixPageGrid {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 72px 72px, 72px 72px, 0 0;
  }
}

@keyframes matrixPageSweep {
  0% {
    background-position: -80px 0, 60px 20px;
  }
  100% {
    background-position: 120px 30px, -90px 70px;
  }
}

.footer-wave .footer-credit {
  justify-content: flex-start !important;
}

.footer-wave .footer-credit__button,
.footer-wave .footer-credit__button:visited {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--brand-white) !important;
  color: var(--brand-olive) !important;
  font-weight: 800;
}

.footer-wave .footer-credit__site {
  color: var(--brand-white) !important;
  font-weight: 800;
}

.footer-wave__bottom {
  position: relative;
  z-index: 1;
  width: var(--container) !important;
  margin-top: 34px !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-wave__bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
  text-align: center;
}

@media (max-width: 980px) {
  .footer-shell.footer-wave__main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .footer.footer-wave {
    margin-top: 56px !important;
    padding-top: 28px !important;
  }

  .footer.footer-wave::before {
    top: -56px;
    height: 58px;
  }

  .footer-shell.footer-wave__main-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  .footer-wave .footer-brand p {
    max-width: none;
  }

  .footer-wave .footer-nav,
  .footer-wave__links,
  .footer-wave__contact {
    align-items: center;
  }
}
