:root {
  --mahogany: #BD001C;
  --lemon: #F3EFC1;
  --pacific: #1AA6BF;
  --wisteria: #CA9ADA;
  --navy: #042D62;
  --ink: #111111;
  --white: #ffffff;
  --max-width: 1200px;
  --radius: 24px;
  --radius-lg: 34px;
  --shadow-soft: 0 14px 36px rgba(4, 45, 98, 0.10);
  --shadow-card: 0 14px 30px rgba(4, 45, 98, 0.12);
  --border-soft: 1px solid rgba(4, 45, 98, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--ink);
  line-height: 1.5;
  opacity: 0;
  transition: opacity 0.6s ease;
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 14%, rgba(202, 154, 218, 0.30), transparent 20%),
    radial-gradient(circle at 85% 18%, rgba(26, 166, 191, 0.26), transparent 22%),
    radial-gradient(circle at 18% 72%, rgba(189, 0, 28, 0.12), transparent 18%),
    radial-gradient(circle at 82% 78%, rgba(4, 45, 98, 0.12), transparent 20%),
    linear-gradient(180deg, #f8f4cf 0%, #f4efc8 35%, #f7f2d7 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background:
    radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.55), transparent 24%),
    radial-gradient(circle at 70% 65%, rgba(255, 255, 255, 0.28), transparent 26%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.12), transparent 60%);
  filter: blur(30px);
  opacity: 0.9;
}

body::after {
  z-index: -1;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(4, 45, 98, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(4, 45, 98, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.15));
}

body.page-loaded {
  opacity: 1;
}

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

a {
  color: inherit;
  text-decoration: none;
}
.store-card {
  text-align: center;
}

.store-logo-link {
  display: block;
  width: 100%;
}

.store-logo-link:hover .store-logo {
  transform: scale(1.02);
}

.store-logo {
  transition: transform 0.25s ease;
}

.store-name {
  margin: 0 0 8px;
}

.store-name-link {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.store-name-link:hover {
  color: var(--mahogany);
}

.store-address {
  margin: 0 0 10px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(17, 17, 17, 0.66);
}

.store-hours {
  margin: 0;
}
.page-shell {
  overflow-x: clip;
  position: relative;
  isolation: isolate;
}
.store-address {
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.store-address:hover {
  color: var(--mahogany);
  opacity: 0.9;
}

/* tooltip */
.store-address::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: -26px;
  transform: translateX(-50%) translateY(4px);
  background: var(--navy);
  color: white;
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.store-address:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* copied state */
.store-address.copied {
  color: var(--pacific);
}
.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}

.page-shell::before {
  top: 160px;
  left: -140px;
  width: 380px;
  height: 380px;
  background: rgba(202, 154, 218, 0.18);
}

.page-shell::after {
  top: 720px;
  right: -160px;
  width: 420px;
  height: 420px;
  background: rgba(26, 166, 191, 0.18);
}

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

.section-space {
  padding: 44px 0 72px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(243, 239, 193, 0.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 8px 24px rgba(4, 45, 98, 0.06);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: var(--mahogany);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

/* Hero */
.hero {
  padding: 78px 0 48px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 221, 0.92));
  border: var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 72px 32px;
  text-align: center;
  isolation: isolate;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(26, 166, 191, 0.14);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.3rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.hero-tagline {
  max-width: 680px;
  margin: 18px auto 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(17, 17, 17, 0.78);
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.55;
  z-index: 1;
  animation: drift 8s ease-in-out infinite;
}

.hero-glow-one {
  top: -60px;
  left: -20px;
  width: 220px;
  height: 220px;
  background: rgba(202, 154, 218, 0.30);
}

.hero-glow-two {
  right: -30px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  background: rgba(26, 166, 191, 0.24);
  animation-delay: 1.4s;
}

@keyframes drift {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -12px, 0);
  }
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(4, 45, 98, 0.12);
}

.button-primary {
  background: var(--mahogany);
  color: var(--white);
}

.button-secondary {
  background: var(--navy);
  color: var(--white);
}

/* Intro */
.intro-strip {
  padding: 0 0 12px;
}

.intro-strip .container {
  background: rgba(202, 154, 218, 0.70);
  color: var(--navy);
  border: var(--border-soft);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  padding: 24px 26px;
}

.intro-strip p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
}

/* Shared headings */
.section-heading {
  text-align: center;
  margin-bottom: 28px;
}

.section-kicker {
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mahogany);
}

