* { -webkit-tap-highlight-color: transparent !important; }

a:focus, button:focus { outline: none !important; }

a:focus-visible,
button:focus-visible {
  outline: 1px solid rgba(193, 166, 97, 0.65) !important;
  outline-offset: 2px;
}

.ah-logo { -webkit-tap-highlight-color: rgba(0,0,0,0) !important; user-select: none !important; }

html,
body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  overflow-x: clip !important;
  overflow-y: auto !important;
  overscroll-behavior-x: none !important;
}

::-webkit-scrollbar { width: 8px !important; }
::-webkit-scrollbar-track { background: var(--bg) !important; }
::-webkit-scrollbar-thumb { background: rgba(193, 166, 97, 0.3) !important; border-radius: 10px !important; border: 2px solid var(--bg) !important; }
::-webkit-scrollbar-thumb:hover { background: rgba(193, 166, 97, 0.6) !important; }

:root {
  --bg: #FBFBF9;
  --text: #333436;
  --text-dark: #FBFBF9;
  --accent: #C1A661;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-duration: 820ms;
  --flow-gap-desktop: 1.5rem;
  --flow-gap-tablet: 4rem;
  --flow-gap-phone: calc(1.25rem + 2rem);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html { 
  scroll-behavior: smooth !important; 
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  padding-top: 70px;
  overflow-x: clip !important;
}

main,
.site-footer,
.site-header,
.header-inner,
.footer-inner,
.origin-grid,
.founder-content,
.roadmap-wrap,
.timeline {
  max-width: 100% !important;
  overflow-x: clip !important;
}

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

.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 2000 !important;
  width: 100%;
  background: rgba(251, 251, 249, 0.65) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-bottom: none !important;
  box-shadow: 0 1px 0 rgba(193, 166, 97, 0.15) !important;
}

.header-inner {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 0.5rem 4rem !important;
  max-height: 70px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  position: relative !important;
  column-gap: 1rem;
}

.ah-logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  width: 4.6rem;
  height: 4.6rem;
  color: var(--text);
  text-decoration: none;
}

.ah-logo img,
.ah-logo svg {
  display: block !important;
  height: 32px !important;
  width: auto !important;
  object-fit: contain !important;
}

.ah-logo path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.text-logo {
  justify-self: center;
  text-align: center;
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  max-width: calc(100% - 10rem);
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
  font-family: var(--serif);
  text-transform: uppercase !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.25em !important;
  font-weight: 500 !important;
  white-space: nowrap;
  text-decoration: none;
}

.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-link {
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  text-decoration: none;
  transition: color 220ms ease;
}

.header-link:hover,
.header-link:focus-visible {
  color: var(--accent);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.82rem;
  text-decoration: none;
  background: transparent;
  transition: border-color 220ms ease, color 220ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: var(--text);
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  padding: 0;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
}

.menu-toggle span {
  width: 1.18rem;
  height: 1px;
  background: var(--accent);
}

main {
  width: 100%;
}

.section {
  width: min(1120px, calc(100% - 4rem));
  margin: 0 auto;
  padding: 3.5rem 0 !important;
  border-top: none !important;
}

.origin,
.engine,
.roadmap {
  border-top: none !important;
}

h1,
h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  color: var(--text);
}

hr {
  width: 80px !important;
  height: 2px !important;
  background-color: var(--accent) !important;
  border: none !important;
  margin: 0 auto 2rem auto !important;
  display: block !important;
}

