@import url("https://fonts.googleapis.com/css2?family=Michroma&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --bg: #09020d;
  --bg-soft: #14051d;
  --ink: #16001d;
  --text: #f8f4fb;
  --muted: rgba(248, 244, 251, 0.68);
  --muted-dark: #55405f;
  --purple: #520093;
  --purple-deep: #260041;
  --pink: #e2498a;
  --yellow: #fff200;
  --green: #20b038;
  --surface: #ffffff;
  --mist: #f6f1fa;
  --line: rgba(82, 0, 147, 0.16);
  --line-light: rgba(255, 255, 255, 0.14);
  --font-main: "Space Grotesk", Arial, Helvetica, sans-serif;
  --font-label: Michroma, Arial, Helvetica, sans-serif;
  --content-pad: max(20px, 10vw);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-main);
  font-weight: 400;
}

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

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 50;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 46px var(--content-pad);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  box-shadow: none;
  backdrop-filter: none;
  transform: none;
}

body.menu-open {
  overflow: hidden;
}

.brand {
  position: relative;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  width: max-content;
}

.brand-logo {
  width: clamp(48px, 4vw, 60px);
  height: auto;
}

.menu-toggle {
  position: relative;
  z-index: 70;
  display: inline-grid;
  width: 58px;
  height: 42px;
  justify-self: end;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 0;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.menu-toggle:hover {
  background: transparent;
  transform: translateY(-1px);
}

.menu-toggle span {
  position: absolute;
  width: 36px;
  height: 2px;
  background: currentColor;
  transition: transform 220ms ease, opacity 180ms ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-9px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(9px);
}

body.menu-open .menu-toggle {
  color: var(--yellow);
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.main-nav {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  padding: 112px var(--content-pad) 46px;
  background:
    radial-gradient(circle at 82% 18%, rgba(226, 73, 138, 0.28), transparent 30%),
    radial-gradient(circle at 18% 84%, rgba(255, 242, 0, 0.12), transparent 28%),
    linear-gradient(135deg, var(--bg) 0%, var(--purple-deep) 58%, #16001f 100%);
  color: rgba(248, 244, 251, 0.62);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.main-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-links {
  display: grid;
  gap: 28px;
  justify-items: center;
}

.menu-links a {
  color: rgba(248, 244, 251, 0.58);
  font-family: var(--font-main);
  font-size: clamp(3.2rem, 6.2vw, 5.5rem);
  font-weight: 400;
  line-height: 0.96;
  transition: color 180ms ease;
}

.menu-links a:hover,
.menu-links a.is-active {
  color: var(--yellow);
}

.menu-meta {
  display: grid;
  width: min(100%, 980px);
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  border-top: 1px solid rgba(255, 242, 0, 0.22);
  padding-top: 32px;
  color: rgba(248, 244, 251, 0.68);
  text-align: center;
}

.menu-meta div {
  display: grid;
  gap: 9px;
}

.menu-meta span {
  color: var(--pink);
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.menu-meta a,
.menu-meta p {
  margin: 0;
  color: rgba(248, 244, 251, 0.7);
  font-size: 0.98rem;
  line-height: 1.55;
}

.menu-meta a:hover {
  color: var(--yellow);
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button {
  padding: 0 22px;
}

.button.primary {
  background: var(--yellow);
  color: var(--purple-deep);
  box-shadow: 0 14px 34px rgba(255, 242, 0, 0.22);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text);
}

.button.outline {
  border: 1px solid var(--line);
  color: var(--purple);
}

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

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(226, 73, 138, 0.32), transparent 28%),
    linear-gradient(135deg, var(--bg) 0%, var(--purple-deep) 54%, #120019 100%);
  color: var(--text);
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  padding: 150px var(--content-pad) 96px;
}

.page-hero {
  min-height: 54vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.52fr);
  gap: 42px;
  align-items: center;
  padding: 132px var(--content-pad) 64px;
}

.page-hero.no-image {
  grid-template-columns: 1fr;
}

.page-hero::after {
  position: absolute;
  right: var(--content-pad);
  bottom: 30px;
  width: min(420px, 48vw);
  height: min(420px, 48vw);
  border: 1px solid rgba(255, 242, 0, 0.16);
  border-radius: 50%;
  content: "";
}

.hero-copy,
.page-hero > * {
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 100;
}

.hero h1 {
  font-family: var(--font-main);
  font-size: clamp(2.9rem, 5.2vw, 75px);
  font-weight: 400;
  max-width: 940px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--pink);
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 100;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 4.7vw, 4.15rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--purple);
  font-size: 1.15rem;
  font-weight: 600;
}

.hero-text,
.page-hero p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.66;
}

