﻿:root {
  --sky: #dceff8;
  --sky-strong: #b9dceb;
  --paper: #f2e3ce;
  --paper-soft: #fbf7ef;
  --rust: #a65b2a;
  --rust-dark: #7c3c18;
  --ink: #1e1b18;
  --muted: #6f665d;
  --stone: #d6c9b6;
  --white: #fffdf8;
  --shadow: 0 18px 48px rgba(53, 34, 18, .14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-figure,
  .hero-figure img,
  .author-hero-photo img,
  .author-preview-image img,
  .cover-image,
  .character-card,
  .award-card,
  .review-card,
  .quote-card,
  .school-card {
    will-change: transform;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-soft);
  font-family: Verdana, Geneva, sans-serif;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(30, 27, 24, .12);
  background: rgba(251, 247, 239, .94);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand strong {
  font-size: 1.25rem;
}

.brand span {
  font-size: .78rem;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(30, 27, 24, .18);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .92rem;
}

.site-nav a {
  text-decoration: none;
  padding: 9px 10px;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--sky);
  outline: none;
}

.cta-link {
  background: var(--rust);
  color: var(--white) !important;
}

.hero {
  min-height: calc(100vh - 74px);
  background:
    linear-gradient(90deg, rgba(220, 239, 248, .96), rgba(242, 227, 206, .82)),
    url("assets/images/cover ALFRED_24_06 ok.png") center right / cover no-repeat;
  display: grid;
  align-items: center;
  border-bottom: 1px solid rgba(30, 27, 24, .08);
}

.hero-inner {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 56px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rust-dark);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: .92;
  letter-spacing: 0;
}

.hero h1,
.section-head h2,
.page-title h1,
.buy-panel h2,
.character-card h3 {
  font-family: Georgia, "Times New Roman", serif;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  color: #342b23;
}

.hero-actions,
.section-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(30, 27, 24, .18);
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  background: var(--white);
}

.button.primary {
  background: var(--rust);
  color: var(--white);
  border-color: var(--rust);
}

.amazon-logo {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 48px;
  min-width: 142px;
  padding: 6px 16px 8px;
  border: 1px solid rgba(30, 27, 24, .18);
  border-radius: var(--radius);
  background: #ffffff;
  color: #111111;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(53, 34, 18, .08);
}

.amazon-logo:hover,
.amazon-logo:focus-visible {
  outline: none;
  border-color: #ff9900;
  box-shadow: 0 10px 26px rgba(255, 153, 0, .22);
}

