/* ==========================================================================
   Snapline marketing site
   Concept: the page is a dimmed desktop (the capture scrim); content lives
   inside bright "captured regions" with marching-ants selection borders.
   ========================================================================== */

:root {
  --scrim: #131022;
  --scrim-2: #1b1731;
  --paper: #faf9fe;
  --paper-2: #f1effa;
  --ink: #17142b;
  --ink-soft: #565271;
  --violet: #6e63f2;
  --purple: #9e57f6;
  --lav: #c9c4ff;
  --lav-dim: rgba(201, 196, 255, 0.55);
  --line-dark: rgba(201, 196, 255, 0.14);
  --line-light: rgba(23, 20, 43, 0.1);

  --display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --body: "Instrument Sans", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "Consolas", monospace;

  --maxw: 1120px;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--scrim);
  color: var(--lav);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

::selection { background: var(--violet); color: #fff; }

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

/* ---------- shared type ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 18px;
}

h1, h2 {
  font-family: var(--display);
  font-weight: 640;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}

h1 { font-size: clamp(44px, 7vw, 84px); color: #fff; }
h1 em, h2 em { font-style: normal; color: transparent;
  background: linear-gradient(100deg, var(--violet), var(--purple));
  -webkit-background-clip: text; background-clip: text; }

h2 { font-size: clamp(32px, 4.4vw, 52px); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  border-radius: 10px;
  padding: 14px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-solid {
  background: linear-gradient(115deg, var(--violet), var(--purple));
  color: #fff;
  box-shadow: 0 8px 28px -8px rgba(110, 99, 242, 0.65);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(110, 99, 242, 0.8); }

.btn-ghost {
  color: var(--lav);
  border: 1px solid var(--line-dark);
  background: rgba(201, 196, 255, 0.04);
}
.btn-ghost:hover { background: rgba(201, 196, 255, 0.1); }

.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- selection frame (signature element) ---------- */

.selection { position: relative; }

.selection .ants {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.selection .ants rect {
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  fill: none;
  stroke: var(--lav-dim);
  stroke-width: 1.5;
  stroke-dasharray: 7 6;
  vector-effect: non-scaling-stroke;
  animation: march 0.9s linear infinite;
}

@keyframes march { to { stroke-dashoffset: -13; } }

.handle {
  position: absolute;
  width: 9px;
  height: 9px;
  background: #fff;
  border: 1.5px solid var(--violet);
  border-radius: 2px;
  z-index: 2;
}
.handle.tl { top: -5px; left: -5px; }
.handle.tr { top: -5px; right: -5px; }
.handle.bl { bottom: -5px; left: -5px; }
.handle.br { bottom: -5px; right: -5px; }

.dim-chip {
  position: absolute;
  top: -34px;
  right: -2px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  background: var(--violet);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 4vw, 48px);
  transition: background 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(19, 16, 34, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 640;
  font-size: 19px;
  color: #fff;
}
.nav-brand img { border-radius: 8px; }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  color: var(--lav-dim);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: #fff; }

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 130px 24px 80px;
  cursor: crosshair;
  overflow: hidden;
}

.hero-desk { position: absolute; inset: 0; pointer-events: none; }

.desk-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(201, 196, 255, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 45%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 45%, black 30%, transparent 75%);
}

.desk-window {
  position: absolute;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  background: linear-gradient(160deg, rgba(201, 196, 255, 0.05), rgba(201, 196, 255, 0.01));
}
.desk-window::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 26px;
  border-bottom: 1px solid var(--line-dark);
  border-radius: 12px 12px 0 0;
  background: rgba(201, 196, 255, 0.04);
}
.w1 { width: 340px; height: 240px; top: 12%; left: -60px; transform: rotate(-4deg); }
.w2 { width: 300px; height: 200px; top: 58%; right: -50px; transform: rotate(3deg); }
.w3 { width: 220px; height: 300px; bottom: -80px; left: 14%; transform: rotate(2deg); }