.page-hero-image {
  filter: drop-shadow(0 32px 62px rgba(0, 0, 0, 0.28));
}

.page-hero-image {
  justify-self: end;
  width: min(360px, 100%);
}

.section,
.section-band,
.tech-section,
.quote-section,
.site-footer {
  padding-right: var(--content-pad);
  padding-left: var(--content-pad);
}

.section {
  padding-top: 82px;
  padding-bottom: 82px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading.wide {
  max-width: 980px;
}

.section-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding-top: 62px;
  padding-bottom: 62px;
  background: var(--surface);
  color: var(--ink);
}

.section-band .eyebrow {
  color: var(--pink);
}

.section-band p:last-child,
.card p,
.text-block p,
.quote-section p,
.faq-list p,
.site-footer p,
.project-row p,
.studio-note p {
  color: var(--muted-dark);
  font-size: 0.98rem;
  line-height: 1.7;
}

.grid-4,
.grid-3,
.grid-2,
.contact-grid {
  display: grid;
  gap: 14px;
}

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

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

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

.card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.card.tinted {
  background: linear-gradient(180deg, rgba(246, 241, 250, 0.92), rgba(255, 255, 255, 1));
}

.card.dark {
  border-color: var(--line-light);
  background: rgba(255, 255, 255, 0.07);
}

.card.dark h3 {
  color: var(--text);
}

.card.dark p {
  color: var(--muted);
}

.number {
  display: block;
  margin-bottom: 28px;
  color: var(--pink);
  font-family: var(--font-label);
  font-size: 0.86rem;
  font-weight: 100;
}

.tech-section {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 48px;
  align-items: start;
  padding-top: 82px;
  padding-bottom: 82px;
  background: var(--mist);
}

.text-block {
  display: grid;
  gap: 18px;
}

.text-link {
  color: var(--purple);
  font-weight: 700;
}

.project-list {
  border-top: 1px solid var(--line);
}

.project-row {
  display: grid;
  grid-template-columns: 0.28fr 1fr 0.35fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.project-row .tag {
  margin: 0;
}

.project-row h3 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.6vw, 2.2rem);
}

.project-row a {
  justify-self: end;
  color: var(--purple);
  font-weight: 700;
}

.portfolio-card {
  min-height: 340px;
  padding: 0;
  overflow: hidden;
}

.portfolio-visual {
  display: flex;
  min-height: 118px;
  align-items: flex-end;
  justify-content: flex-end;
  margin: -24px -24px 26px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(82, 0, 147, 0.95), rgba(226, 73, 138, 0.86));
}

.portfolio-visual span {
  color: var(--yellow);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 0.9;
}

.tag {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--pink);
  font-family: var(--font-label);
  font-size: 0.74rem;
  font-weight: 100;
  text-transform: uppercase;
}

.studio-note {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  align-items: start;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.quote-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  padding-top: 66px;
  padding-bottom: 66px;
  background: linear-gradient(120deg, rgba(82, 0, 147, 0.95), rgba(226, 73, 138, 0.82));
  color: var(--text);
}

.quote-section .eyebrow,
.quote-section p {
  color: rgba(248, 244, 251, 0.78);
}

.quote-section h2 {
  max-width: 820px;
}

.quote-section p {
  max-width: 680px;
  margin: 16px 0 0;
}

.maintenance-page {
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(circle at 82% 20%, rgba(226, 73, 138, 0.28), transparent 30%),
    linear-gradient(135deg, var(--bg) 0%, var(--purple-deep) 58%, #130019 100%);
  color: var(--text);
}

.maintenance-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  padding: 56px var(--content-pad);
}

.maintenance-content {
  max-width: 780px;
}

.maintenance-logo {
  width: clamp(54px, 4.8vw, 74px);
  margin-bottom: clamp(46px, 8vh, 74px);
}

.maintenance-content h1 {
  max-width: 860px;
  margin-bottom: 24px;
  color: var(--text);
  font-size: clamp(3rem, 5.6vw, 5.25rem);
  font-weight: 400;
  line-height: 0.98;
}

.maintenance-content p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(248, 244, 251, 0.72);
  font-size: 1.08rem;
  line-height: 1.7;
}

.maintenance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 34px;
}

.maintenance-link {
  color: rgba(248, 244, 251, 0.78);
}

.maintenance-link:hover {
  color: var(--yellow);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  color: var(--purple-deep);
  font-size: 1rem;
  font-weight: 700;
}

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

details p {
  max-width: 920px;
  margin: 0;
  padding: 0 24px 22px;
}

.contact-card.primary-contact {
  background: linear-gradient(135deg, rgba(82, 0, 147, 0.96), rgba(226, 73, 138, 0.82));
  color: var(--text);
}

