
:root {
  --ink: #0e2438;
  --navy: #0a1d2e;
  --navy-soft: #18354e;
  --gold: #b98b42;
  --gold-soft: #d8b976;
  --cream: #f5efe4;
  --paper: #fffaf1;
  --stone: #d8c8ae;
  --text: #26323b;
  --muted: #66727c;
  --shadow: 0 24px 70px rgba(10, 29, 46, 0.18);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.65;
}

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

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem clamp(1.25rem, 4vw, 4rem);
  background: rgba(255,250,241,0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(14,36,56,0.08);
}

.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  color: var(--ink);
}

.brand-subtitle {
  margin-top: .18rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .63rem;
  color: var(--gold);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: .92rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
}

.site-nav a:hover { color: var(--gold); }

.nav-cta {
  border: 1px solid var(--gold);
  padding: .62rem 1rem;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(14,36,56,.18);
  background: transparent;
  padding: .55rem .8rem;
  border-radius: 999px;
  color: var(--ink);
}

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(4rem, 8vw, 7.5rem) clamp(1.25rem, 6vw, 6rem);
  background:
    radial-gradient(circle at 75% 20%, rgba(216,185,118,.20), transparent 30%),
    linear-gradient(135deg, #0b1d2e 0%, #102b43 54%, #6d5b48 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(to top, rgba(255,250,241,0.9), transparent);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 38vw;
  height: 38vw;
  max-width: 560px;
  max-height: 560px;
  border-radius: 50%;
  background: rgba(230, 197, 125, .12);
  filter: blur(20px);
  right: 8%;
  top: 14%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  color: var(--gold-soft);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .76rem;
  font-weight: 600;
}

.hero h1,
.section h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: .98;
  color: var(--ink);
}

.hero h1 {
  color: white;
  font-size: clamp(3.9rem, 8vw, 7.3rem);
  margin: .3rem 0 1.4rem;
  max-width: 8ch;
}

.hero-copy {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  max-width: 28ch;
  color: #f5ecdf;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

.button {
  display: inline-block;
  text-decoration: none;
  padding: .85rem 1.2rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  transition: .2s ease;
}

.button-primary {
  background: var(--gold);
  color: #fff;
}

.button-primary:hover {
  transform: translateY(-2px);
  background: #c5974c;
}

.button-secondary {
  border: 1px solid rgba(255,255,255,.55);
  color: white;
}

.button-secondary:hover {
  border-color: white;
  transform: translateY(-2px);
}

.hero-book {
  position: relative;
  z-index: 2;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.38);
  transform: rotate(1.3deg);
}

.hero-book img {
  width: 100%;
  aspect-ratio: 1.1 / 1;
  object-fit: cover;
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1.25rem, 7vw, 7rem);
}

.section h2 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  margin: .35rem 0 1.25rem;
}

.section-book {
  background: var(--paper);
}

