/* ==========================================================================
   Second Look Books — demo concept
   Mobile-first. Breakpoints: 640px, 900px, 1100px.
   ========================================================================== */

/* ---------- Fallback fonts ----------
   Shown for a moment while the web fonts load. size-adjust makes them take
   up the same width as Fraunces / Source Sans 3, so text doesn't jump. */
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Times New Roman Bold"), local("TimesNewRomanPS-BoldMT");
  font-weight: 500 900;
  size-adjust: 92%;
}
@font-face {
  font-family: "Source Sans Fallback";
  src: local("Arial"), local("ArialMT");
  font-weight: 300 500;
  size-adjust: 92.7%;
}
@font-face {
  font-family: "Source Sans Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 600 900;
  size-adjust: 91%;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #F5EFE3;
  --paper-2: #ECE2CE;
  --paper-3: #E1D2B4;
  --card: #FBF8F1;
  --ink: #1E2A2F;
  --ink-soft: #4A5559;
  --line: rgba(30, 42, 47, 0.14);
  --green: #1F4D3A;
  --green-deep: #163A2B;
  --green-tint: #DDE7DC;
  --mustard: #E0A526;
  --mustard-soft: #F3CE6B;
  --rust: #9E3D2B;
  --wood: #6E4A2E;

  --font-display: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --font-body: "Source Sans 3", "Source Sans Fallback", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  --gutter: 16px;
  --container: 1180px;
  --shadow-sm: 0 1px 2px rgba(30, 42, 47, 0.08), 0 3px 8px rgba(30, 42, 47, 0.06);
  --shadow-md: 0 2px 4px rgba(30, 42, 47, 0.08), 0 8px 12px -6px rgba(30, 42, 47, 0.26);
  --shadow-lg: 0 4px 8px rgba(30, 42, 47, 0.1), 0 14px 20px -10px rgba(30, 42, 47, 0.36);
  --focus: var(--ink);
  --bar-h: 64px;

  --paper-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .38 0 0 0 0 .29 0 0 0 0 .16 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 12px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  background-image: var(--paper-noise);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--paper); }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.7rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:active { transform: translateY(2px); }

.btn--primary {
  background: var(--green);
  color: var(--paper);
  box-shadow: 0 3px 0 var(--green-deep), 0 5px 8px -5px rgba(22, 58, 43, 0.55);
}
.btn--primary:hover { background: var(--green-deep); color: var(--paper); }
.btn--primary:active { box-shadow: 0 1px 0 var(--green-deep); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--mustard {
  background: var(--mustard);
  color: var(--ink);
  box-shadow: 0 3px 0 #A8780F, 0 6px 10px -6px rgba(0, 0, 0, 0.45);
}
.btn--mustard:hover { background: var(--mustard-soft); color: var(--ink); }
.btn--mustard:active { box-shadow: 0 1px 0 #A8780F; }

.btn--large { min-height: 58px; font-size: 1.125rem; padding: 0.8rem 1.6rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 1px;
}
.text-link .icon { transition: transform 0.2s ease; }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

.section { padding: 64px 0; }

.section-head { max-width: 780px; }
.section-head h2 {
  margin-top: 0.7rem;
  font-size: clamp(1.875rem, 1.3rem + 2.5vw, 3.125rem);
  line-height: 1.07;
}
.section-lede {
  margin-top: 1rem;
  max-width: 46ch;
  font-size: 1.1875rem;
  color: var(--ink-soft);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}

.tag-example {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: var(--ink);
  color: var(--mustard-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Live open/closed badge */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
}
.status__dot {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--ink-soft);
}
.status[data-state="open"] {
  background: var(--green-tint);
  border-color: rgba(31, 77, 58, 0.3);
  color: var(--green-deep);
}
.status[data-state="open"] .status__dot {
  background: #2E8B57;
  animation: pulse 2.2s ease-out infinite;
}
.status[data-state="closing"] {
  background: #FBEBC4;
  border-color: rgba(168, 120, 15, 0.4);
  color: #5A3E00;
}
.status[data-state="closing"] .status__dot { background: #C98A0B; }
.status[data-state="closed"] .status__dot { background: var(--rust); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 139, 87, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(46, 139, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 139, 87, 0); }
}

/* Price sticker */
.sticker {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--mustard);
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 0.95;
  text-align: center;
  transform: rotate(-12deg);
  box-shadow: 0 6px 10px -6px rgba(0, 0, 0, 0.5), inset 0 -3px 0 rgba(0, 0, 0, 0.08);
}
.sticker::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1.5px dashed rgba(30, 42, 47, 0.5);
  border-radius: 50%;
}
.sticker__big { font-size: 2.1rem; font-weight: 700; letter-spacing: -0.03em; }
.sticker__mid { font-size: 1.1rem; font-weight: 600; font-style: italic; }
.sticker__small {
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Library stamp */
.stamp {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border: 3px double currentColor;
  border-radius: 4px;
  color: var(--green);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-4deg);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.4 2.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.4 2.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
.stamp--light { color: var(--mustard); }

/* Sticky note for owner-to-confirm items */
.owner-note {
  --tilt: -1.2deg;
  position: relative;
  display: block;
  width: fit-content;
  max-width: min(34ch, 100%);
  margin: 1.1rem 0 0.4rem;
  padding: 0.7rem 0.95rem 0.6rem;
  background: #F6D372;
  color: #2A2410;
  font-family: var(--font-hand);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.15;
  transform: rotate(var(--tilt));
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08), 0 8px 10px -8px rgba(70, 45, 0, 0.55);
}
.owner-note::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: 62px;
  height: 18px;
  background: rgba(255, 251, 238, 0.65);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
  transform: translateX(-50%) rotate(-3deg);
}
.owner-note__label { font-weight: 700; color: #6B4500; }
.owner-note--small { font-size: 1.15rem; }
.faq .owner-note,
.visit__info .owner-note { --tilt: 1deg; }

.owner-flag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0 0.4rem;
  background: #F6D372;
  color: #2A2410;
  font-family: var(--font-hand);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  vertical-align: 2px;
  transform: rotate(-3deg);
}

