/* Banana Ink — black, bone, banana */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../assets/fonts/archivo-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../assets/fonts/archivo-latin.woff2") format("woff2");
  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;
}

:root {
  --ink: #0a0907;
  --ink-2: #15130f;
  --bone: #f4f2ec;
  --bone-dim: rgba(244, 242, 236, 0.66);
  --line: rgba(244, 242, 236, 0.16);
  --yellow: #f7d10f;
  --yellow-ink: #1a1503;
  --yellow-line: rgba(26, 21, 3, 0.22);

  --pad: clamp(1rem, 4vw, 3.5rem);
  --gap: clamp(1rem, 2vw, 1.75rem);
  --space: clamp(6rem, 14vw, 12rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;

  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--display);
  font-stretch: 100%;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; border-radius: 2px; }

html { scrollbar-color: var(--yellow) var(--ink); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--yellow); border: 3px solid var(--ink); border-radius: 10px; }

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--yellow); color: var(--ink); padding: 0.75rem 1rem; font-weight: 700;
  transition: top 0.2s;
}
.skip:focus { top: 1rem; }

/* ---------- Shared bits ---------- */

.btn {
  --bg: var(--yellow);
  --fg: var(--ink);
  display: inline-flex; align-items: center; gap: 0.6em;
  background: var(--bg); color: var(--fg);
  border: 0; border-radius: 999px;
  padding: 0.9em 1.5em;
  font-weight: 700; font-stretch: 112%;
  text-decoration: none; text-transform: uppercase; letter-spacing: 0.02em;
  font-size: 0.875rem; line-height: 1;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), background-color 0.25s, color 0.25s, box-shadow 0.4s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.7); }
.btn:active { transform: translateY(0); }
.btn--small { padding: 0.75em 1.2em; font-size: 0.75rem; }
.btn--ghost { --bg: transparent; --fg: var(--bone); box-shadow: inset 0 0 0 1.5px var(--bone); }
.btn--ghost:hover { --bg: var(--bone); --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--bone), 0 12px 24px -10px rgba(0, 0, 0, 0.7); }
.btn--big { font-size: clamp(0.95rem, 0.8rem + 0.6vw, 1.25rem); padding: 1.1em 1.8em; }
.btn__icon { width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 2; }
.btn__icon .fill { fill: currentColor; stroke: none; }

.link {
  display: inline-block;
  color: var(--yellow);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.3em;
  transition: text-underline-offset 0.3s var(--ease-out);
}
.link:hover { text-underline-offset: 0.5em; }
.link--dark { color: var(--yellow-ink); }

/* ---------- Top bar ---------- */

