/* Cabin wall + airplane window */

@font-face {
  font-family: "TT Octosquares Condensed";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src:
    local("TT Octosquares Condensed Light"),
    local("TTOctosquaresCondensed-Light"),
    url("fonts/TTOctosquaresCondensed-Light.woff2") format("woff2"),
    url("fonts/TTOctosquaresCondensed-Light.woff") format("woff");
}

@font-face {
  font-family: "TT Octosquares Condensed";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    local("TT Octosquares Condensed Regular"),
    local("TT Octosquares Condensed"),
    local("TTOctosquaresCondensed-Regular"),
    url("fonts/TTOctosquaresCondensed-Regular.woff2") format("woff2"),
    url("fonts/TTOctosquaresCondensed-Regular.woff") format("woff");
}

@font-face {
  font-family: "TT Octosquares Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src:
    local("TT Octosquares Condensed Medium"),
    local("TTOctosquaresCondensed-Medium"),
    url("fonts/TTOctosquaresCondensed-Medium.woff2") format("woff2"),
    url("fonts/TTOctosquaresCondensed-Medium.woff") format("woff");
}

@font-face {
  font-family: "TT Octosquares Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src:
    local("TT Octosquares Condensed DemiBold"),
    local("TTOctosquaresCondensed-DemiBold"),
    url("fonts/TTOctosquaresCondensed-DemiBold.woff2") format("woff2"),
    url("fonts/TTOctosquaresCondensed-DemiBold.woff") format("woff");
}

@font-face {
  font-family: "TT Octosquares Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src:
    local("TT Octosquares Condensed Bold"),
    local("TTOctosquaresCondensed-Bold"),
    url("fonts/TTOctosquaresCondensed-Bold.woff2") format("woff2"),
    url("fonts/TTOctosquaresCondensed-Bold.woff") format("woff");
}

:root {
  --ink: #1a2030;
  --muted: rgba(26, 32, 48, 0.52);
  --ink-soft: rgba(26, 32, 48, 0.7);
  --ink-mute: rgba(26, 32, 48, 0.48);
  --ink-faint: rgba(26, 32, 48, 0.34);
  --wall: #e8ecf2;
  --wall-2: #f4f6f9;
  --line: rgba(26, 32, 48, 0.12);
  --line-soft: rgba(26, 32, 48, 0.07);
  --panel: rgba(255, 255, 255, 0.68);
  --fill: rgba(26, 32, 48, 0.04);
  --fill-strong: rgba(26, 32, 48, 0.08);
  --surface-deep: rgba(26, 32, 48, 0.05);
  --cta: #1a2030;
  --cta-ink: #f4f6f9;
  --shadow: 18px 24px 50px rgba(30, 42, 64, 0.14);
  --veil: rgba(244, 247, 251, 0.5);
  --ife: rgba(26, 32, 48, 0.92);
  --ife-dim: rgba(26, 32, 48, 0.45);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "TT Octosquares Condensed", "Almarai", sans-serif;
  --sans: "TT Octosquares Condensed", "Almarai", sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --script: "Rock Salt", "Segoe Print", cursive;
  --gutter: clamp(18px, 2.8vw, 36px);
  --phone-h: min(620px, calc(100svh - 170px));
  --phone-w: calc(var(--phone-h) * 0.49);
  --window-h: calc(100svh - 48px);
  --porthole-gap: clamp(12px, 1.4vw, 20px);
  --shot-gap: 14px;
  /* 3 frames share window height */
  --shot-frame-h: calc((var(--window-h) - (var(--shot-gap) * 2)) / 3);
  --shot-w: calc(var(--shot-frame-h) * 0.49);
  color-scheme: light;
}

@media (max-width: 860px) {
  :root {
    --phone-h: min(480px, 58svh);
    --phone-w: calc(var(--phone-h) * 0.49);
  }
}

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

html, body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background: #e8ecf2;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

button, a { font: inherit; color: inherit; }
button { cursor: pointer; }

::selection { background: #1a2030; color: #f4f6f9; }
:focus-visible { outline: 1px solid #1a2030; outline-offset: 3px; }

.sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 40;
  background: #fff; color: #111;
  padding: 8px 12px; text-decoration: none; border-radius: 8px;
}
.skip:focus { top: 12px; }

.stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(380px, 44vw) minmax(0, 1fr);
  height: 100svh;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
}

.media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.media-cabin {
  z-index: 0;
}

