:root {
  color-scheme: light;
  font-family: Georgia, 'Times New Roman', serif;
  color: #12364d;
  background: #f7f1df;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 7rem; }
body { margin: 0; min-width: 280px; background: linear-gradient(#e8f5fb 0 22rem, #fffaf0 42rem); }
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
  padding: .7rem max(1rem, calc((100vw - 1520px) / 2));
  border-bottom: 2px solid #d8ad42;
  background: #fffdf3ef;
  backdrop-filter: blur(12px);
}
.brand { display: flex; gap: .75rem; align-items: center; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 52px; aspect-ratio: 1; border: 3px solid #e2b94c; border-radius: 50%; color: #ffe18a; background: #0a3858; font-weight: 700; }
.brand strong, .brand small { display: block; }
.brand strong { color: #0a3858; font-size: 1.05rem; }
.brand small { margin-top: .12rem; color: #7a4d2a; font-size: .78rem; }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem; }
nav a { min-height: 44px; padding: .7rem .9rem; border-radius: 999px; color: #0a3858; font-weight: 700; text-decoration: none; }
nav a:hover, nav a:focus-visible { outline: 2px solid #d5a82e; background: #fff6d8; }
.back-to-academy { display: inline-block; margin: 1.25rem 0 0; color: #0a3858; font-weight: 700; text-underline-offset: .2em; }
main { width: min(calc(100% - 2rem), 1520px); margin: 0 auto; }
.author-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  min-height: min(760px, calc(100svh - 76px));
  padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 4vw, 4rem);
}
.eyebrow, .section-kicker { margin: 0 0 .7rem; color: #a4312b; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
h1 { margin: 0; color: #092f50; font-size: clamp(4rem, 10vw, 8rem); line-height: .82; }
.subtitle { max-width: 780px; margin: 1.5rem 0; color: #8d2724; font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1.08; }
.intro { max-width: 760px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.65; }
.primary-link { display: inline-flex; gap: .7rem; align-items: center; min-height: 50px; margin-top: 1rem; padding: .8rem 1.25rem; border: 2px solid #dfb347; border-radius: 999px; color: #fff8dc; background: #0b4d3a; font-weight: 700; text-decoration: none; box-shadow: 0 5px 0 #073b2d; }
.primary-link:hover, .primary-link:focus-visible { background: #0f6a4f; outline: 3px solid #f3d377; outline-offset: 3px; }
.author-portrait { margin: 0; }
.portrait-placeholder { position: relative; display: grid; place-items: center; align-content: center; min-height: clamp(360px, 42vw, 600px); padding: 2rem; border: 10px solid #f9f0d8; outline: 3px solid #d5a632; border-radius: 46% 46% 18px 18px; color: #fff8df; text-align: center; background: radial-gradient(circle at 50% 30%, #386f84, #0b3c5d 68%); box-shadow: 0 22px 55px #12364d35, inset 0 0 0 2px #e3bc52; }
.portrait-placeholder::before { content: ''; width: 45%; aspect-ratio: 1; margin-bottom: 1rem; border: 3px solid #efd06c; border-radius: 50%; background: linear-gradient(145deg, #f4d779, #fff8da); box-shadow: 0 0 42px #f9dd77aa; }
.portrait-placeholder .quill { position: absolute; font-size: 3rem; color: #9d2c28; }
.portrait-placeholder strong { font-size: clamp(2.4rem, 5vw, 4.6rem); }
.portrait-placeholder small { margin-top: .4rem; font-size: 1rem; }
figcaption { margin: .85rem auto 0; max-width: 32rem; color: #5e7481; font-size: .85rem; line-height: 1.4; text-align: center; }
.about-section, .books-section { margin: 0 0 clamp(2rem, 6vw, 5rem); padding: clamp(2rem, 5vw, 4.5rem); border: 2px solid #dab34e; border-radius: 28px; background: #fffdf4; box-shadow: 0 16px 44px #12364d18; }
.about-section h2, .section-heading h2 { margin: 0 0 1rem; color: #092f50; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1; }
.about-section p:not(.section-kicker), .section-heading p { max-width: 900px; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.65; }
.books-art { display: block; width: min(100%, 1180px); height: auto; margin: 2rem auto; border: 3px solid #d4aa3d; border-radius: 20px; box-shadow: 0 14px 34px #0a38582a; }
.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.book-grid article { display: flex; flex-direction: column; min-height: 260px; padding: 1.35rem; border: 1px solid #dfc374; border-radius: 16px; background: #fffaf0; }
.book-grid article img { display: block; width: 100%; height: auto; aspect-ratio: 1971 / 2000; object-fit: contain; margin-bottom: 1rem; border-radius: 8px; }
.book-grid span { color: #9b2d28; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.book-grid h3 { margin: .55rem 0; color: #0b3b59; font-size: 1.25rem; }
.book-grid p { flex: 1; color: #405d6d; line-height: 1.5; }
.book-grid a { color: #0a5c43; font-weight: 700; }
.amazon-note { margin: 1.5rem 0 0; color: #617681; text-align: center; }
.contact-email { overflow-wrap: anywhere; }
.contact-pending { padding: .8rem 1rem; border-left: 4px solid #d5a632; background: #fff6d8; }
footer { display: flex; justify-content: space-between; gap: 1rem; padding: 2rem max(1rem, calc((100vw - 1520px) / 2)); color: #fff8dc; background: #092f50; }
footer a { font-weight: 700; }
@media (max-width: 980px) {
  .site-header { position: static; }
  .author-hero { grid-template-columns: 1fr; min-height: 0; }
  .author-copy { text-align: center; }
  .intro { margin-inline: auto; }
  .author-portrait { width: min(100%, 560px); margin: 0 auto; }
  .book-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .site-header { align-items: flex-start; }
  nav { display: none; }
  main { width: min(calc(100% - 1rem), 1520px); }
  .author-hero { padding-inline: .5rem; }
  .about-section, .books-section { padding: 1.25rem; border-radius: 18px; }
  .book-grid { grid-template-columns: 1fr; }
  .book-grid article { min-height: 0; }
  footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
