/* ============================================
   NAYA J — Design system & full redesign
   ============================================ */

:root {
  --bg-dark: #0a0a0a;
  --bg-maroon: #3d1519;
  --bg-maroon-deep: #2a0f12;
  --bg-beige: #d8d0c7;
  --text: #f5f0eb;
  --text-dark: #1a1515;
  --text-muted: rgba(245, 240, 235, 0.85);
  --accent: #c9a962;
  --accent-soft: rgba(201, 169, 98, 0.25);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.2);
  --font: 'Times New Roman', Times, serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --radius: 4px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 32px 64px -12px rgba(0, 0, 0, 0.6);
  --header-height: 5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--bg-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s var(--ease), padding 0.3s var(--ease);
}

.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.header.is-scrolled {
  background: rgba(0, 0, 0, 0.9);
}

.header.is-scrolled::after {
  opacity: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  transition: transform 0.2s var(--ease);
}

.logo:hover {
  transform: scale(1.02);
}

.logo-img {
  display: block;
  height: 64px;
  width: auto;
  object-fit: contain;
}

.logo-circle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
}

.logo-initials {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.logo-text {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.95;
}

/* ========== HOME ========== */

/* Hero — full viewport so full picture is visible; nav is semi-transparent over it */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem var(--space-lg) var(--space-2xl);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--bg-dark);
  background-position: center 25%;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .hero-bg {
    background-attachment: scroll;
  }
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(85deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.4) 45%, rgba(0,0,0,0.15) 70%, transparent);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin-left: 10%;
}

.hero-line1,
.hero-line2 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
  letter-spacing: 0.02em;
}

.hero-line2 {
  margin-top: 0.05em;
}

.hero-sub {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 400;
  margin: 1.25em 0 1em;
  opacity: 0.95;
  font-style: italic;
}

.hero-line3,
.hero-line4 {
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 400;
  line-height: 1.4;
  margin: 0.15em 0;
  opacity: 0.95;
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text), transparent);
  animation: scroll-hint 2s ease-in-out infinite;
}

@keyframes scroll-hint {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Section: Books — foliage image full bleed, REBORN prominent */
.section-books {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-2xl) var(--space-lg);
}

.books-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-dark) center/cover no-repeat;
}

.books-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,25,12,0.4) 0%, rgba(10,15,10,0.85) 100%);
}

.books-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 900px) {
  .books-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .book-block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .book-cta {
    text-align: center;
  }
}

.book-block .book-label {
  font-size: 1.35rem;
  margin: 0 0 0.1em;
  opacity: 0.95;
  letter-spacing: 0.02em;
}

.book-title-main {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  margin: 0.25em 0;
  text-transform: uppercase;
  opacity: 0.9;
}

.book-cover {
  position: relative;
  margin-top: var(--space-lg);
  width: 260px;
  aspect-ratio: 2/3;
  background: var(--bg-maroon-deep);
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border-radius: var(--radius);
}

.book-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.book-cover-title {
  position: relative;
  z-index: 1;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.book-cta {
  text-align: left;
}

.book-cta .brand-name {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  margin: 0 0 0.2em;
  opacity: 0.8;
  text-transform: uppercase;
}

.book-cta .book-name {
  font-size: 1.4rem;
  font-weight: 400;
  margin: 0 0 0.2em;
  font-style: italic;
}

.book-cta .book-let {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin: 0.2em 0;
}

.book-cta .book-tagline {
  font-size: 1.05rem;
  font-style: italic;
  margin: 0 0 var(--space-lg);
  opacity: 0.95;
}

.btn-explore {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  border: 1px solid var(--accent);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn-explore:hover {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
}

/* Section: Products overview (home — 3 books) */
.section-products-overview .products-overview-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1100px;
}

.products-overview-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  margin: 0 0 var(--space-xs);
  letter-spacing: 0.04em;
}

.products-overview-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0 0 var(--space-xl);
}

.products-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  width: 100%;
  margin-bottom: var(--space-xl);
}

@media (max-width: 900px) {
  .products-overview-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

.section-products-overview .product-card--home {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s var(--ease);
}

.section-products-overview .product-card--home:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-soft);
}

