:root {
  --ink: #14081c;
  --ink-soft: #3c2a4e;
  --muted: #5c4a6e;
  --violet: #5b21b6;
  --violet-bright: #7c3aed;
  --violet-deep: #1a0b2e;
  --magenta: #e11d74;
  --orange: #e24e0b;
  --orange-hot: #ff7a18;
  --cream: #fff4ea;
  --paper: #f6f1fb;
  --white: #ffffff;
  --line: rgba(20, 8, 28, 0.1);
  --shadow: 0 24px 50px rgba(46, 16, 101, 0.12);
  --grad: linear-gradient(120deg, #7c3aed 0%, #e11d74 48%, #ff7a18 100%);
  --display: "Syne", system-ui, sans-serif;
  --sans: "Outfit", system-ui, sans-serif;
  --pad: clamp(1.15rem, 4vw, 2.5rem);
  --header-h: 7.2rem;
  --dock: 0px;
  --radius: 1.6rem;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-weight: 400;
  padding-bottom: var(--dock);
  overflow-x: clip;
}

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

a {
  color: inherit;
}

address {
  font-style: normal;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0 0 0.55em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h3 {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  background: #7c3aed;
  color: #fff;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 999px;
}

.skip:focus {
  top: 1rem;
}

.shell {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.eyebrow,
.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--violet);
  margin: 0 0 0.85rem;
}

.grad {
  color: var(--violet);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font: 600 1rem var(--sans);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn-solid {
  background: var(--orange);
  color: #fff;
}

.btn-violet,
body[data-intent="software"] .btn-solid {
  background: var(--violet);
  color: #fff;
}

.btn-violet:hover,
body[data-intent="software"] .btn-solid:hover {
  background: #4c1d95;
}

.btn-orange,
body[data-intent="trading"] .btn-solid {
  background: var(--orange);
  color: #fff;
}

.btn-orange:hover,
body[data-intent="trading"] .btn-solid:hover {
  background: #c2410c;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 241, 251, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(20, 8, 28, 0.05);
}

.announce {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.55rem var(--pad);
  background: var(--ink);
  color: #f6eefe;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
  overflow: hidden;
  max-height: 3rem;
  transition: max-height 0.25s ease, padding 0.25s ease, opacity 0.25s ease;
}

.site-header.is-scrolled .announce {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
}

.pulse {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--orange-hot);
  box-shadow: 0 0 0 0 rgba(255, 122, 24, 0.7);
  animation: pulse 1.8s ease-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(255, 122, 24, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 122, 24, 0);
  }
}

.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem var(--pad);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  flex-shrink: 0;
}

.brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.brand em {
  display: block;
  font-style: normal;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet);
  margin-top: 0.18rem;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink);
}

.nav a:hover {
  color: var(--violet);
}

.nav-cta {
  min-height: 2.6rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
}

.nav-cta:hover {
  background: var(--violet);
}

.nav-call {
  display: none;
}

.nav-toggle {
  display: none;
  appearance: none;
  -webkit-appearance: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 3;
}

.bars {
  display: grid;
  gap: 5px;
}

.bars span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2.2rem, 5vw, 3.6rem);
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(2rem, 7.4vw, 3rem);
  text-wrap: wrap;
}

.hero h1 .line {
  display: block;
}

@media (min-width: 1081px) {
  .hero h1 {
    font-size: 2.45rem;
  }
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
}

.hero::before {
  width: min(52vw, 640px);
  height: min(52vw, 640px);
  right: -8vw;
  top: -16vw;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.28), transparent 68%);
}

.hero::after {
  width: min(42vw, 480px);
  height: min(42vw, 480px);
  left: -10vw;
  bottom: -8vw;
  background: radial-gradient(circle, rgba(255, 122, 24, 0.24), transparent 68%);
}

.hero-grid,
.hero-copy,
.hero-visual,
.hero-slides,
.hero-slide,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-slides,
.hero-visual {
  display: grid;
}

.hero-slide,
.hero-panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateX(1.25rem);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s ease;
}

.hero-slide.is-active,
.hero-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  z-index: 1;
}

.hero-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.35rem;
}

.hero-switch button {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink-soft);
  border-radius: 999px;
  min-height: 2.4rem;
  padding: 0.35rem 0.95rem;
  font: 600 0.92rem var(--sans);
  cursor: pointer;
}

.hero-switch button[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
  border-color: transparent;
}

.hero-panel-snack .snack-hero {
  position: relative;
  display: block;
  min-height: 100%;
  height: 100%;
  border-radius: calc(var(--radius) + 0.3rem);
  overflow: hidden;
  text-decoration: none;
}

.hero-panel-snack img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  object-position: 50% 45%;
}

html:not(.js) .hero-slides,
html:not(.js) .hero-visual {
  display: grid;
  gap: 1.25rem;
}

html:not(.js) .hero-slide,
html:not(.js) .hero-panel {
  grid-area: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
}

html:not(.js) .hero-switch {
  display: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: center;
}

.lede {
  font-size: 1.08rem;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.3rem 0 1.2rem;
}

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

