:root {
  --blue: #0078bf;
  --blue-dark: #046db6;
  --navy: #07243a;
  --ink: #1a1919;
  --charcoal: #151515;
  --line: #d8dfe4;
  --yellow: #f4c400;
  --green: #00a63f;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Mobile safety net: never allow sideways scroll on small screens. */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.4;
}

/* Lock background scroll while the mobile drawer is open. */
body.menu-locked {
  overflow: hidden;
}

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

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

/* Keep embedded media (maps, video) inside the viewport on mobile. */
iframe,
video,
embed,
object {
  max-width: 100%;
}

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

.uefam-pg {
  min-height: 100vh;
  background: #fff;
  overflow: hidden;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 118px;
  padding: 24px 52px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 34px;
  color: #fff;
  transition: background 240ms ease, height 240ms ease, padding 240ms ease;
}

.site-header.is-scrolled {
  height: 86px;
  padding-top: 16px;
  background: rgba(5, 27, 44, 0.92);
  backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 290px;
}

.brand-mark {
  width: 64px;
  height: 74px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: Syncopate, sans-serif;
  font-weight: 700;
  font-size: 35px;
  line-height: 1;
  border: 5px solid currentColor;
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}

.brand-copy {
  display: grid;
  gap: 1px;
  padding-top: 4px;
}

.brand-name {
  font-family: Syncopate, sans-serif;
  font-size: 23px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.brand-sub {
  font-family: Syncopate, sans-serif;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  padding-top: 10px;
  width: 100%;
}

.nav-link,
.header-pill {
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  color: #fff;
  font-family: Syncopate, sans-serif;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.nav-link:hover {
  color: #a9dcff;
}

.header-pill {
  height: 24px;
  margin-left: 10px;
  padding: 0 16px 1px;
  background: var(--blue);
  border-radius: 3px;
  gap: 8px;
}

.header-pill::after,
.button-arrow::after {
  content: ">";
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 10px;
  line-height: 1;
}

.header-pill:hover {
  background: #028bd8;
  transform: translateY(-1px);
}

.user-lines {
  width: 54px;
  height: 40px;
  margin-left: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-left: 3px solid #fff;
  border-right: 3px solid #fff;
}

.user-lines::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 15px 0 -8px #fff;
}

.menu-button {
  display: none;
}

.mobile-menu {
  display: none;
}

/* Injected by site.js; only ever visible inside the mobile media query. */
.menu-overlay {
  display: none;
}

.menu-close {
  display: none;
}

.hero {
  position: relative;
  min-height: 740px;
  color: #fff;
  background: #101010;
}

.hero.is-inner {
  min-height: 650px;
}

.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 620ms ease, transform 2200ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.25) 42%, rgba(0, 0, 0, 0.18)),
    linear-gradient(180deg, rgba(0, 26, 43, 0.28), rgba(0, 0, 0, 0.26));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1290px, calc(100% - 80px));
  margin: 0 auto;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 106px;
}

.home-hero .hero-content {
  align-items: flex-start;
}

.inner-hero .hero-content {
  align-items: center;
  text-align: center;
}

.hero-kicker {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.86);
  font-family: Syncopate, sans-serif;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-family: Syncopate, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(46px, 5.6vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
  color: #fff;
}

.hero-title .outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.9);
  text-stroke: 2px rgba(255, 255, 255, 0.9);
}

.hero-title .solid {
  display: block;
}

.hero-copy {
  width: min(570px, 100%);
  margin: 24px 0 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.34);
}

.inner-hero .hero-copy {
  margin-left: auto;
  margin-right: auto;
}

