/* Lumenreach Agency — site styles. Self-hosted display font, no framework. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0f0f0d;
  --surface: #1a1a17;
  --surface-2: #232320;
  --line: #2e2d29;
  --line-strong: #46443d;
  --ink: #f4f2ea;
  --muted: #a9a69a;
  --faint: #6b6758;
  --accent: #ffd23f;
  --accent-ink: #0f0f0d;
  --accent-muted: #4a4535;

  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --wrap: 80rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Film grain over everything; purely decorative. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  background-image: url("/assets/grain.svg");
  background-size: 240px;
  opacity: 0.045;
  pointer-events: none;
}

main {
  flex: 1;
}

img,
svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 7.5vw, 6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.375rem;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-thickness: 2px;
}

strong {
  color: var(--ink);
  font-weight: 650;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.hl {
  color: var(--accent);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
}

.kicker::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--accent);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(15 15 13 / 0.78);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  min-height: 4.25rem;
  padding-block: 0.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.06);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.975rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a[aria-current="page"]:not(.nav-cta) {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.5em;
}

.site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  border-radius: 999px;
  color: var(--accent-ink);
  font-weight: 600;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  color: var(--accent-ink);
  background: #ffe07a;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.9rem;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

.menu-icon,
.menu-icon::before {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}

.menu-icon {
  position: relative;
  transform: translateY(-3px);
}

.menu-icon::before {
  content: "";
  position: absolute;
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  transform: translateY(0) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
  transform: translateY(-6px) rotate(-90deg);
}

@media (max-width: 47.99rem) {
  .js .menu-toggle:not([hidden]) {
    display: inline-flex;
  }

  .js .site-nav {
    display: none;
    flex-basis: 100%;
  }

  .js .site-nav.is-open {
    display: block;
  }

  .js .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 0.5rem 1rem;
  }

  .js .site-nav li a:not(.nav-cta) {
    display: block;
    padding-block: 0.85rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--ink);
  }

  .js .site-nav .nav-cta {
    justify-content: center;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
  }
}

/* ---------- Buttons ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: #ffe07a;
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

/* ---------- Sections ---------- */

.section {
  padding-block: var(--section);
}

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

section[id] {
  scroll-margin-top: 4.25rem;
}

.section-head {
  display: grid;
  gap: 1rem 4rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-head h2 {
  margin: 0;
  max-width: 16ch;
}

.section-head p {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.125rem;
}

@media (min-width: 56rem) {
  .section-head {
    grid-template-columns: 1.3fr 1fr;
    align-items: end;
  }
}

.lead {
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1.125rem, 1.9vw, 1.3rem);
  line-height: 1.6;
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: 3rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.5rem;
}

.prose li::marker {
  color: var(--accent);
}

.prose .statement {
  margin-bottom: 1.5em;
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.prose .statement .dim {
  color: var(--faint);
}

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 7vw, 6rem);
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(closest-side, rgb(255 210 63 / 0.14), transparent 70%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

.hero h1 {
  font-size: clamp(3rem, 9.5vw, 7.75rem);
  max-width: 10ch;
  margin-bottom: 0.35em;
}

.orbit {
  width: 100%;
  max-width: 34rem;
  justify-self: center;
  overflow: visible;
}

.orbit text {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.orbit .core {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.orbit .spin {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: spin 80s linear infinite;
}

.orbit .spin-reverse {
  animation-duration: 120s;
  animation-direction: reverse;
}

.orbit .ripple {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: ripple 5s var(--ease) infinite;
}

.orbit .ripple-2 {
  animation-delay: 2.5s;
}

.orbit .float {
  animation: float 6s ease-in-out infinite;
}

.orbit .float-2 {
  animation-delay: -2s;
}

.orbit .float-3 {
  animation-delay: -4s;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0.3);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.05);
    opacity: 0;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (min-width: 60rem) {
  .hero .wrap {
    grid-template-columns: 1.2fr 1fr;
  }

  .orbit {
    justify-self: end;
  }
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  padding-block: clamp(1.25rem, 3vw, 2rem);
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee ul {
  display: flex;
  flex: none;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin: 0;
  padding: 0 clamp(0.75rem, 2vw, 1.5rem);
  list-style: none;
}

.marquee li {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  color: var(--faint);
  font-family: var(--display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  white-space: nowrap;
}

.marquee li:nth-child(3n + 1) {
  color: var(--ink);
}

.marquee li:nth-child(3n + 2) {
  color: var(--accent);
}

.marquee li::after {
  content: "✶";
  color: var(--faint);
  font-size: 0.4em;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Statement ---------- */

.statement {
  max-width: 62rem;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.statement .dim {
  color: var(--faint);
}

/* ---------- Services ---------- */

.services {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  counter-reset: svc;
}

.services > li {
  display: grid;
  gap: 1rem 2.5rem;
  padding-block: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  counter-increment: svc;
}

.services > li::before {
  content: "0" counter(svc);
  color: var(--accent);
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.services h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  letter-spacing: -0.035em;
}

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

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.875rem;
}

@media (min-width: 56rem) {
  .services > li {
    grid-template-columns: 5rem 1fr 1.25fr;
    align-items: start;
  }
}

/* ---------- Bento ---------- */

.bento {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 19rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tile svg {
  width: 100%;
  max-width: 15rem;
  height: auto;
  margin-bottom: 2rem;
}

.tile h3 {
  margin-bottom: 0.35rem;
}

.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.975rem;
}

.tile-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

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

@media (min-width: 40rem) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .bento {
    grid-template-columns: repeat(6, 1fr);
  }

  .bento > :nth-child(1),
  .bento > :nth-child(4) {
    grid-column: span 4;
  }

  .bento > :nth-child(2),
  .bento > :nth-child(3) {
    grid-column: span 2;
  }

  .bento > :nth-child(1),
  .bento > :nth-child(4) {
    flex-direction: row-reverse;
    align-items: flex-end;
    gap: 2rem;
  }

  .bento > :nth-child(1) svg,
  .bento > :nth-child(4) svg {
    align-self: center;
    max-width: 24rem;
    margin: 0;
  }

  .bento > :nth-child(1) > div,
  .bento > :nth-child(4) > div {
    max-width: 18rem;
  }
}

@media print {
  .reveal {
    animation: none !important;
  }
}

/* ---------- Steps ---------- */

.steps {
  position: relative;
  display: grid;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 3.5rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.2rem;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--bg);
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--display);
  font-weight: 600;
}

.steps h3 {
  font-size: 1.5rem;
}

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

@media (min-width: 56rem) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }

  .steps::before {
    content: "";
    position: absolute;
    top: 1.25rem;
    left: 2.5rem;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--line) 70%);
  }

  .steps li {
    padding-left: 0;
    padding-top: 4.5rem;
  }

  .steps li::before {
    top: 0;
  }
}

