.armist-front-page {
  position: relative;
}

.hero {
  min-height: 100vh;
  padding: 156px 0 0;
  position: relative;
}

.hero-grid {
  min-height: calc(100vh - 156px);
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(340px, 1fr);
  position: relative;
}

.hero-copy {
  padding: 44px 64px 56px 104px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-kicker,
.idx,
.quote-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--cobalt);
}

.hero-kicker {
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(44px,5.2vw,72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--wp--preset--color--navy);
  margin-bottom: 22px;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-lead {
  font-size: 22px;
  line-height: 1.55;
  color: var(--wp--preset--color--grey-dark);
  max-width: 56ch;
  font-style: italic;
  font-weight: 300;
}

.hero-cta {
  color: var(--wp--preset--color--navy);
}

.hero-cta-copy strong {
  font-size: 24px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.04;
  letter-spacing: -.03em;
  color: var(--wp--preset--color--cobalt);
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-underline-offset: 7px;
}

.hero-rail {
  border-left: 1px solid rgba(26,32,80,.1);
  display: grid;
  grid-template-rows: 1fr 1fr auto;
  gap: 18px;
  padding: 18px;
}

.hero-separator {
  position: absolute;
  top: 54px;
  right: calc(33.333% + 18px);
  bottom: -400px;
  left: 104px;
  background-image: url("/wp-content/themes/armist/assets/images/a-grey-symbol.svg");
  background-position: right top;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: .08;
  pointer-events: none;
}

.post-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.post-card::before,
.post-card::after {
  content: "";
  position: absolute;
  inset: 0;
}

.post-card--sarm::before,
.post-card--cazino::before {
  background: var(--post-thumb, none) center/cover no-repeat;
  filter: grayscale(1);
}

.post-card--sarm::after,
.post-card--cazino::after {
  background: linear-gradient(180deg, rgba(45,79,214,.55), rgba(26,32,80,.75));
}

.post-meta {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 24px;
  color: #fff;
}

.post-series {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}

.post-meta h3,
.rail-link h3,
.contact-card h3,
.partners-panel h3 {
  letter-spacing: -.03em;
  color: inherit;
}

.post-meta h3 {
  font-size: 30px;
  font-weight: 300;
  line-height: 1.02;
  margin-bottom: 14px;
}

.post-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.post-arrow,
.rail-link-arrow {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.post-arrow {
  border: 1px solid rgba(255,255,255,.45);
  background: transparent;
  color: var(--wp--preset--color--white);
  transition: background .25s var(--armist-ease), color .25s var(--armist-ease), border-color .25s var(--armist-ease);
}

.post-card:hover .post-arrow {
  background: var(--wp--preset--color--white);
  border-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--navy);
}

.rail-link {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  min-height: 132px;
  padding: 24px;
  background: #fff;
  color: var(--wp--preset--color--navy);
  text-decoration: none;
  transition: background .25s var(--armist-ease), color .25s var(--armist-ease), border-color .25s var(--armist-ease);
}

.rail-link-label {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(26,32,80,.38);
}

.rail-link h3 {
  font-size: 32px;
  font-weight: 300;
  line-height: 1.04;
  max-width: 7ch;
}

.rail-link-arrow {
  border: 1px solid rgba(26,32,80,.18);
  font-size: 20px;
  transition: background .25s var(--armist-ease), color .25s var(--armist-ease), border-color .25s var(--armist-ease);
}

.rail-link:hover {
  background: var(--wp--preset--color--navy);
  color: var(--wp--preset--color--white);
}

.rail-link:hover .rail-link-label,
.rail-link:hover h3 {
  color: var(--wp--preset--color--white);
}

.rail-link:hover .rail-link-arrow {
  background: var(--wp--preset--color--navy);
  color: var(--wp--preset--color--white);
  border-color: rgba(255,255,255,.34);
}

.overview {
  background: var(--wp--preset--color--white);
  padding: 120px 48px 144px;
}

.overview-shell {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0;
  align-items: start;
}

.overview-main {
  min-width: 0;
  padding-right: 48px;
}

.overview-side {
  min-height: 100%;
}

.overview-head {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  margin-bottom: 72px;
}

.overview-head h2 {
  font-size: clamp(28px,3.2vw,42px);
  font-weight: 200;
  line-height: .96;
  letter-spacing: -.04em;
  color: var(--wp--preset--color--navy);
  max-width: 16ch;
}

.overview-head p {
  font-size: 19px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--wp--preset--color--grey-mid);
  max-width: 58ch;
}

