/* ==========================================================================
   Montay — montay.band  ·  hand-written stylesheet, no framework
   Palette and type are pulled from the band's own EP artwork:
   warm near-black paper, cream ink, coral / sky accents.
   ========================================================================== */

/* ---------- fonts (self-hosted, latin subsets from Google Fonts) ---------- */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokens ---------- */
:root {
  --ink: #0c0b0e;
  --ink-2: #141317;
  --ink-3: #1c1a20;
  --line: rgba(244, 239, 232, 0.11);
  --line-2: rgba(244, 239, 232, 0.2);
  --paper: #f4efe8;
  --paper-2: #b8b0a7;
  --paper-3: #837c76;

  --coral: #e88a6d;
  --sky: #86bfdd;
  --sage: #8fb9a8;
  --lilac: #a99bc1;
  --sand: #e8cf9a;

  /* per-page accent, overridden inline on song pages */
  --accent: var(--coral);
  --accent-soft: rgba(232, 138, 109, 0.16);

  --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5.2vw, 56px);
  --radius: 14px;
  --header-h: 66px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg,
iframe {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}
::selection {
  background: var(--accent);
  color: var(--ink);
}

/* paper grain — one tiny inline SVG, no network request */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- type ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.h-xl {
  font-size: clamp(2.9rem, 10.5vw, 7.5rem);
  letter-spacing: -0.05em;
}
.h-l {
  font-size: clamp(2rem, 5.6vw, 3.6rem);
}
.h-m {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
}
.h-s {
  font-size: clamp(1.1rem, 1.9vw, 1.32rem);
  letter-spacing: -0.02em;
}
.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--accent);
}
.lede {
  font-size: clamp(1.08rem, 1.4vw, 1.26rem);
  color: var(--paper-2);
  line-height: 1.6;
  max-width: 62ch;
}
.muted {
  color: var(--paper-2);
}
.small {
  font-size: 0.85rem;
  color: var(--paper-3);
}
p a:not(.btn),
.prose a:not(.btn) {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: opacity 0.18s var(--ease);
}
p a:not(.btn):hover {
  opacity: 0.72;
}

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow {
  max-width: 760px;
}
section {
  padding-block: clamp(48px, 7vw, 92px);
}
.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.stack > * + * {
  margin-top: 1rem;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--accent);
  color: var(--ink);
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip:focus {
  left: 0;
}

/* ---------- header ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  /* NB: the blur lives on ::before, not here. backdrop-filter on this element
     would make it the containing block for the fixed mobile nav overlay
     (a descendant), collapsing it to the header's own box. */
}
.masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(12, 11, 14, 0.8);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.masthead.is-stuck::before {
  border-bottom-color: var(--line);
  background: rgba(12, 11, 14, 0.94);
}
.masthead__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.045em;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
}
.brand svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.brand:hover .brand__mark path {
  stroke: var(--sky);
}
.brand__mark path {
  transition: stroke 0.22s var(--ease);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.9vw, 30px);
}
.nav a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  color: var(--paper-2);
  position: relative;
  padding-block: 4px;
  transition: color 0.18s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1.5px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s var(--ease);
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--paper);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav__cta {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  padding: 9px 17px;
  border-radius: 100px;
  background: var(--paper);
  color: var(--ink) !important;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__cta::after {
  display: none;
}
.nav__cta:hover {
  background: var(--coral);
  transform: translateY(-1px);
}

.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-right: -10px;
}
.burger span {
  display: block;
  width: 22px;
  height: 1.8px;
  background: var(--paper);
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}
.burger span + span {
  margin-top: 6px;
}
body.nav-open .burger span:nth-child(1) {
  transform: translateY(7.8px) rotate(45deg);
}
body.nav-open .burger span:nth-child(2) {
  opacity: 0;
}
body.nav-open .burger span:nth-child(3) {
  transform: translateY(-7.8px) rotate(-45deg);
}

@media (max-width: 860px) {
  .burger {
    display: flex;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    padding: 0 var(--gutter) 12vh;
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease),
      visibility 0.26s;
  }
  body.nav-open {
    overflow: hidden;
  }
  body.nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav a {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--paper);
    padding-block: 7px;
  }
  .nav a::after {
    display: none;
  }
  .nav a[aria-current="page"] {
    color: var(--accent);
  }
  .nav__cta {
    margin-top: 22px;
    font-size: 1rem;
    padding: 13px 26px;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  padding: 12px 22px;
  border-radius: 100px;
  border: 1px solid var(--line-2);
  color: var(--paper);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}
