:root {
  --bg: #f4f7fd;
  --surface: rgba(255, 255, 255, 0.82);
  --line: rgba(31, 78, 169, 0.12);
  --line-strong: rgba(31, 78, 169, 0.22);
  --text: #14213d;
  --muted: #53627f;
  --primary: #2457c5;
  --primary-deep: #173a86;
  --accent: #7db6ff;
  --shadow: 0 18px 60px rgba(19, 44, 96, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(115, 177, 255, 0.28), transparent 28%),
    radial-gradient(circle at top right, rgba(49, 112, 219, 0.22), transparent 30%),
    linear-gradient(180deg, #fdfefe 0%, #f4f7fd 45%, #edf3ff 100%);
  min-height: 100vh;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  width: 34vw;
  height: 34vw;
  filter: blur(8px);
  opacity: 0.65;
}

body::before {
  top: 8rem;
  left: -8vw;
  background:
    radial-gradient(circle at 50% 50%, rgba(79, 149, 255, 0.18), transparent 55%),
    radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.9), transparent 64%);
}

body::after {
  bottom: 3rem;
  right: -10vw;
  background:
    radial-gradient(circle at 50% 50%, rgba(36, 87, 197, 0.16), transparent 56%),
    radial-gradient(circle at 40% 60%, rgba(125, 182, 255, 0.3), transparent 64%);
}

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

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

.page-shell {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-deep);
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.86rem;
  color: var(--muted);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-nav a {
  color: var(--muted);
  font-size: 0.96rem;
}

.top-nav a:hover,
.top-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--primary-deep);
}

.nav-cta {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.8);
}

.nav-cta.button-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  box-shadow: 0 14px 28px rgba(36, 87, 197, 0.24);
}

.hero,
.section,
.site-footer {
  position: relative;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0 3rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.35)),
    radial-gradient(circle at right center, rgba(94, 157, 255, 0.18), transparent 28%);
  box-shadow: var(--shadow);
  z-index: -1;
}

.hero-author,
.hero-book {
  padding-inline: clamp(1.25rem, 3vw, 3rem);
  min-height: 560px;
}

.hero-author h1 {
  font-size: clamp(2rem, 3.8vw, 3.55rem);
  white-space: nowrap;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.73rem;
  font-weight: 800;
  color: var(--primary);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.35rem, 4.2vw, 4rem);
  line-height: 0.92;
  margin-top: 0.8rem;
}

h2 {
  font-size: clamp(2.4rem, 4vw, 3.45rem);
  line-height: 0.96;
}

h3 {
  font-size: 1.8rem;
}

.hero-lead,
.hero-body,
.section-heading p,
.product-summary,
.card p,
.site-footer,
.book-author,
.rating-line {
  color: var(--muted);
}

.hero-lead {
  font-size: 1.3rem;
  margin: 1rem 0 0.7rem;
  max-width: 36rem;
}

.hero-body {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 38rem;
}

.cta-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  box-shadow: 0 14px 28px rgba(36, 87, 197, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.68);
  color: var(--primary-deep);
  border-color: var(--line-strong);
}

.button-ghost {
  background: transparent;
  color: var(--primary-deep);
  border-color: var(--line-strong);
}