.bg {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.85s ease;
  animation: drift 22s ease-in-out infinite alternate;
  background-color: #e8ecf2;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Soft / muted through the cabin overlays */
.media-cabin .bg {
  filter: saturate(0.92) contrast(1.02) brightness(0.96);
}

/* Full clarity inside the airplane window */
.media-window .bg {
  filter: saturate(1.05) contrast(1.04) brightness(1.02);
}

.bg-b { animation-delay: -11s; }
.bg.is-front { opacity: 1; }

/* Per-app atmosphere (no photos) — light */
.bg[data-scene="devops"] {
  background-image:
    radial-gradient(ellipse 55% 45% at 28% 24%, rgba(37, 99, 235, 0.22), transparent 62%),
    radial-gradient(ellipse 50% 40% at 78% 78%, rgba(14, 165, 233, 0.16), transparent 65%),
    linear-gradient(165deg, #e8eef8 0%, #e8ecf2 45%, #d9e3f0 100%);
}
.bg[data-scene="harbor"] {
  background-image:
    radial-gradient(ellipse 55% 45% at 22% 28%, rgba(196, 148, 92, 0.28), transparent 62%),
    radial-gradient(ellipse 50% 40% at 78% 72%, rgba(120, 150, 190, 0.22), transparent 65%),
    linear-gradient(165deg, #f3ebe2 0%, #e8ecf2 45%, #dfe6ef 100%);
}
.bg[data-scene="north"] {
  background-image:
    radial-gradient(ellipse 60% 35% at 50% 0%, rgba(120, 160, 210, 0.28), transparent 55%),
    linear-gradient(180deg, transparent 55%, rgba(180, 198, 220, 0.35) 100%),
    repeating-linear-gradient(90deg, rgba(26,32,48,0.04) 0 1px, transparent 1px 48px),
    linear-gradient(160deg, #e4ebf4 0%, #e8ecf2 48%, #d8e0ea 100%);
}
.bg[data-scene="anvil"] {
  background-image:
    radial-gradient(ellipse 45% 40% at 70% 40%, rgba(220, 130, 70, 0.22), transparent 60%),
    radial-gradient(ellipse 40% 35% at 20% 80%, rgba(140, 150, 160, 0.2), transparent 65%),
    linear-gradient(145deg, #f0ebe6 0%, #e8e6e4 50%, #dde2e8 100%);
}
.bg[data-scene="chorus"] {
  background-image:
    radial-gradient(ellipse 70% 50% at 50% 20%, rgba(180, 110, 170, 0.2), transparent 60%),
    radial-gradient(ellipse 50% 45% at 80% 80%, rgba(90, 130, 200, 0.18), transparent 65%),
    linear-gradient(170deg, #efe8f2 0%, #e8ecf2 45%, #dde3ee 100%);
}
.bg[data-scene="tide"] {
  background-image:
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(60, 170, 190, 0.25), transparent 55%),
    radial-gradient(ellipse 50% 35% at 20% 20%, rgba(200, 230, 245, 0.45), transparent 60%),
    linear-gradient(180deg, #e2eef3 0%, #e6eef2 48%, #d5e4ea 100%);
}
.bg[data-scene="after"] {
  background-image:
    radial-gradient(ellipse 55% 45% at 40% 30%, rgba(240, 200, 140, 0.22), transparent 60%),
    radial-gradient(ellipse 45% 40% at 75% 70%, rgba(140, 120, 180, 0.16), transparent 65%),
    linear-gradient(155deg, #efeaf2 0%, #e8ecf2 50%, #dde2ec 100%);
}

@keyframes drift {
  from { transform: scale(1.04); }
  to { transform: scale(1.12) translate3d(-1.2%, -0.8%, 0); }
}

.stage.is-cutting .media-window .bg.is-front,
.stage.is-cutting .media-cabin .bg.is-front {
  animation: cut-zoom 0.95s var(--ease-out) both;
}

.stage.is-cutting .device {
  animation: cut-device 0.95s var(--ease) both;
}
.stage.is-cutting .plaque {
  animation: cut-copy 0.85s var(--ease) both;
}

@keyframes cut-zoom {
  0% { transform: scale(1.04); filter: saturate(0.95) brightness(1); }
  35% { transform: scale(1.16); filter: saturate(0.8) brightness(1.25); }
  100% { transform: scale(1.06); filter: saturate(0.95) brightness(1); }
}
@keyframes cut-device {
  0% { transform: translateY(0) scale(1); }
  40% { transform: translateY(14px) scale(0.9); opacity: 0.4; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes cut-copy {
  0% { opacity: 1; transform: translateY(0); }
  35% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ——— WALL = cabin liner + seatback IFE ——— */

.wall {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: transparent;
  overflow: hidden;
  backdrop-filter: blur(18px) saturate(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(1.05);
}

.ife {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  margin: clamp(22px, 3.2vh, 36px) clamp(22px, 2.2vw, 32px) clamp(22px, 3.2vh, 36px) clamp(18px, 2vw, 28px);
  padding: 0;
  border-radius: 22px;
  background: var(--panel);
  box-shadow:
    0 0 0 1px var(--line-soft),
    var(--shadow);
  overflow: hidden;
}

.ife-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.55rem 1.75rem 1.2rem;
  border-bottom: 1px solid var(--line-soft);
}

.wordmark {
  font-family: var(--script);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1;
  color: var(--ink);
}

.ife-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ife-dim);
}

.ife-led {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-soft);
  box-shadow: none;
  animation: pulse-led 2.8s ease-in-out infinite;
}

@keyframes pulse-led {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.35; }
}

.filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  border-bottom: 1px solid var(--line-soft);
}

.filter {
  border: 0;
  border-right: 1px solid var(--line-soft);
  background: transparent;
  color: var(--ink-faint);
  padding: 1.15rem 0.5rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.filter:last-child { border-right: 0; }
.filter:hover { color: var(--ink-soft); background: var(--fill); }
.filter[aria-pressed="true"] {
  color: var(--ink);
  background: var(--fill);
  box-shadow: inset 0 -2px 0 var(--ink);
}
.filter[aria-pressed="true"]::after { display: none; }

.plaque {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3.8vh, 2.6rem);
  padding: clamp(1.85rem, 4.2vh, 2.75rem) 1.75rem 1.5rem;
  overflow: auto;
}

.channel {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  align-self: flex-start;
  padding: 0.45rem 0.85rem 0.4rem;
  border: 1px solid var(--line);
  background: var(--fill);
  border-radius: 4px;
}

.channel-label {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ife-dim);
}

.big-idx {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.lead {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  min-width: 0;
}

.kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.kicker .now {
  color: var(--ink-soft);
  background: transparent;
  padding: 0;
  border-radius: 0;
  letter-spacing: 0.14em;
  border-bottom: 1px solid var(--ink-mute);
}

.kicker .cat { color: var(--ink-mute); }

.title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.5rem, 4.6vw, 3.7rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: normal;
}

.title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(24%);
  animation: char-in 0.55s var(--ease) forwards;
}
@keyframes char-in {
  to { opacity: 1; transform: none; }
}

.deck {
  margin: 0.35rem 0 0;
  max-width: 20em;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-soft);
}
.deck.is-in { animation: rise 0.55s var(--ease) both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.beats {
  list-style: none;
  margin: 0;
  padding: 0.55rem 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.beats li {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.85rem;
  margin: 0;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line-soft);
  animation: rise 0.55s var(--ease) both;
}
.beats li:last-child { border-bottom: 0; }
.beats li:nth-child(2) { animation-delay: 0.04s; }
.beat-num {
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  padding-top: 0.25rem;
}
.beat-text {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.plaque-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1.45rem;
  padding-top: 0.85rem;
  padding-bottom: 0.55rem;
}

.stores {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
}

.store {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  box-sizing: border-box;
  min-height: 3.1rem;
  padding: 0.85rem 1.15rem 0.85rem 0.85rem;
  border-radius: 3px 12px 12px 3px;
  border: 1px solid var(--line);
  background: var(--fill);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}
.store-tag {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px dashed var(--ink-mute);
  flex: 0 0 auto;
}
.store:hover {
  border-color: var(--ink-mute);
  background: var(--fill-strong);
  transform: translateX(3px);
}
.store:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 0.8rem;
  border-radius: 12px;
  background: var(--surface-deep);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.ctrl {
  border: 0;
  background: var(--fill);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-family: var(--mono);
  color: var(--ink-mute);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ctrl:hover {
  color: var(--ink);
  background: var(--fill-strong);
}
.ctrl-next {
  color: var(--cta-ink);
  background: var(--cta);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ctrl-next:hover {
  color: var(--cta-ink);
  background: #0f141c;
}
.ctrl-next #next-name {
  font-family: var(--display);
  font-size: 1.05em;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  margin-left: 0.2rem;
}

.strip {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.7rem;
  flex: 0 0 auto;
  padding: 1.25rem 1.4rem 1.45rem;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid var(--line-soft);
  background: var(--surface-deep);
}
.strip::-webkit-scrollbar { display: none; }

.strip button {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 4rem;
  min-width: 4rem;
  padding: 0.7rem 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--fill);
  color: var(--ink-faint);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.strip button:hover {
  color: var(--ink-soft);
  border-color: var(--ink-mute);
}
.strip button[aria-current="true"] {
  color: var(--cta-ink);
  border-color: var(--cta);
  background: var(--cta);
}

.strip .num {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
}
.strip .name {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.48rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ——— PORTHOLE (outside the glass) ——— */

.porthole {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: stretch;
  min-width: 0;
  padding: clamp(16px, 3vh, 28px) var(--porthole-gap);
  background: transparent;
}

/* Frosted cabin around the window — sits under the window, not inside it */
.porthole-veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--veil);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
}

.porthole-stage {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  justify-items: end;
  width: 100%;
  height: 100%;
  /* Gallery strip + gap reserved on the right */
  padding-right: calc(var(--shot-w) + var(--porthole-gap));
  box-sizing: border-box;
}

.window {
  position: relative;
  z-index: 2;
  height: var(--window-h);
  width: min(100%, calc(var(--window-h) * 0.7));
  max-width: 540px;
  /* Another ~30% closer to the gallery */
  margin-right: max(0px, calc((100% - min(540px, 100%)) * 0.245));
  border-radius: 48% / 28%;
  overflow: hidden;
  background: #d8dee8;
  box-shadow:
    0 28px 70px rgba(30, 42, 64, 0.2),
    0 0 0 1px rgba(26, 32, 48, 0.08);
}

/* Rim trim on the edge only */
.window-rim {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  pointer-events: none;
  background: transparent;
  box-shadow:
    inset 0 0 0 12px #2c2926,
    inset 0 0 0 13px rgba(255, 255, 255, 0.14),
    inset 0 0 0 20px #151310,
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -10px 28px rgba(0, 0, 0, 0.25);
}

.window-inner {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background: transparent;
}

.media-window {
  z-index: 0;
}

/* Light glass wash — full oval stays clear and vivid */
.window-glass {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(180, 215, 255, 0.12) 0%, transparent 22%, transparent 75%, rgba(20, 28, 48, 0.08) 100%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.05) 14%, transparent 30%);
}

.window-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 42% 30% at 28% 18%, rgba(255, 255, 255, 0.18), transparent 70%);
  pointer-events: none;
}

