:root {
  --bg: #09090c;
  --bg-soft: #111116;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --surface-card: rgba(15, 15, 22, 0.82);
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #f7f1e8;
  --muted: rgba(247, 241, 232, 0.72);
  --muted-soft: rgba(247, 241, 232, 0.52);
  --gold: #d6b16f;
  --gold-bright: #edd6ab;
  --gold-deep: #9c7440;
  --accent: #8fc6b3;
  --accent-soft: rgba(143, 198, 179, 0.18);
  --shadow-xl: 0 32px 90px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.34);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1220px;
  --section-space: clamp(74px, 7.6vw, 102px);
  --card-space: 32px;
  --grid-gap: 24px;
  --title-gap: 14px;
  --copy-gap: 12px;
  --topbar-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 18%, rgba(214, 177, 111, 0.16), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(143, 198, 179, 0.1), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(214, 177, 111, 0.12), transparent 38%),
    linear-gradient(180deg, #050507 0%, #0b0c10 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 85%);
}

a {
  color: inherit;
}

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

p,
li,
a,
span {
  line-height: 1.7;
}

.gateway-body {
  min-height: 100vh;
  overflow: hidden;
}

.gateway-video {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  opacity: 0.6;
  filter: saturate(1) contrast(1.04) brightness(0.78) blur(0.15px);
}

.gateway-noise,
.gateway-orb {
  position: fixed;
  pointer-events: none;
  z-index: 1;
}

.gateway-noise {
  inset: 0;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15) 0.8px, transparent 0.8px),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.08) 0.8px, transparent 0.8px);
  background-size: 14px 14px, 18px 18px;
}

.gateway-orb {
  filter: blur(16px);
  border-radius: 999px;
}

.gateway-orb-one {
  top: 10%;
  left: 8%;
  width: 26rem;
  height: 26rem;
  background: radial-gradient(circle, rgba(214, 177, 111, 0.18), transparent 70%);
}

.gateway-orb-two {
  right: 4%;
  bottom: 8%;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(143, 198, 179, 0.12), transparent 72%);
}

.gateway-main {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
}

.gateway-wordmark {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 14px);
  margin-top: 18px;
}

.gateway-logo-inline {
  width: clamp(58px, 6.2vw, 84px);
  display: block;
  flex-shrink: 0;
  transform: translateY(6px);
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.28));
}

.gateway-kicker,
.section-tag,
.eyebrow-line,
.mini-label,
.contact-label {
  margin: 0;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.gateway-title,
.hero-title,
.section-title,
.contact-card h3,
.pricing-value,
.cta-panel h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.gateway-title {
  font-size: clamp(3.9rem, 10vw, 7.6rem);
  text-transform: uppercase;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.gateway-subtitle {
  max-width: 40rem;
  margin: 22px auto 0;
  font-size: 1.08rem;
  color: var(--muted);
}

.gateway-enter,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.gateway-enter {
  margin-top: 34px;
  color: #0d0d10;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: 0 18px 40px rgba(214, 177, 111, 0.24);
}

.gateway-enter:hover,
.btn:hover {
  transform: translateY(-2px);
}

.site-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.site-body .topbar,
.site-body .site-shell,
.site-body .footer {
  position: relative;
  z-index: 2;
}

.site-body main.site-shell {
  padding-top: calc(var(--topbar-height) + 6px);
}

.site-body [id] {
  scroll-margin-top: calc(var(--topbar-height) + 48px);
}

.site-bg-video {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  opacity: 0.36;
  filter: saturate(0.9) brightness(0.36) contrast(1.06) blur(0.15px);
}

.topbar {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  transform: none;
  z-index: 12;
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto 0;
  padding: 12px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 10, 14, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.topbar-center {
  grid-column: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
  transform: translateX(-28px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
}

.brand-logo {
  width: 56px;
  height: auto;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.28));
}

.brand-main {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.08rem;
  letter-spacing: 0.18em;
}

.brand-sub {
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
}

.topbar > .btn {
  grid-column: 2;
  position: static;
  justify-self: end;
  margin-right: 32px;
  transform: none;
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  line-height: 1.2;
}

.btn {
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  font-size: 0.88rem;
}

.btn-primary {
  color: #0d0d10;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: 0 18px 36px rgba(214, 177, 111, 0.18);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.btn-secondary-light {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 148px);
  display: grid;
  align-items: start;
  padding: 34px 0 76px;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 48px;
  align-items: stretch;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 7, 0.34) 0%, rgba(8, 9, 13, 0.14) 38%, rgba(7, 8, 11, 0.52) 100%),
    radial-gradient(circle at 78% 28%, rgba(214, 177, 111, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(5, 5, 7, 0.04), rgba(5, 5, 7, 0.22));
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 44rem;
  padding: 0;
  gap: var(--title-gap);
}

.hero-copy,
.hero-panel,
.detail-card,
.pillar-card,
.metric-card,
.process-step,
.pricing-card,
.contact-card,
.story-card,
.cta-panel,
.showcase-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 640ms ease, transform 640ms ease;
}

