:root {
  --alabaster: #f4f6f9;
  --cobalt: #1b3a6b;
  --cobalt-deep: #122a4f;
  --emerald: #0f766e;
  --emerald-soft: #d5f0e9;
  --sand: #e0c9a6;
  --ink: #16202f;
  --ink-soft: #5b6b83;
  --hairline: rgba(27, 58, 107, 0.12);
  --glass: rgba(255, 255, 255, 0.72);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--alabaster);
}

strong, p, span, li, h1, h2, h3, h4, h5, h6 {
  color: inherit;
}

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

a {
  color: inherit;
}

.display-type {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.mono-type {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  letter-spacing: 0.06em;
}

.ui-caps {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.aurora-canvas {
  position: relative;
  min-height: 100vh;
  background: var(--alabaster);
  overflow-x: hidden;
}

.mesh-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.75;
}

.mesh-blob-a {
  width: 46vw;
  height: 46vw;
  top: -12vw;
  left: -8vw;
  background: #dce9f7;
  animation: mesh-drift-a 15s ease-in-out infinite alternate;
}

.mesh-blob-b {
  width: 38vw;
  height: 38vw;
  top: 32vh;
  right: -10vw;
  background: #e8e6f0;
  animation: mesh-drift-b 13s ease-in-out infinite alternate;
}

.mesh-blob-c {
  width: 40vw;
  height: 40vw;
  bottom: -14vw;
  left: 24vw;
  background: #d5f0e9;
  animation: mesh-drift-c 16s ease-in-out infinite alternate;
}

@keyframes mesh-drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(6vw, 4vh, 0) scale(1.12); }
}

@keyframes mesh-drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.08); }
  to { transform: translate3d(-7vw, 6vh, 0) scale(0.94); }
}

@keyframes mesh-drift-c {
  from { transform: translate3d(0, 0, 0) scale(0.96); }
  to { transform: translate3d(5vw, -5vh, 0) scale(1.1); }
}

.page-shell {
  position: relative;
  z-index: 10;
}

.giant-word {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  max-width: 100%;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-size: clamp(48px, 14vw, 340px);
  line-height: 0.85;
  color: var(--cobalt);
  opacity: 0.035;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}

.giant-word--hero {
  top: 2rem;
  left: 0;
}

.giant-word--left {
  top: 0;
  left: 0;
}

.giant-word--right {
  top: 0;
  text-align: right;
}

.giant-word--right-top {
  top: 1rem;
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(27, 58, 107, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.glass-card:hover {
  box-shadow: 0 30px 60px rgba(27, 58, 107, 0.15);
}

.section-pad {
  padding: 4.5rem 0;
}

.section-pad-wide {
  padding: 6.5rem 0;
}

.eyebrow-chip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 100%;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(224, 201, 166, 0.35);
  border: 1px solid rgba(27, 58, 107, 0.12);
  color: var(--cobalt);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.pill-header {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.7rem 0.55rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 30px rgba(27, 58, 107, 0.08);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  transition: top 0.4s var(--ease-out), padding 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.pill-header.is-scrolled {
  top: 10px;
  padding: 0.35rem 0.6rem 0.35rem 0.7rem;
  box-shadow: 0 14px 38px rgba(27, 58, 107, 0.13);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

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

.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-domain {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--cobalt);
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.68rem;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  max-width: 46vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-rail {
  display: none;
  align-items: center;
  gap: 1.35rem;
}

.nav-link {
  position: relative;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--cobalt);
  text-decoration: none;
  padding: 0.5rem 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.25rem;
  width: 100%;
  height: 2px;
  background: var(--emerald);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--spring);
}

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

.nav-link.is-current {
  color: var(--emerald);
}

.btn-choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  max-width: 100%;
  min-height: 46px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: break-word;
  cursor: pointer;
  transition: transform 0.45s var(--spring), background-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.btn-emerald {
  background: var(--emerald);
  color: #ffffff;
  border: 1px solid var(--emerald);
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.26);
}

.btn-emerald:hover {
  background: #0b5f58;
  color: #ffffff;
  transform: translateY(-3px);
}

.btn-cobalt {
  background: var(--cobalt);
  color: #ffffff;
  border: 1px solid var(--cobalt);
  box-shadow: 0 12px 26px rgba(27, 58, 107, 0.24);
}

.btn-cobalt:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #ffffff;
  transform: translateY(-3px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.86);
  color: var(--cobalt);
  border: 1px solid rgba(27, 58, 107, 0.35);
}

