/* ==========================================================================
   Rona Bell — Author Website
   Palette and typography taken from the cover of "Their Wives, Both Amy's":
   charcoal, ivory and a thin gold rule.
   ========================================================================== */

/* ---------- Fonts (bundled, SIL Open Font License) ---------- */
@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/libre-baskerville-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Libre Baskerville";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/libre-baskerville-latin-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/libre-baskerville-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
}

:root {
  --ink: #141414;
  --charcoal: #1d1d1d;
  --charcoal-soft: #2a2a2a;
  --ivory: #f6f3ee;
  --paper: #fbfaf7;
  --gold: #b8975a;
  --gold-dark: #8a6f3e;
  --gold-bright: #d4ac62;
  --gold-light: #e6c88c;
  --text: #2b2926;
  --muted: #6b6660;
  --muted-light: #a9a49c;
  --line: #e3ded5;
  --line-dark: #3a3a3a;
  --error: #a33a2c;
  --success: #3d6b45;

  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7rem);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}

p {
  margin: 0 0 1.25em;
}

p:last-child {
  margin-bottom: 0;
}

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

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--ivory);
  text-decoration: none;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section) 0;
}

.section--ivory {
  background: var(--ivory);
}

.section--dark {
  background: var(--charcoal);
  color: var(--muted-light);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--ivory);
}

.eyebrow {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.section--dark .eyebrow,
.split__dark .eyebrow {
  color: var(--gold);
}

.rule {
  display: block;
  width: 48px;
  height: 1px;
  margin: 1.5rem 0;
  background: var(--gold);
  border: 0;
}

.rule--center {
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.section--dark .section-head {
  border-bottom-color: var(--line-dark);
}

.text-link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  white-space: nowrap;
}

.text-link:hover {
  color: var(--gold-dark);
}

.section--dark .text-link {
  color: var(--ivory);
}

.section--dark .text-link:hover {
  color: var(--gold);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.85rem 1.75rem;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--ivory);
  cursor: pointer;
}

.btn:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ivory);
}

.btn--light {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.btn--ghost-light {
  background: transparent;
  border-color: var(--muted-light);
  color: var(--ivory);
}

.btn--ghost-light:hover {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2rem;
}

/* ---------- Header: masthead, tagline, nav bar ---------- */
.site-header {
  position: relative;
  z-index: 10;
}

.masthead {
  position: relative;
  overflow: hidden;
  background-color: #2b2b2c;
  background-image: url("../images/header-texture.jpg");
  background-size: cover;
  background-position: center top;
}

.masthead::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: 0.55;
}

.masthead__inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  height: 460px;
}

.masthead__brand {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-self: flex-end;
  margin: 0 0 3.25rem clamp(0rem, 6vw, 5rem);
  text-decoration: none;
  line-height: 1;
}

.masthead__rule {
  display: block;
  width: 56px;
  height: 2px;
  margin: 0 0 1.4rem 0.35rem;
  background: var(--gold);
}

