/* ============================================
   NUTHATCH GARDENS — Redesign v2
   Bespoke, editorial, light & airy
   Blue palette · White canvas · Breathing room
   ============================================ */

/* Self-hosted fonts — no layout shift */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: url('../fonts/playfair-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: fallback;
  src: url('../fonts/playfair-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: fallback;
  src: url('../fonts/playfair-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: fallback;
  src: url('../fonts/playfair-400i.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: fallback;
  src: url('../fonts/playfair-500i.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: url('../fonts/dmsans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: fallback;
  src: url('../fonts/dmsans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: fallback;
  src: url('../fonts/dmsans-400i.woff2') format('woff2');
}

/* Size-adjusted fallbacks to minimize swap shift */
@font-face {
  font-family: 'Playfair Fallback';
  src: local('Georgia');
  size-adjust: 112%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'DM Sans Fallback';
  src: local('-apple-system'), local('BlinkMacSystemFont'), local('Segoe UI');
  size-adjust: 94%;
  ascent-override: 100%;
  descent-override: 25%;
  line-gap-override: 0%;
}

:root {
  /* Blue palette */
  --blue: #4A6FA5;
  --blue-light: #7B9EC4;
  --blue-pale: #D4E1ED;
  --blue-wash: #F1F5F9;
  --blue-dark: #2D4A6F;

  /* Neutrals — all light */
  --white: #FFFFFF;
  --snow: #FAFBFD;
  --mist: #F1F3F6;
  --silver: #E2E7ED;
  --stone: #94A3B8;
  --ink: #334155;
  --ink-light: #64748B;

  /* Typography */
  --font-heading: 'Playfair Display', 'Playfair Fallback', Georgia, serif;
  --font-body: 'DM Sans', 'DM Sans Fallback', -apple-system, sans-serif;

  /* Spacing */
  --s-xs: 0.5rem;
  --s-sm: 1rem;
  --s-md: 1.5rem;
  --s-lg: 3rem;
  --s-xl: 5rem;
  --s-2xl: 8rem;

  /* Widths */
  --w-narrow: 680px;
  --w-content: 1080px;
  --w-wide: 1320px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
}

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

a {
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}

a:hover::after {
  width: 100%;
}

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

/* Disable underline on non-text links */
.btn::after,
.nav__logo::after,
.card::after,
.footer__social a::after,
.footer__brand a::after,
.gallery figure a::after,
img + a::after,
a[aria-label]::after,
a:has(img)::after,
a:has(svg)::after {
  display: none;
}

::selection {
  background: var(--blue-pale);
  color: var(--ink);
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
}

h1 { font-size: clamp(2.75rem, 6vw, 5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.125rem; font-weight: 500; }

p { max-width: 60ch; }

.label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}

.italic-accent {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--blue);
}

/* ---- Layout ---- */
.wrap { max-width: var(--w-content); margin: 0 auto; padding: 0 2rem; }
.wrap--narrow { max-width: var(--w-narrow); margin: 0 auto; padding: 0 2rem; }
.wrap--wide { max-width: var(--w-wide); margin: 0 auto; padding: 0 2rem; }

.section { padding: var(--s-xl) 0; }
.section--tinted { background: var(--snow); }
.section--blue { background: var(--blue-wash); }

.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }
.text-center h2 + p { margin-top: var(--s-md); }
.text-center p + .btn,
.text-center p + .btn-group { margin-top: 2rem; }
.text-center blockquote { margin-left: auto; margin-right: auto; }
.text-center .btn-group { justify-content: center; }

/* Decorative divider */
.divider {
  width: 48px;
  height: 1px;
  background: var(--blue-light);
  border: none;
  margin: var(--s-lg) auto;
}

.divider--left {
  margin-left: 0;
  margin-right: auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
  padding: 0.875rem 2.25rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn--filled {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--filled:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--silver);
}
.btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn--white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--white:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.btn-group {
  display: flex;
  gap: var(--s-sm);
  flex-wrap: wrap;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 1px 0 var(--silver);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.nav__logo img { height: 40px; width: auto; }

.nav__wordmark {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

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

.nav__links a {
  font-size: 0.9rem;
  color: var(--ink-light);
  letter-spacing: 0.02em;
  position: relative;
}

.nav__links a::after {
  bottom: -3px;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--ink);
}

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

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: var(--s-xl) 0;
  margin-top: 88px;
  overflow: hidden;
}

.hero--half {
  min-height: 55vh;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}

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

.hero.hero--loaded .hero__overlay,
.hero.hero--loaded .hero__body {
  opacity: 1;
}

/* Hero slideshow with Ken Burns */
.hero__slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero__slideshow.loaded {
  opacity: 1;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 2s ease;
}

.hero__slide.active {
  opacity: 1;
  animation: kenburns 8s linear forwards;
}

.hero__slide.outgoing {
  opacity: 0;
  animation: kenburns-out 2s linear forwards;
}

@keyframes kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.1); }
}

