@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@300;400;500&display=swap");

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

:root {
  color-scheme: light;
  --cream: #f5efe0;
  --cream-dark: #ede4ce;
  --parchment: #d9cebc;
  --brown-light: #8b7355;
  --brown: #5c4a30;
  --brown-dark: #3a2d1a;
  --rust: #a0522d;
  --rust-light: #c47a45;
  --green: #3d5247;
  --green-light: #5a7a6b;
  --ink: #1e1610;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Avenir Next", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--brown-dark);
  color: var(--cream);
}

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

nav,
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.55rem 4rem;
  background: #ffffff;
  border-bottom: 1px solid var(--parchment);
  backdrop-filter: blur(8px);
}

.nav-logo,
.brand {
  max-width: 260px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--brown-dark);
  text-decoration: none;
}

.site-logo {
  width: 46px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-copy {
  display: block;
}

.brand-copy span {
  display: block;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-top: 2px;
}

.nav-links,
.main-nav,
.footer-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  list-style: none;
}

.nav-links a,
.main-nav a,
.footer-links a {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.main-nav a:hover,
.footer-links a:hover {
  color: var(--rust);
}

.nav-cta,
.btn-primary,
.button.primary,
button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--brown-dark);
  border: 1px solid var(--brown-dark);
  padding: 0.85rem 1.8rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.nav-cta:hover,
.btn-primary:hover,
.button.primary:hover,
button.primary:hover {
  background: var(--rust);
  border-color: var(--rust);
}

.btn-secondary,
.button.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--brown-light);
  color: var(--brown);
  background: transparent;
  padding: 0.85rem 1.8rem;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-secondary:hover,
.button.secondary:hover {
  border-color: var(--rust);
  color: var(--rust);
}

.button:active,
button:active {
  transform: translateY(1px);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--rust-light);
  outline-offset: 3px;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--brown-dark);
}

section,
.section,
.page-shell {
  padding: 7rem 4rem;
}

.page-shell {
  padding-top: 10rem;
}

#hero,
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}

.hero-left,
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem;
}

.hero-eyebrow,
.eyebrow,
.section-label,
.section-kicker,
.label {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust);
}

.hero-title,
h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--brown-dark);
  margin-bottom: 2rem;
}

.hero-title em,
.section-title em,
h1 em,
h2 em {
  font-style: italic;
  color: var(--rust);
}

.hero-body,
.lead,
p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--brown);
}

.hero-body,
.lead {
  max-width: 42ch;
  margin-bottom: 3rem;
}

.hero-actions,
.card-actions,
.retailer-links,
.meta-list,
.filter-bar {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-right,
.hero-feature {
  background: var(--green);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

.hero-right::before,
.hero-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-books {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1.5rem;
  align-items: flex-end;
  padding: 3rem;
}

.book-spine {
  width: 52px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--serif);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 1rem 0.6rem;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.3);
}

.book-spine:hover {
  transform: translateY(-12px);
  box-shadow: 6px 16px 24px rgba(0, 0, 0, 0.4);
}

.bs1 { height: 280px; background: var(--cream); color: var(--brown-dark); }
.bs2 { height: 240px; background: var(--rust-light); color: var(--cream); }
.bs3 { height: 310px; background: var(--cream-dark); color: var(--brown-dark); }
.bs4 { height: 255px; background: var(--brown-light); color: var(--cream); }
.bs5 { height: 225px; background: #7a8c6e; color: var(--cream); }

.section-title,
h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--brown-dark);
  margin-bottom: 1.5rem;
}

.section-body {
  max-width: 52ch;
}

.divider {
  width: 48px;
  height: 1px;
  background: var(--rust);
  margin: 2rem 0;
}

#catalogue,
.catalogue-page {
  background: var(--cream);
}

.catalogue-header,
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.catalogue-filters,
.filter-bar {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.filter-btn,
.tag,
.meta-list span,
.retailer-links a {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border: 1px solid var(--parchment);
  background: transparent;
  color: var(--brown);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover,
.retailer-links a:hover {
  background: var(--brown-dark);
  color: var(--cream);
  border-color: var(--brown-dark);
}

.books-grid,
.catalog-grid,
.download-grid,
.product-grid,
.category-grid,
.latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2.5rem;
}

.book-card {
  cursor: pointer;
  text-decoration: none;
}

.book-cover,
.cover {
  aspect-ratio: 2 / 3;
  margin-bottom: 1.2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

.book-card:hover .book-cover,
.book-card:hover .cover {
  transform: translateY(-4px);
}

.book-cover-inner,
.cover {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.2rem;
  position: relative;
}

.cover::before {
  content: "";
  position: absolute;
  inset: 1.4rem;
  border: 1px solid rgba(245, 239, 224, 0.32);
}

.cover-1,
[data-cover="sun"] { background: linear-gradient(160deg, #7a8c6e 0%, #3d5247 100%); }
.cover-2,
[data-cover="ink"] { background: linear-gradient(160deg, #c47a45 0%, #8b4513 100%); }
.cover-3,
[data-cover="field"] { background: linear-gradient(160deg, #8b7355 0%, #5c4a30 100%); }
.cover-4 { background: linear-gradient(160deg, #a0522d 0%, #6b3a1f 100%); }
.cover-5 { background: linear-gradient(160deg, #6b8e8b 0%, #3d5247 100%); }
.cover-6 { background: linear-gradient(160deg, #c9b89a 0%, #8b7355 100%); }

.book-cover-title,
.cover {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--cream);
  line-height: 1.2;
}

.book-cover-author {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(245, 239, 224, 0.7);
}

.book-meta-title,
.book-card h3,
.download-card h3,
.product-card h3,
.simple-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--brown-dark);
  line-height: 1.25;
}

.book-meta-author,
.book-card .eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--brown-light);
  margin-bottom: 0.4rem;
}

.book-meta-genre {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--rust);
}

.book-meta-price {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--brown-dark);
  font-weight: 500;
  margin-top: 0.5rem;
}

#shop,
.dark-panel {
  background: var(--brown-dark);
  color: var(--cream);
}

#shop .section-title,
#shop h2,
.dark-panel .section-title,
.dark-panel h1,
.dark-panel h2 {
  color: var(--cream-dark);
}

#shop .section-body,
#shop p,
.dark-panel p {
  color: rgba(245, 239, 224, 0.7);
}

#shop .divider,
.dark-panel .divider {
  background: var(--rust-light);
}

.shop-grid,
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 3.5rem;
}

.shop-item,
.product-card {
  background: var(--brown-dark);
  padding: 2.5rem;
  transition: background 0.25s;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  color: var(--cream);
}

.shop-item:hover,
.product-card:hover {
  background: rgba(255, 255, 255, 0.04);
}

.shop-item-icon,
.product-card .tag {
  min-width: 48px;
  min-height: 48px;
  flex-shrink: 0;
  border: 1px solid var(--rust-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rust-light);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.shop-item-name,
.product-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.4rem;
}

.shop-item-desc,
.product-card p {
  font-size: 0.88rem;
  color: rgba(245, 239, 224, 0.55);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.shop-item-link,
.text-link,
.download-link {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rust);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.2s;
}

#shop .shop-item-link,
#shop .text-link,
.dark-panel .text-link {
  color: var(--rust-light);
}

.shop-item-link:hover,
.text-link:hover,
.download-link:hover {
  color: var(--brown-dark);
}

#authors,
.authors-section {
  background: var(--cream-dark);
}

.authors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.author-card {
  display: flex;
  flex-direction: column;
}

.author-portrait {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1.2rem;
  overflow: hidden;
  border: 2px solid var(--parchment);
}

.author-portrait-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--cream);
}

.ap1 { background: var(--green); }
.ap2 { background: var(--rust); }
.ap3 { background: var(--brown); }
.ap4 { background: #6b8e8b; }

.author-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--brown-dark);
  margin-bottom: 0.2rem;
}

.author-genre-tag {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 0.8rem;
}

.author-bio {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--brown);
  margin-bottom: 1rem;
}

.author-books-label {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 0.4rem;
}

.author-book-list {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--rust);
  line-height: 1.6;
}

#newsletter {
  background: var(--green);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
}

