/* ============================================================
   $PATIENCE — Patience Is Undervalued
   Acid-ink on black. Slow motion by design.
   ============================================================ */

:root {
  --acid:        #d6ff00;
  --acid-soft:   #b8dd12;
  --acid-dim:    #6f8a08;
  --acid-ghost:  rgba(214, 255, 0, 0.12);

  --bg:          #070902;
  --bg-2:        #0b0f04;
  --panel:       #0e1305;
  --line:        rgba(214, 255, 0, 0.16);
  --line-soft:   rgba(214, 255, 0, 0.07);

  --text:        #e9f6c9;
  --muted:       #8fa168;
  --faint:       #5c6b3d;

  --display: "Anton", "Arial Narrow", sans-serif;
  --sans: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;

  --wrap: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--acid); color: #000; }

/* ---------- ambient layers ---------- */

.grain {
  position: fixed;
  inset: -50%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  animation: grain 6s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 1%); }
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
}

.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
/* three depth planes; the JS drifts each at a different rate on scroll */
.starfield__layer {
  position: absolute;
  /* oversized on all sides so scroll drift and cursor pull never expose an edge */
  inset: -25%;
  will-change: transform;
}
.star {
  position: absolute;
  border-radius: 50%;
  background: var(--acid);
  animation: twinkle var(--dur, 5s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes twinkle {
  0%, 100% { opacity: 0.15; }
  50%      { opacity: 0.9; }
}

/* ---------- patience meter ---------- */

.meter {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 60;
  background: rgba(214, 255, 0, 0.08);
}
.meter__fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
  transition: width 0.15s linear;
}

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

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), padding 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(7, 9, 2, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
  padding-top: 12px;
  padding-bottom: 12px;
}

.nav__brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.nav__mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--panel);
  filter: saturate(1.15);
}
.nav__ticker {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--acid);
}

.nav__links { display: flex; gap: 26px; }
.nav__links a {
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
  transition: color 0.35s var(--ease);
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 1px;
  background: var(--acid);
  transition: width 0.5s var(--ease);
}
.nav__links a:hover { color: var(--acid); }
.nav__links a:hover::after { width: 100%; }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border: 1px solid var(--acid);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--acid);
  background: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
  z-index: 0;
}
.btn:hover { color: #000; box-shadow: 0 0 34px rgba(214, 255, 0, 0.3); }
.btn:hover::before { transform: scaleX(1); }
.btn > * { position: relative; z-index: 1; }

.btn--solid { background: var(--acid); color: #000; }
.btn--solid::before { background: #000; }
.btn--solid:hover { color: var(--acid); }

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

.btn__arrow { transition: transform 0.45s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--acid);
  border-bottom: 1px solid var(--acid-ghost);
  padding-bottom: 3px;
  transition: border-color 0.4s var(--ease);
}
.link-arrow:hover { border-bottom-color: var(--acid); }
.link-arrow span { transition: transform 0.4s var(--ease); }
.link-arrow:hover span { transform: translate(3px, -3px); }

/* ---------- art frames ---------- */

.art-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 60% 30%, rgba(214, 255, 0, 0.1), transparent 60%),
    linear-gradient(160deg, var(--panel), #050702);
}
.art-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle, transparent 55%, rgba(7, 9, 2, 0.6) 100%);
}
.art-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), filter 1.4s var(--ease);
}
.art-frame:hover img { transform: scale(1.04); filter: brightness(1.08); }
/* a parallaxed image is oversized inside its frame so it can slide without
   ever exposing an edge; the frame still crops to the declared ratio */
.art-frame--px { overflow: hidden; }
.art-frame--px > img {
  position: absolute;
  top: -12%;
  left: 0;
  height: 124%;
  will-change: transform;
  /* the script drives transform every frame — transitioning it would lag */
  transition: filter 1.4s var(--ease);
}

.art-frame--square { aspect-ratio: 1 / 1; }
/* these match the source images exactly, so nothing gets cropped */
.art-frame--wide { aspect-ratio: 16 / 9; }
.art-frame--panorama { aspect-ratio: 3 / 2; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
  position: relative;
  z-index: 3;
}
.wrap--narrow { max-width: 780px; }
.wrap--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.section { padding: clamp(90px, 13vh, 150px) 0; position: relative; z-index: 3; }
.section--tight { padding: clamp(50px, 7vh, 80px) 0; }
.section--test { background: linear-gradient(180deg, transparent, rgba(214, 255, 0, 0.03), transparent); }
.section--cta { padding-bottom: clamp(100px, 15vh, 170px); }

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

