/* Dave Tebo | The Positive Love Poet */
/* Color System */
:root {
 --bg-primary: #F8F5F0;
 --bg-secondary: #EFE7DC;
 --text-primary: #2F3A36;
 --text-secondary: #5C6A66;
 --accent-primary: #7A9A87;
 --accent-secondary: #B08D57;
 --highlight-soft: #D8E5DC;
 --cta: #6C8A7A;
 --white: #FDFCFA;
 --shadow: rgba(47, 58, 54, 0.08);
 --shadow-md: rgba(47, 58, 54, 0.12);
 --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
 --font-body: 'Inter', 'Manrope', system-ui, sans-serif;
 --max-width: 72rem;
 --reading-width: 42rem;
 --radius: 0.5rem;
 --radius-lg: 1rem;
 --transition: 0.25s ease;
}

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

html {
 scroll-behavior: auto;
 font-size: 100%;
 overflow-x: hidden;
 scrollbar-width: none; /* Firefox */
 -ms-overflow-style: none; /* IE/Edge legacy */
}

html.lenis,
html.lenis body {
 height: auto;
}

html.lenis {
 scroll-behavior: auto !important;
}

html::-webkit-scrollbar {
 display: none; /* Chrome, Safari, Edge */
}

@media (prefers-reduced-motion: reduce) {
 html {
 scroll-behavior: auto;
 }
}

body {
 font-family: var(--font-body);
 font-size: 1.0625rem;
 line-height: 1.7;
 color: var(--text-primary);
 background-color: var(--bg-primary);
 -webkit-font-smoothing: antialiased;
 scrollbar-width: none;
 -ms-overflow-style: none;
}

body::-webkit-scrollbar {
 display: none;
}

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

a {
 color: var(--cta);
 text-decoration: none;
 transition: color var(--transition);
}

a:hover, a:focus-visible {
 color: var(--accent-secondary);
}

a:focus-visible {
 outline: 2px solid var(--accent-primary);
 outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
 font-family: var(--font-heading);
 font-weight: 600;
 line-height: 1.25;
 color: var(--text-primary);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.375rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p + p { margin-top: 1rem; }

.container {
 width: min(100% - 2rem, var(--max-width));
 margin-inline: auto;
}

.container--narrow {
 width: min(100% - 2rem, var(--reading-width));
 margin-inline: auto;
}

/* Skip link */
.skip-link {
 position: absolute;
 top: -100%;
 left: 1rem;
 background: var(--cta);
 color: var(--white);
 padding: 0.5rem 1rem;
 border-radius: var(--radius);
 z-index: 1000;
}

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

/* Header & Nav */
.site-header {
 position: sticky;
 top: 0;
 z-index: 100;
 background: rgba(248, 245, 240, 0.95);
 backdrop-filter: blur(8px);
 border-bottom: 1px solid var(--highlight-soft);
}

.header-inner {
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding: 1rem 0;
 gap: 1rem;
}

.logo {
 font-family: var(--font-heading);
 font-size: 1.5rem;
 font-weight: 600;
 color: var(--text-primary);
 letter-spacing: 0.02em;
}

.logo span {
 display: block;
 font-family: var(--font-body);
 font-size: 0.6875rem;
 font-weight: 400;
 letter-spacing: 0.15em;
 text-transform: uppercase;
 color: var(--accent-primary);
 margin-top: 0.125rem;
}

.nav-toggle {
 display: flex;
 flex-direction: column;
 gap: 5px;
 background: none;
 border: none;
 cursor: pointer;
 padding: 0.5rem;
}

.nav-toggle span {
 display: block;
 width: 24px;
 height: 2px;
 background: var(--text-primary);
 transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
 transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
 opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
 transform: rotate(-45deg) translate(5px, -5px);
}

.main-nav ul {
 list-style: none;
 display: flex;
 flex-direction: column;
 gap: 0;
}

.main-nav a {
 display: block;
 padding: 0.75rem 1rem;
 color: var(--text-primary);
 font-size: 0.9375rem;
 font-weight: 500;
}

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

.main-nav {
 position: fixed;
 top: 0;
 right: 0;
 width: min(85vw, 320px);
 height: 100vh;
 height: 100dvh;
 background: var(--bg-primary);
 padding: 5rem 1.5rem 2rem;
 box-shadow: -4px 0 24px var(--shadow-md);
 transition: transform var(--transition);
 overflow-y: auto;
 transform: translateX(100%);
 pointer-events: none;
 z-index: 101;
}

.main-nav.is-open {
 transform: translateX(0);
 pointer-events: auto;
}

.nav-overlay {
 position: fixed;
 inset: 0;
 background: rgba(47, 58, 54, 0.3);
 opacity: 0;
 visibility: hidden;
 transition: var(--transition);
 z-index: 99;
}

.nav-overlay.is-visible {
 opacity: 1;
 visibility: visible;
}

@media (min-width: 768px) {
 .nav-toggle { display: none; }

 .main-nav {
 position: static;
 width: auto;
 height: auto;
 padding: 0;
 box-shadow: none;
 background: transparent;
 overflow: visible;
 transform: none;
 pointer-events: auto;
 z-index: auto;
 }

 .main-nav ul {
 flex-direction: row;
 gap: 0.25rem;
 }

 .main-nav a {
 padding: 0.5rem 0.875rem;
 }
}

/* Hero */
.hero {
 position: relative;
 padding: 5rem 0 6rem;
 overflow: hidden;
 min-height: clamp(28rem, 65vh, 40rem);
 display: flex;
 align-items: center;
}

.hero--video {
 isolation: isolate;
}

.hero__media {
 position: absolute;
 inset: 0;
 z-index: -2;
 overflow: hidden;
 background-color: var(--bg-secondary);
}

.hero__poster,
.hero__video {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
}

.hero__poster {
 display: block;
 margin: 0;
 z-index: 0;
}

.hero__poster img {
 width: 100%;
 height: 100%;
 object-fit: cover;
}

.hero__video {
 z-index: 1;
}

.hero__overlay {
 position: absolute;
 inset: 0;
 z-index: -1;
 background:
 linear-gradient(180deg, rgba(248, 245, 240, 0.84) 0%, rgba(248, 245, 240, 0.72) 40%, rgba(239, 231, 220, 0.9) 100%),
 linear-gradient(135deg, rgba(47, 58, 54, 0.18) 0%, rgba(176, 141, 87, 0.08) 45%, transparent 70%);
 pointer-events: none;
}

.hero--video::before {
 display: none;
}

.hero.is-static .hero__video {
 display: none;
}

@media (prefers-reduced-motion: reduce) {
 .hero__video {
 display: none;
 }
}

@media (max-width: 767px) {
 .hero__video {
 display: none;
 }
}

.hero::before {
 content: '';
 position: absolute;
 inset: 0;
 background:
 radial-gradient(ellipse 80% 60% at 20% 80%, var(--highlight-soft) 0%, transparent 60%),
 radial-gradient(ellipse 60% 50% at 85% 20%, rgba(176, 141, 87, 0.12) 0%, transparent 50%),
 linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
 z-index: -1;
}

.hero__decor {
 position: absolute;
 inset: 0;
 pointer-events: none;
 z-index: 0;
 overflow: hidden;
}

.hero__decor svg {
 position: absolute;
 opacity: 0.18;
 color: var(--accent-primary);
}

.hero__decor-leaf--1 {
 top: 12%;
 right: 8%;
 width: 4.5rem;
 animation: gentle-float 8s ease-in-out infinite;
}

.hero__decor-leaf--2 {
 bottom: 18%;
 left: 5%;
 width: 3rem;
 animation: gentle-float 10s ease-in-out infinite reverse;
 animation-delay: -3s;
}

.hero__decor-leaf--3 {
 top: 35%;
 left: 12%;
 width: 2rem;
 opacity: 0.1;
 animation: gentle-float 12s ease-in-out infinite;
 animation-delay: -5s;
}

.hero .container {
 position: relative;
 z-index: 1;
}

@keyframes gentle-float {
 0%, 100% { transform: translateY(0) rotate(0deg); }
 50% { transform: translateY(-8px) rotate(3deg); }
}

@keyframes soft-pulse {
 0%, 100% { opacity: 0.15; }
 50% { opacity: 0.25; }
}

.hero__eyebrow {
 font-size: 0.8125rem;
 font-weight: 500;
 letter-spacing: 0.12em;
 text-transform: uppercase;
 color: var(--accent-primary);
 margin-bottom: 1rem;
}

.hero__title {
 max-width: 20ch;
 margin-bottom: 1.5rem;
 letter-spacing: -0.01em;
}

.hero__subtitle {
 font-size: 1.1875rem;
 color: var(--text-secondary);
 max-width: 38ch;
 margin-bottom: 2rem;
}

.hero__actions {
 display: flex;
 flex-wrap: wrap;
 gap: 1rem;
}

/* Buttons */
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 0.5rem;
 padding: 0.875rem 1.75rem;
 font-family: var(--font-body);
 font-size: 0.9375rem;
 font-weight: 500;
 border-radius: var(--radius);
 border: 2px solid transparent;
 cursor: pointer;
 transition: all var(--transition);
 text-decoration: none;
}

