:root {
  --ivory: #f8f7f4;
  --stone: #e7e2da;
  --slate: #2a3440;
  --steel: #5e7a91;
  --bronze: #8c6a4a;
  --charcoal: #3a3a3a;
  --cream: #f6f4ef;
  --indigo: #334e68;
  --mist: #90afc5;
  --teal: #6c9a8b;
  --lavender: #a59cb6;
  --page: min(1180px, calc(100% - 40px));
  --header-offset: 112px;
  --shadow: 0 24px 70px rgba(42, 52, 64, .14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Shared entitlement, library, reviews, and announcement surfaces. */
.purchase-button--resolving {
  opacity: .58;
  pointer-events: none;
}

.library-hierarchy {
  display: grid;
  gap: 42px;
}

.library-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-block: 4px 30px;
  border-bottom: 1px solid rgba(42, 52, 64, .14);
}

.library-highlights h3,
.library-collection__heading h3,
.library-series__heading h4 {
  margin: 0;
  letter-spacing: 0;
}

.library-highlight-links {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.library-highlight-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(42, 52, 64, .1);
}

.library-highlight-links span,
.library-series__heading span {
  color: #5f6670;
  font-size: .82rem;
}

.library-collection,
.library-series {
  min-width: 0;
}

.library-collection__heading {
  margin-bottom: 24px;
}

.library-collection__heading h3 {
  color: var(--slate);
  font: 600 2.6rem/1 var(--serif);
}

.library-series + .library-series {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(42, 52, 64, .12);
}

.library-series__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.library-series__heading h4 {
  color: var(--slate);
  font: 600 1.55rem/1.2 var(--serif);
}

.library-card__state {
  margin: 0;
  color: var(--indigo);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.library-card__state--completed {
  color: #477365;
}

.library-card__state--coming-soon,
.library-card__state--unavailable {
  color: #80634c;
}

.book-reviews {
  border-top: 1px solid rgba(42, 52, 64, .14);
}

.book-reviews__heading {
  align-items: end;
}

.book-reviews__summary {
  display: grid;
  justify-items: end;
}

.book-reviews__summary strong {
  color: var(--slate);
  font: 700 2.4rem/1 var(--serif);
}

.book-reviews__summary span,
.reader-review time {
  color: #69717a;
  font-size: .78rem;
}

.book-review-form {
  display: grid;
  grid-template-columns: minmax(130px, .3fr) minmax(0, 1fr);
  gap: 18px;
  margin: 24px 0 34px;
  padding: 24px 0;
  border-block: 1px solid rgba(42, 52, 64, .13);
}

.book-review-form__heading,
.book-review-form__actions {
  grid-column: 1 / -1;
}

.book-review-form__heading h3,
.book-review-form__heading span,
.book-review-form label span {
  display: block;
  margin: 0;
}

.book-review-form textarea,
.book-review-form select {
  width: 100%;
  margin-top: 7px;
}

.book-review-form__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.reader-review {
  padding: 20px 0;
  border-bottom: 1px solid rgba(42, 52, 64, .13);
}

.reader-review__heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.reader-review__rating {
  color: var(--bronze);
  font-weight: 700;
}

.site-announcement {
  position: relative;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 52px 8px 20px;
  color: #fff;
  background: #2f3d48;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: .84rem;
}

.announcement-image {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 4px;
  object-fit: cover;
}

.announcement-content div {
  display: flex;
  gap: 10px;
}

.announcement-content span {
  color: rgba(255, 255, 255, .78);
}

.announcement-link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-announcement__close {
  position: absolute;
  top: 50%;
  right: 14px;
  padding: 4px;
  border: 0;
  color: rgba(255, 255, 255, .8);
  font: inherit;
  font-size: .75rem;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
}

.page-announcement {
  padding-block: 18px;
  border-bottom: 1px solid rgba(42, 52, 64, .13);
}

.page-announcement .announcement-content {
  justify-content: space-between;
  color: var(--slate);
}

.page-announcement .announcement-content span {
  color: #616873;
}

.page-announcement .announcement-link {
  color: var(--indigo);
}

.notification-center {
  position: relative;
}

.notification-center__button {
  position: relative;
  border: 0;
  color: inherit;
  font: inherit;
  font-size: .78rem;
  background: transparent;
  cursor: pointer;
}

.notification-center__count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  margin-left: 5px;
  border-radius: 50%;
  color: #fff;
  font-size: .68rem;
  background: #8c4f46;
}

.notification-center__panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 120;
  width: min(360px, calc(100vw - 32px));
  max-height: 420px;
  overflow: auto;
  padding: 14px 18px;
  border: 1px solid rgba(42, 52, 64, .14);
  border-radius: 6px;
  color: var(--charcoal);
  background: #fff;
  box-shadow: var(--shadow);
}

.notification-center__heading,
.notification-item .announcement-content--compact {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.notification-center__heading {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(42, 52, 64, .12);
}

.notification-center__heading span,
.notification-item span {
  color: #69717a;
  font-size: .76rem;
}

.notification-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(42, 52, 64, .1);
}

.notification-item.is-unread {
  border-left: 3px solid var(--bronze);
  padding-left: 10px;
}

.notification-item .announcement-content,
.notification-item .announcement-content div {
  display: grid;
  justify-content: stretch;
}

.notification-item .announcement-link {
  color: var(--indigo);
}

@media (max-width: 720px) {
  .library-collection__heading h3 {
    font-size: 2rem;
  }

  .library-highlights,
  .reader-review-grid,
  .book-review-form {
    grid-template-columns: 1fr;
  }

  .library-series__heading,
  .book-review-form__actions,
  .announcement-content,
  .announcement-content div,
  .page-announcement .announcement-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-announcement {
    justify-content: flex-start;
  }
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--charcoal);
  font-family: var(--sans);
  line-height: 1.7;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 5%, rgba(140, 106, 74, .12), transparent 28%),
    linear-gradient(135deg, var(--ivory), var(--stone));
}

body.project-theme {
  background:
    radial-gradient(circle at 14% 12%, rgba(144, 175, 197, .22), transparent 32%),
    linear-gradient(145deg, #f6f4ef, #dfe8e9);
}

main {
  display: block;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

img {
  height: auto;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--slate);
  color: var(--ivory);
  font-size: .85rem;
  font-weight: 700;
  transition: top .25s ease;
}

.skip-link:focus {
  top: 16px;
}

:target {
  scroll-margin-top: calc(var(--header-offset) + 16px);
}

.page-shell {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  width: var(--page);
  max-width: calc(100vw - 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 8px;
  background: rgba(248, 247, 244, .42);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background .5s ease, box-shadow .5s ease, border-color .5s ease;
}

.site-header.scrolled {
  border-color: rgba(42, 52, 64, .12);
  background: rgba(248, 247, 244, .86);
  box-shadow: var(--shadow);
}

.brand {
  flex: 0 1 auto;
  min-width: 0;
  color: var(--slate);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.35vw, 18px);
  min-width: 0;
  color: rgba(42, 52, 64, .76);
  font-size: clamp(.76rem, 1.05vw, .86rem);
}

.site-nav a,
.dropdown-trigger {
  flex: 0 0 auto;
  transition: color .25s ease;
}

.site-nav a:hover,
.site-nav [aria-current="page"],
.dropdown:hover .dropdown-trigger {
  color: var(--bronze);
}

.dropdown {
  position: relative;
  flex: 0 0 auto;
}

.dropdown-trigger {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  min-width: 230px;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(42, 52, 64, .1);
  border-radius: 8px;
  background: rgba(248, 247, 244, .95);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity .25s ease, transform .25s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(2px);
}

.dropdown-menu a {
  padding: 10px 12px;
  border-radius: 6px;
}

.dropdown-menu .dropdown-volume {
  color: var(--slate);
  font-weight: 700;
}

.dropdown-menu .dropdown-series {
  padding-left: 26px;
  font-size: .82rem;
}

.dropdown-menu a:hover {
  background: rgba(140, 106, 74, .08);
}

.auth-nav {
  position: relative;
  flex: 0 0 auto;
}

.auth-nav__login,
.auth-menu > summary {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  max-width: 180px;
  padding: 7px 11px;
  border: 1px solid rgba(42, 52, 64, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .28);
  color: var(--slate);
  font-weight: 800;
  line-height: 1.1;
}

.auth-menu {
  position: relative;
}

.auth-menu > summary {
  overflow: hidden;
  list-style: none;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-menu > summary::-webkit-details-marker {
  display: none;
}

.auth-menu__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 2;
  min-width: 190px;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(42, 52, 64, .1);
  border-radius: 8px;
  background: rgba(248, 247, 244, .98);
  box-shadow: var(--shadow);
}

.auth-menu__panel a,
.auth-menu__panel button {
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(42, 52, 64, .78);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.auth-menu__panel a:hover,
.auth-menu__panel button:hover {
  background: rgba(140, 106, 74, .08);
  color: var(--bronze);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--slate);
  cursor: pointer;
  font: inherit;
}

.cursor-glow {
  position: fixed;
  z-index: 1;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 106, 74, .18), transparent 65%);
  mix-blend-mode: multiply;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.ambient-field,
.neural-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.ambient-field span,
.neural-field span {
  position: absolute;
  width: 34vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(46px);
  opacity: .28;
  animation: float 18s ease-in-out infinite alternate;
}

