/* =================================================================
   Lumenclove DTC Marketing Agency
   Design system + components. Dark theme, single stylesheet.
   ================================================================= */

/* ---------- Fonts (self hosted Space Grotesk) ---------- */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-400.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-500.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-700.woff2") format("woff2");
}

/* ---------- Design tokens ---------- */
:root {
  --font-sans: "Space Grotesk", Arial, sans-serif;

  /* Surfaces */
  --bg: #050609;
  --bg-1: #0a0c13;
  --bg-2: #0f1220;
  --bg-3: #151a2b;

  /* Lines */
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  /* Text */
  --text: #f3f5fb;
  --muted: #a6adbe;
  --faint: #727b8d;

  /* Brand accent */
  --accent: #6e7bff;
  --accent-2: #9a6bff;
  --accent-soft: rgba(110, 123, 255, 0.14);
  --glow: rgba(83, 78, 190, 0.45);

  --white: #ffffff;
  --ink: #06070b;

  /* Radius */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.8);

  /* Layout */
  --container: 1180px;
  --container-narrow: 760px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);

  /* Type scale */
  --fs-display: clamp(2.5rem, 5vw + 1rem, 4.4rem);
  --fs-h1: clamp(2.2rem, 4vw + 0.8rem, 3.4rem);
  --fs-h2: clamp(1.85rem, 2.6vw + 0.6rem, 2.7rem);
  --fs-h3: clamp(1.3rem, 1.2vw + 0.7rem, 1.6rem);
  --fs-h4: clamp(1.1rem, 0.6vw + 0.8rem, 1.25rem);
  --fs-lead: clamp(1.06rem, 0.7vw + 0.85rem, 1.28rem);
  --fs-body: 1.02rem;
  --fs-sm: 0.9rem;
  --fs-xs: 0.8rem;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
main {
  flex: 1 0 auto;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
ul,
ol {
  list-style: none;
  padding: 0;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
}
h4 {
  font-size: var(--fs-h4);
  letter-spacing: -0.01em;
}
p {
  text-wrap: pretty;
}
strong {
  font-weight: 700;
  color: var(--text);
}
.lead {
  font-size: var(--fs-lead);
  color: var(--muted);
  line-height: 1.55;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.gradient-text {
  background: linear-gradient(100deg, #fff 30%, var(--accent) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--section-y);
}
.section--tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  margin-top: 0;
}
.section-head p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: var(--fs-lead);
}
.divider {
  border: 0;
  border-top: 1px solid var(--line);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 0.97rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.2s ease,
    border-color 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}
.btn .icon {
  width: 1.05em;
  height: 1.05em;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  background: var(--white);
  color: var(--ink);
}
.btn-primary:hover {
  box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.35);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-2);
  color: var(--text);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  padding-inline: 0.4rem;
}
.btn-ghost:hover {
  color: var(--accent);
}
.btn-lg {
  padding: 1rem 1.7rem;
  font-size: 1.02rem;
}
.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text);
  font-weight: 500;
  transition: gap 0.2s ease, color 0.2s ease;
}
.link-arrow .icon {
  width: 1em;
  height: 1em;
  transition: transform 0.2s ease;
}
.link-arrow:hover {
  color: var(--accent);
}
.link-arrow:hover .icon {
  transform: translateX(3px);
}

/* ---------- Icons ---------- */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
}
.icon--brand {
  fill: currentColor;
  stroke: none;
}
.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--r);
  background: var(--accent-soft);
  border: 1px solid var(--line-2);
  color: var(--accent);
}
.icon-badge .icon {
  width: 1.4rem;
  height: 1.4rem;
}

