/*
Theme Name: Rift Labs
Author: Rift Labs
Description: Applied AI, software, and technology company website for Rift Labs LLC.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: rift-labs
*/
:root {
  --ink: #07080d;
  --ink-2: #0c0e16;
  --ink-3: #131621;
  --paper: #f4f4f1;
  --paper-2: #e9e9e5;
  --white: #ffffff;
  --muted-dark: #9da1ad;
  --muted-light: #5d606a;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(7, 8, 13, 0.17);
  --blue: #5558ff;
  --blue-deep: #3438e7;
  --cyan: #21d7ff;
  --electric: #73a0ff;
  --lime: #d4ff47;
  --max: 1320px;
  --nav-height: 84px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: Arial, Helvetica, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

.shell {
  width: min(var(--max), calc(100% - 72px));
  margin-inline: auto;
}

.topline {
  position: relative;
  z-index: 120;
  height: 34px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: #030409;
  color: #8e93a2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.topline-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topline-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.topline-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(33, 215, 255, .72);
}

.site-header {
  position: absolute;
  top: 34px;
  left: 0;
  right: 0;
  z-index: 110;
  border-bottom: 1px solid rgba(255, 255, 255, .11);
  background: rgba(5, 6, 11, .72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background .25s ease, transform .25s ease;
}

.site-header.is-sticky {
  position: fixed;
  top: 0;
  background: rgba(5, 6, 11, .94);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .22);
}

.nav {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.brand-mark {
  position: relative;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #11131d;
  border: 1px solid rgba(255,255,255,.18);
}

.brand-mark svg {
  width: 31px;
  height: 31px;
}

.brand-copy {
  display: flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}

.brand-copy small {
  color: #777d8d;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-header .nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.site-header .nav-links > li > a:not(.nav-cta) {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #c5c8d1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.site-header .nav-links > li > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 1px;
  background: var(--cyan);
  transition: right .24s var(--ease);
}

.site-header .nav-links > li > a:not(.nav-cta):hover {
  color: white;
}

.site-header .nav-links > li > a:not(.nav-cta):hover::after {
  right: 0;
}

.nav-cta,
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 0;
  padding: 0 23px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: -.02em;
  transition: transform .22s var(--ease), background .22s ease, color .22s ease, box-shadow .22s ease;
}

.nav-cta {
  min-height: 46px;
  padding-inline: 19px;
  background: var(--blue);
  color: white;
  font-size: 13px;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 16px 40px rgba(85, 88, 255, .22);
}

.button-primary:hover {
  background: #696cff;
  box-shadow: 0 20px 50px rgba(85, 88, 255, .3);
}

.button-dark {
  color: white;
  background: var(--ink);
}

.button-outline {
  min-height: 52px;
  color: white;
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
}

.button-outline:hover {
  background: white;
  color: var(--ink);
}

.button svg,
.nav-cta svg {
  transition: transform .2s var(--ease);
}

.button:hover svg,
.nav-cta:hover svg {
  transform: translateX(4px);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.19);
  background: transparent;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 920px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 45%, rgba(47, 65, 197, .2), transparent 31%),
    linear-gradient(180deg, #05060c 0%, #080a13 100%);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.65), transparent 73%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

#neuralField {
  position: absolute;
  inset: 0 0 0 44%;
  width: 56%;
  height: 100%;
  opacity: .47;
  pointer-events: none;
  z-index: -2;
}

.hero-grid {
  min-height: 920px;
  padding-top: 170px;
  padding-bottom: 94px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr);
  align-items: center;
  gap: 44px;
}

.hero-copy {
  position: relative;
  z-index: 4;
  padding-top: 32px;
}

.eyebrow {
  margin-bottom: 25px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #b9bdca;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--blue);
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

h1 {
  max-width: 840px;
  font-size: clamp(64px, 7.2vw, 108px);
  line-height: .91;
  letter-spacing: -.07em;
  font-weight: 800;
}

h1 .accent {
  color: #7779ff;
}

.hero-lead {
  max-width: 690px;
  margin-top: 35px;
  color: #b8bbc5;
  font-size: clamp(18px, 1.65vw, 22px);
  line-height: 1.55;
  letter-spacing: -.015em;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #d6d9e0;
  font-size: 14px;
  font-weight: 800;
  border-bottom: 1px solid rgba(255,255,255,.35);
  padding-bottom: 7px;
  transition: color .2s ease, border-color .2s ease;
}

.text-link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.hero-trust {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 690px;
}

.hero-trust-item {
  min-height: 62px;
  padding-right: 20px;
  color: #858a99;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-trust-item + .hero-trust-item {
  padding-left: 22px;
  border-left: 1px solid rgba(255,255,255,.13);
}

.hero-trust-item strong {
  display: block;
  margin-bottom: 4px;
  color: white;
  font-size: 13px;
  letter-spacing: -.01em;
  text-transform: none;
}

.hero-visual {
  position: relative;
  min-height: 690px;
  display: grid;
  place-items: center;
  z-index: 2;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 92%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,104,255,.24), rgba(14,21,75,.08) 45%, transparent 69%);
  filter: blur(28px);
}

.rift-object {
  position: relative;
  width: min(680px, 112%);
  aspect-ratio: 1;
  transform: translateX(4%);
  filter: drop-shadow(0 0 55px rgba(31, 110, 255, .24));
}

.rift-object svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.rift-spin-slow {
  transform-origin: 400px 400px;
  animation: rotateSlow 26s linear infinite;
}

.rift-spin-reverse {
  transform-origin: 400px 400px;
  animation: rotateReverse 19s linear infinite;
}

.rift-float {
  animation: floatObject 7s ease-in-out infinite;
}

.rift-pulse {
  transform-origin: center;
  animation: pulseCore 5.5s ease-in-out infinite;
}

@keyframes rotateSlow {
  to { transform: rotate(360deg); }
}

@keyframes rotateReverse {
  to { transform: rotate(-360deg); }
}

@keyframes floatObject {
  0%, 100% { transform: translateY(-3px) rotate(-2deg); }
  50% { transform: translateY(13px) rotate(2deg); }
}

@keyframes pulseCore {
  0%, 100% { transform: scale(.98); opacity: .88; }
  50% { transform: scale(1.035); opacity: 1; }
}

