/* ==========================================================================
   Obinna Oti — Portfolio: project carousel + flip books
   ========================================================================== */

/* ---------- Tomato Grotesk: every piece of text on the site, all upright ------------
   "Tomato Grotesk" is used for display type (titles, names, numbers).
   "Tomato Grotesk Text" is used for running text, captions and labels.
   Only ExtraBold was supplied upright; the other weights came as Slanted and were set
   upright with tools/unslant.py (the *Upright.otf files). To use official upright files
   instead, drop them into /assets/fonts and point the faces below at them. */
@font-face {
  font-family: "Tomato Grotesk";
  src: url("../fonts/TomatoGrotesk-ExtraBold.woff2") format("woff2"), url("../fonts/TomatoGrotesk-ExtraBold.otf") format("opentype");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Tomato Grotesk";
  src: url("../fonts/TomatoGrotesk-SemiBoldUpright.woff2") format("woff2"), url("../fonts/TomatoGrotesk-SemiBoldUpright.otf") format("opentype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Tomato Grotesk";
  src: url("../fonts/TomatoGrotesk-ExtraLightUpright.woff2") format("woff2"), url("../fonts/TomatoGrotesk-ExtraLightUpright.otf") format("opentype");
  font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Tomato Grotesk";
  src: url("../fonts/TomatoGrotesk-ThinUpright.woff2") format("woff2"), url("../fonts/TomatoGrotesk-ThinUpright.otf") format("opentype");
  font-weight: 100; font-style: normal; font-display: swap;
}

@font-face { /* running text */
  font-family: "Tomato Grotesk Text";
  src: url("../fonts/TomatoGrotesk-ExtraLightUpright.woff2") format("woff2"), url("../fonts/TomatoGrotesk-ExtraLightUpright.otf") format("opentype");
  font-weight: 100 400; font-style: normal; font-display: swap;
}
@font-face { /* medium emphasis */
  font-family: "Tomato Grotesk Text";
  src: url("../fonts/TomatoGrotesk-SemiBoldUpright.woff2") format("woff2"), url("../fonts/TomatoGrotesk-SemiBoldUpright.otf") format("opentype");
  font-weight: 500 600; font-style: normal; font-display: swap;
}
@font-face { /* bold */
  font-family: "Tomato Grotesk Text";
  src: url("../fonts/TomatoGrotesk-ExtraBold.woff2") format("woff2"), url("../fonts/TomatoGrotesk-ExtraBold.otf") format("opentype");
  font-weight: 700 900; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --font-display: "Tomato Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-text: "Tomato Grotesk Text", "Tomato Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* the desk the books sit on */
  --desk: #ffffff;
  --desk-ink: #121212;
  --desk-muted: #6b6b68;
  --desk-line: rgba(0, 0, 0, .14);
  --desk-hover: rgba(0, 0, 0, .05);

  /* the books themselves (the same in dark mode) */
  --paper: #ffffff;
  --ink: #0d0d0d;
  --muted: #73736f;
  --faint: #a2a29e;
  --rule: #e5e5e2;
  --night: #070707;
  --night-ink: #f1f1f1;
  --night-body: #d0d0d0;
  --night-muted: #7a7a7a;
  --accent: #2f45d8;

  --gutter: max(16px, min(3vw, 36px));
  --cover-edge: 0 0 0 0 transparent;

  /* drafting cross cursor; the hot one (centre filled in) marks things you can click */
  --cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg stroke='white' stroke-opacity='.4' stroke-width='3' fill='none'%3E%3Cpath d='M16.5 0.5v14M16.5 18.5v13M0.5 16.5h14M18.5 16.5h13'/%3E%3Crect x='14.5' y='14.5' width='4' height='4' fill='none'/%3E%3C/g%3E%3Cg stroke='black' stroke-width='1' fill='none'%3E%3Cpath d='M16.5 0.5v14M16.5 18.5v13M0.5 16.5h14M18.5 16.5h13'/%3E%3Crect x='14.5' y='14.5' width='4' height='4' fill='none'/%3E%3C/g%3E%3C/svg%3E") 16 16, crosshair;
  --cursor-hot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg stroke='white' stroke-opacity='.4' stroke-width='3' fill='none'%3E%3Cpath d='M16.5 0.5v14M16.5 18.5v13M0.5 16.5h14M18.5 16.5h13'/%3E%3Crect x='14.5' y='14.5' width='4' height='4' fill='none'/%3E%3C/g%3E%3Cg stroke='black' stroke-width='1' fill='none'%3E%3Cpath d='M16.5 0.5v14M16.5 18.5v13M0.5 16.5h14M18.5 16.5h13'/%3E%3Crect x='14.5' y='14.5' width='4' height='4' fill='black'/%3E%3C/g%3E%3C/svg%3E") 16 16, pointer;
  --ease: cubic-bezier(.2, .75, .2, 1);
}
/* Dark mode: follows the device unless the visitor picks one with the switch in the top bar
   (main.js stores it and sets data-theme on <html>) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --desk: #000;
    --desk-ink: #ececec;
    --desk-muted: #9c9c9c;
    --desk-line: rgba(255, 255, 255, .15);
    --desk-hover: rgba(255, 255, 255, .06);
    --accent: #7d8cff;
    --cover-edge: 0 0 0 1px rgba(255, 255, 255, .1); /* black covers keep an edge on the black desk */
    --cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg stroke='black' stroke-opacity='.4' stroke-width='3' fill='none'%3E%3Cpath d='M16.5 0.5v14M16.5 18.5v13M0.5 16.5h14M18.5 16.5h13'/%3E%3Crect x='14.5' y='14.5' width='4' height='4' fill='none'/%3E%3C/g%3E%3Cg stroke='white' stroke-width='1' fill='none'%3E%3Cpath d='M16.5 0.5v14M16.5 18.5v13M0.5 16.5h14M18.5 16.5h13'/%3E%3Crect x='14.5' y='14.5' width='4' height='4' fill='none'/%3E%3C/g%3E%3C/svg%3E") 16 16, crosshair;
    --cursor-hot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg stroke='black' stroke-opacity='.4' stroke-width='3' fill='none'%3E%3Cpath d='M16.5 0.5v14M16.5 18.5v13M0.5 16.5h14M18.5 16.5h13'/%3E%3Crect x='14.5' y='14.5' width='4' height='4' fill='none'/%3E%3C/g%3E%3Cg stroke='white' stroke-width='1' fill='none'%3E%3Cpath d='M16.5 0.5v14M16.5 18.5v13M0.5 16.5h14M18.5 16.5h13'/%3E%3Crect x='14.5' y='14.5' width='4' height='4' fill='white'/%3E%3C/g%3E%3C/svg%3E") 16 16, pointer;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --desk: #000;
  --desk-ink: #ececec;
  --desk-muted: #9c9c9c;
  --desk-line: rgba(255, 255, 255, .15);
  --desk-hover: rgba(255, 255, 255, .06);
  --accent: #7d8cff;
  --cover-edge: 0 0 0 1px rgba(255, 255, 255, .1); /* black covers keep an edge on the black desk */
  --cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg stroke='black' stroke-opacity='.4' stroke-width='3' fill='none'%3E%3Cpath d='M16.5 0.5v14M16.5 18.5v13M0.5 16.5h14M18.5 16.5h13'/%3E%3Crect x='14.5' y='14.5' width='4' height='4' fill='none'/%3E%3C/g%3E%3Cg stroke='white' stroke-width='1' fill='none'%3E%3Cpath d='M16.5 0.5v14M16.5 18.5v13M0.5 16.5h14M18.5 16.5h13'/%3E%3Crect x='14.5' y='14.5' width='4' height='4' fill='none'/%3E%3C/g%3E%3C/svg%3E") 16 16, crosshair;
  --cursor-hot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg stroke='black' stroke-opacity='.4' stroke-width='3' fill='none'%3E%3Cpath d='M16.5 0.5v14M16.5 18.5v13M0.5 16.5h14M18.5 16.5h13'/%3E%3Crect x='14.5' y='14.5' width='4' height='4' fill='none'/%3E%3C/g%3E%3Cg stroke='white' stroke-width='1' fill='none'%3E%3Cpath d='M16.5 0.5v14M16.5 18.5v13M0.5 16.5h14M18.5 16.5h13'/%3E%3Crect x='14.5' y='14.5' width='4' height='4' fill='white'/%3E%3C/g%3E%3C/svg%3E") 16 16, pointer;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
html { font-synthesis: none; } /* never fake a bold or slanted version */
html {
  -webkit-tap-highlight-color: transparent; /* no grey flash on tap: every control has its own pressed state */
  -webkit-text-size-adjust: 100%; /* iOS keeps the type size when the phone turns sideways */
  text-size-adjust: 100%;
}
/* taps act at once (no wait to see whether it's a double-tap zoom) */
a, button, [role="button"], .card, .reel__frame { touch-action: manipulation; }
/* a long press on a control doesn't select its label or open the link menu */
button, .btn, .bar__link, .round-btn, .pill, .reel__big { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
html { cursor: var(--cursor); }
a, button, label, summary, select, [role="button"], input[type="checkbox"], input[type="radio"] { cursor: var(--cursor-hot); }
input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"], [type="button"], [type="submit"]),
textarea, [contenteditable="true"] { cursor: text; }
/* the desk the books sit on: white in light mode, black in dark mode */
body, .reader { background-color: var(--desk); }
body {
  color: var(--desk-ink);
  font: 14px/1.45 var(--font-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}
button { font: inherit; color: inherit; }
img { -webkit-user-drag: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { /* read by screen readers, not shown */
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.app {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
body.is-shelf { overflow-x: hidden; overflow-y: auto; } /* the landing scrolls down to the animation */
.shelf, .reader { min-width: 0; animation: view-in .5s var(--ease); }
.shelf__screen, .reader {
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* a wide carousel or book never widens the page */
}
.shelf__screen {
  height: 100vh;
  height: 100svh;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.reader { /* the open book covers the whole window */
  position: fixed;
  inset: 0;
  overscroll-behavior: contain;
  z-index: 40;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
@keyframes view-in { from { opacity: 0; transform: scale(.985); } }

/* ---------- Bars and buttons ---------- */
.bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: max(14px, env(safe-area-inset-top)) var(--gutter) 14px;
}
.bar--bottom { gap: 14px; padding: 12px var(--gutter) max(14px, env(safe-area-inset-bottom)); }
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.brand b { font: 800 16px/1 var(--font-display); letter-spacing: -.01em; }
.bar__nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.bar__theme { /* light / dark switch */
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 24px; height: 24px;
  margin: -4px -4px -4px 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: inherit;
}
.bar__theme::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; } /* a 40px target for a 24px icon */
.bar__theme svg { width: 15px; height: 15px; transition: transform 250ms var(--ease); }
.bar__theme[aria-pressed="true"] svg { transform: rotate(180deg); }
/* the light / dark crossfade (main.js, where the browser has View Transitions) */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 200ms; animation-timing-function: var(--ease); }
.bar__link {
  color: inherit;
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid var(--desk-line);
  transition: border-color .2s;
}
.bar__link:not([href]) { color: var(--desk-muted); border-color: transparent; cursor: inherit; } /* waiting for its section */
/* Landing top bar: name on the left, the page's main points in the middle, email and the switch on the right */
.shelf__screen > .bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); column-gap: 24px; }
.shelf__screen > .bar .brand { justify-self: start; }
.bar__sections { margin-left: 0; }
.bar__end { justify-self: end; }
.bar__title {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--desk-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bar__actions { display: flex; gap: 6px; }

.btn, .round-btn {
  border: 1px solid var(--desk-line);
  background: transparent;
  cursor: var(--cursor-hot);
  transition: background-color .2s, border-color .2s, color .2s, opacity .2s, transform 160ms var(--ease);
}
/* pressed: a small give, on mouse and touch alike */
.btn:active:not(:disabled), .round-btn:active:not(:disabled) { transform: scale(.97); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 99px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
a.btn { color: inherit; text-decoration: none; }
.btn { font-family: var(--font-display); font-weight: 800; }
.btn--solid { background: var(--desk-ink); border-color: var(--desk-ink); color: var(--desk); }
.round-btn {
  flex: none;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.btn svg, .round-btn svg { width: 15px; height: 15px; }
/* Hover styles only for a real mouse or trackpad: on a phone they'd stay stuck on after a tap */
@media (hover: hover) and (pointer: fine) {
  .bar__theme:hover { background: var(--desk-hover); }
  .bar__link[href]:hover { border-color: currentColor; }
  .btn:hover, .round-btn:hover:not(:disabled) { background: var(--desk-hover); }
  .btn--solid:hover { background: var(--desk-ink); opacity: .85; }
  .reel__big:hover { transform: translate(-50%, -50%) scale(1.06); }
  .pill:hover { background: rgba(128, 128, 128, .15); }
  .logos.is-moving:hover .logos__belt { animation-play-state: paused; }
}
.round-btn:disabled { opacity: .3; cursor: var(--cursor); }
#soundBtn .i-mute, #soundBtn[aria-pressed="false"] .i-wave { display: none; }
#soundBtn[aria-pressed="false"] .i-mute { display: inline; }

/* ==========================================================================
   Projects carousel
   ========================================================================== */
.carousel {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  touch-action: pan-y; /* horizontal swipes move the strip */
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none; /* a long press on a book doesn't open the image menu */
  /* books fade in and out at the edges as they drift across */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.carousel.is-dragging { cursor: grabbing; }
.carousel__track {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  display: flex;
  align-items: center;
  gap: var(--gap, 56px);
  will-change: transform;
}

/* transform and opacity are set every frame from main.js; each card is its own layer, so that
   only moves it rather than repainting the strip and its soft shadows */
.card {
  position: relative;
  will-change: transform, opacity;
  flex: 0 0 var(--cw, 300px);
  aspect-ratio: 8 / 9;
  cursor: var(--cursor-hot);
}
/* page edges of the closed book */
.card::after {
  content: "";
  position: absolute;
  top: 1%; bottom: 1%;
  left: calc(100% - 1px);
  width: 1.6%;
  border-radius: 0 2px 2px 0;
  background: repeating-linear-gradient(90deg, #d2d2ce 0 1px, #fbfbf9 1px 2px);
  box-shadow: 0 1.4vmin 3.5vmin -1.4vmin rgba(0, 0, 0, .1);
}
.card__btn {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: var(--cursor-hot);
  border-radius: 2px;
  transition: transform .45s var(--ease);
}
.card__cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
  text-align: left;
  border-radius: 1px 3px 3px 1px;
  box-shadow: 0 3vmin 8vmin -3vmin rgba(0, 0, 0, .13), 0 .3vmin 1.2vmin -.3vmin rgba(0, 0, 0, .06), var(--cover-edge); /* as soft as it can be while white covers keep an edge */
  pointer-events: none;
}
.card__cover .page {
  position: absolute;
  top: 0; left: 0;
  width: 800px;
  height: 900px;
  transform: scale(var(--s, .4));
  transform-origin: 0 0;
}
@media (hover: hover) and (pointer: fine) {
  .carousel:not(.is-dragging) .card:hover .card__btn { transform: translateY(-10px) rotate(-.6deg); }
}

.shelf__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  padding: 6px var(--gutter) max(22px, env(safe-area-inset-bottom));
}
.shelf__num {
  font: 100 clamp(40px, 4.4vw, 58px)/.8 var(--font-display);
  letter-spacing: -.04em;
}
.shelf__text { min-width: 0; }
.shelf__title {
  margin: 0;
  font: 800 clamp(22px, 2.6vw, 34px)/1 var(--font-display);
  letter-spacing: -.02em;
}
.shelf__meta { margin: 6px 0 0; font-size: 13px; letter-spacing: .04em; color: var(--desk-muted); }
.shelf__controls { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.shelf__pager {
  margin-right: 8px;
  font: 800 13px/1 var(--font-display);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.shelf__pager span { font-family: var(--font-text); font-weight: 400; color: var(--desk-muted); }

@media (max-width: 600px) {
  .shelf__controls { width: 100%; margin-left: 0; }
  .shelf__controls .btn { flex: 1; }
}

/* ==========================================================================
   Motion: animations under the carousel
   ========================================================================== */
.motion {
  padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 7vw, 96px);
}
.motion__item + .motion__item { margin-top: clamp(56px, 8vw, 112px); }
/* title, description and button sit under the video on the page grid */
.motion__text {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px clamp(24px, 6vw, 96px);
  padding: clamp(28px, 4vw, 52px) var(--gutter) 0;
}
.motion__kicker { margin: 0 0 12px; font-size: 15px; color: var(--desk-muted); } /* plain Tomato Grotesk, like the captions */
.motion__title {
  margin: 0;
  font: 800 clamp(40px, 6vw, 84px)/.86 var(--font-display);
  letter-spacing: -.04em;
}
.motion__body { position: relative; margin: 0; max-width: calc(40ch + 24px); padding-left: 24px; font-size: 16px; line-height: 1.6; color: var(--desk-muted); }
/* a faded hairline plus marks the description, like a bullet, centred on its first line */
.motion__body::before {
  content: "";
  position: absolute;
  left: 0; top: calc(.8em - 5px);
  width: 11px; height: 11px;
  background:
    linear-gradient(var(--desk-ink), var(--desk-ink)) center / 100% 1px no-repeat,
    linear-gradient(var(--desk-ink), var(--desk-ink)) center / 1px 100% no-repeat;
  opacity: .22; /* a pale grey in either theme */
}
@media (max-width: 760px) {
  .motion__text { grid-template-columns: minmax(0, 1fr); align-items: start; justify-items: start; }
}

/* Video player: landscape, edge to edge */
.reel { margin: 0; min-width: 0; }
.reel__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9; /* full width but short: a wide, cinema-like strip */
  max-height: 100svh;
  overflow: hidden;
  background: #000;
  cursor: var(--cursor-hot);
}
/* each render is cropped to the strip around its product; --pos sets where the crop sits.
   It overhangs the strip by 1px top and bottom: the 21:9 height is fractional, and the
   rounding would otherwise leave a hairline of the strip's black background along an edge. */
.reel__video {
  position: absolute;
  top: -1px; left: 0;
  display: block;
  width: 100%;
  height: calc(100% + 2px);
  object-fit: cover;
  object-position: var(--pos, 50% 48%);
  background: #000;
}
.reel__big {
  position: absolute;
  left: 50%; top: 50%;
  width: clamp(64px, 9vw, 92px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #0d0d0d;
  transform: translate(-50%, -50%);
  cursor: var(--cursor-hot);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6);
  transition: transform .35s var(--ease), opacity .3s var(--ease);
}
.reel__big svg { width: 38%; height: 38%; fill: currentColor; }
.reel__big .i-pause, .reel.is-playing .reel__big:focus-visible .i-play { display: none; }
.reel.is-playing .reel__big:focus-visible .i-pause { display: block; }
.reel.is-playing .reel__big { opacity: 0; transform: translate(-50%, -50%) scale(.85); pointer-events: none; }
.reel.is-playing .reel__big:focus-visible { opacity: 1; transform: translate(-50%, -50%); } /* keyboard users can still find the pause button */

/* a render on white (Tangerine) is shown whole in the strip, on its own white, with a dark play button */
.reel--whole .reel__frame, .reel--whole .reel__video { background: #fff; }
.reel--whole .reel__video { object-fit: contain; }
.reel--whole .reel__big { background: rgba(13, 13, 13, .88); color: #fff; }

/* ---------- Text rising into view on scroll (main.js adds .is-in, then drops both classes) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; }
.js .reveal:focus-visible, .js .reveal:focus-within { opacity: 1; } /* never tab onto something invisible */
.js .reveal.is-in { animation: rise .9s var(--ease) var(--d, 0s) both; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; }
  .js .reveal.is-in { animation: none; }
}

/* ==========================================================================
   Companies: a strip of logos drifting along above the footer
   ========================================================================== */
/* A banner: while the animations are on screen it sticks to the bottom of the window (inside .motion-run)
   and they scroll behind it; after the last one it settles above the footer */
.logos {
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding: clamp(18px, 2.6vw, 34px) 0;
  background: var(--desk);
}
.logos__viewport { overflow: hidden; }
.logos__belt { display: flex; }
.logos__track {
  --logo-gap: clamp(48px, 7vw, 104px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px var(--logo-gap);
  width: 100%;
  margin: 0;
  padding: 0 var(--gutter);
  list-style: none;
}
.logos__item {
  flex: none;
  font: 800 clamp(20px, 2.2vw, 28px)/1 var(--font-display);
  letter-spacing: -.02em;
  white-space: nowrap;
  color: var(--desk-ink);
}
.logos__item img {
  display: block;
  width: auto; height: clamp(22px, 2.6vw, 34px); max-width: 180px;
  filter: brightness(0); /* any logo, in black */
}
:root[data-theme="dark"] .logos__item img { filter: brightness(0) invert(1); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logos__item img { filter: brightness(0) invert(1); }
}
/* Moving (main.js repeats the list to fill the screen; the belt slides along by one copy and loops).
   Without script, or with reduced motion, the logos sit still in a centred row. */
.logos.is-moving .logos__viewport {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); /* fade at the edges */
}
.logos.is-moving .logos__belt { width: max-content; animation: logos var(--dur, 40s) linear infinite; }
.logos.is-moving .logos__track { flex-wrap: nowrap; width: auto; padding: 0 var(--logo-gap) 0 0; }
@keyframes logos { to { transform: translateX(calc(-100% / var(--copies, 1))); } }

.site-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 22px var(--gutter) max(24px, env(safe-area-inset-bottom));
  font-size: 13px;
  color: var(--desk-muted);
}
.site-foot a { color: inherit; }

/* on phones the main points move to a second row under the name, so the email keeps its corner */
@media (max-width: 760px) {
  .shelf__screen > .bar { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "brand end" "sections sections"; row-gap: 12px; }
  .shelf__screen > .bar .brand { grid-area: brand; }
  .bar__end { grid-area: end; }
  .bar__sections { grid-area: sections; }
}
@media (max-width: 420px) { .bar__nav { gap: 14px; } }

/* ==========================================================================
   Reader
   ========================================================================== */
.stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow-x: clip;
}
.book-wrap {
  position: relative;
  opacity: 0;
  touch-action: pinch-zoom; /* swipes turn the page; the browser doesn't try to pan */
  transition: transform .9s var(--ease), opacity .7s var(--ease);
}
.book-wrap.is-ready { opacity: 1; }
/* while a book is being set up it takes its resting position without sliding */
.book-wrap.no-anim, .book-wrap.no-anim .book-base,
.book-wrap.no-anim .book-base::before, .book-wrap.no-anim .book-base::after { transition: opacity .7s var(--ease) !important; }
/* A closed book shows one page: slide it so that page sits in the middle */
.book-wrap.is-shift-front { transform: translateX(-25%); }
.book-wrap.is-shift-back { transform: translateX(25%); }
.book { position: relative; z-index: 1; }

/* Shadow + page edges under the visible pages (geometry set from main.js) */
.book-base {
  position: absolute;
  left: var(--bx, 0); top: var(--by, 0);
  width: var(--bw, 0); height: var(--bh, 0);
  border-radius: 2px;
  box-shadow: 0 3vmin 8vmin -3vmin rgba(0, 0, 0, .13), 0 .3vmin 1.2vmin -.3vmin rgba(0, 0, 0, .06), var(--cover-edge);
  transition: left .9s var(--ease), width .9s var(--ease);
}
.book-base::before, .book-base::after {
  content: "";
  position: absolute;
  top: 1px; bottom: -1px;
  background: repeating-linear-gradient(90deg, #d4d4d0 0 1px, #fbfbf9 1px 2px);
  transition: width .9s var(--ease);
}
.book-base::before { right: 100%; width: var(--lt, 0px); border-radius: 2px 0 0 2px; }
.book-base::after { left: 100%; width: var(--rt, 0px); border-radius: 0 2px 2px 0; }
.is-closed-front .book-base, .is-single .book-base { left: calc(var(--bx) + var(--pw)); width: var(--pw); }
.is-closed-back .book-base { width: var(--pw); }
.is-closed-front .book-base::before, .is-closed-front .book-base::after,
.is-closed-back .book-base::before, .is-closed-back .book-base::after,
.is-single .book-base::before { width: 0; }

.hint {
  position: absolute;
  left: 50%;
  bottom: 4px;
  z-index: 5;
  margin: 0;
  padding: 6px 12px;
  transform: translateX(-50%);
  border-radius: 99px;
  background: var(--desk);
  color: var(--desk-muted);
  font-size: 12px;
  letter-spacing: .03em;
  white-space: nowrap;
  max-width: calc(100% - 32px);
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.hint.is-hidden { opacity: 0; }

.counter {
  min-width: 9ch;
  font: 800 13px/1 var(--font-display);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.counter span { font-family: var(--font-text); font-weight: 400; color: var(--desk-muted); }
.progress { position: relative; flex: 1; height: 1px; background: var(--desk-line); overflow: hidden; }
.progress__fill {
  position: absolute; inset: 0;
  background: var(--desk-ink);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform .7s var(--ease);
}

/* ==========================================================================
   Pages
   Everything inside a page is sized in cqw / cqh (percent of the page), so the
   layout scales with the book like a printed spread.
   ========================================================================== */
.page {
  container: page / size;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.page--dark { background: var(--night); color: var(--night-ink); }
.page a > *, .page button > * { pointer-events: none; } /* let links and buttons take the click instead of turning the page */

.page__inner {
  --fit: 1; /* lowered per page by main.js if text would overflow on small screens */
  --px: 7.5cqw;
  --pt: 14cqw;
  --pb: 9.5cqw;
  --fs-body: calc(var(--fit) * max(var(--floor, 8.5px), 1.95cqw));
  --fs-small: calc(var(--fit) * max(var(--floor-sm, 7.5px), 1.55cqw));
  --fs-label: calc(var(--fit) * max(var(--floor-sm, 7px), 1.6cqw));
  --fs-kicker: calc(var(--fit) * max(11px, 2.7cqw));
  --fs-title: calc(var(--fit) * max(18px, 6.2cqw));

  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: var(--pt) var(--px) var(--pb);
  font-size: var(--fs-body);
  line-height: 1.5;
}
.is-single { --floor: 11px; --floor-sm: 9.5px; }

/* Running head + folio */
.page__head {
  position: absolute;
  z-index: 3;
  top: 5.6cqw;
  left: var(--px);
  right: var(--px);
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-small);
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
}
.page__folio {
  position: absolute;
  z-index: 3;
  bottom: 4.8cqw;
  right: var(--px);
  font-size: var(--fs-small);
  line-height: 1;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.page--dark .page__head, .page--dark .page__folio { color: var(--night-muted); }
.page--band .page__head { color: rgba(255, 255, 255, .6); }
.page--band .page__head, .page--plate .page__head, .page--plate .page__folio { text-shadow: 0 0 .8em rgba(0, 0, 0, .7); } /* stays legible over light renders */
.is-spread .page--l .page__head span:last-child,
.is-spread .page--r .page__head span:first-child { visibility: hidden; }
.is-spread .page--l .page__folio { right: auto; left: var(--px); }

/* Gutter shading: makes two flat pages read as a bound spread */
.page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .05) 2%, rgba(0, 0, 0, 0) 7%);
}
.is-spread .page--l::after {
  background: linear-gradient(270deg, rgba(0, 0, 0, .17), rgba(0, 0, 0, .05) 2.5%, rgba(0, 0, 0, 0) 8%);
}
.page--dark::after { background: linear-gradient(90deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 5%); }
.is-spread .page--dark.page--l::after { background: linear-gradient(270deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 5%); }

/* ---------- Layout helpers ---------- */
.page__inner > .end { margin-top: auto; }
.grow { flex: 1 1 0; min-height: 0; }
.page__inner > .grow + .end { margin-top: 5cqw; }
.cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 6cqw;
  align-items: start;
}
.cols > * > :last-child { margin-bottom: 0; }

/* ---------- Type ---------- */
.kicker { margin: 0; font-size: var(--fs-kicker); line-height: 1.1; letter-spacing: -.01em; }
.title {
  margin: .1em 0 0;
  font: 800 var(--fs-title)/.95 var(--font-display);
  letter-spacing: -.015em;
  text-transform: uppercase;
}
.title--sentence { text-transform: none; letter-spacing: -.025em; }
.title--sm { margin: 0 0 .8em; font-size: calc(var(--fs-title) * .6); }
.label { margin: 0 0 .9em; font: 800 var(--fs-label)/1.2 var(--font-display); letter-spacing: .01em; }
.label--caps { text-transform: uppercase; letter-spacing: .05em; }
.body, .prose p { margin: 0 0 1em; }
.prose { max-width: 64cqw; margin-top: 4.5cqw; }
.prose p { margin-bottom: 1.6em; }
.page--band .page__inner > .body { max-width: 66cqw; }

.meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3cqw;
  margin: 0;
  padding-top: 2.4cqw;
  border-top: 1px solid var(--rule);
  font-size: var(--fs-small);
  line-height: 1.4;
}
.meta dt { margin-bottom: .3em; color: var(--muted); }
.meta dd { margin: 0; }
.cols .meta { grid-template-columns: 1fr; gap: 1.2em; padding-top: 0; border: 0; }
.cols .meta > div { display: grid; grid-template-columns: 6.5em 1fr; }

/* ---------- Figures ---------- */
.fig {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.fig img {
  display: block;
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  object-fit: contain;
}
.fig figcaption { margin-top: 2cqw; font-size: var(--fs-small); color: var(--muted); }
.fig__cap--end { text-align: right; }
.fig-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 5cqw;
}
.fig-row--wide-first { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
/* a tall figure beside a column holding another figure over the text (Sting Rays, Frame 14 right) */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); column-gap: 6cqw; }
.split__col { display: flex; flex-direction: column; min-height: 0; }
.split__col > .end { margin-top: 5cqw; }
.split__col > .end > :last-child { margin-bottom: 0; }

.tag {
  align-self: flex-start;
  margin-bottom: 2.5cqw;
  padding: .6em 1em .5em;
  border-radius: 99px;
  background: #1b1b1b;
  color: #fff;
  font: 800 var(--fs-small)/1 var(--font-display);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Annotations on the sketch pages, with a hand-drawn style leader line */
.fig .note {
  position: relative;
  align-self: flex-end;
  width: 58%;
  margin: 0 0 3cqw;
  font-size: var(--fs-small);
  line-height: 1.35;
  color: #4a4a4a;
}
.note::before {
  content: "";
  position: absolute;
  top: .6em;
  right: calc(100% + 1.2cqw);
  width: 7cqw;
  height: 5cqw;
  border-top: 1px solid #555;
  border-left: 1px solid #555;
  border-top-left-radius: 100% 100%;
}
.fig .note--plain { align-self: center; width: 80%; text-align: center; }
.note--plain::before { display: none; }

/* ---------- Black image band (Frame 38) ---------- */
.page--band .page__inner { --band: 68cqh; padding-top: calc(var(--band) + 5cqw); }
.band {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--band);
  overflow: hidden;
  background: #000;
}
.band img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.band img.fill { object-fit: cover; }
/* two images side by side in the band (Super Slides: colourways | close-up) */
.band--split { display: grid; grid-template-columns: 40% 60%; }
.band--split img { position: static; width: 100%; height: 100%; min-width: 0; }
.band__code {
  position: absolute;
  left: var(--px);
  bottom: 3.4cqw;
  font-size: var(--fs-small);
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .55);
}
/* .span images are twice as wide as a page: each half shows on its own page */
.is-spread .band .span { width: 200%; object-fit: cover; }
.is-spread .band .span--r { left: -100%; }
.is-single .band .span--r { object-fit: cover; object-position: 84% 50%; }

/* ---------- Covers ---------- */
.page--cover { background: radial-gradient(130% 100% at 15% 0%, #1e1e1e 0%, #0b0b0b 55%, #050505 100%); }
.page--board { background: #fff; color: var(--ink); }
.page--cover::after { display: none; }
.page--cover::before { /* the hinge groove of a hardback */
  content: "";
  position: absolute;
  z-index: 6;
  top: 0; bottom: 0;
  left: 3.4%;
  width: 1.3%;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(255, 255, 255, .07) 55%, rgba(0, 0, 0, .35));
}
.page--board::before { background: linear-gradient(90deg, rgba(0, 0, 0, .14), rgba(255, 255, 255, .7) 55%, rgba(0, 0, 0, .08)); }
.is-spread .page--cover.page--l::before { left: auto; right: 3.4%; }

.cover { justify-content: space-between; padding: 6cqw var(--px) 7cqw 10cqw; }
/* "Issue 01" in the bottom-right corner of every front cover, level with the foot of the title */
.cover__issue {
  position: absolute;
  z-index: 1;
  right: var(--px); bottom: 7cqw;
  margin: 0;
  font: 200 2.3cqw/1 var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.cover__img {
  position: absolute;
  top: 14%;
  left: 0;
  width: 100%;
  height: 52%;
  object-fit: cover;
  object-position: 90% 50%;
  mix-blend-mode: lighten; /* the render's black backdrop melts into the cover */
}
.cover__img--drawing {
  top: 11%;
  left: 13%;
  width: 82%;
  height: 58%;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}
/* Tangerine: the render, whole, above the title. The covers take on the render's own off-white
   (.page--tangerine), so the picture sits on them without an edge. */
.page--board.page--tangerine { background: #f9f7f7; }
/* the cover frame from Figma, full bleed: its lights fall diagonally off the edges, behind the title */
.cover__img--photo {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  mix-blend-mode: normal;
}
/* a large drawing with an even margin of white around it, above the title (Vivonne Cabin) */
.cover__img--fill { top: 5%; left: 7%; width: 86%; height: 63%; }
.cover__top, .cover__foot { position: relative; }
.cover__top {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-small);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8a8a8a;
}
.cover__kicker {
  margin: 0 0 1.4em;
  font-size: var(--fs-small);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9a9a9a;
}
.cover__title {
  margin: 0;
  font: 800 calc(var(--fit) * 15cqw)/.84 var(--font-display);
  letter-spacing: -.04em;
}
.page--board .cover__top, .page--board .cover__kicker { color: #75756f; }

.backcover { align-items: center; justify-content: center; text-align: center; }
.backcover__mark { margin: 0; font: 800 var(--fs-title)/1 var(--font-display); letter-spacing: -.025em; }
.backcover__sub { margin: .9em 0 3em; font-size: var(--fs-small); letter-spacing: .04em; opacity: .55; }
.backcover__actions { display: flex; flex-direction: column; align-items: center; gap: 1.1em; }
.pill {
  min-width: 15em;
  padding: 1.1em 1.9em 1em;
  border: 1px solid rgba(128, 128, 128, .45);
  border-radius: 99px;
  background: transparent;
  color: inherit;
  font: 800 var(--fs-small)/1 var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: var(--cursor-hot);
  transition: background-color .2s;
}

/* ---------- Figma frames (Studio projects, and Sting Rays): each frame runs across a spread ---------- */
.page__inner--frame { padding: 0; background: linear-gradient(var(--tone-top, #fff) 50%, var(--tone-bottom, #fff) 50%); }
.frame {
  position: absolute;
  top: 0; left: 0;
  width: 200%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}
.frame--r { left: -100%; }

/* Cover style "image": a photo fills the whole cover */
.cover__img--centred { object-position: 50% 53%; }
.cover__img--full { top: 0; height: 100%; object-position: center; mix-blend-mode: normal; }
.page--cover-image .cover::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .7));
  pointer-events: none;
}
.page--cover-image .cover__top, .page--cover-image .cover__foot, .page--cover-image .cover__issue { z-index: 1; color: #fff; }
.page--cover-image .cover__top, .page--cover-image .cover__kicker { color: rgba(255, 255, 255, .78); }

/* ---------- Full-page plates (Super Slides) ---------- */
.page--plate { background: #000; } /* the renders' own black, so a contained image sits seamlessly */
.plate__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
/* a plate image that runs across both pages of a spread (as .band .span does) */
.is-spread .plate__img.span { width: 200%; }
.is-spread .plate__img.span--r { left: -100%; }
.is-single .plate__img.span--l { object-position: 0% 50%; }
.is-single .plate__img.span--r { object-position: 100% 50%; }
/* wide side views show whole, with room around them, rather than cropped to the page */
.plate__img--whole { object-fit: contain; }
.page--plate .page__inner::after { /* a soft fade so the caption and page number read over light renders */
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  z-index: 2;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .55));
  pointer-events: none;
}
.plate__caption {
  position: absolute;
  z-index: 3;
  left: var(--px);
  bottom: 4.8cqw;
  margin: 0;
  font-size: var(--fs-small);
  line-height: 1;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .7);
  text-shadow: 0 0 .8em rgba(0, 0, 0, .7);
}
.plate__caption b { margin-right: .6em; font-family: var(--font-display); font-weight: 800; color: #fff; }
.is-spread .page--l .plate__caption { left: auto; right: var(--px); } /* the left page's number sits bottom-left */

/* ---------- Images only, for now ----------
   While the text presentation is being reworked, <html class="book-text-off"> hides every piece of text
   inside the books except the cover titles and the back-cover buttons. Remove the class to bring it back. */
.book-text-off .page :is(.page__head, .page__folio, .cover__top, .cover__kicker, .backcover__sub,
  .kicker, .title, .label, .body, .prose, .meta, .tag, .cols, .note, .fig figcaption, .plate__caption, .band__code) { display: none; }
.book-text-off .page--plate .page__inner::after { display: none; }
.book-text-off .cover__foot { margin-top: auto; } /* the title keeps to the foot of the cover */
.book-text-off .backcover__mark { margin-bottom: 1.6em; } /* the gap the subtitle used to make */
/* with no text under it, a black band sits centred on a black page */
.book-text-off .page--band { background: #000; }
.book-text-off .page--band .band { top: calc((100cqh - var(--band)) / 2); }
/* a text-only page facing a dark plate turns dark too, so the spread reads as one */
.book-text-off .page--off-dark { background: #000; }

/* ---------- Narrow pages (phones) ---------- */
@container page (max-width: 440px) {
  .cols { grid-template-columns: 1fr; row-gap: 1.6em; }
  .cols > :empty { display: none; } /* a spacer column only matters side by side */
  .split { display: flex; flex-direction: column; row-gap: 5cqw; }
  .split > .fig { flex: 1 1 0; }
  .split__col { flex: 1.5 1 0; }
  .prose { max-width: none; }
  .meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container page (aspect-ratio < .8) {
  .page--band .page__inner { --band: 46cqh; }
}

/* ==========================================================================
   Without JavaScript: the books simply stack as spreads
   ========================================================================== */
.js .library { display: none; }
.no-js body { overflow: auto; }
.no-js .app { display: none; }
.no-js .book-src {
  --sw: min(560px, 46vw);
  display: grid;
  grid-template-columns: repeat(2, var(--sw));
  justify-content: center;
  row-gap: 28px;
  padding: 32px 0;
}
.no-js .book-src .page {
  position: relative;
  width: var(--sw);
  height: calc(var(--sw) * 1.125);
  box-shadow: 0 20px 48px -24px rgba(0, 0, 0, .13);
}
.no-js .book-src .page:first-child { grid-column: 2; }

/* <noscript> note in place of the books */
.noscript { max-width: 44ch; margin: 0 auto; padding: 48px var(--gutter); font-size: 16px; line-height: 1.6; }
.noscript a { color: inherit; }

/* Offscreen copy used by main.js to measure text fit */
.measure { position: fixed; top: 0; left: -100000px; visibility: hidden; pointer-events: none; }
.measure .page { position: absolute; top: 0; left: 0; }

@media (prefers-reduced-motion: reduce) {
  .shelf, .reader { animation: none; }
  .reel__big, .bar__theme svg { transition: none; }
  .btn:active:not(:disabled), .round-btn:active:not(:disabled) { transform: none; }
  .book-wrap, .book-base, .book-base::before, .book-base::after, .progress__fill, .card__btn { transition-duration: .01s; }
}
