/* Directory, homepage tip, and brand type. Loaded after the compiled stylesheet. */

body,
button,
input,
select,
textarea {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
}

h1,
.page-title,
.font-display,
.pillar-tour-index,
.company-row-index,
.company-band-no,
.chapter-no,
.solution-no {
  font-family: "Cinzel", "Times New Roman", serif;
}

h1,
.page-title {
  font-weight: 700;
}

.team-card figcaption span:first-child {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
}

.team-card figcaption span:last-child,
.contact-panel,
address {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
}

.font-serif-brand {
  font-family: "Playfair Display", Georgia, serif;
}

.company-roster {
  width: min(72rem, calc(100% - 3rem));
  margin: 2.25rem auto 0;
  padding: 0 0 4.5rem;
  list-style: none;
}

.company-row {
  display: grid;
  margin-top: 1rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e3dfd8;
  border-top: 4px solid var(--brand);
  scroll-margin-top: 5.5rem;
}

.company-row-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 11.5rem;
  padding: 1.75rem 1.5rem;
  background: #f5f5f5;
}

.company-row-logo .logo-plate {
  width: min(17rem, 86%);
  background: transparent !important;
}

.company-row-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.company-row-copy {
  padding: 1.4rem 1.25rem 1.5rem;
}

.company-row-index {
  margin: 0;
  color: #101416;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.company-row h2 {
  margin: 0.4rem 0 0;
  color: #101416;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.15;
}

.company-row-role {
  margin: 0.55rem 0 0;
  color: rgba(16, 20, 22, 0.62);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.company-row-summary {
  max-width: 42rem;
  margin: 0.85rem 0 0;
  color: rgba(16, 20, 22, 0.84);
  font-size: 0.98rem;
  line-height: 1.65;
}

.company-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.company-row-profile,
.company-row-actions .visit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.85rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.company-row-profile {
  background: #101416;
  color: #fff;
}

.company-row-actions .visit-link {
  gap: 0.55rem;
  background: #fff;
  color: #101416;
  border: 1px solid rgba(16, 20, 22, 0.28);
}

.company-row-actions .visit-link > span > span:first-child {
  display: inline;
}

.company-row-actions .visit-link > span > span:last-child {
  display: none;
}

@media (min-width: 640px) {
  .company-row-profile,
  .company-row-actions .visit-link {
    width: auto;
  }
}

@media (min-width: 860px) {
  .company-roster {
    margin-top: 2.75rem;
    padding-bottom: 5.5rem;
  }

  .company-row {
    grid-template-columns: 20rem minmax(0, 1fr);
    align-items: stretch;
    border-top: 1px solid #e3dfd8;
    border-left: 4px solid var(--brand);
  }

  .company-row-logo {
    min-height: 100%;
    padding: 2rem 1.75rem;
  }

  .company-row-copy {
    padding: 1.7rem 2rem 1.8rem;
  }

  .profile-hero {
    min-height: 26rem;
  }

  .profile-hero-copy {
    padding: 2.75rem 3rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .company-row {
    transition: box-shadow 220ms ease;
  }

  .company-row:hover {
    box-shadow: 0 18px 40px rgba(16, 20, 22, 0.07);
  }
}

.home-stage {
  position: fixed;
  z-index: 1;
  inset: 0;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 4.75rem 0.5rem 3.75rem;
}

.home-mark-frame,
.home-mark-frame.has-tour {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  max-width: none;
  min-width: 0;
  min-height: 0;
}

.home-stage .home-mark {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.home-tagline {
  position: absolute;
  right: 0;
  bottom: 0.7rem;
  left: 0;
  width: min(30rem, 68vw);
  margin: 0 auto;
  pointer-events: none;
}

.home-tagline img {
  display: block;
  width: 100%;
  height: auto;
}

.home-mark-frame .pillar-tour {
  position: absolute;
  top: 0.75rem;
  left: 50%;
  z-index: 3;
  width: max-content;
  max-width: min(16.5rem, calc(100% - 1rem));
  margin: 0;
  transform: translate(-50%, 0);
  pointer-events: none;
  transition: left 420ms cubic-bezier(0.16, 1, 0.3, 1), top 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home-mark-frame.has-tour .pillar-tour {
  animation: pillar-tip-in 280ms ease;
}

@keyframes pillar-tip-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.home-mark-frame .pillar-tour-card {
  width: auto;
  padding: 0.38rem 0.55rem 0.42rem 0.62rem;
  pointer-events: auto;
  background: #101416;
  border: 1px solid rgba(182, 150, 92, 0.55);
  box-shadow:
    inset 3px 0 0 var(--brand),
    0 12px 28px rgba(16, 20, 22, 0.22);
}

.home-mark-frame .pillar-tour-kicker {
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.home-mark-frame .pillar-tour-dismiss {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.9rem;
  border-color: rgba(182, 150, 92, 0.5);
}

.home-mark-frame .pillar-tour-name {
  margin-top: 0.12rem;
  font-size: 0.82rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.home-mark-frame .pillar-tour-role,
.home-mark-frame .pillar-tour-steps {
  display: none;
}

.home-mark-frame .pillar-tour-steps button {
  min-height: 2.75rem;
  padding-top: 0.45rem;
}

.home-mark-frame .pillar-tour-mark {
  height: 3px;
}

.home-mark-frame .pillar-tour-steps button.is-on .pillar-tour-mark {
  width: 2.4rem;
}

.home-mark-frame .pillar-tour-stem {
  top: auto;
  bottom: -5px;
  left: calc(50% + var(--stem-shift, 0px));
  width: 10px;
  height: 10px;
  background: transparent;
  transform: translateX(-50%);
}

.home-mark-frame .pillar-tour-stem::after {
  top: 0;
  bottom: auto;
  width: 8px;
  height: 8px;
  background: #101416;
  border-right: 1px solid rgba(182, 150, 92, 0.55);
  border-bottom: 1px solid rgba(182, 150, 92, 0.55);
  transform: translate(-50%, -1px) rotate(45deg);
}

.company-overlay {
  background: rgba(16, 20, 22, 0.72);
  opacity: 0;
  transition: opacity 320ms ease;
}

.company-dialog {
  opacity: 0;
  transform: translateY(1.15rem);
  transition: opacity 320ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-modal].is-open .company-overlay {
  opacity: 1;
}

[data-modal].is-open .company-dialog {
  opacity: 1;
  transform: none;
}

@media (max-width: 720px) {
  .home-stage {
    padding-top: 6.75rem;
    padding-bottom: 3.4rem;
  }

  .home-tagline {
    width: min(18rem, 78vw);
  }
}

.pillar-name {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  fill: rgba(244, 241, 234, 0.94);
  pointer-events: none;
}

.pillar-name.is-serif {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: no-preference) {
  .pillar-body {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 460ms cubic-bezier(0.16, 1, 0.3, 1), filter 460ms ease;
  }

  .pillar-control.is-hot .pillar-body {
    transform: scale(1.075);
    filter: drop-shadow(0 18px 14px rgba(16, 20, 22, 0.38));
  }
}

@media (prefers-reduced-motion: no-preference) {
  .home-mark-frame .pillar-tour-stem {
    transition: left 560ms cubic-bezier(0.16, 1, 0.3, 1);
  }
}
