/* Continuity-first refresh mockup
   Keeps the existing information architecture while reducing panel chrome. */

:root {
  --paper: #edf3f8;
  --paper-soft: #f8fafc;
  --surface-alt: #e1ebf3;
  --ink: #14273d;
  --muted: #55697d;
  --line: #b7c7d6;
  --accent: #1f6578;
  --accent-soft: #1f6578;
  --accent-cool: #082f5a;
  --heading-pop: #14273d;
  --subhead-pop: #1f6578;
  --banner-teal: #1f6578;
  --shadow-1: none;
  --shadow-2: none;
  --radius: 0.125rem;
  --max: 70rem;
}

html {
  background: var(--paper);
}

body {
  background: var(--paper);
  color: var(--ink);
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  letter-spacing: -0.018em;
  overflow-wrap: break-word;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.inner {
  width: min(var(--max), calc(100% - 3rem));
}

.site-header {
  background: rgba(248, 250, 252, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.site-header .inner {
  min-height: 4.35rem;
}

.brand {
  color: var(--ink);
}

.brand-mark {
  width: 2.65rem;
  height: 2.65rem;
  border: 2px solid var(--accent-cool);
  border-radius: 999px;
  background: transparent;
  color: var(--accent-cool);
  box-shadow: none;
}

.site-nav a {
  color: var(--ink);
  font-weight: 650;
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.kicker,
.eyebrow {
  color: var(--accent);
  letter-spacing: 0.13em;
}

.btn {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-color: var(--accent-cool);
  border-radius: var(--radius);
  background: var(--accent-cool);
  box-shadow: none;
}

.btn:hover,
.btn:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: none;
  transform: none;
}

.btn-quiet {
  background: transparent;
  color: var(--accent-cool);
}

/* Homepage: familiar two-column opening without boxed panels. */
.hero {
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 1.1fr);
  gap: clamp(3rem, 7vw, 5.5rem);
  align-items: center;
}

.hero-copy {
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-copy h1 {
  max-width: 12ch;
  margin: 0.55rem 0 1.8rem;
  font-size: clamp(3.5rem, 6.5vw, 5.25rem);
  line-height: 1.02;
}

.name-lock {
  display: inline-block;
  white-space: nowrap;
}

.hero-copy .lede {
  max-width: 35rem;
  color: var(--muted);
  font: 400 1.25rem/1.55 "Baskervville", Georgia, serif;
}

.featured-panel {
  position: relative;
  padding: 1.35rem 0 0;
  border: 0;
  border-top: 2px solid var(--accent-cool);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.featured-panel::before {
  display: none;
}

.featured-panel-body {
  grid-template-columns: minmax(8.5rem, 0.62fr) minmax(0, 1.38fr);
  gap: 1.8rem;
}

.featured-panel img {
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.featured-panel-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.featured-panel-copy > p {
  color: var(--muted);
}

.featured-release-dates {
  margin: 1.1rem 0 1.3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.release-date-line {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0.62rem 0;
}

.release-date-line + .release-date-line {
  border-top: 1px solid var(--line);
}

.release-date-line strong {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-panel-action {
  margin-top: 1.15rem;
}

.page-shell {
  padding: clamp(2.25rem, 4vw, 3.5rem) 0;
}

.page-shell.top-none {
  padding-top: clamp(1.25rem, 2vw, 2rem);
}

.home-cover-focus .inner,
.tone-strip .inner,
.about-lite-inner {
  padding-left: 0;
  padding-right: 0;
}

.cover-focus-head h2,
.page-shell .inner > h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.cover-focus-grid {
  gap: 2.2rem 1.25rem;
}

.cover-tile,
.cover-tile:hover,
.cover-tile:focus-visible {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.cover-tile img,
.cover-tile:hover img,
.cover-tile:focus-visible img {
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.cover-title-mobile {
  margin-top: 0.55rem;
  color: var(--ink);
  font-family: "Baskervville", Georgia, serif;
  line-height: 1.25;
}

.tone-strip {
  border-color: var(--line);
  background: var(--surface-alt);
}

.explore-grid,
.explore-grid-rich {
  gap: 0 2.5rem;
}

.work-card,
.card-link,
.video-card,
.featured-video,
.news-award-spotlight {
  border: 0;
  border-top: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.work-card,
.card-link {
  padding: 1.2rem 0 0;
}

.work-card::before {
  display: none;
}

.work-card:hover,
.work-card:focus-within,
.card-link:hover,
.card-link:focus-visible,
.video-card:hover,
.video-card:focus-within {
  border-color: var(--accent);
  box-shadow: none;
  transform: none;
}

.about-lite {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.about-lite-inner {
  border-top: 1px solid var(--ink);
}

/* The homepage now relies on spacing and tonal shifts instead of repeated rules. */
.home-page .hero,
.home-page .featured-panel,
.home-page .tone-strip,
.home-page .about-lite-inner,
.home-page .work-card,
.home-page .card-link {
  border-top: 0;
  border-bottom: 0;
}

.about-thumb,
.about-inline-photo {
  border-radius: 0;
  filter: grayscale(0.85);
}

/* Catalog: same grouped structure, lighter presentation. */
.books-toc {
  padding: 0.9rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.books-toc-list a {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.series-block {
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.series-block > h2 {
  padding-top: 1.2rem;
  border-top: 1px solid var(--ink);
}

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

.book-grid li,
.book-grid li:hover,
.book-grid li:focus-within {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.book-grid li a {
  padding: 0;
}

.book-grid img {
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.book-grid li span {
  color: var(--muted);
}

/* Book pages: preserve the familiar cover-first sequence. */
.book-detail {
  max-width: 68rem;
}

.book-detail article {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.book-header {
  gap: clamp(2rem, 6vw, 4.5rem);
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
  padding: 0 0 clamp(2.5rem, 6vw, 4rem);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.book-header img {
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.book-header h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.02;
}

.book-header .meta {
  color: var(--accent);
  font-weight: 700;
}

.book-detail .prose {
  max-width: 68ch;
}

.prose {
  overflow-wrap: anywhere;
}

.book-detail .prose > h1::after,
.prose > h1::after {
  background: var(--accent);
}

.purchase-panel {
  max-width: 48rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: 1.5rem 0 0;
  scroll-margin-top: 6rem;
  border: 0;
  border-top: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.purchase-panel h2 {
  margin-top: 0;
  font-size: 2.25rem;
}

.edition-release-list {
  border-bottom: 1px solid var(--line);
}

.edition-release {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
}

.edition-release strong {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.purchase-alt {
  padding-top: 0.85rem;
}

/* Editorial and media pages: dividers instead of elevated cards. */
.notebook-list,
.news-list,
.video-card-grid {
  gap: 1.5rem;
}

.video-card-grid {
  align-items: start;
  row-gap: 2.25rem;
}

.video-card {
  align-self: start;
}

.featured-video {
  padding: 1.4rem 0 0;
}

.video-card {
  overflow: visible;
}

.video-card-thumb,
.video-card-thumb img {
  border-radius: 0;
}

.video-card-body {
  padding: 0.9rem 0 0;
  height: auto;
}

.video-card-body .video-link-row {
  margin-top: 0.75rem;
}

.news-review-note {
  border-color: var(--line);
  background: transparent;
}

form {
  border-top-color: var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

input,
textarea {
  border-radius: 0;
  background: var(--paper-soft);
}

.site-banner {
  border-color: var(--accent-cool);
  background: var(--accent-cool);
}

.site-footer {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding: 2rem 0 4rem;
  border-top: 1px solid var(--line);
  background: transparent;
}

.site-footer .inner {
  gap: 2rem;
}

.site-footer h2 {
  margin-bottom: 0.25rem;
  color: var(--accent);
  font: 800 0.75rem/1.2 "Source Sans 3", Arial, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

  .hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .inner {
    width: min(var(--max), calc(100% - 2rem));
  }

  .page-shell {
    padding: 2rem 0;
  }

  .page-shell.top-none {
    padding-top: 1rem;
  }

  .hero {
    padding: 2.8rem 0;
  }

  .hero-grid {
    gap: 3rem;
  }

  .featured-panel-body,
  .book-header {
    grid-template-columns: 1fr;
  }

  .featured-panel-cover,
  .book-header > img {
    width: min(72%, 18rem);
    margin: 0 auto;
  }

  .site-nav a,
  .menu-toggle,
  .btn,
  button[type="submit"] {
    min-height: 2.75rem;
  }

  .release-date-line,
  .edition-release {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

@media (max-width: 420px) {
  .hero-copy h1 {
    font-size: clamp(2.25rem, 12.5vw, 3.2rem);
  }

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