/* LeVik Studio - studio.levik.in
   Dark cinematic studio design. All visuals drawn in code: no raster assets. */

/* ---------- Fonts (self-hosted, latin subset) ---------- */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/fraunces-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/fraunces-italic-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */

:root {
  --bg: #0a0a0d;
  --bg-2: #0e0e12;
  --panel: #121218;
  --panel-2: #15151c;
  --line: rgba(236, 231, 220, 0.09);
  --line-strong: rgba(236, 231, 220, 0.16);
  --text: #ece7dc;
  --muted: #a39d90;
  --faint: #8a857a;
  --amber: #e3a44e;
  --gold: #f0c987;
  --amber-deep: #c98d3e;
  --amber-bright: #f0b866;
  --amber-soft: rgba(227, 164, 78, 0.12);
  --bone: #f4f0e6;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="light"] .skip-link {
  background: var(--text);
  color: var(--bg);
}
html[data-theme="light"].has-3d .hero-inner::before {
  background: radial-gradient(ellipse 62% 58% at 50% 46%, rgba(243, 239, 230, 0.55), rgba(243, 239, 230, 0.25) 62%, rgba(243, 239, 230, 0) 82%);
}
[data-theme="light"] .site-footer {
  background: linear-gradient(180deg, var(--bg), #e2dac7);
}
[data-theme="light"] .btn:not(.btn-primary) { background: rgba(250, 246, 238, 0.92); }
html.has-3d[data-theme="light"] body { background: #f3efe6; }

/* ---------- light appearance ---------- */
:root[data-theme="light"] {
  --bg: #f4efe6;
  --bg-2: #ece6d8;
  --panel: #faf6ee;
  --panel-2: #f3ede1;
  --line: rgba(40, 32, 20, 0.14);
  --line-strong: rgba(40, 32, 20, 0.26);
  --text: #1d160c;
  --muted: #574d3b;
  --faint: #665c4b;
  --amber: #754a0d;
  --gold: #6d4a14;
  --amber-deep: #6a450e;
  --amber-bright: #7a4c0e;
  --amber-soft: rgba(156, 100, 20, 0.14);
  --bone: #241c10;
  --btn-primary-ink: #fff6e6;
}

/* ---------- appearance toggle ---------- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.34rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.theme-toggle:hover { color: var(--amber); border-color: var(--amber); }
.tt-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}
@media (max-width: 680px) {
  .theme-toggle {
    padding: 0.34rem 0.5rem;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }
  .theme-toggle .tt-label { font-size: 0.68rem; }
}

/* the guest shortlist: a disclosure so the page stays calm */
.guest-board {
  margin-top: 2.4rem;
  max-width: 46rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  overflow: hidden;
}
.guest-board summary {
  cursor: pointer;
  padding: 1.1rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.guest-board summary::-webkit-details-marker { display: none; }
.guest-board summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--amber);
  border-bottom: 1px solid var(--amber);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.guest-board[open] summary::after { transform: rotate(225deg); }
.guest-board[open] summary { border-bottom: 1px solid var(--line); }
.guest-list {
  list-style: none;
  margin: 0;
  padding: 0.9rem 1.5rem 1.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.55rem 1.6rem;
}
.guest-list li { font-size: 0.95rem; color: var(--muted); }
.guest-list strong {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--bone);
  margin-right: 0.4rem;
}

/* ---------- Reset ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background:
    radial-gradient(1100px 520px at 50% -8%, rgba(227, 164, 78, 0.05), rgba(227, 164, 78, 0) 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  /* clip only on x: it never breaks position:sticky. Never clip y here:
     a non-visible overflow on body propagates to the viewport and, as clip,
     is interpreted as hidden, which kills all user scrolling. */
  overflow-x: clip;
}

/* Film grain over everything, drawn in SVG, no asset files */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 90;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: var(--amber);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover {
  color: var(--amber-bright);
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--amber);
  color: #14100a;
  padding: 0.6rem 1rem;
  font-weight: 600;
  z-index: 200;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* anchors land clear of the fixed header */
