/* ==========================================================================
   Lily on the Moon — family & children's photography, Cheshire
   Palette lifted from the Chapter Two Photography reference:
     sage/greige #C6BFA8 · warm off-white #F7F5F2 · charcoal #313131
     body grey #555555 · muted #808080 · hairline #E6E6E6
   ========================================================================== */

:root {
  --sage:       #C6BFA8;
  --sage-deep:  #857C62;   /* darker sage for text that needs contrast */
  --sage-pale:  #EDEAE1;
  --cream:      #F7F5F2;
  --cream-warm: #FBFAF8;
  --ink:        #313131;
  --body:       #555555;
  --muted:      #808080;
  --line:       #E6E6E6;
  --dark:       #3A362F;

  --display: "Fraunces", "Times New Roman", Georgia, serif;
  --sans:    "Poppins", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 48px);
  --gap: clamp(24px, 4vw, 48px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p  { margin: 0 0 1.1em; }
em { font-style: italic; color: var(--sage-deep); }

a { color: var(--sage-deep); text-decoration: none; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 3px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.narrow { max-width: 720px; margin-inline: auto; }
.center { text-align: center; }

section { padding-block: clamp(64px, 9vw, 120px); }

/* ---------- eyebrow / small caps label (Chapter Two signature) ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--sage-deep);
  margin: 0 0 18px;
}
.eyebrow--light { color: var(--sage); }

.rule {
  width: 56px; height: 1px; border: 0;
  background: var(--sage);
  margin: 26px 0;
}
.center .rule, .rule--center { margin-inline: auto; }

/* ---------- buttons (shape kept from the first draft, recoloured) ---------- */
.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn--primary { background: var(--sage); color: #2E2A24; }
.btn--primary:hover { background: var(--sage-deep); color: #fff; }

.btn--outline { background: transparent; color: var(--sage-deep); border-color: var(--sage); }
.btn--outline:hover { background: var(--sage); color: #2E2A24; }

.btn--light { background: transparent; color: var(--cream); border-color: rgba(247,245,242,.55); }
.btn--light:hover { background: var(--cream); color: var(--ink); }

.btn--solid-light { background: var(--cream); color: var(--ink); }
.btn--solid-light:hover { background: var(--sage); color: #2E2A24; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row, .btn-row--center { justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247,245,242,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 14px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand svg { flex: none; }
.brand__name {
  font-family: var(--display);
  font-size: 19px; line-height: 1.15; letter-spacing: .02em;
}
.brand__name span { display: block; font-size: 10px; font-family: var(--sans);
  letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--body); font-weight: 400;
}
.nav a:hover { color: var(--sage-deep); }
.nav .btn { color: #2E2A24; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px;
  color: var(--ink); cursor: pointer;
}
.nav-toggle svg { display: block; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 64px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 28px;
    transform: translateY(-120%);
    transition: transform .3s ease;
    box-shadow: 0 18px 40px rgba(49,49,49,.08);
  }
  .nav[data-open="true"] { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 18px; text-align: center; border-bottom: 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: clamp(520px, 78vh, 760px); display: grid; }
.hero__media, .hero__media img { grid-area: 1 / 1; }
.hero__media { position: relative; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(43,40,34,.62) 0%, rgba(43,40,34,.34) 48%, rgba(43,40,34,.08) 100%);
}
.hero__inner {
  grid-area: 1 / 1; position: relative; z-index: 2;
  display: flex; align-items: center;
  max-width: var(--maxw); width: 100%; margin: 0 auto;
  padding: clamp(60px, 10vw, 110px) var(--pad);
}
.hero__copy { max-width: 620px; color: var(--cream); }
.hero__copy h1 { color: var(--cream); margin-bottom: .35em; }
.hero__copy h1 em { color: var(--sage); font-style: italic; }
.hero__copy p { color: rgba(247,245,242,.9); font-size: 1.05rem; max-width: 46ch; }
.hero .eyebrow { color: var(--sage); }

/* ---------- marquee strip ---------- */
.strip {
  background: var(--sage);
  color: #2E2A24;
  padding: 18px 0;
  text-align: center;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
}

/* ---------- four promises ---------- */
.promises { display: grid; gap: var(--gap); grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .promises { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .promises { grid-template-columns: 1fr; } }
.promise h3 { font-size: 1.15rem; margin-bottom: .35em; }
.promise p { font-size: .94rem; color: var(--muted); margin: 0; }
.promise__mark { color: var(--sage); font-size: 20px; line-height: 1; margin-bottom: 14px; }

/* ---------- sessions ---------- */
.cards { display: grid; gap: var(--gap); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.card { background: var(--cream-warm); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.card__body { padding: 28px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.card__meta { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.card p { font-size: .95rem; }
.card__price { font-family: var(--display); font-size: 1.25rem; color: var(--sage-deep); margin: auto 0 20px; }
.card .btn { align-self: flex-start; }
.card--featured { border-color: var(--sage); position: relative; }
.card--featured::before {
  content: "Signature"; position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--sage); color: #2E2A24;
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
}

/* ---------- storybook (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split--sage { background: var(--sage-pale); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.story-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.story-grid img:nth-child(1), .story-grid img:nth-child(4) { aspect-ratio: 3 / 3.4; }
.ticks { list-style: none; margin: 0 0 28px; padding: 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: .97rem; }
.ticks li::before { content: "☾"; position: absolute; left: 0; color: var(--sage); }

.season {
  border-top: 1px solid rgba(133,124,98,.28);
  padding-top: 22px;
  margin-bottom: 30px;
}
.season__title {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 6px;
}
.season__title em { font-style: normal; letter-spacing: .14em; color: var(--sage-deep); }
.season p { font-size: .94rem; margin: 0 0 18px; }
.season p:last-child { margin-bottom: 0; }

/* ---------- quote band ---------- */
.band { position: relative; display: grid; isolation: isolate; }
.band__media, .band__media img { grid-area: 1 / 1; }
.band__media { overflow: hidden; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__media::after { content: ""; position: absolute; inset: 0; background: rgba(43,40,34,.5); }
.band__inner {
  grid-area: 1 / 1; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(70px, 10vw, 130px) var(--pad); text-align: center;
}
.band blockquote { margin: 0; max-width: 760px; }
.band blockquote p {
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem); line-height: 1.5;
  color: var(--cream);
}
.band cite { font-style: normal; font-size: 11px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--sage); }

/* ---------- gallery ---------- */
.grid-gallery {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.grid-gallery button {
  padding: 0; border: 0; background: none; cursor: zoom-in; display: block;
  overflow: hidden;
}
.grid-gallery img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.3,1), filter .4s ease;
}
.grid-gallery button:hover img { transform: scale(1.045); filter: brightness(1.04); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--gap); align-items: center; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.about img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.testimonial {
  border-left: 2px solid var(--sage);
  padding: 4px 0 4px 24px; margin-top: 32px;
}
.testimonial p { font-family: var(--display); font-style: italic; font-size: 1.1rem; color: var(--ink); }
.testimonial footer { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* ---------- contact ---------- */
.contact { background: var(--dark); color: var(--cream); }
.contact h2 { color: var(--cream); }
.contact h2 em { color: var(--sage); }
.contact p { color: rgba(247,245,242,.78); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
.contact__details { font-size: .95rem; }
.contact__details a { color: var(--sage); }
.contact__details a:hover { color: var(--cream); }

.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field label {
  display: block; font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px;
  background: rgba(247,245,242,.06);
  border: 1px solid rgba(198,191,168,.38);
  border-radius: 6px;
  color: var(--cream);
  font-family: var(--sans); font-size: 15px; font-weight: 300;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(247,245,242,.4); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sage); background: rgba(247,245,242,.1);
}
.field select option { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: .8rem; color: rgba(247,245,242,.55); margin: 0; }
.form__status { font-size: .9rem; margin: 0; min-height: 1.4em; }
.form__status[data-state="ok"] { color: var(--sage); }
.form__status[data-state="error"] { color: #E6B2A0; }

/* ---------- footer ---------- */
.site-footer { background: var(--cream); border-top: 1px solid var(--line); padding-block: 48px; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a, .site-footer p { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0; }
.site-footer a:hover { color: var(--sage-deep); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(43,40,34,.94);
  display: none; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 48px);
}
.lightbox[data-open="true"] { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; width: auto; object-fit: contain; }
.lightbox__btn {
  position: absolute; background: none; border: 0; color: var(--cream);
  font-size: 30px; line-height: 1; cursor: pointer; padding: 14px;
  opacity: .8;
}
.lightbox__btn:hover { opacity: 1; color: var(--sage); }
.lightbox__close { top: 10px; right: 14px; font-size: 34px; }
.lightbox__prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 6px; top: 50%; transform: translateY(-50%); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
