/* ==========================================================================
   Lexrunit — design tokens
   Change the brand here: colours, type, spacing, radii and shadows.
   ========================================================================== */
:root {
  --navy: #021488;
  --royal: #0546b6;
  --bright: #0a91f9;
  --cyan: #c5ecf4;
  --cyan-soft: #eaf8fb;
  --tint: #f5f8fc;
  --white: #ffffff;
  --ink: #18233a;
  --muted: #536078;
  --border: #e2e9f3;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1160px;
  --radius-sm: 8px;
  --radius: 12px;
  --section-y: clamp(4.5rem, 9vw, 7.5rem);
  --shadow-sm: 0 1px 2px rgba(2, 20, 136, 0.06);
  --shadow-md: 0 18px 45px -28px rgba(2, 20, 136, 0.32);
  --shadow-lg: 0 32px 70px -40px rgba(2, 20, 136, 0.42);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--royal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy);
}

button {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 999;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  color: var(--white);
  transform: translateY(0);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease),
    color 180ms var(--ease), box-shadow 180ms var(--ease), transform 180ms var(--ease);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 20px -14px rgba(2, 20, 136, 0.85);
}

.btn-primary:hover {
  background: var(--royal);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -14px rgba(2, 20, 136, 0.8);
}

.btn-secondary {
  background: var(--white);
  border-color: #cbd6e6;
  color: var(--navy);
}

.btn-secondary:hover {
  background: var(--tint);
  border-color: var(--royal);
  color: var(--navy);
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 42px;
  padding: 0.65rem 1.1rem;
  font-size: 0.86rem;
}

.btn-icon {
  flex: none;
  transition: transform 180ms var(--ease);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: var(--white);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: 0 10px 30px -28px rgba(2, 20, 136, 0.55);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: auto;
  color: var(--navy);
  text-decoration: none;
}

.brand:hover {
  color: var(--navy);
}

.brand picture {
  display: block;
  flex: none;
}

.brand img {
  width: 46px;
}

.brand-word {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-list a {
  position: relative;
  display: inline-block;
  padding: 0.45rem 0;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-list a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.15rem;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--navy);
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform 200ms var(--ease), opacity 160ms var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.25rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(ellipse 48% 62% at 88% 4%, rgba(197, 236, 244, 0.58), transparent 68%),
    linear-gradient(180deg, #fbfdff 0%, var(--white) 72%);
}

.hero::before {
  content: "";
  position: absolute;
  top: -16%;
  right: -7%;
  width: min(44vw, 590px);
  aspect-ratio: 1.487;
  background: url("../img/lexrunit-ribbon-384.png") center / contain no-repeat;
  opacity: 0.05;
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(10, 145, 249, 0.2);
  border-radius: 99px;
  background: rgba(234, 248, 251, 0.75);
  color: var(--royal);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bright);
  box-shadow: 0 0 0 4px rgba(10, 145, 249, 0.12);
}

.hero h1 {
  max-width: 13ch;
  margin-top: 1.5rem;
  font-size: clamp(2.55rem, 5.4vw, 4.3rem);
  letter-spacing: -0.045em;
}

.hero-emphasis {
  position: relative;
  z-index: 0;
  color: var(--royal);
  white-space: nowrap;
}

.hero-emphasis::after {
  content: "";
  position: absolute;
  right: -0.02em;
  bottom: 0.04em;
  left: -0.02em;
  z-index: -1;
  height: 0.13em;
  border-radius: 99px;
  background: var(--cyan);
}

.hero-lede {
  max-width: 55ch;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.trust-line svg {
  flex: none;
  color: var(--royal);
}

.trust-sep {
  color: #9aa6b9;
}

/* Hero UI composition ------------------------------------------------------ */
.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-stage {
  position: relative;
  min-height: 455px;
  padding: 1.1rem 0 2.5rem 1rem;
}

.app-window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 40px;
  padding: 0 13px;
  border-bottom: 1px solid var(--border);
  background: #fafcff;
}

.app-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d6deea;
}

.app-url {
  margin-inline: auto;
  padding: 0.2rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: var(--white);
  color: #7b879c;
  font-size: 0.58rem;
  letter-spacing: 0.02em;
}

.app-body {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  min-height: 318px;
}

.app-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: 15px 10px;
  background: var(--navy);
}

.app-side img {
  width: 23px;
  margin-bottom: 6px;
}

.side-line {
  width: 23px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.24);
}

.side-line.is-active {
  background: var(--bright);
}

.side-line-short {
  width: 15px;
}

.app-main {
  padding: 1.05rem 1.1rem 1.15rem;
  background: #fcfdff;
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.app-kicker {
  display: block;
  color: var(--royal);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.app-title {
  display: block;
  margin-top: 0.12rem;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-avatar {
  width: 27px;
  height: 27px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bright), var(--royal));
}

.app-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 1rem 0 0.8rem;
}

.app-tile {
  padding: 0.55rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.tile-label {
  display: block;
  color: var(--muted);
  font-size: 0.46rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tile-bar {
  display: block;
  width: 62%;
  height: 5px;
  margin-top: 0.45rem;
  border-radius: 99px;
  background: var(--cyan);
}

.tile-bar.short {
  width: 40%;
  background: #dce7f5;
}

.app-panel {
  padding: 0.7rem 0.75rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.panel-label {
  color: var(--navy);
  font-size: 0.56rem;
  font-weight: 600;
}

.panel-key {
  color: #8591a6;
  font-size: 0.46rem;
}

.chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 78px;
  padding-top: 0.3rem;
}

.chart span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--bright), var(--royal));
  opacity: 0.82;
}

.bar-1 { height: 34%; }
.bar-2 { height: 52%; }
.bar-3 { height: 43%; }
.bar-4 { height: 70%; }
.bar-5 { height: 58%; }
.bar-6 { height: 84%; }
.bar-7 { height: 66%; }

.chat-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(270px, 72%);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 26px 55px -26px rgba(2, 20, 136, 0.4);
  animation: float-card 7s ease-in-out infinite;
}

@media (min-width: 1101px) {
  .chat-card {
    right: -1rem;
  }
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.8rem;
  background: var(--navy);
  color: var(--white);
}

.chat-avatar {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: none;
  overflow: hidden;
  border-radius: 50%;
  background: var(--white);
}

.chat-avatar img {
  width: 19px;
}

.chat-head strong {
  display: block;
  font-size: 0.64rem;
  font-weight: 600;
  line-height: 1.3;
}

.chat-head span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.48rem;
  line-height: 1.4;
}

.online-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--bright);
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.7rem;
  background: #f7fbfe;
}

.bubble {
  max-width: 90%;
  padding: 0.4rem 0.55rem;
  border-radius: 9px;
  font-size: 0.54rem;
  line-height: 1.55;
}

.bubble.in {
  border: 1px solid var(--border);
  border-bottom-left-radius: 3px;
  background: var(--white);
  color: var(--ink);
}