.device-wrap {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 8% 10%;
}

.device {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 28px 40px rgba(0,0,0,0.45));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.bezel {
  position: relative;
  width: var(--phone-w);
  height: var(--phone-h);
  border-radius: 40px;
  padding: 11px;
  background: linear-gradient(160deg, #3a3a42, #101016 50%, #1c1c24);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.25),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

.bezel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,0.2), transparent 30%);
  pointer-events: none;
  z-index: 4;
}

.glass {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #0f1016;
  border-radius: 28px;
}

.panes, .pane { position: absolute; inset: 0; }
.pane { container-type: size; }

.home {
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 96px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.75);
  transform: translateX(-50%);
  z-index: 5;
}

/* ——— SHOTS GALLERY (column of 3) ——— */

.shots {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--shot-gap);
  height: var(--window-h);
  width: var(--shot-w);
  padding: 0;
  background: transparent;
  transform: translateY(-50%);
}

.shot {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  opacity: 0.72;
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.shot:hover,
.shot:focus-visible {
  opacity: 1;
}

.shot[aria-pressed="true"] {
  opacity: 1;
}

.shot-frame {
  position: relative;
  display: block;
  width: var(--shot-w);
  height: var(--shot-frame-h);
  /* Proportional to thumb width (~60px): stay phone-like, not a pill */
  --shot-bezel-r: 12px;
  --shot-bezel-pad: 2px;
  --shot-screen-r: 10px;
  border-radius: var(--shot-bezel-r);
  overflow: hidden;
  background: linear-gradient(160deg, #3a3a42, #101016 55%, #1c1c24);
  padding: var(--shot-bezel-pad);
  box-shadow:
    0 0 0 1px rgba(26, 32, 48, 0.12),
    0 14px 28px rgba(30, 42, 64, 0.22);
  transition: box-shadow 0.25s ease, transform 0.25s var(--ease);
}

.shot-frame::before {
  content: "";
  position: absolute;
  inset: var(--shot-bezel-pad);
  border-radius: var(--shot-screen-r);
  background: #0f1016;
  z-index: 0;
}

.shot[aria-pressed="true"] .shot-frame {
  box-shadow:
    0 0 0 2px var(--ink),
    0 16px 32px rgba(30, 42, 64, 0.28);
  transform: scale(1.02);
}

.shot-screen {
  position: absolute;
  top: var(--shot-bezel-pad);
  left: var(--shot-bezel-pad);
  z-index: 1;
  width: var(--phone-w);
  height: var(--phone-h);
  transform: scale(calc((var(--shot-w) - (var(--shot-bezel-pad) * 2)) / var(--phone-w)));
  transform-origin: top left;
  pointer-events: none;
  border-radius: 0;
  overflow: hidden;
}

/* Real screenshots: fill the inset — no scale, so radius matches the bezel */
.shot-screen:has(.shot-photo) {
  inset: var(--shot-bezel-pad);
  width: auto;
  height: auto;
  transform: none;
  border-radius: var(--shot-screen-r);
}

.shot-screen .ui {
  font-size: 14px;
  border-radius: calc(
    var(--shot-screen-r) * var(--phone-w) / (var(--shot-w) - (var(--shot-bezel-pad) * 2))
  );
}

.shot-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: #f4f6f9;
}

.pane .shot-photo {
  position: absolute;
  inset: 0;
}

/* Phones + tablet portrait: stack. Large desktop rules above stay untouched. */
@media (max-width: 980px), (max-width: 1100px) and (orientation: portrait) {
  :root {
    --phone-h: min(390px, 48svh);
    --phone-w: calc(var(--phone-h) * 0.49);
  }

  html, body {
    overflow: auto;
    height: auto;
    min-height: 100%;
  }

  .stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }

  .wall {
    border-bottom: 1px solid var(--line);
  }

  .ife {
    margin: 12px;
    min-height: auto;
    overflow: visible;
  }

  .ife-top {
    padding: 1.15rem 1.2rem 0.95rem;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .ife-top-meta {
    flex-wrap: wrap;
    row-gap: 0.4rem;
  }

  .filters {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .filter {
    padding: 0.95rem 0.3rem;
  }

  .plaque {
    flex: 0 1 auto;
    min-height: auto;
    overflow: visible;
    gap: 1.35rem;
    padding: 1.35rem 1.2rem 1.25rem;
  }

  .plaque-foot {
    gap: 1.1rem;
    padding-top: 0.35rem;
  }

  .title {
    white-space: normal;
    font-size: clamp(2.15rem, 10.5vw, 3rem);
  }

  .deck {
    max-width: none;
  }

  .strip {
    padding: 0.95rem 1rem 1.1rem;
  }

  .strip button {
    flex: 0 0 auto;
    width: 3.75rem;
    min-width: 3.75rem;
  }

  .porthole {
    padding: 10px var(--porthole-gap) 28px;
    min-height: auto;
  }

  .porthole-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    width: 100%;
    height: auto;
    padding: 4px 0 12px;
  }

  .window {
    width: min(320px, 86vw);
    height: calc(var(--phone-h) + 120px);
    max-width: none;
    margin-right: 0;
    aspect-ratio: auto;
  }

  .device-wrap {
    padding: 9% 12%;
  }

  .shots {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    --shot-frame-h: min(152px, 19svh);
    --shot-w: calc(var(--shot-frame-h) * 0.49);
    flex-direction: row;
    align-items: flex-start;
    width: auto;
    height: auto;
    gap: var(--porthole-gap);
    justify-content: center;
    padding-bottom: 4px;
  }

  .shot {
    width: var(--shot-w);
  }

  .device { animation: none; }
}

/* Thinner window + phone bezels on tablets and below (desktop untouched) */
@media (max-width: 1199px) {
  .window-rim {
    box-shadow:
      inset 0 0 0 7px #2c2926,
      inset 0 0 0 8px rgba(255, 255, 255, 0.14),
      inset 0 0 0 12px #151310,
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      inset 0 -8px 20px rgba(0, 0, 0, 0.22);
  }

  .bezel {
    border-radius: 32px;
    padding: 7px;
  }

  .glass {
    border-radius: 25px;
  }

  .home {
    bottom: 5px;
    width: 72px;
    height: 3px;
  }
}

/* Tablet portrait: roomier stacked seatback + window */
@media (min-width: 700px) and (max-width: 1100px) and (orientation: portrait) {
  :root {
    --phone-h: min(480px, 44svh);
    --phone-w: calc(var(--phone-h) * 0.49);
  }

  .ife {
    margin: 20px 28px;
  }

  .ife-top {
    padding: 1.35rem 1.5rem 1.1rem;
  }

  .plaque {
    gap: 1.6rem;
    padding: 1.6rem 1.5rem 1.35rem;
  }

  .title {
    font-size: clamp(2.15rem, 10.5vw, 3rem);
  }

  .porthole {
    padding: 16px var(--porthole-gap) 36px;
  }

  .porthole-stage {
    gap: 1.25rem;
    padding: 8px 0 18px;
  }

  .window {
    width: min(400px, 62vw);
    height: calc(var(--phone-h) + 150px);
  }

  .device-wrap {
    padding: 9% 12%;
  }

  .shots {
    --shot-frame-h: min(176px, 15svh);
    --shot-w: calc(var(--shot-frame-h) * 0.49);
    gap: 1rem;
  }
}

/* Tablet landscape: keep two columns, rebalance so the window isn’t tight on the phone */
@media (min-width: 981px) and (max-width: 1199px) and (orientation: landscape) {
  :root {
    --phone-h: min(480px, calc(100svh - 180px));
    --phone-w: calc(var(--phone-h) * 0.49);
    --window-h: min(580px, calc(100svh - 72px));
  }

  .stage {
    grid-template-columns: minmax(340px, 46vw) minmax(0, 1fr);
  }

  .ife {
    margin: clamp(14px, 2.2vh, 22px) clamp(14px, 1.6vw, 22px);
  }

  .title {
    font-size: clamp(2.15rem, 10.5vw, 3rem);
  }

  .deck {
    max-width: none;
    font-size: 1.05rem;
  }

  .porthole {
    padding: clamp(14px, 2.5vh, 22px) var(--porthole-gap);
    display: grid;
    place-items: center;
  }

  .porthole-stage {
    justify-items: center;
    align-items: center;
    height: 100%;
    padding-right: calc(var(--shot-w) + var(--porthole-gap));
  }

  .window {
    width: min(400px, calc(var(--window-h) * 0.7));
    max-width: 420px;
    height: var(--window-h);
    margin-right: 0;
  }

  .device-wrap {
    padding: 8% 11%;
  }
}

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


/* Working apps — bold ink on soft panels so the scene can stay loud */

.ui {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #16161f;
  color: #f4f1ea;
  padding: 18px 18px 22px;
  overflow: hidden;
  font-family: var(--sans);
}

.statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
}