/* crosshair guides that follow the cursor */
.cross {
  position: absolute;
  background: rgba(158, 87, 246, 0.35);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.hero:hover .cross { opacity: 1; }
.cross-x { left: 0; right: 0; height: 1px; top: 50%; }
.cross-y { top: 0; bottom: 0; width: 1px; left: 50%; }

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  width: 100%;
  max-width: 880px;
}

.hero-selection {
  padding: clamp(36px, 5vw, 64px) clamp(28px, 5vw, 72px);
  text-align: center;
  background: rgba(19, 16, 34, 0.55);
  backdrop-filter: blur(2px);
}

.hero-selection .lede {
  max-width: 560px;
  margin: 26px auto 0;
  font-size: clamp(16px, 1.8vw, 18.5px);
  color: var(--lav-dim);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

/* load-in choreography */
.hero-selection,
.hero-selection .handle,
.hero-selection .dim-chip { opacity: 0; }

.loaded .hero-selection { animation: frame-in 0.7s cubic-bezier(0.2, 0.9, 0.25, 1) 0.15s forwards; }
.loaded .hero-selection .handle { animation: pop-in 0.3s ease 0.75s forwards; }
.loaded .hero-selection .dim-chip { animation: pop-in 0.3s ease 0.9s forwards; }

@keyframes frame-in {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

.mode-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
}
.mode-strip li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--lav-dim);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 8px 14px;
  background: rgba(201, 196, 255, 0.03);
}
.mode-key {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid var(--line-dark);
  font-size: 10.5px;
  color: var(--purple);
}

/* ---------- try it ---------- */

.tryit {
  padding: 130px 24px 40px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.tryit-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.tryit-head h2 { color: #fff; }
.tryit-head .sub { margin-top: 18px; color: var(--lav-dim); }

.tryit-stage {
  position: relative;
  height: clamp(320px, 44vw, 460px);
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  overflow: hidden;
  cursor: crosshair;
  touch-action: none;
  background:
    radial-gradient(ellipse 120% 90% at 20% 0%, rgba(110, 99, 242, 0.22), transparent 55%),
    radial-gradient(ellipse 100% 80% at 90% 100%, rgba(158, 87, 246, 0.18), transparent 55%),
    var(--scrim-2);
}

.stage-desk { position: absolute; inset: 0; pointer-events: none; }

.fake-win {
  position: absolute;
  border-radius: 10px;
  border: 1px solid rgba(201, 196, 255, 0.16);
  background: rgba(19, 16, 34, 0.5);
}
.fw-bar {
  display: block;
  height: 22px;
  border-bottom: 1px solid rgba(201, 196, 255, 0.12);
  background: rgba(201, 196, 255, 0.06);
  border-radius: 10px 10px 0 0;
}
.fw1 { width: 38%; height: 55%; top: 12%; left: 7%; }
.fw2 { width: 30%; height: 44%; top: 30%; left: 52%; }
.fw3 { width: 22%; height: 34%; top: 52%; left: 30%; }

.stage-hint {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity 0.3s ease;
}
.stage-hint span {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lav);
  border: 1px dashed rgba(201, 196, 255, 0.35);
  border-radius: 8px;
  padding: 10px 18px;
  background: rgba(19, 16, 34, 0.72);
  backdrop-filter: blur(3px);
}

.stage-readout {
  position: absolute;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  background: var(--violet);
  padding: 3px 9px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  z-index: 5;
  white-space: nowrap;
}

.drag-box {
  position: absolute;
  border: 1.5px dashed #fff;
  background: rgba(201, 196, 255, 0.08);
  box-shadow: 0 0 0 9999px rgba(10, 8, 20, 0.55);
  pointer-events: none;
  z-index: 4;
}
.drag-box.flash { animation: shot 0.45s ease forwards; }
@keyframes shot {
  0% { background: rgba(255, 255, 255, 0.85); }
  100% { background: rgba(201, 196, 255, 0.06); opacity: 0; }
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin: 22px auto 0;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--line-dark);
  background: var(--scrim-2);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--lav);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast-check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  font-size: 11px;
  flex: none;
}
.toast-meta { color: var(--lav-dim); }
.toast-path { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- watch: trailer player + tutorial rail ---------- */

.watch {
  padding: 130px 24px 0;
  max-width: var(--maxw);
  margin: 0 auto;
}

.watch-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.watch-head h2 { color: #fff; }
.watch-head .sub { margin-top: 18px; color: var(--lav-dim); }

.player {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--scrim-2);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.65);
}