.masthead__first {
  padding-left: 0.3rem;
  font-family: var(--sans);
  font-size: clamp(2.25rem, 5.2vw, 4.5rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.masthead__last {
  margin-top: 0.1em;
  font-family: var(--serif);
  font-size: clamp(4rem, 10.5vw, 9rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.92;
  color: var(--gold-bright);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.masthead__brand:hover .masthead__last {
  color: var(--gold-light);
}

.masthead__photo {
  position: relative;
  z-index: 1;
  display: block;
  align-self: flex-end;
  height: 100%;
  margin-right: clamp(0rem, 4vw, 3.5rem);
  padding-top: 28px;
}

.masthead__photo img {
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  filter: drop-shadow(0 0 28px rgba(0, 0, 0, 0.35));
}

.tagline {
  padding: 0.95rem 0;
  text-align: center;
  background-color: #4e4e50;
  background-image: url("../images/strip-texture.png");
  border-bottom: 1px solid #5c5c5e;
}

.tagline p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(0.9375rem, 1.6vw, 1.125rem);
  font-style: italic;
  line-height: 1.5;
  color: #d4d0c8;
}

.tagline__title {
  color: var(--gold-light);
}

.navbar {
  position: relative;
  background-color: #282b32;
  background-image: url("../images/nav-texture.png");
  border-bottom: 1px solid #1b1d22;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 0.6rem 0;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-bright);
}

.nav__link:hover {
  color: var(--ivory);
}

.nav__link[aria-current="page"] {
  color: var(--ivory);
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.2em;
  bottom: 0;
  height: 1px;
  background: var(--gold-bright);
}

.nav__cta {
  margin-left: 0.75rem;
}

.nav__cta .btn {
  min-height: 40px;
  padding: 0.6rem 1.15rem;
  font-size: 0.75rem;
}

.btn--gold {
  background: transparent;
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.btn--gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.6rem 0;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle__bars span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
}

/* ---------- Hero (split / "opposites") ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}

.split__light {
  display: flex;
  align-items: center;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.5rem, 6vw, 5rem);
  background: var(--paper);
}

.split__dark {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  background: var(--charcoal);
  color: var(--muted-light);
}

.split__content {
  max-width: 520px;
  margin-left: auto;
}

.hero__title {
  font-size: clamp(2.5rem, 5.2vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.hero__title em {
  font-style: italic;
  color: var(--gold-dark);
}

.hero__lead {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted);
}

.hero__meta {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.cover {
  width: 100%;
  max-width: 340px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.cover--lg {
  max-width: 400px;
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
}

.page-header p {
  max-width: 620px;
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: var(--muted);
}

/* ---------- Featured book (home) ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.feature__media {
  display: flex;
  justify-content: center;
}

.feature__body h2,
.feature__body h3 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
}

.feature__body .lead {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--ink);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts dt {
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd {
  margin: 0.35rem 0 0;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink);
}

/* ---------- Book showcase: front & back mockup (home) ---------- */
.showcase__head {
  max-width: 640px;
  margin: 0 auto;
}

.showcase__head h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.showcase__head p {
  font-size: 1.0625rem;
  color: var(--muted);
}

.showcase__figure {
  max-width: 980px;
  margin: clamp(2rem, 5vw, 3.5rem) auto 0;
}

.showcase__figure img {
  width: 100%;
  height: auto;
}

.showcase__actions {
  justify-content: center;
}

/* ---------- Quote band ---------- */
.quote-band {
  text-align: center;
}

.quote-band blockquote {
  max-width: 820px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--ivory);
}

.quote-band cite {
  display: block;
  margin-top: 1.75rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-style: normal;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Author teaser / about ---------- */
.author {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.portrait {
  margin: 0 14px 14px 0;
}

.portrait__frame {
  position: relative;
  display: block;
  isolation: isolate;
}

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

.portrait__frame::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  z-index: -1;
  border: 1px solid var(--gold);
}

.portrait figcaption {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.portrait figcaption a {
  color: var(--muted);
}

.portrait figcaption a:hover {
  color: var(--gold-dark);
}

.author__body h2 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
}

/* ---------- Writing list ---------- */
.writing-list {
  border-top: 1px solid var(--line);
}

.writing-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.writing-item__type {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding-top: 0.35rem;
}

.writing-item h3 {
  font-size: 1.375rem;
}

.writing-item p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.975rem;
}

/* ---------- Publication strip ---------- */
.pubs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.75rem;
  margin-top: 2rem;
}

.pubs li {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--ink);
}

.section--dark .pubs li {
  color: var(--ivory);
}

.center {
  text-align: center;
}

/* ---------- Prose (about / books) ---------- */
.prose {
  max-width: 680px;
}

.prose h2 {
  margin: 2.75rem 0 1rem;
  font-size: 1.625rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose .lead {
  font-family: var(--serif);
  font-size: 1.3125rem;
  line-height: 1.6;
  color: var(--ink);
}

.dropcap::first-letter {
  float: left;
  margin: 0.35rem 0.75rem 0 0;
  font-family: var(--serif);
  font-size: 4.25rem;
  line-height: 0.8;
  color: var(--gold-dark);
}

/* ---------- Book detail (books page) ---------- */
.book-detail {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.book-detail__media {
  position: sticky;
  top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--charcoal);
}

.book-detail__media .btn {
  width: 100%;
  max-width: 340px;
  margin-top: 2rem;
}

.book-detail__body h2 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
}

.book-detail__byline {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.themes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 2.5rem;
  border: 1px solid var(--line);
}

.themes > div {
  padding: 1.75rem;
}

.themes > div + div {
  background: var(--charcoal);
  color: var(--muted-light);
}

.themes h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.themes > div + div h3 {
  color: var(--ivory);
}

.themes p {
  font-size: 0.95rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  max-width: 640px;
}

.cta-band .btn-row {
  margin-top: 0;
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.contact-info h2 {
  font-size: 1.75rem;
}

.contact-block {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-block:first-of-type {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
}

.contact-block h3 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}

.contact-block p {
  font-size: 0.975rem;
  color: var(--muted);
}

.contact-block a {
  color: var(--ink);
}

.contact-block a:hover {
  color: var(--gold-dark);
}

.form {
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--ivory);
  border: 1px solid var(--line);
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.field .req {
  color: var(--gold-dark);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #cfc9be;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141414' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--error);
}

.field__error {
  min-height: 1.25rem;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--error);
}

.form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.form__note {
  font-size: 0.8125rem;
  color: var(--muted);
}