.btn--primary {
 background: var(--cta);
 color: var(--white);
 border-color: var(--cta);
}

.btn--primary:hover {
 background: var(--accent-primary);
 border-color: var(--accent-primary);
 color: var(--white);
}

.btn--secondary {
 background: transparent;
 color: var(--text-primary);
 border-color: var(--accent-primary);
}

.btn--secondary:hover {
 background: var(--highlight-soft);
 color: var(--text-primary);
}

.btn--ghost {
 background: transparent;
 color: var(--cta);
 border-color: transparent;
 padding-inline: 0;
}

.btn--ghost:hover {
 color: var(--accent-secondary);
}

/* Sections */
.section {
 padding: 4.5rem 0;
 position: relative;
}

.section--divider::before {
 content: '';
 position: absolute;
 top: 0;
 left: 50%;
 transform: translateX(-50%);
 width: min(100% - 2rem, 6rem);
 height: 1px;
 background: linear-gradient(90deg, transparent, var(--highlight-soft), transparent);
}

.section--alt {
 background: var(--bg-secondary);
}

/* Intro Banner */
.intro-banner {
 text-align: center;
 padding: 0.5rem 0;
}

.intro-banner__lead,
.intro-banner__body,
.intro-banner__closing {
 font-family: var(--font-heading);
 font-style: italic;
 font-weight: 400;
 line-height: 1.65;
 letter-spacing: 0.02em;
 color: var(--text-primary);
 margin-inline: auto;
}

.intro-banner__lead {
 font-size: clamp(1.375rem, 3vw, 1.875rem);
 max-width: 34ch;
}

.intro-banner__body {
 font-size: clamp(1.25rem, 2.6vw, 1.625rem);
 max-width: 38ch;
 margin-top: 1.25rem;
 color: var(--text-secondary);
}

.intro-banner__closing {
 font-size: clamp(1.125rem, 2.2vw, 1.5rem);
 max-width: 28ch;
 margin-top: 1.5rem;
 color: var(--accent-secondary);
}