.js-enhanced .reveal {
  opacity: 0;
  transform: translateY(22px);
}

.js-enhanced .is-visible {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow-line {
  display: inline-flex;
  gap: 12px;
  align-items: center;
}

.eyebrow-line::before {
  content: "";
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.hero-title {
  max-width: none;
  margin-top: 0;
  font-size: clamp(1.92rem, 3.1vw, 2.72rem);
}

.gold-text {
  color: #f4d14e;
  text-shadow: 0 0 22px rgba(244, 209, 78, 0.18);
}

.title-line {
  display: block;
}

.hero-title .title-line {
  white-space: nowrap;
}

.hero-title .title-line + .title-line,
.section-title .title-line + .title-line {
  margin-top: 0.12em;
}

.hero-subtitle {
  max-width: 36rem;
  margin: 0;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-actions,
.contact-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  margin-top: 18px;
}

.metric-card {
  min-height: 148px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(10, 10, 14, 0.7);
  box-shadow: var(--shadow-lg);
}

.metric-value {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.1rem;
  color: var(--gold-bright);
}

.metric-copy {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.hero-panel {
  position: relative;
  align-self: stretch;
  display: flex;
  padding: 32px;
  border: 1px solid rgba(214, 177, 111, 0.16);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(16, 17, 23, 0.88), rgba(8, 9, 13, 0.94)),
    rgba(10, 10, 14, 0.8);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -8% -32% auto;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(214, 177, 111, 0.2), transparent 72%);
}

.panel-window {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: var(--copy-gap);
}

.panel-topline,
.panel-rows li,
.signal-stack li,
.plan-points li,
.contact-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-topline {
  margin-bottom: 0;
  color: var(--muted-soft);
  font-size: 0.92rem;
}

.status-pill,
.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-pill {
  background: var(--accent-soft);
  color: #d7f5ea;
}

.glass-pill {
  border: 1px solid rgba(214, 177, 111, 0.18);
  background: rgba(214, 177, 111, 0.08);
  color: var(--gold-bright);
}

.panel-headline {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.32rem, 1.85vw, 1.82rem);
  line-height: 1.08;
}

.panel-copy {
  margin: 0;
  color: var(--muted);
}

.panel-rows {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: grid;
  gap: 14px;
}

.panel-rows li,
.signal-stack li,
.plan-points li,
.contact-list li {
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.panel-key {
  color: var(--text);
  font-weight: 600;
}

.panel-value {
  color: #f0d171;
  font-weight: 700;
  text-align: right;
}

.section-block {
  padding: var(--section-space) 0 0;
}

.section-header {
  max-width: 70rem;
  display: grid;
  gap: var(--title-gap);
  margin-bottom: 36px;
}

.section-title {
  max-width: 28ch;
  margin-top: 0;
  font-size: clamp(1.64rem, 2.2vw, 2.24rem);
}

.solution-title {
  max-width: none;
}

.solution-title .title-line:first-child {
  white-space: nowrap;
}

.process-title {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.24em;
  white-space: nowrap;
}

.title-inline {
  display: inline;
}

.section-copy {
  max-width: 40rem;
  margin: 0;
  color: var(--muted);
}

.story-grid,
.pillars-grid,
.process-grid,
.pricing-grid,
.contact-grid,
.showcase-grid {
  display: grid;
  gap: var(--grid-gap);
}

.story-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.story-card,
.showcase-card,
.cta-panel,
.contact-card {
  display: flex;
  flex-direction: column;
  gap: var(--copy-gap);
  padding: var(--card-space);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(10, 10, 14, 0.76);
  box-shadow: var(--shadow-lg);
}

.story-card.large {
  min-height: 100%;
}

.story-card p,
.showcase-card p,
.cta-panel p,
.contact-card p {
  color: var(--muted);
}

.signal-stack,
.plan-points,
.contact-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: grid;
  gap: 12px;
}

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

