:root {
  --charcoal: #0f1f2b;
  --teal: #38b2b2;
  --pale: #befaf2;
  --grey: #ebeaf0;
  --white: #fafaf8;
  --ink: #132735;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.site-header {
  min-height: 76px;
  padding: 14px clamp(20px, 6vw, 88px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--charcoal);
  color: var(--white);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; }
.brand-words { font-size: 1.12rem; letter-spacing: .08em; white-space: nowrap; }
.brand small, .footer-brand small { color: var(--teal); font-size: .55em; vertical-align: middle; }
.door {
  width: 27px; height: 38px; border: 3px solid var(--teal); display: inline-block; position: relative;
}
.door span { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--white); right: 4px; top: 16px; }
nav { display: flex; gap: 28px; }
nav a { text-decoration: none; font-weight: 700; font-size: .9rem; }
nav a:hover, nav a:focus { color: var(--teal); }
.shop-tab { padding: 8px 14px; background: var(--teal); color: var(--charcoal); }
.shop-tab:hover, .shop-tab:focus { color: var(--charcoal); background: var(--pale); }

.hero {
  min-height: 660px;
  padding: clamp(64px, 10vw, 130px) clamp(24px, 8vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
  background:
    radial-gradient(circle at 80% 28%, rgba(56,178,178,.22), transparent 26%),
    linear-gradient(135deg, #fafaf8 0 66%, #ebeaf0 66%);
}
.eyebrow { color: #157b83; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
h1, h2 { color: var(--charcoal); line-height: 1.05; margin: .25em 0 .45em; letter-spacing: -.035em; }
h1 { font-size: clamp(2.8rem, 6.8vw, 6rem); max-width: 900px; }
h2 { font-size: clamp(2.1rem, 4.4vw, 4rem); }
.lead { font-size: clamp(1.12rem, 2vw, 1.35rem); max-width: 730px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { display: inline-block; padding: 13px 22px; border: 2px solid var(--charcoal); font-weight: 800; text-decoration: none; }
.button.primary { background: var(--charcoal); color: white; }
.button.secondary { background: transparent; }
.button:hover, .button:focus { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15,31,43,.16); }
.hero-mark { text-align: center; font-weight: 900; letter-spacing: .08em; }
.open-door { width: 160px; height: 230px; border: 13px solid var(--charcoal); margin: 0 auto 35px; position: relative; }
.open-door:after { content: ""; position: absolute; inset: 10px -8px 10px 35px; background: var(--teal); transform: perspective(320px) rotateY(-22deg); transform-origin: right; }
.open-door span { position: absolute; z-index: 2; width: 11px; height: 11px; border-radius: 50%; background: var(--white); right: 16px; top: 102px; }

.book-section, .author-section {
  padding: clamp(70px, 10vw, 130px) clamp(24px, 9vw, 140px);
  display: grid;
  grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr);
  gap: clamp(45px, 8vw, 110px);
  align-items: center;
}

.shop-hub { padding: clamp(70px, 9vw, 120px) clamp(24px, 7vw, 105px); background: var(--charcoal); color: var(--white); }
.shop-intro { max-width: 900px; margin-bottom: 42px; }
.shop-intro h2 { color: var(--white); }
.shop-intro p:last-child { max-width: 780px; color: #d8e3e7; }
.shop-categories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 1320px; }
.shop-category { min-height: 290px; padding: 28px; display: flex; flex-direction: column; background: #173342; border-top: 6px solid var(--teal); color: var(--white); text-decoration: none; transition: transform .2s ease, background .2s ease; }
.shop-category:hover, .shop-category:focus { transform: translateY(-5px); background: #1d4050; }
.shop-category.miss-category { border-top-color: #e63882; }
.shop-category span { color: var(--teal); font-weight: 900; letter-spacing: .14em; font-size: .76rem; }
.shop-category.miss-category span { color: #ff83b7; }
.shop-category h3 { margin: 35px 0 12px; color: var(--white); font-size: 1.45rem; line-height: 1.15; }
.shop-category p { margin: 0 0 25px; color: #d8e3e7; font-size: .96rem; }
.shop-category strong { margin-top: auto; color: var(--teal); }
.shop-category.miss-category strong { color: #ff83b7; }
.shop-live { max-width: 1320px; margin-top: 24px; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--white); color: var(--charcoal); }
.shop-live div { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.shop-live p { grid-column: 2; margin: 0; }
.pulse { width: 11px; height: 11px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(56,178,178,.2); }
.book-cover-wrap { max-width: 410px; margin: auto; padding: 18px; background: white; box-shadow: 0 25px 60px rgba(15,31,43,.22); transform: rotate(-1.5deg); }
.book-cover { width: 100%; }
.subtitle { font-size: 1.3rem; color: #277d84; font-weight: 700; }
.ticks { list-style: none; padding: 0; margin: 28px 0; }
.ticks li { margin: 12px 0; padding-left: 31px; position: relative; }
.ticks li:before { content: "✓"; position: absolute; left: 0; color: #147b82; font-weight: 900; }
.status { display: inline-block; background: var(--pale); color: var(--charcoal); font-weight: 900; padding: 10px 15px; }
.status.live, .book-status.live { background: var(--teal); color: var(--charcoal); }
.amazon-button { margin-top: 8px; }

.quote-band { background: var(--charcoal); color: var(--white); padding: 70px clamp(24px, 12vw, 180px); text-align: center; }
blockquote { font-size: clamp(1.65rem, 3.4vw, 3rem); line-height: 1.25; margin: 0 auto 18px; max-width: 1050px; font-weight: 700; }
.quote-band p { color: var(--teal); font-weight: 900; }

.resources-section { padding: clamp(70px, 9vw, 120px) clamp(24px, 8vw, 120px); background: var(--white); }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1200px; margin: 42px auto 28px; }
.resource-grid article { position: relative; min-height: 260px; padding: 34px; background: var(--grey); border-top: 7px solid var(--teal); }
.resource-grid article span { display: block; color: #157b83; font-size: .82rem; font-weight: 900; letter-spacing: .14em; }
.resource-grid h3 { margin: 48px 0 12px; color: var(--charcoal); font-size: 1.45rem; line-height: 1.15; }
.resource-grid p { margin: 0; }
.coming-soon { text-align: center; color: #157b83; font-weight: 900; }
.free-heading { max-width: 1200px; margin: 46px auto 4px; padding: 0 24px; color: var(--charcoal); font-size: 1.3rem; }
.free-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1200px; margin: 24px auto 10px; }
.free-grid article { min-height: 215px; padding: 30px; background: white; border-top: 7px solid var(--teal); box-shadow: 0 14px 34px rgba(15,31,43,.1); border-radius: 8px; }
.free-grid article span { display: block; color: #157b83; font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.free-grid h4 { margin: 10px 0 10px; color: var(--charcoal); font-size: 1.18rem; line-height: 1.2; }
.free-grid p { margin: 0 0 16px; color: #3d4a56; }
.free-grid a { display: inline-block; padding: 10px 18px; background: var(--teal); color: white; font-weight: 800; text-decoration: none; border-radius: 8px; }
.free-grid a:hover, .free-grid a:focus { background: #116b72; }
@media (max-width: 900px) { .free-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .free-grid { grid-template-columns: 1fr; } .free-heading { margin-top: 34px; } }

.future-shop { padding: clamp(70px, 9vw, 120px) clamp(24px, 7vw, 105px); background: linear-gradient(135deg, #effdfd, #fff7fb); text-align: center; }
.future-grid { width: min(100%, 1250px); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; text-align: left; }
.future-grid article { min-height: 250px; padding: 30px; background: white; border-left: 7px solid var(--teal); box-shadow: 0 15px 35px rgba(15,31,43,.1); }
.future-grid article:nth-child(1), .future-grid article:nth-child(6) { border-left-color: #e63882; }
.future-grid span { display: inline-block; padding: 6px 10px; background: var(--charcoal); color: white; font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.future-grid h3 { margin: 32px 0 12px; color: var(--charcoal); font-size: 1.35rem; line-height: 1.18; }
.future-grid p { margin: 0; }

.books-section, .series-section { padding: clamp(70px, 9vw, 120px) clamp(24px, 7vw, 105px); text-align: center; }
.books-section { background: var(--grey); }
.section-heading { max-width: 850px; margin: 0 auto 45px; }
.series-image { width: min(100%, 1150px); margin: auto; box-shadow: 0 24px 65px rgba(15,31,43,.16); }
.book-grid { width: min(100%, 1250px); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: left; }
.book-card { overflow: hidden; background: var(--white); border-top: 7px solid var(--teal); box-shadow: 0 18px 42px rgba(15,31,43,.12); }
.book-card.live-card { border-top-color: var(--charcoal); }
.book-card img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: top center; }
.book-card div { padding: 24px; }
.book-card h3 { margin: 14px 0 10px; color: var(--charcoal); font-size: 1.35rem; line-height: 1.15; }
.book-card p { margin: 0 0 15px; font-size: .98rem; line-height: 1.5; }
.book-card a { color: #116b72; font-weight: 900; }
.book-number { display: inline-block; margin-right: 7px; color: #116b72; font-weight: 900; text-transform: uppercase; font-size: .76rem; letter-spacing: .08em; }
.book-status { display: inline-block; padding: 6px 10px; background: var(--charcoal); color: var(--white); font-size: .76rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.title-list { width: min(100%, 1150px); margin: 28px auto 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; text-align: left; }
.title-list span { padding: 15px 18px; background: var(--grey); font-weight: 800; }
.title-list strong { display: inline-grid; place-items: center; width: 29px; height: 29px; margin-right: 9px; background: var(--charcoal); color: var(--white); }

.author-section { background: var(--grey); grid-template-columns: minmax(250px, .62fr) minmax(0, 1.38fr); }
.author-photo { width: min(100%, 420px); aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%; filter: grayscale(1); box-shadow: 18px 18px 0 var(--teal); }
.socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.socials a { padding: 10px 15px; background: var(--white); border-left: 5px solid var(--teal); font-weight: 800; text-decoration: none; }
.socials a:hover, .socials a:focus { background: var(--pale); }

.miss-section {
  padding: clamp(75px, 10vw, 130px) clamp(24px, 9vw, 140px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  align-items: center;
  gap: clamp(45px, 8vw, 100px);
  background: linear-gradient(135deg, #fff7fb, #effdfd);
  border-top: 12px solid #e63882;
}
.miss-section h2 { font-size: clamp(2.5rem, 5vw, 4.7rem); }
.miss-section h3 { margin: 30px 0 10px; font-size: clamp(1.7rem, 3vw, 2.5rem); color: #087f8c; }
.miss-eyebrow { color: #d3206e; }
.miss-lead { font-size: 1.2rem; max-width: 720px; }
.miss-badges { display: flex; flex-wrap: wrap; gap: 9px; margin: 26px 0; }
.miss-badges span { padding: 8px 12px; background: #0f1f2b; color: white; font-size: .8rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.miss-button { background: #e63882; color: white; border-color: #e63882; margin-top: 14px; }
.tiny-note { font-size: .82rem; color: #51616c; max-width: 620px; }
.miss-cover-wrap { position: relative; max-width: 470px; margin: auto; padding: 16px; background: white; box-shadow: 0 28px 70px rgba(15,31,43,.22); transform: rotate(1.2deg); }
.miss-cover-wrap img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: center; }
.preorder-ribbon { position: absolute; left: -18px; right: -18px; bottom: 35px; padding: 13px; background: #e63882; color: white; text-align: center; font-weight: 900; letter-spacing: .06em; font-size: .85rem; }

.miss-collection { padding: clamp(70px, 9vw, 120px) clamp(24px, 7vw, 105px); text-align: center; background: #fff7fb; }
.miss-grid { width: min(100%, 1320px); margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; text-align: left; }
.miss-card { overflow: hidden; background: white; border-top: 6px solid #12a7ad; box-shadow: 0 16px 38px rgba(15,31,43,.12); }
.miss-card.featured { border-top-color: #e63882; }
.miss-card img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: top center; }
.miss-card div { padding: 18px; }
.miss-card span { color: #d3206e; font-size: .76rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.miss-card h3 { min-height: 4.8em; margin: 9px 0 14px; color: var(--charcoal); font-size: 1.05rem; line-height: 1.25; }
.miss-card strong { display: inline-block; padding: 6px 9px; background: #0f1f2b; color: white; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.miss-card.featured strong { background: #e63882; }

.stay-connected {
  padding: 65px clamp(24px, 10vw, 150px);
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
  background: var(--pale);
}
.stay-connected > div { max-width: 720px; }
.stay-connected img { width: 180px; height: 180px; background: white; padding: 8px; }
.qr-block { display: grid; justify-items: center; gap: 10px; }
.qr-block a { font-weight: 900; color: var(--charcoal); }

footer { padding: 45px 24px; background: var(--charcoal); color: var(--white); text-align: center; }
.footer-brand { font-size: 1.3rem; font-weight: 900; letter-spacing: .12em; }
footer p { margin: 7px; font-size: .9rem; color: #cbd5da; }

@media (max-width: 800px) {
  .site-header { align-items: flex-start; flex-direction: column; padding-bottom: 10px; }
  nav { width: 100%; overflow-x: auto; gap: 10px; padding-bottom: 8px; scrollbar-width: thin; }
  nav a { flex: 0 0 auto; padding: 8px 10px; }
  .hero { min-height: auto; grid-template-columns: 1fr; background: linear-gradient(160deg, var(--white) 0 75%, var(--grey) 75%); }
  .hero-mark { display: none; }
  .book-section, .author-section, .miss-section { grid-template-columns: 1fr; }
  .resource-grid, .title-list, .book-grid, .miss-grid, .shop-categories, .future-grid { grid-template-columns: 1fr; }
  .shop-live { align-items: flex-start; flex-direction: column; }
  .author-photo { margin: auto; }
  .stay-connected { flex-direction: column; text-align: center; }
}

@media (min-width: 801px) and (max-width: 1180px) {
  .miss-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover, .button:focus { transform: none; }
}

.buy-options { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top:14px; }
.buy-options .button { margin:0; }
.book-card .buy-options, .miss-card .buy-options { gap:10px 16px; }
footer a { color:#b8f7f0; overflow-wrap:anywhere; }

/* Make every collection visible from the homepage and shop. */
.shop-categories { grid-template-columns:repeat(3,minmax(0,1fr)); }
.shop-category.children-category { border-top-color:#e5b64c; }
.shop-category.children-category span,.shop-category.children-category strong { color:#f6d483; }
.children-link { border-color:#82651f; color:#624806; }
.shop-live-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; max-width:1320px; margin-top:24px; }
.shop-live-grid .shop-live { margin:0; flex-direction:column; align-items:flex-start; justify-content:space-between; }
.shop-live .buy-options { display:flex; grid-template-columns:none; flex-wrap:wrap; width:100%; }
.shop-live .buy-options a { max-width:100%; }
.miss-live { border-top:5px solid #e63882; }
.children-section { padding:clamp(64px,8vw,110px) clamp(24px,7vw,105px); display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:clamp(30px,5vw,70px); align-items:center; background:#fff8e9; border-top:10px solid #e5b64c; }
.children-copy h2 { font-size:clamp(2.2rem,4vw,4rem); }
.children-book-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.children-book-card { min-width:0; background:white; box-shadow:0 12px 35px #13273512; }
.children-book-card img { width:100%; aspect-ratio:1; object-fit:contain; }
.children-book-card>div { padding:20px; }
.children-book-card h3 { font-size:1.25rem; line-height:1.25; margin:10px 0; }
.children-book-card p { font-size:.95rem; line-height:1.5; }
.children-book-card>div>a { font-weight:800; color:#116b72; }
@media(min-width:801px) and (max-width:1180px) { .shop-categories { grid-template-columns:repeat(2,minmax(0,1fr)); } .children-section { grid-template-columns:1fr; } }
@media(max-width:800px) { .shop-categories,.shop-live-grid,.children-section { grid-template-columns:1fr; } .shop-live .buy-options { gap:12px; } }
@media(max-width:580px) { .children-book-grid { grid-template-columns:1fr; } .hero .actions { flex-direction:column; } .hero .actions .button { width:100%; text-align:center; } .shop-live .buy-options .button { width:100%; text-align:center; } }

/* Accommodate the additional AI & Digital Learning navigation tab. */
.site-header nav{flex-wrap:wrap;align-items:center;gap:14px 22px}
@media(min-width:901px){.site-header nav{justify-content:flex-end}}

/* ============================================================
   v2 — Homepage refresh (Nov 2026)
   Brand palette, logo and all v1 rules preserved.
   ============================================================ */

/* Typography upgrade: keeps the bold sans identity, adds warmth */
body { font-family: 'General Sans', Arial, Helvetica, sans-serif; }
h1, h2, h3, h4, .brand-words, .footer-brand, .eyebrow, .subtitle { font-family: 'Cabinet Grotesk', Arial, Helvetica, sans-serif; }
h1, h2 { letter-spacing: -.02em; }
h3 { line-height: 1.15; }

/* Anchors clear the sticky header */
section[id] { scroll-margin-top: 96px; }

/* --- Header: sticky, with a proper mobile menu --- */
.site-header { position: sticky; top: 0; z-index: 60; box-shadow: 0 6px 24px rgba(15,31,43,.28); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.site-header nav { flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 10px; background: transparent;
  border: 2px solid rgba(56,178,178,.55); border-radius: 8px; cursor: pointer;
}
.nav-toggle span { display: block; height: 3px; border-radius: 2px; background: var(--white); transition: transform .18s ease, opacity .18s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (min-width: 1101px) {
  .site-header nav { flex: 1; justify-content: flex-end; }
}
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .site-header { position: sticky; }
  .site-header nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px clamp(20px, 6vw, 88px) 16px;
    background: #0f1f2b; border-top: 1px solid rgba(56,178,178,.35);
    box-shadow: 0 22px 34px rgba(15,31,43,.4); width: auto; overflow: visible;
  }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: 13px 2px; font-size: 1rem; border-bottom: 1px solid rgba(250,250,248,.09); }
  .site-header nav a:last-child { border-bottom: none; }
  .site-header nav a:hover, .site-header nav a:focus { color: var(--teal); }
  .site-header nav .shop-tab { align-self: flex-start; margin: 8px 0 4px; }
}

/* --- Hero: fan of real book covers --- */
.cover-fan { position: relative; height: 400px; max-width: 420px; margin: 0 auto; }
.cover-fan img {
  position: absolute; bottom: 0; width: 172px;
  background: #fff; padding: 8px 8px 26px; box-shadow: 0 18px 40px rgba(15,31,43,.28);
  border-radius: 4px;
}
.cover-fan img:nth-child(1) { left: 0; transform: rotate(-9deg); z-index: 1; }
.cover-fan img:nth-child(2) { left: 50%; transform: translateX(-50%) rotate(1.5deg); z-index: 3; width: 186px; }
.cover-fan img:nth-child(3) { right: 0; transform: rotate(9deg); z-index: 2; }
.hero-mark p { margin: 26px 0 0; color: #157b83; font-weight: 800; letter-spacing: .14em; font-size: .82rem; }
@media (max-width: 800px) {
  .hero-mark { display: block; margin-top: 18px; }
  .cover-fan { height: 300px; max-width: 330px; }
  .cover-fan img { width: 128px; padding: 6px 6px 20px; }
  .cover-fan img:nth-child(2) { width: 140px; }
}
@media (max-width: 580px) {
  .cover-fan { height: 250px; max-width: 280px; }
  .cover-fan img { width: 108px; }
  .cover-fan img:nth-child(2) { width: 118px; }
}

/* --- New AI & Digital Learning section --- */
.ai-section {
  padding: clamp(70px, 9vw, 120px) clamp(24px, 8vw, 120px);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr);
  gap: clamp(45px, 8vw, 110px); align-items: center;
  background: linear-gradient(135deg, #effdfd 0%, #fafaf8 70%);
  border-top: 10px solid var(--teal);
}
.ai-section .book-cover-wrap { transform: rotate(1.5deg); }
.ai-section .ticks { margin: 22px 0 26px; }
.ai-section .status { margin-top: 4px; }
.shop-category.ai-category { border-top-color: #38b2b2; }
@media (max-width: 800px) { .ai-section { grid-template-columns: 1fr; } .ai-section .book-cover-wrap { max-width: 300px; } }

/* --- Gentle polish: softer corners on cards and buttons --- */
.button, .book-card, .miss-card, .shop-category, .resource-grid article, .future-grid article,
.children-book-card, .socials a, .shop-live, .book-cover-wrap, .status, .book-status, .miss-badges span, .preorder-ribbon { border-radius: 8px; }
.button.primary { border-radius: 8px; }
.book-card, .miss-card, .future-grid article { box-shadow: 0 14px 34px rgba(15,31,43,.12); }
.book-card:hover, .miss-card:hover, .children-book-card:hover { transform: translateY(-4px); transition: transform .2s ease, box-shadow .2s ease; box-shadow: 0 20px 44px rgba(15,31,43,.18); }
.card-link { display: inline-block; margin-top: 4px; color: #116b72; font-weight: 900; text-decoration: none; }
.card-link:hover, .card-link:focus { text-decoration: underline; }

/* Shop grid: six categories sit neatly in rows of three */
.shop-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 801px) and (max-width: 1180px) { .shop-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { .shop-categories { grid-template-columns: 1fr; } }

/* Footer links & focus visibility */
a:focus-visible, button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* Fix: HTML height attr overrode the square aspect ratio, making cards 1150px tall */
.children-book-card img { height: auto; }

/* Mobile menu: Shop tab styled like the other links for consistency */
@media (max-width: 1100px) {
  .site-header nav .shop-tab { background: transparent; color: var(--white); padding: 13px 2px; margin: 0; border-bottom: 1px solid rgba(250,250,248,.09); border-radius: 0; }
  .site-header nav .shop-tab:hover, .site-header nav .shop-tab:focus { color: var(--teal); background: transparent; }
}

/* Mobile menu: Shop link spans full width like the others */
@media (max-width: 1100px) {
  .site-header nav .shop-tab { align-self: stretch; margin: 0; }
}

/* Children's books: warm cream cards with gold framing instead of stark white */
.children-book-card { background: #fffdf4; border: 1px solid rgba(229,182,76,.5); box-shadow: 0 12px 32px rgba(19,39,53,.1); }
.children-book-card > div { border-top: 3px solid #e5b64c; }
.children-book-card img { background: #fffdf4; }
