:root {
  color-scheme: dark;
  --obsidian: #07090f;
  --carbon: #0d121d;
  --charcoal: #131a27;
  --steel: #8390a4;
  --mist: #edf0f3;
  --ivory: #faf6ea;
  --gold: #d8b76a;
  --gold-deep: #9f7c36;
  --copper: #b8875f;
  --line: rgba(216, 183, 106, 0.22);
  --panel: rgba(255, 255, 255, 0.055);
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.42);
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --glow-x: 50%;
  --glow-y: 50%;
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 104px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--mist);
  background:
    radial-gradient(circle at 18% 4%, rgba(216, 183, 106, 0.16), transparent 28rem),
    radial-gradient(circle at 82% 22%, rgba(93, 120, 159, 0.18), transparent 28rem),
    linear-gradient(140deg, var(--obsidian), var(--carbon) 54%, #05060a);
  overflow-x: hidden;
}

.ambient-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.54;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(216, 183, 106, 0.12) 42.2%, transparent 42.8% 100%),
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 100% 100%, 64px 64px, 64px 64px;
}

a {
  color: inherit;
}

.shell,
.site-header {
  width: min(1160px, calc(100% - 36px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.identity-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
  text-decoration: none;
}

.identity-lockup__glyph {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--gold);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 800;
}

.identity-lockup strong,
.identity-lockup small {
  display: block;
}

.identity-lockup strong {
  color: var(--ivory);
  letter-spacing: 0.01em;
}

.identity-lockup small,
.nav-links,
.section-kicker,
.button,
.dimension-card,
.capability-grid span {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.identity-lockup small {
  color: var(--steel);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  color: var(--steel);
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--gold);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.82fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 84px);
  padding: 58px 0 92px;
  isolation: isolate;
  perspective: 1200px;
}

.hero-orbit {
  position: absolute;
  inset: 4% -7% auto auto;
  z-index: -1;
  width: min(48vw, 560px);
  height: min(48vw, 560px);
  pointer-events: none;
  opacity: 0.62;
  transform: translate3d(0, calc(var(--scroll-depth, 0) * 26px), 0);
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(216, 183, 106, 0.18);
  transform: rotateX(64deg) rotateZ(42deg);
  animation: orbitDrift 24s ease-in-out infinite alternate;
}

.hero-orbit::after {
  inset: 23%;
  border-color: rgba(80, 175, 164, 0.16);
  transform: rotateX(58deg) rotateZ(-27deg);
  animation-duration: 30s;
}

.hero-orbit__plane {
  position: absolute;
  border: 1px solid rgba(216, 183, 106, 0.14);
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(216, 183, 106, 0.18) 48.5% 49.5%, transparent 50%),
    linear-gradient(0deg, transparent 0 48%, rgba(80, 175, 164, 0.1) 48.5% 49.5%, transparent 50%);
  background-size: 42px 42px;
  filter: drop-shadow(0 0 18px rgba(216, 183, 106, 0.08));
}

.hero-orbit__plane--one {
  inset: 18% 4% 20% 18%;
  transform: rotateX(68deg) rotateZ(-18deg);
  animation: planeFloat 18s ease-in-out infinite;
}

.hero-orbit__plane--two {
  inset: 8% 26% 42% 8%;
  border-color: rgba(80, 175, 164, 0.14);
  transform: rotateX(58deg) rotateZ(24deg);
  animation: planeFloat 22s ease-in-out infinite reverse;
}

.hero-orbit__node {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(216, 183, 106, 0.09), 0 0 26px rgba(216, 183, 106, 0.28);
  animation: nodePulse 6s ease-in-out infinite;
}

.hero-orbit__node--one {
  top: 26%;
  left: 28%;
}

.hero-orbit__node--two {
  top: 42%;
  right: 16%;
  background: #72d0c5;
  animation-delay: -2s;
}

.hero-orbit__node--three {
  right: 34%;
  bottom: 22%;
  animation-delay: -4s;
}

.section-kicker {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2 {
  color: var(--ivory);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

h1 {
  max-width: 850px;
  margin-bottom: 1.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 10vw, 9rem);
  font-weight: 500;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 5rem);
  font-weight: 500;
}

h3 {
  color: var(--ivory);
  font-size: 1.12rem;
}

p {
  color: var(--steel);
  font-size: 1.04rem;
  line-height: 1.72;
}

.hero__role {
  color: var(--gold);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  letter-spacing: 0.02em;
}