.origin-copy hr,
.origin hr {
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 1.5rem !important;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 75vh !important;
  padding-bottom: 3.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  justify-content: center !important;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/topography-ghost.svg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.live-mandate {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em !important;
  text-transform: uppercase;
  color: var(--text) !important;
  font-weight: 600 !important;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.system-mandate {
  color: var(--text) !important;
  letter-spacing: 0.2em !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
}

.live-mandate .cursor {
  display: inline-block;
  width: 6px;
  height: 14px;
  background: var(--accent);
  animation: blink 1s step-end infinite;
}

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

  50% {
    opacity: 0;
  }
}

.eyebrow {
  margin-bottom: 2rem;
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-style: italic;
  line-height: 1.35;
}

.hero h1 {
  margin: 0;
  padding: 0;
  line-height: 1;
  max-width: 16ch;
  font-size: clamp(2.9rem, 7vw, 6.2rem);
}

.hero .lede {
  margin-top: 1.5rem !important;
  margin-bottom: 0 !important;
  max-width: 55ch;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.hero p:last-of-type {
  margin-bottom: 0 !important;
}

.origin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: stretch;
}

.origin-copy h2 {
  font-size: clamp(2.2rem, 4.2vw, 4rem);
}

.origin-copy p {
  margin-top: 1.8rem;
  max-width: 66ch;
  line-height: 1.9;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.3d-scene {
  width: 100% !important;
  min-height: 400px !important;
  perspective: 1000px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: radial-gradient(circle at center, rgba(193,166,97,0.15) 0%, transparent 60%) !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

[class~="3d-scene"] {
  width: 100% !important;
  min-height: 400px !important;
  perspective: 1000px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: radial-gradient(circle at center, rgba(193,166,97,0.15) 0%, transparent 60%) !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.engine p + hr {
  display: none !important;
}

.monolith {
  width: 140px !important;
  height: 260px !important;
  position: relative !important;
  transform-style: preserve-3d !important;
  animation: rotateMonolith 15s linear infinite !important;
}

.face {
  position: absolute !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(193,166,97,0.25)) !important;
  border: 1px solid rgba(193,166,97,0.4) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow: inset 0 0 20px rgba(255,255,255,0.9) !important;
}

.front {
  transform: translateZ(70px) !important;
}

.back {
  transform: rotateY(180deg) translateZ(70px) !important;
}

.right {
  transform: rotateY(90deg) translateZ(70px) !important;
}

.left {
  transform: rotateY(-90deg) translateZ(70px) !important;
}

.top {
  height: 140px !important;
  transform: rotateX(90deg) translateZ(70px) !important;
}

.bottom {
  height: 140px !important;
  transform: rotateX(-90deg) translateZ(190px) !important;
}

@keyframes rotateMonolith {
  0% {
    transform: rotateY(0deg) rotateX(10deg);
  }

  100% {
    transform: rotateY(360deg) rotateX(10deg);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.engine {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.engine h2 {
  margin-top: 0 !important;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
}

.engine p {
  max-width: 65ch !important;
  margin: 2rem auto !important;
  font-size: clamp(1rem, 1.45vw, 1.1rem);
  line-height: 1.9;
}

.roadmap-wrap {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.roadmap h2 {
  margin-top: 0 !important;
  margin-bottom: 4rem;
  color: var(--text);
  font-size: clamp(2.6rem, 5.2vw, 4.8rem);
}

.timeline {
  border-left: none !important;
  margin-left: 10px !important;
}

.timeline-item {
  position: relative !important;
  padding-left: 3rem !important;
  padding-bottom: 4rem !important;
  margin-bottom: 0 !important;
}

.timeline-item:last-child {
  padding-bottom: 0 !important;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 6px !important;
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  background: var(--bg) !important;
  border: 2px solid var(--accent) !important;
  z-index: 2 !important;
  left: 0 !important;
  transform: translateX(-50%) !important;
}

.timeline-item::after {
  content: '' !important;
  position: absolute !important;
  left: -1px !important;
  top: 20px !important;
  bottom: 0 !important;
  width: 2px !important;
  background: var(--accent) !important;
  z-index: 1 !important;
}

.timeline-item:last-child::after {
  display: none !important;
}

.timeline-item h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.timeline-item p {
  margin-top: 0.9rem;
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(1rem, 1.45vw, 1.1rem);
  font-weight: 400;
  line-height: 1.9;
}

.timeline-item.is-current::before {
  background: var(--accent) !important;
}

.timeline-item.is-current h3 {
  color: var(--accent);
}

.timeline-item.is-future::before {
  border: 2px solid var(--accent);
  background: var(--bg);
}

.timeline-item.is-future h3 {
  color: var(--text);
}

.timeline-item.is-future p {
  color: rgba(51, 52, 54, 0.85);
}

.founder-wrap {
  max-width: 1000px !important;
  display: block !important;
  text-align: center !important;
  margin: 0 auto !important;
}

.founder-portrait {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1/1 !important;
  object-fit: cover !important;
  border-radius: 4px !important;
  float: none !important;
  margin: 0.35rem 0 0 auto !important;
  max-width: 320px !important;
  filter: grayscale(100%) !important;
  border: 1px solid rgba(193, 166, 97, 0.2) !important;
  padding: 5px !important;
  background: var(--bg) !important;
}

.founder-content {
  display: grid !important;
  grid-template-columns: 1fr 2fr !important;
  gap: 4rem !important;
  align-items: start !important;
  text-align: left !important;
}

.founder-bio::after {
  content: "";
  display: table;
  clear: both;
}

.keystone-mark {
  width: 0.9rem;
  height: 0.9rem;
  margin: 0 auto 2rem auto !important;
  display: block !important;
  background: var(--accent);
}

.founder .keystone-mark {
  margin-top: -1rem !important;
}

.founder h2 {
  margin-top: 0 !important;
  margin-bottom: 4rem !important;
  text-align: center !important;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.founder-content p:first-of-type {
  margin-top: 0 !important;
}

.founder p {
  margin-top: 1.6rem;
  line-height: 1.8;
  font-size: clamp(1rem, 1.45vw, 1.1rem);
}

.signoff {
  margin-top: 2.6rem;
  text-align: right;
}

.founder-content > .signoff {
  grid-column: 2;
}

.signoff-name {
  display: block;
  color: var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.signoff-role {
  display: block;
  margin-top: 0.4rem;
  color: var(--text);
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.door {
  position: relative;
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
  text-align: center;
}

.contact {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.door.contact {
  padding-bottom: 4rem !important;
}

.contact h2,
.contact-form {
  margin-top: 0 !important;
  margin-bottom: 1.5rem !important;
}

.door .contact-btn,
.door .contact-form,
.door .ghost-btn {
  margin-bottom: 0 !important;
}

.door .contact-form {
  margin-top: 3rem !important;
}

.door::before {
  content: "";
  display: block;
  width: 1px;
  height: 4rem !important;
  margin: 0 auto 2rem auto !important;
  background: var(--accent);
}

.door h2 {
  font-size: clamp(2.3rem, 4.4vw, 4.2rem);
}

.door p {
  margin: 1.6rem auto 2.4rem;
  max-width: 50ch;
  font-size: clamp(1rem, 1.45vw, 1.1rem);
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.55rem;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: border-color 220ms ease, color 220ms ease;
}

.ghost-btn:hover,
.ghost-btn:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.site-footer {
  background: var(--text);
  padding: 4rem 5% 2rem 5% !important;
  padding-top: 4rem !important;
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4rem, 14vw, 14rem);
  align-items: center !important;
}

.footer-core {
  margin-top: 0 !important;
}

.footer-core h2 {
  margin-bottom: 1rem !important;
  color: var(--bg);
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.8rem) !important;
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: 0.02em !important;
}

.footer-quote {
  margin-top: 0 !important;
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem) !important;
  font-style: italic;
  line-height: 1.6;
}

.footer-quote-source {
  margin-top: 0.4rem;
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-style: italic;
  line-height: 1.4;
}

.footer-engine {
  justify-self: end;
  align-self: center !important;
  width: max-content !important;
  margin-left: auto !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.2rem !important;
}

.footer-eyebrow {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.4) !important;
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  display: block !important;
  text-align: center !important;
  padding-right: 0 !important;
  transform: none !important;
}

.footer-link {
  display: block !important;
  margin: 0 !important;
  text-align: center !important;
  color: var(--bg);
  font-family: var(--sans);
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  text-decoration: none;
  transition: color 220ms ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--accent);
}

.site-footer hr,
footer hr {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.site-footer {
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.footer-mandate {
  margin: 3rem auto 0 auto !important;
  text-align: center !important;
  width: 100% !important;
  color: rgba(251, 251, 249, 0.5);
  font-family: var(--sans);
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  opacity: 0.8 !important;
}

.footer-mandate span {
  color: rgba(255, 255, 255, 0.4) !important;
}

.footer-status {
  margin: 0.95rem auto 0 auto;
  color: rgba(193, 166, 97, 0.62);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: center;
}

#the-vision,
#the-engine,
#open-door {
  scroll-margin-top: 7rem;
}

@media (max-width: 900px) {
  .header-inner {
    padding: 1rem 1.2rem;
  }

  .header-nav {
    display: none;
  }

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

  .ah-logo {
    width: 3rem;
    height: 3rem;
  }

  .text-logo {
    font-size: clamp(0.88rem, 3.2vw, 1.05rem);
    letter-spacing: 0.045em;
  }

  .section {
    width: min(1120px, calc(100% - 2.5rem));
    padding: clamp(4.5rem, 10vw, 7rem) 0;
  }

  .origin-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .founder-wrap {
    max-width: 65ch !important;
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .founder-content {
    grid-column: 1;
  }

  .founder-portrait {
    max-width: 260px !important;
  }

  .hero {
    min-height: 100svh;
  }

  .site-footer {
    padding: 4.8rem 1.5rem;
  }

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

  .footer-engine {
    justify-self: start;
  }

}

@media (max-width: 1024px) {
  html,
  body {
    overflow-x: hidden !important;
    overflow-x: clip !important;
    max-width: 100% !important;
    touch-action: pan-y !important;
    overscroll-behavior-x: none !important;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box !important;
  }

  body,
  main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow-x: hidden !important;
  }

  .text-logo {
    display: none !important;
  }

  .header-nav {
    display: none !important;
  }

  .menu-toggle {
    display: inline-flex !important;
  }

  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 2000 !important;
    width: 100% !important;
    justify-content: space-between !important;
    padding: 0 !important;
    background: #FBFBF9 !important;
    box-shadow: 0 1px 0 rgba(193, 166, 97, 0.15) !important;
    border-bottom: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    backface-visibility: hidden !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body {
    padding-top: calc(66px + env(safe-area-inset-top)) !important;
  }

  main {
    padding-top: 0 !important;
    overflow-x: hidden !important;
    max-width: 100% !important;
  }

  .header-inner {
    justify-content: space-between !important;
    padding: calc(0.7rem + env(safe-area-inset-top)) 1.5rem 0.7rem 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 auto !important;
  }

  .section,
  .hero,
  .door {
    width: 100% !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .origin,
  .engine,
  .roadmap,
  .founder,
  .contact,
  .footer-inner {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow-x: hidden !important;
  }

  .section p {
    line-height: 1.7 !important;
  }

  .origin-grid,
  .founder-content,
  .roadmap-wrap,
  .timeline,
  .timeline-item,
  .footer-inner,
  .footer-top,
  .footer-core,
  .footer-engine {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .timeline {
    margin-left: 0 !important;
  }

  .timeline-item {
    padding-left: 2.25rem !important;
  }

  .timeline-item::before {
    left: 0.25rem !important;
    transform: none !important;
  }

  .timeline-item::after {
    left: 0.7rem !important;
  }

  .founder-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2rem !important;
  }

  .founder-bio,
  .founder-bio p {
    width: 100% !important;
    text-align: left !important;
  }

  .founder-portrait {
    display: block !important;
    width: 100% !important;
    max-width: 350px !important;
    flex-shrink: 0 !important;
    margin: 2rem auto !important;
  }

  .signoff-name,
  .signoff-role,
  .founder-content > .signoff {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero {
    min-height: auto !important;
    padding-top: 3rem !important;
    padding-bottom: 2rem !important;
    margin-top: 0 !important;
    justify-content: flex-start !important;
  }

  .system-mandate,
  .live-mandate {
    margin-top: 1rem !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .footer-mandate {
    overflow-wrap: anywhere !important;
  }

  .footer-engine {
    justify-self: center !important;
    margin: 0 auto !important;
  }

  .footer-core,
  .footer-engine {
    text-align: center !important;
    align-items: center !important;
  }

  .foundation-stone img,
  .vision img,
  .origin-void img,
  .3d-scene img {
    max-width: 60% !important;
    margin: 2rem auto !important;
    display: block !important;
  }

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

  h1,
  h2,
  h3,
  p,
  .live-mandate,
  .footer-mandate,
  .footer-link,
  .footer-eyebrow {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem) !important;
    line-height: 1.1 !important;
  }
}

@media (max-width: 768px) {
  .site-header {
    background: var(--bg) !important;
    background-image: none !important;
    background-color: var(--bg) !important;
    box-shadow: none !important;
    border-bottom: none !important;
    /* Lock the Stealth Header */
    background-color: var(--bg) !important;
    z-index: 1000 !important;
  }

  .footer-engine {
    align-items: center !important;
    text-align: center !important;
    margin-top: 3rem !important;
  }

  .footer-eyebrow {
    text-align: center !important;
    transform: none !important;
    margin-right: 0 !important;
  }

  .footer-core h2 {
    text-align: center !important;
  }

  .section h2,
  .section h3,
  .section p,
  .vision h2,
  .vision p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  hr,
  .keystone-mark {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .timeline-item,
  .timeline-item h3,
  .timeline-item p {
    text-align: left !important;
  }

  .timeline {
    margin-left: 1rem !important;
  }

  .section p,
  .vision p,
  .founder p {
    text-align: left !important;
  }

  .hero p,
  .system-mandate {
    text-align: center !important;
  }

  .section h2,
  .vision h2,
  .founder h2,
  .keystone-mark,
  hr {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }

  .founder-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .founder-bio {
    width: 100% !important;
    text-align: left !important;
  }

  .founder-portrait {
    width: 100% !important;
    max-width: 350px !important;
    flex-shrink: 0 !important;
    margin: 2rem auto !important;
    display: block !important;
  }

  .founder-content > .signoff {
    width: 100% !important;
    align-self: center !important;
    text-align: center !important;
    margin: 0 auto !important;
  }

  .founder-content > .signoff .signoff-name,
  .founder-content > .signoff .signoff-role {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  /* Anchor the 3D Asset */
  .origin-void img,
  .3d-scene img {
    margin-top: 1rem !important;
    margin-bottom: 2rem !important;
  }

  /* Crush the Parent Container Padding */
  .origin {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Equalize spacing between sections */
  .section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  /* Pull up the Conglomerate Section */
  .engine {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
    margin-top: 0 !important;
  }
  
  /* Close the Blueprint Canyon */
  .roadmap {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
    margin-top: 0 !important;
  }
  
  /* Annihilate the Founder's Void */
  .timeline {
    margin-bottom: 2rem !important;
    padding-bottom: 0 !important;
  }
  
  .founder {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
    margin-top: 0 !important;
  }
  
  /* Consistent spacing for contact section */
  .contact {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  /* ANNIHILATE THE CANYONS (Global Section Normalization) */
  .section, .hero, .origin, .engine, .roadmap, .founder, .door, .contact {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* THE CONGLOMERATE & BLUEPRINT OVERRIDE */
  .engine {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  .roadmap {
    padding-top: 4rem !important;
    margin-top: 0 !important;
  }

  /* THE 3D ARTIFACT EQUILIBRIUM */
  .origin-void img,
  .3d-scene img {
    margin-top: 4rem !important;
    margin-bottom: 4rem !important;
  }

  /* THE GOLD LINE RESTS (THE CROWNS) */
  hr,
  .keystone-mark {
    margin-bottom: 1.5rem !important;
  }

  /* CENTER THE FINAL FUNNEL PARAGRAPH */
  .door p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

body.menu-open {
  overflow: hidden !important;
}

/* =========================================
   THE VAULT DOOR (MOBILE MENU OVERLAY)
   ========================================= */
.mobile-menu-overlay {
  background-color: #FBFBF9 !important;
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 9999 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease !important;
}

.mobile-menu-overlay.is-open { 
  opacity: 1 !important; 
  visibility: visible !important; 
  pointer-events: auto !important; 
}

.mobile-menu-close {
  position: absolute !important;
  top: 1.5rem !important;
  right: 1.5rem !important;
  font-size: 3.5rem !important;
  font-weight: 300 !important;
  opacity: 0.8 !important;
  z-index: 10000 !important;
  color: #333436 !important;
  border: none !important;
  background: transparent !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.mobile-menu-nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 3.5rem !important;
  text-align: center !important;
  width: 100% !important;
}

.mobile-menu-link {
  font-family: var(--serif) !important;
  font-size: 2.8rem !important;
  font-style: italic !important;
  letter-spacing: 0.02em !important;
  color: #333436 !important;
  text-decoration: none !important;
}

.mobile-menu-link:active,
.mobile-menu-link:hover {
  color: var(--accent) !important;
  transition: color 0.2s ease;
}

@media (min-width: 1025px) {
  /* Desktop section-specific locks */
  .founder-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    gap: 4rem !important;
  }
  
  .founder-bio,
  .founder-portrait,
  .signoff {
    width: 100% !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
  
  .founder-portrait {
    max-width: 420px !important;
    width: 100% !important;
    margin: 0 auto !important;
    margin-top: 0 !important;
    display: block !important;
  }
  
  .signoff {
    text-align: center !important;
  }
  
  /* Target the container holding founder text and image */
  .founder .founder-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4rem !important;
  }
  
  /* Target the founder paragraph specifically */
  .founder .founder-content .founder-bio p {
    max-width: 800px !important;
    text-align: center !important;
    line-height: 1.9 !important;
    margin-bottom: 0 !important;
  }

  .timeline-item {
    text-align: left !important;
    padding-left: 4.5rem !important;
  }

  .timeline-item p,
  .timeline-item h3 {
    text-align: left !important;
    margin-left: 0 !important;
  }

  .timeline {
    margin-left: 0 !important;
    border-left: none !important;
    padding-left: 0 !important;
    position: relative !important;
  }

  .timeline-item::before {
    content: '' !important;
    position: absolute !important;
    left: 1rem !important;
    top: 0.5rem !important;
    width: 14px !important;
    height: 14px !important;
    margin-left: -7px !important;
    transform: none !important;
    z-index: 2 !important;
    background: var(--bg) !important;
    border: 2px solid var(--accent) !important;
  }

  .timeline-item::after {
    content: '' !important;
    position: absolute !important;
    left: 1rem !important;
    margin-left: -1px !important;
    top: 1.1rem !important;
    bottom: auto !important;
    width: 2px !important;
    background: var(--accent) !important;
    z-index: 1 !important;
    opacity: 1 !important;
    height: calc(100% + 2rem) !important;
  }

  .timeline-item:last-child::after {
    content: none !important;
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
  }

  .timeline-item:not(:last-child)::after {
    height: 100% !important;
  }

  .timeline-item::before,
  .timeline-item::after {
    left: 1rem !important;
  }

  .roadmap-wrap {
    max-width: 800px !important;
    margin: 0 auto !important;
    text-align: left !important;
  }

  /* Desktop rhythm normalization */
  .origin-copy h2,
  .engine h2,
  .founder h2,
  .door h2 {
    margin-bottom: 0 !important;
  }

  .origin-copy p {
    margin-top: 0 !important;
  }

  .timeline {
    margin-top: 0 !important;
  }

  /* Founder desktop spacing: tighten portrait/signoff cadence */
  .founder .founder-content {
    gap: var(--flow-gap-desktop) !important;
  }

  .founder .founder-content .founder-bio p {
    margin-bottom: 0 !important;
  }

  .founder-portrait {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .founder-content > .signoff {
    margin-top: 0 !important;
  }

  .signoff-role {
    margin-top: 0.2rem !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 1024px) {
  :root {
    --mobile-flow-gap: 1.25rem;
  }

  .section,
  .hero,
  .origin,
  .engine,
  .roadmap,
  .founder,
  .door,
  .contact {
    padding-top: 2.75rem !important;
    padding-bottom: 2.75rem !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  hr {
    margin: 0 auto 1.25rem auto !important;
  }

  .keystone-mark {
    margin: 0 auto 1.25rem auto !important;
  }

  .section h1,
  .section h2,
  .section h3,
  .section p,
  .hero .lede,
  .founder-bio p,
  .signoff,
  .signoff-name,
  .signoff-role {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .origin-copy h2,
  .engine h2,
  .roadmap h2,
  .founder h2,
  .door h2 {
    margin-bottom: 0 !important;
  }

  .hero .lede,
  .origin-copy p,
  .engine p,
  .founder-bio p,
  .door p {
    margin-top: var(--mobile-flow-gap) !important;
    margin-bottom: 0 !important;
  }

  .section p {
    max-width: 40ch !important;
  }

  .roadmap-wrap {
    text-align: center !important;
    margin: 0 auto !important;
    max-width: 800px !important;
  }

  .timeline {
    margin: 0 auto !important;
    padding: 0 !important;
    border-left: none !important;
    position: relative !important;
  }

  .timeline-item {
    text-align: center !important;
    padding-left: 0 !important;
    padding-top: 1.75rem !important;
    padding-bottom: 2.5rem !important;
  }

  .timeline-item:last-child {
    padding-bottom: 0 !important;
  }

  .timeline-item h3,
  .timeline-item p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .timeline-item p {
    margin-top: 0.9rem !important;
  }

  .timeline-item::before {
    left: 50% !important;
    margin-left: 0 !important;
    transform: translateX(-50%) !important;
    top: 0 !important;
  }

  .timeline-item::after {
    left: 50% !important;
    margin-left: -1px !important;
    top: 14px !important;
    width: 2px !important;
    height: calc(100% - 14px) !important;
  }

  .timeline-item:last-child::after {
    content: none !important;
    display: none !important;
  }

  .founder-content {
    align-items: center !important;
    gap: var(--mobile-flow-gap) !important;
  }

  .founder-portrait {
    margin: var(--mobile-flow-gap) auto !important;
  }

  .founder-content > .signoff {
    margin-top: var(--mobile-flow-gap) !important;
  }

  .door::before {
    height: 2.75rem !important;
    margin: 0 auto 1.25rem auto !important;
  }
}

@media (max-width: 768px) {
  :root {
    --phone-heading-text-gap: calc(var(--mobile-flow-gap) + 2rem);
  }

  .hero .lede,
  .origin-copy p,
  .engine p,
  .founder-bio p,
  .door p {
    margin-top: var(--phone-heading-text-gap) !important;
  }

  .roadmap .timeline,
  .founder .founder-content {
    margin-top: var(--phone-heading-text-gap) !important;
  }

  .timeline-item p {
    margin-top: calc(0.9rem + 2rem) !important;
  }

  .roadmap .timeline-item::before,
  .roadmap .timeline-item::after {
    content: none !important;
    display: none !important;
  }

  .roadmap .timeline-item {
    padding-top: 0 !important;
    padding-left: 0 !important;
  }
}

/* Tablet + fold/hub override: remove roadmap stem + nodes like phone */
@media (min-width: 769px) and (max-width: 1024px),
       (min-width: 1025px) and (max-width: 1280px) and (max-height: 900px) {
  .roadmap .timeline {
    border-left: none !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
  }

  .roadmap .timeline-item {
    padding-left: 0 !important;
    padding-top: 0 !important;
  }

  .roadmap .timeline-item::before,
  .roadmap .timeline-item::after {
    content: none !important;
    display: none !important;
  }
}

/* Tablet-only rhythm: consistent heading -> body spacing */
@media (min-width: 769px) and (max-width: 1024px) {
  :root {
    --tablet-heading-text-gap: 4rem;
  }

  .hero .lede,
  .origin-copy p,
  .engine p,
  .founder-bio p,
  .door p,
  .roadmap .timeline,
  .founder .founder-content {
    margin-top: var(--tablet-heading-text-gap) !important;
  }
}

/* Mobile/Tablet motion polish: stagger + crown reveal + tactile tap */
@media (max-width: 1024px) {
  .section h1.reveal,
  .section h2.reveal,
  .section h3.reveal {
    transition-delay: 0ms !important;
  }

  .section p.reveal,
  .section .founder-portrait.reveal {
    transition-delay: 140ms !important;
  }

  .section .signoff.reveal,
  .section .ghost-btn.reveal,
  .section .contact-form.reveal {
    transition-delay: 260ms !important;
  }

  hr,
  .keystone-mark {
    opacity: 0;
    transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), opacity 700ms cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: transform, opacity;
  }

  hr {
    transform: scaleX(0.85);
    transform-origin: center;
  }

  .keystone-mark {
    transform: scale(0.85);
    transform-origin: center;
  }

  hr.active,
  .keystone-mark.active {
    opacity: 1;
    transform: scale(1);
  }

  .ghost-btn,
  .header-cta,
  .header-link,
  .mobile-menu-link,
  .footer-link,
  .menu-toggle,
  .mobile-menu-close {
    transition: transform 120ms ease, color 220ms ease, border-color 220ms ease, opacity 220ms ease !important;
  }

  .ghost-btn:active,
  .header-cta:active,
  .header-link:active,
  .mobile-menu-link:active,
  .footer-link:active,
  .menu-toggle:active,
  .mobile-menu-close:active {
    transform: scale(0.98) !important;
  }
}

/* Mobile/Tablet stability: prevent nested scroll containers in roadmap/founder */
@media (max-width: 1024px) {
  .roadmap,
  .roadmap-wrap,
  .timeline,
  .timeline-item,
  .founder,
  .founder-wrap,
  .founder-content {
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: auto !important;
  }
}

/* Desktop premium micro-motion: restrained, unified, and intentional */
@media (min-width: 1025px) {
  :root {
    --desktop-motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  }

  .reveal {
    transform: translateY(24px);
    transition:
      opacity 820ms var(--desktop-motion-ease),
      transform 820ms var(--desktop-motion-ease);
  }

  .monolith {
    animation-duration: 15s !important;
    animation-play-state: running !important;
    will-change: auto;
  }

  .header-link,
  .header-cta,
  .ghost-btn,
  .footer-link {
    transition:
      color 260ms var(--desktop-motion-ease),
      border-color 260ms var(--desktop-motion-ease),
      opacity 260ms var(--desktop-motion-ease),
      transform 260ms var(--desktop-motion-ease);
  }
}

@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
  .header-link:hover,
  .header-cta:hover,
  .ghost-btn:hover,
  .footer-link:hover {
    transform: translateY(-1px);
  }
}

/* System lock: motion discipline + typography rhythm + accessibility */
.reveal {
  transition:
    opacity var(--motion-duration) var(--motion-ease),
    transform var(--motion-duration) var(--motion-ease);
}

.header-link,
.header-cta,
.ghost-btn,
.footer-link,
.mobile-menu-link,
.mobile-menu-overlay {
  transition-timing-function: var(--motion-ease) !important;
}

@media (min-width: 1025px) {
  .hero .lede,
  .engine p,
  .door p {
    margin-top: var(--flow-gap-desktop) !important;
  }

  .origin .origin-copy h2 {
    margin-bottom: 4rem !important;
  }

  .origin .origin-copy p {
    margin-top: 0 !important;
  }

  .roadmap h2 {
    margin-bottom: 5rem !important;
  }

  .roadmap .roadmap-wrap .timeline {
    margin-top: 0 !important;
  }

  .founder h2 {
    margin-bottom: var(--flow-gap-desktop) !important;
  }
}

@media (max-width: 1024px) {
  .origin .3d-scene {
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero .lede,
  .origin-copy p,
  .engine p,
  .founder-bio p,
  .door p,
  .roadmap .timeline,
  .founder .founder-content {
    margin-top: var(--flow-gap-tablet) !important;
  }
}

@media (max-width: 768px) {
  .hero .lede,
  .origin-copy p,
  .engine p,
  .founder-bio p,
  .door p,
  .roadmap .timeline,
  .founder .founder-content {
    margin-top: var(--flow-gap-phone) !important;
  }

  .footer-status {
    font-size: 0.64rem;
    letter-spacing: 0.06em;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  hr,
  .keystone-mark {
    opacity: 1 !important;
    transform: none !important;
  }
}
