:root {
  color-scheme: light;
  --graphite: #1f1f1f;
  --white-broken: #fbf5f2;
  --fuchsia: #da1361;
  --violet: #7c3aed;
  --cyan: #00c2a8;
  --ink-soft: #595554;
  --line: color-mix(in srgb, var(--graphite) 13%, transparent);
  --surface: #ffffff;
  --shadow: 0 28px 80px rgb(31 31 31 / 13%);
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgb(218 19 97 / 13%), transparent 22rem),
    linear-gradient(135deg, #ffffff 0%, var(--white-broken) 100%);
  color: var(--graphite);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgb(31 31 31 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(31 31 31 / 4%) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  transform: translateY(-150%);
  padding: .7rem 1rem;
  border-radius: var(--radius);
  background: var(--graphite);
  color: white;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: rgb(251 245 242 / 86%);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2rem, var(--max));
  min-height: 72px;
  margin: 0 auto;
  gap: 1rem;
}

.brand-mark,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .16em;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.michi-symbol {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--fuchsia);
}

.michi-symbol-inline {
  width: .9em;
  height: .9em;
  transform: translateY(.04em);
}

.michi-symbol-hero {
  width: clamp(9rem, 18vw, 13rem);
  height: clamp(9rem, 18vw, 13rem);
  filter: drop-shadow(0 16px 26px rgb(218 19 97 / 38%));
}

.michi-symbol img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-menu a {
  color: var(--ink-soft);
  font-size: .85rem;
  font-weight: 750;
  text-decoration: none;
  text-transform: uppercase;
  text-wrap: nowrap;
}

.site-menu a:hover {
  color: var(--fuchsia);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--graphite);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.nav-toggle-bars::before {
  transform: translateY(-7px);
}

.nav-toggle-bars::after {
  transform: translateY(5px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .95fr);
  align-items: center;
  width: min(100% - 2rem, var(--max));
  min-height: calc(100svh - 72px);
  margin: 0 auto;
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-index,
.card-kicker {
  margin: 0 0 1rem;
  color: var(--fuchsia);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: min(100%, 11ch);
  margin-bottom: 1.2rem;
  font-size: clamp(2.75rem, 7vw, 5.85rem);
  line-height: .9;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: .96;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: .7rem;
  font-size: 1.25rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.text-fuchsia {
  color: var(--fuchsia);
}

.text-nowrap {
  white-space: nowrap;
}

.brand-inline {
  color: var(--fuchsia);
  letter-spacing: .02em;
}

.hero-lede {
  max-width: min(100%, 38rem);
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 46px;
  padding: .8rem 1.05rem;
  border: 1px solid var(--graphite);
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  border-color: var(--fuchsia);
  background: var(--fuchsia);
  color: white;
}

.button-secondary {
  background: transparent;
}

.button:hover {
  transform: translateY(-1px);
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: clamp(360px, 54vw, 620px);
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgb(251 245 242 / 88%) 0 22%, transparent 23%),
    radial-gradient(circle at 68% 34%, rgb(218 19 97 / 28%), transparent 16rem),
    radial-gradient(circle at 35% 76%, rgb(124 58 237 / 22%), transparent 15rem),
    linear-gradient(135deg, #ffffff 0%, var(--white-broken) 62%, #eee7e3 100%);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-art::before {
  position: absolute;
  inset: 10%;
  border: 1px solid rgb(218 19 97 / 42%);
  border-radius: 50%;
  content: "";
}

.hero-art::after {
  position: absolute;
  inset: auto 10% 0;
  height: 12%;
  border-radius: 999px;
  background: rgb(218 19 97 / 25%);
  filter: blur(22px);
  content: "";
}

.orb {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(54%, 320px);
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 75%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 24%, rgb(255 255 255 / 92%), transparent 28%),
    radial-gradient(circle at 55% 55%, rgb(218 19 97 / 28%), transparent 38%),
    rgb(255 255 255 / 38%);
  box-shadow:
    inset 0 0 48px rgb(255 255 255 / 72%),
    0 24px 84px rgb(218 19 97 / 22%);
  backdrop-filter: blur(8px);
}

.signal-field {
  position: absolute;
  inset: 17% 8% auto 8%;
  height: 34%;
  opacity: .76;
  background:
    radial-gradient(circle at 8% 70%, var(--fuchsia) 0 2px, transparent 3px),
    radial-gradient(circle at 18% 52%, var(--fuchsia) 0 2px, transparent 3px),
    radial-gradient(circle at 30% 36%, var(--fuchsia) 0 2px, transparent 3px),
    radial-gradient(circle at 42% 50%, var(--fuchsia) 0 2px, transparent 3px),
    radial-gradient(circle at 56% 28%, var(--fuchsia) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 46%, var(--fuchsia) 0 2px, transparent 3px),
    radial-gradient(circle at 86% 28%, var(--fuchsia) 0 2px, transparent 3px),
    linear-gradient(15deg, transparent 0 28%, rgb(218 19 97 / 38%) 29% 30%, transparent 31%),
    linear-gradient(-10deg, transparent 0 42%, rgb(124 58 237 / 34%) 43% 44%, transparent 45%);
  mask-image: linear-gradient(90deg, transparent, black 18%, black 82%, transparent);
}

.hero-card {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: .25rem;
  min-width: 132px;
  padding: .85rem;
  border: 1px solid rgb(255 255 255 / 58%);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgb(31 31 31 / 12%);
}

.hero-card span {
  color: currentColor;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-card strong {
  font-size: 2rem;
  line-height: 1;
}

.hero-card-dark {
  right: 8%;
  bottom: 12%;
  background: var(--graphite);
  color: white;
}

.hero-card-light {
  top: 14%;
  left: 8%;
  background: rgb(255 255 255 / 72%);
  color: var(--graphite);
  backdrop-filter: blur(14px);
}

.signal-strip {
  display: flex;
  width: 100%;
  overflow-x: auto;
  border-block: 1px solid var(--line);
  background: var(--graphite);
  color: white;
  scrollbar-color: var(--fuchsia) rgb(255 255 255 / 16%);
  scrollbar-width: thin;
}

.signal-strip p {
  flex: 0 0 auto;
  margin: 0;
  padding: 1rem clamp(1.2rem, 3vw, 2.5rem);
  color: rgb(255 255 255 / 82%);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-wrap: nowrap;
}

.section {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.deferred-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .55fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading p:last-child {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
}

.service-grid article {
  min-height: 260px;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 76%);
}

.service-grid article:nth-child(2) {
  background: var(--graphite);
  color: white;
}

.service-grid article:nth-child(2) p:not(.card-kicker) {
  color: rgb(255 255 255 / 72%);
}

.service-grid p:not(.card-kicker),
.method-list p,
.manifest-copy p {
  color: var(--ink-soft);
}

.method-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1px;
  padding: 1px;
  margin: 0;
  list-style: none;
  background: var(--line);
}

.method-list li {
  min-height: 245px;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background: var(--white-broken);
}

.method-list span {
  display: block;
  margin-bottom: 4rem;
  color: var(--fuchsia);
  font-size: .9rem;
  font-weight: 850;
  text-transform: uppercase;
}

.manifest {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(280px, 1fr);
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(4rem, 7vw, 6rem);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 20%, rgb(0 194 168 / 28%), transparent 14rem),
    radial-gradient(circle at 12% 84%, rgb(124 58 237 / 30%), transparent 16rem),
    var(--graphite);
  color: white;
}

