/* DSaltosLee.com — Night Garden
   Colors and type are defined once here. Change a value, and it changes everywhere. */

:root {
  --midnight: #241758;   /* dark ground: nav, hero, price card, newsletter */
  --deep:     #1B1144;   /* footer, input fields */
  --ink:      #2B2742;   /* body text on light */
  --parchment:#F4EEE3;   /* light ground */
  --cream:    #FBF8F1;   /* cards on parchment */
  --sand:     #E4DCCB;   /* borders */
  --candle:   #E8B87A;   /* gold accent on dark */
  --gold:     #8C6A1A;   /* gold labels on light (passes contrast) */
  --muted:    #4A455E;   /* secondary text on light */
  --muted-dk: #DAD4E6;   /* secondary text on dark */
  --lavender: #B9B0D6;   /* small text on dark */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Karla', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--parchment);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.005em; }
p { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* ---------- shared bits ---------- */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.dark .eyebrow { color: var(--candle); }
.label {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 16px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--sans); line-height: 1.2; text-align: center;
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-candle { background: var(--candle); color: var(--midnight); }
.btn-ink    { background: var(--ink); color: var(--parchment); }
.btn-block  { display: block; width: 100%; }
.btn-sm     { padding: 14px 20px; font-size: 15px; }
.text-link {
  color: var(--parchment); text-decoration: none; font-weight: 500; font-size: 16px;
  padding: 16px 8px; border-bottom: 1px solid var(--candle);
}
.dark { background: var(--midnight); color: var(--parchment); }
.dark p { color: var(--muted-dk); }

/* ---------- nav ---------- */
.nav { background: var(--midnight); color: var(--parchment); }
.nav .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 16px; min-height: 72px; padding-top: 10px; padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--parchment); }
.brand span { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: 0.04em; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; letter-spacing: 0.02em; }
.nav-links a { color: var(--parchment); text-decoration: none; padding: 12px 0; }
.nav-links .btn { padding: 12px 20px; font-size: 15px; }

/* ---------- hero ---------- */
.hero { background: var(--midnight); color: var(--parchment); overflow: hidden; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0; }
.hero-text {
  flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; justify-content: center;
  gap: 24px; padding: 88px 0;
}
.hero h1 { font-size: clamp(40px, 5.2vw, 62px); line-height: 1.04; max-width: 560px; }
.hero h1 em { font-style: italic; color: var(--candle); }
.hero p { font-size: 19px; line-height: 1.55; max-width: 500px; color: var(--muted-dk); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-art { flex: 1 1 400px; min-width: 0; display: flex; justify-content: flex-end; }
.hero-art img {
  width: 100%; max-width: 560px; height: 100%; min-height: 520px;
  object-fit: cover; object-position: center top;
}

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.section-head h2 { font-size: clamp(34px, 4vw, 48px); line-height: 1.06; }
.section-head .lede { font-size: 18px; line-height: 1.6; color: var(--muted); }
.lede p + p { margin-top: 1em; }
h2.h2 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.1; }

/* class */
.class-grid { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; margin-top: 48px; }
.facts { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fact {
  background: var(--cream); border: 1px solid var(--sand); border-radius: 16px; padding: 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.fact strong { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.15; }
.fact span:last-child { font-size: 15px; color: var(--muted); }
.price-card {
  flex: 0 1 320px; min-width: 0; background: var(--midnight); color: var(--parchment);
  border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 14px; justify-content: center;
}
.price-card .small { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lavender); }
.price-row { display: flex; align-items: baseline; gap: 14px; }
.price { font-family: var(--serif); font-size: 56px; font-weight: 500; line-height: 1; }
.was { font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--lavender); text-decoration: line-through; }
.price-card .note { font-size: 14px; color: var(--lavender); }
.price-card .fine { font-size: 13px; color: var(--lavender); text-align: center; }
.policies { margin-top: 40px; font-size: 14px; color: var(--muted); max-width: 760px; }
.policies summary { cursor: pointer; font-weight: 600; color: var(--gold); letter-spacing: 0.02em; }
.policies ul { margin: 12px 0 0; padding-left: 18px; }
.policies li { margin: 4px 0; }