.service-item-copy p,
.overview-card p,
.case-meta p,
.contact-card p {
  font-size: 16px;
  line-height: 1.76;
}

.services-panel,
.founder-quote,
.case-panel,
.partners-panel,
.contact-panel {
  border-top: 1px solid rgba(26,32,80,.08);
}

.services-panel {
  display: block;
  margin-bottom: 72px;
  padding: 48px 0 56px;
}

.services-list,
.overview-bottom {
  display: grid;
}

.services-list {
  grid-template-columns: 1.8fr 1fr 1fr;
  grid-template-areas:
    "primary investigation expertise"
    "primary verification due"
    "primary monitoring monitoring";
  grid-auto-rows: minmax(132px, auto);
  gap: 12px;
}

.service-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 132px;
  padding: 20px 22px 22px;
  border: 1px solid rgba(26,32,80,.1);
  background: var(--wp--preset--color--white);
  overflow: hidden;
}

.service-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.28), transparent 58%),
    linear-gradient(180deg, transparent, rgba(26,32,80,.04));
  pointer-events: none;
}

.service-item--primary {
  grid-area: primary;
  min-height: 420px;
  background: linear-gradient(180deg, #24377f 0%, var(--wp--preset--color--navy) 100%);
  border-color: rgba(26,32,80,.18);
}

.service-item--investigation {
  grid-area: investigation;
  background: linear-gradient(180deg, rgba(45,79,214,.28) 0%, rgba(196,208,248,1) 100%);
  border-color: rgba(45,79,214,.18);
}

.service-item--expertise {
  grid-area: expertise;
  background: linear-gradient(180deg, rgba(26,32,80,.16) 0%, rgba(209,214,233,1) 100%);
  border-color: rgba(26,32,80,.16);
}

.service-item--verification {
  grid-area: verification;
  background: linear-gradient(180deg, rgba(232,237,252,1) 0%, rgba(247,249,255,1) 100%);
  border-color: rgba(45,79,214,.14);
}

.service-item--due {
  grid-area: due;
  background: linear-gradient(180deg, rgba(239,243,254,1) 0%, rgba(251,252,255,1) 100%);
  border-color: rgba(45,79,214,.1);
}

.service-item--monitoring {
  grid-area: monitoring;
  background: linear-gradient(180deg, rgba(246,248,255,1) 0%, rgba(255,255,255,1) 100%);
  border-color: rgba(45,79,214,.08);
}

.service-item-copy,
.service-item-head {
  position: relative;
  z-index: 1;
}

.service-item-head .num,
.service-kind {
  display: block;
}

.service-item-head .num {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--cobalt);
}

.service-kind {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--grey-mid);
}

.service-item h4,
.case-meta h4,
.overview-card h3 {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--wp--preset--color--navy);
  margin-bottom: 8px;
}

.service-item p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--wp--preset--color--grey-mid);
}

.service-item--primary .num,
.service-item--primary .service-kind {
  color: rgba(255,255,255,.68);
}

.service-item--primary h4 {
  font-size: 32px;
  line-height: .98;
  color: var(--wp--preset--color--white);
  max-width: 9ch;
  margin-bottom: 14px;
}

.service-item--primary p {
  max-width: 28ch;
  font-size: 15px;
  line-height: 1.72;
  color: rgba(255,255,255,.76);
}

.service-item--primary::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -52px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  opacity: .9;
}

.service-accent {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(214,186,134,.95) 0%, rgba(181,138,74,.96) 100%);
  color: var(--wp--preset--color--navy);
  border: 1px solid rgba(141,103,50,.28);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.service-item--wide {
  min-height: 156px;
}

.service-item--monitoring.service-item--compact {
  min-height: 142px;
}

.service-item--compact h4 {
  font-size: 18px;
}

.service-item--compact p {
  font-size: 14px;
}

