@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-mono-latin.woff2") format("woff2");
}

:root {
  --background: #ffffff;
  --foreground: #0f172a;
  --ink: #132238;
  --denim: #1740a8;
  --denim-dark: #102a74;
  --royal: #1f5eff;
  --cyan: #14c7d9;
  --sky: #f4faff;
  --sky-strong: #eef8ff;
  --line: #d9e7f5;
  --muted: #5d7087;
  --paper: #ffffff;
  --shadow: 0 24px 70px rgba(23, 64, 168, 0.14);
  --success: #087f5b;
  --error: #c92a2a;
  --warning: #9a6700;
  --focus: #00a8bf;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --font-manrope: "Manrope";
  --font-geist-mono: "Geist Mono";
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --font-sans: var(--font-manrope);
  --font-mono: var(--font-geist-mono);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-manrope), Arial, Helvetica, sans-serif;
  margin: 0;
}

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

body > .site-header + main {
  min-height: 70vh;
}

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

.skip-link {
  background: var(--denim-dark);
  border-radius: 0 0 12px 12px;
  color: white;
  font-weight: 900;
  left: 24px;
  padding: 12px 16px;
  position: fixed;
  top: 0;
  transform: translateY(-120%);
  transition: transform 160ms ease;
  z-index: 100;
}

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

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

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

main {
  overflow: clip;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.97);
  border: 0;
  border-bottom: 1px solid rgba(217, 231, 245, 0.95);
  border-radius: 0;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(290px, auto) 1fr;
  left: 0;
  padding: 12px clamp(18px, 6vw, 92px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 50;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  font-weight: 950;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img {
  border: 0;
  border-radius: 0;
  height: 46px;
  object-fit: contain;
  width: 255px;
}

.brand span {
  display: none;
  gap: 2px;
  line-height: 1;
}

.brand strong {
  color: var(--ink);
  font-size: 1.08rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--royal);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.header-navigation {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

.header-navigation nav {
  display: flex;
  gap: clamp(10px, 1.7vw, 22px);
  justify-content: center;
}

.header-navigation nav a,
.nav-cta {
  font-size: 0.86rem;
  font-weight: 850;
}

.header-navigation nav a {
  color: #52667f;
}

.header-navigation nav a:hover,
.header-navigation nav a:focus-visible {
  color: var(--royal);
}

.menu-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  height: 44px;
  padding: 10px;
  width: 44px;
}

.menu-toggle span {
  background: var(--denim-dark);
  border-radius: 999px;
  display: block;
  height: 2px;
  margin: 5px 0;
  transition: opacity 160ms ease, transform 160ms ease;
  width: 24px;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-cta {
  background: var(--royal);
  border-radius: 4px;
  color: white;
  padding: 12px 17px;
}

.hero {
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--sky) 100%);
  display: grid;
  gap: clamp(34px, 5vw, 70px);
  grid-template-columns: minmax(0, 1fr) minmax(430px, 1fr);
  padding: 104px clamp(18px, 6vw, 92px) 64px;
}

.hero h1 {
  font-size: clamp(3.1rem, 4.5vw, 4.25rem);
  margin-bottom: 20px;
}

.hero h1 em {
  color: var(--royal);
  font-style: normal;
}

.eyebrow {
  color: var(--royal);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--ink);
  font-size: clamp(3rem, 4.15vw, 3.7rem);
  letter-spacing: 0;
  line-height: 1.03;
  margin-bottom: 24px;
  max-width: 760px;
}

h2 {
  color: var(--ink);
  font-size: clamp(2.25rem, 3.6vw, 3rem);
  letter-spacing: 0;
  line-height: 1.07;
  margin-bottom: 18px;
}

h3 {
  color: var(--ink);
  letter-spacing: 0;
}

.hero-lede,
.section-copy p,
.section-heading p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.17rem);
  line-height: 1.72;
}

.hero-lede {
  max-width: 780px;
}

.hero-note {
  color: #476179;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.55;
  margin: -12px 0 0;
  max-width: 620px;
}

.hero-copy {
  align-self: center;
  grid-column: 1;
  grid-row: 1 / 3;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 16px;
}

.hero-illustration {
  align-self: stretch;
  display: flex;
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  min-height: 430px;
  position: relative;
}

.hero-illustration img {
  height: 100%;
  -webkit-mask-image: radial-gradient(ellipse 82% 78% at 64% 55%, black 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 82% 78% at 64% 55%, black 58%, transparent 100%);
  object-fit: contain;
  object-position: right center;
  width: 100%;
}

.hero-side-actions {
  align-self: start;
  grid-column: 2;
  grid-row: 2;
}

.hero-side-actions .hero-note {
  margin: 0;
}

.hero-clients-window {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(23, 64, 168, 0.08);
  display: grid;
  gap: 24px;
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 116px;
  padding: 22px 28px;
}

.hero-clients-window > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.4;
  max-width: 110px;
}

.hero-clients-window > div {
  align-items: center;
  display: grid;
  gap: clamp(18px, 3vw, 38px);
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.hero-clients-window img {
  height: 42px;
  object-fit: contain;
  width: 100%;
}

.hero .button {
  border-radius: 4px;
}

.button {
  align-items: center;
  border-radius: 14px;
  display: inline-flex;
  gap: 10px;
  font-weight: 950;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.primary {
  background: linear-gradient(135deg, var(--royal), var(--denim));
  box-shadow: 0 20px 46px rgba(31, 94, 255, 0.28);
  color: white;
  min-width: 282px;
}

.secondary {
  background: transparent;
  border: 1px solid rgba(23, 64, 168, 0.22);
  color: var(--denim);
  min-width: 212px;
}

.secondary span {
  color: var(--cyan);
  font-size: 1.15rem;
  line-height: 1;
}

.dark {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  color: white;
}

.hero-diagnostic {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 64, 168, 0.14);
  border-radius: 18px;
  box-shadow: 0 20px 56px rgba(23, 64, 168, 0.1);
  display: grid;
  gap: 18px;
  margin-top: 8px;
  max-width: 820px;
  padding: 18px;
}

.hero-diagnostic > p {
  color: var(--denim);
  font-size: 0.96rem;
  font-weight: 950;
  margin: 0;
}

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

.diagnostic-grid div {
  background: linear-gradient(180deg, #ffffff, #f4faff);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 8px;
  padding: 15px;
}

.diagnostic-grid span {
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 950;
}

.diagnostic-grid strong {
  color: var(--denim);
  font-size: 0.98rem;
  line-height: 1.15;
}

.diagnostic-grid small {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.42;
}

.process-orbit {
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at center, rgba(31, 94, 255, 0.08), transparent 35%),
    linear-gradient(145deg, #ffffff, #edf8ff);
  border: 1px solid var(--line);
  border-radius: 40px;
  box-shadow: var(--shadow);
  min-height: 620px;
  position: relative;
}

.orbit-line {
  border: 2px solid rgba(20, 199, 217, 0.34);
  border-radius: 50%;
  inset: 14%;
  position: absolute;
}

.process-orbit::before,
.process-orbit::after {
  background: linear-gradient(90deg, rgba(31, 94, 255, 0.9), rgba(20, 199, 217, 0.95));
  content: "";
  height: 3px;
  left: 18%;
  position: absolute;
  right: 18%;
  top: 50%;
  transform: rotate(34deg);
}

.process-orbit::after {
  transform: rotate(-34deg);
}

.process-node {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(23, 64, 168, 0.14);
  display: grid;
  gap: 6px;
  padding: 15px;
  position: absolute;
  width: min(230px, 44%);
  z-index: 2;
}

.process-node span {
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.process-node strong {
  color: var(--ink);
  font-size: 1rem;
}

.process-node p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.42;
  margin: 0;
}

.whatsapp {
  left: 7%;
  top: 10%;
}

.answer {
  right: 7%;
  top: 14%;
}

.document {
  left: 11%;
  top: 42%;
}

.calendar {
  right: 10%;
  top: 46%;
}

.task {
  bottom: 8%;
  left: 15%;
}

.indicator {
  bottom: 10%;
  right: 12%;
}

.problem-section,
.front,
.sector-section,
.philosophy-section,
.final-cta {
  align-items: center;
  display: grid;
  gap: clamp(34px, 6vw, 86px);
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.84fr);
  padding: clamp(72px, 9vw, 126px) clamp(18px, 6vw, 92px);
}

.problem-section,
.sector-section {
  background: white;
}

.compact-section {
  align-items: start;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.75fr);
  padding-bottom: clamp(58px, 7vw, 92px);
  padding-top: clamp(58px, 7vw, 92px);
}