.hero-label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(5,7,15,.74);
  backdrop-filter: blur(10px);
  color: #dfe4f2;
  font: 700 10px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 16px 38px rgba(0,0,0,.22);
}

.hero-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 11px var(--cyan);
}

.hero-label.one { top: 18%; right: 0; }
.hero-label.two { bottom: 19%; left: -3%; }
.hero-label.three { bottom: 8%; right: 10%; }

.hero-index {
  position: absolute;
  right: 30px;
  bottom: 34px;
  color: rgba(255,255,255,.35);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
  text-transform: uppercase;
}

.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: #090b12;
}

.marquee-track {
  width: max-content;
  min-height: 74px;
  display: flex;
  align-items: center;
  animation: marquee 28s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  color: #b6bac5;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-item::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--blue);
  transform: rotate(45deg);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.section {
  position: relative;
  padding: 124px 0;
}

.section-paper {
  background: var(--paper);
  color: var(--ink);
}

.section-dark {
  background: var(--ink);
  color: white;
}

.section-blue {
  background: var(--blue);
  color: white;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  color: currentColor;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .75;
}

.section-label::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.display-heading {
  font-size: clamp(46px, 6.1vw, 86px);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 800;
}

.large-copy {
  font-size: clamp(27px, 3.2vw, 48px);
  line-height: 1.13;
  letter-spacing: -.043em;
  font-weight: 600;
}

.muted-on-paper { color: var(--muted-light); }
.muted-on-dark { color: var(--muted-dark); }

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 100px;
  align-items: start;
}

.manifesto-aside {
  padding-top: 71px;
}

.manifesto-aside p {
  color: #53565f;
  font-size: 18px;
  line-height: 1.65;
}

.manifesto-aside .text-link {
  margin-top: 28px;
  color: var(--ink);
  border-color: rgba(7,8,13,.4);
}

.value-grid {
  margin-top: 92px;
  border-top: 1px solid var(--line-light);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.value-card {
  position: relative;
  min-height: 340px;
  padding: 34px 36px 38px 0;
}

.value-card + .value-card {
  padding-left: 36px;
  border-left: 1px solid var(--line-light);
}

.value-number {
  display: block;
  margin-bottom: 80px;
  color: var(--blue);
  font: 800 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.value-card h3 {
  max-width: 360px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.value-card p {
  margin-top: 18px;
  max-width: 360px;
  color: #60636c;
  font-size: 15px;
  line-height: 1.65;
}

.services-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .6fr);
  gap: 86px;
  align-items: end;
  margin-bottom: 72px;
}

.services-head p {
  padding-bottom: 8px;
  color: #9ea3b0;
  font-size: 17px;
  line-height: 1.65;
}

.service-list {
  border-top: 1px solid var(--line-dark);
}

.service-item {
  border-bottom: 1px solid var(--line-dark);
}

.service-toggle {
  width: 100%;
  min-height: 116px;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 24px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.service-num {
  color: #656a79;
  font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.service-toggle h3 {
  font-size: clamp(25px, 3.2vw, 45px);
  line-height: 1.05;
  letter-spacing: -.045em;
  transition: color .2s ease, transform .2s var(--ease);
}

.service-toggle:hover h3,
.service-item.open .service-toggle h3 {
  color: #8385ff;
  transform: translateX(8px);
}

.service-plus {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.23);
  transition: transform .26s var(--ease), background .2s ease;
}

.service-plus::before,
.service-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1px;
  background: white;
  transform: translate(-50%, -50%);
}

.service-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform .25s var(--ease);
}

.service-item.open .service-plus {
  background: var(--blue);
  border-color: var(--blue);
  transform: rotate(180deg);
}

.service-item.open .service-plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.service-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .42s var(--ease);
}

.service-item.open .service-panel {
  grid-template-rows: 1fr;
}

.service-panel-inner {
  overflow: hidden;
}

.service-panel-content {
  padding: 0 70px 48px 104px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(300px, .7fr);
  gap: 80px;
}

.service-panel-content p {
  color: #a9adba;
  font-size: 17px;
  line-height: 1.7;
}

.service-deliverables {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 9px;
}

.service-chip {
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,.17);
  color: #cdd1db;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}

.solutions-layout {
  display: grid;
  grid-template-columns: minmax(280px, .58fr) minmax(0, 1.42fr);
  gap: 96px;
  align-items: start;
}

.solutions-sticky {
  position: sticky;
  top: 120px;
}

.solutions-sticky p {
  margin-top: 28px;
  max-width: 410px;
  color: #5a5e67;
  font-size: 17px;
  line-height: 1.65;
}

.solution-list {
  border-top: 1px solid var(--line-light);
}

.solution-card {
  min-height: 252px;
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr) 190px;
  align-items: center;
  gap: 34px;
  border-bottom: 1px solid var(--line-light);
  transition: background .24s ease, padding .24s var(--ease);
}

.solution-card:hover {
  padding-left: 18px;
  background: rgba(85,88,255,.055);
}

.solution-icon {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(7,8,13,.22);
  color: var(--blue);
}

.solution-icon svg {
  width: 42px;
  height: 42px;
}

.solution-card h3 {
  font-size: 30px;
  line-height: 1.07;
  letter-spacing: -.045em;
}

.solution-card p {
  margin-top: 12px;
  color: #62656e;
  font-size: 14px;
  line-height: 1.6;
}

.solution-tags {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  color: #60636c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.proof-section {
  overflow: hidden;
}

.proof-section::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -170px;
  top: -210px;
  border: 1px solid rgba(255,255,255,.29);
  border-radius: 50%;
}

.proof-section::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -60px;
  top: -100px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
}

.proof-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .65fr);
  gap: 100px;
  align-items: end;
}

.proof-copy .display-heading {
  max-width: 900px;
}

.proof-aside p {
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.6;
}

.proof-aside .button {
  margin-top: 28px;
}

.engagement-grid {
  position: relative;
  z-index: 2;
  margin-top: 82px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.35);
}

.engagement-card {
  min-height: 275px;
  padding: 30px 34px 30px 0;
}

.engagement-card + .engagement-card {
  padding-left: 34px;
  border-left: 1px solid rgba(255,255,255,.35);
}

