:root {
  --ink: #101223;
  --muted: #59607a;
  --white: #fbfbff;
  --line: rgba(16, 18, 35, 0.12);
  --shadow: 0 28px 80px rgba(16, 18, 35, 0.14);
  --red: #ff6a7d;
  --amber: #ffb454;
  --mint: #78f0c5;
  --blue: #59b1ff;
  --violet: #b68cff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 106, 125, 0.16), transparent 22rem),
    radial-gradient(circle at 86% 18%, rgba(89, 177, 255, 0.18), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #f7f7ff 40%, #fff8fb 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 18, 35, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 18, 35, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

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

#spectrum {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 14px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 16px 44px rgba(16, 18, 35, 0.08);
  backdrop-filter: blur(20px);
}

.brand,
.nav,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red), var(--amber), var(--mint), var(--blue), var(--violet));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.nav {
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(16, 18, 35, 0.05);
}

.nav a,
.owner {
  min-height: 38px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #353b53;
  font-size: 0.9rem;
  font-weight: 800;
}

.nav a:hover,
.owner:hover {
  background: rgba(255, 255, 255, 0.8);
}

.owner {
  justify-self: end;
  border: 1px solid rgba(16, 18, 35, 0.08);
}

main,
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 1.12fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 94px);
  padding: 58px 0 42px;
}

.eyebrow,
.section-heading span,
.method-card span,
.contact-copy span,
.owner-band span,
.service-strip span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow,
.section-heading span,
.method-card span,
.contact-copy span,
.owner-band span {
  color: var(--blue);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 24px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(4.2rem, 9.6vw, 9rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 0.96;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
}

.hero-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.8vw, 1.24rem);
  line-height: 1.72;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  margin-top: 18px;
  padding: 15px 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 18px 42px rgba(16, 18, 35, 0.2);
  font-weight: 900;
}

.prism-stage {
  position: relative;
  min-height: 620px;
  border-radius: 42px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.beam {
  position: absolute;
  top: 50%;
  left: 10%;
  height: 10px;
  border-radius: 999px;
  transform-origin: left center;
}

.beam.white {
  width: 48%;
  background: linear-gradient(90deg, rgba(255,255,255,1), rgba(255,255,255,0));
  transform: translateY(-50%) rotate(-18deg);
}

.beam.red,
.beam.amber,
.beam.mint,
.beam.blue,
.beam.violet {
  width: 56%;
  left: 44%;
  transform: translateY(-50%);
  filter: blur(0.2px);
}

.beam.red { top: 34%; background: linear-gradient(90deg, var(--red), transparent); transform: rotate(-12deg); }
.beam.amber { top: 42%; background: linear-gradient(90deg, var(--amber), transparent); transform: rotate(-5deg); }
.beam.mint { top: 50%; background: linear-gradient(90deg, var(--mint), transparent); }
.beam.blue { top: 58%; background: linear-gradient(90deg, var(--blue), transparent); transform: rotate(6deg); }
.beam.violet { top: 66%; background: linear-gradient(90deg, var(--violet), transparent); transform: rotate(12deg); }

.glass-panel {
  position: absolute;
  right: 26px;
  bottom: 26px;
  left: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.glass-panel span {
  min-height: 84px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.48);
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.services,
.method,
.owner-band,
.contact-section {
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 46px;
  align-items: start;
  margin-bottom: 40px;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(16, 18, 35, 0.08);
  border-radius: 34px;
  background: rgba(16, 18, 35, 0.08);
  overflow: hidden;
}

.service-strip article {
  min-height: 260px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.6);
}

.service-strip p,
.method-card p,
.owner-band p {
  color: var(--muted);
  line-height: 1.7;
}

.method {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.method-card {
  min-height: 240px;
  padding: 24px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 38px rgba(16, 18, 35, 0.06);
}

.method-card.intro {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(89, 177, 255, 0.14), rgba(255, 126, 103, 0.12)), rgba(255, 255, 255, 0.72);
}

.method-card strong {
  display: block;
  margin: 70px 0 12px;
  font-size: 1.56rem;
}

.owner-band {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 38px;
  align-items: end;
}

.owner-band p {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 1.08rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 42px;
  align-items: end;
  padding-bottom: 112px;
}

.contact-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: var(--shadow);
}

.contact-panel a {
  min-height: 58px;
  padding: 17px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-panel a:hover {
  background: var(--ink);
  color: var(--white);
}

.footer {
  min-height: 82px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .header {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .hero,
  .section-heading,
  .owner-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .service-strip,
  .method {
    grid-template-columns: 1fr;
  }

  .method-card.intro {
    grid-column: auto;
  }

  .method-card strong {
    margin-top: 34px;
  }
}

@media (max-width: 560px) {
  main,
  .header,
  .footer {
    width: min(100% - 22px, 1180px);
  }

  .header {
    top: 8px;
    margin-top: 8px;
  }

  .owner {
    display: none;
  }

  .nav a {
    flex: 1;
    padding: 10px 8px;
    text-align: center;
  }

  h1 {
    font-size: clamp(3.8rem, 18vw, 6.4rem);
  }

  .hero {
    padding-top: 44px;
  }

  .prism-stage {
    min-height: 420px;
  }

  .glass-panel {
    grid-template-columns: 1fr;
  }

  .services,
  .method,
  .owner-band,
  .contact-section {
    padding: 62px 0;
  }

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

  .footer {
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