/* ---------- Badges / pills ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
  padding: 0.34rem 0.85rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  border: 1px solid var(--line);
}
.badge--soon {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}
.badge--dot::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease,
    backdrop-filter 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(5, 6, 9, 0.72);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4.75rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand img,
.brand svg {
  height: 1.85rem;
  width: auto;
}
.brand-name {
  white-space: nowrap;
}
.brand-accent {
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.005em;
  background: linear-gradient(92deg, #aeb8ff 0%, #b794ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #b794ff;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .brand-accent {
    color: #b794ff;
    -webkit-text-fill-color: currentColor;
  }
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.8rem;
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-link:hover,
.nav-item:hover .nav-link,
.nav-link[aria-expanded="true"] {
  color: var(--text);
}
.nav-link .chevron {
  width: 0.9em;
  height: 0.9em;
  transition: transform 0.2s ease;
}
.nav-item:hover .nav-link .chevron,
.nav-item:focus-within .nav-link .chevron,
.nav-link[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}
.nav-badge {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.12rem 0.4rem;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent);
}

/* Dropdown panel */
.dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 16rem;
  padding: 0.5rem;
  border-radius: var(--r);
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown,
.dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 0.6rem 0.7rem;
  border-radius: var(--r-sm);
  transition: background-color 0.18s ease;
}
.dropdown a:hover {
  background: rgba(255, 255, 255, 0.05);
}
.dropdown .d-title {
  font-weight: 500;
  color: var(--text);
}
.dropdown .d-desc {
  font-size: var(--fs-xs);
  color: var(--faint);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
}
.nav-toggle .icon {
  width: 1.35rem;
  height: 1.35rem;
}
.mobile-menu {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding-block: clamp(4rem, 9vw, 8.5rem) 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 120%;
  background: radial-gradient(
      60% 55% at 50% 0%,
      var(--glow),
      transparent 62%
    ),
    radial-gradient(
      40% 40% at 78% 8%,
      rgba(154, 107, 255, 0.18),
      transparent 60%
    );
  pointer-events: none;
  z-index: -1;
}
.hero h1 {
  font-size: clamp(2.1rem, 3.6vw + 0.9rem, 3.5rem);
  margin-inline: auto;
  max-width: 17ch;
}
.hero .lead {
  margin: 1.4rem auto 0;
  max-width: 56ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin-top: 2.2rem;
}
.hero-note {
  margin-top: 1.1rem;
  font-size: var(--fs-sm);
  color: var(--faint);
}

/* Channels row */
.channels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.channel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.channel:hover {
  opacity: 1;
  color: var(--text);
}
.channel .icon {
  width: 1.2rem;
  height: 1.2rem;
}

