:root {
  --onyx-950: #07090f;
  --onyx-900: #0c1118;
  --onyx-850: #111722;
  --alabaster: #f3f0e7;
  --alabaster-soft: rgba(243, 240, 231, 0.76);
  --brass: #b89458;
  --brass-deep: #9f7a3f;
  --line: rgba(243, 240, 231, 0.16);
  --section-max: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

body {
  background: var(--onyx-950);
  color: var(--alabaster);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

::selection {
  background: var(--brass, #b89458);
  color: #07090f;
  text-shadow: none;
}

::-moz-selection {
  background: var(--brass, #b89458);
  color: #07090f;
  text-shadow: none;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #07090f;
}

::-webkit-scrollbar-thumb {
  background: rgba(184, 148, 88, 0.25);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(184, 148, 88, 0.44);
  box-shadow: 0 0 10px rgba(184, 148, 88, 0.28);
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.labs-grid .labs-card.reveal-up:nth-child(1) {
  transition-delay: 0.08s;
}

.labs-grid .labs-card.reveal-up:nth-child(2) {
  transition-delay: 0.16s;
}

.labs-grid .labs-card.reveal-up:nth-child(3) {
  transition-delay: 0.24s;
}

.labs-grid .labs-card.reveal-up:nth-child(4) {
  transition-delay: 0.32s;
}

.service-grid .service-card.reveal-up:nth-child(1) {
  transition-delay: 0.05s;
}

.service-grid .service-card.reveal-up:nth-child(2) {
  transition-delay: 0.1s;
}

.service-grid .service-card.reveal-up:nth-child(3) {
  transition-delay: 0.15s;
}

.service-grid .service-card.reveal-up:nth-child(4) {
  transition-delay: 0.2s;
}

.labs-card > svg {
  width: 100%;
  height: 100%;
  padding: 1rem 0;
  box-sizing: border-box;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 10px;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(184, 148, 88, 0.5);
  border-radius: 999px;
  background: rgba(7, 9, 15, 0.94);
  color: var(--alabaster);
  text-decoration: none;
  transform: translateY(-180%);
  opacity: 0;
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.page-shell {
  overflow: clip;
}

.nav-logo-img {
  width: auto;
  height: 53px;
  display: block;
}

.container {
  width: min(var(--section-max), calc(100% - 3rem));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 96svh;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 78% 14%, rgba(184, 148, 88, 0.18), transparent 48%),
    radial-gradient(circle at 12% 78%, rgba(69, 89, 120, 0.28), transparent 46%),
    linear-gradient(145deg, #07090f 0%, #090d14 45%, #0d1320 100%);
  isolation: isolate;
}

.mesh-overlay {
  position: absolute;
  inset: -24%;
  z-index: -1;
  background:
    radial-gradient(circle at 24% 22%, rgba(120, 162, 201, 0.22), transparent 40%),
    radial-gradient(circle at 72% 28%, rgba(184, 148, 88, 0.2), transparent 42%),
    radial-gradient(circle at 46% 70%, rgba(92, 123, 149, 0.18), transparent 44%);
  filter: blur(16px);
  animation: drift 24s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: translate3d(-2.5%, calc(-1.5% + var(--hero-parallax-y, 0px)), 0) scale(1);
  }

  to {
    transform: translate3d(2.5%, calc(2% + var(--hero-parallax-y, 0px)), 0) scale(1.05);
  }
}

.hero-content {
  padding: 7.5rem 0 5.5rem;
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 0;
  border: none;
  background: transparent;
  position: relative;
  font-size: 0.85rem !important;
  font-family: inherit !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: #b89458 !important;
  opacity: 0.95;
  text-shadow: 0 0 18px rgba(184, 148, 88, 0.1);
}

.eyebrow::after {
  content: "";
  display: block;
  height: 1.5px !important;
  width: 48px;
  margin-top: 0.5rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  background-color: #b89458 !important;
}

.hero-content .eyebrow::after {
  display: none;
}

.hero-content .hero-eyebrow::after {
  display: block;
  margin: 0.5rem auto 0;
}

.hero-eyebrow,
.philosophy-eyebrow {
  text-align: center;
}

.hero-eyebrow::after,
.philosophy-eyebrow::after,
.labs-eyebrow::after {
  margin: 0.5rem auto 0;
}

.hero-content .eyebrow {
  letter-spacing: 0.11em;
}

.hero-content > .eyebrow:not(.hero-eyebrow) {
  color: rgba(255, 255, 255, 0.55) !important;
  font-weight: 500 !important;
  text-shadow: none;
}

.hero-status {
  margin: -0.55rem 0 0.5rem;
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55) !important;
}

.hero-content .hero-eyebrow {
  color: #b89458 !important;
  font-weight: 600 !important;
  margin-top: 1.5rem;
}

.blink-cursor {
  margin-left: 0.16rem;
  animation: blink 1s steps(1, end) infinite;
}

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.05rem, 6.4vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.subheadline {
  margin: 1.5rem auto 2.3rem;
  max-width: 60ch;
  font-size: clamp(1rem, 1.85vw, 1.24rem);
  color: var(--alabaster-soft);
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding: 1.25rem 2.5rem !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--onyx-900);
  background: linear-gradient(120deg, #a37f45 0%, #c8a66a 100%);
  border: 1px solid rgba(248, 230, 198, 0.45);
  box-shadow: 0 14px 34px rgba(127, 93, 38, 0.28);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.cta-primary:hover,
.cta-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(165, 122, 52, 0.42);
}

.philosophy {
  padding: 5.4rem 0 5.9rem;
}

.philosophy-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.philosophy-copy h2,
.legacy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.philosophy-eyebrow {
  margin: 0 0 12px;
}

.philosophy-copy h2 {
  font-size: clamp(2.55rem, 5.2vw, 4.8rem);
  max-width: 16ch;
}

.philosophy-copy p:not(.philosophy-eyebrow) {
  margin: 1.25rem 0 0;
  max-width: 66ch;
  font-size: 1.03rem;
  color: var(--alabaster-soft);
}

.philosophy-visual {
  position: relative;
  border-radius: 28px;
  min-height: min(34rem, 65vh);
  background:
    radial-gradient(circle at 28% 18%, rgba(184, 148, 88, 0.24), transparent 44%),
    radial-gradient(circle at 74% 70%, rgba(120, 162, 201, 0.26), transparent 40%),
    linear-gradient(160deg, rgba(14, 20, 31, 0.85), rgba(8, 11, 18, 0.92));
  border: 1px solid rgba(243, 240, 231, 0.16);
  box-shadow: inset 0 0 58px rgba(255, 255, 255, 0.04), 0 26px 70px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.philosophy-visual::before {
  content: "";
  position: absolute;
  inset: 8% 11%;
  border-radius: 22px;
  border: 1px solid rgba(184, 148, 88, 0.35);
  transform: rotate(-8deg);
}

.orb {
  position: absolute;
  width: min(52vw, 22rem);
  aspect-ratio: 1;
  right: -8%;
  top: 19%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 34%, rgba(245, 238, 224, 0.68), rgba(184, 148, 88, 0.18) 36%, rgba(8, 11, 18, 0) 68%),
    conic-gradient(from 18deg, rgba(184, 148, 88, 0.36), rgba(120, 162, 201, 0.3), rgba(184, 148, 88, 0.36));
  filter: blur(0.2px);
  animation: pulse 9s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.86;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.services {
  padding: 2.3rem 0 5.9rem;
}

.section-label {
  margin: 0 0 2.25rem;
  text-align: center;
  color: var(--brass);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.1rem, 3.5vw, 3.15rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.08;
  text-shadow: 0 0 20px rgba(184, 148, 88, 0.16);
}

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

.service-card {
  padding: 2.5rem !important;
  background: linear-gradient(180deg, rgba(15, 21, 32, 0.84), rgba(9, 13, 20, 0.96));
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 220ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.service-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  line-height: 1.35;
}

.service-card p {
  margin: 0;
  color: var(--alabaster-soft);
  font-size: 0.97rem;
}

.service-card:hover,
.service-card:focus-within {
  border-color: rgba(184, 148, 88, 0.62);
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(184, 148, 88, 0.3), 0 18px 45px rgba(117, 90, 42, 0.3);
}

.labs {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(1.5rem, 3.8vw, 3rem);
  align-items: flex-end !important;
  padding: 0.8rem 0 6rem;
}

.labs-eyebrow,
.flagship-eyebrow {
  margin: 0 0 12px;
}

.labs-copy h2 {
  margin: 0;
  color: var(--alabaster);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3.9vw, 3.3rem);
  line-height: 1.08;
}

.labs-copy p:not(.labs-eyebrow):not(.microline) {
  margin: 1.1rem 0 0;
  max-width: 66ch;
  color: var(--alabaster-soft);
  font-size: 1rem;
}

.labs-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 95px;
  gap: 0.8rem;
}

.labs-card {
  padding: 2rem !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(140deg, rgba(26, 36, 52, 0.98), rgba(10, 14, 22, 0.96)),
    radial-gradient(circle at 82% 16%, rgba(184, 148, 88, 0.22), transparent 46%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.labs-card:hover,
.labs-card:focus-within {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 18px 40px rgba(0, 0, 0, 0.35);
}

.labs-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(180deg, rgba(243, 240, 231, 0.05) 0 1px, transparent 1px 14px);
  pointer-events: none;
}

.labs-card span {
  position: absolute;
  left: 0.8rem;
  bottom: 0.55rem;
  z-index: 1;
  color: rgba(243, 240, 231, 0.85);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.labs-card--alpha svg path {
  stroke: #b89458;
  stroke-width: 3.2;
  stroke-opacity: 0.82;
}

.labs-card--gamma svg path {
  stroke: #b89458;
  stroke-width: 4;
  stroke-opacity: 0.82;
}

.labs-card--gamma svg stop:first-child {
  stop-color: #b89458;
  stop-opacity: 0.7;
}

.labs-card--gamma svg stop:last-child {
  stop-color: #b89458;
  stop-opacity: 0.92;
}

.labs-card--delta svg circle[stroke]:nth-of-type(1) {
  stroke: #b89458;
  stroke-opacity: 0.82;
  stroke-width: 2.7;
}

.labs-card--delta svg circle[stroke]:nth-of-type(2) {
  stroke: #b89458;
  stroke-opacity: 0.76;
  stroke-width: 2.4;
}

.labs-card--delta svg circle[stroke]:nth-of-type(3) {
  stroke: #b89458;
  stroke-opacity: 0.7;
  stroke-width: 2.2;
}

.labs-card--delta svg circle[stroke]:nth-of-type(4) {
  stroke: #b89458;
  stroke-opacity: 0.65;
  stroke-width: 2;
}

.labs-card--delta svg path {
  stroke-width: 3;
  stroke-opacity: 0.8;
}

.labs-card--delta svg stop:first-child {
  stop-color: #b89458;
  stop-opacity: 0.72;
}

.labs-card--delta svg stop:last-child {
  stop-color: #b89458;
  stop-opacity: 0.08;
}

.labs-card--alpha {
  grid-column: 1 / 5;
  grid-row: 1 / 3;
}

.labs-card--beta {
  grid-column: 5 / 7;
  grid-row: 1 / 4;
}

.labs-card--gamma {
  grid-column: 1 / 4;
  grid-row: 3 / 5;
}

.labs-card--delta {
  grid-column: 4 / 7;
  grid-row: 4 / 5;
}

.labs-flagship {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 3.8vw, 3.2rem);
  padding: 6rem 0 0;
  background: #0a0a0c;
}

.flagship-visual-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  filter: drop-shadow(0 30px 60px rgba(184, 148, 88, 0.18));
}

.flagship-phone {
  position: relative;
  width: min(100%, 325px);
  aspect-ratio: 9 / 19;
  border-radius: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(170deg, #101316, #020305);
  padding: 0.58rem;
  filter: drop-shadow(0px 30px 60px rgba(0, 0, 0, 0.8));
  animation: float 4s ease-in-out infinite;
}

.flagship-notch {
  position: absolute;
  top: 0.7rem;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 1.1rem;
  border-radius: 999px;
  background: rgba(11, 11, 13, 0.95);
  z-index: 1;
}

.flagship-screen {
  position: relative;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 14%, rgba(197, 160, 89, 0.18), transparent 40%),
    radial-gradient(circle at 80% 83%, rgba(67, 92, 132, 0.28), transparent 46%),
    linear-gradient(175deg, #090b0f, #05070b 48%, #0a0d14);
  padding: 0;
  display: block;
}

.phone-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background: #06080d;
  outline: none;
}

.phone-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #06080d;
  image-rendering: -webkit-optimize-contrast;
  backface-visibility: hidden;
  transform: translateZ(0) scale(var(--shot-scale, 1));
  transform-origin: center center;
  transition: transform 220ms ease;
  display: block;
}

.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(184, 148, 88, 0.45);
  background: rgba(15, 15, 16, 0.45);
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  z-index: 3;
  transition: opacity 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.phone-carousel:hover .car-btn,
.phone-carousel:focus-within .car-btn {
  opacity: 1;
}

.car-btn:hover,
.car-btn:focus-visible {
  background: rgba(15, 15, 16, 0.62);
  border-color: rgba(184, 148, 88, 0.62);
}

.car-prev {
  left: 10px;
}

.car-next {
  right: 10px;
}

.flagship-copy {
  width: 100%;
  padding-left: 4rem;
}

.flagship-eyebrow {
  margin: 0 0 12px;
}

.flagship-copy h3 {
  margin: 1rem 0 1.5rem;
  color: #fbfbf9;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 5.1vw, 4.35rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.flagship-copy p:not(.flagship-eyebrow) {
  margin: 0 0 3rem;
  max-width: 58ch;
  color: rgba(251, 251, 249, 0.7);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.8;
}

.flagship-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(197, 160, 89, 0.7);
  background: #b89458;
  color: #0a0a0c;
  text-decoration: none;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-weight: 700;
  padding: 0.78rem 1.3rem;
  transition: transform 170ms ease, filter 170ms ease;
}

.flagship-cta:hover,
.flagship-cta:focus-visible {
  transform: scale(1.02);
  filter: brightness(1.03);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.legacy {
  position: relative;
  background:
    linear-gradient(110deg, rgba(19, 24, 36, 0.96), rgba(28, 23, 14, 0.97)),
    radial-gradient(circle at 82% 12%, rgba(184, 148, 88, 0.17), transparent 44%);
  border-top: 1px solid rgba(184, 148, 88, 0.28);
}

.legacy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4.6rem 0 4.9rem;
}

.blueprint-text-col {
  text-align: left;
}

.blueprint-graphic-col {
  width: 100%;
  min-height: 450px;
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(184, 151, 104, 0.08);
}

.topography-map-placeholder {
  width: 100%;
  min-height: 450px;
  height: 100%;
  border-radius: 16px;
  border: 1px solid rgba(184, 151, 104, 0.2);
  background-image:
    linear-gradient(
      180deg,
      rgba(7, 9, 15, 0.26) 0%,
      rgba(7, 9, 15, 0.08) 24%,
      rgba(7, 9, 15, 0.08) 76%,
      rgba(7, 9, 15, 0.3) 100%
    ),
    linear-gradient(
      90deg,
      rgba(7, 9, 15, 0.34) 0%,
      rgba(7, 9, 15, 0.08) 20%,
      rgba(7, 9, 15, 0.08) 80%,
      rgba(7, 9, 15, 0.34) 100%
    ),
    url("assets/Af423f5500d8d4a57b81d082d682b074bv.png");
  background-size: 100% 100%, 100% 100%, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
  filter: contrast(1.1) brightness(1.1);
  box-shadow: 0 0 40px rgba(184, 148, 88, 0.05);
}

.legacy h2 {
  font-size: clamp(2rem, 3.35vw, 3.2rem);
}

.legacy-eyebrow {
  margin: 0 0 12px;
}

.legacy p:not(.legacy-eyebrow) {
  margin: 1.2rem 0 1.6rem;
  max-width: 78ch;
  color: var(--alabaster-soft);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brass);
  text-underline-offset: 0.34rem;
  text-decoration-thickness: 1.4px;
  font-weight: 600;
}