.hero-tabs {
  display: flex;
  justify-content: center;
  gap: clamp(36px, 8vw, 130px);
  width: 100%;
  margin-top: 110px;
  font-family: Syncopate, sans-serif;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-tabs a {
  color: #fff;
  padding-bottom: 8px;
  border-bottom: 2px solid transparent;
}

.hero-tabs a:hover {
  border-bottom-color: #fff;
}

.hero-controls {
  position: absolute;
  z-index: 4;
  right: 96px;
  bottom: 56px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.slide-button,
.slide-dot {
  border: 0;
  cursor: pointer;
  color: #fff;
}

.slide-button {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  font-family: Syncopate, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.slide-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.slide-dot.is-active {
  background: var(--blue);
}

.hero-break {
  position: relative;
  height: 11px;
  background: linear-gradient(90deg, var(--blue) calc(50% - 13px), var(--yellow) calc(50% - 13px), var(--yellow) calc(50% + 13px), var(--blue) calc(50% + 13px));
}

.hero-break::after {
  content: "↓";
  position: absolute;
  left: 50%;
  top: -20px;
  transform: translateX(-50%);
  width: 68px;
  height: 51px;
  display: grid;
  place-items: center;
  background: #141414;
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  font-family: Syncopate, sans-serif;
  font-weight: 700;
  font-size: 20px;
}

.band {
  width: min(1290px, calc(100% - 96px));
  margin: 0 auto;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 70px 0 82px;
}

.stat-card {
  min-height: 255px;
  padding: 0 34px 0 0;
  border-right: 1px solid var(--line);
}

.stat-card + .stat-card {
  padding-left: 34px;
}

.stat-card:last-child {
  border-right: 0;
}

.stat-big {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-family: Syncopate, sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 3vw, 54px);
  line-height: 1;
  text-transform: uppercase;
}

.stat-label {
  display: block;
  color: var(--blue);
  font-family: Syncopate, sans-serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
}

.blue-bullet {
  position: relative;
  padding-left: 19px;
}

.blue-bullet::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--blue);
}

.mini-text {
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.45;
}

.button-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 22px;
  margin-top: 16px;
  padding: 4px 13px 3px;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-family: Syncopate, sans-serif;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 160ms ease, transform 160ms ease;
}

.button-arrow:hover {
  background: #0391df;
  transform: translateY(-1px);
}

.corridor-band {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 70px;
  padding: 20px 0 82px;
}

.corridor-map {
  position: relative;
  min-height: 270px;
}

.map-shape {
  position: absolute;
  inset: 22px 40px 20px 0;
  background: linear-gradient(135deg, #bfe4fb 0 26%, #1492d2 26% 38%, #046db6 38% 58%, #59b5e3 58% 78%, #d5eefc 78%);
  clip-path: polygon(4% 58%, 18% 39%, 30% 46%, 48% 21%, 64% 29%, 83% 12%, 98% 36%, 79% 54%, 91% 73%, 65% 68%, 51% 91%, 34% 74%, 15% 86%);
  opacity: 0.95;
}

.map-label {
  position: absolute;
  color: var(--blue);
  font-family: Syncopate, sans-serif;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
}

.map-label:nth-child(2) {
  left: 22px;
  bottom: 22px;
}

.map-label:nth-child(3) {
  left: 180px;
  top: 34px;
}

.map-label:nth-child(4) {
  right: 34px;
  bottom: 58px;
}

.corridor-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 28px;
  color: #0c7ec1;
  font-family: Syncopate, sans-serif;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.corridor-logos span {
  display: block;
  color: #1693d1;
  font-size: 10px;
}

.section-title {
  margin: 0 0 34px;
  color: var(--blue);
  font-family: Syncopate, sans-serif;
  font-size: clamp(28px, 3.3vw, 48px);
  line-height: 1.05;
  font-weight: 700;
  text-transform: uppercase;
}

.work-panel {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 470px;
  margin-bottom: 74px;
}

.work-filters {
  padding: 42px 30px;
  background: #fff;
}

.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 27px;
  padding: 0 3px;
  color: #232323;
  font-size: 13px;
  border-bottom: 1px solid #e3e7ea;
}

.filter-row::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border: 1px solid #c2ccd2;
  border-radius: 50%;
  color: #5a6770;
  font-size: 11px;
}

.filter-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  background: var(--blue);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #171717;
  padding: 1px;
}

.work-card {
  position: relative;
  min-height: 234px;
  overflow: hidden;
  background: #171717;
  color: #fff;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
  filter: saturate(0.88);
  transform: scale(1.01);
  transition: transform 320ms ease, opacity 320ms ease;
}

.work-card:hover img {
  opacity: 0.95;
  transform: scale(1.045);
}

.work-card span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 17px;
  font-family: Syncopate, sans-serif;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 700;
  text-transform: uppercase;
}

