/* =========================================================
   TRIMWORKS OF MICHIGAN
   ABOUT PAGE
   Page: /about-us/
   ========================================================= */

.tw-about-page {
  --twa-navy: var(--trim-navy, #061728);
  --twa-navy-2: var(--trim-navy-2, #0b2238);
  --twa-red: var(--trim-red, #e30620);
  --twa-off-white: var(--trim-off-white, #f2f5f7);
  --twa-gray-100: var(--trim-gray-100, #e8edf1);
  --twa-gray-300: var(--trim-gray-300, #c9cfd4);
  --twa-gray-600: var(--trim-gray-600, #69737c);
  --twa-charcoal: var(--trim-charcoal, #20262b);
  --twa-heading: var(--trim-heading, "Oswald", Arial, sans-serif);
  --twa-body: var(--trim-body, "Helvetica Neue", Helvetica, Arial, sans-serif);

  color: var(--twa-charcoal);
  font-family: var(--twa-body);
  overflow: hidden;
}

.tw-about-page *,
.tw-about-page *::before,
.tw-about-page *::after {
  box-sizing: border-box;
}

.tw-about-container {
  width: min(calc(100% - 96px), 1240px);
  margin-inline: auto;
}

.tw-about-section {
  padding: clamp(82px, 8vw, 124px) 0;
}

.tw-about-kicker {
  margin: 0 0 17px;
  color: var(--twa-red);
  font: 600 .82rem/1 var(--twa-heading);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tw-about-page h1,
.tw-about-page h2,
.tw-about-page h3 {
  font-family: var(--twa-heading);
  text-transform: uppercase;
}

.tw-about-page h2 {
  margin: 0;
  color: var(--twa-navy);
  font-size: clamp(2.65rem, 4.7vw, 4.9rem);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.028em;
}

.tw-about-page p {
  line-height: 1.68;
}

.tw-about-lead {
  margin-top: 25px;
  color: var(--twa-charcoal);
  font-size: clamp(1.12rem, 1.55vw, 1.34rem);
  line-height: 1.55 !important;
}


/* =========================================================
   HERO
   ========================================================= */

.tw-about-hero {
  position: relative;
  min-height: 720px;
  background: var(--twa-navy);
  color: #fff;
}

.tw-about-hero__grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  min-height: 720px;
}

.tw-about-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 175px 70px 105px 0;
}

.tw-about-hero h1 {
  max-width: 630px;
  margin: 0;
  color: #fff;
  font-size: clamp(4rem, 6.4vw, 7rem);
  font-weight: 600;
  line-height: .91;
  letter-spacing: -.045em;
}

.tw-about-hero__lead {
  max-width: 650px;
  margin: 28px 0 32px;
  color: rgba(255,255,255,.78);
  font-size: clamp(1.06rem, 1.35vw, 1.2rem);
}

.tw-about-hero__image {
  min-height: 720px;
  background-color: #52616d;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-left: 1px solid rgba(255,255,255,.12);
}


/* =========================================================
   SPLIT SECTIONS
   ========================================================= */

.tw-about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 530px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(6,23,40,.07);
}

.tw-about-split--reverse .tw-about-split__content {
  order: 1;
}

.tw-about-split--reverse .tw-about-split__image {
  order: 2;
}

.tw-about-split__image {
  min-height: 530px;
  background-color: #596774;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.tw-about-split__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 80px);
}

.tw-about-split__content p:not(.tw-about-kicker):not(.tw-about-lead) {
  margin-bottom: 0;
  color: var(--twa-gray-600);
}

.tw-about-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 30px;
}

.tw-about-inline-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--twa-navy);
  font: 600 .86rem/1 var(--twa-heading);
  letter-spacing: .03em;
  text-decoration: none;
  text-transform: uppercase;
}

.tw-about-inline-links span {
  color: var(--twa-red);
}


/* =========================================================
   OUR STORY
   ========================================================= */

.tw-about-story {
  position: relative;
  background:
    linear-gradient(
      rgba(242, 245, 247, .42),
      rgba(242, 245, 247, .42)
    ),
    url("https://trimworks.wpenginepowered.com/wp-content/uploads/2026/07/blueprint-backgroundv2.webp")
    center center / cover no-repeat;
}

.tw-about-story .tw-about-split {
  min-height: 440px;
}

.tw-about-story .tw-about-split__image {
  min-height: 440px;
}

.tw-about-story .tw-about-split__content {
  padding: clamp(38px, 4.5vw, 58px);
}


/* =========================================================
   PRINCIPLES / PILLARS
   PREMIUM INDUSTRIAL DESIGN
   ========================================================= */

.tw-about-pillars {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      #061728 0%,
      #091d30 50%,
      #061728 100%
    );

  color: #fff;
}


/* Subtle structural grid */

.tw-about-pillars::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;

  background-image:
    linear-gradient(
      rgba(255,255,255,.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,.035) 1px,
      transparent 1px
    );

  background-size: 82px 82px;
  opacity: .65;
  pointer-events: none;
}


/* Large angled architectural detail */

.tw-about-pillars::after {
  content: "";
  position: absolute;
  top: -260px;
  right: -170px;
  z-index: -1;

  width: 600px;
  height: 600px;

  border: 1px solid rgba(255,255,255,.07);

  transform: rotate(45deg);

  pointer-events: none;
}


/* -------------------------
   TOP FEATURE
   ------------------------- */

.tw-about-pillars__top {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: stretch;
  margin-bottom: 42px;
}

.tw-about-pillars__top > div:first-child {
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 44px 0;
}

.tw-about-pillars .tw-about-kicker {
  color: var(--twa-red);
}

.tw-about-pillars h2 {
  max-width: 620px;
  color: #fff;
}

.tw-about-pillars .tw-about-lead {
  max-width: 600px;
  color: rgba(255,255,255,.72);
}


/* -------------------------
   PRINCIPLES FEATURE IMAGE
   ------------------------- */

.tw-about-pillars__image {
  position: relative;

  min-height: 385px;

  background-color: #596774;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  border: 1px solid rgba(255,255,255,.12);

  box-shadow:
    0 34px 75px rgba(0,0,0,.30);

  overflow: hidden;
}


/* Image dark treatment */

.tw-about-pillars__image::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(6,23,40,.36) 0%,
      rgba(6,23,40,.07) 55%,
      rgba(6,23,40,.18) 100%
    );

  pointer-events: none;
}


