/* =========================================================
   Westar Bookstore: homepage prototype
   Brand tokens taken from westarinstitute.org (Webflow CSS)
   ========================================================= */
:root {
  /* Brand colors (from live site variables) */
  --ink: #121e35;          /* --text / --footer */
  --navy: #133b5c;         /* --dark-blue */
  --sky: #4f8bbd;          /* --light-blue */
  --border: #e1dede;       /* --border-gray */
  --gray: #f2f2f2;         /* --background-gray */
  /* Warm neutrals used on the live site */
  --parchment: #f6f2f0;
  --sand: #d6c7c4;
  --clay: #b7a8a5;
  --white: #ffffff;
  --muted: #5d6c7b;
  --danger: #a33a3a;

  /* Type: orpheuspro (display) + atten-new (text), with Google fallbacks */
  --font-display: "orpheuspro", "Cormorant Garamond", Georgia, serif;
  --font-body: "atten-new", "Figtree", "Helvetica Neue", Arial, sans-serif;

  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(18, 30, 53, .06), 0 2px 8px rgba(18, 30, 53, .05);
  --shadow-md: 0 10px 30px -10px rgba(18, 30, 53, .25);
  --shadow-book: 0 18px 30px -12px rgba(18, 30, 53, .45), 0 4px 10px rgba(18, 30, 53, .15);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1240px;
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius); z-index: 200; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.mt-lg { margin-top: 48px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sky); margin-bottom: 12px;
}
.eyebrow--light { color: #bcd5ea; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 28px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: .02em;
  border-radius: var(--radius); border: 1.5px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--ink); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--parchment); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--navy);
  border-bottom: 1.5px solid var(--sand); padding-bottom: 2px;
  transition: border-color .2s, gap .2s var(--ease);
}
.link-arrow::after { content: "→"; }
.link-arrow:hover { border-color: var(--navy); gap: 12px; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; color: var(--ink);
  transition: background-color .2s;
}
.icon-btn:hover { background: var(--gray); }

/* ---------- Announcement ---------- */
.announce { background: var(--ink); color: #dfe7ef; font-size: 13px; }
.announce__inner { display: flex; justify-content: center; align-items: center; gap: 24px; min-height: 38px; }
.announce p { margin: 0; text-align: center; }
.announce__link { color: #fff; font-weight: 600; white-space: nowrap; }
.announce__link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.header__menu { display: none; margin-left: -10px; }
.header__logo img { height: 56px; width: auto; }
.header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header__actions .btn { margin-left: 12px; }

.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a, .main-nav__toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; font-size: 15px; font-weight: 500; color: var(--ink);
  border-radius: var(--radius); transition: color .2s, background-color .2s;
}
.main-nav a:hover, .main-nav__toggle:hover, .has-mega:hover .main-nav__toggle { color: var(--navy); background: var(--gray); }
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 8px); left: -16px;
  display: grid; grid-template-columns: 1fr 1fr 220px; gap: 32px;
  width: 640px; padding: 28px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.mega::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__title { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.mega__col { display: flex; flex-direction: column; }
.mega__col a { padding: 6px 0; font-size: 15px; }
.mega__col a:hover { background: none; color: var(--sky); }
.mega__feature { display: flex; flex-direction: column; gap: 10px; padding: 16px !important; background: var(--parchment) !important; border-radius: var(--radius); }
.mega__feature img { width: 92px; box-shadow: var(--shadow-book); }
.mega__feature span { font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.15; }
.mega__feature small { display: block; font-family: var(--font-body); font-size: 12px; color: var(--muted); font-weight: 500; margin-bottom: 2px; }

.cart-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
  transform: scale(0); transition: transform .3s var(--ease);
}
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }

