/* ============================================================
   Home Sweet Eclectic: the homepage, a 70s-pop collage.
   Loaded on the front page only, after style.css (tokens, pills, chips, stickers, cards).
   Every shape, edge and pattern here is CSS (gradients, masks, border-radius); the only
   rasters are the posts' own photographs.
   Layout is positional on purpose: the collage stage has a fixed height at every width,
   so web fonts swapping in never move anything below it (CLS 0).
   ============================================================ */

/* ---------- 1. Hero stage ---------- */
.pop-hero {
  --hero-h: clamp(30rem, 36vw + 2rem, 46rem);
  position: relative;
  isolation: isolate;
  padding-top: 0.5rem;
}
.pop-hero__deco {
  position: absolute;
  inset: 0;
  width: min(100%, 1680px);
  margin-inline: auto;
  z-index: 0;
  pointer-events: none;
}
.pop-hero__stage {
  position: relative;
  z-index: 1;
  width: min(100%, 1680px);
  height: var(--hero-h);
  margin-inline: auto;
}
.pop-hero__deco > span {
  position: absolute;
  display: block;
}

/* Colour-blocked panels */
.pop-hero__panel--oxblood {
  --r: 22px;
  left: 0;
  top: 16%;
  width: 25.6%;
  bottom: 0;
  background: var(--oxblood);
  -webkit-mask: radial-gradient(var(--r) at 50% var(--r), #000 calc(100% - 1px), #0000) 50% 0 / calc(2 * var(--r)) calc(2 * var(--r)) repeat-x, linear-gradient(#000 0 0) 0 var(--r) / 100% 100% no-repeat;
  mask: radial-gradient(var(--r) at 50% var(--r), #000 calc(100% - 1px), #0000) 50% 0 / calc(2 * var(--r)) calc(2 * var(--r)) repeat-x, linear-gradient(#000 0 0) 0 var(--r) / 100% 100% no-repeat;
}
.pop-hero__panel--cobalt {
  right: 1.5%;
  top: 0;
  width: 37%;
  height: 78%;
  border-radius: 58% 42% 44% 56% / 46% 40% 60% 54%;
  background: var(--cobalt);
}
.pop-hero__checker {
  right: 0;
  top: 16%;
  width: 4.6%;
  height: 76%;
  background: conic-gradient(var(--pink) 0 25%, var(--night) 0 50%, var(--pink) 0 75%, var(--night) 0) 0 0 / 1.6rem 1.6rem;
}
.pop-hero__scallops {
  --r: 1.6rem;
  left: 55.5%;
  bottom: 0;
  width: 26%;
  height: 3.2rem;
  background: var(--emerald);
  -webkit-mask: radial-gradient(var(--r) at 50% var(--r), #000 calc(100% - 1px), #0000) 50% 0 / calc(2 * var(--r)) calc(2 * var(--r)) repeat-x, linear-gradient(#000 0 0) 0 var(--r) / 100% 100% no-repeat;
  mask: radial-gradient(var(--r) at 50% var(--r), #000 calc(100% - 1px), #0000) 50% 0 / calc(2 * var(--r)) calc(2 * var(--r)) repeat-x, linear-gradient(#000 0 0) 0 var(--r) / 100% 100% no-repeat;
}
.pop-hero__dome {
  left: 14.6%;
  bottom: 0;
  width: 11%;
  aspect-ratio: 2 / 1;
  border-radius: 999em 999em 0 0;
  background: var(--emerald);
}
.pop-hero__squiggle {
  z-index: 5;
  left: 0;
  top: 15%;
  width: 8.5%;
  height: 3.4rem;
  background: var(--cobalt);
  -webkit-mask: var(--squiggle) 0 0 / 1.8rem 0.9rem repeat;
  mask: var(--squiggle) 0 0 / 1.8rem 0.9rem repeat;
  filter: brightness(1.6);
}

/* The name */
.pop-hero__words {
  position: absolute;
  z-index: 3;
  left: 18%;
  right: 18%;
  top: 12%;
  text-align: center;
  pointer-events: none;
}
.pop-hero__title {
  margin: 0;
  font-size: clamp(3.75rem, 11vw, 12rem);
  line-height: 0.9;
  text-wrap: nowrap;
  /* A night outline under every glyph: where a letter crosses a photograph its edge still
     meets near-black (pink 7.4:1, mustard 9.5:1), whatever the picture behind it. */
  -webkit-text-stroke: 0.075em var(--night);
  paint-order: stroke fill;
  text-shadow: 0 0.04em 0.14em rgba(12, 10, 14, 0.6);
}
.pop-hero__title .t-italic,
.pop-hero__title .t-groovy {
  display: block;
  white-space: nowrap;
}
.pop-hero__title .t-italic {
  letter-spacing: -0.035em;
}
.pop-hero__title .t-groovy {
  margin-top: -0.16em;
  font-size: 1.16em;
  letter-spacing: -0.015em;
}
.pop-hero__tagline {
  position: absolute;
  z-index: 3;
  left: 27.6%;
  top: 82%;
  max-width: 22rem;
  margin: 0;
  color: var(--cream);
  font-family: var(--f-read);
  font-size: clamp(1rem, 0.85rem + 0.5vw, 1.35rem);
  line-height: 1.3;
}

/* Photograph shapes (each one link) */
.pop-shape {
  position: absolute;
  z-index: 1;
  display: block;
  color: var(--cream);
  text-decoration: none;
}
.pop-shape__img {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--night-3);
  transition: transform var(--dur-normal) var(--ease-pop);
}
.pop-shape__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  transition: transform var(--dur-slow) var(--ease-out);
}
.pop-shape:hover .pop-shape__img img,
.pop-shape:focus-visible .pop-shape__img img {
  transform: scale(1.06);
}
.pop-shape:focus-visible {
  outline: none;
}
.pop-shape:focus-visible .pop-shape__img {
  outline: 3px solid var(--mustard);
  outline-offset: 4px;
}
.pop-shape--lead {
  z-index: 2;
  left: 2.5%;
  top: 24%;
  width: 17.5%;
  height: 66%;
}
.pop-shape--lead .pop-shape__img,
.pop-shape--arch .pop-shape__img,
.pop-shape--tall .pop-shape__img {
  border-radius: 999em 999em 0.75rem 0.75rem;
}
.pop-shape--circle {
  left: 19.3%;
  top: 0;
  width: 13.7%;
  aspect-ratio: 1;
}
.pop-shape--circle .pop-shape__img {
  border-radius: 50%;
}
.pop-shape--tall {
  z-index: 0;
  left: 40.5%;
  top: 9%;
  width: 13.7%;
  height: 91%;
}
.pop-shape--tall .pop-shape__img img {
  filter: brightness(0.62) saturate(1.2);
}
.pop-shape--blob {
  left: 67%;
  top: 9%;
  width: 18%;
  height: 46%;
}
.pop-shape--blob .pop-shape__img {
  border-radius: 46% 54% 38% 62% / 52% 44% 56% 48%;
}
.pop-shape--blob .pop-shape__img img {
  filter: brightness(0.7);
}
.pop-shape--arch {
  z-index: 2;
  left: 81.3%;
  top: 37%;
  width: 14%;
  height: 63%;
}

/* The lead story's title sticker */
.pop-shape__tag {
  position: absolute;
  z-index: 4;
  left: -0.5rem;
  top: 88%;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: max-content;
  max-width: min(19rem, 44vw);
  padding: 0.6rem 0.9rem 0.6rem 1.1rem;
  border: 2px solid var(--night);
  border-radius: 1.2rem;
  background: var(--mustard);
  color: var(--night);
  box-shadow: 0 0.5rem 1.2rem rgba(0, 0, 0, 0.5);
  font-family: var(--f-head);
  font-size: clamp(0.95rem, 0.85rem + 0.35vw, 1.15rem);
  line-height: 1.15;
  transform: rotate(-3deg);
  transition: transform var(--dur-normal) var(--ease-pop), background-color var(--dur-fast);
}
.pop-shape__arrow {
  flex: none;
  width: 1.3rem;
}
.pop-shape--lead:hover .pop-shape__tag,
.pop-shape--lead:focus-visible .pop-shape__tag {
  background: var(--mustard-2);
  transform: rotate(2deg) scale(1.04);
}

/* Image-less posts: a checker panel with the room name */
.pop-ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--pink) 0 25%, var(--night) 0 50%, var(--pink) 0 75%, var(--night) 0) 0 0 / 2.5rem 2.5rem;
}
.pop-ph__label {
  padding: 0.3em 0.8em;
  border-radius: 999px;
  background: var(--night);
  color: var(--mustard);
  font-family: var(--f-groovy);
  font-size: 1.1rem;
}

