:root {
  --bg: #000000;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --text: #f5f5f5;
  --muted: #b3b3b3;
  --accent: #ffffff;
  --gold: #c9a44d;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
  --header-height: 100px;
}

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

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 999;
  animation: introHide 1.3s ease forwards;
  animation-delay: 1.8s;
  pointer-events: none;
}

.intro-letter {
  width: 90px;
  height: 120px;
  object-fit: contain;
  display: block;
  opacity: 0;
  transform: translateY(60px) scale(0.92);
  animation: letterSlide 0.8s ease forwards;
}

.intro-i {
  margin-right: -14px;
}

.intro-i { animation-delay: 0s; }
.intro-t { animation-delay: 0.25s; }
.intro-x { animation-delay: 0.5s; }

@keyframes letterSlide {
  0% { opacity: 0; transform: translateY(60px) scale(0.92); }
  60% { opacity: 1; transform: translateY(-6px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes introHide {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

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

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  min-height: var(--header-height);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}


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

.nav-links a {
  color: var(--muted);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  margin-left: 8px;
  padding: 0;
  border: none;
  background: none;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.nav-cta:hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text);
  display: block;
}

.hero {
  padding: clamp(72px, 8vw, 108px) 0;
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
  overflow: hidden;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: -14%;
  background: radial-gradient(circle at 35% 45%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 60%);
  filter: blur(36px);
  opacity: 0.5;
  animation: heroSoftShift 24s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  justify-items: center;
  text-align: center;
}

.hero-media {
  width: 100%;
  max-width: 920px;
}

.hero-copy {
  max-width: 560px;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.3;
  max-width: 860px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
}

.hero-link {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 164, 77, 0.35);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-link:hover,
.hero-link:focus-visible {
  color: #e3c06c;
  border-color: rgba(227, 192, 108, 0.7);
  outline: none;
}

@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    justify-items: stretch;
    text-align: left;
    gap: clamp(24px, 4vw, 52px);
  }

  .hero-media {
    max-width: 980px;
  }

  .hero-copy {
    align-self: center;
    max-width: 520px;
  }

  .hero-chips {
    justify-content: flex-start;
  }
}

@media (max-width: 899px) {
  .hero {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 44px;
  }

  .hero-copy h1 {
    font-size: clamp(20px, 5.6vw, 28px);
    margin-bottom: 12px;
  }

  .hero-chip {
    font-size: 12px;
    padding: 6px 10px;
  }
}

@keyframes heroSoftShift {
  0% {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
  }
  100% {
    transform: translate3d(1.5%, 1%, 0) scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg::before {
    animation: none;
  }
}

.hero-img {
  width: 100%;
  max-height: min(58vh, 620px);
  height: auto;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 2;
}

.lead {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 24px;
}

.lead.small {
  max-width: 520px;
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent);
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.04);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 46px rgba(201, 164, 77, 0.35);
  color: #0a0a0a;
}

.btn-ghost {
  color: var(--text);
  border-color: var(--border);
  background: transparent;
}

.btn-ghost:hover {
  border-color: rgba(201, 164, 77, 0.7);
  color: var(--gold);
  transform: translateY(-1px);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

.hero-card__header,
.contact-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  margin-bottom: 12px;
}

.status {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
}

.timeline li span {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 700;
}

.timeline li p {
  color: var(--muted);
  margin: 4px 0 0;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.02);
  border-block: 1px solid var(--border);
}

.services-title {
  font-size: clamp(30px, 4vw, 44px);
  margin: 10px 0 32px;
  max-width: 1100px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.service-card {
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 28px;
  display: grid;
  gap: 14px;
  min-height: 260px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
}

.interactive-card {
  cursor: pointer;
}

.service-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(201, 164, 77, 0.6);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
  outline: none;
}

.service-card h3 {
  margin: 0;
  font-size: 20px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 164, 77, 0.6);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
  }
}

.collage-tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: var(--text);
  letter-spacing: 0.04em;
}

.collage-item h3 {
  margin: 0;
  font-size: 18px;
}

.collage-item p {
  margin: 0;
  color: var(--muted);
  max-width: 320px;
}

.collage-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  border-color: rgba(201, 164, 77, 0.5);
}

.section-head h2 {
  margin: 6px 0 12px;
  font-size: clamp(26px, 3vw, 36px);
}

.grid {
  display: grid;
  gap: 20px;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.app-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card {
  padding: 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, border 0.2s ease;
}

.card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(201, 164, 77, 0.6);
  outline: none;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  overflow: hidden;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.app-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-card .card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 0;
}

.app-body h3 {
  margin: 6px 0 6px;
}

.app-body p {
  margin: 0;
  color: var(--muted);
}

.app-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 640px) {
  .app-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .app-card .card-icon {
    margin-bottom: 4px;
  }
}

.card p {
  color: var(--muted);
}

.features {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.feature p {
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.cta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  gap: 20px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.label {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.contact-points {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.badge-muted {
  display: inline-block;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
}

.site-footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  align-items: center;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-links a,
.footer-contact a {
  color: var(--muted);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--text);
}

.footer-copy {
  text-align: center;
  color: var(--muted);
  margin: 14px 0 0;
  font-size: 14px;
}

body.modal-open {
  overflow: hidden;
}

.details-dialog {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.details-dialog[hidden] {
  display: none;
}

.details-dialog__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(3px);
}

.details-dialog__panel {
  position: relative;
  width: min(900px, 100%);
  max-height: min(86vh, 760px);
  background: #0d0d0d;
  border: 1px solid rgba(201, 164, 77, 0.35);
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  display: grid;
  gap: 20px;
  padding: 24px;
  overflow: auto;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.details-dialog.is-open .details-dialog__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.details-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.details-dialog__close:focus-visible,
.details-dialog__close:hover {
  border-color: rgba(201, 164, 77, 0.7);
  color: var(--gold);
  outline: none;
}

.details-dialog__header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.details-dialog__icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  overflow: hidden;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.details-dialog__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.details-dialog__header h3 {
  margin: 6px 0 8px;
  font-size: clamp(22px, 3vw, 30px);
}

.details-dialog__header .lead {
  margin: 0;
}

.details-dialog__body {
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.details-dialog__list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.details-dialog__actions {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    right: 0;
    top: 70px;
    background: rgba(11, 18, 36, 0.95);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    width: 220px;
    display: none;
    flex-direction: column;
    gap: 10px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 44px;
  }

  .hero-media {
    margin-bottom: 14px;
  }

  .hero-copy h1 {
    font-size: clamp(20px, 5.6vw, 28px);
    margin-bottom: 12px;
  }

  .hero-chip {
    font-size: 12px;
    padding: 6px 10px;
  }

.details-dialog {
  padding: 14px;
}

.details-dialog__panel {
  padding: 18px;
  max-height: 90vh;
}

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

.details-dialog__icon {
  width: 60px;
  height: 60px;
}
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 164, 77, 0.6);
  }
}
