/* Wild & Whimsical — first-draft site styles */
:root {
  --cream: #f6f0e4;
  --paper: #fbf7f0;
  --white: #fffdf8;
  --ink: #2c322e;
  --ink-soft: #5c635e;
  --forest: #3a4f43;
  --forest-deep: #2a3a32;
  --sage: #7f9a86;
  --sage-soft: #c9d9ce;
  --mint: #dce8e0;
  --terracotta: #c27856;
  --blush: #e6c4b8;
  --gold: #c4a36a;
  --line: rgba(58, 79, 67, 0.14);
  --shadow: 0 18px 40px rgba(42, 58, 50, 0.12);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;
  --header-h: 4.5rem;
  --radius: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  font-optical-sizing: auto;
}

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

a {
  color: var(--forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--terracotta);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--forest-deep);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 0.4rem;
}

.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 240, 228, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 550;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--forest-deep);
  text-decoration: none;
  line-height: 1.1;
}

.logo:hover {
  color: var(--forest);
}

.logo .amp {
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta);
  padding: 0 0.08em;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-label span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--forest-deep);
  border-radius: 1px;
}

.site-nav ul {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--forest-deep);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--terracotta);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.5rem 0 4.5rem;
  min-height: calc(100vh - var(--header-h) - 2rem);
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--forest-deep);
}

.hero h1 .amp {
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta);
}

.tagline {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 22ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 1.5rem;
}

.btn {
  display: inline-block;
  background: var(--forest);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 2px solid var(--forest);
  cursor: pointer;
  font-family: inherit;
}

.btn:hover,
.btn:focus-visible {
  background: var(--forest-deep);
  border-color: var(--forest-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--forest-deep);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.btn-ghost:hover {
  color: var(--terracotta);
}

.hero-photo {
  margin: 0;
  position: relative;
}

.hero-photo img {
  width: 100%;
  height: min(78vh, 820px);
  object-fit: cover;
  object-position: center 18%;
  border-radius: 1.5rem 0.4rem 1.5rem 0.4rem;
  box-shadow: var(--shadow);
}

.photo-credit {
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.4rem;
}

.section-head h2,
.about h2,
.contact h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--forest-deep);
}

.lede,
.section-head p {
  margin: 0;
  color: var(--ink-soft);
}

.band {
  background: var(--mint);
}

.band-cream {
  background: var(--cream);
}

.band-paper {
  background: var(--paper);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.about-copy p {
  margin: 0 0 1.1rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-note {
  margin-top: 1.6rem !important;
  padding: 1rem 1.1rem;
  background: var(--white);
  border-left: 3px solid var(--gold);
  border-radius: 0 0.7rem 0.7rem 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.about-aside {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow);
}

.about-aside h3 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--forest-deep);
}

.about-aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-aside li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.about-aside li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.about-aside strong {
  color: var(--forest-deep);
  font-weight: 700;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.45rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-card svg {
  width: 1.8rem;
  height: 1.8rem;
  stroke: var(--terracotta);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 550;
  font-size: 1.45rem;
  color: var(--forest-deep);
}

.service-card p {
  margin: 0 0 1.2rem;
  color: var(--ink-soft);
  flex: 1;
}

.price-note {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
}

/* Gallery */
.gallery-intro {
  margin-bottom: 2rem;
}

.gallery-label {
  margin: 0 0 0.9rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.85rem;
  margin-bottom: 2.75rem;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 0.9rem;
  background: var(--sage-soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.2rem 0.8rem 0.7rem;
  background: linear-gradient(to top, rgba(42, 58, 50, 0.72), transparent);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 650;
}

/* Mixed-orientation people galleries. Images keep their natural
   aspect ratios (no cropping). Styled portraits use a 3-2-3-2 rhythm;
   seniors use two larger portraits over a full-width landscape. */
.people-grid {
  grid-template-columns: repeat(6, 1fr);
  align-items: start;
}

.people-grid .gallery-item {
  grid-column: span 2;
  min-height: 0;
}

.people-grid .gallery-item.landscape {
  grid-column: span 4;
}

.people-grid .gallery-item.pair {
  grid-column: span 3;
}

.seniors-grid .gallery-item {
  grid-column: span 3;
}

.seniors-grid .gallery-item.landscape {
  grid-column: span 6;
}

.people-grid .gallery-item img {
  height: auto;
  object-fit: unset;
}

.animals-grid .gallery-item {
  grid-column: span 4;
  min-height: 320px;
}

.animals-grid .gallery-item:nth-child(1),
.animals-grid .gallery-item:nth-child(4) {
  min-height: 420px;
}

.badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 1;
  background: rgba(246, 240, 228, 0.95);
  color: var(--forest-deep);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-detail {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.7rem 0.9rem;
  margin: 0 0 0.7rem;
  color: var(--ink);
}

.contact-detail strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.15rem;
}

.contact-detail a {
  color: var(--forest-deep);
  text-decoration: none;
  font-weight: 650;
}

.contact-detail a:hover,
.contact-detail a:focus-visible {
  color: var(--terracotta);
  text-decoration: underline;
}

.contact-help {
  margin-top: 1.2rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 1rem;
}

label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--forest-deep);
}

.optional {
  font-weight: 500;
  color: var(--ink-soft);
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 0.7rem 0.8rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--sage);
  border-color: var(--sage);
  background: var(--white);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

code {
  font-size: 0.92em;
  word-break: break-word;
}

.form-note {
  margin: 0.9rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.footer-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
}

.site-footer .logo {
  font-size: 1.1rem;
}

.credits {
  max-width: 38rem;
  margin: 0;
}

/* Mid-width people gallery: two columns, landscape goes full row */
@media (max-width: 1080px) and (min-width: 861px) {
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .people-grid .gallery-item,
  .people-grid .gallery-item.landscape,
  .people-grid .gallery-item.pair,
  .seniors-grid .gallery-item,
  .seniors-grid .gallery-item.landscape {
    grid-column: span 1;
  }

  .people-grid .gallery-item.landscape,
  .seniors-grid .gallery-item.landscape {
    grid-column: span 2;
  }
}

/* Mobile */
@media (max-width: 860px) {
  .header-inner,
  .wrap,
  .hero,
  .footer-inner {
    width: min(1120px, calc(100% - 1.6rem));
  }

  .nav-toggle-label {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1.2rem 1.1rem;
  }

  .nav-toggle:checked ~ .site-nav {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.4rem;
  }

  .site-nav a {
    display: block;
    padding: 0.55rem 0;
  }

  .hero,
  .about-grid,
  .services-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .hero {
    padding: 2rem 0 3rem;
    min-height: 0;
  }

  .tagline {
    max-width: none;
  }

  .eyebrow {
    letter-spacing: 0.12em;
  }

  .hero-photo img {
    height: 85vw;
    min-height: 400px;
    max-height: 560px;
  }

  section {
    padding: 3.2rem 0;
  }

  .people-grid {
    grid-template-columns: 1fr;
  }

  .people-grid .gallery-item,
  .people-grid .gallery-item.landscape,
  .people-grid .gallery-item.pair,
  .seniors-grid .gallery-item,
  .seniors-grid .gallery-item.landscape,
  .animals-grid .gallery-item,
  .animals-grid .gallery-item:nth-child(1),
  .animals-grid .gallery-item:nth-child(4) {
    grid-column: span 1;
    min-height: 0;
  }

  .people-grid .gallery-item img {
    height: auto;
    max-height: none;
  }

  .animals-grid .gallery-item img {
    height: 72vw;
    min-height: 240px;
    max-height: 480px;
  }
}