.btn:hover {
  transform: translateY(-2px);
  border-color: transparent;
  background: var(--paper);
  color: var(--ink);
}
.btn--solid {
  background: var(--accent);
  border-color: transparent;
  color: var(--ink);
}
.btn--solid:hover {
  background: var(--paper);
}
.btn--ghost {
  padding-inline: 0;
  border: 0;
  border-radius: 0;
}
.btn--ghost:hover {
  background: none;
  color: var(--accent);
  transform: none;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(86svh, 760px);
  display: grid;
  align-items: end;
  padding-block: clamp(56px, 9vw, 104px);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  filter: contrast(1.06) brightness(0.8) saturate(0.9);
  animation: heroIn 1.6s var(--ease) both;
}
@keyframes heroIn {
  from {
    transform: scale(1.06);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to top,
      var(--ink) 1%,
      rgba(12, 11, 14, 0.9) 26%,
      rgba(12, 11, 14, 0.5) 62%,
      rgba(12, 11, 14, 0.34) 100%
    ),
    linear-gradient(to right, rgba(12, 11, 14, 0.62), transparent 60%),
    radial-gradient(
      110% 75% at 12% 100%,
      rgba(232, 138, 109, 0.16),
      transparent 62%
    );
}
.hero__inner {
  position: relative;
}
.hero h1 {
  margin-top: 12px;
  margin-bottom: 18px;
}
.hero h1 .word {
  display: block;
  animation: rise 0.9s var(--ease) both;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero .lede {
  margin-bottom: 26px;
  color: var(--paper);
  opacity: 0.86;
}
.hero__scroll {
  margin-top: clamp(30px, 5vw, 54px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--paper-2);
}
.hero__scroll span {
  width: 34px;
  height: 1px;
  background: var(--accent);
  animation: pull 2.2s var(--ease) infinite;
}
@keyframes pull {
  0%,
  100% {
    transform: scaleX(1);
    transform-origin: left;
  }
  50% {
    transform: scaleX(0.35);
    transform-origin: left;
  }
}

/* ---------- section heading ---------- */
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: 18px;
  margin-bottom: clamp(26px, 3.6vw, 44px);
  border-bottom: 1px solid var(--line);
}
.sec-head__t {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---------- page header (interior pages) ---------- */
.phead {
  padding-block: clamp(38px, 6vw, 76px) clamp(24px, 3.4vw, 40px);
}
.phead .eyebrow {
  display: block;
  margin-bottom: 14px;
}
.phead .lede {
  margin-top: 18px;
}

/* ---------- cards / grids ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 26px);
}
.grid--songs {
  grid-template-columns: repeat(auto-fill, minmax(188px, 1fr));
}
@media (max-width: 560px) {
  /* two artworks per row rather than one huge one */
  .grid--songs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.grid--news {
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}
.grid--videos {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.32s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
}
.card__art {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-2);
  aspect-ratio: 1;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 18px 40px -22px rgba(0, 0, 0, 0.9);
}
.card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}
.card:hover .card__art img {
  transform: scale(1.045);
}
.card__art::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 1px var(--line) inset;
  transition: box-shadow 0.3s var(--ease);
}
.card:hover .card__art::after {
  box-shadow: 0 0 0 1.5px var(--accent) inset;
}
.card__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.card__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.card:hover .card__title {
  color: var(--accent);
}
.card__meta {
  font-size: 0.8rem;
  color: var(--paper-3);
  letter-spacing: 0.02em;
}
.card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.card--news .card__art {
  aspect-ratio: 16 / 10;
}
.card--news .card__body {
  gap: 6px;
}
/* keep the meta line aligned across a row even when a title wraps */
.grid--songs .card__title {
  min-height: 2.5em;
}
.card--wide .card__art {
  aspect-ratio: 16 / 9;
}

/* play badge on video cards */
.play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
}
.play i {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(12, 11, 14, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 0 0 1.5px rgba(244, 239, 232, 0.55) inset,
    0 10px 30px -10px rgba(0, 0, 0, 0.8);
  transition: transform 0.28s var(--ease), background 0.28s var(--ease);
}
.play svg {
  width: 17px;
  height: 17px;
  margin-left: 3px;
  fill: var(--paper);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
  transition: fill 0.28s var(--ease);
}
.card:hover .play i,
.vfacade:hover .play i {
  transform: scale(1.1);
  background: var(--accent);
}
.card:hover .play svg,
.vfacade:hover .play svg {
  fill: var(--ink);
}

/* ---------- feature block (EP) ---------- */
.feature {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
}
@media (max-width: 800px) {
  .feature {
    grid-template-columns: 1fr;
  }
}
.feature__art {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 1);
}
.feature__art img {
  width: 100%;
}
.tracklist {
  list-style: none;
  padding: 0;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.tracklist li {
  border-bottom: 1px solid var(--line);
}
.tracklist a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 4px;
  transition: padding 0.26s var(--ease), color 0.2s var(--ease);
}
.tracklist a:hover {
  padding-left: 12px;
  color: var(--accent);
}
.tracklist .n {
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--paper-3);
  min-width: 22px;
}
.tracklist a:hover .n {
  color: var(--accent);
}
.tracklist .t {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.012em;
}
.tracklist .arrow {
  margin-left: auto;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}
