/* Ketchup Studio — styles
   Palette pulled from the logo itself: the magenta-to-plum of the script,
   the near-black of "STUDIO", and the Bauhaus yellow from the concepts. */

@font-face {
  font-family: "Anybody";
  src: url("../fonts/anybody.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --paper: #ffffff; /* matches the concept artwork, so tiles bleed into the page */
  --ink: #1c0a16; /* the aubergine-black of "STUDIO" */
  --ink-soft: #5b4a55;
  --rule: #ece6ea;
  --magenta: #e0115f; /* the ketchup */
  --plum: #4e1a6b;
  --yolk: #f5b800;
  --screen: #000000;

  --display: "Anybody", "Arial Narrow", sans-serif;
  --text: "Schibsted Grotesk", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --measure: 34rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--text);
  overflow-x: hidden;
}
img,
video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: inherit;
}
p {
  margin: 0;
}
button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -60px;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  z-index: 50;
}
.skip:focus {
  top: 12px;
}

/* ── Header ───────────────────────────────────────────── */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 14px var(--gutter);
}
.mark img {
  height: 52px;
  width: auto;
}
.top nav {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2.25rem);
  flex-wrap: wrap;
  justify-content: flex-end;
}
.top nav a {
  font: 600 0.95rem/1 var(--text);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}
.top nav a:hover {
  border-color: var(--magenta);
}

/* ── Stage: screen + title card ───────────────────────── */
.stage {
  padding: 0 var(--gutter);
}

.screen {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: calc(100svh - 150px);
  width: 100%;
  margin-inline: auto;
  background: var(--screen);
  overflow: hidden;
  cursor: pointer;
}
.screen video,
.screen iframe,
.screen-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.screen.is-film {
  cursor: auto;
}

/* Small pause/play control, bottom-left of the reel */
.cursor {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem 0.45rem 0.6rem;
  border: 0;
  border-radius: 99px;
  background: rgba(28, 10, 22, 0.72);
  color: #fff;
  font: 600 0.8rem/1 var(--text);
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.15s;
}
.cursor:hover {
  background: var(--magenta);
}
.cursor .ico {
  width: 10px;
  height: 10px;
  display: inline-block;
  flex: none;
}
.cursor[data-state="playing"] .ico {
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
  width: 10px;
}
.cursor[data-state="paused"] .ico {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5.5px 0 5.5px 9px;
  border-color: transparent transparent transparent currentColor;
}
.screen.is-film .cursor {
  display: none;
}

/* Title slate shown when a film has no link yet */
.slate {
  height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.6rem;
  color: #fff;
  padding: 2rem;
}
.slate .s-client {
  font: 850 clamp(2.5rem, 8vw, 7rem)/0.9 var(--display);
  font-variation-settings: "wdth" 70;
  letter-spacing: -0.01em;
}
.slate .s-sub {
  font: 500 1rem/1.4 var(--text);
  opacity: 0.8;
}

.nowplaying {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.np-k {
  color: var(--magenta);
  font-weight: 700;
  margin-right: 0.4rem;
}
#nowTitle {
  color: var(--ink);
  font-weight: 600;
}
.back {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.title-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, var(--measure));
  align-items: end;
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(3rem, 7vw, 6rem);
}
.title-card h1 {
  font-family: var(--display);
  font-weight: 880;
  font-size: clamp(2rem, 8.4vw, 10rem);
  grid-column: 1 / -1;
  white-space: nowrap;
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.title-card h1 span {
  display: block;
}
.title-card .l1 {
  font-variation-settings: "wdth" 62;
}
.title-card .l2 {
  font-variation-settings: "wdth" 62;
  margin-top: 0.1em;
}
.lead {
  grid-column: 1;
  align-self: start;
  max-width: 30ch;
  font: 500 clamp(1.4rem, 2.3vw, 2rem)/1.3 var(--text);
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.intro {
  grid-column: 2;
  align-self: start;
  max-width: var(--measure);
  display: grid;
  gap: 1.1rem;
  justify-items: start;
}
.intro p {
  font-size: 1.0625rem;
}
.shapes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  width: 100%;
}
.shapes li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--rule);
}
.shapes li:last-child {
  border-bottom: 1px solid var(--rule);
}
.shapes strong {
  font: 850 1.35rem/1 var(--display);
  font-variation-settings: "wdth" 72;
  color: var(--magenta);
  margin-right: 0.3rem;
}
.intro .btn {
  margin-top: 0.4rem;
}