.app-kicker {
  margin-top: 7cqh;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.5);
}

.ui-title {
  margin: 0.35em 0 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.ui-harbor {
  --ui-accent: #f4f1ea;
  background: #141418;
}

.ui-harbor .ui-title {
  font-size: clamp(24px, 8.5cqw, 34px);
}

.ui-harbor .body {
  margin: 1em 0 0;
  font-size: clamp(13px, 4cqw, 15px);
  line-height: 1.45;
  color: rgba(244, 241, 234, 0.86);
}

.drop {
  float: left;
  font-family: var(--display);
  font-size: 3em;
  line-height: 0.78;
  padding: 0.05em 0.08em 0 0;
  color: var(--ui-accent);
}

.track {
  margin-top: auto;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  overflow: hidden;
}

.track span {
  display: block;
  height: 100%;
  width: 34%;
  background: #f4f1ea;
}

.ui-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.55);
}

.ui-north {
  --ui-accent: #f4f1ea;
  background: #141418;
}

.ui-north .ui-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.6);
  margin-top: 16px;
}

.map {
  margin: 10px 0 16px;
}

.map svg {
  width: 100%;
  height: auto;
  display: block;
}

.mission strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 7.2cqw, 28px);
  letter-spacing: -0.03em;
  color: var(--ui-accent);
}