.founder {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center !important;
  padding: 5rem 0 6.1rem;
}

.founder-copy h2 {
  margin: 0;
  max-width: 18ch;
  color: var(--alabaster);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4.2vw, 3.55rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.founder-copy p:not(.founder-signoff) {
  margin: 1.15rem 0 0;
  max-width: 70ch;
  color: var(--alabaster-soft);
  font-size: 1rem;
}

.founder-signoff {
  margin: 1.35rem 0 0;
}

.founder-name {
  color: var(--brass);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 2.9vw, 2rem);
  font-style: italic;
  font-weight: 600;
}

.founder-role {
  margin-left: 0.35rem;
  color: rgba(243, 240, 231, 0.82);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.founder-eyebrow {
  color: #b89458 !important;
  font-family: inherit !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
}

.founder-portrait {
  position: relative;
  min-height: min(35rem, 72vh);
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 68% 22%, rgba(235, 235, 235, 0.3), rgba(198, 198, 198, 0.08) 26%, rgba(6, 8, 13, 0.85) 62%),
    radial-gradient(ellipse at 64% 78%, rgba(205, 205, 205, 0.22), rgba(33, 33, 33, 0.82) 52%, rgba(7, 9, 15, 0.98) 80%),
    linear-gradient(170deg, rgba(9, 12, 18, 0.28), rgba(2, 3, 7, 0.96));
}