/* Uniform frame: same aspect ratio so all three cards match */
.section-products-overview .product-card--home .product-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-products-overview .product-card--home .product-card-img img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s var(--ease);
}

.section-products-overview .product-card--home:hover .product-card-img img {
  transform: scale(1.05);
}

.section-products-overview .product-card--home h3 {
  padding: var(--space-md) var(--space-md) var(--space-xs);
}

.section-products-overview .product-card--home p {
  padding: 0 var(--space-md) var(--space-md);
  font-size: 0.9rem;
  line-height: 1.55;
}

.btn-explore--center {
  display: inline-block;
  margin-top: 0;
}

/* Section: Author — maroon + optional bg image, quote + bio */
.section-author {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-2xl) var(--space-xl);
  background: transparent;
  max-width: 100%;
  min-height: 85vh;
}

.section-author::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  pointer-events: none;
}

.section-author .author-quote,
.section-author .author-content {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .section-author {
    grid-template-columns: 1fr;
    padding: var(--space-xl) var(--space-lg);
    min-height: auto;
  }
  .author-quote {
    order: 0;
    text-align: center;
  }
  .author-content {
    order: 1;
  }
}

.author-quote {
  padding: 0 var(--space-lg) 0 0;
}

@media (max-width: 900px) {
  .author-quote {
    padding: 0;
  }
}

.author-quote blockquote {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 400;
  line-height: 1.45;
  margin: 0;
  font-style: italic;
  color: var(--text);
}

.author-content .author-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 var(--space-xs);
  opacity: 0.85;
}

.author-name {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 400;
  margin: 0 0 var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--border-hover);
  display: inline-block;
}

.author-bio p {
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0;
  opacity: 0.95;
}

/* Author visual strip (Home) — use imgi_5 */
/* Wrapper so one image extends across quote + author sections */
.author-block {
  background: var(--bg-dark) center/cover no-repeat;
}

.author-visual {
  position: relative;
  min-height: 40vh;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 100%);
  pointer-events: none;
}

.author-visual .author-visual-quote {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 28rem;
  padding: var(--space-xl);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-style: italic;
  line-height: 1.5;
}

/* ========== FOOTER ========== */
.footer {
  background: #000;
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto var(--space-xl);
  gap: var(--space-lg);
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 var(--space-md);
  opacity: 0.95;
}

.footer-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: var(--space-sm) 0 var(--space-xs);
  opacity: 0.7;
}

.footer-email {
  font-size: 0.95rem;
  display: inline-block;
  margin-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-hover);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-email:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.footer-social {
  display: block;
  font-size: 0.9rem;
  margin: 0.25em 0;
  opacity: 0.95;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}

.footer-social:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img--footer {
  height: 56px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md) var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.footer-legal {
  font-size: 0.75rem;
  opacity: 0.65;
  letter-spacing: 0.05em;
  transition: opacity 0.2s var(--ease);
}

.footer-legal:hover {
  opacity: 1;
}

.footer-canva,
.footer-becholtz {
  font-size: 0.7rem;
  opacity: 0.5;
  transition: opacity 0.2s var(--ease);
}

.footer-canva:hover,
.footer-becholtz:hover {
  opacity: 0.9;
}

/* ========== EXPLORE PAGE ========== */
.explore-hero {
  padding: calc(var(--header-height) + 2rem) var(--space-xl) var(--space-2xl);
  background: #2f0f12;
  min-height: 65vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.explore-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (max-width: 900px) {
  .explore-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.explore-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.15em;
  letter-spacing: 0.02em;
}

.explore-title-sub {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 400;
  line-height: 1.25;
  margin: 0;
  letter-spacing: 0.02em;
  opacity: 0.95;
}

.explore-hero-right .explore-intro {
  font-size: 1.05rem;
  line-height: 1.85;
  margin: 0 0 0.6em;
  text-align: left;
  opacity: 0.95;
}

.explore-hero-right .explore-intro:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .explore-hero-right .explore-intro {
    text-align: center;
  }
}

.section-dark {
  background: var(--bg-dark);
  padding: var(--space-2xl) var(--space-xl);
}

.section-maroon {
  background: #2f0f12;
  padding: var(--space-2xl) var(--space-xl);
}