.bubble.out {
  align-self: flex-end;
  border-bottom-right-radius: 3px;
  background: var(--navy);
  color: var(--white);
}

.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.7rem;
  border-top: 1px solid var(--border);
  color: #9aa5b7;
  font-size: 0.48rem;
}

.chat-send {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--navy);
  font-size: 0.6rem;
  font-weight: 700;
}

.float-card {
  position: absolute;
  top: -1.25rem;
  left: 1.1rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  animation: float-card 6s ease-in-out -2.2s infinite;
}

.float-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--cyan-soft);
  color: var(--royal);
}

.float-card strong {
  display: block;
  color: var(--navy);
  font-size: 0.56rem;
  font-weight: 700;
  line-height: 1.35;
}

.float-card div span {
  display: block;
  color: var(--muted);
  font-size: 0.47rem;
  line-height: 1.5;
}

@keyframes float-card {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ==========================================================================
   Shared section layout
   ========================================================================== */
.section {
  padding: var(--section-y) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.75fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--royal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  flex: none;
  border-radius: 99px;
  background: var(--bright);
}

.section-title {
  max-width: 20ch;
  margin-top: 1.1rem;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  letter-spacing: -0.04em;
}

.section-lede {
  max-width: 46ch;
  padding-bottom: 0.35rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

/* ==========================================================================
   Services
   ========================================================================== */
.services {
  border-top: 1px solid var(--border);
  background: var(--tint);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 1180px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.35rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms var(--ease), border-color 200ms var(--ease),
    box-shadow 200ms var(--ease);
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: #b9d7f7;
  box-shadow: var(--shadow-md);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(10, 145, 249, 0.16);
  border-radius: 10px;
  background: var(--cyan-soft);
  color: var(--royal);
}

.service-card h3 {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.service-card p {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.services-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.services-foot a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

.services-foot a svg {
  transition: transform 180ms var(--ease);
}

.services-foot a:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1020px) {
  .header-inner {
    gap: 1.25rem;
  }

  .nav-list {
    gap: 1.15rem;
  }

  .primary-nav {
    gap: 1.2rem;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  .float-card {
    left: 0.85rem;
  }

  .chat-card {
    right: -1rem;
  }
}

@media (max-width: 900px) {
  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.25rem;
  }

  .section-lede {
    max-width: 62ch;
  }

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

  .hero-copy {
    max-width: 640px;
  }

  .hero h1 {
    max-width: 15ch;
  }

  .hero-visual {
    width: min(100%, 640px);
    margin-inline: auto;
  }

  .hero-stage {
    min-height: 0;
    padding: 1rem 1rem 3.5rem 0;
  }

  .chat-card {
    right: 0;
  }

  .float-card {
    display: none;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 80px;
  }

  .container {
    width: min(100% - 2rem, var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 40px;
  }

  .brand-word {
    font-size: 0.94rem;
  }

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

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 0.85rem 1rem 1.25rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--white);
    box-shadow: 0 22px 35px -28px rgba(2, 20, 136, 0.5);
  }

  .primary-nav.is-open {
    display: flex;
    min-height: calc(100vh - 68px);
    min-height: calc(100dvh - 68px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 0.8rem 0.25rem;
    border-bottom: 1px solid #edf1f7;
    font-size: 0.95rem;
  }

  .nav-list a::after {
    display: none;
  }

  .nav-cta {
    width: 100%;
    margin-top: 0.35rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 3.1rem);
  }

  .hero-lede {
    margin-top: 1.2rem;
  }

  .hero-actions {
    margin-top: 1.6rem;
  }

  .hero-actions .btn {
    flex: 1 1 200px;
  }

  .hero-stage {
    padding-bottom: 3.75rem;
  }

  .app-main {
    padding: 0.85rem;
  }

  .app-tiles {
    gap: 5px;
  }

  .app-tile {
    padding: 0.45rem 0.5rem;
  }

  .chat-card {
    width: min(250px, 64%);
  }
}

@media (max-width: 520px) {
  .eyebrow {
    font-size: 0.64rem;
    letter-spacing: 0.06em;
  }

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

  .service-card {
    padding: 1.35rem 1.2rem;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 9.4vw, 2.65rem);
  }

  .hero-stage {
    padding: 0.75rem 0 3.5rem;
  }

  .app-body {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 280px;
  }

  .app-side {
    padding: 12px 8px;
  }

  .side-line {
    width: 19px;
  }

  .app-url {
    font-size: 0.5rem;
  }

  .app-main {
    padding: 0.75rem;
  }

  .app-head {
    gap: 0.5rem;
  }

  .app-title {
    font-size: 0.78rem;
  }

  .app-kicker {
    font-size: 0.46rem;
  }

  .tile-label {
    font-size: 0.4rem;
  }

  .panel-key {
    display: none;
  }

  .chart {
    height: 62px;
    gap: 4px;
  }

  .chat-card {
    width: 68%;
  }

  .chat-body {
    padding: 0.55rem;
  }

  .bubble {
    font-size: 0.49rem;
    padding: 0.35rem 0.45rem;
  }

  .chat-body .bubble:last-child {
    display: none;
  }

  .trust-line {
    font-size: 0.72rem;
    column-gap: 0.4rem;
    row-gap: 0.15rem;
  }

  .trust-sep {
    display: none;
  }
}

@media (max-width: 380px) {
  .brand-word {
    font-size: 0.86rem;
    letter-spacing: 0.11em;
  }
}

/* ==========================================================================
   Work
   ========================================================================== */
.work {
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse 48% 42% at 100% 0%, rgba(197, 236, 244, 0.32), transparent 70%),
    var(--white);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.1rem;
}

.work-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms var(--ease), border-color 200ms var(--ease),
    box-shadow 200ms var(--ease);
}

.work-card--wide {
  grid-column: span 4;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.work-card:hover {
  border-color: #b9d7f7;
  box-shadow: var(--shadow-md);
}

.js .work-card.is-visible:hover {
  transform: translateY(-3px);
}

.work-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 228px;
  padding: 1.5rem;
  overflow: hidden;
}

.work-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.work-card--wide .work-cover {
  min-height: 340px;
}

.work-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.45rem 1.35rem 1.35rem;
}

.work-card--wide .work-body {
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.2rem);
}

.work-card--wide .work-tags {
  margin-top: 1.4rem;
}

.work-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.work-cat {
  color: var(--royal);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.work-index {
  color: #6f7c92;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.work-body h3 {
  margin-top: 0.7rem;
  font-size: 1.32rem;
  letter-spacing: -0.025em;
}

.work-card--wide h3 {
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
}

.work-body > p {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 1.1rem;
}

.work-tags li {
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: var(--tint);
  color: #46536a;
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.3;
}

.work-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.work-foot a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

.work-foot a svg {
  transition: transform 180ms var(--ease);
}

.work-foot a:hover svg {
  transform: translateX(3px);
}

/* Cover: DraveUp ---------------------------------------------------------- */
.work-cover--draveup {
  background:
    radial-gradient(circle at 80% 4%, rgba(10, 145, 249, 0.5), transparent 42%),
    linear-gradient(145deg, #04165e, var(--navy) 55%, #07205f);
}

.mock-domain {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.7);
  color: var(--ink);
  transform: rotate(-1.2deg);
}

.mock-chrome {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--border);
}