.founder-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 32%, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.02) 32%, transparent 56%),
    radial-gradient(ellipse at 64% 46%, rgba(250, 250, 250, 0.16), transparent 44%),
    radial-gradient(ellipse at 64% 74%, rgba(212, 212, 212, 0.18), rgba(20, 20, 20, 0.72) 54%);
  mix-blend-mode: screen;
}

.founder-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 9, 15, 1) 0%, rgba(7, 9, 15, 0.34) 34%, rgba(7, 9, 15, 0.1) 55%, rgba(7, 9, 15, 0.62) 100%);
}

.vision-portrait {
  position: relative;
  overflow: hidden;
  background-image: url("assets/brand/founder.png");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

.vision-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 80% at 75% 40%, rgba(15, 15, 16, 0.1), rgba(15, 15, 16, 0.92)),
    linear-gradient(90deg, rgba(15, 15, 16, 0.98) 0%, rgba(15, 15, 16, 0.7) 55%, rgba(15, 15, 16, 0.25) 100%);
  pointer-events: none;
}

.vision-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.04), transparent 60%);
  opacity: 0.35;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.final-close {
  background: #f5f5f0;
  color: #0a0a0c;
}

.final-close-inner {
  padding: 5rem 0 5.3rem;
  padding-bottom: 6rem !important;
  max-width: 760px;
  text-align: center;
}

