﻿/* ==========================================================================
   ALANY / BOOM — HOME PAGE
   Editorial, photo-led, warm. No hairline borders anywhere: depth comes from
   tone, scale and overlap. Type: Poppins (display) + Roboto (text).
   Scoped to index.html only — other pages still use style.css.
   ========================================================================== */

:root {
  /* warm paper family — never pure white */
  --sand: #f1e9dd;
  --sand-deep: #e6d9c6;
  --cream: #fffaf2;

  /* warm near-black + deep slate for the dramatic bands */
  --ink: #16120f;
  --ink-2: #2b2520;
  --slate: #16272f;
  --slate-2: #1f3a44;

  --orange: #ff6b2c;
  --orange-2: #ff8f4d;
  --amber: #f5a524;
  --clay: #b8431c;

  --txt: #16120f;
  --txt-soft: #574c43;
  --txt-mute: #8a7c6f;

  --font-d: "Poppins", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-t: "Roboto", "Segoe UI", system-ui, Helvetica, Arial, sans-serif;

  --gut: clamp(1.15rem, 5vw, 5rem);
  --wrap: 1320px;
  --nav-h: 84px;

  --e: cubic-bezier(0.22, 1, 0.36, 1);
  --e-io: cubic-bezier(0.76, 0, 0.24, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  background: var(--sand);
  color: var(--txt);
  font-family: var(--font-t);
  font-size: 0.95rem;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -100px;
  z-index: 999;
  background: var(--ink);
  color: var(--cream);
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  transition: top 0.2s var(--e);
}
.skip-link:focus {
  top: 1rem;
}

/* film grain — the single strongest "not a template" cue, and it costs one div */
.grain {
  position: fixed;
  inset: -120%;
  z-index: 400;
  pointer-events: none;
  opacity: 0.32;
  mix-blend-mode: multiply;
  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='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  animation: grain 7s steps(6) infinite;
}
@keyframes grain {
  0%,
  100% {
    transform: translate(0, 0);
  }
  16% {
    transform: translate(-6%, -3%);
  }
  33% {
    transform: translate(4%, -7%);
  }
  50% {
    transform: translate(-3%, 5%);
  }
  66% {
    transform: translate(6%, 2%);
  }
  83% {
    transform: translate(-5%, -5%);
  }
}

.progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 300;
  height: 2px;
  background: var(--orange);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- type ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-d);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.032em;
  color: var(--ink);
  text-wrap: balance;
}
.d-1 {
  font-size: clamp(1.85rem, 3.4vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.08;
}
.d-2 {
  font-size: clamp(1.7rem, 2.9vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.034em;
  line-height: 1.14;
}
.d-3 {
  font-size: clamp(1.12rem, 1.35vw, 1.35rem);
  letter-spacing: -0.024em;
  line-height: 1.28;
}
.d-4 {
  font-size: clamp(0.95rem, 1vw, 1.05rem);
  letter-spacing: -0.016em;
  line-height: 1.4;
  font-weight: 600;
}

p {
  text-wrap: pretty;
}
p + p {
  margin-top: 0.95em;
}
.lead {
  font-size: clamp(0.98rem, 0.28vw + 0.92rem, 1.08rem);
  line-height: 1.72;
  color: var(--txt-soft);
}
.small {
  font-size: 0.88rem;
}
.tiny {
  font-size: 0.78rem;
}
.mute {
  color: var(--txt-mute);
}

/* tiny wide-tracked labels — the counterweight to the big display type */
.label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-d);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
}
.label i {
  font-style: normal;
  opacity: 0.5;
}
.label--light {
  color: var(--orange-2);
}
.label--light i {
  color: var(--cream);
  opacity: 0.38;
}

/* word-mask heading reveal */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.w > i {
  display: inline-block;
  font-style: inherit;
  will-change: transform;
}
.w > i.hi {
  color: var(--orange);
}
.no-anim .w > i {
  transform: none !important;
}

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.sec {
  position: relative;
  padding-block: clamp(3rem, 5.2vw, 4.6rem);
}
.sec--sand2 {
  background: var(--sand-deep);
}
.sec--cream {
  background: var(--cream);
}
.sec--dark {
  background: var(--slate);
  color: #dfe8ea;
}
.sec--dark h2,
.sec--dark h3 {
  color: var(--cream);
}
.sec--ink {
  background: var(--ink);
  color: #ded5c9;
}
.sec--ink h2,
.sec--ink h3 {
  color: var(--cream);
}