.social-proof,
.rating-line {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.stars,
.review-stars {
  color: #f4a81c;
  letter-spacing: 0.14em;
  font-weight: 800;
}

.hero-book-spotlight,
.product-shot {
  position: relative;
  display: grid;
  place-items: center;
}

.book-halo {
  position: absolute;
  width: min(32rem, 88%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(128, 181, 255, 0.24) 0%, rgba(128, 181, 255, 0.08) 36%, transparent 70%);
}

.book-cover {
  width: min(24rem, 78%);
  filter: drop-shadow(0 28px 40px rgba(19, 44, 96, 0.18));
}

.book-cover.large {
  width: min(28rem, 100%);
}

.hero-cover {
  transform: rotate(-4deg);
}

.floating-note {
  position: absolute;
  right: 0;
  bottom: 12%;
  display: grid;
  gap: 0.3rem;
  width: min(17rem, 60%);
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.floating-note strong {
  font-size: 1rem;
}

.floating-note span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.section {
  padding: 2rem 0 1rem;
}

.section-heading {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.6rem;
}

.section-heading.centered {
  text-align: center;
  justify-items: center;
}

.section-heading p {
  max-width: 44rem;
  line-height: 1.7;
  margin: 0;
}

.about-grid,
.product-card,
.author-mini {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.5rem;
  align-items: center;
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.portrait-frame,
.about-copy,
.product-card,
.review-card,
.info-card,
.instagram-panel,
.bullet-card,
.long-review,
.excerpt-card,
.final-cta {
  padding: clamp(1.2rem, 2vw, 2rem);
}

.portrait-frame {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top, rgba(125, 182, 255, 0.2), transparent 44%),
    rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.author-portrait {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 4px);
}

.author-portrait.compact {
  width: min(14rem, 100%);
}

.about-copy p,
.product-copy p,
.info-card p,
.bullet-card p,
.long-review p,
.excerpt-card p {
  line-height: 1.8;
  margin: 0 0 1rem;
}

.product-card {
  grid-template-columns: 0.8fr 1.2fr;
}

.product-copy {
  display: grid;
  gap: 1rem;
}

.excerpt-launcher-kicker {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--primary);
}

.book-modal[hidden] {
  display: none;
}

.book-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
}

.book-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 19, 47, 0.62);
  backdrop-filter: blur(8px);
}

.book-modal-dialog {
  position: relative;
  --book-ratio: 0.647;
  width: min(calc((100vh - 3rem) * var(--book-ratio)), calc(100vw - 3rem));
  height: min(calc((100vw - 3rem) / var(--book-ratio)), calc(100vh - 3rem));
  margin: 1.5rem auto;
  padding: 0.85rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(252, 253, 255, 0.98), rgba(241, 246, 255, 0.97));
  box-shadow: 0 30px 90px rgba(6, 22, 52, 0.35);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.book-modal-header {
  margin-bottom: 0.45rem;
  padding-right: 3rem;
}

.book-modal-header h3 {
  font-size: 1.5rem;
}

.book-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(25, 58, 134, 0.08);
  color: var(--primary-deep);
  font-size: 1.8rem;
  cursor: pointer;
}

.book-flipbook {
  position: relative;
  min-height: 0;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #f8f8f5;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.book-page {
  display: none;
  position: relative;
  min-height: 0;
  height: 100%;
  padding: 1.7rem 1.8rem;
  background: #fbfbf8;
  color: #151515;
  font-family: "Cormorant Garamond", Georgia, serif;
  animation: pageFade 220ms ease;
}

.book-page.is-visible {
  display: block;
}

.book-page-meta {
  display: grid;
  place-items: center;
  text-align: center;
}

.book-page-meta-inner {
  width: min(100%, 23rem);
  display: grid;
  gap: 0.7rem;
  justify-items: center;
}

.book-page-label {
  margin: 0;
  font-size: 0.96rem;
  font-style: italic;
}

.book-page-title {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 700;
}

.book-page-copy,
.book-page-isbn,
.book-page-legal {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.38;
}

.book-page-isbn {
  margin-top: 0.75rem;
}

.book-page-legal {
  margin-top: 0.8rem;
  text-align: center;
}

.book-page-heading {
  text-align: center;
  margin-top: 1rem;
}

.book-page-title-sheet {
  display: none;
  place-items: center;
}

.book-page-title-sheet.is-visible {
  display: grid;
}

.book-page-author {
  margin: 0;
  font-size: 1.4rem;
}

.book-page-rule {
  width: min(100%, 22rem);
  height: 1px;
  margin: 0.9rem auto 1.4rem;
  background: rgba(0, 0, 0, 0.1);
}