.intro-banner__lead strong {
 font-weight: 600;
}

@media (min-width: 768px) {
 .section:has(.intro-banner) {
  padding: 2.75rem 0;
 }

 .intro-banner {
  max-width: 64rem;
  margin-inline: auto;
  padding: 0.75rem 0 1.25rem;
 }

 .intro-banner__lead {
  font-size: clamp(1.625rem, 2vw, 2.125rem);
  max-width: 62ch;
  line-height: 1.35;
  letter-spacing: 0.015em;
 }

 .intro-banner__body {
  font-size: clamp(1.25rem, 1.35vw, 1.5rem);
  max-width: 72ch;
  margin-top: 0.875rem;
  line-height: 1.5;
 }

 .intro-banner__closing {
  font-size: clamp(1.25rem, 1.15vw, 1.625rem);
  max-width: none;
  margin-top: 1.125rem;
  padding-top: 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
 }

 .intro-banner__closing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-secondary), transparent);
 }
}

@media (min-width: 1200px) {
 .intro-banner__lead {
  max-width: none;
 }
}

.section__header {
 text-align: center;
 margin-bottom: 3rem;
}

.section__eyebrow {
 font-size: 0.8125rem;
 font-weight: 500;
 letter-spacing: 0.12em;
 text-transform: uppercase;
 color: var(--accent-secondary);
 margin-bottom: 0.75rem;
}

.section__title {
 margin-bottom: 1rem;
}

.section__desc {
 color: var(--text-secondary);
 max-width: 40ch;
 margin-inline: auto;
}

/* Cards */
.card-grid {
 display: grid;
 gap: 1.5rem;
}

@media (min-width: 640px) {
 .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
 .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
 background: var(--white);
 border-radius: var(--radius-lg);
 padding: 2rem;
 border: 1px solid var(--highlight-soft);
 transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.card:hover {
 box-shadow: 0 12px 40px var(--shadow-md);
 transform: translateY(-3px);
 border-color: rgba(122, 154, 135, 0.35);
}

.poem-card {
 position: relative;
}

.poem-card__crown {
 position: absolute;
 top: 1.125rem;
 right: 1.25rem;
 color: #B08D57;
 opacity: 0.65;
 line-height: 0;
 pointer-events: none;
 transition: opacity var(--transition);
}

.poem-card:hover .poem-card__crown {
 opacity: 0.9;
}

.poem-card::before {
 content: '';
 position: absolute;
 top: 0;
 left: 2rem;
 right: 2rem;
 height: 3px;
 background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
 border-radius: 0 0 2px 2px;
 opacity: 0;
 transition: opacity var(--transition);
}

.poem-card:hover::before {
 opacity: 1;
}

.poem-card .card__title a::after {
 content: ' →';
 opacity: 0;
 transition: opacity var(--transition), transform var(--transition);
 display: inline-block;
 color: var(--accent-primary);
 font-family: var(--font-body);
 font-size: 0.875em;
}

.poem-card:hover .card__title a::after {
 opacity: 1;
 transform: translateX(2px);
}

.card__tag {
 display: inline-block;
 font-size: 0.75rem;
 font-weight: 500;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: var(--accent-primary);
 background: var(--highlight-soft);
 padding: 0.25rem 0.75rem;
 border-radius: 2rem;
 margin-bottom: 1rem;
}

.card__title {
 margin-bottom: 0.75rem;
}

.card__title a {
 color: inherit;
}

.card__title a:hover {
 color: var(--accent-primary);
}

.card__excerpt {
 color: var(--text-secondary);
 font-size: 0.9375rem;
 margin-bottom: 1rem;
}

.card__meta {
 font-size: 0.8125rem;
 color: var(--text-secondary);
}

/* Featured poem block */
.featured-poem {
 background: var(--white);
 border-radius: var(--radius-lg);
 padding: 3.5rem 3rem;
 border: 1px solid var(--highlight-soft);
 position: relative;
 overflow: hidden;
 max-width: 52rem;
 margin-inline: auto;
 box-shadow: 0 4px 24px var(--shadow);
}

.featured-poem::before {
 content: '"';
 position: absolute;
 top: 0.75rem;
 left: 1.5rem;
 font-family: var(--font-heading);
 font-size: 7rem;
 line-height: 1;
 color: var(--highlight-soft);
 pointer-events: none;
}

.featured-poem::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 right: 0;
 height: 4px;
 background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-primary));
 opacity: 0.6;
}

.featured-poem__label {
 font-size: 0.75rem;
 font-weight: 500;
 letter-spacing: 0.12em;
 text-transform: uppercase;
 color: var(--accent-secondary);
 margin-bottom: 1.5rem;
 text-align: center;
}

.featured-poem__text {
 font-family: var(--font-heading);
 font-size: clamp(1.375rem, 2.5vw, 1.75rem);
 font-style: italic;
 line-height: 1.65;
 color: var(--text-primary);
 position: relative;
 z-index: 1;
 margin-bottom: 1.5rem;
 text-align: center;
 max-width: 28ch;
 margin-inline: auto;
}

.featured-poem__title {
 font-family: var(--font-heading);
 font-size: clamp(1.75rem, 3vw, 2.25rem);
 font-weight: 400;
 text-align: center;
 margin-bottom: 1.25rem;
 position: relative;
 z-index: 1;
}

.featured-poem__title a {
 color: var(--text-primary);
 text-decoration: none;
 transition: color var(--transition);
}

.featured-poem__title a:hover {
 color: var(--accent-secondary);
}

.featured-poem__author {
 font-family: var(--font-body);
 font-size: 0.9375rem;
 font-weight: 500;
 color: var(--accent-secondary);
 display: block;
 text-align: center;
}