/* section headers carry an index number in the margin */
.shead {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  margin-bottom: clamp(1.7rem, 3vw, 2.6rem);
}
.shead__n {
  font-family: var(--font-d);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--clay);
  padding-top: 0.7rem;
  white-space: nowrap;
}
.sec--dark .shead__n,
.sec--ink .shead__n {
  color: var(--orange-2);
}
.shead__t {
  max-width: 50ch;
}
.shead__p {
  max-width: 76ch;
  margin-top: 0.85rem;
}
@media (max-width: 720px) {
  .shead {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .shead__n {
    padding-top: 0;
  }
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-d);
  font-weight: 500;
  font-size: 0.93rem;
  padding: .7rem 1.7rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.5s var(--e),
    color 0.35s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--orange);
  border-radius: 999px;
  transform: translateY(101%);
  transition: transform 0.5s var(--e);
}
.btn:hover {
  transform: translateY(-3px);
  color: #fff;
}
.btn:hover::before {
  transform: translateY(0);
}
.btn svg {
  transition: transform 0.45s var(--e);
}
.btn:hover svg {
  transform: translateX(5px);
}

.btn--orange {
  background: var(--orange);
  color: #2a1206;
}
.btn--orange::before {
  background: var(--ink);
}
.btn--orange:hover {
  color: var(--cream);
}
.btn--line {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(22, 18, 15, 0.22);
}
.btn--line::before {
  background: var(--ink);
}
.btn--line:hover {
  color: var(--cream);
  box-shadow: inset 0 0 0 1.5px transparent;
}
.btn--ghostlight {
  background: rgba(255, 255, 255, 0.1);
  color: var(--cream);
}
.btn--ghostlight::before {
  background: var(--cream);
}
.btn--ghostlight:hover {
  color: var(--ink);
}
.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* underline-sweep text link */
.tlink {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-d);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink);
  padding-bottom: 0.3rem;
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 0.45s var(--e-io);
}
.tlink:hover::after {
  transform-origin: left;
  transform: scaleX(0);
}
.tlink svg {
  transition: transform 0.45s var(--e);
}
.tlink:hover svg {
  transform: translateX(4px);
}
.sec--dark .tlink,
.sec--ink .tlink {
  color: var(--cream);
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition:
    background-color 0.45s var(--e),
    backdrop-filter 0.45s,
    box-shadow 0.45s;
}
.nav.is-stuck {
  background: rgba(241, 233, 221, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(22, 18, 15, 0.07);
}
.nav__in {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  /* border: 1px solid black; */
  margin-top: 14px;
  margin-left: -10px;
}
.brand img {
  height: 44px;
  width: auto;
  /* border: 2px solid red */
}
.brand__t {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}
.brand__t b {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.brand__t > span {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--txt-mute);
  line-height: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
  padding: 0;
}
.nav__links > li > a {
  position: relative;
  display: block;
  padding: 0.55rem 0.95rem;
  font-family: var(--font-d);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.nav__links > li > a::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.32rem;
  height: 1.5px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--e-io);
}
.nav__links > li > a:hover::after,
.nav__links > li > a[aria-current]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__links > li > a[aria-current] {
  color: var(--clay);
}
.nav__cta {
  margin-left: 0.7rem;
  padding: 0.72rem 1.3rem !important;
  font-size: 0.87rem !important;
}
.nav__cta::after {
  display: none !important;
}

.nav__burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(22, 18, 15, 0.07);
  cursor: pointer;
  place-items: center;
  padding: 0;
}
.nav__burger i {
  display: block;
  width: 18px;
  height: 1.8px;
  background: var(--ink);
  position: relative;
}
.nav__burger i::before,
.nav__burger i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.8px;
  background: var(--ink);
  transition: transform 0.35s var(--e);
}
.nav__burger i::before {
  top: -6px;
}
.nav__burger i::after {
  top: 6px;
}
.nav.is-open .nav__burger i {
  background: transparent;
}
.nav.is-open .nav__burger i::before {
  transform: translateY(6px) rotate(45deg);
}
.nav.is-open .nav__burger i::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 980px) {
  .nav__burger {
    display: grid;
  }
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--sand);
    padding: 1rem var(--gut) 1.6rem;
    gap: 0.1rem;
    box-shadow: 0 24px 50px rgba(22, 18, 15, 0.14);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.3s ease,
      transform 0.35s var(--e);
  }
  .nav.is-open .nav__links {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav__links > li > a {
    padding: 0.95rem 0.3rem;
    font-size: 1.15rem;
  }
  .nav__links > li > a::after {
    left: 0.3rem;
    right: auto;
    width: 26px;
  }
  .nav__cta {
    margin: 0.9rem 0 0;
    justify-content: center;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  padding-bottom: clamp(2rem, 4.5vw, 3rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.74fr);
  gap: clamp(1.6rem, 3.4vw, 3.2rem);
  align-items: center;
  width: 100%;
}
.hero__label {
  margin-bottom: clamp(1.2rem, 2.5vw, 1.8rem);
}
.hero h1 {
  margin-bottom: 1.6rem;
}
.hero__lead {
  max-width: 54ch;
}
.hero .btns {
  margin-top: clamp(1.5rem, 2.4vw, 2rem);
}

/* facts sit on a hairline-free baseline: tone change only */
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  margin-top: clamp(1.7rem, 2.8vw, 2.3rem);
}
.hero__fact b {
  display: block;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(1.22rem, 1.6vw, 1.5rem);
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
}
.hero__fact span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--txt-mute);
  max-width: 15ch;
  line-height: 1.35;
}