.split-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.split-cta img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.split-copy {
  background: var(--blue);
  color: #fff;
  padding: 72px min(7vw, 96px);
}

.split-copy h2 {
  margin: 0 0 22px;
  color: #fff;
  font-family: Syncopate, sans-serif;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.03;
  font-weight: 700;
  text-transform: uppercase;
}

.split-copy p {
  max-width: 500px;
}

.logo-cloud {
  padding: 82px 0 78px;
  text-align: center;
}

.logo-cloud .section-title {
  margin-bottom: 52px;
  color: var(--blue);
}

.wordmarks {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 34px;
  align-items: center;
}

.wordmark {
  min-height: 42px;
  display: grid;
  place-items: center;
  color: #222;
  font-family: Syncopate, sans-serif;
  font-size: 14px;
  line-height: 1.18;
  font-weight: 700;
  text-transform: uppercase;
}

.dark-feature {
  background: #171717;
  color: #fff;
  padding: 86px 0 96px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 0.98fr 1fr;
  gap: 88px;
  align-items: center;
}

.feature-grid img {
  width: 100%;
  aspect-ratio: 1.38;
  object-fit: cover;
}

.dark-feature .section-title {
  color: #fff;
  margin-bottom: 42px;
}

.feature-copy h3 {
  margin: 0 0 16px;
  color: #fff;
  font-family: Syncopate, sans-serif;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 700;
  text-transform: uppercase;
}

.resource-band {
  padding: 86px 0 110px;
}

.resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.resource-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}

.resource-card {
  border-top: 1px solid #dde3e7;
  padding-top: 20px;
}

.resource-card h3,
.feed-card h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-family: Syncopate, sans-serif;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
}

.resource-card p,
.feed-card p {
  margin: 0;
  font-size: 16px;
}

.feed-card {
  border: 1px solid #dde3e7;
  padding: 22px 24px;
  margin-bottom: 18px;
}

.blue-footer {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 410px;
  margin-top: 30px;
  background: var(--blue);
}

.blue-footer .footer-copy {
  padding: 78px min(8vw, 96px);
  color: #fff;
}

.blue-footer h2 {
  margin: 0 0 24px;
  color: #fff;
  font-family: Syncopate, sans-serif;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.04;
  font-weight: 700;
  text-transform: uppercase;
}

.blue-footer p {
  max-width: 450px;
}

.blue-footer img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
}

.footer-main {
  padding: 0 min(6vw, 88px) 54px;
  background: #fff;
}

.footer-addresses {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 70px;
  padding: 58px 0 56px;
}

.footer-address h3,
.footer-column h3 {
  margin: 0 0 15px;
  color: var(--blue);
  font-family: Syncopate, sans-serif;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-address p,
.footer-column p,
.footer-column a {
  margin: 0;
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #dfe4e7;
  border-bottom: 1px solid #dfe4e7;
}

.footer-column {
  min-height: 260px;
  padding: 52px 42px;
  border-left: 1px solid #dfe4e7;
}

.footer-column:first-child {
  border-left: 0;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.social-row span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 2px solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  font-family: Syncopate, sans-serif;
  font-size: 9px;
  font-weight: 700;
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 38px;
  font-size: 13px;
}

.content-section {
  padding: 88px 0;
}

.content-section.blue {
  width: 100%;
  padding: 92px min(8vw, 120px);
  background: var(--blue);
  color: #fff;
  text-align: center;
}

.content-section.blue .section-title {
  color: #fff;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 82px;
  align-items: center;
  border-bottom: 1px solid #cfd8de;
  padding-bottom: 82px;
  margin-bottom: 82px;
}

.two-column:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.two-column.reverse {
  grid-template-columns: 0.92fr 1fr;
}

.two-column.reverse .copy {
  order: 2;
}

.two-column.reverse .image-frame {
  order: 1;
}

.copy h2,
.copy h3 {
  margin: 0 0 24px;
  color: var(--blue);
  font-family: Syncopate, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.08;
}

.copy h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.copy h3 {
  font-size: 24px;
}

.copy p {
  margin: 0 0 18px;
}

.image-frame img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
}

.bullet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 72px;
  margin-top: 40px;
}

.bullet-item {
  color: var(--blue);
  font-family: Syncopate, sans-serif;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
}

