/* ============================================
   ROAM WITH ROSIE — brand tokens
   Ivory / Sage / Gold / Charcoal / Terracotta
   Same system as the ebook, carried onto the web.
   ============================================ */
:root {
  --ivory: #F8F5F0;
  --sand: #EFE7D8;
  --sage: #45645A;
  --sage-deep: #374F47;
  --gold: #C9A56D;
  --charcoal: #2F2F2F;
  --terracotta: #D88E73;
  --white: #FFFFFF;

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Jost', 'Helvetica Neue', sans-serif;
  --font-script: 'Allura', cursive;

  --max-w: 1180px;
  --gap: clamp(1.5rem, 4vw, 4rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ---------- eyebrow / heading system (reused from the ebook) ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 2.1rem;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--sage);
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.15;
  margin-bottom: 1.1rem;
}

.rule {
  width: 3rem;
  height: 1px;
  background: var(--gold);
  border: none;
  margin: 1.4rem 0;
}

.lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--sage-deep);
  max-width: 42ch;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.95rem 2.1rem;
  border-radius: 2px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid var(--sage);
}
.btn-solid {
  background: var(--sage);
  color: var(--ivory);
}
.btn-solid:hover { background: var(--sage-deep); border-color: var(--sage-deep); }
.btn-outline {
  background: transparent;
  color: var(--ivory);
  border-color: var(--ivory);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-outline.dark {
  color: var(--sage);
  border-color: var(--sage);
}
.btn-outline.dark:hover { background: rgba(69,100,90,0.08); }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: rgba(248,245,240,0);
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.nav.scrolled {
  background: rgba(248,245,240,0.96);
  box-shadow: 0 1px 0 rgba(69,100,90,0.12);
  padding: 0.75rem 0;
  backdrop-filter: saturate(140%) blur(6px);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  transition: color 0.35s ease;
}
.nav.scrolled .nav-logo { color: var(--sage); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.35s ease;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}
.nav.scrolled .nav-links a { color: var(--charcoal); }
.nav-links a:hover { border-color: var(--gold); color: var(--gold); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  width: 22px; height: 1.5px;
  background: var(--white);
  transition: background 0.35s ease;
}
.nav.scrolled .nav-toggle span { background: var(--sage); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center 30%;
}
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(47,47,47,0.38) 0%, rgba(47,47,47,0.28) 45%, rgba(55,79,71,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 1.5rem;
  animation: rise 1.1s ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.3rem;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 1;
  letter-spacing: 0.01em;
}
.hero-rule {
  width: 5rem; height: 1px; background: var(--gold);
  margin: 1.6rem auto;
}
.hero-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  max-width: 34ch;
  margin: 0 auto 2.4rem;
  color: rgba(255,255,255,0.92);
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 2.1rem; left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.75;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  z-index: 2;
}
.scroll-cue .line {
  width: 1px; height: 34px; background: var(--white);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 0.25; } 50% { opacity: 0.9; } }

/* ============================================
   REVEAL ON SCROLL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--ivory);
}
.about .wrap {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: var(--gap);
  align-items: center;
}
.about-photo {
  position: relative;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 2px;
}
.about-photo::after {
  content: "";
  position: absolute;
  top: 18px; left: 18px; right: -18px; bottom: -18px;
  border: 1px solid var(--gold);
  z-index: -1;
}
.about-body p { margin-bottom: 1.1rem; color: var(--charcoal); font-size: 1.02rem; }
.about-signoff {
  font-family: var(--font-script);
  font-size: 2.1rem;
  color: var(--sage);
  margin-top: 0.6rem;
}

/* ============================================
   PLANNER (book showcase)
   ============================================ */
.planner {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0;
  color: var(--ivory);
  overflow: hidden;
}
.planner-bg {
  position: absolute; inset: 0;
  background-image: url('../images/planner-bg.jpg');
  background-size: cover;
  background-position: center;
}
.planner-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(55,79,71,0.88), rgba(55,79,71,0.93));
}
.planner .wrap { position: relative; z-index: 2; }
.planner-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--gap);
  align-items: center;
}
.planner .eyebrow { color: var(--gold); }
.planner .eyebrow::before { background: var(--gold); }
.planner .section-title { color: var(--ivory); }
.planner-body p { color: rgba(248,245,240,0.88); margin-bottom: 1.1rem; max-width: 46ch; }
.planner-list {
  list-style: none;
  margin: 1.6rem 0 2.2rem;
}
.planner-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.7rem;
  color: rgba(248,245,240,0.92);
  font-size: 0.97rem;
}
.planner-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.planner-cover {
  position: relative;
  justify-self: center;
}
.planner-cover-card {
  width: min(100%, 320px);
  aspect-ratio: 8.5/11;
  position: relative;
  overflow: hidden;
  color: var(--sage);
  border-radius: 4px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,165,109,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  transform: rotate(-2.5deg);
  background-image: linear-gradient(180deg, rgba(248,245,240,0.94), rgba(248,245,240,0.88)), url('../images/hero.jpg');
  background-size: cover;
  background-position: center 25%;
}
.planner-cover-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201,165,109,0.55);
  pointer-events: none;
}
.planner-cover-card .pc-eyebrow {
  font-size: 0.65rem; letter-spacing: 0.25em; color: var(--gold); text-transform: uppercase; margin-bottom: 1.1rem;
  position: relative; z-index: 1;
}
.planner-cover-card .pc-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.9rem;
  line-height: 1.1;
  position: relative; z-index: 1;
  text-shadow: 0 2px 14px rgba(248,245,240,0.8);
}
.planner-cover-card .pc-rule { width: 2.4rem; height: 1px; background: var(--gold); margin: 1rem auto; position: relative; z-index: 1; }
.planner-cover-card .pc-sub {
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sage-deep);
  position: relative; z-index: 1;
}