.amazon-word {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 1.34rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.amazon-smile {
  display: block;
  width: 66px;
  height: 12px;
  margin: -2px 0 0 34px;
  border-bottom: 4px solid #ff9900;
  border-radius: 0 0 70px 70px;
  transform: skewX(-12deg);
}

.hero-figure {
  justify-self: center;
  width: min(380px, 90%);
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: none;
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

main section,
.page-section {
  padding: 76px 22px;
}

.band-sky {
  background: var(--sky);
}

.band-paper {
  background: var(--paper);
}

.container {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-head h2,
.page-title h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-head p,
.page-title p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .78fr);
  gap: 32px;
  align-items: start;
}

.prose {
  font-size: 1.05rem;
}

.prose p {
  margin: 0 0 18px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.quote-card,
.place-card,
.school-card,
.buy-panel,
.character-card,
.character-text,
.portrait-panel,
.author-facts,
.timeline article,
.author-contact-card,
.award-card,
.contact-form,
.contact-intro {
  border: 1px solid rgba(30, 27, 24, .12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(53, 34, 18, .07);
}

.feature-list li {
  padding: 16px 18px;
}

.feature-list strong {
  display: block;
  color: var(--rust-dark);
  font-size: .9rem;
  text-transform: uppercase;
}

.characters-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.character-card {
  overflow: hidden;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.character-card:hover,
.character-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  outline: none;
}

.character-card img,
.placeholder-portrait {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.placeholder-portrait {
  display: grid;
  place-items: center;
  padding: 18px;
  background: linear-gradient(135deg, var(--sky), var(--paper));
  color: var(--rust-dark);
  font-weight: 800;
  text-align: center;
}

.character-card div {
  padding: 16px;
}

.character-card h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.character-card p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.route {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
}

.map-board {
  position: sticky;
  top: 96px;
  min-height: 420px;
  border-radius: var(--radius);
  border: 1px solid rgba(30, 27, 24, .16);
  background:
    radial-gradient(circle at 24% 20%, rgba(255,255,255,.9) 0 5px, transparent 6px),
    radial-gradient(circle at 58% 38%, rgba(255,255,255,.9) 0 5px, transparent 6px),
    radial-gradient(circle at 74% 72%, rgba(255,255,255,.9) 0 5px, transparent 6px),
    linear-gradient(135deg, #b9dceb, #f2e3ce 62%, #c88552);
  overflow: hidden;
}

.map-line {
  position: absolute;
  inset: 60px 72px;
  border-left: 4px dotted rgba(124, 60, 24, .7);
  transform: rotate(-21deg);
  transform-origin: center;
}

.map-note {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 16px;
  background: rgba(255, 253, 248, .88);
  border-radius: var(--radius);
  font-size: .98rem;
}

.places {
  display: grid;
  gap: 14px;
  counter-reset: place;
}

.place-card {
  padding: 18px;
}

.place-card h3 {
  margin: 0 0 8px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.place-card h3::before {
  counter-increment: place;
  content: counter(place);
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--rust);
  color: var(--white);
  font-size: .86rem;
}

.place-card p {
  margin: 0;
  color: var(--muted);
}

.quotes-grid,
.school-grid,
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.quote-card,
.school-card,
.review-card,
.buy-panel {
  padding: 22px;
}

.review-card {
  border: 1px solid rgba(30, 27, 24, .12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(53, 34, 18, .07);
}

.featured-review {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--white), #fff2d6);
  border-color: rgba(166, 91, 42, .28);
}

.review-card blockquote {
  font-size: .98rem;
}

.review-rating {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: var(--radius);
  background: #fff2d6;
  color: #6d3b00;
  font-size: .82rem;
  font-weight: 800;
}

.review-source {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .88rem;
}

.review-source a {
  color: var(--rust-dark);
  font-weight: 700;
}

.quote-card h3,
.school-card h3,
.buy-panel h3 {
  margin: 0 0 12px;
  color: var(--rust-dark);
}

blockquote {
  margin: 0;
  font-size: 1.08rem;
}

.quote-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .95rem;
}

.author-preview {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.author-preview-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(30, 27, 24, .14);
  box-shadow: var(--shadow);
  background: var(--white);
}

.author-preview-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.author-preview-copy h2,
.author-hero h1,
.author-main h2,
.author-closing h2,
.timeline h3,
.author-facts h2 {
  font-family: Georgia, "Times New Roman", serif;
}

.author-preview-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1;
}

.author-preview-copy p {
  max-width: 720px;
  color: #342b23;
  font-size: 1.05rem;
}

.author-hero {
  padding: 68px 22px;
  background: linear-gradient(90deg, var(--paper), var(--sky));
  border-bottom: 1px solid rgba(30, 27, 24, .1);
}

.author-hero-grid,
.author-layout {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: center;
}

.author-hero-copy h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: .98;
  letter-spacing: 0;
}

.author-hero-copy p {
  max-width: 720px;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.author-hero-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(30, 27, 24, .14);
  box-shadow: var(--shadow);
  background: var(--white);
}

.author-hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.author-layout {
  align-items: start;
}

.author-main {
  min-width: 0;
}

.compact-head {
  margin-top: 38px;
}

.quote-band {
  margin: 32px 0;
  padding: 24px;
  border-left: 6px solid var(--rust);
  background: var(--paper);
  border-radius: var(--radius);
}

.quote-band blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  padding: 18px;
}

.timeline span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: var(--radius);
  background: #fff2d6;
  color: var(--rust-dark);
  font-size: .82rem;
  font-weight: 800;
}

.timeline h3,
.timeline p {
  margin: 0;
}

.timeline p {
  margin-top: 6px;
  color: var(--muted);
}

.author-side {
  display: grid;
  gap: 18px;
}

.author-side > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: bottom center;
  border-radius: var(--radius);
  border: 1px solid rgba(30, 27, 24, .14);
  background: linear-gradient(135deg, var(--sky), var(--paper));
  box-shadow: var(--shadow);
}

.author-facts {
  padding: 22px;
}

