/* Components — header, buttons, panels, forms, command */

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-h);
  /* Glass via pseudo — keeps backdrop-filter off the header box so it
     cannot form a containing block that clips the mobile menu */
  background: linear-gradient(to bottom, var(--bg-glass-strong), rgba(7, 7, 8, 0.72));
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  pointer-events: none;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-soft);
  background: var(--bg-glass-strong);
}

.site-header__inner {
  height: 100%;
  width: min(100% - var(--gutter) * 2, var(--content-wide));
  max-width: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) minmax(0, auto);
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand__logo {
  height: 1.75rem;
  width: auto;
  max-height: 2rem;
  opacity: 0.98;
  display: block;
  object-fit: contain;
}

.brand__logo--footer {
  height: 2rem;
  max-width: 160px;
}

.brand__mark {
  color: var(--text-primary);
  opacity: 0.92;
}

.brand__text {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand__wm {
  letter-spacing: 0.08em;
}

.brand__studios {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.78em;
  letter-spacing: 0.18em;
}

.primary-nav {
  justify-self: center;
}

.primary-nav__list {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

@media (min-width: 1100px) {
  .primary-nav__list {
    display: flex;
  }
}

.nav-link {
  display: inline-block;
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.nav-link.is-active {
  color: var(--text-primary);
  background: rgba(196, 165, 116, 0.08);
  box-shadow: inset 0 -1px 0 var(--copper);
}

/* Products dropdown */
.nav-item--has-children {
  position: relative;
}

/* Invisible bridge so the mouse can travel parent → panel without closing */
.nav-item--has-children::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0.55rem;
  display: none;
}

.nav-sub {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  translate: -50% 0;
  min-width: 13.5rem;
  margin: 0;
  padding: 0.45rem;
  list-style: none;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  background: rgba(10, 10, 14, 0.98);
  box-shadow: var(--shadow-panel);
  z-index: 40;
}

.nav-item--has-children:hover::after,
.nav-item--has-children:focus-within::after {
  display: block;
}

.nav-item--has-children:hover .nav-sub,
.nav-item--has-children:focus-within .nav-sub {
  display: block;
}

.nav-sub__label {
  display: block;
  padding: 0.45rem 0.75rem 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  pointer-events: none;
  user-select: none;
}

.nav-sub__label:not(:first-child) {
  margin-top: 0.3rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(232, 228, 220, 0.08);
}

.nav-sub a {
  display: block;
  padding: 0.45rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-sub a:hover,
.nav-sub a.is-active {
  color: var(--text-primary);
  background: rgba(196, 165, 116, 0.1);
}

.nav-sub a.nav-sub__hub {
  color: var(--text-secondary, var(--text-primary));
  font-weight: 600;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  justify-self: end;
}

.header-cta {
  display: none;
}

@media (min-width: 720px) {
  .header-cta {
    display: inline-flex;
  }
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast);
}

.btn-icon:hover {
  border-color: var(--line-mid);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.btn-icon .kbd-hint {
  display: none;
}

@media (min-width: 1100px) {
  .btn-icon {
    width: auto;
    padding-inline: 0.65rem;
  }
  .btn-icon .kbd-hint {
    display: inline;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    opacity: 0.55;
  }
  .btn-icon svg {
    display: none;
  }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 14px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--text-primary);
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (min-width: 1100px) {
  .nav-toggle {
    display: none;
  }
}

/* Full-screen mobile drawer — sibling of header, not clipped by it */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: calc(var(--z-header) + 10);
  background: rgba(7, 7, 8, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 28rem;
  margin-inline: auto;
}

.mobile-nav__link {
  display: block;
  padding: 0.72rem 0.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 4.2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text-primary);
  border-bottom: 1px solid var(--line-faint);
}

.mobile-nav__link.is-active {
  color: var(--copper-bright);
}

.mobile-nav__child .mobile-nav__link {
  padding-left: 1rem;
  font-size: clamp(0.95rem, 3.8vw, 1.1rem);
  font-weight: 500;
  color: var(--text-secondary);
  opacity: 0.95;
}

.mobile-nav__cta {
  margin-top: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 0;
}

.mobile-nav__cta .btn {
  width: 100%;
  justify-content: center;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--dur-fast) var(--ease-out),
    background var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    color var(--dur-fast);
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(135deg, #e8dfd0 0%, var(--copper-bright) 100%);
  color: var(--text-invert);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 8px 28px rgba(196, 165, 116, 0.2);
}

.btn--primary:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 12px 36px rgba(196, 165, 116, 0.32);
  color: var(--text-invert);
}

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

.btn--ghost:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.btn--violet {
  background: linear-gradient(135deg, var(--violet-deep), var(--violet));
  color: #fff;
  box-shadow: 0 8px 28px var(--violet-glow);
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
}

.btn__arrow {
  font-size: 0.95em;
  opacity: 0.85;
  transition: transform var(--dur-fast) var(--ease-out);
}

.btn:hover .btn__arrow {
  transform: translate(2px, -2px);
}

/* —— Panels —— */
.panel {
  background: linear-gradient(160deg, rgba(26, 26, 34, 0.9), rgba(14, 14, 18, 0.95));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-panel);
  padding: var(--space-5);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 200px at 20% 0%, rgba(196, 165, 116, 0.06), transparent 60%);
  pointer-events: none;
}