/* the photograph bleeds off the right edge of the viewport.
   translateX pushes it further right than the grid column allows — the mini
   thumb sits at right:-7%, so the shift is capped to keep it on screen */
.hero__media {
  position: relative;
  transform: translateX(clamp(0px, 3vw, 52px));
}
.hero__shot {
  position: relative;
  overflow: hidden;
  border-radius: 220px 220px 26px 26px;
  aspect-ratio: 4/5;
  background: var(--sand-deep);
  will-change: clip-path;
}
.hero__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.hero__chip {
  position: absolute;
  left: -9%;
  bottom: 8%;
  background: var(--orange);
  color: #2a1206;
  border-radius: 20px;
  padding: 1rem 1.25rem;
  min-width: 148px;
  box-shadow: 0 24px 50px rgba(22, 18, 15, 0.22);
}
.hero__chip b {
  display: block;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero__chip span {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 0.3rem;
  opacity: 0.78;
}
.hero__mini {
  position: absolute;
  right: -7%;
  top: 6%;
  width: 34%;
  aspect-ratio: 1/1;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(22, 18, 15, 0.26);
}
.hero__mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__cue {
  position: absolute;
  left: var(--gut);
  bottom: clamp(1.2rem, 3vw, 2.2rem);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-d);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--txt-mute);
}
.hero__cue s {
  display: block;
  width: 46px;
  height: 1.5px;
  background: currentColor;
  text-decoration: none;
  opacity: 0.5;
  overflow: hidden;
  position: relative;
}
.hero__cue s::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--orange);
  animation: cue 2.2s var(--e-io) infinite;
}
@keyframes cue {
  0% {
    transform: translateX(-100%);
  }
  55%,
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 940px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 2rem);
  }
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__media {
    max-width: 460px;
    margin-top: 1rem;
    transform: none;
  }
  .hero__cue {
    display: none;
  }
}
@media (max-width: 560px) {
  .hero__shot {
    border-radius: 150px 150px 20px 20px;
  }
  .hero__mini {
    display: none;
  }
  .hero__chip {
    left: auto;
    right: 0;
    bottom: -6%;
  }
}

/* ==========================================================================
   BIG TICKER
   ========================================================================== */
.ticker {
  overflow: hidden;
  padding-block: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--ink);
}
.ticker__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.ticker__track span {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.4vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--cream);
  white-space: nowrap;
  padding-inline: clamp(1rem, 2vw, 2rem);
  display: inline-flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}
.ticker__track span em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(255, 250, 242, 0.42);
}
.ticker__track span i {
  font-style: normal;
  color: var(--orange);
  font-size: 0.55em;
}

/* ==========================================================================
   INTRO
   ========================================================================== */
.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(1.8rem, 3.6vw, 3.2rem);
  align-items: center;
}
.intro__grid .shot {
  aspect-ratio: auto;
  min-height: clamp(320px, 40vw, 460px);
}
.intro__lead {
  max-width: 48ch;
  margin-top: 1rem;
}
.intro__lead b {
  font-weight: 500;
  color: var(--clay);
}

.feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.8rem, 1.4vw, 1.2rem);
  margin-top: clamp(1.8rem, 3.2vw, 2.8rem);
}
.feat {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border-radius: 20px;
  padding: clamp(1.4rem, 2.2vw, 1.8rem);
  transition:
    transform 0.5s var(--e),
    box-shadow 0.5s var(--e);
}
/* .feat::before {
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--e);
} */
.feat:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 46px -24px rgba(22, 18, 15, 0.38);
  transition: all 2s ease;
}
.feat:hover::before {
  transform: scaleX(1);
}
.feat__k {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  font-family: var(--font-d);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
}
.feat__k i {
  font-style: normal;
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.45;
}
.feat h3 {
  font-size: 1rem;
  letter-spacing: -0.022em;
  margin-bottom: 0.45rem;
  line-height: 1.3;
}
.feat p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--txt-soft);
}
@media (max-width: 860px) {
  .feats {
    grid-template-columns: 1fr;
  }
}

/* grid, so the image stretches to the container even when its height comes
   from min-height — a percentage height would resolve to auto there */
.shot {
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: 28px;
  will-change: clip-path;
  background: var(--sand-deep);
}
.shot img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  will-change: transform;
}
.shot--tall {
  aspect-ratio: 4/5;
}
.shot--wide {
  aspect-ratio: 3/2;
}
.shot--sq {
  aspect-ratio: 1/1;
}
/* the photo's own ratio — the frame matches the file exactly, so `cover` has
   nothing left to trim and the shot is shown whole, never cropped */
.shot--nat {
  aspect-ratio: 1600/1064;
}
@media (max-width: 900px) {
  .intro__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   STATS BAND
   ========================================================================== */
.band {
  background: var(--ink);
  color: var(--cream);
  padding-block: clamp(2.8rem, 5vw, 4.4rem);
}
/* headings default to --ink globally, which is invisible on this band */
.band h2,
.band h3 {
  color: var(--cream);
}
.band__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
.band__item {
  position: relative;
  padding-left: clamp(1rem, 2vw, 1.6rem);
}
/* faded rule drawn as a gradient — no solid 1px border */
.band__item + .band__item {
  background-image: linear-gradient(
    to bottom,
    rgba(255, 250, 242, 0.28),
    rgba(255, 250, 242, 0)
  );
  background-size: 1px 74%;
  background-repeat: no-repeat;
  background-position: left top;
}
.band__n {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  letter-spacing: -0.048em;
  line-height: 0.98;
  color: var(--cream);
  display: flex;
  align-items: baseline;
  gap: 0.02em;
}
.band__n sup {
  font-size: 0.42em;
  color: var(--orange);
  top: -0.1em;
}
.band__l {
  margin-top: 0.75rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #b8ada0;
  max-width: 22ch;
}
.band__s {
  margin-top: 0.3rem;
  font-size: 0.76rem;
  color: #7d7268;
}
@media (max-width: 1100px) {
  .band__grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 2.5rem;
  }
}
@media (max-width: 860px) {
  .band__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2.5rem;
  }
}
@media (max-width: 500px) {
  .band__grid {
    grid-template-columns: 1fr;
  }
  .band__item + .band__item {
    background-image: none;
  }
}

/* ==========================================================================
   SCHOOLS WE SERVE — the Bronx middle schools BOOM operates in
   Same card language as .feat: warm cream tile, 20px radius, lift on hover.
   ========================================================================== */
