:root {
  --primary: #e7af19;
  --ink: #0f0f10;
  --surface: #16161a;
  --surface-2: #1d1e23;
  --border: rgba(255, 255, 255, 0.08);
  --muted: rgba(255, 255, 255, 0.68);
  --shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: #f5f5f5;
  background: radial-gradient(1200px 700px at 15% -10%, rgba(231, 175, 25, 0.18), transparent 60%),
              radial-gradient(900px 600px at 90% 10%, rgba(37, 99, 235, 0.18), transparent 60%),
              linear-gradient(135deg, #080808, #151515 60%, #0f0f10);
}

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

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

.contact-card a:hover,
.email-pulse:hover,
.email-pulse:focus-visible {
  color: #0d0d0d;
}

.page {
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 6vw 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.4));
}

.brand-name {
  position: relative;
}

.brand-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), transparent);
  opacity: 0.8;
}

.brand-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(231, 175, 25, 0.4);
  color: var(--primary);
}

.top-nav {
  display: flex;
  gap: 22px;
  font-weight: 600;
}

.top-nav a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 4px;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button {
  background: var(--primary);
  color: #0d0d0d;
  box-shadow: 0 14px 30px rgba(231, 175, 25, 0.25);
}

.ghost-button {
  border: 1px solid var(--border);
  color: #fff;
  background: transparent;
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.primary-button:hover {
  color: #0d0d0d;
}

.primary-button:focus-visible {
  color: #0d0d0d;
  outline: 2px solid rgba(231, 175, 25, 0.7);
  outline-offset: 2px;
}

.primary-button.active {
  box-shadow: 0 0 0 3px rgba(231, 175, 25, 0.35);
}

.hero {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  padding: 48px 6vw 24px;
}

.hero-text h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 3.6vw, 3.8rem);
  margin: 14px 0;
}

.hero-text--bg {
  position: relative;
  padding: 28px 24px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(10, 10, 12, 0.88), rgba(10, 10, 12, 0.55)),
    url("/images/xpupl_ogimage.jpg") center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.hero-text--bg .lead,
.hero-text--bg .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.hero-text--bg .primary-button {
  box-shadow: 0 16px 32px rgba(231, 175, 25, 0.35);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 0.75rem;
  color: var(--primary);
}

.lead {
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0 16px;
}

.stats {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-top: 24px;
}

.stats strong {
  display: block;
  font-size: 1.1rem;
  font-family: "Space Grotesk", sans-serif;
}

.stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.proof .stats,
.strengths .spotlight {
  margin-top: 18px;
}

.proof .stats {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(231, 175, 25, 0.08));
  border: 1px solid rgba(231, 175, 25, 0.25);
  border-radius: 20px;
  padding: 18px;
}

.strengths .spotlight-card ul {
  padding-left: 18px;
}

.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero-media {
  padding: 0;
  overflow: hidden;
  max-height: 280px;
}

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

.panel-card ul {
  padding-left: 18px;
}

.accent-card {
  background: linear-gradient(135deg, rgba(231, 175, 25, 0.2), rgba(231, 175, 25, 0.02));
  border-color: rgba(231, 175, 25, 0.4);
}

.section {
  padding: 40px 6vw;
}

.section-head h2,
.section h2 {
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
  max-width: 700px;
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 24px;
}

.service-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

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

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

.step {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
}

.step span {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--primary);
}

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

.spotlight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chips span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.contact {
  border-top: 1px solid var(--border);
}

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

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

.copy-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(231, 175, 25, 0.4);
  cursor: pointer;
  margin-bottom: 8px;
}

.copy-line:focus {
  outline: 2px solid rgba(231, 175, 25, 0.8);
  outline-offset: 2px;
}

.note {
  color: var(--muted);
  font-size: 0.9rem;
}

.email-pulse {
  position: relative;
  color: #0d0d0d;
  background: var(--primary);
  padding: 2px 6px;
  border-radius: 8px;
  box-shadow: 0 0 0 0 rgba(231, 175, 25, 0.7);
  animation: emailPulse 1.6s ease-out 1;
}

@keyframes emailPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(231, 175, 25, 0.7);
    transform: scale(1);
  }
  45% {
    box-shadow: 0 0 0 18px rgba(231, 175, 25, 0.2);
    transform: scale(1.03);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(231, 175, 25, 0);
    transform: scale(1);
  }
}

.site-footer {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: 32px 6vw 60px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.6);
}

.site-footer img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

@media (max-width: 960px) {
  .top-nav {
    display: none;
  }
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .ad-column {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 24px;
  }
  .ad-inline {
    padding: 0 6vw 24px;
  }
}

.ad-column {
  position: fixed;
  top: 120px;
  width: 160px;
  z-index: 0;
}

#left-project {
  left: 12px;
}

#right-project {
  right: 12px;
}

.ad-inline {
  display: none;
}

.ad-column .panel-card,
.ad-inline .panel-card {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  width: 160px;
  max-width: 160px;
}

.ad-column img,
.ad-inline img,
.ad-column iframe,
.ad-inline iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

.ad-inline .panel-card {
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 1400px) {
  body {
    padding-left: 200px;
    padding-right: 200px;
  }
}

@media (max-width: 1399px) {
  body {
    padding-left: 0;
    padding-right: 0;
  }
  .ad-column {
    display: none;
  }
  .ad-inline {
    display: block;
  }
}