.mock-dots {
  display: flex;
  gap: 3px;
}

.mock-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d5deea;
}

.mock-url {
  margin-inline: auto;
  padding: 0.2rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 99px;
  color: #7a879c;
  font-size: 0.5rem;
}

.mock-eyebrow {
  margin-top: 0.9rem;
  color: var(--royal);
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.mock-heading {
  max-width: 14ch;
  margin-top: 0.15rem;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.mock-search {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  padding: 0.3rem 0.3rem 0.3rem 0.65rem;
  border: 1px solid #ccd9ea;
  border-radius: 7px;
  font-size: 0.6rem;
}

.mock-search span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: #6c7a90;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-search b {
  color: var(--navy);
  font-size: 0.52rem;
}

.mock-search i {
  padding: 0.38rem 0.6rem;
  border-radius: 5px;
  background: var(--bright);
  color: #fff;
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 600;
}

.mock-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  background: var(--cyan-soft);
  font-size: 0.56rem;
}

.mock-result strong {
  color: var(--navy);
}

.mock-badge {
  flex: none;
  padding: 0.14rem 0.4rem;
  border-radius: 99px;
  background: #d9f7e8;
  color: #11653f;
  font-size: 0.46rem;
  font-weight: 700;
}

.mock-tlds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.55rem;
}

.mock-tlds span {
  padding: 0.15rem 0.35rem;
  border: 1px solid var(--border);
  border-radius: 99px;
  color: #647188;
  font-size: 0.44rem;
}

/* Cover: AcademicX ------------------------------------------------------- */
.work-cover--academic {
  background:
    radial-gradient(circle at 10% 8%, rgba(10, 145, 249, 0.14), transparent 48%),
    radial-gradient(circle at 90% 90%, rgba(197, 236, 244, 0.65), transparent 50%),
    linear-gradient(160deg, #eaf8fb, #f7fbff 55%, #eef4ff);
}

.mock-school {
  position: relative;
  z-index: 1;
  width: min(100%, 330px);
  padding: 0.9rem;
  border: 1px solid #dbe7f5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 22px 45px -26px rgba(2, 20, 136, 0.45);
}

.mock-school-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.6rem;
  font-weight: 700;
}

.mock-school-top img {
  width: 24px;
  height: auto;
}

.mock-school-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 0.7rem;
}

.mock-school-tiles span {
  padding: 0.45rem 0.4rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: #5b6980;
  font-size: 0.44rem;
  font-weight: 600;
}

.mock-school-tiles em {
  display: block;
  width: 70%;
  height: 4px;
  margin-top: 0.3rem;
  border-radius: 99px;
  background: var(--cyan);
}

.mock-term {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.65rem;
  padding: 0.45rem 0.5rem;
  border-radius: 6px;
  background: var(--cyan-soft);
  color: var(--navy);
  font-size: 0.5rem;
  font-weight: 600;
}

.mock-term b {
  padding: 0.15rem 0.4rem;
  border-radius: 99px;
  background: #d9f7e8;
  color: #11653f;
  font-size: 0.42rem;
}

.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 52px;
  margin-top: 0.65rem;
  padding: 0.35rem 0.4rem 0;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.mock-bars i {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--bright), var(--royal));
  opacity: 0.8;
}

.mock-bars i:nth-child(1) { height: 32%; }
.mock-bars i:nth-child(2) { height: 48%; }
.mock-bars i:nth-child(3) { height: 40%; }
.mock-bars i:nth-child(4) { height: 64%; }
.mock-bars i:nth-child(5) { height: 54%; }
.mock-bars i:nth-child(6) { height: 78%; }

/* Cover: Sinod ----------------------------------------------------------- */
.work-cover--sinod {
  background:
    radial-gradient(circle at 16% 12%, rgba(76, 201, 240, 0.28), transparent 48%),
    radial-gradient(circle at 86% 86%, rgba(114, 9, 183, 0.38), transparent 52%),
    #071226;
}

.mock-sinod {
  position: relative;
  z-index: 1;
  width: 100%;
}

.mock-sinod-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.mock-sinod-brand img {
  width: 38px;
  height: 38px;
  padding: 3px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.mock-orbit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 0.8rem;
}

.mock-orbit li {
  padding: 0.4rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: #e8f6ff;
  font-size: 0.5rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.mock-orbit li:last-child {
  grid-column: 1 / -1;
  border-color: rgba(76, 201, 240, 0.4);
  color: #8ee9ff;
}

/* Cover: OnyiIgbo -------------------------------------------------------- */
.work-cover--igbo {
  background:
    radial-gradient(circle at 84% 0%, rgba(255, 255, 255, 0.24), transparent 42%),
    linear-gradient(150deg, #6d28d9, #7c3aed 55%, #4c1d95);
}

.mock-igbo {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 22px 45px -26px rgba(30, 7, 70, 0.8);
}

.mock-igbo > img {
  width: 52px;
  height: 52px;
  flex: none;
  padding: 4px;
  border-radius: 10px;
  background: #fff;
}

.mock-word {
  flex: 1;
  min-width: 100px;
}

.mock-word span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.46rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mock-word strong {
  display: block;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.mock-word em {
  color: #e9d5ff;
  font-size: 0.54rem;
  font-style: normal;
}

.mock-igbo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  width: 100%;
}

.mock-igbo-tags span {
  padding: 0.25rem 0.4rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.44rem;
  font-weight: 500;
}

/* Cover: Dr. Andre ------------------------------------------------------- */
.work-cover--doctor {
  background:
    radial-gradient(circle at 82% 18%, rgba(37, 211, 102, 0.34), transparent 44%),
    linear-gradient(155deg, #031a4e, var(--navy) 65%, #06346f);
}

.mock-wa {
  position: relative;
  z-index: 1;
  width: min(100%, 285px);
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.7);
  transform: rotate(1.2deg);
}

.mock-wa-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.7rem;
  background: #075e54;
  color: #fff;
}

.mock-wa-head img {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: #fff;
}

.mock-wa-head strong {
  display: block;
  font-size: 0.62rem;
  line-height: 1.3;
}

.mock-wa-head span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.46rem;
  line-height: 1.3;
}

.mock-wa-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.65rem;
  background: #e5ddd5;
}

.wa-in,
.wa-out {
  max-width: 90%;
  padding: 0.4rem 0.5rem;
  border-radius: 7px;
  font-size: 0.52rem;
  line-height: 1.5;
}