.panel--glass {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
}

.panel-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

/* —— Live pill —— */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.35);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

.live-pill__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 var(--green-glow);
  animation: pulse-dot 2.4s var(--ease-out) infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61, 207, 142, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(61, 207, 142, 0); }
}

/* —— Cards —— */
.card-grid {
  display: grid;
  gap: var(--space-4);
}

.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background: linear-gradient(165deg, rgba(22, 22, 28, 0.95), rgba(12, 12, 16, 0.98));
  text-decoration: none;
  color: inherit;
  transition:
    border-color var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

a.card:hover {
  border-color: var(--line-mid);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.card__icon {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(196, 165, 116, 0.28);
  color: var(--copper-bright);
  font-size: 0.95rem;
  background: linear-gradient(145deg, rgba(196, 165, 116, 0.1), rgba(8, 8, 12, 0.75));
  box-shadow: 0 0 14px rgba(196, 165, 116, 0.12), inset 0 1px 0 rgba(196, 165, 116, 0.1);
}

/* —— Professional glowing icon system (site-wide) —— */
.wm-icon {
  display: block;
  flex-shrink: 0;
}

.wm-icon--glow {
  filter: drop-shadow(0 0 5px currentColor);
}

.wm-icon-wrap {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
  border: 1px solid rgba(196, 165, 116, 0.28);
  background: linear-gradient(145deg, rgba(196, 165, 116, 0.1), rgba(8, 8, 12, 0.8));
  color: var(--copper-bright);
  box-shadow:
    0 0 16px rgba(196, 165, 116, 0.14),
    inset 0 1px 0 rgba(196, 165, 116, 0.1);
  flex-shrink: 0;
}

.wm-icon-wrap--sm {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 8px;
}

.wm-icon-wrap--lg {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 12px;
}

.wm-icon-wrap--copper {
  color: var(--copper-bright);
  border-color: rgba(196, 165, 116, 0.32);
  background: linear-gradient(145deg, rgba(196, 165, 116, 0.12), rgba(8, 8, 12, 0.8));
  box-shadow: 0 0 16px rgba(196, 165, 116, 0.16), inset 0 1px 0 rgba(196, 165, 116, 0.1);
}

.wm-icon-wrap--cyan {
  color: var(--cyan-bright, #4ec4e0);
  border-color: rgba(78, 196, 224, 0.35);
  background: linear-gradient(145deg, rgba(78, 196, 224, 0.12), rgba(8, 8, 12, 0.8));
  box-shadow: 0 0 16px rgba(78, 196, 224, 0.16), inset 0 1px 0 rgba(78, 196, 224, 0.1);
}

.wm-icon-wrap--violet {
  color: var(--violet-bright, #a78bfa);
  border-color: rgba(167, 139, 250, 0.35);
  background: linear-gradient(145deg, rgba(167, 139, 250, 0.12), rgba(8, 8, 12, 0.8));
  box-shadow: 0 0 16px rgba(167, 139, 250, 0.18), inset 0 1px 0 rgba(167, 139, 250, 0.1);
}

.wm-icon-wrap--green {
  color: #5dcc9a;
  border-color: rgba(93, 204, 154, 0.35);
  background: linear-gradient(145deg, rgba(93, 204, 154, 0.12), rgba(8, 8, 12, 0.8));
  box-shadow: 0 0 16px rgba(93, 204, 154, 0.16), inset 0 1px 0 rgba(93, 204, 154, 0.1);
}

.wm-icon-wrap--rose {
  color: #e8a0a0;
  border-color: rgba(220, 100, 100, 0.35);
  background: linear-gradient(145deg, rgba(180, 60, 60, 0.12), rgba(8, 8, 12, 0.8));
  box-shadow: 0 0 16px rgba(200, 80, 80, 0.14), inset 0 1px 0 rgba(220, 100, 100, 0.1);
}

.wm-icon-wrap--amber {
  color: #e0b35c;
  border-color: rgba(224, 179, 92, 0.4);
  background: linear-gradient(145deg, rgba(224, 179, 92, 0.12), rgba(8, 8, 12, 0.8));
  box-shadow: 0 0 16px rgba(224, 179, 92, 0.16), inset 0 1px 0 rgba(224, 179, 92, 0.1);
}

@media (prefers-reduced-motion: no-preference) {
  .wm-icon-wrap--pulse {
    animation: wm-icon-breathe 4.8s ease-in-out infinite;
  }
}

@keyframes wm-icon-breathe {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.12); }
}

/* Icon rows (contact / lists) */
.wm-icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.wm-icon-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.45;
}