.player-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(201, 196, 255, 0.04);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--lav-dim);
}
.player-file { font-weight: 600; color: #fff; }
.player-meta { margin-left: auto; }

.player-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.rail-card {
  display: block;
  text-align: left;
  padding: 8px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: rgba(201, 196, 255, 0.02);
  color: var(--lav);
  cursor: pointer;
  font-family: var(--body);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.rail-card:hover { border-color: rgba(201, 196, 255, 0.4); transform: translateY(-2px); }
.rail-card.active { border-color: var(--violet); background: rgba(110, 99, 242, 0.1); }

.rail-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}
.rail-card:hover .rail-thumb, .rail-card.active .rail-thumb { opacity: 1; }

.rail-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 9px 2px 5px;
}
.rail-chip {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  border: 1px solid rgba(158, 87, 246, 0.4);
  border-radius: 5px;
  padding: 2px 7px;
}
.rail-card.active .rail-chip { background: var(--violet); border-color: var(--violet); color: #fff; }
.rail-dur { font-family: var(--mono); font-size: 11px; color: var(--lav-dim); }

.rail-title {
  display: block;
  margin: 0 2px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

/* ---------- captured-region panels ---------- */

.panel-wrap { padding: 90px 24px 0; }

.panel {
  max-width: var(--maxw);
  margin: 0 auto;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line-light);
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
}
.panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  flex: none;
}
.panel-dot.rec { background: #e5484d; animation: blink 1.6s ease infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.panel-file { font-weight: 600; color: var(--ink); }
.panel-dims { margin-left: auto; }

.panel-body {
  display: grid;
  grid-template-columns: minmax(300px, 5fr) 7fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(32px, 4.5vw, 60px);
}
.panel-body.reverse { grid-template-columns: 7fr minmax(300px, 5fr); }
.panel-body.reverse .panel-copy { order: 2; }
.panel-body.reverse .panel-shot { order: 1; }

.panel h2 { color: var(--ink); }
.panel-copy > p { margin-top: 20px; color: var(--ink-soft); max-width: 46ch; }

.ticks {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 11px;
}
.ticks li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px;
  color: var(--ink);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--violet);
  border-radius: 3px;
  background:
    linear-gradient(115deg, var(--violet), var(--purple));
  box-shadow: inset 0 0 0 2px var(--paper);
}