.schools {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.8rem, 1.4vw, 1.2rem);
  margin-top: clamp(1.8rem, 3.2vw, 2.8rem);
}
.school {
  position: relative;
  overflow: hidden;
  background: var(--sand);
  border-radius: 20px;
  padding: clamp(1.4rem, 2.2vw, 1.8rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition:
    transform 0.5s var(--e),
    box-shadow 0.5s var(--e);
}
.school:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 46px -24px rgba(22, 18, 15, 0.38);
}
.school__n {
  font-family: var(--font-d);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--clay);
  margin-bottom: 0.35rem;
}
.school__t {
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}
/* pushed to the bottom so the meta line sits flush across uneven card heights */
.school__m {
  margin-top: auto;
  padding-top: 0.55rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--txt-mute);
}
@media (max-width: 1100px) {
  .schools {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .schools {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PROGRAMS — sticky stacking panels
   ========================================================================== */
.stack {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
}
.panel {
  position: sticky;
  top: calc(var(--nav-h) + 14px);
  border-radius: 32px;
  overflow: hidden;
  min-height: clamp(430px, 62vh, 560px);
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  background: var(--slate);
  color: #dfe8ea;
  box-shadow: 0 30px 70px -30px rgba(22, 18, 15, 0.55);
}
.panel:nth-child(2) {
  background: var(--clay);
  color: #ffe7dc;
}
.panel:nth-child(3) {
  background: var(--slate-2);
  color: #d9e8e6;
}
.panel__body {
  padding: clamp(1.8rem, 3.4vw, 3.2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}
.panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.panel__n {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  letter-spacing: -0.05em;
  color: rgba(255, 250, 242, 0.3);
  line-height: 1;
}
.panel__tag {
  font-family: var(--font-d);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(255, 250, 242, 0.16);
  color: var(--cream);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}
.panel h3 {
  color: var(--cream);
  margin-bottom: 0.9rem;
}
.panel p {
  font-size: 0.93rem;
  line-height: 1.68;
  opacity: 0.86;
  max-width: 44ch;
}
.panel .tlink {
  color: var(--cream);
  margin-top: 1.6rem;
}
.panel__media {
  position: relative;
  overflow: hidden;
}
.panel__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--e);
}
.panel:hover .panel__media img {
  transform: scale(1.05);
}
@media (max-width: 860px) {
  .panel {
    grid-template-columns: 1fr;
    position: relative;
    top: auto;
    min-height: 0;
  }
  .panel__media {
    aspect-ratio: 16/10;
  }
  .panel__media img {
    position: absolute;
  }
}

/* ==========================================================================
   PINNED HORIZONTAL GALLERY
   ========================================================================== */
.rail {
  overflow: hidden;
  padding-block: clamp(2.6rem, 4.6vw, 4rem);
  background: var(--sand-deep);
}
.rail__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.4rem, 2.4vw, 2rem);
}
.rail__track {
  display: flex;
  gap: clamp(0.9rem, 1.4vw, 1.4rem);
  padding-inline: var(--gut);
  will-change: transform;
}
.rail__fig {
  position: relative;
  flex: none;
  margin: 0;
  width: clamp(250px, 27vw, 400px);
  aspect-ratio: 4/5;
  border-radius: 26px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--sand);
  border: 0;
  padding: 0;
  display: block;
  text-align: left;
}
.rail__fig:nth-child(even) {
  aspect-ratio: 3/4;
  align-self: flex-end;
}
.rail__fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--e);
}
.rail__fig::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(22, 18, 15, 0.85) 2%,
    rgba(22, 18, 15, 0.1) 46%,
    transparent 68%
  );
}
.rail__fig figcaption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1.2rem 1.3rem;
  color: var(--cream);
}
.rail__fig figcaption b {
  display: block;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.rail__fig figcaption span {
  font-size: 0.8rem;
  opacity: 0.72;
}
.rail__fig:hover img {
  transform: scale(1.06);
}
.rail__bar {
  height: 2px;
  background: rgba(22, 18, 15, 0.12);
  margin-inline: var(--gut);
  margin-top: clamp(1.2rem, 2.2vw, 1.8rem);
  overflow: hidden;
}
.rail__bar i {
  display: block;
  height: 100%;
  width: 22%;
  background: var(--orange);
  transform: translateX(0);
}
.rail--native .rail__track {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}
.rail--native .rail__fig {
  scroll-snap-align: center;
}
.rail--native .rail__bar {
  display: none;
}

/* ==========================================================================
   EVIDENCE — the grant scorecard
   The story here is that every federal target was beaten, so the section is
   built around target-vs-achieved bars rather than a grid of loose numbers.
   ========================================================================== */
.ev {
  background: var(--ink);
  color: #c9bdb1;
}
.ev h2,
.ev h3 {
  color: var(--cream);
}
.ev .shead__n {
  color: var(--orange-2);
}
.ev .shead__p {
  color: #a2968a;
}

/* headline figure */
.ev__lede {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-bottom: clamp(1.8rem, 3.2vw, 2.8rem);
  background-image: linear-gradient(
    to right,
    rgba(255, 250, 242, 0.2),
    rgba(255, 250, 242, 0) 88%
  );
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: bottom left;
}
.ev__lede h3 {
  max-width: 50ch;
  margin-bottom: 0.6rem;
}
/* scoped past `.ev__lede p`, which otherwise wins on specificity and shrinks
   the headline figure back down to body size */
.ev__lede p {
  font-size: 0.95rem;
  color: #97897c;
  max-width: 60ch;
}
.ev__lede .ev__fig {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.86;
  letter-spacing: -0.05em;
  color: var(--cream);
  max-width: none;
}
.ev__lede .ev__fig em {
  font-style: normal;
  color: var(--orange);
}

/* target vs achieved */
.metrics {
  display: grid;
  gap: 0;
}
.metric {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 3rem);
  align-items: center;
  padding-block: clamp(1.2rem, 2.2vw, 1.7rem);
}
.metric + .metric {
  background-image: linear-gradient(
    to right,
    rgba(255, 250, 242, 0.14),
    rgba(255, 250, 242, 0) 88%
  );
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: top left;
}
.metric__t {
  font-size: 0.96rem;
  line-height: 1.35;
  color: var(--cream);
  font-family: var(--font-d);
  font-weight: 600;
  letter-spacing: -0.022em;
}
.metric__s {
  margin-top: 0.4rem;
  font-size: 0.84rem;
  color: #8d8073;
}

