:root {
  --bg: #0d0b0f;
  --bg-elevated: #16121a;
  --bg-soft: #1e1824;
  --text: #f5f0ea;
  --muted: #9a929e;
  --border: rgba(245, 240, 234, 0.08);
  --primary: #f43f5e;
  --primary-dim: rgba(244, 63, 94, 0.14);
  --accent: #fbbf24;
  --accent-dim: rgba(251, 191, 36, 0.12);
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --radius-lg: 24px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --container: min(100% - 2.5rem, 1140px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 1rem 0 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

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

.btn--primary {
  background: var(--gradient);
  color: #1a0a0e;
  box-shadow: 0 12px 32px rgba(244, 63, 94, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 16px 40px rgba(244, 63, 94, 0.38);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(244, 63, 94, 0.45);
  color: var(--text);
}

.btn--ghost:hover {
  background: var(--primary-dim);
  border-color: var(--primary);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-block: 1rem;
  background: rgba(13, 11, 15, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  color: #1a0a0e;
  font-weight: 800;
  font-size: 0.95rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.nav__list a:hover {
  color: var(--text);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 7rem 0 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.hero__glow--rose {
  width: 420px;
  height: 420px;
  top: -80px;
  right: -60px;
  background: rgba(244, 63, 94, 0.22);
}

.hero__glow--gold {
  width: 320px;
  height: 320px;
  bottom: 10%;
  left: -80px;
  background: rgba(251, 191, 36, 0.14);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero__content {
  max-width: 640px;
}

.hero__title {
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero__title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__text {
  margin: 1.5rem 0 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: 1.125rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 0;
  list-style: none;
}

.hero__stats li {
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.88rem;
  color: var(--muted);
}

.hero__stats strong {
  color: var(--text);
  font-weight: 700;
}

.hero__visual {
  position: relative;
  min-height: 420px;
}

.hero__frame {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(244, 63, 94, 0.25);
  background:
    radial-gradient(circle at 30% 20%, rgba(244, 63, 94, 0.18), transparent 45%),
    radial-gradient(circle at 70% 80%, rgba(251, 191, 36, 0.12), transparent 40%),
    var(--bg-elevated);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 240, 234, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 240, 234, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(251, 191, 36, 0.35);
  animation: spin 24s linear infinite;
}

.hero__orb--1 {
  inset: 12%;
}

.hero__orb--2 {
  inset: 22%;
  animation-duration: 32s;
  animation-direction: reverse;
  opacity: 0.6;
}

.hero__badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  background: rgba(13, 11, 15, 0.82);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  text-align: center;
}

.hero__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__badge span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Sections */
.section {
  padding-block: 5.5rem;
}

.section--alt {
  background:
    radial-gradient(900px 400px at 0% 0%, rgba(244, 63, 94, 0.08), transparent 55%),
    radial-gradient(700px 350px at 100% 100%, rgba(251, 191, 36, 0.06), transparent 50%),
    var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.section__head {
  margin-bottom: 3rem;
}

.section__head--center {
  text-align: center;
}

.section__head--center .section-lead {
  margin-inline: auto;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.about-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.about-card:hover {
  border-color: rgba(244, 63, 94, 0.35);
  transform: translateY(-4px);
}

.about-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--primary-dim);
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.about-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.about-card p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Portfolio bento */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.project {
  position: relative;
  grid-column: span 4;
  min-height: 280px;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.project:hover {
  border-color: rgba(244, 63, 94, 0.4);
  transform: translateY(-4px);
}

.project--featured {
  grid-column: span 8;
  min-height: 360px;
}

.project__num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(245, 240, 234, 0.06);
}

.project__tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.project p {
  margin: 0.5rem 0 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: 0.95rem;
}

.project__shine {
  position: absolute;
  inset: 0 0 auto;
  height: 55%;
  background: linear-gradient(160deg, rgba(244, 63, 94, 0.18), transparent 60%);
  pointer-events: none;
}

.project--featured .project__shine {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.22), rgba(251, 191, 36, 0.1), transparent 65%);
}

/* Expertise */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.expertise-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.expertise-item__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.expertise-item h3 {
  margin: 0;
  font-size: 1.05rem;
}

.expertise-item p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Contact / Footer */
.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 63, 94, 0.1), transparent 40%),
    var(--bg-soft);
}

.contact-panel h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.contact-panel p,
.contact-panel a {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-panel a {
  display: block;
  transition: color 0.2s ease;
}

.contact-panel a:hover {
  color: var(--primary);
}

.contact-panel__legal {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.7;
}

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer__links {
  display: flex;
  gap: 1.25rem;
}

.site-footer__links a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.site-footer__links a:hover {
  color: var(--primary);
}

.site-footer__industries {
  max-width: 72ch;
  line-height: 1.6;
  opacity: 0.75;
}

.legal-page {
  padding: 7rem 0 4rem;
  min-height: 60vh;
}

.legal-page__sections {
  display: grid;
  gap: 1.25rem;
  max-width: 760px;
}

.legal-section {
  padding: 2rem 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.legal-section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
}

.legal-section p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.legal-section p:first-of-type {
  margin-top: 1.25rem;
}

.legal-section ul {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.legal-section li + li {
  margin-top: 0.35rem;
}

.legal-section a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-section a:hover {
  color: var(--text);
}

.legal-page__content {
  max-width: 760px;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.legal-page__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal 0.8s ease forwards;
}

.reveal--d1 { animation-delay: 0.1s; }
.reveal--d2 { animation-delay: 0.2s; }
.reveal--d3 { animation-delay: 0.35s; }
.reveal--d4 { animation-delay: 0.5s; }
.reveal--d5 { animation-delay: 0.65s; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 320px;
  }

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

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

  .project,
  .project--featured {
    grid-column: span 1;
    min-height: 240px;
  }

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

  .contact-panel {
    grid-template-columns: 1fr;
    padding: 1.75rem;
  }
}

@media (max-width: 720px) {
  .nav__toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav__list {
    position: fixed;
    inset: 72px 1.25rem auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

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

  .nav__list a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 10px;
  }

  .nav__list a:hover {
    background: rgba(255, 255, 255, 0.04);
  }

  .nav .btn {
    display: none;
  }

  .hero {
    padding-top: 6rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

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

  .reveal,
  .hero__orb {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
