/* ============ SELF-HOSTED FONTS (latin subset) ============ */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-latin-400italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-latin-500italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/work-sans-latin-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/work-sans-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/work-sans-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/work-sans-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============ DESIGN TOKENS ============ */
:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 7rem);

  /* Spacing */
  --space-1: 0.25rem;  --space-2: 0.5rem;  --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem;     --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem;    --space-20: 5rem;   --space-24: 6rem;  --space-32: 8rem;

  /* Palette — light, airy, elegant (soft blush + warm cream + muted sage) */
  --color-bg: #fbf8f4;
  --color-surface: #ffffff;
  --color-surface-2: #f5efe8;
  --color-surface-offset: #efe7dd;
  --color-border: #e6dcd0;
  --color-divider: #ece3d8;

  --color-text: #3a352f;
  --color-text-muted: #6e6459;
  --color-text-faint: #756b5e;
  --color-text-inverse: #fbf8f4;

  /* Accent — soft dusty rose. The base tone is decorative (borders, underline
     bars, icons); the -ink/-strong variants keep text at WCAG AA contrast. */
  --color-primary: #b08968;
  --color-primary-ink: #84654a;
  --color-primary-strong: #8f6c50;
  --color-primary-hover: #7a5b42;
  --color-accent: #c9a892;
  --color-sage: #a8b5a0;
  --color-success: #5c6e54;

  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-full: 9999px;

  --transition: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 3px rgba(58, 53, 47, 0.06);
  --shadow-md: 0 8px 30px rgba(58, 53, 47, 0.08);
  --shadow-lg: 0 20px 50px rgba(58, 53, 47, 0.12);

  --content-narrow: 640px;
  --content-default: 1000px;
  --content-wide: 1280px;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  min-height: 100dvh;
  line-height: 1.65;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
ul[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  text-wrap: balance;
  letter-spacing: 0.01em;
}

p { text-wrap: pretty; }

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

button { cursor: pointer; background: none; border: none; }

::selection { background: rgba(176, 137, 104, 0.2); }

:focus-visible {
  outline: 2px solid var(--color-primary-ink);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.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;
}

.skip-link {
  position: fixed;
  top: var(--space-3); left: var(--space-3);
  z-index: 200;
  padding: 0.75em 1.5em;
  background: var(--color-surface);
  color: var(--color-primary-ink);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  transform: translateY(-250%);
}
.skip-link:focus { transform: none; }

/* ============ LAYOUT ============ */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}