.ambient-field span:nth-child(1) { top: 10%; left: -6%; background: #d8c2a6; }
.ambient-field span:nth-child(2) { top: 18%; right: 2%; background: #90afc5; animation-delay: -7s; }
.ambient-field span:nth-child(3) { bottom: -10%; left: 34%; background: #b7b1a6; animation-delay: -12s; }
.neural-field span { border: 1px solid rgba(144, 175, 197, .55); background: rgba(108, 154, 139, .18); }
.neural-field span:nth-child(1) { top: 18%; left: 8%; }
.neural-field span:nth-child(2) { top: 8%; right: 5%; animation-delay: -5s; }
.neural-field span:nth-child(3) { bottom: -9%; left: 46%; animation-delay: -11s; }
.neural-field span:nth-child(4) { right: 24%; bottom: 20%; width: 18vw; animation-delay: -15s; }

.hero,
.project-hero,
.book-hero {
  display: grid;
  align-items: center;
  gap: clamp(32px, 5vw, 70px);
  min-height: 88svh;
  padding-block: var(--header-offset) 80px;
}

.hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
}

.home-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.home-hero::before {
  inset: 34px -3vw 42px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 74% 34%, rgba(255, 255, 255, .62), transparent 31%),
    radial-gradient(circle at 24% 28%, rgba(140, 106, 74, .12), transparent 35%),
    repeating-linear-gradient(0deg, rgba(42, 52, 64, .018) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(90deg, rgba(140, 106, 74, .016) 0 1px, transparent 1px 7px),
    linear-gradient(135deg, rgba(248, 247, 244, .82), rgba(231, 226, 218, .48));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .48);
}

.home-hero::after {
  inset: 12% -18% 10% 48%;
  background: radial-gradient(circle, rgba(216, 194, 166, .28), transparent 58%);
}

.home-hero > .reveal {
  position: relative;
  z-index: 1;
}

.home-hero-art {
  position: relative;
  isolation: isolate;
}

.project-hero {
  position: relative;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.project-hero > .reveal {
  position: relative;
  z-index: 1;
}

.collection-book-stack {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(1040px, 94vw);
  height: clamp(340px, 54vh, 560px);
  opacity: .13;
  pointer-events: none;
  transform: translate(-50%, -48%) perspective(1200px) rotateX(58deg) rotateZ(-8deg);
  transform-style: preserve-3d;
  filter: blur(1.3px);
  animation: collectionStackFloat 20s ease-in-out infinite;
}

.collection-book-stack::after {
  content: "";
  position: absolute;
  inset: 24% 12% 12%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(42, 52, 64, .34), transparent 68%);
  filter: blur(30px);
  transform: translateZ(-120px);
}

.stack-cover {
  position: absolute;
  width: clamp(150px, 17vw, 270px);
  aspect-ratio: 2 / 3;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 36px 82px rgba(42, 52, 64, .4);
}

.stack-cover-01 {
  left: 18%;
  top: 24%;
  transform: translateZ(84px) rotateZ(-16deg);
}

.stack-cover-02 {
  left: 32%;
  top: 18%;
  transform: translateZ(122px) rotateZ(-7deg);
}

.stack-cover-03 {
  left: 46%;
  top: 20%;
  transform: translateZ(164px) rotateZ(2deg);
}

.stack-cover-04 {
  left: 58%;
  top: 27%;
  transform: translateZ(116px) rotateZ(10deg);
}

.stack-cover-05 {
  left: 68%;
  top: 34%;
  transform: translateZ(70px) rotateZ(17deg);
}

.book-hero {
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
  min-height: 72svh;
}

.hero > *,
.project-hero > *,
.book-hero > *,
.section > *,
.project-card,
.book-card,
.credit-card,
.contact-card {
  min-width: 0;
}

.hero .reveal:last-child {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.author-hero {
  grid-template-columns: minmax(320px, .9fr) minmax(520px, 1.1fr);
  align-items: center;
}

.author-hero .portrait-placeholder {
  justify-self: start;
}

.author-hero .copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.hero .portrait-placeholder + .copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: min(100%, 760px);
  max-width: 760px;
  min-width: 0;
  white-space: normal;
}

.hero .portrait-placeholder + .copy h1 {
  width: 100%;
  max-width: 720px;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.founder-profile-hero {
  min-height: min(760px, 82svh);
}

.founder-hero {
  width: min(1180px, calc(100% - 80px));
  margin-top: calc(var(--header-offset) - 4px);
  grid-template-columns: minmax(360px, .4fr) minmax(0, .6fr);
  align-items: start;
  gap: clamp(44px, 5.4vw, 86px);
  min-height: 0;
  padding-block: 0 54px;
}

.founder-portrait-block {
  justify-self: start;
  width: 100%;
  min-width: 0;
}

.founder-portrait-panel {
  width: min(100%, clamp(360px, 32vw, 430px));
  margin-top: 0;
  border-color: rgba(140, 106, 74, .24);
  background: rgba(248, 247, 244, .28);
  box-shadow: 0 22px 56px rgba(42, 52, 64, .14);
}

.hero.founder-hero .founder-portrait-panel {
  display: grid;
  width: min(100%, clamp(360px, 32vw, 430px));
  aspect-ratio: 706 / 1077;
  place-items: center;
}

.founder-portrait-panel::after {
  display: none;
}

.founder-copy-block {
  justify-self: start;
  align-self: start;
  width: 100%;
  max-width: 620px;
  min-width: 0;
  margin-top: clamp(52px, 6vw, 78px);
}

.hero.founder-hero .founder-copy-block {
  display: block;
}

.founder-copy-block .eyebrow {
  margin-bottom: 12px;
}

.founder-copy-block h1 {
  max-width: 10.4ch;
  margin: 0;
  font-size: clamp(3.15rem, 4.9vw, 4.65rem);
  line-height: .94;
}

.founder-copy-block .hero-text {
  max-width: 38ch;
  margin: clamp(22px, 2.4vw, 30px) 0 0;
  color: rgba(42, 52, 64, .76);
  font-size: clamp(1.1rem, 1.24vw, 1.22rem);
  line-height: 1.72;
}

.founder-support-statement {
  max-width: 36ch;
  margin: 20px 0 0;
  padding-left: 18px;
  border-left: 1px solid rgba(140, 106, 74, .34);
  color: rgba(42, 52, 64, .68);
  font-size: .95rem;
  line-height: 1.62;
}

.founder-hero .entity-links {
  max-width: none;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(140, 106, 74, .18);
  gap: 10px 28px;
  font-size: .92rem;
  line-height: 1.35;
}

.founder-hero .entity-links a {
  min-height: 36px;
  padding-bottom: 4px;
  color: rgba(42, 52, 64, .78);
  text-decoration: none;
  border-bottom: 1px solid rgba(140, 106, 74, .42);
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.founder-hero .entity-links a:hover {
  color: var(--bronze);
  border-bottom-color: var(--bronze);
}

.founder-hero .entity-links span {
  color: rgba(140, 106, 74, .5);
}

.founder-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.founder-statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  gap: clamp(26px, 4vw, 58px);
  align-items: start;
}

.founder-role {
  margin: 10px 0 0;
  color: var(--bronze);
  font-weight: 700;
}

.founder-home-actions {
  align-self: stretch;
}

.founder-series-grid {
  margin-top: 34px;
}

.profile-book-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px);
}

.profile-book-list > div {
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(42, 52, 64, .14);
}

.profile-book-list h3 {
  margin-bottom: 18px;
}

