:root {
  --bg: #050816;
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.48);
  --border: rgba(255, 255, 255, 0.1);
  --violet: #c4b5fd;
  --blue: #bfdbfe;
  --cyan: #cffafe;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

.bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bg-radial {
  background:
    radial-gradient(circle at 15% 20%, rgba(124, 58, 237, 0.24), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(37, 99, 235, 0.18), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(96, 165, 250, 0.12), transparent 38%);
}

.bg-overlay {
  background: linear-gradient(180deg, rgba(5, 8, 22, 0.72) 0%, rgba(5, 8, 22, 0.9) 45%, rgba(5, 8, 22, 0.98) 100%);
}

.bg-grid {
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 72px 72px;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(48px);
  pointer-events: none;
}

.glow-left {
  left: 9%;
  top: 7rem;
  width: 8rem;
  height: 8rem;
  background: rgba(139, 92, 246, 0.2);
}

.glow-right {
  right: 9%;
  top: 8rem;
  width: 10rem;
  height: 10rem;
  background: rgba(59, 130, 246, 0.2);
}

.glow-bottom {
  left: 50%;
  bottom: 4rem;
  width: 14rem;
  height: 14rem;
  transform: translateX(-50%);
  background: rgba(129, 140, 248, 0.1);
}

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
}

.header-inner,
.hero-grid,
.footer-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.brand-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.monogram-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.mono-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.07);
  color: #fff;
  font-size: 8px;
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand-copy {
  min-width: 0;
}

.brand-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-wordmark {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.46em;
}

.brand-rule {
  display: none;
  width: 3rem;
  height: 1px;
  background: linear-gradient(to right, rgba(196,181,253,0.6), rgba(191,219,254,0.6));
}

.brand-subtitle {
  margin-top: 0.35rem;
  color: rgba(255,255,255,0.45);
}

.brand-subtitle.desktop-only {
  display: none;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.38em;
}

.brand-subtitle.mobile-only {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255,255,255,0.52);
}

.header-pill {
  display: none;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.78);
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  white-space: nowrap;
  isolation: isolate;
}

.hero {
  flex: 1;
  padding: 4rem 0 5rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.hero-left {
  width: 100%;
  max-width: 100%;
}

.hero-right {
  width: 100%;
  max-width: 100%;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(196,181,253,0.2);
  background: rgba(196,181,253,0.1);
  color: #ede9fe;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(46, 16, 101, 0.2);
}

.eyebrow-text {
  margin: 0 0 1rem;
  color: rgba(255,255,255,0.42);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.42em;
}

h1 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  line-height: 1.01;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 42rem;
  margin-top: 1.5rem;
  color: var(--text-soft);
  font-size: 1.125rem;
  line-height: 1.9;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.service-tags span {
  position: relative;
  overflow: hidden;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  transition:
    background-color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-tags span::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(196,181,253,0.00),
    rgba(196,181,253,0.10),
    rgba(191,219,254,0.10)
  );
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.service-tags span:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(196,181,253,0.18);
  box-shadow: 0 10px 24px rgba(8, 15, 30, 0.16);
}

.service-tags span:hover::before {
  opacity: 1;
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(to right, #8b5cf6, #6366f1, #3b82f6);
  color: #fff;
  box-shadow: 0 20px 40px rgba(46, 16, 101, 0.3);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.9);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

.info-column {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}

.info-card {
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  border-radius: 1.8rem;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  min-height: 100%;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      135deg,
      rgba(196,181,253,0.00) 0%,
      rgba(196,181,253,0.10) 28%,
      rgba(191,219,254,0.10) 58%,
      rgba(207,250,254,0.08) 100%
    );
  opacity: 0;
  transform: scale(0.985);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.info-card::after {
  content: "";
  position: absolute;
  inset: -20%;
  border-radius: 999px;
  background:
    radial-gradient(
      circle at 20% 25%,
      rgba(196,181,253,0.20) 0%,
      rgba(196,181,253,0.10) 18%,
      rgba(196,181,253,0.00) 52%
    );
  opacity: 0;
  transform: translate3d(-8px, 8px, 0) scale(0.96);
  filter: blur(12px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196,181,253,0.20);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 18px 38px rgba(8, 15, 30, 0.24);
}

.info-card:hover::before {
  opacity: 1;
  transform: scale(1);
}

.info-card:hover::after {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.info-card > * {
  position: relative;
  z-index: 1;
}

.card-label {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: rgba(255,255,255,0.45);
}

.info-card h3 {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.5rem;
}

.info-card p:last-child {
  margin: 0;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
}

.site-footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-inner p {
  margin: 0;
}

/* subtle motion */

@keyframes pillSheen {
  0% {
    transform: translateX(-160%) skewX(-20deg);
    opacity: 0;
  }
  10% {
    opacity: 0;
  }
  18% {
    opacity: 0.9;
  }
  34% {
    opacity: 0.9;
  }
  48% {
    transform: translateX(220%) skewX(-20deg);
    opacity: 0;
  }
  100% {
    transform: translateX(220%) skewX(-20deg);
    opacity: 0;
  }
}

@keyframes softFloatUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header,
.hero-left,
.hero-right,
.site-footer {
  animation: softFloatUp 0.8s ease-out both;
}

.hero-left {
  animation-delay: 0.08s;
}

.hero-right {
  animation-delay: 0.16s;
}

.site-footer {
  animation-delay: 0.24s;
}

.header-pill::before {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -35%;
  width: 42%;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(196,181,253,0.0) 15%,
    rgba(196,181,253,0.28) 42%,
    rgba(191,219,254,0.45) 50%,
    rgba(255,255,255,0.22) 58%,
    rgba(255,255,255,0) 100%
  );
  filter: blur(8px);
  transform: translateX(-160%) skewX(-20deg);
  animation: pillSheen 4.8s ease-in-out infinite;
  pointer-events: none;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 2.5rem;
  }

  .brand-rule,
  .brand-subtitle.desktop-only {
    display: block;
  }

  .brand-subtitle.mobile-only {
    display: none;
  }

  .brand-wordmark {
    font-size: 1.35rem;
    letter-spacing: 0.52em;
  }

  .eyebrow-pill {
    font-size: 12px;
  }

  .cta-row {
    flex-direction: row;
    align-items: center;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .header-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 4rem;
  }

  .hero {
    padding: 5rem 0 6rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 10fr) minmax(240px, 2fr);
    align-items: start;
    gap: 2.5rem;
  }

  .hero-right {
    max-width: 240px;
    justify-self: end;
  }

  .info-column {
    grid-template-columns: 1fr;
    margin-top: 60px;
  }
}

@media (max-width: 1023px) {
  .hero-right {
    width: 100%;
  }

  .info-column {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .hero-left,
  .hero-right,
  .site-footer {
    animation: none;
  }

  .header-pill::before {
    animation: none;
  }

  .info-card,
  .info-card::before,
  .info-card::after,
  .service-tags span,
  .service-tags span::before {
    transition: none;
  }

  .info-card:hover,
  .service-tags span:hover {
    transform: none;
  }
}

@media (max-width: 767px) {
  .info-column {
    grid-template-columns: 1fr;
  }
}