/* ---------- Drawers ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(18, 30, 53, .45); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; bottom: 0; z-index: 1;
  width: min(420px, 92vw); background: #fff;
  display: flex; flex-direction: column; padding: 20px 24px 24px;
  transition: transform .35s var(--ease);
}
.drawer--right .drawer__panel { right: 0; transform: translateX(100%); }
.drawer--left .drawer__panel { left: 0; transform: translateX(-100%); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.drawer__title { font-size: 28px; }
.mobile-nav { display: flex; flex-direction: column; padding: 12px 0 24px; flex: 1; overflow-y: auto; }
.mobile-nav a { padding: 14px 0; border-bottom: 1px solid var(--gray); font-size: 17px; font-weight: 500; }

.cart__items { flex: 1; overflow-y: auto; padding: 8px 0; }
.cart__empty { text-align: center; color: var(--muted); padding: 48px 0; }
.cart__empty svg { width: 48px; height: 48px; margin: 0 auto 12px; color: var(--sand); }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--gray); align-items: start; }
.cart-item img { width: 64px; height: 88px; object-fit: contain; background: var(--parchment); border-radius: 3px; }
.cart-item__title { font-weight: 600; font-size: 15px; line-height: 1.3; margin-bottom: 2px; }
.cart-item__meta { font-size: 13px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); margin-top: 8px; }
.qty button { width: 30px; height: 30px; font-size: 16px; }
.qty span { min-width: 26px; text-align: center; font-size: 14px; font-weight: 600; }
.cart-item__price { font-weight: 600; text-align: right; }
.cart-item__remove { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); text-decoration: underline; }
.cart__foot { border-top: 1px solid var(--border); padding-top: 16px; }
.cart__row { display: flex; justify-content: space-between; font-size: 17px; margin-bottom: 4px; }
.cart__note { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

/* ---------- Search ---------- */
.search { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.search.is-open { visibility: visible; }
.search .drawer__scrim { z-index: 0; }
.search.is-open .drawer__scrim { opacity: 1; }
.search__panel { position: relative; z-index: 1; background: #fff; padding: 24px 0 32px; transform: translateY(-100%); transition: transform .35s var(--ease); max-height: 85vh; overflow-y: auto; }
.search.is-open .search__panel { transform: none; }
.search__bar { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--navy); padding-bottom: 10px; }
.search__bar input { flex: 1; border: 0; outline: 0; font: 500 22px var(--font-body); color: var(--ink); background: none; min-width: 0; }
.search__results { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 24px; padding-top: 16px; }
.search__hint { color: var(--muted); font-size: 14px; grid-column: 1 / -1; }
.search-hit { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: var(--radius); }
.search-hit:hover { background: var(--parchment); }
.search-hit img { width: 44px; height: 60px; object-fit: contain; background: var(--parchment); }
.search-hit strong { display: block; font-size: 15px; line-height: 1.3; }
.search-hit span { font-size: 13px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(18, 30, 53, .94) 0%, rgba(19, 59, 92, .82) 45%, rgba(19, 59, 92, .35) 100%);
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; min-height: 620px; padding-top: 72px; padding-bottom: 72px; }
.hero__title { font-size: clamp(42px, 5.6vw, 76px); font-weight: 600; line-height: 1.02; margin-bottom: 24px; max-width: 14ch; }
.hero__lead { font-size: 18px; line-height: 1.65; color: #d7e2ec; max-width: 54ch; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { display: flex; gap: 40px; list-style: none; padding: 32px 0 0; margin: 40px 0 0; border-top: 1px solid rgba(255, 255, 255, .18); max-width: 520px; }
.hero__facts strong { display: block; font-family: var(--font-display); font-size: 34px; font-weight: 600; line-height: 1; margin-bottom: 6px; }
.hero__facts span { font-size: 13px; color: #bcd5ea; letter-spacing: .02em; }

.hero__books { position: relative; height: 460px; }
.hero__book {
  position: absolute; width: 230px; aspect-ratio: 2 / 3; object-fit: cover;
  border-radius: 2px 4px 4px 2px; box-shadow: var(--shadow-book), inset 4px 0 6px rgba(0,0,0,.2);
  transition: transform .6s var(--ease);
}
.hero__book--1 { left: 4%; top: 60px; transform: rotate(-8deg); }
.hero__book--2 { left: 30%; top: 10px; z-index: 2; width: 250px; transform: rotate(1deg); }
.hero__book--3 { left: 58%; top: 70px; transform: rotate(8deg); }
.hero__books:hover .hero__book--1 { transform: rotate(-11deg) translateX(-16px); }
.hero__books:hover .hero__book--3 { transform: rotate(11deg) translateX(16px); }
.hero__books:hover .hero__book--2 { transform: translateY(-8px); }

/* ---------- Values strip ---------- */
.values { border-bottom: 1px solid var(--border); background: #fff; }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.value { display: flex; align-items: center; gap: 14px; padding: 26px 20px; }
.value + .value { border-left: 1px solid var(--border); }
.value svg { flex: none; width: 32px; height: 32px; color: var(--sky); }
.value strong { display: block; font-size: 15px; font-weight: 600; }
.value span { font-size: 13px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--tint { background: var(--parchment); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__title { font-size: clamp(34px, 4vw, 52px); }
.lead { font-size: 19px; line-height: 1.6; color: var(--ink); }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; gap: 20px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--parchment);
  border: 1px solid var(--border); isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-card--wide { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, #e9eef3 0%, var(--parchment) 100%); }
.cat-card:nth-child(2) { grid-column: span 2; background: linear-gradient(160deg, #efe7e3 0%, var(--parchment) 100%); }
.cat-card:nth-child(5), .cat-card:nth-child(6) { grid-column: span 2; }
.cat-card__body { position: relative; padding: 22px 24px; z-index: 1; }
.cat-card h3 { font-size: 28px; margin-bottom: 4px; }
.cat-card--wide h3 { font-size: 40px; }
.cat-card p { font-size: 14px; color: var(--muted); margin-bottom: 10px; max-width: 34ch; }
.cat-card__count { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.cat-card__count::after { content: " →"; transition: margin .2s; }
.cat-card:hover .cat-card__count::after { margin-left: 4px; }

.cat-card__art--fan { position: relative; flex: 1; }
.cat-card__art--fan img {
  position: absolute; bottom: 0; left: 50%;
  height: 86%; width: auto; aspect-ratio: 2 / 3; object-fit: cover;
  border-radius: 2px 3px 3px 2px; box-shadow: var(--shadow-book);
  transition: transform .5s var(--ease);
}
.cat-card__art--fan img:nth-child(1) { transform: translate(-130%, 6%) rotate(-9deg); }
.cat-card__art--fan img:nth-child(2) { transform: translate(-50%, -4%); z-index: 2; height: 96%; }
.cat-card__art--fan img:nth-child(3) { transform: translate(30%, 6%) rotate(9deg); }
.cat-card:not(.cat-card--wide) .cat-card__art--fan { margin-top: 22px; }
.cat-card--wide .cat-card__art--fan { margin-top: 40px; }
.cat-card:hover .cat-card__art--fan img:nth-child(1) { transform: translate(-145%, 4%) rotate(-12deg); }
.cat-card:hover .cat-card__art--fan img:nth-child(3) { transform: translate(45%, 4%) rotate(12deg); }

.cat-card--photo { color: #fff; border: 0; }
.cat-card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.cat-card--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 30, 53, 0) 25%, rgba(18, 30, 53, .9) 100%); }
.cat-card--photo:hover .cat-card__photo { transform: scale(1.06); }
.cat-card--photo p { color: #d7e2ec; }
.cat-card--photo .cat-card__count { color: #fff; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); border: 1px solid transparent; transition: all .2s; }
.tab:hover { color: var(--navy); border-color: var(--sand); }
.tab.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.product-grid.is-swapping .product-card { opacity: 0; transform: translateY(8px); }
.product-card { display: flex; flex-direction: column; transition: opacity .3s, transform .3s var(--ease); }
.product-card__media {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 4 / 5; padding: 28px; margin-bottom: 16px;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid #ebe5e2;
}
.product-card__media img {
  position: absolute; top: 50%; left: 50%;
  width: auto; height: auto; max-width: calc(100% - 56px); max-height: calc(100% - 56px);
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow-book); border-radius: 2px;
  transition: transform .45s var(--ease);
}
.product-card:hover .product-card__media img { transform: translate(-50%, calc(-50% - 6px)) scale(1.02); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--navy); color: #fff;
}
.badge--format { left: auto; right: 12px; background: rgba(255, 255, 255, .92); color: var(--navy); border: 1px solid var(--border); }
.badge--oos { background: var(--clay); }
.product-card__quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s var(--ease);
}
.product-card:hover .product-card__quick, .product-card:focus-within .product-card__quick { opacity: 1; transform: none; }
.product-card__cat { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); font-weight: 600; margin-bottom: 6px; }
.product-card__title { font-family: var(--font-display); font-size: 22px; line-height: 1.15; font-weight: 600; margin-bottom: 4px; }
.product-card__title a:hover { color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.product-card__author { font-size: 14px; color: var(--muted); margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-weight: 700; font-size: 17px; color: var(--ink); }
.price small { font-weight: 500; font-size: 12px; color: var(--muted); }
.add-mini {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--navy); color: var(--navy); transition: all .2s;
}
.add-mini:hover { background: var(--navy); color: #fff; }
.add-mini[disabled] { border-color: var(--border); color: var(--clay); cursor: not-allowed; background: none; }

/* ---------- Spotlight ---------- */
.spotlight { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.spotlight::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07;
  background: url("../assets/web/texture.webp") center / cover;
}
.spotlight::after {
  content: ""; position: absolute; right: -180px; top: 50%; width: 620px; height: 620px; z-index: -1;
  transform: translateY(-50%); border-radius: 50%;
  border: 1px solid rgba(79, 139, 189, .35); box-shadow: 0 0 0 80px rgba(79, 139, 189, .05), 0 0 0 160px rgba(79, 139, 189, .03);
}
.spotlight__inner { display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.spotlight__cover img { width: 100%; height: auto; border-radius: 3px; box-shadow: 0 40px 60px -20px rgba(0, 0, 0, .6); transform: rotate(-2deg); transition: transform .5s var(--ease); }
.spotlight__cover:hover img { transform: rotate(0) translateY(-6px); }
.spotlight__title { font-size: clamp(42px, 5vw, 68px); margin-bottom: 6px; }
.spotlight__sub { font-family: var(--font-display); font-style: italic; font-size: 26px; color: #d7e2ec; margin-bottom: 20px; }
.spotlight__byline { font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.spotlight__byline span { display: block; font-weight: 400; color: #bcd5ea; }
.spotlight__copy > p:not([class]) { font-size: 17px; color: #d7e2ec; max-width: 56ch; margin-bottom: 32px; }

/* ---------- Story ---------- */
.story__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.story__media { position: relative; height: 520px; background: var(--parchment); border-radius: var(--radius-lg); }
.story__img { position: absolute; width: 44%; box-shadow: var(--shadow-book); border-radius: 2px; }
.story__img--a { left: 12%; top: 14%; transform: rotate(-5deg); }
.story__img--b { right: 10%; top: 26%; transform: rotate(4deg); }
.story__badge {
  position: absolute; left: -24px; bottom: 32px;
  background: var(--navy); color: #fff; padding: 20px 26px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.story__badge strong { display: block; font-family: var(--font-display); font-size: 32px; line-height: 1; margin-bottom: 4px; }
.story__badge span { font-size: 13px; color: #bcd5ea; }
.story__copy .section__title { margin-bottom: 24px; }
.story__copy > p { color: #384656; }
.story__list { list-style: none; padding: 0; margin: 28px 0 32px; border-top: 1px solid var(--border); }
.story__list li { position: relative; padding: 14px 0 14px 32px; border-bottom: 1px solid var(--border); font-family: var(--font-display); font-size: 21px; line-height: 1.3; }
.story__list li::before { content: "✦"; position: absolute; left: 0; top: 15px; color: var(--sky); font-size: 15px; }

/* ---------- Publications ---------- */
.pub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pub-card { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; padding: 28px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); transition: box-shadow .3s, transform .3s var(--ease); }
.pub-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pub-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.pub-card h3 { font-size: 32px; margin-bottom: 10px; }
.pub-card p:not(.eyebrow) { color: var(--muted); font-size: 15px; margin-bottom: 16px; }

/* ---------- CTA ---------- */
.cta { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.cta__mark { width: 200px; opacity: .95; }
.cta h2 { font-size: clamp(32px, 3.4vw, 44px); margin-bottom: 8px; }
.cta p { color: #d7e2ec; margin: 0; max-width: 56ch; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c4cfda; font-size: 15px; padding: 72px 0 32px; }
.newsletter { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.newsletter h2 { color: #fff; font-size: 40px; margin-bottom: 6px; }
.newsletter p { margin: 0; }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter__form input {
  flex: 1; min-width: 0; height: 48px; padding: 0 18px; border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; font: inherit;
}
.newsletter__form input::placeholder { color: #8d9bab; }
.newsletter__form input:focus { outline: none; border-color: var(--sky); background: rgba(255, 255, 255, .1); }
.newsletter__msg { flex-basis: 100%; font-size: 14px; min-height: 1.4em; margin: 0; }
.newsletter__msg.is-error { color: #f3b1b1; }
.newsletter__msg.is-ok { color: #a9dcb8; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__grid h3 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer__grid a { display: block; padding: 5px 0; transition: color .2s; }
.footer__grid a:hover { color: #fff; }
.footer__brand img { margin-bottom: 18px; }
.footer__brand p { max-width: 34ch; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); color: #fff; line-height: 0; transition: background-color .2s, border-color .2s; }
.footer__social a:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.footer__social svg { display: block; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.footer__bottom p { margin: 0; }
.footer__pay { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__pay span { padding: 4px 10px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 4px; font-size: 11px; font-weight: 600; letter-spacing: .04em; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: var(--radius-lg);
  background: var(--ink); color: #fff; box-shadow: var(--shadow-md); font-size: 14px;
  transform: translate(-50%, calc(100% + 48px)); visibility: hidden; transition: transform .4s var(--ease), visibility .4s; max-width: calc(100vw - 32px);
}
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; }
.toast img { width: 36px; height: 48px; object-fit: contain; background: #fff; border-radius: 3px; }
.toast button { color: #bcd5ea; font-weight: 600; text-decoration: underline; margin-left: 6px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .main-nav a, .main-nav__toggle { padding: 10px 8px; font-size: 14px; }
  .hide-md { display: none !important; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .main-nav { display: none; }
  .header__menu { display: inline-grid; }
  .header__logo img { height: 46px; }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; gap: 24px; }
  .hero__books { height: 320px; max-width: 520px; width: 100%; margin: 0 auto; }
  .hero__book { width: 170px; }
  .hero__book--2 { width: 190px; }
  .values__grid { grid-template-columns: 1fr 1fr; }
  .value:nth-child(3) { border-left: 0; }
  .value:nth-child(n+3) { border-top: 1px solid var(--border); }
  .cat-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
  .cat-card--wide { grid-column: span 2; grid-row: span 1; }
  .cat-card:nth-child(5), .cat-card:nth-child(6) { grid-column: span 1; }
  .cat-card--wide h3 { font-size: 32px; }
  .cat-card--wide .cat-card__art--fan { margin-top: 20px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .spotlight__inner { grid-template-columns: 280px 1fr; gap: 48px; }
  .story__inner { grid-template-columns: 1fr; gap: 56px; }
  .story__media { height: 440px; }
  .story__badge { left: 16px; }
  .pub-grid { grid-template-columns: 1fr; }
  .cta__inner { grid-template-columns: 1fr; gap: 24px; text-align: center; justify-items: center; }
  .cta__mark { width: 160px; }
  .newsletter { grid-template-columns: 1fr; gap: 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .announce p { font-size: 12px; }
  .announce__link { display: none; }
  .hide-sm { display: none !important; }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 28px; }
  .hero__inner { padding-top: 48px; padding-bottom: 40px; }
  .hero__lead { font-size: 16px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__facts { gap: 20px; justify-content: space-between; margin-top: 32px; padding-top: 24px; }
  .hero__facts strong { font-size: 26px; }
  .hero__facts span { font-size: 12px; }
  .hero__books { height: 230px; }
  .hero__book { width: 120px; top: 30px !important; }
  .hero__book--2 { width: 136px; top: 0 !important; }
  .hero__book--1 { left: 2%; }
  .hero__book--2 { left: 32%; }
  .hero__book--3 { left: 62%; }
  .values__grid { grid-template-columns: 1fr; }
  .value { padding: 16px 4px; }
  .value + .value { border-left: 0; border-top: 1px solid var(--border); }
  .cat-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
  .cat-card { min-height: 230px; }
  .cat-card__art--fan { flex: none; height: 170px; margin-top: 20px !important; }
  .cat-card--wide, .cat-card:nth-child(2), .cat-card:nth-child(5), .cat-card:nth-child(6) { grid-column: auto; }
  .cat-card--wide h3, .cat-card h3 { font-size: 26px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; width: calc(100% + 32px); }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .product-card__media img { max-width: calc(100% - 28px); max-height: calc(100% - 28px); }
  .product-card__title { font-size: 18px; }
  .product-card__quick { display: none; }
  .badge { font-size: 10px; padding: 3px 8px; top: 8px; left: 8px; }
  .badge--format { display: none; }
  .spotlight__inner { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 64px; gap: 40px; }
  .spotlight__cover { max-width: 240px; margin: 0 auto; }
  .story__media { height: 360px; }
  .story__badge { left: 12px; bottom: 16px; padding: 14px 18px; }
  .story__badge strong { font-size: 24px; }
  .pub-card { grid-template-columns: 110px 1fr; gap: 18px; padding: 18px; }
  .pub-card h3 { font-size: 26px; }
  .cta__actions { width: 100%; }
  .cta__actions .btn { flex: 1; }
  .newsletter h2 { font-size: 32px; }
  .newsletter__form .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .search__bar input { font-size: 18px; }
}

/* =========================================================
   Shared helpers (inner pages)
   ========================================================= */
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 28px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 22px 0; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }
.search__all { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
.search__hint a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
a.cart-item__title { display: block; }
a.cart-item__title:hover { color: var(--navy); text-decoration: underline; }

/* =========================================================
   Collection page
   ========================================================= */
.collection-hero { background: var(--parchment); border-bottom: 1px solid #ebe5e2; overflow: hidden; }
.collection-hero__inner { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: end; padding: 8px 0 28px; }
.collection-hero__title { font-size: clamp(40px, 5vw, 64px); margin-bottom: 14px; }
.collection-hero__desc { max-width: 62ch; color: #4a5866; font-size: 17px; margin: 0; }
.collection-hero__art { position: relative; height: 170px; }
.collection-hero__art img {
  position: absolute; bottom: -40px; width: 104px; aspect-ratio: 2 / 3; object-fit: cover;
  border-radius: 2px 3px 3px 2px; box-shadow: var(--shadow-book);
}
.collection-hero__art img:nth-child(1) { left: 10px; transform: rotate(-8deg); }
.collection-hero__art img:nth-child(2) { left: 96px; bottom: -24px; width: 116px; z-index: 1; }
.collection-hero__art img:nth-child(3) { left: 190px; transform: rotate(8deg); }

.cat-pills { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 24px; scrollbar-width: none; }
.cat-pills::-webkit-scrollbar { display: none; }
.pill {
  flex: none; padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: #fff; border: 1px solid var(--border); color: var(--ink); transition: all .2s;
}
.pill:hover { border-color: var(--navy); color: var(--navy); }
.pill.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.collection { padding: 40px 0 96px; }
.collection__layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }

/* Filters */
.filters { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; scrollbar-width: thin; }
.filters__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.filters__head h2 { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.filters__close, .filters__foot, .filters__scrim, .toolbar__filter { display: none; }
.filter { border-bottom: 1px solid var(--border); padding: 4px 0; }
.filter summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; font-weight: 600; font-size: 15px;
}
.filter summary::-webkit-details-marker { display: none; }
.filter summary::after { content: ""; width: 9px; height: 9px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.filter[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.filter__opts { display: flex; flex-direction: column; gap: 2px; padding-bottom: 14px; }
.opt { position: relative; display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 15px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__box { width: 18px; height: 18px; border: 1.5px solid #b9c1ca; border-radius: 4px; display: grid; place-items: center; transition: all .15s; }
.opt input[type="radio"] + .opt__box { border-radius: 50%; }
.opt input:checked + .opt__box { background: var(--navy); border-color: var(--navy); }
.opt input[type="checkbox"]:checked + .opt__box::after { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.opt input[type="radio"]:checked + .opt__box::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.opt input:focus-visible + .opt__box { outline: 2px solid var(--sky); outline-offset: 2px; }
.opt:hover .opt__label { color: var(--navy); }
.opt__count { font-size: 12px; color: var(--muted); background: var(--gray); border-radius: 999px; padding: 1px 8px; }
.opt.is-empty { opacity: .45; cursor: default; }

.switch { position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; padding: 4px 0; }
.switch input { position: absolute; opacity: 0; }
.switch__track { position: relative; width: 40px; height: 22px; border-radius: 11px; background: #cfd5db; transition: background .2s; flex: none; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.switch input:checked + .switch__track { background: var(--navy); }
.switch input:checked + .switch__track::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--sky); outline-offset: 2px; }

/* Toolbar */
.toolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.toolbar__count { margin: 0 auto 0 0; color: var(--muted); font-size: 15px; }
.toolbar__count strong { color: var(--ink); }
.toolbar__badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 11px; padding: 0 6px; }
.toolbar__badge[hidden] { display: none; }
.toolbar__search { position: relative; display: flex; align-items: center; }
.toolbar__search svg { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
.toolbar__search input { height: 42px; width: 230px; padding: 0 14px 0 38px; border: 1px solid var(--border); border-radius: var(--radius); font: inherit; font-size: 14px; color: var(--ink); background: #fff; }
.toolbar__search input:focus { outline: none; border-color: var(--sky); }
.toolbar__sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.toolbar__sort select {
  height: 42px; padding: 0 36px 0 14px; border: 1px solid var(--border); border-radius: var(--radius);
  font: inherit; font-size: 14px; color: var(--ink); appearance: none; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23121e35' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center;
}
.toolbar__sort select:focus { outline: none; border-color: var(--sky); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0 0; }
.chips:empty { padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--parchment); border: 1px solid #e8dfdb; font-size: 13px; font-weight: 500; transition: background .2s; }
.chip:hover { background: var(--sand); }
.chip--clear { background: none; border-color: transparent; text-decoration: underline; color: var(--muted); }
.chip--clear:hover { background: none; color: var(--ink); }

.product-grid--3 { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.empty { text-align: center; padding: 72px 16px; color: var(--muted); }
.empty[hidden] { display: none; }
.empty svg { width: 56px; height: 56px; margin: 0 auto 16px; color: var(--sand); }
.empty h2 { font-size: 30px; color: var(--ink); margin-bottom: 8px; }
.empty .btn { margin-top: 16px; }
.load-more { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 56px; }
.load-more[hidden], .load-more [hidden] { display: none; }
.load-more__label { font-size: 14px; color: var(--muted); margin: 0; }
.load-more__bar { width: 220px; height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.load-more__bar span { display: block; height: 100%; background: var(--navy); transition: width .4s var(--ease); }

.help-strip { background: var(--parchment); border-top: 1px solid #ebe5e2; }
.help-strip__inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.help-strip__item { display: flex; align-items: center; gap: 14px; padding: 28px 20px; }
.help-strip__item + .help-strip__item { border-left: 1px solid #e8dfdb; }
.help-strip__item svg { flex: none; width: 32px; height: 32px; color: var(--sky); }
.help-strip__item strong { display: block; font-size: 15px; }
.help-strip__item span { font-size: 13px; color: var(--muted); }
.help-strip__item a { color: var(--navy); text-decoration: underline; }

/* =========================================================
   Product page
   ========================================================= */
.pdp { padding-bottom: 72px; }
.pdp[hidden], .section[hidden] { display: none; }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; padding-top: 8px; }
.pdp__gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.pdp__stage {
  position: relative; display: block; width: 100%; aspect-ratio: 1 / 1;
  background: radial-gradient(ellipse at 50% 40%, #fff 0%, var(--parchment) 70%); border: 1px solid #ebe5e2; border-radius: var(--radius-lg);
  cursor: zoom-in; overflow: hidden;
}
.pdp__stage img {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: auto; height: auto; max-width: 66%; max-height: 80%;
  border-radius: 2px 4px 4px 2px; box-shadow: 0 30px 50px -18px rgba(18,30,53,.5), 0 6px 14px rgba(18,30,53,.15);
  transition: transform .5s var(--ease);
}
.pdp__stage.is-square img { max-width: 76%; max-height: 76%; }
.pdp__stage:hover img { transform: translate(-50%, calc(-50% - 6px)) scale(1.02); }
.pdp__stage .badge { top: 16px; left: 16px; }
.pdp__stage .badge[hidden] { display: none; }
.pdp__zoom { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--border); color: var(--ink); box-shadow: var(--shadow-sm); }
.pdp__assure { display: flex; justify-content: center; gap: 28px; list-style: none; padding: 0; margin: 18px 0 0; font-size: 13px; color: var(--muted); }
.pdp__assure li { display: flex; align-items: center; gap: 8px; }
.pdp__assure svg { width: 18px; height: 18px; color: var(--sky); }

.pdp__info { padding-top: 8px; }
.pdp__cat { display: inline-block; }
.pdp__cat:hover { text-decoration: underline; }
.pdp__title { font-size: clamp(36px, 4vw, 54px); line-height: 1.05; margin-bottom: 10px; }
.pdp__subtitle { font-family: var(--font-display); font-style: italic; font-size: 22px; color: #3f4d5c; margin-bottom: 14px; line-height: 1.3; }
.pdp__subtitle[hidden], .pdp__author[hidden], .pdp__lede[hidden] { display: none; }
.pdp__author { font-size: 16px; color: var(--ink); font-weight: 500; }
.pdp__author span { color: var(--muted); font-weight: 400; }
.pdp__price-row { display: flex; align-items: center; gap: 14px; margin: 24px 0 8px; padding-top: 24px; border-top: 1px solid var(--border); }
.pdp__price { font-size: 30px; font-weight: 700; margin: 0; }
.pdp__price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.pdp__format { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--border); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.pdp__stock { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; margin-bottom: 20px; }
.pdp__stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(47, 122, 79, .15); }
.pdp__stock.is-in { color: #2f7a4f; }
.pdp__stock.is-out { color: var(--danger); }
.pdp__stock.is-out::before { box-shadow: 0 0 0 4px rgba(163, 58, 58, .15); }
.pdp__date { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.pdp__date svg { color: var(--sky); }
.pdp__lede { color: #3f4d5c; font-size: 16px; line-height: 1.7; margin-bottom: 26px; }

.pdp__buy { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.pdp__buy[hidden] { display: none; }
.pdp__now { grid-column: 1 / -1; }
.qty--lg { margin: 0; height: 52px; border-color: #cfd5db; }
.qty--lg[hidden] { display: none; }
.qty--lg button { width: 44px; height: 100%; font-size: 20px; }
.qty--lg input { width: 44px; height: 100%; border: 0; text-align: center; font: 600 16px var(--font-body); color: var(--ink); -moz-appearance: textfield; background: none; }
.qty--lg input::-webkit-outer-spin-button, .qty--lg input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--lg[hidden] + .pdp__add { grid-column: 1 / -1; }
.pdp__add, .pdp__now { min-height: 52px; font-size: 16px; }

.pdp__notify { background: var(--parchment); border-radius: var(--radius-lg); padding: 22px; }
.pdp__notify[hidden] { display: none; }
.pdp__notify p { font-size: 15px; }
.pdp__notify-form { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp__notify-form input { flex: 1; min-width: 180px; height: 48px; padding: 0 16px; border: 1px solid var(--border); border-radius: var(--radius); font: inherit; background: #fff; }
.pdp__notify-msg { min-height: 1.4em; margin: 10px 0 6px; font-size: 14px; }
.pdp__notify-msg.is-ok { color: #2f7a4f; }
.pdp__notify-msg.is-error { color: var(--danger); }
.pdp__notify .link-arrow[hidden] { display: none; }

.pdp__perks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.pdp__perks li { padding: 16px 18px; }
.pdp__perks li + li { border-left: 1px solid var(--border); }
.pdp__perks strong { display: block; font-size: 14px; }
.pdp__perks span { font-size: 13px; color: var(--muted); line-height: 1.45; display: block; }

.pdp__share { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 13px; color: var(--muted); }
.pdp__share a, .pdp__share button { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); color: var(--ink); transition: all .2s; }
.pdp__share a:hover, .pdp__share button:hover { border-color: var(--navy); }
.pdp__share svg { display: block; }
.pdp__share button.is-done { background: #2f7a4f; border-color: #2f7a4f; color: #fff; }

.pdp-tabs { margin-top: 80px; border-top: 1px solid var(--border); }
.pdp-tabs__list { display: flex; gap: 36px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.pdp-tabs__list button { position: relative; padding: 22px 0 18px; font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.pdp-tabs__list button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--navy); transform: scaleX(0); transition: transform .25s var(--ease); }
.pdp-tabs__list button.is-active { color: var(--ink); }
.pdp-tabs__list button.is-active::after { transform: scaleX(1); }
.pdp-tabs__panel { padding: 32px 0 0; max-width: 780px; }
.pdp-tabs__panel[hidden] { display: none; }
.prose p { font-size: 17px; line-height: 1.8; color: #2c3a49; margin-bottom: 1.1em; }
.prose a { color: var(--navy); text-decoration: underline; }
.specs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.specs div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--gray); font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; }
.specs a { color: var(--navy); text-decoration: underline; }

.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none;
  grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px -12px rgba(18,30,53,.25); transform: translateY(110%); transition: transform .3s var(--ease);
}
.buybar.is-visible { transform: none; }
.buybar img { width: 40px; height: 54px; object-fit: contain; background: var(--parchment); }
.buybar__meta { min-width: 0; }
.buybar__meta strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__meta span { font-size: 13px; color: var(--muted); }
.buybar .btn[disabled] { background: var(--clay); cursor: not-allowed; }

.lightbox { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; visibility: hidden; padding: 40px; }
.lightbox.is-open { visibility: visible; }
.lightbox .drawer__scrim { background: rgba(18, 30, 53, .88); }
.lightbox.is-open .drawer__scrim { opacity: 1; }
.lightbox img { position: relative; z-index: 1; max-height: 86vh; max-width: 90vw; width: auto; border-radius: 3px; box-shadow: 0 30px 80px rgba(0,0,0,.5); opacity: 0; transform: scale(.96); transition: opacity .3s, transform .3s var(--ease); }
.lightbox.is-open img { opacity: 1; transform: none; }
.lightbox__close { position: absolute; top: 16px; right: 16px; z-index: 2; color: #fff; }
.lightbox__close:hover { background: rgba(255,255,255,.12); }

/* ---------- Inner pages: responsive ---------- */
@media (max-width: 1180px) {
  .toolbar__search input { width: 180px; }
}
@media (max-width: 1024px) {
  .collection-hero__inner { grid-template-columns: 1fr; }
  .collection-hero__art { display: none; }
  .collection__layout { grid-template-columns: 1fr; }
  .toolbar__filter { display: inline-flex; }
  .filters {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 100; max-height: none;
    width: min(380px, 90vw); background: #fff; display: flex; flex-direction: column; padding: 0;
    transform: translateX(-100%); transition: transform .35s var(--ease); overflow: hidden;
  }
  .filters-open .filters { transform: none; }
  .filters__head { padding: 16px 20px; }
  .filters__close { display: inline-grid; }
  .filters__body { flex: 1; overflow-y: auto; padding: 0 20px; }
  .filters__foot { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--border); }
  .filters__scrim { display: block; position: fixed; inset: 0; z-index: 99; background: rgba(18,30,53,.45); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .filters-open .filters__scrim { opacity: 1; visibility: visible; }
  .pdp__grid { grid-template-columns: 1fr; gap: 40px; }
  .pdp__gallery { position: static; max-width: 560px; width: 100%; margin: 0 auto; }
  .specs { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .collection { padding: 24px 0 64px; }
  .collection-hero__title { font-size: 40px; }
  .collection-hero__desc { font-size: 15px; }
  .cat-pills { margin: 0 -16px; padding: 4px 16px 20px; }
  .toolbar { gap: 10px; }
  .toolbar__count { order: 3; flex-basis: 100%; margin: 0; font-size: 14px; }
  .toolbar__search { order: 4; flex-basis: 100%; }
  .toolbar__search input { width: 100%; }
  .toolbar__sort span { display: none; }
  .toolbar__sort { margin-left: auto; }
  .product-grid--3 { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .help-strip__inner { grid-template-columns: 1fr; }
  .help-strip__item { padding: 16px 4px; }
  .help-strip__item + .help-strip__item { border-left: 0; border-top: 1px solid #e8dfdb; }
  .pdp__title { font-size: 34px; }
  .pdp__subtitle { font-size: 19px; }
  .pdp__perks { grid-template-columns: 1fr; }
  .pdp__perks li + li { border-left: 0; border-top: 1px solid var(--border); }
  .pdp-tabs { margin-top: 48px; }
  .pdp-tabs__list { gap: 24px; margin: 0 -16px; padding: 0 16px; }
  .pdp-tabs__list button { font-size: 19px; }
  .prose p { font-size: 16px; }
  .specs div { grid-template-columns: 110px 1fr; }
  .buybar { display: grid; }
  .page-product .site-footer { padding-bottom: 96px; }
}

/* =========================================================
   Shop landing page
   ========================================================= */
.breadcrumb--light { color: #9fb3c6; padding: 0 0 28px; }
.breadcrumb--light [aria-current] { color: #fff; }
.breadcrumb--light a:hover { color: #fff; }

.shop-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.shop-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .08; background: url("../assets/web/texture.webp") center / cover; }
.shop-hero::after {
  content: ""; position: absolute; z-index: -1; left: -200px; top: -260px; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 139, 189, .28) 0%, rgba(79, 139, 189, 0) 65%);
}
.shop-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; padding-top: 32px; }
.shop-hero__copy { padding-bottom: 72px; }
.shop-hero__title { font-size: clamp(48px, 6vw, 84px); line-height: 1; margin-bottom: 18px; }
.shop-hero__lead { font-size: 18px; color: #d7e2ec; max-width: 46ch; margin-bottom: 28px; }
.shop-search {
  position: relative; display: flex; align-items: center; gap: 8px; max-width: 540px;
  padding: 6px 6px 6px 48px; background: #fff; border-radius: 10px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
}
.shop-search svg { position: absolute; left: 16px; color: var(--muted); }
.shop-search input { flex: 1; min-width: 0; height: 46px; border: 0; outline: 0; font: 500 16px var(--font-body); color: var(--ink); background: none; }
.shop-search .btn { min-height: 46px; }
.shop-search:focus-within { box-shadow: 0 0 0 3px rgba(79, 139, 189, .5), 0 20px 40px -20px rgba(0, 0, 0, .5); }
.shop-hero__popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 18px; font-size: 14px; color: #9fb3c6; }
.shop-hero__popular a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.shop-hero__popular a:hover { border-color: #fff; }

.shop-hero__shelf { position: relative; height: 380px; display: flex; align-items: flex-end; justify-content: center; padding: 0 24px 18px; }
.shop-hero__shelf img {
  position: relative; width: 92px; aspect-ratio: 2 / 3; object-fit: cover; margin-left: -8px;
  border-radius: 2px 3px 3px 2px; box-shadow: -6px 10px 18px rgba(0, 0, 0, .45), inset 3px 0 4px rgba(0, 0, 0, .25);
  transform-origin: bottom center; transition: transform .45s var(--ease);
}
.shop-hero__shelf img:nth-child(odd) { width: 104px; }
.shop-hero__shelf img:nth-child(3) { width: 122px; z-index: 2; }
.shop-hero__shelf img:nth-child(5) { width: 112px; z-index: 1; }
.shop-hero__shelf img:nth-child(6) { transform: rotate(8deg); margin-left: 4px; }
.shop-hero__shelf img:hover { transform: translateY(-16px); z-index: 3; }
.shop-hero__shelf img:nth-child(6):hover { transform: rotate(8deg) translateY(-12px); }
.shelf__board { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #2a3d57 0%, #1a2a40 100%); box-shadow: 0 -1px 0 rgba(255, 255, 255, .12) inset; }

/* Category tiles */
.shop-cats { position: relative; z-index: 1; margin-top: -1px; padding: 36px 0; border-bottom: 1px solid var(--border); }
.shop-cats__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.shop-cat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 18px 10px; border-radius: var(--radius-lg); transition: background .2s; }
.shop-cat:hover { background: var(--parchment); }
.shop-cat__img { display: grid; place-items: center; width: 96px; height: 96px; margin-bottom: 10px; border-radius: 50%; background: var(--parchment); overflow: hidden; transition: transform .3s var(--ease); }
.shop-cat:hover .shop-cat__img { transform: scale(1.06); background: #fff; }
.shop-cat__img img { width: 58%; height: 78%; object-fit: cover; border-radius: 2px; box-shadow: var(--shadow-book); }
.shop-cat__name { font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.15; }
.shop-cat__count { font-size: 12px; color: var(--muted); letter-spacing: .04em; }

/* Carousel rows */
.shop-row { padding: 80px 0 72px; }
.shop-row--tint { background: var(--parchment); }
.shop-row__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.shop-row__nav { display: flex; align-items: center; gap: 10px; }
.shop-row__nav .link-arrow { margin-right: 14px; }
.carousel-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--navy); color: var(--navy); transition: all .2s; }
.carousel-btn:hover:not(:disabled) { background: var(--navy); color: #fff; }
.carousel-btn:disabled { border-color: var(--border); color: var(--clay); cursor: default; }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding: 4px 2px 8px; margin: -4px -2px 0;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel:focus-visible { outline: 2px solid var(--sky); outline-offset: 6px; border-radius: var(--radius); }
.carousel__item { scroll-snap-align: start; display: flex; }
.carousel__item .product-card { width: 100%; }

/* Promos */
.shop-promos { padding: 8px 0 0; }
.shop-promos__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.promo { position: relative; display: flex; align-items: center; min-height: 340px; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s; }
.promo:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.promo__copy { position: relative; z-index: 1; padding: 40px; max-width: 360px; }
.promo h2 { font-size: clamp(30px, 3vw, 40px); margin-bottom: 10px; }
.promo p:not(.eyebrow) { font-size: 15px; margin-bottom: 22px; }
.promo--books { background: linear-gradient(135deg, #e9eef3 0%, var(--parchment) 100%); border: 1px solid var(--border); }
.promo--books p:not(.eyebrow) { color: var(--muted); }
.promo__art { position: absolute; right: 24px; bottom: -20px; width: 46%; height: 88%; }
.promo__art img { position: absolute; bottom: 0; width: 46%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px 3px 3px 2px; box-shadow: var(--shadow-book); transition: transform .5s var(--ease); }
.promo__art img:nth-child(1) { left: 0; transform: rotate(-7deg); }
.promo__art img:nth-child(2) { left: 28%; bottom: 24px; z-index: 1; width: 50%; }
.promo__art img:nth-child(3) { left: 58%; transform: rotate(7deg); }
.promo--books:hover .promo__art img:nth-child(1) { transform: rotate(-10deg) translateX(-10px); }
.promo--books:hover .promo__art img:nth-child(3) { transform: rotate(10deg) translateX(10px); }
.promo--media { color: #fff; background: var(--navy); }
.promo__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.promo--media::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(100deg, rgba(18, 30, 53, .92) 0%, rgba(19, 59, 92, .6) 60%, rgba(19, 59, 92, .2) 100%); }
.promo--media:hover .promo__bg { transform: scale(1.05); }
.promo--media p:not(.eyebrow) { color: #d7e2ec; }

/* Authors */
.author-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px 16px; }
.author-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.author-card__mono {
  position: relative; display: grid; place-items: center; width: 112px; height: 112px; margin-bottom: 12px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--font-display); font-size: 36px; font-weight: 600; letter-spacing: .02em;
  box-shadow: 0 0 0 6px var(--parchment); transition: transform .3s var(--ease), box-shadow .3s;
}
.author-card__mono img {
  position: absolute; right: -10px; bottom: -6px; width: 42px; aspect-ratio: 2 / 3; object-fit: cover;
  border-radius: 2px; box-shadow: var(--shadow-book); transform: rotate(8deg); transition: transform .3s var(--ease);
}
.author-card:nth-child(3n+2) .author-card__mono { background: var(--sky); }
.author-card:nth-child(3n) .author-card__mono { background: #6b5e5b; }
.author-card:hover .author-card__mono { transform: translateY(-4px); box-shadow: 0 0 0 6px var(--sand); }
.author-card:hover .author-card__mono img { transform: rotate(0) translateY(-4px); }
.author-card__name { font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.2; }
.author-card:hover .author-card__name { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.author-card__count { font-size: 13px; color: var(--muted); }

/* Price tiles */
.shop-price { padding-top: 88px; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.price-tile {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 30px 28px; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; transition: all .3s var(--ease);
}
.price-tile::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%;
  background: var(--parchment); transition: transform .4s var(--ease), background .3s; z-index: 0;
}
.price-tile > * { position: relative; z-index: 1; }
.price-tile:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.price-tile:hover::after { transform: scale(1.4); background: #e9eef3; }
.price-tile__label { font-family: var(--font-display); font-size: 32px; font-weight: 600; line-height: 1.05; color: var(--navy); }
.price-tile__sub { font-size: 14px; color: var(--muted); }
.price-tile__count { margin-top: 14px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink); }

@media (max-width: 1024px) {
  .shop-hero__inner { grid-template-columns: 1fr; gap: 0; }
  .shop-hero__copy { padding-bottom: 32px; }
  .shop-hero__shelf { height: 230px; max-width: 620px; width: 100%; margin: 0 auto; }
  .shop-hero__shelf img { width: 76px; }
  .shop-hero__shelf img:nth-child(odd) { width: 84px; }
  .shop-hero__shelf img:nth-child(3) { width: 96px; }
  .shop-hero__shelf img:nth-child(5) { width: 90px; }
  .shop-cats__grid { grid-template-columns: repeat(3, 1fr); }
  .carousel { grid-auto-columns: calc((100% - 2 * 24px) / 3); }
  .shop-promos__grid { grid-template-columns: 1fr; }
  .author-grid { grid-template-columns: repeat(4, 1fr); }
  .price-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .shop-hero__inner { padding-top: 20px; }
  .shop-hero__title { font-size: 48px; }
  .shop-hero__lead { font-size: 16px; }
  .shop-search { padding-left: 42px; }
  .shop-search svg { left: 14px; }
  .shop-search .btn { padding: 0 16px; }
  .shop-hero__shelf { height: 170px; padding-bottom: 14px; }
  .shop-hero__shelf img { width: 52px; margin-left: -6px; }
  .shop-hero__shelf img:nth-child(odd) { width: 58px; }
  .shop-hero__shelf img:nth-child(3) { width: 66px; }
  .shop-hero__shelf img:nth-child(5) { width: 62px; }
  .shop-cats { padding: 20px 0; }
  .shop-cats__grid { display: flex; overflow-x: auto; gap: 4px; margin: 0 -16px; padding: 0 12px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .shop-cats__grid::-webkit-scrollbar { display: none; }
  .shop-cat { flex: none; width: 112px; padding: 10px 4px; scroll-snap-align: start; }
  .shop-cat__img { width: 76px; height: 76px; }
  .shop-cat__name { font-size: 16px; }
  .shop-row { padding: 56px 0 48px; }
  .shop-row__head { margin-bottom: 22px; }
  .shop-row__nav .carousel-btn { display: none; }
  .shop-row__nav .link-arrow { margin-right: 0; }
  .carousel { grid-auto-columns: 62%; gap: 14px; margin: 0 -16px; padding: 4px 16px 8px; scroll-padding: 0 16px; }
  .promo { min-height: 300px; align-items: flex-start; }
  .promo__copy { padding: 28px 24px; }
  .promo--books { flex-direction: column; align-items: stretch; min-height: 0; }
  .promo--books .promo__art { position: relative; right: auto; bottom: auto; width: 76%; height: 190px; margin: 0 auto -18px; }
  .author-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 8px; }
  .author-card__mono { width: 84px; height: 84px; font-size: 28px; }
  .author-card__mono img { width: 32px; }
  .author-card__name { font-size: 16px; }
  .price-grid { gap: 12px; }
  .price-tile { padding: 22px 18px; }
  .price-tile__label { font-size: 24px; }
}

/* =========================================================
   About page
   ========================================================= */
.about-hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.about-hero__bg { position: absolute; inset: 0; z-index: -1; }
.about-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.about-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 30, 53, .78) 0%, rgba(18, 30, 53, .9) 70%, var(--ink) 100%); }
.about-hero__inner { padding-top: 32px; padding-bottom: 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.about-hero__inner .breadcrumb { justify-content: center; }
.about-hero__title { font-size: clamp(40px, 5.4vw, 74px); line-height: 1.04; max-width: 18ch; margin-bottom: 20px; }
.about-hero__lead { font-size: 18px; color: #d7e2ec; max-width: 52ch; margin-bottom: 48px; }
.about-jump { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; padding: 12px; margin-bottom: -1px; border-radius: 14px 14px 0 0; background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .12); border-bottom: 0; }
.about-jump a { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #d7e2ec; transition: all .2s; }
.about-jump a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.about-jump a.is-active { background: #fff; color: var(--navy); }

.about-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.about-intro__head { position: sticky; top: calc(var(--header-h) + 32px); }
.about-intro__body > p:not(.lead) { color: #3f4d5c; }
.mission-list { list-style: none; padding: 0; margin: 8px 0 32px; border-top: 1px solid var(--border); }
.mission-list li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.mission-list__num { font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--sky); }
.mission-list strong { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 600; margin-bottom: 6px; }
.mission-list p { color: #3f4d5c; margin: 0; }
.about-note { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--parchment); font-size: 15px; color: var(--ink); }
.about-note svg { flex: none; margin-top: 2px; color: var(--sky); }

.about-stats { background: var(--navy); color: #fff; }
.about-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 44px 28px; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .14); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(44px, 4.4vw, 60px); font-weight: 600; line-height: 1; margin-bottom: 10px; }
.stat span { font-size: 15px; color: #bcd5ea; line-height: 1.5; display: block; max-width: 24ch; }

.about-quote { padding: 112px 0; background: #fff; text-align: center; }
.about-quote figure { margin: 0 auto; max-width: 900px; }
.about-quote__mark { width: 52px; color: var(--sand); margin: 0 auto 28px; }
.about-quote blockquote { margin: 0; }
.about-quote blockquote p { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 40px); line-height: 1.3; color: var(--ink); font-weight: 500; }
.about-quote figcaption { margin-top: 32px; display: flex; flex-direction: column; gap: 2px; }
.about-quote figcaption strong { font-size: 16px; }
.about-quote figcaption span { font-size: 13px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }

.commit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.commit { background: #fff; border: 1px solid #ebe5e2; border-radius: var(--radius-lg); padding: 36px 32px; transition: transform .3s var(--ease), box-shadow .3s; }
.commit:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.commit__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #e9eef3; color: var(--navy); margin-bottom: 22px; }
.commit__icon svg { width: 30px; height: 30px; }
.commit h3 { font-size: 30px; margin-bottom: 10px; }
.commit p { color: var(--muted); margin: 0; }

.about-history { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.about-history__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.about-history__intro .section__title { margin-bottom: 22px; }
.about-history__intro p { color: #3f4d5c; }
.about-history__intro .link-arrow { margin-top: 8px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 36px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--sky), var(--sand)); }
.timeline li { position: relative; padding: 0 0 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -36px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--sky); }
.timeline li.is-current::before { background: var(--navy); border-color: var(--navy); box-shadow: 0 0 0 6px rgba(19, 59, 92, .15); }
.timeline__year { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); margin-bottom: 6px; }
.timeline h3 { font-size: 28px; margin-bottom: 4px; }
.timeline p { color: var(--muted); margin: 0; }

.beads { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.beads::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; background: url("../assets/web/texture.webp") center / cover; }
.beads__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; padding-top: 104px; padding-bottom: 104px; }
.beads h2 { font-size: clamp(36px, 4vw, 54px); margin-bottom: 20px; }
.beads__copy > p { color: #d7e2ec; font-size: 17px; }
.beads__copy strong { color: #fff; }
.beads__phases { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; }
.beads__phases span { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; font-size: 13px; color: #d7e2ec; }
.beads__phases strong { color: #fff; margin-right: 4px; }
.bead-list { list-style: none; margin: 0; padding: 12px; display: flex; flex-direction: column; gap: 4px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; }
.bead-list li { display: flex; gap: 20px; align-items: center; padding: 18px 20px; border-radius: 12px; transition: background .2s; }
.bead-list li:hover { background: rgba(255, 255, 255, .06); }
.bead-list strong { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.1; }
.bead-list span:not(.bead) { font-size: 15px; color: #bcd5ea; }
.bead { flex: none; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset -6px -8px 12px rgba(0, 0, 0, .35), inset 5px 5px 10px rgba(255, 255, 255, .35), 0 8px 16px rgba(0, 0, 0, .35); position: relative; }
.bead::after { content: ""; position: absolute; left: 11px; top: 9px; width: 11px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); transform: rotate(-30deg); }
.bead--red { background: #c4332f; }
.bead--pink { background: #e58aa3; }
.bead--gray { background: #9a9ea6; }
.bead--black { background: #1b1b1f; box-shadow: inset -6px -8px 12px rgba(0, 0, 0, .5), inset 5px 5px 10px rgba(255, 255, 255, .2), 0 8px 16px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .2); }

.people-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px 20px; }
.people-grid--board { grid-template-columns: repeat(7, 1fr); }
.person { text-align: center; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin-bottom: 16px; filter: grayscale(.25); box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--border); transition: filter .3s, transform .3s var(--ease), box-shadow .3s; }
.section--tint .person img { box-shadow: 0 0 0 6px var(--parchment), 0 0 0 7px var(--sand); }
.person:hover img { filter: none; transform: translateY(-4px); }
.person h3 { font-size: 21px; margin-bottom: 4px; }
.person p { font-size: 13px; color: var(--muted); line-height: 1.45; margin: 0; }

.about-read__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; background: var(--parchment); border-radius: 20px; padding: 64px; overflow: hidden; }
.about-read__inner .section__title { margin-bottom: 16px; }
.about-read__inner p { color: #3f4d5c; margin-bottom: 28px; max-width: 48ch; }
.about-read__books { position: relative; height: 280px; }
.about-read__books img { position: absolute; bottom: 0; width: 150px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px 4px 4px 2px; box-shadow: var(--shadow-book); }
.about-read__books img:nth-child(1) { left: 6%; transform: rotate(-8deg); }
.about-read__books img:nth-child(2) { left: 33%; bottom: 24px; z-index: 1; width: 164px; }
.about-read__books img:nth-child(3) { left: 62%; transform: rotate(8deg); }

@media (max-width: 1024px) {
  .about-intro, .about-history { grid-template-columns: 1fr; gap: 40px; }
  .about-intro__head, .about-history__intro { position: static; }
  .about-stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .commit-grid { grid-template-columns: 1fr; }
  .beads__inner { grid-template-columns: 1fr; gap: 48px; }
  .people-grid, .people-grid--board { grid-template-columns: repeat(4, 1fr); }
  .about-read__inner { grid-template-columns: 1fr; padding: 48px; }
  .about-read__books { max-width: 460px; width: 100%; }
}
@media (max-width: 720px) {
  .about-hero__lead { font-size: 16px; margin-bottom: 32px; }
  .about-jump { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; width: calc(100% + 32px); margin-left: -16px; margin-right: -16px; border-radius: 0; padding: 10px 16px; scrollbar-width: none; }
  .about-jump::-webkit-scrollbar { display: none; }
  .about-jump a { flex: none; }
  .mission-list li { grid-template-columns: 48px 1fr; }
  .mission-list__num { font-size: 30px; }
  .mission-list strong { font-size: 22px; }
  .stat { padding: 28px 16px; }
  .stat span { font-size: 13px; }
  .about-quote { padding: 72px 0; }
  .commit { padding: 28px 24px; }
  .timeline h3 { font-size: 24px; }
  .beads__inner { padding-top: 72px; padding-bottom: 72px; }
  .bead-list li { padding: 14px; gap: 16px; }
  .bead { width: 38px; height: 38px; }
  .bead::after { left: 9px; top: 7px; width: 9px; height: 6px; }
  .people-grid, .people-grid--board { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .person h3 { font-size: 19px; }
  .about-read__inner { padding: 32px 24px; border-radius: 16px; }
  .about-read__books { height: 210px; }
  .about-read__books img { width: 108px; }
  .about-read__books img:nth-child(2) { width: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