.profile-book-list a {
  display: block;
  margin-top: 10px;
  color: rgba(42, 52, 64, .78);
  font-weight: 600;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--bronze);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--slate);
  font-family: var(--serif);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1 {
  max-width: 100%;
  font-size: clamp(3.2rem, 6.5vw, 5.8rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: .98;
}

h3 {
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.05;
}

.project-theme h1,
.project-theme h2 {
  color: var(--indigo);
}

.hero-text {
  max-width: 690px;
  margin: 26px 0 0;
  color: rgba(58, 58, 58, .74);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.project-hero .hero-text {
  margin-inline: auto;
  color: rgba(51, 78, 104, .76);
}

.feedback-context {
  display: grid;
  gap: 4px;
  max-width: min(100%, 720px);
  overflow-wrap: anywhere;
}

.feedback-context span {
  min-width: 0;
}

.feedback-hero {
  min-height: 0;
  padding-block: calc(var(--header-offset) + 4px) 14px;
  text-align: center;
}

.feedback-hero h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.06;
}

.feedback-hero .eyebrow {
  margin-bottom: 10px;
}

.feedback-hero .hero-text {
  max-width: min(100%, 720px);
  margin-top: 10px;
  font-size: clamp(.98rem, 1.1vw, 1.08rem);
  line-height: 1.45;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button,
.book-card a,
.project-card strong,
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.button.primary,
.contact-link.primary {
  background: var(--slate);
  color: var(--ivory);
  box-shadow: 0 16px 34px rgba(42, 52, 64, .2);
}

.button.ghost,
.contact-link {
  border: 1px solid rgba(42, 52, 64, .18);
  background: rgba(255, 255, 255, .32);
  color: var(--slate);
}

.purchase-button {
  cursor: pointer;
}

[data-purchase-type]:not([data-purchase-access-state]) {
  pointer-events: none;
  cursor: wait;
  opacity: .68;
}

.purchase-button:disabled {
  cursor: wait;
  opacity: .68;
}

.purchase-button--entitled:disabled {
  border-color: rgba(42, 120, 105, .2);
  background: rgba(42, 120, 105, .08);
  box-shadow: none;
  color: var(--teal);
  cursor: default;
  opacity: 1;
}

.purchase-status {
  flex: 1 1 100%;
  min-height: 1.4em;
  color: rgba(42, 52, 64, .66);
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.35;
}

.purchase-status[data-status="error"] {
  color: #8c4f4a;
}

.purchase-status[data-status="success"] {
  color: var(--teal);
}

.purchase-checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(42, 52, 64, .46);
}

.purchase-checkout-dialog {
  width: min(460px, 100%);
  max-height: min(680px, calc(100vh - 40px));
  display: grid;
  gap: 20px;
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 8px;
  background: #f8f7f4;
  box-shadow: 0 28px 80px rgba(42, 52, 64, .28);
}

.purchase-checkout-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.purchase-checkout-dialog__header .eyebrow {
  margin: 0 0 6px;
}

.purchase-checkout-dialog__header h2 {
  margin: 0;
  color: var(--slate);
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.purchase-checkout-close {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(42, 52, 64, .14);
  border-radius: 50%;
  background: transparent;
  color: var(--slate);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.purchase-checkout-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
  border-block: 1px solid rgba(42, 52, 64, .1);
}

.purchase-checkout-price__original {
  color: rgba(42, 52, 64, .64);
  font-size: .9rem;
  font-weight: 750;
}

.purchase-checkout-price__original.is-discounted {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.purchase-checkout-price__final {
  color: var(--slate);
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1;
  white-space: nowrap;
}

.purchase-coupon-form {
  display: grid;
  gap: 8px;
}

.purchase-coupon-form > label {
  color: var(--slate);
  font-size: .78rem;
  font-weight: 850;
}

.purchase-coupon-form__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.purchase-coupon-form input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(42, 52, 64, .2);
  border-radius: 6px;
  background: #fff;
  color: var(--slate);
  font: inherit;
}

.purchase-coupon-apply {
  min-height: 44px;
  padding: 10px 16px;
}

.purchase-coupon-remove {
  width: fit-content;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: rgba(42, 52, 64, .72);
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.purchase-coupon-status {
  min-height: 1.4em;
  margin: 0;
  color: rgba(42, 52, 64, .64);
  font-size: .8rem;
  font-weight: 750;
  line-height: 1.4;
}

.purchase-coupon-status[data-status="error"] {
  color: #8c4f4a;
}

.purchase-coupon-status[data-status="success"] {
  color: var(--teal);
}

.purchase-checkout-actions {
  display: flex;
  justify-content: flex-end;
}

.purchase-checkout-actions .button {
  width: 100%;
}

.button:hover,
.book-card a:hover,
.contact-link:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.hero-link {
  display: inline-flex;
  margin-top: 18px;
  color: rgba(42, 52, 64, .68);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(140, 106, 74, .4);
  text-underline-offset: 4px;
  transition: color .25s ease, text-decoration-color .25s ease;
}

.hero-link:hover {
  color: var(--bronze);
  text-decoration-color: var(--bronze);
}

.redirect-page {
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 18px;
  padding-block: 80px;
  text-align: center;
}

.redirect-page h1 {
  margin-inline: auto;
}

.redirect-page p {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(42, 52, 64, .7);
}

.content-unavailable {
  min-height: 78svh;
  display: grid;
  align-content: center;
  justify-items: start;
}

.content-unavailable h1 {
  max-width: 9ch;
}

body:not([data-access-state="resolved"]) .dropdown-menu,
body:not([data-access-state="resolved"]) .project-card,
body:not([data-access-state="resolved"]) .book-card,
body:not([data-access-state="resolved"]) main.book-detail > *,
body.series-landing:not([data-access-state="resolved"]) main > *,
body:not([data-access-state="resolved"]) .projects-collection-hero,
body:not([data-access-state="resolved"]) .projects-collection-hero ~ .section {
  visibility: hidden;
}

body:not([data-access-state="resolved"]) main.book-detail,
body.series-landing:not([data-access-state="resolved"]) main,
body:not([data-access-state="resolved"]) main:has(.projects-collection-hero) {
  position: relative;
  min-height: 72svh;
}

body:not([data-access-state="resolved"]) main.book-detail::before,
body.series-landing:not([data-access-state="resolved"]) main::before,
body:not([data-access-state="resolved"]) main:has(.projects-collection-hero)::before {
  content: "";
  position: absolute;
  top: calc(var(--header-offset) + 34px);
  left: 50%;
  z-index: 2;
  width: min(260px, calc(100% - 80px));
  height: 2px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(42, 52, 64, .12), var(--bronze), rgba(42, 52, 64, .12));
  background-size: 200% 100%;
  animation: entitlement-loading 1.2s linear infinite;
  transform: translateX(-50%);
}

@keyframes entitlement-loading {
  to { background-position: -200% 0; }
}

.founder-line,
.entity-links {
  max-width: 680px;
  margin: 16px 0 0;
  color: rgba(42, 52, 64, .68);
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.6;
}

.entity-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.entity-links a {
  min-width: 0;
  overflow-wrap: anywhere;
}

.founder-line a,
.entity-links a,
.profile-book-list a,
.site-footer a {
  text-decoration: underline;
  text-decoration-color: rgba(140, 106, 74, .34);
  text-underline-offset: 4px;
  transition: color .25s ease, text-decoration-color .25s ease;
}

.founder-line a:hover,
.entity-links a:hover,
.profile-book-list a:hover,
.site-footer a:hover {
  color: var(--bronze);
  text-decoration-color: var(--bronze);
}

.archive-object {
  width: min(430px, 100%);
  aspect-ratio: .72;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(42, 52, 64, .96), rgba(94, 122, 145, .76)),
    radial-gradient(circle at 30% 10%, rgba(140, 106, 74, .6), transparent 30%);
  color: var(--cream);
  box-shadow: var(--shadow);
  animation: logoFloat 8s ease-in-out infinite;
}

.archive-object span {
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.archive-object strong {
  font-family: var(--serif);
  font-size: 4.6rem;
  line-height: .9;
}

.archive-object em {
  color: rgba(246, 244, 239, .72);
  font-style: normal;
}

/* === Logo containers: transparent backgrounds, no boxed-card look === */

.logo-archive {
  overflow: hidden;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.logo-archive .book-cover-image {
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  mix-blend-mode: multiply;
  object-fit: contain;
}

.home-hero .logo-archive {
  position: relative;
  z-index: 2;
}

.hero-book-composition {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(540px, 46vw);
  height: min(520px, 44vw);
  opacity: .18;
  pointer-events: none;
  transform: translate(-48%, -50%);
  filter: saturate(.74) sepia(.12);
}

.hero-book {
  position: absolute;
  width: clamp(86px, 10vw, 136px);
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 22px 46px rgba(42, 52, 64, .22);
  mix-blend-mode: multiply;
}

.hero-book-01 {
  left: 12%;
  top: 18%;
  background-image: url("../images/home-hero-the-last-shift.jpg");
  background-image: image-set(
    url("../images/home-hero-the-last-shift.webp") type("image/webp"),
    url("../images/home-hero-the-last-shift.jpg") type("image/jpeg")
  );
  transform: rotate(-16deg);
}

.hero-book-02 {
  right: 18%;
  top: 8%;
  background-image: url("../images/home-hero-the-paradox-of-awareness.jpg");
  background-image: image-set(
    url("../images/home-hero-the-paradox-of-awareness.webp") type("image/webp"),
    url("../images/home-hero-the-paradox-of-awareness.jpg") type("image/jpeg")
  );
  transform: rotate(12deg);
}

.hero-book-03 {
  left: 24%;
  bottom: 9%;
  background-image: url("../images/home-hero-the-fiction-of-awareness.jpg");
  background-image: image-set(
    url("../images/home-hero-the-fiction-of-awareness.webp") type("image/webp"),
    url("../images/home-hero-the-fiction-of-awareness.jpg") type("image/jpeg")
  );
  transform: rotate(-6deg);
}

.hero-book-04 {
  right: 12%;
  bottom: 15%;
  background-image: url("../images/home-hero-the-end-of-interpretation.jpg");
  background-image: image-set(
    url("../images/home-hero-the-end-of-interpretation.webp") type("image/webp"),
    url("../images/home-hero-the-end-of-interpretation.jpg") type("image/jpeg")
  );
  transform: rotate(17deg);
}

.hero-book-05 {
  left: 50%;
  top: 49%;
  background-image: url("../images/home-hero-when-understanding-begins.jpg");
  background-image: image-set(
    url("../images/home-hero-when-understanding-begins.webp") type("image/webp"),
    url("../images/home-hero-when-understanding-begins.jpg") type("image/jpeg")
  );
  transform: translate(-50%, -50%) rotate(2deg);
}

.greyveil-logo-panel {
  background: transparent;
}

.greyveil-logo-panel .author-image {
  padding: clamp(10px, 2vw, 24px);
  object-fit: contain;
}

.premium-media-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 430px);
  aspect-ratio: 4 / 5;
  justify-self: start;
  overflow: hidden;
  border: 1px solid rgba(140, 106, 74, .28);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .58), rgba(231, 226, 218, .36)),
    radial-gradient(circle at 18% 12%, rgba(140, 106, 74, .12), transparent 32%);
  box-shadow: 0 24px 70px rgba(42, 52, 64, .14);
}

/* Posters (The Human Mind / The Human Paradox) are 1024x1536 = 2:3,
   not the 4:5 default tuned for photos — match it so there's no gap
   left for any background color to peek through. */
.premium-media-frame.series-art-frame {
  aspect-ratio: 2 / 3;
}

/* When the premium frame is wrapping a logo or poster art (not a photo),
   drop the tinted gradient, border and shadow so the artwork's own
   background shows cleanly with no card mat behind it. */
.premium-media-frame.greyveil-logo-panel,
.premium-media-frame.logo-archive,
.premium-media-frame.series-art-frame {
  background: transparent;
  border: none;
  box-shadow: none;
}

.premium-media-frame::after,
.rich-project-card .project-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, .08) 38%, rgba(255, 255, 255, .52) 48%, rgba(255, 255, 255, .08) 58%, transparent 100%);
  transform: translateX(-130%);
  animation: luxuryShine 5.8s ease-in-out infinite;
  pointer-events: none;
}

/* No shine sweep over logos or poster art either — it reads as a glare */
.premium-media-frame.greyveil-logo-panel::after,
.premium-media-frame.logo-archive::after,
.premium-media-frame.series-art-frame::after {
  display: none;
}

.premium-media-frame .author-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.premium-media-frame.greyveil-logo-panel .author-image,
.series-art-frame .author-image {
  padding: 6px;
  object-fit: contain;
}

.series-landing .project-hero {
  grid-template-columns: minmax(0, 1fr) minmax(210px, 320px);
  grid-template-areas:
    "lede art"
    "description art";
  align-items: center;
  gap: clamp(16px, 2.2vw, 28px) clamp(34px, 5vw, 76px);
  min-height: 0;
  padding-block: calc(var(--header-offset) + 14px) 36px;
  text-align: left;
}

.series-landing .series-hero-lede {
  grid-area: lede;
  width: 100%;
  max-width: 760px;
}

.series-landing .project-hero h1 {
  font-size: clamp(3rem, 5vw, 4.7rem);
  line-height: 1.04;
}

.series-landing .project-hero .hero-text {
  max-width: 640px;
  margin-top: 16px;
  margin-inline: 0;
  font-size: clamp(1rem, 1.12vw, 1.14rem);
  line-height: 1.54;
}

.series-landing .project-hero .button-row {
  justify-content: flex-start;
  margin-top: 22px;
}

.series-landing .project-hero .series-art-frame {
  grid-area: art;
  width: clamp(210px, 21vw, 310px);
  justify-self: center;
  align-self: center;
}

.series-landing .series-hero-description {
  grid-area: description;
  width: 100%;
  max-width: 720px;
  align-self: start;
}

.series-landing .series-hero-description .eyebrow {
  margin-bottom: 10px;
}

.series-landing .series-hero-description h2 {
  font-size: clamp(1.85rem, 2.7vw, 2.8rem);
  line-height: 1.04;
}

.series-landing .series-hero-description p:not(.eyebrow) {
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.58;
}

.series-landing #books {
  padding-block: 30px 78px;
}

.series-landing #books .section-heading {
  align-items: flex-start;
  margin-bottom: 22px;
}

.series-landing #books .section-heading h2 {
  font-size: clamp(2rem, 2.8vw, 3.1rem);
  line-height: 1.04;
}

.series-landing #books .book-grid {
  gap: 18px;
}

.about-feature {
  padding-block-start: var(--header-offset);
}

.section {
  padding-block: 90px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 780px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 6vw, 74px);
  align-items: center;
}

.portrait-placeholder,
.cover-placeholder {
  display: grid;
  place-items: center;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(140, 106, 74, .18);
  border-radius: 8px;
  background: transparent;
  color: rgba(42, 52, 64, .58);
  text-align: center;
}

.portrait-placeholder {
  align-self: center;
  width: min(100%, 430px);
  min-height: 0;
  max-height: 560px;
  aspect-ratio: 2 / 3;
  padding: 0;
}

.author-hero .portrait-placeholder + .copy {
  align-self: center;
  max-width: 760px;
}

.author-hero .portrait-placeholder + .copy h1 {
  max-width: 720px;
  font-size: clamp(2.75rem, 4.2vw, 4.6rem);
  line-height: 1.06;
}