/* Hero revenue counter */
.hero-stat {
  margin-block: clamp(2.5rem, 5vw, 3.75rem) 0;
  padding-block: clamp(2rem, 4vw, 2.75rem);
  border-block: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.hero-stat__value {
  font-family: ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", Menlo,
    Consolas, monospace;
  font-size: clamp(2rem, 6vw + 0.6rem, 4.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  background: linear-gradient(100deg, #fff 25%, var(--accent) 115%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stat__label {
  font-size: var(--fs-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--faint);
}

/* ---------- Feature / value row ---------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.feature .icon {
  width: 1.55rem;
  height: 1.55rem;
  color: var(--accent);
}
.feature h3 {
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.feature p {
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* ---------- Generic card grids ---------- */
.grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  transition: border-color 0.2s ease, transform 0.2s ease,
    background-color 0.2s ease;
}
.card--link:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
}

/* Service cards */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}
.service-card .icon-badge {
  margin-bottom: 0.4rem;
}
.service-card h3 {
  font-size: 1.35rem;
}
.service-card .tagline {
  color: var(--text);
  font-weight: 500;
}
.service-card p {
  color: var(--muted);
  font-size: var(--fs-sm);
}
.service-card .link-arrow {
  margin-top: auto;
  padding-top: 0.6rem;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tag {
  font-size: var(--fs-xs);
  color: var(--muted);
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-1);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.step h3 {
  font-size: 1.1rem;
  margin: 0.7rem 0 0.5rem;
}
.step p {
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* ---------- Split / qualification band ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.panel {
  background: linear-gradient(160deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.5rem);
}
.check-list {
  display: grid;
  gap: 0.9rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--muted);
}
.check-list .icon {
  width: 1.3rem;
  height: 1.3rem;
  color: var(--accent);
  margin-top: 0.15rem;
}
.check-list strong {
  display: block;
  color: var(--text);
  font-weight: 500;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
}
.stat .num {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.stat .label {
  color: var(--muted);
  font-size: var(--fs-sm);
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
}
.member {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.member .avatar {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  background: var(--bg-3);
}
.member .avatar-fallback {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  background: radial-gradient(
    120% 120% at 30% 20%,
    var(--bg-3),
    var(--bg-1)
  );
}
.member .body {
  padding: 1.25rem 1.35rem 1.5rem;
}
.member .role {
  color: var(--accent);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.member h3 {
  font-size: 1.2rem;
  margin: 0.15rem 0 0.7rem;
}
.member p {
  color: var(--muted);
  font-size: var(--fs-sm);
}

/* ---------- FAQ accordion ---------- */
.faq {
  max-width: 820px;
  margin-inline: auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.3rem 0;
  background: none;
  border: 0;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--text);
}
.faq-q .icon {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--accent);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-q[aria-expanded="true"] .icon {
  transform: rotate(45deg);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}
.faq-a > div {
  overflow: hidden;
}
.faq-a p {
  color: var(--muted);
  padding-bottom: 1.3rem;
  max-width: 68ch;
}
.faq-q[aria-expanded="true"] + .faq-a {
  grid-template-rows: 1fr;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter);
  background: radial-gradient(80% 120% at 50% 0%, var(--accent-soft), var(--bg-1));
  overflow: hidden;
}
.cta-band h2 {
  max-width: 18ch;
  margin-inline: auto;
}
.cta-band p {
  max-width: 52ch;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: var(--fs-lead);
}
.cta-band .hero-actions {
  margin-top: 2rem;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 5vw, 4.5rem) 2rem;
  margin-top: var(--section-y);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.footer-brand .brand {
  margin-bottom: 1rem;
}
.footer-brand p {
  color: var(--muted);
  font-size: var(--fs-sm);
  max-width: 32ch;
}
.footer-brand .footer-contact {
  margin-top: 1.1rem;
  font-size: var(--fs-sm);
}
.footer-brand .footer-contact a {
  color: var(--text);
  font-weight: 500;
}
.footer-col h4 {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--faint);
  font-weight: 500;
  margin-bottom: 1rem;
}
.footer-col ul {
  display: grid;
  gap: 0.65rem;
}
.footer-col a {
  color: var(--muted);
  font-size: var(--fs-sm);
  transition: color 0.18s ease;
}
.footer-col a:hover {
  color: var(--text);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: var(--fs-xs);
}
.footer-bottom p {
  max-width: 60ch;
}
.footer-disclaimer {
  margin-top: 1.25rem;
}
.footer-disclaimer p {
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--faint);
  opacity: 0.75;
  max-width: 90ch;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -40% 0 auto 0;
  height: 100%;
  background: radial-gradient(50% 60% at 30% 0%, var(--glow), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
}
.page-hero h1 {
  font-size: var(--fs-h1);
  max-width: 20ch;
}
.page-hero .lead {
  margin-top: 1.2rem;
  max-width: 60ch;
}

/* Breadcrumbs */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-xs);
  color: var(--faint);
  margin-bottom: 1.4rem;
}
.breadcrumb a:hover {
  color: var(--text);
}
.breadcrumb .sep {
  opacity: 0.5;
}