.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: 1rem var(--pad);
  transition: background-color 0.4s, backdrop-filter 0.4s;
}
.bar.is-scrolled { background: rgba(10, 9, 7, 0.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.bar__mark {
  font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  letter-spacing: -0.02em; text-decoration: none; font-size: 1.05rem;
}
.bar__nav { display: flex; gap: 1.6rem; margin-left: auto; }
.bar__nav a {
  text-decoration: none; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 600; color: var(--bone-dim); transition: color 0.2s;
}
.bar__nav a:hover { color: var(--yellow); }
.bar .btn { margin-left: 0.5rem; }

.bar__mark, .bar .btn { white-space: nowrap; }
@media (max-width: 860px) {
  .bar { gap: 1rem; }
  .bar__nav { display: none; }
  .bar .btn { margin-left: auto; }
}
@media (max-width: 380px) {
  .bar__mark { font-size: 0.9rem; }
  .bar .btn { padding: 0.75em 1em; font-size: 0.6875rem; }
}

/* ---------- 3D logo stage ---------- */

.stage {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
  perspective: 1600px;
  display: grid; place-items: center;
}
.stage__pos {
  width: min(56vw, 600px, 70svh);
  transform-style: preserve-3d;
  will-change: transform, opacity;
}
.spin {
  position: relative;
  aspect-ratio: 686 / 641;
  transform-style: preserve-3d;
  will-change: transform;
}
.spin > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.spin__face--front { transform: translateZ(13px); backface-visibility: hidden; }
.spin__face--back  { transform: rotateY(180deg) translateZ(13px); backface-visibility: hidden; }
.spin__edge { transform: translateZ(calc((var(--i) - 5.5) * 2.2px)); }

@media (max-width: 700px) {
  .stage__pos { width: min(84vw, 460px); }
}

/* ---------- Main stacking ---------- */

main { position: relative; }
.foot { position: relative; z-index: 2; }
main > section { position: relative; z-index: 2; }

/* ---------- Hero ---------- */

.hero {
  min-height: 100svh;
  padding: 5.5rem var(--pad) 1.5rem;
  display: grid;
  grid-template-rows: 1fr auto;
}
main > .hero { z-index: auto; }
.hero__meta, .hero__cue { position: relative; z-index: 2; }
.hero__title {
  position: fixed; inset: 0; z-index: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad);
  font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(3rem, 14.2vw, 17rem);
  line-height: 0.84; letter-spacing: -0.04em;
  white-space: nowrap;
  pointer-events: none;
}
@media (max-width: 700px) {
  .hero__title {
    justify-content: space-between;
    padding-top: 17svh; padding-bottom: 24svh;
    font-stretch: 100%; font-size: 20vw;
  }
}
.hero__line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__line--r { text-align: right; }
.hero__line .ch { display: inline-block; will-change: transform; }

.hero__meta {
  align-self: end;
  font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
  line-height: 1.45; color: var(--bone);
  grid-row: 2;
}
.hero__meta--l { grid-column: 1; }
.hero__meta--r { grid-column: 1; justify-self: end; text-align: right; }
.hero__cue {
  position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  font-size: 0.875rem; color: var(--bone-dim);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.hero__cue::after {
  content: ""; width: 1px; height: 2.75rem; background: linear-gradient(var(--yellow), transparent);
  transform-origin: top; animation: cue 2.2s var(--ease-out) infinite;
}
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* the fixed title only belongs to the first screen */
.hero__title { transition: none; }
body:not(.js) .hero__title { position: absolute; }

/* ---------- Statement ---------- */

.statement {
  padding: var(--space) var(--pad);
  min-height: 90svh;
  display: grid; align-items: center;
}
.statement__text {
  max-width: 18ch;
  margin-inline: auto;
  text-align: center;
  font-weight: 800; font-stretch: 112%;
  font-size: clamp(2rem, 1rem + 4.4vw, 5.25rem);
  line-height: 1.08; letter-spacing: -0.03em;
  text-wrap: balance;
}
.statement__text .w { display: inline-block; }

/* ---------- About ---------- */

.about {
  padding: var(--space) var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.about__photo {
  overflow: hidden; border-radius: 4px;
  aspect-ratio: 4 / 5;
  background: var(--ink-2);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; filter: grayscale(0.25) contrast(1.05); }
.about__copy { max-width: 34rem; display: grid; gap: 1.25rem; }
.about__title {
  font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(2.5rem, 1.4rem + 4vw, 5.5rem); line-height: 0.94; letter-spacing: -0.035em;
  margin-bottom: 0.75rem;
}
.about__lead { font-size: clamp(1.2rem, 1rem + 0.7vw, 1.6rem); line-height: 1.3; font-weight: 600; }
.about__copy p:not(.about__lead) { color: var(--bone-dim); max-width: 60ch; }
.about__copy .link { justify-self: start; margin-top: 0.5rem; }
.about__copy .about__ps { color: var(--yellow); font-weight: 600; font-style: italic; }

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__photo { aspect-ratio: 1; }
}

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

.work { padding: var(--space) var(--pad) calc(var(--space) * 0.7); background: var(--ink); }
.work__head {
  display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line); padding-bottom: 1.5rem;
}
.work__title {
  font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(3.5rem, 2rem + 9vw, 11rem); line-height: 0.8; letter-spacing: -0.04em;
}
.work__note { max-width: 26ch; color: var(--bone-dim); font-size: 0.9375rem; }

.gallery {
  columns: 3; column-gap: var(--gap);
}
.gallery.is-columns { columns: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.gallery__col { display: grid; gap: var(--gap); will-change: transform; }
.gallery__item { break-inside: avoid; margin-bottom: var(--gap); }
.gallery.is-columns .gallery__item { margin-bottom: 0; }
.gallery__item[hidden] { display: none; }
.gallery__btn {
  display: block; width: 100%; padding: 0; border: 0; background: var(--ink-2);
  border-radius: 3px; overflow: hidden; cursor: zoom-in; position: relative;
}
.gallery__btn img { width: 100%; transition: transform 0.9s var(--ease-out), filter 0.6s; filter: grayscale(0.15); }
.gallery__btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 0 var(--yellow); transition: box-shadow 0.4s var(--ease-out);
}
.gallery__btn:hover img { transform: scale(1.045); filter: grayscale(0); }
.gallery__btn:hover::after, .gallery__btn:focus-visible::after { box-shadow: inset 0 0 0 3px var(--yellow); }
.work__more { display: flex; justify-content: center; margin-top: clamp(2.5rem, 5vw, 4rem); }
.work__more[hidden] { display: none; }

@media (max-width: 700px) {
  .gallery { columns: 2; }
  .gallery.is-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Prices (drenched yellow) ---------- */

.prices { padding: clamp(1rem, 2vw, 1.5rem); }
.prices__panel {
  background: var(--yellow); color: var(--yellow-ink);
  border-radius: clamp(14px, 2vw, 28px);
  padding: clamp(3rem, 8vw, 7rem) var(--pad);
  display: grid; gap: clamp(2rem, 5vw, 4rem);
}
.prices__title {
  font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(3.5rem, 2rem + 9vw, 11rem); line-height: 0.8; letter-spacing: -0.04em;
}
.prices__list { border-top: 2px solid var(--yellow-ink); }
.prices__row {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 1rem;
  padding: clamp(1.1rem, 2.4vw, 2rem) 0;
  border-bottom: 1px solid var(--yellow-line);
}
.prices__row dt { font-size: clamp(1.05rem, 0.9rem + 0.8vw, 1.75rem); font-weight: 600; }
.prices__row dd {
  font-weight: 900; font-stretch: 118%;
  font-size: clamp(1.75rem, 1rem + 3.4vw, 4.5rem); letter-spacing: -0.03em; line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}
.prices__note { max-width: 52ch; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem); }

@media (max-width: 560px) {
  .prices__row { grid-template-columns: 1fr; gap: 0.35rem; }
}

/* ---------- Safety ---------- */

.safe {
  padding: var(--space) var(--pad);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: start;
}
.safe__head { position: sticky; top: 7rem; display: grid; gap: 1.5rem; }
.safe__title {
  font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(2.5rem, 1.2rem + 4.6vw, 6rem); line-height: 1.02; letter-spacing: -0.04em;
  text-wrap: balance;
}
.safe__lead { color: var(--bone); max-width: 34ch; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); line-height: 1.4; }
.safe__list { counter-reset: s; }
.safe__list li {
  counter-increment: s;
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.4rem) 0 clamp(1.5rem, 3vw, 2.4rem) 0;
  border-top: 1px solid var(--line);
  font-size: clamp(1.1rem, 0.95rem + 0.7vw, 1.5rem); line-height: 1.35;
  color: var(--bone-dim);
  background: rgba(10, 9, 7, 0.55);
}
.safe__list li:last-child { border-bottom: 1px solid var(--line); }
.safe__list strong {
  display: block; color: var(--bone);
  font-weight: 900; font-stretch: 118%; text-transform: uppercase; letter-spacing: -0.015em;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.6rem); line-height: 1; margin-bottom: 0.5rem;
}
.safe__list li::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%;
  background: var(--yellow); transform: scaleX(var(--p, 0)); transform-origin: left;
}