.metric__rows {
  display: grid;
  gap: 0.7rem;
}
.mrow {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr) 4.2rem;
  gap: 0.9rem;
  align-items: center;
}
.mrow__k {
  font-family: var(--font-d);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7d7166;
}
.mrow__v {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: -0.02em;
  text-align: right;
  color: #9a8d80;
}

.bar {
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.08);
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  width: 0;
}
.bar--t i {
  background: rgba(255, 250, 242, 0.3);
}
.bar--a i {
  background: linear-gradient(90deg, var(--clay), var(--orange));
}
.mrow--a .mrow__k {
  color: var(--orange);
}
.mrow--a .mrow__v {
  color: var(--cream);
  font-size: 1.06rem;
}
.no-anim .bar i {
  width: var(--w) !important;
}

.ev__beat {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: clamp(1.5rem, 2.6vw, 2.2rem);
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2a1206;
  background: var(--orange);
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
}

@media (max-width: 780px) {
  .ev__lede {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .metric {
    grid-template-columns: 1fr;
  }
  .mrow {
    grid-template-columns: 4.2rem minmax(0, 1fr) 3.6rem;
  }
}

/* pull quote */
.pull {
  margin-top: clamp(1.8rem, 3.2vw, 2.8rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.pull blockquote {
  font-family: var(--font-d);
  font-weight: 500;
  font-variation-settings:
    "opsz" 48,
    "wdth" 100;
  font-size: clamp(1.08rem, 1.5vw, 1.38rem);
  line-height: 1.42;
  letter-spacing: -0.028em;
  color: var(--cream);
}
.pull blockquote::before {
  content: "“";
  color: var(--orange);
}
.pull blockquote::after {
  content: "”";
  color: var(--orange);
}
.pull cite {
  display: block;
  margin-top: 1.3rem;
  font-style: normal;
  font-family: var(--font-d);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7d7166;
}
.pull .shot {
  border-radius: 24px;
}
@media (max-width: 860px) {
  .pull {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   GRANTS
   ========================================================================== */
.grants {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.grant {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 1.4rem;
  align-items: start;
}
.grant img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}
.grant__meta {
  font-family: var(--font-d);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-2);
  margin-bottom: 0.5rem;
}
.grant h3 {
  color: var(--cream);
  margin-bottom: 0.7rem;
}
.grant p {
  font-size: 0.9rem;
  color: #b8ada0;
}
.grant dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1.1rem;
  margin-top: 1.1rem;
  font-size: 0.86rem;
}
.grant dt {
  font-family: var(--font-d);
  font-weight: 500;
  color: var(--cream);
}
.grant dd {
  margin: 0;
  color: #a2978c;
}
@media (max-width: 760px) {
  .grants {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PARTNER MARQUEES
   ========================================================================== */
.mq {
  overflow: hidden;
}
.mq + .mq {
  margin-top: clamp(0.5rem, 1.2vw, 1rem);
}
.mq__track {
  display: flex;
  width: max-content;
  align-items: center;
  will-change: transform;
}
.mq__track span {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: clamp(0.92rem, 1.4vw, 1.28rem);
  letter-spacing: -0.026em;
  white-space: nowrap;
  padding-inline: clamp(0.8rem, 1.6vw, 1.5rem);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: clamp(0.8rem, 1.6vw, 1.5rem);
}
.mq__track span::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}
.mq--out .mq__track span {
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(22, 18, 15, 0.38);
}
.mq--out .mq__track span::after {
  background: rgba(22, 18, 15, 0.25);
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}
.cta__bg {
  position: absolute;
  inset: -12% 0;
}
.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  will-change: transform;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(22, 18, 15, 0.93) 26%,
    rgba(22, 18, 15, 0.52)
  );
}
.cta__in {
  position: relative;
  z-index: 2;
  padding-block: clamp(3rem, 5.5vw, 5rem);
}
.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(1.8rem, 3.6vw, 3.2rem);
  align-items: end;
}
.cta h2 {
  color: var(--cream);
}
.cta p {
  color: #b8ada0;
  margin-top: 1.2rem;
  max-width: 60ch;
}
.cta__ways {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0;
}
.cta__ways li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.9rem;
  padding-block: 0.9rem;
  font-size: 0.9rem;
  color: #cbc0b4;
}
.cta__ways li + li {
  background-image: linear-gradient(
    to right,
    rgba(255, 250, 242, 0.16),
    rgba(255, 250, 242, 0) 75%
  );
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: top left;
}
.cta__ways i {
  font-style: normal;
  font-family: var(--font-d);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--orange);
  padding-top: 0.25rem;
}
.cta__phone {
  margin-top: 1.6rem;
  font-size: 0.9rem;
  color: #8a7c6f;
}
.cta__phone a {
  color: var(--cream);
}
.cta__phone a:hover {
  color: var(--orange);
}
@media (max-width: 860px) {
  .cta__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot {
  background: var(--ink);
  color: #9d9186;
  padding-top: clamp(2.6rem, 4.5vw, 3.6rem);
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(1.8rem, 4vw, 3rem);
}
@media (max-width: 900px) {
  .foot__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .foot__grid {
    grid-template-columns: 1fr;
  }
}
.foot h4 {
  font-family: var(--font-d);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.1rem;
}
.foot ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  font-size: 0.88rem;
}
.foot a {
  color: #9d9186;
  transition: color 0.3s ease;
}
.foot a:hover {
  color: var(--orange);
}
/* a set wordmark, not the logo bitmap: knocking the colour out of the globe
   leaves a white disc that reads as a blob on the dark ground */
