:root {
  --bg: #030719;
  --surface: #121829;
  --surface-strong: #1b2234;
  --ink: #f7fbff;
  --muted: #aeb8ca;
  --soft: #d7ecff;
  --accent: #bcd9f4;
  --accent-strong: #7aaad2;
  --line: rgba(215, 236, 255, 0.16);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --radius: 12px;
  --max: 1180px;
}

@font-face {
  font-family: "Poppins Local";
  src: url("assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins Local";
  src: url("assets/fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins Local";
  src: url("assets/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins Local";
  src: url("assets/fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Audiowide Local";
  src: url("assets/fonts/Audiowide-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins Local", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #040719 0%, var(--bg) 50%, #020514 100%);
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px max(22px, calc((100vw - var(--max)) / 2));
  background: rgba(3, 7, 25, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 138px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.nav a,
.mobile-nav a,
.text-link {
  transition: color 180ms ease, opacity 180ms ease;
}

.nav a:hover,
.mobile-nav a:hover,
.text-link:hover {
  color: var(--soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  color: #061026;
  background: var(--soft);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  box-shadow: 0 12px 24px rgba(188, 217, 244, 0.16);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(188, 217, 244, 0.24);
}

.button-small {
  min-height: 40px;
  padding: 0 18px;
}

.button-outline {
  color: var(--soft);
  background: transparent;
  border-color: var(--accent);
  box-shadow: none;
}

.button-outline:hover {
  color: #061026;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.mobile-nav {
  position: fixed;
  inset: 76px 18px auto 18px;
  z-index: 19;
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  background: rgba(18, 24, 41, 0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mobile-nav.is-open {
  display: flex;
}

.section {
  position: relative;
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 92px 0;
}

[id] {
  scroll-margin-top: 96px;
}

.background-shapes {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-shape {
  position: absolute;
  display: block;
  border-radius: 8px;
  background: rgba(188, 217, 244, 0.72);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  animation: float 9s ease-in-out infinite;
}

.bg-shape:nth-child(2n) {
  background: rgba(82, 95, 119, 0.8);
}

.bg-shape:nth-child(3n) {
  background: rgba(22, 28, 46, 0.9);
}

.bg-shape-1 {
  top: 112px;
  left: -18px;
  width: 106px;
  height: 92px;
}

.bg-shape-2 {
  top: 230px;
  left: 36px;
  width: 72px;
  height: 72px;
  animation-delay: -1s;
}

.bg-shape-3 {
  top: 352px;
  left: -10px;
  width: 118px;
  height: 118px;
  animation-delay: -3s;
}

.bg-shape-4 {
  top: 112px;
  right: 72px;
  width: 64px;
  height: 64px;
  animation-delay: -2s;
}

.bg-shape-5 {
  top: 212px;
  right: -24px;
  width: 126px;
  height: 146px;
  animation-delay: -4s;
}

.bg-shape-6 {
  top: 455px;
  right: 26px;
  width: 82px;
  height: 82px;
  animation-delay: -5s;
}

.bg-shape-7 {
  bottom: 18%;
  left: 9%;
  width: 62px;
  height: 62px;
  animation-delay: -6s;
}

.bg-shape-8 {
  bottom: 12%;
  right: 9%;
  width: 116px;
  height: 86px;
  animation-delay: -7s;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding-top: 76px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--soft);
  font-size: 15px;
  font-weight: 900;
}

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

h1,
h2,
h3 {
  font-family: "Audiowide Local", "Poppins Local", sans-serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 660px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.6vw, 76px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 50px);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(22px, 2vw, 28px);
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.text-link {
  color: var(--soft);
  font-weight: 900;
}

.hero-visual {
  position: relative;
}

.portrait-frame,
.browser-frame,
.visual-stack,
.work-showcase,
.about-card,
.contact-photo {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.portrait-frame {
  transform: none;
}

.portrait-frame img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center top;
}

.stat-card {
  position: absolute;
  right: -18px;
  bottom: 36px;
  width: 190px;
  padding: 18px;
  background: rgba(215, 236, 255, 0.96);
  color: #061026;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stat-card strong {
  display: block;
  font-size: 36px;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  font-weight: 800;
  line-height: 1.25;
}

.intro-band {
  padding: 42px 0;
  border-block: 1px solid var(--line);
}

.intro-band p {
  max-width: 980px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 22px;
  text-align: center;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.service-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card,
.process-step,
.values {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card {
  overflow: hidden;
}

.service-card img {
  width: calc(100% + 56px);
  max-width: none;
  height: 260px;
  margin: -28px -28px 24px;
  object-fit: contain;
  object-position: center;
  padding: 18px;
  background: rgba(215, 236, 255, 0.04);
  border-bottom: 1px solid var(--line);
}

.service-card,
.process-step {
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.service-card:hover,
.process-step:hover {
  transform: translateY(-5px);
  border-color: rgba(188, 217, 244, 0.42);
  background: var(--surface-strong);
}

.process-step span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--soft);
  font-weight: 900;
}

.service-card p,
.process-step p,
.content-panel p,
.about-copy p,
.work-copy p,
.contact-copy p,
.footer p {
  color: var(--muted);
}

ul {
  padding-left: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 22px;
  margin: 10px 0;
  color: var(--muted);
}

li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.split-section,
.about-section,
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.visual-stack img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
}

.content-panel {
  max-width: 560px;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.mini-metrics div {
  padding: 18px;
  background: rgba(215, 236, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mini-metrics strong {
  display: block;
  color: var(--soft);
  font-size: 34px;
  line-height: 1;
}

.mini-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

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

.process-step:first-child {
  background: var(--soft);
}

.process-step:first-child,
.process-step:first-child p,
.process-step:first-child span {
  color: #061026;
}

.process-step span {
  margin-bottom: 24px;
  font-family: "Audiowide Local", "Poppins Local", sans-serif;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 0.9;
}

.process-step h3 {
  min-height: 2.2em;
}

.about-section {
  align-items: center;
}

.about-copy {
  align-self: center;
}

.about-card img,
.contact-photo img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center top;
}

.values {
  grid-column: 1 / -1;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.values h3 {
  margin-bottom: 22px;
  text-align: center;
}

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

.value-grid article {
  min-height: 190px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.value-grid article:hover {
  transform: translateY(-4px);
  background: var(--surface-strong);
  border-color: rgba(188, 217, 244, 0.42);
}

.value-grid strong {
  display: block;
  color: var(--ink);
  margin-bottom: 10px;
  font-size: 17px;
}

.value-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.work-showcase {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  align-items: center;
  padding: 18px;
  gap: 24px;
}

.work-copy {
  padding: 18px 12px 18px 20px;
}

.work-copy h3 {
  font-size: clamp(28px, 3vw, 40px);
}

.work-section {
  width: min(1240px, calc(100% - 44px));
}

.mockup-carousel {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  background: rgba(215, 236, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mockup-track {
  display: flex;
  height: 100%;
  transition: transform 650ms ease;
}

.mockup-slide {
  display: grid;
  align-content: center;
  flex: 0 0 100%;
  min-height: 460px;
  margin: 0;
  padding: 16px 18px 40px;
}

.mockup-slide img {
  width: 100%;
  height: 390px;
  object-fit: contain;
}

.mockup-slide figcaption {
  margin-top: 18px;
  color: var(--soft);
  font-weight: 800;
  text-align: center;
}

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(215, 236, 255, 0.35);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.carousel-dots button.is-active {
  width: 28px;
  background: var(--soft);
}

.faq-list {
  max-width: 900px;
  border-top: 1px solid var(--line);
}

.faq-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 22px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  font: inherit;
  font-size: 19px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  color: var(--soft);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
}

.faq-answer.is-open {
  grid-template-rows: 1fr;
  padding: 0 0 22px;
}

.contact-section {
  align-items: center;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.contact-link {
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 20px;
  color: var(--soft);
  background: rgba(215, 236, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.contact-link:hover {
  transform: translateY(-3px);
  background: rgba(215, 236, 255, 0.1);
  border-color: rgba(188, 217, 244, 0.42);
}

.contact-link span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-link strong {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.25;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 44px;
  align-items: center;
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 54px 0 42px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer p {
  margin: 0;
}

.footer-brand {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 360px;
}

.footer-brand .brand img {
  width: 150px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--soft);
  font-weight: 800;
}

.footer-group {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.footer-title {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  color: #061026;
  background: var(--soft);
  border-radius: 8px;
  font-weight: 900;
}

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

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

@media (max-width: 980px) {
  .site-header {
    padding-inline: 22px;
  }

  .nav,
  .site-header > .button {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero,
  .split-section,
  .about-section,
  .contact-section,
  .work-showcase,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 36px;
    min-height: auto;
  }

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

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

}

@media (max-width: 640px) {
  .section {
    width: min(100% - 28px, var(--max));
    padding: 64px 0;
  }

  .hero {
    padding-top: 52px;
  }

  .lead,
  .intro-band p {
    font-size: 18px;
  }

  .hero-actions,
  .contact-details {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .button,
  .text-link {
    width: 100%;
  }

  .service-grid,
  .process-grid,
  .mini-metrics,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-step,
  .values,
  .work-copy {
    padding: 22px;
  }

  .portrait-frame img,
  .visual-stack img,
  .about-card img,
  .contact-photo img {
    height: 420px;
  }

  .service-card img {
    height: 240px;
  }

  .mockup-carousel,
  .mockup-slide {
    min-height: 340px;
  }

  .mockup-slide {
    padding: 18px;
  }

  .mockup-slide img {
    height: 245px;
  }

  .stat-card {
    position: static;
    width: auto;
    margin-top: 14px;
  }

  .bg-shape {
    opacity: 0.42;
  }

  .footer {
    width: min(100% - 28px, var(--max));
  }
}
