/* ------------------------------------------------------------- 1. tokens */
/* Ivory paper, deep-sea ink, brass ornament. Every colour is a token: swapping
   --accent and --rule re-skins the whole menu. The brand's sand-and-gold
   alternative is kept at the bottom of this block, commented out. */
:root {
  color-scheme: light;

  /* paper & ink */
  --paper:        #f6efe2;
  --paper-page:   #fdf9f1;
  --paper-sunk:   #efe5d3;
  --ink:          #14313b;
  --ink-soft:     #5d7681;
  --ink-faint:    #93a4ac;
  --rule:         #ded0b8;

  /* accents */
  --accent:       #0e5a6b;
  --brass:        #a8802f;
  --brass-soft:   #c9a55c;
  --coral:        #b4462f;

  /* strength of the arabesque paper texture */
  --grain:        .05;

  --shadow-sm: 0 1px 2px rgb(20 49 59 / .06), 0 2px 8px rgb(20 49 59 / .05);
  --shadow-md: 0 4px 14px rgb(20 49 59 / .10), 0 18px 40px rgb(20 49 59 / .10);
  --shadow-lg: 0 -8px 40px rgb(20 49 59 / .18);

  /* type */
  --font-ar-display: 'Amiri', 'Times New Roman', serif;
  --font-ar-body:    'Tajawal', 'Segoe UI', system-ui, sans-serif;
  --font-en-display: 'Cormorant Garamond', 'Amiri', Georgia, serif;
  --font-en-body:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --font-display: var(--font-ar-display);
  --font-body:    var(--font-ar-body);

  /* metrics */
  --topbar-h: 118px;
  --pager-h:  56px;
  --page-pad: 20px;
  --radius:   14px;
  --safe-b:   env(safe-area-inset-bottom, 0px);
}

/* Sand-and-gold alternative, matching the printed menu cards. To use it,
   uncomment this block — it only overrides the four colours that differ.
:root {
  --paper:      #efe4d1;
  --paper-page: #faf4e8;
  --paper-sunk: #e8dcc6;
  --ink:        #3b2b1c;
  --ink-soft:   #7a6449;
  --ink-faint:  #a8957c;
  --rule:       #d8c5a0;
  --accent:     #8a6a2a;
}
*/

html[lang='en'] {
  --font-display: var(--font-en-display);
  --font-body:    var(--font-en-body);
}

/* The page always carries an explicit data-theme, so this block is only a
   safety net for the case where theme.js never ran. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --paper:      #0a1c22;
    --paper-page: #0e242c;
    --paper-sunk: #08171c;
    --ink:        #eee3d0;
    --ink-soft:   #a3b6bd;
    --ink-faint:  #6d848d;
    --rule:       #24424c;
    --accent:     #57bcd0;
    --brass:      #d9b46a;
    --brass-soft: #a8873f;
    --coral:      #e0765b;
    --grain:      .07;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / .3);
    --shadow-md: 0 4px 14px rgb(0 0 0 / .35), 0 18px 40px rgb(0 0 0 / .3);
    --shadow-lg: 0 -8px 40px rgb(0 0 0 / .5);
  }
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --paper:      #0a1c22;
  --paper-page: #0e242c;
  --paper-sunk: #08171c;
  --ink:        #eee3d0;
  --ink-soft:   #a3b6bd;
  --ink-faint:  #6d848d;
  --rule:       #24424c;
  --accent:     #57bcd0;
  --brass:      #d9b46a;
  --brass-soft: #a8873f;
  --coral:      #e0765b;
  --grain:      .07;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .3);
  --shadow-md: 0 4px 14px rgb(0 0 0 / .35), 0 18px 40px rgb(0 0 0 / .3);
  --shadow-lg: 0 -8px 40px rgb(0 0 0 / .5);
}

/* -------------------------------------------------------------- 2. reset */
*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

h1, h2, h3, p, figure { margin: 0; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }

svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

:where(button, a, input, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed; inset-block-start: -100px; inset-inline-start: 12px;
  z-index: 100; padding: 10px 16px; border-radius: 0 0 10px 10px;
  background: var(--accent); color: #fff; text-decoration: none;
}
.skip-link:focus { inset-block-start: 0; }