.services-more {
  display: flex;
  justify-content: flex-end;
  margin-top: 32px;
}

.services-more-link,
.quote-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--wp--preset--color--cobalt);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

.services-more-link:hover {
  gap: 10px;
  opacity: .75;
}

.services-panel .idx,
.case-panel .idx,
.partners-panel .idx,
.contact-card .idx {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--cobalt);
  font-weight: 500;
  margin-bottom: 16px;
}

.founder-quote {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(320px,.8fr);
  gap: 48px;
  align-items: center;
  margin: 0 0 80px;
  padding: 48px 0 0;
}

.founder-photo {
  width: 148px;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(232,237,252,1) 0%, rgba(214,223,248,1) 100%);
  border: 1px solid rgba(26,32,80,.1);
  border-radius: 24px;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(.96) contrast(1.02);
}

.founder-quote-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.founder-quote-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 20px;
  border-left: 3px solid rgba(45,79,214,.22);
}

.founder-quote .quote-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--cobalt);
  margin-bottom: 4px;
}

.founder-quote blockquote {
  margin: 0;
  max-width: 26ch;
  font-size: clamp(28px,2.6vw,38px);
  line-height: 1.2;
  letter-spacing: -.03em;
  font-weight: 300;
  font-style: italic;
  font-language-override: "ROM";
  font-feature-settings: "locl" 1, "kern" 1;
  text-rendering: optimizeLegibility;
  color: var(--wp--preset--color--navy);
}

.founder-quote blockquote::before,
.founder-quote blockquote::after {
  color: var(--wp--preset--color--cobalt);
  font-size: 1.1em;
  line-height: 0;
}

.founder-quote blockquote::before {
  content: "“";
  margin-right: 4px;
}

.founder-quote blockquote::after {
  content: "”";
  margin-left: 4px;
}

.founder-quote-media {
  display: flex;
  justify-content: center;
}

.founder-quote figcaption {
  max-width: 30ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--wp--preset--color--grey-mid);
}

.founder-quote-aside {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 20px;
  align-items: start;
  justify-self: end;
  max-width: none;
  padding-top: 56px;
}

.founder-quote-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-top: 4px;
}

.founder-quote .quote-name {
  display: block;
  margin-bottom: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wp--preset--color--cobalt);
}

.founder-quote .quote-role {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  color: var(--wp--preset--color--grey-dark);
}

.founder-quote .quote-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--wp--preset--color--cobalt);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
  line-height: 1.2;
}

.founder-quote .quote-link:hover {
  border-bottom-style: solid;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
  margin-top: 20px;
}

.overview-card {
  padding: 10px 18px 14px 0;
  min-height: 0;
  border-right: 1px solid rgba(26,32,80,.14);
  background: transparent;
}

.overview-card .idx {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--cobalt);
  margin-bottom: 12px;
  font-weight: 500;
}

.overview-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--wp--preset--color--grey-mid);
  max-width: 24ch;
}

.case-panel {
  margin: 72px 0 0;
  padding-top: 44px;
}

.case-images {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr);
  gap: 24px;
}

.case-card {
  background: transparent;
}

.case-card--initial {
  padding: 24px;
}

.case-card--final {
  display: grid;
}

.case-meta {
  padding: 24px;
}

.case-kicker {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--cobalt);
}

.case-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 6px;
}

.case-card--initial .case-media {
  position: relative;
  overflow: hidden;
  background: rgba(26,32,80,.08);
}

.case-card--initial .case-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,32,80,.08), rgba(26,32,80,.26));
  mix-blend-mode: multiply;
  pointer-events: none;
}

.case-media img {
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.case-card--initial .case-media img {
  filter: grayscale(1) contrast(1.06) brightness(.88);
}

.case-card--final .case-media img {
  aspect-ratio: 1.15 / 1;
}

.overview-bottom {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: start;
  margin-top: 72px;
  gap: 48px;
}

.partners-panel {
  margin: 0;
  padding-top: 44px;
}

.partners-panel h3,
.contact-card h3 {
  font-size: clamp(24px,2.1vw,32px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--wp--preset--color--navy);
  margin-bottom: 26px;
  max-width: none;
  white-space: nowrap;
}

.partners-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px 28px;
}