.author-hero .portrait-placeholder + .copy .hero-text {
  max-width: 660px;
}

.portrait-placeholder span {
  display: block;
  color: var(--slate);
  font-family: var(--serif);
  font-size: 2.4rem;
}

.copy p:not(.eyebrow),
.project-card p,
.book-card p {
  color: rgba(58, 58, 58, .72);
}

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

.rich-project-grid {
  align-items: stretch;
}

/* When a grid only has two cards (e.g. the Reserved Archive card was
   removed), don't stretch them across a leftover 3-column track —
   center two comfortably-sized columns instead. */
.project-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  margin-inline: auto;
}

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 28px;
  border: 1px solid rgba(42, 52, 64, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .5);
  box-shadow: 0 14px 42px rgba(42, 52, 64, .08);
  transform-style: preserve-3d;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.project-card:hover {
  border-color: var(--bronze);
  box-shadow: var(--shadow);
  /* A more dramatic 3D perspective shift */
  transform: translateY(-12px) rotateX(4deg) rotateY(-2deg); 
  background: rgba(255, 255, 255, .85);
}


.project-card span,
.book-card span {
  color: var(--steel);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.project-card strong {
  width: fit-content;
  margin-top: auto;
  border: 1px solid rgba(140, 106, 74, .26);
  color: var(--bronze);
}

.rich-project-card {
  gap: 12px;
  padding: 18px;
}

.project-hierarchy,
.journey-path {
  display: grid;
  gap: 8px;
  margin: 4px 0 6px;
  color: rgba(42, 52, 64, .68);
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.35;
}

.project-hierarchy span,
.journey-path span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.project-hierarchy span + span::before,
.journey-path span + span::before {
  content: "→";
  flex: 0 0 auto;
  color: color-mix(in srgb, var(--accent, var(--bronze)) 58%, rgba(42, 52, 64, .32));
  font-weight: 700;
}

.project-hierarchy span:nth-child(2),
.journey-path span:nth-child(2) {
  color: var(--slate);
}

.journey-path {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(42, 52, 64, .1);
}

.journey-path.compact {
  margin-top: 16px;
}

.journey-status,
.book-position-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.journey-status p,
.book-position-grid p {
  display: grid;
  grid-template-columns: minmax(108px, .72fr) minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid rgba(42, 52, 64, .08);
}

.journey-status span,
.book-position-grid span {
  color: var(--steel);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.journey-status strong,
.book-position-grid strong {
  color: var(--slate);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.18;
}

.book-nav-card .button-row {
  gap: 10px;
  margin-top: 24px;
}

.book-nav-card .button {
  flex: 1 1 148px;
}

.rich-project-card .project-image-wrap {
  position: relative;
  width: 100%;
  /* Matches the real poster files (1024x1536 = 2:3) almost exactly,
     so object-fit: contain has no leftover gap to letterbox. */
  aspect-ratio: 2 / 3;
  overflow: hidden;
  margin-bottom: 8px;
  border: 1px solid rgba(140, 106, 74, .18);
  border-radius: 8px;
  background: transparent;
}

.rich-project-card .project-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 4px;
  object-fit: contain;
  transition: transform .55s ease;
}

.rich-project-card:hover .project-image-wrap img {
  transform: scale(1.04);
}

.paradox-theme {
  background:
    radial-gradient(circle at 18% 8%, rgba(140, 106, 74, .18), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(51, 78, 104, .16), transparent 32%),
    linear-gradient(145deg, #f6f4ef, #e2e5e1);
}

.paradox-hero {
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
}

.paradox-hero .reveal:last-child {
  display: block;
  justify-content: initial;
}

.coming-soon-badge {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 13px;
  border: 1px solid rgba(140, 106, 74, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
  color: var(--bronze);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.book-grid.compact {
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 16px;
}

/* Full-bleed tinted band so the "Human Mind Preview" section reads as
   its own moment, separate from the project grid right above it,
   without changing the page's structure or color palette. */
.preview-band {
  position: relative;
  z-index: 0;
  box-shadow: 0 0 0 100vmax rgba(140, 106, 74, .05);
  background: rgba(140, 106, 74, .05);
}

.preview-band .section-intro {
  max-width: 620px;
  margin: -14px 0 0;
  color: rgba(58, 58, 58, .68);
  font-size: 1rem;
}

.book-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(42, 52, 64, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 14px 42px rgba(42, 52, 64, .08);
  transition: transform .35s ease, box-shadow .35s ease;
}

.book-card::before {
  content: "";
  position: absolute;
  inset: auto 24px 0;
  height: 5px;
  border-radius: 8px 8px 0 0;
  background: var(--accent, var(--bronze));
}

.book-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.cover-slot {
  width: 100%;
  aspect-ratio: 2 / 3;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid rgba(140, 106, 74, .18);
  border-radius: 8px;
  background: transparent;
  color: rgba(42, 52, 64, .55);
}

.book-cover-image,
.author-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.series-book-cover {
  padding: 4px;
  object-fit: contain;
}

.cover-placeholder .book-cover-image {
  min-height: 620px;
}

.book-card h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.4em;
  margin: 8px 0;
  font-size: 1.6rem;
  line-height: 1.2;
}

.book-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.85em;
  margin: 0 0 24px;
  font-size: .92rem;
  line-height: 1.5;
}

.card-actions,
.book-card > a {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin-top: auto;
}

.card-actions a,
.card-actions .purchase-button,
.book-card > a {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid rgba(42, 52, 64, .14);
  color: var(--slate);
  font-size: .85rem;
}

.book-card > a {
  flex: 0 0 auto;
}

.accent-amber { --accent: #c18a3d; }
.accent-blue { --accent: #357fc5; }
.accent-lavender { --accent: #a59cb6; }
.accent-emerald { --accent: #2f8a68; }
.accent-gold { --accent: #d7c682; }

.human-mind-book {
  --book-atmosphere: rgba(144, 175, 197, .18);
  --book-atmosphere-strong: rgba(140, 106, 74, .14);
  --book-ink: var(--indigo);
  background:
    radial-gradient(circle at 18% 18%, var(--book-atmosphere-strong), transparent 31%),
    radial-gradient(circle at 86% 12%, var(--book-atmosphere), transparent 28%),
    linear-gradient(145deg, #f8f7f4, #dfe8e9);
}

.hm-book-01 {
  --book-atmosphere: rgba(193, 138, 61, .18);
  --book-atmosphere-strong: rgba(140, 106, 74, .18);
}

.hm-book-02 {
  --book-atmosphere: rgba(53, 127, 197, .18);
  --book-atmosphere-strong: rgba(51, 78, 104, .16);
}

.hm-book-03 {
  --book-atmosphere: rgba(165, 156, 182, .2);
  --book-atmosphere-strong: rgba(144, 175, 197, .15);
}

.hm-book-04 {
  --book-atmosphere: rgba(47, 138, 104, .18);
  --book-atmosphere-strong: rgba(108, 154, 139, .18);
}

.hm-book-05 {
  --book-atmosphere: rgba(215, 198, 130, .22);
  --book-atmosphere-strong: rgba(193, 138, 61, .14);
}

.human-mind-book .book-hero {
  gap: clamp(38px, 6vw, 84px);
}

.human-mind-book .cover-placeholder {
  border-color: color-mix(in srgb, var(--accent) 32%, rgba(42, 52, 64, .12));
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .38), rgba(255, 255, 255, .08)),
    radial-gradient(circle at 50% 10%, var(--book-atmosphere), transparent 54%);
  box-shadow: 0 28px 78px rgba(42, 52, 64, .16);
}

.human-mind-book .eyebrow {
  color: var(--accent);
}

.human-mind-book h1 {
  color: var(--book-ink);
  text-shadow: 0 10px 30px rgba(42, 52, 64, .08);
}

.human-mind-book .hero-text {
  max-width: 620px;
  color: rgba(42, 52, 64, .78);
  font-weight: 500;
}

.human-mind-book .button.primary {
  border-color: color-mix(in srgb, var(--accent) 46%, rgba(42, 52, 64, .12));
  background: color-mix(in srgb, var(--accent) 18%, rgba(255, 255, 255, .56));
  color: var(--slate);
}

.human-mind-book .detail-body {
  gap: clamp(42px, 6vw, 78px);
}

.human-mind-book details {
  border-top-color: color-mix(in srgb, var(--accent) 24%, rgba(42, 52, 64, .14));
}

.human-mind-book summary {
  color: color-mix(in srgb, var(--accent) 36%, var(--slate));
}

.human-mind-book blockquote {
  color: color-mix(in srgb, var(--accent) 72%, var(--bronze));
}

.human-mind-book .reflection-card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 40px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .68), rgba(255, 255, 255, .34)),
    radial-gradient(circle at 100% 0, var(--book-atmosphere), transparent 52%);
}

.human-mind-book .reflection-card::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 0;
  width: 1px;
  background: color-mix(in srgb, var(--accent) 36%, rgba(42, 52, 64, .1));
}

.human-mind-book .reflection-card h2 {
  max-width: 12ch;
  margin-bottom: 24px;
}

.human-mind-book .reflection-prompts {
  display: grid;
  gap: 18px;
}

.human-mind-book .contact-card .reflection-prompts p {
  margin: 0;
  color: rgba(42, 52, 64, .76);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.28;
}

.quote-section {
  display: grid;
  min-height: 48vh;
  place-items: center;
  text-align: center;
}

.quote-section p,
blockquote {
  max-width: 980px;
  margin: 0;
  color: var(--slate);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 6rem);
  line-height: 1;
}

.word-line span {
  opacity: .18;
  transition: opacity .7s ease, color .7s ease;
}

.word-line span.visible {
  color: var(--bronze);
  opacity: 1;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.contact-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid rgba(42, 52, 64, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .52);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

main > .home-hero + .quote-section {
  min-height: clamp(260px, 32vh, 380px);
  padding-block: clamp(48px, 6vw, 74px);
  overflow-x: clip;
}

main > .home-hero ~ .section {
  overflow-x: clip;
}

main > .home-hero + .quote-section + .section {
  padding-block: clamp(52px, 6vw, 76px);
}

main > .home-hero + .quote-section + .section + .section {
  padding-block: clamp(38px, 5vw, 62px) clamp(66px, 7vw, 90px);
}

main > .home-hero ~ .section .section-heading {
  margin-bottom: 18px;
}

main > .home-hero ~ .section .section-intro {
  max-width: 720px;
  margin: 0 0 28px;
}

main > .home-hero ~ .section .rich-project-grid {
  gap: clamp(18px, 2.2vw, 26px);
  max-width: 1120px;
  margin-inline: auto;
}

main > .home-hero ~ .section .button-row {
  margin-top: 28px;
}

main > .home-hero ~ .section .contact-panel {
  gap: clamp(18px, 2.2vw, 28px);
}

main > .home-hero ~ .section .contact-card {
  display: flex;
  flex-direction: column;
}

main > .home-hero ~ .section .contact-card .contact-actions {
  margin-top: 0;
}

main > .home-hero ~ .section .contact-link {
  overflow-wrap: anywhere;
}

.feedback-layout {
  display: grid;
  place-items: center;
  padding-block: 8px 54px;
}

.feedback-form {
  width: min(100%, 720px);
  padding: 26px;
}

.feedback-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--slate);
  font-weight: 700;
}