@keyframes kenburns-out {
  from { transform: scale(1.1); }
  to   { transform: scale(1.12); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    175deg,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.55) 100%
  );
  z-index: 1;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero__body {
  position: relative;
  z-index: 2;
  max-width: var(--w-wide);
  width: 100%;
  padding: 0 2rem;
  opacity: 0;
  transition: opacity 0.8s ease;
  margin: 0 auto;
}

.hero__body .label {
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--s-sm);
  display: block;
}

.hero__body h1 {
  color: var(--white);
  margin-bottom: var(--s-md);
  max-width: 680px;
}

.hero--home .hero__body h1 { max-width: 780px; }
.hero--home .hero__body p { max-width: 560px; }

.hero__body p {
  color: rgba(255,255,255,0.9);
  font-size: 1.0625rem;
  margin-bottom: var(--s-lg);
  max-width: 480px;
}

/* Centered hero variant */
.hero--centered {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero--centered .hero__body {
  max-width: var(--w-wide);
  text-align: center;
}

.hero--centered .hero__body h1 {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero--centered .hero__body p {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Split/Two-column ---- */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.duo--flip { direction: rtl; }
.duo--flip > * { direction: ltr; }

.duo__media {
  overflow: hidden;
  min-height: 480px;
}

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

.duo__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--s-xl) var(--s-xl);
}

.duo__text .label { margin-bottom: var(--s-sm); }
.duo__text h2, .duo__text h3 { margin-bottom: var(--s-md); }
.duo__text p {
  color: var(--ink-light);
  margin-bottom: var(--s-sm);
  line-height: 1.8;
}
.duo__text p:last-of-type { margin-bottom: var(--s-lg); }

/* ---- Cards ---- */
.cards {
  display: grid;
  gap: var(--s-lg);
}

.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  display: block;
  color: var(--ink);
  transition: transform 0.3s ease;
}

.card:hover { transform: translateY(-4px); }
.card:hover .card__img img { transform: scale(1.04); }

.card__img {
  overflow: hidden;
  margin-bottom: var(--s-md);
  aspect-ratio: 3/2;
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card__img--tall { aspect-ratio: 3/4; }

.card .label { margin-bottom: var(--s-xs); display: block; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--ink-light); font-size: 0.9375rem; }

/* ---- Feature blocks (for experiences/programs) ---- */
.feature {
  border: 1px solid var(--silver);
  padding: var(--s-lg);
  transition: border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.feature:hover { border-color: var(--blue-light); }

.feature .label { margin-bottom: var(--s-xs); }
.feature h3 { margin-bottom: var(--s-sm); }
.feature p {
  color: var(--ink-light);
  font-size: 0.9375rem;
  margin-bottom: var(--s-sm);
}

.feature__cta {
  margin-top: auto;
  padding-top: var(--s-md);
  border-top: 1px solid var(--mist);
}

.feature__cta .btn {
  width: 100%;
}

/* ---- Gallery ---- */
.gallery {
  columns: 3;
  column-gap: 6px;
}

.gallery figure {
  break-inside: avoid;
  margin: 0;
  padding: 0;
  margin-bottom: 6px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  line-height: 0;
  display: inline-block;
  width: 100%;
}

.gallery figure img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.gallery figure:hover img { transform: scale(1.03); }

.gallery figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  color: white;
  font-size: 0.8125rem;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s ease;
}

.gallery figure:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery filters */
.filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--s-lg);
  flex-wrap: wrap;
}

.filters button {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  background: none;
  border: 1px solid var(--silver);
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--ink-light);
}

.filters button:hover,
.filters button.active {
  border-color: var(--blue);
  color: var(--blue);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active { opacity: 1; pointer-events: all; }

.lightbox img { max-width: 85vw; max-height: 85vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,0.12); }

