:root {
  --ivory: #f8f5f1;
  --ivory-alt: #f1ebe4;
  --charcoal: #2a2724;
  --charcoal-soft: #55504a;
  --rose: #b98b7e;
  --rose-deep: #9c6b5d;
  --sage: #8a9682;
  --sage-deep: #5f6b58;
  --sand: #c9b29a;
  --sand-deep: #8c7457;
  --line: #e2d9cf;
  --white: #ffffff;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.6;
  font-weight: 300;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0;
  color: var(--charcoal);
}

p { margin: 0 0 1rem; }

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

img { max-width: 100%; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--rose-deep);
  margin: 0 0 0.6rem;
  font-weight: 500;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 245, 241, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  color: var(--charcoal);
  white-space: nowrap;
}
.brand span { color: var(--rose-deep); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--rose-deep); }

.nav-cta {
  border: 1px solid var(--charcoal);
  padding: 0.55rem 1.1rem;
  color: var(--charcoal) !important;
}
.nav-cta:hover {
  background: var(--charcoal);
  color: var(--ivory) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #3a332f url('../images/couple-laughing.jpg') center 30% / cover no-repeat;
  color: var(--ivory);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 24, 20, 0.55) 0%, rgba(30, 24, 20, 0.45) 45%, rgba(30, 24, 20, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding: 0 1.5rem;
}

.hero .eyebrow { color: #f0e2d8; letter-spacing: 0.24em; }

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-sub {
  font-size: 1.1rem;
  color: #f4ebe5;
  margin: 0 auto 2.25rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ivory);
  font-size: 1.4rem;
  opacity: 0.75;
  z-index: 2;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn.small { padding: 0.6rem 1.4rem; font-size: 0.78rem; }

.btn-primary {
  background: var(--rose-deep);
  color: var(--white);
  border-color: var(--rose-deep);
}
.btn-primary:hover { background: #80554a; border-color: #80554a; }

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

.btn-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
}
.btn-light:hover { background: var(--white); color: var(--charcoal); }

.btn:disabled { opacity: 0.6; cursor: default; }

/* ---------- Sections ---------- */
.section {
  padding: 6rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.section.alt {
  max-width: none;
  background: var(--ivory-alt);
}
/* Zero-specificity default so components can set their own narrower widths */
:where(.section.alt) > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 0.75rem; }
.section-sub { color: var(--charcoal-soft); margin: 0; }

/* ---------- What I Shoot (categories) ---------- */
.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.category-tile {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.category-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(42, 39, 36, 0.35);
}
.category-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.category-tile:hover .category-media img { transform: scale(1.04); }
.category-media.tone-sage {
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.18), transparent 55%),
    linear-gradient(150deg, var(--sage) 0%, var(--sage-deep) 100%);
}
.category-media.tone-sand {
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.2), transparent 55%),
    linear-gradient(150deg, var(--sand) 0%, var(--sand-deep) 100%);
}
.category-word {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
}
.category-body {
  padding: 1.75rem 1.75rem 2rem;
  text-align: center;
}
.category-body h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.category-body p { color: var(--charcoal-soft); font-size: 0.95rem; margin-bottom: 1.1rem; }
.category-link {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-weight: 500;
}

@media (max-width: 860px) {
  .categories { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 0.75rem;
}
.gallery-item {
  margin: 0;
  overflow: hidden;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-portrait {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-copy h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 1rem; }

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Packages ---------- */
.packages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.packages.cols-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 980px;
  margin: 0 auto;
}
.package-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}
.package-card.featured {
  border-color: var(--rose-deep);
  box-shadow: 0 20px 40px -20px rgba(42, 39, 36, 0.25);
}
.package-card .badge {
  position: absolute;
  top: -0.9rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rose-deep);
  color: var(--white);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  margin: 0;
  white-space: nowrap;
}
.package-card h3 { font-size: 1.6rem; margin-bottom: 0.5rem; line-height: 1.25; }
.price {
  color: var(--rose-deep);
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}
.package-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  text-align: left;
  color: var(--charcoal-soft);
  font-size: 0.92rem;
  flex-grow: 1;
}
.package-card li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}
.package-card li:last-child { border-bottom: none; }
.package-card .btn { align-self: center; }

@media (max-width: 980px) {
  .packages { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .packages.cols-3 { grid-template-columns: 1fr; max-width: 440px; }
}
@media (max-width: 560px) {
  .packages { grid-template-columns: 1fr; }
}

/* ---------- Callouts (engagement session, little ones) ---------- */
.callout {
  max-width: 720px;
  margin: 3.5rem auto 0;
  text-align: center;
  background: var(--white);
  border-left: 2px solid var(--rose-deep);
  padding: 2rem 2.25rem;
}
.callout-title {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}
.callout p {
  color: var(--charcoal-soft);
  margin: 0;
}

.packages-note {
  text-align: center;
  color: var(--charcoal-soft);
  font-size: 0.9rem;
  max-width: 600px;
  margin: 2.5rem auto 0;
}

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 880px;
  margin: 0 auto;
}
.testimonials blockquote {
  margin: 0;
  background: var(--white);
  border-top: 2px solid var(--rose-deep);
  padding: 2rem 1.75rem;
}
.testimonials p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--charcoal);
}
.testimonials cite {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}

@media (max-width: 860px) {
  .testimonials { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact-inner { max-width: 760px; margin: 0 auto; }
.contact-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  width: 100%;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  width: 100%;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--charcoal);
  resize: vertical;
  width: 100%;
}
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2355504a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--rose-deep);
}
.form-note {
  width: 100%;
  font-size: 0.85rem;
  color: var(--rose-deep);
  background: var(--white);
  padding: 0.75rem 1rem;
  border-left: 2px solid var(--rose-deep);
  margin: 0;
}
.form-note.success {
  color: #3f6b4f;
  background: #eef3ee;
  border-left-color: #3f6b4f;
}
.contact-direct {
  margin-top: 2.5rem;
  text-align: center;
  color: var(--charcoal-soft);
}
.contact-direct a { color: var(--rose-deep); text-decoration: underline; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: #cfc8c0;
  text-align: center;
  padding: 3.5rem 1.5rem 2.5rem;
  font-size: 0.85rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ivory);
  margin-bottom: 0.25rem;
}
.footer-brand span { color: var(--rose); }
.footer-tag {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: #a39b92;
  margin-bottom: 1.5rem;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
.social-links a {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  color: #cfc8c0;
}
.social-links a:hover { color: var(--rose); }
.footer-copy { font-size: 0.78rem; color: #8f877e; margin: 0; }

/* ---------- Mobile nav ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 440px; }
  .main-nav a {
    width: 100%;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-cta { border: none; border-bottom: 1px solid var(--line); }
}