.featured-poem__context {
 font-family: var(--font-heading);
 font-size: clamp(1.125rem, 2vw, 1.375rem);
 line-height: 1.85;
 font-style: italic;
 color: var(--text-primary);
 text-align: center;
 max-width: 36ch;
 margin-inline: auto;
 margin-bottom: 1.5rem;
 position: relative;
 z-index: 1;
}

/* Testimonials */
.testimonial {
 text-align: center;
 padding: 2rem;
}

.testimonial__quote {
 font-family: var(--font-heading);
 font-size: 1.375rem;
 font-style: italic;
 line-height: 1.5;
 color: var(--text-primary);
 margin-bottom: 1.5rem;
}

.testimonial__author {
 font-size: 0.9375rem;
 font-weight: 500;
 color: var(--text-secondary);
}

.testimonial__role {
 font-size: 0.8125rem;
 color: var(--accent-primary);
}

/* Newsletter */
.newsletter {
 background: linear-gradient(135deg, var(--highlight-soft) 0%, var(--bg-secondary) 100%);
 border-radius: var(--radius-lg);
 padding: 3rem 2rem;
 text-align: center;
}

.newsletter__title {
 margin-bottom: 0.75rem;
}

.newsletter__desc {
 color: var(--text-secondary);
 margin-bottom: 1.5rem;
 max-width: 36ch;
 margin-inline: auto;
}

.newsletter__form {
 display: flex;
 flex-direction: column;
 gap: 0.75rem;
 max-width: 28rem;
 margin-inline: auto;
}

@media (min-width: 480px) {
 .newsletter__form {
 flex-direction: row;
 }
}

.newsletter__input {
 flex: 1;
 padding: 0.875rem 1.25rem;
 font-family: var(--font-body);
 font-size: 1rem;
 border: 1px solid var(--highlight-soft);
 border-radius: var(--radius);
 background: var(--white);
 color: var(--text-primary);
}

.newsletter__input:focus {
 outline: 2px solid var(--accent-primary);
 outline-offset: 0;
 border-color: var(--accent-primary);
}

.newsletter__input::placeholder,
.poem-paywall__input::placeholder {
 color: var(--text-secondary);
 opacity: 0.5;
}

.newsletter__success {
 display: none;
 margin-top: 1rem;
 padding: 1rem;
 background: var(--white);
 border-radius: var(--radius);
 color: var(--cta);
 font-weight: 500;
}

.newsletter__success.is-visible {
 display: block;
}

.newsletter__success .discount-code,
.poem-paywall__success .discount-code {
 color: var(--accent-primary);
 font-size: 1.125em;
 letter-spacing: 0.05em;
}

.newsletter__success a,
.poem-paywall__success a {
 color: var(--accent-primary);
 font-weight: 600;
}

/* Poem page */
.poem-header {
 text-align: center;
 padding: 3rem 0 1.5rem;
}

.poem-intro {
 font-size: 1rem;
 line-height: 1.75;
 color: var(--text-secondary);
 text-align: center;
 padding: 0 0 2rem;
 margin-bottom: 0.5rem;
 border-bottom: 1px solid var(--highlight-soft);
 max-width: 36rem;
 margin-inline: auto;
}

.poem-intro p + p {
 margin-top: 0.875rem;
}

.poem-header__category {
 font-size: 0.8125rem;
 font-weight: 500;
 letter-spacing: 0.1em;
 text-transform: uppercase;
 color: var(--accent-primary);
 margin-bottom: 1rem;
}

.poem-body {
 font-family: var(--font-heading);
 font-size: clamp(1.125rem, 2vw, 1.375rem);
 line-height: 2;
 white-space: pre-line;
 text-align: center;
 padding: 2rem 0 3rem;
}

.poem-body .stanza {
 margin-bottom: 2rem;
}

/* Poem paywall */
.poem-paywall {
 position: relative;
}

.poem-paywall__preview-wrap {
 position: relative;
 padding-bottom: 13rem;
 overflow: hidden;
}

.poem-paywall__preview {
 -webkit-mask-image: linear-gradient(
 to bottom,
 #000 0%,
 #000 50%,
 rgba(0, 0, 0, 0.6) 72%,
 transparent 100%
 );
 mask-image: linear-gradient(
 to bottom,
 #000 0%,
 #000 50%,
 rgba(0, 0, 0, 0.6) 72%,
 transparent 100%
 );
}

.poem-paywall__fade {
 position: absolute;
 left: 0;
 right: 0;
 bottom: 0;
 height: 16rem;
 background: linear-gradient(
 to bottom,
 rgba(248, 245, 240, 0) 0%,
 rgba(248, 245, 240, 0.45) 28%,
 rgba(248, 245, 240, 0.82) 55%,
 rgba(248, 245, 240, 0.97) 78%,
 var(--bg-primary) 100%
 );
 backdrop-filter: blur(5px);
 -webkit-backdrop-filter: blur(5px);
 pointer-events: none;
 z-index: 1;
}

.poem-paywall__gate {
 position: absolute;
 left: 0;
 right: 0;
 bottom: 0;
 z-index: 2;
 padding: 0 1rem 0.5rem;
 text-align: center;
 max-width: 100%;
}

.poem-paywall__eyebrow {
 font-size: 0.6875rem;
 font-weight: 500;
 letter-spacing: 0.14em;
 text-transform: uppercase;
 color: var(--accent-secondary);
 margin-bottom: 0.5rem;
 opacity: 0.85;
}

.poem-paywall__title {
 font-family: var(--font-heading);
 font-size: clamp(1.25rem, 2.5vw, 1.5rem);
 margin-bottom: 0.5rem;
 color: var(--text-primary);
 font-weight: 400;
}

