@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --font: Montserrat, sans-serif;
  --bg: #ffffff;
  --ink: #1e1810;
  --muted: #4b4f58;
  --accent: #f9c349;
  --accent-hover: #e8b33a;
  --green: #61ce70;
  --border: #eceae6;
  --sand: #f4f1ea;
  --hero-fg: #f8f7f3;
  --shell: 1200px;
  --prose: 820px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--font);
}

body {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 30;
  background: #fff;
  padding: 0.4rem 0.7rem;
}

.wrap {
  width: min(var(--shell), calc(100% - 2.5rem));
  margin: 0 auto;
}

.wrap-prose {
  width: min(var(--prose), calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 0;
}

.site-title {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-title img {
  display: block;
  width: 200px;
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent);
}

.nav a.is-active {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  border: 1px solid #d8d5d0;
  background: #fff;
  color: var(--ink);
  border-radius: 0.3rem;
  width: 2.2rem;
  height: 2.2rem;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 32rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  color: var(--hero-fg);
  background-color: #2a261f;
  background-image: url("../../media/hero.jpg");
  background-size: cover;
  background-position: center 28%;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.78vh);
  height: max(56.25vw, 100vh);
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: #000;
  opacity: 0.5;
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  width: min(950px, calc(100% - 2.5rem));
  padding: 250px 0 100px;
}

.hero h1 {
  margin: 0 auto 25px;
  max-width: none;
  font-size: 3.5em;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.85em;
  text-transform: uppercase;
  color: #f8f7f3;
}

.hero h1 .dot {
  color: var(--green);
}

.hero-list {
  list-style: none;
  margin: 0 auto 30px;
  padding: 0;
  max-width: none;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  color: #f8f7f3;
}

.hero-list li {
  margin: 0;
}

.hero-list li::before {
  content: "|";
  display: inline-block;
  margin-right: 0.4em;
  color: #61ce70;
  font-weight: 600;
}

.button {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.85rem 1.55rem;
  color: #111 !important;
  background: var(--accent);
  border: none;
  border-radius: 100px;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-hover);
}

.about {
  padding: 4.75rem 0 3.75rem;
  text-align: center;
}

.about .wrap {
  width: min(38rem, calc(100% - 2.5rem));
}

.about .kicker {
  display: inline-block;
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.4;
}

.about p {
  margin: 0 auto 1.05rem;
  max-width: none;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #222;
}

.about p:last-child {
  margin-bottom: 0;
  color: var(--ink);
}

.about .more {
  display: block;
  width: fit-content;
  margin-inline: auto;
  color: var(--ink);
}

.kicker {
  display: inline-block;
  background: var(--accent);
  color: #111;
  font-weight: 700;
  padding: 0.08rem 0.35rem;
  margin-right: 0.15rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 0;
}

.feature-card {
  position: relative;
  min-height: 22rem;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: #fff;
  background-size: cover;
  background-position: center;
  padding: 1.65rem 1.5rem 2.1rem;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 14, 18, 0.88) 0%,
    rgba(12, 14, 18, 0.42) 46%,
    rgba(12, 14, 18, 0.08) 100%
  );
}

.feature-card:hover::before {
  background: linear-gradient(
    to top,
    rgba(12, 14, 18, 0.92) 0%,
    rgba(12, 14, 18, 0.52) 50%,
    rgba(12, 14, 18, 0.16) 100%
  );
}

.feature-card-inner {
  position: relative;
  z-index: 1;
  padding: 0;
}

.feature-card h2 {
  margin: 0 0 0.55rem;
  font-size: 1.45rem;
  font-weight: 700;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

.more {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: inherit;
}

.more:hover,
.feature-card:hover .more {
  color: var(--accent);
}

.feature-card .more {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.feature-advisory {
  background-image: url("../../media/banner-advisory.jpg");
  background-position: center 40%;
}

.feature-health {
  background-image: url("../../media/card-health.jpg");
  background-position: center 35%;
}

.feature-diligence {
  background-image: url("../../media/banner-diligence.jpg");
  background-position: center 45%;
}

.trusted {
  background: #fff;
  padding: 4rem 2.5rem 4.25rem;
  text-align: center;
}

.trusted h2 {
  margin: 0 0 1.75rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--muted);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.75rem 2.25rem;
}

.logo-row img {
  max-height: 52px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
}

#contact .page-banner {
  min-height: 22rem;
}

#contact .page-banner .inner {
  padding: 5.5rem 0;
}

.page-banner {
  min-height: 34rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-color: #1c1a16;
  background-size: cover;
  background-position: center;
}

.page-banner .inner {
  position: relative;
  z-index: 1;
  width: min(var(--shell), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 8rem 0;
}

.page-banner h1,
.page-banner h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.page-banner h1 .dot,
.page-banner h2 .dot {
  color: var(--green);
}

#advisory,
#health-check,
#due-diligence,
#contact {
  scroll-margin-top: 5.25rem;
}