.hide-notes .owner-note,
.hide-notes .owner-flag { display: none; }

/* Photos */
.photo {
  margin: 0;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 4px;
  background: var(--paper-3);
  box-shadow: var(--shadow-md);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption {
  padding: 8px 4px 2px;
  background: #fff;
  font-family: var(--font-hand);
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--ink);
}
.photo--tilt { transform: rotate(-1.5deg); }

/* ---------- 1. Ribbon ---------- */
.ribbon {
  --focus: var(--mustard);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8125rem;
}
.ribbon__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 7px 8px 7px var(--gutter);
}
.ribbon p { flex: 1; line-height: 1.35; }
.ribbon strong { color: var(--mustard-soft); font-weight: 600; }
.ribbon__notes {
  flex: none;
  min-height: 32px;
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(245, 239, 227, 0.4);
  border-radius: 5px;
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}
.ribbon__notes:hover { background: rgba(245, 239, 227, 0.12); }
.ribbon__close {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}
.ribbon__close:hover { background: rgba(245, 239, 227, 0.12); }

/* ---------- 2. Header ---------- */
.site-header {
  position: relative;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand call"
    "nav nav";
  align-items: center;
  column-gap: 12px;
  padding-top: 12px;
}

.wordmark {
  grid-area: brand;
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
  width: fit-content;
  color: var(--ink);
  text-decoration: none;
}
.wordmark:hover { color: var(--ink); }
.wordmark__spines { display: flex; align-items: flex-end; gap: 2px; height: 36px; }
.wordmark__spines i { display: block; width: 7px; border-radius: 2px 2px 0 0; background: var(--green); }
.wordmark__spines i:nth-child(1) { height: 27px; }
.wordmark__spines i:nth-child(2) { height: 32px; background: var(--mustard); transform: translateY(-5px); }
.wordmark__spines i:nth-child(3) { height: 29px; background: var(--ink); transform: rotate(9deg); transform-origin: bottom left; }
.wordmark__text { display: flex; flex-direction: column; line-height: 0.95; }
.wordmark__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.wordmark__books {
  margin-top: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--green);
}
.wordmark--light,
.wordmark--light:hover { color: var(--paper); }
.wordmark--light .wordmark__books { color: var(--mustard); }
.wordmark--light .wordmark__spines i:nth-child(1) { background: var(--paper); }
.wordmark--light .wordmark__spines i:nth-child(3) { background: #8FB09E; }

.header__call {
  grid-area: call;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: var(--green);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 0 var(--green-deep);
}
.header__call:hover { background: var(--green-deep); color: var(--paper); }
.header__call-long { display: none; }

.main-nav {
  grid-area: nav;
  margin: 10px calc(-1 * var(--gutter)) 0;
  border-top: 1px solid var(--line);
}
.main-nav ul {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 0 var(--gutter);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.main-nav a {
  display: block;
  padding: 10px 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
  transition: text-decoration-color 0.2s ease;
}
.main-nav a:hover { color: var(--ink); text-decoration-color: var(--mustard); }

/* Single-column grids on phones: never let a wide child stretch the column. */
.hero__grid,
.trade__lower,
.kids__grid,
.story__grid,
.more__grid,
.visit__grid,
.footer__grid { grid-template-columns: minmax(0, 1fr); }

/* ---------- 3. Hero ---------- */
.hero { padding: 20px 0 44px; overflow: hidden; }
.hero__grid { display: grid; gap: 40px; }
.hero__copy > * + * { margin-top: 0.85rem; }
.hero h1 {
  margin-top: 0.9rem;
  font-size: clamp(2.05rem, 1.35rem + 3.4vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.hero__lede { max-width: 44ch; font-size: 1.1875rem; line-height: 1.5; color: var(--ink-soft); }
.hero__where {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 700;
  line-height: 1.4;
}
.hero__where .icon { margin-top: 1px; color: var(--green); }
.hero__where .dot { color: var(--mustard); font-weight: 700; padding: 0 0.1rem; }
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 1.3rem;
}
.nowrap { white-space: nowrap; }

/* CSS bookcase */
.hero__art { position: relative; padding: 18px 6px 0 0; }
.bookcase {
  position: relative;
  padding: 16px 12px 0;
  border: 10px solid var(--wood);
  border-bottom-width: 0;
  border-radius: 6px 6px 0 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0) 22px),
    #3A2A1E;
  box-shadow: var(--shadow-lg);
}
.bookcase__row {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 150px;
  padding: 0 4px;
  overflow: hidden;
}
.bookcase__row--second { display: none; }
.bookcase__plank {
  height: 14px;
  margin: 0 -12px;
  background: linear-gradient(180deg, #8A5E3B, var(--wood) 60%, #57391F);
  box-shadow: 0 6px 8px -4px rgba(0, 0, 0, 0.5);
}
.bookcase__row + .bookcase__plank { position: relative; z-index: 1; }

.spine {
  --h: 85%;
  --w: 30px;
  --c: var(--green);
  --t: var(--paper);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--w);
  height: var(--h);
  border-radius: 3px 3px 1px 1px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 30%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.22)),
    var(--c);
  color: var(--t);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.spine::before,