#newsletter .section-title,
#newsletter h2 {
  color: var(--cream);
}

#newsletter .section-body,
#newsletter p {
  color: rgba(245, 239, 224, 0.7);
}

#newsletter .divider {
  background: rgba(245, 239, 224, 0.3);
}

.newsletter-form,
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-form input,
.contact-form input,
.contact-form textarea,
.contact-form select,
.form-card input,
.form-card textarea,
.form-card select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--cream);
  padding: 0.9rem 1.2rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
}

.form-card input,
.form-card textarea,
.form-card select {
  border-color: var(--parchment);
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink);
}

.newsletter-form input::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(245, 239, 224, 0.4);
}

.newsletter-form input:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button,
.contact-form button {
  align-self: flex-start;
}

.newsletter-note {
  font-size: 0.75rem;
  color: rgba(245, 239, 224, 0.4);
  margin-top: 0.5rem;
}

#press {
  background: var(--cream);
}

.press-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 4rem;
}

.press-block,
.download-card,
.simple-card {
  border-top: 1px solid var(--parchment);
  padding-top: 2rem;
}

.press-block-title,
.download-card h3,
.simple-card h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--brown-dark);
  margin-bottom: 0.6rem;
}

.press-block-body,
.download-card p,
.simple-card p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--brown);
  margin-bottom: 1.2rem;
}

.press-download {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--brown-dark);
  padding-bottom: 1px;
  display: inline-block;
  transition: color 0.2s, border-color 0.2s;
}

.press-download:hover {
  color: var(--rust);
  border-color: var(--rust);
}

.press-quotes {
  margin-top: 4rem;
  border-top: 1px solid var(--parchment);
  padding-top: 3rem;
}

.quote-list,
.review-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.quote-item blockquote,
blockquote {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
  color: var(--brown-dark);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.quote-source,
cite {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-light);
  font-style: normal;
}

#contact,
.contact-section.dark-panel {
  background: var(--brown-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

#contact .section-title,
#contact h1,
#contact h2 {
  color: var(--cream-dark);
}

#contact .section-body,
#contact p {
  color: rgba(245, 239, 224, 0.6);
}

#contact .divider {
  background: rgba(245, 239, 224, 0.2);
}

.contact-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item-label {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust-light);
  margin-bottom: 0.3rem;
}

.contact-item-value {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--cream-dark);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.book-hero {
  display: grid;
  grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr);
  gap: 5rem;
  align-items: start;
}

.book-hero .cover {
  position: sticky;
  top: 7rem;
}

.book-details,
.panel {
  display: grid;
  gap: 2rem;
}

.panel {
  border-top: 1px solid var(--parchment);
  padding-top: 2.5rem;
}

.form-card {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
}

footer,
.site-footer {
  background: var(--ink);
  color: rgba(245, 239, 224, 0.45);
  padding: 3rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--serif);
  font-size: 1rem;
  color: rgba(245, 239, 224, 0.6);
}

.footer-brand .site-logo {
  width: 42px;
  height: 54px;
}

footer .footer-links a,
.site-footer .footer-links a {
  color: rgba(245, 239, 224, 0.35);
}

footer .footer-links a:hover,
.site-footer .footer-links a:hover {
  color: rgba(245, 239, 224, 0.7);
}

.footer-copy {
  font-family: var(--sans);
  font-size: 0.65rem;
  color: rgba(245, 239, 224, 0.25);
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

.empty-state {
  border-top: 1px solid var(--parchment);
  padding-top: 3rem;
}

@media (max-width: 900px) {
  nav,
  .site-header {
    position: sticky;
    padding: 1.35rem 1.5rem;
    flex-wrap: wrap;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .main-nav {
    width: 100%;
    gap: 1.2rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .nav-hamburger {
    display: flex;
  }

  #hero,
  .hero,
  #newsletter,
  #contact,
  .book-hero {
    grid-template-columns: 1fr;
  }

  .hero-right,
  .hero-feature {
    min-height: 340px;
  }

  .hero-left,
  .hero-copy {
    padding: 4rem 1.5rem;
  }

  section,
  .section,
  .page-shell {
    padding: 5rem 1.5rem;
  }

  .page-shell {
    padding-top: 5rem;
  }

  .shop-grid,
  .product-grid,
  .press-grid {
    grid-template-columns: 1fr;
  }

  .book-hero .cover {
    position: relative;
    top: auto;
  }

  footer,
  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  footer .footer-links,
  .site-footer .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.4rem;
  }

  .footer-brand,
  .footer-copy {
    max-width: 100%;
  }

  .site-logo {
    width: 40px;
    height: 52px;
  }

  .hero-books {
    max-width: 100%;
    gap: 0.9rem;
    padding: 2rem 1rem;
    justify-content: center;
    overflow: hidden;
  }

  .book-spine {
    width: 44px;
    font-size: 0.68rem;
  }
}

/* Wireframe-inspired homepage format */
.wireframe-home {
  min-height: 100dvh;
  background:
    linear-gradient(135deg, rgba(16, 48, 34, 0.12) 0%, transparent 28%, rgba(224, 185, 105, 0.18) 66%, rgba(255, 250, 238, 0.82) 100%),
    radial-gradient(circle at 86% 12%, rgba(236, 202, 128, 0.42), transparent 34%),
    radial-gradient(circle at 9% 86%, rgba(19, 51, 37, 0.18), transparent 32%),
    linear-gradient(180deg, #fffaf0 0%, #f4e4c6 100%);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.4;
  padding: 0.22rem;
  overflow: hidden;
}

.wireframe-home .skip-link {
  background: #050505;
  color: #ffffff;
}

.wireframe-shell {
  height: calc(100dvh - 0.44rem);
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 3fr);
  grid-template-rows: minmax(0, 1fr) 92px;
  gap: 0;
  border: 4px solid #0d2d20;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.74) 0%, rgba(250, 238, 211, 0.52) 38%, rgba(216, 174, 95, 0.18) 100%),
    radial-gradient(circle at 76% 16%, rgba(255, 245, 214, 0.88), transparent 30%),
    linear-gradient(180deg, #fffaf1 0%, #f5e7cd 100%);
}

.identity-panel,
.wireframe-main,
.wireframe-menu,
.featured-book-panel,
.wireframe-footer {
  border: 1px solid #c7a15c;
}

.identity-panel {
  position: relative;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 0;
  padding: clamp(1.5rem, 3vw, 2.8rem) 2.2rem 2rem;
  text-align: center;
  background: #ffffff;
  isolation: isolate;
  overflow: hidden;
}

.identity-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 22%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(248, 238, 217, 0.68) 72%, rgba(240, 218, 177, 0.82)),
    radial-gradient(circle at 50% 100%, rgba(209, 165, 86, 0.22), transparent 62%);
  pointer-events: none;
}

.identity-logo {
  width: auto;
  height: 56%;
  max-width: 90%;
  object-fit: contain;
  display: block;
  margin-bottom: 2rem;
}

.identity-tagline {
  position: relative;
  margin: 0 0 auto;
  color: #173426;
  font-family: var(--serif);
  font-size: 1.06rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.35;
}

.identity-tagline::before,
.identity-tagline::after {
  content: "";
  display: block;
  width: 90px;
  height: 1px;
  margin: 0.62rem auto;
  background: linear-gradient(90deg, transparent, #c7a15c, transparent);
}

.identity-details,
.identity-contact {
  color: #4c371f;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.35;
}

.identity-contact {
  margin-top: 1.8rem;
}

.identity-contact a {
  color: #173426;
  text-decoration: underline;
  text-decoration-color: #c7a15c;
  text-underline-offset: 0.18em;
}

.wireframe-main {
  grid-row: 1;
  display: grid;
  grid-template-rows: 94px minmax(0, 1fr);
  min-height: 0;
  padding: 0;
}

.wireframe-menu {
  position: relative;
  inset: auto;
  z-index: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 3vw, 3rem);
  padding: 1rem 8rem 1rem 1.5rem;
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.96), rgba(246, 232, 202, 0.68) 54%, rgba(255, 253, 247, 0.94)),
    radial-gradient(circle at 74% 10%, rgba(219, 181, 104, 0.2), transparent 34%);
  backdrop-filter: none;
}