[id] {
  scroll-margin-top: 8.5rem;
}

/* links inside prose must be identifiable without colour alone */
p a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

/* screen-reader-only text for heading order */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout ---------- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}
.section + .section {
  border-top: 1px solid var(--line);
}

.section-head {
  margin-bottom: 3rem;
  max-width: 46rem;
}

/* ---------- Typography ---------- */

::selection {
  background: rgba(227, 164, 78, 0.3);
  color: #fff6e6;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--bone);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.7rem, 6.5vw, 4.8rem);
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

h3 {
  font-size: 1.35rem;
  line-height: 1.25;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 40rem;
  margin-top: 1.4rem;
}

.accent {
  font-style: italic;
  background: linear-gradient(105deg, var(--gold) 10%, var(--amber) 55%, var(--amber-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
}
/* legibility scrim: content scrolls under the fixed header on inner pages */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -2rem;
  z-index: -1;
  background: linear-gradient(180deg, var(--bg) 92%, rgba(10, 10, 13, 0));
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.25rem;
  flex-wrap: wrap;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  color: var(--bone);
}
.wordmark:hover {
  color: var(--bone);
}
.wordmark .name {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.wordmark .name .lv {
  color: var(--amber);
}
.wordmark .tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--faint);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover {
  color: var(--bone);
}
.nav-links a[aria-current="page"] {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

/* ---------- Hamburger + mobile drawer ---------- */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 38px;
  padding: 0 9px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--bg);
  display: grid;
  place-items: center;
}
.mobile-menu[hidden] { display: none; }

.mobile-menu ul {
  list-style: none;
  display: grid;
  gap: 2rem;
  text-align: center;
}
.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--bone);
}
.mobile-menu a:hover {
  color: var(--amber);
}

.menu-close {
  position: absolute;
  top: 1.1rem;
  right: 1.4rem;
  width: 42px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
}
.menu-close span {
  position: absolute;
  left: 9px;
  right: 9px;
  top: 50%;
  height: 1.5px;
  background: var(--text);
}
.menu-close span:first-child { transform: rotate(45deg); }
.menu-close span:last-child { transform: rotate(-45deg); }

body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 7.5rem 0 6.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-beams {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 72% -10%, rgba(227, 164, 78, 0.16), transparent 65%),
    radial-gradient(ellipse 40% 35% at 12% 110%, rgba(120, 90, 160, 0.07), transparent 60%),
    conic-gradient(from 200deg at 85% -20%, transparent 40%, rgba(227, 164, 78, 0.06) 50%, transparent 60%);
}
.hero-beams::before,
.hero-beams::after {
  content: "";
  position: absolute;
  top: -20%;
  width: 34vw;
  height: 130%;
  filter: blur(38px);
  opacity: 0.5;
  background: linear-gradient(180deg, rgba(227, 164, 78, 0.1), transparent 75%);
  transform-origin: top center;
}
.hero-beams::before {
  left: 8%;
  transform: rotate(14deg);
  animation: beam-sway 16s ease-in-out infinite alternate;
}
.hero-beams::after {
  right: 6%;
  transform: rotate(-12deg);
  animation: beam-sway 19s ease-in-out infinite alternate-reverse;
}

@keyframes beam-sway {
  from {
    transform: rotate(10deg) translateX(-2vw);
  }
  to {
    transform: rotate(17deg) translateX(2vw);
  }
}

.hero-inner {
  position: relative;
  max-width: 56rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.6rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(13, 13, 17, 0.88);
  background: rgba(13, 13, 17, 0.88);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover {
  border-color: var(--amber);
  color: var(--amber-bright);
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold), var(--amber) 55%, var(--amber-deep));
  color: #191204;
}
[data-theme="light"] .btn-primary {
  color: var(--btn-primary-ink);
  font-weight: 600;
  border: none;
  box-shadow: 0 1px 0 rgba(255, 235, 200, 0.35) inset, 0 8px 28px rgba(227, 164, 78, 0.22);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}