.spine::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  height: 3px;
  background: currentColor;
  opacity: 0.5;
}
.spine::before { top: 9%; }
.spine::after { bottom: 9%; }
.spine b {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.spine--pulled { transform: translateY(-12px); }
.spine--lean { transform: rotate(-8deg); transform-origin: bottom left; margin-left: 12px; }
.spine:hover { transform: translateY(-10px); }
.spine--lean:hover { transform: rotate(-8deg) translateY(-6px); }

.stack { display: flex; flex-direction: column; justify-content: flex-end; margin-left: 14px; gap: 2px; }
.stack i { display: block; height: 16px; border-radius: 2px; }
.stack i:nth-child(1) { width: 78px; background: var(--rust); margin-left: 6px; }
.stack i:nth-child(2) { width: 90px; background: var(--paper); }
.stack i:nth-child(3) { width: 84px; background: var(--green); margin-left: 3px; }

.sticker--hero { position: absolute; top: -6px; right: -4px; z-index: 2; width: 92px; height: 92px; }
.sticker--hero .sticker__big { font-size: 1.85rem; }
.stamp--hero {
  position: absolute;
  left: 8px;
  bottom: -22px;
  z-index: 2;
  background: var(--paper);
  font-size: 0.7rem;
  transform: rotate(-5deg);
}

/* ---------- 4. Quick facts ---------- */
.facts {
  padding: 18px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 0 auto;
  list-style: none;
}
.fact {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  font-size: 1rem;
  line-height: 1.25;
}
.fact .icon {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 50%;
  background: var(--green);
  color: var(--paper);
  stroke-width: 2;
}
.fact strong { font-size: 1.0625rem; }

/* ---------- 5. Trade credit ---------- */
.trade {
  --focus: var(--mustard);
  position: relative;
  background-color: var(--green);
  background-image: var(--paper-noise);
  color: var(--paper);
}
.trade .eyebrow { color: var(--mustard); }
.trade .section-lede { color: rgba(245, 239, 227, 0.86); }
.trade a:not(.btn) { color: var(--mustard-soft); }

.steps {
  display: grid;
  gap: 26px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  column-gap: 16px;
  align-content: start;
  padding: 20px 18px;
  border: 1.5px solid rgba(245, 239, 227, 0.2);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.12);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 46px;
  bottom: -20px;
  width: 12px;
  height: 12px;
  border-right: 2.5px solid var(--mustard);
  border-bottom: 2.5px solid var(--mustard);
  transform: rotate(45deg);
}
.step__icon {
  grid-row: 1 / span 3;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--green);
}
.step__icon .icon { width: 30px; height: 30px; stroke-width: 1.7; }
.step__icon--sticker {
  background: var(--mustard);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 0.9;
  text-align: center;
  transform: rotate(-10deg);
  outline: 1.5px dashed rgba(30, 42, 47, 0.45);
  outline-offset: -5px;
}
.step__icon--sticker small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.step__num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mustard);
}
.step h3 { margin-top: 2px; font-size: 1.4rem; }
.step p { margin-top: 6px; font-size: 1.0625rem; line-height: 1.5; color: rgba(245, 239, 227, 0.86); }
.step--payoff { border-color: rgba(224, 165, 38, 0.6); background: rgba(224, 165, 38, 0.1); }