.section {
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-primary-ink);
  margin-bottom: var(--space-4);
  display: inline-block;
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: var(--space-5);
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.header--scrolled {
  background: rgba(251, 248, 244, 0.92);
  backdrop-filter: blur(14px);
  padding-block: var(--space-3);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text);
}
.logo svg { width: 34px; height: 34px; color: var(--color-primary); flex-shrink: 0; }
.logo__img {
  height: 62px;
  width: auto;
  display: block;
  transition: height var(--transition);
}
.header--scrolled .logo__img { height: 50px; }
.logo--footer .logo__img { height: 96px; }
.logo__text { line-height: 1.05; }
.logo__text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav a {
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-text);
  position: relative;
  transition: color var(--transition);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--color-primary);
  transition: width var(--transition);
}
.nav a:hover { color: var(--color-primary-ink); }
.nav a:hover::after { width: 100%; }
.nav a.is-active { color: var(--color-primary-ink); }
.nav a.is-active::after { width: 100%; }
.nav a.btn.is-active { color: #fff; }
.nav a.btn.is-active::after { width: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85em 1.9em;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  cursor: pointer;
}
.btn--primary {
  background: var(--color-primary-strong);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--outline {
  border: 1px solid var(--color-border);
  color: var(--color-text);
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn--light {
  background: rgba(255,255,255,0.9);
  color: var(--color-text);
}
.btn--light:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.nav-toggle { display: none; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  overflow: hidden;
}
.hero__content {
  padding: clamp(6rem, 12vw, 9rem) clamp(1.25rem, 5vw, 5rem) 4rem;
  max-width: 640px;
  margin-left: auto;
  z-index: 2;
}
.hero__title {
  font-size: var(--text-hero);
  font-weight: 500;
  line-height: 0.98;
  margin-bottom: var(--space-6);
  color: var(--color-text);
}
.hero__title em {
  font-style: italic;
  color: var(--color-primary-ink);
}
.hero__sub {
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 42ch;
}
.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.hero__media {
  position: relative;
  align-self: stretch;
  height: auto;
  /* start level with the text block (same clamp as .hero__content padding-top) */
  margin-top: clamp(6rem, 12vw, 9rem);
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms cubic-bezier(0.16,1,0.3,1), transform 900ms cubic-bezier(0.16,1,0.3,1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 120ms; }
.reveal-delay-2 { transition-delay: 240ms; }
.reveal-delay-3 { transition-delay: 360ms; }

/* ============ RESPONSIVE IMAGES / BLUR-UP ============ */
/* <picture> must not become a flex/grid item box of its own */
picture { display: contents; }
/* Tiny blurred placeholders (inline data URIs) paint behind the real image */
.gallery__item, .featured__item, .intro__img, .hero__media {
  background-size: cover;
  background-position: center;
}
.intro__img { border-radius: var(--radius-md); }
/* Fade the real image in over its placeholder once loaded (JS adds .is-loaded).
   Uses an animation, not a transition, so it can't override hover transforms. */
@keyframes imgFade { from { opacity: 0; } to { opacity: 1; } }
html.js img.lqip-fade { opacity: 0; }
html.js img.lqip-fade.is-loaded { opacity: 1; animation: imgFade 600ms ease; }

/* ============ SECTION HEADINGS ============ */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-16);
}
.section-head h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}
.section-head p {
  color: var(--color-text-muted);
  font-weight: 300;
  font-size: var(--text-lg);
}

/* ============ INTRO / WELCOME ============ */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.intro__img {
  position: relative;
}
.intro__img img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 30%;
}
.intro__img::before {
  content: '';
  position: absolute;
  inset: -14px -14px 14px 14px;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-md);
  z-index: -1;
  opacity: 0.4;
}
.intro h2 { font-size: var(--text-2xl); margin-bottom: var(--space-6); }
.intro p { color: var(--color-text-muted); margin-bottom: var(--space-4); font-weight: 300; }
.intro .signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--color-primary-ink);
  margin-top: var(--space-6);
}

/* ============ GALLERY ============ */
.gallery {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
/* Justified rows: each item's flex-grow matches its aspect ratio, so every
   item in a row renders at exactly the same height with flush edges. */
.gallery__row {
  display: flex;
  gap: var(--space-4);
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  min-width: 0;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms cubic-bezier(0.16,1,0.3,1);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item::after {
  content: attr(data-label);
  position: absolute;
  left: var(--space-5);
  bottom: var(--space-5);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  pointer-events: none;
}
.gallery__item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58,53,47,0.4), transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery__item:hover::after,
.gallery__item:hover::before { opacity: 1; transform: none; }

.g-tall { aspect-ratio: 2/3; flex: 2 1 0; }
.g-wide { aspect-ratio: 4/3; flex: 4 1 0; }
.g-half { aspect-ratio: 4/3; flex: 4 1 0; }
.g-big { aspect-ratio: 3/4; flex: 2.25 1 0; }

/* ============ LIGHTBOX ============ */
/* Invisible button stretched over each photo (injected by lightbox.js) */
.gallery__open {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  cursor: zoom-in;
}
.gallery__open:focus-visible {
  outline: 2px solid var(--color-primary-ink);
  outline-offset: -4px;
}
.gallery__item::before { pointer-events: none; }

.lightbox {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  background: transparent;
}
.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox::backdrop {
  background: rgba(30, 26, 21, 0.94);
}
.lightbox__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  touch-action: pan-y;
  user-select: none;
}
.lightbox__img {
  max-width: min(92vw, 1600px);
  max-height: 80dvh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.lightbox__bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-6);
  width: 100%;
  max-width: min(92vw, 1600px);
  padding-top: var(--space-4);
  color: var(--color-text-inverse);
}
.lightbox__label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
}
.lightbox__count {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 248, 244, 0.6);
  white-space: nowrap;
}
.lightbox__close,
.lightbox__nav {
  position: fixed;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  color: var(--color-text-inverse);
  background: rgba(251, 248, 244, 0.07);
  border: 1px solid rgba(251, 248, 244, 0.25);
  transition: background var(--transition), border-color var(--transition);
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(251, 248, 244, 0.18);
  border-color: rgba(251, 248, 244, 0.5);
}
.lightbox__close svg,
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__close { top: var(--space-5); right: var(--space-5); }
.lightbox__prev { left: var(--space-5); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: var(--space-5); top: 50%; transform: translateY(-50%); }
.lightbox :focus-visible {
  outline: 2px solid var(--color-text-inverse);
  outline-offset: 3px;
}
/* Lock page scroll while the lightbox is open */
html:has(dialog.lightbox[open]) { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes lightboxIn {
    from { opacity: 0; transform: scale(0.975); }
    to { opacity: 1; transform: none; }
  }
  @keyframes lightboxFade {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  .lightbox[open] { animation: lightboxIn 240ms cubic-bezier(0.16, 1, 0.3, 1); }
  .lightbox[open]::backdrop { animation: lightboxFade 240ms ease; }
}

@media (max-width: 560px) {
  .lightbox__close { top: var(--space-3); right: var(--space-3); }
  .lightbox__prev { left: var(--space-2); }
  .lightbox__next { right: var(--space-2); }
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__bar { flex-direction: column; align-items: center; gap: var(--space-1); text-align: center; }
}

/* ============ SERVICES ============ */
.services__section { background: var(--color-surface-2); }
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}
.service-card__icon {
  width: 48px; height: 48px;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}