.foot__brand p {
  font-size: 0.88rem;
  line-height: 1.68;
  max-width: 36ch;
}
/* scoped past `.foot__brand p`, which otherwise wins on specificity */
.foot__brand .foot__mark {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.045em;
  color: var(--cream);
  line-height: 1;
}
.foot__brand .foot__sub {
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6f645b;
  margin-top: 0.55rem;
  max-width: 26ch;
  line-height: 1.5;
}
.foot__brand .foot__body {
  margin-top: 1.4rem;
}
.foot__tag {
  display: inline-block;
  margin-top: 1.1rem;
  font-family: var(--font-d);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(255, 107, 44, 0.13);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}
.foot__bar {
  margin-top: clamp(1.8rem, 3.2vw, 2.6rem);
  padding-block: 1.5rem;
  background-image: linear-gradient(
    to right,
    rgba(255, 250, 242, 0.14),
    rgba(255, 250, 242, 0) 90%
  );
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: top left;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.8rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #6f645b;
}

/* ==========================================================================
   PREMIUM INTERACTION LAYER
   The pieces that make a static page feel like a React/Framer build:
   blur-in reveals, a lagging cursor, magnetic buttons, pointer-tilt cards
   and a spotlight that tracks the cursor across the dark sections.
   ========================================================================== */

/* cursor — only where there is a real pointer, never on touch */
.cursor,
.cursor-dot {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor,
  .cursor-dot {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 450;
    pointer-events: none;
    border-radius: 50%;
    mix-blend-mode: difference;
    will-change: transform;
  }
  .cursor {
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    box-shadow: inset 0 0 0 1.5px rgba(255, 250, 242, 0.85);
    transition:
      width 0.35s var(--e),
      height 0.35s var(--e),
      margin 0.35s var(--e),
      opacity 0.3s;
  }
  .cursor-dot {
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    background: #fffaf2;
  }
  .cursor.is-lg {
    width: 72px;
    height: 72px;
    margin: -36px 0 0 -36px;
  }
  body.cursor-on {
    cursor: none;
  }
  body.cursor-on a,
  body.cursor-on button {
    cursor: none;
  }
}

/* magnetic buttons */
.mag {
  will-change: transform;
}

/* pointer tilt */
.tilt {
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt > * {
  transform: translateZ(0.01px);
}

/* cursor-tracking spotlight on the dark bands */
.spot {
  position: relative;
  isolation: isolate;
}
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 107, 44, 0.16),
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.5s var(--e);
}
.spot:hover::before {
  opacity: 1;
}
.spot > * {
  position: relative;
  z-index: 1;
}
/* .spot sets position:relative and is declared after .panel, which would
   silently kill the sticky stacking — restore it explicitly */
.panel.spot {
  position: sticky;
  top: calc(var(--nav-h) + 14px);
}
@media (max-width: 860px) {
  .panel.spot {
    position: relative;
    top: auto;
  }
}