.engagement-card span {
  color: rgba(255,255,255,.68);
  font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.engagement-card h3 {
  margin-top: 64px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.engagement-card p {
  margin-top: 15px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.6;
}

.beyond-head {
  max-width: 950px;
  margin-bottom: 72px;
}

.beyond-head p {
  max-width: 700px;
  margin-top: 25px;
  color: #a7abb6;
  font-size: 18px;
  line-height: 1.65;
}

.beyond-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.beyond-card {
  position: relative;
  min-height: 460px;
  padding: 34px;
  overflow: hidden;
}

.beyond-card + .beyond-card {
  border-left: 1px solid var(--line-dark);
}

.beyond-card::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -110px;
  top: -130px;
  border: 1px solid rgba(85,88,255,.38);
  border-radius: 50%;
  transition: transform .5s var(--ease), background .4s ease;
}

.beyond-card:hover::before {
  transform: scale(1.45);
  background: rgba(85,88,255,.08);
}

.beyond-card .mini-label {
  color: #686e7d;
  font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.beyond-card h3 {
  position: relative;
  z-index: 2;
  margin-top: 210px;
  max-width: 320px;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -.05em;
}

.beyond-card p {
  position: relative;
  z-index: 2;
  margin-top: 17px;
  max-width: 350px;
  color: #999eaa;
  font-size: 14px;
  line-height: 1.65;
}

.process-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr);
  gap: 80px;
  align-items: end;
}

.process-head p {
  color: #5b5f68;
  font-size: 17px;
  line-height: 1.65;
}

.process-grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
}

.process-card {
  position: relative;
  min-height: 375px;
  padding: 32px 31px 36px 0;
}

.process-card + .process-card {
  padding-left: 31px;
  border-left: 1px solid var(--line-light);
}

.process-dot {
  position: absolute;
  top: -6px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 8px var(--paper);
}

.process-card + .process-card .process-dot {
  left: 31px;
}

.process-card .step-num {
  color: var(--blue);
  font: 800 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.process-card h3 {
  margin-top: 100px;
  font-size: 29px;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.process-card p {
  margin-top: 16px;
  color: #61646d;
  font-size: 14px;
  line-height: 1.65;
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 110px;
  align-items: start;
}

.why-intro {
  position: sticky;
  top: 120px;
}

.why-intro p {
  max-width: 500px;
  margin-top: 28px;
  color: #9da2af;
  font-size: 17px;
  line-height: 1.65;
}

.reason-list {
  border-top: 1px solid var(--line-dark);
}

.reason {
  min-height: 192px;
  padding: 30px 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 26px;
  border-bottom: 1px solid var(--line-dark);
}

.reason-num {
  color: #686d7b;
  font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.reason h3 {
  font-size: 29px;
  line-height: 1.06;
  letter-spacing: -.04em;
}

.reason p {
  max-width: 590px;
  margin-top: 13px;
  color: #9a9fac;
  font-size: 14px;
  line-height: 1.65;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, .55fr) minmax(0, 1.05fr);
  gap: 100px;
  align-items: start;
}

.faq-intro p {
  margin-top: 24px;
  max-width: 400px;
  color: #5c6069;
  font-size: 16px;
  line-height: 1.65;
}

.faq-list {
  border-top: 1px solid var(--line-light);
}

.faq-item {
  border-bottom: 1px solid var(--line-light);
}

.faq-toggle {
  width: 100%;
  min-height: 91px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 24px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.faq-toggle h3 {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.faq-toggle span {
  position: relative;
  width: 30px;
  height: 30px;
}

.faq-toggle span::before,
.faq-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.faq-toggle span::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform .2s ease;
}

.faq-item.open .faq-toggle span::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s var(--ease);
}

.faq-item.open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel > div {
  overflow: hidden;
}

.faq-panel p {
  max-width: 760px;
  padding: 0 45px 28px 0;
  color: #5f626b;
  font-size: 15px;
  line-height: 1.7;
}

.contact {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(85,88,255,.96), rgba(45,50,210,.98)),
    var(--blue);
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(90deg, transparent 18%, rgba(0,0,0,.65));
  pointer-events: none;
}

.contact-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, .72fr);
  gap: 92px;
  align-items: start;
}

.contact-copy .display-heading {
  max-width: 760px;
}

.contact-copy > p {
  max-width: 620px;
  margin-top: 27px;
  color: rgba(255,255,255,.8);
  font-size: 18px;
  line-height: 1.65;
}

.contact-details {
  margin-top: 47px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,.3);
  padding-top: 24px;
}

.contact-detail span {
  display: block;
  color: rgba(255,255,255,.62);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contact-detail strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
}

.contact-detail a {
  color: inherit;
  transition: color .2s ease;
}

.contact-detail a:hover,
.contact-detail a:focus-visible {
  color: var(--lime);
}

.contact-form {
  padding: 36px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 35px 80px rgba(8, 10, 54, .23);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: #4f525b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 53px;
  border: 0;
  border-bottom: 1px solid rgba(7,8,13,.28);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  padding: 12px 0;
  transition: border-color .2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
}

.field textarea {
  min-height: 116px;
  resize: vertical;
}