.partners-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(26,32,80,.08);
  font-size: 16px;
  line-height: 1.45;
  color: var(--wp--preset--color--grey-dark);
  text-decoration: none;
  transition: color .25s var(--armist-ease), border-color .25s var(--armist-ease);
}

.partners-list a::after {
  content: "»";
  color: var(--wp--preset--color--cobalt);
  font-size: 18px;
  line-height: 1;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s var(--armist-ease), transform .25s var(--armist-ease);
}

.partners-list a:hover {
  color: var(--wp--preset--color--cobalt);
  border-color: rgba(45,79,214,.22);
}

.partners-list a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.contact-panel {
  margin: 0;
  padding-top: 44px;
}

.contact-card {
  padding: 24px 24px 26px;
  background: linear-gradient(180deg, rgba(232,237,252,1) 0%, rgba(214,223,248,.92) 100%);
  border: 1px solid rgba(45,79,214,.12);
}

.contact-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--wp--preset--color--grey-mid);
  margin-bottom: 18px;
  max-width: 30ch;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 18px 16px;
  background: #fff;
  border: 1px solid rgba(45,79,214,.08);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(26,32,80,.16);
  background: transparent;
  padding: 10px 0 12px;
  color: var(--wp--preset--color--navy);
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
  outline: none;
  transition: border-color .25s var(--armist-ease), color .25s var(--armist-ease);
}

.contact-form textarea {
  min-height: 112px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(26,32,80,.58);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--wp--preset--color--cobalt);
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 8px;
  width: auto;
  border: none;
  background: var(--wp--preset--color--navy);
  color: #fff;
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s var(--armist-ease), color .25s var(--armist-ease);
}

.contact-submit:hover {
  background: var(--wp--preset--color--cobalt);
}

@media (max-width: 980px) {
  .hero {
    padding-top: 104px;
  }

  .hero-grid,
  .overview-head,
  .founder-quote,
  .case-images,
  .overview-bottom,
  .partners-list,
  .overview-shell {
    grid-template-columns: 1fr;
  }

  .services-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "primary primary"
      "investigation expertise"
      "verification due"
      "monitoring monitoring";
    grid-auto-rows: auto;
    gap: 12px;
  }

  .overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }

  .overview-card {
    padding-right: 14px;
  }

  .overview-card:nth-child(2n) {
    border-right: none;
    padding-right: 0;
  }

  .hero-copy,
  .overview,
  .site-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-copy {
    padding-top: 24px;
    padding-bottom: 40px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-rail {
    border-left: none;
    padding: 0 22px 28px;
  }

  .hero-title-line {
    white-space: normal;
  }

  .hero-separator,
  .overview-side {
    display: none;
  }

  .overview {
    padding: 92px 22px 112px;
  }

  .overview-main {
    padding-right: 0;
  }

  .overview-head {
    gap: 16px;
    margin-bottom: 48px;
  }

  .services-panel {
    margin-bottom: 52px;
    padding: 36px 0 42px;
  }

  .service-item,
  .service-item--primary,
  .service-item--wide {
    min-height: auto;
  }

  .service-item {
    padding: 18px 18px 20px;
  }

  .service-item--primary {
    min-height: 280px;
  }

  .service-item--primary h4 {
    font-size: 28px;
  }

  .service-item--compact h4,
  .service-item--wide h4 {
    font-size: 18px;
    line-height: 1.12;
  }

  .service-item p {
    font-size: 13px;
    line-height: 1.62;
  }

  .service-item--primary p {
    font-size: 14px;
    line-height: 1.66;
  }

  .founder-quote {
    gap: 14px;
    margin-bottom: 56px;
    padding-top: 36px;
  }

  .founder-quote-aside {
    grid-template-columns: 136px 1fr;
    gap: 16px;
    justify-self: start;
    padding-top: 24px;
  }

  .overview-bottom {
    gap: 40px;
    margin-top: 52px;
  }

  .partners-panel {
    padding-top: 36px;
  }

  .contact-panel {
    padding-top: 0;
    border-top: none;
  }

  .partners-list {
    gap: 8px;
  }
}