/* soft animated glow behind the hero — depth without another image */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.5;
  z-index: 0;
}
.hero::before {
  width: 46vw;
  height: 46vw;
  left: -14vw;
  top: -12vw;
  background: rgba(241, 202, 185, 0.3);
  animation: float1 17s ease-in-out infinite;
}
.hero::after {
  width: 38vw;
  height: 38vw;
  right: -10vw;
  bottom: -16vw;
  background: rgba(31, 58, 68, 0.26);
  animation: float2 21s ease-in-out infinite;
}
.hero > * {
  position: relative;
  z-index: 1;
}
@keyframes float1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(5vw, 4vw) scale(1.12);
  }
}
@keyframes float2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-4vw, -5vw) scale(1.1);
  }
}

/* ---------- reveal states ---------- */
/* the blur is the signature of the Framer-style entrance — it reads as depth
   of field rather than a plain fade */
[data-rv] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(9px);
}
[data-clip] {
  clip-path: inset(0 0 100% 0);
}
.w > i {
  filter: blur(6px);
}
.no-anim [data-rv] {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
.no-anim [data-clip] {
  clip-path: none !important;
}
.no-anim .w > i {
  filter: none !important;
}

@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;
  }
  [data-rv] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  [data-clip] {
    clip-path: none !important;
  }
  .w > i {
    filter: none !important;
  }
  .grain,
  .cursor,
  .cursor-dot {
    display: none !important;
  }
  .hero::before,
  .hero::after {
    animation: none;
  }
}

/* ---------- lightbox ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  background: rgba(12, 9, 7, 0.96);
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s;
}
.lb.is-open {
  opacity: 1;
  visibility: visible;
}
.lb figure {
  margin: 0;
  max-width: min(1100px, 92vw);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.lb img {
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  margin-inline: auto;
  object-fit: contain;
  border-radius: 18px;
  transform: scale(0.94);
  opacity: 0;
  transition:
    transform 0.45s var(--e),
    opacity 0.4s ease;
}
.lb.is-open img {
  transform: scale(1);
  opacity: 1;
}
.lb figcaption {
  text-align: center;
  color: #c2b7ab;
  font-size: 0.93rem;
  line-height: 1.5;
}
.lb figcaption b {
  display: block;
  color: var(--cream);
  font-family: var(--font-d);
  font-weight: 500;
}
.lb figcaption span {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6f645b;
}
.lb button {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(255, 250, 242, 0.1);
  border: 0;
  border-radius: 999px;
  color: var(--cream);
  cursor: pointer;
  transition:
    background-color 0.3s,
    transform 0.3s var(--e);
}
.lb button:hover {
  background: var(--orange);
  color: #2a1206;
  transform: scale(1.08);
}
.lb .lb-x {
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
}
.lb .lb-p {
  left: clamp(0.5rem, 2vw, 2rem);
  top: 50%;
  margin-top: -24px;
}
.lb .lb-n {
  right: clamp(0.5rem, 2vw, 2rem);
  top: 50%;
  margin-top: -24px;
}
.lb svg {
  width: 20px;
  height: 20px;
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (max-width: 450px){
  .brand{
    margin-left: 0px;
  }
  .brand img{
    height: 36px;
  }
}
/* ==========================================================================
   LANGUAGE SWITCHER  (EN / ES)
   Sits in the nav list, just before the call-to-action. The active language
   is filled in, the other reads as a quiet link — small enough not to compete
   with the nav, large enough to hit on a phone.
   ========================================================================== */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(22, 18, 15, 0.07);
}
.nav.is-stuck .lang {
  background: rgba(22, 18, 15, 0.06);
}
.lang__a {
  display: block;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  font-family: var(--font-d);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  color: var(--txt-soft);
  transition: color 0.35s var(--e), background 0.35s var(--e);
}
.lang__a:hover {
  color: var(--ink);
}
.lang__a.is-on {
  background: var(--ink);
  color: var(--cream);
}
/* the nav's generic underline animation would fight the pill */
.nav__links > li.lang > a::after {
  display: none;
}
/* On desktop the switcher lives inside the nav list; the mobile copy that
   sits out in the bar next to the burger stays hidden. */
.lang--m {
  display: none;
}

@media (max-width: 980px) {
  /* the menu no longer carries the switcher — it sits in the bar itself,
     right beside the burger, so a language change costs no taps */
  .nav__links > li.lang {
    display: none;
  }
  .nav__in {
    gap: 0.6rem;
  }
  .lang--m {
    display: inline-flex;
    margin-left: auto;
    flex: 0 0 auto;
  }
  .lang__a {
    font-size: 0.78rem;
    padding: 0.42rem 0.78rem;
  }
}