.poem-paywall__desc {
 font-size: 0.875rem;
 line-height: 1.6;
 color: var(--text-secondary);
 margin-bottom: 0.75rem;
 max-width: 32ch;
 margin-inline: auto;
}

.poem-paywall__offer {
 font-size: 0.8125rem;
 line-height: 1.5;
 color: var(--text-secondary);
 margin-bottom: 1rem;
 max-width: 32ch;
 margin-inline: auto;
}

.poem-paywall__offer strong {
 color: #B08D57;
 font-weight: 600;
}

.poem-paywall__form {
 display: flex;
 flex-direction: column;
 gap: 0.625rem;
 max-width: 24rem;
 margin-inline: auto;
}

@media (min-width: 480px) {
 .poem-paywall__form {
 flex-direction: row;
 align-items: stretch;
 }
}

@media (max-width: 767px) {
 .poem-paywall__preview-wrap {
 padding-bottom: 20rem;
 }

 .poem-paywall__preview {
 -webkit-mask-image: linear-gradient(
 to bottom,
 #000 0%,
 #000 38%,
 rgba(0, 0, 0, 0.55) 58%,
 transparent 88%
 );
 mask-image: linear-gradient(
 to bottom,
 #000 0%,
 #000 38%,
 rgba(0, 0, 0, 0.55) 58%,
 transparent 88%
 );
 }

 .poem-paywall__fade {
 height: 22rem;
 background: linear-gradient(
 to bottom,
 rgba(248, 245, 240, 0) 0%,
 rgba(248, 245, 240, 0.5) 22%,
 rgba(248, 245, 240, 0.88) 48%,
 rgba(248, 245, 240, 0.98) 72%,
 var(--bg-primary) 100%
 );
 }

 .poem-paywall__gate {
 padding-top: 2.5rem;
 }
}

@media (min-width: 768px) {
 .poem-paywall__preview-wrap {
 padding-bottom: 14rem;
 }

 .poem-paywall__fade {
 height: 18rem;
 }

 .poem-paywall__gate {
 padding-inline: 1.5rem;
 }

 .poem-paywall__desc,
 .poem-paywall__offer {
 max-width: 44ch;
 }

 .poem-paywall__form {
 max-width: 36rem;
 }

 .poem-paywall__title {
 font-size: clamp(1.375rem, 2.5vw, 1.75rem);
 }
}

.poem-paywall__input {
 text-align: left;
 flex: 1;
}

.poem-paywall__success {
 display: none;
 margin-top: 0.75rem;
 color: var(--cta);
 font-weight: 500;
 font-size: 0.875rem;
}

.poem-paywall__success.is-visible {
 display: block;
}

.poem-paywall__remainder {
 padding-top: 0;
}

.poem-paywall.is-unlocked .poem-paywall__fade,
.poem-paywall.is-unlocked .poem-paywall__gate {
 display: none;
}

.poem-paywall.is-unlocked .poem-paywall__remainder {
 display: block;
}

.poem-paywall.is-unlocked .poem-paywall__preview-wrap {
 padding-bottom: 0;
}

.poem-access.is-unlocked .poem-body {
 display: block;
}

.poem-footer {
 border-top: 1px solid var(--highlight-soft);
 padding-top: 2rem;
 margin-top: 2rem;
}

/* Breadcrumbs */
.breadcrumbs {
 font-size: 0.8125rem;
 color: var(--text-secondary);
 padding: 1rem 0;
}

.breadcrumbs ol {
 list-style: none;
 display: flex;
 flex-wrap: wrap;
 gap: 0.25rem;
}

.breadcrumbs li:not(:last-child)::after {
 content: '/';
 margin-left: 0.25rem;
 color: var(--accent-primary);
}

.breadcrumbs a {
 color: var(--text-secondary);
}

.breadcrumbs a:hover {
 color: var(--cta);
}

/* Filter & Search */
.filter-bar {
 display: flex;
 flex-direction: column;
 gap: 1rem;
 margin-bottom: 2rem;
}

@media (min-width: 640px) {
 .filter-bar {
 flex-direction: row;
 align-items: center;
 justify-content: space-between;
 }
}

.search-input {
 width: 100%;
 max-width: 20rem;
 padding: 0.75rem 1rem 0.75rem 2.5rem;
 font-family: var(--font-body);
 font-size: 0.9375rem;
 border: 1px solid var(--highlight-soft);
 border-radius: var(--radius);
 background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%235C6A66' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242 1.156a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E") no-repeat 0.875rem center;
}

.search-input:focus {
 outline: 2px solid var(--accent-primary);
 border-color: var(--accent-primary);
}

.filter-tags {
 display: flex;
 flex-wrap: wrap;
 gap: 0.5rem;
}

.filter-tag {
 padding: 0.5rem 1rem;
 font-family: var(--font-body);
 font-size: 0.8125rem;
 font-weight: 500;
 border: 1px solid var(--highlight-soft);
 border-radius: 2rem;
 background: var(--white);
 color: var(--text-secondary);
 cursor: pointer;
 transition: all var(--transition);
}

.filter-tag:hover,
.filter-tag.is-active {
 background: var(--accent-primary);
 border-color: var(--accent-primary);
 color: var(--white);
}

.poem-card.is-hidden {
 display: none;
}

.no-results {
 display: none;
 text-align: center;
 padding: 3rem;
 color: var(--text-secondary);
}

.no-results.is-visible {
 display: block;
}

/* About page */
.about-hero {
 display: grid;
 gap: 3rem;
 align-items: center;
}

@media (min-width: 768px) {
 .about-hero {
 grid-template-columns: 1fr 1.2fr;
 }
}