.book-page-excerpt h3 {
  font-size: 1.75rem;
  line-height: 1.02;
  margin-bottom: 0.8rem;
}

.book-excerpt-text-continuation {
  padding-top: 0.7rem;
}

.book-excerpt-text {
  display: grid;
  gap: 0.55rem;
}

.book-excerpt-text p {
  margin: 0;
  color: #111;
  font-size: 0.82rem;
  line-height: 1.28;
  text-align: justify;
}

.book-page-excerpt .book-excerpt-text p {
  font-size: 0.92rem;
  line-height: 1.34;
}

.book-excerpt-echo {
  text-align: center !important;
  white-space: pre-line;
  letter-spacing: 0.01em;
  margin: 0.25rem 0 !important;
}

.book-page-teaser {
  overflow: hidden;
}

.book-page-teaser-bg {
  position: absolute;
  inset: 1.7rem 1.8rem;
  display: grid;
  gap: 1rem;
  color: rgba(17, 17, 17, 0.45);
  filter: blur(4px);
  opacity: 0.9;
}

.book-page-teaser-bg p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: justify;
}

.book-page-teaser-overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.8rem;
  text-align: center;
  padding: 2rem;
  background: rgba(251, 251, 248, 0.58);
}

.book-page-teaser-kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--primary);
}

.book-page-teaser h3 {
  font-size: 1.95rem;
  line-height: 1;
}

.book-page-teaser-copy {
  margin: 0;
  max-width: 24rem;
  color: #32445f;
  font-size: 0.94rem;
  line-height: 1.45;
}

.page-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  opacity: 0.35;
}

.page-corner-top-left {
  top: 1.35rem;
  left: 1.35rem;
  border-top: 1px solid #5f6c84;
  border-left: 1px solid #5f6c84;
}

.page-corner-top-right {
  top: 1.35rem;
  right: 1.35rem;
  border-top: 1px solid #5f6c84;
  border-right: 1px solid #5f6c84;
}

.page-corner-bottom-left {
  left: 1.35rem;
  bottom: 1.35rem;
  border-bottom: 1px solid #5f6c84;
  border-left: 1px solid #5f6c84;
}

.page-corner-bottom-right {
  right: 1.35rem;
  bottom: 1.35rem;
  border-bottom: 1px solid #5f6c84;
  border-right: 1px solid #5f6c84;
}

.book-modal-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
}

.book-modal-status {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

@keyframes pageFade {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.tag-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(36, 87, 197, 0.08);
  color: var(--primary-deep);
  font-size: 0.88rem;
  font-weight: 700;
}

.review-grid,
.universe-grid,
.bullet-grid,
.long-review-grid {
  display: grid;
  gap: 1.15rem;
}

.review-grid,
.universe-grid,
.bullet-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card {
  min-height: 220px;
  display: grid;
  gap: 0.8rem;
  align-content: space-between;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(236, 243, 255, 0.88));
  border: 1px solid var(--line);
}

.review-visual {
  position: relative;
  overflow: hidden;
}

.review-visual::after {
  content: "";
  position: absolute;
  inset: auto -10% -18% auto;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 182, 255, 0.18), transparent 68%);
}

.review-card p {
  margin: 0;
}

.info-card,
.bullet-card {
  min-height: 220px;
}

.instagram-panel {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(18, 39, 87, 0.95), rgba(11, 24, 56, 0.98)),
    rgba(15, 32, 73, 0.96);
  box-shadow: var(--shadow);
  color: #eef5ff;
}

.instagram-panel .eyebrow,
.instagram-panel .section-heading p {
  color: rgba(236, 244, 255, 0.8);
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.6rem 0;
}