.btn-outline:hover {
  background: var(--cobalt);
  color: #ffffff;
  border-color: var(--cobalt);
  transform: translateY(-3px);
}

.btn-light {
  background: #ffffff;
  color: var(--cobalt);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.btn-light:hover {
  background: var(--emerald);
  color: #ffffff;
  border-color: var(--emerald);
  transform: translateY(-3px);
}

.burger-toggle {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 14px;
  border: 1px solid rgba(27, 58, 107, 0.18);
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  z-index: 950;
}

.burger-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--cobalt);
  transition: transform 0.4s var(--spring), opacity 0.25s ease;
}

.burger-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.burger-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-veil {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(244, 246, 249, 0.94);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 1.5rem 2.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease-out), visibility 0.45s var(--ease-out);
  overflow-y: auto;
}

.mobile-veil.is-open {
  opacity: 1;
  visibility: visible;
}

.veil-link {
  display: block;
  padding: 0.9rem 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--cobalt);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s ease;
}

.mobile-veil.is-open .veil-link {
  opacity: 1;
  transform: translateY(0);
}

.veil-link:hover {
  color: var(--emerald);
}

.veil-contact {
  margin-top: 2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.veil-contact a {
  color: var(--cobalt);
  text-decoration: none;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.veil-contact {
  overflow-wrap: anywhere;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--emerald);
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-100px, -100px, 0);
  transition: width 0.25s ease, height 0.25s ease, background-color 0.25s ease;
  mix-blend-mode: normal;
}

.cursor-ring.is-hovering {
  width: 44px;
  height: 44px;
  background: rgba(15, 118, 110, 0.12);
}

.magnetic {
  transition: transform 0.5s var(--spring);
}

.hero-sculpture {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.hero-sculpture img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid var(--hairline);
  box-shadow: 0 30px 70px rgba(27, 58, 107, 0.18);
}

.sculpture-halo {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(213, 240, 233, 0.85), rgba(220, 233, 247, 0.5) 45%, rgba(232, 230, 240, 0) 72%);
  filter: blur(18px);
  z-index: 0;
  animation: halo-breathe 12s ease-in-out infinite alternate;
}

@keyframes halo-breathe {
  from { transform: scale(0.94); opacity: 0.75; }
  to { transform: scale(1.06); opacity: 1; }
}

.stat-cluster {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.stat-card {
  padding: 1.25rem 1.35rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--hairline);
  box-shadow: 0 18px 34px rgba(27, 58, 107, 0.09);
  color: var(--ink);
}

.stat-figure {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(1.5rem, 7vw, 2.1rem);
  overflow-wrap: break-word;
  font-weight: 700;
  color: var(--cobalt);
  line-height: 1;
}

.stat-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 0.45rem;
}

.stack-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.stack-card {
  position: relative;
  border-radius: 26px;
  padding: 1.6rem 1.5rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--hairline);
  box-shadow: 0 20px 40px rgba(27, 58, 107, 0.08);
  color: var(--ink);
  transition: transform 0.6s var(--spring), box-shadow 0.5s ease, z-index 0.2s linear;
}

.stack-card:hover {
  transform: translateY(-8px) scale(1.012);
  box-shadow: 0 34px 66px rgba(27, 58, 107, 0.17);
  z-index: 60;
}

.stack-index {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--emerald);
  letter-spacing: 0.18em;
}

.stack-capability {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.stack-capability li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.stack-capability li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--emerald);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 100%;
  color: var(--emerald);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.link-arrow:hover {
  color: var(--cobalt);
}

.link-arrow span {
  transition: transform 0.4s var(--spring);
}

.link-arrow:hover span {
  transform: translateX(6px);
}

.node-graph {
  display: grid;
  gap: 0.85rem;
}