/* ---------- Prose (legal, articles) ---------- */
.prose {
  max-width: var(--container-narrow);
}
.prose h2 {
  font-size: var(--fs-h3);
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
}
.prose h3 {
  font-size: 1.2rem;
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
}
.prose p,
.prose li {
  color: var(--muted);
  margin-bottom: 1rem;
}
.prose ul,
.prose ol {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}
.prose ul li {
  list-style: disc;
}
.prose ol li {
  list-style: decimal;
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose strong {
  color: var(--text);
}
.prose .meta {
  color: var(--faint);
  font-size: var(--fs-sm);
  margin-bottom: 2rem;
}

/* ---------- Empty states (work, blog, guides, tech stack) ---------- */
.empty-state {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  padding-block: clamp(2rem, 6vw, 4rem);
}
.empty-state .icon-badge {
  margin: 0 auto 1.5rem;
  width: 4rem;
  height: 4rem;
}
.empty-state .icon-badge .icon {
  width: 1.8rem;
  height: 1.8rem;
}
.empty-state h2 {
  font-size: var(--fs-h3);
}
.empty-state p {
  color: var(--muted);
  margin: 1rem auto 0;
  max-width: 48ch;
}
.empty-state .hero-actions {
  justify-content: center;
  margin-top: 2rem;
}

/* ---------- Contact / disabled calendar ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-card {
  display: grid;
  gap: 1.5rem;
}
.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.contact-line .icon-badge {
  width: 2.6rem;
  height: 2.6rem;
}
.contact-line .icon-badge .icon {
  width: 1.2rem;
  height: 1.2rem;
}
.contact-line .label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--faint);
}
.contact-line a,
.contact-line .value {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
}

.calendar {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--bg-1);
}
.calendar-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.6rem;
  padding: 1.5rem;
  border-radius: inherit;
  background: rgba(5, 6, 9, 0.78);
  backdrop-filter: blur(3px);
  z-index: 2;
}
.calendar-overlay .badge {
  margin-inline: auto;
}
.calendar-overlay h3 {
  font-size: 1.25rem;
}
.calendar-overlay p {
  color: var(--muted);
  font-size: var(--fs-sm);
  max-width: 32ch;
  margin-inline: auto;
}
.calendar[aria-disabled="true"] .cal-inner {
  filter: grayscale(0.4);
  opacity: 0.5;
  user-select: none;
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.cal-head .cal-month {
  font-weight: 500;
}
.cal-nav {
  display: flex;
  gap: 0.4rem;
}
.cal-nav span {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  color: var(--muted);
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}
.cal-grid .dow {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--faint);
  padding-bottom: 0.4rem;
}
.cal-grid .day {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  color: var(--muted);
  border: 1px solid transparent;
}
.cal-grid .day.is-muted {
  color: var(--faint);
  opacity: 0.4;
}
.cal-grid .day.is-slot {
  border-color: var(--line-2);
  color: var(--text);
}

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-150%);
  top: 0.5rem;
  z-index: 100;
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: var(--r-pill);
  font-weight: 500;
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: translateX(-50%) translateY(0);
}
.text-center {
  text-align: center;
}
.mt-0 {
  margin-top: 0;
}
.stack > * + * {
  margin-top: 1rem;
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .feature-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .nav-list,
  .nav-actions .btn {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .grid-2,
  .grid-3,
  .team-grid,
  .split,
  .contact-grid,
  .stats {
    grid-template-columns: 1fr;
  }
  .split {
    gap: 2rem;
  }

  /* Mobile menu */
  .mobile-menu {
    position: fixed;
    inset: 4.75rem 0 0;
    z-index: 45;
    background: var(--bg);
    border-top: 1px solid var(--line);
    padding: 1.25rem var(--gutter) 2.5rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .mobile-menu.is-open {
    transform: translateX(0);
  }
  body.menu-open {
    overflow: hidden;
  }
  .m-group {
    border-bottom: 1px solid var(--line);
  }
  .m-link,
  .m-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 1rem 0.25rem;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text);
    background: none;
    border: 0;
    text-align: left;
  }
  .m-toggle .icon {
    width: 1.1rem;
    height: 1.1rem;
    color: var(--muted);
    transition: transform 0.2s ease;
  }
  .m-toggle[aria-expanded="true"] .icon {
    transform: rotate(180deg);
  }
  .m-sub {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease;
  }
  .m-sub > div {
    overflow: hidden;
  }
  .m-toggle[aria-expanded="true"] + .m-sub {
    grid-template-rows: 1fr;
  }
  .m-sub a {
    display: block;
    padding: 0.7rem 0.25rem 0.7rem 1rem;
    color: var(--muted);
  }
  .mobile-menu .btn {
    margin-top: 1.25rem;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .feature-row {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

/* ---------- Motion / contrast preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
