:root {
  /* Warm desert palette: terracotta + clay on sun-baked sand. */
  --ink: #3a2c20;
  --muted: #8c7561;
  --bg: #f5ece0;
  --surface: #fdf8f1;
  --line: #e7d7c4;
  --accent: #bf6a45;
  --accent-ink: #9a4e30;
  --display: "Playfair Display", Georgia, serif;
  --body: "Inter", Arial, sans-serif;
  --container: 1200px;
  --side-padding: clamp(1.25rem, 5vw, 4rem);
  --section-padding: clamp(4rem, 9vw, 8rem);
  --header-height: 4.75rem;
}

/* Small reset and reusable page-wide styles. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: var(--body); font-size: 1rem; line-height: 1.7; }
body.menu-open, body.lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; }
h2 { margin-bottom: 1.25rem; font-size: clamp(1.8rem, 3vw, 2.75rem); }
.container { width: min(100%, calc(var(--container) + (2 * var(--side-padding)))); margin-inline: auto; padding-inline: var(--side-padding); }
.section { padding-block: var(--section-padding); }
.eyebrow { margin-bottom: 0.75rem; color: var(--accent-ink); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.section-heading { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-heading > p:last-child { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 0.5rem; left: 0.5rem; z-index: 200; padding: 0.6rem 1rem; color: var(--surface); background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: 0.75rem 1.4rem; border: 1px solid var(--accent); color: var(--surface); background: var(--accent); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; line-height: 1.3; text-align: center; text-transform: uppercase; transition: background 180ms ease, border-color 180ms ease, color 180ms ease; }
.button:hover { border-color: var(--accent-ink); background: var(--accent-ink); }
.button-small { min-height: 2.6rem; padding: 0.55rem 1.15rem; }
.button-outline { color: var(--accent-ink); background: transparent; }
.button-outline:hover { color: var(--surface); }
.button:disabled { cursor: not-allowed; opacity: 0.5; }
.text-link { display: inline-block; padding-bottom: 0.15rem; border-bottom: 1px solid var(--accent); color: var(--accent-ink); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* Navigation and full-screen mobile menu. */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-height); color: var(--surface); transition: color 220ms ease, background 220ms ease, border-color 220ms ease; border-bottom: 1px solid transparent; }
.site-header.is-scrolled, .site-header.menu-active { color: var(--ink); background: var(--bg); border-color: var(--line); }
.nav { position: relative; z-index: 102; display: flex; height: 100%; align-items: center; justify-content: space-between; }
.wordmark { font-family: var(--display); font-size: 1.25rem; font-weight: 600; letter-spacing: 0.01em; }
.desktop-nav { display: none; align-items: center; gap: 1.8rem; }
.desktop-nav > a:not(.button) { font-size: 0.76rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; }
.desktop-nav > a:not(.button):hover { color: var(--accent); }
.menu-toggle { position: relative; z-index: 103; display: grid; width: 2.75rem; height: 2.75rem; place-content: center; gap: 0.42rem; padding: 0; border: 0; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; width: 1.45rem; height: 1px; background: currentColor; transition: transform 220ms ease; }
.menu-toggle[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(0.24rem) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-0.24rem) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 101; display: grid; visibility: hidden; place-items: center; color: var(--ink); background: var(--bg); opacity: 0; transition: visibility 220ms ease, opacity 220ms ease; }
.mobile-menu.is-open { visibility: visible; opacity: 1; }
.mobile-menu nav { display: flex; align-items: center; flex-direction: column; gap: 1.5rem; }
.mobile-menu nav a:not(.button) { font-family: var(--display); font-size: clamp(2rem, 10vw, 3rem); }