.final-close h2 {
  margin: 0;
  color: #0a0a0c;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.05;
}

.final-close p {
  margin: 1rem auto 0;
  max-width: 64ch;
  color: rgba(10, 10, 12, 0.8);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.close-form {
  margin: 1.6rem auto 0;
  width: min(620px, 100%);
  display: grid;
  gap: 1.1rem;
  text-align: left;
}

.close-field {
  display: block;
  gap: 0;
}

.close-field span {
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.4rem !important;
  display: block;
}

.close-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(10, 10, 12, 0.3);
  background: transparent;
  color: #0a0a0c;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  padding: 0.35rem 0 0.52rem;
  outline: none;
}

.close-input--area {
  resize: none !important;
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.1) !important;
  padding-bottom: 1rem !important;
  min-height: 4.5rem;
}

.close-input:focus {
  border-bottom-color: #0a0a0c;
}

.close-submit {
  margin-top: 0.65rem;
  justify-self: center;
  border: 1px solid #0a0a0c;
  border-radius: 999px;
  background: #0a0a0c;
  color: #f5f5f0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.78rem 1.3rem;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease;
}

.close-submit:hover,
.close-submit:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.close-submit:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.close-submit:disabled:hover,
.close-submit:disabled:focus-visible {
  transform: none;
  filter: none;
}

.form-status {
  margin-top: 0.7rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(10, 10, 12, 0.18);
  background: rgba(10, 10, 12, 0.04);
  color: rgba(10, 10, 12, 0.9);
  font-size: 0.94rem;
  line-height: 1.5;
  display: grid;
  gap: 0.7rem;
}

.form-status[hidden] {
  display: none;
}

.form-status[data-state="error"] {
  border-color: rgba(137, 102, 53, 0.36);
  background: rgba(184, 148, 88, 0.12);
  color: rgba(10, 10, 12, 0.92);
}

.form-status[data-state="success"] {
  border-color: rgba(39, 54, 65, 0.34);
  background: rgba(24, 36, 47, 0.08);
  color: rgba(10, 10, 12, 0.92);
}

.wa-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.64rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(159, 122, 63, 0.78);
  background: #b89458;
  color: #0a0a0c;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 180ms ease, filter 180ms ease;
}

.wa-button:hover,
.wa-button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.muted {
  margin: 0.9rem auto 0;
  max-width: 64ch;
  color: rgba(10, 10, 12, 0.62);
  font-size: 0.86rem;
}

.response-line {
  text-align: center;
  margin-top: 14px;
  font-size: 0.92rem;
  opacity: 0.72;
}

.microline {
  display: block;
  margin: 16px 0 0;
  font-size: 0.75rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.6) !important;
  background: transparent;
  border: none;
  padding: 0;
}

.microline::after {
  content: "";
  display: none !important;
  width: 56px;
  height: 1px;
  margin-top: 10px;
  margin-left: auto !important;
  margin-right: auto !important;
  background-color: #b89458 !important;
}

.founder-eyebrow::after,
.blueprint-text-col .eyebrow::after,
.flagship-copy .eyebrow::after,
.labs-copy .microline::after {
  margin-left: auto !important;
  margin-right: auto !important;
}

.philosophy > .microline {
  display: block;
  text-align: center;
  margin: 2rem auto 0;
}

.philosophy > .microline::after {
  margin: 10px auto 0;
}

.micro-tag {
  margin: 10px 0 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.promise-box {
  max-width: 520px;
  margin: 3.5rem auto 0 !important;
  padding: 0 !important;
  border-radius: 0;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.promise-title {
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 12px;
  opacity: 0.82;
}

.promise-items {
  display: flex;
  gap: 4rem;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 600px;
  margin: 4rem auto 4rem !important;
  padding: 0;
  list-style: none;
}

.promise-items li,
.promise-items span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
  padding: 0 !important;
  margin-bottom: 0;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center;
}

.close-form label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 0.4rem !important;
  display: block;
}

.promise-items li::before,
.promise-items span::before {
  content: "\2022";
  display: inline-flex;
  align-items: center;
  color: #b89458;
  position: static;
  margin-right: 0.5rem;
  line-height: 1;
  vertical-align: middle;
}

.close-input::placeholder,
.close-input--area::placeholder,
input::placeholder,
textarea::placeholder {
  color: rgba(0, 0, 0, 0.35) !important;
}

.form-note {
  margin-top: 14px;
  font-size: 0.9rem;
  opacity: 0.75;
  letter-spacing: 0.05em;
  text-align: center;
}

.close-pivot {
  margin-top: 1.4rem;
  color: rgba(10, 10, 12, 0.84);
  font-size: 0.95rem;
}

.close-pivot a {
  color: #b89458;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2rem;
  margin-left: 0;
}