/* Red corner accent */

.tw-about-pillars__image::after {
  content: "";
  position: absolute;

  left: 0;
  bottom: 0;

  width: 90px;
  height: 7px;

  background: var(--twa-red);
}


/* -------------------------
   PRINCIPLES GRID
   ------------------------- */

.tw-about-pillars__grid {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}


/* -------------------------
   PRINCIPLE CARD
   ------------------------- */

.tw-about-pillars article {
  position: relative;

  display: flex;
  flex-direction: column;

  min-height: 330px;

  padding: 34px 30px 32px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.075),
      rgba(255,255,255,.025)
    );

  border: 1px solid rgba(255,255,255,.11);

  overflow: hidden;

  box-shadow:
    0 20px 45px rgba(0,0,0,.14);

  transition:
    transform .3s ease,
    border-color .3s ease,
    background .3s ease,
    box-shadow .3s ease;
}


/* Red top structural line */

.tw-about-pillars article::before {
  content: "";
  position: absolute;

  top: 0;
  left: 0;

  width: 54px;
  height: 5px;

  background: var(--twa-red);

  transition: width .3s ease;
}


/* Oversized background number */

.tw-about-pillars article::after {
  content: attr(data-number);

  position: absolute;

  top: 20px;
  right: 18px;

  color: rgba(255,255,255,.035);

  font: 700 7rem/.8 var(--twa-heading);

  letter-spacing: -.06em;

  pointer-events: none;

  transition:
    color .3s ease,
    transform .3s ease;
}


/* Hover */

.tw-about-pillars article:hover {
  transform: translateY(-9px);

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.10),
      rgba(255,255,255,.04)
    );

  border-color: rgba(255,255,255,.24);

  box-shadow:
    0 30px 65px rgba(0,0,0,.25);
}

.tw-about-pillars article:hover::before {
  width: 100%;
}

.tw-about-pillars article:hover::after {
  color: rgba(255,255,255,.065);
  transform: translateY(-4px);
}


/* Small number */

.tw-about-pillars article > span {
  position: relative;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: var(--twa-red);

  font: 600 .82rem/1 var(--twa-heading);
  letter-spacing: .08em;
}


/* Small accent beside number */

.tw-about-pillars article > span::after {
  content: "";

  width: 28px;
  height: 1px;

  background: rgba(227,6,32,.65);
}


/* Principle heading */

.tw-about-pillars h3 {
  position: relative;
  z-index: 2;

  max-width: 220px;

  margin: auto 0 15px;

  color: #fff;

  font-size: clamp(1.55rem, 1.9vw, 2rem);

  font-weight: 600;
  line-height: .98;
  letter-spacing: -.015em;
}


/* Principle description */

.tw-about-pillars article p {
  position: relative;
  z-index: 2;

  margin: 0;

  color: rgba(255,255,255,.62);

  font-size: .94rem;
  line-height: 1.62;
}


/* =========================================================
   EXPERIENCE
   ========================================================= */

.tw-about-experience {
  background: var(--twa-off-white);
}

.tw-about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.tw-about-stats div {
  padding: 18px 16px;
  background: var(--twa-navy);
  color: #fff;
}

