/* ============================================================
   Lumenta — Digital Marketing Studio
   Luminous ink theme
   ============================================================ */

:root {
  --background: oklch(0.16 0.012 60);
  --foreground: oklch(0.96 0.008 80);
  --card: oklch(0.2 0.014 62);
  --muted: oklch(0.24 0.012 62);
  --muted-foreground: oklch(0.7 0.014 74);
  --primary: oklch(0.82 0.15 78);
  --primary-foreground: oklch(0.18 0.02 60);
  --secondary: oklch(0.26 0.014 62);
  --border: oklch(0.32 0.014 64);
  --border-soft: oklch(0.32 0.014 64 / 0.6);
  --radius: 0.5rem;

  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;

  --maxw: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--background);
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.accent {
  color: var(--primary);
}

.glow {
  text-shadow: 0 0 40px oklch(0.82 0.15 78 / 0.35);
}

.glow-ring {
  box-shadow: 0 0 0 1px oklch(0.82 0.15 78 / 0.2), 0 0 60px oklch(0.82 0.15 78 / 0.15);
}

.icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn--primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn--primary:hover {
  opacity: 0.9;
}

.btn--ghost {
  border-color: var(--border);
  color: var(--foreground);
  background: transparent;
}
.btn--ghost:hover {
  background: var(--secondary);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid var(--border-soft);
  background: oklch(0.16 0.012 60 / 0.7);
  backdrop-filter: blur(16px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}
.brand__mark {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}
.nav a:hover {
  color: var(--foreground);
}

.nav__cta {
  display: none;
  padding: 0.5rem 1.25rem;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: transparent;
  border: none;
  color: var(--foreground);
  cursor: pointer;
}
.menu-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.mobile-menu {
  border-top: 1px solid var(--border-soft);
  background: oklch(0.16 0.012 60 / 0.97);
  padding: 1rem 1.5rem;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-menu a:not(.btn) {
  border-radius: var(--radius);
  padding: 0.75rem 0.5rem;
  font-size: 1rem;
  color: oklch(0.96 0.008 80 / 0.9);
}
.mobile-menu a:not(.btn):hover {
  background: var(--secondary);
}
.mobile-menu .btn {
  margin-top: 0.5rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    oklch(0.16 0.012 60 / 0.4),
    oklch(0.16 0.012 60 / 0.7),
    var(--background)
  );
}
.hero__inner {
  position: relative;
  padding-block: 5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: oklch(0.2 0.014 62 / 0.6);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.pill__dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--primary);
}

.hero__title {
  margin-top: 1.5rem;
  max-width: 56rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero__title .accent {
  display: inline;
}

.hero__lead {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

.hero__actions {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stats {
  margin-top: 4rem;
  max-width: 40rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.stats__item dt {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 600;
}
.stats__item dd {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ---------- Marquee ---------- */
.marquee-section {
  border-block: 1px solid var(--border-soft);
  background: oklch(0.2 0.014 62 / 0.3);
  padding-block: 1.25rem;
}
.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee__track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  animation: marquee 30s linear infinite;
}
.marquee__item {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.marquee__item span:first-child {
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-foreground);
}
.marquee__dot {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 9999px;
  background: oklch(0.82 0.15 78 / 0.6);
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */
.section {
  padding-block: 6rem;
  scroll-margin-top: 5rem;
}
.section--band {
  border-block: 1px solid var(--border-soft);
  background: oklch(0.2 0.014 62 / 0.3);
}

.section__head {
  max-width: 42rem;
}
.section__head--row {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.section__head--row > div {
  max-width: 42rem;
}
.section__title {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}
.section__lead {
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.link-arrow:hover {
  color: var(--primary);
}

/* ---------- Services grid ---------- */
.grid-cards {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--border);
}
.card {
  background: var(--card);
  padding: 2rem;
  transition: background-color 0.2s ease;
}
.card:hover {
  background: var(--secondary);
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  background: oklch(0.82 0.15 78 / 0.1);
  color: var(--primary);
  transition: transform 0.2s ease;
}
.card:hover .card__icon {
  transform: scale(1.05);
}
.card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
.card__title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}
.card__body {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* ---------- Steps ---------- */
.steps {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.step {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.step__n {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}
.step__title {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}
.step__body {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* ---------- Work ---------- */
.work-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.work-card {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
}
.work-card__media {
  overflow: hidden;
}
.work-card__media img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.work-card:hover .work-card__media img {
  transform: scale(1.05);
}
.work-card__body {
  padding: 1.5rem;
}
.work-card__tag {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
}
.work-card__title {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  text-wrap: pretty;
}
.work-card__result {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ---------- Results ---------- */
.results {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}
.quote {
  margin-top: 2.5rem;
  border-left: 2px solid var(--primary);
  padding-left: 1.5rem;
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
  text-wrap: pretty;
}
.quote figcaption {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--border);
}
.metric {
  background: var(--card);
  padding: 2rem;
}
.metric dt {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--primary);
}
.metric dd {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid oklch(0.82 0.15 78 / 0.3);
  background: var(--card);
  padding: 4rem 1.5rem;
  text-align: center;
}
.cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.cta__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, oklch(0.2 0.014 62 / 0.6), var(--card));
}
.cta__inner {
  position: relative;
}
.cta__title {
  margin-inline: auto;
  max-width: 48rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.75rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}
.cta__lead {
  margin: 1.25rem auto 0;
  max-width: 34rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted-foreground);
  text-wrap: pretty;
}
.cta__actions {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.link-plain {
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.link-plain:hover {
  color: var(--primary);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border-soft);
  background: oklch(0.2 0.014 62 / 0.3);
}
.footer__inner {
  padding-block: 4rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.footer__blurb {
  margin-top: 1rem;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}
.footer__heading {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-foreground);
}
.footer__links {
  margin-top: 1rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.footer__links a {
  color: oklch(0.96 0.008 80 / 0.8);
  transition: color 0.2s ease;
}
.footer__links a:hover {
  color: var(--primary);
}
.footer__address {
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}
.footer__email {
  padding-top: 0.5rem;
}
.footer__email a {
  color: oklch(0.96 0.008 80 / 0.8);
}
.footer__email a:hover {
  color: var(--primary);
}
.footer__bottom {
  margin-top: 3.5rem;
  border-top: 1px solid var(--border-soft);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    align-items: center;
  }
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .cta {
    padding-inline: 4rem;
  }
  .cta__actions {
    flex-direction: row;
    justify-content: center;
  }
  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
  .nav__cta {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
  .hero__inner {
    padding-block: 7rem;
  }
  .section {
    padding-block: 8rem;
  }
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .grid-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .work-card--wide {
    grid-column: span 2;
  }
  .work-card--wide .work-card__media img {
    height: 20rem;
  }
  .results {
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .marquee__track {
    animation: none;
  }
}