.about-statement {
  display: grid;
  grid-template-columns: 0.78fr 1.3fr;
  gap: 70px;
  align-items: center;
  min-height: 520px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88)),
    var(--statement-image);
  background-size: cover;
  background-position: center;
}

.outline-word {
  color: transparent;
  -webkit-text-stroke: 2px #8fc8eb;
  text-stroke: 2px #8fc8eb;
  font-family: Syncopate, sans-serif;
  font-size: clamp(88px, 14vw, 190px);
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.value-band {
  background: var(--blue);
  color: #fff;
  padding: 98px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 42px;
  text-align: center;
}

.value-item h3 {
  margin: 0 0 13px;
  font-family: Syncopate, sans-serif;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
}

.value-icon {
  width: 72px;
  height: 82px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--blue);
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  font-family: Syncopate, sans-serif;
  font-size: 21px;
  font-weight: 700;
}

.quote-slot {
  padding: 84px 0;
  text-align: center;
}

.quote-slot p {
  margin: 0 auto 26px;
  width: min(760px, 100%);
  color: var(--blue);
  font-family: Syncopate, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
}

.link-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.link-split a {
  position: relative;
  min-height: 150px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  font-family: Syncopate, sans-serif;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
}

.link-split img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.85);
  transition: transform 260ms ease;
}

.link-split span {
  position: relative;
  z-index: 1;
}

.link-split a:hover img {
  transform: scale(1.05);
}

.index-intro {
  padding: 76px 0 34px;
}

.index-intro p {
  max-width: 760px;
  margin: 0;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 34px 0 96px;
}

.listing-card {
  display: grid;
  grid-template-rows: 190px 1fr;
  min-height: 390px;
  border: 1px solid #dfe5e9;
  background: #fff;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(0, 43, 72, 0.14);
}

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

.listing-card-copy {
  padding: 26px 28px 30px;
}

.listing-card h2 {
  margin: 0 0 16px;
  color: var(--blue);
  font-family: Syncopate, sans-serif;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
}

.listing-card p {
  margin: 0;
  font-size: 16px;
}

.detail-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 76px;
  align-items: start;
}

.side-panel {
  position: sticky;
  top: 110px;
  border-left: 1px solid #dfe5e9;
  padding-left: 34px;
}

.side-panel h3 {
  margin: 0 0 16px;
  color: var(--blue);
  font-family: Syncopate, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.side-panel a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid #e6ecef;
  color: var(--ink);
  font-size: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 0.9fr;
  gap: 112px;
  align-items: start;
  padding: 92px 0 170px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 56px;
  border: 1px solid #97a8b5;
  padding: 12px 16px;
  background: #fff;
  color: var(--ink);
  border-radius: 0;
}

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

.send-button {
  grid-column: 1 / -1;
  height: 56px;
  border: 0;
  background: var(--blue);
  color: #fff;
  font-family: Syncopate, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(2% 0, 98% 0, 100% 50%, 98% 100%, 2% 100%, 0 50%);
}