/* ============================================
   GALLERY / FOLLOW THE JOURNEY
   ============================================ */
.gallery {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--sand);
}
.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.8rem;
}
.gallery-grid {
  column-count: 4;
  column-gap: 0.6rem;
}
.gallery-grid a {
  display: block;
  overflow: hidden;
  break-inside: avoid;
  margin-bottom: 0.6rem;
  border-radius: 2px;
}
.gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}
.gallery-grid a:hover img { transform: scale(1.06); }

.gallery-cta { text-align: center; margin-top: 3rem; }
.social-row {
  display: flex;
  gap: 1.8rem;
  justify-content: center;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}
.social-row a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.social-row a:hover { color: var(--terracotta); }

/* ============================================
   FREE STARTER KIT
   ============================================ */
.kit {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--sand);
}
.kit-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--gap);
  align-items: center;
}
.kit-cover { justify-self: center; display: block; cursor: pointer; }
.kit-cover-card {
  width: min(100%, 300px);
  aspect-ratio: 8.5/11;
  position: relative;
  overflow: hidden;
  color: var(--sage);
  border-radius: 4px;
  box-shadow: 0 24px 50px rgba(69,100,90,0.28), 0 0 0 1px rgba(201,165,109,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.8rem;
  transform: rotate(2deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-image: linear-gradient(180deg, rgba(248,245,240,0.93), rgba(248,245,240,0.88)), url('../images/journey/nz1.jpg');
  background-size: cover;
  background-position: center;
}
.kit-cover-card::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(201,165,109,0.5);
  pointer-events: none;
}
.kit-cover:hover .kit-cover-card {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 30px 60px rgba(69,100,90,0.35), 0 0 0 1px rgba(201,165,109,0.6);
}
.kit-cover-card .kc-tap {
  margin-top: 1.1rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  position: relative; z-index: 1;
}
.kit-cta-line {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--sage);
  margin-bottom: 0.8rem;
}
.kit-cover-card .kc-eyebrow {
  font-size: 0.62rem; letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase; margin-bottom: 1rem;
  position: relative; z-index: 1;
}
.kit-cover-card .kc-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1.1;
  position: relative; z-index: 1;
  text-shadow: 0 2px 14px rgba(248,245,240,0.8);
}
.kit-cover-card .kc-rule { width: 2.2rem; height: 1px; background: var(--gold); margin: 0.9rem auto; position: relative; z-index: 1; }
.kit-cover-card .kc-sub {
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage-deep);
  position: relative; z-index: 1;
}
.kit-list {
  list-style: none;
  margin: 0 0 1.8rem;
}
.kit-list li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 0.6rem;
  color: var(--charcoal);
  font-size: 0.95rem;
}
.kit-list li::before {
  content: "\2713";
  position: absolute; left: 0; top: 0;
  color: var(--gold);
  font-weight: 600;
}
.kit-form {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}
.kit-form input[type="email"] {
  flex: 1 1 240px;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--sage);
  background: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  border-radius: 2px;
}
.kit-form input[type="email"]::placeholder { color: #8a8a82; }
.kit-download { margin-top: 0.4rem; }

/* ============================================
   NEWSLETTER (kept for any legacy reference)
   ============================================ */
.newsletter {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  background: var(--ivory);
  text-align: center;
}
.newsletter .wrap { max-width: 640px; }
.newsletter .eyebrow { justify-content: center; }
.newsletter .eyebrow::before { display: none; }
.newsletter-form {
  display: flex;
  gap: 0.7rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input[type="email"] {
  flex: 1 1 260px;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--sage);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  border-radius: 2px;
}
.newsletter-form input[type="email"]::placeholder { color: #8a8a82; }
.newsletter-form input[type="email"]:focus,
.nav-links a:focus-visible,
.btn:focus-visible,
.social-row a:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}
.newsletter-note {
  font-size: 0.78rem;
  color: #8a8a82;
  margin-top: 0.9rem;
}
.form-msg { margin-top: 1rem; font-size: 0.9rem; color: var(--sage); display: none; }
.form-msg.show { display: block; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  position: relative;
  color: var(--ivory);
  padding: clamp(4rem, 8vw, 6rem) 0 2.5rem;
  overflow: hidden;
}
.footer-bg {
  position: absolute; inset: 0;
  background-image: url('../images/footer-bg.jpg');
  background-size: cover;
  background-position: center;
}
.footer-veil { position: absolute; inset: 0; background: rgba(47,47,47,0.82); }
.site-footer .wrap { position: relative; z-index: 2; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(248,245,240,0.18);
}
.footer-logo { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.footer-tag { font-size: 0.85rem; color: rgba(248,245,240,0.7); margin-top: 0.5rem; max-width: 30ch; }
.footer-links { display: flex; gap: 2.4rem; flex-wrap: wrap; }
.footer-col h4 {
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.88rem;
  color: rgba(248,245,240,0.85);
  margin-bottom: 0.55rem;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.6rem;
  font-size: 0.75rem;
  color: rgba(248,245,240,0.55);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .about .wrap, .planner-grid, .kit-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 380px; margin: 0 auto; }
  .planner-cover, .kit-cover { order: -1; }
  .gallery-grid { column-count: 3; }
  .g2, .g3, .g4, .g5 { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--sage-deep);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 2.5rem;
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: var(--ivory) !important; font-size: 0.95rem; }
  .nav-toggle { display: flex; }
  .gallery-grid { column-count: 2; column-gap: 0.5rem; }
  .gallery-grid a { margin-bottom: 0.5rem; }
  .footer-top { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-content, .scroll-cue .line { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}