.primary-contact .eyebrow,
.primary-contact p {
  color: rgba(248, 244, 251, 0.78);
}

.primary-contact h2 {
  color: var(--text);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted-dark);
  font-weight: 600;
  line-height: 1.5;
}

.check-list li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--pink);
  content: "";
}

.site-footer {
  padding-top: 70px;
  padding-bottom: 36px;
  border-top: 1px solid #d8d8d8;
  background: var(--surface);
  color: #090909;
}

.footer-top {
  display: grid;
  grid-template-columns: 0.9fr 1.7fr 1fr;
  gap: clamp(34px, 6vw, 92px);
}

.site-footer h2 {
  margin: 0 0 20px;
  color: #090909;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

.footer-about p {
  max-width: 270px;
  margin-bottom: 42px;
  color: #161616;
  font-size: 1.12rem;
  line-height: 1.65;
}

.footer-about address {
  display: grid;
  gap: 12px;
  color: #737373;
  font-style: normal;
}

.footer-segments div {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 20px clamp(44px, 7vw, 120px);
}

.footer-segments a,
.footer-legal a,
.footer-legal span,
.footer-about address a {
  color: #737373;
  font-size: 1.04rem;
  line-height: 1.35;
}

.footer-segments a:hover,
.footer-legal a:hover,
.footer-about address a:hover,
.footer-social a:hover {
  color: var(--purple);
}

.footer-legal {
  position: relative;
  display: grid;
  align-content: start;
  gap: 18px;
  padding-right: 82px;
}

.footer-legal strong {
  margin-top: 32px;
  color: #090909;
  font-size: 1.08rem;
}

.footer-legal i {
  position: absolute;
  right: 0;
  bottom: 22px;
  width: 62px;
  height: 62px;
  border: 1px solid #9e9e9e;
  border-radius: 50%;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 68px;
  border-top: 1px solid #d8d8d8;
  padding-top: 36px;
}

.footer-bottom img {
  width: 42px;
}

.footer-bottom p {
  margin: 0;
  color: #090909;
  font-size: 0.98rem;
  text-align: center;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-self: end;
}

.footer-social a {
  color: #737373;
  font-size: 0.95rem;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 28px var(--content-pad);
  }

  .hero,
  .page-hero,
  .section-band,
  .tech-section,
  .quote-section,
  .site-footer,
  .studio-note {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .page-hero-image {
    justify-self: start;
    width: min(340px, 100%);
  }

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

  .project-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .project-row a {
    justify-self: start;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-legal {
    grid-column: 1 / -1;
    padding-right: 90px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-bottom p {
    text-align: left;
  }

  .footer-social {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 0;
    width: 100%;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 20px var(--content-pad);
    background: transparent;
    backdrop-filter: none;
  }

  .menu-toggle {
    width: 52px;
    height: 38px;
    justify-self: end;
  }

  .menu-toggle span {
    width: 32px;
  }

  .main-nav {
    display: grid;
    grid-template-rows: 1fr auto;
    padding: 104px var(--content-pad) 34px;
  }

  .menu-links {
    gap: 22px;
  }

  .menu-links a {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .menu-meta {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 24px;
  }

  .menu-meta a,
  .menu-meta p {
    font-size: 0.92rem;
  }

  .hero {
    gap: 18px;
    min-height: 100vh;
    min-height: 100svh;
    padding: 122px var(--content-pad) 46px;
  }

  .page-hero {
    min-height: auto;
    padding: 126px var(--content-pad) 52px;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.05;
  }

  h2 {
    font-size: clamp(1.5rem, 7vw, 2.18rem);
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .section-band,
  .tech-section,
  .quote-section,
  .site-footer {
    padding-right: var(--content-pad);
    padding-left: var(--content-pad);
  }

  .section,
  .tech-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-band,
  .quote-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .card {
    min-height: auto;
    padding: 22px;
  }

  .portfolio-visual {
    margin: -22px -22px 24px;
  }

  .maintenance-shell {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .maintenance-logo {
    margin-bottom: 64px;
  }

  .maintenance-content h1 {
    font-size: clamp(2.8rem, 13vw, 4.6rem);
  }

  .site-footer {
    padding-top: 52px;
    padding-bottom: 30px;
  }

  .footer-top,
  .footer-segments div {
    grid-template-columns: 1fr;
  }

  .footer-about p {
    margin-bottom: 28px;
  }

  .footer-legal {
    padding-right: 0;
  }

  .footer-legal i {
    position: static;
    margin-top: 14px;
  }

  .footer-bottom {
    margin-top: 46px;
    padding-top: 28px;
  }
}