.mission span {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: rgba(244, 241, 234, 0.75);
}

.shot-list {
  list-style: none;
  margin: 1.1em 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shot-list li {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  font-size: clamp(13px, 4cqw, 15px);
  line-height: 1.35;
  color: rgba(244, 241, 234, 0.88);
}

.shot-list li.is-on {
  background: rgba(244, 241, 234, 0.14);
  box-shadow: inset 0 0 0 1px rgba(244, 241, 234, 0.35);
}

.shot-list.gone li {
  color: rgba(244, 241, 234, 0.45);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.ui-anvil {
  --ui-accent: #f4f1ea;
  background: #141418;
}

.ui-anvil .ui-title,
.ui-after .ui-title {
  margin-top: 12px;
  font-size: clamp(24px, 8cqw, 32px);
}

.ui-anvil .body {
  margin: 14px 0 0;
  font-size: clamp(13px, 4cqw, 15px);
  line-height: 1.45;
  color: rgba(244, 241, 234, 0.86);
}

.caret {
  display: inline-block;
  width: 2px;
  height: 0.95em;
  margin-left: 2px;
  background: var(--ui-accent);
  vertical-align: text-bottom;
  animation: blink 1.15s steps(1) infinite;
}

@keyframes blink {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.count {
  margin-top: auto;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.55);
}

.ui-chorus {
  --ui-accent: #f4f1ea;
  background: #141418;
}

.staff-wrap {
  margin-top: 6cqh;
}

.staff {
  position: relative;
  height: 78px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 0;
}

.staff i {
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.note {
  position: absolute;
  width: 16px;
  height: 12px;
  border-radius: 50%;
  background: var(--ui-accent);
  transform: rotate(-18deg);
}

.note::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 6px;
  width: 1.5px;
  height: 32px;
  background: var(--ui-accent);
}

.note.n1 { left: 28%; top: 34px; }
.note.n2 {
  left: 58%;
  top: 18px;
  animation: tone 3.2s ease-in-out infinite;
}

@keyframes tone {
  0%, 100% { opacity: 1; transform: rotate(-18deg) translateY(0); }
  50% { opacity: 0.45; transform: rotate(-18deg) translateY(-4px); }
}

.interval {
  margin: 16px 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 7cqw, 28px);
  letter-spacing: -0.03em;
}

.listen {
  width: 62px;
  height: 62px;
  margin: auto auto 8px;
  border: 1px solid rgba(244, 241, 234, 0.55);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.tri {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 13px solid var(--ui-accent);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.listen-note {
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.55);
}

.ui-tide {
  --ui-accent: #f4f1ea;
  background: #141418;
}

.pool {
  position: relative;
  flex: 1;
  min-height: 120px;
  margin: 12px 6px 14px;
  overflow: hidden;
  background: #1a1a20;
  border-radius: 46% 50% 48% 50%;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.35);
}

.water {
  position: absolute;
  left: 10%;
  right: 8%;
  top: 16%;
  bottom: 12%;
  background: radial-gradient(circle at 40% 40%, #2a2a34, #121218);
  border-radius: 50%;
}

.stone {
  position: absolute;
  background: #f4f1ea;
  border-radius: 50%;
  opacity: 0.85;
}

.s1 { width: 34%; height: 18%; left: 10%; bottom: 16%; }
.s2 { width: 20%; height: 13%; right: 14%; bottom: 30%; opacity: 0.55; }
.s3 { width: 16%; height: 11%; left: 40%; top: 28%; opacity: 0.35; }

.weed {
  position: absolute;
  width: 7%;
  height: 30%;
  left: 60%;
  bottom: 24%;
  background: var(--ui-accent);
  border-radius: 40% 40% 10% 10%;
  transform: rotate(12deg);
  opacity: 0.75;
}

.weed::before {
  content: "";
  position: absolute;
  left: -10px;
  bottom: 0;
  width: 100%;
  height: 70%;
  background: var(--ui-accent);
  border-radius: 40% 40% 10% 10%;
  transform: rotate(-22deg);
  opacity: 0.7;
}

.fish {
  position: absolute;
  height: 7px;
  background: #fff;
  border-radius: 60% 45% 45% 60%;
}

.f1 {
  width: 22px;
  left: 24%;
  top: 46%;
  animation: swim1 9s ease-in-out infinite;
}

.f2 {
  width: 14px;
  left: 52%;
  top: 60%;
  opacity: 0.7;
  animation: swim2 11s ease-in-out infinite;
}

@keyframes swim1 {
  0%, 100% { transform: translate(0, 0) scaleX(1); }
  42% { transform: translate(70px, -8px) scaleX(1); }
  50% { transform: translate(70px, -8px) scaleX(-1); }
  92% { transform: translate(0, 0) scaleX(-1); }
}

@keyframes swim2 {
  0%, 100% { transform: translate(0, 0) scaleX(-1); }
  48% { transform: translate(-46px, 10px) scaleX(-1); }
  56% { transform: translate(-46px, 10px) scaleX(1); }
  94% { transform: translate(0, 0) scaleX(1); }
}

.tide-meta {
  font-size: 12px;
  color: rgba(244, 241, 234, 0.7);
}

.ui-after {
  --ui-accent: #f4f1ea;
  background: #141418;
}

.ui-after b {
  font-weight: 600;
  color: #fff;
}

.ife-top-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.legal-link {
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ife-dim);
  border-bottom: 1px solid var(--line);
}
.legal-link:hover { color: var(--ink); }

/* ——— Terms: open book in the cabin ——— */

body.legal-page {
  overflow: hidden;
  height: 100%;
  color: var(--ink);
  background: #e8ecf2;
}

.book-cabin {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.book-cabin .bg {
  opacity: 1;
  filter: saturate(0.92) contrast(1.02) brightness(0.98);
}

.book {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: calc(100svh - clamp(18px, 2.8vh, 28px) * 2);
  width: calc(100% - clamp(20px, 2vw, 28px) - clamp(16px, 1.8vw, 22px));
  max-width: none;
  margin: clamp(18px, 2.8vh, 28px) clamp(20px, 2vw, 28px) clamp(18px, 2.8vh, 28px) clamp(16px, 1.8vw, 22px);
  border-radius: 22px;
  background: var(--panel);
  backdrop-filter: blur(18px) saturate(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(1.05);
  box-shadow:
    0 0 0 1px var(--line-soft),
    var(--shadow);
  overflow: hidden;
  animation: book-open 0.9s var(--ease-out) both;
}

@keyframes book-open {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.book-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex: 0 0 auto;
  padding: 1.55rem 1.75rem 1.2rem;
  border-bottom: 1px solid var(--line-soft);
}

.book-top-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.book-spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1.15fr);
  flex: 1 1 auto;
  min-height: 0;
}

.book-gutter {
  background: var(--line-soft);
}

.book-leaf {
  position: relative;
  min-width: 0;
  min-height: 0;
}

.book-leaf--left {
  box-shadow: inset -12px 0 24px rgba(26, 32, 48, 0.04);
}

.book-leaf--right {
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(26, 32, 48, 0.2) transparent;
  box-shadow: inset 12px 0 24px rgba(26, 32, 48, 0.04);
}

.book-leaf-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3.8vh, 2.6rem);
  height: 100%;
  padding: clamp(1.85rem, 4.2vh, 2.75rem) 1.75rem 2.75rem;
  box-sizing: border-box;
}

