/* ===== Design tokens ===== */
:root {
  /* Four-color palette — sage, cream, pumpkin, dark grey (+ white). */

  /* Sage — section backgrounds, eyebrows, vine, secondary buttons */
  --sage: #5b6f52;
  --sage-dark: #3f4f38;
  --sage-pale: #eef1e9;

  /* Cream — page & card backgrounds */
  --cream: #faf6ee;
  --cream-dark: #f0e9db;
  --white: #ffffff;

  /* Pumpkin — the accent / call-to-action color (replaces the old gold) */
  --pumpkin: #d76a29;        /* bright pumpkin, matching the hero photo */
  --pumpkin-dark: #bd571d;   /* hover / pressed */
  --pumpkin-light: #e0a075;  /* accents on dark backgrounds */

  /* Dark grey — headings, dark UI bands, body copy */
  --charcoal: #34312c;       /* headings, nav, dark bands */
  --charcoal-soft: #4a463f;  /* gradient partner for the CTA band */
  --ink: #3a372f;            /* body copy */
  --grey: #767065;           /* muted / secondary text */

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;

  --max-width: 1180px;
  --radius: 6px;
  --shadow-soft: 0 10px 30px rgba(52, 49, 44, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--charcoal);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--charcoal);
  font-weight: 600;
  margin: 0 0 16px;
  line-height: 1.15;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }

/* Small accent rule under every h2 — a consistent visual anchor that
   gives the eye a place to land after the heading before moving into
   body copy. Centered under centered headings, left-aligned elsewhere
   (e.g. the Meet Victoria heading in the About section). */
h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--pumpkin);
  border-radius: 2px;
  margin-top: 16px;
}
h2.center::after,
.cta-band h2::after {
  margin-left: auto;
  margin-right: auto;
}
h3 { font-size: 1.5rem; margin-bottom: 8px; }

p { margin: 0 0 16px; }

/* Accent word inside a heading — identical face and weight to the
   heading around it (no italics), simply set in the pumpkin accent
   color to draw the eye. */
.script {
  color: var(--pumpkin);
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sage);
  margin-bottom: 10px;
}

.center { text-align: center; }
.section-sub {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: var(--grey);
}

section { padding: 96px 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--pumpkin);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--pumpkin-dark); }

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-ghost:hover { background: var(--charcoal); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--sage);
  border-color: var(--sage);
  margin-top: 12px;
}
.btn-outline:hover { background: var(--sage); color: var(--white); }

.btn-small { padding: 10px 22px; font-size: 0.85rem; }
.btn-large { padding: 18px 42px; font-size: 1.05rem; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(52, 49, 44, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-icon { height: 42px; width: auto; }
.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a { color: var(--charcoal); position: relative; padding: 6px 0; }
.nav-links a:hover { color: var(--pumpkin); }

.nav-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(52,49,44,0.82) 0%, rgba(52,49,44,0.55) 45%, rgba(52,49,44,0.28) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 700px;
  padding-top: 40px;
  padding-bottom: 40px;
  /* sit a bit above vertical center rather than dead-center */
  transform: translateY(-6vh);
}
.hero-content h1 {
  color: var(--white);
  font-weight: 700;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.hero-content .eyebrow { color: var(--pumpkin-light); }
/* On the dark hero the pumpkin accent word reads poorly, so this single
   instance uses sage instead (scoped to the hero only — every other
   heading keeps the pumpkin accent). */
.hero-content .script { color: #9cb389; }
.hero-sub {
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.96);
  max-width: 560px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.hero-content .btn-ghost { color: var(--white); border-color: var(--white); }
.hero-content .btn-ghost:hover { background: var(--white); color: var(--charcoal); }

/* ===== About ===== */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.about-copy p { color: var(--ink); }

/* ===== How it works ===== */
.how { background: var(--sage-pale); }

.how-steps-wrap {
  position: relative;
  margin-top: 56px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  /* sits above the decorative vine */
  position: relative;
  z-index: 1;
}
.how-step {
  text-align: center;
  padding: 0 12px;
}
.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--pumpkin);
  color: var(--white);
  border: 3px solid var(--white);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  box-shadow: 0 8px 20px rgba(52, 49, 44, 0.18);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.how-step p { color: var(--grey); font-size: 0.95rem; }

/* ---- Decorative vine ----
   Purely ornamental: hidden from assistive tech (aria-hidden + role
   presentation on the SVGs themselves), removed from the hit-testing
   tree (pointer-events: none), and layered behind the step content
   (z-index 0 vs. 1 on .how-steps). */
.how-vine {
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

/* The main stem is rendered live (not inside <defs>/<use>), so ordinary
   stylesheet selectors apply to it reliably. Everything reused via
   <use> (leaves, tendrils) carries its fill/stroke as inline `style`
   on the template shape instead — see the markup. Color matches the
   vine artwork in the vector logo. */
.how-vine .vine-stem {
  fill: none;
  stroke: var(--sage);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.85;
}

/* Row vine sits in a band aligned with the number badges, arching
   above/below without reaching down into the heading/body text. */
.how-vine--row {
  top: 0;
  height: 95px;
}

/* Column vine (simplified, stacked mobile layout) — hidden until the
   steps actually stack; see breakpoints below. */
.how-vine--col {
  display: none;
  top: 0;
  height: 100%;
}

/* Vine "grows in" once the section scrolls into view, for users who
   are fine with motion. --vine-len is set by JS (to the path's real
   length) only when it's actually going to animate; with no JS, or
   with prefers-reduced-motion, the variable is simply never set, the
   var() fallback of 0 applies, and the vine is just plain-drawn/static. */
.how-vine .vine-draw {
  stroke-dasharray: var(--vine-len, 0);
  stroke-dashoffset: var(--vine-len, 0);
  transition: stroke-dashoffset 1.6s ease;
}
.how-vine.is-visible .vine-draw {
  stroke-dashoffset: 0;
}
@media (prefers-reduced-motion: reduce) {
  .how-vine .vine-draw {
    stroke-dashoffset: 0 !important;
    transition: none !important;
  }
}

/* ===== Portfolio ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}
.portfolio-item {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.portfolio-item:hover img { transform: scale(1.06); }

/* ===== Packages ===== */
.packages { background: var(--white); }
.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  align-items: stretch;
}
.package-card {
  position: relative;
  background: var(--cream);
  border: 1px solid rgba(52,49,44,0.08);
  border-radius: 12px;
  padding: 36px 26px;
  display: flex;
  flex-direction: column;
}
.package-card--featured {
  background: var(--white);
  border: 2px solid var(--pumpkin);
  box-shadow: 0 16px 34px rgba(193, 91, 43, 0.22);
}
.package-card h3 { margin-bottom: 4px; }
.package-card .price {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  color: var(--pumpkin);
  font-weight: 700;
  margin-bottom: 6px;
}
.package-card .fit {
  font-size: 0.85rem;
  color: var(--grey);
  font-style: italic;
  margin-bottom: 18px;
}
.package-card ul {
  margin-bottom: 24px;
  flex-grow: 1;
}
.package-card li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 0.92rem;
  color: var(--ink);
  border-top: 1px dashed rgba(52,49,44,0.1);
}
.package-card li:first-child { border-top: none; }
.package-card li::before {
  content: "\2726";
  position: absolute;
  left: 0;
  color: var(--sage);
  font-size: 0.75rem;
  top: 9px;
}
.package-card .btn { text-align: center; }
.badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0;
}
.packages-footnote {
  text-align: center;
  color: var(--grey);
  font-size: 0.85rem;
  margin-top: 32px;
  margin-bottom: 0;
}