/* readings */
.readings .wrap-inner { border-top: 1px solid var(--sand); padding-top: 80px; display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.readings-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.readings-text .body { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 520px; }
.readings-text .aside { font-size: 14px; color: var(--gold); }
.readings-text .aside a { color: var(--gold); font-weight: 600; }
.offers { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.offer {
  background: var(--cream); border: 1px solid var(--sand); border-radius: 18px; padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.offer h3 { font-size: 28px; font-weight: 600; line-height: 1.1; }
.offer .amt { font-family: var(--serif); font-size: 34px; font-weight: 500; }
.offer p { font-size: 15px; line-height: 1.55; color: var(--muted); flex: 1; }
.offer .btn { margin-top: 10px; }
.offer.dark { background: var(--midnight); color: var(--parchment); border-color: transparent; }
.offer.dark p { color: var(--muted-dk); }
.offer.dark .label { color: var(--candle); }

/* about */
.about { background: var(--cream); border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }
.about .wrap { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.portrait { flex: 0 1 360px; min-width: 0; }
.portrait img {
  aspect-ratio: 4 / 5; width: 100%; height: auto; object-fit: cover; object-position: 50% 18%;
  border-radius: 200px 200px 18px 18px; border: 1px solid #D5CBB4;
}
.about-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about-text .body { font-size: 17px; line-height: 1.65; color: var(--muted); }
.book {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; background: var(--parchment);
  border: 1px solid var(--sand); border-radius: 16px; padding: 20px 24px; margin-top: 8px;
}
.book img { width: 96px; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px 6px 6px 3px; box-shadow: 6px 8px 18px rgba(0,0,0,0.22); border: 1px solid var(--sand); }
.book-text { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.book-text strong { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.1; }
.book-text span:last-child { font-size: 15px; line-height: 1.5; color: var(--muted); }
.book .btn { padding: 12px 20px; font-size: 15px; white-space: nowrap; }


/* selected writing */
.writing { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.writing-note { font-size: 15px; color: var(--muted); font-style: italic; }
.writing-list { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--sand); }
.writing-list li {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 6px 16px; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid var(--sand);
}
.writing-list a { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.2; color: var(--ink); text-decoration: none; }
.writing-list a:hover { color: var(--gold); }
.writing-list .pub { font-size: 14px; color: var(--muted); white-space: nowrap; }
@media (max-width: 760px) {
  .writing-list li { grid-template-columns: 1fr; gap: 2px; }
  .writing-list .pub { white-space: normal; }
}

/* newsletter */
.newsletter .wrap { max-width: 720px; display: flex; flex-direction: column; gap: 24px; text-align: center; align-items: center; }
.newsletter p { font-size: 17px; }
.newsletter form { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; justify-content: center; }
.newsletter input[type="email"] {
  flex: 1 1 280px; min-width: 0; padding: 16px 20px; border-radius: 999px; border: 1px solid #3F3080;
  background: var(--deep); color: var(--parchment); font-size: 16px; font-family: var(--sans);
}
.newsletter input::placeholder { color: #8F86B3; }
.newsletter .fine { font-size: 13px; color: var(--lavender); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none; }

/* footer */
.footer { background: var(--deep); color: var(--lavender); padding: 40px 0; font-size: 14px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.footer .name { font-family: var(--serif); font-size: 20px; color: var(--parchment); }
.footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer a { color: var(--lavender); text-decoration: none; }

/* ---------- phones ---------- */
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .hero-text { padding: 40px 0 44px; gap: 18px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 17px; }
  .hero-art { order: -1; margin: 0 -16px; }           /* moon on top, full-bleed */
  .hero-art img { max-width: none; min-height: 0; height: 230px; object-position: center 28%; }
  .nav-links .btn { display: none; }                  /* newsletter is at the bottom; keep the nav to one row */
  .facts { grid-template-columns: 1fr; }
  .price-card { flex-basis: 100%; }
  .offers { grid-template-columns: 1fr; }
  .readings .wrap-inner { padding-top: 56px; }
  .about .wrap { gap: 36px; }
  .portrait { flex-basis: 100%; max-width: 320px; margin: 0 auto; }
  .book .btn { width: 100%; }
  .nav-links { gap: 6px 18px; font-size: 14px; }
}
@media (max-width: 420px) {
  .btn { padding: 14px 22px; font-size: 15px; }
  .price { font-size: 48px; }
}

/* focus rings for keyboard users */
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--candle); outline-offset: 3px;
}