.banner-advisory {
  background-image:
    linear-gradient(rgba(16, 18, 22, 0.28), rgba(16, 18, 22, 0.42)),
    url("../../media/banner-advisory.jpg");
  background-position: center 40%;
}

.banner-contact {
  background-image:
    linear-gradient(rgba(16, 18, 22, 0.28), rgba(16, 18, 22, 0.42)),
    url("../../media/banner-contact.jpg");
  background-position: center 55%;
}

.banner-404 {
  background-image:
    linear-gradient(rgba(16, 18, 22, 0.28), rgba(16, 18, 22, 0.42)),
    url("../../media/hero.jpg");
  background-position: center;
}

.not-found {
  text-align: center;
  padding: 3rem 0 4.5rem;
}

.banner-legal {
  background-image:
    linear-gradient(rgba(16, 18, 22, 0.4), rgba(16, 18, 22, 0.52)),
    url("../../media/banner-advisory.jpg");
  min-height: 18rem;
}

.page-banner--plain {
  min-height: 0;
  color: var(--ink);
  background: var(--sand);
  background-image: none;
}

.page-banner--plain .inner {
  padding: 2.75rem 0 2.5rem;
}

.page-banner--plain h1,
.page-banner--plain h2 {
  text-shadow: none;
}

.page-banner--plain h1::after,
.page-banner--plain h2::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin: 0.85rem auto 0;
  background: var(--accent);
  border-radius: 999px;
}

.page-intro {
  padding: 3.25rem 0 1.25rem;
}

.page-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem 3rem;
  align-items: start;
}

.page-intro-with-diagram {
  align-items: center;
}

.page-intro-with-diagram .figure {
  margin: 0;
}

.page-intro-with-diagram .diagram {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  border: 0;
}

.page-intro h2,
.page-intro h3 {
  margin: 0 0 1.15rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.25;
}

.page-intro .lede {
  margin: 0 0 0.85rem;
  max-width: none;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  margin: 1.75rem 0 2.25rem;
}

.split img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
}

.split img.diagram {
  border: 0;
  background: transparent;
}

.split-text h2,
.split-text h3 {
  margin-top: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin: 1.25rem 0 0;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  display: block;
  width: 100%;
  height: 11rem;
  object-fit: contain;
  object-position: top;
  border: 1px solid var(--border);
  background: #fff;
}

.gallery figcaption {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.figure {
  margin: 1.5rem 0 2rem;
}

.figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
}

.page-intro-with-diagram .figure img {
  border: 0;
}