.wa-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.64rem 1.15rem;
  border: 1.5px solid #b89458 !important;
  border-radius: 999px;
  color: var(--brass);
  background: rgba(184, 148, 88, 0.06);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.wa-cta:hover,
.wa-cta:focus-visible {
  background: rgba(184, 148, 88, 0.05);
  box-shadow: 0 0 20px rgba(184, 148, 88, 0.1);
  color: #9f7a3f;
  transform: translateY(-1px);
}

.wa-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(184, 148, 88, 0.24);
}

#global-footer a,
.footer a,
#global-footer .footer-link,
.footer-link {
  color: rgba(255, 255, 255, 0.7) !important;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: opacity 0.3s ease, color 0.3s ease;
}

#global-footer a:hover,
#global-footer a:focus-visible,
.footer a:hover,
.footer a:focus-visible,
.footer-link:hover,
.footer-link:focus-visible {
  color: #b89458 !important;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  text-decoration: none;
}

@media (min-width: 1151px) {
  .founder-grid {
    display: flex;
    align-items: flex-end !important;
  }

  .founder {
    align-items: flex-end !important;
  }

  .hero h1 {
    line-height: 1.15 !important;
    letter-spacing: -0.03em;
  }

  .founder-copy p:not(.founder-signoff) {
    line-height: 1.7 !important;
  }

  .labs-flagship {
    padding-bottom: 10rem !important;
    margin-bottom: 6rem !important;
  }

  .blueprint-text-col {
    margin-top: 0 !important;
    padding-top: 3.5rem !important;
  }

  .flagship-cta {
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .philosophy-copy .philosophy-eyebrow::after,
  .flagship-copy .flagship-eyebrow::after,
  .founder-copy .founder-eyebrow::after {
    margin-left: 0 !important;
    margin-right: auto !important;
    transform: none !important;
  }

  .philosophy-copy .philosophy-eyebrow::after {
    margin-left: 0 !important;
    margin-right: auto !important;
    left: 0 !important;
    transform: none !important;
  }

  .founder-portrait,
  .founder-portrait img {
    border-radius: 40px 0 0 40px !important;
  }

  .founder-portrait.vision-portrait {
    background-image: url("assets/founder/founder4.png") !important;
    background-position: 44% center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
  }

  .final-close-inner {
    padding-top: 5rem !important;
  }
}

@media (max-width: 960px) {
  .hero {
    min-height: 84svh;
  }

  .hero-content {
    padding-top: 6.4rem;
  }

  .philosophy-top {
    grid-template-columns: 1fr;
  }

  .philosophy-copy h2 {
    max-width: 24ch;
  }

  .philosophy-visual {
    min-height: 20rem;
  }

  .orb {
    width: min(65vw, 20rem);
    right: -12%;
  }

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

  .labs {
    grid-template-columns: 1fr;
    padding-top: 0.2rem;
  }

  .labs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 125px;
  }

  .labs-card--alpha,
  .labs-card--beta,
  .labs-card--gamma,
  .labs-card--delta {
    grid-column: auto;
    grid-row: auto;
  }

  .labs-flagship {
    grid-template-columns: 1fr;
    padding-top: 3.6rem;
  }

  .flagship-copy {
    padding-left: 0;
  }

  .flagship-phone {
    width: min(88vw, 340px);
  }

  .founder {
    grid-template-columns: 1fr;
    padding-top: 4.2rem;
  }

  .founder-portrait {
    min-height: 22rem;
  }

  .founder-role {
    display: block;
    margin-left: 0;
    margin-top: 0.2rem;
  }

  .final-close-inner {
    padding-top: 4.2rem;
  }
}

@media (max-width: 900px) {
  .nav-container {
    padding: 1rem 4%;
    gap: 0.75rem;
  }

  .nav-center {
    gap: 1.2rem;
  }

  .nav-center-link {
    font-size: 0.78rem;
    padding: 0.52rem 0.1rem;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  .nav-right {
    gap: 0.65rem;
  }

  .nav-bridge {
    font-size: 0.76rem;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0.58rem 0.95rem;
    font-size: 0.69rem;
  }

  .philosophy {
    padding: 4.6rem 0 5rem;
  }

  .services {
    padding: 1.8rem 0 4.9rem;
  }

  .labs {
    padding: 0 0 5rem;
  }

  .legacy-inner {
    padding: 4rem 0 4.3rem;
    gap: 2.8rem;
  }

  .founder {
    padding: 4.3rem 0 5rem;
  }

  .final-close-inner {
    padding: 4.2rem 0 4.7rem;
  }
}

@media (max-width: 820px) {
  .nav-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    row-gap: 0.65rem;
    column-gap: 0.7rem;
    padding: 0.9rem 4%;
  }

  .nav-left {
    order: 1;
  }

  .nav-right {
    order: 2;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .nav-center {
    order: 3;
    width: 100%;
    position: static;
    transform: none;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
  }

  body {
    padding-top: 148px;
  }

  #capabilities,
  #ah-labs,
  #vision,
  #contact {
    scroll-margin-top: 158px;
  }
}