.insta-tile {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 20px;
  border: 1px solid rgba(160, 196, 255, 0.22);
  background:
    radial-gradient(circle at top, rgba(125, 182, 255, 0.3), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
}

.insta-post {
  overflow: hidden;
  padding: 0;
}

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

.narrow-section {
  width: min(100%, 880px);
  margin: 0 auto;
}

.prose-card,
.excerpt-card,
.final-cta {
  text-align: center;
}

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

.long-review footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.author-mini {
  grid-template-columns: auto 1fr;
}

.final-cta-section {
  padding-bottom: 3rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0 2rem;
  color: var(--muted);
}

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

@media (max-width: 1024px) {
  .hero,
  .about-grid,
  .product-card,
  .author-mini {
    grid-template-columns: 1fr;
  }

  .hero-author,
  .hero-book {
    padding: 2rem 1.25rem;
  }

  .hero-book-spotlight,
  .product-shot {
    order: -1;
  }

  .review-grid,
  .universe-grid,
  .bullet-grid,
  .insta-grid,
  .long-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-page {
    min-height: auto;
    padding: 2rem;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 1rem), var(--content-width));
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    gap: 1.5rem;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .hero-author h1 {
    white-space: normal;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .floating-note {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }

  .review-grid,
  .universe-grid,
  .bullet-grid,
  .insta-grid,
  .long-review-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .book-modal-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .book-modal-dialog {
    width: min(calc((100vh - 1rem) * var(--book-ratio)), calc(100vw - 1rem));
    height: min(calc((100vw - 1rem) / var(--book-ratio)), calc(100vh - 1rem));
    margin: 0.5rem auto;
    padding: 0.7rem;
  }

  .book-flipbook {
    min-height: 0;
  }

  .book-page {
    min-height: 0;
    padding: 1rem;
  }

  .book-page-excerpt h3 {
    font-size: 1.35rem;
  }

  .book-excerpt-text p,
  .book-page-copy,
  .book-page-isbn,
  .book-page-legal {
    font-size: 0.74rem;
  }

  .book-page-excerpt .book-excerpt-text p {
    font-size: 0.82rem;
    line-height: 1.32;
  }

  .book-page-teaser-bg {
    inset: 1rem;
  }

  .book-page-teaser h3 {
    font-size: 1.45rem;
  }

  .book-page-teaser-copy {
    font-size: 0.8rem;
  }

}

.flowers-page {
  min-height: 100vh;
  padding: 0 10px 18px;
  background:
    radial-gradient(circle at top left, rgba(118, 180, 255, 0.3), transparent 20%),
    radial-gradient(circle at top right, rgba(118, 180, 255, 0.22), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f4f8ff 52%, #ecf3ff 100%);
}

.flowers-topbar {
  width: min(100%, 1360px);
  margin: 0 auto;
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.4rem;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(33, 86, 191, 0.08);
}

.flowers-brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}

.flowers-brand-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: #2457c5;
}

.flowers-brand-subtitle {
  font-size: 0.8rem;
  color: #7a88a4;
}

.flowers-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.flowers-nav a {
  position: relative;
  padding: 0.35rem 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #283858;
}

.flowers-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.8rem;
  height: 2px;
  background: #2457c5;
  border-radius: 999px;
}

.flowers-book-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(36, 87, 197, 0.22);
  background: rgba(255, 255, 255, 0.8);
  color: #2457c5;
  font-size: 0.92rem;
  font-weight: 700;
}