.feedback-form input,
.feedback-form textarea,
.feedback-form select {
  width: 100%;
  border: 1px solid rgba(42, 52, 64, .16);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .72);
  color: var(--charcoal);
  font: inherit;
}

.feedback-form input:focus-visible,
.feedback-form textarea:focus-visible,
.feedback-form select:focus-visible {
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px rgba(140, 106, 74, .18);
}

.feedback-form textarea {
  resize: vertical;
}

.feedback-form button:disabled {
  cursor: wait;
  opacity: .72;
}

.form-status {
  min-height: 1.7em;
  margin: 16px 0 0;
  color: var(--steel);
  font-weight: 700;
}

.form-status[data-status="error"] {
  color: #8c4f4a;
}

.form-status[data-status="success"] {
  color: var(--teal);
}

.auth-hero {
  min-height: 46svh;
  padding-block: calc(var(--header-offset) + 36px) 18px;
}

.auth-card {
  width: min(100%, 560px);
}

.auth-card h2 {
  margin: 0;
  color: var(--slate);
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.auth-card .button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.auth-form-actions {
  align-items: center;
  margin-top: 6px;
}

.auth-form-actions .hero-link {
  margin-top: 0;
}

.auth-forgot-link {
  display: block;
  width: fit-content;
  margin: -10px 0 18px auto;
  color: rgba(42, 52, 64, .68);
  font-size: .84rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(140, 106, 74, .38);
  text-underline-offset: 4px;
}

.auth-forgot-link:hover {
  color: var(--slate);
  text-decoration-color: var(--bronze);
}

.auth-state-card {
  display: grid;
  gap: 14px;
}

.auth-state-card p {
  margin: 0;
  color: rgba(42, 52, 64, .72);
  line-height: 1.6;
}

.auth-state-card .form-status {
  margin-top: 0;
}

.auth-field-note {
  margin: -8px 0 16px;
  color: rgba(42, 52, 64, .62);
  font-size: .82rem;
  font-weight: 650;
}

.account-details {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.account-detail {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(42, 52, 64, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .44);
}

.account-detail strong {
  color: var(--slate);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.account-detail span {
  overflow-wrap: anywhere;
}

.account-library {
  padding-block-start: 18px;
}

.account-library .section-heading {
  align-items: flex-start;
}

.account-library .section-heading p:not(.eyebrow) {
  max-width: 58ch;
  margin: 10px 0 0;
  color: rgba(58, 58, 58, .7);
}

.account-library-refresh {
  flex: 0 0 auto;
  margin-top: 8px;
}

.account-library-refresh:disabled {
  cursor: wait;
  opacity: .62;
  transform: none;
}

.account-library-status {
  margin: -12px 0 20px;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 20px;
  align-items: start;
}

.library-card {
  display: grid;
  grid-template-columns: minmax(132px, 190px) minmax(0, 1fr);
  min-width: 0;
  max-width: 680px;
  overflow: hidden;
  border: 1px solid rgba(42, 52, 64, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .54);
  box-shadow: 0 16px 44px rgba(42, 52, 64, .08);
}

.library-card__cover {
  position: relative;
  align-self: start;
  width: min(100%, 190px);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  margin: 0;
  background:
    linear-gradient(145deg, rgba(140, 106, 74, .18), rgba(108, 154, 139, .12)),
    rgba(255, 255, 255, .48);
}

.library-card__cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.library-card--no-cover .library-card__cover::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: rgba(42, 52, 64, .62);
  content: "Greyveil Editions";
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1.05;
  text-align: center;
}

.library-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.library-card__body h3 {
  margin: 0;
  color: var(--slate);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2vw, 1.95rem);
  line-height: 1.05;
}

.library-card__meta {
  display: grid;
  gap: 6px;
  margin: 0;
  color: rgba(58, 58, 58, .72);
  font-size: .92rem;
}

.library-card__meta span,
.library-card__access span {
  display: block;
}

.library-card__access {
  display: grid;
  gap: 5px;
  margin: auto 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(42, 52, 64, .09);
}

.library-card__access strong {
  color: var(--bronze);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.library-card__access span {
  color: rgba(42, 52, 64, .7);
  font-weight: 700;
}

.library-card .button {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.library-empty {
  max-width: 680px;
  padding: 28px;
  border: 1px dashed rgba(42, 52, 64, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .38);
}

.library-empty h3 {
  margin: 0;
  color: var(--slate);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.library-empty p {
  margin: 10px 0 0;
  color: rgba(58, 58, 58, .7);
}

.account-payments {
  padding-block-start: 18px;
}

.account-payments .section-heading {
  align-items: flex-start;
}

.account-payments .section-heading p:not(.eyebrow) {
  max-width: 58ch;
  margin: 10px 0 0;
  color: rgba(58, 58, 58, .7);
}

.account-payments-status {
  margin: -12px 0 20px;
}

.payment-history-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

.payment-history-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 20px;
  padding: 16px 18px;
  border: 1px solid rgba(42, 52, 64, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .5);
  box-shadow: 0 12px 30px rgba(42, 52, 64, .05);
}

.payment-history-card__heading {
  min-width: 0;
  display: contents;
}

.payment-history-card__heading h3 {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--slate);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.05;
}

.payment-history-card__amount {
  display: grid;
  justify-items: end;
  gap: 3px;
  color: var(--slate);
  font-size: .8rem;
  font-weight: 750;
  text-align: right;
  white-space: nowrap;
}

.payment-history-card__amount strong {
  font-size: .98rem;
}

.payment-history-card__meta,
.payment-history-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: rgba(42, 52, 64, .64);
  font-size: .84rem;
  font-weight: 700;
}

.payment-history-card__footer {
  grid-column: 1 / -1;
  padding-top: 9px;
  border-top: 1px solid rgba(42, 52, 64, .08);
}

.payment-history-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(140, 106, 74, .1);
  color: var(--bronze);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.payment-history-status--paid {
  background: rgba(108, 154, 139, .14);
  color: #2f5f61;
}

.payment-history-status--failed,
.payment-history-status--cancelled {
  background: rgba(140, 79, 74, .12);
  color: #79413e;
}

.instagram-icon {
  width: 18px;
  height: 18px;
  margin-right: 9px;
  vertical-align: -4px;
}

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

.credit-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(42, 52, 64, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .52);
  box-shadow: 0 14px 42px rgba(42, 52, 64, .08);
  transition: transform .35s ease, box-shadow .35s ease;
}

.credit-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.credit-image-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(42, 52, 64, .08), rgba(255, 255, 255, .42));
}

.credit-initials {
  display: grid;
  place-items: center;
  color: rgba(42, 52, 64, .72);
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 6.5rem);
  font-weight: 700;
  background:
    radial-gradient(circle at 30% 18%, rgba(140, 106, 74, .18), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .58), rgba(231, 226, 218, .72));
}

.credit-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.credit-card:hover .credit-image-wrap img {
  transform: scale(1.05);
}

.credit-role {
  margin: 8px 0 10px;
  color: var(--bronze);
  font-weight: 700;
}

.credit-responsibilities {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(58, 58, 58, .72);
  font-size: .92rem;
  line-height: 1.45;
}

.credit-responsibilities li {
  position: relative;
  padding-left: 16px;
}

.credit-responsibilities li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--bronze);
  opacity: .72;
}

.credit-note {
  max-width: 900px;
  margin: 54px auto 0;
  color: var(--slate);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  line-height: 1.08;
  text-align: center;
}

.book-detail {
  padding-block: 135px 80px;
}

.human-mind-series-book .book-detail {
  padding-block: var(--header-offset) 64px;
}

.human-mind-series-book .book-hero {
  align-items: start;
  min-height: 0;
  padding-block: 0 48px;
}

.human-mind-series-book .cover-placeholder {
  align-self: start;
  justify-self: start;
  width: min(100%, clamp(340px, 54svh, 413px));
  min-height: 0;
  max-height: min(620px, calc(100svh - var(--header-offset) - 20px));
  aspect-ratio: 2 / 3;
}

.human-mind-series-book .cover-placeholder .book-cover-image {
  min-height: 0;
  height: 100%;
  object-fit: contain;
}

/* Human Fiction: centered reflective text block for the long-form
   philosophical paragraphs. Reuses .copy's existing paragraph color. */
.reflective-copy {
  max-width: 700px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.reflective-copy p {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.75;
}

/* Theme tag list */
.theme-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.theme-tag {
  padding: 9px 16px;
  border: 1px solid rgba(140, 106, 74, .28);
  border-radius: 999px;
  color: var(--steel);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Closing lede above the final quote-section question */
.quote-section p.closing-lede {
  max-width: 720px;
  margin: 0 auto 28px;
  color: rgba(58, 58, 58, .68);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.7;
}

.detail-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px;
  padding-block: 80px;
}

details {
  padding: 18px 0;
  border-top: 1px solid rgba(42, 52, 64, .16);
}

summary {
  color: var(--slate);
  cursor: pointer;
  font-weight: 700;
}

blockquote {
  color: var(--bronze);
  font-size: clamp(2rem, 4vw, 4rem);
}

.policy-page {
  background:
    linear-gradient(135deg, rgba(248, 247, 244, .96), rgba(231, 226, 218, .86)),
    linear-gradient(180deg, rgba(51, 78, 104, .08), rgba(140, 106, 74, .08));
}

.policy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: 74svh;
  padding-block: var(--header-offset) 58px;
}

.policy-hero__copy {
  max-width: 760px;
}

.policy-hero h1 {
  max-width: 840px;
  color: var(--slate);
  font-size: clamp(3rem, 6vw, 5.55rem);
}

.policy-hero .hero-text {
  max-width: 760px;
  color: rgba(42, 52, 64, .76);
}

.policy-download {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(42, 52, 64, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .44);
  box-shadow: 0 22px 54px rgba(42, 52, 64, .11);
}

.policy-download h2 {
  margin: 0;
  color: var(--indigo);
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  line-height: 1.02;
}

.policy-download p {
  margin: 0;
  color: rgba(42, 52, 64, .68);
  font-size: .96rem;
}

.policy-download .button {
  width: 100%;
}

.policy-file-meta {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
}

.policy-file-meta div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(42, 52, 64, .1);
}

.policy-file-meta dt,
.policy-file-meta dd {
  margin: 0;
  font-size: .78rem;
}