.form__status {
  margin-top: 1.25rem;
  font-size: 0.95rem;
}

.form__status:empty {
  display: none;
}

.form__status.is-success {
  padding: 1rem 1.25rem;
  color: var(--success);
  background: #eef3ec;
  border-left: 2px solid var(--success);
}

.form__status.is-error {
  padding: 1rem 1.25rem;
  color: var(--error);
  background: #f7ecea;
  border-left: 2px solid var(--error);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 4.5rem 0 2rem;
  background: var(--ink);
  color: var(--muted-light);
  font-size: 0.9375rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-dark);
}

.footer__brand .brand__name {
  font-family: var(--serif);
  font-size: 1.375rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory);
}

.footer__brand p {
  max-width: 360px;
  margin-top: 1.25rem;
}

.footer__title {
  margin-bottom: 1rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer__links li + li {
  margin-top: 0.6rem;
}

.footer__links a {
  text-decoration: none;
  color: var(--muted-light);
}

.footer__links a:hover {
  color: var(--ivory);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.75rem;
  font-size: 0.8125rem;
  color: #8a857d;
}

.footer__bottom a {
  color: #8a857d;
}

.footer__bottom a:hover {
  color: var(--ivory);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .navbar__inner {
    justify-content: flex-start;
    min-height: 60px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #282b32;
    background-image: url("../images/nav-texture.png");
    border-bottom: 2px solid var(--gold);
  }

  .nav.is-open {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.25rem var(--gutter) 1.5rem;
  }

  .nav__list li {
    border-bottom: 1px solid #3a3e47;
  }

  .nav__link {
    display: block;
    padding: 1rem 0;
  }

  .nav__link[aria-current="page"]::after {
    display: none;
  }

  .nav__cta {
    margin: 1.25rem 0 0;
    border-bottom: 0 !important;
  }

  .nav__cta .btn {
    width: 100%;
    min-height: 48px;
  }

  .masthead__inner {
    height: 360px;
  }

  .masthead__brand {
    margin: 0 0 2.25rem;
  }

  .masthead__photo {
    margin-right: 0;
  }

  .split,
  .feature,
  .author,
  .book-detail,
  .contact {
    grid-template-columns: 1fr;
  }

  .split {
    min-height: 0;
  }

  .split__content {
    margin: 0 auto;
    max-width: 640px;
  }

  .book-detail__media {
    position: static;
  }

  .author .portrait {
    max-width: 420px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .masthead__inner {
    height: 250px;
    gap: 0.5rem;
  }

  .masthead__brand {
    margin-bottom: 1.5rem;
  }

  .masthead__rule {
    width: 36px;
    margin-bottom: 0.9rem;
  }

  .masthead__first {
    font-size: 1.6rem;
  }

  .masthead__last {
    font-size: 3.4rem;
  }

  .masthead__photo {
    margin-right: -0.5rem;
    padding-top: 18px;
  }

  .facts {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .themes,
  .form__grid {
    grid-template-columns: 1fr;
  }

  .writing-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-row .btn {
    width: 100%;
  }

  .portrait__frame::after {
    inset: 10px -10px -10px 10px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .site-footer,
  .btn,
  .btn-row,
  .form {
    display: none !important;
  }

  .split__dark,
  .section--dark,
  .book-detail__media {
    background: none !important;
    color: #000 !important;
  }
}

/* ---------- Mystery Readers Journal issues (books page) ---------- */
.journals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.journal {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  background: var(--paper);
  border: 1px solid var(--line);
}

.journal__cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 2rem 1.25rem;
  text-align: center;
  text-decoration: none;
  background-color: var(--charcoal);
  background-image: url("../images/nav-texture.png");
  color: var(--ivory);
}

.journal__cover:hover .journal__issue {
  color: var(--gold-light);
}

.journal__masthead {
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.journal__rule {
  display: block;
  width: 36px;
  height: 1px;
  margin: 1.1rem auto;
  background: var(--gold);
}

.journal__issue {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.2;
  overflow-wrap: break-word;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
}

.journal__meta {
  font-family: var(--sans);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  line-height: 1.8;
  text-transform: uppercase;
  color: var(--muted-light);
}

.journal__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.journal__body h3 {
  font-size: 1.5rem;
}

.journal__byline {
  margin: 0.5rem 0 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.journal__body p:not(.journal__byline) {
  font-size: 0.95rem;
  color: var(--muted);
}

.journal__body .text-link {
  margin-top: auto;
  padding-top: 0.5rem;
}

.writing-item h3 a {
  text-decoration: none;
}

.writing-item h3 a:hover {
  color: var(--gold-dark);
}

@media (max-width: 1100px) {
  .journals {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .journal {
    grid-template-columns: 1fr;
  }

  .journal__cover {
    min-height: 240px;
  }
}