.figure figcaption {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.partner img.thumb {
  display: block;
  width: 100%;
  height: 8.5rem;
  object-fit: cover;
  margin: 0 0 0.85rem;
}

.page-hero {
  padding: 3.25rem 0 0.5rem;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lede {
  margin: 0 auto 1.5rem;
  max-width: 40rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.prose {
  padding: 0 0 3rem;
}

.prose h2 {
  margin: 2rem 0 0.7rem;
  font-size: 1.35rem;
}

.prose h3 {
  margin: 1.5rem 0 0.45rem;
  font-size: 1.05rem;
}

.prose p,
.prose li {
  color: #2b2b2b;
}

.prose ul {
  margin: 0 0 1rem 1.2rem;
  padding: 0;
}

.legal {
  padding: 2.25rem 0 3.5rem;
}

.legal-title {
  margin: 0 0 1.15rem;
  text-align: center;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
}

.legal-title span {
  display: inline-block;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.12rem;
}

.legal-date {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.legal-intro p {
  margin: 0 0 0.9rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #2b2b2b;
}

.legal-columns {
  column-count: 2;
  column-gap: 2.75rem;
  font-size: 0.78rem;
  line-height: 1.48;
  color: #2b2b2b;
}

.legal-columns p,
.legal-columns li {
  margin: 0 0 0.62rem;
}

.legal-columns ol {
  margin: 0 0 0.62rem 1.15rem;
  padding: 0;
}

.legal-columns ol ol {
  margin: 0.35rem 0 0.45rem 1.1rem;
}

.legal-columns h2 {
  margin: 0.85rem 0 0.45rem;
  font-size: inherit;
  font-weight: 700;
  color: var(--ink);
  break-after: avoid;
}

.legal-caps {
  text-transform: uppercase;
}

.legal-contact {
  margin-top: 1.75rem;
}

.legal-contact h2 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.legal-contact p {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #2b2b2b;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}

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

.audience-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 2.75rem;
  margin: 2rem 0 1.75rem;
}

.audience {
  padding: 0.15rem 0 0.15rem 1rem;
  border-left: 3px solid var(--accent);
}

.audience-seller {
  border-left-color: var(--green);
}

.audience h3 {
  margin: 0 0 0.4rem;
}

.audience p {
  margin: 0;
}

.partner {
  border: 1px solid var(--border);
  padding: 1.2rem 1.15rem 1.3rem;
}

.partner h3 {
  margin: 0 0 0.35rem;
}

.partner .sub {
  margin: 0 0 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.cta-row {
  margin-top: 1.75rem;
}

.contact-block {
  padding: 3.5rem 0 5rem;
  background: #f5f5f5;
}

.contact-panel {
  max-width: 42rem;
}

.contact-info h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 2.4vw, 2.1rem);
  font-weight: 700;
}

.contact-info h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.contact-email {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.contact-email a {
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
}

.contact-email a:hover {
  color: var(--ink);
}

.social-row {
  margin: 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.social-link:hover {
  opacity: 0.85;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.25rem 3rem;
  align-items: start;
}

.contact-grid h2 {
  margin: 0 0 0.55rem;
}

.contact-grid h3 {
  margin: 1.5rem 0 0.45rem;
}

.contact-photo {
  display: block;
  width: 100%;
  height: auto;
}

.contact-block .contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1.15rem;
}

.contact-block .contact-list li {
  margin: 0 0 0.85rem;
}

.contact-block a {
  color: var(--ink);
  font-weight: 600;
}

.site-footer {
  padding: 2.25rem 0 2.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.84rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0 0 0.4rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

.back {
  margin-top: 2rem;
}

.labs {
  padding: 2.75rem 0 4.5rem;
  background: #fff;
}

.labs-form {
  text-align: left;
  background: transparent;
}

#sib-form-container {
  max-width: 540px;
  margin: 0 auto;
}

#sib-container {
  padding: 1.35rem 1.6rem 1.7rem;
  background: #fff;
  border: 1px solid #c0ccd9;
  border-radius: 3px;
}

#sib-container,
#sib-container input,
#sib-container label,
#sib-container button,
#sib-container p,
#sib-container span {
  font-family: var(--font);
}

.labs-form-brand {
  text-align: center;
  margin: 0 0 0.35rem;
}

.labs-form-brand img {
  display: inline-block;
  width: 200px;
  height: auto;
}

.labs-form-title {
  margin: 0 0 1.15rem;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 500;
  color: #3c4858;
}

.sib-form-block {
  margin: 0 0 1.15rem;
}

.entry__label {
  display: block;
  margin: 0 0 0.4rem;
  font-weight: 700;
  color: #3c4858;
}

.req {
  color: #e03e3e;
  font-weight: 700;
}

#sib-container .input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.8rem;
  border: 1px solid #c0ccd9;
  border-radius: 3px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

#sib-container .input::placeholder {
  color: #c0ccda;
  text-transform: uppercase;
}

.entry__choice {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.4rem 0;
  font-weight: 400;
  color: #3c4858;
  cursor: pointer;
}

.entry__choice input {
  width: auto;
}

.labs-form-submit {
  text-align: center;
  margin-bottom: 0;
}

.sib-form-block__button {
  width: auto;
  min-width: 10.5rem;
  cursor: pointer;
}

.input--hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sib-form-message-panel {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.3rem;
  border: 1px solid transparent;
}

.sib-form-message-panel--error {
  color: #661d1d;
  background: #ffeded;
  border-color: #ff4949;
}

.sib-form-message-panel--success {
  color: #085229;
  background: #e7faf0;
  border-color: var(--green);
}

a {
  color: #1d4f7a;
}

@media (max-width: 1024px) {
  .hero .wrap {
    padding: 175px 0 75px;
  }

  .hero h1 {
    font-size: 3.2em;
  }
}

@media (max-width: 900px) {
  .legal-columns {
    column-count: 1;
  }

  .partner-grid,
  .split,
  .gallery,
  .page-intro-grid,
  .contact-grid,
  .audience-split {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .page-intro-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 16rem;
  }

  .gallery img {
    height: 8rem;
  }
}

@media (max-width: 640px) {
  .wrap,
  .wrap-prose {
    width: calc(100% - 1.75rem);
  }

  .header-inner {
    padding: 0.7rem 0;
  }

  .site-title img {
    width: 168px;
  }

  .nav {
    display: none;
    order: 3;
    flex-basis: 100%;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.7rem 0 0.4rem;
    border-top: 1px solid var(--border);
  }

  .site-header.menu-open .nav {
    display: flex;
  }

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

  .hero {
    min-height: 22rem;
    align-items: flex-start;
  }

  .hero .wrap {
    width: calc(100% - 2.5rem);
    padding: 125px 0 50px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.1em;
    line-height: 1em;
    margin-bottom: 10px;
  }

  .hero-list {
    margin-bottom: 10px;
    font-size: 1.2em;
    line-height: 1.25;
  }

  .about,
  .page-hero,
  .contact-block {
    text-align: left;
  }

  .about .more {
    margin-inline: 0;
  }

  .feature-grid,
  .gallery,
  .partner-grid,
  .audience-split {
    grid-template-columns: 1fr;
  }

  .page-banner {
    min-height: 18rem;
  }

  .page-banner .inner {
    width: calc(100% - 1.75rem);
    padding: 5rem 0;
  }

  .page-banner--plain {
    min-height: 0;
  }

  .page-banner--plain .inner {
    padding: 2.1rem 0 1.95rem;
  }
}