.display {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.4rem, 9.5vw, 8.2rem);
  line-height: 0.86;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.display__line { display: block; }
.display__line:first-child {
  color: var(--acid);
  text-shadow: 0 0 60px rgba(214, 255, 0, 0.4);
}
.display__line--outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--acid-soft);
  opacity: 0.95;
}
.nowrap { white-space: nowrap; }

.h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 22px;
}
.h2--wide { max-width: 15ch; }
.h2--center { text-align: center; max-width: none; }

.kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 18px;
}
.kicker--center { text-align: center; }

.lede {
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 48ch;
}
.lede strong { color: var(--text); font-weight: 500; }

.body { color: var(--muted); max-width: 54ch; margin-bottom: 16px; }
.body--center { margin-left: auto; margin-right: auto; text-align: center; }

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 0 70px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: 8%; right: -8%;
  width: 62vw; height: 62vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(214, 255, 0, 0.14), transparent 62%);
  filter: blur(46px);
  pointer-events: none;
  animation: breathe 11s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50%      { transform: scale(1.12); opacity: 1; }
}

.hero__inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero__art { position: relative; }
.hero__art .art-frame {
  border-radius: 3px;
  box-shadow: 0 0 90px rgba(214, 255, 0, 0.16), 0 30px 70px rgba(0, 0, 0, 0.7);
}
/* contract pill */
.ca {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding: 10px 10px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(214, 255, 0, 0.03);
  max-width: 100%;
}
.ca__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}
.ca__addr {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text);
  word-break: break-all;
  min-width: 0;
}
.ca__copy {
  flex-shrink: 0;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.ca__copy:hover { background: var(--acid); color: #000; }
.ca__copy.is-done { background: var(--acid); color: #000; }

/* sits in normal flow as the hero's last child, pushed to the bottom by
   margin-top:auto — it can never collide with the copy above it */
.scroll-hint {
  margin: clamp(44px, 7vh, 90px) auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--faint);
  z-index: 3;
}
.scroll-hint__line {
  width: 1px; height: 46px;
  background: linear-gradient(var(--acid), transparent);
  animation: drip 3.6s ease-in-out infinite;
  transform-origin: top;
}
@keyframes drip {
  0%, 100% { transform: scaleY(0.35); opacity: 0.4; }
  50%      { transform: scaleY(1); opacity: 1; }
}

/* ---------- marquee ---------- */

.marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(214, 255, 0, 0.04);
  overflow: hidden;
  padding: 18px 0;
  position: relative;
  z-index: 3;
}
.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: slide 46s linear infinite;
}
.marquee__unit {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
}
.marquee__track span {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--acid-soft);
  white-space: nowrap;
}
.marquee__star { color: var(--acid) !important; font-family: var(--sans) !important; font-size: 0.85rem !important; }
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- quote ---------- */

.quote {
  position: relative;
  padding: clamp(30px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: linear-gradient(155deg, rgba(214, 255, 0, 0.06), rgba(7, 9, 2, 0.5));
  box-shadow: 0 0 70px rgba(214, 255, 0, 0.07);
}
.quote__mark {
  position: absolute;
  top: -18px; left: 22px;
  font-family: var(--display);
  font-size: 6rem;
  line-height: 1;
  color: var(--acid);
  opacity: 0.22;
}
.quote__text {
  position: relative;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.9vw, 2.3rem);
  line-height: 1.14;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 14px;
}
.quote__text--dim { color: var(--text); opacity: 0.72; }
.quote__by {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
}
.quote__avatar {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 35% 30%, var(--acid-dim), #0a0d03);
}
.quote__by strong { display: block; color: var(--text); font-weight: 500; }
.quote__handle { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }

/* ---------- tenets ---------- */

.tenets {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 50px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.tenet {
  padding: clamp(28px, 3.4vw, 44px);
  background: var(--bg);
  position: relative;
  transition: background 0.6s var(--ease);
}
.tenet:hover { background: var(--bg-2); }
.tenet__num {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--acid);
  margin-bottom: 18px;
}
.tenet__h {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 12px;
}
.tenet__p { color: var(--muted); font-size: 15.5px; line-height: 1.68; }

