/* Page styles for book.html (The Books).
   Shared base reset lives in reset.css; :root brand tokens live in tokens.css.
   Scaffolding (nav, container, animations, section, footer) mirrors index.css so
   each page's stylesheet is self-contained. The book-unique components — hero +
   age-bar, mission band, the age arc, book cards, praise blurbs, the four bridge
   cards, and the closing CTA — follow below. */

/* ── LAYOUT ── */
  .ss-container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
  @media (max-width: 768px) { .ss-container { padding: 0 20px; } }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  .ss-anim { opacity: 0; animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) forwards; }
  .ss-anim-d1 { animation-delay: 0.1s; }
  .ss-anim-d2 { animation-delay: 0.2s; }
  .ss-anim-d3 { animation-delay: 0.35s; }
  .ss-anim-d4 { animation-delay: 0.5s; }
  .ss-anim-d5 { animation-delay: 0.65s; }

  .ss-nav-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }

  /* ── NAV ── */
  .ss-nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(250,249,246,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  .ss-nav-inner {
    max-width: var(--max); margin: 0 auto; padding: 0 32px;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px; gap: 24px;
  }
  .ss-nav-logo {
    font-family: var(--serif); font-size: 22px; color: var(--green-deep);
    display: flex; align-items: center; gap: 10px; white-space: nowrap; flex-shrink: 0;
  }
  .ss-nav-logo span { color: var(--green); }
  .ss-nav-links {
    display: flex; align-items: center; gap: 28px;
    font-size: 14px; color: var(--ink-light); font-weight: 400;
  }
  .ss-nav-links a:hover { color: var(--green-deep); }
  .ss-nav-cta {
    background: var(--green); color: #ffffff !important;
    border: none; padding: 10px 20px; border-radius: var(--radius-pill);
    font-family: var(--sans); font-size: 14px; font-weight: 500;
    cursor: pointer; white-space: nowrap; flex-shrink: 0;
    transition: background 0.2s, transform 0.15s; display: inline-block;
    text-decoration: none;
  }
  .ss-nav-cta:hover { background: var(--green-deep); transform: translateY(-1px); }
  /* Scoped to .ss-nav so the color beats `.ss-wrap a { color: inherit }` (same trick as .ss-nav-cta). */
  .ss-nav .ss-nav-login {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: var(--radius-pill);
    font-size: 14px; font-weight: 500; color: var(--green);
    white-space: nowrap; flex-shrink: 0;
    transition: background 0.18s ease, color 0.18s ease;
  }
  .ss-nav .ss-nav-login svg { width: 20px; height: 20px; }
  .ss-nav .ss-nav-login:hover { background: rgba(0,0,0,0.06); color: var(--green-deep); }
  .ss-nav-hamburger {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 4px;
  }
  .ss-nav-hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--ink); border-radius: 2px; transition: 0.3s;
  }
  .ss-mobile-menu {
    display: none; flex-direction: column; gap: 0;
    background: var(--cream); border-top: 1px solid var(--border);
    padding: 12px 20px 20px;
  }
  .ss-mobile-menu a {
    padding: 12px 0; font-size: 15px; color: var(--ink-light);
    border-bottom: 1px solid var(--border);
  }
  .ss-mobile-menu a:last-child { border-bottom: none; }
  /* Hidden by default; only revealed on portrait phones (<=600px) where the
     header CTA is hidden. Centered, content-width pill — not full menu width. */
  .ss-mobile-menu .ss-mobile-cta {
    display: none; align-self: center; margin-top: 12px;
    background: var(--green); color: #ffffff;
    border: none; padding: 14px 28px; border-radius: var(--radius-pill);
    font-family: var(--sans); font-size: 15px; font-weight: 500; cursor: pointer;
  }
  @media (max-width: 880px) {
    .ss-nav-links { display: none; }
    .ss-nav-hamburger { display: flex; }
    .ss-nav-inner { gap: 14px; }
    /* Push the login + CTA + hamburger cluster to the right, logo stays left */
    .ss-nav-login { margin-left: auto; }
  }
  @media (max-width: 768px) {
    .ss-nav-inner { padding: 0 20px; }
  }
  @media (max-width: 600px) {
    /* Portrait phones can't fit the header CTA — switch it out for the centered
       CTA inside the mobile menu (never both at once). */
    .ss-nav-cta { display: none; }
    .ss-mobile-menu .ss-mobile-cta { display: inline-block; }
  }

  /* ── SECTION SHARED ── */
  .ss-section { padding: var(--section-pad) 0; }
  .ss-eyebrow {
    display: inline-block;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--terracotta); line-height: 1.5; margin-bottom: 16px;
  }

  /* ── BUTTONS (page-unique set: primary green, ghost outline, terracotta).
     Base rules scoped to .ss-wrap so the white text beats `.ss-wrap a { color: inherit }`
     (the .is-ghost/.is-terra variants already out-specify it on their own). ── */
  .ss-wrap .ss-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: var(--sans); font-weight: 600; font-size: 0.98rem; line-height: 1;
    padding: 15px 30px; border-radius: var(--radius-pill);
    border: 2px solid var(--green); background: var(--green); color: #ffffff;
    cursor: pointer; text-align: center; text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  }
  .ss-wrap .ss-btn:hover { background: var(--green-deep); border-color: var(--green-deep); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(43,50,47,0.09); }
  .ss-wrap .ss-btn .ss-arrow { transition: transform 0.18s ease; }
  .ss-wrap .ss-btn:hover .ss-arrow { transform: translateX(4px); }
  .ss-btn.is-ghost { background: transparent; color: var(--green-deep); border-color: var(--green); }
  .ss-btn.is-ghost:hover { background: var(--green); color: #fff; }
  .ss-btn.is-terra { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
  .ss-btn.is-terra:hover { background: #834e39; border-color: #834e39; }
  .ss-btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

  .ss-accent { color: var(--gold); font-style: italic; }

  /* ============================================================
     HERO
     ============================================================ */
  .ss-hero {
    position: relative;
    padding: 72px 0 0;
    background:
      radial-gradient(120% 90% at 82% 0%, var(--steel-light) 0%, rgba(236,242,243,0) 46%),
      linear-gradient(180deg, var(--cream) 0%, #f3efe7 100%);
  }
  .ss-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
  }
  .ss-hero h1 {
    font-family: var(--serif); font-weight: 400; color: var(--green-deep);
    font-size: clamp(2.3rem, 4.6vw, 3.5rem);
    line-height: 1.12; letter-spacing: -0.01em;
    margin: 0 0 20px;
  }
  .ss-hero-lead {
    font-size: 1.15rem; line-height: 1.65; color: var(--ink-light);
    max-width: 30rem; margin: 0 0 28px;
  }
  .ss-hero .ss-btn-row { margin-bottom: 30px; }

  /* Hero photo: both books, framed */
  .ss-hero-photo {
    position: relative; margin: 0; padding: 12px;
    background: #fff; border: 1px solid var(--border); border-radius: 16px;
    box-shadow: 0 24px 60px rgba(43,50,47,0.14);
    transform: rotate(0deg); transition: transform 0.3s ease;
  }
  .ss-hero-photo:hover { transform: rotate(-1.2deg); }
  .ss-hero-covers { display: flex; align-items: flex-end; gap: 14px; }
  .ss-hero-covers img { flex: 1 1 0; min-width: 0; }
  .ss-hero-photo img {
    width: 100%; height: auto; border-radius: 6px; display: block;
    box-shadow: 0 10px 26px rgba(43,50,47,0.22);
  }
  /* "Bestselling set" — sunburst seal badge tucked into the top-right corner.
     clip-path cuts the star edge; the gold ::before sits a few px larger behind
     to read as a rim (a border can't follow a clip-path). Shadow via drop-shadow
     so it hugs the star points rather than a rectangle. */
  .ss-hero-tag {
    position: absolute; top: -14px; right: -14px;
    width: 92px; height: 92px;
    display: flex; align-items: center; justify-content: center; text-align: center;
    background: var(--gold-mid); color: #fff;
    font-size: 0.54rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.3;
    clip-path: polygon(50.0% 0.0%, 58.4% 7.8%, 69.1% 3.8%, 73.9% 14.2%, 85.4% 14.6%, 85.8% 26.1%, 96.2% 30.9%, 92.2% 41.6%, 100.0% 50.0%, 92.2% 58.4%, 96.2% 69.1%, 85.8% 73.9%, 85.4% 85.4%, 73.9% 85.8%, 69.1% 96.2%, 58.4% 92.2%, 50.0% 100.0%, 41.6% 92.2%, 30.9% 96.2%, 26.1% 85.8%, 14.6% 85.4%, 14.2% 73.9%, 3.8% 69.1%, 7.8% 58.4%, 0.0% 50.0%, 7.8% 41.6%, 3.8% 30.9%, 14.2% 26.1%, 14.6% 14.6%, 26.1% 14.2%, 30.9% 3.8%, 41.6% 7.8%);
    filter: drop-shadow(0 8px 14px rgba(43,50,47,0.28));
    transform: rotate(8deg);
  }
  .ss-hero-tag::before {
    content: ""; position: absolute; inset: 3px; z-index: -1;
    background: var(--green-deep);
    clip-path: polygon(50.0% 0.0%, 58.4% 7.8%, 69.1% 3.8%, 73.9% 14.2%, 85.4% 14.6%, 85.8% 26.1%, 96.2% 30.9%, 92.2% 41.6%, 100.0% 50.0%, 92.2% 58.4%, 96.2% 69.1%, 85.8% 73.9%, 85.4% 85.4%, 73.9% 85.8%, 69.1% 96.2%, 58.4% 92.2%, 50.0% 100.0%, 41.6% 92.2%, 30.9% 96.2%, 26.1% 85.8%, 14.6% 85.4%, 14.2% 73.9%, 3.8% 69.1%, 7.8% 58.4%, 0.0% 50.0%, 7.8% 41.6%, 3.8% 30.9%, 14.2% 26.1%, 14.6% 14.6%, 26.1% 14.2%, 30.9% 3.8%, 41.6% 7.8%);
  }
  .ss-hero-tag-label { max-width: 72px; }

  /* Hero age band (signature intro) */
  .ss-agebar {
    margin-top: 8px; border-top: 1px solid var(--border);
    background: rgba(255,255,255,0.4);
  }
  .ss-agebar-inner {
    max-width: var(--max); margin: 0 auto; padding: 20px 24px;
    display: flex; align-items: center; justify-content: center;
    gap: 14px; flex-wrap: wrap;
    font-size: 0.86rem; line-height: 1.5; color: var(--ink-light);
  }
  .ss-agebar b { color: var(--green-deep); font-weight: 600; }
  .ss-agebar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block; }

  /* ============================================================
     MISSION BAND (dark green)
     ============================================================ */
  .ss-mission {
    background:
      radial-gradient(120% 120% at 12% -10%, rgba(129,165,173,0.22) 0%, rgba(129,165,173,0) 44%),
      var(--green-deep);
    color: #eef2f0; text-align: center;
  }
  .ss-mission h2 {
    font-family: var(--serif); font-weight: 400; color: #fff;
    font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.15;
    max-width: 20ch; margin: 0 auto 22px;
  }
  .ss-mission h2 em { color: var(--gold-mid); font-style: italic; }
  .ss-mission p { color: #d6ddda; max-width: 46rem; margin: 0 auto 1rem; font-size: 1.08rem; line-height: 1.65; }
  .ss-mission p:last-child { margin-bottom: 0; }

  /* ============================================================
     AGE ARC (signature)
     ============================================================ */
  .ss-arc-head { text-align: center; max-width: 46rem; margin: 0 auto 12px; }
  .ss-arc-head h2 {
    font-family: var(--serif); font-weight: 400; color: var(--green-deep);
    font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.15; margin-bottom: 14px;
  }
  .ss-arc-head p:not(.ss-eyebrow) { color: var(--ink-light); font-size: 1.06rem; line-height: 1.65; }

  .ss-arc { margin: 44px auto 52px; max-width: 900px; padding: 0 10px; }
  /* one continuous line, three colored zones */
  .ss-arc-books { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
  .ss-arc-book { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
  .ss-arc-book.t { color: #834e39; }
  .ss-arc-book.b { color: var(--green-deep); text-align: right; }
  .ss-arc-bar {
    height: 46px; border-radius: var(--radius-pill);
    box-shadow: 0 8px 22px rgba(43,50,47,0.09);
    background: linear-gradient(to right,
      var(--terracotta) 0%, var(--terracotta) 41.667%,
      var(--green) 58.333%, var(--green) 100%);
  }
  .ss-arc-ticks { position: relative; height: 26px; margin-top: 12px; }
  .ss-arc-tick {
    position: absolute; top: 0; transform: translateX(-50%);
    font-size: 0.8rem; color: var(--ink-light); font-weight: 600; white-space: nowrap;
  }
  .ss-arc-tick.is-start { transform: translateX(0); }
  .ss-arc-tick.is-end { transform: translateX(-100%); }
  .ss-arc-tick::before {
    content: ""; position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    width: 2px; height: 9px; background: #c9c3b8;
  }
  .ss-arc-tick.is-start::before { left: 0; transform: none; }
  .ss-arc-tick.is-end::before { left: auto; right: 0; transform: none; }
  .ss-arc-note { text-align: center; margin: 4px 0 0; font-size: 0.9rem; color: var(--ink-light); line-height: 1.5; }
  .ss-arc-note b { color: #834e39; font-weight: 600; }

  /* Book cards */
  .ss-books { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
  .ss-book {
    position: relative; background: #fff;
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 34px; display: grid; grid-template-columns: 148px 1fr; gap: 26px;
    box-shadow: 0 8px 22px rgba(43,50,47,0.09);
  }
  .ss-book::before {
    content: ""; position: absolute; left: 0; top: 26px; bottom: 26px;
    width: 4px; border-radius: 0 4px 4px 0;
  }
  .ss-book.one::before { background: var(--terracotta); }
  .ss-book.two::before { background: var(--green); }
  .ss-book-cover {
    position: relative; width: 148px; aspect-ratio: 2 / 3;
    border-radius: 3px 6px 6px 3px; overflow: hidden;
    box-shadow: 0 26px 50px rgba(43,50,47,0.30); background: var(--green);
  }
  .ss-book-cover img { width: 100%; height: 100%; object-fit: cover; }
  .ss-book-age {
    display: inline-block; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    padding: 5px 12px; border-radius: var(--radius-pill); margin-bottom: 12px;
  }
  .ss-book.one .ss-book-age { background: var(--terra-light); color: #834e39; }
  .ss-book.two .ss-book-age { background: var(--steel-light); color: var(--green-deep); }
  .ss-book-badge {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 8px;
  }
  .ss-book-badge::before { content: "★"; font-size: 0.8rem; }
  .ss-book h3 { font-family: var(--serif); font-weight: 400; color: var(--green-deep); font-size: 1.5rem; line-height: 1.15; margin-bottom: 6px; }
  .ss-book-by { font-size: 0.86rem; color: var(--ink-light); line-height: 1.5; margin: 0 0 14px; }
  .ss-book p { font-size: 0.98rem; color: #414b47; line-height: 1.65; margin-bottom: 18px; }
  .ss-book .ss-btn { width: 100%; }

  /* ============================================================
     ENDORSEMENTS (jacket blurbs)
     ============================================================ */
  .ss-praise { background: #f3efe7; }
  .ss-praise-head { text-align: center; margin-bottom: 44px; }
  .ss-praise-head h2 { font-family: var(--serif); font-weight: 400; color: var(--green-deep); font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.15; }
  .ss-blurbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 880px; margin: 0 auto; }
  .ss-blurb {
    background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px 30px; position: relative;
  }
  .ss-blurb::before {
    content: "\201C"; position: absolute; top: 8px; left: 22px;
    font-family: var(--serif); font-size: 4.2rem; line-height: 1;
    color: var(--gold-mid); opacity: 0.55;
  }
  .ss-blurb p {
    position: relative; font-size: 1rem; line-height: 1.6; color: #3a433f;
    font-style: italic; margin: 18px 0 20px;
  }
  .ss-blurb-by { font-size: 0.84rem; font-weight: 700; color: var(--green-deep); font-style: normal; line-height: 1.4; }
  .ss-blurb-role { display: block; font-weight: 400; color: var(--ink-light); font-size: 0.82rem; margin-top: 2px; }

  /* ============================================================
     BEYOND THE LAST PAGE: four congruent cards
     ============================================================ */
  .ss-bridge-head { text-align: center; max-width: 44rem; margin: 0 auto 46px; }
  .ss-bridge-head h2 { font-family: var(--serif); font-weight: 400; color: var(--green-deep); font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.15; margin-bottom: 14px; }
  .ss-bridge-head h2 em { color: var(--terracotta); font-style: italic; }
  .ss-bridge-head p:not(.ss-eyebrow) { color: var(--ink-light); font-size: 1.08rem; line-height: 1.65; }

  .ss-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
  #guides { scroll-margin-top: 90px; }
  .ss-card {
    --accent: var(--green);
    --accent-ink: var(--green-deep);
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--border);
    border-top: 4px solid var(--accent); border-radius: var(--radius);
    padding: 34px; box-shadow: 0 8px 22px rgba(43,50,47,0.09);
  }
  .ss-card.acc-families { --accent: var(--terracotta); --accent-ink: #834e39; }
  .ss-card.acc-schools  { --accent: var(--green);      --accent-ink: var(--green-deep); }
  .ss-card.acc-read     { --accent: var(--steel);      --accent-ink: #45646c; }
  .ss-card.acc-bulk     { --accent: var(--gold);       --accent-ink: #8a6f22; }

  .ss-card .ss-eyebrow { color: var(--accent-ink); margin-bottom: 14px; }
  .ss-card h3 { font-family: var(--serif); font-weight: 400; color: var(--green-deep); font-size: 1.4rem; line-height: 1.15; margin-bottom: 10px; }
  .ss-card > p { color: #55605b; font-size: 0.96rem; line-height: 1.6; margin-bottom: 20px; }

  .ss-card-list { list-style: none; margin: 0 0 24px; padding: 0; }
  .ss-card-list li {
    position: relative; padding: 11px 0 11px 24px;
    font-size: 0.95rem; line-height: 1.5; border-top: 1px solid var(--border);
  }
  .ss-card-list li::before {
    content: ""; position: absolute; left: 0; top: 18px;
    width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  }
  .ss-card-list li a { font-weight: 600; color: var(--accent-ink); }
  .ss-card-list li a:hover { text-decoration: underline; text-underline-offset: 3px; }
  .ss-card-list:last-child { margin-bottom: 0; }

  /* download rows (Read it together) */
  .ss-card-downloads li a {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    color: var(--ink); font-weight: 500;
  }
  .ss-card-downloads li a:hover { color: var(--accent-ink); text-decoration: none; }
  .ss-dl-tag {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--ink-light); white-space: nowrap;
  }

  .ss-card-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; }
  .ss-card-actions .ss-btn { padding: 12px 22px; font-size: 0.92rem; }

  /* ============================================================
     CLOSING CTA
     ============================================================ */
  .ss-close {
    text-align: center;
    background:
      radial-gradient(100% 120% at 50% 0%, var(--gold-light) 0%, rgba(244,236,211,0) 55%),
      var(--cream);
  }
  .ss-close h2 { font-family: var(--serif); font-weight: 400; color: var(--green-deep); font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.15; max-width: 20ch; margin: 0 auto 26px; }
  .ss-close h2 em { color: var(--gold); font-style: italic; }
  .ss-close .ss-btn-row { justify-content: center; }

  /* ── FOOTER ── */
  .ss-footer {
    background: #2e3d3a; padding: 48px 32px 32px;
  }
  .ss-footer-inner {
    max-width: var(--max); margin: 0 auto;
    display: grid; grid-template-columns: 1fr auto auto; gap: 48px;
    padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .ss-footer-logo { font-family: var(--serif); font-size: 20px; color: #fff; margin-bottom: 12px; }
  .ss-footer-logo span { color: #fff; }
  .ss-footer-tagline { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6; }
  .ss-footer-col h5 { font-size: 11px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
  .ss-footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 10px; transition: color 0.2s; }
  .ss-footer-col a:hover { color: var(--green); }
  .ss-footer-bottom {
    max-width: var(--max); margin: 0 auto; padding-top: 28px;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  }
  .ss-footer-bottom-left { font-size: 12px; color: rgba(255,255,255,0.3); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .ss-footer-bottom-sep { color: rgba(255,255,255,0.2); }
  .ss-footer-bottom-left a { font-size: 12px; color: rgba(255,255,255,0.4); transition: color 0.2s; }
  .ss-footer-bottom-left a:hover { color: var(--green); }
  .ss-footer-social { display: flex; gap: 16px; }
  .ss-footer-social a { font-size: 12px; color: rgba(255,255,255,0.4); transition: color 0.2s; }
  .ss-footer-social a:hover { color: var(--green); }
  @media (max-width: 780px) {
    .ss-footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .ss-footer { padding: 40px 20px 24px; }
    .ss-footer-bottom { flex-direction: column; align-items: flex-start; }
  }

  /* ============================================================
     RESPONSIVE (book-unique components)
     ============================================================ */
  @media (max-width: 920px) {
    .ss-hero-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .ss-hero-lead { margin-left: auto; margin-right: auto; }
    .ss-hero .ss-btn-row { justify-content: center; }
    /* Once the grid stacks, the photo cell would span the full content width and
       blow the covers up — cap it (centered); it still scales down below this. */
    .ss-hero-art { max-width: 440px; margin: 0 auto; }
    .ss-books { grid-template-columns: 1fr; }
    .ss-blurbs { grid-template-columns: 1fr; }
    .ss-cards { grid-template-columns: 1fr; }
  }
  @media (max-width: 720px) {
    .ss-book { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .ss-book::before { display: none; }
    .ss-book .ss-book-badge, .ss-book .ss-book-age { justify-content: center; }
  }
  @media (max-width: 480px) {
    .ss-arc-books { font-size: 0.6rem; letter-spacing: 0.02em; }
    .ss-arc-note { font-size: 0.82rem; }
  }