/* ------------------------------------------------------------- 3. topbar */
.topbar {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  border-block-end: 1px solid var(--rule);
  padding-block-start: env(safe-area-inset-top, 0px);
}

.topbar__inner {
  display: grid;
  /* both side cells are the same width so the brand stays optically centred
     even though one side holds two buttons */
  grid-template-columns: 86px 1fr 86px;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 6px;
}
.topbar__inner > .icon-btn { justify-self: start; }
.topbar__actions { display: flex; align-items: center; gap: 2px; justify-self: end; }

.brand { text-align: center; line-height: 1.15; min-width: 0; }

.brand__name {
  display: block;
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700;
  letter-spacing: .01em;
  color: var(--ink);
}

.brand__tag {
  display: block;
  font-size: 11px; font-weight: 500;
  letter-spacing: .09em;
  color: var(--brass);
  text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
html[lang='ar'] .brand__tag { letter-spacing: 0; text-transform: none; font-size: 12px; }

/* On the narrowest phones the tagline can only fit as a truncated stub, and
   "SEAFOOD & GU…" looks like a bug. Drop it and keep the name clean. */
@media (max-width: 359px) {
  .brand__tag { display: none; }
  .topbar__inner { grid-template-columns: 80px 1fr 80px; padding-inline: 10px; }
}

.icon-btn, .lang-btn {
  display: grid; place-items: center;
  inline-size: 40px; block-size: 40px;
  border: 1px solid transparent; border-radius: 50%;
  background: transparent; color: var(--ink-soft);
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.icon-btn:hover, .lang-btn:hover { background: var(--paper-sunk); color: var(--ink); }
.icon-btn[aria-expanded='true'] { background: var(--accent); color: #fff; }

/* one icon per theme; the button shows the mode it switches TO */
#themeToggle .icon-sun { display: none; }
:root[data-theme='dark'] #themeToggle .icon-moon { display: none; }
:root[data-theme='dark'] #themeToggle .icon-sun { display: block; }

.lang-btn {
  font-family: var(--font-en-body);
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  border-color: var(--rule);
}

/* search ------------------------------------------------------------- */
.search {
  display: flex; align-items: center; gap: 8px;
  margin: 0 14px 8px;
  padding: 0 12px;
  background: var(--paper-page);
  border: 1px solid var(--rule); border-radius: 999px;
}
.search__icon { color: var(--ink-faint); flex: none; }
.search__input {
  flex: 1; min-width: 0;
  padding: 10px 0;
  border: 0; background: none; color: inherit;
  font: inherit; font-size: 15px;
}
.search__input:focus { outline: none; }
.search__input::-webkit-search-cancel-button { display: none; }
.search__clear {
  flex: none; border: 0; background: none; cursor: pointer;
  font-size: 22px; line-height: 1; color: var(--ink-faint); padding: 0 4px;
}

/* category tabs ------------------------------------------------------ */
.tabs {
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-block-start: 1px solid color-mix(in srgb, var(--rule) 55%, transparent);
}
.tabs::-webkit-scrollbar { display: none; }

.tabs__track {
  display: flex; gap: 4px;
  padding: 8px 14px;
  width: max-content;
  min-width: 100%;
}

.tab {
  flex: none;
  padding: 7px 15px;
  border: 1px solid transparent; border-radius: 999px;
  background: none; color: var(--ink-soft);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.tab:hover { color: var(--ink); background: var(--paper-sunk); }
.tab[aria-selected='true'] {
  background: var(--accent); border-color: var(--accent);
  color: #fff; font-weight: 700;
}

/* --------------------------------------------------------------- 4. book */
.book {
  display: flex;
  block-size: 100dvh;
  padding-block-start: var(--topbar-h);
  padding-block-end: calc(var(--pager-h) + var(--safe-b));
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.book::-webkit-scrollbar { display: none; }
.book:focus { outline: none; }

.book__loader {
  flex: 0 0 100%;
  display: grid; place-content: center; justify-items: center; gap: 14px;
  color: var(--ink-soft);
}
.spinner {
  inline-size: 30px; block-size: 30px;
  border: 2px solid var(--rule); border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* a page of the book ------------------------------------------------- */
.page {
  flex: 0 0 100%;
  inline-size: 100%;
  block-size: 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--paper-page);
  border-inline: 1px solid var(--rule);
  scrollbar-width: thin;
  position: relative;
}

/* The arabesque tile is the one ornament that may sit behind text, and only
   because it is barely there. Anything stronger — a photo, a solid motif —
   costs more legibility than it buys atmosphere, especially for Arabic at
   14px in a dim dining room. */
.page::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('/assets/img/pattern.svg');
  background-size: 88px 88px;
  opacity: var(--grain);
  pointer-events: none;
}
.page__inner { position: relative; }

.page__inner {
  max-inline-size: 760px;
  margin-inline: auto;
  padding: 22px var(--page-pad) 48px;
}

/* category head ------------------------------------------------------ */
.page__head {
  text-align: center;
  margin-block-end: 26px;
  padding: 22px 18px 18px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: 0 0 0 1px var(--paper-page), 0 0 0 4px color-mix(in srgb, var(--rule) 45%, transparent);
  background: color-mix(in srgb, var(--paper-page) 88%, var(--paper));
}
.page__head--cover { border: 0; box-shadow: none; background: none; }

.page__cover {
  inline-size: 100%;
  block-size: clamp(120px, 26vw, 200px);
  object-fit: cover;
  border-radius: var(--radius);
  margin-block-end: 16px;
  background: var(--paper-sunk);
}

.page__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 700; line-height: 1.2;
  margin-block: 2px 0;
}

.page__desc {
  margin-block-start: 8px;
  font-size: 14px; color: var(--ink-soft);
  max-inline-size: 48ch; margin-inline: auto;
}

.page__ornament {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  margin-block-start: 12px;
  color: var(--brass-soft);
}
.page__ornament svg {
  inline-size: 150px; block-size: auto;
  stroke-width: 1.3;
}
.page__ornament span {
  font-family: var(--font-en-body);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint);
}
html[lang='ar'] .page__ornament span {
  font-family: var(--font-ar-body);
  font-size: 12.5px; letter-spacing: 0; text-transform: none;
}

/* item list ----------------------------------------------------------- */
.items { display: grid; gap: 2px; }

.item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 14px;
  align-items: start;
  inline-size: 100%;
  padding: 14px 10px;
  border: 0; border-radius: 10px;
  background: none;
  text-align: start;
  cursor: pointer;
  transition: background .18s;
}
.item + .item { box-shadow: 0 -1px 0 color-mix(in srgb, var(--rule) 60%, transparent); }
.item:hover { background: color-mix(in srgb, var(--paper-sunk) 60%, transparent); }
.item--has-thumb { grid-template-columns: 66px 1fr; }

.item__thumb {
  grid-row: span 2;
  inline-size: 66px; block-size: 66px;
  object-fit: cover; border-radius: 10px;
  background: var(--paper-sunk);
}

.item__line {
  display: flex; align-items: baseline; gap: 8px;
  min-width: 0;
}

.item__name {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700; line-height: 1.35;
  color: var(--ink);
}
html[lang='en'] .item__name { font-size: 19px; font-weight: 600; }

.item__leader {
  flex: 1 1 auto; min-inline-size: 14px;
  border-block-end: 1px dotted var(--rule);
  transform: translateY(-4px);
}

.item__price {
  flex: none;
  font-family: var(--font-en-body);
  font-size: 16px; font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.item__price small {
  font-size: 10px; font-weight: 600;
  color: var(--ink-faint);
  margin-inline-start: 3px;
}

.item__desc {
  grid-column: -2 / -1;
  font-size: 13.5px; line-height: 1.55;
  color: var(--ink-soft);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

.badge {
  flex: none;
  font-family: var(--font-body);
  font-size: 10px; font-weight: 700; letter-spacing: .04em;
  padding: 2px 7px; border-radius: 999px;
  background: color-mix(in srgb, var(--brass) 16%, transparent);
  color: var(--brass);
  align-self: center;
}
.badge--spicy { background: color-mix(in srgb, var(--coral) 15%, transparent); color: var(--coral); }
.badge--new   { background: color-mix(in srgb, var(--accent) 15%, transparent);   color: var(--accent); }

.page__note {
  margin-block-start: 30px;
  padding-block-start: 16px;
  border-block-start: 1px solid var(--rule);
  text-align: center;
  font-size: 12px; color: var(--ink-faint);
}

/* ------------------------------------------------------ 4b. cover page */
/* The book opens on a title page. It costs the guest one swipe, so it has to
   earn it: brand, ornament, and an unmistakable way forward. */
.page--cover .page__inner {
  min-block-size: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding-block: 40px;
}

.cover__frame {
  inline-size: min(420px, 100%);
  padding: 42px 28px 34px;
  border: 1px solid var(--brass-soft);
  border-radius: 3px;
  box-shadow: 0 0 0 5px var(--paper-page), 0 0 0 6px color-mix(in srgb, var(--brass-soft) 55%, transparent);
  background: color-mix(in srgb, var(--paper-page) 82%, var(--paper));
}

.cover__logo {
  inline-size: auto; max-inline-size: 210px; max-block-size: 120px;
  margin: 0 auto 14px;
}

.cover__ornament { color: var(--brass); }
.cover__ornament svg { inline-size: 190px; block-size: auto; }

.cover__name {
  font-family: var(--font-display);
  font-size: clamp(44px, 13vw, 62px);
  font-weight: 700; line-height: 1.05;
  margin-block: 6px 2px;
  color: var(--ink);
}

.cover__tagline {
  font-size: 15px; color: var(--ink-soft);
  margin-block-end: 18px;
}

.cover__rule {
  inline-size: 70px; block-size: 1px; margin: 0 auto 16px;
  background: linear-gradient(90deg, transparent, var(--brass-soft), transparent);
}

.cover__city {
  font-family: var(--font-en-body);
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass);
}
html[lang='ar'] .cover__city {
  font-family: var(--font-ar-body);
  font-size: 13px; letter-spacing: 0; text-transform: none;
}

.cover__cta {
  display: inline-flex; align-items: center; gap: 9px;
  margin-block-start: 30px;
  padding: 11px 24px;
  border: 1px solid var(--brass-soft); border-radius: 999px;
  background: none; color: var(--ink);
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.cover__cta:hover { background: var(--accent); border-color: var(--accent); color: var(--paper-page); }
.cover__cta svg { inline-size: 17px; block-size: 17px; }
html[dir='rtl'] .cover__cta svg { transform: scaleX(-1); }

.cover__hint {
  margin-block-start: 14px;
  font-size: 12px; color: var(--ink-faint);
}

/* -------------------------------------------------------------- 5. pager */
.pager {
  position: fixed; inset-block-end: 0; inset-inline: 0; z-index: 40;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  block-size: calc(var(--pager-h) + var(--safe-b));
  padding-block-end: var(--safe-b);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
  border-block-start: 1px solid var(--rule);
}

.pager__arrow {
  display: grid; place-items: center;
  inline-size: 38px; block-size: 38px;
  border: 1px solid var(--rule); border-radius: 50%;
  background: var(--paper-page); color: var(--ink-soft);
  cursor: pointer;
  transition: background .18s, color .18s, opacity .18s;
}
.pager__arrow:hover:not(:disabled) { background: var(--accent); color: #fff; border-color: var(--accent); }
.pager__arrow:disabled { opacity: .3; cursor: default; }
/* the chevrons are drawn for LTR reading order; mirror them in Arabic */
html[dir='rtl'] .pager__arrow svg { transform: scaleX(-1); }

.pager__dots {
  display: flex; align-items: center; gap: 5px;
  padding-inline: 6px;
  max-inline-size: min(60vw, 340px);
  overflow-x: auto; scrollbar-width: none;
}
.pager__dots::-webkit-scrollbar { display: none; }

.dot {
  flex: none;
  inline-size: 7px; block-size: 7px;
  padding: 0; border: 0; border-radius: 50%;
  background: var(--rule);
  cursor: pointer;
  transition: inline-size .25s, background .25s;
}
.dot[aria-selected='true'] { inline-size: 22px; border-radius: 999px; background: var(--accent); }
/* the cover reads as a bookmark, not another section */
.dot--cover { inline-size: 5px; block-size: 5px; border: 1px solid var(--rule); background: none; }
.dot--cover[aria-selected='true'] { inline-size: 5px; background: var(--brass); border-color: var(--brass); }

/* ------------------------------------------------------- 6. search view */
.results {
  position: fixed; inset: 0; z-index: 35;
  padding-block: calc(var(--topbar-h) + 10px) 40px;
  padding-inline: var(--page-pad);
  background: var(--paper-page);
  overflow-y: auto;
}
.results__inner { max-inline-size: 760px; margin-inline: auto; }

.results__count {
  font-size: 13px; color: var(--ink-faint);
  margin-block-end: 10px;
}

.results__group {
  font-family: var(--font-en-body);
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brass);
  margin-block: 20px 4px;
}
html[lang='ar'] .results__group { font-family: var(--font-ar-body); letter-spacing: 0; text-transform: none; font-size: 13px; }

.results__empty {
  text-align: center; padding-block: 60px; color: var(--ink-soft);
}

/* ------------------------------------------------------- 7. detail sheet */
.sheet { position: fixed; inset: 0; z-index: 60; }

.sheet__scrim {
  position: absolute; inset: 0;
  background: rgb(6 22 27 / .55);
  animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0; } }

.sheet__panel {
  position: absolute; inset-inline: 0; inset-block-end: 0;
  max-block-size: 88dvh;
  overflow-y: auto;
  background: var(--paper-page);
  border-radius: 22px 22px 0 0;
  box-shadow: var(--shadow-lg);
  padding-block-end: calc(24px + var(--safe-b));
  animation: rise .28s cubic-bezier(.22, 1, .36, 1);
}
@keyframes rise { from { transform: translateY(14%); opacity: .4; } }

.sheet__close {
  position: absolute; inset-block-start: 12px; inset-inline-end: 12px;
  z-index: 2;
  inline-size: 34px; block-size: 34px;
  border: 0; border-radius: 50%;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter: blur(6px);
  color: var(--ink); font-size: 22px; line-height: 1;
  cursor: pointer;
}

.sheet__hero {
  inline-size: 100%; block-size: clamp(180px, 45vw, 300px);
  object-fit: cover;
  background: var(--paper-sunk);
}

.sheet__body > .sheet__text { padding: 22px var(--page-pad) 8px; }

.sheet__title {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700; line-height: 1.3;
}
.sheet__subtitle {
  font-size: 13px; color: var(--brass);
  letter-spacing: .02em;
  margin-block-start: 4px;
}
.sheet__desc { margin-block-start: 12px; color: var(--ink-soft); font-size: 15px; }

.sheet__price {
  display: flex; align-items: baseline; gap: 6px;
  margin-block-start: 16px;
  padding-block-start: 14px;
  border-block-start: 1px solid var(--rule);
  font-family: var(--font-en-body);
  font-size: 24px; font-weight: 700; color: var(--accent);
}
.sheet__price small { font-size: 13px; color: var(--ink-faint); font-weight: 600; }

/* --------------------------------------------------------- 8. error card */
.fatal {
  position: fixed; inset-block-start: 50%; inset-inline: 20px;
  transform: translateY(-50%);
  z-index: 70;
  max-inline-size: 420px; margin-inline: auto;
  padding: 26px 22px; text-align: center;
  background: var(--paper-page);
  border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.fatal__msg { color: var(--ink-soft); margin-block-end: 16px; }

.btn {
  padding: 10px 22px;
  border: 0; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-weight: 700; cursor: pointer;
}

/* --------------------------------------------------------- 9. responsive */

/* tablet & up: two columns inside a page, taller covers, roomier type */
@media (min-width: 760px) {
  :root { --topbar-h: 126px; --page-pad: 34px; }

  .page__inner { max-inline-size: 1080px; }

  .items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 34px;
  }
  .item + .item { box-shadow: none; }
  .item { box-shadow: 0 -1px 0 color-mix(in srgb, var(--rule) 60%, transparent); }
  /* the first row of each column has no rule above it */
  .item:nth-child(-n+2) { box-shadow: none; }

  .page__cover { block-size: 210px; }
  .brand__name { font-size: 30px; }
  .sheet__panel {
    inset-block-end: auto; inset-block-start: 50%;
    inset-inline: 0; margin-inline: auto;
    translate: 0 -50%;
    max-inline-size: 560px;
    border-radius: 20px;
    max-block-size: 84dvh;
    padding-block-end: 24px;
  }
}

/* wide desktop: show the page as a bound sheet with visible edges */
@media (min-width: 1100px) {
  .book { padding-inline: 0; }
  .page {
    box-shadow: inset 0 0 60px rgb(20 49 59 / .04);
  }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .book { scroll-behavior: auto; }
}
