* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    font-family: Roboto;
    scroll-behavior: smooth;
}
html {
  overflow-x: hidden;
}

body {      
    width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Shared public navigation ------------------------------------------------ */
#header1 {
  --home-nav-opacity: 0.14;
  --home-nav-glass-opacity: 0.14;
  position: fixed !important;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 0 clamp(1rem, 4vw, 4.5rem);
  background: rgba(255, 255, 255, var(--home-nav-opacity));
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 8px 28px rgba(10, 18, 20, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

#header1::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.86) 20%, rgba(255, 255, 255, 0.86) 80%, transparent);
  pointer-events: none;
}

#header1::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: #B27713;
  opacity: 0;
  pointer-events: none;
}

#header1.is-opaque {
  border-bottom-color: rgba(178, 119, 19, 0.18);
  box-shadow: 0 4px 18px rgba(17, 24, 26, 0.08);
}

/* An administrator can keep the shared navigation solid from the first pixel. */
#header1.is-solid {
  background: #fff;
  border-bottom-color: rgba(178, 119, 19, 0.25);
  box-shadow: 0 4px 18px rgba(17, 24, 26, 0.08);
}

#header1.is-solid::before {
  display: none;
}

#header1.is-solid::after {
  opacity: 1;
}

#header1::after {
  opacity: var(--home-nav-opacity);
}

.home-navigation {
  width: min(100%, 1440px);
  min-height: 4.4rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.home-navigation__logo {
  display: block;
  width: clamp(10.1rem, 12.3vw, 12.5rem);
  height: auto;
  margin: 0;
  padding: 0;
}

#header1 .home-navigation__links,
#header1 .home-navigation__links .dropdown-toggle {
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.38);
  transition: color 180ms ease, text-shadow 180ms ease;
}

#header1.is-opaque .home-navigation__links,
#header1.is-opaque .home-navigation__links .dropdown-toggle {
  color: #4F595C;
  text-shadow: none;
}

#header1.is-solid .home-navigation__links,
#header1.is-solid .home-navigation__links .dropdown-toggle {
  color: #4F595C;
  text-shadow: none;
}

#header1 .home-navigation__menu .bar {
  background-color: #fff;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 0.3s ease-in-out;
}

#header1.is-opaque .home-navigation__menu .bar {
  background-color: #4F595C;
  box-shadow: none;
}

#header1.is-solid .home-navigation__menu .bar {
  background-color: #4F595C;
  box-shadow: none;
}

#header1 .home-navigation__mobile {
  top: 100%;
  right: 0;
  left: 0;
  width: min(100%, 36rem);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-top: 1px solid rgba(178, 119, 19, 0.35);
  border-bottom: 1px solid rgba(178, 119, 19, 0.5);
  border-radius: 0 0 0.75rem 0.75rem;
  box-shadow: 0 12px 24px rgba(17, 24, 26, 0.16);
}

body:not(.home-page) #main {
  padding-top: 4.4rem;
}

.home-hero__media-backdrop {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(10, 18, 20, var(--home-hero-backdrop-opacity, 0.36));
  pointer-events: none;
}

body:not(.home-page) #main-section {
  position: relative;
  overflow: hidden;
}

body:not(.home-page) #main-section > #main {
  position: relative;
  z-index: 2;
}

.public-hero__media-backdrop {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(10, 18, 20, var(--public-hero-backdrop-opacity, 0.36));
  pointer-events: none;
}

.home-hero__headline {
  position: relative;
  display: inline-block;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.42), 0 10px 36px rgba(0, 0, 0, 0.25);
}

.home-hero__accent {
  position: relative;
  display: inline-block;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.46), 0 5px 18px rgba(0, 0, 0, 0.5);
}

.home-about-section {
  margin-top: 0;
  padding-top: clamp(4rem, 6vw, 6rem);
  background: #F4F4F5;
}

/* Smaller laptop screens need breathing room after the full-screen hero and carousel. */
@media (min-width: 768px) and (max-width: 1366px) {
  .home-about-section {
    padding-top: clamp(6rem, 9vw, 8rem);
  }
}