.path-chip {
  display: inline-block;
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
  border: 1px dashed rgba(23, 20, 43, 0.25);
  border-radius: 7px;
  padding: 8px 12px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.panel-shot {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  box-shadow: 0 16px 44px -18px rgba(23, 20, 43, 0.35);
}
.panel-shot img { width: 100%; height: auto; }

.tabrow { display: flex; gap: 8px; margin-top: 26px; }
.tab {
  font-family: var(--mono);
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(23, 20, 43, 0.18);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.15s ease;
}
.tab:hover { border-color: var(--violet); color: var(--ink); }
.tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ---------- find / search ---------- */

.find { padding: 130px 24px 40px; }

.find-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.find-copy h2 { color: #fff; }
.find-copy > p { margin-top: 20px; color: var(--lav-dim); max-width: 46ch; }

.find-demo {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--scrim-2);
  padding: 22px;
}

.find-input {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 14px;
  color: #fff;
  background: rgba(19, 16, 34, 0.6);
}
.find-input svg { color: var(--lav-dim); flex: none; }

.caret {
  width: 8px;
  height: 17px;
  background: var(--violet);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

.find-results { position: relative; display: grid; gap: 8px; margin-top: 14px; min-height: 148px; align-content: start; }

.find-hit {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid transparent;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.find-hit.off { opacity: 0; transform: translateY(4px); position: absolute; top: 0; left: 0; right: 0; pointer-events: none; visibility: hidden; }
.find-hit.on { position: relative; border-color: var(--line-dark); background: rgba(201, 196, 255, 0.04); }

.hit-thumb {
  grid-row: span 2;
  width: 42px;
  height: 32px;
  border-radius: 5px;
}
.t1 { background: linear-gradient(140deg, #3b2c22, #6b4a33); }
.t2 { background: linear-gradient(140deg, #241a12, #4a382a); }
.t3 { background: linear-gradient(140deg, #e8e6f4, #cfcbe8); }
.t4 { background: linear-gradient(140deg, #1e1e2e, #35354d); }

.hit-name { font-size: 13.5px; font-weight: 600; color: #fff; }
.hit-snippet { font-family: var(--mono); font-size: 12px; color: var(--lav-dim); }
.hit-snippet mark {
  background: rgba(158, 87, 246, 0.35);
  color: #fff;
  border-radius: 3px;
  padding: 0 3px;
}

/* ---------- privacy ---------- */

.privacy { padding: 150px 24px 60px; }

.privacy-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.privacy h2 { color: #fff; }

.manifest {
  margin-top: 52px;
  display: grid;
  gap: 0;
  text-align: left;
  border-top: 1px solid var(--line-dark);
}
.manifest > div {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  padding: 16px 6px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 13.5px;
}
.manifest dt { color: var(--lav-dim); }
.manifest dd { color: #fff; }
.manifest dd::before { content: "→  "; color: var(--purple); }

/* ---------- faq ---------- */

.faq { padding: 130px 24px 0; }

.faq-inner { max-width: 760px; margin: 0 auto; }
.faq-inner > .eyebrow, .faq-inner > h2 { text-align: center; }
.faq h2 { color: #fff; }

.faq-list { margin-top: 44px; border-top: 1px solid var(--line-dark); }

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

.faq-list summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 6px;
  font-size: 16.5px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 15px;
  color: var(--purple);
  flex: none;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--lav); }

.faq-list details > p {
  padding: 0 6px 20px;
  max-width: 60ch;
  color: var(--lav-dim);
}
.faq-list details > p a { color: var(--lav); }

/* ---------- outro ---------- */

.outro {
  padding: 140px 24px 160px;
  display: flex;
  justify-content: center;
}

.outro-selection {
  text-align: center;
  padding: clamp(44px, 6vw, 80px) clamp(32px, 7vw, 100px);
}
.outro-selection h2 { color: #fff; font-size: clamp(38px, 5.5vw, 64px); }
.outro-selection .hero-cta { margin-top: 34px; }
.outro-meta {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--lav-dim);
}

/* ---------- footer ---------- */

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  padding: 28px clamp(20px, 4vw, 48px) 40px;
  border-top: 1px solid var(--line-dark);
  font-size: 13.5px;
  color: var(--lav-dim);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 640;
  color: #fff;
}
.footer-brand img { border-radius: 6px; }
.footer p { margin-right: auto; }
.footer nav a { color: var(--lav-dim); }
.footer nav a:hover { color: #fff; }

/* ---------- scroll reveal ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .rail { grid-template-columns: repeat(3, 1fr); }
  .panel-body, .panel-body.reverse { grid-template-columns: 1fr; }
  .panel-body.reverse .panel-copy { order: 1; }
  .panel-body.reverse .panel-shot { order: 2; }
  .find-inner { grid-template-columns: 1fr; }
  .manifest > div { grid-template-columns: 1fr; gap: 4px; }
  .dim-chip { top: auto; bottom: -34px; }
}

@media (max-width: 560px) {
  .hero { padding-top: 110px; }
  .rail { grid-template-columns: repeat(2, 1fr); }
  .mode-strip li { padding: 7px 11px; font-size: 11.5px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- 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;
  }
  .hero-selection, .hero-selection .handle, .hero-selection .dim-chip { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
  .cross { display: none; }
}
