:root {
  --ink: #15122b;
  --muted: #655f78;
  --line: #eadff5;
  --paper: #fff7fb;
  --white: #ffffff;
  --blue: #3d5cff;
  --teal: #00c8c8;
  --gold: #ffb703;
  --coral: #ff4f7b;
  --violet: #8b5cf6;
  --deep: #140720;
  --deep-2: #271047;
  --radius: 8px;
  --shadow: 0 22px 48px rgba(82, 31, 118, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(20px, 5vw, 68px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(90deg, rgba(255, 79, 123, 0.16), rgba(61, 92, 255, 0.14)),
    rgba(20, 7, 32, 0.94);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 176px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #d9e4f2;
  font-size: 0.92rem;
  font-weight: 850;
}

.site-nav a:hover,
.site-nav a.active {
  color: #ff6348;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-cta,
.button-primary {
  background: linear-gradient(135deg, var(--coral), var(--violet) 52%, var(--teal));
  color: var(--white);
  box-shadow: 0 16px 34px rgba(255, 79, 123, 0.28);
}

.button-ghost {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

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

.nav-toggle,
.nav-check {
  display: none;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(30deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, #201042 0%, #4b1f7a 36%, #ff4f7b 72%, #ffb703 100%);
  background-size: 42px 42px, 42px 42px, auto;
  color: var(--white);
}

.page-hero::after {
  position: absolute;
  inset: auto 8% 14% auto;
  width: 150px;
  height: 150px;
  border: 14px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  content: "";
  transform: rotate(12deg);
  animation: stickerFloat 7s ease-in-out infinite;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero-inner,
.section,
.site-footer {
  width: min(1180px, calc(100% - 42px));
  margin: 0 auto;
}

.page-hero-inner {
  padding: clamp(84px, 12vw, 132px) 0 clamp(68px, 10vw, 104px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 5vw, 4.5rem);
  line-height: 1.07;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: 0;
}

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

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

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

.section {
  padding: 88px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow),
.card p,
.case-intro p,
.contact-card p,
.work-meta {
  color: var(--muted);
}

.grid-2,
.grid-3,
.grid-4,
.work-grid,
.timeline {
  display: grid;
  gap: 18px;
}

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

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

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

.card,
.work-card,
.contact-card,
.case-intro,
.feature-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover,
.work-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  border-color: rgba(255, 79, 123, 0.36);
  box-shadow: 0 28px 58px rgba(139, 92, 246, 0.18);
}

.card,
.work-card,
.case-intro {
  padding: 26px;
}

.card,
.work-card {
  position: relative;
  overflow: hidden;
}

.card::before,
.work-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--teal), var(--violet));
  content: "";
}

.card .number,
.work-card .number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff0b8, #ffd6e2);
  color: #bd1e59;
  font-weight: 900;
}

.work-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
}

.work-card strong {
  margin-top: auto;
  color: #bd1e59;
  font-weight: 900;
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 16px 0 20px;
  font-size: 0.88rem;
  font-weight: 850;
}

.work-meta span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fbff;
}

.dark-band {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(30deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, #160820, #2f124f 48%, #0c5664);
  background-size: 36px 36px, 36px 36px, auto;
  color: var(--white);
}

.dark-band .section {
  padding-inline: clamp(22px, 4vw, 42px);
}

.section.dark-band {
  padding-inline: clamp(22px, 4vw, 42px);
}

.dark-band .card,
.feature-band {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.dark-band .card::before {
  opacity: 0.95;
}

.dark-band .card p,
.dark-band .section-heading p:not(.eyebrow) {
  color: #bfcbdb;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  gap: 22px;
  padding: clamp(28px, 5vw, 46px);
  background:
    linear-gradient(90deg, rgba(255, 79, 123, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(61, 92, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #ffffff, #fff0f7 46%, #eafcff);
  background-size: 34px 34px, 34px 34px, auto;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tag-list span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: #33445b;
  font-weight: 850;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.contact-details span,
.contact-details a {
  display: inline-flex;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
  color: #33445b;
  font-weight: 800;
}

@keyframes stickerFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(12deg);
  }

  50% {
    transform: translate3d(-10px, -14px, 0) rotate(18deg);
  }
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 42px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 1080px) {
  .site-nav {
    gap: 12px;
    font-size: 0.86rem;
  }

  .brand img {
    width: 150px;
  }

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

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

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

@media (max-width: 760px) {
  .site-header {
    padding: 16px 20px;
  }

  .brand img {
    width: 150px;
  }

  .nav-toggle {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 3px 0;
    background: var(--white);
  }

  .site-nav {
    position: absolute;
    top: 80px;
    left: 20px;
    right: 20px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: #06101e;
    box-shadow: var(--shadow);
  }

  .site-nav a {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav .nav-cta {
    margin: 14px;
  }

  .nav-check:checked ~ .site-nav {
    display: flex;
  }

  h1 {
    font-size: 2.45rem;
  }

  .page-hero::after {
    width: 92px;
    height: 92px;
    border-width: 10px;
    opacity: 0.55;
  }

  .section {
    padding: 66px 0;
  }

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

  .contact-card,
  .site-footer {
    display: block;
  }
}