.policy-file-meta dt {
  color: rgba(42, 52, 64, .58);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.policy-file-meta dd {
  color: var(--slate);
  font-weight: 700;
  text-align: right;
}

.policy-shell {
  padding-block: 22px 86px;
}

.policy-article {
  max-width: 880px;
  margin-inline: auto;
  color: rgba(42, 52, 64, .82);
}

.policy-version {
  margin: 0 0 26px;
  color: var(--bronze);
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.policy-section {
  padding-block: 28px;
  border-top: 1px solid rgba(42, 52, 64, .13);
}

.policy-section h2 {
  max-width: 720px;
  margin: 0 0 16px;
  color: var(--indigo);
  font-size: clamp(1.9rem, 3vw, 2.85rem);
  line-height: 1.04;
}

.policy-section p {
  max-width: 780px;
  margin: 0;
  color: rgba(42, 52, 64, .78);
  font-size: 1.02rem;
}

.policy-section p + p,
.policy-section ul + p,
.policy-section p + ul {
  margin-top: 15px;
}

.policy-section ul {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin: 16px 0 0;
  padding-left: 22px;
}

.policy-section li {
  padding-left: 4px;
}

.policy-section a {
  color: var(--indigo);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(140, 106, 74, .45);
  text-underline-offset: 4px;
}

.site-footer {
  width: var(--page);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-inline: auto;
  padding: 28px 0 42px;
  border-top: 1px solid rgba(42, 52, 64, .14);
  color: rgba(42, 52, 64, .68);
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* Rich, structured footer (brand blurb + Site nav + Connect nav +
   bottom copyright bar). Scoped to .site-footer--rich so the simple
   single-row footer on other pages is left untouched. */
.site-footer--rich {
  width: 100%;
  margin-inline: 0;
  padding: 0;
  border-top: 1px solid rgba(42, 52, 64, .14);
}

.site-footer--rich .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-block: 56px 36px;
}

.footer-brand-name {
  margin: 0 0 12px;
  color: var(--slate);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-brand p:not(.footer-brand-name) {
  max-width: 360px;
  color: rgba(42, 52, 64, .64);
  font-size: .92rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col h3 {
  margin: 0 0 6px;
  color: var(--bronze);
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-col a {
  color: rgba(42, 52, 64, .72);
  font-size: .92rem;
  transition: color .25s ease;
}

.footer-col a:hover {
  color: var(--bronze);
}

.site-footer--rich .footer-bottom {
  display: flex;
  justify-content: center;
  padding: 18px 0 32px;
  border-top: 1px solid rgba(42, 52, 64, .1);
  color: rgba(42, 52, 64, .58);
  font-size: .82rem;
  text-align: center;
}

@media (max-width: 1040px) {
  .site-footer--rich .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-footer--rich .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .16s; }
.delay-2 { transition-delay: .3s; }

@keyframes float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4vw, -3vh, 0) scale(1.08); }
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes collectionStackFloat {
  0%, 100% {
    transform: translate(-50%, -48%) perspective(1200px) rotateX(58deg) rotateZ(-8deg);
  }
  50% {
    transform: translate(-50%, -51%) perspective(1200px) rotateX(58deg) rotateZ(-6deg);
  }
}

@keyframes luxuryShine {
  0%, 58% { transform: translateX(-130%); }
  78%, 100% { transform: translateX(130%); }
}

@media (max-width: 1180px) {
  .book-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 1040px) {
  :root {
    --page: min(100% - 32px, 1180px);
    --header-offset: 132px;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    box-sizing: border-box;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    max-height: calc(100svh - 96px);
    overflow-x: clip;
    overflow-y: auto;
    padding: 16px;
    border-radius: 8px;
    background: rgb(248, 247, 244);
    box-shadow: var(--shadow);
  }

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

  .site-nav a,
  .site-nav .dropdown-trigger,
  .auth-nav,
  .auth-nav__login,
  .auth-menu,
  .auth-menu > summary {
    width: 100%;
    min-width: 0;
    text-align: left;
  }

  .auth-nav__login,
  .auth-menu > summary {
    max-width: none;
    border-radius: 6px;
  }

  .auth-menu__panel {
    position: static;
    margin-top: 8px;
    box-shadow: none;
  }

  .dropdown {
    width: 100%;
    min-width: 0;
  }

  .dropdown-menu {
    position: static;
    display: grid;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 8px 0 0 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .dropdown-menu .dropdown-series {
    padding-left: 28px;
  }

  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu {
    transform: none;
  }

  .hero,
  .author-hero,
  .paradox-hero,
  .book-hero,
  .about-layout,
  .detail-body,
  .contact-panel,
  .founder-profile-grid,
  .founder-statement-grid {
    grid-template-columns: 1fr;
  }

  .founder-hero {
    width: min(1180px, calc(100% - 64px));
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: 0;
    align-items: start;
  }

  .hero.founder-hero,
  .hero.founder-hero .founder-copy-block {
    text-align: left;
  }

  .founder-portrait-block {
    justify-self: start;
    width: 100%;
  }

  .founder-portrait-panel {
    justify-self: start;
    width: min(100%, 380px);
  }

  .founder-copy-block {
    justify-self: start;
    max-width: 620px;
    margin-top: 0;
  }

  .founder-copy-block h1 {
    max-width: 10.4ch;
    font-size: clamp(2.95rem, 7.2vw, 3.85rem);
  }

  .founder-copy-block .hero-text {
    max-width: 620px;
  }

  .hero.founder-hero .founder-portrait-panel {
    width: min(100%, 380px);
  }

  .hero {
    gap: 40px;
    text-align: center;
  }

  .hero .reveal:last-child {
    justify-content: center;
  }

  .author-hero .portrait-placeholder {
    justify-self: center;
  }

  .premium-media-frame {
    justify-self: center;
  }

  .author-hero .copy {
    align-items: center;
    text-align: center;
  }

  .hero .portrait-placeholder + .copy {
    align-items: center;
    width: min(100%, 720px);
    max-width: 720px;
    text-align: center;
  }

  .hero .button-row,
  .project-hero .button-row {
    justify-content: center;
  }

  .author-hero .entity-links {
    justify-content: center;
  }

  .founder-hero .entity-links {
    justify-content: flex-start;
  }

  .collection-book-stack {
    width: min(760px, 96vw);
    height: 360px;
    opacity: .1;
    filter: blur(1.8px);
  }

  .stack-cover {
    width: clamp(118px, 20vw, 190px);
  }

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

  main > .home-hero + .quote-section {
    min-height: auto;
    padding-block: 52px;
  }

  main > .home-hero + .quote-section + .section {
    padding-block: 48px 58px;
  }

  main > .home-hero + .quote-section + .section + .section {
    padding-block: 34px 66px;
  }

  main > .home-hero ~ .section .section-intro {
    margin-bottom: 24px;
  }

  main > .home-hero ~ .section .rich-project-grid {
    gap: 20px;
    max-width: 800px;
  }

  main > .home-hero ~ .section .rich-project-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 390px);
  }

  main > .home-hero ~ .section .contact-panel {
    gap: 18px;
  }

  .section-heading,
  .site-footer {
    display: block;
  }

  .human-mind-series-book .book-detail {
    padding-block: var(--header-offset) 58px;
  }

  .human-mind-series-book .book-hero {
    min-height: 0;
    gap: 34px;
    padding-block: 0 42px;
  }

  .human-mind-series-book .cover-placeholder {
    justify-self: center;
    width: min(100%, 430px);
    min-height: 0;
    aspect-ratio: 2 / 3;
  }

  .human-mind-series-book .cover-placeholder .book-cover-image {
    min-height: 0;
    height: 100%;
  }

  .human-mind-series-book .detail-body {
    gap: 28px;
    padding-block: 54px;
  }

  .human-mind-series-book .contact-panel {
    gap: 18px;
  }
}

@media (min-width: 901px) and (max-width: 1040px) {
  .founder-hero {
    width: min(1180px, calc(100% - 80px));
    margin-top: calc(var(--header-offset) - 8px);
    grid-template-columns: minmax(360px, .4fr) minmax(0, .6fr);
    align-items: start;
    gap: clamp(42px, 5vw, 58px);
    min-height: 0;
    padding-block: 0 48px;
    text-align: left;
  }

  .hero.founder-hero .founder-portrait-panel {
    width: min(100%, 360px);
  }

  .founder-copy-block h1 {
    font-size: clamp(2.95rem, 4.7vw, 3.35rem);
  }

  .founder-copy-block {
    max-width: 540px;
    margin-top: clamp(48px, 6vw, 62px);
  }

  .founder-copy-block .hero-text {
    max-width: 36ch;
  }

  .founder-hero .entity-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .founder-hero .entity-links span {
    display: none;
  }

  .human-mind-series-book .book-hero {
    grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
    gap: 42px;
  }

  .human-mind-series-book .cover-placeholder {
    justify-self: start;
    width: min(100%, clamp(320px, 48svh, 380px));
    max-height: min(570px, calc(100svh - var(--header-offset) - 20px));
  }
}

@media (min-width: 720px) and (max-width: 900px) {
  .founder-hero {
    width: min(1180px, calc(100% - 64px));
    margin-top: calc(var(--header-offset) - 8px);
    grid-template-columns: 1fr;
    align-items: start;
    gap: 30px;
    min-height: 0;
    padding-block: 0 46px;
  }

  .hero.founder-hero .founder-portrait-panel {
    width: min(100%, 380px);
  }

  .founder-copy-block h1 {
    font-size: clamp(3rem, 7vw, 3.8rem);
  }

  .founder-copy-block {
    max-width: 620px;
    margin-top: 0;
  }

  .founder-copy-block .hero-text {
    max-width: 38ch;
    font-size: clamp(1.08rem, 2vw, 1.18rem);
  }

  .founder-hero .entity-links {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px 28px;
  }

  .founder-hero .entity-links span {
    display: none;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .feedback-hero {
    padding-block: calc(var(--header-offset) - 18px) 12px;
  }

  .feedback-hero h1 {
    font-size: clamp(1.9rem, 4vw, 2.3rem);
  }

  .feedback-hero .hero-text {
    margin-top: 8px;
    font-size: 1rem;
    line-height: 1.42;
  }

  .feedback-layout {
    padding-block: 6px 44px;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .home-hero-art {
    display: grid;
    width: min(100%, 460px);
    min-height: min(68vw, 430px);
    overflow: clip;
    place-items: center;
    justify-self: center;
  }

  .home-hero .logo-archive {
    width: min(54vw, 380px);
    aspect-ratio: 1;
    overflow: visible;
  }

  .home-hero .book-cover-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
  }

  .home-hero .hero-book-composition {
    width: min(72vw, 460px);
    height: min(68vw, 430px);
    opacity: .14;
    transform: translate(-50%, -50%) rotate(-2deg);
  }
}

@media (max-width: 900px) {
  .series-landing .project-hero {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 220px);
    grid-template-areas:
      "lede art"
      "description art";
    gap: 18px clamp(24px, 5vw, 42px);
    padding-block: var(--header-offset) 28px;
    place-items: center stretch;
    text-align: left;
  }

  .series-landing .series-hero-lede,
  .series-landing .series-hero-description {
    max-width: 700px;
  }

  .series-landing .project-hero .hero-text {
    margin-inline: 0;
  }

  .series-landing .project-hero .button-row {
    justify-content: flex-start;
  }

  .series-landing .project-hero .series-art-frame {
    width: clamp(160px, 24vw, 220px);
  }

  .series-landing .series-hero-description {
    text-align: left;
  }

  .series-landing #books {
    padding-block: 28px 68px;
  }

  .series-landing #books .section-heading {
    margin-bottom: 18px;
  }
}