.service-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}
.service-card p {
  color: var(--color-text-muted);
  font-weight: 300;
  font-size: var(--text-base);
  margin-bottom: var(--space-6);
  flex-grow: 1;
}
.service-card .price {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}
.service-card .price span {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: 2px;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.quote-card {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.quote-card__stars {
  color: var(--color-accent);
  letter-spacing: 0.15em;
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
}
.quote-card p {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}
.quote-card cite {
  font-style: normal;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-primary-ink);
}
.quote-card cite span {
  display: block;
  font-weight: 300;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
}

/* ============ CTA BANNER ============ */
.cta-banner {
  position: relative;
  text-align: center;
  padding-block: clamp(5rem, 10vw, 9rem);
  background: var(--color-primary-strong);
  color: #fff;
  overflow: hidden;
}
.cta-banner h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-5);
  color: #fff;
}
.cta-banner p {
  max-width: 46ch;
  margin: 0 auto var(--space-8);
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  font-size: var(--text-lg);
}

/* ============ CONTACT ============ */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact__info h2 { font-size: var(--text-2xl); margin-bottom: var(--space-6); }
.contact__info p { color: var(--color-text-muted); font-weight: 300; margin-bottom: var(--space-8); }
.contact__detail {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.contact__detail svg { width: 22px; height: 22px; color: var(--color-primary); flex-shrink: 0; }
.contact__detail a, .contact__detail span { font-size: var(--text-base); }
.contact__detail small { display: block; font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-faint); }

.form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form__field { margin-bottom: var(--space-5); }
.form__field label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 0.85em 1em;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: 300;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(176,137,104,0.12);
}
.form__field textarea { resize: vertical; min-height: 120px; }
.form .btn { width: 100%; }
.form__note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-success);
  margin-top: var(--space-4);
  min-height: 1.2em;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--color-text);
  color: rgba(251,248,244,0.8);
  padding-block: var(--space-16) var(--space-8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
.footer .logo { color: var(--color-text-inverse); margin-bottom: var(--space-4); }
.footer .logo svg { color: var(--color-accent); }
.footer .logo__text span { color: rgba(251,248,244,0.5); }
.footer__grid p { font-weight: 300; font-size: var(--text-sm); color: rgba(251,248,244,0.6); max-width: 34ch; }
.footer h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-5);
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.footer ul a { font-size: var(--text-sm); font-weight: 300; color: rgba(251,248,244,0.7); transition: color var(--transition); }
.footer ul a:hover { color: var(--color-text-inverse); }
.footer__bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(251,248,244,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(251,248,244,0.5);
}
.footer__social { display: flex; gap: var(--space-4); }
.footer__social a { color: rgba(251,248,244,0.7); transition: color var(--transition); }
.footer__social a:hover { color: var(--color-accent); }
.footer__social svg { width: 20px; height: 20px; }