.node-core {
  padding: 1.4rem;
  border-radius: 22px;
  background: var(--cobalt);
  color: #ffffff;
  text-align: center;
  box-shadow: 0 22px 44px rgba(27, 58, 107, 0.3);
}

.node-core-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
}

.node-sat {
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  overflow: hidden;
}

.node-sat-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
  padding: 1rem 1.1rem;
  background: transparent;
  border: 0;
  color: var(--cobalt);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
}

.node-sat-head span.glyph {
  color: var(--emerald);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.4s var(--spring);
}

.node-sat.is-open .node-sat-head span.glyph {
  transform: rotate(45deg);
}

.node-sat-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), opacity 0.4s ease, padding 0.5s var(--ease-out);
  padding: 0 1.1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.node-sat.is-open .node-sat-body {
  max-height: 260px;
  opacity: 1;
  padding: 0 1.1rem 1.15rem;
}

.process-rail {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hairline);
}

.process-row {
  border-bottom: 1px solid var(--hairline);
  transition: background-color 0.4s ease;
}

.process-row:hover {
  background: rgba(27, 58, 107, 0.03);
}

.process-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: 1.35rem 0.5rem;
  background: transparent;
  border: 0;
  color: var(--cobalt);
  cursor: pointer;
  text-align: left;
  font-family: 'Manrope', sans-serif;
}

.process-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: var(--emerald);
  letter-spacing: 0.16em;
  flex-shrink: 0;
}

.process-name {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.25rem, 5vw, 1.55rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--cobalt);
}

.process-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease-out), opacity 0.45s ease;
}

.process-row.is-open .process-panel {
  max-height: 620px;
  opacity: 1;
}

.process-panel-inner {
  display: grid;
  gap: 1.1rem;
  padding: 0 0.5rem 1.6rem;
}

.process-figure {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--hairline);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.bento-tile {
  border-radius: 24px;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  box-shadow: 0 20px 40px rgba(27, 58, 107, 0.08);
  transition: transform 0.5s var(--spring), box-shadow 0.45s ease;
}

.bento-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 60px rgba(27, 58, 107, 0.16);
}

.bento-tile.is-cobalt {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #ffffff;
  box-shadow: 0 24px 48px rgba(27, 58, 107, 0.26);
}

.bento-tile.is-emerald {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #ffffff;
  box-shadow: 0 24px 48px rgba(15, 118, 110, 0.26);
}

.bento-figure {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(1.9rem, 7.5vw, 3.6rem);
  overflow-wrap: break-word;
  font-weight: 700;
  line-height: 1;
}

.bento-tile.is-cobalt .bento-figure {
  color: #ffffff;
}

.bento-tile.is-emerald .bento-figure {
  color: #ffffff;
}

.bento-note {
  margin-top: 0.6rem;
  font-size: 0.95rem;
}

.bento-tile.is-cobalt .bento-note {
  color: rgba(255, 255, 255, 0.85);
}

.bento-tile.is-emerald .bento-note {
  color: rgba(255, 255, 255, 0.85);
}

.expert-lane {
  display: flex;
  gap: 1rem;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
}

.expert-card {
  flex: 0 0 78%;
  scroll-snap-align: start;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--hairline);
  color: var(--ink);
  box-shadow: 0 18px 38px rgba(27, 58, 107, 0.08);
  transition: flex-basis 0.6s var(--spring), transform 0.5s var(--spring), box-shadow 0.4s ease;
}

.expert-card:hover {
  flex-basis: 88%;
  transform: translateY(-6px);
  box-shadow: 0 30px 56px rgba(27, 58, 107, 0.16);
}

.expert-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.expert-body {
  padding: 1.1rem 1.2rem 1.4rem;
}

.expert-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cobalt);
  line-height: 1.15;
}

.expert-role {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--emerald);
  font-weight: 700;
  margin-top: 0.3rem;
}

.expert-detail {
  margin-top: 0.8rem;
  font-size: 0.93rem;
  color: var(--ink-soft);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--ease-out), opacity 0.4s ease, margin 0.4s ease;
}

