:root {
  --font-body: "Outfit", sans-serif;
}

body {
  font-family: var(--font-body);
}

.section {
  padding: clamp(2rem, 4.5vw, 3.1rem) var(--pad);
}

.section-title {
  margin-bottom: 0.5rem;
}

.section-lead {
  margin-bottom: 0;
}

.eyebrow {
  margin-bottom: 0.4rem;
}

.portfolio-grid,
.stack-grid,
.diff-grid,
.logo-grid,
.faq-list {
  margin-top: 1.15rem;
}

.company {
  padding: 1.1rem 1.15rem;
  gap: 0.55rem;
}

.stack-item {
  padding: 1rem 0.15rem 1rem 0;
}

.diff {
  padding: 1.2rem 1.25rem;
}

#portfolio {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

.key-metrics {
  padding: clamp(1.35rem, 3vw, 1.85rem) var(--pad);
}

.hero {
  min-height: min(68vh, 640px);
  padding-top: 5.4rem;
  padding-bottom: 1.75rem;
  align-items: center;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.hero-copy {
  max-width: 46rem;
  overflow: visible;
}

.hero-copy .eyebrow,
.hero-copy .hero-sub,
.hero-copy .hero-dek {
  text-shadow:
    0 1px 2px #000,
    0 2px 10px #000,
    0 0 22px #000,
    0 0 36px #000c;
}

.hero-copy .brand-lockup {
  overflow: visible;
  padding-bottom: 0.12em;
  filter: drop-shadow(0 2px 8px #000) drop-shadow(0 0 16px #000) drop-shadow(0 0 28px #000);
}

.hero-sub {
  max-width: 34rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.45;
}

.hero-dek {
  max-width: 38rem;
  margin: 0.85rem 0 0;
  color: var(--muted, #9bb0c0);
  font-size: 1rem;
  line-height: 1.55;
}

.hero-turn {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  max-width: 22ch;
  margin: 0 0 1.25rem;
  font-size: clamp(1.55rem, 4.4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.22;
  background: linear-gradient(180deg, #fff 18%, #b8eef5 72%, var(--cyan) 100%);
  color: #0000;
  text-shadow: 0 0 80px #3ee0c826;
  -webkit-background-clip: text;
  background-clip: text;
}

.pivot-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.1rem;
  display: grid;
}

.pivot-grid .company {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.pivot-grid .company:hover .company-name {
  color: var(--cyan-bright);
}

.pivot-note {
  color: var(--cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.9rem;
  font-size: 0.72rem;
}

.work-lines {
  gap: 1.35rem;
  margin-top: 1.1rem;
  padding: 0;
  list-style: none;
  display: grid;
}

.work-lines li {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  border-left: 2px solid #7cf0ff73;
  max-width: 36rem;
  padding: 0.15rem 0 0.15rem 1.15rem;
  font-size: clamp(1.05rem, 2.3vw, 1.45rem);
  line-height: 1.45;
}

.apply-band {
  grid-template-columns: 1fr;
}

.apply-form {
  gap: 1rem;
  margin-top: 1.75rem;
  display: grid;
}

.form-row {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  display: grid;
}

.field {
  gap: 0.45rem;
  display: grid;
}

.field span {
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.65rem;
}

.field input,
.field textarea {
  border: 1px solid var(--line);
  background: #04090fcc;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  width: 100%;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #3ee0c873;
  box-shadow: 0 0 0 3px #3ee0c81f;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.apply-actions {
  margin-top: 0.35rem;
}

.footer-tag {
  color: var(--ink);
  letter-spacing: 0.04em;
  margin: 0.85rem 0 0.35rem;
}

.footer .logo-wordmark {
  width: 160px;
}

.staging-badge {
  z-index: 80;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
  color: #041018;
  background: var(--amber);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-family: var(--font-display);
  font-size: 0.58rem;
  box-shadow: 0 0 24px #e8c07a59;
  position: fixed;
  right: 0.85rem;
  bottom: 0.85rem;
}

@media (width <= 960px) {
  .pivot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (width <= 640px) {
  .pivot-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 5.5rem;
  }

  .staging-badge {
    right: 0.85rem;
    bottom: 0.85rem;
  }
}

.hero-bg {
  background:
    radial-gradient(42% 38% at 72% 42%, #3ee0c828, #0000 70%),
    radial-gradient(28% 30% at 58% 36%, #9b7bff22, #0000 68%),
    radial-gradient(22% 24% at 80% 30%, #e8c07a1a, #0000 70%),
    radial-gradient(70% 60% at 65% 40%, #1e469659, #0000 65%),
    radial-gradient(50% 45% at 25% 70%, #14327833, #0000 60%),
    linear-gradient(160deg, #02060f 0%, #07122a 45%, #040910 100%);
}

.nav-icon {
  color: var(--ink) !important;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.nav-icon svg {
  width: 18px;
  height: 18px;
}

.nav-icon:hover {
  color: #0a66c2 !important;
}

.nav-icon.nav-youtube {
  color: #fff !important;
}

.nav-icon.nav-youtube:hover {
  color: #fff !important;
  background: #ffffff14;
}

@media (width <= 820px) {
  .nav-links .nav-icon {
    width: 44px;
    height: 44px;
    margin: 0.25rem auto 0;
  }
}

.hero .eyebrow {
  max-width: 36rem;
  white-space: normal;
  line-height: 1.55;
  letter-spacing: 0.12em;
}

.hero-inner {
  display: block;
  z-index: 3;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.ionic-field {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: auto;
  height: 100%;
  min-height: 100%;
  cursor: grab;
  touch-action: none;
}

.ionic-field.is-dragging {
  cursor: grabbing;
}

.ionic-field .ionic-mark {
  pointer-events: auto;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0;
}

.hero-shade {
  background:
    linear-gradient(105deg, #04090fb0 0%, #04090f33 40%, #04090f10 72%, #04090f40 100%),
    linear-gradient(#04090f14 0%, #04090f2e 58%, #04090fd4 100%);
}

@media (width <= 820px) {
  body,
  .nav,
  .nav a,
  .section,
  .footer,
  .footer a,
  .key-metrics,
  .stat-label,
  .company,
  .faq-item {
    text-shadow:
      0 1px 2px #000,
      0 2px 8px #000,
      0 0 16px #000a;
  }

  .hero {
    min-height: min(78vh, 640px);
    padding-top: 5rem;
    padding-bottom: 1.5rem;
  }

  .hero-inner {
    display: block;
    min-height: 0;
  }

  .hero-copy {
    position: relative;
    z-index: 3;
  }

  .hero-copy,
  .hero-copy p,
  .hero-copy .eyebrow,
  .hero-copy .hero-sub,
  .hero-copy .hero-dek {
    text-shadow:
      -1px 0 0 #000,
      1px 0 0 #000,
      0 -1px 0 #000,
      0 1px 0 #000,
      -1px -1px 0 #000,
      1px 1px 0 #000,
      0 2px 3px #000,
      0 0 10px #000,
      0 0 22px #000,
      0 0 36px #000;
  }

  .hero-copy .brand-lockup {
    text-shadow: none;
    filter:
      drop-shadow(-1px 0 0 #000)
      drop-shadow(1px 0 0 #000)
      drop-shadow(0 1px 0 #000)
      drop-shadow(0 2px 4px #000)
      drop-shadow(0 0 12px #000)
      drop-shadow(0 0 24px #000);
  }

  .hero-copy .eyebrow {
    color: #ffffff;
    text-shadow:
      -1px 0 0 #000,
      1px 0 0 #000,
      0 -1px 0 #000,
      0 1px 0 #000,
      -1px -1px 0 #000,
      1px 1px 0 #000,
      0 2px 3px #000,
      0 0 10px #000,
      0 0 22px #000,
      0 0 36px #000;
  }

  .hero-copy .eyebrow:before {
    background: #7cf0ff;
    box-shadow: 0 0 8px #7cf0ff;
  }

  .hero-copy .hero-sub,
  .hero-copy .hero-dek {
    color: #f4fbff;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, #04090ff2 0%, #04090fe8 38%, #04090fd6 68%, #04090ff5 100%);
  }

  .ionic-field {
    pointer-events: none;
    cursor: default;
    z-index: 1;
    inset: 0;
    width: auto;
    height: auto;
    min-height: 0;
    position: absolute;
    opacity: 0.22;
  }

  .ionic-field .ionic-mark {
    pointer-events: none;
  }
}

.about-photo {
  aspect-ratio: 1 / 1;
}
.about-photo img {
  object-fit: cover;
  object-position: center 62%;
}


.logo-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (width <= 960px) {
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (width <= 640px) {
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-tile { padding: 0.9rem 0.55rem; min-height: 118px; }
  .logo-tile-name { font-size: 0.58rem; }
}