.flowers-main {
  width: min(100%, 1360px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 1rem;
  padding-top: 0.7rem;
}

.flowers-side-nav {
  align-self: start;
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 0.8rem;
  padding-top: 8rem;
}

.flowers-side-nav a {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding: 0.9rem 0.35rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(36, 87, 197, 0.08);
  color: #314564;
  box-shadow: 0 10px 24px rgba(21, 53, 112, 0.08);
}

.flowers-side-nav a.is-active {
  background: linear-gradient(180deg, #2960cf, #1b46a0);
  color: #fff;
}

.flowers-side-nav span {
  font-size: 1.05rem;
}

.flowers-side-nav small {
  font-size: 0.72rem;
  font-weight: 700;
}

.flowers-hero-shell {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 30px 30px;
}

.flowers-panel {
  display: none;
}

.flowers-panel.is-active {
  display: block;
}

.panel-world-view {
  display: none;
}

.panel-world-view.is-active {
  display: block;
}

.world-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(36, 87, 197, 0.12);
  box-shadow: 0 12px 24px rgba(31, 65, 132, 0.08);
}

.world-toggle-button {
  min-height: 46px;
  padding: 0.7rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #35507e;
  font-size: 0.94rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.world-toggle-button.is-active {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  box-shadow: 0 14px 28px rgba(36, 87, 197, 0.24);
}

.coming-soon-card {
  max-width: 780px;
  margin: 1rem auto 0;
  padding: 1.5rem;
  text-align: center;
}

.coming-soon-card h2 {
  font-size: 2.25rem;
  color: #1d2d56;
}

.coming-soon-card p {
  margin: 0.7rem auto 0;
  max-width: 40rem;
  color: #425675;
  font-size: 1rem;
  line-height: 1.7;
}

.flowers-hero {
  position: relative;
  padding: 3rem 1.3rem 1rem;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.46) 52%, transparent 74%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(240, 246, 255, 0.82));
  border-radius: 24px 24px 0 0;
}

.flowers-ink {
  position: absolute;
  inset: auto;
  width: 360px;
  height: 360px;
  pointer-events: none;
  opacity: 0.55;
  filter: blur(0.3px);
}

.flowers-ink::before,
.flowers-ink::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(40, 94, 205, 0.28), transparent 48%),
    radial-gradient(circle at 40% 60%, rgba(40, 94, 205, 0.2), transparent 58%);
}

.flowers-ink::before {
  inset: 10% 18% 24% 4%;
}

.flowers-ink::after {
  inset: 35% 4% 5% 20%;
}

.flowers-ink-left {
  top: 3rem;
  left: -4rem;
}

.flowers-ink-right {
  top: 2rem;
  right: -4rem;
}

.flowers-hero-copy {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 2.1rem;
}

.flowers-hero-copy h1 {
  font-size: clamp(3.2rem, 5vw, 4.6rem);
  line-height: 0.94;
  color: #1f2e5a;
}

.flowers-hero-copy p {
  margin: 0.8rem auto 0;
  max-width: 44rem;
  font-size: 1.05rem;
  color: #495d80;
}

.flowers-hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.flowers-content-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 0.85rem;
  align-items: start;
}

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

.flower-card {
  position: relative;
  min-height: 500px;
  padding: 1rem 0.85rem 0.9rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 250, 255, 0.94));
  border: 1px solid rgba(54, 105, 212, 0.12);
  box-shadow: 0 16px 38px rgba(26, 60, 127, 0.08);
  text-align: center;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.flower-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at top, rgba(129, 180, 255, 0.12), transparent 34%),
    radial-gradient(circle at bottom, rgba(53, 112, 223, 0.06), transparent 32%);
  pointer-events: none;
}

.flower-card:hover,
.flower-card:focus-visible,
.flower-card.is-active {
  transform: translateY(-4px);
  border-color: rgba(36, 87, 197, 0.26);
  box-shadow: 0 24px 44px rgba(39, 85, 178, 0.16);
}

.flower-card.is-active {
  background:
    linear-gradient(180deg, rgba(248, 252, 255, 1), rgba(238, 246, 255, 0.98));
}

.flower-card img {
  width: 100%;
  max-width: 180px;
  height: 214px;
  object-fit: contain;
  margin: 0 auto 0.8rem;
  filter: drop-shadow(0 10px 20px rgba(49, 97, 193, 0.08));
}

.flower-card h2 {
  font-size: 1.9rem;
  color: #1e2f59;
  line-height: 0.96;
}

.flower-card-name {
  margin: 0.15rem 0 0.65rem;
  color: #2960cf;
  font-size: 1.1rem;
  font-weight: 700;
}