.about-portrait {
 aspect-ratio: 4/5;
 background: linear-gradient(145deg, var(--highlight-soft) 0%, var(--bg-secondary) 50%, rgba(176, 141, 87, 0.2) 100%);
 border-radius: var(--radius-lg);
 display: flex;
 align-items: center;
 justify-content: center;
 position: relative;
 overflow: hidden;
}

.about-portrait__image {
 position: absolute;
 inset: 0;
 margin: 0;
}

.about-portrait__image img {
 width: 100%;
 height: 100%;
 object-fit: cover;
}

.about-portrait__image::after {
 content: '';
 position: absolute;
 inset: 0;
 background: linear-gradient(180deg, rgba(248, 245, 240, 0.1) 0%, rgba(248, 245, 240, 0.35) 100%);
 z-index: 1;
}

.about-portrait::before {
 display: none;
}

.about-portrait__initials {
 font-family: var(--font-heading);
 font-size: 4rem;
 color: var(--white);
 opacity: 0.85;
 position: relative;
 z-index: 2;
 text-shadow: 0 2px 12px rgba(47, 58, 54, 0.35);
}

.content-block {
 margin-bottom: 3rem;
}

.content-block h2 {
 margin-bottom: 1rem;
}

.content-block p {
 color: var(--text-secondary);
}

/* Books */
.book-card {
 display: grid;
 gap: 2rem;
 background: var(--white);
 border-radius: var(--radius-lg);
 padding: 2rem;
 border: 1px solid var(--highlight-soft);
 margin-bottom: 2rem;
 transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.book-card:hover {
 box-shadow: 0 12px 40px var(--shadow-md);
 transform: translateY(-2px);
 border-color: rgba(122, 154, 135, 0.3);
}

@media (min-width: 640px) {
 .book-card {
 grid-template-columns: 200px 1fr;
 }
}

.book-cover {
 aspect-ratio: 2/3;
 background: linear-gradient(160deg, var(--accent-primary) 0%, var(--cta) 100%);
 border-radius: var(--radius);
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 padding: 1.5rem;
 text-align: center;
 box-shadow: 4px 8px 24px var(--shadow-md);
 transition: transform var(--transition), box-shadow var(--transition);
}

.book-card:hover .book-cover {
 transform: scale(1.02) rotate(-0.5deg);
 box-shadow: 6px 12px 32px var(--shadow-md);
}

.book-cover__title {
 font-family: var(--font-heading);
 font-size: 1.25rem;
 color: var(--white);
 margin-bottom: 0.5rem;
}

.book-cover__author {
 font-size: 0.75rem;
 color: rgba(255, 255, 255, 0.8);
 letter-spacing: 0.1em;
 text-transform: uppercase;
}

.book-details h3 {
 margin-bottom: 0.5rem;
}

.book-details__meta {
 font-size: 0.875rem;
 color: var(--accent-secondary);
 margin-bottom: 1rem;
}

.book-details p {
 color: var(--text-secondary);
 margin-bottom: 1rem;
}

.book-actions {
 display: flex;
 flex-wrap: wrap;
 gap: 0.75rem;
}

.book-review {
 margin-top: 1.5rem;
 padding-top: 1.5rem;
 border-top: 1px solid var(--highlight-soft);
 font-style: italic;
 color: var(--text-secondary);
 font-size: 0.9375rem;
}

.book-sample {
 margin-top: 2rem;
 padding-top: 2rem;
 border-top: 1px solid var(--highlight-soft);
}

.book-sample__label {
 font-size: 0.6875rem;
 font-weight: 500;
 letter-spacing: 0.14em;
 text-transform: uppercase;
 color: var(--accent-secondary);
 margin-bottom: 1rem;
}

.book-sample__excerpt {
 font-family: var(--font-heading);
 font-size: clamp(1rem, 2vw, 1.1875rem);
 line-height: 1.85;
 white-space: pre-line;
 color: var(--text-primary);
 text-align: center;
 margin-bottom: 0.75rem;
 padding: 0;
 border: none;
}

.book-sample__cite {
 font-size: 0.8125rem;
 color: var(--text-secondary);
 text-align: center;
 margin-bottom: 1.5rem;
}

.book-sample__cite a {
 color: var(--text-secondary);
}

.book-sample__cite a:hover {
 color: var(--cta);
}

.book-sample__cta {
 text-align: center;
 padding-top: 1.25rem;
 border-top: 1px solid var(--highlight-soft);
}

.book-sample__cta-text {
 font-size: 0.9375rem;
 line-height: 1.65;
 color: var(--text-secondary);
 max-width: 40ch;
 margin-inline: auto;
 margin-bottom: 1rem;
}

.book-sample__actions {
 display: flex;
 flex-wrap: wrap;
 gap: 0.75rem;
 justify-content: center;
}

.poem-book-cta {
 margin-top: 3rem;
 padding-top: 2rem;
 border-top: 1px solid var(--highlight-soft);
}

.poem-book-cta .book-sample__cta {
 border-top: none;
 padding-top: 0;
}

/* Media */
.media-grid {
 display: grid;
 gap: 1.5rem;
}

@media (min-width: 640px) {
 .media-grid { grid-template-columns: repeat(2, 1fr); }
}

.media-item {
 background: var(--white);
 border-radius: var(--radius-lg);
 overflow: hidden;
 border: 1px solid var(--highlight-soft);
 transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.media-item:hover {
 box-shadow: 0 8px 32px var(--shadow);
 transform: translateY(-2px);
 border-color: rgba(122, 154, 135, 0.3);
}

.media-item:hover .media-item__play {
 transform: scale(1.08);
}

.media-item__thumb {
 aspect-ratio: 16/9;
 background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--highlight-soft) 100%);
 display: flex;
 align-items: center;
 justify-content: center;
 position: relative;
}

