:root {
  --bg: #050505;
  --panel: #0d0d0d;
  --panel-2: #121212;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --soft: rgba(255, 255, 255, 0.50);
  --yellow: #F4D03F;
  --emerald: #25b39b;
  --sapphire: #6f86ff;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.30);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.page {
  position: relative;
  overflow-x: hidden;
  background: #050505;
}

header, main, footer {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: #111;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.brand-mark-inner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--yellow);
  border-radius: 7px;
  position: relative;
}

.brand-mark-inner::before,
.brand-mark-inner::after {
  content: "";
  position: absolute;
  background: var(--yellow);
}

.brand-mark-inner::before {
  width: 2px;
  height: 14px;
  left: 50%;
  top: 1px;
  transform: translateX(-50%);
}

.brand-mark-inner::after {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 1px;
  transform: translateY(-50%);
}

.brand-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-subtitle {
  margin-top: 4px;
  font-size: 11px;
  color: var(--soft);
  letter-spacing: 0.20em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #101010;
  color: #fff;
}

.mobile-panel { display: none; padding-bottom: 18px; }
.mobile-panel.open { display: grid; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 13px 22px;
  border: 1px solid transparent;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-1px); }

.btn-dark {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn-dark:hover { background: rgba(255, 255, 255, 0.06); }

.btn-yellow {
  background: var(--yellow);
  color: #111;
  font-weight: 700;
}

.btn-yellow:hover { filter: brightness(1.04); }

.btn-outline {
  border-color: rgba(216, 191, 90, 0.30);
  background: transparent;
  color: var(--yellow);
}

.btn-outline:hover { background: rgba(216, 191, 90, 0.08); }

.hero {
  padding: 26px 0 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.content-card,
.image-card,
.cta-box,
.metrics,
.palette-card,
.service-card,
.page-hero-card,
.info-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-visual,
.content-card,
.image-card,
.cta-box,
.metrics,
.page-hero-card,
.info-card {
  border-radius: var(--radius-xl);
}

.hero-copy {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.emerald {
  border: 1px solid rgba(37, 179, 155, 0.24);
  background: rgba(37, 179, 155, 0.08);
  color: #98efe2;
}

.eyebrow.yellow {
  border: 1px solid rgba(216, 191, 90, 0.24);
  background: rgba(216, 191, 90, 0.08);
  color: #f0de98;
}

.eyebrow.sapphire {
  border: 1px solid rgba(111, 134, 255, 0.24);
  background: rgba(111, 134, 255, 0.08);
  color: #c7d1ff;
}

h1, h2, h3, h4, p { margin: 0; }

.hero h1 {
  margin-top: 20px;
  max-width: 700px;
  font-size: clamp(40px, 5.2vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero p {
  margin-top: 22px;
  max-width: 700px;
  font-size: 18px;
  line-height: 1.72;
  color: var(--muted);
}

.text-yellow { color: var(--yellow); }
.text-emerald { color: var(--emerald); }
.text-sapphire { color: var(--sapphire); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.stat-card {
  background: #111;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
}

.stat-card strong {
  display: block;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.55;
}

.hero-visual {
  overflow: hidden;
  position: relative;
  min-height: 560px;
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-badges {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.hero-badge {
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f4f4f4;
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hero-panels {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.glass-panel {
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 16px;
  backdrop-filter: blur(10px);
}

.label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.label.yellow { color: var(--yellow); }
.label.emerald { color: var(--emerald); }
.label.sapphire { color: var(--sapphire); }

.glass-panel h3 {
  font-size: 20px;
  line-height: 1.3;
}

.glass-panel p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
  font-size: 14px;
}

.section {
  padding: 20px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 20px;
}

.section-header h2,
.content-card h2,
.cta-box h2 {
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.section-header p,
.content-card p,
.cta-box p,
.footer p,
.footer a {
  color: var(--muted);
  line-height: 1.78;
  font-size: 16px;
}

.services-grid,
.palette-grid {
  display: grid;
  gap: 16px;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.palette-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.palette-card {
  border-radius: 24px;
  padding: 24px;
}

.service-card.yellow {
  box-shadow: 0 0 0 1px rgba(216, 191, 90, 0.12), 0 16px 48px rgba(0, 0, 0, 0.26);
}

.service-card.emerald {
  box-shadow: 0 0 0 1px rgba(37, 179, 155, 0.12), 0 16px 48px rgba(0, 0, 0, 0.26);
}

.service-card.sapphire {
  box-shadow: 0 0 0 1px rgba(111, 134, 255, 0.12), 0 16px 48px rgba(0, 0, 0, 0.26);
}

.meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--soft);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-card h3,
.palette-card h3 {
  margin-top: 14px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.service-card p,
.palette-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.76;
  font-size: 15px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  align-items: stretch;
}

.image-card { overflow: hidden; }

.image-card img,
.image-grid-split img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center center;
}

.image-grid-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.content-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
}

.content-card p { margin-top: 16px; }

.pill-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pill {
  padding: 13px 15px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
}

.pill.yellow {
  border-color: rgba(216, 191, 90, 0.24);
  background: rgba(216, 191, 90, 0.08);
  color: #f2e2a0;
}

.pill.emerald {
  border-color: rgba(37, 179, 155, 0.24);
  background: rgba(37, 179, 155, 0.08);
  color: #93eee0;
}

.pill.sapphire {
  border-color: rgba(111, 134, 255, 0.24);
  background: rgba(111, 134, 255, 0.08);
  color: #c5d0ff;
}

.swatch {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.process-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.process-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  padding: 14px 16px;
}

.process-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.metrics { padding: 12px; }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric-box {
  border-radius: 22px;
  background: #101010;
  border: 1px solid var(--line);
  padding: 20px;
  text-align: center;
}

.metric-box strong {
  display: block;
  font-size: clamp(28px, 2.5vw, 44px);
  letter-spacing: -0.05em;
}

.metric-box span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.cta-box { padding: 30px; }

.cta-box p {
  margin-top: 16px;
  max-width: 900px;
}

.cta-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-hero {
  padding: 26px 0 12px;
}

.page-hero-card {
  padding: 28px;
}

.page-hero h1 {
  margin-top: 16px;
  font-size: clamp(34px, 4.3vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.04em;
}

.page-hero p {
  margin-top: 18px;
  max-width: 820px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.info-card {
  padding: 24px;
}

.info-card h3 {
  font-size: 24px;
  letter-spacing: -0.03em;
}

.info-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.78;
  font-size: 16px;
}

.list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.list div {
  padding: 13px 15px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #101010;
  font-size: 15px;
}

.form-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 14px;
  color: var(--soft);
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #101010;
  color: #fff;
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(216, 191, 90, 0.45);
}

.notice {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(37, 179, 155, 0.24);
  background: rgba(37, 179, 155, 0.08);
  color: #9befe2;
  line-height: 1.7;
  font-size: 15px;
}

.footer {
  padding: 34px 0 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.footer h4 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
}

.footer-links {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.footer-brand p {
  margin-top: 16px;
  max-width: 420px;
}

.footer-contact {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

@media (max-width: 1120px) {
  .hero-grid,
  .editorial-grid,
  .services-grid,
  .palette-grid,
  .metrics-grid,
  .footer-grid,
  .two-col {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .hero-visual {
    min-height: 480px;
  }
}

@media (max-width: 860px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .hero-grid,
  .editorial-grid,
  .services-grid,
  .palette-grid,
  .metrics-grid,
  .footer-grid,
  .hero-stats,
  .hero-panels,
  .pill-grid,
  .image-grid-split,
  .section-header,
  .two-col {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: start;
  }

  .hero-copy,
  .content-card,
  .cta-box,
  .page-hero-card,
  .info-card {
    padding: 22px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-badges {
    flex-direction: column;
    align-items: start;
  }

  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .hero h1 {
    font-size: clamp(34px, 12vw, 56px);
  }

  .hero p,
  .content-card p,
  .section-header p,
  .cta-box p,
  .page-hero p,
  .info-card p {
    font-size: 15px;
  }
}

.service-card.yellow .meta,
.service-card.yellow h3 {
  color: var(--yellow);
}

.service-card.emerald .meta,
.service-card.emerald h3 {
  color: var(--emerald);
}

.service-card.sapphire .meta,
.service-card.sapphire h3 {
  color: var(--sapphire);
}

.service-card .meta {
  font-weight: 600;
}

.service-card h3 {
  font-weight: 700;
}

.service-card p {
  color: var(--muted);
}

.service-card.yellow .meta,
.service-card.yellow .meta span,
.service-card.yellow h3 {
  color: var(--yellow) !important;
}

.service-card.emerald .meta,
.service-card.emerald .meta span,
.service-card.emerald h3 {
  color: var(--emerald) !important;
}

.service-card.sapphire .meta,
.service-card.sapphire .meta span,
.service-card.sapphire h3 {
  color: var(--sapphire) !important;
}

.service-card.yellow p,
.service-card.emerald p,
.service-card.sapphire p {
  color: var(--muted) !important;
}
