:root {
  --bg: #0f0b14;
  --panel: rgba(255, 255, 255, 0.08);
  --text: #f8f4ef;
  --muted: #c9bfd1;
  --gold: #f2c572;
  --rose: #d88ab7;
  --violet: #8f7cf8;
  --emerald: #79d0ba;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 20%, rgba(143, 124, 248, 0.22), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(242, 197, 114, 0.18), transparent 26%),
    radial-gradient(circle at 50% 80%, rgba(216, 138, 183, 0.16), transparent 26%),
    linear-gradient(180deg, #100b16 0%, #140f1d 40%, #0b0911 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

.grain,
.glow-left,
.glow-right {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.grain {
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: soft-light;
}

.glow-left {
  background: radial-gradient(circle at 10% 18%, rgba(121, 208, 186, 0.16), transparent 30%);
}

.glow-right {
  background: radial-gradient(circle at 90% 10%, rgba(143, 124, 248, 0.18), transparent 26%);
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(10, 8, 15, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

nav {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: linear-gradient(135deg, rgba(242, 197, 114, 0.24), rgba(143, 124, 248, 0.32));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.brand-text {
  min-width: 0;
}

.brand-text strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--text);
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button {
  background: linear-gradient(135deg, var(--gold), #ffe2a7);
  color: #201507;
  box-shadow: 0 16px 38px rgba(242, 197, 114, 0.18);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-2px);
}

.hero {
  padding: 72px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #f9e6be;
  background: rgba(242, 197, 114, 0.08);
  border: 1px solid rgba(242, 197, 114, 0.2);
  margin-bottom: 22px;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  margin: 0 0 20px;
  letter-spacing: -0.04em;
  max-width: 11ch;
}

.accent {
  color: #ffe4a1;
  text-shadow: 0 0 30px rgba(242, 197, 114, 0.18);
}

.lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.point {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.point strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.point span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-card {
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.hero-card-clean {
  min-height: auto;
  display: grid;
  gap: 18px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at top left, rgba(121, 208, 186, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(216, 138, 183, 0.18), transparent 32%),
    linear-gradient(160deg, #1e1628 0%, #110c18 100%);
}

.hero-panel {
  border-radius: 24px;
  padding: 24px;
  background: rgba(12, 10, 18, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.hero-panel-large h3,
.hero-panel h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.hero-panel-large p,
.hero-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #f9e6be;
  background: rgba(242, 197, 114, 0.08);
  border: 1px solid rgba(242, 197, 114, 0.2);
}

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

.hero-book-tile {
  min-height: 180px;
  border-radius: 22px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
  position: relative;
  overflow: hidden;
}

.hero-book-tile::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: rgba(255, 255, 255, 0.24);
  box-shadow:
    0 10px 0 rgba(255, 255, 255, 0.16),
    0 20px 0 rgba(255, 255, 255, 0.12);
}

.hero-book-tile strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero-book-tile span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
  font-size: 0.92rem;
}

.hero-book-gold {
  background: linear-gradient(180deg, #f0c270, #cd8c32);
}

.hero-book-violet {
  background: linear-gradient(180deg, #8f7cf8, #5b49d1);
}

.hero-book-emerald {
  background: linear-gradient(180deg, #79d0ba, #378773);
}

.hero-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

section {
  padding: 34px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 50ch;
  line-height: 1.7;
}

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

.card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 40%);
  pointer-events: none;
}

.card-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.feature-large {
  min-height: 430px;
  padding: 32px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(242, 197, 114, 0.16), transparent 26%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.feature-large::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(143, 124, 248, 0.25), transparent 62%);
  pointer-events: none;
}

.feature-title {
  margin: 0;
  max-width: 10ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
}

.feature-lead {
  margin-top: 18px;
  margin-bottom: 0;
  max-width: 58ch;
}

.tag-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 22px;
}

.tag {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 0.9rem;
}

.quote {
  margin-top: 26px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(9, 8, 14, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #efe7f7;
  line-height: 1.7;
}

.mini-stack {
  display: grid;
  gap: 18px;
}

.mini {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.mini h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.mini p,
.mini li {
  color: var(--muted);
  line-height: 1.7;
}

.mini ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.cta {
  padding: 10px 0 40px;
}

.cta-box {
  padding: 34px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 18% 20%, rgba(121, 208, 186, 0.18), transparent 28%),
    radial-gradient(circle at 80% 30%, rgba(242, 197, 114, 0.18), transparent 26%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}

.cta-box h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 58ch;
}

.visit-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
}

.visit-title {
  margin-top: 0;
  font-size: 1.4rem;
}

.visit-copy {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.hours {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.hours-row strong {
  color: var(--text);
  font-weight: 600;
}

.hours-last {
  border-bottom: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.contact-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.contact-card small {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.73rem;
}

.contact-card strong {
  font-size: 1rem;
}

.map-panel {
  padding: 0;
  overflow: hidden;
}

.real-map {
  min-height: 420px;
  background: #111;
}

.real-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

footer {
  padding: 28px 0 60px;
  color: var(--muted);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 1000px) {
  .hero-grid,
  .feature-grid,
  .visit-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

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

  .hero-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .cards,
  .contact-grid,
  .hero-books-grid,
  .hero-bottom-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-book-tile {
    min-height: 150px;
  }
}