/* Light beige section (The Line Between) */
.section-light {
  background: var(--bg-beige);
  padding: var(--space-2xl) var(--space-xl);
}

.explore-block-inner--narrow {
  max-width: 560px;
  text-align: center;
}

.explore-block-title--underline {
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--text-dark);
  margin-bottom: var(--space-md);
  display: inline-block;
}

.section-light .explore-block-title {
  color: var(--text-dark);
}

.explore-block-p--dark {
  color: var(--text-dark);
  opacity: 1;
}

/* Let It Burn section: overlapping covers left, text right */
.explore-covers {
  padding: var(--space-2xl) var(--space-xl);
}

.explore-covers-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

@media (max-width: 900px) {
  .explore-covers-inner {
    grid-template-columns: 1fr;
  }
  .explore-covers-left {
    order: -1;
    justify-self: center;
  }
}

.explore-covers-stack {
  position: relative;
  width: 220px;
  height: 340px;
  margin: 0 auto;
}

.explore-cover-card {
  position: absolute;
  aspect-ratio: 2/3;
  background: var(--bg-dark);
  border: 1px solid var(--border-hover);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--space-md);
  text-align: center;
}

.explore-cover-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.explore-cover-card span {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  font-weight: 400;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.explore-cover-card--back {
  width: 160px;
  top: 20px;
  right: 0;
  transform: rotate(-8deg);
  z-index: 0;
}

.explore-cover-card--front {
  width: 200px;
  bottom: 0;
  left: 0;
  transform: rotate(4deg);
  z-index: 1;
}

.explore-covers-text .explore-block-title {
  margin-top: 0;
}

.explore-block-subtitle {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  margin: var(--space-lg) 0 var(--space-sm);
  line-height: 1.3;
}

.explore-book-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--space-2xl);
  align-items: center;
}

@media (max-width: 768px) {
  .explore-book-inner {
    grid-template-columns: 1fr;
  }
  .explore-book-cover-wrap {
    order: -1;
    justify-self: center;
  }
}

.explore-book-headline {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 400;
  margin: 0 0 var(--space-md);
  line-height: 1.3;
}

.explore-book-text p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0 0 var(--space-sm);
  opacity: 0.95;
}

.explore-book-cover {
  position: relative;
  width: 260px;
  aspect-ratio: 2/3;
  background: var(--bg-dark);
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border-radius: var(--radius);
}

.explore-book-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.explore-book-cover span {
  position: relative;
  z-index: 1;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.explore-block-inner {
  max-width: 720px;
  margin: 0 auto;
}

.explore-block-title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 400;
  margin: 0 0 var(--space-md);
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.explore-block-title--lines {
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}

.explore-block-title-line {
  display: block;
}

.explore-block-title--spaced {
  letter-spacing: 0.35em;
  word-spacing: 0.35em;
}

.explore-block-p {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 var(--space-md);
  opacity: 0.95;
}

.explore-block-p:last-child {
  margin-bottom: 0;
}

.explore-signature {
  font-size: 1.2rem;
  font-style: italic;
  margin-top: var(--space-lg);
  opacity: 0.9;
}

/* ========== PRODUCTS PAGE ========== */
.page-products main,
.page-collections main,
.page-contact main {
  padding-top: 5rem;
  min-height: 60vh;
}

/* Offerings hero banner */
.offerings-hero {
  position: relative;
  background: #2f0f12;
  padding: calc(var(--header-height) + 2rem) var(--space-lg) var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18rem;
  overflow: hidden;
}

.offerings-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(135deg, transparent 45%, rgba(255,255,255,0.15) 50%, transparent 55%),
    linear-gradient(225deg, transparent 45%, rgba(255,255,255,0.15) 50%, transparent 55%),
    linear-gradient(315deg, transparent 45%, rgba(255,255,255,0.1) 50%, transparent 55%),
    linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.1) 50%, transparent 55%);
  background-size: 80px 80px, 80px 80px, 80px 80px, 80px 80px;
  background-position: 0 0, 40px 0, 0 40px, 40px 40px;
}

.offerings-title {
  position: relative;
  z-index: 1;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0;
  color: var(--text);
}

