@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Bricolage+Grotesque:wght@500;600;700&family=Geist:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --background: #090713;
  --surface: #100c20;
  --text: #f7f2ff;
  --muted: #bcb4ce;
  --cyan: #70eeff;
  --pink: #fc86ec;
  --line: #34254b;
  --sans: Geist, system-ui, sans-serif;
  --display: "Bricolage Grotesque", Geist, system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 16px/1.55 var(--sans);
}

.launch-banner {
    background: #ff9638;
    color: #15213b;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    text-align: center;
    border-bottom: 3px solid #65b9ff;
}

    .launch-banner strong {
        font-size: 1.2rem;
        font-weight: 900;
        letter-spacing: 2px;
    }

    .launch-banner span {
        font-size: 0.95rem;
        font-weight: 600;
    }

@media (max-width: 600px) {
    .launch-banner {
        gap: 6px;
        flex-direction: column;
        padding: 12px 16px;
    }
}


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

a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

p, h1, h2 {
  margin: 0;
}

.shell {
  width: min(1180px, calc(100% - 96px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-200%);
  color: #060c14;
  background: var(--cyan);
}

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

.site-header {
  position: relative;
  z-index: 1;
  background: #0b0815;
  border-bottom: 1px solid #30223f;
}

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner {
  min-height: 75px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 26px/1 var(--display);
  letter-spacing: -.055em;
}

.brand > span > span {
  color: var(--pink);
}

.brand-mark {
  width: 26px;
  height: 28px;
  color: var(--cyan);
  filter: drop-shadow(0 0 5px #21cbe780);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  color: var(--muted);
  font-size: .92rem;
}

nav a, .header-action {
  padding-block: 10px;
}

nav a:hover, .contact-email:hover {
  color: var(--cyan);
}

.header-action {
  color: var(--cyan);
  font: 700 .74rem/1.2 var(--mono);
  letter-spacing: .03em;
  text-transform: uppercase;
}

.header-action:hover {
  color: var(--text);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 73% 42%, #2f0b47 0, transparent 55%),
    radial-gradient(ellipse at 4% 92%, #0c243e 0, transparent 45%),
    #0a0715;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(#ad78f218 1px, transparent 1px),
    linear-gradient(90deg, #ad78f218 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 55% 65%, #000 0%, transparent 82%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  grid-template-areas: "copy art";
  align-items: center;
  min-height: 590px;
}

.hero-copy {
  grid-area: copy;
  position: relative;
  z-index: 1;
  padding-block: 68px;
}

.hero-art {
  grid-area: art;
  display: grid;
  place-items: center;
  min-width: 0;
}

.hero-art img {
  display: block;
  width: min(116%, 650px);
  height: auto;
  max-width: none;
  mask-image: radial-gradient(ellipse at center, #000 51%, #000 57%, transparent 77%);
  mix-blend-mode: screen;
}

.location {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 21px;
  color: var(--cyan);
  font: 400 .75rem/1.45 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.location span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  transform: rotate(45deg);
  background: var(--cyan);
  box-shadow: 0 0 12px #26efffb0;
}

h1, h2, .service-title {
  font-family: var(--display);
}

h1 {
  font-size: clamp(3rem, 6.3vw, 6rem);
  font-weight: 700;
  line-height: .99;
  letter-spacing: -.073em;
}

h1 span {
  color: var(--pink);
  background: linear-gradient(100deg, #90f5ff 1%, #b2b0ff 36%, #ff88ef 96%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  max-width: 410px;
  margin-top: 25px;
  color: var(--muted);
  font-size: clamp(1rem, 1.65vw, 1.17rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 29px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  gap: 14px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.3;
  transition: background .18s, border-color .18s, box-shadow .18s;
}

.button-primary {
  color: #050e16;
  background: var(--cyan);
  box-shadow: 0 0 24px #2ee1ff37;
}

.button-primary:hover {
  background: #b0f9ff;
  box-shadow: 0 0 24px #2ee1ff65;
}

.button-secondary {
  color: var(--text);
  border-color: #775791;
  background: #191026;
}

.button-secondary:hover {
  border-color: var(--pink);
  background: #29133c;
}

.button span {
  font-size: 1.02rem;
}

.section-rule {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent, #128bb6 24%, #bc54c8 76%, transparent);
}

.section-rule span {
  position: absolute;
  top: -3px;
  left: calc(50% - 4px);
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  background: #e78aff;
  box-shadow: 0 0 16px #f77cff;
}

.services-section {
  padding-top: 66px;
  scroll-margin-top: 24px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 27px;
}

h2 {
  font-size: clamp(2.15rem, 5vw, 3.85rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.06em;
}

h2 span {
  color: var(--pink);
}

.section-heading p, .parts-panel p, .contact-panel p {
  max-width: 400px;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.service {
  --accent: var(--cyan);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: linear-gradient(135deg, #181027, #100b1c 72%);
  transition: border-color .18s;
}

.service:nth-child(2n) {
  --accent: var(--pink);
}

.service:hover, .service[open] {
  border-color: color-mix(in srgb, var(--accent) 56%, var(--line));
}

.service summary {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 166px;
  padding: 21px 46px 20px 21px;
  cursor: pointer;
  list-style: none;
}

.service summary::-webkit-details-marker {
  display: none;
}

.service summary:focus-visible {
  outline-offset: -4px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 5px;
  border: 1px solid color-mix(in srgb, var(--accent) 36%, transparent);
  border-radius: 4px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--accent);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-title {
  font-weight: 700;
  font-size: clamp(1.14rem, 2.1vw, 1.38rem);
  line-height: 1.14;
  letter-spacing: -.035em;
}

.service-description {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}

.service-toggle {
  position: absolute;
  top: 25px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--accent);
}

.service-toggle::before, .service-toggle::after {
  grid-area: 1 / 1;
  width: 9px;
  height: 1px;
  content: "";
  background: currentColor;
}

.service-toggle::after {
  transform: rotate(90deg);
}

.service[open] .service-toggle::after {
  display: none;
}

.service-content {
  margin-inline: 21px;
  padding: 13px 0 21px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}

.service-content ul {
  display: grid;
  gap: 4px;
  margin: 0 0 13px;
  padding-left: 17px;
}

.service-content li::marker {
  color: var(--accent);
}

.service-content a, .contact-email {
  color: var(--accent, var(--cyan));
  text-decoration: underline;
  text-underline-offset: 4px;
}

.parts-section, .contact-section {
  margin-top: 28px;
  scroll-margin-top: 24px;
}

.parts-panel, .contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: clamp(23px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.parts-panel {
  background: linear-gradient(100deg, #160e26, #0d1526);
}

.contact-panel {
  border-color: #66416d;
  background:
    radial-gradient(ellipse at 100% 0, #3a174d, transparent 65%),
    linear-gradient(100deg, #102032, #120c21);
}

.parts-panel h2, .contact-panel h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.parts-panel p, .contact-panel p {
  max-width: 560px;
  margin-top: 10px;
}

.contact-email {
  display: inline-block;
  margin-top: 12px;
}

.parts-panel .button, .contact-panel .button {
  flex: 0 0 auto;
}

.site-footer {
  margin-top: 68px;
  padding-block: 25px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
}

.site-footer .brand {
  color: var(--text);
  font-size: 21px;
}

.site-footer .brand-mark {
  width: 21px;
  height: 23px;
}

@media (max-width: 930px) {
  .shell {
    width: calc(100% - 64px);
  }

  .hero-inner {
    min-height: 475px;
  }

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

@media (max-width: 700px) {
  .shell {
    width: calc(100% - 36px);
  }

  .header-inner {
    min-height: 62px;
    gap: 12px;
  }

  nav {
    gap: clamp(12px, 4vw, 20px);
    font-size: .85rem;
  }

  .header-action {
    display: none;
  }

  .brand {
    gap: 3px;
    font-size: 23px;
  }

  .brand-mark {
    width: 22px;
    height: 24px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas: "art" "copy";
    min-height: auto;
    padding-bottom: 38px;
  }

  .hero-art img {
    width: min(100%, 425px);
    margin-top: -8px;
    margin-bottom: -27px;
  }

  .hero-copy {
    padding: 5px 0 0;
  }

  .location {
    margin-bottom: 15px;
  }

  h1 {
    font-size: clamp(2.6rem, 10vw, 4.75rem);
  }

  .hero-description {
    margin-top: 17px;
  }

  .hero-actions {
    margin-top: 21px;
  }

  .services-section {
    padding-top: 38px;
  }

  .section-heading {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .service summary {
    grid-template-columns: 35px minmax(0, 1fr);
    min-height: 72px;
    gap: 4px 12px;
    padding: 12px 44px 12px 12px;
  }

  .service-icon {
    grid-row: span 2;
    align-self: center;
    width: 35px;
    height: 35px;
    margin: 0;
  }

  .service-toggle {
    top: calc(50% - 11px);
    right: 12px;
  }

  .parts-panel, .contact-panel {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }

  .site-footer {
    margin-top: 40px;
  }

  .footer-inner {
    flex-wrap: wrap;
    gap: 10px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition: none !important;
  }
}

.arrow {
  width: 14px;
  height: 14px;
  vertical-align: -.12em;
  flex: 0 0 auto;
}

.header-action .arrow {
  width: 12px;
  height: 12px;
}

@media (max-width: 360px) {
  .shell {
    width: calc(100% - 28px);
  }

  nav {
    gap: 10px;
    font-size: .77rem;
  }

  .brand {
    font-size: 21px;
  }

  h1 {
    font-size: clamp(1.85rem, 11.5vw, 2.55rem);
  }


}

/* Phones: menu on its own row under the logo so every link fits */
@media (max-width: 700px) {
  .header-inner { flex-wrap: wrap; min-height: 0; padding-top: 12px; column-gap: 12px; row-gap: 2px; }
  .header-inner .brand { order: 1; }
  .header-inner .header-action { order: 2; display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
  .header-inner nav { order: 3; flex: 1 0 100%; justify-content: space-between; gap: 4px; padding-top: 2px; border-top: 1px solid var(--line); font-size: 0.88rem; }
  .header-inner nav a { padding: 12px 0; }
}

/* Phones: centre the footer and stack its items */
@media (max-width: 700px) {
  .footer-inner { flex-direction: column; justify-content: center; text-align: center; gap: 8px; }
}