:root {
  color-scheme: light;
  --sky: #00adef;
  --sky-dark: #1290bf;
  --sky-soft: #e8f7fd;
  --sky-line: #a6e1ec;
  --black: #0b0b0d;
  --graphite: #242426;
  --steel: #5f6670;
  --muted: #6f747b;
  --line: #dedede;
  --paper: #f4f4f2;
  --white: #ffffff;
  --copper: #a95d3a;
  --blue: #1f6f91;
  --shadow: 0 24px 74px rgba(11, 11, 13, 0.13);
  --max: 1180px;
  --header-h: 118px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 12px clamp(16px, 4vw, 52px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(11, 11, 13, 0.86), rgba(11, 11, 13, 0));
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled,
body.page .site-header,
.site-header.is-open {
  color: var(--black);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 34px rgba(11, 11, 13, 0.08);
  backdrop-filter: blur(12px);
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled .site-nav,
body.page .site-nav,
.site-header.is-open .site-nav {
  border-color: var(--line);
  background: var(--paper);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  color: currentColor;
  font-size: 14px;
  font-weight: 750;
  opacity: 0.78;
}

.site-nav a:hover,
.site-nav a.is-active {
  opacity: 1;
  color: var(--white);
  background: var(--black);
}

.site-nav .nav-cta {
  color: var(--white);
  background: var(--sky);
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
}

.nav-toggle .icon {
  width: 22px;
  height: 22px;
  margin: 0 auto;
  border: 0;
  color: inherit;
  background-color: currentColor;
  -webkit-mask-size: 22px 22px;
  mask-size: 22px 22px;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--black);
}

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

.hero-media {
  background: url("./assets/projects/image20.jpg") center / cover;
  transform: scale(1.02);
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(11, 11, 13, 0.93), rgba(11, 11, 13, 0.62) 48%, rgba(11, 11, 13, 0.18)),
    linear-gradient(0deg, rgba(11, 11, 13, 0.94), rgba(11, 11, 13, 0) 48%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: calc(var(--header-h) + 50px) 0 154px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 13px;
  color: var(--sky);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #bfefff;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 890px;
  font-size: clamp(54px, 9vw, 108px);
  line-height: 0.94;
}

.page-hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.02;
}

.project-hero h1 {
  max-width: 680px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
}

h2 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.98;
}

h3 {
  font-size: 21px;
  line-height: 1.18;
}

.hero-lead,
.page-hero p,
.section-heading p,
.large-copy {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.36;
}

.hero-lead {
  max-width: 760px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.action-row,
.next-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 850;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-align: center;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--sky);
}

.button-primary:hover {
  background: var(--sky-dark);
}

.button-secondary {
  color: var(--white);
  border-color: currentColor;
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary.dark {
  color: var(--black);
}

.hero-facts,
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: blur(14px);
}

.hero-facts {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  width: min(var(--max), calc(100% - 36px));
  transform: translateX(-50%);
}

.hero-facts div,
.stat-row div {
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-facts div:last-child,
.stat-row div:last-child {
  border-right: 0;
}

.hero-facts strong,
.stat-row strong {
  display: block;
  color: var(--white);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.hero-facts span,
.stat-row span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.section,
.section-band {
  padding: clamp(72px, 8vw, 112px) 0;
}

.section-band {
  background: var(--paper);
}

.section-inner,
.page-hero,
.two-col {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

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

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  padding: calc(var(--header-h) + 44px) 0 clamp(54px, 7vw, 82px);
}

.page-hero.project-hero {
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.72fr);
  align-items: center;
}

body.page .page-hero {
  color: var(--black);
}

.page-hero p {
  color: var(--muted);
}

.page-hero img {
  width: 100%;
  aspect-ratio: 1.16 / 1;
  object-fit: cover;
  background: var(--white);
  box-shadow: var(--shadow);
}

.page-hero.project-hero img {
  max-height: min(50vh, 480px);
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: clamp(10px, 1.6vw, 20px);
  background: linear-gradient(180deg, #ffffff, #f7fbfd);
}

[data-project-detail] .two-col h2,
[data-project-detail] .section-heading h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
}

[data-project-detail] .large-copy {
  font-size: clamp(18px, 1.7vw, 21px);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 6vw, 92px);
}

.home-grid,
.capability-grid,
.client-grid,
.projects-grid,
.support-grid,
.sector-grid {
  display: grid;
  gap: 14px;
}

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

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

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

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

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