/* ============ PAGE HEADER (interior pages) ============ */
.page-header {
  position: relative;
  padding-top: clamp(9rem, 16vw, 12rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  text-align: center;
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-divider);
  overflow: hidden;
}
.page-header__inner { position: relative; z-index: 2; }
.page-header h1 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}
.page-header p {
  max-width: 54ch;
  margin: 0 auto;
  color: var(--color-text-muted);
  font-weight: 300;
  font-size: var(--text-lg);
}
.page-header .breadcrumb {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-top: var(--space-6);
}
.page-header .breadcrumb a { color: var(--color-primary-ink); }
.page-header .breadcrumb a:hover { text-decoration: underline; }

/* Decorative soft accent in page headers */
.page-header::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,146,0.22), transparent 68%);
  top: -180px; right: -120px;
  pointer-events: none;
}

/* Page enter animation */
@keyframes pageFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.page-main { animation: pageFade 600ms cubic-bezier(0.16,1,0.3,1) both; }

/* ============ FAQ ============ */
.faq {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
}
.faq details { border-bottom: 1px solid var(--color-border); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  transition: color var(--transition);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--color-primary-ink); }
.faq__marker {
  position: relative;
  flex-shrink: 0;
  width: 14px; height: 14px;
}
.faq__marker::before,
.faq__marker::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--color-primary-ink);
  transition: transform var(--transition);
}
.faq__marker::before { width: 14px; height: 1.5px; }
.faq__marker::after { width: 1.5px; height: 14px; }
.faq details[open] .faq__marker::after { transform: rotate(90deg); }
.faq__answer { padding: 0 0 var(--space-6); }
.faq__answer p {
  color: var(--color-text-muted);
  font-weight: 300;
  max-width: 62ch;
}
.faq__answer a { color: var(--color-primary-ink); text-decoration: underline; }

/* ============ CROSS-DOCUMENT VIEW TRANSITIONS ============ */
/* Same-origin page navigations crossfade; unsupported browsers just navigate. */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}
/* The fixed header stays put instead of crossfading with the page */
.header { view-transition-name: site-header; }
::view-transition-group(site-header) { animation: none; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 220ms; }
/* Where view transitions exist, the old per-page fade would double-animate */
@supports (view-transition-name: none) {
  .page-main { animation: none; }
}

/* ============ MOTION POLISH ============ */
@media (prefers-reduced-motion: no-preference) {
  /* One-time slow settle on the hero photo */
  @keyframes heroSettle {
    from { transform: scale(1.06); }
    to { transform: scale(1); }
  }
  .hero__media img { animation: heroSettle 12s cubic-bezier(0.16, 1, 0.3, 1) both; }

  /* Decorative page-header orb drifts gently with scroll (where supported) */
  @supports (animation-timeline: scroll()) {
    @keyframes headerOrbDrift {
      to { transform: translateY(130px); }
    }
    .page-header::before {
      animation: headerOrbDrift linear both;
      animation-timeline: scroll();
      animation-range: 0 600px;
    }
  }
}
/* Photos arrive with a whisper of scale on top of the fade/rise */
.gallery__item.reveal,
.featured__item.reveal { transform: translateY(28px) scale(0.985); }

/* Featured preview strip on home */
.featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.featured__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 3/4;
}
.featured__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1000ms cubic-bezier(0.16,1,0.3,1); }
.featured__item:hover img { transform: scale(1.05); }
.center-cta { text-align: center; margin-top: var(--space-16); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__media { height: 60vh; order: -1; margin-top: 0; }
  .hero__content { margin: 0 auto; padding-top: 2rem; text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .intro { grid-template-columns: 1fr; }
  .intro__img { max-width: 440px; margin-inline: auto; }
  .contact { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-8); }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: var(--space-6);
    padding: var(--space-16) var(--space-10);
    background: var(--color-surface);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 90;
  }
  .nav.is-open { transform: none; }
  .nav a { font-size: var(--text-lg); }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 95;
    padding: var(--space-2);
  }
  .nav-toggle span {
    display: block;
    width: 26px; height: 2px;
    background: var(--color-text);
    transition: transform var(--transition), opacity var(--transition);
  }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 560px) {
  .gallery, .gallery__row { gap: var(--space-3); }
  .gallery__row { flex-direction: column; }
  .gallery__item { flex: none; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
}
