/* ==========================================================================
   Benke's Photography - Custom Stylesheet
   ========================================================================== */

/* --- Custom Properties --- */
:root {
  --bg: #faf9f6;
  --bg-alt: #f3f0eb;
  --bg-card: #ffffff;
  --text: #2d2926;
  --text-muted: #7a7168;
  --primary: #7a8b6e;
  --primary-light: #96a88a;
  --accent: #c4967a;
  --accent-light: #d4ae98;
  --border: #e4dfd8;
  --shadow: rgba(45, 41, 38, 0.08);
  --shadow-lg: rgba(45, 41, 38, 0.12);
  --radius: 4px;
  --transition: 0.3s ease;
  --nav-height: 72px;
}

[data-theme="dark"] {
  --bg: #151413;
  --bg-alt: #1e1c1a;
  --bg-card: #262320;
  --text: #e6e2dc;
  --text-muted: #9a948c;
  --primary: #8ea882;
  --accent: #d4a68a;
  --border: #3a3632;
  --shadow: rgba(0, 0, 0, 0.2);
  --shadow-lg: rgba(0, 0, 0, 0.3);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  transition: background-color var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* FOUC prevention */
body.loading {
  visibility: hidden;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.25rem, 1.5rem + 3.75vw, 4rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(1.75rem, 1.25rem + 2.5vw, 3rem);
}

h3 {
  font-size: clamp(1.375rem, 1.1rem + 1.25vw, 2rem);
}

h4 {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.section-label {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: block;
}

.section-heading {
  margin-bottom: 1.25rem;
}

.section-subtext {
  color: var(--text-muted);
  max-width: 600px;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.container--wide {
  max-width: 1400px;
}

section {
  padding: clamp(3.5rem, 3rem + 3vw, 7rem) 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background-color: var(--primary-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--shadow-lg);
}

.btn--accent {
  background-color: var(--accent);
  color: #fff;
}

.btn--accent:hover {
  background-color: var(--accent-light);
  color: #fff;
  transform: translateY(-1px);
}

.btn--outline {
  border: 1.5px solid var(--border);
  color: var(--text);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn--ghost {
  color: var(--primary);
  padding: 0.875rem 0;
}

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

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: transparent;
  transition: background-color var(--transition), box-shadow var(--transition);
  height: var(--nav-height);
}

.nav.scrolled {
  background-color: var(--bg);
  box-shadow: 0 1px 0 var(--border);
}

.has-dark-hero .nav:not(.scrolled) {
  color: #fff;
}

.has-dark-hero .nav:not(.scrolled) a,
.has-dark-hero .nav:not(.scrolled) button {
  color: #fff;
}

.has-dark-hero .nav:not(.scrolled) .nav__logo {
  color: #fff;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav__logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.375rem;
  color: var(--text);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav__logo:hover {
  color: var(--primary);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--primary);
  transition: width var(--transition);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.has-dark-hero .nav:not(.scrolled) .nav__links a {
  color: #fff;
}

.has-dark-hero .nav:not(.scrolled) .nav__links a::after {
  background-color: #fff;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__phone {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text);
}

.nav__phone svg {
  width: 16px;
  height: 16px;
}

.has-dark-hero .nav:not(.scrolled) .nav__phone {
  color: #fff;
}

/* Dark mode toggle */
.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text);
  transition: all var(--transition);
}

.theme-toggle:hover {
  background-color: var(--bg-alt);
}

.has-dark-hero .nav:not(.scrolled) .theme-toggle:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.theme-toggle .icon-moon {
  display: block;
}

.theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--text);
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: currentColor;
  transition: all var(--transition);
  border-radius: 1px;
}

.nav__hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg);
  z-index: 99;
  padding: 2rem 1.5rem;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.nav__mobile a:hover {
  color: var(--primary);
}

.nav__mobile .nav__mobile-phone {
  margin-top: 1.5rem;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: none;
}

@media (max-width: 768px) {
  .nav__links,
  .nav__phone {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@supports (-webkit-touch-callout: none) {
  .hero__bg {
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  .hero__bg {
    background-attachment: scroll;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(21, 20, 19, 0.45) 0%,
    rgba(21, 20, 19, 0.55) 50%,
    rgba(21, 20, 19, 0.7) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 800px;
}

.hero__content .section-label {
  color: rgba(255, 255, 255, 0.7);
}

.hero__content h1 {
  color: #fff;
  margin-bottom: 1.25rem;
}

.hero__content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  max-width: 560px;
  margin: 0 auto 2rem;
}

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

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.6);
  animation: float 2.5s ease-in-out infinite;
}

.hero__scroll svg {
  width: 24px;
  height: 24px;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Services / Packages --- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

.package-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  transition: all var(--transition);
  position: relative;
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow);
}

.package-card.featured {
  border-color: var(--primary);
}

.package-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.375rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
}