.wm-icon-list .wm-icon-wrap {
  margin-top: 0.05rem;
}

a.card:hover .wm-icon-wrap,
a.card:hover .card__icon {
  border-color: rgba(196, 165, 116, 0.45);
  box-shadow: 0 0 20px rgba(196, 165, 116, 0.22), inset 0 1px 0 rgba(196, 165, 116, 0.12);
}

.problem-tile__icon.wm-icon-wrap,
.problem-tile .wm-icon-wrap {
  margin-inline: auto;
  width: 2.15rem;
  height: 2.15rem;
}

.problem-tile.is-active .wm-icon-wrap {
  border-color: rgba(196, 165, 116, 0.55);
  color: var(--copper-bright);
  box-shadow: 0 0 18px rgba(196, 165, 116, 0.28), inset 0 1px 0 rgba(196, 165, 116, 0.15);
}

.panel-with-icon {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.panel-with-icon__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.panel-with-icon__head .panel-label {
  margin: 0;
}

.card__title {
  font-size: var(--text-md);
  font-weight: 600;
}

.card__text {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.card__meta {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* —— Status chips —— */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line-soft);
  color: var(--text-secondary);
}

.chip--available {
  color: var(--green-bright);
  border-color: rgba(61, 207, 142, 0.35);
  background: rgba(61, 207, 142, 0.08);
}

.chip--pilot {
  color: var(--amber-bright);
  border-color: rgba(232, 165, 75, 0.35);
  background: rgba(232, 165, 75, 0.08);
}

.chip--dev {
  color: var(--cyan-bright);
  border-color: rgba(78, 196, 217, 0.35);
  background: rgba(78, 196, 217, 0.08);
}

.chip--labs {
  color: var(--violet-bright);
  border-color: rgba(139, 124, 246, 0.35);
  background: rgba(139, 124, 246, 0.08);
}

/* —— Forms —— */
.form {
  display: grid;
  gap: var(--space-4);
}

.form-row {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 720px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-mid);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-primary);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px var(--copper-glow);
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field-error,
.form-errors {
  color: #ffb4bc;
  font-size: var(--text-sm);
}