.home-about-surface {
  overflow: hidden;
  padding: clamp(4rem, 7vw, 5.75rem) 1rem clamp(2rem, 4vw, 3.25rem);
  background: #F4F4F5;
}

.home-section-shell {
  width: min(100%, 1300px);
  margin: 0 auto;
}

.home-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.home-about-copy {
  max-width: 36rem;
  color: #4F595C;
}

.home-section-kicker {
  margin-bottom: 0.5rem;
  color: rgba(79, 89, 92, 0.74);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-section-intro {
  max-width: 34rem;
  color: #4F595C;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 500;
  line-height: 1.5;
}

.home-about-link {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  margin-top: 1.35rem;
  padding: 0.9rem 1.5rem;
  border: 1px solid #B27713;
  border-radius: 9999px;
  background: #B27713;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(178, 119, 19, 0.2);
  transition: background-color 160ms ease, border-color 160ms ease, gap 160ms ease, transform 160ms ease;
}

.home-about-link:hover {
  gap: 0.85rem;
  border-color: #946f24;
  background: #946f24;
  color: #fff;
  transform: translateY(-1px);
}

.home-about-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  gap: 0.9rem;
  padding-right: 1rem;
  align-items: center;
}

.home-about-gallery__tile {
  height: 9.5rem;
  overflow: hidden;
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 24px rgba(19, 26, 28, 0.22);
}

.home-about-gallery__tile--1 {
  transform: translateX(1.25rem);
}

.home-about-gallery__tile--2 {
  transform: translateX(1.25rem);
}

.home-about-gallery__tile--3 {
  transform: none;
}

.home-about-gallery__tile--4 {
  transform: none;
}

.home-about-gallery__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.home-about-gallery__tile:hover img {
  transform: scale(1.055);
}

.home-about-section .text-gray-600 .md\:border-r-2,
.home-about-section .text-gray-600 .border-b-2 {
  border-color: rgba(178, 119, 19, 0.28);
}

.home-about-section > .home-section-shell:last-child {
  width: 100%;
  background: #fff;
}

.home-metrics {
  padding: 1.5rem 0 0.75rem;
  background: #fff;
}

/* Home services: an integrated capability list rather than a portfolio grid. */
.home-services-section {
  padding: clamp(4rem, 7vw, 6.5rem) 1rem clamp(2.25rem, 3.5vw, 3.5rem);
  background: #fff;
  color: #4F595C;
}

.home-services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
}

.home-services-intro {
  max-width: 31rem;
}

.home-services-intro h1,
.home-projects-section__header h1,
.projects-discipline-section__header h1 {
  margin: 0;
  color: #B27713;
  font-size: clamp(2.4rem, 5vw, 5.5rem);
  font-weight: 700;
  line-height: 0.98;
}

.home-services-intro > p:not(.home-section-kicker),
.home-projects-section__header > p {
  margin-top: 0.95rem;
  color: #4F595C;
  font-size: clamp(1.06rem, 1.6vw, 1.28rem);
  font-weight: 500;
  line-height: 1.6;
}

.home-services-list {
  border-top: 1px solid rgba(79, 89, 92, 0.24);
}

.home-services-quote {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.25rem;
  padding: 0.72rem 1.05rem;
  border: 1px solid #B27713;
  border-radius: 999px;
  background: #B27713;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, border-color 160ms ease, gap 160ms ease, transform 160ms ease;
}

.home-services-quote:hover,
.home-services-quote:focus-visible {
  gap: 0.78rem;
  border-color: #946f24;
  background: #946f24;
  color: #fff;
  transform: translateY(-1px);
}

.home-service-item {
  display: grid;
  grid-template-columns: 2.65rem minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.78rem 0;
  border-bottom: 1px solid rgba(79, 89, 92, 0.2);
}

.home-service-item__icon {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid rgba(178, 119, 19, 0.42);
  border-radius: 50%;
  color: #B27713;
  font-size: 1rem;
}

.home-service-item__content h2 {
  color: #4F595C;
  font-size: clamp(1.12rem, 1.75vw, 1.42rem);
  font-weight: 700;
  line-height: 1.2;
}

