:root {
  --bg: #020516;
  --bg-soft: #060a1f;
  --panel: #070d25;
  --panel-strong: #09112f;
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.28);
  --cream: #fff1cd;
  --text: #f4e8d7;
  --muted: #cbb7df;
  --pink: #ff3ea8;
  --orange: #ff8d35;
  --yellow: #ffe54a;
  --green: #86ef63;
  --cyan: #02e3cf;
  --blue: #1aa7ff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(3, 7, 27, 0.96), rgba(1, 3, 14, 1) 45%, rgba(2, 5, 22, 1)),
    var(--bg);
  font-family: Avenir Next, Avenir, Inter, Segoe UI, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 70%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100% - 48px));
  min-height: 98px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 5, 22, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 120px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255, 62, 168, 0.4));
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  color: var(--cream);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-line,
.eyebrow,
.spark,
.number,
.status,
.progress-badge,
.footer-words {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-line,
.gradient-text,
.spark,
.number,
.footer-words {
  color: transparent;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow), var(--green), var(--cyan));
  background-clip: text;
  -webkit-background-clip: text;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  color: var(--cream);
  opacity: 0.9;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--pink), var(--yellow), var(--cyan));
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.progress-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  color: var(--cream);
  border: 1px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(90deg, var(--pink), var(--yellow), var(--cyan)) border-box;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.section {
  position: relative;
  padding: 72px 0;
}

.section.compact {
  padding-top: 34px;
}

.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  padding-top: 64px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  align-items: center;
  gap: 54px;
  min-height: 610px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
}

.hero h1,
.section-heading h2,
.about-copy h2,
.contact-hero h2,
.footer-cta h2 {
  margin: 0;
  color: var(--cream);
  font-weight: 900;
  line-height: 1.02;
}

.hero h1 {
  max-width: 620px;
  font-size: 4.65rem;
  text-transform: uppercase;
}

.hero h1 span,
.contact-hero h2 span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow), var(--green), var(--cyan));
  background-clip: text;
  -webkit-background-clip: text;
}

.accent-line,
.mini-line {
  width: 72px;
  height: 2px;
  margin: 28px 0;
  background: linear-gradient(90deg, var(--pink), var(--yellow), var(--cyan));
}

.lead {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 26px;
  color: var(--cream);
  border: 1px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(90deg, var(--pink), var(--yellow), var(--cyan)) border-box;
  font-size: 0.92rem;
  font-weight: 850;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 62, 168, 0.13);
}

.button svg,
.site-footer svg,
.feature-card svg,
.contact-hero svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  color: var(--cream);
}

.button-secondary {
  color: var(--text);
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(90deg, rgba(255, 255, 255, 0.46), var(--cyan)) border-box;
}

.button.full {
  width: 100%;
}

.note-line {
  margin: 30px 0 0;
  color: #d9a7ef;
}

.hero-art {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 6% 4% 0 4%;
  border: 1px solid rgba(0, 227, 207, 0.08);
  border-radius: 8px;
  opacity: 0.6;
}

.hero-art img {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
  clip-path: inset(0 0 0 14px);
  filter: drop-shadow(0 30px 70px rgba(255, 62, 168, 0.18));
}

.feature-grid,
.service-grid,
.project-grid,
.values-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.service-card,
.project-card,
.statement-list,
.values-grid article,
.contact-form,
.contact-panel,
.library-flow,
.process-strip article,
.response-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(7, 13, 37, 0.96), rgba(4, 8, 27, 0.96)),
    var(--panel);
  box-shadow: var(--shadow);
}

.feature-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 26px;
  align-items: center;
  min-height: 166px;
  padding: 28px;
}

.icon-ring {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--pink);
  background: rgba(255, 62, 168, 0.05);
}

.icon-ring.cyan {
  color: var(--cyan);
  background: rgba(2, 227, 207, 0.05);
}

.icon-ring.rainbow {
  color: var(--cream);
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(135deg, var(--pink), var(--orange), var(--green), var(--cyan)) border-box;
  border-color: transparent;
}

.icon-ring svg {
  width: 50px;
  height: 50px;
}

.feature-card h2,
.service-card h3,
.project-card h3,
.statement-list h3,
.values-grid h3,
.contact-form h3,
.contact-panel h3,
.process-strip h3,
.library-flow h3 {
  margin: 0;
  color: var(--cream);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.feature-card p,
.service-card p,
.project-card p,
.statement-list p,
.values-grid p,
.process-strip p,
.library-flow span,
.contact-panel p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-card .mini-line {
  width: 58px;
  margin: 14px 0 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-heading.slim {
  margin-bottom: 18px;
}

.section-heading h2,
.contact-hero h2 {
  font-size: 2.45rem;
}

.section-heading p:not(.spark),
.contact-hero p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
}

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

.service-card,
.project-card {
  min-height: 212px;
  padding: 28px;
}

.service-card,
.project-card,
.values-grid article,
.feature-card {
  position: relative;
  overflow: hidden;
}

.service-card::before,
.project-card::before,
.values-grid article::before,
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(255, 62, 168, 0.16);
  pointer-events: none;
}

.number {
  display: inline-block;
  margin-bottom: 12px;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.process-strip article {
  position: relative;
  min-height: 170px;
  padding: 28px;
}

.process-dot {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--bg);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--yellow), var(--cyan));
  font-weight: 900;
}

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

.project-card.image-card {
  background:
    linear-gradient(145deg, rgba(17, 11, 52, 0.84), rgba(4, 25, 38, 0.82)),
    linear-gradient(135deg, rgba(255, 62, 168, 0.12), rgba(2, 227, 207, 0.14));
}

