:root {
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --color-background: #050e1b;
  --color-surface: #0b1828;
  --color-soft: #12263c;
  --color-highlight: linear-gradient(135deg, #4fb1ff, #8b9cff);
  --color-primary: #4fb1ff;
  --color-secondary: #9ab4ff;
  --color-accent: #c1a8ff;
  --color-text: #f1f6ff;
  --color-muted: #b0c2e3;
  --max-width: 1100px;
  --shadow-soft: 0 24px 60px rgba(5, 14, 27, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-background);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

main p a,
main li a,
main figcaption a,
.contact-inline a,
.events-note a {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

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

p {
  max-width: 65ch;
}

.container {
  width: min(90%, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(12, 15, 18, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.brand {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.nav a {
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus {
  color: var(--color-primary);
}

.hero {
  padding: 6rem 0 5rem;
  background: radial-gradient(circle at top left, rgba(79, 177, 255, 0.16), transparent 52%),
    radial-gradient(circle at bottom right, rgba(154, 180, 255, 0.22), transparent 60%);
}

.hero-content {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.book-hero-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
}

.book-hero-media {
  background: var(--color-surface);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.book-hero-cover {
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.book-hero-cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.book-description {
  color: var(--color-muted);
  line-height: 1.5;
}

.book-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4.5rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #dce7ff;
  text-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}

.hero-copy h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  margin: 0.5rem 0 1rem;
}

.hero-copy p {
  max-width: 32ch;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 3rem;
}

.hero-card {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-card h2 {
  margin-top: 0.5rem;
  font-family: var(--font-heading);
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  color: var(--color-muted);
}

.hero-card li {
  margin-bottom: 0.5rem;
}

.section {
  padding: 4rem 0;
  background: var(--color-background);
}

.section.soft {
  background: var(--color-soft);
}

.section.highlight {
  background: linear-gradient(135deg, rgba(79, 177, 255, 0.12), rgba(154, 180, 255, 0.18));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-heading {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 3rem;
}

.order-section .section-heading {
  max-width: 100%;
}

.section-heading h2 {
  font-family: var(--font-heading);
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

#events .section-heading {
  max-width: 85%;
  margin: 0 auto 2rem;
}

#events .section-heading h2,
#events .section-heading h3 {
  max-width: 80ch;
  margin-inline: auto;
}

#events .section-heading p {
  max-width: 85ch;
  margin-inline: auto;
}

.section-heading p {
  color: var(--color-muted);
  line-height: 1.6;
  margin-left: auto;
  margin-right: auto;
}

.bookclub-section .section-heading {
  margin-bottom: 1.75rem;
}

.card-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.events-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .events-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(380px, 1fr);
    align-items: stretch;
    gap: 2.5rem;
  }
}

@media (min-width: 1280px) {
  .events-layout {
    grid-template-columns: minmax(0, 1fr) minmax(480px, 1fr);
  }
}

.events-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.card {
  background: var(--color-surface);
  border-radius: 18px;
  padding: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 45px rgba(8, 12, 20, 0.2);
}

.card h3 {
  font-family: var(--font-heading);
  margin: 0 0 0.75rem;
}

.card p {
  color: var(--color-muted);
  line-height: 1.6;
}

.card-meta {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  color: var(--color-muted);
}

.card-list li {
  margin-bottom: 0.75rem;
}

.highlight {
  margin-top: 1.75rem;
  font-weight: 600;
  color: var(--color-primary);
}

.split {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.fact-card {
  background: rgba(12, 15, 18, 0.7);
  border-radius: 16px;
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.fact-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fact-card li {
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.signup {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.signup input {
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
}

.signup button {
  align-self: start;
}

.signup .fine-print {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.button-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.grid-cta {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.events-photo {
  margin: 0;
  align-self: stretch;
  display: flex;
  justify-content: center;
}

.events-photo img {
  width: 65%;
  max-width: 520px;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  object-fit: contain;
  margin: 0 auto;
}

.events-note {
  margin-top: 2.5rem;
  text-align: center;
  color: var(--color-muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.media-highlights ul {
  list-style: none;
  padding: 0;
  color: var(--color-muted);
  line-height: 1.6;
}



.media-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  gap: 0.35rem;
}

.media-center .eyebrow {
  display: block;
  margin-bottom: 0.1rem;
}

.media-center p {
  color: var(--color-muted);
}

.media-link {
  display: block;
  margin: 1rem auto 0;
}

.media-link a {
  font-weight: 600;
  color: var(--color-secondary);
  text-decoration: underline;
}

.contact-list,
.socials {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  color: var(--color-muted);
}

.socials li + li {
  margin-top: 0.5rem;
}

.text-link {
  color: var(--color-secondary);
  font-weight: 600;
}

.legacy-hero {
  background-image: linear-gradient(rgba(12, 15, 18, 0.85), rgba(12, 15, 18, 0.85)),
    url('https://static.wixstatic.com/media/11062b_e55321c53b02478b9bafa28958160488f000.jpg/v1/fill/w_1920,h_1080,al_c,q_80,enc_auto/hero.jpg');
  background-size: cover;
  background-position: center;
}

.quote-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  color: var(--color-muted);
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

.quote-stack {
  margin-top: 2rem;
  text-align: left;
}

.quote-list li {
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
  max-width: 340px;
  width: 100%;
  font-size: 1.35rem;
}

.quote-caption {
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
  text-align: left;
  white-space: nowrap;
}

.quote-stack .quote-list {
  margin-top: 0.75rem;
}

.hero-note {
  margin-top: 1rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.stay-connected .hero-note {
  font-size: 1rem;
}

.cover-card .cover-image {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  margin: 1rem 0;
}

.list-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.legacy-card {
  background: rgba(12, 15, 18, 0.8);
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.legacy-card-image {
  border-radius: 16px;
  margin-bottom: 1.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.legacy-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  color: var(--color-muted);
}

.legacy-feature {
  align-items: center;
}

.legacy-highlight {
  background: linear-gradient(135deg, rgba(79, 177, 255, 0.14), rgba(154, 180, 255, 0.24));
}

.legacy-purchase {
  align-items: center;
}

.purchase-note {
  background: rgba(12, 15, 18, 0.65);
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.purchase-note ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  color: var(--color-muted);
}

.fine-print {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.callout {
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  background: rgba(79, 177, 255, 0.08);
  border: 1px solid rgba(154, 180, 255, 0.28);
  color: var(--color-muted);
}

.bookclub-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bookclub-note {
  text-align: center;
  margin: 2rem auto 0;
  font-weight: 600;
  font-size: 1.1rem;
}

.bookclub-note a {
  color: var(--color-secondary);
  font-weight: 700;
}

.bookclub-content {
  width: min(100%, 960px);
  margin: 0.75rem auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.bookclub-questions {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-muted);
  line-height: 1.5;
  display: grid;
  gap: 0.4rem;
}

.bookclub-questions li {
  margin-left: 0.5rem;
}

.bookclub-visual {
  justify-self: center;
  max-width: 400px;
  width: 100%;
}

.bookclub-visual img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

@media (min-width: 780px) {
  .bookclub-content {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hosting-guide {
  width: min(100%, 960px);
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.hosting-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hosting-heading {
  text-align: center;
  margin: 0 auto 0.75rem;
  max-width: 60ch;
  grid-column: 1 / -1;
}

.hosting-heading h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.hosting-heading .hosting-subhead {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

.hosting-block {
  text-align: left;
  margin: 0;
  width: 100%;
}

.hosting-block h4 {
  margin-bottom: 0.4rem;
}

.hosting-block ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.25rem 0 0;
  color: var(--color-muted);
  line-height: 1.45;
}

.hosting-block li + li {
  margin-top: 0.25rem;
}

.hosting-visual {
  justify-self: center;
  max-width: 380px;
  width: 100%;
}

.hosting-visual img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

@media (min-width: 780px) {
  .hosting-guide {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .hosting-heading {
    margin-bottom: 1rem;
  }
}

.teacher-heading {
  text-align: center;
  margin: 2rem auto 1rem;
  width: min(100%, 620px);
}

.teacher-heading h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.4rem);
}

.teacher-resources {
  width: min(100%, 620px);
  margin: 2rem auto 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(120px, 180px) 1fr;
  align-items: center;
}

.teacher-resources img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.teacher-copy h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
}

.teacher-copy p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.55;
}

@media (max-width: 720px) {
  .teacher-resources {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .teacher-resources img {
    max-width: 180px;
    margin-inline: auto;
  }

  .teacher-copy h2 {
    margin-top: 0.25rem;
  }
}

.history-section {
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
  background: radial-gradient(circle at 15% 15%, rgba(79, 177, 255, 0.2), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(193, 168, 255, 0.18), transparent 60%), var(--color-background);
}

.history-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 85%, rgba(255, 255, 255, 0.04), transparent 65%);
  pointer-events: none;
}

.history-section > .container {
  position: relative;
  z-index: 1;
}

.history-heading {
  margin-bottom: 2rem;
  max-width: 760px;
}

.history-collage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.history-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(79, 177, 255, 0.08));
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.38);
  isolation: isolate;
}

.history-tile button {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  position: relative;
}

.history-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: saturate(0.94) contrast(1.02);
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.08), rgba(4, 12, 24, 0.9));
}

.history-tile-overlay {
  position: absolute;
  inset: 0;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.35rem;
  background: linear-gradient(180deg, rgba(0, 8, 18, 0.9) 0%, rgba(0, 8, 18, 0.65) 40%, rgba(0, 8, 18, 0) 100%);
  color: #f7fbff;
  opacity: 0;
  transform: translateY(-8%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  text-align: left;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.history-tile h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.history-body {
  margin: 0;
  color: rgba(243, 249, 255, 0.9);
  line-height: 1.35;
  font-size: 0.93rem;
}

.history-tile.is-open img,
.history-tile button:focus-visible img {
  transform: scale(1.05);
  filter: saturate(1) contrast(1.05);
}

.history-tile.is-open .history-tile-overlay,
.history-tile button:focus-visible .history-tile-overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.history-tile button:focus-visible {
  outline: 2px solid rgba(79, 177, 255, 0.85);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .history-tile:hover img {
    transform: scale(1.03);
    filter: saturate(1) contrast(1.05);
  }

  .history-tile:hover .history-tile-overlay {
    opacity: 1;
    transform: translateY(0);
  }
}

.history-tip {
  margin: 0.75rem auto 1.25rem;
  color: var(--color-muted);
  max-width: 720px;
  text-align: center;
}

@media (max-width: 1024px) {
  .history-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .history-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .history-collage {
    grid-template-columns: 1fr;
  }
}

.about-section {
  display: grid;
  gap: 1.75rem;
}

.about-heading {
  margin-bottom: 1.5rem;
}

.about-columns {
  align-items: flex-start;
}

.about-figure {
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-figure img {
  border-radius: 18px;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
  display: block;
}

.about-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.contact-inline {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 1rem auto 1.5rem;
  color: var(--color-muted);
}

.contact-inline strong {
  color: var(--color-text);
  margin-right: 0.25rem;
}

.contact-inline span {
  opacity: 0.45;
  margin: 0 0.25rem;
}

.stay-connected {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stay-connected-wide {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  text-align: center;
}

.stay-connected-wide .social-icons {
  justify-content: center;
}

.stay-connected-wide .contact-list {
  margin-left: auto;
  margin-right: auto;
  max-width: 360px;
}

.stay-connected .contact-list {
  margin: 1rem 0 1.5rem;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icons img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.social-icons img.social-icon-instagram {
  background: #fff;
  padding: 4px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.legacy-spread {
  align-items: center;
}

.spread-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
  color: var(--color-muted);
}

.bookclub-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  justify-content: center;
  width: min(100%, 1100px);
  margin: 0 auto;
}

.bookclub-grid ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  color: var(--color-muted);
  line-height: 1.6;
}

.bookclub-questions li {
  max-width: 65ch;
}

.retailer-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 540px) {
  .retailer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 740px) {
  .retailer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .retailer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.retailer-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 24, 38, 0.9);
  border-radius: 16px;
  padding: 1.1rem 1.4rem;
  min-height: 150px;
  height: 150px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 32px rgba(3, 7, 16, 0.45);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.retailer-card img {
  max-width: 250px;
  max-height: 92px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
}

.retailer-card:hover img,
.retailer-card:focus img {
  filter: brightness(1.2) drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.retailer-card--whitelam img {
  max-width: 300px;
  max-height: 140px;
}

.retailer-card--audible img {
  max-width: 150px;
  max-height: 48px;
  transform: translateY(-4px);
}

.retailer-card--amazon img {
  max-width: 150px;
  max-height: 90px;
  transform: translateY(11px);
}

.retailer-card--googleplay img {
  max-width: 260px;
  max-height: 120px;
  width: 100%;
  background: #fff;
  padding: 0.6rem 1rem;
  border-radius: 12px;
}

.retailer-card--qr {
  background: rgba(20, 28, 43, 0.92);
}

.retailer-card--qr img {
  max-width: 160px;
  max-height: 62px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
}

.retailer-card:hover,
.retailer-card:focus {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: 0 24px 42px rgba(1, 8, 18, 0.55);
}

.retailer-card:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}

.media-link .btn,
.media-link .btn:hover,
.media-link .btn:focus {
  text-transform: none;
  text-decoration: none;
}

.btn.primary {
  background: var(--color-primary);
  color: #041322;
  box-shadow: 0 16px 35px rgba(79, 177, 255, 0.35);
}

.btn.primary:hover,
.btn.primary:focus {
  transform: translateY(-2px);
}

.btn.secondary {
  background: rgba(154, 180, 255, 0.18);
  color: var(--color-secondary);
  border: 1px solid rgba(154, 180, 255, 0.4);
}

.btn.tertiary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-text);
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--color-background);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

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

@media (max-width: 720px) {
  .nav {
    display: none;
  }

  .hero {
    padding: 4rem 0 3.25rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin: 1.5rem 0 2.25rem;
  }

  .hero-content {
    gap: 1.75rem;
  }

  .book-hero-grid {
    gap: 2rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

.events-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  grid-template-areas:
    "card1"
    "image1"
    "card2"
    "image2"
    "card3";
  align-items: stretch;
}

.events-boxes,
.events-images {
  display: contents;
}

.event-card { grid-column: auto; }
.event-image { grid-column: auto; }

.event-card-1 { grid-area: card1; }
.event-image-1 { grid-area: image1; }
.event-card-2 { grid-area: card2; }
.event-image-2 { grid-area: image2; }
.event-card-3 { grid-area: card3; }

.events-images img {
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(8, 12, 20, 0.2);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .events-grid {
    grid-template-columns: 1.5fr 1fr;
    grid-template-areas:
      "card1 image1"
      "card2 image2"
      "card3 .";
  }

  .event-card {
    grid-column: auto;
  }
}

@media (min-width: 768px) {
  .about-columns {
    /* Change the ratio: Give the image less space (0.7) and text more space (1.3) */
    grid-template-columns: 0.7fr 1.3fr;
    
    /* Reduce the gap between them (was 2.5rem) */
    gap: 1.5rem;
  }
  
  /* Optional: align the image to the right side of its column so it touches the gap */
  .about-figure {
    align-items: center; 
  }
}