.form-action {
  margin-top: 13px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.form-note {
  color: #70737b;
  font-size: 10px;
  line-height: 1.45;
}

.form-status {
  min-height: 20px;
  margin-top: 12px;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 800;
}

.footer {
  padding: 46px 0 38px;
  background: #05060a;
  color: #8b8f9c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}

.footer-brand {
  max-width: 420px;
}

.footer-brand .brand {
  color: white;
}

.footer-brand p {
  margin-top: 18px;
  color: #777c8b;
  font-size: 13px;
  line-height: 1.65;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  color: #b2b6c1;
  font-size: 12px;
  font-weight: 700;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 1120px) {
  .shell {
    width: min(var(--max), calc(100% - 48px));
  }

  .site-header .nav-links {
    gap: 19px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, .78fr);
  }

  .rift-object {
    width: 118%;
  }

  .manifesto-grid,
  .services-head,
  .proof-grid,
  .process-head {
    gap: 60px;
  }

  .solutions-layout,
  .why-grid,
  .faq-layout,
  .contact-layout {
    gap: 62px;
  }

  .solution-card {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .solution-tags {
    grid-column: 2;
    padding-bottom: 20px;
  }
}

@media (max-width: 920px) {
  .topline {
    display: none;
  }

  .site-header {
    top: 0;
    position: fixed;
  }

  .menu-button {
    display: grid;
    place-items: center;
  }

  .site-header .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    bottom: auto;
    height: calc(100vh - var(--nav-height));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 26px 24px 40px;
    overflow-y: auto;
    background: #05060b;
    transform: translateX(100%);
    transition: transform .34s var(--ease);
  }

  .site-header .nav-links.open {
    transform: translateX(0);
  }

  .site-header .nav-links > li > a:not(.nav-cta) {
    min-height: 68px;
    border-bottom: 1px solid rgba(255,255,255,.13);
    font-size: 22px;
  }

  .nav-cta {
    width: 100%;
    min-height: 58px;
    margin-top: 26px;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 150px;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-visual {
    min-height: 570px;
  }

  .rift-object {
    width: min(700px, 92vw);
    transform: none;
  }

  #neuralField {
    inset: 45% 0 0 0;
    width: 100%;
    height: 55%;
  }

  .hero-index {
    display: none;
  }

  .manifesto-grid,
  .services-head,
  .solutions-layout,
  .proof-grid,
  .process-head,
  .why-grid,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .manifesto-aside {
    padding-top: 0;
  }

  .value-grid,
  .engagement-grid,
  .beyond-grid,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .value-card:nth-child(3),
  .engagement-card:nth-child(3),
  .beyond-card:nth-child(3),
  .process-card:nth-child(3),
  .process-card:nth-child(4) {
    border-top: 1px solid currentColor;
  }

  .value-card:nth-child(3),
  .engagement-card:nth-child(3),
  .beyond-card:nth-child(3),
  .process-card:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .solutions-sticky,
  .why-intro {
    position: static;
  }

  .contact-layout {
    gap: 50px;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(var(--max), calc(100% - 30px));
  }

  :root {
    --nav-height: 72px;
  }

  .nav {
    min-height: var(--nav-height);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-copy small {
    display: none;
  }

  .hero-grid {
    padding-top: 121px;
    padding-bottom: 64px;
  }

  h1 {
    font-size: clamp(52px, 15.5vw, 78px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .text-link {
    align-self: flex-start;
  }

  .hero-trust {
    grid-template-columns: 1fr;
  }

  .hero-trust-item {
    padding: 13px 0;
  }

  .hero-trust-item + .hero-trust-item {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.13);
  }

  .hero-visual {
    min-height: 440px;
  }

  .hero-label {
    font-size: 8px;
  }

  .hero-label.one { right: -4%; }
  .hero-label.two { left: -2%; }
  .hero-label.three { display: none; }

  .section {
    padding: 86px 0;
  }

  .display-heading {
    font-size: clamp(43px, 13vw, 65px);
  }

  .large-copy {
    font-size: 31px;
  }

  .value-grid,
  .engagement-grid,
  .beyond-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .value-card,
  .value-card + .value-card,
  .engagement-card,
  .engagement-card + .engagement-card,
  .beyond-card,
  .beyond-card + .beyond-card,
  .process-card,
  .process-card + .process-card {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line-light);
  }

  .engagement-card,
  .engagement-card + .engagement-card {
    border-color: rgba(255,255,255,.35);
  }

  .beyond-card,
  .beyond-card + .beyond-card {
    border-color: var(--line-dark);
  }

  .value-card:first-child,
  .engagement-card:first-child,
  .beyond-card:first-child,
  .process-card:first-child {
    border-top: 0;
  }

  .service-toggle {
    min-height: 96px;
    grid-template-columns: 42px minmax(0, 1fr) 38px;
    gap: 13px;
  }

  .service-plus {
    width: 36px;
    height: 36px;
  }

  .service-panel-content {
    padding: 0 0 36px 55px;
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .solution-card {
    min-height: 270px;
    padding: 28px 0;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
  }

  .solution-card:hover {
    padding-left: 0;
  }

  .solution-icon {
    width: 60px;
    height: 60px;
  }

  .solution-icon svg {
    width: 31px;
    height: 31px;
  }

  .solution-card h3 {
    font-size: 26px;
  }

  .proof-section::before,
  .proof-section::after {
    opacity: .35;
  }

  .beyond-card {
    min-height: 370px;
    padding: 28px 0;
  }

  .beyond-card h3 {
    margin-top: 145px;
  }

  .process-card {
    min-height: 310px;
  }

  .process-card + .process-card .process-dot {
    left: 0;
  }

  .reason {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .contact-form {
    padding: 26px 21px;
  }

  .form-grid,
  .contact-details {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .form-action {
    align-items: stretch;
    flex-direction: column;
  }

  .form-action .button {
    width: 100%;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* WordPress structure, navigation, and inner-page components. */

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

::selection {
  background: var(--cyan);
  color: var(--ink);
}

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.section-paper :where(a, button, input, textarea, select, summary):focus-visible,
.contact-form :where(a, button, input, textarea, select, summary):focus-visible {
  outline-color: var(--blue-deep);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
  position: fixed !important;
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 16px;
  margin: 0;
  overflow: visible;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
  font-size: 14px;
  font-weight: 800;
}

.site-main {
  min-height: 70vh;
}

.site-header .nav-links > li {
  position: relative;
}

.site-header .nav-links > li.current-menu-item > a:not(.nav-cta),
.site-header .nav-links > li.current-menu-ancestor > .nav-dropdown-label > a,
.site-header .nav-links a[aria-current="page"] {
  color: var(--white);
}

.nav-dropdown-label {
  display: flex;
  align-items: center;
}

.nav-dropdown-label > a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #c5c8d1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.01em;
  transition: color .2s ease;
}

.nav-dropdown-label > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 1px;
  background: var(--cyan);
  transition: right .24s var(--ease);
}

.nav-dropdown-label > a:hover,
.nav-dropdown-label > a:focus-visible,
.nav-solutions.is-open .nav-dropdown-label > a {
  color: var(--white);
}

.nav-dropdown-label > a:hover::after,
.nav-dropdown-label > a:focus-visible::after,
.nav-solutions.is-open .nav-dropdown-label > a::after {
  right: 0;
}

.submenu-toggle {
  width: 29px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #aeb2bf;
  cursor: pointer;
}

.submenu-toggle svg {
  transition: transform .24s var(--ease), color .2s ease;
}

.nav-solutions.is-open .submenu-toggle,
.submenu-toggle:hover {
  color: var(--cyan);
}

.nav-solutions.is-open .submenu-toggle svg {
  transform: rotate(180deg);
}

.site-header .sub-menu {
  position: absolute;
  /* Keep the menu physically connected to its trigger. A real gap here causes
     :hover to drop while the pointer travels from Solutions into the menu. */
  top: 100%;
  left: -20px;
  width: 310px;
  padding: 13px;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(7, 8, 13, .97);
  box-shadow: 0 24px 55px rgba(0, 0, 0, .38);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, visibility .2s ease, transform .25s var(--ease);
}

.site-header .sub-menu::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 13px;
  width: 54px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.site-header .sub-menu li + li {
  border-top: 1px solid rgba(255, 255, 255, .09);
}

.site-header .sub-menu a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 12px;
  color: #b9bdc8;
  font-size: 13px;
  font-weight: 700;
  transition: color .2s ease, background .2s ease, padding .2s var(--ease);
}

.site-header .sub-menu a::after {
  content: "↗";
  margin-left: auto;
  color: var(--cyan);
  opacity: 0;
  transform: translate(-5px, 4px);
  transition: opacity .2s ease, transform .2s var(--ease);
}

.site-header .sub-menu a:hover,
.site-header .sub-menu a:focus-visible,
.site-header .sub-menu .current-menu-item > a {
  padding-left: 16px;
  background: rgba(85, 88, 255, .12);
  color: var(--white);
}

.site-header .sub-menu a:hover::after,
.site-header .sub-menu a:focus-visible::after,
.site-header .sub-menu .current-menu-item > a::after {
  opacity: 1;
  transform: translate(0, 0);
}

.site-header .nav-solutions.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (hover: hover) and (min-width: 921px) {
  .site-header .nav-solutions {
    /* The entire trigger-to-menu corridor remains a hover target. */
    padding-bottom: 5px;
    margin-bottom: -5px;
  }

  .site-header .nav-solutions:hover > .sub-menu,
  .site-header .nav-solutions:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}

.admin-bar .site-header.is-sticky {
  top: 32px;
}

/* Interior heroes */

.inner-hero,
.page-hero {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 222px 0 104px;
  background:
    radial-gradient(circle at 78% 45%, rgba(47, 65, 197, .25), transparent 34%),
    linear-gradient(180deg, #05060c 0%, #090b14 100%);
  color: var(--white);
}

.inner-hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .7), transparent 92%);
}

.inner-hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -160px;
  bottom: -310px;
  width: 680px;
  height: 680px;
  border: 1px solid rgba(85, 88, 255, .28);
  border-radius: 50%;
  box-shadow: 0 0 120px rgba(48, 82, 255, .12) inset;
}

.inner-hero__grid,
.page-hero__grid,
.page-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .65fr);
  gap: 90px;
  align-items: end;
}