.status {
  display: inline-flex;
  width: fit-content;
  margin-top: 22px;
  padding: 7px 12px;
  color: #f2b5ff;
  border: 1px solid rgba(255, 62, 168, 0.72);
  border-radius: 6px;
}

.status.active {
  color: var(--yellow);
  border-color: rgba(255, 229, 74, 0.72);
}

.library-flow {
  margin-top: 18px;
  padding: 30px;
}

.library-flow h3 {
  color: transparent;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow), var(--green), var(--cyan));
  background-clip: text;
  -webkit-background-clip: text;
}

.library-flow ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.library-flow li {
  position: relative;
  min-height: 92px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.library-flow strong {
  display: block;
  color: var(--cream);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(430px, 1fr);
  gap: 34px;
  align-items: stretch;
}

.about-copy {
  padding-top: 24px;
}

.about-copy h2 {
  font-size: 2.6rem;
  color: transparent;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--green), var(--cyan));
  background-clip: text;
  -webkit-background-clip: text;
}

.about-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.statement-list {
  display: grid;
  gap: 22px;
  padding: 34px;
}

.statement-list article {
  padding-left: 28px;
  border-left: 2px solid transparent;
  border-image: linear-gradient(var(--pink), var(--yellow), var(--cyan)) 1;
}

.values-block {
  margin-top: 34px;
}

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

.values-grid article {
  min-height: 170px;
  padding: 28px;
}

.contact-section {
  border-top: 1px solid var(--line);
}

.contact-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.contact-hero > div {
  max-width: 720px;
}

.contact-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
}

.contact-form,
.contact-panel {
  padding: 28px;
}

.contact-form h3,
.contact-panel h3 {
  margin-bottom: 22px;
}

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

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(3, 7, 27, 0.76);
  outline: none;
}

input,
select {
  min-height: 58px;
  padding: 0 18px;
}

textarea {
  min-height: 170px;
  padding: 18px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(2, 227, 207, 0.12);
}

.contact-panel {
  display: grid;
  gap: 14px;
}

.contact-panel a {
  display: grid;
  gap: 3px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
}

.contact-panel a span,
.response-card strong {
  color: var(--cream);
  font-weight: 850;
  text-transform: uppercase;
}

.response-card {
  padding: 18px;
  border-color: rgba(255, 229, 74, 0.5);
}

.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 24px;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: 330px 1fr auto;
  gap: 42px;
  align-items: center;
}

.footer-brand .brand-mark {
  width: 104px;
  height: 90px;
}

.footer-cta {
  padding-left: 42px;
  border-left: 1px solid var(--line);
}

.footer-cta h2 {
  font-size: 1.75rem;
}

.footer-cta p {
  margin: 8px 0 22px;
  color: var(--muted);
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-links a,
.social-links span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--cream);
  border: 1px solid transparent;
  border-radius: 50%;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(135deg, var(--pink), var(--yellow), var(--cyan)) border-box;
}

.footer-words {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin: 34px 0 0;
}

.footer-words span {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-top: 8px;
  border-radius: 50%;
  background: currentColor;
}

@media (max-width: 1040px) {
  .site-header {
    width: min(100% - 32px, 940px);
  }

  .brand-mark {
    width: 88px;
  }

  .brand-name {
    font-size: 1.28rem;
  }

  .site-nav {
    gap: 18px;
    font-size: 0.78rem;
  }

  .hero-grid,
  .about-layout,
  .contact-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 26px;
    min-height: 0;
  }

  .hero h1 {
    font-size: 3.7rem;
  }

  .hero-art {
    min-height: 360px;
  }

  .hero-art img {
    min-height: 360px;
  }

  .feature-grid,
  .service-grid,
  .project-grid,
  .values-grid,
  .process-strip,
  .library-flow ol {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-hero {
    align-items: start;
    flex-direction: column;
  }

  .footer-cta {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .site-header {
    width: calc(100% - 28px);
    min-height: 82px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 68px;
    height: 52px;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .brand-line {
    font-size: 0.66rem;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    width: min(310px, calc(100vw - 28px));
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(3, 7, 27, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    gap: 18px;
  }

  .site-nav a::after {
    bottom: -5px;
  }

  .progress-badge {
    justify-content: center;
  }

  .section,
  .hero {
    padding: 52px 0;
  }

  .section-inner {
    width: calc(100% - 28px);
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-hero h2 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1rem;
  }

  .button-row {
    margin-top: 30px;
  }

  .button {
    width: 100%;
    min-height: 54px;
  }

  .hero-art,
  .hero-art img {
    min-height: 300px;
  }

  .feature-grid,
  .service-grid,
  .project-grid,
  .values-grid,
  .process-strip,
  .library-flow ol,
  .form-row {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-template-columns: 82px 1fr;
    padding: 22px;
  }

  .icon-ring {
    width: 74px;
    height: 74px;
  }

  .icon-ring svg {
    width: 40px;
    height: 40px;
  }

  .service-card,
  .project-card,
  .statement-list,
  .values-grid article,
  .contact-form,
  .contact-panel,
  .library-flow,
  .process-strip article {
    padding: 22px;
  }

  .footer-main {
    gap: 28px;
  }

  .social-links {
    justify-content: flex-start;
  }

  .footer-words {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px;
  }
}

@media (max-width: 440px) {
  .brand-copy {
    max-width: 188px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-hero h2 {
    font-size: 1.72rem;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .hero-art,
  .hero-art img {
    min-height: 250px;
  }
}