.form-errors {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid rgba(224, 107, 122, 0.4);
  background: rgba(224, 107, 122, 0.08);
}

/* Anti-spam honeypot — off-screen, not display:none (bots often skip that) */
.form--contact {
  position: relative;
}

.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.honeypot label,
.honeypot input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  overflow: hidden;
}

/* —— Command palette —— */
.command-palette {
  position: fixed;
  inset: 0;
  z-index: var(--z-command);
  display: grid;
  place-items: start center;
  padding: 12vh var(--gutter) var(--gutter);
}

.command-palette[hidden] {
  display: none;
}

.command-palette__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
}

.command-palette__panel {
  position: relative;
  width: min(100%, 34rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-mid);
  background: var(--bg-panel);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.command-palette__search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-muted);
}

.command-palette__search input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
}

.command-palette__search kbd {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  border: 1px solid var(--line-soft);
  color: var(--text-dim);
}

.command-palette__results {
  max-height: 18rem;
  overflow-y: auto;
  padding: 0.5rem;
}

.command-palette__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
}

.command-palette__item[aria-selected="true"],
.command-palette__item:hover {
  background: rgba(196, 165, 116, 0.1);
}

.command-palette__item span {
  font-size: var(--text-sm);
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.command-palette__hint {
  padding: 0.65rem 1.15rem 0.9rem;
  color: var(--text-dim);
  border-top: 1px solid var(--line-faint);
}

/* —— Footer —— */
.site-footer {
  margin-top: var(--space-9);
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
  padding: var(--space-8) 0 var(--space-6);
}

.site-footer__grid {
  width: min(100% - var(--gutter) * 2, var(--content-wide));
  margin-inline: auto;
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

.site-footer__tagline {
  margin-top: var(--space-3);
  color: var(--text-secondary);
  max-width: 18rem;
}

.site-footer__meta {
  margin-top: var(--space-3);
  color: var(--text-dim);
}

.site-footer__heading {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--space-3);
  font-weight: 500;
}

.site-footer__col a {
  display: block;
  padding: 0.3rem 0;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--text-sm);
}

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

.site-footer__base {
  width: min(100% - var(--gutter) * 2, var(--content-wide));
  margin: var(--space-7) auto 0;
  padding-top: var(--space-5);
  border-top: 1px solid var(--line-faint);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  color: var(--text-dim);
  font-size: var(--text-sm);
}

.site-footer__note {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}

/* —— Page chrome —— */
.page-hero {
  padding: clamp(3rem, 8vw, 6rem) 0 var(--space-7);
  position: relative;
}

.page-hero h1 {
  font-size: var(--text-3xl);
  max-width: 16ch;
  margin-bottom: var(--space-5);
}

.page-hero .lead {
  margin-bottom: var(--space-6);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

/* Feature list */
.check-list {
  display: grid;
  gap: 0.65rem;
}

.check-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green-glow);
}

/* Section nav (bottom progress) */
.section-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--line-soft);
  margin-top: var(--space-8);
}

.section-nav__steps {
  display: none;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 900px) {
  .section-nav__steps {
    display: flex;
  }
}

.section-nav__step {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
}

.section-nav__step.is-active {
  color: var(--copper-bright);
}

/* Cursor glow (desktop enhancement) */
.cursor-glow {
  display: none;
  pointer-events: none;
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 165, 116, 0.07), transparent 65%);
  transform: translate(-50%, -50%);
  z-index: 1;
  mix-blend-mode: screen;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-glow {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-glow {
    display: none;
  }
}