@media (max-width: 640px) {
  .series-landing .project-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "lede"
      "art"
      "description";
    gap: 12px;
    min-height: 0;
    padding-block: calc(var(--header-offset) - 30px) 12px;
    place-items: center;
    text-align: center;
  }

  .series-landing .project-hero .hero-text {
    margin: 12px auto 0;
    font-size: 1rem;
    line-height: 1.48;
  }

  .series-landing .project-hero .button-row {
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
  }

  .series-landing .project-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.05rem);
    line-height: 1.03;
  }

  .series-landing .project-hero .button {
    flex: 1 1 142px;
    width: auto;
    padding-inline: 12px;
  }

  .series-landing .project-hero .series-art-frame {
    width: min(82vw, 340px);
    max-width: 100%;
  }

  .series-landing .series-art-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .series-landing .project-hero .series-art-frame .author-image {
    padding: 3px;
  }

  .series-landing .series-hero-description .eyebrow {
    margin-bottom: 8px;
  }

  .series-landing .series-hero-description h2 {
    font-size: clamp(1.68rem, 7.4vw, 2.12rem);
    line-height: 1.04;
  }

  .series-landing .series-hero-description p:not(.eyebrow) {
    margin-top: 10px;
    font-size: .94rem;
    line-height: 1.5;
  }

  .series-landing #books {
    padding-block: 14px 48px;
  }

  .series-landing #books .section-heading {
    margin-bottom: 14px;
  }

  .series-landing #books .section-heading h2 {
    font-size: clamp(1.9rem, 8vw, 2.35rem);
  }

  .series-landing #books .book-grid {
    gap: 16px;
  }
}

@media (min-width: 901px) {
  .home-hero {
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
    align-items: center;
    gap: clamp(42px, 5vw, 84px);
    min-height: clamp(620px, 76svh, 760px);
    padding-block: calc(var(--header-offset) + 18px) 56px;
    padding-inline: max(36px, calc((100vw - 1360px) / 2));
    text-align: left;
  }

  .home-hero::before {
    inset: 28px 0 26px;
    border-radius: 0;
  }

  .home-hero > .reveal:first-child {
    justify-self: end;
    width: min(100%, 680px);
  }

  .home-hero h1 {
    max-width: 12.5ch;
    font-size: clamp(3.2rem, 4.8vw, 5.05rem);
    line-height: 1.04;
  }

  .home-hero .hero-text {
    max-width: 610px;
    margin-top: 22px;
    font-size: clamp(1.02rem, 1.12vw, 1.18rem);
  }

  .home-hero .button-row {
    justify-content: flex-start;
    margin-top: 28px;
  }

  .home-hero .hero-link {
    margin-top: 14px;
  }

  .home-hero .reveal:last-child {
    align-items: center;
    justify-content: center;
  }

  .home-hero-art {
    display: grid;
    min-height: clamp(400px, 38vw, 560px);
    place-items: center;
  }

  .home-hero .logo-archive {
    width: clamp(300px, 27vw, 410px);
    aspect-ratio: 1;
    overflow: visible;
  }

  .home-hero .logo-archive .book-cover-image {
    opacity: .9;
    filter: saturate(.84) contrast(.96);
    -webkit-mask-image: radial-gradient(ellipse 88% 92% at 50% 48%, #000 78%, rgba(0, 0, 0, .82) 90%, transparent 100%);
    mask-image: radial-gradient(ellipse 88% 92% at 50% 48%, #000 78%, rgba(0, 0, 0, .82) 90%, transparent 100%);
  }

  .home-hero .hero-book-composition {
    width: clamp(420px, 38vw, 620px);
    height: clamp(400px, 36vw, 590px);
    opacity: .2;
    transform: translate(-50%, -50%) rotate(-3deg);
  }
}

@media (max-width: 640px) {
  :root {
    --page: min(100% - 28px, 1180px);
    --header-offset: 124px;
  }

  .ambient-field span,
  .neural-field span {
    width: 30vw;
  }

  .ambient-field span:nth-child(1) {
    left: 0;
  }

  .site-header {
    top: 10px;
    max-width: calc(100vw - 20px);
  }

  .home-hero {
    min-height: auto;
    gap: 24px;
    padding-block: calc(var(--header-offset) - 38px) 34px;
  }

  .home-hero::before {
    inset: 18px -8px 20px;
  }

  .home-hero::after {
    display: none;
  }

  .home-hero .reveal.home-hero-art {
    order: -1;
    display: grid;
    width: min(100%, 390px);
    min-height: min(92vw, 380px);
    overflow: clip;
    place-items: center;
    justify-self: center;
  }

  .home-hero .hero-text {
    margin-top: 14px;
  }

  .home-hero .button-row {
    margin-top: 18px;
  }

  .home-hero .hero-link {
    margin-top: 10px;
  }

  .home-hero .logo-archive {
    width: min(88vw, 360px);
    height: auto;
    max-width: none;
    aspect-ratio: 1;
    overflow: visible;
  }

  .home-hero .book-cover-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    object-fit: contain;
    visibility: visible;
    opacity: 1;
  }

  .home-hero .hero-book-composition {
    display: block;
    width: min(105vw, 400px);
    height: min(94vw, 380px);
    opacity: .12;
    transform: translate(-50%, -50%) rotate(-3deg);
  }

  .home-hero .hero-book {
    width: clamp(68px, 22vw, 102px);
    box-shadow: 0 16px 34px rgba(42, 52, 64, .18);
  }

  .home-hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.15rem);
    line-height: 1.02;
  }

  h2 {
    font-size: 2.45rem;
  }

  .about-feature {
    gap: 20px;
    padding-block: calc(var(--header-offset) - 38px) 28px;
  }

  .about-feature h1 {
    font-size: clamp(2.4rem, 10vw, 3.4rem);
    line-height: 1.04;
  }

  .about-feature .copy p:not(.eyebrow) {
    max-width: 32ch;
    margin-block: 10px 0;
    line-height: 1.6;
  }

  .about-feature .greyveil-logo-panel {
    position: relative;
    width: min(82vw, 330px);
    aspect-ratio: 1;
    overflow: visible;
    isolation: isolate;
    margin-inline: auto;
  }

  .about-feature .greyveil-logo-panel::before {
    content: "";
    position: absolute;
    inset: 8% -7% -6% 9%;
    z-index: -1;
    border: 1px solid rgba(140, 106, 74, .16);
    border-radius: 8px;
    background:
      radial-gradient(circle at 24% 18%, rgba(140, 106, 74, .14), transparent 38%),
      linear-gradient(145deg, rgba(255, 255, 255, .38), rgba(231, 226, 218, .28));
    box-shadow: 0 18px 42px rgba(42, 52, 64, .1);
    transform: rotate(-4deg);
  }

  .about-feature img {
    position: relative;
    z-index: 1;
    padding: clamp(8px, 3vw, 16px);
  }

  .about-layout:not(.about-feature) {
    gap: 26px;
    padding-block: 42px 58px;
  }

  .projects-collection-hero {
    min-height: 0;
    padding-block: calc(var(--header-offset) - 16px) 34px;
  }

  .projects-collection-hero h1 {
    font-size: clamp(2.5rem, 11vw, 3.25rem);
    line-height: 1.03;
  }

  .projects-collection-hero .hero-text {
    max-width: 34ch;
    margin-top: 12px;
    font-size: 1rem;
    line-height: 1.46;
  }

  .projects-collection-hero .collection-book-stack {
    display: block;
    top: 56%;
    width: min(460px, 118vw);
    height: 220px;
    opacity: .075;
    filter: blur(1.8px);
  }

  .projects-collection-hero + .section {
    padding-block: 28px 50px;
  }

  .projects-collection-hero + .section .section-heading h2 {
    font-size: clamp(2.05rem, 9vw, 2.65rem);
  }

  main > .project-hero:not(.projects-collection-hero):not(.feedback-hero):not(.series-landing-hero) {
    min-height: 0;
    gap: 10px;
    padding-block: calc(var(--header-offset) - 24px) 18px;
  }

  main > .project-hero:not(.projects-collection-hero):not(.feedback-hero):not(.series-landing-hero) h1 {
    font-size: clamp(2.25rem, 9.6vw, 3rem);
    line-height: 1.04;
  }

  main > .project-hero:not(.projects-collection-hero):not(.feedback-hero):not(.series-landing-hero) .hero-text {
    max-width: 34ch;
    margin-top: 10px;
    font-size: 1rem;
    line-height: 1.45;
  }

  main > .project-hero:not(.projects-collection-hero):not(.feedback-hero):not(.series-landing-hero) + .section {
    padding-block: 18px 52px;
  }

  .feedback-hero {
    padding-block: calc(var(--header-offset) - 36px) 8px;
  }

  .feedback-hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.25rem);
    line-height: 1.06;
  }

  .feedback-hero .eyebrow {
    margin-bottom: 8px;
  }

  .feedback-hero .hero-text {
    font-size: .98rem;
    line-height: 1.4;
  }

  .feedback-layout {
    padding-block: 8px 44px;
  }

  .feedback-form {
    padding: 22px;
  }

  .feedback-form input,
  .feedback-form textarea,
  .feedback-form select,
  .feedback-form button {
    width: 100%;
  }

  .feedback-form input,
  .feedback-form select,
  .feedback-form button {
    min-height: 48px;
  }

  .project-grid,
  .book-grid,
  .book-grid.compact,
  .credits-grid,
  .profile-book-list {
    grid-template-columns: 1fr;
  }

  main > .home-hero + .quote-section {
    padding-block: 34px 30px;
  }

  main > .home-hero + .quote-section + .section {
    padding-block: 34px 42px;
  }

  main > .home-hero + .quote-section + .section + .section {
    padding-block: 26px 54px;
  }

  main > .home-hero ~ .section .section-heading {
    margin-bottom: 12px;
  }

  main > .home-hero ~ .section .section-intro {
    margin-bottom: 20px;
  }

  main > .home-hero ~ .section .rich-project-grid {
    gap: 16px;
    max-width: 360px;
  }

  main > .home-hero ~ .section .rich-project-card {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
    padding: 16px;
  }

  main > .home-hero ~ .section .rich-project-card .project-image-wrap {
    width: min(100%, 260px);
    margin-inline: auto;
  }

  main > .home-hero ~ .section .button-row {
    gap: 10px;
    margin-top: 22px;
  }

  main > .home-hero ~ .section .contact-panel {
    gap: 16px;
  }

  main > .home-hero ~ .section .contact-card {
    padding: 22px;
  }

  main > .home-hero ~ .section .contact-actions {
    gap: 10px;
  }

  main > .home-hero ~ .section .contact-link {
    min-height: 48px;
  }

  .portrait-placeholder,
  .cover-placeholder {
    min-height: 420px;
  }

  .portrait-placeholder {
    width: min(100%, 360px);
    min-height: 0;
    max-height: 460px;
    margin-inline: auto;
  }

  .author-hero .portrait-placeholder + .copy h1 {
    font-size: clamp(2.35rem, 10vw, 3.35rem);
  }

  .founder-hero {
    width: min(430px, calc(100% - 40px));
    margin-top: calc(var(--header-offset) - 26px);
    gap: 24px;
    padding-block: 0 42px;
    text-align: left;
  }

  .founder-portrait-block {
    justify-self: stretch;
  }

  .founder-portrait-panel {
    width: 100%;
  }

  .hero.founder-hero .founder-portrait-panel {
    width: 100%;
  }

  .founder-copy-block {
    max-width: 100%;
    margin-top: 0;
  }

  .founder-copy-block .eyebrow {
    margin-bottom: 10px;
  }

  .founder-copy-block h1 {
    max-width: 10.4ch;
    font-size: clamp(2.52rem, 10.8vw, 3.05rem);
    line-height: .98;
  }

  .founder-copy-block .hero-text {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.66;
  }

  .founder-support-statement {
    display: block;
    max-width: 100%;
    margin-top: 18px;
    padding-left: 14px;
  }

  .founder-hero .entity-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 18px;
  }

  .founder-hero .entity-links span {
    display: none;
  }

  .founder-hero .entity-links a {
    min-height: 40px;
    white-space: nowrap;
  }

  .cover-placeholder .book-cover-image {
    min-height: 420px;
  }

  .button,
  .book-card a,
  .project-card strong,
  .contact-link {
    width: 100%;
  }

  .human-mind-series-book .book-detail {
    padding-block: var(--header-offset) 44px;
  }

  .human-mind-series-book .book-hero {
    gap: 26px;
    padding-bottom: 30px;
    text-align: left;
  }

  .human-mind-series-book .cover-placeholder {
    width: min(100%, clamp(288px, 76vw, 312px));
    min-height: 0;
    max-height: min(468px, calc(100svh - var(--header-offset) - 20px));
    margin-inline: auto;
  }

  .human-mind-series-book h1 {
    font-size: clamp(2.15rem, 10.5vw, 3rem);
    line-height: 1.02;
  }

  .human-mind-series-book h2 {
    font-size: clamp(2rem, 10vw, 2.55rem);
    line-height: 1.04;
  }

  .human-mind-series-book .hero-text,
  .human-mind-series-book .copy p:not(.eyebrow),
  .human-mind-series-book details p,
  .human-mind-series-book .contact-card p {
    font-size: 1rem;
    line-height: 1.68;
  }

  .human-mind-series-book .button-row {
    gap: 10px;
    margin-top: 24px;
  }

  .human-mind-series-book .button {
    min-height: 48px;
    padding: 12px 14px;
    text-align: center;
  }

  .human-mind-series-book .detail-body {
    gap: 22px;
    padding-block: 40px;
  }

  .human-mind-series-book details {
    padding: 16px 0;
  }

  .human-mind-series-book summary {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .human-mind-series-book blockquote {
    font-size: clamp(1.8rem, 11vw, 2.75rem);
    line-height: 1.04;
  }

  .human-mind-series-book .section {
    padding-block: 42px;
  }

  .human-mind-series-book .contact-card {
    padding: 22px;
  }

  .policy-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: calc(var(--header-offset) + 8px) 38px;
  }

  .policy-hero h1 {
    font-size: clamp(2.4rem, 10vw, 3.35rem);
  }

  .policy-download {
    width: 100%;
    padding: 22px;
  }

  .policy-shell {
    padding-block: 8px 54px;
  }

  .policy-version {
    margin-bottom: 18px;
    font-size: .76rem;
  }

  .policy-section {
    padding-block: 22px;
  }

  .policy-section h2 {
    font-size: clamp(1.72rem, 8vw, 2.2rem);
  }

  .policy-section p {
    font-size: .98rem;
  }

  .policy-file-meta div {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .policy-file-meta dd {
    text-align: left;
  }

  .cursor-glow {
    display: none;
  }
}