.home-service-item__content p {
  max-width: 42rem;
  margin-top: 0.28rem;
  color: rgba(79, 89, 92, 0.88);
  font-size: 0.88rem;
  line-height: 1.36;
}

.home-service-item__link,
.project-discipline-card__link,
.home-projects-all__link,
.corporate-profile-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  text-decoration: none;
  transition: gap 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.home-service-item__link {
  margin-top: 0.3rem;
  color: #B27713;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-service-item__link:hover {
  gap: 0.85rem;
  color: #946f24;
}

/* Our Team: leadership copy and vision share one aligned card instead of
   competing columns, with a separate, editable staff grid below. */
.team-page {
  width: min(100% - 2rem, 82rem);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(2rem, 4vw, 3.5rem);
  color: #4F595C;
}

.team-page__intro {
  max-width: 48rem;
  padding-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.team-page__section-heading > p,
.team-leader-card__label {
  margin: 0;
  color: #B27713;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.team-page__intro h1 {
  margin: 0;
  color: #B27713;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  font-weight: 700;
  line-height: 0.98;
}

.team-page__intro > p:last-child {
  max-width: 44rem;
  margin: 1rem 0 0;
  font-size: clamp(1.02rem, 1.8vw, 1.25rem);
  font-weight: 500;
  line-height: 1.65;
}

.team-page__leadership {
  padding-top: clamp(1rem, 2vw, 1.75rem);
}

.team-page__members {
  padding-top: clamp(2.25rem, 4vw, 3.5rem);
  margin-top: clamp(3.75rem, 7vw, 6.5rem);
}

.team-page__section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 37rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.team-page__section-heading h2 {
  margin: 0;
  color: #4F595C;
  font-size: clamp(1.8rem, 3.3vw, 3.1rem);
  font-weight: 700;
  line-height: 1.08;
}

.team-leadership-list {
  display: grid;
  gap: 1.25rem;
}

.team-leader-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(79, 89, 92, 0.18);
  background: #fff;
}

.team-leader-card__profile,
.team-leader-card__vision {
  padding: clamp(1.5rem, 3vw, 2.75rem);
}

.team-leader-card__profile {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.team-leader-card__portrait {
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid rgba(178, 119, 19, 0.35);
  border-radius: 50%;
  object-fit: cover;
}

.team-leader-card h3,
.team-member-card h3 {
  margin: 0.25rem 0 0;
  color: #4F595C;
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.team-leader-card__role,
.team-member-card__role {
  margin: 0.4rem 0 0;
  color: #B27713;
  font-size: 0.92rem;
  font-weight: 700;
}

.team-leader-card__biography,
.team-leader-card__vision > p:last-child,
.team-member-card__content > p:last-child {
  margin: 0.45rem 0 0;
  font-size: 0.98rem;
  line-height: 1.65;
}

.team-leader-card__vision {
  align-content: start;
  border-top: 1px solid rgba(79, 89, 92, 0.15);
  background: #f4f6f5;
}

.team-leader-card__vision h4 {
  margin: 0.6rem 0 0;
  color: #B27713;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.25;
}

.team-member-grid {
  display: grid;
  gap: 1.25rem;
}

.team-member-card {
  display: grid;
  align-items: start;
  min-height: 100%;
  border: 1px solid rgba(79, 89, 92, 0.18);
  border-left: 3px solid #B27713;
  background: #fff;
  padding: clamp(1.35rem, 2.2vw, 1.8rem);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.team-member-card:hover {
  border-color: rgba(178, 119, 19, 0.5);
  box-shadow: 0 12px 26px rgba(19, 26, 28, 0.08);
  transform: translateY(-2px);
}

.team-member-card__content {
  display: grid;
  align-content: start;
  min-height: 100%;
}

.team-page__empty {
  margin: 0;
  color: #4F595C;
  font-size: 1rem;
}

/* Projects use image-led construction stories instead of generic filled cards. */
.home-projects-section {
  padding: clamp(2.5rem, 4vw, 4rem) 1rem clamp(4.5rem, 8vw, 7.5rem);
  background: #fff;
  color: #4F595C;
}

.projects-discipline-section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 1rem;
  background: #fff;
  color: #4F595C;
}

.home-projects-section__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3.75rem);
}