.trade__lower { display: grid; gap: 40px; margin-top: 44px; }

/* Calculator, styled as a receipt */
.calc {
  --focus: var(--green);
  position: relative;
  padding: 22px 18px 28px;
  border-radius: 4px 4px 0 0;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 16px 22px -14px rgba(0, 0, 0, 0.6);
}
.calc::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 12px;
  background:
    linear-gradient(135deg, var(--card) 6px, transparent 0) 0 0 / 12px 12px repeat-x,
    linear-gradient(-135deg, var(--card) 6px, transparent 0) 0 0 / 12px 12px repeat-x;
}
.calc a { color: var(--green); }
.calc__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 2px dashed var(--line);
}
.calc__head h3 { font-size: 1.35rem; }
.calc__field { margin-top: 18px; }
.calc__field label { display: block; font-weight: 700; }
.calc__inputs { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.calc input[type="range"] {
  flex: 1;
  min-width: 0;
  height: 32px;
  margin: 0;
  accent-color: var(--green);
  cursor: pointer;
}
.money {
  display: inline-flex;
  align-items: center;
  flex: none;
  width: 104px;
  padding-left: 0.6rem;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}
.money:focus-within { outline: 3px solid var(--green); outline-offset: 2px; }
.money input {
  width: 100%;
  min-width: 0;
  padding: 0.4rem 0.4rem 0.4rem 0.15rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  -moz-appearance: textfield;
  appearance: textfield;
}
.money input:focus { outline: none; }
.money input::-webkit-outer-spin-button,
.money input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.calc__result {
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 4px solid var(--mustard);
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.25;
}
.calc__result strong { color: var(--green); white-space: nowrap; }
.calc__result--small { font-size: 1.1rem; }

.receipt {
  margin: 22px 0 0;
  padding-top: 14px;
  border-top: 2px dashed var(--line);
  font-variant-numeric: tabular-nums;
}
.receipt__row { display: flex; align-items: baseline; gap: 0.5rem; padding: 3px 0; font-size: 1.0625rem; }
.receipt__row dt { display: flex; flex: 1; gap: 0.5rem; }
.receipt__row dt::after {
  content: "";
  flex: 1;
  min-width: 12px;
  border-bottom: 2px dotted rgba(30, 42, 47, 0.28);
  transform: translateY(-6px);
}
.receipt__row dd { margin: 0; font-weight: 600; }
.receipt__row--credit { color: var(--green); }
.receipt__row--total {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 2px solid var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
}
.receipt__row--total dd { font-weight: 700; }
.calc__fine { margin-top: 12px; font-size: 0.9375rem; color: var(--ink-soft); }

.trade__cta {
  padding: 26px 22px;
  border-radius: 12px;
  background: var(--green-deep);
  box-shadow: inset 0 0 0 1.5px rgba(245, 239, 227, 0.12);
}
.trade__cta p { margin-top: 14px; font-size: 1.125rem; }
.trade__cta .btn { width: 100%; margin-top: 16px; }
.trade__cta .trade__phone { margin-top: 12px; font-size: 1rem; color: rgba(245, 239, 227, 0.8); text-align: center; }

.faq { margin-top: 32px; }
.faq h3 { margin-bottom: 8px; font-size: 1.4rem; }
.faq details { border-top: 1px solid rgba(245, 239, 227, 0.22); }
.faq details:last-child { border-bottom: 1px solid rgba(245, 239, 227, 0.22); }
.faq summary {
  position: relative;
  padding: 15px 40px 15px 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 21px;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid var(--mustard);
  border-bottom: 2.5px solid var(--mustard);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] > summary::after { transform: rotate(-135deg) translate(-4px, -4px); }
.faq summary:hover { color: var(--mustard-soft); }
.faq__body { padding: 0 0 18px; color: rgba(245, 239, 227, 0.88); }
.faq__body p + p { margin-top: 0.6rem; }
.faq__body .owner-note { color: #2A2410; }

/* ---------- 6. Shelves ---------- */
.covers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.cover {
  --c: var(--green);
  --t: var(--paper);
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 4 / 5;
  padding: 16px 14px 16px 24px;
  border-radius: 3px 8px 8px 3px;
  background: var(--c);
  color: var(--t);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}
.cover::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 12px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.06) 55%, rgba(255, 255, 255, 0.16) 75%, rgba(0, 0, 0, 0.1));
}
.cover::after {
  content: "";
  position: absolute;
  inset: 9px 9px 9px 20px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  opacity: 0.35;
  pointer-events: none;
}
.cover:hover { transform: translateY(-6px) rotate(-0.8deg); box-shadow: var(--shadow-lg); }
.cover__tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}
.cover__title {
  margin-top: auto;
  font-size: clamp(1.3rem, 1rem + 1.6vw, 1.85rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.02;
  hyphens: auto;
}
.cover__title a { color: inherit; text-decoration: none; }
.cover__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.cover__sub {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1.5px solid currentColor;
  font-size: 0.9rem;
  line-height: 1.25;
}
.cover--link:hover .cover__sub .icon { transform: translateY(2px); }
.cover--link .cover__sub .icon { transition: transform 0.2s ease; }
.cover--link:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.cover--link a:focus-visible { outline: none; }

.cover--wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  aspect-ratio: auto;
  min-height: 160px;
  background: var(--card);
  color: var(--green-deep);
  border: 1px solid var(--line);
}
.cover--wide::before { background: linear-gradient(90deg, var(--green), var(--green-deep)); width: 12px; }
.cover--wide::after { border-color: var(--green); }
.cover__wide-text { display: flex; flex-direction: column; }
.cover--wide .cover__title { margin-top: 10px; font-size: clamp(1.45rem, 1.1rem + 1.8vw, 2.1rem); }
.cover--wide .cover__sub { align-self: flex-start; }
.sticker--cover { flex: none; width: 92px; height: 92px; }