.wireframe-menu .cart-link {
  position: absolute;
  right: clamp(2rem, 3.5vw, 3rem);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.15rem 0.35rem 0.45rem;
}

.cart-icon {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 20px;
  border: 1.5px solid #142f22;
  border-top: 0;
}

.cart-icon::before {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: -8px;
  height: 12px;
  border: 1.5px solid #142f22;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.cart-icon::after {
  content: "0";
  position: absolute;
  right: -9px;
  top: -12px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #173b2a, #092217);
  color: #f1ca72;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 500;
  line-height: 1;
}

.wireframe-menu a {
  color: #142f22;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
  text-decoration: none;
}

.wireframe-menu a:hover {
  text-decoration: underline;
  text-decoration-color: #c7a15c;
  text-underline-offset: 0.2em;
}

.featured-book-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.56fr) minmax(300px, 0.44fr);
  align-items: center;
  min-height: 0;
  height: calc(100% - 2.5rem);
  margin: 1.25rem;
  padding: clamp(1.5rem, 3vw, 3rem);
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(178, 132, 60, 0.46) 0%, rgba(246, 224, 182, 0.58) 30%, rgba(255, 250, 239, 0.9) 62%, rgba(255, 253, 248, 0.98) 100%),
    radial-gradient(circle at 18% 76%, rgba(89, 60, 28, 0.28), transparent 26%),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.86), transparent 32%),
    linear-gradient(180deg, #fbf0d8 0%, #ead2a6 100%);
}

.featured-book-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 32%, rgba(80, 56, 28, 0.2), transparent 20%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.82), transparent 30%),
    linear-gradient(115deg, transparent 0 48%, rgba(255, 255, 255, 0.46) 58% 68%, transparent 74%),
    linear-gradient(22deg, rgba(19, 51, 37, 0.12), transparent 28%);
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.featured-scene {
  position: relative;
  z-index: 1;
  min-height: 0;
  height: 100%;
}

.vase-shape {
  position: absolute;
  left: 5%;
  bottom: 18%;
  width: 110px;
  height: 260px;
  border-radius: 52% 48% 34% 36%;
  background:
    linear-gradient(90deg, rgba(99, 72, 37, 0.18), rgba(255, 247, 226, 0.66), rgba(95, 70, 37, 0.18));
  box-shadow: inset 18px 0 28px rgba(70, 48, 25, 0.14);
}

.dried-stems {
  position: absolute;
  left: 8%;
  top: 2%;
  width: 180px;
  height: 260px;
  opacity: 0.48;
  background:
    linear-gradient(73deg, transparent 48%, #947142 49%, transparent 50%),
    linear-gradient(103deg, transparent 50%, #a9824d 51%, transparent 52%),
    linear-gradient(128deg, transparent 50%, #9c7849 51%, transparent 52%);
}

.dried-stems::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #a9824d 0 2px, transparent 3px);
  background-size: 28px 34px;
  mask-image: radial-gradient(ellipse at 45% 20%, black 0 42%, transparent 65%);
}

.cloth-shape {
  position: absolute;
  right: 0;
  bottom: 10%;
  width: 56%;
  height: 170px;
  border-radius: 50% 12% 45% 18%;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.78), rgba(213, 190, 153, 0.46));
  filter: blur(1px);
  transform: rotate(9deg);
}

.book-object {
  position: absolute;
  left: 25%;
  bottom: 10%;
  width: min(46%, 350px);
  height: min(70%, 420px);
  display: grid;
  grid-template-columns: 42px 1fr;
  filter: drop-shadow(24px 28px 22px rgba(48, 36, 22, 0.28));
}