.home-projects-section__header > p {
  max-width: 34rem;
  margin-top: 0;
}

.projects-discipline-section__header {
  margin-bottom: clamp(2rem, 4vw, 3.75rem);
}

.project-discipline-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: clamp(2rem, 3vw, 3.5rem);
}

.project-discipline-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.project-discipline-card__image-link {
  display: block;
  color: inherit;
}

.project-discipline-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0.45rem;
  box-shadow: 0 18px 34px rgba(19, 26, 28, 0.18);
}

.project-discipline-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.project-discipline-card:hover .project-discipline-card__image img,
.project-discipline-card__image-link:focus-visible img {
  transform: scale(1.045);
}

.project-discipline-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  margin: 1.1rem 0 0;
  padding: 0.3rem 0 0.2rem 1.15rem;
  border-left: 2px solid #B27713;
}

.project-discipline-card__body h2 {
  color: #4F595C;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.2;
}

.project-discipline-card__body p {
  margin-top: 0.65rem;
  color: rgba(79, 89, 92, 0.9);
  font-size: 0.98rem;
  line-height: 1.62;
}

.project-discipline-card__link {
  padding: 0.72rem 1rem;
  border: 1px solid #B27713;
  border-radius: 999px;
  background: #B27713;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-discipline-card__link {
  margin-top: 1rem;
}

.project-discipline-card__link:hover,
.project-discipline-card__link:focus-visible,
.home-projects-all__link:hover,
.home-projects-all__link:focus-visible {
  gap: 0.8rem;
  border-color: #946f24;
  background: #946f24;
  color: #fff;
  transform: translateY(-1px);
}

.home-projects-all__link {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #B27713;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-projects-all__link:hover,
.home-projects-all__link:focus-visible {
  gap: 0.82rem;
  border-color: transparent;
  background: transparent;
  color: #946f24;
  transform: none;
}

.home-projects-all {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

/* A shared, conversion-focused corporate profile request panel. */
.corporate-profile-section {
  width: min(100% - 2rem, 1300px);
  margin: clamp(3.5rem, 6vw, 5.5rem) auto;
  color: #4F595C;
}

.corporate-profile-section__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(79, 89, 92, 0.16);
  border-top: 3px solid #B27713;
  background: #F4F4F5;
  box-shadow: none;
}

.corporate-profile-section__copy {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 4rem);
  background: #F4F4F5;
}

.corporate-profile-section__copy::before {
  width: 3.5rem;
  height: 0.22rem;
  margin-bottom: 1rem;
  background: #B27713;
  content: '';
}

.corporate-profile-section__eyebrow {
  margin-bottom: 0.75rem;
  color: #B27713;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.corporate-profile-section__copy h1 {
  max-width: 36rem;
  color: #4F595C;
  font-size: clamp(2rem, 3.5vw, 3.65rem);
  font-weight: 700;
  line-height: 1.04;
}

.corporate-profile-section__copy > p:not(.corporate-profile-section__eyebrow) {
  max-width: 38rem;
  margin-top: 0.8rem;
  color: rgba(79, 89, 92, 0.9);
  font-size: clamp(0.96rem, 1.3vw, 1.08rem);
  line-height: 1.55;
}

.corporate-profile-section__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 38rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(79, 89, 92, 0.2);
}

.corporate-profile-section__points li {
  border: 1px solid rgba(178, 119, 19, 0.36);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  color: #4F595C;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-transform: uppercase;
}

.corporate-profile-form {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 4rem);
  background: #fff;
  border-top: 1px solid rgba(79, 89, 92, 0.14);
}

.corporate-profile-form__heading {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1.6rem;
}

.corporate-profile-form__heading > span {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(178, 119, 19, 0.5);
  border-radius: 0.25rem;
  color: #B27713;
}

.corporate-profile-form h2 {
  color: #4F595C;
  font-size: 1.25rem;
  font-weight: 700;
}

.corporate-profile-form__heading p {
  margin-top: 0.25rem;
  color: rgba(79, 89, 92, 0.8);
  font-size: 0.9rem;
}

.corporate-profile-form__field {
  margin-bottom: 1rem;
}