.manifest h2 {
  max-width: 9ch;
}

.manifest-copy {
  display: grid;
  align-items: end;
}

.manifest-copy p {
  color: rgb(255 255 255 / 78%);
  font-size: clamp(1.2rem, 3vw, 2rem);
  line-height: 1.25;
  text-wrap: pretty;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.site-footer > div {
  min-width: 0;
}

.site-footer p {
  margin-bottom: .3rem;
  color: var(--ink-soft);
}

.site-footer .footer-brand {
  margin-bottom: .5rem;
  color: var(--graphite);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
    padding-top: clamp(3rem, 8vw, 5rem);
  }

  .hero-copy {
    max-width: 42rem;
  }

  .hero-art {
    min-height: clamp(340px, 70vw, 560px);
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(3rem, 12vw, 5.4rem);
  }

  .section-heading,
  .manifest {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-menu {
    position: absolute;
    inset: 72px 1rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu a {
    display: block;
    padding: .9rem;
  }

  .hero,
  .section-heading,
  .manifest,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  h1 {
    max-width: 12ch;
  }

  .manifest {
    padding: 2rem;
  }

  .site-footer {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 520px) {
  .nav-shell,
  .hero,
  .section,
  .manifest,
  .site-footer {
    width: min(100% - 1.25rem, var(--max));
  }

  .brand-mark,
  .footer-brand {
    font-size: 1.05rem;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.35rem);
  }

  h2 {
    font-size: clamp(1.85rem, 11vw, 3rem);
  }

  .hero-art {
    min-height: clamp(300px, 92vw, 430px);
  }

  .hero-card {
    min-width: 112px;
    padding: .7rem;
  }

  .hero-card strong {
    font-size: 1.65rem;
  }

  .manifest {
    padding: 1.5rem;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .text-nowrap {
    white-space: normal;
  }

  h1 {
    font-size: clamp(2.25rem, 12.5vw, 2.8rem);
  }

  .hero-actions {
    width: 100%;
  }
}

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