.pillar-card,
.pricing-card,
.process-step,
.detail-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--copy-gap);
  padding: var(--card-space);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 12, 0.74);
  box-shadow: var(--shadow-lg);
}

.mini-label {
  display: inline-flex;
  margin: 0;
}

.pillar-card h3,
.pricing-card h3,
.process-step h3,
.detail-card h3,
.story-card h3,
.showcase-card h3 {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.35;
}

.pillar-card p,
.pricing-card p,
.process-step p,
.detail-card p {
  margin: 0;
  color: var(--muted);
}

.showcase-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
}

.detail-stack {
  display: grid;
  gap: var(--grid-gap);
}

.detail-card.featured {
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(214, 177, 111, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(8, 8, 12, 0.8);
}

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

.step-number {
  display: inline-flex;
  margin-bottom: 16px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
  color: var(--gold-bright);
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.pricing-card.featured {
  transform: translateY(-8px);
  border-color: rgba(214, 177, 111, 0.26);
  background:
    radial-gradient(circle at top center, rgba(214, 177, 111, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(8, 8, 12, 0.8);
}

.pricing-name {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.pricing-value {
  margin: 0;
  font-size: clamp(1.92rem, 2.8vw, 2.7rem);
  line-height: 1.02;
}

.pricing-value span {
  margin-left: 6px;
  font-size: 0.95rem;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  letter-spacing: 0;
}

.plan-points {
  margin-top: 8px;
}

.plan-points li {
  justify-content: flex-start;
  color: var(--muted);
}

.cta-section {
  padding-bottom: 20px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: auto auto -5rem -4rem;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(143, 198, 179, 0.14), transparent 70%);
}

.cta-panel h2 {
  font-size: clamp(1.52rem, 2.15vw, 2.12rem);
  line-height: 1.08;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.contact-card strong {
  font-size: 1.05rem;
}

.contact-card a {
  text-decoration: none;
}

.contact-list li {
  flex-wrap: wrap;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--muted-soft);
  font-size: 0.86rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(247, 241, 232, 0.36);
}

.footer {
  padding: 54px 0 64px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted-soft);
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  .hero-grid,
  .story-grid,
  .showcase-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 28px;
  }

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

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

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 820px) {
  .topbar {
    --topbar-height: 112px;
    border-radius: 28px;
    padding: 14px 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    transform: none;
  }

  .topbar-center {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
    transform: none;
  }

  .site-body main.site-shell {
    padding-top: calc(var(--topbar-height) + 18px);
  }

  .topnav {
    width: 100%;
    justify-content: center;
    gap: 10px 14px;
  }

  .topbar > .btn {
    position: static;
    right: auto;
    top: auto;
    margin-right: 0;
    transform: none;
  }

  .hero-section {
    min-height: auto;
    padding: 52px 0 54px;
    border-radius: 34px;
  }

  .hero-stats,
  .pillars-grid,
  .process-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section-block {
    padding-top: clamp(54px, 9vw, 72px);
  }

  .story-card,
  .cta-panel,
  .contact-card,
  .hero-panel {
    padding: 28px;
  }

  .section-header {
    gap: 12px;
    margin-bottom: 30px;
  }
}

@media (max-width: 640px) {
  .site-shell,
  .topbar {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .gateway-main,
  .hero-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-section {
    padding-top: 48px;
    padding-bottom: 48px;
    border-radius: 28px;
  }

  .hero-panel,
  .story-card,
  .showcase-card,
  .cta-panel,
  .contact-card,
  .pricing-card,
  .process-step,
  .pillar-card,
  .detail-card {
    padding: 24px;
  }

  .gateway-title {
    font-size: clamp(3.2rem, 16vw, 4.7rem);
  }

  .gateway-wordmark {
    gap: 12px;
  }

  .gateway-logo-inline {
    width: clamp(54px, 10vw, 70px);
    transform: translateY(4px);
  }

  .hero-title {
    font-size: clamp(1.94rem, 8vw, 2.8rem);
  }

  .hero-title .title-line {
    white-space: normal;
  }

  .hero-title .title-line + .title-line,
  .section-title .title-line + .title-line {
    margin-top: 0.14em;
  }

  .section-title,
  .cta-panel h2 {
    font-size: clamp(1.44rem, 7vw, 1.92rem);
  }

  .solution-title .title-line:first-child,
  .process-title {
    white-space: normal;
  }

  .process-title {
    gap: 0.16em;
  }

  .section-header {
    gap: 10px;
    margin-bottom: 28px;
  }

  .hero-actions,
  .contact-actions,
  .cta-actions {
    margin-top: 28px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