@media (max-width: 640px) {
  .purchase-checkout-modal {
    align-items: end;
    padding: 40px 0 0;
  }

  .purchase-checkout-dialog {
    width: 100%;
    max-height: calc(100vh - 40px);
    padding: 20px;
    border-radius: 8px 8px 0 0;
  }

  .purchase-coupon-form__controls {
    grid-template-columns: 1fr;
  }

  .purchase-coupon-apply {
    width: 100%;
  }

  .account-library,
  .account-payments {
    padding-block-start: 0;
  }

  .account-library .section-heading {
    margin-bottom: 20px;
  }

  .account-library-refresh {
    width: 100%;
  }

  .library-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .library-card {
    grid-template-columns: minmax(108px, 132px) minmax(0, 1fr);
    max-width: none;
  }

  .library-card__cover {
    width: 100%;
    max-width: 132px;
  }

  .library-card--no-cover .library-card__cover::after {
    padding: 10px;
    font-size: 1rem;
  }

  .library-card__body {
    gap: 8px;
    padding: 14px;
  }

  .library-card__body h3 {
    font-size: 1.38rem;
  }

  .library-card__meta {
    font-size: .84rem;
  }

  .library-card__access {
    padding-top: 9px;
  }

  .payment-history-card {
    grid-template-columns: 1fr;
  }

  .payment-history-card__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }

  .payment-history-card__amount {
    justify-items: end;
  }

  .payment-history-card__meta,
  .payment-history-card__footer {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}


/* Shared checkout */
.checkout-page {
  min-height: calc(100svh - 92px);
  padding-block: calc(var(--header-offset) + 58px) 72px;
}

.checkout-page [hidden] {
  display: none !important;
}

.checkout-header-back {
  width: fit-content;
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 14px;
}

.checkout-loading,
.checkout-error {
  min-height: 62svh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 14px;
}

.checkout-loading h1,
.checkout-error h1,
.checkout-heading h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--slate);
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  line-height: .94;
}

.checkout-loading-line {
  width: min(300px, 72vw);
  height: 2px;
  margin-top: 14px;
  background: linear-gradient(90deg, rgba(42, 52, 64, .12), var(--bronze), rgba(42, 52, 64, .12));
  background-size: 200% 100%;
  animation: entitlement-loading 1.2s linear infinite;
}

.checkout-shell {
  display: grid;
  gap: 46px;
}

.checkout-heading .eyebrow,
.checkout-loading .eyebrow,
.checkout-error .eyebrow {
  margin-bottom: 10px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .65fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.checkout-primary {
  border-top: 1px solid rgba(42, 52, 64, .14);
}

.checkout-section {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  padding-block: 26px;
  border-bottom: 1px solid rgba(42, 52, 64, .14);
}

.checkout-step {
  margin: 4px 0 0;
  color: var(--bronze);
  font-size: .74rem;
  font-weight: 800;
}

.checkout-section h2,
.checkout-confirmation h2 {
  margin: 0 0 12px;
  color: var(--slate);
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.05;
}

.checkout-section h3 {
  margin: 0 0 4px;
  color: var(--slate);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.checkout-section p,
.checkout-confirmation p {
  margin: 0;
  color: rgba(42, 52, 64, .7);
  line-height: 1.55;
}

.checkout-product-type {
  margin-bottom: 8px !important;
  color: var(--bronze) !important;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.checkout-price-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px !important;
  padding-top: 14px;
  border-top: 1px solid rgba(42, 52, 64, .09);
}

.checkout-price-line strong {
  color: var(--slate);
  white-space: nowrap;
}

.checkout-coupon-form {
  display: grid;
  gap: 9px;
}

.checkout-coupon-form label {
  color: var(--slate);
  font-size: .8rem;
  font-weight: 800;
}

.checkout-coupon-form label span {
  color: rgba(42, 52, 64, .58);
  font-weight: 600;
}

.checkout-coupon-form > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.checkout-coupon-form input,
.account-profile-form input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(42, 52, 64, .2);
  border-radius: 6px;
  background: #fff;
  color: var(--slate);
  font: inherit;
}

.checkout-coupon-remove,
.checkout-return-link {
  width: fit-content;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: rgba(42, 52, 64, .7);
  cursor: pointer;
  font: inherit;
  font-size: .8rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-confirmation {
  position: sticky;
  top: calc(var(--header-offset) + 28px);
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(42, 52, 64, .14);
  border-radius: 8px;
  background: rgba(248, 247, 244, .76);
  box-shadow: 0 18px 44px rgba(42, 52, 64, .08);
}

.checkout-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-block: 18px;
  border-block: 1px solid rgba(42, 52, 64, .12);
}

.checkout-total span {
  color: rgba(42, 52, 64, .55);
  font-weight: 700;
  text-decoration: line-through;
}

.checkout-total strong {
  color: var(--slate);
  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1;
  white-space: nowrap;
}

.checkout-confirmation .button {
  width: 100%;
}

.account-profile-form {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(42, 52, 64, .12);
}

.account-profile-form label {
  display: grid;
  gap: 7px;
  color: var(--slate);
  font-size: .8rem;
  font-weight: 800;
}

.account-profile-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

@media (max-width: 820px) {
  .checkout-page {
    padding-block-start: calc(var(--header-offset) + 32px);
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-confirmation {
    position: static;
  }
}

@media (max-width: 560px) {
  .checkout-page {
    padding-bottom: 44px;
  }

  .checkout-shell {
    gap: 32px;
  }

  .checkout-section {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding-block: 22px;
  }

  .checkout-coupon-form > div {
    grid-template-columns: 1fr;
  }

  .checkout-coupon-form .button,
  .account-profile-form__actions .button {
    width: 100%;
  }

  .checkout-confirmation {
    padding: 20px;
  }

  .checkout-total strong {
    font-size: 2.15rem;
  }
}