/* Stickers on the collage */
.pop-hero__sticker {
  position: absolute;
  z-index: 4;
}
.pop-hero__sticker--beige {
  --tilt: -14deg;
  left: 19.5%;
  top: 66%;
}
.pop-hero__sticker--room {
  --tilt: -18deg;
  left: 72%;
  top: 76%;
  font-size: clamp(1.2rem, 0.9rem + 1vw, 2rem);
}
.pop-hero__sticker--more {
  display: none;
}

@media (min-width: 48rem) and (max-width: 79.99rem) {
  .pop-hero__tagline {
    left: 40%;
    top: 63%;
  }
  .pop-hero__sticker--beige {
    top: 60%;
  }
}

/* ---------- 2. Hero on phones: the name beside a tall arch, a ringed circle photo
   overlapping it on a cobalt disc, stickers, then a scalloped oxblood band holding three
   more shapes. Every position is in vw on a fixed-height stage: nothing moves when fonts
   load, nothing leaves the viewport. ---------- */
@media (max-width: 47.99rem) {
  .pop-hero {
    --hero-h: calc(100vw * 1.9);
    padding-top: 0;
  }
  .pop-hero::before {
    content: "";
    display: block;
    height: 0.9rem;
    margin-bottom: 0.5rem;
    background: conic-gradient(var(--pink) 0 25%, var(--night) 0 50%, var(--pink) 0 75%, var(--night) 0) 0 0 / 0.9rem 0.9rem;
  }
  .pop-hero__panel--oxblood {
    --r: 12px;
    left: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    height: 40vw;
  }
  .pop-hero__panel--cobalt {
    left: 30%;
    top: 50vw;
    right: auto;
    width: 52vw;
    height: 52vw;
    border-radius: 50%;
  }
  .pop-hero__deco > .pop-hero__dome {
    left: auto;
    right: 4%;
    bottom: 40vw;
    width: 24%;
  }
  .pop-hero__deco > .pop-hero__squiggle {
    left: 4%;
    top: auto;
    bottom: 42vw;
    width: 30%;
    height: 1.8rem;
    z-index: 0;
  }
  .pop-hero__checker {
    right: 0;
    top: auto;
    bottom: 40vw;
    width: 100%;
    height: 0.9rem;
    background-size: 0.9rem 0.9rem;
  }
  .pop-hero__scallops {
    left: 34%;
    bottom: calc(40vw + 0.9rem);
    width: 36%;
    height: 1.8rem;
    --r: 0.9rem;
  }
  .pop-hero__words {
    z-index: 4;
    left: 4%;
    right: auto;
    top: 6vw;
    width: 62%;
    text-align: left;
  }
  .pop-hero__title {
    font-size: 17vw;
    line-height: 0.92;
  }
  .pop-hero__title .t-italic {
    white-space: normal;
  }
  .pop-hero__title .t-groovy {
    margin-top: 0.02em;
    font-size: 0.8em;
  }
  .pop-hero__tagline {
    left: 4%;
    top: 104vw;
    max-width: 42%;
    font-size: clamp(0.95rem, 4vw, 1.15rem);
  }
  .pop-shape--lead {
    left: 52%;
    top: 3vw;
    width: 44%;
    height: 86vw;
  }
  .pop-shape__tag {
    left: auto;
    right: 0;
    top: calc(100% + 13vw);
    max-width: 52vw;
    padding: 0.5rem 0.7rem 0.5rem 0.9rem;
    font-size: 0.95rem;
  }
  .pop-shape--circle {
    z-index: 3;
    left: 20%;
    top: 60vw;
    width: 42vw;
  }
  .pop-shape--circle .pop-shape__img {
    box-shadow: 0 0 0 5px var(--cobalt), 0 0 0 8px var(--night);
  }
  .pop-shape--tall,
  .pop-shape--blob,
  .pop-shape--arch {
    top: auto;
    bottom: 4vw;
    height: 30vw;
    width: 28%;
    z-index: 1;
  }
  .pop-shape--tall {
    left: 4%;
  }
  .pop-shape--tall .pop-shape__img {
    border-radius: 999px;
  }
  .pop-shape--tall .pop-shape__img img,
  .pop-shape--blob .pop-shape__img img {
    filter: none;
  }
  .pop-shape--blob {
    left: 36%;
  }
  .pop-shape--arch {
    left: 68%;
  }
  .pop-hero__sticker--beige {
    --tilt: -12deg;
    left: 2%;
    top: 62vw;
    bottom: auto;
    font-size: 1.05rem;
  }
  .pop-hero__sticker--room {
    --tilt: 8deg;
    left: auto;
    right: 2%;
    top: 2vw;
    font-size: 1rem;
  }
  .pop-hero__sticker--more {
    --tilt: 7deg;
    display: inline-block;
    right: 3%;
    left: auto;
    top: auto;
    bottom: 33vw;
    font-size: 1rem;
  }
}