.btn-primary:hover {
  background: var(--amber-bright);
  color: #17110a;
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 235, 200, 0.4) inset, 0 12px 36px rgba(227, 164, 78, 0.3);
}

/* ---------- Cards / grids ---------- */

.grid {
  display: grid;
  gap: 1.25rem;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border-radius: 14px;
  padding: 1.9rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover {
  border-color: rgba(227, 164, 78, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.card h3 {
  margin-bottom: 0.7rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Split layout ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}
.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split .figure {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  padding: 2.2rem;
  display: grid;
  place-items: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}
.split .figure::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 20%, rgba(227, 164, 78, 0.07), transparent 70%);
}

.figure .svg-art {
  width: min(100%, 21rem);
  height: auto;
  position: relative;
}

/* ---------- Feature list ---------- */

.feature-list {
  list-style: none;
  display: grid;
  gap: 1.5rem;
  margin-top: 2.4rem;
}

.feature-list li {
  display: grid;
  gap: 0.4rem;
  align-items: start;
}

.feature-list h3 {
  font-size: 1.12rem;
  margin-bottom: 0.3rem;
}

.feature-list p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------- Guest names ---------- */



/* ---------- The engine's pipeline: one rail, the stations as stops ---------- */

.pipeline {
  list-style: none;
  position: relative;
  max-width: 44rem;
  margin: 2.8rem 0 0;
  padding: 0;
}
.pipeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: linear-gradient(180deg,
    rgba(227, 164, 78, 0) 0%,
    rgba(227, 164, 78, 0.5) 5%,
    rgba(227, 164, 78, 0.5) 95%,
    rgba(227, 164, 78, 0) 100%);
}
.pipe-stop {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  column-gap: 1.4rem;
  padding-bottom: 2.2rem;
}
.pipe-body { min-height: 5.7rem; }
.pipe-stop:last-child { padding-bottom: 0; }
/* the direction tick: a small chevron on the rail between stops */
.pipe-stop:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19.5px;
  bottom: 0.72rem;
  width: 7px;
  height: 7px;
  border-right: 1px solid rgba(227, 164, 78, 0.65);
  border-bottom: 1px solid rgba(227, 164, 78, 0.65);
  transform: rotate(45deg);
}
.pipe-node {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--amber);
  background: var(--bg-2);
  box-shadow: 0 0 0 6px var(--bg), 0 0 26px rgba(227, 164, 78, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--amber);
}
.pipe-term .pipe-node { border-style: dashed; }
.pipe-term .pipe-body h3 { font-style: italic; }
.pipe-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}
.pipe-body h3 {
  font-size: 1.3rem;
  margin: 0.42rem 0 0.3rem;
}
.pipe-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 36rem;
}
/* the built-once note, docked to the rail like a diagram annotation */
.pipe-note {
  position: relative;
  max-width: 44rem;
  margin: 2.6rem 0 0 69px;
  padding: 1.25rem 1.5rem;
  border: 1px dashed rgba(227, 164, 78, 0.4);
  border-radius: 12px;
}
.pipe-note::before {
  content: "";
  position: absolute;
  left: -46px;
  top: -2.65rem;
  height: 2.65rem;
  border-left: 1px dashed rgba(227, 164, 78, 0.4);
}
.pipe-note h3 {
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 0.45rem;
}
.pipe-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.kicker {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ---------- Principles ---------- */

.principle {
  border-top: 1px solid var(--line);
  padding: 1.7rem 0;
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.5rem;
  align-items: baseline;
}
.principle:last-child {
  border-bottom: 1px solid var(--line);
}
.principle .roman {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--amber);
}
.principle h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.principle p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 44rem;
}

/* ---------- Disclosure strip ---------- */