.media-item__play {
 width: 56px;
 height: 56px;
 background: var(--white);
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 box-shadow: 0 4px 16px var(--shadow-md);
 transition: transform var(--transition);
}

.media-item__play svg {
 width: 20px;
 height: 20px;
 fill: var(--cta);
 margin-left: 3px;
}

.media-item__body {
 padding: 1.5rem;
}

.media-item__type {
 font-size: 0.75rem;
 font-weight: 500;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: var(--accent-primary);
 margin-bottom: 0.5rem;
}

.media-item__title {
 margin-bottom: 0.5rem;
}

.media-item__desc {
 font-size: 0.9375rem;
 color: var(--text-secondary);
}

/* Contact form */
.contact-grid {
 display: grid;
 gap: 3rem;
}

@media (min-width: 768px) {
 .contact-grid {
 grid-template-columns: 1fr 1.2fr;
 }
}

.form-group {
 margin-bottom: 1.25rem;
}

.form-group label {
 display: block;
 font-size: 0.875rem;
 font-weight: 500;
 margin-bottom: 0.375rem;
 color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
 width: 100%;
 padding: 0.875rem 1rem;
 font-family: var(--font-body);
 font-size: 1rem;
 border: 1px solid var(--highlight-soft);
 border-radius: var(--radius);
 background: var(--white);
 color: var(--text-primary);
}

.form-group textarea {
 min-height: 150px;
 resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
 outline: 2px solid var(--accent-primary);
 border-color: var(--accent-primary);
}

.form-success {
 display: none;
 padding: 1.5rem;
 background: var(--highlight-soft);
 border-radius: var(--radius-lg);
 text-align: center;
 color: var(--cta);
 font-weight: 500;
}

.form-success.is-visible {
 display: block;
}

.contact-info {
 padding: 2rem;
 background: var(--bg-secondary);
 border-radius: var(--radius-lg);
}

.contact-info h3 {
 margin-bottom: 1rem;
}

.contact-info p {
 color: var(--text-secondary);
 margin-bottom: 1rem;
}

.contact-info__item {
 display: flex;
 align-items: flex-start;
 gap: 0.75rem;
 margin-bottom: 1rem;
}

.contact-info__icon {
 flex-shrink: 0;
 width: 24px;
 height: 24px;
 color: var(--accent-primary);
}

/* FAQ */
.faq {
 max-width: var(--reading-width);
 margin-inline: auto;
}

.faq-item {
 border-bottom: 1px solid var(--highlight-soft);
}

.faq-item summary {
 padding: 1.25rem 0;
 font-family: var(--font-heading);
 font-size: 1.125rem;
 font-weight: 600;
 cursor: pointer;
 list-style: none;
 display: flex;
 justify-content: space-between;
 align-items: center;
}

.faq-item summary::-webkit-details-marker {
 display: none;
}

.faq-item summary::after {
 content: '+';
 font-size: 1.25rem;
 color: var(--accent-primary);
 transition: transform var(--transition);
}

.faq-item[open] summary::after {
 transform: rotate(45deg);
}

.faq-item__answer {
 padding-bottom: 1.25rem;
 color: var(--text-secondary);
}

/* Blog */
.blog-post-header {
 text-align: center;
 padding: 3rem 0 2rem;
 max-width: var(--reading-width);
 margin-inline: auto;
}

.blog-post-header__meta {
 font-size: 0.875rem;
 color: var(--accent-secondary);
 margin-bottom: 1rem;
}

.blog-content {
 max-width: var(--reading-width);
 margin-inline: auto;
}

.blog-content h2 {
 margin: 2rem 0 1rem;
}

.blog-content p {
 color: var(--text-secondary);
 margin-bottom: 1rem;
}

.blog-content blockquote {
 border-left: 3px solid var(--accent-primary);
 padding-left: 1.5rem;
 margin: 2rem 0;
 font-family: var(--font-heading);
 font-size: 1.25rem;
 font-style: italic;
 color: var(--text-primary);
}

/* Related links */
.related-links {
 margin-top: 3rem;
 padding-top: 2rem;
 border-top: 1px solid var(--highlight-soft);
}

.related-links h3 {
 margin-bottom: 1rem;
 font-size: 1.125rem;
}

.related-links ul {
 list-style: none;
 display: flex;
 flex-direction: column;
 gap: 0.5rem;
}

.related-links a {
 font-size: 0.9375rem;
}

/* Footer */
.site-footer {
 background: var(--bg-secondary);
 padding: 4rem 0 2rem;
 margin-top: 4rem;
}

.site-footer--roses {
 position: relative;
 overflow: hidden;
 isolation: isolate;
}

.site-footer--roses::before {
 content: '';
 position: absolute;
 inset: 0;
 z-index: -1;
 opacity: 0.1;
 background-image: image-set(
 url("../assets/images/roses-panoramic.avif") type("image/avif"),
 url("../assets/images/roses-panoramic.webp") type("image/webp"),
 url("../assets/images/roses-panoramic.jpg") type("image/jpeg")
 );
 background-size: cover;
 background-position: center;
}

.site-footer--roses > .container {
 position: relative;
 z-index: 1;
}

/* Page banner backgrounds */
.page-banner {
 position: relative;
 padding: 3.5rem 0 3rem;
 overflow: hidden;
 isolation: isolate;
}