@media (max-width: 860px) {
  .safe { grid-template-columns: 1fr; }
  .safe__head { position: static; }
}

/* ---------- Aftercare ---------- */

.care {
  padding: var(--space) var(--pad);
  background: var(--ink);
  display: grid; gap: clamp(3.5rem, 8vw, 6.5rem);
}
.care__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: end; }
.care__title {
  font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(3.25rem, 1.8rem + 8vw, 10rem); line-height: 1; letter-spacing: -0.04em;
  hyphens: manual;
}
.care__lead { max-width: 42ch; font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem); line-height: 1.4; justify-self: end; }

.care__switch {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.care__ask { font-weight: 600; margin-right: 0.75rem; color: var(--bone-dim); }
.care__switch [role="tab"] {
  border: 1.5px solid var(--line); background: transparent; color: var(--bone);
  border-radius: 999px; padding: 0.7em 1.3em; cursor: pointer;
  font-weight: 700; font-stretch: 112%; text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.8125rem;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.care__switch [role="tab"]:hover { border-color: var(--bone); }
@media (max-width: 600px) {
  .care__ask { flex-basis: 100%; margin-right: 0; }
  .care__switch [role="tab"] { flex: 1 1 0; padding-inline: 0.8em; white-space: nowrap; }
}
.care__switch [role="tab"][aria-selected="true"] { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--bone);
}
.steps[hidden] { display: none; }
.step {
  position: relative;
  padding: 1.75rem clamp(1rem, 2.5vw, 2.25rem) 0 0;
  display: grid; gap: 1rem; align-content: start;
}
.step::before {
  content: ""; position: absolute; top: -8px; left: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 0 0 5px var(--ink);
}
.step__when {
  font-weight: 900; font-stretch: 118%; text-transform: uppercase; color: var(--yellow);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem); letter-spacing: -0.02em; line-height: 1;
}
.step h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.step p:not(.step__when) { color: var(--bone-dim); max-width: 40ch; }
.care__warn {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: inline-flex; gap: 0.75rem; align-items: start;
  border: 1.5px solid var(--yellow); border-radius: 10px;
  padding: 1rem 1.25rem; max-width: 60ch; font-weight: 600;
}