/* ---------- 3. Marquee band ---------- */
.marquee {
  overflow: clip;
  border-block: 3px solid var(--night);
  background: var(--pink);
  color: var(--night);
}
.marquee__track {
  display: flex;
  width: max-content;
}
.marquee__run {
  display: flex;
  flex: none;
  align-items: center;
  gap: 1.6rem;
  margin: 0;
  padding: 0.85rem 0.8rem;
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.25rem);
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--night);
}

/* ---------- 4. Rooms (chips) ---------- */
.rooms {
  padding-block: var(--space-4);
}
.rooms__inner {
  display: grid;
  gap: var(--space-3);
  align-items: center;
}
.rooms__title {
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);
  line-height: 1;
}
.rooms__title .t-groovy {
  font-size: 0.9em;
}
.rooms__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.7rem 1.4rem;
  border: 2px solid var(--cream);
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--chip-ink);
  text-decoration: none;
  transition: transform var(--dur-normal) var(--ease-pop), background-color var(--dur-fast), color var(--dur-fast);
}
.chip__name {
  font-weight: 600;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem);
  line-height: 1.2;
}
.chip__count {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}
.chip:hover,
.chip:focus-visible {
  background: var(--cream);
  color: var(--night);
}
.rooms__chips li:nth-child(odd) .chip:hover {
  transform: rotate(-4deg) scale(1.05);
}
.rooms__chips li:nth-child(even) .chip:hover {
  transform: rotate(4deg) scale(1.05);
}
.chip--emerald { --chip-bg: var(--emerald); --chip-ink: var(--cream); }
.chip--cobalt { --chip-bg: var(--cobalt); --chip-ink: var(--cream); }
.chip--pink { --chip-bg: var(--pink); --chip-ink: var(--night); }
.chip--mustard { --chip-bg: var(--mustard); --chip-ink: var(--night); }
.chip--plum { --chip-bg: var(--plum); --chip-ink: var(--cream); }
.chip--oxblood { --chip-bg: var(--oxblood); --chip-ink: var(--cream); }
.chip--forest { --chip-bg: var(--forest); --chip-ink: var(--cream); }
.chip--fuchsia { --chip-bg: var(--fuchsia); --chip-ink: var(--cream); }
@media (min-width: 64rem) {
  .rooms__inner {
    grid-template-columns: minmax(12rem, 1fr) 4fr;
  }
}