.book-spine-face {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
  background:
    linear-gradient(90deg, #06190f, #143827 48%, #071d14),
    linear-gradient(180deg, rgba(246, 207, 112, 0.14), transparent 38%);
  color: #d7a94d;
  font-family: var(--serif);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-right: 1px solid rgba(215, 169, 77, 0.35);
}

.book-front {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  padding: 2.4rem 1.5rem;
  background:
    radial-gradient(circle at 50% 54%, rgba(255, 219, 128, 0.58), transparent 18%),
    radial-gradient(circle at 40% 30%, rgba(255, 234, 158, 0.12), transparent 26%),
    linear-gradient(155deg, #123927 0%, #082216 52%, #03140d 100%);
  color: #d7a94d;
  box-shadow: inset 0 0 0 1px rgba(215, 169, 77, 0.25);
}

.book-front p {
  color: #e5bd66;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.2vw, 2.5rem);
  line-height: 1.02;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.book-front small {
  color: #d7a94d;
  font-family: var(--serif);
  font-size: 0.86rem;
  line-height: 1.35;
  text-align: center;
}

.cover-sun {
  width: 72%;
  aspect-ratio: 1 / 0.78;
  background:
    radial-gradient(circle at 50% 72%, #ffd676 0 10%, transparent 11%),
    linear-gradient(12deg, transparent 0 18%, rgba(255, 214, 118, 0.52) 19% 21%, transparent 22%),
    linear-gradient(35deg, transparent 0 30%, rgba(255, 214, 118, 0.42) 31% 33%, transparent 34%),
    linear-gradient(65deg, transparent 0 44%, rgba(255, 214, 118, 0.34) 45% 47%, transparent 48%),
    linear-gradient(180deg, transparent 0 58%, rgba(215, 169, 77, 0.6) 59% 64%, transparent 65%),
    linear-gradient(155deg, #152f22 0 28%, #314b2f 29% 45%, #1c3424 46% 100%);
  clip-path: polygon(0 72%, 20% 54%, 36% 68%, 53% 48%, 70% 65%, 100% 40%, 100% 100%, 0 100%);
}

.featured-book-copy {
  width: min(82%, 540px);
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.feature-label {
  position: relative;
  margin: 0;
  color: #8b642d;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.featured-book-copy h1 {
  margin: 0;
  color: #173426;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5.4vw, 5.8rem);
  font-weight: 500;
  line-height: 1.05;
}

.feature-summary {
  margin: 0;
  color: #1f1a14;
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1.45;
}

.feature-arrow {
  position: absolute;
  right: 2.2rem;
  top: 50%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid #c7a15c;
  background: linear-gradient(145deg, #19432f, #071f15 72%);
  box-shadow: 0 8px 18px rgba(30, 22, 16, 0.28);
  transform: translateY(-50%);
}

.feature-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 48%;
  width: 16px;
  height: 16px;
  border-top: 2px solid #d7a94d;
  border-right: 2px solid #d7a94d;
  transform: translate(-50%, -50%) rotate(45deg);
}

.learn-more-button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 0.82rem 1.8rem;
  border: 3px double #c7a15c;
  background:
    linear-gradient(180deg, rgba(255, 225, 139, 0.16), transparent 42%),
    linear-gradient(180deg, #19412e 0%, #0b2a1c 58%, #061c12 100%);
  color: #f8d783;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
  box-shadow: 0 4px 0 rgba(12, 45, 32, 0.28);
  font-variant-ligatures: none;
}

.feature-dots {
  position: absolute;
  left: 50%;
  bottom: 1.3rem;
  display: flex;
  gap: 0.85rem;
  transform: translateX(-50%);
}

.feature-dots span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(142, 111, 62, 0.35);
}

.feature-dots .active {
  background: linear-gradient(180deg, #1d4c36, #0b2b1d);
}

.wireframe-footer {
  grid-column: 1 / -1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1.8rem;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.94), rgba(242, 224, 187, 0.7) 50%, rgba(255, 253, 247, 0.94)),
    radial-gradient(circle at 50% 0%, rgba(206, 164, 86, 0.22), transparent 48%);
  color: #173426;
}

.wireframe-footer p {
  margin: 0;
  white-space: nowrap;
  color: #050505;
  font-family: var(--serif);
  font-size: 1rem;
}

.wireframe-footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.wireframe-footer-links a {
  color: #050505;
  font-family: var(--serif);
  font-size: 0.86rem;
  text-decoration: none;
}

.wireframe-footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .wireframe-home {
    padding: 0.8rem;
    overflow: auto;
  }

  .wireframe-shell {
    height: auto;
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .identity-panel,
  .wireframe-main {
    grid-row: auto;
    min-height: auto;
  }

  .identity-logo {
    width: min(72%, 300px);
    height: auto;
  }

  .identity-tagline {
    margin-bottom: 2rem;
  }

  .wireframe-main {
    grid-template-rows: auto 1fr;
  }

  .wireframe-menu {
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem;
  }

  .wireframe-menu .cart-link {
    position: static;
  }

  .featured-book-panel {
    height: auto;
    min-height: 460px;
    margin: 1rem;
    grid-template-columns: 1fr;
  }

  .wireframe-footer {
    flex-wrap: wrap;
  }

  .wireframe-footer p {
    white-space: normal;
  }

  .feature-arrow {
    right: 1rem;
  }
}

/* Elana-inspired author/publisher homepage */
.elana-home {
  --elana-ink: #081b14;
  --elana-forest: #0b261a;
  --elana-forest-2: #123626;
  --elana-gold: #d6ad56;
  --elana-cream: #f7efe0;
  --elana-muted: #cdbf9f;
  --elana-line: rgba(214, 173, 86, 0.36);
  min-height: 100dvh;
  background:
    radial-gradient(circle at 15% 8%, rgba(214, 173, 86, 0.18), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(247, 239, 224, 0.12), transparent 30%),
    linear-gradient(180deg, #071911 0%, #0b2418 46%, #06160f 100%);
  color: var(--elana-cream);
  font-family: var(--serif);
  overflow-x: hidden;
}

.elana-home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background-image:
    linear-gradient(var(--elana-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--elana-line) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, black, transparent 82%);
}

.elana-home .skip-link {
  background: var(--elana-gold);
  color: var(--elana-ink);
}

.elana-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 120px 1fr 120px;
  align-items: center;
  min-height: 92px;
  padding: 0 3rem;
  background: rgba(7, 25, 17, 0.82);
  border-bottom: 1px solid var(--elana-line);
  backdrop-filter: blur(18px);
}

.elana-mark {
  display: inline-flex;
  width: 70px;
  height: 70px;
  align-items: center;
  justify-content: center;
}

.elana-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.elana-nav {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.7rem);
  padding: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}

.elana-nav a,
.elana-cart,
.elana-footer a,
.elana-social a {
  color: var(--elana-cream);
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.elana-nav span {
  width: 7px;
  height: 7px;
  border: 1px solid var(--elana-gold);
  transform: rotate(45deg);
}

.elana-nav a:hover,
.elana-cart:hover,
.elana-footer a:hover,
.elana-social a:hover,
.elana-text-link:hover {
  color: var(--elana-gold);
}

.elana-cart {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.elana-cart-icon {
  position: relative;
  width: 23px;
  height: 20px;
  border: 1px solid var(--elana-gold);
  border-top: 0;
}

.elana-cart-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: -8px;
  height: 12px;
  border: 1px solid var(--elana-gold);
  border-bottom: 0;
}

.elana-cart-icon::after {
  content: "0";
  position: absolute;
  top: -14px;
  right: -10px;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  background: var(--elana-gold);
  color: var(--elana-ink);
  font-family: var(--sans);
  font-size: 0.58rem;
  line-height: 1;
}

.elana-home section {
  padding: clamp(5rem, 8vw, 9rem) clamp(1.25rem, 5vw, 5rem);
}

.elana-hero {
  position: relative;
  min-height: calc(100dvh - 92px);
  display: grid;
  grid-template-columns: 120px minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  border-bottom: 1px solid var(--elana-line);
  overflow: hidden;
}

.elana-hero::before,
.section-ornament::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 2.4rem;
  width: min(64vw, 760px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--elana-gold), transparent);
  transform: translateX(-50%);
}

.elana-hero::after,
.section-ornament::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 2.05rem;
  width: 12px;
  height: 12px;
  border: 1px solid var(--elana-gold);
  background: var(--elana-forest);
  transform: translateX(-50%) rotate(45deg);
}