.book-leaf--right .book-leaf-inner {
  gap: 0;
}

.book-title {
  max-width: 9ch;
}

.book-date {
  margin: auto 0 0;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ife-dim);
}

.book-folio {
  position: absolute;
  bottom: 1.15rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}
.book-folio--left { left: 1.4rem; }
.book-folio--right { right: 1.4rem; }

.book-chapters {
  margin: 0;
  padding: 0 0 1.75rem;
  list-style: none;
  counter-reset: chapter;
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 3vh, 1.85rem);
}

.book-chapters li {
  position: relative;
  margin: 0;
  padding-left: 2.4rem;
  counter-increment: chapter;
  animation: book-line-in 0.7s var(--ease-out) both;
}
.book-chapters li:nth-child(1) { animation-delay: 0.18s; }
.book-chapters li:nth-child(2) { animation-delay: 0.24s; }
.book-chapters li:nth-child(3) { animation-delay: 0.3s; }
.book-chapters li:nth-child(4) { animation-delay: 0.36s; }
.book-chapters li:nth-child(5) { animation-delay: 0.42s; }
.book-chapters li:nth-child(6) { animation-delay: 0.48s; }
.book-chapters li:nth-child(7) { animation-delay: 0.54s; }
.book-chapters li:nth-child(8) { animation-delay: 0.6s; }

@keyframes book-line-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.book-chapters li::before {
  content: counter(chapter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.28em;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ife-dim);
  font-variant-numeric: tabular-nums;
}

.book-chapters h2 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.book-chapters p {
  margin: 0;
  max-width: 38rem;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

@media (max-width: 820px) {
  body.legal-page {
    overflow: auto;
    height: auto;
  }
  .book {
    height: auto;
    min-height: calc(100svh - clamp(18px, 2.8vh, 28px) * 2);
    width: auto;
    margin: clamp(18px, 2.8vh, 28px) clamp(16px, 2vw, 22px);
  }
  .book-spread {
    display: flex;
    flex-direction: column;
  }
  .book-gutter {
    height: 1px;
    width: 100%;
  }
  .book-leaf--left,
  .book-leaf--right {
    box-shadow: none;
    overflow: visible;
  }
  .book-leaf--left .book-leaf-inner {
    min-height: auto;
    padding-bottom: 2rem;
  }
  .book-leaf-inner {
    height: auto;
  }
  .book-date {
    margin-top: 0.5rem;
  }
}