.corporate-profile-form__field label {
  display: block;
  margin-bottom: 0.42rem;
  color: #4F595C;
  font-size: 0.86rem;
  font-weight: 700;
}

.corporate-profile-form__field input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(79, 89, 92, 0.36);
  padding: 0.62rem 0;
  color: #4F595C;
  font-size: 0.94rem;
  outline: none;
}

.corporate-profile-form__field input:focus {
  border-bottom-color: #B27713;
  box-shadow: 0 1px 0 #B27713;
}

.corporate-profile-form__submit {
  width: auto;
  min-width: 11.25rem;
  justify-content: center;
  margin-top: 0.55rem;
  border: 1px solid #B27713;
  border-radius: 999px;
  padding: 0.82rem 1.2rem;
  background: #B27713;
  color: #fff;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.corporate-profile-form__submit:hover,
.corporate-profile-form__submit:focus-visible {
  gap: 0.85rem;
  border-color: #946f24;
  background: #946f24;
  color: #fff;
  transform: translateY(-1px);
}

.projects-intro-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.2rem;
  padding: 0.78rem 1.25rem;
  border: 1px solid #B27713;
  border-radius: 999px;
  background: #B27713;
  color: #fff;
  font-family: "Ubuntu", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, gap 180ms ease, transform 180ms ease;
}

.projects-intro-quote span,
.projects-intro-quote svg {
  display: block;
  flex: 0 0 auto;
}

.projects-intro-quote svg {
  width: 0.95rem;
  height: 0.72rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.projects-intro-quote:hover,
.projects-intro-quote:focus-visible {
  gap: 0.95rem;
  border-color: #946f24;
  background: #946f24;
  color: #fff;
  transform: translateY(-1px);
}

/* Keep the inner-page heading centered without creating a tall hero band. */
body:not(.home-page) #main > .flex.justify-center.items-center {
  min-height: clamp(9.25rem, 13vw, 11.5rem);
  padding: 0.75rem 1rem;
}

body:not(.home-page) #main > .flex.justify-center.items-center > h1 {
  position: relative;
  display: inline-block;
  padding-top: 0.12em;
  margin-top: -0.12em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.48), 0 5px 18px rgba(19, 26, 28, 0.22);
}

@media (min-width: 768px) {
  .home-about-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 1.05fr);
    gap: clamp(1.75rem, 4vw, 3.75rem);
  }

  .home-about-gallery__tile {
    height: 10rem;
  }

  .home-services-layout {
    grid-template-columns: minmax(16rem, 0.82fr) minmax(0, 1.18fr);
  }

  .home-services-intro {
    position: sticky;
    top: 7rem;
  }

  .home-service-item {
    grid-template-columns: 2.9rem minmax(0, 1fr);
    gap: 0.95rem;
    padding: 0.8rem 0;
  }

  .home-service-item__icon {
    width: 2.9rem;
    height: 2.9rem;
    font-size: 1.1rem;
  }

  .team-leader-card {
    grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  }

  .team-leader-card__vision {
    border-top: 0;
    border-left: 1px solid rgba(79, 89, 92, 0.15);
  }

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

  .team-member-card {
    grid-template-columns: 1fr;
  }

  .home-projects-section__header {
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
    gap: 3rem;
  }

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

  .corporate-profile-section__panel {
    grid-template-columns: minmax(0, 1.08fr) minmax(24rem, 0.92fr);
  }

  .corporate-profile-form {
    border-top: 0;
    border-left: 1px solid rgba(79, 89, 92, 0.16);
    padding-right: clamp(2.5rem, 4vw, 4.5rem);
    padding-left: clamp(2.75rem, 4vw, 4.5rem);
  }
}

@media (max-width: 767px) {
  #header1 {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .home-navigation {
    min-height: 3.8rem;
  }

  .home-navigation__logo {
    width: 9.6rem;
  }

  body:not(.home-page) #main {
    padding-top: 3.8rem;
  }

  .home-about-gallery {
    width: 100%;
    margin-top: 1.25rem;
    gap: 0.65rem;
    padding-right: 0.5rem;
  }

  .home-about-gallery__tile {
    height: 7.25rem;
  }

  .home-about-gallery__tile--1,
  .home-about-gallery__tile--2,
  .home-about-gallery__tile--3,
  .home-about-gallery__tile--4 {
    transform: none;
  }
}