.lightbox__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__close svg { width: 20px; height: 20px; }

.lightbox__caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ink-light);
  font-size: 0.875rem;
  text-align: center;
  max-width: 500px;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 1rem;
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.lightbox__nav svg { width: 28px; height: 28px; }
.lightbox__nav:hover { opacity: 1; }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

/* ---- Confirmation modal ---- */
.confirm-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.confirm-modal.active {
  opacity: 1;
  pointer-events: all;
}

.confirm-modal__box {
  background: var(--white);
  padding: var(--s-xl);
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
}

.confirm-modal__box h3 {
  margin-bottom: var(--s-sm);
}

.confirm-modal__box p {
  color: var(--ink-light);
  margin-bottom: var(--s-lg);
  line-height: 1.7;
}

.confirm-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--stone);
  padding: 0.25rem 0.5rem;
}

.confirm-modal__close:hover { color: var(--ink); }

/* ---- Simple image grid (non-masonry) ---- */
.img-grid {
  display: grid;
  gap: 0.75rem;
}
.img-grid--3 { grid-template-columns: repeat(3, 1fr); }
.img-grid--2 { grid-template-columns: repeat(2, 1fr); }
.img-grid--4 { grid-template-columns: repeat(4, 1fr); }

.img-grid figure {
  overflow: hidden;
  aspect-ratio: 1;
}

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

.img-grid figure:hover img { transform: scale(1.03); }
.img-grid .gallery-grid__item { cursor: pointer; }

/* ---- Blockquote/Testimonial ---- */
blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--ink-light);
  line-height: 1.7;
  max-width: 50ch;
}

blockquote p + p { margin-top: var(--s-md); }

blockquote cite {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-style: normal;
  color: var(--stone);
  margin-top: var(--s-sm);
  letter-spacing: 0.05em;
}

.testimonial {
  text-align: center;
  padding: var(--s-xl) 0;
  background: var(--snow);
}

.testimonial blockquote {
  margin: 0 auto;
  max-width: 780px;
}

.testimonial .stars {
  color: var(--blue);
  font-size: 1rem;
  letter-spacing: 0.3em;
  margin-bottom: var(--s-md);
}

/* ---- How-to / Icon grid ---- */
.ways {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-lg);
  text-align: center;
}

.ways__item h4 {
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.375rem;
}

.ways__item p {
  font-size: 0.875rem;
  color: var(--ink-light);
  margin: 0 auto;
  max-width: 220px;
}

.ways__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--s-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--silver);
  border-radius: 50%;
}

.ways__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.5;
}

/* ---- Contact layout ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
}

/* ---- Forms ---- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-md);
}

.form-group {
  margin-bottom: var(--s-md);
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  border: 1px solid var(--silver);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s ease;
}

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

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ---- Newsletter ---- */
.newsletter {
  text-align: center;
  padding: var(--s-lg) 2rem;
}

.newsletter .label { margin-bottom: var(--s-sm); display: block; }
.newsletter h2 { margin-bottom: 0.75rem; }
.newsletter h3 { margin-bottom: var(--s-md); }
.newsletter p {
  color: var(--ink-light);
  margin: 0 auto 2rem;
}

.newsletter__form {
  display: flex;
  gap: var(--s-xs);
  max-width: 480px;
  margin: 0 auto;
}

.newsletter__form input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--silver);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  background: var(--white);
  color: var(--ink);
}
.newsletter__form input::placeholder {
  color: var(--stone);
}
.newsletter__form input:focus { outline: none; border-color: var(--blue); }

.newsletter__form button {
  padding: 0.875rem 2.25rem;
  background: var(--blue);
  color: var(--white);
  border: 1px solid var(--blue);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.newsletter__form button:hover { background: var(--blue-dark); }

/* ---- Footer (light) ---- */
.footer {
  border-top: 1px solid var(--silver);
  padding: var(--s-xl) 0 var(--s-lg);
  background: var(--white);
  color: var(--ink-light);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s-lg);
  margin-bottom: var(--s-xl);
}

.footer__brand p {
  font-size: 0.875rem;
  margin-bottom: var(--s-md);
  max-width: 280px;
}

.footer__brand .footer__logo {
  height: 36px;
  width: auto;
  margin-bottom: var(--s-sm);
}