.special {
  display: grid;
  gap: 16px;
  margin-top: 32px;
  padding: 22px 20px;
  border: 2px dashed rgba(30, 42, 47, 0.3);
  border-radius: 12px;
  background: var(--card);
}
.special h3 { font-size: 1.5rem; }
.special__text p { margin-top: 6px; color: var(--ink-soft); }
.special__actions { display: flex; flex-direction: column; gap: 10px; }
.special__via { font-size: 0.9375rem; color: var(--ink-soft); }

/* ---------- 7. Kids & savings ---------- */
.kids {
  background-color: var(--paper-2);
  background-image: var(--paper-noise);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.kids__grid { display: grid; gap: 36px; }
.kids .photo { max-width: 560px; aspect-ratio: 4 / 3; }

.savers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.saver {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 14px 14px;
  border-top: 6px solid var(--green);
  border-radius: 3px 3px 8px 8px;
  background-color: var(--card);
  background-image: repeating-linear-gradient(180deg, transparent 0 27px, rgba(31, 77, 58, 0.12) 27px 28px);
  background-position: 0 54px;
  box-shadow: var(--shadow-sm);
}
.saver:nth-child(2) { border-top-color: var(--mustard); }
.saver:nth-child(3) { border-top-color: var(--ink); }
.saver:nth-child(4) { border-top-color: var(--rust); }
.saver .icon { width: 30px; height: 30px; color: var(--green); }
.saver h3 { margin-top: 10px; font-size: 1.2rem; line-height: 1.15; }
.saver__stamp {
  margin-top: auto;
  padding: 1px 7px 2px;
  border: 2px solid currentColor;
  border-radius: 3px;
  color: var(--green);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transform: rotate(-3deg);
  transform-origin: left center;
}
.saver h3 + .saver__stamp { margin-top: 14px; }

/* ---------- 8. Story ---------- */
.story__grid { display: grid; gap: 40px; }
.polaroid {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
  padding: 12px 12px 0;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2.5deg);
}
.polaroid::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  z-index: 1;
  width: 96px;
  height: 26px;
  background: rgba(243, 206, 107, 0.75);
  transform: translateX(-50%) rotate(2deg);
}
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.polaroid figcaption {
  padding: 10px 0 14px;
  font-family: var(--font-hand);
  font-size: 1.6rem;
  text-align: center;
}