/* Video heroes must not turn the hero wrapper into a clipping container. */
#main-section:has(> video) {
  overflow: visible !important;
}

.dropdown-menu {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.dropdown-menu.show {
  opacity: 1;
  pointer-events: auto;
}


.cta {
    position: relative;
    margin: auto;
    padding: 15px 20px;
    transition: all 0.2s ease;
    border: none;
    background: none;
}
   
.cta:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 50px;
    background: #B27713;
    width: 65px;
    height: 65px;
    transition: all 0.3s ease;
}
   
.cta span {
    position: relative;
    font-family: "Ubuntu", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #4F595C;
}

.cta svg {
    position: relative;
    display: inline;
    top: 0;
    margin-left: 8px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #4F595C;
    stroke-width: 2;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.cta:hover:before {
    width: 100%;
    background: #B27713;
}

.cta:hover svg {
    transform: translateX(0);
    stroke: #fff;
}

.cta:hover span {
    color: #fff;
    transition: all 0.3s ease;
}

.cta:active {
    transform: scale(0.95);
}

.swiper-button-prev:after,
.swiper-button-next:after {
  color: #B27713;
  font-weight: bold;
}

/* Swiper loads after this stylesheet and otherwise restores its #007aff default. */
.swiper {
  --swiper-theme-color: #B27713;
  --swiper-navigation-color: #B27713;
}


.glass-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  box-shadow: 
    0 8px 32px 0 rgba(0, 0, 0, 0.1),
    0 2px 8px 0 rgba(0, 0, 0, 0.05),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 1px 0 rgba(255, 255, 255, 0.3);
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.glass-container {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 24px;
  border: 1.5px solid rgba(79, 89, 92, 0.3);
  box-shadow: 
    0 8px 32px 0 rgba(0, 0, 0, 0.08),
    0 2px 8px 0 rgba(0, 0, 0, 0.04),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 1px 0 rgba(79, 89, 92, 0.15);
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.glass-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6) 20%,
    rgba(255, 255, 255, 0.6) 80%,
    transparent
  );
  pointer-events: none;
  border-radius: 24px 24px 0 0;
}

.swiper-slide img {
  object-fit: cover;
  border-radius: 12px;
  border: 1.5px solid rgba(79, 89, 92, 0.25);
  position: relative;
}

.tagcloud {
    font-weight: bold;
    letter-spacing: 1px;
    font-family: 'Bebas Neue', cursive;
    font-size: 20px;
}
  
.tagcloud--item:hover {
    color: #4F595C;
    transition:all ease;
    cursor: pointer;
}



.cta2 svg {
    transform: translateX(-8px);
    transition: all 0.3s ease;
    fill: #4F595C;
    padding-left: 14px;
    transition: 0.3s ease-in;
  }
  
  .cta2:hover svg {
    transform: translateX(0);
    fill: #4F595C;
  }
  
  .cta2:active svg {
    transform: scale(0.9);
  }
  
  .hover-underline-animation2 {
    position: relative;
    color: #4F595C ;
    padding-bottom: 3px;
  }
  
  .hover-underline-animation2:after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #4F595C;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
  }
  
  .cta2:hover .hover-underline-animation2:after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }
  

.cta3 svg {
    transform: translateX(-8px);
    transition: all 0.3s ease;
    fill: #4F595C;
    padding-left: 14px;
    transition: 0.3s ease-in;
  }

  .cta3 span:hover {
    color: #B27713;
    transition: 0.1s ease-in;
  }
  
  .cta3:hover svg {
    transform: translateX(0);
    fill: #B27713;
  }
  
  .cta3:active svg {
    transform: scale(0.9);
  }
  
  .hover-underline-animation2 {
    position: relative;
    color: #4F595C ;
    padding-bottom: 3px;
  }
  
  .hover-underline-animation2:after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #B27713;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
  }
  
  .cta3:hover .hover-underline-animation2:after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }


#parallax {

    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
  
  
#parallax-text {
    position: relative;
    -webkit-text-stroke: 2px #f5b039;
    color: #fff;
    font-family: 'Vina Sans';
    white-space: nowrap;
    margin-top: -50px;
    z-index: 0;
    margin-left: -5000px;
}

.shape {
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background-color: #B27713;
}

.shape img {
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); 
}

.honeycomb-carousel-container {
  max-width: 100%;
  overflow: hidden;
}

.honeycomb-swiper {
  overflow: hidden;
}

.honeycomb-swiper .swiper-wrapper {
  align-items: center;
}

.honeycomb-swiper .swiper-slide {
  width: auto !important;
  height: auto;
  pointer-events: none;
}

.honeycomb-swiper .swiper-slide {
  pointer-events: none;
}

.honeycomb-swiper .swiper-slide * {
  pointer-events: none;
}

.project-overlay {
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  background-color: rgba(0, 0, 0, 0.6);
}

.project-overlay .project-content {
  top: 60%;
  left: 43%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}


.project-container img {
  transition: 0.2s ease-in;
}

.project-container:hover img {
  transform: scale(1.1);
}

.project-container:hover .project-overlay {
  opacity: 0.8;
}

.popup-link{
  display:flex;
  flex-wrap:wrap;
}

.popup-link a{
    background: #333;
    color: #fff;
    padding: 10px 30px;
    border-radius: 5px;
    font-size:17px;
    cursor:pointer;
    margin:20px;
    text-decoration:none;
}

.popup-container {
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    transform: scale(1.1);
    position: fixed; 
    z-index: 100;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(21, 17, 17, 0.61);
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    height: 90%;
    overflow-y: scroll;
}

.popup-content a.close{
    color: #aaaaaa;
    float: right;
    font-size: 36px;
    font-weight: bold;
    background: none;
    padding: 4px;
    padding-right: 6px;
    margin: 0;
    text-decoration:none;
}

.popup-content a.close:hover{
  color:#333;
}

.popup-content span:hover,
.popup-content span:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.popup-container:target{
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

.popup-container h3{
  margin:10px;
}

.swiper {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 300px;
  height: 300px;
}

.swiper-slide img {
  display: block;
  width: 100%;
}

#hamburgerMenu {
  cursor: pointer;
  background: none;
  border: none;
}

.bar {
  width: 28px;
  height: 2px;
  background-color: #4F595C;
  margin: 5px 0;
  transition: transform 0.3s ease-in-out;
}

#hamburgerMenu.open .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-10px, 6px);
}

#hamburgerMenu.open .bar:nth-child(2) {
  opacity: 0;
}

#hamburgerMenu.open .bar:nth-child(3) {
  transform: rotate(45deg) translate(-10px, -6px);
}
  
@media screen and (max-width: 900px) {
    .wrapper .carousel {
      grid-auto-columns: calc((100% / 2));
    }

    .cta {
      position: relative;
      margin: auto;
      padding: 10px 15px;
      transition: all 0.2s ease;
      border: none;
      background: none;
  }
     
  .cta:before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      display: block;
      border-radius: 50px;
      background: #B27713;
      width: 45px;
      height: 45px;
      transition: all 0.3s ease;
  }
     
  .cta span {
      position: relative;
      font-family: "Ubuntu", sans-serif;
      font-size: 18px;
      font-weight: 700;
      letter-spacing: 0.05em;
      color: #4F595C;
  }
  
  .cta svg {
      position: relative;
      display: inline;
      top: 0;
      margin-left: 6px;
      fill: none;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke: #4F595C;
      stroke-width: 2;
      transform: translateX(-5px);
      transition: all 0.3s ease;
  }
  
  .cta:hover:before {
      width: 100%;
      background: #B27713;
  }
  
  .cta:hover svg {
      transform: translateX(0);
      stroke: #fff;
  }
  
  .cta:hover span {
      color: #fff;
      transition: all 0.3s ease;
  }
  
  .cta:active {
      transform: scale(0.95);
  }

}
  
@media screen and (max-width: 600px) {
    .wrapper .carousel {
      grid-auto-columns: 100%;
    }
}