/* one orchestrated page-load moment: the headline rises out of the screen's edge */
@media (prefers-reduced-motion: no-preference) {
  .title-card h1 span {
    animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
  .title-card h1 .l2 {
    animation-delay: 0.12s;
  }
  @keyframes rise {
    from {
      transform: translateY(40%);
      opacity: 0;
    }
    to {
      transform: none;
      opacity: 1;
    }
  }
}

.btn {
  display: inline-block;
  background: var(--magenta);
  color: #fff;
  font: 700 1rem/1 var(--text);
  padding: 1rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
}
.btn:hover {
  background: var(--plum);
}
.btn-ink {
  background: var(--ink);
}
.btn-ink:hover {
  background: var(--paper);
  color: var(--ink);
}

/* ── Section heads ────────────────────────────────────── */
.section-head,
.concepts-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 0.5rem 2rem;
  padding: 0 var(--gutter) 1.5rem;
}
.section-head h2,
.concepts-head h2,
.about h2 {
  font: 850 clamp(2.4rem, 5.4vw, 5.2rem)/1.06 var(--display);
  font-variation-settings: "wdth" 80;
  letter-spacing: -0.01em;
}
.section-head p {
  color: var(--ink-soft);
}

.filters {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.filters button {
  border: 1.5px solid var(--ink);
  background: none;
  border-radius: 99px;
  padding: 0.4rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.filters button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

/* ── Films: a literal strip of film ───────────────────── */
.films {
  padding-bottom: clamp(4rem, 9vw, 8rem);
}
.strip {
  --hole: 14px;
  background: var(--screen);
  position: relative;
  padding: 34px 0;
}
/* sprocket holes, top and bottom */
.strip::before,
.strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 10px,
    var(--paper) 10px 26px,
    transparent 26px 36px
  );
  border-radius: 2px;
}
.strip::before {
  top: 11px;
}
.strip::after {
  bottom: 11px;
}

.strips {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
.strips .strip {
  min-width: 0;
}
.frames {
  list-style: none;
  margin: 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.frames li {
  min-width: 0;
}
.frame {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  text-align: left;
  background: none;
  color: #fff;
}
.frame-pic {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  align-content: end;
  padding: 14px 16px;
  background: var(--tile, var(--plum));
  overflow: hidden;
}
.frame-pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame-pic .f-client {
  position: relative;
  font: 850 clamp(1.15rem, 1.8vw, 1.8rem)/0.92 var(--display);
  font-variation-settings: "wdth" 68;
  letter-spacing: -0.005em;
}
.frame-pic:has(img) .f-client {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}
.frame-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 2px 0;
  font-size: 0.85rem;
  color: #bdb3b9;
}
.frame[aria-current="true"] .frame-pic {
  outline: 3px solid var(--yolk);
  outline-offset: -3px;
  filter: none;
}
.frame[aria-current="true"] .frame-meta span:last-child {
  color: var(--yolk);
}
.frame:hover .frame-pic {
  filter: brightness(1.08);
}

/* ── Concepts wall ────────────────────────────────────── */
.concepts {
  padding-bottom: clamp(4rem, 9vw, 8rem);
}
.concepts-head {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  padding-bottom: 2.5rem;
}
.concepts-head p {
  max-width: var(--measure);
  justify-self: end;
  color: var(--ink-soft);
}

.wall {
  list-style: none;
  margin: 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(8px, 1.6vw, 24px) clamp(8px, 1.6vw, 24px);
}
.wall li:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.wall button {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  grid-template-rows: 1fr auto;
  text-align: left;
}
.wall .pic {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper);
}
.wall li:first-child .pic {
  aspect-ratio: auto;
  height: 100%;
}
.wall img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.wall .full img {
  object-fit: cover;
}
.wall .cap {
  padding: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.wall button:hover .cap {
  color: var(--magenta);
}

/* ── Manifesto ────────────────────────────────────────── */
.manifesto {
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--rule);
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
}
.m-head {
  font: 880 clamp(2.4rem, 5.4vw, 5.2rem)/1.06 var(--display);
  font-variation-settings: "wdth" 62;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.m-head span {
  white-space: nowrap;
}
.m-head .m-pay {
  color: var(--magenta);
}
.m-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  counter-reset: m;
}
.m-steps li {
  counter-increment: m;
  border-top: 2px solid var(--ink);
  padding-top: 0.9rem;
  display: grid;
  gap: 0.45rem;
  align-content: start;
  min-width: 0;
}
.m-steps li::before {
  content: "0" counter(m);
  font: 600 0.8rem/1 var(--text);
  color: var(--ink-soft);
}
.m-steps li:last-child {
  border-top-color: var(--magenta);
}
.m-steps h3 {
  font: 850 clamp(1.5rem, 2.2vw, 2rem)/0.95 var(--display);
  font-variation-settings: "wdth" 72;
}
.m-steps li:last-child h3 {
  color: var(--magenta);
}
.m-steps p {
  font-size: 1rem;
  line-height: 1.5;
}
.m-close {
  font: 850 clamp(1.3rem, 2.2vw, 1.9rem)/1.1 var(--display);
  font-variation-settings: "wdth" 76;
  color: var(--plum);
}
@media (max-width: 1000px) {
  .m-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .m-steps {
    grid-template-columns: 1fr;
  }
}