.care__avoid, .care__faq {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1.5rem clamp(2rem, 6vw, 6rem); align-items: start;
}
.care__sub {
  font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 3.25rem); line-height: 1; letter-spacing: -0.035em;
  grid-row: span 2;
}
.avoid { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.avoid li {
  display: inline-flex; align-items: center; gap: 0.6em;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.65em 1.1em 0.65em 0.85em; font-weight: 600;
}
.avoid li::before {
  content: ""; width: 1.05em; height: 1.05em; flex: none;
  background: var(--yellow);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M5.8 18.2 18.2 5.8'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M5.8 18.2 18.2 5.8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.care__tip { color: var(--bone-dim); max-width: 56ch; }

.faq { border-top: 1px solid var(--line); }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0;
  font-weight: 700; font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem);
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat,
    var(--yellow);
  transition: transform 0.4s var(--ease-out);
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--yellow); }
.faq p { color: var(--bone-dim); max-width: 60ch; padding: 0 3rem 1.6rem 0; }
.care__faq > .faq { grid-column: 2; }
.care__avoid > .avoid, .care__avoid > .care__tip { grid-column: 2; }

@media (max-width: 860px) {
  .care__head, .care__avoid, .care__faq { grid-template-columns: 1fr; }
  .care__lead { justify-self: start; }
  .care__sub { grid-row: auto; }
  .care__faq > .faq, .care__avoid > .avoid, .care__avoid > .care__tip { grid-column: 1; }
  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--bone); margin-left: 6px; }
  .step { padding: 0 0 2.25rem 1.75rem; }
  .step::before { top: 0.1rem; left: -8px; }
}