/* ---------- facts ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 46px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.fact {
  background: var(--bg);
  padding: 28px clamp(18px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.6s var(--ease);
}
.fact:hover { background: var(--bg-2); }
.fact--wide { grid-column: 1 / -1; }
.fact__k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}
.fact__v {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  text-transform: uppercase;
  color: var(--acid);
  line-height: 1;
}
.fact__v--mono {
  font-family: var(--mono);
  font-size: clamp(0.72rem, 1.6vw, 1rem);
  letter-spacing: 0.02em;
  word-break: break-all;
  color: var(--text);
  line-height: 1.5;
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
  margin-top: 50px;
}
.step {
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  background: linear-gradient(170deg, rgba(214, 255, 0, 0.035), transparent);
  transition: border-color 0.6s var(--ease), transform 0.6s var(--ease);
}
.step:hover { border-color: var(--line); transform: translateY(-4px); }
.step__n {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--acid);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--acid);
  margin-bottom: 22px;
}
.step__h {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.28rem;
  line-height: 1.14;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 11px;
}
.step__p { color: var(--muted); font-size: 15px; line-height: 1.66; }

/* ---------- the test ---------- */

.test { display: flex; flex-direction: column; align-items: center; margin-top: 44px; }
.hold {
  position: relative;
  width: min(420px, 100%);
  padding: 26px 30px;
  border: 1px solid var(--acid);
  border-radius: 3px;
  background: transparent;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
  transition: box-shadow 0.5s var(--ease);
}
.hold:hover { box-shadow: 0 0 40px rgba(214, 255, 0, 0.2); }
.hold__fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--acid);
  transition: width 0.12s linear;
}
.hold__label { position: relative; z-index: 1; mix-blend-mode: difference; color: var(--acid); }
.hold.is-complete { border-color: var(--acid); box-shadow: 0 0 60px rgba(214, 255, 0, 0.35); }

.test__status {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  min-height: 1.4em;
  text-align: center;
}

.test__reward {
  margin-top: 46px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.4s var(--ease), transform 1.4s var(--ease);
}
.test__reward.is-shown { opacity: 1; transform: none; }
.art-frame--reward {
  max-width: 420px;
  margin: 0 auto;
  border-radius: 4px;
  box-shadow: 0 0 80px rgba(214, 255, 0, 0.18);
}
.test__rewardText {
  margin-top: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: row dense;
  gap: clamp(14px, 2vw, 24px);
  margin-top: 50px;
  align-items: start;
}
.gallery__item .art-frame { aspect-ratio: 1 / 1; border-radius: 3px; }
.gallery__item--tall .art-frame { aspect-ratio: 3 / 4; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--wide .art-frame { aspect-ratio: 3 / 2; }
.gallery__item img { transition: transform 1.4s var(--ease), filter 1.4s var(--ease); }
.gallery__item figcaption {
  margin-top: 13px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}

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

.footer {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--line-soft);
  padding: 56px 0 44px;
  background: linear-gradient(180deg, transparent, rgba(214, 255, 0, 0.03));
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line-soft);
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__mark {
  width: 50px; height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--panel);
}
.footer__ticker {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--acid);
  line-height: 1.1;
}
.footer__tag { font-size: 13.5px; color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__links a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.4s var(--ease);
}
.footer__links a:hover { color: var(--acid); }

.footer__ca {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 26px 0 18px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  word-break: break-all;
}
.footer__ca span { color: var(--faint); letter-spacing: 0.2em; }

.footer__disclaimer {
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--faint);
  max-width: 90ch;
}

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

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

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

@media (max-width: 980px) {
  .nav__links { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { max-width: 440px; }
  .wrap--split { grid-template-columns: 1fr; }
  .tenets, .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .facts { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--tall .art-frame { aspect-ratio: 1 / 1; }
  .gallery__item--wide { grid-column: auto; }
  .cta-row .btn { flex: 1 1 100%; justify-content: center; }
  .scroll-hint { display: none; }
  .display__line--outline { -webkit-text-stroke-width: 1px; }
}

/* ---------- motion preference ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .star, .hero__glow, .scroll-hint__line, .marquee__track { animation: none !important; }
  .starfield__layer, .art-frame--px > img { transform: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