.facts li {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.hero-visual {
  display: grid;
  gap: 0.9rem;
}

.launch-card {
  background: #fff;
  border-radius: calc(var(--radius) + 0.3rem);
  padding: 1.2rem 1.2rem 1.15rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(124, 58, 237, 0.12);
  position: relative;
}

.launch-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.launch-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.launch-top img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.6rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: #fff1e6;
  color: #9a3412;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.launch-card h2 {
  margin-bottom: 0.25rem;
}

.launch-meta,
.launch-foot {
  color: var(--muted);
  font-size: 0.95rem;
}

.screen {
  margin: 1rem 0 0.9rem;
  background: linear-gradient(180deg, #1a0b2e, #3b1764);
  border-radius: 1rem;
  padding: 0.85rem;
  display: grid;
  gap: 0.55rem;
}

.screen-bar {
  display: flex;
  gap: 0.35rem;
}

.screen-bar i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  display: block;
}

.screen-line,
.screen-block,
.screen-cta {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  height: 0.55rem;
}

.screen-line.w1 {
  width: 72%;
}

.screen-line.w2 {
  width: 48%;
}

.screen-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.screen-block {
  height: 3.2rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.1);
}

.screen-block.alt {
  background: linear-gradient(160deg, rgba(255, 122, 24, 0.85), rgba(225, 29, 116, 0.8));
}

.screen-cta {
  width: 38%;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--orange-hot);
}

.snack-peek {
  position: relative;
  display: block;
  border-radius: 1.25rem;
  overflow: hidden;
  text-decoration: none;
  min-height: 7.5rem;
}

.snack-peek img {
  width: 100%;
  height: 8.5rem;
  object-fit: cover;
  object-position: 50% 62%;
}

.snack-peek span {
  position: absolute;
  left: 0.9rem;
  bottom: 0.7rem;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
}

.tracks {
  padding: 0 0 clamp(3rem, 7vw, 5rem);
}

.tracks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.track {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  padding: 1.4rem;
  border-radius: var(--radius);
  text-decoration: none;
  overflow: hidden;
  color: #fff;
}

.track h2,
.track p {
  color: #fff;
  margin: 0;
}

.track h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.track p {
  margin: 0.35rem 0 0.9rem;
  max-width: 22rem;
  color: rgba(255, 255, 255, 0.86);
}

.track-no {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.75;
  margin-bottom: 0.4rem;
}

.track-go {
  font-weight: 600;
}

.track-soft {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 122, 24, 0.45), transparent 42%),
    linear-gradient(160deg, #2e1065, #5b21b6 70%);
}

.track-snack img,
.track-snack .shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.track-snack img {
  object-fit: cover;
  object-position: 50% 40%;
}

.track-snack .shade {
  background: linear-gradient(180deg, rgba(20, 8, 28, 0.05), rgba(20, 8, 28, 0.78));
}

.track-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.track {
  transition: transform 0.2s ease;
}

.track:hover {
  transform: translateY(-3px);
}

.software,
.snacks,
.visit,
.contact {
  scroll-margin-top: var(--header-h);
}

.software {
  background:
    radial-gradient(circle at 12% 0%, rgba(225, 29, 116, 0.35), transparent 36%),
    radial-gradient(circle at 90% 80%, rgba(255, 122, 24, 0.22), transparent 32%),
    var(--violet-deep);
  color: #f7f2ff;
  padding: clamp(3.5rem, 8vw, 6.2rem) 0;
}

.software p,
.software .kicker,
.software figcaption {
  color: #ddd0ee;
}

.software .kicker {
  color: #ffb088;
}

.software h2,
.software h3 {
  color: #fff;
}

.software-grid,
.snacks-grid,
.visit-grid,
.contact-grid,
.next-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
}

.product {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.3rem;
  display: grid;
  gap: 1rem;
}

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

.tags li {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  color: #fff;
}

.product-status span {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.next-row {
  margin-top: 1.6rem;
  align-items: stretch;
}

.next-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.3rem 1.35rem;
  background: rgba(0, 0, 0, 0.18);
}

.studio {
  margin: 0;
}

.studio,
.gallery figure {
  margin: 0;
}

.photo {
  border-radius: var(--radius);
  overflow: hidden;
  background: #2a143f;
}

.studio img,
.gallery img {
  width: 100%;
  object-fit: cover;
  object-position: 42% 40%;
  border-radius: var(--radius);
}

.studio img {
  height: min(320px, 56vw);
}

figcaption {
  padding: 0.75rem 0.2rem 0;
  font-size: 0.88rem;
}

.software figcaption {
  padding-inline: 0.15rem;
}

.snacks {
  background: var(--cream);
  padding: clamp(3.5rem, 8vw, 6.2rem) 0;
}

.snacks .kicker {
  color: #9a3412;
}