.author-facts h2 {
  margin: 0 0 16px;
  font-size: 1.55rem;
}

.author-facts dl,
.author-facts dd {
  margin: 0;
}

.author-facts div {
  padding: 12px 0;
  border-top: 1px solid rgba(30, 27, 24, .1);
}

.author-facts dt {
  color: var(--rust-dark);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.author-facts dd {
  color: var(--muted);
}

.author-contact-card {
  padding: 22px;
}

.author-contact-card h2,
.contact-intro h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.1;
}

.author-contact-card p,
.contact-intro p {
  color: var(--muted);
}

.email-obfuscated,
.contact-email a {
  display: inline-block;
  margin-top: 12px;
  color: var(--rust-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.author-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.author-gallery figure {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(30, 27, 24, .14);
  background: linear-gradient(135deg, var(--paper-soft), var(--sky));
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(53, 34, 18, .07);
}

.author-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: bottom center;
}

.author-closing {
  max-width: 860px;
}

.author-closing h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.author-closing p {
  font-size: 1.08rem;
  color: #342b23;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.award-card {
  overflow: hidden;
}

.award-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid rgba(30, 27, 24, .12);
}

.award-card div {
  padding: 22px;
}

.award-card h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.15;
}

.award-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.award-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, .58fr) minmax(0, 1fr);
  align-items: stretch;
}

.award-featured img {
  height: 100%;
  min-height: 420px;
  aspect-ratio: auto;
  border-bottom: 0;
  border-right: 1px solid rgba(30, 27, 24, .12);
}

.awards-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.awards-gallery figure {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(30, 27, 24, .14);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(53, 34, 18, .07);
}

.awards-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.buy-layout {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.cover-image {
  border-radius: var(--radius);
  border: 1px solid rgba(30, 27, 24, .14);
  box-shadow: var(--shadow);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

.contact-intro,
.contact-form {
  padding: 26px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  color: var(--rust-dark);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(30, 27, 24, .18);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: var(--paper-soft);
  color: var(--ink);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--rust);
  outline: 3px solid rgba(166, 91, 42, .18);
}

.contact-form button {
  width: fit-content;
  cursor: pointer;
}

.page-hero {
  padding: 58px 22px 34px;
  background: linear-gradient(135deg, var(--sky), var(--paper));
  border-bottom: 1px solid rgba(30, 27, 24, .1);
}

.page-title {
  width: min(980px, 100%);
  margin: 0 auto;
}

.character-layout {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1.15fr);
  gap: 30px;
  align-items: start;
}

.portrait-panel {
  overflow: hidden;
}

.portrait-panel img,
.portrait-panel .placeholder-portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.portrait-panel .portrait-secondary {
  border-top: 1px solid rgba(30, 27, 24, .12);
}

.portrait-caption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: .92rem;
}

.character-text {
  padding: 26px;
  font-size: 1.05rem;
}

.character-text p {
  margin: 0 0 18px;
}

.character-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 24px;
}

.character-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(30, 27, 24, .12);
  border-radius: var(--radius);
}

.character-nav {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer {
  padding: 34px 22px;
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .92rem;
}

.footer-inner a {
  color: var(--white);
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--white);
    border: 1px solid rgba(30, 27, 24, .14);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  body.menu-open .site-nav {
    display: flex;
  }

  .hero-inner,
  .split,
  .route,
  .buy-layout,
  .character-layout,
  .contact-layout,
  .author-preview,
  .author-hero-grid,
  .author-layout,
  .award-featured {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 42px;
  }

  .hero-figure {
    width: min(320px, 100%);
  }

  .characters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .author-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .awards-grid,
  .awards-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .award-featured img {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(30, 27, 24, .12);
  }

  .map-board {
    position: relative;
    top: auto;
    min-height: 260px;
  }
}

@media (max-width: 620px) {
  .nav-wrap,
  main section,
  .page-section,
  .page-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-inner {
    width: calc(100% - 32px);
  }

  .hero h1 {
    font-size: 3.15rem;
  }

  .characters-grid,
  .quotes-grid,
  .school-grid,
  .reviews-grid,
  .character-gallery,
  .author-gallery,
  .awards-grid,
  .awards-gallery {
    grid-template-columns: 1fr;
  }

  .character-text {
    padding: 20px;
  }
}