.feature-card,
.capability-card,
.project-card,
.client-pill,
.support-card,
.sector-card,
.step-card {
  border: 1px solid var(--line);
  background: var(--white);
}

.feature-card,
.capability-card,
.support-card,
.sector-card,
.step-card {
  padding: 24px;
}

.feature-card {
  min-height: 220px;
}

.feature-card span,
.project-card span,
.client-pill span {
  display: block;
  margin-bottom: 11px;
  color: var(--sky);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-card p,
.capability-card p,
.project-card p,
.support-card p,
.sector-card p,
.step-card p {
  margin: 13px 0 0;
}

.icon {
  /* Icons served from CreateUI's Lucide CDN: https://icons.createui.dev/ */
  width: 44px;
  height: 44px;
  display: block;
  margin-bottom: 28px;
  color: var(--sky);
  background-color: currentColor;
  -webkit-mask: var(--icon-url) center / 26px 26px no-repeat;
  mask: var(--icon-url) center / 26px 26px no-repeat;
}

.icon[data-icon="vacuum"] {
  --icon-url: url("https://icon.createui.dev/1.8.0/gauge.svg?stroke=1.75");
}

.icon[data-icon="snowflake"] {
  --icon-url: url("https://icon.createui.dev/1.8.0/snowflake.svg?stroke=1.75");
}

.icon[data-icon="radio"] {
  --icon-url: url("https://icon.createui.dev/1.8.0/radio-tower.svg?stroke=1.75");
}

.icon[data-icon="cog"] {
  --icon-url: url("https://icon.createui.dev/1.8.0/wrench.svg?stroke=1.75");
}

.icon[data-icon="draft"] {
  --icon-url: url("https://icon.createui.dev/1.8.0/drafting-compass.svg?stroke=1.75");
}

.icon[data-icon="factory"] {
  --icon-url: url("https://icon.createui.dev/1.8.0/factory.svg?stroke=1.75");
}

.icon[data-icon="boxes"] {
  --icon-url: url("https://icon.createui.dev/1.8.0/package-check.svg?stroke=1.75");
}

.icon[data-icon="check"] {
  --icon-url: url("https://icon.createui.dev/1.8.0/badge-check.svg?stroke=1.75");
}

.icon[data-icon="menu"] {
  --icon-url: url("https://icon.createui.dev/1.8.0/menu.svg?stroke=1.75");
}

.split-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(30px, 6vw, 78px);
  color: var(--white);
  background: var(--black);
  padding: clamp(62px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.split-showcase p {
  color: rgba(255, 255, 255, 0.72);
}

.split-showcase img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.step-card {
  min-height: 230px;
}

.project-card {
  min-height: 100%;
  overflow: hidden;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.project-card img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: contain;
  padding: 14px;
  background: linear-gradient(180deg, #ffffff, #f5fbfe);
}

.project-card span,
.project-card h3,
.project-card p {
  margin-left: 20px;
  margin-right: 20px;
}

.project-card span {
  margin-top: 20px;
}

.project-card p {
  margin-bottom: 22px;
}

.client-pill {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
}

.client-pill strong {
  font-size: 18px;
}

.client-pill span {
  margin-bottom: 0;
  margin-top: 8px;
}

.logos-panel {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.group-image {
  min-height: 420px;
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.03), rgba(11, 11, 13, 0.08)),
    url("./assets/projects/image41.jpeg") center / cover;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--graphite);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 16px;
  height: 16px;
  background: var(--sky);
  -webkit-mask: url("https://icon.createui.dev/1.8.0/check.svg?stroke=2") center / contain no-repeat;
  mask: url("https://icon.createui.dev/1.8.0/check.svg?stroke=2") center / contain no-repeat;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 44px;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(11, 11, 13, 0.94), rgba(11, 11, 13, 0.76)),
    url("./assets/projects/image16.jpg") center / cover;
  padding: clamp(42px, 6vw, 74px);
}

.contact-panel p,
.contact-panel address {
  color: rgba(255, 255, 255, 0.74);
}

