/* ==========================================================================
   Chalk & Collar — Dog Photography Session Days
   Chalk-cream / moss / rust, autumnal & outdoor
   ========================================================================== */

:root {
  --chalk: #F3EEE3;
  --bg: #F8F4EB;
  --white: #FFFDF9;

  --forest-900: #1F2A1E;
  --forest-700: #33482F;
  --forest-300: #7C9171;

  --rust: #B1502C;
  --rust-dark: #8F3F22;

  --ink: #26251E;
  --stone: #8B8370;
  --line: #DEDACB;
  --cream-panel: #EAE3D2;

  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 24px rgba(31, 42, 30, 0.08);
  --shadow-lg: 0 20px 48px rgba(31, 42, 30, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--forest-900);
  line-height: 1.12;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 4.8vw, 3.8rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1em; }

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

button { font-family: inherit; }

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow { max-width: 760px; }

.section { padding: 96px 0; }

.center { text-align: center; margin-left: auto; margin-right: auto; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--rust-dark);
  margin: 0 0 0.6em;
}

.section-sub {
  max-width: 560px;
  color: var(--stone);
  margin-bottom: 3rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--rust);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--rust-dark); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--forest-900);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--forest-700); }

.btn-large { padding: 16px 32px; font-size: 1.05rem; }
.btn-small { padding: 10px 20px; font-size: 0.9rem; }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 244, 235, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--forest-900);
}
.logo-amp { font-style: italic; color: var(--rust); font-weight: 500; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a:not(.btn) {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--forest-900);
  opacity: 0.8;
}
.main-nav a:not(.btn):hover { opacity: 1; color: var(--rust-dark); }

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

/* ---------- Hero ---------- */
.hero { padding: 64px 0 48px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.hero-sub { font-size: 1.15rem; color: var(--stone); max-width: 46ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 20px; }
.hero-trust-line { font-size: 0.85rem; color: var(--stone); margin: 0; }

.hero-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hero-mosaic-item {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 2rem;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--forest-700);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 14px;
}
.step p { color: var(--stone); margin: 0; font-size: 0.95rem; }

/* ---------- Pricing ---------- */
.pricing { background: var(--cream-panel); }
.price-card {
  max-width: 460px;
  margin: 2rem auto 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.price {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--forest-900);
  margin: 0 0 1.2rem;
}
.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-list li {
  padding-left: 26px;
  position: relative;
  color: var(--ink);
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--forest-700);
}
.price-note { font-size: 0.82rem; color: var(--stone); margin: 14px 0 0; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
  gap: 20px;
  margin-top: 2rem;
}
.gallery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.gallery-item--tall { grid-row: span 2; }
.gallery-item--feature { grid-column: span 2; grid-row: span 2; }

/* ---------- Meet the photographer ---------- */
.meet-photographer-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.meet-photographer-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.meet-photographer-copy p:last-child { margin-bottom: 0; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 2rem;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  margin: 0;
}
.testimonial-avatar {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
  margin-bottom: 16px;
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--forest-900);
}
.testimonial cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--rust-dark);
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 2rem; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--forest-900);
  padding: 20px 4px;
  cursor: pointer;
}
.faq-icon {
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--rust);
  transition: transform 0.2s ease;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p {
  color: var(--stone);
  padding: 0 4px 20px;
  margin: 0;
}

/* ---------- Email capture ---------- */
.email-capture { background: var(--forest-900); }
.email-capture .eyebrow { color: #C9B896; }
.email-capture h2 { color: var(--white); }
.email-capture .section-sub { color: #C7C2B4; margin-left: auto; margin-right: auto; }
.email-capture-form { max-width: 620px; margin: 0 auto; }
.email-capture-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 12px;
}
.email-capture-row input {
  background: var(--white);
}
.hidden-field { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-900);
  color: #D9D3C0;
  padding: 64px 0 24px;
  border-top: 1px solid rgba(217, 211, 192, 0.12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(217, 211, 192, 0.15);
}
.footer-grid h4 {
  color: #EDE6D6;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.footer-grid a { display: block; margin-bottom: 10px; opacity: 0.85; }
.footer-grid a:hover { opacity: 1; }
.footer-tagline { opacity: 0.75; font-size: 0.92rem; margin-top: 12px; max-width: 32ch; }
.logo-footer { color: var(--white); margin-bottom: 4px; }
.footer-bottom {
  padding-top: 24px;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 12px 10px 22px;
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  font-size: 0.88rem;
}
.sticky-cta.is-visible { display: flex; }

/* ---------- Booking modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(31, 42, 30, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay[hidden] { display: none; }
.modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--forest-900);
  cursor: pointer;
}
.modal-close:hover { border-color: var(--rust); color: var(--rust); }
.modal-subtitle { color: var(--stone); }
.modal-signature { font-size: 0.85rem; color: var(--forest-700); margin-bottom: 1.5rem; }

/* ---------- Forms (booking request + email capture) ---------- */
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--forest-900);
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.15s ease;
}
input:focus, textarea:focus { outline: none; border-color: var(--rust); background: var(--white); }
textarea { resize: vertical; }

.form-status {
  min-height: 1.2em;
  font-size: 0.9rem;
  color: var(--stone);
  margin: 14px 0 0;
  text-align: center;
}
.email-capture .form-status { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .meet-photographer-inner { grid-template-columns: 1fr; }
  .meet-photographer-media { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .email-capture-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--line);
    display: none;
    gap: 14px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav .btn { margin-top: 8px; }
  .nav-toggle { display: flex; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .price-card { padding: 32px 24px; }
  .modal { padding: 32px 24px; }
}