.footer__quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--stone);
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: var(--s-md);
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 0.5rem; }
.footer a {
  color: var(--ink-light);
  font-size: 0.875rem;
}
.footer a:hover { color: var(--blue); }

.footer p {
  font-size: 0.875rem;
}

.footer address {
  font-style: normal;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.footer__contact p { font-size: 0.875rem; margin-bottom: 0.375rem; }

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--s-sm);
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--silver);
  border-radius: 50%;
  transition: all 0.2s ease;
}

.footer__social a:hover {
  border-color: var(--blue);
}

.footer__social svg {
  width: 16px;
  height: 16px;
  fill: var(--ink-light);
}

.footer__social a:hover svg { fill: var(--blue); }

.footer__bottom {
  border-top: 1px solid var(--mist);
  padding-top: var(--s-md);
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--stone);
}

/* ---- Scroll animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible,
.reveal.no-animate {
  opacity: 1;
  transform: translateY(0);
}
.reveal.no-animate {
  transition: none;
}

/* ---- Accent: full-bleed photo break ---- */
.photo-break {
  width: 100%;
  height: 50vh;
  min-height: 320px;
  overflow: hidden;
}

.photo-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.mt-sm { margin-top: var(--s-sm); }
.mt-md { margin-top: var(--s-md); }
.mt-lg { margin-top: var(--s-lg); }
.mb-sm { margin-bottom: var(--s-sm); }
.mb-md { margin-bottom: var(--s-md); }
.mb-lg { margin-bottom: var(--s-lg); }

/* ---- Product grid (Shop) ---- */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
}

.product {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.product__img {
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: var(--s-md);
}

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

.product:hover .product__img img { transform: scale(1.03); }

.product .label { margin-bottom: var(--s-xs); display: block; }
.product h3 { margin-bottom: 0.5rem; font-size: clamp(1.25rem, 2vw, 1.5rem); }

.product__price {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: var(--s-sm);
}

.product p {
  color: var(--ink-light);
  font-size: 0.875rem;
  margin-bottom: var(--s-md);
}

.product p:last-of-type { flex-grow: 1; }
.product .btn { align-self: flex-start; }

/* ---- Featuring (homepage seasonal highlight) ---- */
.featuring {
  padding: var(--s-lg) 0;
  text-align: center;
  border-bottom: 1px solid var(--mist);
}

.featuring .label { margin-bottom: var(--s-sm); display: block; }

.featuring__list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: var(--s-sm) var(--s-lg);
  flex-wrap: wrap;
  margin-top: var(--s-sm);
}

.featuring__list a {
  font-size: 0.9375rem;
  color: var(--blue);
  font-weight: 500;
}

.featuring__list a:hover { color: var(--blue-dark); }

/* ---- Photography policies ---- */
.policies {
  margin-top: var(--s-lg);
  padding-top: var(--s-lg);
  border-top: 1px solid var(--mist);
}

.policies h4 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: var(--s-sm);
}

.policies ul {
  list-style: none;
  margin-bottom: var(--s-md);
}

.policies li {
  font-size: 0.875rem;
  color: var(--ink-light);
  padding: 0.375rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.policies li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--blue-light);
  font-weight: bold;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .ways { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s-md); }
  .duo { grid-template-columns: 1fr; }
  .duo--flip { direction: ltr; }
  .duo__text { padding: var(--s-lg) 0; }
  .duo__media { min-height: 360px; }
  .gallery { columns: 2; }
  .img-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .img-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--s-md);
    transition: right 0.35s ease;
  }

  .nav__links.open { right: 0; }

  .nav__links a {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--ink);
  }

  .nav__toggle { display: block; }

  .hero { min-height: 75vh; padding: var(--s-xl) 0 var(--s-lg); }
  .hero--half { min-height: 45vh; }

  .cards--3,
  .cards--2 { grid-template-columns: 1fr; }

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

  .ways { grid-template-columns: 1fr 1fr; gap: var(--s-md); }

  .img-grid--3,
  .img-grid--2 { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s-md); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__grid > div:nth-child(2) { display: none; }

  .gallery { columns: 1; }

  .contact-grid { grid-template-columns: 1fr; gap: var(--s-lg); }
  .form-row { grid-template-columns: 1fr; }

  .newsletter__form {
    flex-direction: column;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .section { padding: var(--s-lg) 0; }
  .duo__text { padding: var(--s-md) 0 0; }

  .section--tinted .text-center p { text-align: left; }

}