.contact-panel address {
  margin-top: 20px;
  font-style: normal;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  padding: 0 clamp(16px, 4vw, 52px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--black);
  font-size: 14px;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 1080px) {
  .page-hero,
  .two-col,
  .split-showcase,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .home-grid,
  .capability-grid,
  .projects-grid,
  .support-grid,
  .sector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .step-grid,
  .hero-facts,
  .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  :root {
    --header-h: 90px;
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 4px;
    max-height: calc(100svh - var(--header-h) - 24px);
    overflow-y: auto;
    padding: 8px;
    color: var(--black);
    background: var(--white);
    border-color: var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 160ms ease,
      transform 160ms ease,
      visibility 160ms ease;
  }

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

  .site-nav a {
    justify-content: center;
    text-align: center;
  }

  .hero-inner {
    padding-bottom: 245px;
  }

  h1 {
    font-size: clamp(44px, 15vw, 68px);
  }

  .page-hero h1,
  .project-hero h1 {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.08;
  }

  .project-hero h1 {
    font-size: clamp(30px, 8.5vw, 42px);
  }

  .page-hero {
    padding-top: calc(var(--header-h) + 32px);
  }

  .page-hero.project-hero img {
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  h2 {
    font-size: 34px;
  }

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

  .hero-facts {
    width: 100%;
  }

  .hero-facts div,
  .stat-row div {
    padding: 17px;
  }

  .home-grid,
  .capability-grid,
  .projects-grid,
  .support-grid,
  .sector-grid,
  .client-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 22px;
  }
}

@media (max-width: 440px) {
  .section,
  .section-band {
    padding: 62px 0;
  }

  .hero-inner,
  .section-inner,
  .page-hero,
  .two-col {
    width: min(100% - 28px, var(--max));
  }

  .hero-lead,
  .page-hero p,
  .section-heading p,
  .large-copy {
    font-size: 18px;
  }

  .page-hero h1,
  .project-hero h1 {
    font-size: clamp(31px, 10vw, 42px);
  }

  .project-hero h1 {
    font-size: clamp(28px, 8.5vw, 36px);
  }

  .page-hero.project-hero img,
  .project-gallery img,
  .project-card img {
    padding: 8px;
  }
}


.header-inner {
  width: min(1360px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(22px, 4vw, 48px);
}

.site-header {
  color: var(--black);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 34px rgba(11, 11, 13, 0.08);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled,
body.page .site-header,
.site-header.is-open {
  color: var(--black);
  background: rgba(255, 255, 255, 0.98);
}

.brand {
  min-height: calc(var(--header-h) - 18px);
  gap: clamp(14px, 2vw, 24px);
}

.brand-logo {
  width: clamp(158px, 18vw, 236px);
  height: auto;
  object-fit: contain;
}

.brand-support {
  max-width: 150px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
  color: var(--steel);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-nav {
  gap: 8px;
  padding: 7px;
  border-color: rgba(0, 173, 239, 0.22);
  background: rgba(232, 247, 253, 0.86);
}

.site-header.is-scrolled .site-nav,
body.page .site-nav,
.site-header.is-open .site-nav {
  border-color: rgba(0, 173, 239, 0.22);
  background: rgba(232, 247, 253, 0.92);
}

.site-nav a {
  min-height: 50px;
  padding: 0 18px;
  font-size: 15px;
  opacity: 0.86;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--white);
  background: var(--sky-dark);
}

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

.site-nav .nav-cta:hover,
.site-nav .nav-cta.is-active {
  background: var(--sky-dark);
}

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

.project-gallery figure {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
}

.project-gallery img {
  width: 100%;
  aspect-ratio: 1.32 / 1;
  object-fit: contain;
  padding: 12px;
  background: linear-gradient(180deg, #ffffff, #f5fbfe);
}

.gallery-trigger {
  width: 100%;
  display: block;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-trigger img {
  transition: transform 180ms ease, filter 180ms ease;
}

.gallery-trigger:hover img,
.gallery-trigger:focus-visible img {
  transform: scale(1.018);
  filter: saturate(1.06);
}

.gallery-trigger:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
}

body.has-lightbox {
  overflow: hidden;
}

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 44px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

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

.project-lightbox-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(6, 18, 27, 0.76);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}

.project-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 48px));
  height: min(82vh, 820px);
  max-height: calc(100vh - 48px);
  display: grid;
  place-items: center;
  margin: 0;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.34);
}

.project-lightbox-panel img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: calc(100vh - 126px);
  display: block;
  object-fit: contain;
  background: var(--white);
}

.project-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(11, 11, 13, 0.18);
  color: var(--black);
  background: var(--white);
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.project-lightbox-close:hover,
.project-lightbox-close:focus-visible {
  color: var(--white);
  background: var(--sky-dark);
}