@media (min-width: 769px) and (max-width: 1150px) {
  .labs {
    grid-template-columns: 1fr !important;
    align-items: start !important;
    gap: 2rem !important;
  }

  .labs-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
  }

  .labs-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: auto auto !important;
    grid-auto-rows: auto !important;
    height: auto !important;
    max-height: none !important;
    width: 100%;
    align-self: stretch;
    margin-top: 0.6rem !important;
    margin-bottom: 2.4rem !important;
  }

  .labs-card--alpha,
  .labs-card--beta,
  .labs-card--gamma,
  .labs-card--delta {
    grid-column: auto;
    grid-row: auto;
  }

  .service-card {
    min-height: 13.5rem;
  }

  .labs-card {
    height: auto !important;
    min-height: 260px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden !important;
    position: relative !important;
    padding: 1.7rem !important;
  }

  .labs-card > svg {
    position: relative !important;
    inset: auto !important;
    z-index: 0;
    pointer-events: none;
    display: block;
    width: 100%;
    height: auto !important;
    max-height: 220px !important;
    margin: 0 auto 1.15rem;
    padding: 0 !important;
  }

  .labs-card svg {
    width: 100% !important;
    height: auto !important;
    max-height: 220px !important;
    transform: none;
    transform-origin: center;
  }

  .labs-flagship {
    clear: both;
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0 !important;
    margin-top: 2rem !important;
    position: relative;
    z-index: 10;
  }

  .labs-flagship > * {
    width: 100%;
    min-width: 100%;
  }

  .philosophy-copy,
  .labs-copy {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto !important;
    max-width: 800px !important;
  }

  .labs-copy {
    width: 100%;
    max-width: 860px !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 auto !important;
  }

  .labs-copy .labs-eyebrow,
  .labs-copy h2,
  .labs-copy p,
  .labs-copy .microline {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .labs-copy .microline::after {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .flagship-copy {
    max-width: 800px;
    margin: 0 auto !important;
    display: contents;
  }

  .flagship-eyebrow {
    order: 1;
    margin: 0 auto;
  }

  #flagship-heading {
    order: 2;
    margin: 0 auto;
  }

  .flagship-copy p:not(.flagship-eyebrow) {
    order: 3;
    margin: 0 auto 2.5rem;
    max-width: 600px;
  }

  .flagship-visual-wrap {
    order: 4;
    margin: 0 auto 3rem;
    width: 100% !important;
    display: flex;
    justify-content: center;
  }

  .flagship-cta {
    order: 5;
    margin: 0 auto;
  }

  .philosophy-visual {
    width: 100% !important;
    max-width: 800px !important;
    min-height: 350px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem auto !important;
    flex-shrink: 0;
    position: relative;
  }

  .philosophy-visual img,
  .philosophy-visual svg,
  .philosophy-visual canvas {
    width: 100% !important;
    height: auto !important;
    max-height: 100% !important;
    object-fit: contain;
    display: block;
  }

  .philosophy-copy p,
  .flagship-copy p,
  .philosophy-copy h2 {
    margin-left: auto;
    margin-right: auto;
  }

  .founder {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 3rem;
    width: 100%;
  }

  .founder-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto !important;
    max-width: 800px;
  }

  .founder-eyebrow::after {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
  }

  .founder-signoff {
    margin: 0 auto !important;
    text-align: center;
  }

  .founder-portrait {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 600px;
    width: 100%;
    display: block;
  }

  .footer-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 2.5rem !important;
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }

  .footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    width: 100%;
  }

  .footer-group-text {
    display: block;
    margin-top: 0.5rem;
    opacity: 0.6;
  }
}

