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

:root {
  --bg-dark: #050508;
  --bg-light: #f4f4f7;
  --accent: #f9b233;
  --accent-soft: rgba(249, 178, 51, 0.16);
  --text-main: #ffffff;
  --text-muted: #a3a3bb;
  --border-subtle: rgba(255, 255, 255, 0.12);
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  min-height: 100%;
}

body {
  overscroll-behavior-y: none;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  color: var(--text-main);
}

/* Background layers: fake 3D & dark->light gradient */

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.bg-layer--dark {
  background:
    radial-gradient(circle at top, #1a1a26 0, #050508 46%),
    linear-gradient(135deg, #161623 0, #050508 60%);
}

.bg-layer--light {
  background:
    radial-gradient(circle at bottom, #ffffff 0, #dedee8 40%, #f4f4f7 80%);
  mask-image: linear-gradient(145deg, transparent 0, transparent 45%, black 75%);
  -webkit-mask-image: linear-gradient(145deg, transparent 0, transparent 45%, black 75%);
  opacity: 0;
}

/* Header / nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 10px;
}

.menu-toggle {
  width: 30px;
  height: 24px;
  border: none;
  background: none;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: #ffffff;
}

.logo-lockup {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
}

.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.logo-type {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.logo-type span {
  color: var(--accent);
}

.play-reel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: none;
  padding: 0;
  color: #7c7c8e;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
}

.play-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 11px;
}

/* Sections */

.section {
  position: relative;
  padding: 32px 18px 40px;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 0.9fr);
  column-gap: 20px;
  row-gap: 20px;
  align-items: center;
  margin-top: 12px;
}

.hero-left {
  align-self: flex-start;
}

.hero-right {
  align-self: flex-start;
}

.hero-heading {
  margin: 2px 0 10px;
  font-size: 40px;
  letter-spacing: 0.12em;
  line-height: 1.02;
  text-transform: uppercase;
}

.hero-heading span {
  display: block;
}

.eyebrow {
  margin: 0 0 4px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--accent);
}

.hero-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.hero-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.2), transparent 60%),
    radial-gradient(circle at 60% 95%, rgba(249, 178, 51, 0.22), transparent 70%);
  overflow: hidden;
}

.hero-ring::before {
  content: "";
  position: absolute;
  inset: -40%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(249, 178, 51, 0.06),
    rgba(249, 178, 51, 0.7),
    rgba(249, 178, 51, 0.06)
  );
  opacity: 0.9;
}

.hero-ring-inner {
  width: 54%;
  height: 54%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 10%, #ffffff, #d3d3de);
}

/* Hero bottom */

.hero-bottom {
  margin-top: 34px;
}

.hero-bottom-label {
  font-size: 26px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  -webkit-text-stroke: 1px #262630;
  color: transparent;
}

.hero-bottom-label span {
  display: block;
}

.hero-bottom-ctas {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.view-all-link {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #6a6a7a;
  text-decoration: none;
}

.view-all-link:hover {
  color: #9191a5;
}

/* CTA pills */

.pill-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-decoration: none;
  cursor: pointer;
  border-width: 2px;
  border-style: solid;
  transition: background 0.18s ease-out, color 0.18s ease-out,
    transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.pill-cta--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #19191e;
}

.pill-cta--outline {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.pill-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.pill-cta--primary:hover {
  background: #ffc14a;
}

.pill-cta--outline:hover {
  background: rgba(0, 0, 0, 0.82);
}

.pill-icon {
  font-size: 13px;
}

/* Capabilities map */

.section--capabilities {
  padding-top: 60px;
}

.section-header {
  max-width: 720px;
  margin: 0 auto;
}

.section-header h2 {
  margin: 4px 0 8px;
  font-size: 30px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-header h2 span {
  display: block;
}

.section-sub {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.cap-map {
  margin: 32px auto 0;
  max-width: 720px;
  min-height: 260px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: radial-gradient(circle at top, #181826 0, #050508 70%);
  position: relative;
  overflow: hidden;
}

.cap-node {
  position: absolute;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 8, 14, 0.92);
  font-size: 12px;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(20px);
}

.cap-node__icon {
  font-size: 16px;
}

.cap-node--center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.cap-node--top-left {
  left: 7%;
  top: 16%;
}

.cap-node--top-right {
  right: 7%;
  top: 20%;
}

.cap-node--bottom-left {
  left: 9%;
  bottom: 14%;
}

.cap-node--bottom-right {
  right: 9%;
  bottom: 16%;
}

.cap-lines {
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
}

.cap-line {
  fill: none;
  stroke: url(#lineGradient);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
}

/* Work section (light) */

.section--work {
  margin-top: 40px;
}

.section--work::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    transparent 0%,
    transparent 40%,
    rgba(244, 244, 247, 0.96) 75%
  );
  pointer-events: none;
  z-index: -1;
}

.work-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.work-card {
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  color: #1a1a24;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.26);
  opacity: 0;
  transform: translateY(30px);
}

.work-thumb {
  height: 170px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.work-thumb--one {
  background-image: linear-gradient(135deg, #ffbdf2, #8f8fff);
}

.work-thumb--two {
  background-image: linear-gradient(135deg, #7df0ff, #ffe37a);
}

.work-thumb--three {
  background-image: linear-gradient(135deg, #ffd0a8, #ff7d7d);
}

.thumb-overlay {
  position: absolute;
  inset: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #ffffff;
}

.work-meta {
  padding: 14px 16px 14px;
  font-size: 13px;
}

.work-meta h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.work-meta p {
  margin: 0;
  color: #4c4c5a;
}

/* Contact */

.section--contact {
  padding-bottom: 60px;
}

.section--contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #f4f4f7;
  z-index: -1;
}

.contact-layout {
  margin-top: 24px;
  max-width: 720px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 22px;
}

.contact-email {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  color: #20202a;
  border-bottom: 2px solid #20202a;
}

.contact-row {
  margin-top: 12px;
  font-size: 13px;
  color: #44445a;
}

.contact-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #7d7d90;
  margin-bottom: 2px;
}

.contact-side {
  font-size: 13px;
  color: #424255;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.7);
  color: #20202a;
  text-decoration: none;
  font-size: 11px;
}

.pill-link:hover {
  background: #20202a;
  color: #ffffff;
}

.contact-note {
  margin: 8px 0 0;
}

/* Footer */

.site-footer {
  padding: 16px 18px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 11px;
  color: #7a7a8c;
}

/* Animation hooks (for GSAP) */

.js-fade-up,
.js-heading-split,
.js-orbit,
.js-card,
.js-node {
  will-change: transform, opacity;
}

/* Responsive */

@media (min-width: 768px) {
  .section {
    padding-inline: 40px;
  }

  .hero-heading {
    font-size: 56px;
  }

  .hero-bottom-label {
    font-size: 32px;
  }

  .hero-ring {
    width: 190px;
    height: 190px;
  }

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

@media (min-width: 1040px) {
  .section {
    padding-inline: 64px;
  }

  .hero {
    padding-top: 40px;
  }
}