.flower-card-copy {
  margin: 0 auto 0.9rem;
  max-width: 22ch;
  font-size: 0.82rem;
  line-height: 1.52;
  color: #374a6c;
}

.flower-card-tag {
  position: absolute;
  left: 50%;
  bottom: 0.9rem;
  transform: translateX(-50%);
  display: inline-flex;
  justify-content: center;
  min-width: 78px;
  padding: 0.36rem 0.7rem;
  border-radius: 999px;
  background: #edf3ff;
  border: 1px solid rgba(41, 96, 207, 0.14);
  color: #31529f;
  font-size: 0.73rem;
  font-weight: 700;
}

.flowers-info-panel {
  position: sticky;
  top: 1rem;
}

.flowers-info-inner {
  min-height: 500px;
  padding: 1.2rem 1.15rem;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 249, 255, 0.94));
  border: 1px solid rgba(40, 94, 205, 0.12);
  box-shadow: 0 16px 36px rgba(19, 47, 101, 0.1);
}

.flowers-info-kicker {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 800;
  color: #38558b;
}

.flowers-info-panel h3 {
  margin-top: 0.55rem;
  font-size: 2.2rem;
  color: #1d2d56;
}

.flowers-info-subtitle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.5rem 0 1rem;
  color: #2a5ccc;
  font-weight: 700;
}

.flowers-info-dot {
  color: #95a3be;
}

.flowers-info-inner [data-flower-description] {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.52;
  color: #40526f;
}

.flowers-info-meta {
  margin-top: 1rem;
}

.flowers-info-meta span {
  display: inline-flex;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: #edf3ff;
  color: #31529f;
  font-size: 0.78rem;
  font-weight: 800;
}

.flowers-info-link {
  display: inline-flex;
  margin-top: 1.2rem;
  color: #2457c5;
  font-weight: 800;
}

.flowers-hover-hint {
  margin: 0.9rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: #5b6f94;
}

.universe-hero {
  padding-bottom: 1.4rem;
}

.universe-content-grid {
  position: relative;
  z-index: 1;
  display: block;
}

.universe-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.universe-card {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  min-height: 380px;
  padding: 0.95rem;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 249, 255, 0.93));
  border: 1px solid rgba(54, 105, 212, 0.12);
  box-shadow: 0 16px 38px rgba(26, 60, 127, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.universe-card.is-active,
.universe-card:hover {
  transform: translateY(-4px);
  border-color: rgba(36, 87, 197, 0.26);
  box-shadow: 0 24px 44px rgba(39, 85, 178, 0.16);
}

.universe-card img,
.universe-detail-image {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  display: block;
}

.universe-card img {
  height: 170px;
}

.universe-card h2 {
  font-size: 1.72rem;
  line-height: 0.98;
  color: #1d2d56;
}

.universe-card-copy {
  margin: 0;
  color: #425675;
  font-size: 0.92rem;
  line-height: 1.55;
}

.universe-card-button {
  margin-top: auto;
  width: fit-content;
}

.universe-detail-kicker {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--primary);
}

.universe-detail-copy h2 {
  font-size: 2.55rem;
  line-height: 0.96;
  color: #1d2d56;
}

.universe-detail-copy p {
  margin: 0;
  color: #425675;
  font-size: 1rem;
  line-height: 1.75;
}

.places-hero {
  padding-bottom: 1.4rem;
}

.places-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.place-card {
  overflow: hidden;
  padding: 0;
}

.place-card-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 24px 24px 0 0;
}

.place-card-copy {
  display: grid;
  gap: 0.8rem;
  padding: 1.1rem 1.15rem 1.2rem;
}

.place-card-copy h2 {
  font-size: 2rem;
  line-height: 0.98;
  color: #1d2d56;
}

.place-card-copy p {
  margin: 0;
  color: #425675;
  font-size: 0.96rem;
  line-height: 1.65;
}