.disclosure {
  border: 1px solid rgba(227, 164, 78, 0.35);
  background: linear-gradient(180deg, rgba(227, 164, 78, 0.07), rgba(227, 164, 78, 0.03));
  border-radius: 12px;
  padding: 1.15rem 1.5rem;
  font-size: 0.9rem;
  color: var(--bone);
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.disclosure strong {
  color: var(--text);
}

/* ---------- CTA band ---------- */

.cta-band {
  text-align: center;
  padding: 6rem 0 9.5rem;
  position: relative;
  overflow: hidden;
}
/* the closing stage, framed like the opening one */
.cta-band::before {
  content: "";
  position: absolute;
  inset: 1.5rem;
  border-radius: 22px;
  border: 1px solid rgba(227, 164, 78, 0.16);
  background:
    radial-gradient(640px 280px at 50% calc(100% + 30px), rgba(227, 164, 78, 0.16), rgba(227, 164, 78, 0) 72%),
    linear-gradient(180deg, rgba(255, 244, 224, 0.02), rgba(255, 244, 224, 0) 55%);
  pointer-events: none;
}
.cta-band .container {
  position: relative;
  z-index: 1;
}
.cta-band .hero-beams {
  opacity: 0.6;
}
.finale-next {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}
.finale-next a { color: var(--amber); }
.cta-band .lede {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.cta-band .container {
  position: relative;
}
.cta-band .hero-actions {
  justify-content: center;
}

/* ---------- Page hero (inner pages) ---------- */

/* the framed stage: each inner page opens on a lit panel, the way the
   home page's film opens on a lit world */
.page-hero {
  position: relative;
  padding: 7.5rem 0 4.5rem;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 5.2rem 1.5rem 1.25rem;
  border-radius: 22px;
  border: 1px solid rgba(227, 164, 78, 0.16);
  background:
    radial-gradient(560px 250px at 50% calc(100% + 26px), rgba(227, 164, 78, 0.14), rgba(227, 164, 78, 0) 72%),
    linear-gradient(180deg, rgba(255, 244, 224, 0.025), rgba(255, 244, 224, 0) 55%);
  pointer-events: none;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero .crumb {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1.2rem;
  display: block;
}
.page-hero .crumb a {
  padding: 0.35rem 0;
  color: var(--faint);
}
.page-hero .crumb a:hover {
  color: var(--amber);
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, var(--bg), #070709);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 24rem;
  margin-top: 1rem;
}

.footer-col h3 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1.1rem;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}
.footer-col a {
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-col a:hover {
  color: var(--amber);
}

.footer-col ul a {
  display: inline-block;
  padding: 0.3rem 0;
}

.footer-base {
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--faint);
}
.footer-base .domain {
  letter-spacing: 0.06em;
}

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .split.reverse .figure {
    order: -1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 4rem 0;
  }
  .hero {
    padding: 5rem 0 4.5rem;
  }
  .page-hero::before {
    inset: 4.9rem 0.75rem 0.75rem;
    border-radius: 16px;
  }
  .cta-band::before {
    inset: 0.75rem;
    border-radius: 16px;
  }
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .pipe-stop {
    grid-template-columns: 40px 1fr;
    column-gap: 1.1rem;
    padding-bottom: 1.9rem;
  }
  .pipe-node {
    width: 40px;
    height: 40px;
    font-size: 0.76rem;
  }
  .pipeline::before { left: 19px; }
  .pipe-stop:not(:last-child)::after { left: 15.5px; }
  .pipe-note { margin-left: 0; }
  .pipe-note::before { display: none; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .nav {
    justify-content: space-between;
    min-height: 3.4rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }
  /* the scrim hangs 3.5rem under the desktop nav; over a short mobile bar
     that reads as a smudge across the content */
  .site-header::before {
    inset: 0 0 -1.25rem;
    background: linear-gradient(180deg, var(--bg) 72%, rgba(10, 10, 13, 0));
  }
  .wordmark .name {
    font-size: 1.2rem;
  }
  .wordmark .tag {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