.tracklist a:hover .arrow {
  opacity: 1;
  transform: none;
}

/* ---------- platform pills ---------- */
.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.plat {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 19px;
  border-radius: 100px;
  border: 1px solid var(--line-2);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  background: rgba(244, 239, 232, 0.03);
  transition: transform 0.2s var(--ease), background 0.22s var(--ease),
    color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.plat svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: currentColor;
}
.plat:hover {
  transform: translateY(-2px);
  border-color: transparent;
  background: var(--pc, var(--paper));
  color: var(--ink);
}

/* ---------- video facade ---------- */
.vfacade {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  text-align: inherit;
  font: inherit;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 0 0 1px var(--line) inset;
  cursor: pointer;
}
.vfacade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), opacity 0.3s var(--ease);
}
.vfacade:hover img {
  transform: scale(1.03);
  opacity: 0.85;
}
.vfacade iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.vfacade--plain {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  background: linear-gradient(150deg, var(--ink-2), var(--ink-3));
}
.vfacade--plain .play {
  position: static;
}
.vfacade--plain .vfacade__label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-3);
  margin-top: 14px;
}
.video-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.video-item__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ---------- song page ---------- */
.song {
  display: grid;
  gap: clamp(30px, 5vw, 64px);
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  align-items: start;
  padding-block: clamp(26px, 4vw, 44px) clamp(48px, 7vw, 90px);
}
@media (max-width: 880px) {
  .song {
    grid-template-columns: 1fr;
  }
}
.song__aside {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 880px) {
  .song__aside {
    position: static;
    max-width: 340px;
  }
}
.song__art {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px -34px rgba(0, 0, 0, 1),
    0 0 0 1px var(--line) inset;
}
.lyrics {
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  line-height: 1.95;
  color: var(--paper);
  max-width: 46ch;
}
.lyrics .stanza {
  position: relative;
  padding-left: 22px;
  margin-bottom: 2.1rem;
}
.lyrics .stanza::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  bottom: 0.55em;
  width: 1.5px;
  background: linear-gradient(
    to bottom,
    var(--accent),
    rgba(244, 239, 232, 0.06)
  );
  border-radius: 2px;
}
.lyrics .stanza:last-child {
  margin-bottom: 0;
}
.credits {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--paper-3);
}

/* prev / next */
.pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 30px;
  border-top: 1px solid var(--line);
}
.pager a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 46%;
}
.pager a:last-child {
  text-align: right;
  align-items: flex-end;
}
.pager .k {
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-3);
}
.pager .v {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.015em;
}
.pager a:hover .v {
  color: var(--accent);
}

/* ---------- photo gallery (masonry via columns) ---------- */
.gallery {
  columns: 4;
  column-gap: 12px;
}
@media (max-width: 1080px) {
  .gallery {
    columns: 3;
  }
}
@media (max-width: 720px) {
  .gallery {
    columns: 2;
  }
}
@media (max-width: 360px) {
  .gallery {
    columns: 1;
  }
}
.gallery button {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--ink-2);
  position: relative;
  break-inside: avoid;
  line-height: 0;
}
.gallery img {
  width: 100%;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease),
    filter 0.4s var(--ease);
}
.js .gallery img {
  opacity: 0;
}
.js .gallery img.is-in {
  opacity: 1;
}
.gallery button::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: 0 0 0 1px var(--line) inset;
  border-radius: inherit;
  transition: box-shadow 0.3s var(--ease);
}
.gallery button:hover img {
  transform: scale(1.035);
  filter: brightness(1.06);
}
.gallery button:hover::after {
  box-shadow: 0 0 0 2px var(--accent) inset;
}