.elana-social {
  display: grid;
  gap: 1.2rem;
  align-self: end;
  padding-bottom: 4rem;
}

.elana-social a {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--elana-muted);
  font-size: 0.9rem;
}

.hero-ornament {
  position: absolute;
  left: 8%;
  top: 18%;
  width: 220px;
  height: 220px;
  opacity: 0.22;
  background:
    radial-gradient(circle, var(--elana-gold) 0 2px, transparent 3px) 0 0 / 34px 34px,
    linear-gradient(36deg, transparent 49%, var(--elana-gold) 50%, transparent 51%),
    linear-gradient(116deg, transparent 49%, var(--elana-gold) 50%, transparent 51%);
}

.elana-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.elana-kicker {
  margin: 0 0 1.1rem;
  color: var(--elana-gold);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-style: italic;
  letter-spacing: 0.04em;
}

.elana-hero h1,
.elana-section-copy h2,
.elana-section-heading h2,
.elana-newsletter h2 {
  margin: 0;
  color: var(--elana-cream);
  font-family: var(--serif);
  font-size: clamp(4rem, 9vw, 9.8rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0;
}

.elana-hero p:not(.elana-kicker),
.elana-section-copy p:not(.elana-kicker),
.elana-post-grid p,
.elana-book-card p {
  color: rgba(247, 239, 224, 0.78);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.5vw, 1.36rem);
  line-height: 1.55;
}

.elana-hero-copy p:not(.elana-kicker) {
  max-width: 42ch;
  margin: 2rem 0 2.3rem;
}

.elana-button,
.newsletter-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.9rem 1.6rem;
  border: 1px solid var(--elana-gold);
  background:
    linear-gradient(180deg, rgba(214, 173, 86, 0.24), transparent 48%),
    var(--elana-forest-2);
  color: var(--elana-cream);
  font-family: var(--serif);
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 0 0 3px rgba(214, 173, 86, 0.12);
}

.elana-button.secondary {
  margin: 3rem auto 0;
  background: transparent;
}

.elana-button:hover,
.newsletter-form button:hover {
  background: var(--elana-gold);
  color: var(--elana-ink);
}

.elana-hero-art {
  min-height: 620px;
  position: relative;
  display: grid;
  place-items: center;
}

.elana-hero-art::before {
  content: "";
  position: absolute;
  width: min(44vw, 540px);
  aspect-ratio: 1;
  border: 1px solid var(--elana-line);
  background:
    radial-gradient(circle at 50% 50%, rgba(214, 173, 86, 0.2), transparent 32%),
    radial-gradient(circle at 50% 50%, transparent 0 58%, rgba(214, 173, 86, 0.16) 59% 60%, transparent 61%);
  transform: rotate(45deg);
}

.hero-book-stack {
  position: relative;
  width: min(72%, 380px);
  aspect-ratio: 0.72;
}