/* ===== Instagram ===== */
.instagram { background: var(--sage-pale); text-align: center; }
/* Wrapper that holds the live widget embed (or the fallback grid until
   the widget is connected). Keeps whatever lands inside centered and
   within the content width. */
.instagram-embed {
  margin: 48px auto 36px;
  width: 100%;
}
/* Grid of hard-coded Instagram post embeds. Instagram's embed.js swaps
   each .instagram-media blockquote for an iframe sized to its own post,
   so posts and reels come back at different heights. To keep the grid
   uniform, each embed lives inside a fixed-ratio .ig-tile that clips the
   overflow — every tile shows the post header + image at the same shape,
   with the variable-length caption/footer cropped below the fold. */
.ig-embed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
}
.ig-tile {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.2;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  background: var(--white);
}
.ig-tile .instagram-media {
  margin: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}
@media (max-width: 1000px) {
  .ig-embed-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .ig-embed-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

/* ===== FAQ ===== */
.faq-container { max-width: 780px; }
.faq-list { margin-top: 48px; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid rgba(52,49,44,0.1);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--charcoal);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--pumpkin);
  margin-left: 12px;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 14px; margin-bottom: 0; color: var(--grey); }

/* ===== Closing CTA ===== */
.cta-band {
  background: linear-gradient(120deg, #46543c 0%, var(--sage-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 88px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 32px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.82);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { text-align: center; }
.footer-logo {
  height: 120px;
  width: auto;
  margin: 0 auto 18px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.82);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.footer-social a:hover {
  color: var(--white);
  background: var(--pumpkin);
  border-color: var(--pumpkin);
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; display: block; }
.footer-col h4 {
  font-family: var(--font-body);
  color: var(--white);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.footer-col a:hover { color: var(--pumpkin-light); }
.footer-col p { font-size: 0.9rem; color: rgba(255,255,255,0.65); }

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .hero-content { max-width: 540px; }
}

@media (max-width: 1000px) {
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .how-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  /* 2x2 layout doesn't map to a clean left-to-right or top-to-bottom
     vine without crowding the cards, so it sits out this range. */
  .how-vine--row { display: none; }
}

@media (max-width: 780px) {
  section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-logo-text { font-size: 1.15rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .packages-grid { grid-template-columns: 1fr; }
  .hero-content { padding-top: 20px; max-width: 100%; }
  .hero { min-height: 82vh; }

  .site-header.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid rgba(52,49,44,0.08);
    box-shadow: var(--shadow-soft);
  }
}

@media (max-width: 480px) {
  .nav-actions .btn-small { display: none; }
}

@media (max-width: 640px) {
  /* Steps fully stack; switch each card to an icon-left/text-right row
     so the vine has a clean, text-free gutter to run through. */
  .how-steps {
    grid-template-columns: 1fr;
    row-gap: 42px;
    padding-left: 54px;
  }
  .how-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
    padding: 0;
  }
  .how-num { margin-bottom: 0; flex-shrink: 0; }

  .how-vine--row { display: none; }
  .how-vine--col {
    display: block;
    width: 54px; /* confined to the reserved gutter, never under the text */
    left: 0;
  }
}

@media (max-width: 560px) {
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