.package-card h3 {
  margin-bottom: 0.5rem;
}

.package-card .package-subtitle {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.package-card ul {
  margin-bottom: 2rem;
}

.package-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.package-card li:last-child {
  border-bottom: none;
}

.package-card li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--primary);
}

/* --- Gallery Preview --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 3rem;
}

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

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Film-strip hover effect */
.gallery-item::before,
.gallery-item::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.7) 0px,
    rgba(0, 0, 0, 0.7) 8px,
    transparent 8px,
    transparent 12px
  );
  z-index: 2;
  transition: height 0.4s ease;
  pointer-events: none;
}

.gallery-item::before {
  top: 0;
}

.gallery-item::after {
  bottom: 0;
}

.gallery-item:hover::before,
.gallery-item:hover::after {
  height: 14px;
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(21, 20, 19, 0.6));
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__overlay span {
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.125rem;
  font-weight: 600;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

.testimonial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
  color: var(--accent);
}

.testimonial-card__stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.testimonial-card blockquote {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-card__author {
  font-weight: 500;
  font-size: 0.9375rem;
}

.testimonial-card__detail {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-top: 0.125rem;
}

/* --- About Teaser --- */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

.about-teaser__image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.about-teaser__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-teaser__content .section-subtext {
  margin-bottom: 1.5rem;
}

/* --- CTA Banner --- */
.cta-banner {
  background-color: var(--bg-alt);
  text-align: center;
}

.cta-banner h2 {
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2rem;
}

.cta-banner .cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-banner .cta-phone {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--text);
}

.cta-banner .cta-phone:hover {
  color: var(--primary);
}

/* --- About Page --- */
.about-hero {
  padding-top: calc(var(--nav-height) + 3rem);
  text-align: center;
}

.about-hero .section-subtext {
  margin: 0 auto;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-split--reverse {
  direction: rtl;
}

.about-split--reverse > * {
  direction: ltr;
}

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

  .about-split--reverse {
    direction: ltr;
  }
}

.about-split__image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.about-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-values {
  background-color: var(--bg-alt);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

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

.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.value-card svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.value-card h3 {
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 720px;
  margin: 3rem auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-item__question:hover {
  color: var(--primary);
}

.faq-item__question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-muted);
}

.faq-item.open .faq-item__question svg {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item__answer p {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Contact Page --- */
.contact-hero {
  padding-top: calc(var(--nav-height) + 3rem);
  text-align: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-form-wrap {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-info-card h3 {
  margin-bottom: 1.25rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-info-item a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.9375rem;
}

.contact-info-item a:hover {
  color: var(--primary);
}

.contact-info-item span {
  font-size: 0.9375rem;
  color: var(--text);
}

/* Form */
.contact-form {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
}

.contact-form h3 {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.9375rem;
  color: var(--text);
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a7168' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.form-status {
  font-size: 0.875rem;
  display: none;
}

.form-status.success,
.form-status--success {
  display: block;
  color: var(--primary);
  margin-top: 1rem;
}

.form-status.error,
.form-status--error {
  display: block;
  color: #c0392b;
  margin-top: 1rem;
}

/* --- Footer --- */
.footer {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

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

.footer__brand {
  max-width: 320px;
}

.footer__brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  display: block;
}

.footer__brand p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.footer__col h4 {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer__col a {
  display: block;
  font-size: 0.9375rem;
  color: var(--text);
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.footer__col a:hover {
  color: var(--primary);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer__bottom a {
  color: var(--text-muted);
}

.footer__bottom a:hover {
  color: var(--primary);
}

/* --- Disclaimer Bar --- */
.disclaimer-bar {
  background-color: var(--accent);
  color: #fff;
  font-size: 0.8125rem;
  text-align: center;
  padding: 0.5rem 1rem;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 101;
}

body {
  padding-bottom: 2.25rem;
}

.disclaimer-bar strong {
  font-weight: 500;
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* --- Utility --- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Page Header (inner pages) --- */
.page-header {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 3rem;
  text-align: center;
}

.page-header .section-subtext {
  margin: 0 auto;
}

/* --- Map placeholder --- */
.contact-map {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  background-color: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* --- Scroll to top --- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 50;
  box-shadow: 0 4px 12px var(--shadow-lg);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  color: #fff;
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}

/* --- Whimsy Animations (respects reduced-motion) --- */
@media (prefers-reduced-motion: no-preference) {
  .gallery-item img {
    animation: gentle-breathe 6s ease-in-out infinite;
    animation-play-state: paused;
  }

  .gallery-item:hover img {
    animation-play-state: running;
  }

  @keyframes gentle-breathe {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.04); }
  }

  .hero__content h1 {
    animation: soft-focus 1.2s ease-out both;
  }

  @keyframes soft-focus {
    from {
      opacity: 0;
      filter: blur(6px);
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }
}