/* ---------- 5. Latest stories: a bento (feature card left, two cards stacked right) ---------- */
.latest {
  padding-block: var(--space-3) var(--space-section);
}
.latest__inner {
  display: grid;
  gap: var(--space-4);
}
.latest__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}
.latest__title {
  color: var(--pink);
  font-size: clamp(2.5rem, 1.8rem + 2.6vw, 4.25rem);
  line-height: 0.95;
}
.latest__more {
  margin-left: auto;
}
.latest__cards {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}
.latest__cards > li {
  min-width: 0;
}
.latest__cards .hse-card {
  --card-ratio: 6 / 5;
}
.latest__cards .hse-card__title {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
}
.latest__cards .hse-card--feature .hse-card__title {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 3.25rem);
  line-height: 1.02;
}
.latest__cards .hse-card--feature .hse-card__excerpt {
  max-width: 46ch;
  font-size: var(--text-md);
}
@media (min-width: 44rem) {
  .latest__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .latest__cards > li:first-child {
    grid-column: 1 / -1;
  }
}
@media (min-width: 64rem) {
  .latest__cards {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-rows: auto auto;
  }
  .latest__cards > li:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .latest__cards .hse-card--feature {
    --card-ratio: 16 / 10;
  }
  /* The two stacked cards: photo window beside the text */
  .latest__cards > li:not(:first-child) .hse-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: var(--space-3);
    align-items: stretch;
  }
  .latest__cards > li:not(:first-child) .hse-card__media {
    aspect-ratio: auto;
    min-height: 15rem;
  }
  .latest__cards > li:not(:first-child) .hse-card__body {
    padding: var(--space-2) 0.5rem 0.25rem 0;
  }
}