/* ---------- Booking close ---------- */

.book {
  min-height: 100svh;
  padding: var(--space) var(--pad) clamp(4rem, 8vw, 6rem);
  display: grid; grid-template-rows: 1fr auto; gap: 3rem;
}
.book__title {
  display: flex; flex-direction: column; justify-content: center;
  font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(3.5rem, 15vw, 16rem); line-height: 0.82; letter-spacing: -0.04em;
  color: var(--yellow);
}
.book__title > span { display: block; overflow: hidden; padding-bottom: 0.04em; }
.book__title > span:last-child { text-align: right; }
.book__title .ch { display: inline-block; }
main > .book { z-index: auto; }
.book__body {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 2rem;
}
.book__body p { max-width: 44ch; font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem); line-height: 1.4; }

/* ---------- Footer ---------- */

.foot {
  background: var(--yellow); color: var(--yellow-ink);
  padding: clamp(3rem, 6vw, 5rem) var(--pad) 1.5rem;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem;
  overflow: hidden;
}
.foot__h { font-size: 1rem; font-weight: 500; margin-bottom: 0.5rem; }
.foot address { font-style: normal; font-weight: 700; font-size: 1.25rem; line-height: 1.3; margin-bottom: 0.75rem; }
.foot__col p { font-weight: 700; font-size: 1.25rem; line-height: 1.3; }
.foot__col .link { font-size: 1.05rem; }
.foot__col:last-of-type .link { font-size: 1.25rem; }
.foot__mark {
  grid-column: 1 / -1;
  font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(2.5rem, 11.4vw, 15rem); line-height: 0.8; letter-spacing: -0.04em;
  white-space: nowrap; margin-top: clamp(2rem, 5vw, 4rem);
}
.foot__copy {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 2rem;
  font-size: 0.8125rem;
}
.foot__credit {
  font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.25em;
  transition: text-underline-offset 0.3s var(--ease-out);
}
.foot__credit:hover { text-underline-offset: 0.45em; }

@media (max-width: 700px) {
  .foot { grid-template-columns: 1fr; }
  .foot__mark { font-stretch: 100%; font-size: 13vw; }
}

/* ---------- Lightbox ---------- */

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: clamp(3.5rem, 6vw, 5rem) clamp(3.5rem, 8vw, 7rem);
  border: 0; background: rgba(10, 9, 7, 0.94); color: var(--bone);
  display: none; place-items: center; grid-template-rows: 1fr auto; gap: 1rem;
}
.lightbox[open] { display: grid; animation: lb-in 0.35s var(--ease-out); }
.lightbox::backdrop { background: transparent; }
@keyframes lb-in { from { opacity: 0; } }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 10rem); width: auto; border-radius: 3px; object-fit: contain; }
.lightbox__cap { color: var(--bone-dim); font-size: 0.9375rem; text-align: center; }
.lightbox__btn {
  position: fixed; width: 3rem; height: 3rem; border-radius: 50%; border: 0;
  background: var(--yellow); color: var(--ink); cursor: pointer;
  display: grid; place-items: center;
  transition: transform 0.3s var(--ease-out);
}
.lightbox__btn:hover { transform: scale(1.08); }
.lightbox__btn svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__btn--close { top: 1rem; right: 1rem; }
.lightbox__btn--prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__btn--next { right: 1rem; top: 50%; translate: 0 -50%; }

@media (max-width: 600px) {
  .lightbox { padding: 4.5rem 0.75rem 5.5rem; }
  .lightbox__btn--prev, .lightbox__btn--next { top: auto; bottom: 1rem; translate: none; }
  .lightbox__btn--prev { left: calc(50% - 3.5rem); }
  .lightbox__btn--next { right: calc(50% - 3.5rem); }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .hero__cue::after { animation: none; }
}