.page-banner__overlay {
 position: absolute;
 inset: 0;
 z-index: -1;
 background:
 linear-gradient(180deg, rgba(248, 245, 240, 0.88) 0%, rgba(239, 231, 220, 0.92) 100%),
 linear-gradient(135deg, rgba(47, 58, 54, 0.12) 0%, transparent 60%);
 pointer-events: none;
}

.page-banner--panoramic::before {
 content: '';
 position: absolute;
 inset: 0;
 z-index: -2;
 background-image: image-set(
 url("../assets/images/roses-panoramic.avif") type("image/avif"),
 url("../assets/images/roses-panoramic.webp") type("image/webp"),
 url("../assets/images/roses-panoramic.jpg") type("image/jpeg")
 );
 background-size: cover;
 background-position: center;
}

.page-banner .section__header {
 margin-bottom: 0;
}

.footer-grid {
 display: grid;
 gap: 2rem;
 margin-bottom: 3rem;
}

@media (min-width: 640px) {
 .footer-grid {
 grid-template-columns: 2fr 1fr 1fr 1fr;
 }
}

.footer-brand .logo {
 margin-bottom: 1rem;
}

.footer-brand p {
 font-size: 0.9375rem;
 color: var(--text-secondary);
 max-width: 28ch;
}

.footer-nav h4 {
 font-family: var(--font-body);
 font-size: 0.8125rem;
 font-weight: 600;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: var(--text-primary);
 margin-bottom: 1rem;
}

.footer-nav ul {
 list-style: none;
}

.footer-nav li {
 margin-bottom: 0.5rem;
}

.footer-nav a {
 font-size: 0.9375rem;
 color: var(--text-secondary);
}

.footer-nav a:hover {
 color: var(--cta);
}

.footer-bottom {
 padding-top: 2rem;
 border-top: 1px solid var(--highlight-soft);
 display: flex;
 flex-direction: column;
 gap: 0.5rem;
 text-align: center;
 font-size: 0.8125rem;
 color: var(--text-secondary);
}

@media (min-width: 640px) {
 .footer-bottom {
 flex-direction: row;
 justify-content: space-between;
 text-align: left;
 }
}

/* Decorative leaf SVG inline usage */
.leaf-divider {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 1rem;
 margin: 2rem 0;
 color: var(--accent-primary);
 opacity: 0.5;
}

.leaf-divider::before,
.leaf-divider::after {
 content: '';
 flex: 1;
 max-width: 80px;
 height: 1px;
 background: var(--highlight-soft);
}

/* CTA Banner */
.cta-banner {
 text-align: center;
 padding: 4rem 2rem;
 background: linear-gradient(135deg, var(--cta) 0%, var(--accent-primary) 100%);
 border-radius: var(--radius-lg);
 color: var(--white);
}

.cta-banner h2 {
 color: var(--white);
 margin-bottom: 1rem;
}

.cta-banner p {
 opacity: 0.9;
 margin-bottom: 1.5rem;
 max-width: 40ch;
 margin-inline: auto;
}

.cta-banner .btn--secondary {
 border-color: var(--white);
 color: var(--white);
}

.cta-banner .btn--secondary:hover {
 background: var(--white);
 color: var(--cta);
}

/* Philosophy callout */
.philosophy-callout {
 background: var(--white);
 border-radius: var(--radius-lg);
 padding: 2.5rem 2rem;
 border: 1px solid var(--highlight-soft);
 margin-bottom: 3rem;
 position: relative;
 overflow: hidden;
}

.philosophy-callout::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 bottom: 0;
 width: 4px;
 background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
}

.philosophy-callout h2 {
 font-size: clamp(1.375rem, 2.5vw, 1.625rem);
 margin-bottom: 1rem;
}

.philosophy-callout p {
 color: var(--text-secondary);
}

.philosophy-list {
 list-style: none;
 margin-top: 1.25rem;
 display: flex;
 flex-direction: column;
 gap: 0.75rem;
}

.philosophy-list li {
 padding-left: 1.5rem;
 position: relative;
 color: var(--text-secondary);
 font-size: 0.9375rem;
}

.philosophy-list li::before {
 content: '';
 position: absolute;
 left: 0;
 top: 0.55em;
 width: 6px;
 height: 6px;
 border-radius: 50%;
 background: var(--accent-primary);
}

/* Category intro blocks */
.category-intro {
 display: grid;
 gap: 1rem;
 margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
 .category-intro {
 grid-template-columns: repeat(3, 1fr);
 gap: 1.5rem;
 }
}

.category-intro__item {
 background: var(--white);
 border-radius: var(--radius);
 padding: 1.25rem 1.5rem;
 border: 1px solid var(--highlight-soft);
 font-size: 0.9375rem;
 color: var(--text-secondary);
 transition: border-color var(--transition);
}

.category-intro__item:hover {
 border-color: rgba(122, 154, 135, 0.4);
}

.category-intro__item strong {
 display: block;
 font-family: var(--font-heading);
 font-size: 1.0625rem;
 color: var(--text-primary);
 margin-bottom: 0.375rem;
}

/* Testimonial enhancement */
.testimonial {
 position: relative;
}

.testimonial::before {
 content: '"';
 position: absolute;
 top: 0.5rem;
 left: 1.25rem;
 font-family: var(--font-heading);
 font-size: 3rem;
 line-height: 1;
 color: var(--highlight-soft);
 pointer-events: none;
}

.books-intro {
 color: var(--text-secondary);
 text-align: center;
 margin-bottom: 2rem;
 max-width: 42rem;
 margin-inline: auto;
}

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.sr-only {
 position: absolute;
 width: 1px;
 height: 1px;
 padding: 0;
 margin: -1px;
 overflow: hidden;
 clip: rect(0, 0, 0, 0);
 border: 0;
}