/* Products grid: 2x2, image-only tiles that fit the page */
.products-offerings {
  padding: var(--space-2xl) var(--space-xl);
}

.products-offerings-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  justify-items: center;
}

@media (max-width: 600px) {
  .products-offerings-inner {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

.product-tile {
  width: 100%;
  max-width: 400px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.product-tile:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
}

/* Match actual image dimensions: all four covers are ~1.32–1.36 aspect (landscape) */
.product-tile-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-tile-cover img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.btn-buy {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--text);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
  align-self: flex-start;
}

.btn-buy:hover {
  background: var(--text);
  color: var(--bg-dark);
}

/* Next Up to Launch */
.next-up {
  padding: var(--space-2xl) var(--space-xl);
  border-top: 1px solid var(--border);
}

.next-up-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-2xl);
  align-items: start;
}

@media (max-width: 768px) {
  .next-up-inner {
    grid-template-columns: 1fr;
  }
  .stay-up-box {
    order: -1;
  }
}

.next-up-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 var(--space-md);
}

.next-up-book {
  font-size: 1.15rem;
  margin: 0 0 var(--space-xs);
  opacity: 0.95;
}

.next-up-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 var(--space-lg);
  opacity: 0.9;
}

.next-up-cover {
  width: 120px;
  aspect-ratio: 2/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-hover);
  box-shadow: var(--shadow);
}

.next-up-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stay-up-box {
  padding: var(--space-xl);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
}

.stay-up-title {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 var(--space-sm);
}

.stay-up-text {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 var(--space-md);
  opacity: 0.9;
}

.stay-up-box .btn-buy {
  margin: 0 auto;
}

/* Footer maroon on products page */
.footer--maroon {
  background: #2f0f12;
}

/* ========== COLLECTIONS PAGE ========== */
.collections-section {
  padding: var(--space-2xl) var(--space-xl);
}

.collections-section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: center;
  margin: 0 0 var(--space-2xl);
}

.essentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  max-width: 1000px;
  margin: 0 auto;
  justify-items: center;
}

@media (max-width: 900px) {
  .essentials-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
}

.collection-item {
  text-align: center;
}

.collection-cover-wrap {
  display: block;
  position: relative;
  width: 100%;
  max-width: 220px;
  margin: 0 auto var(--space-md);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-hover);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  aspect-ratio: 2/3;
  background: var(--bg-dark);
}

.collection-cover-wrap:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-soft);
}

.collection-cover-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--bg-dark);
}

.collection-cover-img--landscape {
  aspect-ratio: 4/3;
}

.collection-caption {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.95;
  letter-spacing: 0.02em;
}

/* For The Twisted Romantics section */
.collections-twisted {
  border-top: 1px solid var(--border);
}

.twisted-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: var(--space-2xl);
  align-items: start;
}

@media (max-width: 768px) {
  .twisted-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .twisted-cover {
    max-width: 240px;
    margin: 0 auto;
  }
  .twisted-more {
    order: 3;
  }
}

.twisted-cover .collection-cover-wrap {
  max-width: 100%;
  aspect-ratio: 4/3;
}

.twisted-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.twisted-block {
  padding: 0;
}

.twisted-label {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin: 0 0 var(--space-xs);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--border-hover);
}

.twisted-names {
  font-size: 0.9rem;
  margin: 0 0 var(--space-sm);
  opacity: 0.9;
}

.twisted-text {
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  opacity: 0.95;
}

.twisted-text strong {
  font-weight: 400;
  opacity: 1;
}

.twisted-more {
  font-size: 1rem;
  margin: 0;
  opacity: 0.9;
  font-style: italic;
  align-self: center;
}

/* ========== CONTACT PAGE ========== */
.contact-main {
  position: relative;
}

.contact-section {
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/Home/imgi_4_729cfcb880c5ca225587ceedcb11ba5c.jpg') center/cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.contact-section .contact-intro,
.contact-section .contact-box {
  position: relative;
  z-index: 1;
}

.contact-intro {
  max-width: 560px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg) var(--space-md);
  text-align: center;
}

.contact-intro h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 400;
  margin: 0 0 var(--space-sm);
  letter-spacing: 0.02em;
}

.contact-intro p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
}