.expert-card:hover .expert-detail {
  max-height: 240px;
  opacity: 1;
}

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

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-width: 0;
  padding: 1.35rem 0.4rem;
  background: transparent;
  border: 0;
  color: var(--cobalt);
  font-family: 'Manrope', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: transform 0.4s var(--spring);
}

.faq-question:hover {
  transform: translateX(4px);
}

.faq-sign {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(27, 58, 107, 0.3);
  color: var(--cobalt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.4s var(--spring), background-color 0.35s ease, color 0.35s ease;
}

.faq-row.is-open .faq-sign {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--ease-out), opacity 0.4s ease;
}

.faq-row.is-open .faq-answer {
  max-height: 320px;
  opacity: 1;
}

.faq-answer p {
  padding: 0 0.4rem 1.4rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

.coverflow {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 0 1.25rem;
}

.coverflow-track {
  display: flex;
  gap: 1rem;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.coverflow-track::-webkit-scrollbar {
  display: none;
}

.coverflow-card {
  flex: 0 0 85%;
  max-width: 90%;
  scroll-snap-align: center;
  border-radius: 24px;
  padding: 1.6rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--hairline);
  color: var(--ink);
  box-shadow: 0 24px 46px rgba(27, 58, 107, 0.12);
}

.coverflow-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.coverflow-photo {
  width: 62px;
  height: 62px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 20px rgba(27, 58, 107, 0.18);
}

.coverflow-metric {
  display: inline-block;
  margin-top: 1.1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--emerald-soft);
  color: #0b5f58;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
  font-weight: 700;
}

.coverflow-nav {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.coverflow-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(27, 58, 107, 0.28);
  background: rgba(255, 255, 255, 0.9);
  color: var(--cobalt);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.4s var(--spring);
}

.coverflow-btn:hover {
  background: var(--cobalt);
  color: #ffffff;
  transform: translateY(-2px);
}

.contact-split {
  display: grid;
  gap: 2.5rem;
}

.contact-rail {
  display: grid;
  gap: 0.35rem;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
  text-decoration: none;
}

.contact-line:hover .contact-text {
  transform: translateX(4px);
  color: var(--emerald);
}

.contact-text {
  min-width: 0;
  overflow-wrap: anywhere;
  transition: transform 0.4s var(--spring), color 0.3s ease;
}

.field-shell {
  display: block;
  margin-bottom: 1.35rem;
}

.field-label {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--cobalt);
  margin-bottom: 0.45rem;
}

.field-input {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.2rem;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--cobalt);
  border-radius: 0;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.field-input::placeholder {
  color: rgba(91, 107, 131, 0.75);
}

.field-input:focus {
  outline: none;
  border-bottom: 2px solid var(--emerald);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

select.field-input {
  background-color: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid var(--cobalt);
  border-radius: 10px 10px 0 0;
}

.form-status {
  min-height: 1.5rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-top: 0.8rem;
}

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

.form-status.is-ok {
  color: #0b5f58;
}

.consent-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--hairline);
  box-shadow: 0 22px 50px rgba(27, 58, 107, 0.2);
  color: var(--ink);
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.consent-actions .btn-choice {
  min-height: 44px;
  padding: 0.6rem 1.15rem;
  font-size: 0.74rem;
}

.consent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.6rem;
}

.consent-links a {
  color: var(--cobalt);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: underline;
}

.footer-shell {
  position: relative;
  z-index: 20;
  margin-top: 4rem;
  background: var(--cobalt);
  color: #ffffff;
  padding: 3.5rem 0 2rem;
}

.footer-shell a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.footer-shell a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-meta {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.footer-rule {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  margin-top: 2rem;
  padding-top: 1.5rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
}

.reveal-item {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.js .reveal-item {
  opacity: 0;
  transform: translateY(26px);
}

.js .reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.prose-block {
  max-width: 72ch;
}

.prose-block p {
  margin-bottom: 1.1rem;
  color: var(--ink-soft);
}

.prose-block h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--cobalt);
  margin: 2.4rem 0 0.9rem;
  line-height: 1.15;
}

.prose-block h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cobalt);
  margin: 1.8rem 0 0.6rem;
}