.book-grid {
  display: grid;
  grid-template-columns: 1.4fr .75fr;
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.lead {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.35;
  color: var(--ink);
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

.pullquote {
  background: var(--navy);
  color: white;
  padding: 2.5rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 110px;
}

.quote-mark {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 5rem;
  line-height: .7;
}

.pullquote p {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.15;
  margin: .7rem 0 1rem;
}

.quote-credit {
  color: #d9e0e6;
  font-size: .9rem;
}

.section-author {
  background: #efe6d7;
}

.author-card {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.author-photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(185,139,66,.35);
}

.author-photo img {
  width: 100%;
  aspect-ratio: .82 / 1;
  object-fit: cover;
}

.author-copy p {
  max-width: 68ch;
}

.section-events {
  background: var(--navy);
  color: white;
}

.section-events .section-kicker { color: var(--gold-soft); }
.section-events h2 { color: white; }

.event-card {
  max-width: 1050px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: stretch;
  margin: 1.5rem auto 0;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  overflow: hidden;
}

.event-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(160deg, var(--gold), #7f5d2d);
  color: white;
  padding: 2rem;
}

.event-month {
  letter-spacing: .22em;
  font-size: .8rem;
}

.event-day {
  font-family: var(--serif);
  font-size: 6rem;
  line-height: .9;
}

.event-year {
  margin-top: .35rem;
  font-size: .8rem;
  opacity: .9;
}

.event-info {
  padding: 2.5rem 2.5rem 2.7rem 0;
}

.event-time {
  color: var(--gold-soft);
  font-weight: 600;
}

.section-contact {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-intro > p {
  max-width: 650px;
}

.contact-intro > h2 {
  white-space: nowrap;
  font-size: clamp(2.6rem, 4.25vw, 4.35rem);
  max-width: 620px;
  text-align: center;
}

.mailing-list-embed {
  margin-top: 1.5rem;
  max-width: 620px;
}

.contact-card {
  border-left: 2px solid var(--gold);
  padding: .25rem 0 .25rem 1.5rem;
  color: var(--ink);
}

.contact-label {
  margin-top: 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.15;
}

.contact-email {
  color: #77501c;
  font-weight: 600;
  white-space: nowrap;
  overflow-wrap: normal;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.small {
  font-size: .88rem;
  color: var(--muted);
}

.site-footer {
  background: #081723;
  color: #d8e0e7;
  padding: 1.6rem clamp(1.25rem, 7vw, 7rem);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .83rem;
}

.site-footer a {
  text-decoration: none;
  color: var(--gold-soft);
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .6rem;
    background: var(--paper);
    border: 1px solid rgba(14,36,56,.1);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .site-nav.open { display: flex; }

  .site-nav a {
    padding: .8rem .9rem;
  }

  .nav-cta {
    margin-top: .2rem;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 5rem;
  }

  .hero h1 { max-width: 10ch; }

  .hero-book {
    max-width: 720px;
    transform: none;
  }

  .book-grid,
  .author-card,
  .section-contact {
    grid-template-columns: 1fr;
  }

  .contact-intro > h2 {
    white-space: normal;
  }

  .pullquote { position: static; }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-date {
    min-height: 180px;
  }

  .event-info {
    padding: 0 1.5rem 2rem;
  }
}

@media (max-width: 580px) {
  .contact-email {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-copy {
    font-size: 1.35rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    text-align: center;
  }

  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .pullquote p {
    font-size: 1.65rem;
  }

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


/* Refined homepage hero — inspired by the poster, intentionally less crowded */
.hero-refined {
  min-height: auto;
  display: block;
  padding: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 76% 18%, rgba(209, 158, 77, .20), transparent 28%),
    linear-gradient(135deg, #fbf5eb 0%, #efe2cd 58%, #dcc2a0 100%);
  position: relative;
  overflow: hidden;
}

.hero-refined::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(to top, rgba(255,250,241,.48), transparent);
  pointer-events: none;
}

.hero-refined-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  min-height: 720px;
  margin: 0 auto;
  padding: clamp(3.5rem, 6vw, 6rem) clamp(1.25rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.hero-refined-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(365px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 3px 5px 5px 3px;
}

.hero-refined-cover img {
  width: 104%;
  max-width: none;
  height: auto;
  transform: translateX(-2.2%);
  border-radius: 2px 5px 5px 2px;
  box-shadow:
    -11px 15px 0 rgba(14, 36, 56, .10),
    0 30px 65px rgba(14, 36, 56, .25);
}

.hero-refined-copy {
  max-width: 620px;
}

.hero-refined-tagline {
  margin: 0 0 1.1rem;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(.92rem, 1.45vw, 1.08rem);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #2c3a46;
}

.hero-refined-tagline::after {
  content: "";
  display: block;
  width: 54%;
  height: 1px;
  margin: .9rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-refined-title {
  display: grid;
  justify-items: center;
  text-align: center;
  font-family: var(--serif);
  color: var(--ink);
  line-height: .84;
}

.hero-317 {
  font-size: clamp(7rem, 13vw, 11.2rem);
  font-weight: 500;
  letter-spacing: -.055em;
}

.hero-days {
  margin-top: .04em;
  font-size: clamp(3.5rem, 6.2vw, 5.7rem);
  letter-spacing: .035em;
}

.hero-in {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 68%;
  margin: .08em 0;
  color: #9a6927;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
}

.hero-in::before,
.hero-in::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #9a6927;
}

.hero-prague {
  font-size: clamp(3.6rem, 6.2vw, 5.55rem);
  letter-spacing: .015em;
}

.hero-memoir {
  margin-top: .55rem;
  font-family: var(--sans);
  font-size: clamp(.86rem, 1.35vw, 1.08rem);
  letter-spacing: .31em;
  color: #8a612b;
}

.hero-refined-intro {
  max-width: 555px;
  margin: 1.75rem auto 0;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.8vw, 1.48rem);
  line-height: 1.4;
  color: #303c45;
}

.hero-refined-intro em {
  color: #77501c;
  font-size: 1.1em;
}

.hero-refined-actions {
  margin-top: 1.6rem;
  display: flex;
  justify-content: center;
  gap: .9rem;
  flex-wrap: wrap;
}

.button-refined-secondary {
  border: 1px solid rgba(14, 36, 56, .42);
  color: var(--ink);
  background: rgba(255,255,255,.36);
}

.button-refined-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.65);
}

@media (max-width: 900px) {
  .hero-refined-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 3rem;
    padding-bottom: 4rem;
  }

  .hero-refined-cover {
    width: min(330px, 72vw);
  }

  .hero-refined-cover img {
    width: 104%;
  }

  .hero-refined-copy {
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .hero-317 { font-size: 7rem; }
  .hero-days,
  .hero-prague { font-size: 3.35rem; }
  .hero-in { width: 78%; font-size: 2.15rem; }
  .hero-refined-actions { flex-direction: column; }
  .hero-refined-actions .button { width: 100%; text-align: center; }
}


/* Center the testimonial cleanly within the navy quote box */
.pullquote {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.pullquote p {
  margin: 0;
  text-align: center;
}


/* Book preview — styled as a quiet reading experience */
.section-preview {
  background:
    linear-gradient(rgba(10, 29, 46, .035) 1px, transparent 1px),
    #e9dfcf;
  background-size: 100% 42px;
}

.preview-shell {
  max-width: 980px;
  margin: 0 auto;
}

.preview-heading {
  text-align: center;
  margin-bottom: 2.2rem;
}

.preview-heading h2 {
  margin-bottom: .55rem;
}

.preview-invitation {
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-style: italic;
  color: #77501c;
}

.preview-page {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(2.25rem, 5vw, 4.5rem) clamp(1.4rem, 5vw, 4.8rem);
  background: #fffdf8;
  border: 1px solid rgba(185, 139, 66, .26);
  box-shadow: 0 22px 60px rgba(10, 29, 46, .13);
  position: relative;
}

.preview-page::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  left: 50%;
  width: 82px;
  height: 1px;
  transform: translateX(-50%);
  background: var(--gold);
}

.preview-page p {
  margin: 0 0 1.35em;
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.65vw, 1.34rem);
  line-height: 1.62;
  color: #26323b;
}

.preview-page p:not(.preview-opening) {
  text-indent: 1.7em;
}

.preview-opening {
  margin-top: .55rem !important;
  font-size: clamp(1.75rem, 3vw, 2.35rem) !important;
  line-height: 1.25 !important;
  color: var(--ink) !important;
  text-align: center;
  font-style: italic;
}

.preview-end {
  margin-top: 2rem;
  text-align: center;
  color: var(--gold);
  font-size: 1.15rem;
}

@media (max-width: 580px) {
  .preview-page {
    padding: 2.6rem 1.35rem 2.4rem;
  }

  .preview-page p {
    font-size: 1.12rem;
    line-height: 1.58;
  }

  .preview-page p:not(.preview-opening) {
    text-indent: 1.2em;
  }
}

/* Purchase options */
.purchase-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.35rem;
}

@media (max-width: 640px) {
  .purchase-options {
    align-items: stretch;
    flex-direction: column;
  }

  .purchase-options .button {
    text-align: center;
    width: 100%;
  }
}


/* Purchase retailer buttons on the light book section */
.purchase-options .button-secondary {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.purchase-options .button-secondary:hover {
  border-color: var(--gold);
  color: var(--ink);
  background: rgba(184, 139, 69, 0.08);
}


.section-events .event-card + .event-card {
  margin-top: 2rem;
}


/* Hero integration using the user-approved composite image.
   The top strip embedded in the artwork is clipped so the site's real navigation remains the only nav. */
.hero-composite {
  background: #07111c;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.hero-composite-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1536 / 910;
  overflow: hidden;
  background: #07111c;
}

.hero-composite-image {
  position: absolute;
  left: 0;
  top: -12.53%;
  width: 100%;
  height: auto;
  display: block;
  max-width: none;
}

/* Clickable areas aligned with the purchase controls already visible in the artwork. */
.hero-hotspot {
  position: absolute;
  z-index: 3;
  display: block;
}

.hero-hotspot-direct {
  left: 41.4%;
  top: 70.7%;
  width: 17.1%;
  height: 10.4%;
}

.hero-hotspot-amazon {
  left: 59.1%;
  top: 70.7%;
  width: 17.1%;
  height: 10.4%;
}

.hero-hotspot-bn {
  left: 77.2%;
  top: 70.7%;
  width: 18.3%;
  height: 10.4%;
}

.hero-hotspot-scroll {
  left: 42%;
  top: 89.6%;
  width: 18%;
  height: 8%;
}

.hero-hotspot:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
  border-radius: 8px;
}

/* On phones, preserve the composition instead of aggressively cropping the artwork. */
@media (max-width: 760px) {
  .hero-composite-frame {
    aspect-ratio: 1536 / 910;
  }
}


.event-address {
  color: inherit;
  text-decoration-color: rgba(184, 139, 69, .55);
  text-underline-offset: .18em;
}

.event-address:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}