.hero-cover {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(214, 173, 86, 0.58);
  background:
    radial-gradient(circle at 50% 58%, rgba(255, 216, 116, 0.4), transparent 18%),
    linear-gradient(150deg, #174631, #061910 70%);
  box-shadow: 34px 38px 40px rgba(0, 0, 0, 0.32);
}

.hero-cover-main {
  z-index: 2;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  padding: 3rem 2rem;
  text-align: center;
}

.hero-cover-main p {
  color: #f1c76d;
  font-size: clamp(2rem, 3vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-cover-main small {
  color: rgba(241, 199, 109, 0.82);
  font-size: 1rem;
  letter-spacing: 0.24em;
}

.hero-cover-side {
  inset: 7% auto 7% -34px;
  width: 54px;
  background: linear-gradient(90deg, #07180f, #174631);
}

.elana-intro,
.elana-projects {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  border-bottom: 1px solid var(--elana-line);
}

.elana-image-panel {
  min-height: 560px;
  display: grid;
  place-items: center;
  border: 1px solid var(--elana-line);
  background:
    linear-gradient(180deg, rgba(247, 239, 224, 0.08), rgba(214, 173, 86, 0.08)),
    #092117;
}

.elana-image-panel img {
  width: min(76%, 360px);
  height: auto;
}

.elana-section-copy {
  max-width: 720px;
}

.elana-section-copy h2,
.elana-section-heading h2,
.elana-newsletter h2 {
  font-size: clamp(3rem, 6vw, 6.4rem);
  line-height: 0.95;
}

.elana-section-copy p:not(.elana-kicker) {
  margin: 2rem 0;
  max-width: 52ch;
}

.elana-text-link {
  color: var(--elana-gold);
  font-family: var(--serif);
  font-size: 1.12rem;
  text-decoration: none;
  border-bottom: 1px solid var(--elana-gold);
}

.section-ornament {
  position: relative;
}

.elana-books,
.elana-posts {
  position: relative;
  border-bottom: 1px solid var(--elana-line);
}

.elana-section-heading {
  max-width: 760px;
  margin: 0 auto 4rem;
  text-align: center;
}

.elana-book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.6rem);
}

.elana-book-card {
  display: grid;
  gap: 1rem;
  color: var(--elana-cream);
  text-align: center;
  text-decoration: none;
}

.elana-book-cover {
  aspect-ratio: 0.68;
  display: grid;
  place-items: end center;
  padding: 1.5rem;
  border: 1px solid rgba(214, 173, 86, 0.44);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.26);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.elana-book-card:hover .elana-book-cover {
  transform: translateY(-10px);
  border-color: var(--elana-gold);
}

.elana-book-cover span {
  color: #f1c76d;
  font-size: clamp(1.3rem, 2.4vw, 2.4rem);
  line-height: 1;
  text-transform: uppercase;
}

.cover-sunrise {
  background:
    radial-gradient(circle at 50% 52%, rgba(255, 220, 124, 0.46), transparent 16%),
    linear-gradient(155deg, #174631, #061910 72%);
}

.cover-copper {
  background:
    radial-gradient(circle at 42% 20%, rgba(246, 183, 107, 0.34), transparent 20%),
    linear-gradient(155deg, #7b4024, #25100b 75%);
}

.cover-stone {
  background:
    radial-gradient(circle at 68% 28%, rgba(233, 216, 177, 0.3), transparent 24%),
    linear-gradient(155deg, #6c6754, #1d211b 76%);
}

.elana-book-card h3,
.elana-post-grid h3 {
  margin: 0;
  color: var(--elana-cream);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.1vw, 2.2rem);
  font-weight: 400;
  line-height: 1.05;
}

.elana-book-card p {
  margin: 0;
  color: var(--elana-muted);
  font-style: italic;
}

.elana-project-art {
  min-height: 520px;
  position: relative;
  border: 1px solid var(--elana-line);
  background:
    radial-gradient(circle at 50% 38%, rgba(214, 173, 86, 0.24), transparent 28%),
    linear-gradient(180deg, rgba(247, 239, 224, 0.08), rgba(0, 0, 0, 0.1));
}

.project-moon {
  position: absolute;
  left: 50%;
  top: 18%;
  width: 160px;
  aspect-ratio: 1;
  border: 1px solid var(--elana-line);
  background: radial-gradient(circle at 42% 38%, #f4d98d, #a9792d 68%, transparent 69%);
  transform: translateX(-50%) rotate(45deg);
}

.project-card {
  position: absolute;
  width: 40%;
  aspect-ratio: 0.72;
  border: 1px solid rgba(214, 173, 86, 0.5);
  background: linear-gradient(155deg, #163c2b, #071911);
  box-shadow: 20px 24px 34px rgba(0, 0, 0, 0.25);
}

.project-card.one {
  left: 18%;
  bottom: 14%;
}

.project-card.two {
  right: 18%;
  bottom: 22%;
  background: linear-gradient(155deg, #5a2e1a, #120906);
}

.project-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.project-list a {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 72px;
  padding: 1rem 0;
  border-top: 1px solid var(--elana-line);
  color: var(--elana-cream);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.15;
  text-decoration: none;
}

.project-list a:last-child {
  border-bottom: 1px solid var(--elana-line);
}

.project-list span {
  color: var(--elana-gold);
  font-size: 1rem;
}

.elana-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--elana-line);
  background: var(--elana-line);
}

.elana-post-grid article {
  min-height: 280px;
  display: grid;
  align-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background:
    linear-gradient(180deg, rgba(247, 239, 224, 0.06), rgba(214, 173, 86, 0.04)),
    var(--elana-forest);
}

.elana-post-grid span {
  color: var(--elana-gold);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.elana-post-grid p {
  margin: 0;
}

.elana-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  border-bottom: 1px solid var(--elana-line);
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr 58px;
  gap: 0;
  border-bottom: 1px solid var(--elana-gold);
}

.newsletter-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.newsletter-form input {
  min-height: 58px;
  border: 0;
  background: transparent;
  color: var(--elana-cream);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.newsletter-form input::placeholder {
  color: rgba(247, 239, 224, 0.48);
}

.newsletter-form button {
  min-width: 58px;
  min-height: 58px;
  padding: 0;
  box-shadow: none;
}

.newsletter-form button::before {
  content: "";
  width: 16px;
  height: 16px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.elana-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2rem clamp(1.25rem, 5vw, 5rem);
  color: var(--elana-muted);
}

.elana-footer p {
  margin: 0;
  color: var(--elana-muted);
  font-family: var(--serif);
}

.elana-footer nav {
  position: static;
  display: flex;
  gap: 1.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

@media (max-width: 980px) {
  .elana-header {
    grid-template-columns: 74px 1fr;
    gap: 1rem;
    min-height: auto;
    padding: 1rem;
  }

  .elana-mark {
    width: 58px;
    height: 58px;
  }

  .elana-nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.7rem;
  }

  .elana-nav span {
    display: none;
  }

  .elana-cart {
    grid-column: 2;
    justify-self: end;
  }

  .elana-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 5rem;
  }

  .elana-social {
    display: flex;
    padding-bottom: 0;
  }

  .elana-social a {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .elana-hero-art {
    min-height: 460px;
  }

  .elana-intro,
  .elana-projects,
  .elana-newsletter {
    grid-template-columns: 1fr;
  }

  .elana-book-grid,
  .elana-post-grid {
    grid-template-columns: 1fr;
  }

  .elana-image-panel,
  .elana-project-art {
    min-height: 420px;
  }

  .elana-footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .elana-header {
    display: flex;
    flex-direction: column;
  }

  .elana-nav a,
  .elana-cart {
    font-size: 0.98rem;
  }

  .elana-hero h1,
  .elana-section-copy h2,
  .elana-section-heading h2,
  .elana-newsletter h2 {
    font-size: clamp(3.2rem, 17vw, 5rem);
  }

  .hero-book-stack {
    width: min(84%, 330px);
  }

  .newsletter-form {
    grid-template-columns: 1fr 52px;
  }
}

/* Bookstore XTNC-inspired storefront homepage */
.bookstore-home {
  --store-green: #050505;
  --store-green-dark: #111111;
  --store-green-black: #050505;
  --store-lime: #f2bd3f;
  --store-cream: #f7f7ef;
  --store-cream-2: #efefe4;
  --store-text: #111111;
  --store-muted: #666666;
  --store-line: #ded8c8;
  --store-orange: #f2bd3f;
  min-height: 100dvh;
  background: var(--store-cream);
  color: var(--store-text);
  font-family: var(--sans);
  line-height: 1.6;
}

.bookstore-home .skip-link {
  background: var(--store-green);
  color: #fff;
}

.store-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 154px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 1.45rem;
  padding: 1.85rem clamp(1.25rem, 4vw, 3.75rem) 1.2rem;
  background: #ffffff;
  border-bottom: 1px solid #ecede8;
}

.store-brand {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  color: #222827;
  font-family: var(--sans);
  font-size: clamp(2.05rem, 3vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.store-brand img {
  width: 74px;
  height: 92px;
  object-fit: contain;
}

.store-nav,
.store-actions,
.store-footer nav {
  position: static;
  inset: auto;
  display: flex;
  align-items: center;
  padding: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}

.store-nav {
  justify-content: center;
  gap: clamp(1.45rem, 3vw, 2.25rem);
}

.store-nav a {
  position: relative;
  color: #363b39;
  font-family: var(--sans);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
}

.store-nav a:nth-child(2)::after,
.store-nav a:nth-child(3)::after,
.store-nav a:nth-child(4)::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 0.9rem;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: translateY(-5px) rotate(45deg);
}

.store-nav a.active,
.store-nav a:hover {
  color: var(--store-lime);
}

.store-actions {
  justify-content: end;
  gap: 1.15rem;
}

.store-search {
  width: min(180px, 16vw);
  height: 42px;
  display: grid;
  grid-template-columns: 1fr 36px;
  align-items: center;
  border: 1px solid #e1e4dd;
  border-radius: 999px;
  background: #fff;
}

.store-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.store-search input {
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  padding: 0 0 0 1rem;
  outline: 0;
}

.store-search button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 42%, transparent 0 34%, #889099 36% 45%, transparent 47%),
    linear-gradient(45deg, transparent 0 58%, #889099 59% 64%, transparent 65%);
  cursor: pointer;
}

.store-bag,
.store-user {
  position: relative;
  width: 28px;
  height: 32px;
  display: inline-flex;
  color: #17201c;
  text-decoration: none;
}

.store-bag::before {
  content: "";
  position: absolute;
  inset: 9px 4px 2px;
  border: 2px solid currentColor;
  border-top: 0;
}

.store-bag::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: 4px;
  height: 12px;
  border: 2px solid currentColor;
  border-bottom: 0;
}

.store-bag span {
  position: absolute;
  top: -6px;
  right: -8px;
  z-index: 1;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--store-lime);
  color: var(--store-green-black);
  font-size: 0.72rem;
  line-height: 1;
}

.store-user::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.store-user::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 2px;
  width: 20px;
  height: 13px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
}

.bookstore-home section {
  padding: clamp(4rem, 7vw, 7.6rem) clamp(1.25rem, 4vw, 3.75rem);
}

.store-hero {
  position: relative;
  min-height: min(760px, calc(100dvh - 102px));
  display: block;
  padding: 0;
  overflow: hidden;
  background: #f7f7ef;
  color: var(--store-text);
}

.store-hero::before {
  content: none;
}

.store-hero-copy,
.store-hero-book {
  position: relative;
  z-index: 1;
}

.store-hero h1 {
  max-width: 780px;
  margin: 0;
  color: #ffffff;
  font-family: Impact, "Arial Narrow", var(--sans);
  font-size: clamp(4rem, 7.1vw, 7.6rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.store-hero p {
  max-width: 790px;
  margin: 2.4rem 0 3rem;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.45vw, 1.34rem);
  line-height: 1.72;
}

.store-button,
.store-outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 58px;
  padding: 0.95rem 2rem;
  border: 0;
  border-radius: 999px;
  background: var(--store-lime);
  color: #050505;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.store-button span,
.store-section-head a span {
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.store-button.dark {
  background: var(--store-green-black);
  color: #fff;
}

.store-outline-button {
  border: 1px solid var(--store-green);
  background: transparent;
  color: var(--store-green);
}

.store-hero-book {
  display: block;
  width: 100%;
  min-height: inherit;
  position: absolute;
  inset: 0;
}

.store-hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  filter: none;
  opacity: 0;
  transform: scale(1.015);
  animation: heroBookCycle 15s infinite;
}

.store-hero-image.slide-two {
  animation-delay: 5s;
}

.store-hero-image.slide-three {
  animation-delay: 10s;
}

@keyframes heroBookCycle {
  0%,
  30% {
    opacity: 1;
    transform: scale(1);
  }

  35%,
  100% {
    opacity: 0;
    transform: scale(1.015);
  }
}

.store-book-3d {
  width: min(72%, 430px);
  aspect-ratio: 0.72;
  display: grid;
  grid-template-columns: 58px 1fr;
  transform: rotateY(-16deg) rotateZ(1deg);
  transform-style: preserve-3d;
  filter: drop-shadow(36px 42px 40px rgba(0, 0, 0, 0.4));
}

.store-book-spine {
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: linear-gradient(90deg, #050505, #1a1a1a);
  color: var(--store-orange);
  font-family: Impact, "Arial Narrow", var(--sans);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-book-cover {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-items: center;
  justify-items: center;
  padding: 2.2rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 52% 58%, #ffc75f 0 13%, #ff7a2a 14% 28%, transparent 29%),
    linear-gradient(180deg, transparent 0 65%, #111111 66% 100%),
    radial-gradient(circle at 70% 22%, rgba(255, 255, 255, 0.14), transparent 24%),
    linear-gradient(150deg, #1c1c1c, #050505);
  color: #fff;
  text-align: center;
}

.store-book-cover small {
  color: rgba(255, 214, 154, 0.88);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.store-book-cover strong {
  margin-top: 1rem;
  font-family: Impact, "Arial Narrow", var(--sans);
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 0.94;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.store-cover-sun {
  width: 76%;
  align-self: end;
  aspect-ratio: 1.4;
  background:
    radial-gradient(circle at 50% 38%, #ffdf75 0 17%, transparent 18%),
    linear-gradient(145deg, transparent 0 48%, #050505 49% 52%, transparent 53%),
    linear-gradient(20deg, #111111 0 38%, transparent 39%),
    linear-gradient(160deg, transparent 0 58%, #111111 59%);
}

.store-book-cover em {
  color: var(--store-orange);
  font-family: Impact, "Arial Narrow", var(--sans);
  font-size: 1.7rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.store-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 2.7rem;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
  transform: translateX(-50%);
}

.store-slider-dots span {
  width: 50px;
  height: 10px;
  border-radius: 999px;
  background: #fff;
}

.store-slider-dots span {
  animation: heroDotCycle 15s infinite;
}

.store-slider-dots .dot-two {
  animation-delay: 5s;
}

.store-slider-dots .dot-three {
  animation-delay: 10s;
}

@keyframes heroDotCycle {
  0%,
  35% {
    background: var(--store-lime);
  }

  36%,
  100% {
    background: #fff;
  }
}

.store-categories {
  position: relative;
  width: min(91.5vw, 1320px);
  min-height: 172px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: center;
  margin: 8rem auto 4rem;
  padding: 2.8rem 5rem;
  border: 1.5px solid #1d221f;
  border-radius: 999px;
  background: var(--store-cream);
}

.store-categories a {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1.1rem;
  align-items: center;
  color: var(--store-text);
  text-decoration: none;
}

.category-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #050505;
}

.category-icon::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
}

.category-icon.romance::before {
  border-radius: 50%;
}

.category-icon.documentary::before {
  box-shadow: 5px 5px 0 -2px #050505, 5px 5px 0 0 #fff;
}

.category-icon.fantasy::before {
  transform: rotate(45deg);
}

.store-categories strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
}

.store-categories small {
  display: block;
  color: var(--store-muted);
  font-size: 0.92rem;
}

.category-arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
  transform: translateY(-50%);
}

.category-arrow.previous {
  left: -24px;
}

.category-arrow.next {
  right: -24px;
}

.category-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid #1f2422;
  border-right: 2px solid #1f2422;
}

.category-arrow.previous::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.category-arrow.next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.floating-buy {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  min-width: 280px;
  min-height: 58px;
  padding: 0 1.4rem;
  margin: 1.25rem clamp(1.25rem, 4vw, 3.75rem) 0 auto;
  border-radius: 4px;
  background: #000;
  color: #fff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.floating-buy a {
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
}

.floating-buy span {
  margin-left: auto;
  font-size: 1.9rem;
  line-height: 1;
}

.store-deals,
.store-collections,
.store-authors,
.store-feedback {
  background: var(--store-cream);
}

.store-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.6rem;
}

.store-section-head.centered {
  display: grid;
  justify-items: center;
  text-align: center;
}

.store-section-head h2,
.store-moments h2,
.store-discount h2,
.store-first-order h2 {
  margin: 0;
  color: var(--store-text);
  font-family: Impact, "Arial Narrow", var(--sans);
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.store-section-head a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--store-text);
  font-weight: 700;
  text-decoration: none;
}

.store-product-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.store-product-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.2rem;
  align-items: center;
  min-height: 170px;
  padding: 1rem;
  border: 1px solid var(--store-line);
  border-radius: 18px;
  background: #fff;
}

.mini-cover {
  height: 138px;
  display: grid;
  place-items: end center;
  padding: 0.8rem;
  border-radius: 8px;
  color: #fff;
  font-family: Impact, "Arial Narrow", var(--sans);
  text-align: center;
  text-transform: uppercase;
}

.mini-cover.image-cover,
.collection-cover.image-cover {
  width: 100%;
  display: block;
  padding: 0;
  object-fit: cover;
  object-position: center;
  background: #050505;
}

.mini-cover.image-cover {
  height: 138px;
  border-radius: 8px;
}

.mini-cover.green,
.collection-cover.green {
  background: linear-gradient(150deg, #f2bd3f, #b07a0e);
}

.mini-cover.copper,
.collection-cover.copper {
  background: linear-gradient(150deg, #7b3d22, #281008);
}

.mini-cover.stone,
.collection-cover.stone {
  background: linear-gradient(150deg, #676858, #22271f);
}

.collection-cover.cream {
  background: linear-gradient(150deg, #f2e1bc, #9e7a37);
  color: #050505;
}

.store-product-card p,
.store-product-card strong,
.store-product-card a {
  display: block;
}

.store-product-card p {
  margin: 0 0 0.35rem;
  color: var(--store-text);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.25;
}

.store-product-card strong {
  color: var(--store-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.store-product-card a {
  margin-top: 1rem;
  color: #b07a0e;
  font-weight: 700;
  text-decoration: none;
}

.store-moments {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  background: #fff;
}

.store-eyebrow {
  margin: 0 0 1rem;
  color: #b07a0e;
  font-weight: 700;
}

.store-moments p:not(.store-eyebrow),
.store-section-head p,
.store-first-order p,
.store-services p,
.store-footer p,
.store-footer a,
.author-grid p,
.feedback-grid p {
  color: var(--store-muted);
  font-size: 1rem;
}

.store-moments p:not(.store-eyebrow) {
  max-width: 58ch;
  margin: 1.5rem 0 2rem;
}

.moments-art {
  min-height: 430px;
  position: relative;
  border-radius: 28px;
  background:
    radial-gradient(circle at 32% 42%, rgba(242, 189, 63, 0.28), transparent 20%),
    linear-gradient(150deg, #1a1a1a, #050505);
  overflow: hidden;
}

.moments-art div {
  position: absolute;
  bottom: 12%;
  width: 28%;
  aspect-ratio: 0.68;
  border-radius: 8px;
  background: linear-gradient(150deg, #f7f7ef, #d8ccb0);
  box-shadow: 0 24px 34px rgba(0, 0, 0, 0.2);
}

.moments-art div:nth-child(1) {
  left: 17%;
  transform: rotate(-12deg);
}

.moments-art div:nth-child(2) {
  left: 37%;
  bottom: 18%;
  background: linear-gradient(150deg, #ff7a2a, #692a13);
}

.moments-art div:nth-child(3) {
  right: 17%;
  transform: rotate(12deg);
  background: linear-gradient(150deg, #1f1f1f, #050505);
}

.store-discount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--store-lime);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.collection-grid a {
  display: grid;
  gap: 0.9rem;
  color: var(--store-text);
  text-align: center;
  text-decoration: none;
}

.collection-cover {
  aspect-ratio: 0.72;
  display: grid;
  place-items: end center;
  padding: 1.2rem;
  border-radius: 18px;
  color: #fff;
  font-family: Impact, "Arial Narrow", var(--sans);
  font-size: clamp(1.5rem, 2vw, 2.15rem);
  line-height: 1.05;
  text-transform: uppercase;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.1);
}

.collection-cover.image-cover {
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
}

.collection-grid h3,
.author-grid h3 {
  margin: 0;
  color: var(--store-text);
  font-family: var(--sans);
  font-size: 1.1rem;
  line-height: 1.25;
}

.collection-grid p {
  margin: 0;
  color: var(--store-muted);
}

.store-first-order {
  display: grid;
  justify-items: center;
  gap: 1.2rem;
  text-align: center;
  background:
    radial-gradient(circle at 24% 18%, rgba(242, 189, 63, 0.22), transparent 24%),
    linear-gradient(180deg, #1a1a1a, #050505);
}

.store-first-order h2,
.store-first-order p {
  color: #fff;
}

.first-order-form {
  width: min(100%, 620px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  margin-top: 1.2rem;
  padding: 0.55rem;
  border-radius: 999px;
  background: #fff;
}

.first-order-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.first-order-form input {
  min-width: 0;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  padding: 0 1.2rem;
  outline: 0;
  font: inherit;
}

.first-order-form button {
  border: 0;
  border-radius: 999px;
  background: var(--store-lime);
  color: var(--store-green-black);
  padding: 0 1.8rem;
  font-weight: 700;
  cursor: pointer;
}

.author-grid,
.feedback-grid,
.store-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.author-grid article,
.feedback-grid blockquote,
.store-services article {
  margin: 0;
  padding: 2rem;
  border: 1px solid var(--store-line);
  border-radius: 20px;
  background: #fff;
}

.author-grid span {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--store-green);
  color: #fff;
  font-weight: 800;
}

.feedback-grid cite {
  color: var(--store-text);
  font-style: normal;
  font-weight: 700;
}

.store-services {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
}

.store-services article {
  border-radius: 0;
}

.store-services span {
  width: 38px;
  height: 38px;
  display: block;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--store-lime);
}

.store-services strong {
  color: var(--store-text);
  font-size: 1.08rem;
}

.store-footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.8fr);
  gap: 2rem;
  padding: clamp(4rem, 6vw, 6rem) clamp(1.25rem, 4vw, 3.75rem) 2rem;
  background: #050505;
  color: #fff;
}

.store-footer .store-brand {
  color: #fff;
}

.store-footer nav,
.store-footer > div {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.store-footer h3 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 1rem;
}

.store-footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.store-footer a:hover {
  color: var(--store-lime);
}

.store-copyright {
  grid-column: 1 / -1;
  margin: 2rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 1100px) {
  .store-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.1rem;
  }

  .store-nav {
    flex-wrap: wrap;
  }

  .store-moments {
    grid-template-columns: 1fr;
  }

  .store-hero {
    min-height: min(680px, calc(100dvh - 174px));
  }

  .store-categories,
  .store-product-row,
  .collection-grid,
  .author-grid,
  .feedback-grid,
  .store-services,
  .store-footer {
    grid-template-columns: 1fr 1fr;
  }

  .store-categories {
    border-radius: 40px;
  }
}

@media (max-width: 680px) {
  .store-header {
    min-height: auto;
    padding: 1.2rem 1rem;
  }

  .store-brand {
    gap: 0.8rem;
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }

  .store-brand img {
    width: 54px;
    height: 68px;
  }

  .store-nav {
    gap: 0.85rem 1.15rem;
    flex-wrap: wrap;
  }

  .store-nav a {
    font-size: clamp(1.05rem, 5vw, 1.35rem);
  }

  .store-hero {
    min-height: 440px;
  }

  .store-hero-book {
    min-height: inherit;
  }

  .store-categories,
  .store-product-row,
  .collection-grid,
  .author-grid,
  .feedback-grid,
  .store-services,
  .store-footer {
    grid-template-columns: 1fr;
  }

  .store-categories {
    margin-top: 4rem;
    padding: 2.2rem;
  }

  .category-arrow {
    display: none;
  }

  .store-categories a {
    grid-template-columns: 48px 1fr;
  }

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

  .first-order-form {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .first-order-form button {
    min-height: 52px;
  }

  .floating-buy {
    margin: 1rem;
    min-width: 0;
  }
}