.tw-about-stats strong {
  display: block;
  font: 600 1.35rem/1 var(--twa-heading);
  text-transform: uppercase;
}

.tw-about-stats span {
  display: block;
  margin-top: 7px;
  color: rgba(255,255,255,.65);
  font-size: .77rem;
}


/* =========================================================
   COMMUNITY
   ========================================================= */

.tw-about-community {
  background: #fff;
}

.tw-about-community__logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.tw-about-community__logos > div {
  display: grid;
  place-items: center;

  min-height: 88px;
  padding: 15px;

  background: var(--twa-off-white);

  border: 1px solid var(--twa-gray-100);
}

.tw-about-community__logos img {
  display: block;

  max-width: 100%;
  max-height: 58px;

  width: auto;
  height: auto;
}


/* =========================================================
   CTA
   ========================================================= */

.tw-about-cta {
  position: relative;

  min-height: 520px;

  display: grid;
  place-items: center;

  color: #fff;
  text-align: center;

  overflow: hidden;
}

.tw-about-cta__background,
.tw-about-cta__overlay {
  position: absolute;
  inset: 0;
}

.tw-about-cta__background {
  background-color: #485765;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.tw-about-cta__overlay {
  background: rgba(6,23,40,.83);
}

.tw-about-cta__inner {
  position: relative;
  z-index: 2;

  max-width: 860px;

  padding-top: 95px;
  padding-bottom: 95px;
}

.tw-about-cta h2 {
  color: #fff;
}

.tw-about-cta p:not(.tw-about-kicker) {
  max-width: 650px;

  margin: 24px auto 30px;

  color: rgba(255,255,255,.76);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

  .tw-about-pillars__grid {
    grid-template-columns: 1fr 1fr;
  }

  .tw-about-pillars article {
    min-height: 275px;
  }

  .tw-about-pillars h3 {
    margin-top: auto;
    max-width: none;
  }

}


@media (max-width: 900px) {

  .tw-about-container {
    width: min(calc(100% - 64px), 1240px);
  }

  .tw-about-hero__grid,
  .tw-about-split,
  .tw-about-pillars__top {
    grid-template-columns: 1fr;
  }

  .tw-about-hero__copy {
    padding: 175px 0 80px;
  }

  .tw-about-hero__image {
    min-height: 500px;

    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.12);
  }

  .tw-about-split--reverse .tw-about-split__content,
  .tw-about-split--reverse .tw-about-split__image {
    order: initial;
  }

  .tw-about-split__image {
    min-height: 430px;
  }


  /* Our Story container */

  .tw-about-story .tw-about-split {
    min-height: 0;
  }

  .tw-about-story .tw-about-split__image {
    min-height: 390px;
  }

  .tw-about-story .tw-about-split__content {
    padding: 44px 40px;
  }


  /* Principles */

  .tw-about-pillars__top {
    gap: 30px;
  }

  .tw-about-pillars__top > div:first-child {
    padding: 0;
  }

  .tw-about-pillars__image {
    min-height: 400px;
  }

}


@media (max-width: 650px) {

  .tw-about-container {
    width: min(calc(100% - 36px), 1240px);
  }

  .tw-about-section {
    padding: 72px 0;
  }


  /* Hero */

  .tw-about-hero,
  .tw-about-hero__grid {
    min-height: 0;
  }

  .tw-about-hero__copy {
    padding: 160px 0 68px;
  }

  .tw-about-hero h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .tw-about-hero__image,
  .tw-about-split__image {
    min-height: 340px;
  }


  /* Split */

  .tw-about-split__content {
    padding: 38px 26px;
  }


  /* Our Story container */

  .tw-about-story .tw-about-split {
    min-height: 0;
  }

  .tw-about-story .tw-about-split__image {
    min-height: 320px;
  }

  .tw-about-story .tw-about-split__content {
    padding: 34px 26px;
  }


  /* Principles */

  .tw-about-pillars::before {
    background-size: 56px 56px;
  }

  .tw-about-pillars::after {
    display: none;
  }

  .tw-about-pillars__image {
    min-height: 320px;
  }

  .tw-about-pillars__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tw-about-pillars article {
    min-height: 245px;
    padding: 28px 25px;
  }

  .tw-about-pillars article::after {
    top: 20px;
    right: 18px;
    font-size: 6rem;
  }

  .tw-about-pillars h3 {
    margin-top: auto;
    font-size: 1.8rem;
  }


  /* Experience */

  .tw-about-stats {
    grid-template-columns: 1fr;
  }


  /* Community */

  .tw-about-community__logos {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .tw-about-community__logos > div {
    min-height: 70px;
    padding: 10px;
  }

  .tw-about-community__logos img {
    max-height: 46px;
  }


  /* CTA */

  .tw-about-cta {
    min-height: 470px;
  }

}