.contact-box {
  max-width: 480px;
  margin: 0 auto var(--space-2xl);
  padding: var(--space-xl) var(--space-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-box .footer-heading {
  text-align: center;
  margin-bottom: var(--space-md);
}

.contact-box .footer-email {
  margin-bottom: var(--space-md);
}

.contact-box .footer-social {
  margin: 0.35em 0;
}

/* ========== GLOBAL RESPONSIVE ========== */

/* Mobile nav toggle (hamburger) — visible only on small screens */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  background: transparent;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.header.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.header.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1002;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--header-height) var(--space-lg) var(--space-2xl);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
    background: #000;
    overflow-y: auto;
  }

  .nav::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(45, 20, 25, 0.4) 0%, transparent 50%),
                linear-gradient(180deg, #0a0a0a 0%, #000 100%);
    pointer-events: none;
  }

  .header.nav-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav .nav-link {
    font-size: 1.15rem;
    padding: var(--space-sm) var(--space-md);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
  }

  .nav .nav-link:hover,
  .nav .nav-link.active {
    color: var(--accent);
  }
}

@media (max-width: 900px) {
  .header {
    padding: var(--space-sm) var(--space-md);
  }

  .logo-img {
    height: 52px;
  }

  .hero-overlay {
    margin-left: 0;
    margin-right: 0;
    margin-inline: auto;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
    text-align: center;
  }

  .hero {
    padding: 5rem var(--space-md) var(--space-xl);
  }

  .section-books {
    padding: var(--space-xl) var(--space-md);
  }

  .section-author {
    padding: var(--space-xl) var(--space-md);
  }

  .section-products-overview .products-overview-inner {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .explore-hero {
    padding: calc(var(--header-height) + 1.5rem) var(--space-md) var(--space-xl);
    min-height: 55vh;
  }

  .explore-hero-inner {
    gap: var(--space-lg);
  }

  .section-dark,
  .section-maroon,
  .section-light {
    padding: var(--space-xl) var(--space-md);
  }

  .explore-covers,
  .explore-book.section-dark {
    padding: var(--space-xl) var(--space-md);
  }

  .explore-block-inner {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .explore-block-inner--narrow {
    max-width: 100%;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .products-intro {
    padding: var(--space-xl) var(--space-md) var(--space-md);
  }

  .products-grid {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .collections-section {
    padding: var(--space-xl) var(--space-md);
  }

  .contact-intro {
    padding: var(--space-xl) var(--space-md) var(--space-md);
  }

  .contact-box {
    margin-left: var(--space-md);
    margin-right: var(--space-md);
  }

  .footer {
    padding: var(--space-lg) var(--space-md) var(--space-md);
  }

  .footer-content {
    margin-bottom: var(--space-lg);
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: 4.5rem;
  }

  .page-products main,
  .page-collections main,
  .page-contact main {
    padding-top: 4.5rem;
  }

  .products-overview-grid {
    max-width: 100%;
  }

  .products-grid {
    max-width: 100%;
  }

  .explore-book-cover {
    width: 220px;
  }

  .explore-covers-stack {
    width: 200px;
    height: 300px;
  }

  .explore-cover-card--back {
    width: 140px;
    top: 15px;
  }

  .explore-cover-card--front {
    width: 180px;
  }

  .explore-block-title--spaced {
    letter-spacing: 0.2em;
    word-spacing: 0.2em;
  }

  .contact-box {
    max-width: 100%;
    margin-left: var(--space-sm);
    margin-right: var(--space-sm);
    padding: var(--space-lg) var(--space-md);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    padding-top: var(--space-md);
  }
}

@media (max-width: 480px) {
  .hero-line1,
  .hero-line2 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-line3,
  .hero-line4 {
    font-size: clamp(1.1rem, 5vw, 1.35rem);
  }

  .explore-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  .explore-title-sub {
    font-size: clamp(1.3rem, 5.5vw, 1.75rem);
  }

  .explore-hero-right .explore-intro {
    font-size: 0.98rem;
  }

  .explore-book-headline {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
  }

  .collections-section-title {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .contact-intro h1 {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }

  .products-intro h1 {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }

  .logo-img--footer {
    height: 48px;
  }
}