/* ---------- 6. The house rules: the title over a pattern block, notes large and overlapping ---------- */
.rules {
  position: relative;
  padding-block: calc(var(--space-section) * 0.8) var(--space-section);
  background: var(--aubergine);
  -webkit-mask: var(--wave) 0 0 / 48px 14px repeat-x, linear-gradient(#000 0 0) 0 13px / 100% 100% no-repeat;
  mask: var(--wave) 0 0 / 48px 14px repeat-x, linear-gradient(#000 0 0) 0 13px / 100% 100% no-repeat;
}
.rules::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 0;
  right: 0;
  width: clamp(1.5rem, 4vw, 3.5rem);
  background: repeating-linear-gradient(180deg, var(--emerald) 0 22px, transparent 0 44px);
}
.rules__inner {
  position: relative;
  display: grid;
  gap: var(--space-4);
}
.rules__lede {
  position: relative;
}
.rules__title {
  position: relative;
  z-index: 1;
  font-size: clamp(3rem, 1.8rem + 5vw, 7.5rem);
  line-height: 0.92;
}
.rules__title .t-italic,
.rules__title .t-groovy {
  display: block;
}
.rules__block {
  display: block;
  width: min(100%, 26rem);
  height: clamp(8rem, 6rem + 8vw, 16rem);
  margin-top: calc(-1 * var(--space-3));
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  background: conic-gradient(var(--pink) 0 25%, var(--fuchsia) 0 50%, var(--pink) 0 75%, var(--fuchsia) 0) 0 0 / 2.5rem 2.5rem;
  rotate: -3deg;
}
.rules__list {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}
.rules__item {
  position: relative;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--ri-bg);
  color: var(--ri-ink);
  box-shadow: 0 1.4rem 2.4rem -1.2rem rgba(0, 0, 0, 0.75);
}
.rules__item p {
  margin: 0;
  font-family: var(--f-head);
  font-size: clamp(1.4rem, 1.05rem + 1.3vw, 2.35rem);
  line-height: 1.15;
  text-wrap: balance;
}
.rules__item--pink { --ri-bg: var(--pink); --ri-ink: var(--night); rotate: -1.5deg; }
.rules__item--mustard { --ri-bg: var(--mustard); --ri-ink: var(--night); rotate: 1.2deg; }
.rules__item--emerald { --ri-bg: var(--emerald); --ri-ink: var(--cream); rotate: -0.8deg; }
.rules__sticker {
  position: absolute;
  right: 4%;
  top: 0.25rem;
  z-index: 2;
  --tilt: 7deg;
}
@media (min-width: 64rem) {
  .rules__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
  }
  .rules__list {
    padding-right: clamp(1.5rem, 4vw, 3.5rem);
  }
  .rules__item + .rules__item {
    margin-top: -0.75rem;
  }
  .rules__item--mustard {
    margin-left: 12%;
    margin-right: 2%;
  }
  .rules__item--pink {
    margin-right: 10%;
  }
  .rules__item--emerald {
    margin-left: 4%;
  }
  .rules__sticker {
    top: auto;
    right: auto;
    left: 22%;
    bottom: 8%;
  }
}
@media (max-width: 40rem) {
  .rules__list {
    padding-inline: 0.85rem;
  }
  .rules__sticker {
    position: static;
    margin-top: var(--space-3);
  }
}