/* ---------- Yellow CTA ---------- */

.cta {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  color: var(--accent-ink);
}

.cta .wrap {
  position: relative;
  display: grid;
  gap: 2rem;
}

.cta h2 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.5rem, 7.5vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.cta p {
  max-width: 32rem;
  margin: 0;
  color: var(--accent-muted);
  font-size: 1.125rem;
}

.cta p + p {
  margin-top: 1.25rem;
}

.cta a:not(.btn) {
  color: var(--accent-ink);
}

.cta :focus-visible {
  outline-color: var(--accent-ink);
}

.cta-mail {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(1.35rem, 4.2vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
  text-decoration-thickness: 2px;
}

.cta-mail:hover {
  text-decoration-thickness: 4px;
}

.cta-rings {
  position: absolute;
  right: -8rem;
  bottom: -12rem;
  width: 34rem;
  opacity: 0.35;
  pointer-events: none;
}

.cta p:has(.cta-mail) {
  max-width: none;
}

/* ---------- Page hero ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 9vw, 7.5rem) clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  width: 70vw;
  height: 70vw;
  max-width: 1000px;
  max-height: 1000px;
  background: radial-gradient(closest-side, rgb(255 210 63 / 0.1), transparent 70%);
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
}

.page-hero h1 {
  max-width: 14ch;
}

.page-hero .lead {
  margin-top: 1.75rem;
  margin-bottom: 0;
}

/* ---------- Process flow ---------- */

.flow-wrap {
  margin-top: clamp(3rem, 7vw, 5rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.flow-title {
  margin-bottom: 1.5rem;
  font-size: 1.375rem;
}

.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.flow li span {
  display: inline-block;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 500;
}

.flow li:not(:last-child)::after {
  content: "→";
  color: var(--accent);
}

.flow li.vendor span {
  border-style: dashed;
  color: var(--muted);
}

.flow li:last-child span {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

/* ---------- About ---------- */

.about-body {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* ---------- Contact ---------- */

.contact-details {
  display: grid;
  gap: 1.25rem 2rem;
  margin: 1rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid rgb(15 15 13 / 0.25);
}

.contact-details dt {
  color: var(--accent-muted);
  font-size: 0.875rem;
}

.contact-details dd {
  margin: 0.15rem 0 0;
  font-size: 1.125rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

@media (min-width: 48rem) {
  .contact-details {
    grid-template-columns: repeat(2, auto);
    justify-content: start;
    column-gap: 4rem;
  }
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 56rem;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  display: block;
  padding: 1.6rem 3.5rem 1.6rem 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--accent);
}

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq .answer {
  max-width: 44rem;
  padding-bottom: 1.75rem;
  color: var(--muted);
}

.faq .answer p:last-child {
  margin-bottom: 0;
}

/* ---------- 404 ---------- */

.lost {
  display: grid;
  align-content: center;
  min-height: 60vh;
}

.lost-code {
  margin: 0 0 1rem;
  color: var(--surface-2);
  font-family: var(--display);
  font-size: clamp(7rem, 26vw, 18rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.06em;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-top: clamp(3.5rem, 8vw, 6rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  overflow: hidden;
}

.cta + .site-footer,
main:has(> .cta:last-child) + .site-footer {
  border-top: 0;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

.footer-wordmark {
  width: 100%;
  height: auto;
  overflow: visible;
  user-select: none;
}

.footer-wordmark text {
  fill: var(--surface-2);
  font-family: var(--display);
  font-size: 200px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom ul {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Scroll reveal (progressive) ---------- */

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
