:root {
  --bg: #070b14;
  --bg-soft: #0d1422;
  --surface: #121a2c;
  --text: #f3f6fb;
  --muted: #9aa8bc;
  --ice: #5ce1e6;
  --ice-dim: rgba(92, 225, 230, 0.14);
  --gold: #d4b36a;
  --line: rgba(243, 246, 251, 0.1);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --header: 76px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Syne", "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: var(--header);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(7, 11, 20, 0.86);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
}

.logo-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  mix-blend-mode: lighten;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--ice);
  color: var(--ice) !important;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: calc(var(--header) + 48px) 0 72px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 20, 0.35) 0%, rgba(7, 11, 20, 0.72) 48%, var(--bg) 100%),
    radial-gradient(circle at 80% 10%, rgba(92, 225, 230, 0.18), transparent 36%);
}

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

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--ice);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero h1 em {
  font-style: normal;
  color: var(--ice);
}

.hero-lead {
  max-width: 640px;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--ice);
  color: #062022;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px));
  gap: 24px;
  margin: 0;
}

.hero-stats dt {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-stats dd {
  margin: 4px 0 0;
  font-family: var(--display);
  font-size: 1.05rem;
}

.section {
  padding: 108px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-lead {
  font-size: 1.08rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.about-visual,
.studio-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.about-visual img,
.studio-visual img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.about-visual figcaption {
  padding: 14px 18px;
  color: var(--muted);
  font-size: 0.88rem;
  background: var(--surface);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.pill-list li {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--text);
}

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(92, 225, 230, 0.4);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-card div {
  padding: 22px;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
}

.process {
  background:
    radial-gradient(circle at 0% 100%, var(--ice-dim), transparent 34%),
    var(--bg-soft);
}

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-list li {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 11, 20, 0.45);
}

.step {
  display: block;
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}

blockquote {
  margin: 24px 0;
  padding: 0 0 0 18px;
  border-left: 2px solid var(--ice);
  color: var(--text);
  font-size: 1.12rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.facts div {
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}

.facts strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.contact-form,
.company-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.contact-form {
  position: relative;
}

.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.challenge-field input {
  max-width: 140px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.84rem;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(7, 11, 20, 0.55);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--ice);
  outline-offset: 1px;
}

.form-note {
  min-height: 1.4em;
  margin: 14px 0 0;
  color: var(--ice);
  font-size: 0.92rem;
}

.form-note.error {
  color: #ff8f8f;
}

.company-card h3 {
  margin-bottom: 4px;
}

.company-tag {
  color: var(--ice);
  font-size: 0.9rem;
}

.company-card address {
  font-style: normal;
  color: var(--muted);
  margin: 18px 0;
}

.legal-list {
  margin: 0 0 20px;
}

.legal-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.legal-list dt {
  color: var(--muted);
}

.legal-list dd {
  margin: 0;
  font-weight: 700;
}

.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  height: 220px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.site-footer h4 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.84rem;
}

@media (max-width: 980px) {
  .split,
  .service-grid,
  .process-list,
  .contact-grid,
  .footer-grid,
  .facts {
    grid-template-columns: 1fr;
  }

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

  .hero-stats {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(7, 11, 20, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 12px 0;
  }

  .nav-cta {
    width: auto;
    margin-top: 8px;
  }

  .service-grid,
  .hero-stats,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }

  .about-visual img,
  .studio-visual img {
    height: 280px;
  }

  .section {
    padding: 76px 0;
  }
}

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

  .btn,
  .service-card {
    transition: none;
  }
}
