body
{
	--bannerHeight:calc(100vh - 400px);
}


p {
    margin:0;
}

header.start {
	background-color:#156BA8;
	mix-blend-mode:unset;
}


/* Banner Section */

section.banner::before {
    content: "";
    position: absolute;
    z-index: -4;
    inset: -200px -4% -4%;
    background-image: url("/Assets/Images/team.jpg");
    background-position:top center;
    background-size: cover;
    animation: hero-push 16s ease-out both;
}

/* End: Banner Section */


#content > .floater {
    width:80%;
    margin:0 auto;
}

/* =========================================================
   McMurry Construction — About and Team Sections
   Styles are namespaced with "mcm-about" and "mcm-team"
   ========================================================= */

.mcm-about,
.mcm-team {
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

.mcm-about {
  position: relative;
  margin-bottom:clamp(4rem, 8vw, 7rem);
  padding-top:clamp(4rem, 8vw, 7rem);
}

.mcm-about,
.mcm-about *,
.mcm-about *::before,
.mcm-about *::after,
.mcm-team,
.mcm-team *,
.mcm-team *::before,
.mcm-team *::after {
  box-sizing: border-box;
}

.mcm-about__title,
.mcm-about__highlight strong,
.mcm-about__card h2,
.mcm-about__relationships h2,
.mcm-about__closing h2,
.mcm-about__statement,
.mcm-team__title,
.mcm-team__division-title {
  font-family: Georgia, "Times New Roman", serif;
}

.mcm-about__title,
.mcm-about__highlight strong,
.mcm-about__card h2,
.mcm-about__relationships h2,
.mcm-about__closing h2,
.mcm-team__title,
.mcm-team__division-title {
  font-weight: 500;
}

/* Header
   ========================================================= */

.mcm-about__header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.mcm-about__eyebrow,
.mcm-team__eyebrow {
  color: var(--theme1-main-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.mcm-about__eyebrow {
  margin: 0 0 1rem;
}


/* Information cards
   ========================================================= */

.mcm-about__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.mcm-about__card {
  position: relative;
  min-height: 100%;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--theme1-main-border);
  background:#FFF;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.mcm-about__card:hover {
  border-color: var(--theme1-compliment-accent);
  box-shadow: 0 20px 45px rgb(20 34 47 / 9%);
  transform: translateY(-4px);
}

.mcm-about__number {
  display: block;
  margin-bottom: 2rem;
  color: var(--theme1-main-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.mcm-about__card h2 {
  max-width: 470px;
  margin: 0 0 1.5rem;
  color: var(--theme1-compliment);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
}

.mcm-about__card p {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.8;
}

.mcm-about__card p + p {
  margin-top: 1.15rem;
}

/* Relationships section
   ========================================================= */

.mcm-about__relationships {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
  margin-bottom: clamp(4rem, 8vw, 7rem);
  padding: clamp(2.5rem, 6vw, 5rem);
  background: var(--theme1-secondary);
}

.mcm-about__relationships-heading {
  position: sticky;
  top: 2rem;
}

.mcm-about__relationships h2 {
  margin: 0;
  color: var(--theme1-compliment);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.mcm-about__relationships-copy {
  padding-top: 0.1rem;
}

.mcm-about__relationships-copy p {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.85;
}

.mcm-about__relationships-copy p:first-child {
  color: var(--theme1-compliment);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.55;
}

.mcm-about__relationships-copy p + p {
  margin-top: 1.25rem;
}

/* Closing section
   ========================================================= */

.mcm-about__closing {
  position: relative;
  overflow: hidden;
  margin-bottom:clamp(4rem, 8vw, 7rem);
  padding: clamp(3rem, 7vw, 6rem);
  background: var(--theme1-compliment);
  color:#FFF;
}

.mcm-about__closing::after {
  position: absolute;
  right: -110px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 50%;
  content: "";
}

.mcm-about__closing-content {
  position: relative;
  z-index: 1;
}

.mcm-about__closing h2 {
  margin: 0 0 1.75rem;
  color:#FFF;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.mcm-about__closing p {
  margin: 0;
  color: rgb(255 255 255 / 82%);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.85;
}

.mcm-about__closing p + p {
  margin-top: 1.25rem;
}

.mcm-about__closing .mcm-about__eyebrow {
  color: var(--theme1-compliment-accent);
}

.mcm-about__statement {
  margin-top: 2.5rem !important;
  padding-top: 1.75rem;
  border-top: 1px solid rgb(255 255 255 / 20%);
  color:#FFF !important;
  font-size: clamp(1.15rem, 2vw, 1.45rem) !important;
  font-style: italic;
  line-height: 1.6 !important;
}

/* Responsive layout
   ========================================================= */

@media (max-width: 850px) {
  .mcm-about__intro,
  .mcm-about__grid,
  .mcm-about__relationships {
    grid-template-columns: 1fr;
  }

  .mcm-about__relationships-heading {
    position: static;
  }
}

@media (max-width: 650px) {
  .mcm-about {
    padding-inline: 1rem;
  }

  .mcm-about__highlights {
    grid-template-columns: 1fr;
  }

  .mcm-about__highlight {
    min-height: 125px;
    padding-inline: 0.5rem;
  }

  .mcm-about__highlight + .mcm-about__highlight {
    border-top: 1px solid var(--theme1-main-border);
    border-left: 0;
  }

  .mcm-about__card,
  .mcm-about__relationships,
  .mcm-about__closing {
    padding: 2rem 1.4rem;
  }

  .mcm-about__card:hover {
    box-shadow: none;
    transform: none;
  }
}

.mcm-team {
  padding: clamp(4rem, 8vw, 7rem) 6rem;
  background: var(--theme1-secondary);
}

.mcm-team__header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.mcm-team__eyebrow {
  margin: 0 0 0.8rem;
}

.mcm-team__title {
  margin: 0;
  color: var(--theme1-compliment);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

.mcm-team__intro {
  margin: 1.4rem 0 0;
  color: var(--textMuted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.75;
}

/* Office and Field are intentionally separate panels. */
.mcm-team__division {
  overflow: hidden;
  border: 1px solid var(--theme1-main-border);
  border-top: 4px solid var(--theme1-main-accent);
  background:#FFF;
  box-shadow: 0 18px 50px rgb(16 28 40 / 7%);
}

.mcm-team__division + .mcm-team__division {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.mcm-team__division-heading {
  display: grid;
  grid-template-columns: minmax(170px, 0.6fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: end;
  padding: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--theme1-main-border);
}

.mcm-team__division--field .mcm-team__division-heading {
  background: var(--theme1-compliment);
  border-bottom-color: transparent;
}

.mcm-team__division-title {
  margin: 0;
  color: var(--theme1-compliment);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.mcm-team__division--field .mcm-team__division-title {
  color:#FFF;
}

.mcm-team__division-description {
  max-width: 600px;
  margin: 0;
  color: var(--textMuted);
  line-height: 1.7;
}

.mcm-team__division--field .mcm-team__division-description {
  color: rgb(255 255 255 / 75%);
}

.mcm-team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--theme1-main-border);
}

.mcm-team__member {
  position: relative;
  min-height: 165px;
  padding: 1.6rem;
  background:#FFF;
  transition: background-color 180ms ease;
}

.mcm-team__member::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--theme1-main-accent);
  content: "";
  transition: width 180ms ease;
}

.mcm-team__member:hover {
  background: #fbfaf7;
}

.mcm-team__member:hover::before {
  width: 100%;
}

.mcm-team__member-top {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom:1rem;
}

.mcm-team__name {
  margin: 0;
  color: var(--theme1-compliment);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.mcm-team__year {
  flex: 0 0 auto;
  padding: 0.38rem 0.58rem;
  border: 1px solid var(--theme1-compliment-accent);
  border-radius: 999px;
  color: #7f642f;
  background: #fbf7ee;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}

.mcm-team__role {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .mcm-team {
    padding-inline: 1rem;
  }

  .mcm-team__division-heading {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

@media (max-width: 520px) {
  .mcm-team__grid {
    grid-template-columns: 1fr;
  }

  .mcm-team__member {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mcm-team__member,
  .mcm-team__member::before {
    transition: none;
  }
}







.mcm-team__member:has(.mcm-team__member-back) {
    padding: 0;
    background: transparent;
    perspective: 1000px;
}

.mcm-team__member:has(.mcm-team__member-back):hover {
    background: transparent;
}

/* Disable the existing top gold hover line on flip cards. */
.mcm-team__member:has(.mcm-team__member-back)::before {
    display: none;
}

.mcm-team__member-inner {
    position: relative;
    width: 100%;
    min-height: 165px;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

/* Flip only members that actually contain a back. */
.mcm-team__member:has(.mcm-team__member-back):hover
.mcm-team__member-inner {
    transform: rotateY(180deg);
}

.mcm-team__member-front,
.mcm-team__member-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Front */
.mcm-team__member-front {
    padding: 1.6rem;
    background:#FFF;
}

/* Back */
.mcm-team__member-back {
    display: flex;
    overflow: hidden;
    background: var(--theme1-compliment);
    color:#FFF;
    transform: rotateY(180deg);
}

.mcm-team__member-back > .mcm-team__member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mcm-team__member-back-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    padding: 1.25rem;
}

.mcm-team__member-back-content strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.2;
}

.mcm-team__member-back-content span {
    color: rgb(255 255 255 / 75%);
    font-size: 0.85rem;
    line-height: 1.4;
}