.story__copy h2 {
  margin-top: 0.7rem;
  font-size: clamp(1.875rem, 1.3rem + 2.5vw, 3.125rem);
  line-height: 1.07;
}
.quote { margin: 24px 0 0; padding-left: 20px; border-left: 4px solid var(--mustard); }
.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.7rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
}
.quote footer { margin-top: 10px; font-weight: 700; color: var(--ink-soft); }
.quote footer::before { content: "— "; }

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--paper);
  font-size: 0.9375rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 2px var(--green), inset 0 0 0 3.5px rgba(224, 165, 38, 0.85);
}
.badges li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mustard);
}

.motto { max-width: 460px; }
.motto__stack { display: flex; flex-direction: column; gap: 3px; }
.motto__book {
  --c: var(--ink);
  --t: var(--paper);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--w);
  height: 60px;
  margin-left: var(--x);
  border-radius: 4px 8px 8px 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 35%, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, 0.22)),
    var(--c);
  color: var(--t);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: rotate(var(--r));
  box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.motto__book::before,
.motto__book::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: currentColor;
  opacity: 0.5;
}
.motto__book::before { left: 18px; }
.motto__book::after { right: 18px; }
.motto:hover .motto__book--pull { transform: rotate(var(--r)) translateX(18px); }
.motto__caption {
  margin-top: 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* ---------- 9. More than books ---------- */
.more {
  background-color: var(--paper-2);
  background-image: var(--paper-noise);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.more__grid { display: grid; gap: 18px; margin-top: 36px; }
.panel {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.panel h3 { font-size: 1.5rem; }
.panel > p { margin-top: 8px; color: var(--ink-soft); }
.panel .text-link { margin-top: 18px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.chips li {
  padding: 0.3rem 0.8rem;
  border: 1.5px solid var(--green);
  border-radius: 999px;
  background: var(--paper);
  color: var(--green-deep);
  font-size: 0.9375rem;
  font-weight: 600;
}

.ticket {
  display: grid;
  grid-template-columns: 78px 1fr;
  margin-top: 18px;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}
.ticket__date {
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 12px 6px;
  background: var(--green);
  color: var(--paper);
  border-right: 2px dashed rgba(245, 239, 227, 0.5);
}
.ticket__date span { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mustard); }
.ticket__date strong { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }
.ticket__body { padding: 12px 14px; }
.ticket__title { margin-top: 6px; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; line-height: 1.2; }
.ticket__meta { font-size: 0.95rem; color: var(--ink-soft); }
.tag-example--dark { background: var(--ink); }

.hangtag {
  position: relative;
  display: grid;
  justify-items: center;
  width: 190px;
  margin: 26px auto 6px;
  padding: 36px 16px 22px;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  clip-path: polygon(16% 0, 84% 0, 100% 15%, 100% 100%, 0 100%, 0 15%);
  transform: rotate(3deg);
}
.hangtag::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--card);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5), 0 0 0 3px var(--mustard);
}
.hangtag__small { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mustard); }
.hangtag strong { margin-top: 6px; font-family: var(--font-display); font-size: 2rem; font-style: italic; line-height: 0.95; }