.hero__statement {
  max-width: 680px;
  color: #c6ced9;
  font-size: clamp(1.08rem, 1.7vw, 1.25rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0.78rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
}

.button--primary {
  color: #11100c;
  background: linear-gradient(135deg, #f4dd9b, var(--gold));
  border-color: transparent;
}

.button--secondary {
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.045);
}

.dimension-card {
  position: relative;
  min-height: 420px;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(216, 183, 106, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.095), transparent 38%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow:
    0 42px 100px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(216, 183, 106, 0.08);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateZ(0);
  transform-style: preserve-3d;
  transition: transform 180ms ease, box-shadow 220ms ease, border-color 220ms ease;
  will-change: transform;
}

.dimension-card:hover {
  border-color: rgba(216, 183, 106, 0.34);
  box-shadow:
    0 52px 120px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(216, 183, 106, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.dimension-card__scan {
  position: absolute;
  inset: -40% auto -40% -34%;
  width: 46%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(216, 183, 106, 0.18), transparent);
  transform: rotate(17deg);
  animation: scanLine 8s ease-in-out infinite;
}

.dimension-card::before,
.dimension-card::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(216, 183, 106, 0.2);
  transform: rotate(45deg);
}

.dimension-card::before {
  width: 260px;
  height: 260px;
  right: -80px;
  top: 34px;
}

.dimension-card::after {
  width: 140px;
  height: 140px;
  left: -54px;
  bottom: 40px;
}

.dimension-card__topline,
.dimension-card__footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dimension-card__topline span {
  width: 12px;
  height: 12px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(216, 183, 106, 0.12);
}

.dimension-card__core {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  margin-top: 4.5rem;
}

.dimension-card__core p {
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  color: var(--ivory);
  background: rgba(0, 0, 0, 0.22);
  transform: translateZ(24px);
}

.dimension-card__footer {
  position: absolute;
  right: 1.3rem;
  bottom: 1.3rem;
  left: 1.3rem;
  color: var(--steel);
}

.statement-strip {
  position: relative;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.statement-strip p {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 1.25rem 0;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.8vw, 2.5rem);
  line-height: 1.25;
}

.light-streak {
  position: absolute;
  inset: 0 auto 0 -25%;
  width: 34%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(216, 183, 106, 0.2), rgba(80, 175, 164, 0.08), transparent);
  filter: blur(14px);
  transform: skewX(-18deg);
  animation: lightStreak 16s ease-in-out infinite;
}

.two-column,
.profile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.6rem, 6vw, 5rem);
  padding: 96px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.copy-stack p {
  font-size: 1.12rem;
}

.capability-panel {
  position: relative;
  padding: 96px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.dimensional-section::before {
  content: "";
  position: absolute;
  right: max(-12vw, -140px);
  top: 18%;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(216, 183, 106, 0.08);
  transform: rotate(45deg);
  pointer-events: none;
}

.section-node {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(216, 183, 106, 0.62);
  box-shadow: 0 0 0 8px rgba(216, 183, 106, 0.06), 0 0 28px rgba(216, 183, 106, 0.18);
  animation: nodePulse 7s ease-in-out infinite;
}

.section-node--one {
  right: 12%;
  top: 18%;
}

.section-node--two {
  left: 8%;
  bottom: 24%;
  background: rgba(80, 175, 164, 0.58);
  animation-delay: -2.5s;
}

.section-node--three {
  right: 16%;
  top: 22%;
  animation-delay: -5s;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 2rem;
}

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

.capability-grid article {
  min-height: 250px;
  padding: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 28px;
  background: var(--panel);
}

.capability-grid span {
  display: inline-block;
  margin-bottom: 3.2rem;
  color: var(--gold);
  font-weight: 850;
}

.profile {
  align-items: center;
}

.profile__mark {
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(216, 183, 106, 0.26) 48.2%, transparent 49%),
    radial-gradient(circle at 38% 42%, rgba(216, 183, 106, 0.22), transparent 9rem),
    rgba(255, 255, 255, 0.04);
}

.contact {
  padding: 96px 0 120px;
}

.contact h2 {
  margin-bottom: 1rem;
}

.contact__lead {
  max-width: 620px;
}

.contact__email {
  display: inline-block;
  margin: 0.7rem 0 0.8rem;
  color: var(--gold);
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}

.contact__copy {
  color: #bcc5d1;
}

.contact__copy a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes orbitDrift {
  from {
    transform: rotateX(64deg) rotateZ(38deg) translate3d(-8px, 0, 0);
  }
  to {
    transform: rotateX(60deg) rotateZ(50deg) translate3d(10px, -12px, 0);
  }
}

@keyframes planeFloat {
  0%,
  100% {
    transform: rotateX(68deg) rotateZ(-18deg) translate3d(0, 0, 0);
  }
  50% {
    transform: rotateX(64deg) rotateZ(-12deg) translate3d(12px, -14px, 0);
  }
}

@keyframes nodePulse {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.92);
  }
  50% {
    opacity: 0.88;
    transform: scale(1.12);
  }
}

@keyframes scanLine {
  0%,
  26% {
    transform: translateX(0) rotate(17deg);
    opacity: 0;
  }
  48% {
    opacity: 0.85;
  }
  74%,
  100% {
    transform: translateX(360%) rotate(17deg);
    opacity: 0;
  }
}

@keyframes lightStreak {
  0%,
  18% {
    transform: translateX(0) skewX(-18deg);
    opacity: 0;
  }
  42% {
    opacity: 0.8;
  }
  78%,
  100% {
    transform: translateX(410%) skewX(-18deg);
    opacity: 0;
  }
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero,
  .two-column,
  .profile,
  .capability-grid {
    grid-template-columns: 1fr;
  }

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

  .dimension-card {
    min-height: 360px;
  }

  .hero-orbit {
    inset: 8% -24% auto auto;
    width: 82vw;
    height: 82vw;
    opacity: 0.36;
  }
}

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

  .dimension-card {
    transform: none !important;
  }
}