/* ── Brief: the only loud colour field on the page ────── */
.brief {
  position: relative;
  background: var(--magenta);
  color: #fff;
  padding: 0 var(--gutter) clamp(4rem, 8vw, 7rem);
  isolation: isolate;
}
.drip {
  position: absolute;
  left: 0;
  top: calc(100% - 1px);
  width: 100%;
  height: clamp(50px, 7vw, 110px);
  fill: var(--magenta);
  z-index: 2;
}
/* film grain, only here */
.brief::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.brief-inner {
  padding-top: clamp(4rem, 9vw, 8rem);
  max-width: 1400px;
}
.brief h2 {
  font: 880 clamp(2.4rem, 5.4vw, 5.2rem)/1.06 var(--display);
  font-variation-settings: "wdth" 64;
  letter-spacing: -0.015em;
  margin-bottom: 1.6rem;
}
.brief-cta {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.steps {
  list-style: none;
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  border-top: 2px solid rgba(255, 255, 255, 0.55);
  padding-top: 1rem;
}
.steps li::before {
  content: counter(step);
  display: block;
  font: 880 clamp(3rem, 5vw, 4.5rem)/1 var(--display);
  font-variation-settings: "wdth" 60;
  margin-bottom: 0.6rem;
}
.steps h3 {
  font: 700 1.25rem/1.2 var(--text);
  margin-bottom: 0.45rem;
}
.steps p {
  max-width: 26rem;
}
.brief-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  align-items: center;
}
.brief-cta p {
  opacity: 0.92;
}

/* ── About ────────────────────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.5rem 2rem;
  padding: clamp(5rem, 9vw, 8rem) var(--gutter) clamp(4rem, 7vw, 6rem);
}

.about h2 {
  align-self: start;
  position: sticky;
  top: 1.5rem;
  background-color: white;
}

@media (max-width: 520px) {
  .about h2 {
    align-self: start;
    position: sticky;
    top: 0rem;
    background-color: white;
  }
}
.about-copy {
  display: grid;
  gap: 1rem;
  max-width: var(--measure);
}
.about-copy p {
  font-size: 1.0625rem;
}
.about-copy .about-open {
  font: 850 clamp(1.6rem, 2.6vw, 2.2rem)/1.05 var(--display);
  font-variation-settings: "wdth" 72;
  margin-bottom: 0.2rem;
}
.about-copy .signoff {
  color: var(--ink-soft);
  font-style: italic;
}
.about blockquote {
  margin: 1.2rem 0 0;
  padding: 1.2rem 0 0;
  border-top: 2px solid var(--magenta);
}
.about blockquote p {
  font: 850 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--display);
  font-variation-settings: "wdth" 66;
  color: var(--plum);
}

/* ── Footer ───────────────────────────────────────────── */
.foot {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2rem;
}
.foot-line {
  font: 880 clamp(2.4rem, 5.4vw, 5.2rem)/1.06 var(--display);
  font-variation-settings: "wdth" 62;
  margin-bottom: 3rem;
  max-width: none;
  text-wrap: balance;
}
.foot-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.5rem;
  font-size: 0.95rem;
  color: #cbbfc6;
}
.foot-meta a {
  color: var(--paper);
}
.foot-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
}
.foot-phone span {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.foot-phone .ico-phone {
  color: var(--magenta);
  flex: none;
}

/* ── Lightbox ─────────────────────────────────────────── */
.lightbox {
  width: min(1200px, 94vw);
  max-height: 94vh;
  padding: 0;
  border: 0;
  background: var(--paper);
}
.lightbox::backdrop {
  background: rgba(28, 10, 22, 0.86);
}
.lightbox figure {
  margin: 0;
}
.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: var(--paper);
}
.lightbox figcaption {
  padding: 0.9rem 1.2rem 0;
  font: 850 1.6rem/1 var(--display);
  font-variation-settings: "wdth" 75;
}
.lb-controls {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 1.2rem 1.2rem;
}
.lb-controls button {
  border: 1.5px solid var(--ink);
  background: none;
  border-radius: 99px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  cursor: pointer;
}
.lb-controls #lbClose {
  background: var(--ink);
  color: var(--paper);
}