.prose-block ul {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.prose-block li {
  margin-bottom: 0.45rem;
}

.price-tag {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.88rem;
  color: var(--emerald);
  font-weight: 700;
}

.case-card {
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--hairline);
  box-shadow: 0 20px 40px rgba(27, 58, 107, 0.08);
  color: var(--ink);
  transition: transform 0.5s var(--spring), box-shadow 0.45s ease;
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 58px rgba(27, 58, 107, 0.16);
}

.case-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-body {
  padding: 1.3rem 1.4rem 1.6rem;
}

.metric-row {
  display: grid;
  gap: 0.75rem;
}

.metric-cell {
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--hairline);
  color: var(--ink);
}

.metric-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(1.5rem, 6vw, 2rem);
  overflow-wrap: break-word;
  font-weight: 700;
  color: var(--cobalt);
  line-height: 1;
}

.quote-block {
  padding: 1.6rem 1.7rem;
  border-left: 3px solid var(--emerald);
  border-radius: 0 20px 20px 0;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.4;
}

.table-scroll {
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  border-radius: 20px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.82);
}

.vendor-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  color: var(--ink);
}

.vendor-table th,
.vendor-table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.92rem;
  color: var(--ink);
}

.vendor-table th {
  background: rgba(27, 58, 107, 0.06);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cobalt);
}

.vendor-table tbody tr:last-child td {
  border-bottom: 0;
}

.breadcrumb-trail {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
}

.breadcrumb-trail a {
  color: var(--cobalt);
  text-decoration: none;
}

.breadcrumb-trail a:hover {
  color: var(--emerald);
}

.thank-panel {
  padding: 2.5rem 1.8rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--hairline);
  box-shadow: 0 26px 52px rgba(27, 58, 107, 0.12);
  color: var(--ink);
}

@media (min-width: 640px) {
  .stat-cluster {
    grid-template-columns: 1fr;
  }

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

  .stat-figure {
    font-size: clamp(1.5rem, 5vw, 2.1rem);
  }

  .consent-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    left: 24px;
    right: 24px;
    bottom: 24px;
  }

  .consent-inner {
    max-width: 62%;
  }
}

@media (min-width: 768px) {
  .stat-cluster {
    grid-template-columns: repeat(3, 1fr);
  }

  .metric-row {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .coverflow-card {
    flex: 0 0 62%;
    max-width: 88%;
  }

  .expert-card {
    flex: 0 0 46%;
  }
}

@media (min-width: 1024px) {
  .section-pad {
    padding: 7rem 0;
  }

  .section-pad-wide {
    padding: 9rem 0;
  }

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

  .brand-domain {
    font-size: 1.12rem;
  }

  .stat-cluster {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .stat-figure {
    font-size: 2.1rem;
  }

  .stat-card:nth-child(2) {
    margin-left: -22px;
  }

  .stat-card:nth-child(3) {
    margin-left: -22px;
  }

  .stack-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
  }

  .stack-card:nth-child(even) {
    transform: translateY(34px);
  }

  .stack-card:nth-child(even):hover {
    transform: translateY(22px) scale(1.012);
  }

  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(0, auto);
  }

  .bento-tile.is-wide {
    grid-column: span 2;
  }

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

  .node-core {
    grid-column: 1 / -1;
  }

  .process-panel-inner {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }

  .expert-lane {
    overflow-x: auto;
  }

  .expert-card {
    flex: 0 0 200px;
  }

  .expert-card:hover {
    flex: 0 0 420px;
  }

  .contact-split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .coverflow-card {
    flex: 0 0 440px;
  }

  .metric-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .nav-rail {
    display: flex;
  }

  .burger-toggle {
    display: none;
  }

  .mobile-veil {
    display: none;
  }

  .pill-header {
    top: 24px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: auto;
    max-width: 1400px;
    padding: 0.7rem 0.85rem 0.7rem 1rem;
  }

  .pill-header.is-scrolled {
    top: 14px;
  }

  .stat-cluster {
    max-width: 860px;
  }

  .contact-split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

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

@media (hover: none) {
  .cursor-ring {
    display: none;
  }
}