.section-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.05;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.section-heading p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1rem;
  color: rgba(17, 17, 17, 0.78);
}

/* Bookstores */
.bookstores-section {
  text-align: center;
}

.bookstores-grid {
  max-width: 1100px;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.store-card {
  position: relative;
  display: block;
  min-height: 250px;
  background: rgba(255, 255, 255, 0.88);
  border: var(--border-soft);
  border-radius: 22px;
  padding: 12px 4px;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

.store-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 38px rgba(4, 45, 98, 0.16);
  border-color: rgba(26, 166, 191, 0.35);
  background: rgba(255, 255, 255, 0.97);
}

.store-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(26, 166, 191, 0.18), rgba(202, 154, 218, 0.12));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.store-logo {
  width: 100%;
  max-height: 110px;
  object-fit: contain;
  margin: 0 auto 18px;
}

.store-name {
  margin: 0 0 10px;
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.store-hours {
  margin: 0 0 8px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.8);
}

.card-link-text {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--mahogany);
}

/* Map */
.map-wrap {
  background: linear-gradient(145deg, rgba(26, 166, 191, 0.95), rgba(4, 45, 98, 0.85));
  border-radius: 30px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.map-panel {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.15);
}

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

/* Passport */
.passport-card {
  background: rgba(255, 255, 255, 0.84);
  border: var(--border-soft);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  padding: 38px 24px;
  text-align: center;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 40px 0;
  margin-top: 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  opacity: 0.9;
}

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

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Glass treatment */
.store-card,
.passport-card,
.intro-strip .container,
.hero-card {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero,
.bookstores-section,
#map,
#passport {
  position: relative;
}

.hero::before,
.bookstores-section::before,
#map::before,
#passport::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero > .container,
.bookstores-section > .container,
#map > .container,
#passport > .container {
  position: relative;
  z-index: 1;
}

.hero::before {
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.35), transparent 40%);
}

.bookstores-section::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(26, 166, 191, 0.10), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(202, 154, 218, 0.12), transparent 30%);
}

#map::before {
  background:
    radial-gradient(circle at 50% 50%, rgba(4, 45, 98, 0.06), transparent 40%);
}

#passport::before {
  background:
    radial-gradient(circle at 50% 50%, rgba(189, 0, 28, 0.07), transparent 36%);
}

/* Tablet */
@media (max-width: 960px) {
  .hero-card {
    padding: 60px 24px;
  }

  .map-panel iframe {
    height: 500px;
  }
}

/* Mobile */
@media (max-width: 720px) {
  body {
    background: linear-gradient(180deg, #f8f4cf 0%, #f4efc8 35%, #f7f2d7 100%);
  }

  body::before,
  body::after,
  .page-shell::before,
  .page-shell::after {
    display: none;
  }

  .site-header {
    background: rgba(243, 239, 193, 0.34);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(4, 45, 98, 0.08);
    box-shadow: 0 6px 16px rgba(4, 45, 98, 0.05);
  }

  .header-inner {
    min-height: 64px;
    padding: 10px 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.82rem;
    line-height: 1.05;
    letter-spacing: 0.01em;
  }

  .brand span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-nav {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
  }

  .site-nav a {
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .site-nav a::after {
    bottom: -3px;
  }

  .section-space {
    padding: 34px 0 56px;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-card {
    padding: 40px 18px;
    border-radius: 24px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-kicker {
    font-size: 0.75rem;
    padding: 8px 12px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
    line-height: 0.96;
  }

  .hero-tagline {
    margin-top: 14px;
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .bookstores-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .store-card {
    min-height: unset;
    padding: 20px 16px;
    border-radius: 18px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .store-logo {
    max-height: 88px;
    margin-bottom: 14px;
  }

  .store-name {
    font-size: 1.1rem;
  }

  .store-hours {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .map-wrap {
    padding: 14px;
    border-radius: 22px;
  }

  .map-panel {
    border-radius: 16px;
  }

  .map-panel iframe {
    height: 360px;
  }

  .passport-card,
  .intro-strip .container {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .passport-card {
    padding: 30px 18px;
    border-radius: 22px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, var(--max-width));
  }

  .brand {
    font-size: 0.76rem;
  }

  .site-nav {
    gap: 8px;
  }

  .site-nav a {
    font-size: 0.68rem;
  }

  .hero-card {
    padding: 34px 16px;
  }

  .map-panel iframe {
    height: 320px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  body {
    opacity: 1 !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}