/* ---------- 10. Visit ---------- */
.visit__grid { display: grid; gap: 18px; margin-top: 36px; }
.visit__info address { margin-top: 16px; font-style: normal; font-size: 1.125rem; line-height: 1.5; }
.visit__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.visit__hours h3 { font-size: 1.4rem; }
.hours { width: 100%; margin-top: 10px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th,
.hours td { padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
.hours th { text-align: left; font-weight: 600; }
.hours td { text-align: right; color: var(--ink-soft); }
.hours tr:last-child th,
.hours tr:last-child td { border-bottom: 0; }
.hours .is-closed td { color: var(--rust); }
.hours .is-today th,
.hours .is-today td { background: var(--green-tint); color: var(--green-deep); font-weight: 700; }
.hours .is-today th { border-radius: 6px 0 0 6px; }
.hours .is-today td { border-radius: 0 6px 6px 0; }
.today-tag {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.4rem;
  border-radius: 4px;
  background: var(--green);
  color: var(--paper);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 2px;
}

.visit__photo { display: flex; flex-direction: column; }
.visit__photo img { aspect-ratio: 4 / 3; }

.map {
  position: relative;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper-3);
  box-shadow: var(--shadow-sm);
}
.map__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--green-deep);
  font-weight: 700;
  background:
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(110, 74, 46, 0.12) 46px 48px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(110, 74, 46, 0.12) 46px 48px),
    var(--paper-3);
}
.map__fallback .icon { width: 40px; height: 40px; color: var(--rust); }
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: sepia(0.12) saturate(0.9);
}

/* ---------- 11. Footer ---------- */
.site-footer {
  --focus: var(--mustard);
  padding: 56px 0 calc(28px + var(--bar-h));
  background: var(--green-deep);
  color: var(--paper);
}
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--mustard-soft); }
.footer__grid { display: grid; gap: 30px; }
.footer__motto {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--mustard);
}
.footer__h {
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 239, 227, 0.72);
}
.site-footer address { font-style: normal; line-height: 1.6; }
.socials { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(245, 239, 227, 0.35);
  border-radius: 50%;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.socials a:hover { background: rgba(245, 239, 227, 0.1); border-color: var(--mustard); }
.socials .icon { width: 20px; height: 20px; }
.footer__shop { display: inline-block; margin-top: 14px; font-weight: 600; }
.site-footer .owner-note { margin-top: 18px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 239, 227, 0.16);
  font-size: 0.9375rem;
  color: rgba(245, 239, 227, 0.72);
}

/* ---------- Mobile action bar ---------- */
.action-bar {
  --focus: var(--mustard);
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--ink);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.18);
}
.action-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: var(--bar-h);
  color: var(--paper);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}
.action-bar a + a { border-left: 1px solid rgba(245, 239, 227, 0.12); }
.action-bar a:first-child { background: var(--mustard); color: var(--ink); }
.action-bar .icon { width: 22px; height: 22px; }
.action-bar a:focus-visible { outline-offset: -4px; }