.problem-compare {
  background: var(--sky);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(23, 64, 168, 0.09);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(20px, 3vw, 28px);
}

.problem-compare article {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  gap: 10px;
  padding: 18px;
}

.problem-compare .connected {
  background: white;
  border-color: rgba(20, 199, 217, 0.4);
}

.problem-compare h3 {
  color: var(--denim-dark);
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.problem-compare span {
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--denim);
  font-weight: 950;
  padding: 12px 14px;
}

.problem-compare .connected span {
  background: var(--sky);
  color: var(--denim-dark);
}

.operations-gallery {
  background: white;
  padding: clamp(58px, 8vw, 108px) clamp(18px, 6vw, 92px);
}

.transformation-section {
  background: white;
  padding: clamp(64px, 8vw, 108px) clamp(18px, 6vw, 92px);
}

.transformation-copy {
  display: grid;
  gap: 0 clamp(32px, 7vw, 110px);
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
  margin-bottom: clamp(28px, 4vw, 48px);
}

.transformation-copy .eyebrow {
  grid-column: 1 / -1;
}

.transformation-copy h2,
.transformation-copy > p:last-child {
  margin-bottom: 0;
}

.transformation-copy > p:last-child {
  align-self: end;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.transformation-visual {
  margin: 0 auto;
  max-width: 1480px;
  position: relative;
}

.transformation-visual img {
  height: auto;
  mask-image: linear-gradient(to bottom, transparent 0, black 9%, black 89%, transparent 100%);
  object-fit: contain;
  width: 100%;
}

.transformation-visual figcaption {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.transformation-visual figcaption span {
  animation: rise 700ms ease both;
  color: var(--denim);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 14px 16px 0;
}

.transformation-visual figcaption span:nth-child(2) { animation-delay: 110ms; }
.transformation-visual figcaption span:nth-child(3) { animation-delay: 220ms; }

.transformation-visual figcaption span:not(:last-child) {
  border-right: 1px solid var(--line);
}

.gallery-heading {
  display: grid;
  gap: 20px clamp(30px, 7vw, 110px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  margin-bottom: clamp(28px, 5vw, 52px);
}

.gallery-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -4px;
}

.gallery-heading h2,
.gallery-heading p {
  margin-bottom: 0;
}

.gallery-heading p:not(.eyebrow) {
  align-self: end;
  color: var(--muted);
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: repeat(2, minmax(230px, 1fr));
}

.gallery-item {
  border-radius: 24px;
  margin: 0;
  min-height: 230px;
  overflow: hidden;
  position: relative;
}

.gallery-item-1 {
  grid-row: 1 / 3;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
  width: 100%;
}

.gallery-item:hover img {
  transform: scale(1.025);
}

.gallery-item::after {
  background: linear-gradient(180deg, transparent 35%, rgba(5, 18, 57, 0.88));
  content: "";
  inset: 0;
  position: absolute;
}

.gallery-item figcaption {
  align-items: end;
  bottom: 0;
  color: white;
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr;
  left: 0;
  padding: clamp(18px, 3vw, 30px);
  position: absolute;
  right: 0;
  z-index: 2;
}

.gallery-item figcaption > span {
  color: var(--cyan);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.8rem;
  font-weight: 950;
}

.gallery-item figcaption div {
  display: grid;
  gap: 6px;
}

.gallery-item figcaption strong {
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.2;
}

.gallery-item figcaption p {
  color: #dceaff;
  font-size: 0.84rem;
  line-height: 1.48;
  margin: 0;
}

.operations-compare {
  background: var(--sky);
  border: 1px solid var(--line);
  border-radius: 36px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
}

.messy-stack {
  display: grid;
  gap: 10px;
}

.messy-stack span {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  font-weight: 850;
  padding: 15px 16px;
}

.connected-system {
  background: linear-gradient(135deg, var(--denim), var(--royal));
  border-radius: 24px;
  color: white;
  padding: 24px;
}

.connected-system strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.connected-system p {
  color: #dceaff;
  line-height: 1.55;
  margin: 0;
}

.pain-strip {
  background: var(--denim-dark);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(5, 1fr);
  padding: 1px;
}

.pain-strip article {
  background: linear-gradient(180deg, rgba(31, 94, 255, 0.22), rgba(19, 34, 56, 0.4));
  min-height: 220px;
  padding: 28px;
}

.pain-strip span {
  background: var(--cyan);
  border-radius: 999px;
  display: block;
  height: 9px;
  margin-bottom: 44px;
  width: 44px;
}

.pain-strip p {
  color: white;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.55;
  margin: 0;
}

.visual-stories {
  background: white;
  display: grid;
  gap: 18px;
  grid-template-columns: 1.05fr 0.95fr 1.05fr;
  padding: clamp(64px, 8vw, 112px) clamp(18px, 6vw, 92px);
}

.visual-story {
  background: var(--sky);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 18px 50px rgba(23, 64, 168, 0.1);
  overflow: hidden;
}

.visual-story:nth-child(2) {
  transform: translateY(34px);
}

.visual-story img {
  aspect-ratio: 5 / 3;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.visual-story div {
  padding: 22px;
}

.visual-story h3 {
  font-size: clamp(1.22rem, 2vw, 1.6rem);
  margin-bottom: 10px;
}

.visual-story p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.section-heading {
  padding: clamp(54px, 6vw, 84px) clamp(18px, 6vw, 92px) 30px;
}

.section-heading.wide {
  background: var(--sky);
  padding-bottom: clamp(28px, 4vw, 48px);
}

.section-heading h2,
.section-heading p {
  max-width: 790px;
}

.automation-system {
  background: var(--sky);
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 clamp(18px, 6vw, 92px) clamp(54px, 6vw, 84px);
}

.automation-system article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(23, 64, 168, 0.1);
  display: grid;
  gap: 16px;
  min-height: 650px;
  padding: clamp(21px, 2.4vw, 26px);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.automation-system article:hover {
  border-color: rgba(31, 94, 255, 0.34);
  box-shadow: 0 22px 50px rgba(23, 64, 168, 0.14);
  transform: translateY(-3px);
}

.automation-card {
  position: relative;
}

.automation-card-top {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 54px 1fr;
}

.automation-icon {
  align-items: center;
  background: linear-gradient(135deg, var(--royal), var(--denim));
  border-radius: 6px;
  box-shadow: 0 16px 34px rgba(31, 94, 255, 0.2);
  color: white;
  display: inline-flex;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.82rem;
  font-weight: 950;
  height: 54px;
  justify-content: center;
  letter-spacing: 0;
  width: 54px;
}

.automation-icon img {
  height: 28px;
  width: 28px;
}

.automation-system h3 {
  font-size: clamp(1.28rem, 1.55vw, 1.55rem);
  line-height: 1.18;
  margin: 0;
}

.automation-system p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.automation-visual {
  align-self: end;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
}

.automation-visual img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.service-preview {
  align-self: stretch;
  background: var(--sky);
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 94px;
  overflow: hidden;
  padding: 13px;
}

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

.preview-document span {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 9px;
}

.preview-document b {
  background: var(--denim);
  border-radius: 9px;
  color: white;
  font-size: 0.65rem;
  grid-column: 1 / -1;
  padding: 8px 10px;
}

.preview-flow {
  align-items: center;
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr auto 1fr auto 1fr;
}

.preview-flow span,
.preview-flow b {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--denim);
  font-size: 0.59rem;
  padding: 10px 6px;
  text-align: center;
}

.preview-flow b {
  background: var(--royal);
  color: white;
}

.preview-flow i {
  color: var(--cyan);
  font-style: normal;
}

.preview-ai {
  display: grid;
  gap: 8px;
}

.preview-ai span,
.preview-ai b {
  border-radius: 10px;
  font-size: 0.67rem;
  padding: 9px 11px;
  width: fit-content;
}

.preview-ai span {
  background: white;
  border: 1px solid var(--line);
  color: var(--muted);
}

.preview-ai b {
  background: linear-gradient(135deg, var(--royal), var(--cyan));
  color: white;
  justify-self: end;
}

.preview-data {
  align-items: end;
  display: flex;
  gap: 7px;
  padding-bottom: 30px;
  position: relative;
}

.preview-data span {
  background: linear-gradient(180deg, var(--cyan), var(--royal));
  border-radius: 5px 5px 2px 2px;
  flex: 1;
}

.preview-data span:nth-child(1) { height: 34%; }
.preview-data span:nth-child(2) { height: 70%; }
.preview-data span:nth-child(3) { height: 52%; }
.preview-data span:nth-child(4) { height: 84%; }

.preview-data b {
  bottom: 9px;
  color: var(--denim);
  font-size: 0.65rem;
  left: 13px;
  position: absolute;
}

.human-bridge {
  align-items: stretch;
  background: var(--denim-dark);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
}

.human-bridge-photo {
  margin: 0;
  min-height: 560px;
  overflow: hidden;
  position: relative;
}

.human-bridge-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.human-bridge-photo::after {
  background: linear-gradient(to right, transparent 62%, var(--denim-dark) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.human-bridge-photo figcaption {
  background: rgba(9, 27, 79, 0.86);
  bottom: 18px;
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  left: 18px;
  padding: 9px 11px;
  position: absolute;
  z-index: 2;
}

.human-bridge-copy {
  align-content: center;
  color: white;
  display: grid;
  padding: clamp(42px, 7vw, 92px) clamp(24px, 6vw, 82px);
}

.human-bridge-copy .eyebrow {
  color: var(--cyan);
}

.human-bridge-copy h2 {
  color: white;
}

.human-bridge-copy > p:not(.eyebrow) {
  color: #d5e4fb;
  font-size: 1.04rem;
  line-height: 1.72;
}

.human-bridge-copy > span {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #7fe4ee;
  font-size: 0.8rem;
  font-weight: 900;
  margin-top: 16px;
  padding-top: 18px;
}

.front {
  background: var(--sky);
  padding-top: clamp(38px, 5vw, 76px);
}

.automation-front {
  background: linear-gradient(180deg, var(--sky), white);
}

.ai-front {
  background: var(--paper);
}

.data-front {
  background: linear-gradient(180deg, #ffffff, var(--sky-strong));
}

.front-visual,
.assistant-visual,
.dashboard-visual {
  border-radius: 34px;
  box-shadow: var(--shadow);
  min-height: 430px;
}

.front-visual {
  background:
    linear-gradient(135deg, rgba(31, 94, 255, 0.92), rgba(20, 199, 217, 0.88)),
    var(--royal);
  display: grid;
  gap: 18px;
  padding: 34px;
}

.integration-map {
  background:
    radial-gradient(circle at 20% 20%, rgba(20, 199, 217, 0.22), transparent 34%),
    linear-gradient(135deg, var(--denim), var(--royal));
}

.workflow-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 56px 1fr;
}

.workflow-row span {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  color: var(--denim);
  font-weight: 950;
  min-height: 86px;
  padding: 24px 18px;
}

.workflow-row b {
  background: white;
  border-radius: 999px;
  display: block;
  height: 4px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.tag-cloud span,
.sector-tags span,
.trust-list span {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--denim);
  font-weight: 900;
  padding: 10px 13px;
}

.tag-cloud.compact span {
  background: var(--sky);
}

.assistant-visual {
  background: linear-gradient(145deg, #f8fcff, #ffffff);
  border: 1px solid var(--line);
  padding: clamp(22px, 4vw, 38px);
}

.assistant-window {
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09);
  display: grid;
  gap: 16px;
  padding: 22px;
}

.window-top {
  background: var(--denim);
  border-radius: 18px;
  color: white;
  font-weight: 950;
  padding: 15px;
}

.question,
.response {
  border-radius: 18px;
  line-height: 1.55;
  margin: 0;
  padding: 16px;
}

.question {
  background: var(--sky);
  color: var(--ink);
}

.response {
  background: linear-gradient(135deg, var(--royal), var(--cyan));
  color: white;
}

.source-list {
  display: grid;
  gap: 8px;
}

.source-list span {
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
  padding: 12px;
}

.dashboard-visual {
  background: linear-gradient(145deg, var(--denim-dark), var(--denim));
  color: white;
  padding: clamp(24px, 4vw, 40px);
}

.dash-title {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 8px;
  padding-bottom: 22px;
}

.dash-title span {
  color: var(--cyan);
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dash-title strong {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.bars {
  align-items: end;
  display: flex;
  gap: 14px;
  height: 180px;
  margin: 30px 0;
}

.bars i {
  background: linear-gradient(180deg, white, var(--cyan));
  border-radius: 999px 999px 8px 8px;
  display: block;
  flex: 1;
}

.bar-one {
  height: 52%;
}

.bar-two {
  height: 82%;
}

.bar-three {
  height: 66%;
}

.score-grid {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  display: grid;
  gap: 8px;
  padding: 18px;
}

.score-grid span {
  color: #dbeaff;
}

.score-grid strong {
  color: white;
  font-size: 1.3rem;
}

.channel-section {
  align-items: center;
  background: white;
  display: grid;
  gap: clamp(34px, 6vw, 86px);
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.82fr);
  padding: clamp(72px, 9vw, 126px) clamp(18px, 6vw, 92px);
}

.channel-card {
  background: linear-gradient(145deg, var(--sky), white);
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(22px, 4vw, 36px);
}

.channel-card span {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--denim);
  font-weight: 950;
  min-height: 74px;
  padding: 18px;
}

.method-section,
.case-section,
.tools-section,
.client-section,
.trust-section,
.faq-section {
  padding: clamp(56px, 6.5vw, 88px) clamp(18px, 6vw, 92px);
}

.method-section {
  align-items: start;
  background: var(--sky);
  display: grid;
  gap: clamp(40px, 6vw, 90px);
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
}

.method-timeline {
  display: grid;
  margin-top: 30px;
}

.method-timeline article {
  display: grid;
  gap: 16px;
  grid-template-columns: 46px 1fr;
  padding: 15px 14px 18px 0;
  position: relative;
  transition: background 180ms ease, transform 180ms ease;
}

.method-timeline article:not(:last-child)::after {
  background: var(--line);
  bottom: -1px;
  content: "";
  left: 22px;
  position: absolute;
  top: 48px;
  width: 1px;
}

.method-timeline article:hover {
  background: rgba(255, 255, 255, 0.72);
  transform: translateX(3px);
}

.method-timeline span {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  color: var(--royal);
  display: flex;
  font-family: var(--font-geist-mono), monospace;
  font-weight: 950;
  height: 44px;
  justify-content: center;
  transition: background 180ms ease, color 180ms ease;
  width: 44px;
  z-index: 1;
}

.method-timeline article:hover span {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--denim-dark);
}

.method-timeline h3 {
  color: var(--ink);
  font-size: 1.08rem;
  margin-bottom: 5px;
}

.method-timeline p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.method-heading > p:last-child {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.65;
}

.method-visual {
  margin: 0;
  position: sticky;
  top: 102px;
}

.method-visual img {
  height: auto;
  mask-image: linear-gradient(to right, transparent 0, black 12%, black 100%);
  object-fit: contain;
  width: 100%;
}

.operational-scenes {
  background: white;
  padding: clamp(62px, 8vw, 108px) clamp(18px, 6vw, 92px);
}

.operational-scenes-heading {
  max-width: 900px;
  margin-bottom: clamp(28px, 5vw, 52px);
}

.operational-scenes-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.operational-scenes figure {
  background: var(--denim-dark);
  display: grid;
  grid-template-rows: minmax(340px, 1fr) auto;
  margin: 0;
  min-height: 520px;
  overflow: hidden;
}

.operational-scenes figure:nth-child(2) {
  margin-top: 72px;
}

.operational-scenes img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.operational-scenes figcaption {
  color: white;
  display: grid;
  gap: 6px;
  padding: 20px 22px;
}

.operational-scenes figcaption strong {
  font-size: 1.12rem;
}

.operational-scenes figcaption span {
  color: #cfe0f8;
  font-size: 0.84rem;
  line-height: 1.5;
}

.case-section {
  background: white;
}

.tools-section {
  background:
    radial-gradient(circle at 10% 8%, rgba(31, 94, 255, 0.08), transparent 26%),
    linear-gradient(180deg, var(--sky), #ffffff);
}

.client-section {
  background:
    radial-gradient(circle at 88% 16%, rgba(20, 199, 217, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff, var(--sky));
}

.case-section .section-heading,
.tools-section .section-heading,
.client-section .section-heading,
.faq-section .section-heading,
.trust-section .section-heading {
  padding: 0 0 36px;
}

.compact-heading {
  padding-top: clamp(34px, 4vw, 52px);
}

.compact-heading h2 {
  font-size: clamp(1.85rem, 2.6vw, 2.35rem);
}

.evidence-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: clamp(18px, 3vw, 30px);
}

.evidence-card {
  background:
    radial-gradient(circle at 88% 10%, rgba(20, 199, 217, 0.16), transparent 28%),
    linear-gradient(180deg, var(--sky), white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 46px rgba(23, 64, 168, 0.08);
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 30px);
}

.evidence-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.16;
  margin: 0;
}

.evidence-card dl,
.evidence-card dd {
  margin: 0;
}

.evidence-card dl {
  display: grid;
  gap: 12px;
}

.evidence-card div {
  border-left: 3px solid var(--line);
  padding-left: 14px;
}

.evidence-card .result {
  border-left-color: var(--cyan);
}

.evidence-card dt {
  color: var(--royal);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.evidence-card dd {
  color: var(--muted);
  line-height: 1.6;
}

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

.compact-cases {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-card {
  background: linear-gradient(180deg, var(--sky), white);
  border: 1px solid var(--line);
  border-radius: 28px;
  display: grid;
  gap: 16px;
  overflow: hidden;
  padding: clamp(22px, 3vw, 30px);
}

.compact-cases .case-card {
  align-content: start;
}

.case-card img {
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  height: auto;
  margin: calc(clamp(22px, 3vw, 30px) * -1) calc(clamp(22px, 3vw, 30px) * -1) 4px;
  object-fit: cover;
  width: calc(100% + calc(clamp(22px, 3vw, 30px) * 2));
}

.case-card h3 {
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  line-height: 1.18;
  margin-bottom: 0;
}

.case-card div {
  border-left: 4px solid var(--cyan);
  padding-left: 14px;
}

.case-card div:first-of-type {
  border-left-color: var(--denim);
}

.case-card span {
  color: var(--royal);
  display: block;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.case-card p {
  color: var(--muted);
  line-height: 1.62;
  margin: 0;
}

.tools-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tools-cloud span {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--denim-dark);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 900;
  min-height: 42px;
  padding: 0 15px;
}

.client-carousel {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.client-carousel-toolbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.client-carousel-toolbar > p {
  color: #6d8299;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.78rem;
  margin: 0;
}

.client-carousel-controls {
  display: flex;
  gap: 8px;
}

.client-carousel-controls button {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--denim-dark);
  cursor: pointer;
  display: inline-flex;
  font-size: 1.25rem;
  height: 44px;
  justify-content: center;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
  width: 48px;
}

.client-carousel-controls button:hover:not(:disabled),
.client-carousel-controls button:focus-visible:not(:disabled) {
  background: var(--royal);
  border-color: var(--royal);
  color: white;
}

.client-carousel-controls button:disabled {
  color: #b8c5d2;
  cursor: default;
}

.client-showcase {
  display: flex;
  gap: 16px;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 24px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.client-showcase::-webkit-scrollbar {
  display: none;
}

.client-case-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 4px;
  display: grid;
  flex: 0 0 calc((100% - 48px) / 4);
  gap: 18px;
  grid-template-rows: auto 1fr auto auto;
  min-height: 410px;
  padding: 22px;
  scroll-snap-align: start;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.client-case-card:hover,
.client-case-card:focus-visible {
  border-color: rgba(20, 199, 217, 0.72);
  box-shadow: 0 22px 54px rgba(23, 64, 168, 0.13);
  transform: translateY(-3px);
}

.client-case-meta {
  align-items: start;
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
}

.client-case-meta span {
  color: var(--royal);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.client-case-meta span:last-child {
  color: #8ba0b7;
  font-family: var(--font-geist-mono), monospace;
}

.client-case-flow {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.client-case-flow span {
  align-items: center;
  color: var(--denim);
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 900;
  gap: 7px;
}

.client-case-flow i {
  color: var(--cyan);
  font-style: normal;
}

.client-case-copy {
  display: grid;
  gap: 12px;
}

.client-case-copy p {
  color: var(--royal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  margin: 0;
  text-transform: uppercase;
}

.client-case-copy h3 {
  color: var(--ink);
  font-size: clamp(1.25rem, 1.4vw, 1.55rem);
  line-height: 1.15;
  margin: 0;
}

.client-case-copy small {
  color: #60758c;
  font-size: 0.88rem;
  line-height: 1.55;
}

.client-case-link {
  border-top: 1px solid var(--line);
  color: var(--royal);
  font-size: 0.78rem;
  line-height: 1.4;
  padding-top: 15px;
}

.client-case-link span {
  color: var(--cyan);
  margin-left: 5px;
}

.sector-section {
  background: var(--sky);
}

.image-panel {
  margin: 0;
}

.image-panel img {
  aspect-ratio: 4 / 3;
  border-radius: 34px;
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
}

.sector-tags,
.trust-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.philosophy-section {
  background: white;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 0.94fr);
}

.quote-block {
  background:
    radial-gradient(circle at 20% 20%, rgba(20, 199, 217, 0.28), transparent 36%),
    linear-gradient(135deg, var(--royal), var(--denim-dark));
  border-radius: 34px;
  box-shadow: var(--shadow);
  color: white;
  padding: clamp(28px, 4vw, 46px);
}

.quote-block p {
  font-size: clamp(1.75rem, 3.2vw, 3.15rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}

.trust-section {
  background: var(--sky-strong);
}

.trust-list article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 38px rgba(23, 64, 168, 0.07);
  padding: 22px;
}

.trust-list h3 {
  font-size: 1.18rem;
  line-height: 1.22;
  margin-bottom: 10px;
}

.trust-list p {
  color: var(--muted);
  line-height: 1.58;
  margin: 0;
}

.faq-section {
  background: white;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

details {
  background: var(--sky);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px 22px;
}

summary {
  color: var(--ink);
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 950;
}

details p {
  color: var(--muted);
  line-height: 1.65;
  margin: 14px 0 0;
}

.final-cta {
  background:
    radial-gradient(circle at 86% 18%, rgba(20, 199, 217, 0.28), transparent 28%),
    linear-gradient(135deg, var(--denim-dark), var(--denim));
  color: white;
}

.inline-cta {
  border-radius: 32px;
  margin-top: clamp(28px, 5vw, 54px);
  padding: clamp(26px, 5vw, 44px);
}

.final-cta h2,
.final-cta .eyebrow {
  color: white;
}

.final-cta p {
  color: #d9e8ff;
}

.final-cta small {
  color: #d9e8ff;
  display: block;
  font-weight: 850;
  line-height: 1.5;
  margin-top: 14px;
}

.blog-hero {
  background:
    radial-gradient(circle at 84% 18%, rgba(20, 199, 217, 0.18), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--sky) 100%);
  padding: 150px clamp(18px, 6vw, 92px) clamp(56px, 8vw, 96px);
}

.blog-hero h1 {
  max-width: 780px;
}

.blog-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.35vw, 1.18rem);
  line-height: 1.7;
  max-width: 760px;
}

.blog-section {
  background: white;
  padding: clamp(56px, 7vw, 92px) clamp(18px, 6vw, 92px);
}

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

.blog-card {
  background:
    radial-gradient(circle at 90% 12%, rgba(20, 199, 217, 0.12), transparent 28%),
    linear-gradient(180deg, var(--sky), #ffffff);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(23, 64, 168, 0.08);
  display: grid;
  gap: 14px;
  min-height: 300px;
  padding: 22px;
}

.blog-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-card span,
.blog-card strong {
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 950;
  padding: 7px 10px;
}

.blog-card span {
  background: white;
  border: 1px solid var(--line);
  color: var(--muted);
}

.blog-card strong {
  background: rgba(20, 199, 217, 0.12);
  color: var(--denim);
}

.blog-card h3 {
  font-size: clamp(1.28rem, 1.7vw, 1.58rem);
  line-height: 1.18;
  margin: 0;
}

.blog-card p {
  color: var(--muted);
  line-height: 1.62;
  margin: 0;
}

.blog-card details {
  align-self: end;
  background: white;
  border: 1px solid rgba(20, 199, 217, 0.3);
  border-radius: 18px;
  padding: 0;
}

.blog-card summary {
  color: var(--royal);
  font-size: 0.95rem;
  padding: 14px 16px;
}

.blog-article-body {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  padding: 16px;
}

.blog-article-body section {
  display: grid;
  gap: 6px;
}

.blog-article-body h4 {
  color: var(--denim-dark);
  font-size: 1rem;
  margin: 0;
}

.blog-article-body p {
  font-size: 0.94rem;
}

.blog-takeaway {
  background: var(--sky);
  border-left: 3px solid var(--cyan);
  border-radius: 12px;
  color: var(--denim-dark) !important;
  font-weight: 850;
  padding: 12px;
}

.blog-archive {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin-top: 24px;
  padding: 0;
}

.blog-archive > summary {
  align-items: center;
  background: var(--sky);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--royal);
  display: flex;
  justify-content: space-between;
  list-style: none;
  min-height: 64px;
  padding: 14px 18px;
}

.blog-archive > summary::-webkit-details-marker {
  display: none;
}

.blog-archive > summary::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
}

.blog-archive[open] > summary::after {
  content: "−";
}

.blog-archive > summary span {
  font-weight: 950;
}

.blog-archive > summary small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  margin-left: auto;
  margin-right: 18px;
}

.blog-archive-grid {
  margin-top: 18px;
}

.blog-cta {
  align-items: center;
  background:
    radial-gradient(circle at 88% 18%, rgba(20, 199, 217, 0.22), transparent 28%),
    linear-gradient(135deg, var(--denim-dark), var(--denim));
  color: white;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(42px, 6vw, 70px) clamp(18px, 6vw, 92px);
}

.blog-cta h2,
.blog-cta .eyebrow {
  color: white;
}

.blog-cta h2 {
  font-size: clamp(2rem, 3vw, 2.65rem);
  max-width: 780px;
}

.blog-cta p {
  color: #d9e8ff;
  line-height: 1.65;
  margin: 0;
  max-width: 720px;
}

.contact-panel {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
}

.contact-panel span {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: white;
  font-weight: 900;
  overflow-wrap: anywhere;
  padding-top: 14px;
}

.site-footer {
  background: #091b4f;
  color: white;
  display: grid;
  gap: clamp(30px, 7vw, 110px);
  grid-template-columns: minmax(280px, 1.4fr) repeat(2, minmax(180px, 0.6fr));
  padding: 48px clamp(18px, 6vw, 92px);
}

.site-footer > div {
  align-content: start;
  display: grid;
  gap: 11px;
}

.site-footer img {
  filter: brightness(0) invert(1);
  height: auto;
  margin-bottom: 8px;
  width: 210px;
}

.site-footer p,
.site-footer a,
.site-footer span {
  color: #c7daf4;
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

.site-footer p {
  max-width: 460px;
}

.site-footer strong {
  color: white;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--cyan);
}

.whatsapp-float {
  align-items: center;
  background: var(--cyan);
  border: 3px solid white;
  border-radius: 999px;
  bottom: 18px;
  box-shadow: 0 18px 46px rgba(23, 64, 168, 0.22);
  color: var(--denim-dark);
  display: flex;
  font-weight: 950;
  height: 54px;
  justify-content: center;
  position: fixed;
  right: 18px;
  transition: transform 180ms ease;
  width: 54px;
  z-index: 60;
}

.case-study-page {
  background: white;
}

.case-study-hero {
  background:
    radial-gradient(circle at 14% 18%, rgba(20, 199, 217, 0.28), transparent 28%),
    linear-gradient(135deg, var(--denim-dark), var(--denim));
  color: white;
  display: grid;
  gap: clamp(36px, 7vw, 96px);
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  min-height: 760px;
  padding: 154px clamp(18px, 6vw, 92px) 78px;
}

.case-study-copy {
  align-content: center;
  display: grid;
}

.case-study-copy .eyebrow,
.case-study-cta .eyebrow {
  color: var(--cyan);
}

.case-study-copy h1 {
  color: white;
  font-size: clamp(3rem, 5vw, 5.2rem);
  max-width: 940px;
}

.case-study-copy > p:not(.eyebrow) {
  color: #d9e8ff;
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.7;
  max-width: 760px;
}

.case-back-link {
  color: white;
  font-size: 0.88rem;
  font-weight: 900;
  margin-bottom: 34px;
  width: fit-content;
}

.case-service {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: white;
  font-size: 0.84rem;
  font-weight: 900;
  margin-top: 22px;
  padding: 11px 15px;
  width: fit-content;
}

.case-brand-panel {
  align-content: center;
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(5, 23, 77, 0.26);
  display: grid;
  gap: 34px;
  padding: clamp(26px, 4vw, 42px);
}

.case-brand-panel > img {
  height: 76px;
  object-fit: contain;
  place-self: center;
  width: min(100%, 330px);
}

.case-confidential-label {
  align-content: center;
  background: var(--sky);
  border-left: 4px solid var(--cyan);
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 24px;
}

.case-confidential-label span {
  color: var(--royal);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.case-confidential-label strong {
  color: var(--denim-dark);
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.case-confidential-label small {
  color: #60758c;
  line-height: 1.5;
}

.case-flow-preview {
  background: var(--sky);
  border: 1px solid var(--line);
  border-radius: 20px;
  display: grid;
  gap: 8px;
  padding: 16px;
}

.case-flow-preview div {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 4px 12px;
  grid-template-columns: auto 1fr;
  padding: 14px;
}

.case-flow-preview span {
  align-items: center;
  background: var(--royal);
  border-radius: 10px;
  color: white;
  display: flex;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.74rem;
  font-weight: 900;
  grid-row: 1 / 3;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.case-flow-preview strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.case-flow-preview small {
  color: var(--muted);
}

.case-flow-preview i {
  color: var(--cyan);
  font-style: normal;
  font-weight: 950;
  justify-self: center;
}

.case-challenge-section,
.case-solution-section,
.case-impact-section,
.case-study-cta {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 8vw, 130px);
}

.case-challenge-section {
  align-items: start;
  display: grid;
  gap: clamp(32px, 8vw, 130px);
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.15fr);
}

.case-challenge-section h2,
.case-solution-section h2,
.case-impact-section h2 {
  max-width: 680px;
}

.case-lead {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.48;
  margin: 0;
}

.case-solution-section {
  background: var(--sky-strong);
  display: grid;
  gap: clamp(38px, 7vw, 110px);
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1fr);
}

.case-solution-heading > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.case-solution-detail {
  display: grid;
  gap: 18px;
}

.case-solution-detail > .eyebrow {
  color: var(--royal);
  margin: 0;
}

.case-solution-steps {
  counter-reset: none;
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.case-solution-steps li {
  align-items: start;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  gap: 16px;
  grid-template-columns: auto 1fr;
  padding: 20px;
}

.case-solution-steps span {
  color: var(--royal);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.86rem;
  font-weight: 950;
}

.case-solution-steps p {
  color: var(--ink);
  line-height: 1.62;
  margin: 0;
}

.case-impact-section {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
}

.case-impact-section > div small {
  color: var(--muted);
  display: block;
  line-height: 1.55;
  max-width: 560px;
}

.case-impact-section ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.case-impact-section li {
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.55;
  padding: 0 0 14px 28px;
  position: relative;
}

.case-impact-section li::before {
  background: var(--cyan);
  border-radius: 999px;
  content: "";
  height: 10px;
  left: 0;
  position: absolute;
  top: 8px;
  width: 10px;
}

.case-impact-section blockquote {
  background: var(--denim-dark);
  border-radius: 22px;
  color: white;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 850;
  grid-column: 1 / -1;
  line-height: 1.45;
  margin: 28px 0 0;
  padding: clamp(24px, 4vw, 40px);
}

.case-study-cta {
  align-items: center;
  background:
    radial-gradient(circle at 90% 20%, rgba(20, 199, 217, 0.28), transparent 30%),
    linear-gradient(135deg, var(--denim), var(--royal));
  color: white;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.case-study-cta h2 {
  color: white;
  max-width: 780px;
}

.case-study-cta p {
  color: #d9e8ff;
  line-height: 1.65;
}

.case-study-cta > div:last-child {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.case-all-link {
  color: white;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.case-next {
  align-items: center;
  background: white;
  display: grid;
  gap: 20px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 36px clamp(18px, 8vw, 130px);
}

.case-next > span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.case-next a {
  align-items: center;
  border-left: 1px solid var(--line);
  display: grid;
  gap: 3px 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px 0 10px 24px;
}

.case-next strong {
  color: var(--ink);
  font-size: 1.15rem;
}

.case-next small {
  color: var(--muted);
  line-height: 1.4;
}

.case-next b {
  color: var(--royal);
  font-size: 1.5rem;
  grid-column: 2;
  grid-row: 1 / 3;
}

.case-next a:hover strong,
.case-next a:focus-visible strong {
  color: var(--royal);
}

.reveal {
  animation: rise 720ms ease both;
}

.process-node:nth-child(3),
.pain-strip article:nth-child(2),
.method-timeline article:nth-child(2),
.case-card:nth-child(2) {
  animation-delay: 80ms;
}

.process-node:nth-child(4),
.pain-strip article:nth-child(3),
.method-timeline article:nth-child(3),
.case-card:nth-child(3) {
  animation-delay: 140ms;
}

.process-node:nth-child(5),
.pain-strip article:nth-child(4),
.method-timeline article:nth-child(4),
.case-card:nth-child(4) {
  animation-delay: 200ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

}

@media (max-width: 1160px) {
  .site-header {
    border-radius: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    position: fixed;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .header-navigation {
    background: white;
    border-top: 1px solid var(--line);
    display: none;
    gap: 14px;
    grid-column: 1 / -1;
    margin: 4px -2px -2px;
    padding: 16px 2px 2px;
  }

  .menu-open .header-navigation {
    display: grid;
  }

  .header-navigation nav {
    align-items: stretch;
    display: grid;
    gap: 6px;
    justify-content: stretch;
  }

  .header-navigation nav a {
    border-radius: 0;
    padding: 11px 12px;
  }

  .header-navigation nav a:hover,
  .header-navigation nav a:focus-visible {
    background: var(--sky);
  }

  .nav-cta {
    text-align: center;
    width: 100%;
  }

  .hero {
    padding-top: 126px;
  }

  .case-study-hero {
    grid-template-columns: 1fr;
    padding-top: 126px;
  }

  .case-brand-panel {
    grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1fr);
  }

  .hero-copy,
  .hero-illustration,
  .hero-side-actions,
  .hero-clients-window {
    grid-column: 1;
    grid-row: auto;
  }

  .hero-clients-window > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero,
  .problem-section,
  .method-section,
  .front,
  .channel-section,
  .sector-section,
  .philosophy-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .process-orbit {
    aspect-ratio: auto;
    min-height: 690px;
  }

  .pain-strip,
  .automation-system,
  .evidence-grid,
  .diagnostic-grid,
  .visual-stories,
  .trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-case-card {
    flex-basis: calc((100% - 16px) / 2);
  }

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

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

  .blog-cta {
    grid-template-columns: 1fr;
  }

  .case-study-cta {
    grid-template-columns: 1fr;
  }

  .visual-story:nth-child(2) {
    transform: none;
  }

  .hero-illustration {
    min-height: 480px;
  }

  .hero-illustration img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 10%, black 92%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, black 10%, black 92%, transparent 100%);
    max-height: 620px;
  }

  .method-visual {
    position: static;
  }

  .human-bridge {
    grid-template-columns: 1fr;
  }

  .human-bridge-photo {
    min-height: 480px;
  }

  .human-bridge-photo::after {
    background: linear-gradient(to bottom, transparent 70%, var(--denim-dark) 100%);
  }
}

@media (max-width: 760px) {
  .site-header {
    left: 0;
    padding: 12px 18px;
    right: 0;
    top: 0;
  }

  .brand img {
    height: 36px;
    width: 200px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-top: 104px;
    padding-bottom: 46px;
  }

  h1 {
    font-size: clamp(2.25rem, 10vw, 2.75rem);
  }

  h2 {
    font-size: clamp(2rem, 8vw, 2.45rem);
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 3.15rem);
  }

  .hero-illustration {
    min-height: auto;
  }

  .hero-illustration img {
    height: auto;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, black 8%, black 92%, transparent 100%);
  }

  .process-orbit {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-height: auto;
    padding: 18px;
  }

  .process-orbit::before,
  .process-orbit::after,
  .orbit-line {
    display: none;
  }

  .process-node {
    position: static;
    padding: 13px;
    width: auto;
  }

  .process-node p {
    font-size: 0.8rem;
  }

  .hero-note {
    font-size: 0.88rem;
  }

  .gallery-heading,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-heading {
    gap: 14px;
  }

  .gallery-heading .eyebrow {
    grid-column: auto;
  }

  .gallery-grid {
    grid-template-rows: none;
  }

  .gallery-item,
  .gallery-item-1 {
    grid-row: auto;
    min-height: 330px;
  }

  .gallery-item figcaption {
    grid-template-columns: 1fr;
  }

  .gallery-item figcaption p {
    display: none;
  }

  .transformation-copy {
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .transformation-copy .eyebrow {
    grid-column: auto;
  }

  .transformation-visual figcaption {
    grid-template-columns: 1fr;
  }

  .transformation-visual figcaption span {
    border-right: 0 !important;
    border-top: 1px solid var(--line);
    padding: 10px 0;
  }

  .human-bridge-photo {
    min-height: 380px;
  }

  .human-bridge-copy {
    padding: 42px 24px 50px;
  }

  .operational-scenes-grid {
    grid-template-columns: 1fr;
  }

  .operational-scenes figure,
  .operational-scenes figure:nth-child(2) {
    margin-top: 0;
    min-height: 430px;
  }

  .hero-clients-window {
    gap: 18px;
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .hero-clients-window > span {
    max-width: none;
  }

  .hero-clients-window > div {
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-clients-window img {
    height: 38px;
  }

  .pain-strip,
  .automation-system,
  .problem-compare,
  .evidence-grid,
  .diagnostic-grid,
  .visual-stories,
  .case-grid,
  .trust-list {
    grid-template-columns: 1fr;
  }

  .automation-system article {
    min-height: auto;
  }

  .channel-card {
    grid-template-columns: 1fr;
  }

  .pain-strip article {
    min-height: auto;
  }

  .pain-strip span {
    margin-bottom: 28px;
  }

  .workflow-row {
    grid-template-columns: 1fr;
  }

  .workflow-row b {
    height: 18px;
    justify-self: center;
    width: 4px;
  }

  .front-visual,
  .assistant-visual,
  .dashboard-visual {
    min-height: auto;
  }

  .method-timeline article {
    min-height: auto;
  }

  .method-timeline span {
    margin-bottom: 0;
  }

  .problem-section,
  .method-section,
  .case-section,
  .tools-section,
  .client-section,
  .trust-section,
  .final-cta {
    padding-bottom: 48px;
    padding-top: 48px;
  }

  .section-heading {
    padding-top: 48px;
  }

  .whatsapp-float {
    display: none;
  }

  .client-case-card {
    flex-basis: 88%;
    min-height: 390px;
    padding: 18px;
  }

  .tools-cloud span {
    font-size: 0.88rem;
    min-height: 38px;
    padding: 0 12px;
  }

  .evidence-card,
  .case-card,
  .trust-list article {
    border-radius: 20px;
    padding: 18px;
  }

  .compact-cases .case-card {
    gap: 10px;
  }

  .compact-cases .case-card img {
    display: none;
  }

  .inline-cta {
    border-radius: 24px;
    margin-left: -2px;
    margin-right: -2px;
  }

  .blog-hero {
    padding-top: 232px;
  }

  .blog-section,
  .blog-cta {
    padding-bottom: 48px;
    padding-top: 48px;
  }

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

  .blog-card {
    min-height: auto;
  }

  .blog-archive > summary {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .blog-archive > summary small {
    flex-basis: calc(100% - 32px);
    margin: 4px 0 0;
  }

  .case-study-hero {
    min-height: auto;
    padding-top: 112px;
  }

  .case-study-copy h1 {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

  .case-brand-panel,
  .case-challenge-section,
  .case-solution-section,
  .case-impact-section {
    grid-template-columns: 1fr;
  }

  .case-brand-panel {
    gap: 24px;
  }

  .case-study-cta .button {
    min-width: 0;
  }

  .case-next {
    grid-template-columns: 1fr;
  }

  .case-next a {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 18px 0 0;
  }

  .site-footer {
    gap: 30px;
    grid-template-columns: 1fr;
    padding-bottom: 78px;
  }

}

/* WordPress integration */
.navigation.pagination {
  border-top: 1px solid var(--line);
  margin-top: 42px;
  padding-top: 28px;
}

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

.navigation.pagination .page-numbers {
  align-items: center;
  border: 1px solid var(--line);
  color: var(--denim);
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 42px;
  min-width: 42px;
  padding: 8px 13px;
}

.navigation.pagination .page-numbers.current,
.navigation.pagination a.page-numbers:hover,
.navigation.pagination a.page-numbers:focus-visible {
  background: var(--denim);
  border-color: var(--denim);
  color: white;
}

.laguna-standard-page .laguna-page-hero {
  min-height: 420px;
}

.laguna-standard-page .article-hero-copy {
  max-width: 980px;
}

.laguna-index {
  padding-top: 160px;
}

.laguna-not-found {
  min-height: calc(100svh - 250px);
  padding-top: 170px;
}

.laguna-not-found h1 {
  color: white;
}

.article-content .elementor,
.article-content .elementor-section-wrap {
  max-width: 100%;
}

.article-content iframe,
.article-content video,
.article-content table {
  max-width: 100%;
}

.article-content table {
  border-collapse: collapse;
  width: 100%;
}

.article-content td,
.article-content th {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}

.alignwide {
  margin-left: max(-8vw, -120px);
  margin-right: max(-8vw, -120px);
  max-width: none;
  width: auto;
}

.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
}

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

  .alignwide {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Editorial journal */

.home-journal,
.journal-index,
.article-related {
  padding: clamp(68px, 8vw, 112px) clamp(18px, 6vw, 92px);
}

.home-journal {
  background: linear-gradient(180deg, #ffffff 0%, var(--sky) 100%);
  border-top: 1px solid var(--line);
}

.home-journal-heading,
.journal-index-heading {
  align-items: end;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.home-journal-heading h2,
.journal-index-heading h2 {
  margin-bottom: 0;
  max-width: 760px;
}

.home-journal-heading > a {
  color: var(--royal);
  font-weight: 900;
  white-space: nowrap;
}

.home-journal-heading > a span,
.journal-entry-copy > strong span {
  display: inline-block;
  transition: transform 180ms ease;
}

.home-journal-heading > a:hover span,
.home-journal-heading > a:focus-visible span,
.journal-entry:hover .journal-entry-copy > strong span,
.journal-entry:focus-visible .journal-entry-copy > strong span {
  transform: translate(4px, -2px);
}

.journal-page,
.article-page {
  background: white;
}

.journal-hero {
  background:
    radial-gradient(circle at 18% 22%, rgba(20, 199, 217, 0.2), transparent 28%),
    linear-gradient(135deg, #081c50 0%, var(--denim-dark) 48%, #1740a8 100%);
  display: grid;
  gap: clamp(38px, 6vw, 84px);
  grid-template-columns: minmax(300px, 0.72fr) minmax(480px, 1.28fr);
  min-height: min(860px, 100svh);
  padding: 138px clamp(18px, 6vw, 92px) clamp(56px, 7vw, 88px);
}

.journal-hero-heading {
  align-self: center;
  max-width: 610px;
}

.journal-hero-heading .eyebrow {
  color: var(--cyan);
}

.journal-hero-heading h1 {
  color: white;
  font-size: clamp(3.2rem, 5.5vw, 5.8rem);
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.journal-hero-heading > p:not(.eyebrow) {
  color: #d7e8ff;
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  line-height: 1.7;
  max-width: 540px;
}

.journal-index {
  background: white;
}

.journal-index-heading > p {
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.82rem;
  margin: 0;
}

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

.journal-entry {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  grid-template-columns: minmax(210px, 0.55fr) minmax(0, 1.45fr);
  padding: 28px 0;
}

.journal-entry figure {
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
}

.journal-entry figure img {
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 100%;
}

.journal-entry:hover figure img,
.journal-entry:focus-visible figure img {
  transform: scale(1.035);
}

.journal-entry-copy {
  display: grid;
  gap: 12px;
}

.journal-entry-meta {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.74rem;
  gap: 10px;
  text-transform: uppercase;
}

.journal-entry-meta span {
  color: var(--royal);
  font-weight: 850;
}

.journal-entry-meta time::before {
  color: var(--cyan);
  content: "•";
  margin-right: 10px;
}

.journal-entry h3 {
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  letter-spacing: -0.025em;
  line-height: 1.07;
  margin: 0;
  transition: color 180ms ease;
}

.journal-entry:hover h3,
.journal-entry:focus-visible h3 {
  color: var(--royal);
}

.journal-entry-copy > p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  max-width: 760px;
}

.journal-entry-copy > strong {
  color: var(--ink);
  font-size: 0.84rem;
  margin-top: 4px;
}

.journal-entry-featured {
  align-self: stretch;
  background: white;
  border: 0;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(360px, 1fr) auto;
  padding: 0;
}

.journal-entry-featured figure {
  aspect-ratio: auto;
  min-height: 360px;
}

.journal-entry-featured .journal-entry-copy {
  padding-top: 24px;
}

.journal-entry-featured h3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.journal-entry-featured .journal-entry-copy > p {
  color: #53677f;
}

.journal-list-home,
.journal-list-related {
  display: grid;
  gap: clamp(22px, 3vw, 38px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.journal-list-home .journal-entry,
.journal-list-related .journal-entry {
  align-content: start;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  padding: 24px 0 0;
}

.journal-list-home .journal-entry-copy > p,
.journal-list-related .journal-entry-copy > p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.journal-list-home .journal-entry h3,
.journal-list-related .journal-entry h3 {
  font-size: clamp(1.35rem, 2vw, 1.72rem);
}

.journal-cta {
  align-items: center;
  background:
    radial-gradient(circle at 82% 18%, rgba(20, 199, 217, 0.28), transparent 30%),
    linear-gradient(135deg, var(--denim-dark), var(--denim));
  color: white;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(54px, 7vw, 88px) clamp(18px, 6vw, 92px);
}

.journal-cta .eyebrow,
.journal-cta h2 {
  color: white;
}

.journal-cta h2 {
  margin: 0;
  max-width: 900px;
}

.article-hero {
  background: var(--sky);
  display: grid;
  grid-template-columns: minmax(390px, 0.9fr) minmax(480px, 1.1fr);
  min-height: min(820px, 100svh);
  padding-top: 71px;
}

.article-hero-copy {
  align-self: center;
  padding: clamp(76px, 9vw, 128px) clamp(32px, 6vw, 92px);
}

.article-back {
  color: var(--royal);
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 900;
  margin-bottom: clamp(48px, 7vw, 88px);
}

.article-hero-copy h1 {
  font-size: clamp(3rem, 5vw, 5.4rem);
  letter-spacing: -0.045em;
  line-height: 0.96;
  max-width: 860px;
}

.article-hero-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.03rem, 1.35vw, 1.18rem);
  line-height: 1.7;
  max-width: 700px;
}

.article-meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.78rem;
  gap: 22px;
  margin-top: 32px;
  text-transform: uppercase;
}

.article-meta span::before {
  color: var(--cyan);
  content: "•";
  margin-right: 22px;
}

.article-cover {
  margin: 0;
  min-height: 560px;
  overflow: hidden;
}

.article-cover img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.article-layout {
  display: grid;
  gap: clamp(42px, 7vw, 96px);
  grid-template-columns: 210px minmax(0, 760px);
  justify-content: center;
  padding: clamp(76px, 10vw, 132px) clamp(18px, 6vw, 92px);
}

.article-rail {
  align-self: start;
  border-top: 2px solid var(--cyan);
  display: grid;
  gap: 9px;
  padding-top: 18px;
  position: sticky;
  top: 110px;
}

.article-rail span,
.article-rail small {
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.article-rail strong {
  color: var(--ink);
  line-height: 1.35;
}

.article-rail a {
  color: var(--royal);
  font-size: 0.84rem;
  font-weight: 900;
  margin-top: 20px;
}

.article-content {
  color: #2d4159;
  font-size: clamp(1.02rem, 1.25vw, 1.12rem);
  line-height: 1.85;
  min-width: 0;
}

.article-content > p:first-child {
  color: var(--ink);
  font-size: clamp(1.18rem, 1.8vw, 1.45rem);
  line-height: 1.68;
}

.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5 {
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.16;
  margin-bottom: 18px;
  margin-top: 2.5em;
}

.article-content h2 {
  font-size: clamp(2rem, 3vw, 2.65rem);
}

.article-content h3 {
  font-size: clamp(1.55rem, 2.2vw, 2rem);
}

.article-content h4,
.article-content h5 {
  font-size: clamp(1.22rem, 1.7vw, 1.46rem);
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote,
.article-content pre,
.article-content img {
  margin-bottom: 1.5em;
}

.article-content ul,
.article-content ol {
  padding-left: 1.3em;
}

.article-content li {
  margin-bottom: 0.65em;
  padding-left: 0.35em;
}

.article-content a {
  color: var(--royal);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(31, 94, 255, 0.35);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.article-content blockquote {
  border-left: 4px solid var(--cyan);
  color: var(--denim-dark);
  font-size: 1.18em;
  font-weight: 750;
  margin-left: 0;
  padding: 8px 0 8px 26px;
}

.article-content img {
  height: auto;
  margin-top: 2.4em;
  width: 100%;
}

.article-content pre {
  background: #081c50;
  color: #e7f2ff;
  overflow-x: auto;
  padding: 22px;
}

.article-related {
  background: var(--sky);
  border-top: 1px solid var(--line);
}

.article-related > header {
  margin-bottom: clamp(34px, 5vw, 56px);
}

.article-related > header h2 {
  margin-bottom: 0;
  max-width: 760px;
}

@media (max-width: 1040px) {
  .journal-hero,
  .article-hero {
    grid-template-columns: 1fr;
  }

  .journal-hero {
    min-height: auto;
  }

  .journal-entry-featured {
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    grid-template-rows: auto;
  }

  .article-hero-copy {
    padding-bottom: 64px;
  }

  .article-back {
    margin-bottom: 48px;
  }

  .article-cover {
    min-height: 520px;
  }

  .article-layout {
    grid-template-columns: 170px minmax(0, 720px);
  }
}

@media (max-width: 760px) {
  .home-journal-heading,
  .journal-index-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .journal-hero {
    gap: 44px;
    padding-top: 118px;
  }

  .journal-hero-heading h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .journal-entry,
  .journal-entry-featured {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .journal-entry-featured figure {
    min-height: 300px;
  }

  .journal-list-home,
  .journal-list-related {
    grid-template-columns: 1fr;
  }

  .journal-list-home .journal-entry,
  .journal-list-related .journal-entry {
    padding-bottom: 28px;
  }

  .journal-cta {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .article-hero {
    min-height: auto;
    padding-top: 65px;
  }

  .article-hero-copy {
    padding: 54px 18px 48px;
  }

  .article-hero-copy h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .article-cover {
    min-height: 390px;
  }

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

  .article-rail {
    position: static;
  }

  .article-meta span::before {
    margin-right: 12px;
  }

  .article-content {
    font-size: 1rem;
  }
}