.inner-hero__copy .display-heading,
.page-hero__copy .display-heading,
.page-hero > .shell > .display-heading {
  max-width: 880px;
}

.inner-hero__aside,
.page-hero__aside {
  padding-bottom: 7px;
}

.inner-hero__aside .hero-lead,
.page-hero__aside .hero-lead {
  margin-top: 0;
  color: #b8bbc5;
  font-size: 18px;
}

.inner-hero__aside .button,
.page-hero__aside .button {
  margin-top: 30px;
}

.breadcrumb {
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: #858b9a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.breadcrumb:hover {
  color: var(--cyan);
}

.inner-hero--solution .eyebrow {
  margin-bottom: 20px;
}

/* Editorial content */

.content-narrow {
  max-width: 860px;
}

.about-editor-content,
.solutions-editor-content,
.solution-editor-content {
  padding-top: 0;
}

.prose,
.article-content {
  color: #33363f;
  font-size: 18px;
  line-height: 1.78;
}

.prose > * + *,
.article-content > * + * {
  margin-top: 1.45em;
}

.prose :where(h2, h3, h4),
.article-content :where(h2, h3, h4) {
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.prose h2,
.article-content h2 {
  margin-top: 2.1em;
  font-size: clamp(34px, 4vw, 54px);
}

.prose h3,
.article-content h3 {
  margin-top: 1.9em;
  font-size: clamp(27px, 3vw, 36px);
}

.prose h4,
.article-content h4 {
  margin-top: 1.8em;
  font-size: 22px;
}

.prose :where(ul, ol),
.article-content :where(ul, ol) {
  padding-left: 1.3em;
}

.prose li + li,
.article-content li + li {
  margin-top: .55em;
}

.prose a:not(.button),
.article-content a:not(.button) {
  color: var(--blue-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.prose blockquote,
.article-content blockquote {
  padding: 8px 0 8px 30px;
  border-left: 3px solid var(--blue);
  color: var(--ink);
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.42;
  letter-spacing: -.025em;
}

.prose blockquote cite,
.article-content blockquote cite {
  display: block;
  margin-top: 14px;
  color: #656872;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.prose :where(pre, code),
.article-content :where(pre, code) {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.prose code,
.article-content code {
  padding: .15em .34em;
  background: var(--paper-2);
  font-size: .88em;
}

.prose pre,
.article-content pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 24px;
  background: var(--ink-2);
  color: #e5e8f0;
  font-size: 14px;
  line-height: 1.65;
}

.prose pre code,
.article-content pre code {
  padding: 0;
  background: transparent;
}

.prose figure,
.article-content figure {
  max-width: 100%;
}

.prose figcaption,
.article-content figcaption,
.wp-caption-text {
  margin-top: 10px;
  color: #70737c;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
}

.prose table,
.article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.prose :where(th, td),
.article-content :where(th, td) {
  padding: 14px;
  border: 1px solid var(--line-light);
  text-align: left;
}

.prose th,
.article-content th {
  background: var(--paper-2);
  color: var(--ink);
}

.alignwide {
  width: min(1120px, calc(100vw - 48px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.alignfull {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.wp-block-separator {
  border: 0;
  border-top: 1px solid var(--line-light);
}

.wp-block-button__link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 0;
  background: var(--blue);
  color: var(--white) !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
}

.page-links {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}

.page-links > :where(a, span) {
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-light);
}

.text-link--dark {
  color: var(--ink);
  border-color: rgba(7, 8, 13, .4);
}

.text-link--dark:hover {
  color: var(--blue-deep);
  border-color: var(--blue-deep);
}

.card-link {
  margin-top: 17px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-deep);
  border-bottom: 1px solid rgba(52, 56, 231, .35);
  padding-bottom: 4px;
  font-size: 12px;
  font-weight: 800;
}

.solution-icon > span {
  font: 800 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.process-head .button {
  margin-top: 28px;
}

.check-list {
  display: grid;
  gap: 15px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 29px;
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .38em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: rotate(-45deg);
}

/* Blog, archive, and search listings */

.posts-section,
.blog-content,
.archive-content {
  background: var(--paper);
  color: var(--ink);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.post-card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: #fbfbf8;
  color: var(--ink);
  transition: transform .28s var(--ease), border-color .22s ease, box-shadow .28s ease;
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: rgba(85, 88, 255, .45);
  box-shadow: 0 24px 52px rgba(17, 20, 34, .1);
}

.post-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--line-light);
  background: var(--ink-2);
}

.post-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .5s var(--ease), filter .4s ease;
}

.post-card:hover .post-card__media img {
  transform: scale(1.035);
}

.post-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 67% 38%, rgba(33, 215, 255, .22), transparent 24%),
    radial-gradient(circle at 35% 75%, rgba(85, 88, 255, .38), transparent 34%),
    linear-gradient(135deg, #090b12, #121735);
}

.post-card__placeholder::before,
.post-card__placeholder::after {
  content: "";
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(115, 160, 255, .28);
  border-radius: 50%;
  transform: rotate(18deg);
}

.post-card__placeholder::after {
  width: 35%;
  border-color: rgba(33, 215, 255, .25);
  transform: translate(38%, -15%);
}

.post-card__placeholder > span {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, .75);
  font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.post-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 29px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: #71747e;
  font: 700 10px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.post-meta a:hover {
  color: var(--blue-deep);
}

.post-card__title {
  margin-top: 27px;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.06;
  letter-spacing: -.045em;
}

.post-card__title a {
  transition: color .2s ease;
}

.post-card__title a:hover {
  color: var(--blue-deep);
}

.post-card__excerpt {
  margin-top: 17px;
  color: #5e626b;
  font-size: 14px;
  line-height: 1.65;
}

.post-card__excerpt p {
  margin: 0;
}

.post-card__body > .text-link {
  margin-top: auto;
  padding-top: 25px;
}

.section-dark .post-card,
.insights-section .post-card {
  border-color: var(--line-dark);
  background: #0c0f18;
  color: var(--white);
}

.section-dark .post-card__media,
.insights-section .post-card__media {
  border-color: var(--line-dark);
}

.section-dark .post-card .post-meta,
.insights-section .post-card .post-meta,
.section-dark .post-card__excerpt,
.insights-section .post-card__excerpt {
  color: #9da2af;
}

.section-dark .post-card__title a:hover,
.insights-section .post-card__title a:hover,
.section-dark .post-card .post-meta a:hover,
.insights-section .post-card .post-meta a:hover {
  color: var(--cyan);
}

.section-dark .post-card .text-link--dark,
.insights-section .post-card .text-link--dark {
  color: #e0e4ec;
  border-color: rgba(255, 255, 255, .35);
}

.section-dark .post-card .text-link--dark:hover,
.insights-section .post-card .text-link--dark:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.empty-state {
  max-width: 760px;
  padding: 70px 0;
}

.empty-state p {
  max-width: 600px;
  margin-top: 22px;
  color: #62656e;
  font-size: 17px;
  line-height: 1.65;
}

.navigation.pagination,
.posts-navigation,
.post-navigation {
  margin-top: 58px;
}

.navigation .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pagination .page-numbers {
  min-width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid var(--line-light);
  background: transparent;
  color: #50535c;
  font-size: 12px;
  font-weight: 800;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.posts-navigation .nav-links,
.post-navigation .nav-links {
  justify-content: space-between;
  gap: 20px;
}

.posts-navigation a,
.post-navigation a {
  display: inline-flex;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(7, 8, 13, .32);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

/* Single articles */

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 860px) minmax(220px, 300px);
  justify-content: space-between;
  gap: 80px;
  align-items: start;
}

.article-content {
  min-width: 0;
}

.article-content > :first-child {
  margin-top: 0;
}

.article-sidebar,
.post-sidebar {
  position: sticky;
  top: 120px;
  padding-top: 8px;
}

.article-sidebar > * + *,
.post-sidebar > * + * {
  margin-top: 35px;
  padding-top: 35px;
  border-top: 1px solid var(--line-light);
}

.post-taxonomy,
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.post-taxonomy a,
.post-tags a {
  display: inline-flex;
  padding: 8px 10px;
  border: 1px solid var(--line-light);
  color: #555963;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.post-taxonomy a:hover,
.post-tags a:hover {
  border-color: var(--blue);
  color: var(--blue-deep);
}

/* WordPress forms and feedback states */

.search-form {
  max-width: 680px;
  display: flex;
  align-items: stretch;
}

.search-form label {
  flex: 1;
}

.search-field,
.comment-form :where(input[type="text"], input[type="email"], input[type="url"], textarea) {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line-light);
  border-radius: 0;
  background: #fbfbf8;
  color: var(--ink);
  padding: 12px 15px;
  outline: none;
}

.search-field:focus,
.comment-form :where(input, textarea):focus {
  border-color: var(--blue);
}

.search-submit,
.comment-form .submit {
  min-height: 54px;
  border: 0;
  border-radius: 0;
  padding: 0 22px;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.comment-list {
  display: grid;
  gap: 24px;
  list-style: none;
}

.comment-list .comment-body {
  padding: 24px;
  border: 1px solid var(--line-light);
}

.comment-form > p + p {
  margin-top: 18px;
}

.comment-form label {
  display: block;
  margin-bottom: 7px;
  color: #555963;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.form-status.is-success {
  color: #18724b;
}

.form-status.is-error {
  color: #a6222f;
}

.contact-form .honeypot,
.contact-form [aria-hidden="true"].field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 1120px) {
  .inner-hero__grid,
  .page-hero__grid,
  .page-hero__inner {
    gap: 60px;
  }

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

  .content-layout {
    gap: 55px;
  }
}

@media (max-width: 920px) {
  .admin-bar .site-header,
  .admin-bar .site-header.is-sticky {
    top: 32px;
  }

  .site-header .nav-links > li {
    width: 100%;
  }

  .nav-dropdown-label {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
  }

  .nav-dropdown-label > a {
    flex: 1;
    min-height: 68px;
    font-size: 22px;
  }

  .nav-dropdown-label > a::after {
    display: none;
  }

  .submenu-toggle {
    width: 62px;
    height: 68px;
    border-left: 1px solid rgba(255, 255, 255, .13);
  }

  .site-header .sub-menu {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0 12px;
    overflow: hidden;
    border: 0;
    border-bottom: 0 solid rgba(255, 255, 255, .13);
    background: rgba(255, 255, 255, .035);
    box-shadow: none;
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: max-height .34s var(--ease), padding .34s var(--ease), border-width .34s ease, visibility 0s linear .34s;
  }

  .site-header .sub-menu::before {
    display: none;
  }

  .site-header .nav-solutions.is-open > .sub-menu {
    max-height: 520px;
    padding-block: 10px;
    border-bottom-width: 1px;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .site-header .sub-menu a {
    min-height: 49px;
    font-size: 15px;
  }

  .inner-hero,
  .page-hero {
    min-height: 590px;
    padding: 178px 0 88px;
  }

  .inner-hero__grid,
  .page-hero__grid,
  .page-hero__inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .inner-hero__aside,
  .page-hero__aside {
    max-width: 700px;
    padding-bottom: 0;
  }

  .post-grid {
    gap: 22px;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar,
  .post-sidebar {
    position: static;
    padding-top: 42px;
    border-top: 1px solid var(--line-light);
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header,
  .admin-bar .site-header.is-sticky {
    top: 46px;
  }
}

@media (max-width: 680px) {
  .inner-hero,
  .page-hero {
    min-height: 520px;
    padding: 145px 0 72px;
  }

  .inner-hero::after,
  .page-hero::after {
    width: 480px;
    height: 480px;
    right: -240px;
    bottom: -230px;
  }

  .inner-hero__aside .hero-lead,
  .page-hero__aside .hero-lead {
    font-size: 16px;
  }

  .breadcrumb {
    margin-bottom: 20px;
  }

  .prose,
  .article-content {
    font-size: 16px;
  }

  .prose blockquote,
  .article-content blockquote {
    padding-left: 20px;
  }

  .alignwide {
    width: calc(100vw - 30px);
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .post-card__body {
    padding: 24px;
  }

  .post-card__title {
    font-size: 28px;
  }

  .posts-navigation .nav-links,
  .post-navigation .nav-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-form {
    flex-direction: column;
  }

  .search-submit {
    width: 100%;
  }
}

/* Final template-specific layouts. */

.listing-head {
  margin-bottom: 58px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.listing-head > div:first-child {
  max-width: 720px;
}

.listing-head .section-label {
  margin-bottom: 22px;
}

.listing-head .search-form {
  flex: 0 1 400px;
}

.post-listing-section > .post-grid > .empty-state {
  grid-column: 1 / -1;
}

.listing-pagination:empty {
  display: none;
}

.listing-pagination .navigation.pagination {
  padding-top: 6px;
  border-top: 1px solid var(--line-light);
}

.search-form__field {
  position: relative;
  flex: 1;
  display: flex;
  align-items: stretch;
}

.search-form__field .search-field {
  min-width: 0;
  flex: 1;
  padding-right: 16px;
}

.search-form__field .search-submit {
  width: 56px;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 19px;
}

.inner-hero .search-form,
.error-hero .search-form {
  max-width: 560px;
  margin-top: 30px;
}

.inner-hero .search-field,
.error-hero .search-field {
  border-color: rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .06);
  color: var(--white);
}

.inner-hero .search-field::placeholder,
.error-hero .search-field::placeholder {
  color: #9297a5;
}

.insights-section > .shell > .text-link {
  margin-top: 46px;
}

.insights-section .empty-state {
  padding: 12px 0 8px;
}

.insights-section .empty-state p {
  color: #a7abb6;
}

.page-featured-image {
  margin-bottom: 60px;
}

.page-featured-image img {
  width: 100%;
  max-height: 660px;
  display: block;
  object-fit: cover;
}

/* Article hero and reading layout. */

.article-hero {
  position: relative;
  isolation: isolate;
  min-height: 780px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 210px 0 92px;
  background:
    radial-gradient(circle at 76% 38%, rgba(47, 65, 197, .24), transparent 32%),
    linear-gradient(180deg, #05060c 0%, #090b14 100%);
  color: var(--white);
}

.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .23;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .72), transparent 95%);
}

.article-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -170px;
  bottom: -390px;
  width: 760px;
  height: 760px;
  border: 1px solid rgba(85, 88, 255, .3);
  border-radius: 50%;
  box-shadow: 0 0 140px rgba(48, 82, 255, .12) inset;
}

.article-hero__inner {
  position: relative;
  z-index: 2;
}

.article-hero__copy {
  max-width: 1120px;
}

.article-hero__copy .eyebrow a:hover {
  color: var(--cyan);
}

.article-hero__copy .display-heading {
  max-width: 1120px;
  font-size: clamp(52px, 7vw, 98px);
}

.article-hero__meta {
  max-width: 860px;
  margin-top: 62px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, .17);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-meta-item {
  min-height: 54px;
  padding-right: 24px;
}

.article-meta-item + .article-meta-item {
  padding-left: 25px;
  border-left: 1px solid rgba(255, 255, 255, .14);
}

.article-meta-item > span {
  display: block;
  margin-bottom: 7px;
  color: #7f8493;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.article-meta-item :where(time, strong) {
  color: #d9dce5;
  font-size: 13px;
  font-weight: 700;
}

.article-featured-section {
  padding-top: 0;
  padding-bottom: 0;
}

.article-featured-image {
  position: relative;
  z-index: 3;
  transform: translateY(-48px);
}

.article-featured-image img {
  width: 100%;
  max-height: 720px;
  display: block;
  object-fit: cover;
  box-shadow: 0 28px 70px rgba(14, 17, 30, .14);
}

.article-featured-image figcaption {
  margin-top: 11px;
  color: #71747e;
  font-size: 11px;
  line-height: 1.5;
}

.article-featured-section + .article-body-section {
  padding-top: 84px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(180px, 230px) minmax(0, 820px);
  justify-content: center;
  gap: 96px;
  align-items: start;
}

.article-sidebar {
  position: sticky;
  top: 120px;
  padding-top: 7px;
}

.mini-label,
.article-sidebar .mini-label {
  display: block;
  margin-bottom: 13px;
  color: #747780;
  font: 800 10px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.article-sidebar .mini-label:not(:first-child) {
  margin-top: 35px;
  padding-top: 31px;
  border-top: 1px solid var(--line-light);
}

.article-taxonomy {
  color: #555963;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.article-taxonomy a {
  border-bottom: 1px solid rgba(7, 8, 13, .25);
}

.article-taxonomy a:hover {
  border-color: var(--blue-deep);
  color: var(--blue-deep);
}

.article-footer {
  padding: 0 0 104px;
}

.article-navigation {
  max-width: 1146px;
}

.article-navigation .post-navigation {
  margin-top: 0;
}

.article-navigation .nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.article-navigation :where(.nav-previous, .nav-next) {
  min-width: 0;
}

.article-navigation .nav-next {
  border-left: 1px solid var(--line-light);
  text-align: right;
}

.article-navigation a {
  width: 100%;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 28px 34px;
  border: 0;
  transition: background .22s ease, color .22s ease;
}

.article-navigation .nav-previous a {
  padding-left: 0;
}

.article-navigation .nav-next a {
  align-items: flex-end;
  padding-right: 0;
}

.article-navigation a:hover {
  background: rgba(85, 88, 255, .05);
  color: var(--blue-deep);
}

.post-nav-label {
  color: #737680;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.post-nav-title {
  max-width: 430px;
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.comments-section,
.related-posts {
  border-top: 1px solid var(--line-light);
}

.comments-area {
  color: var(--ink);
}

.comments-heading {
  margin-bottom: 52px;
}

.comments-heading .section-label {
  margin-bottom: 22px;
}

.comment-list {
  margin: 0 0 64px;
}

.comment-list .comment {
  list-style: none;
}

.comment-list .children {
  margin: 22px 0 0 34px;
  display: grid;
  gap: 22px;
  list-style: none;
}

.comment-list .comment-body {
  background: #fafaf7;
}

.comment-list .comment-meta {
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: #747780;
  font-size: 11px;
}

.comment-list .comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
}

.comment-list .avatar {
  border-radius: 50%;
}

.comment-list .comment-content {
  color: #4e515a;
  font-size: 15px;
  line-height: 1.7;
}

.comment-list .reply {
  margin-top: 16px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.comment-navigation {
  margin: -34px 0 58px;
}

.comment-reply-title {
  margin-bottom: 20px;
}

.comment-form {
  margin-top: 24px;
}

.comment-notes,
.logged-in-as,
.no-comments {
  color: #696c75;
  font-size: 13px;
}

.related-posts {
  padding-top: 104px;
}

/* Not-found page */

.error-hero {
  position: relative;
  isolation: isolate;
  min-height: 810px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 190px 0 100px;
  background:
    radial-gradient(circle at 25% 50%, rgba(47, 65, 197, .22), transparent 30%),
    linear-gradient(180deg, #05060c 0%, #090b14 100%);
  color: var(--white);
}

.error-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 96px 96px;
}

.error-hero__grid {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  gap: 75px;
  align-items: center;
}

.error-code {
  color: transparent;
  font-size: clamp(180px, 25vw, 390px);
  font-weight: 800;
  line-height: .74;
  letter-spacing: -.11em;
  -webkit-text-stroke: 1px rgba(115, 160, 255, .65);
  text-shadow: 0 0 80px rgba(85, 88, 255, .22);
}

.error-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.error-copy .display-heading {
  font-size: clamp(48px, 6vw, 82px);
}

.error-copy .hero-lead {
  margin-top: 26px;
  font-size: 17px;
}

.error-links .value-card h2 {
  max-width: 360px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.error-links .value-card h2 a:hover {
  color: var(--blue-deep);
}

@media (max-width: 1120px) {
  .article-layout {
    gap: 65px;
  }

  .error-hero__grid {
    gap: 45px;
  }
}

@media (max-width: 920px) {
  .site-header .nav-links {
    visibility: hidden;
    pointer-events: none;
    transition: transform .34s var(--ease), visibility 0s linear .34s;
  }

  .site-header .nav-links.open {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .listing-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }

  .listing-head .search-form {
    width: min(100%, 560px);
    flex-basis: auto;
  }

  .article-hero {
    min-height: 700px;
    padding: 176px 0 82px;
  }

  .article-hero__meta {
    margin-top: 48px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    padding-bottom: 34px;
    border-bottom: 1px solid var(--line-light);
  }

  .article-sidebar .mini-label:not(:first-child) {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .error-hero {
    min-height: auto;
    padding: 170px 0 90px;
  }

  .error-hero__grid {
    grid-template-columns: 1fr;
  }

  .error-code {
    font-size: clamp(140px, 42vw, 280px);
  }
}

@media (max-width: 680px) {
  .listing-head {
    margin-bottom: 42px;
  }

  .search-form__field {
    width: 100%;
  }

  .search-form__field .search-submit {
    width: 54px;
    flex-basis: 54px;
  }

  .page-featured-image {
    margin-bottom: 42px;
  }

  .article-hero {
    min-height: 650px;
    padding: 145px 0 68px;
  }

  .article-hero__copy .display-heading {
    font-size: clamp(45px, 13vw, 68px);
  }

  .article-hero__meta {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .article-meta-item,
  .article-meta-item + .article-meta-item {
    min-height: 0;
    padding: 0;
    border-left: 0;
  }

  .article-meta-item + .article-meta-item {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  .article-featured-image {
    transform: translateY(-28px);
  }

  .article-featured-section + .article-body-section {
    padding-top: 58px;
  }

  .article-sidebar {
    grid-template-columns: 1fr;
  }

  .article-navigation .nav-links {
    grid-template-columns: 1fr;
  }

  .article-navigation .nav-next {
    border-top: 1px solid var(--line-light);
    border-left: 0;
    text-align: left;
  }

  .article-navigation :where(.nav-previous, .nav-next) a {
    min-height: 120px;
    align-items: flex-start;
    padding: 24px 0;
  }

  .comment-list .children {
    margin-left: 14px;
  }

  .comments-section,
  .related-posts {
    padding-top: 82px;
  }

  .error-hero {
    padding-top: 138px;
  }

  .error-copy .display-heading {
    font-size: clamp(43px, 13vw, 64px);
  }
}