/* ---------- lightbox ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: 1fr auto;
  background: rgba(8, 7, 10, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}
.lb[open],
.lb.is-open {
  opacity: 1;
  visibility: visible;
}
.lb__stage {
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 40px);
  min-height: 0;
}
.lb__stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  animation: lbIn 0.34s var(--ease) both;
}
@keyframes lbIn {
  from {
    opacity: 0;
    transform: scale(0.975);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.lb__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.lb__count {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--paper-2);
  min-width: 74px;
  text-align: center;
}
.lb__btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.lb__btn:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: transparent;
}
.lb__btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.lb__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

/* ---------- about ---------- */
.members {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.members li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
}
.members .who {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.018em;
}
.members .what {
  font-size: 0.88rem;
  color: var(--paper-3);
  letter-spacing: 0.02em;
}
.influences {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.tag {
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 6px 13px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--paper-2);
}
.about-grid {
  display: grid;
  gap: clamp(28px, 4.5vw, 60px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  align-items: start;
}
@media (max-width: 840px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}
.about-grid figure img {
  border-radius: var(--radius);
  width: 100%;
}
figcaption {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--paper-3);
}

/* ---------- news article ---------- */
.prose {
  max-width: 66ch;
}
.prose > * + * {
  margin-top: 1.15rem;
}
.prose h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin-top: 2.2rem;
}
.prose figure {
  margin-top: 2rem;
  max-width: none;
}
.prose figure img {
  border-radius: var(--radius);
  width: 100%;
}
.prose .vfacade {
  margin-top: 2rem;
}
.dateline {
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-3);
}

/* news list */
.newslist {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--line);
}
.newslist li {
  border-bottom: 1px solid var(--line);
}
.newslist a {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: 8px 26px;
  align-items: center;
  padding: 22px 4px;
  transition: padding 0.28s var(--ease);
}
.newslist a:hover {
  padding-left: 14px;
}
.newslist a:hover .newslist__t {
  color: var(--accent);
}
.newslist__t,
.newslist__x {
  display: block;
}
.newslist__t {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  letter-spacing: -0.022em;
  line-height: 1.25;
  transition: color 0.2s var(--ease);
}
.newslist__x {
  font-size: 0.92rem;
  color: var(--paper-2);
  margin-top: 4px;
  max-width: 60ch;
}
.newslist .arrow {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
  color: var(--accent);
}
.newslist a:hover .arrow {
  opacity: 1;
  transform: none;
}
@media (max-width: 700px) {
  .newslist a {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .newslist .arrow {
    display: none;
  }
}

/* ---------- photo strip teaser ---------- */
.strip {
  /* bleeds to the right viewport edge so it reads as "there is more" */
  margin-right: calc(50% - 50vw);
  padding-right: var(--gutter);
  -webkit-mask-image: linear-gradient(to right, #000 82%, transparent);
  mask-image: linear-gradient(to right, #000 82%, transparent);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.strip::-webkit-scrollbar {
  height: 6px;
}
.strip::-webkit-scrollbar-thumb {
  background: var(--line-2);
  border-radius: 6px;
}
.strip a {
  scroll-snap-align: start;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--ink-2);
  position: relative;
}
.strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease), opacity 0.3s var(--ease);
}
.strip a:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

/* ---------- footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  padding-block: clamp(40px, 5vw, 64px) 30px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.45));
}
.foot__top {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
}
@media (max-width: 760px) {
  .foot__top {
    grid-template-columns: 1fr 1fr;
  }
  .foot__brand {
    grid-column: 1 / -1;
  }
}
.foot h2 {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-3);
  margin-bottom: 14px;
}
.foot ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 9px;
}
.foot ul a {
  color: var(--paper-2);
  font-size: 0.94rem;
  transition: color 0.18s var(--ease);
}
.foot ul a:hover {
  color: var(--accent);
}
.foot__word {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--line-2);
}
.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(34px, 5vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--paper-3);
}
.socials {
  display: flex;
  gap: 8px;
}
.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--paper-2);
  transition: transform 0.22s var(--ease), background 0.22s var(--ease),
    color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.socials svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.socials a:hover {
  transform: translateY(-2px);
  background: var(--pc, var(--paper));
  color: var(--ink);
  border-color: transparent;
}

/* ---------- reveal on scroll ---------- */
/* Content must never depend on JavaScript to become visible: these start
   visible, and only the `.js` class (set by an inline script in <head>)
   arms the entrance animation. No JS, or a JS error → content still shows. */
.reveal {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 404 ---------- */
.center-page {
  min-height: 62svh;
  display: grid;
  place-items: center;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal,
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }
  .js .gallery img {
    opacity: 1;
  }
}

@media print {
  .masthead,
  .foot,
  .pager,
  .hero__media,
  body::after {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}