.wa-in {
  border-bottom-left-radius: 2px;
  background: #fff;
  color: #253147;
}

.wa-out {
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  background: #dcf8c6;
  color: #1d2a1f;
}

.wa-cta {
  align-self: flex-start;
  margin-top: 0.2rem;
  padding: 0.3rem 0.5rem;
  border-radius: 5px;
  background: #128c7e;
  color: #fff;
  font-size: 0.46rem;
  font-weight: 600;
}

/* ==========================================================================
   Process
   ========================================================================== */
.process {
  border-top: 1px solid #d7edf5;
  border-bottom: 1px solid #d7edf5;
  background:
    radial-gradient(ellipse 40% 55% at 100% 100%, rgba(255, 255, 255, 0.65), transparent 70%),
    var(--cyan-soft);
}

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-track::before {
  content: "";
  position: absolute;
  top: 26px;
  right: 26px;
  left: 26px;
  height: 1px;
  background: linear-gradient(90deg, rgba(10, 145, 249, 0.4), rgba(5, 70, 182, 0.14));
}

.process-step {
  position: relative;
  padding-top: 3.9rem;
}

.process-num {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid #b9e3ee;
  border-radius: 50%;
  background: var(--white);
  color: var(--royal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.process-step h3 {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.process-step p {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.process-tag {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid #cfe7f3;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--royal);
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.3;
}

.process-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid #d5eaf3;
  color: var(--muted);
  font-size: 0.84rem;
}

.process-note svg {
  flex: none;
  color: var(--royal);
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.about-copy .section-title {
  max-width: 18ch;
}

.about-lede {
  max-width: 54ch;
  margin-top: 1.35rem;
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.75;
}

.about-copy > p:not(.section-eyebrow):not(.about-lede) {
  max-width: 56ch;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  margin-top: 2.2rem;
}

.about-values li {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.about-values h3 {
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.about-values p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.65;
}

.about-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: var(--radius);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-lg);
}

.about-panel::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -70px;
  width: 260px;
  aspect-ratio: 1.487;
  background: url("../img/lexrunit-ribbon-384.png") center / contain no-repeat;
  opacity: 0.08;
  transform: rotate(-8deg);
  pointer-events: none;
}

.about-panel-top {
  position: relative;
}

.about-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #fff;
}

.about-mark img {
  width: 40px;
  height: auto;
}

.about-panel-kicker {
  margin-top: 1.3rem;
  color: var(--cyan);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-panel h3 {
  margin-top: 0.5rem;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.25;
}

.about-facts {
  position: relative;
  margin: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.about-facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.about-facts dt {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-facts dd {
  margin: 0;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  text-align: right;
}

.about-panel blockquote {
  position: relative;
  margin: 1.5rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  border-top: 1px solid var(--border);
  background: var(--tint);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.contact-copy .section-title {
  max-width: 16ch;
}

.contact-lede {
  max-width: 46ch;
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.contact-methods {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

.contact-methods li {
  display: flex;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid rgba(10, 145, 249, 0.16);
  border-radius: 9px;
  background: var(--white);
  color: var(--royal);
}

.contact-label {
  display: block;
  color: #5f6d83;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-methods a,
.contact-methods p {
  margin-top: 0.15rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.55;
  text-decoration: none;
}

.contact-methods a:hover {
  color: var(--royal);
  text-decoration: underline;
}

.contact-note {
  margin-top: 1.2rem;
  color: #647188;
  font-size: 0.78rem;
}

.contact-form-wrap {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.contact-form-wrap > h3 {
  font-size: 1.25rem;
}

.form-intro {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.contact-form {
  margin-top: 1.4rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

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

.form-field label {
  margin-bottom: 0.4rem;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
}

.req {
  color: #b42318;
}

.label-optional {
  color: #8a96a9;
  font-weight: 400;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #cfd9e7;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  line-height: 1.5;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.form-field input,
.form-field select {
  height: 46px;
  padding: 0 0.8rem;
}

.form-field textarea {
  min-height: 128px;
  padding: 0.7rem 0.8rem;
  resize: vertical;
}

.form-field select {
  appearance: none;
  padding-right: 2.2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='m1 1.5 5 5 5-5' stroke='%23536078' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #98a3b4;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--bright);
  box-shadow: 0 0 0 3px rgba(10, 145, 249, 0.14);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.field-error {
  margin-top: 0.3rem;
  color: #a52a1e;
  font-size: 0.72rem;
  line-height: 1.4;
}

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

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.form-privacy {
  color: #647188;
  font-size: 0.72rem;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.8rem 0.9rem;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.55;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  border: 1px solid #b7e3c8;
  background: #eefaf3;
  color: #145c36;
}

.form-status.is-error {
  border: 1px solid #f0c2bc;
  background: #fdf2f1;
  color: #8f291d;
}

/* FAQ -------------------------------------------------------------------- */
.contact-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.35fr) minmax(0, 0.65fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--border);
}

.contact-faq-head h3 {
  margin-top: 1.1rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

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

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

.faq-item summary {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2.2rem 1rem 0;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0.1rem;
  color: var(--royal);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 180ms var(--ease);
}

.faq-item[open] summary {
  color: var(--royal);
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  padding: 0 2.2rem 1.1rem 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 1.5rem;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.68);
}

.site-footer::before {
  content: "";
  position: absolute;
  right: -7%;
  bottom: -32%;
  width: min(46vw, 580px);
  aspect-ratio: 1.487;
  background: url("../img/lexrunit-ribbon-384.png") center / contain no-repeat;
  opacity: 0.05;
  transform: rotate(-8deg);
  pointer-events: none;
}

.footer-top {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 1fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.footer-brand p {
  max-width: 34ch;
  margin-top: 1.1rem;
  font-size: 0.86rem;
  line-height: 1.7;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  text-decoration: none;
}

.footer-logo:hover {
  color: #fff;
}

.footer-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 10px;
  background: #fff;
}

.footer-mark img {
  width: 36px;
  height: auto;
}

.footer-word {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
}

.footer-col h2 {
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-col--contact p {
  margin-top: 1rem;
  font-size: 0.84rem;
  line-height: 1.65;
}

a.footer-mail {
  display: block;
  width: fit-content;
  margin-top: 0.9rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

a.footer-mail:hover {
  color: var(--cyan);
}

a.footer-cta {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}

a.footer-cta:hover {
  color: #fff;
}

a.footer-cta svg {
  transition: transform 180ms var(--ease);
}

a.footer-cta:hover svg {
  transform: translateX(3px);
}

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-top-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  text-decoration: none;
}

.footer-top-link:hover {
  color: #fff;
}

/* Active navigation link -------------------------------------------------- */
.nav-list a[aria-current="location"] {
  color: var(--navy);
}

.nav-list a[aria-current="location"]::after {
  transform: scaleX(1);
}

/* Responsive: new sections ------------------------------------------------- */
@media (max-width: 1100px) {
  .work-card--wide .work-cover {
    padding: 1.15rem;
  }

  .mock-domain {
    padding: 0.95rem;
  }

  .mock-heading {
    font-size: 1.05rem;
  }
}

@media (max-width: 980px) {
  .work-card {
    grid-column: span 3;
  }

  .work-card--wide {
    grid-column: span 6;
  }

  .work-card--wide .work-cover {
    min-height: 300px;
  }

  .process-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem 1.1rem;
  }

  .process-track::before {
    display: none;
  }

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

  .about-copy {
    max-width: 680px;
  }

  .about-panel {
    width: min(100%, 620px);
  }

  .contact-faq {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 560px;
  }
}

@media (max-width: 680px) {
  .work-card,
  .work-card--wide {
    grid-column: span 6;
  }

  .work-card--wide {
    display: flex;
  }

  .work-card--wide .work-cover {
    min-height: 290px;
  }

  .work-card--wide .work-body {
    padding: 1.45rem 1.35rem 1.35rem;
  }

  .work-cover {
    min-height: 245px;
  }

  .mock-domain {
    width: min(100%, 360px);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .process-track {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .process-step {
    min-height: 54px;
    padding: 0 0 0 4.2rem;
  }

  .process-step h3 {
    padding-top: 0.15rem;
  }

  .process-note {
    align-items: flex-start;
    font-size: 0.8rem;
  }

  .about-values {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-form-wrap {
    padding: 1.25rem;
  }

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

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

  .form-actions {
    align-items: stretch;
  }

  .form-actions .btn {
    width: 100%;
  }

  .form-privacy {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }
}

@media (max-width: 400px) {
  .work-cover {
    min-height: 228px;
    padding: 1rem;
  }

  .mock-domain {
    padding: 0.85rem;
  }

  .mock-heading {
    font-size: 0.98rem;
  }

  .mock-search i {
    padding: 0.34rem 0.45rem;
  }

  .mock-orbit li {
    font-size: 0.46rem;
  }

  .footer-word {
    font-size: 0.9rem;
  }
}


/* ==========================================================================
   404
   ========================================================================== */
.error-page {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(4rem, 10vw, 8rem) 0;
  text-align: center;
  background:
    radial-gradient(ellipse 48% 60% at 50% 0%, rgba(197, 236, 244, 0.55), transparent 70%),
    linear-gradient(180deg, #fbfdff, var(--white));
}

.error-page .container {
  max-width: 700px;
}

.error-page .section-eyebrow {
  justify-content: center;
}

.error-page h1 {
  margin-top: 1.2rem;
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.error-page > .container > p:not(.section-eyebrow) {
  max-width: 48ch;
  margin: 1.2rem auto 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.error-page .hero-actions {
  justify-content: center;
}

@media (max-width: 760px) {
  .nav-list a[aria-current="location"] {
    color: var(--royal);
    font-weight: 600;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 1rem;
  }
}

/* ==========================================================================
   Motion
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Multi-page additions
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nowrap {
  white-space: nowrap;
}

.nav-list a[aria-current="page"] {
  color: var(--navy);
}

.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Hero headline ----------------------------------------------------------- */
.hero h1 {
  max-width: 19ch;
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  line-height: 1.03;
}

.hero-headline {
  display: block;
}

.hero-type-line {
  display: block;
  min-height: 1.08em;
  color: var(--royal);
  white-space: nowrap;
}

.hero-type-text {
  display: inline;
}

.hero-caret {
  display: inline-block;
  width: 0.075em;
  height: 0.88em;
  margin-left: 0.06em;
  border-radius: 2px;
  background: var(--bright);
  vertical-align: -0.04em;
  animation: hero-caret-blink 1s steps(1, end) infinite;
}

@keyframes hero-caret-blink {
  0%,
  46% { opacity: 1; }
  47%,
  100% { opacity: 0; }
}

.hero-rest-line {
  display: block;
}

.hero-swap {
  position: relative;
  z-index: 0;
  display: inline-block;
  color: var(--royal);
}

.hero-swap::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.03em;
  left: 0;
  z-index: -1;
  height: 0.12em;
  border-radius: 99px;
  background: var(--cyan);
}

.hero-swap-mask {
  display: inline-grid;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.06;
}

.hero-swap-word {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(112%);
  transition: transform 520ms var(--ease), opacity 280ms var(--ease);
}

.hero-swap-word.is-active {
  opacity: 1;
  transform: translateY(0);
}

.hero-swap-word.is-leaving {
  opacity: 0;
  transform: translateY(-112%);
}

/* Hero image gallery ------------------------------------------------------ */
.hero-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  align-items: stretch;
}

.hero-shot {
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--tint);
  box-shadow: var(--shadow-lg);
}

.hero-shot--lead {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.hero-shot--small {
  aspect-ratio: 4 / 3;
}

.hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 700ms var(--ease);
}

.hero-shot--small img {
  object-position: left top;
}

.hero-shot--draveup img {
  object-position: center top;
}

.hero-shot:hover img {
  transform: scale(1.025);
}

.hero-shot figcaption {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  left: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.42rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  background: rgba(2, 20, 136, 0.82);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  backdrop-filter: blur(7px);
}

.hero-shot figcaption span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.55rem;
  font-weight: 500;
  white-space: nowrap;
}

/* Page hero --------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.25rem, 6vw, 5.25rem) 0 clamp(2.75rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 45% 75% at 92% 0%, rgba(197, 236, 244, 0.45), transparent 70%),
    linear-gradient(180deg, #fbfdff, var(--white));
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
}

.page-hero h1 {
  max-width: 20ch;
  margin-top: 1rem;
  font-size: clamp(2.45rem, 4.8vw, 3.85rem);
}

.page-hero-lede {
  max-width: 44ch;
  padding-bottom: 0.35rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.75;
}

.section--tight {
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
}

/* Work cards and project links ------------------------------------------- */
.work-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.work-card,
.work-card--wide {
  grid-column: auto;
  display: flex;
  min-width: 0;
}

.work-card--wide .work-cover {
  min-height: 228px;
}

.work-card--wide .work-body {
  justify-content: flex-start;
  padding: 1.45rem 1.35rem 1.35rem;
}

.work-card--wide h3 {
  font-size: 1.32rem;
}

.work-link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  color: var(--royal);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.work-link:hover {
  color: var(--navy);
}

.work-link-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: none;
  border: 1px solid rgba(10, 145, 249, 0.28);
  border-radius: 50%;
  background: var(--cyan-soft);
  color: var(--royal);
  transition: transform 200ms var(--ease), background 200ms var(--ease);
}

.work-link:hover .work-link-icon {
  background: var(--cyan);
  transform: translate(2px, -2px);
}

.work-link--whatsapp .work-link-icon {
  border-color: rgba(37, 211, 102, 0.42);
  background: #eefbf3;
  color: #128c4b;
}

/* Services page ----------------------------------------------------------- */
.service-list {
  border-top: 1px solid var(--border);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  padding: clamp(1.8rem, 3.5vw, 2.8rem) 0;
  border-bottom: 1px solid var(--border);
}

.service-detail-kicker {
  color: var(--royal);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-detail h2 {
  margin-top: 0.55rem;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.service-detail p {
  max-width: 60ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.2rem;
  margin-top: 1.1rem;
}

.check-list li {
  position: relative;
  padding-left: 1.25rem;
  color: #3f4d63;
  font-size: 0.84rem;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.2rem;
  left: 0;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: inset 0 0 0 2px var(--white);
}

/* CTA band ---------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 4.75rem) 0;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
}

.cta-band::before {
  content: "";
  position: absolute;
  right: -5%;
  bottom: -70%;
  width: min(44vw, 560px);
  aspect-ratio: 1.487;
  background: url("../img/lexrunit-ribbon-384.png") center / contain no-repeat;
  opacity: 0.07;
  transform: rotate(-8deg);
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  max-width: 22ch;
  margin-top: 0.9rem;
  color: #fff;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

.cta-band p {
  max-width: 50ch;
  margin-top: 0.8rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.cta-band .section-eyebrow {
  color: var(--cyan);
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.cta-band .btn-primary {
  border-color: #fff;
  background: #fff;
  color: var(--navy);
}

.cta-band .btn-primary:hover {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--navy);
}

.cta-band .btn-secondary {
  border-color: rgba(255, 255, 255, 0.32);
  background: transparent;
  color: #fff;
}

.cta-band .btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Home previews ----------------------------------------------------------- */
.process-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  list-style: none;
}

.process-preview li {
  min-width: 0;
  padding: 1.45rem 1.3rem;
  border-right: 1px solid var(--border);
}

.process-preview li:last-child {
  border-right: 0;
}

.process-preview-num {
  color: var(--bright);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.process-preview h3 {
  margin-top: 0.55rem;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.process-preview p {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.section-foot-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.section-foot-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

.section-foot-link a svg {
  transition: transform 180ms var(--ease);
}

.section-foot-link a:hover svg {
  transform: translateX(3px);
}

/* Tally embeds ------------------------------------------------------------ */
.tally-card {
  padding: clamp(0.5rem, 1.5vw, 1rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.tally-card-head {
  padding: 0.9rem 0.8rem 0.4rem;
}

.tally-card-head h3 {
  font-size: 1.2rem;
}

.tally-card-head p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.6;
}

.tally-embed {
  display: block;
  width: 100%;
  min-height: 540px;
  border: 0;
}

.tally-embed--tall {
  min-height: 880px;
}

.tally-fallback {
  padding: 0 0.8rem 0.9rem;
  color: #647188;
  font-size: 0.72rem;
  line-height: 1.5;
}

.contact-intake {
  border-top: 1px solid var(--border);
  background: var(--white);
}

.contact-intake .contact-grid {
  align-items: start;
}

.contact-intake .section-title {
  max-width: 17ch;
}

.form-embed-note {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--tint);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.form-embed-note svg {
  flex: none;
  margin-top: 0.15rem;
  color: var(--royal);
}

/* Responsive: multi-page additions --------------------------------------- */
@media (max-width: 1020px) {
  .hero h1 {
    font-size: clamp(2.65rem, 5.6vw, 4rem);
  }

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

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

  .process-preview li:nth-child(2) {
    border-right: 0;
  }

  .process-preview li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 900px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.25rem;
  }

  .page-hero-lede {
    max-width: 58ch;
    padding-bottom: 0;
  }

  .hero-gallery {
    max-width: 640px;
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 2.85rem);
  }

  .hero-type-line {
    min-height: 1.1em;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .cta-band-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-band-actions {
    width: 100%;
  }

  .cta-band-actions .btn {
    flex: 1 1 210px;
  }

  .nav-list a[aria-current="page"] {
    color: var(--royal);
    font-weight: 600;
  }
}

@media (max-width: 680px) {
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-cover,
  .work-card--wide .work-cover {
    min-height: 245px;
  }

  .process-preview {
    grid-template-columns: 1fr;
  }

  .process-preview li,
  .process-preview li:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .process-preview li:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .check-list {
    grid-template-columns: 1fr;
  }

  .tally-embed {
    min-height: 580px;
  }

  .tally-embed--tall {
    min-height: 920px;
  }

  .hero-shot figcaption {
    display: none;
  }

  .work-body {
    padding: 1.25rem 1.1rem 1.15rem;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 2.05rem;
  }
}

/* ==========================================================================
   Visual refresh — bigger wordmark, image-led heroes, audience art
   ========================================================================== */

/* Header ------------------------------------------------------------------ */
.header-inner {
  min-height: 84px;
  gap: 1.5rem;
}

.brand {
  gap: 0.55rem;
}

.brand img {
  width: 50px;
}

.brand-word {
  font-size: clamp(1.5rem, 2.2vw, 2.05rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
}

/* Home hero --------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3.5rem, 6.5vw, 6rem) 0 clamp(4rem, 7vw, 6.25rem);
  background:
    radial-gradient(ellipse 52% 62% at 84% 6%, rgba(10, 145, 249, 0.42), transparent 66%),
    radial-gradient(ellipse 38% 50% at 8% 100%, rgba(197, 236, 244, 0.13), transparent 72%),
    var(--navy);
  color: rgba(255, 255, 255, 0.72);
}

.hero::before {
  top: -26%;
  right: -9%;
  width: min(52vw, 700px);
  opacity: 0.08;
  filter: brightness(0) invert(1);
  transform: rotate(-10deg);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 60% 40%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 90% at 60% 40%, #000 10%, transparent 78%);
  pointer-events: none;
  animation: hero-grid-drift 30s linear infinite;
}

@keyframes hero-grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 68px 68px, 68px 68px; }
}

.hero-grid {
  position: relative;
  z-index: 1;
  gap: clamp(2.25rem, 5vw, 4.75rem);
}

.hero-copy {
  position: relative;
}

.hero .eyebrow {
  border-color: rgba(197, 236, 244, 0.26);
  background: rgba(255, 255, 255, 0.07);
  color: var(--cyan);
  backdrop-filter: blur(8px);
}

.hero .status-dot {
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(197, 236, 244, 0.14);
}

.hero h1 {
  max-width: 14ch;
  margin-top: 1.4rem;
  color: #fff;
  font-size: clamp(3.1rem, 6.2vw, 5.5rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-headline {
  display: block;
}

.hero-line {
  display: block;
}

.hero h1 .hero-swap {
  color: var(--cyan);
}

.hero h1 .hero-swap::after {
  background: rgba(197, 236, 244, 0.2);
}

.hero-accent {
  color: var(--cyan);
}

.hero-lede {
  max-width: 48ch;
  margin-top: 1.55rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.7;
}

.hero-actions {
  margin-top: 1.85rem;
}

.hero .btn-primary {
  background: var(--cyan);
  color: var(--navy);
}

.hero .btn-primary:hover {
  background: #fff;
  color: var(--navy);
}

.hero .btn-secondary {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.hero .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero-audiences {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 1.65rem;
}

.hero-audiences li {
  padding: 0.34rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.3;
}


/* Hero visual ------------------------------------------------------------- */
.hero-visual {
  position: relative;
  padding-top: 0.4rem;
  padding-bottom: 1.8rem;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -6% -10% 12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 145, 249, 0.42), transparent 68%);
  filter: blur(44px);
  pointer-events: none;
}

.hero-gallery {
  gap: 0.7rem;
}

.hero-shot {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 60px -34px rgba(0, 8, 55, 0.9);
}

.hero-shot figcaption {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(2, 20, 136, 0.86);
}

.hero-live,
.hero-note {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.015em;
  box-shadow: 0 18px 36px -24px rgba(0, 8, 55, 0.7);
  animation: hero-chip-float 6.5s ease-in-out infinite;
}

.hero-live {
  top: -0.85rem;
  left: -0.85rem;
}

.hero-live .status-dot {
  background: #20b26b;
  box-shadow: 0 0 0 3px rgba(32, 178, 107, 0.16);
}

.hero-note {
  right: 0;
  bottom: 0;
  gap: 0.4rem;
  animation-delay: -3.2s;
}

.hero-note i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--bright);
}

@keyframes hero-chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* Page heroes ------------------------------------------------------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3.25rem, 5.5vw, 5rem) 0 clamp(3rem, 5vw, 4.5rem);
  border-bottom: 0;
  background:
    radial-gradient(ellipse 48% 72% at 88% 4%, rgba(10, 145, 249, 0.4), transparent 68%),
    radial-gradient(ellipse 34% 42% at 6% 100%, rgba(197, 236, 244, 0.11), transparent 74%),
    var(--navy);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000 58%, #000);
  mask-image: linear-gradient(90deg, transparent 4%, #000 58%, #000);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -54%;
  width: min(46vw, 620px);
  aspect-ratio: 1.487;
  background: url("../img/lexrunit-ribbon-384.png") center / contain no-repeat;
  opacity: 0.06;
  filter: brightness(0) invert(1);
  transform: rotate(-9deg);
  pointer-events: none;
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.page-hero-copy {
  position: relative;
  min-width: 0;
}

.page-hero .section-eyebrow {
  border-color: rgba(197, 236, 244, 0.25);
  background: rgba(255, 255, 255, 0.07);
  color: var(--cyan);
}

.page-hero .section-eyebrow::before {
  background: var(--cyan);
}

.page-hero h1 {
  max-width: 15ch;
  margin-top: 1.1rem;
  color: #fff;
  font-size: clamp(2.6rem, 4.7vw, 4.1rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.page-hero-lede {
  max-width: 52ch;
  margin-top: 1.35rem;
  padding-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.7;
}

.page-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 1.35rem;
}

.page-hero-tags li {
  padding: 0.34rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.3;
}

.page-hero-media {
  position: relative;
  min-width: 0;
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 34px 70px -40px rgba(0, 6, 42, 0.9);
  backdrop-filter: blur(10px);
}

.page-hero-media::before {
  content: "";
  position: absolute;
  inset: 12% 8% -8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 145, 249, 0.38), transparent 70%);
  filter: blur(36px);
  pointer-events: none;
}

.page-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
  background: #061b58;
}

.hero-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 16px 32px -22px rgba(0, 8, 55, 0.8);
  animation: hero-chip-float 6.5s ease-in-out infinite;
}

.hero-chip .status-dot {
  background: #20b26b;
  box-shadow: 0 0 0 3px rgba(32, 178, 107, 0.16);
}

.hero-chip--one {
  top: -0.95rem;
  left: -0.95rem;
}

.hero-chip--two {
  right: -0.95rem;
  bottom: -0.95rem;
  animation-delay: -3.2s;
}

/* Audience section -------------------------------------------------------- */
.audience {
  padding: clamp(3.75rem, 7vw, 6rem) 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.audience-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}

.audience-head .section-title {
  max-width: 18ch;
  margin-top: 0.8rem;
}

.audience-head .section-lede {
  max-width: 44ch;
  padding-bottom: 0.2rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.audience-card {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--tint);
  color: var(--navy);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}

.audience-card:hover {
  color: var(--navy);
  transform: translateY(-5px);
  border-color: rgba(10, 145, 249, 0.38);
  box-shadow: var(--shadow-md);
}

.audience-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

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

.audience-body {
  position: relative;
  flex: 1;
  padding: 1rem 1.05rem 1.15rem;
}

.audience-body h3 {
  padding-right: 2rem;
  font-size: 1rem;
  line-height: 1.25;
}

.audience-body p {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.audience-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  color: var(--royal);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease), background 220ms var(--ease);
}

.audience-card:hover .audience-arrow {
  background: var(--cyan-soft);
  transform: translate(2px, -2px);
}

/* Full-width Let's Run It band ------------------------------------------- */
.run-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(2, 20, 136, 0.1);
  background:
    radial-gradient(ellipse 50% 140% at 82% 0%, rgba(10, 145, 249, 0.2), transparent 70%),
    var(--cyan-soft);
}

.run-band-link {
  position: relative;
  display: block;
  padding: clamp(1.4rem, 3vw, 2.5rem) 0 clamp(0.7rem, 1.5vw, 1.2rem);
  color: var(--navy);
  text-decoration: none;
}

.run-band-link::after {
  content: "";
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: -42%;
  width: 32%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  transform: skewX(-18deg);
  animation: run-band-shine 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes run-band-shine {
  0%, 55% { left: -42%; }
  85%, 100% { left: 122%; }
}

.run-band-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.run-band-svg text {
  fill: url(#run-gradient);
  font-family: var(--font);
  font-size: 242px;
  font-weight: 800;
  letter-spacing: -0.06em;
  transition: fill 220ms var(--ease);
}

.run-band-link:hover .run-band-svg text {
  fill: var(--royal);
}

.run-band-hint {
  position: absolute;
  top: clamp(1rem, 2.2vw, 1.7rem);
  right: clamp(1rem, 3vw, 2.5rem);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--royal);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.run-band-hint svg {
  transition: transform 200ms var(--ease);
}

.run-band-link:hover .run-band-hint svg {
  transform: translate(2px, -2px);
}

/* Global footer content tweaks ------------------------------------------- */
.footer-brand p {
  max-width: 40ch;
  line-height: 1.65;
}

.footer-col--contact p {
  max-width: 28ch;
}

/* Process promises -------------------------------------------------------- */
.promise-section {
  padding-top: clamp(2.25rem, 4vw, 3.5rem);
}

.promise-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--tint);
}

.promise-strip .section-eyebrow {
  flex: none;
}

.promise-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
}

.promise-strip li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
}

.promise-strip li::before {
  content: "\2713";
  color: #128c4b;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1080px) {
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-head {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .audience-head .section-lede {
    max-width: 56ch;
  }
}

@media (max-width: 980px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2.25rem;
  }

  .page-hero h1 {
    max-width: 19ch;
  }

  .page-hero-media {
    width: min(100%, 620px);
  }

  .page-hero-media img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 76px;
  }

  .brand img {
    width: 44px;
  }

  .brand-word {
    font-size: clamp(1.55rem, 7.5vw, 1.9rem);
  }

  .hero {
    padding-top: 2.75rem;
    padding-bottom: 4.25rem;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 11vw, 4rem);
  }

  .hero-gallery {
    max-width: 620px;
  }

  .hero-live {
    top: 0.55rem;
    left: 0.55rem;
  }

  .hero-note {
    display: none;
  }

  .page-hero {
    padding-top: 2.75rem;
  }

  .page-hero-media {
    padding: 0.55rem;
  }

  .hero-chip--one {
    top: 0.65rem;
    left: 0.65rem;
  }

  .hero-chip--two {
    right: 0.65rem;
    bottom: 0.65rem;
  }

  .run-band-hint {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero-audiences {
    gap: 0.35rem;
  }

  .hero-audiences li,
  .page-hero-tags li {
    font-size: 0.63rem;
  }

  .audience-grid {
    gap: 0.75rem;
  }

  .audience-body {
    padding: 0.85rem 0.85rem 1rem;
  }

  .audience-body h3 {
    padding-right: 0;
    font-size: 0.92rem;
  }

  .audience-body p {
    font-size: 0.72rem;
  }

  .audience-arrow {
    display: none;
  }

  .run-band-link {
    padding-top: 1.25rem;
  }
}

@media (max-width: 360px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .audience-card img {
    aspect-ratio: 16 / 9;
  }

  .hero-chip {
    font-size: 0.6rem;
  }

  .hero-chip--one {
    top: 0.45rem;
    left: 0.45rem;
  }

  .hero-chip--two {
    display: none;
  }
}

/* ==========================================================================
   Final pass — transparent scroll header and animated hero showcase
   ========================================================================== */
:root {
  --header-h: 84px;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: #fff;
  transition: transform 360ms var(--ease), background-color 280ms var(--ease),
    border-color 280ms var(--ease), box-shadow 280ms var(--ease), color 280ms var(--ease);
  will-change: transform;
}

.site-header:not(.is-solid) {
  background: linear-gradient(180deg, rgba(2, 20, 136, 0.55), rgba(2, 20, 136, 0));
}

.site-header.is-solid {
  background: var(--white);
  border-color: var(--border);
  box-shadow: 0 10px 30px -28px rgba(2, 20, 136, 0.55);
  color: var(--navy);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header .brand img {
  transition: filter 280ms var(--ease);
}

.site-header:not(.is-solid) .brand,
.site-header:not(.is-solid) .brand:hover,
.site-header:not(.is-solid) .nav-list a,
.site-header:not(.is-solid) .nav-list a:hover,
.site-header:not(.is-solid) .nav-list a:focus-visible {
  color: #fff;
}

.site-header:not(.is-solid) .brand img {
  filter: brightness(0) invert(1);
}

.site-header:not(.is-solid) .nav-list a[aria-current="page"] {
  color: var(--cyan);
}

.site-header:not(.is-solid) .nav-list a::after {
  background: var(--cyan);
}

.site-header:not(.is-solid) .nav-toggle {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.site-header:not(.is-solid) .nav-cta {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--navy);
  box-shadow: none;
}

.site-header:not(.is-solid) .nav-cta:hover {
  border-color: #fff;
  background: #fff;
  color: var(--navy);
}

/* Header is transparent over dark heroes, so the hero owns the fixed bar space. */
.hero {
  padding-top: calc(var(--header-h) + clamp(3.5rem, 6.5vw, 6rem));
}

.page-hero {
  padding-top: calc(var(--header-h) + clamp(3.25rem, 5.5vw, 5rem));
}

.error-page {
  min-height: 100vh;
  padding-top: calc(var(--header-h) + clamp(4rem, 10vw, 8rem));
}

/* The 404 page has a light background, so keep its transparent bar readable. */
body.page-404 .site-header:not(.is-solid) {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

body.page-404 .site-header:not(.is-solid) .brand {
  color: var(--navy);
}

body.page-404 .site-header:not(.is-solid) .brand img {
  filter: none;
}

/* Typing + sliding headline ------------------------------------------------ */
.hero h1 {
  max-width: 19ch;
  margin-top: 0;
  color: #fff;
  font-size: clamp(2.75rem, 5.5vw, 4.7rem);
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.hero .hero-type-line {
  color: #fff;
}

.hero .hero-caret {
  background: var(--cyan);
}

/* Animated showcase ------------------------------------------------------- */
.hero-visual {
  padding: 0;
}

.hero-showcase {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 34px 80px -44px rgba(0, 6, 42, 0.95);
  backdrop-filter: blur(12px);
  animation: hero-showcase-float 9s ease-in-out infinite;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 12% 8% -9%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 145, 249, 0.42), transparent 68%);
  filter: blur(42px);
  pointer-events: none;
}

.hero-showcase-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  background: #061b58;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-showcase-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateX(9%) scale(1.03);
  transition: opacity 700ms var(--ease), transform 1100ms var(--ease);
}

.hero-showcase-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.hero-showcase-slide.is-leaving {
  opacity: 0;
  transform: translateX(-7%) scale(1.01);
}

.hero-showcase-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-showcase-slide:nth-child(2) img,
.hero-showcase-slide:nth-child(3) img {
  object-position: center top;
}

.hero-showcase-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.2), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.06));
  mix-blend-mode: screen;
  opacity: 0.6;
  pointer-events: none;
}

@keyframes hero-showcase-float {
  0%,
  100% { transform: translateY(0) rotate(-0.35deg); }
  50% { transform: translateY(-9px) rotate(0.35deg); }
}

@media (max-width: 900px) {
  .hero-showcase {
    max-width: 640px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 76px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 2.75rem);
  }

  .page-hero {
    padding-top: calc(var(--header-h) + 2.75rem);
  }

  .error-page {
    padding-top: calc(var(--header-h) + 4rem);
  }

  .hero h1 {
    font-size: clamp(2.35rem, 8vw, 3.5rem);
  }

  .primary-nav.is-open {
    min-height: calc(100dvh - var(--header-h));
  }

  .hero-showcase {
    padding: 0.55rem;
    border-radius: 20px;
  }

  .hero-showcase-screen {
    border-radius: 13px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: clamp(2.1rem, 10.5vw, 2.8rem);
  }
}