.project-gallery figure:first-child:nth-last-child(n + 3),
.project-gallery figure:first-child:nth-last-child(n + 3) ~ figure:nth-child(2) {
  grid-column: span 1;
}

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

.client-logo-card {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(0, 173, 239, 0.18);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(11, 11, 13, 0.06);
}

.client-logo-card img {
  width: 100%;
  height: 58px;
  object-fit: contain;
}

.client-logo-card span {
  color: var(--graphite);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.hero-logo-cloud {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  background: var(--sky-soft);
}

.hero-logo-cloud img {
  width: 100%;
  height: 70px;
  padding: 14px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid rgba(0, 173, 239, 0.16);
}

@media (max-width: 1080px) {
  .logo-grid,
  .project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-support {
    display: none;
  }
}

@media (max-width: 780px) {
  .header-inner {
    width: 100%;
  }

  .brand {
    min-height: calc(var(--header-h) - 16px);
  }

  .brand-logo {
    width: 136px;
  }

  .site-nav a {
    min-height: 46px;
  }

  .logo-grid,
  .project-gallery,
  .hero-logo-cloud {
    grid-template-columns: 1fr;
  }

  .project-lightbox {
    padding: 14px;
  }

  .project-lightbox-panel {
    width: calc(100vw - 28px);
    height: min(78vh, 680px);
    max-width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
  }

  .project-lightbox-panel img {
    max-height: calc(100vh - 96px);
  }

  .project-lightbox-close {
    top: 8px;
    right: 8px;
    min-height: 38px;
    padding: 0 12px;
  }
}

.project-card h3 {
  min-height: 2.4em;
  overflow-wrap: anywhere;
}

.project-card p {
  font-size: 15px;
  line-height: 1.46;
}

@media (max-width: 1080px) {
  .page-hero.project-hero {
    grid-template-columns: 1fr;
  }

  .page-hero.project-hero img {
    width: min(760px, 100%);
    justify-self: start;
  }
}

@media (max-width: 780px) {
  .project-card h3 {
    min-height: 0;
  }

  .project-card img {
    aspect-ratio: 1.12 / 1;
  }
}

body[data-page="proyectos"] .section-heading h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

body[data-page="proyectos"] .large-copy {
  font-size: clamp(17px, 1.6vw, 20px);
}

body[data-page="proyectos"] .project-card h3 {
  font-size: 19px;
}

@media (max-width: 780px) {
  :root {
    --header-h: 96px;
  }

  .brand-logo {
    width: 116px;
  }

  body[data-page="proyectos"] .section-heading h2 {
    font-size: 30px;
  }
}


/* Header aligned with the cleaner Mademan Group navigation style. */
:root {
  --header-h: 108px;
}

.site-header {
  min-height: var(--header-h);
  padding: 0 clamp(18px, 4vw, 56px);
  color: var(--black);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(11, 11, 13, 0.06);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled,
body.page .site-header,
.site-header.is-open {
  color: var(--black);
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 10px 24px rgba(11, 11, 13, 0.05);
}

.header-inner {
  width: min(1180px, 100%);
  min-height: var(--header-h);
  gap: clamp(26px, 5vw, 70px);
}

.brand {
  min-height: var(--header-h);
  gap: 18px;
  flex: 0 0 auto;
}

.brand-logo {
  width: clamp(150px, 13vw, 190px);
}

.brand-support {
  max-width: 132px;
  padding-left: 16px;
  color: var(--steel);
  border-left: 1px solid rgba(11, 11, 13, 0.14);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.12;
}

.site-nav,
.site-header.is-scrolled .site-nav,
body.page .site-nav,
.site-header.is-open .site-nav {
  gap: clamp(18px, 2.2vw, 32px);
  padding: 0;
  border: 0;
  background: transparent;
}

.site-nav a {
  position: relative;
  min-height: var(--header-h);
  padding: 0;
  color: var(--black);
  font-size: 15px;
  font-weight: 750;
  opacity: 1;
  background: transparent;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  height: 3px;
  background: var(--sky);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.site-nav .nav-cta,
.site-nav .nav-cta:hover,
.site-nav .nav-cta.is-active {
  color: var(--black);
  background: transparent;
}

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

.nav-toggle {
  border-color: rgba(11, 11, 13, 0.18);
  background: var(--white);
}

@media (max-width: 1080px) {
  .header-inner {
    gap: 22px;
  }

  .site-nav,
  .site-header.is-scrolled .site-nav,
  body.page .site-nav,
  .site-header.is-open .site-nav {
    gap: 18px;
  }

  .site-nav a {
    font-size: 14px;
  }
}

@media (max-width: 780px) {
  :root {
    --header-h: 86px;
  }

  .site-header {
    padding-inline: 16px;
  }

  .brand,
  .header-inner {
    min-height: var(--header-h);
  }

  .brand-logo {
    width: 128px;
  }

  .site-nav,
  .site-header.is-scrolled .site-nav,
  body.page .site-nav,
  .site-header.is-open .site-nav {
    top: calc(100% + 10px);
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(0, 173, 239, 0.18);
    background: var(--white);
  }

  .site-nav a {
    justify-content: flex-start;
    min-height: 46px;
    padding: 0 14px;
  }

  .site-nav a::after {
    left: 14px;
    right: auto;
    bottom: 8px;
    width: 34px;
  }
}


/* Responsive audit pass: prevent narrow viewport overflow and tighten mobile rhythm. */
html,
body {
  width: 100%;
  overflow-x: hidden;
}

main {
  min-width: 0;
}

.section-inner,
.page-hero,
.two-col,
.header-inner {
  min-width: 0;
}

@media (max-width: 780px) {
  body {
    font-size: 15px;
  }

  .site-header {
    min-height: var(--header-h);
  }

  .page-hero {
    gap: 26px;
    padding-bottom: 52px;
  }

  .page-hero img {
    aspect-ratio: 1.18 / 1;
    object-fit: contain;
    padding: 12px;
    background: linear-gradient(180deg, #ffffff, #f7fbfd);
  }

  .section,
  .section-band {
    padding: 58px 0;
  }

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

  .feature-card,
  .capability-card,
  .support-card,
  .sector-card,
  .step-card {
    min-height: 0;
    padding: 22px;
  }

  .client-logo-card {
    min-height: 118px;
  }

  .contact-panel {
    padding: 32px 22px;
  }

  .split-showcase {
    padding: 48px 18px;
  }
}

@media (max-width: 440px) {
  :root {
    --header-h: 78px;
  }

  .site-header {
    padding-inline: 12px;
  }

  .brand-logo {
    width: 112px;
  }

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

  .hero-inner {
    padding-top: calc(var(--header-h) + 36px);
    padding-bottom: 230px;
  }

  h1 {
    font-size: clamp(42px, 16vw, 60px);
  }

  .page-hero h1 {
    font-size: clamp(34px, 11vw, 44px);
  }

  h2 {
    font-size: 30px;
    line-height: 1.08;
  }

  h3 {
    font-size: 19px;
  }

  .hero-facts,
  .stat-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero-facts div,
  .stat-row div {
    padding: 14px;
  }

  .project-card span,
  .project-card h3,
  .project-card p {
    margin-left: 16px;
    margin-right: 16px;
  }

  .client-logo-card img {
    height: 52px;
  }
}


.contact-landing {
  padding: calc(var(--header-h) + 56px) 0 72px;
  background: var(--white);
}

.contact-intro {
  max-width: 820px;
  margin-bottom: 34px;
}

.contact-intro h1 {
  font-size: clamp(44px, 6.2vw, 84px);
  line-height: 0.98;
}

.contact-intro p {
  max-width: 720px;
  font-size: clamp(18px, 1.8vw, 22px);
}

.contact-aerial {
  width: 100%;
  aspect-ratio: 1506 / 605;
  object-fit: cover;
  border: 1px solid rgba(11, 11, 13, 0.08);
  box-shadow: 0 18px 52px rgba(11, 11, 13, 0.08);
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 38px);
  margin-top: clamp(36px, 6vw, 70px);
}

.contact-card {
  min-height: 230px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 32px 24px;
  text-align: center;
  background: #dce2f2;
}

.contact-card h2 {
  margin-bottom: 26px;
  color: var(--black);
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.05;
  text-transform: uppercase;
}

.contact-card p {
  margin: 12px 0 4px;
  color: var(--black);
  font-size: 18px;
}

.contact-card a {
  color: var(--black);
  font-size: 19px;
}

.contact-card a:hover {
  color: var(--sky-dark);
}

.contact-directions {
  padding: 0 0 76px;
  background: var(--white);
}

.directions-copy {
  margin-bottom: 30px;
}

.directions-copy h2 {
  color: var(--sky-dark);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
  text-transform: uppercase;
}

.directions-copy p:not(.section-kicker) {
  margin: 14px 0 0;
  color: var(--black);
  font-size: clamp(17px, 1.8vw, 21px);
}

.contact-map {
  width: 100%;
  min-height: 420px;
  background: var(--paper);
}

.contact-map iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: 0;
}

@media (max-width: 1080px) {
  .contact-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .contact-landing {
    padding: calc(var(--header-h) + 40px) 0 58px;
  }

  .contact-intro {
    margin-bottom: 26px;
  }

  .contact-intro h1 {
    font-size: clamp(36px, 12vw, 52px);
  }

  .contact-aerial {
    aspect-ratio: 1.35 / 1;
  }

  .contact-card-grid {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .contact-card {
    min-height: 210px;
    padding: 28px 20px;
  }

  .contact-card h2 {
    font-size: 25px;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 360px;
    height: 360px;
  }
}

/* Home hero compact pass. */
body[data-page="index"] .hero {
  min-height: clamp(580px, 72svh, 760px);
}

body[data-page="index"] .hero-inner {
  padding-top: calc(var(--header-h) + 34px);
  padding-bottom: 118px;
}

body[data-page="index"] .hero h1 {
  font-size: clamp(50px, 7.2vw, 88px);
}

body[data-page="index"] .hero-lead {
  max-width: 700px;
  margin-top: 18px;
  font-size: clamp(17px, 1.55vw, 21px);
}

body[data-page="index"] .hero-actions {
  margin-top: 24px;
}

body[data-page="index"] .hero-facts div {
  padding: 18px 20px;
}

body[data-page="index"] .hero-facts strong {
  font-size: clamp(23px, 2.5vw, 32px);
}

@media (max-width: 780px) {
  body[data-page="index"] .hero {
    min-height: 640px;
  }

  body[data-page="index"] .hero-inner {
    padding-top: calc(var(--header-h) + 34px);
    padding-bottom: 178px;
  }

  body[data-page="index"] .hero h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  body[data-page="index"] .hero-lead {
    margin-top: 16px;
    font-size: 17px;
  }

  body[data-page="index"] .hero-actions {
    margin-top: 22px;
  }
}

@media (max-width: 440px) {
  body[data-page="index"] .hero {
    min-height: 620px;
  }

  body[data-page="index"] .hero-inner {
    padding-top: calc(var(--header-h) + 28px);
    padding-bottom: 164px;
  }

  body[data-page="index"] .hero h1 {
    font-size: clamp(38px, 14vw, 52px);
  }
}

/* Contact page polish pass. */
.contact-card {
  position: relative;
  min-height: 236px;
  align-content: start;
  justify-items: stretch;
  padding: 34px 30px 30px;
  overflow: hidden;
  text-align: left;
  border: 1px solid rgba(0, 173, 239, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
  box-shadow: 0 18px 46px rgba(11, 11, 13, 0.08);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--sky), var(--sky-line));
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 173, 239, 0.34);
  box-shadow: 0 24px 58px rgba(11, 11, 13, 0.12);
}

.contact-card h2 {
  margin: 0 0 24px;
  color: var(--black);
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.08;
  text-transform: uppercase;
}

.contact-card h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 16px;
  background: var(--sky);
}

.contact-card p {
  margin: 18px 0 6px;
  color: var(--steel);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-card a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  color: var(--black);
  font-size: clamp(16px, 1.35vw, 18px);
  font-weight: 760;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  color: var(--sky-dark);
}

.contact-directions {
  padding-bottom: 88px;
}

.contact-map {
  width: min(var(--max), calc(100% - 36px));
  min-height: 430px;
  margin: 34px auto 0;
  overflow: hidden;
  border: 1px solid rgba(0, 173, 239, 0.18);
  background: var(--paper);
  box-shadow: 0 20px 58px rgba(11, 11, 13, 0.1);
}

.contact-map iframe {
  height: 430px;
}

@media (max-width: 780px) {
  .contact-card {
    min-height: 0;
    padding: 30px 24px 26px;
  }

  .contact-card h2 {
    font-size: 23px;
  }

  .contact-map {
    width: min(100% - 28px, var(--max));
    min-height: 360px;
    margin-top: 26px;
  }

  .contact-map iframe {
    height: 360px;
  }
}