.biome-modal[hidden] {
  display: none;
}

.biome-modal {
  position: fixed;
  inset: 0;
  z-index: 28;
}

.biome-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 19, 47, 0.62);
  backdrop-filter: blur(8px);
}

.biome-modal-dialog {
  position: relative;
  width: min(1080px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  margin: 1rem auto;
  padding: 1rem;
  overflow: auto;
}

.biome-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(25, 58, 134, 0.08);
  color: var(--primary-deep);
  font-size: 1.8rem;
  cursor: pointer;
}

.biome-modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1rem;
  align-items: stretch;
}

.biome-modal-image {
  width: 100%;
  min-height: 520px;
  height: 100%;
  border-radius: 22px;
  object-fit: cover;
}

.biome-modal-copy {
  display: grid;
  align-content: center;
  gap: 0.9rem;
  padding: 0.6rem 0.4rem 0.6rem 0;
}

.biome-modal-copy h2 {
  font-size: 2.85rem;
  line-height: 0.94;
  color: #1d2d56;
}

.biome-modal-copy p:last-child {
  margin: 0;
  color: #425675;
  font-size: 1.02rem;
  line-height: 1.8;
}

.flowers-bottom-bar {
  display: grid;
  grid-template-columns: 240px repeat(3, 1fr) 260px;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: 0 0 24px 24px;
  background:
    radial-gradient(circle at top center, rgba(76, 130, 232, 0.16), transparent 30%),
    linear-gradient(180deg, #102347, #08162f);
  box-shadow: 0 24px 50px rgba(4, 18, 46, 0.22);
}

.flowers-map-pill {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: rgba(248, 252, 255, 0.98);
  color: #18346c;
}

.flowers-map-pill strong {
  font-size: 0.82rem;
}

.flowers-map-pill span,
.flowers-bottom-stat span,
.flowers-book-mini span {
  font-size: 0.82rem;
}

.flowers-bottom-stat {
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  text-align: center;
  color: #eff5ff;
}

.flowers-bottom-stat strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
}

.flowers-book-mini {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  width: 100%;
  justify-self: stretch;
  padding: 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(157, 193, 255, 0.14);
  color: #eff5ff;
}

.flowers-book-mini img {
  width: 54px;
}

.flowers-book-mini strong {
  display: block;
  font-size: 1rem;
}

.flowers-book-mini-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: #ffffff;
  color: #173a86;
  font-size: 0.78rem;
  font-weight: 800;
}

@media (max-width: 1280px) {
  .flowers-content-grid {
    grid-template-columns: 1fr;
  }

  .flowers-info-panel {
    position: static;
  }

  .flowers-info-inner {
    min-height: auto;
  }

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

  .universe-content-grid {
    display: block;
  }

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

  .places-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .flowers-main {
    grid-template-columns: 1fr;
  }

  .flowers-side-nav {
    position: static;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding-top: 0;
  }

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

  .universe-cards {
    grid-template-columns: 1fr;
  }

  .biome-modal-dialog {
    width: min(100vw - 1rem, 1080px);
    margin: 0.5rem auto;
    padding: 0.85rem;
  }

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

  .biome-modal-image {
    min-height: 280px;
    height: 280px;
  }

  .biome-modal-copy h2 {
    font-size: 2rem;
  }
}

@media (max-width: 760px) {
  .flowers-topbar {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 1rem;
  }

  .flowers-nav {
    justify-content: flex-start;
    gap: 1rem;
  }

  .flowers-side-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flowers-hero {
    padding-inline: 0.75rem;
  }

  .flowers-cards,
  .flowers-bottom-bar {
    grid-template-columns: 1fr;
  }

  .flower-card {
    min-height: 455px;
  }

  .flowers-book-mini {
    grid-template-columns: 54px 1fr;
  }

  .flowers-book-mini-cta {
    grid-column: 1 / -1;
  }
}