.bites {
  list-style: none;
  padding: 0;
  margin: 0 0 1.3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.bites li {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  background: #fff;
  border-radius: 1rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(226, 78, 11, 0.12);
}

.bites span {
  font-family: var(--display);
  color: #9a3412;
  font-weight: 700;
}

.bites strong {
  font-size: 1.05rem;
}

.gallery {
  display: grid;
  gap: 0.8rem;
}

.gallery figure:first-child img {
  height: min(380px, 70vw);
}

.gallery figure:last-child img {
  height: min(220px, 46vw);
}

.snacks figcaption {
  color: var(--muted);
}

.visit {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.visit h2 {
  margin-bottom: 0.4rem;
}

address {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0.8rem 0 1rem;
}

.visit-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
}

.visit-links a,
.fine a,
.site-footer a {
  color: var(--violet);
  font-weight: 600;
}

.map-wrap {
  min-height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e7dff3;
  border: 1px solid var(--line);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: saturate(0.9);
}

.contact {
  padding: clamp(3.2rem, 8vw, 6rem) 0 4.5rem;
}

.fine {
  margin-top: 1rem;
  color: var(--muted);
}

form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  display: grid;
  gap: 0.85rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

form::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--grad);
}

.intent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.3rem;
  background: var(--paper);
  border-radius: 999px;
}

.intent button {
  border: 0;
  background: transparent;
  min-height: 2.7rem;
  border-radius: 999px;
  font: 600 0.98rem var(--sans);
  color: var(--ink-soft);
  cursor: pointer;
}

.intent button.is-active {
  background: var(--ink);
  color: #fff;
}

body[data-intent="software"] .intent button.is-active {
  background: var(--violet);
}

body[data-intent="trading"] .intent button.is-active {
  background: var(--orange);
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

input,
select,
textarea {
  font: 400 1rem var(--sans);
  color: var(--ink);
  background: #fbf8ff;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.8rem 0.85rem;
  width: 100%;
}

textarea {
  resize: vertical;
  min-height: 8rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--violet-bright);
  outline-offset: 1px;
  border-color: transparent;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-status {
  margin: 0;
  font-size: 0.95rem;
}

.form-status.is-ok {
  color: #067647;
}

.form-status.is-err {
  color: #b42318;
}

.form-status.is-pending {
  color: var(--muted);
}

.site-footer {
  background: var(--ink);
  color: #ddd0ee;
  padding: 2rem 0 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr auto 1.2fr;
  gap: 1.4rem 2rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-family: var(--display);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.footer-brand p,
.site-footer address,
.copy {
  margin: 0;
  color: #cbbddd;
  font-size: 0.92rem;
}

.site-footer nav {
  display: grid;
  gap: 0.35rem;
}

.site-footer nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.site-footer address a {
  color: #ffb088;
}

.copy {
  grid-column: 1 / -1;
  padding-top: 0.4rem;
}

.dock {
  display: none;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .tracks-grid,
  .software-grid,
  .snacks-grid,
  .visit-grid,
  .contact-grid,
  .next-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .snack-peek img {
    height: min(220px, 56vw);
  }

  .copy {
    grid-column: auto;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    z-index: 2;
    left: 0;
    right: 0;
    top: var(--header-h);
    height: calc(100dvh - var(--header-h));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.35rem;
    padding: 1.5rem var(--pad) 5.5rem;
    background: var(--violet-deep);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    visibility: hidden;
  }

  .nav.is-open {
    transform: none;
    visibility: visible;
  }

  .nav a {
    font-family: var(--display);
    font-size: clamp(2rem, 8vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
  }

  .nav a:hover {
    color: #ffb088;
  }

  .nav-cta {
    margin-top: 0.8rem;
    background: #fff;
    color: var(--ink) !important;
    font-family: var(--sans);
    font-size: 1rem;
    min-height: 3rem;
    padding: 0.7rem 1.2rem;
  }

  .nav-cta:hover {
    background: #ffe8d6;
    color: var(--ink);
  }

  .nav-call {
    display: inline-flex;
    margin-top: 0.4rem;
    font-family: var(--sans) !important;
    font-size: 1.05rem !important;
    font-weight: 600;
    color: #ffb088 !important;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .dock {
    display: none;
  }

  .dock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.7rem;
    z-index: 40;
    background: var(--ink);
    color: #fff;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(20, 8, 28, 0.28);
  }

  .dock a {
    text-align: center;
    padding: 0.9rem;
    text-decoration: none;
    font-weight: 600;
    color: #fff;
  }

  .dock a + a {
    background: var(--orange);
  }

  body {
    --dock: 4.6rem;
  }

  .site-footer {
    padding-bottom: 1.2rem;
  }

  .pair {
    grid-template-columns: 1fr;
  }
}

html:not(.js) .nav-toggle {
  display: none;
}

html:not(.js) .nav {
  position: static;
  transform: none;
  visibility: visible;
  height: auto;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1rem;
  padding: 0.4rem 0 0;
  background: transparent;
}

html:not(.js) .nav a,
html:not(.js) .nav-call {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

@media (max-width: 420px) {
  .brand em {
    letter-spacing: 0.14em;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .track,
  .announce,
  .nav,
  .pulse,
  .bars span,
  .hero-slide,
  .hero-panel {
    transition: none;
    animation: none;
  }
}