/* ---------- Reveal on scroll ---------- */
.reveal-ready .reveal {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.7s ease, translate 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-ready .reveal.is-visible { opacity: 1; translate: none; }

/* ==========================================================================
   ≥ 640px
   ========================================================================== */
@media (min-width: 640px) {
  :root { --gutter: 28px; }

  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bookcase__row { height: 170px; }
  .sticker--hero { width: 108px; height: 108px; }
  .sticker--hero .sticker__big { font-size: 2.15rem; }
  .stamp--hero { font-size: 0.78rem; }

  .covers { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .cover { aspect-ratio: 3 / 4; }
  .cover--wide { grid-column: span 3; aspect-ratio: auto; }

  .special__actions { flex-direction: row; flex-wrap: wrap; }
  .visit__actions { flex-direction: row; flex-wrap: wrap; }
  .visit__actions .btn { flex: 1 1 auto; }

  .owner-note { font-size: 1.35rem; }
}

/* ==========================================================================
   ≥ 900px
   ========================================================================== */
@media (min-width: 900px) {
  :root { --bar-h: 0px; }

  html { scroll-padding-top: 96px; }
  .action-bar { display: none; }

  .section { padding: 104px 0; }

  /* Header: one row, sticky */
  .site-header { position: sticky; top: 0; }
  .header__inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand nav call";
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .main-nav { margin: 0; border: 0; }
  .main-nav ul { justify-content: center; gap: 36px; }
  .header__call-short { display: none; }
  .header__call-long { display: inline; }

  /* Hero */
  .hero { padding: 64px 0 92px; }
  .hero__grid { grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 64px; }
  .hero__art { padding: 24px 12px 0 0; }
  .bookcase__row { height: 176px; }
  .bookcase__row--second { display: flex; }
  .sticker--hero { top: -4px; right: -8px; width: 122px; height: 122px; }
  .sticker--hero .sticker__big { font-size: 2.5rem; }
  .sticker--hero .sticker__mid { font-size: 1.3rem; }
  .sticker--hero .sticker__small { font-size: 0.68rem; }
  .stamp--hero { left: -30px; bottom: -14px; font-size: 0.85rem; padding: 0.55rem 1rem; }

  /* Facts */
  .facts { padding: 20px 0; }
  .facts__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .fact { padding: 0.75rem 0.9rem; }
  .fact strong { display: block; }

  /* Trade */
  .steps { grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 48px; }
  .step { grid-template-columns: 1fr; padding: 24px 22px 26px; }
  .step__icon { grid-row: auto; margin-bottom: 16px; width: 64px; height: 64px; }
  .step:not(:last-child)::after {
    left: auto;
    right: -24px;
    top: 50%;
    bottom: auto;
    margin-top: -6px;
    transform: rotate(-45deg);
  }
  .trade__lower { grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; margin-top: 56px; }
  .calc { padding: 28px 30px 34px; }
  .calc__head h3 { font-size: 1.5rem; }
  .calc__result { font-size: 1.55rem; }
  .calc__result--small { font-size: 1.2rem; }
  .trade__cta { padding: 30px 28px; }

  /* Shelves */
  .covers { grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 48px; }
  .cover { aspect-ratio: 4 / 5; padding: 20px 18px 20px 28px; }
  .cover--wide { grid-column: span 2; aspect-ratio: auto; padding: 24px 40px 24px 40px; }
  .cover--wide .cover__title { font-size: 2.6rem; }
  .cover--wide .cover__sub { font-size: 1.0625rem; }
  .sticker--cover { width: 150px; height: 150px; }
  .sticker--cover .sticker__big { font-size: 3rem; }
  .sticker--cover .sticker__mid { font-size: 1.5rem; }
  .special {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px 32px;
    padding: 26px 30px;
  }
  .special__via { grid-column: 2; text-align: right; }

  /* Kids */
  .kids__grid { grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 64px; }
  .savers { grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
  .saver { padding: 20px 18px 18px; }
  .saver h3 { font-size: 1.3rem; }

  /* Story */
  .story__grid {
    grid-template-columns: 0.85fr 1.15fr;
    grid-template-areas:
      "photo copy"
      "photo motto";
    align-items: start;
    column-gap: 72px;
    row-gap: 40px;
  }
  .polaroid { grid-area: photo; margin: 12px 0 0; max-width: 420px; }
  .story__copy { grid-area: copy; }
  .motto { grid-area: motto; }

  /* More */
  .more__grid { grid-template-columns: 1.1fr 1fr 0.9fr; gap: 24px; margin-top: 48px; }
  .panel { padding: 28px 26px; }

  /* Visit */
  .visit__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "info hours"
      "map map"
      "photo photo";
    gap: 22px;
    margin-top: 48px;
  }
  .visit__info { grid-area: info; }
  .visit__hours { grid-area: hours; }
  .visit__map { grid-area: map; min-height: 380px; }
  .visit__photo { grid-area: photo; }

  /* Footer */
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
}

/* ==========================================================================
   ≥ 1100px
   ========================================================================== */
@media (min-width: 1100px) {
  .card { padding: 26px 26px; }
  .visit__grid {
    grid-template-columns: 1fr 1fr 1.1fr;
    grid-template-areas:
      "info hours photo"
      "map map map";
  }
  .visit__photo { align-self: stretch; }
  .visit__photo img { flex: 1; aspect-ratio: auto; min-height: 0; }
  .visit__map { min-height: 420px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .spine:hover,
  .cover:hover,
  .motto:hover .motto__book--pull { transform: none; }
  .spine--pulled { transform: translateY(-12px); }
  .spine--lean,
  .spine--lean:hover { transform: rotate(-8deg); }
}