@media (max-width: 768px) {
  :root {
    --type-display: clamp(2rem, 8.2vw, 2.9rem);
    --type-heading: clamp(1.95rem, 7.1vw, 2.65rem);
    --type-body: 1rem;
  }

  #global-nav .nav-container,
  .container,
  .footer-container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    box-sizing: border-box;
  }

  #global-nav,
  #global-nav.nav-scrolled {
    background: #000 !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .nav-logo-img {
    height: 40px;
  }

  .nav-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 5%;
  }

  .nav-left {
    width: auto;
    order: 1;
  }

  .nav-right {
    width: auto;
    order: 2;
    margin-left: auto;
    justify-content: flex-end;
  }

  .nav-center,
  .nav-bridge {
    display: none;
  }

  body {
    padding-top: 104px;
  }

  #capabilities,
  #ah-labs,
  #vision,
  #contact {
    scroll-margin-top: 114px;
  }

  .container {
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-content {
    padding-top: 6.1rem;
    padding-bottom: 4.4rem;
  }

  .hero-content .hero-eyebrow {
    margin-top: 1.5rem;
  }

  .subheadline {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .philosophy-copy,
  .labs-copy,
  .flagship-copy,
  .blueprint-text-col,
  .founder-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .labs-copy {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }

  .labs-copy h2 {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    line-height: 1.2;
  }

  .labs-copy p:not(.labs-eyebrow):not(.microline) {
    margin-top: 1.2rem;
    margin-bottom: 3rem !important;
  }

  .founder-copy {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }

  .philosophy-copy :is(.eyebrow, .philosophy-eyebrow, h2, p, a, button),
  .labs-copy :is(.eyebrow, .labs-eyebrow, h2, p, a, button),
  .flagship-copy :is(.eyebrow, .flagship-eyebrow, h2, h3, p, a, button),
  .blueprint-text-col :is(.eyebrow, .legacy-eyebrow, h2, p, a, button),
  .founder-copy :is(h2, p, a, button) {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-content > *,
  .labs-copy > *,
  .flagship-copy > * {
    margin-left: auto;
    margin-right: auto;
  }

  .flagship-copy {
    padding-left: 0;
    display: contents;
  }

  .labs-flagship {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
  }

  .flagship-eyebrow::after {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .flagship-copy .eyebrow::after,
  .blueprint-text-col .eyebrow::after,
  .founder-copy .eyebrow::after {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .flagship-eyebrow {
    order: 1;
  }

  #flagship-heading {
    order: 2;
  }

  .flagship-copy p:not(.flagship-eyebrow) {
    order: 3;
    margin-bottom: 2.5rem;
  }

  .flagship-visual-wrap {
    order: 4;
    margin-top: 3.5rem !important;
    margin-bottom: 2.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .flagship-cta {
    order: 5;
    margin: 3rem auto !important;
    display: block;
    width: fit-content;
  }

  .labs-grid {
    grid-template-columns: 1fr;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
    gap: 1.5rem;
    grid-auto-rows: auto;
  }

  .labs-card {
    aspect-ratio: 16 / 9;
    min-height: auto;
    padding: 1.5rem !important;
  }

  .labs-card span {
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    bottom: 1rem;
  }

  .labs-card--gamma svg {
    transform: translateY(-10px);
  }

  .labs-card svg {
    max-height: 180px !important;
    margin: 0 auto !important;
  }

  .service-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.85rem !important;
    margin-bottom: 1.5rem !important;
    border-radius: 16px;
    overflow: hidden;
  }

  .service-card h3 {
    line-height: 1.3 !important;
  }

  .service-grid {
    gap: 1.5rem;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
    overflow: hidden;
  }

  .microline::after {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .microline {
    letter-spacing: 0.09em !important;
  }

  .labs-copy .microline {
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: block;
  }

  .philosophy-visual,
  .pillars-visual {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-height: 280px !important;
    height: 280px !important;
    margin: 2.5rem auto !important;
    box-sizing: border-box;
  }

  .philosophy-visual img,
  .philosophy-visual video,
  .philosophy-visual canvas,
  .pillars-visual img,
  .pillars-visual video {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 280px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
  }

  .philosophy-visual .orb,
  .pillars-visual .orb {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .philosophy > .microline:last-of-type {
    font-size: 0.67rem !important;
    letter-spacing: 0.06em !important;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .orb {
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .hero h1 {
    font-size: var(--type-display);
    line-height: 1.2 !important;
    letter-spacing: -0.01em;
    margin-bottom: 1.7rem !important;
  }

  h2 {
    font-size: clamp(1.9rem, 7vw, 2.35rem);
  }

  .philosophy-copy h2,
  .labs-copy h2,
  .flagship-copy h3,
  .legacy h2,
  .founder-copy h2,
  .final-close h2 {
    font-size: var(--type-heading);
    line-height: 1.16;
    letter-spacing: -0.005em;
  }

  .legacy-inner {
    grid-template-columns: 1fr;
    padding-top: 4.4rem;
    padding-bottom: 5rem !important;
  }

  .blueprint-text-col {
    order: 1;
    text-align: center;
  }

  .blueprint-graphic-col {
    order: 2;
    min-height: 420px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    width: auto;
    border-radius: 16px;
    overflow: hidden;
  }

  .topography-map-placeholder {
    width: 100% !important;
    height: auto !important;
    min-height: 420px;
    transform: scale(1.05);
    margin-top: 4rem !important;
    filter: contrast(1.2) brightness(1.1);
  }

  .blueprint-text-col .cta-secondary {
    justify-content: center;
  }

  .founder-portrait {
    margin-top: 0.5rem !important;
    min-height: 26rem;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    width: auto;
    border-radius: 20px !important;
    overflow: hidden;
  }

  .founder-portrait img {
    border-radius: 20px !important;
  }

  .founder-section,
  .founder {
    padding-bottom: 5rem !important;
  }

  .founder-eyebrow {
    color: #b89458 !important;
    font-family: "Manrope", "Segoe UI", sans-serif !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    opacity: 0.95;
    margin-bottom: 2rem !important;
  }

  .founder-signoff {
    margin-top: 2.5rem;
  }

  .founder-name,
  .founder-role {
    margin-bottom: 0 !important;
  }

  .final-close-inner {
    padding-top: 4.4rem;
    padding-bottom: 5rem !important;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }

  .close-form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .close-form .close-field:first-of-type {
    margin-top: 4rem !important;
  }

  .close-form .close-field + .close-field {
    margin-top: 2rem !important;
  }

  .close-input,
  .close-input--area {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-top: 1rem;
    padding-bottom: 0.8rem !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  }

  .close-submit {
    margin-top: 4rem !important;
  }

  .close-input:focus {
    border-bottom-color: #b89458;
  }

  .promise-box {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
  }

  .promise-items {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-around !important;
    flex-wrap: nowrap !important;
    gap: 1.2rem !important;
    width: 100%;
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0 auto;
  }

  .promise-items li,
  .promise-items span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    font-size: 0.75rem !important;
    letter-spacing: 0.05em;
    white-space: nowrap;
    text-align: center;
    padding: 0;
    margin-bottom: 0 !important;
    margin-top: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: rgba(10, 10, 12, 0.84);
  }

  .promise-items li:last-child,
  .promise-items span:last-child {
    margin-bottom: 0;
  }

  .promise-items li::before,
  .promise-items span::before {
    display: inline-flex;
    align-items: center;
    color: #b89458;
    position: static;
    margin: 0;
  }

  #global-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  #global-footer a,
  .footer-link {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: opacity 0.3s ease, color 0.3s ease;
  }

  .response-line {
    font-size: 0.8rem !important;
  }

  .final-close {
    background: #f5f5f0 !important;
    margin-top: 0 !important;
    position: relative;
    z-index: 2;
  }

  .hero,
  .philosophy,
  .services,
  .labs,
  .legacy,
  .final-close {
    padding-bottom: 5rem !important;
  }
}

@media (max-width: 620px) {
  .container {
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-content {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  .subheadline {
    margin-top: 1.15rem;
  }

  .legacy-inner {
    padding-top: 4rem;
  }

  .close-pivot a {
    display: inline-block;
    margin-left: 0;
    margin-top: 0.2rem;
  }
}

@media (max-width: 560px) {
  .nav-logo-img {
    height: 38px;
  }

  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
  }

  .nav-left {
    width: auto;
    display: flex;
    justify-content: flex-start;
  }

  .nav-right {
    width: auto;
    justify-content: flex-end;
    gap: 0.55rem;
  }

  .nav-center {
    display: none;
  }

  .nav-bridge {
    display: none;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0.56rem 0.9rem;
    letter-spacing: 0.09em;
    font-size: 0.68rem;
  }

  body {
    padding-top: 104px;
  }

  #capabilities,
  #ah-labs,
  #vision,
  #contact {
    scroll-margin-top: 114px;
  }

  .hero-content {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  .hero h1 {
    line-height: 1.1;
  }

  .subheadline {
    margin-top: 1rem;
    margin-bottom: 1.8rem;
    font-size: 1rem;
    line-height: 1.65;
  }

  .philosophy {
    padding: 3.9rem 0 4.3rem;
  }

  .services {
    padding: 1.2rem 0 4rem;
  }

  .labs {
    padding: 0 0 4.4rem;
  }

  .labs-grid {
    grid-auto-rows: minmax(118px, auto);
  }

  .service-card {
    padding: 2.5rem !important;
  }

  .service-card:hover,
  .service-card:focus-within {
    transform: none;
  }

  .legacy-inner {
    padding-top: 3.6rem;
    padding-bottom: 3.8rem;
    gap: 2.2rem;
  }

  .blueprint-graphic-col,
  .topography-map-placeholder {
    min-height: 340px;
  }

  .founder {
    padding: 3.8rem 0 4.4rem;
    gap: 2rem;
  }

  .final-close-inner {
    padding: 3.6rem 1.5rem 3.8rem;
  }

  .close-form {
    width: 100%;
    gap: 0.95rem;
  }

  .close-submit {
    width: 100%;
    justify-self: stretch;
    min-height: 44px;
  }

  .form-status {
    overflow-wrap: anywhere;
  }

  .close-pivot {
    display: flex;
    justify-content: center;
  }

  .wa-cta {
    width: 100%;
    min-height: 44px;
  }
}

/* Luxury Consistency Pass */
:root {
  --lux-section-gap: clamp(5rem, 8vw, 6rem);
  --lux-heading-lh: 1.12;
  --lux-copy-lh: 1.72;
  --lux-card-radius: 18px;
  --type-display: clamp(2.25rem, 6.1vw, 4.35rem);
  --type-heading: clamp(2.05rem, 4.35vw, 3.85rem);
  --type-body: clamp(1rem, 0.97rem + 0.22vw, 1.08rem);
  --visual-grade: contrast(1.08) saturate(0.93) brightness(1.04);
  --visual-grain-opacity: 0.14;
}

#global-nav .nav-container {
  padding-inline: 5.2%;
}

.nav-logo-img {
  height: 48px;
}

.eyebrow {
  margin-bottom: 0.9rem !important;
  letter-spacing: 0.14em !important;
}

.eyebrow::after {
  width: 52px;
  margin-top: 0.45rem !important;
}

.hero h1 {
  font-size: var(--type-display);
  max-width: 19ch;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.subheadline {
  line-height: 1.7;
}

.philosophy-copy h2,
.labs-copy h2,
.flagship-copy h3,
.legacy h2,
.founder-copy h2,
.final-close h2 {
  font-size: var(--type-heading);
  line-height: var(--lux-heading-lh);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.philosophy-copy p:not(.philosophy-eyebrow),
.labs-copy p:not(.labs-eyebrow):not(.microline),
.flagship-copy p:not(.flagship-eyebrow),
.legacy p:not(.legacy-eyebrow),
.founder-copy p:not(.founder-signoff),
.final-close p {
  font-size: var(--type-body);
  line-height: var(--lux-copy-lh);
}

.philosophy,
.labs,
.founder {
  padding-bottom: var(--lux-section-gap) !important;
}

.legacy-inner,
.final-close-inner {
  padding-top: clamp(4.8rem, 8vw, 5.8rem);
  padding-bottom: clamp(5rem, 8vw, 6rem) !important;
}

.service-grid {
  gap: clamp(1.3rem, 2.6vw, 2rem);
}

.service-card {
  padding: 2.2rem !important;
  border-radius: var(--lux-card-radius);
}

.labs-card {
  border-radius: calc(var(--lux-card-radius) - 2px);
}

.blueprint-graphic-col,
.topography-map-placeholder,
.founder-portrait {
  border-radius: var(--lux-card-radius);
}

.topography-map-placeholder,
.vision-portrait,
.phone-shot {
  filter: var(--visual-grade);
}

.topography-map-placeholder,
.phone-carousel {
  position: relative;
  isolation: isolate;
}

.topography-map-placeholder::after,
.phone-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 255, 255, 0.08), transparent 52%),
    radial-gradient(circle at 78% 74%, rgba(0, 0, 0, 0.14), transparent 58%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 3px);
  mix-blend-mode: soft-light;
  opacity: var(--visual-grain-opacity);
  pointer-events: none;
}

.phone-carousel::after {
  opacity: calc(var(--visual-grain-opacity) - 0.03);
  z-index: 2;
}

.phone-shot {
  position: relative;
  z-index: 1;
}

.flagship-copy p:not(.flagship-eyebrow) {
  margin-bottom: 2.2rem;
}

.flagship-cta {
  min-height: 44px;
}

.response-line,
.form-note {
  letter-spacing: 0.04em;
}

.promise-items {
  align-items: center;
}

.promise-items span {
  min-height: 1.8rem;
}

.mesh-overlay {
  animation-duration: 30s;
}

.orb {
  animation-duration: 12s;
}

.flagship-phone {
  animation-duration: 6.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@media (min-width: 768px) and (max-width: 1150px) {
  .founder-portrait.vision-portrait {
    background-image: url("assets/founder/founder3.png") !important;
    min-height: clamp(28rem, 62vw, 36rem) !important;
    background-position: center 10% !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
  }
}

@media (max-width: 767px) {
  .founder-role-sep {
    display: none;
  }

  .founder-portrait.vision-portrait {
    background-image: url("assets/founder/founder4.png") !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
  }
}

@media (min-width: 768px) and (max-width: 768px) and (min-height: 760px) and (max-height: 840px) {
  .labs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: auto !important;
    gap: 1rem !important;
  }

  .labs-card--alpha,
  .labs-card--beta,
  .labs-card--gamma,
  .labs-card--delta {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .labs-card {
    aspect-ratio: auto !important;
    min-height: 190px !important;
    padding: 1.25rem !important;
  }

  .labs-card > svg,
  .labs-card svg {
    max-height: 118px !important;
    height: auto !important;
    width: 100% !important;
    transform: none !important;
  }

  .labs-card span {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    bottom: 0.7rem;
  }

  .founder-copy h2 {
    white-space: nowrap;
    max-width: none !important;
    font-size: 1.75rem !important;
    line-height: 1.15;
    letter-spacing: 0;
  }
}

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

  .blink-cursor {
    animation: none;
  }
}