/* ---------- 7. Newsletter ---------- */
.news {
  --r: 20px;
  position: relative;
  margin-top: calc(-1 * var(--space-4));
  padding-block: calc(var(--space-5) + var(--r)) var(--space-section);
  background: var(--cobalt);
  -webkit-mask: radial-gradient(var(--r) at 50% var(--r), #000 calc(100% - 1px), #0000) 50% 0 / calc(2 * var(--r)) calc(2 * var(--r)) repeat-x, linear-gradient(#000 0 0) 0 var(--r) / 100% 100% no-repeat;
  mask: radial-gradient(var(--r) at 50% var(--r), #000 calc(100% - 1px), #0000) 50% 0 / calc(2 * var(--r)) calc(2 * var(--r)) repeat-x, linear-gradient(#000 0 0) 0 var(--r) / 100% 100% no-repeat;
}
.news__inner {
  position: relative;
  display: grid;
  gap: var(--space-4);
  align-items: end;
}
.news__title {
  max-width: 16ch;
  font-size: clamp(2.25rem, 1.5rem + 3.2vw, 4.5rem);
  line-height: 1;
}
.news__title .t-italic {
  color: var(--bubble);
}
.news__sub {
  max-width: 40ch;
  margin: var(--space-2) 0 0;
  color: var(--cream);
  font-family: var(--f-read);
  font-size: var(--text-md);
}
.news__label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--cream);
  font-weight: 600;
  font-size: var(--text-sm);
}
.news__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.news__input {
  flex: 1 1 14rem;
  min-width: 0;
  min-height: 3.25rem;
  padding: 0 1.3rem;
  border: 2px solid var(--cream);
  border-radius: 999px;
  background: var(--night);
  color: var(--cream);
  font-family: var(--f-ui);
  font-size: var(--text-md);
}
.news__input::placeholder {
  color: var(--line-strong);
  opacity: 1;
}
.news__input:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 2px;
}
.news__button {
  min-height: 3.25rem;
  padding-inline: 1.8rem;
  border-color: var(--night);
  font-size: var(--text-base);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.news__button:disabled {
  opacity: 0.6;
  cursor: progress;
}
.news__note {
  min-height: 1.6em;
  margin: 0.75rem 0 0;
  color: var(--cream);
  font-size: var(--text-sm);
}
.news__sticker {
  position: absolute;
  top: calc(-1 * var(--space-3));
  right: 2%;
  --tilt: 9deg;
}
@media (min-width: 56rem) {
  .news__inner {
    grid-template-columns: 1.1fr 1fr;
  }
}

/* ---------- 8. Motion (CSS only, compositor properties, behind @supports) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .marquee__track {
    animation: hse-marquee 38s linear infinite;
  }
  .marquee:hover .marquee__track {
    animation-play-state: paused;
  }
  .pop-hero__sticker,
  .pop-shape__tag {
    animation: hse-wobble-in var(--dur-slow) var(--ease-pop) 250ms both;
  }
}
@keyframes hse-marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes hse-tilt-in {
  from {
    rotate: -5deg;
  }
}
@keyframes hse-wobble-in {
  from {
    rotate: -16deg;
  }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* The collage drifts apart as the page scrolls: each layer at its own speed */
    .pop-shape,
    .pop-hero__deco > span {
      animation: hse-drift linear both;
      animation-timeline: scroll(root);
      animation-range: 0 90vh;
    }
    .pop-shape--circle { --drift: -4.5rem; }
    .pop-shape--tall { --drift: 3rem; }
    .pop-shape--blob { --drift: -3rem; }
    .pop-shape--arch { --drift: -6rem; }
    .pop-shape--lead { --drift: -1.5rem; }
    .pop-hero__panel--cobalt { --drift: 2.5rem; }
    .pop-hero__checker { --drift: -5rem; }
    /* Stickers and rule cards wobble in as they enter the viewport */
    .rules__item {
      animation: hse-tilt-in linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
    }
    .rules__sticker,
    .news__sticker {
      animation: hse-wobble-in linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
    }
    .latest__cards > li {
      animation: hse-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 25%;
    }
  }
}
@keyframes hse-drift {
  to {
    translate: 0 var(--drift, 0);
  }
}
@keyframes hse-rise {
  from {
    translate: 0 3rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    width: auto;
    animation: none;
  }
  .marquee__run {
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
  }
  .marquee__run + .marquee__run {
    display: none;
  }
  .pop-shape:hover .pop-shape__img img,
  .pop-shape--lead:hover .pop-shape__tag,
  .chip:hover {
    transform: none;
  }
}