.location-card h2 {
  margin: 0 0 40px;
  color: var(--blue);
  font-family: Syncopate, sans-serif;
  font-size: 36px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.location-card h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: Syncopate, sans-serif;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.location-card p {
  margin: 0 0 36px;
  font-size: 22px;
  line-height: 1.32;
}

.mobile-only {
  display: none;
}

@media (max-width: 1024px) {
  .site-header {
    height: 70px;
    padding: 11px 16px;
    align-items: center;
  }

  .site-header.is-scrolled {
    height: 70px;
    padding-top: 11px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand-mark {
    width: 37px;
    height: 43px;
    border-width: 3px;
    font-size: 20px;
  }

  .brand-name {
    font-size: 13px;
  }

  .brand-sub {
    font-size: 6px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    gap: 4px;
    border: 0;
    border-radius: 4px;
    background: var(--blue);
    color: #fff;
    cursor: pointer;
  }

  .menu-button span,
  .menu-button::before,
  .menu-button::after {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
  }

  /* Dimmed backdrop behind the open drawer (tap to close). */
  .menu-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 44;
    background: rgba(4, 16, 28, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms ease, visibility 220ms ease;
  }

  .menu-open .menu-overlay {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 46;
    width: min(86vw, 340px);
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 78px 22px 28px;
    background: rgba(5, 27, 44, 0.98);
    box-shadow: -18px 0 48px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(110%);
    transition: transform 240ms ease;
  }

  .menu-open .mobile-menu {
    transform: translateX(0);
  }

  /* Clearly visible close (X) control, top-right of the drawer. */
  .menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
  }

  .menu-close:hover,
  .menu-close:focus {
    background: var(--blue);
  }

  .mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 14px 4px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-family: Syncopate, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .mobile-menu a:last-child {
    margin-top: 8px;
    border-bottom: 0;
  }

  .hero {
    min-height: 0;
    padding-top: 0;
  }

  .home-hero {
    background: #171717;
  }

  .home-hero .hero-slides {
    position: relative;
    height: 255px;
  }

  .inner-hero .hero-slides {
    position: absolute;
  }

  .inner-hero {
    min-height: 420px;
  }

  .home-hero::after {
    inset: 0 0 auto;
    height: 255px;
  }

  .inner-hero::after {
    inset: 0;
  }

  .hero-content {
    width: 100%;
    padding: 0;
    min-height: 0;
  }

  .home-hero .hero-content {
    display: block;
    background: #171717;
    padding: 28px 20px 36px;
    text-align: center;
  }

  .inner-hero .hero-content {
    min-height: 420px;
    width: min(100% - 36px, 700px);
    padding-top: 84px;
  }

  .hero-kicker {
    font-size: 10px;
  }

  .hero-title {
    font-size: clamp(28px, 7vw, 44px);
  }

  .hero-title .outline {
    -webkit-text-stroke-width: 1px;
    text-stroke-width: 1px;
  }

  .hero-copy {
    margin: 16px auto 0;
    font-size: 15px;
  }

  .hero-tabs {
    flex-wrap: wrap;
    gap: 18px 26px;
    margin-top: 46px;
    font-size: 10px;
  }

  .hero-controls {
    top: 154px;
    right: 18px;
    bottom: auto;
  }

  .band {
    width: min(100% - 40px, 760px);
  }

  .stats-band {
    grid-template-columns: 1fr;
    padding: 38px 0 42px;
  }

  .stat-card,
  .stat-card + .stat-card {
    min-height: 0;
    padding: 22px 0 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .corridor-band,
  .feature-grid,
  .resource-grid,
  .split-cta,
  .blue-footer,
  .contact-grid,
  .detail-panel,
  .about-statement,
  .link-split {
    grid-template-columns: 1fr;
  }

  .corridor-band {
    gap: 28px;
    padding-bottom: 46px;
  }

  .corridor-map {
    min-height: 210px;
  }

  .corridor-logos {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-title {
    text-align: center;
  }

  .work-panel {
    display: block;
    min-height: 0;
  }

  .work-filters {
    display: none;
  }

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

  .work-card {
    min-height: 142px;
  }

  .work-card span {
    left: 10px;
    right: 10px;
    bottom: 10px;
    font-size: 10px;
  }

  .split-cta img,
  .blue-footer img {
    min-height: 230px;
  }

  .split-copy,
  .blue-footer .footer-copy {
    padding: 42px 28px;
  }

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

  .resource-list,
  .listing-grid,
  .bullet-grid,
  .values-grid,
  .footer-addresses,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-column {
    min-height: 0;
    padding: 30px 0;
    border-left: 0;
    border-bottom: 1px solid #dfe4e7;
  }

  .copyright {
    display: block;
  }

  .content-section {
    padding: 56px 0;
  }

  .two-column,
  .two-column.reverse {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 50px;
    margin-bottom: 50px;
  }

  .two-column.reverse .copy,
  .two-column.reverse .image-frame {
    order: initial;
  }

  .outline-word {
    display: none;
  }

  .listing-card {
    min-height: 0;
  }

  .side-panel {
    position: static;
    border-left: 0;
    padding-left: 0;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .mobile-only {
    display: block;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .brand-copy {
    max-width: 190px;
  }

  .hero-break {
    height: 8px;
  }

  .hero-break::after {
    width: 54px;
    height: 42px;
    top: -16px;
  }

  .stat-big {
    font-size: 32px;
  }

  .section-title {
    font-size: 24px;
  }

  .work-grid {
    gap: 10px;
    background: #fff;
    padding: 0;
  }

  .work-card {
    min-height: 154px;
  }

  .listing-card {
    grid-template-rows: 172px 1fr;
  }

  .listing-card img {
    height: 172px;
  }

  .footer-main {
    padding-left: 24px;
    padding-right: 24px;
  }

  .location-card h2 {
    font-size: 28px;
  }
}

/* ============================================================
   Explicit phone breakpoint (<=768px): reinforce stacking,
   tap-target sizing, and readable type on the themed pages.
   The hamburger + desktop-nav swap already happens at 1024px,
   restated here so the burger is guaranteed shown and the
   desktop nav hidden at phone widths.
   ============================================================ */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  body {
    font-size: 16px;
    line-height: 1.5;
  }

  /* Stack every multi-column layout to a single column. */
  .stats-band,
  .corridor-band,
  .feature-grid,
  .resource-grid,
  .resource-list,
  .listing-grid,
  .bullet-grid,
  .values-grid,
  .split-cta,
  .blue-footer,
  .contact-grid,
  .contact-form,
  .detail-panel,
  .about-statement,
  .link-split,
  .two-column,
  .two-column.reverse,
  .footer-addresses,
  .footer-links,
  .corridor-logos {
    grid-template-columns: 1fr;
  }

  /* Dense card decks may keep two columns; keep gaps sane. */
  .work-grid,
  .wordmarks {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Comfortable horizontal padding so content isn't edge-jammed. */
  .band {
    width: min(100% - 36px, 760px);
  }

  .footer-main {
    padding-left: 20px;
    padding-right: 20px;
  }

  .content-section {
    padding: 44px 0;
  }

  .contact-grid {
    gap: 36px;
    padding: 64px 0 90px;
  }

  /* Fluid hero headings so they never overflow. */
  .hero-title {
    font-size: clamp(26px, 7vw, 42px);
  }

  .hero-copy {
    font-size: 15px;
  }

  /* Tap targets: buttons, pills, nav + form controls >= 44px. */
  .button-arrow,
  .send-button,
  .header-pill,
  .hero-tabs a {
    min-height: 44px;
  }

  .send-button {
    height: 52px;
    width: 100%;
  }

  .uefam-h-contact-form input,
  .uefam-h-contact-form select,
  .uefam-h-contact-form textarea,
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    min-height: 48px;
    font-size: 16px; /* prevents iOS zoom-on-focus */
  }

  .uefam-h-contact-form textarea,
  .contact-form textarea {
    min-height: 130px;
  }

  /* Keep maps and embeds inside the viewport. */
  .uefam-h-contact-map,
  .uefam-h-footer-map {
    width: 100%;
  }
}

/* ============================================================
   Old-theme location stubs (locations__*-wa.html) use a separate
   .main-nav / .nav-links markup with a native <select.mobile-menu>.
   site.css carries no layout for them, so here we give them just
   enough to be mobile-safe: hide the inline link row on phones,
   surface the native select as a tappable menu, and stack content.
   ============================================================ */
.site-shell .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-shell select.mobile-menu {
  display: none;
}

@media (max-width: 900px) {
  .site-shell .nav-links {
    display: none;
  }

  .site-shell select.mobile-menu {
    display: block;
    width: 100%;
    max-width: 320px;
    min-height: 46px;
    margin-left: auto;
    padding: 10px 14px;
    font-size: 16px;
    border: 1px solid #97a8b5;
    border-radius: 4px;
    background: #fff;
    color: var(--ink);
  }

  .site-shell .content-grid,
  .site-shell .footer-grid,
  .site-shell .consult-inner {
    display: block;
  }

  .site-shell .side-panel {
    margin-top: 28px;
  }

  .site-shell .wrap,
  .site-shell .nav-inner,
  .site-shell .footer-grid,
  .site-shell .consult-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-shell .inner-hero h1 {
    font-size: clamp(26px, 7vw, 40px);
  }
}

/* === BRAND-LOGO-IMG (white mono logo on dark header) === */
.brand {
  gap: 0;
  align-items: center;
}
.brand .brand-logo {
  height: 40px;
  width: auto;
  max-width: 320px;
  display: block;
}
@media (max-width: 760px) {
  .brand .brand-logo {
    height: 32px;
  }
}