/* Full-viewport hero. */
.hero { position: relative; display: flex; min-height: 100svh; align-items: flex-end; color: var(--surface); background: radial-gradient(circle at 73% 40%, #8a6440 0%, #4a3320 40%, #241509 80%); overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 9, 9, 0.88) 0%, rgba(8, 9, 9, 0.46) 48%, rgba(8, 9, 9, 0.06) 100%); }
.hero-content { position: relative; z-index: 1; padding-bottom: clamp(6rem, 13vh, 9rem); }
.hero-content .eyebrow { color: rgba(255, 255, 255, 0.82); }
.hero h1 { max-width: 11ch; margin-bottom: 0.8rem; font-size: clamp(2.5rem, 6vw, 5rem); }
.hero-content > p:not(.eyebrow) { margin-bottom: 1.75rem; font-size: clamp(1rem, 2vw, 1.2rem); }
.scroll-cue { position: absolute; bottom: 1.7rem; left: 50%; z-index: 2; width: 1.6rem; height: 2.6rem; border: 1px solid rgba(255, 255, 255, 0.65); border-radius: 1rem; transform: translateX(-50%); }
.scroll-cue span { position: absolute; top: 0.55rem; left: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--surface); animation: scroll-cue 1.8s infinite; }
@keyframes scroll-cue { 0% { opacity: 0; transform: translate(-50%, 0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 0.85rem); } }

/* Portfolio album cover grid. The hidden .album-store holds full albums as data for the lightbox. */
.album-store { display: none; }
.album-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.album-cover { position: relative; display: block; aspect-ratio: 4 / 5; padding: 0; border: 0; overflow: hidden; background: var(--line); cursor: pointer; }
.album-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.album-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(40, 28, 20, 0.72)); }
.album-cover-label { position: absolute; inset: auto 0 0; z-index: 1; display: flex; flex-direction: column; gap: 0.2rem; padding: 1.5rem; color: #fff; text-align: left; }
.album-cover-label strong { font-family: var(--display); font-size: 1.55rem; font-weight: 500; }
.album-cover-label small { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; }
.album-cover:hover img, .album-cover:focus-visible img { transform: scale(1.05); }

/* About, packages, and contact sections. */
.about { background: var(--surface); }
.about-grid { display: grid; gap: 2.5rem; }
.about-image img { width: 100%; max-width: 380px; margin-inline: auto; display: block; aspect-ratio: 1 / 1; object-fit: cover; }
.about-copy { align-self: center; max-width: 35rem; }
.about-copy > p:not(.eyebrow) { color: var(--muted); }
.about-copy .text-link { margin-top: 0.75rem; }
.about-stats { display: grid; margin: 2rem 0 1.25rem; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.about-stats p { display: flex; margin: 0; padding: 1rem 0.5rem; align-items: center; flex-direction: column; }
.about-stats p + p { border-left: 1px solid var(--line); }
.about-stats strong { font-family: var(--display); font-size: 1.35rem; font-weight: 500; }
.about-stats span { color: var(--muted); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; }

.package-grid { display: grid; gap: 1.25rem; }
.package-card { position: relative; display: flex; min-height: 32rem; padding: 2.2rem 1.6rem; border: 1px solid var(--line); background: var(--surface); flex-direction: column; overflow: hidden; }
.package-card.featured { border-color: var(--accent); }
.popular-label { position: absolute; top: 1.15rem; right: -2.7rem; width: 9.5rem; padding: 0.25rem; color: var(--surface); background: var(--accent); font-size: 0.58rem; font-weight: 600; letter-spacing: 0.1em; text-align: center; text-transform: uppercase; transform: rotate(38deg); }
.package-card h3 { margin-bottom: 0.5rem; font-size: 1.7rem; }
.price { margin-bottom: 1.5rem; font-family: var(--display); font-size: 2.2rem; }
.package-card ul { margin: 0 0 2rem; padding: 0; color: var(--muted); list-style: none; }
.package-card li { padding-block: 0.65rem; border-bottom: 1px solid var(--line); }
.package-card li::before { margin-right: 0.65rem; color: var(--accent); content: "—"; }
.package-card .button { width: 100%; margin-top: auto; }
.package-card > small { margin-top: 0.65rem; color: var(--muted); text-align: center; }
.package-note { margin: 2.25rem auto 0; max-width: 44rem; color: var(--muted); font-size: 0.9rem; text-align: center; }

.contact { background: var(--surface); }
.contact-grid { display: grid; gap: 3rem; }
.contact-intro > p:not(.eyebrow) { max-width: 34rem; color: var(--muted); }
address { display: flex; margin-top: 2rem; font-style: normal; flex-direction: column; gap: 0.35rem; }
address span { color: var(--muted); }
.social-links { display: flex; gap: 1.25rem; margin-top: 1.5rem; }
.social-links a { padding-bottom: 0.1rem; border-bottom: 1px solid var(--line); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.social-links a:hover { color: var(--accent-ink); border-color: var(--accent); }
.contact-form { display: grid; gap: 1.35rem; }
.form-field { display: flex; flex-direction: column; }
.form-field label { margin-bottom: 0.3rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.form-field input, .form-field textarea { width: 100%; padding: 0.75rem 0.1rem; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--accent); outline: 0; }
.form-field select { width: 100%; min-height: 3.3rem; padding: 0.75rem 0.1rem; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: inherit; background: transparent; }
.form-field select:focus { border-color: var(--accent); outline: 0; }
.contact-form .button { justify-self: start; }
.form-note { min-height: 1.7em; margin: 0; color: var(--muted); font-size: 0.85rem; }

.site-footer { padding-top: 3.5rem; border-top: 1px solid var(--line); }
.footer-main { display: flex; align-items: flex-start; flex-direction: column; gap: 1.5rem; }
.footer-main nav { display: flex; flex-wrap: wrap; gap: 0.8rem 1.35rem; }
.footer-main nav a { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-main .social-links { margin-top: 0; }
.footer-meta { display: flex; margin-top: 3rem; padding-block: 1.1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.7rem; flex-direction: column; gap: 0.15rem; }
.footer-meta p { margin: 0; }

/* Full-screen gallery viewer. */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; visibility: hidden; padding: 4rem 3.5rem; color: var(--surface); background: rgba(10, 10, 10, 0.96); grid-template-columns: 1fr; opacity: 0; transition: visibility 200ms ease, opacity 200ms ease; }
.lightbox.is-open { visibility: visible; opacity: 1; }
.lightbox figure { display: flex; min-width: 0; height: 100%; margin: 0; align-items: center; justify-content: center; flex-direction: column; }
.lightbox figure img { max-width: 100%; max-height: calc(100vh - 8rem); object-fit: contain; }
.lightbox figcaption { margin-top: 0.7rem; color: rgba(255, 255, 255, 0.75); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.lightbox-close, .lightbox-arrow { position: absolute; z-index: 1; border: 0; color: var(--surface); background: transparent; }
.lightbox-close { top: 0.65rem; right: 1rem; padding: 0.5rem; font-family: var(--body); font-size: 2.2rem; font-weight: 300; }
.lightbox-arrow { top: 50%; padding: 0.5rem; font-size: 1.7rem; transform: translateY(-50%); }
.lightbox-prev { left: 0.4rem; }
.lightbox-next { right: 0.4rem; }

.reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

[hidden] { display: none !important; }

/* Tablet and desktop layouts build on the mobile styles above. */
@media (min-width: 640px) {
  .album-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .package-card { padding: 2.5rem; }
  .package-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { align-items: center; flex-direction: row; justify-content: space-between; }
  .footer-meta { align-items: center; flex-direction: row; justify-content: space-between; }
}

@media (min-width: 900px) {
  .menu-toggle, .mobile-menu { display: none; }
  .desktop-nav { display: flex; }
  .album-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(4rem, 8vw, 7rem); align-items: center; }
  .package-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .package-card.featured { transform: translateY(-1rem); }
  .contact-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(4rem, 9vw, 8rem); }
  .lightbox { padding-inline: 6rem; }
  .lightbox-prev { left: 1.5rem; }
  .lightbox-next { right: 1.5rem; }
}

@media (min-width: 1200px) {
  .desktop-nav { gap: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