/* ── Small screens ────────────────────────────────────── */
@media (max-width: 860px) {
  .top {
    flex-wrap: wrap;
  }
  .mark img {
    height: 40px;
  }
  .top nav {
    gap: 1rem;
  }
  .title-card,
  .concepts-head,
  .about {
    grid-template-columns: 1fr;
  }
  .intro,
  .lead {
    grid-column: 1;
  }
  .concepts-head p {
    justify-self: start;
  }
  .section-head {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .wall {
    grid-template-columns: 1fr 1fr;
  }
  .wall li:first-child {
    grid-row: auto;
  }
  .wall li:first-child .pic {
    aspect-ratio: 16 / 9;
    height: auto;
  }
  .screen {
    max-height: none;
  }
}
@media (max-width: 520px) {
  .top nav a {
    font-size: 0.9rem;
  }
  .nowplaying {
    flex-direction: column;
    gap: 0.3rem;
  }
}

/* Films: two strips of five. A film opens in a player under its own strip */
.strip-player {
  padding: 22px var(--gutter) 4px;
}
.strip-player .frame-player {
  max-width: 1200px;
  margin: 0 auto;
}
.frame-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.frame-player iframe,
.frame-player .slate {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.frame-player .slate .s-client {
  font-size: clamp(2rem, 6vw, 5rem);
}
.f-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  border: 0;
  border-radius: 99px;
  padding: 0.4rem 0.8rem;
  background: rgba(28, 10, 22, 0.72);
  color: #fff;
  font: 600 0.8rem/1 var(--text);
  cursor: pointer;
}
.f-close:hover {
  background: var(--magenta);
}
.f-play {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}
.f-play::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 9.5px;
  border-style: solid;
  border-width: 5.5px 0 5.5px 8.5px;
  border-color: transparent transparent transparent var(--ink);
}
.is-empty .frame {
  cursor: default;
}
.is-empty .frame-pic {
  background: #171016;
}
.is-empty .frame:hover .frame-pic {
  filter: none;
}
@media (max-width: 860px) {
  .frames {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 62vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
    scrollbar-color: #444 transparent;
  }
  .frames li {
    scroll-snap-align: start;
  }
}

/* ── The Ketchupverse: helix network gallery ──
   Same width as the About section's content (gutter to gutter) and
   close to its height (~575px at 1440px wide). */
.verse-wrap {
  padding: 0 var(--gutter);
  display: grid;
  gap: 1rem;
  justify-items: start;
}
.verse {
  position: relative;
  width: 100%;
  height: clamp(420px, 40vw, 600px);
  background: #f6f2f4;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}
.verse.is-dragging {
  cursor: grabbing;
}
.verse.is-hover {
  cursor: pointer;
}
.verse canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.verse-tip {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 12px));
  background: var(--ink);
  color: var(--paper);
  font: 600 0.85rem/1 var(--text);
  padding: 0.45rem 0.7rem;
  border-radius: 99px;
  white-space: nowrap;
}
.verse-hint {
  position: absolute;
  left: 14px;
  bottom: 12px;
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.35rem 0.7rem;
  border-radius: 99px;
}
.verse-toggle {
  border: 1.5px solid var(--ink);
  background: none;
  border-radius: 99px;
  padding: 0.55rem 1rem;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
}
.verse-toggle:hover {
  background: var(--ink);
  color: var(--paper);
}
.verse-wrap + .wall {
  margin-top: 2rem;
}
@media (max-width: 860px) {
  .verse {
    height: 440px;
  }
}

.wall[hidden] {
  display: none;
}
