/* ============================================================
   RATHI MENON EVENTS — Design System
   Fonts: Fraunces (display serif) + Epilogue (sans)
   ============================================================ */

/* === TOKENS === */
:root {
  /* Colors */
  --base:           #F5F4F1;
  --white:          #FFFFFF;
  --text:           #1B1B19;
  --text-muted:     #787874;
  --accent:         #d95651;   /* warm red — used sparingly as color-block & accent */
  --accent-soft:    rgba(217, 86, 81, 0.09); /* large background tints */
  --divider:        #D6D3CC;

  /* Type */
  --serif:  'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:   'Epilogue', system-ui, -apple-system, sans-serif;

  /* Scale */
  --hero-size:  clamp(2.75rem, 5.5vw, 7rem);
  --h2-size:    clamp(1.9rem, 2.8vw, 3.5rem);
  --h3-size:    1.2rem;
  --body-size:  1rem;
  --small-size: 0.8125rem;
  --nav-size:   0.6875rem;

  /* Spacing */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  2rem;
  --sp-lg:  4rem;
  --sp-xl:  6.5rem;
  --sp-2xl: 10rem;

  /* Layout */
  --max-w:  1600px;
  --pad-h:  clamp(1.25rem, 3.5vw, 4rem);
}

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

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

body {
  font-family: var(--sans);
  font-size: var(--body-size);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture {
  display: block;
  max-width: 100%;
}

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

ul, ol { list-style: none; }

/* === TYPE SYSTEM === */

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

h1 { font-size: var(--hero-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); font-weight: 400; }

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: var(--nav-size);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

p {
  font-size: var(--body-size);
  font-weight: 300;
  line-height: 1.75;
  color: var(--text);
}

p + p { margin-top: 1.15em; }

/* === LINKS & CTAs === */

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-family: var(--sans);
  font-size: var(--small-size);
  font-weight: 400;
  letter-spacing: 0.07em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15em;
  transition: opacity 180ms ease;
}
.cta-link:hover { opacity: 0.5; }

.cta-link-lg {
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
}

/* === LAYOUT === */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-h);
}

/* === PLACEHOLDER IMAGES
   These stand in for real client photos.
   Replace the .img-placeholder div with an <img> tag
   when real photography is provided.
   ============================================================ */

.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background-color: #BFBBB3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem;
}

.placeholder-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.8125rem;
  color: rgba(27, 27, 25, 0.4);
  text-align: center;
  line-height: 1.55;
  max-width: 220px;
}

/* === HEADER / NAV === */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem var(--pad-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 280ms ease, backdrop-filter 280ms ease;
}

.site-header.scrolled {
  background-color: rgba(245, 244, 241, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-logo {
  display: block;
  line-height: 0; /* remove baseline gap under img */
}
.site-logo img {
  height: clamp(44px, 4vw, 80px);
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}

@media (max-width: 480px) {
  .site-logo img { height: 38px; }
}

.site-nav {
  display: none;
  align-items: center;
  gap: 2.5rem;
}
.site-nav a {
  font-family: var(--sans);
  font-size: var(--nav-size);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 180ms ease;
}
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--accent); }

/* Home page only: nav links sit over the photo column, so go light */
@media (min-width: 768px) {
  .site-header.on-hero .site-nav a {
    color: rgba(245, 244, 241, 0.82);
  }
  .site-header.on-hero .site-nav a:hover {
    color: #ffffff;
  }
  /* Active link stays accent-coloured even over photo */
  .site-header.on-hero .site-nav a[aria-current="page"] {
    color: rgba(217, 86, 81, 0.9);
  }
  /* Once scrolled, cream bg is back — revert to standard colours */
  .site-header.on-hero.scrolled .site-nav a {
    color: var(--text-muted);
  }
  .site-header.on-hero.scrolled .site-nav a:hover {
    color: var(--text);
  }
  .site-header.on-hero.scrolled .site-nav a[aria-current="page"] {
    color: var(--accent);
  }
}

/* Hamburger button */
.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.375rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  line-height: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background-color: var(--text);
  transform-origin: center;
  transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1),
              opacity 280ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background-color: var(--base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 280ms ease;
}
.nav-overlay.open {
  pointer-events: all;
  opacity: 1;
}
.nav-overlay a {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: opacity 180ms ease;
}
.nav-overlay a:hover { opacity: 0.45; }
.nav-overlay a[aria-current="page"] { color: var(--accent); opacity: 1; }

@media (min-width: 768px) {
  .site-nav    { display: flex; }
  .nav-toggle  { display: none; }
}

/* === HERO — Split: text left / image right === */

.hero {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  min-height: 100svh;
}

/* The single deliberate animation — hero text fades in on load */
@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text {
  padding-top: calc(var(--sp-lg) + 4rem);
  padding-bottom: var(--sp-lg);
  padding-inline: var(--pad-h);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  animation: heroReveal 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

/* Ensure hero fills viewport on all screen sizes */
@media (min-width: 1600px) {
  :root { --pad-h: 4.5rem; }
}
.hero-text .eyebrow { margin-bottom: 1.5rem; }
.hero-text h1       { margin-bottom: 1.375rem; }
.hero-text h1 em    { font-style: italic; }
.hero-sub {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 36ch;
  line-height: 1.65;
}

.hero-image {
  width: 100%;
  height: 62vw;
  min-height: 260px;
}
.hero-image .img-placeholder {
  height: 100%;
  min-height: 0;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 38% 62%;
    grid-template-rows: 100svh;
  }
  .hero-text {
    /* Simple edge padding — no max-w offset calculation that creates dead margins */
    padding-top: clamp(8rem, 22vh, 16rem);
    padding-bottom: clamp(3rem, 6vh, 5rem);
    padding-left: var(--pad-h);
    padding-right: clamp(2.5rem, 3.5vw, 5rem);
    justify-content: flex-start;
  }
  .hero-image {
    height: 100%;
    min-height: 0;
  }
}

/* === INTRO — two-column: text + offset photo === */

.intro {
  padding: clamp(4rem, 8vw, 9rem) var(--pad-h);
  max-width: var(--max-w);
  margin-inline: auto;
}

.intro-grid {
  display: grid;
  gap: var(--sp-lg);
}

.intro-text .eyebrow {
  margin-bottom: 1.25rem;
}

.intro-text p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 4em;
  font-weight: 300;
  float: left;
  line-height: 0.82;
  margin-right: 0.08em;
  margin-top: 0.12em;
  color: var(--text);
}

/* Color-block offset image */
.intro-photo-wrap {
  position: relative;
  /* padding creates room for the color block to peek out */
  padding-bottom: 1.75rem;
  padding-right: 1.75rem;
}
.intro-photo-wrap .color-block {
  position: absolute;
  bottom: 0;
  right: 0;
  width: calc(100% - 1.75rem);
  height: calc(100% - 1.75rem);
  background-color: var(--accent);
  z-index: 0;
}
.intro-photo-wrap .img-placeholder,
.intro-photo-wrap > img:not(.intro-photo-secondary) {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.intro-photo-secondary {
  position: absolute;
  z-index: 2;
  bottom: 0;
  right: 0;
  width: 48%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 6px solid var(--base);
}

@media (min-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--sp-xl);
  }
  /* Flip order so text is left, photo is right */
  .intro-text  { order: 1; }
  .intro-photo-wrap { order: 2; }
}

/* Client note callout — visible flag for missing content */
.client-note {
  margin-top: 1.75rem;
  padding: 0.875rem 1.125rem;
  border-left: 2px solid var(--accent);
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}
.client-note strong {
  font-style: normal;
  font-weight: 400;
  color: var(--text);
}

/* === STATS SECTION === */

.stats-section {
  background-color: var(--accent-soft);
  border-top: 1px solid rgba(217, 86, 81, 0.15);
  border-bottom: 1px solid rgba(217, 86, 81, 0.15);
  padding: clamp(3rem, 6vw, 6rem) var(--pad-h);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg) var(--sp-md);
  max-width: var(--max-w);
  margin-inline: auto;
}

.stat {
  text-align: center;
}

.stat-figure {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.05em;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.stat-number {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  color: var(--text);
  /* tabular nums so count-up doesn't jitter */
  font-variant-numeric: tabular-nums;
}

.stat-suffix {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.stat-label {
  display: block;
  font-family: var(--sans);
  font-size: var(--nav-size);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    /* subtle vertical dividers between stats */
    divide-x: var(--divider);
  }
  .stat + .stat {
    border-left: 1px solid var(--divider);
  }
}

/* === GALLERY PREVIEW === */

.gallery-preview {
  padding: clamp(4rem, 8vw, 9rem) var(--pad-h);
  max-width: var(--max-w);
  margin-inline: auto;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: var(--sp-md);
}

/* Asymmetric editorial grid */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: var(--sp-md);
}
.gallery-grid a {
  display: block;
  overflow: hidden;
  min-height: 210px;
}
.gallery-grid a img,
.gallery-grid a .img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  display: block;
  transition: opacity 180ms ease, transform 300ms ease;
}
.gallery-grid a:hover img,
.gallery-grid a:hover .img-placeholder { opacity: 0.88; }

/* First item spans 2 rows — portrait orientation */
.gallery-grid > *:first-child {
  grid-row: span 2;
}
.gallery-grid > *:first-child,
.gallery-grid > *:first-child img,
.gallery-grid > *:first-child .img-placeholder {
  min-height: 430px;
}

@media (min-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr 1fr 1fr; }
  .gallery-grid a,
  .gallery-grid a img,
  .gallery-grid a .img-placeholder { min-height: 240px; }
  .gallery-grid > *:first-child,
  .gallery-grid > *:first-child img,
  .gallery-grid > *:first-child .img-placeholder { min-height: 492px; }
}

/* === SERVICES PREVIEW === */

.services-preview {
  padding: clamp(4rem, 8vw, 9rem) var(--pad-h);
  border-top: 1px solid rgba(217, 86, 81, 0.15);
  border-bottom: 1px solid rgba(217, 86, 81, 0.15);
}
.services-preview .section-header,
.services-preview .services-list,
.services-preview .services-outro,
.services-preview .client-note {
  max-width: var(--max-w);
  margin-inline: auto;
}

.services-preview .section-header {
  margin-bottom: var(--sp-lg);
}

.services-outro {
  margin-top: 2rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.services-outro .cta-link { margin-left: 0.4em; }

.services-list li {
  padding: 1.375rem 0;
  border-bottom: 1px solid var(--divider);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.3rem;
}
.services-list li:first-child { border-top: 1px solid var(--divider); }

.service-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: -0.01em;
}
.service-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}
@media (min-width: 640px) {
  .services-list li {
    grid-template-columns: 210px 1fr;
    align-items: baseline;
    gap: 1.5rem;
  }
  .service-desc { margin-top: 0; max-width: 60ch; }
}

/* === HERO SLIDESHOW === */

.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #BFBBB3; /* fallback while slides load */
}

.hero-slideshow .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.hero-slideshow .slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* img inside a slide */
.hero-slideshow .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* placeholder inside a slide */
.hero-slideshow .slide .img-placeholder {
  height: 100%;
  min-height: 0;
}

/* dot nav */
.slide-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.slide-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(245, 244, 241, 0.4);
  border: 1px solid rgba(245, 244, 241, 0.6);
  cursor: pointer;
  padding: 0;
  transition: background 250ms ease, transform 250ms ease;
}
.slide-dot.active {
  background: rgba(245, 244, 241, 0.95);
  transform: scale(1.2);
}
.slide-dot:hover:not(.active) {
  background: rgba(245, 244, 241, 0.65);
}

/* When slides are over placeholder (no photo), use dark dots */
.hero-slideshow--placeholder .slide-dot {
  background: rgba(27, 27, 25, 0.25);
  border-color: rgba(27, 27, 25, 0.35);
}
.hero-slideshow--placeholder .slide-dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

/* === INSTAGRAM CALLOUT === */

.instagram-callout {
  background-color: var(--accent-soft);
  border-top: 1px solid rgba(217, 86, 81, 0.15);
  padding: clamp(3rem, 6vw, 6rem) var(--pad-h);
  text-align: center;
}
.instagram-callout .eyebrow {
  margin-bottom: 1rem;
}
.instagram-callout .ig-handle {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 300;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.1em;
  display: inline-block;
  transition: opacity 180ms ease;
}
.instagram-callout .ig-handle:hover { opacity: 0.6; }

/* === CLOSING CTA === */

.contact-cta {
  padding: clamp(5rem, 10vw, 10rem) var(--pad-h);
  text-align: center;
  background-color: var(--accent-soft);
  border-top: 1px solid rgba(217, 86, 81, 0.15);
}
.contact-cta h2,
.contact-cta p {
  max-width: 680px;
  margin-inline: auto;
}
.contact-cta h2 {
  margin-bottom: 2.25rem;
}
.contact-cta h2 em { font-style: italic; }

/* === FOOTER === */

.site-footer {
  border-top: 1px solid var(--divider);
  padding: clamp(2.5rem, 4vw, 4rem) var(--pad-h);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  max-width: var(--max-w);
  margin-inline: auto;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.01em;
}
.footer-logo .logo-sub {
  display: inline-block;
  margin-top: 0.2em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}
.footer-nav a {
  font-family: var(--sans);
  font-size: var(--small-size);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 180ms ease;
}
.footer-nav a:hover { color: var(--text); }

.footer-bottom {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: var(--sp-lg);
  }
  .footer-nav { justify-content: center; }
}

/* === UTILITY === */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus styles — accessible keyboard nav */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ============================================================
   PAGE-SPECIFIC: GALLERY
   ============================================================ */

.gallery-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0 var(--pad-h) clamp(4rem, 8vw, 9rem);
  max-width: var(--max-w);
  margin-inline: auto;
}

.gallery-page-grid a {
  display: block;
  overflow: hidden;
}
.gallery-page-grid a img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 200ms ease;
  cursor: pointer;
}
.gallery-page-grid a:hover img { opacity: 0.88; }

/* ── Mosaic: 7-image repeating block ────────────────────────
   [ 1 ][ 2 ][ 3 ]
   [  4 wide  ][5t]
   [ 6 ][ 7 ] [5t]
   ─────────────── */
@media (min-width: 600px) {
  .gallery-page-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
  }
  .gallery-page-grid a img { height: 100%; }
  /* pos 4 of every 7: spans 2 columns */
  .gallery-page-grid a:nth-child(7n+4) { grid-column: span 2; }
  /* pos 5 of every 7: spans 2 rows */
  .gallery-page-grid a:nth-child(7n+5) { grid-row: span 2; }
  /* Tail: [tall][wide] / [  ][wide] / [   pair   ] */
  .gallery-page-grid > :nth-last-child(-n+3) { grid-row: span 1; }
  .gallery-page-grid > :nth-last-child(4)    { grid-column: span 1; grid-row: span 2; }
  .gallery-page-grid > :nth-last-child(3)    { grid-column: span 2; }
  .gallery-page-grid > :nth-last-child(2)    { grid-column: span 2; }
  .gallery-page-grid > :nth-last-child(1)    { grid-column: span 3; }

  .gallery-tail-pair {
    display: flex;
    height: 100%;
    gap: 0.5rem;
  }
  .gallery-tail-pair a { flex: 1 1 50%; }
}
@media (min-width: 1024px) {
  .gallery-page-grid { grid-auto-rows: 340px; }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(27, 27, 25, 0.94);
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 4rem 1rem 2rem;
}
.lightbox.open { display: flex; }

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: rgba(245, 244, 241, 0.65);
  font-family: var(--sans);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.4rem 0.6rem;
  transition: color 180ms ease;
}
.lightbox-close:hover { color: var(--base); }

.lightbox-nav {
  flex-shrink: 0;
  background: none;
  border: 1px solid rgba(245, 244, 241, 0.25);
  color: rgba(245, 244, 241, 0.65);
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: border-color 180ms, color 180ms;
}
.lightbox-nav:hover {
  border-color: rgba(245, 244, 241, 0.6);
  color: var(--base);
}

.lightbox-content {
  max-width: min(900px, calc(100vw - 10rem));
  max-height: calc(100vh - 6rem);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: calc(100vh - 6rem);
  object-fit: contain;
  display: block;
}

/* ============================================================
   PAGE-SPECIFIC: ABOUT
   ============================================================ */

.about-hero {
  padding: clamp(7rem, 14vh, 12rem) var(--pad-h) clamp(1.5rem, 2.5vw, 3rem);
  max-width: var(--max-w);
  margin-inline: auto;
}

.about-hero-grid {
  display: grid;
  gap: var(--sp-lg);
}

.about-headline {
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.about-headline em { font-style: italic; }

.about-photo-wrap {
  position: relative;
  padding-top: 1.75rem;
  padding-left: 1.75rem;
}
.about-photo-wrap .color-block {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 1.75rem);
  height: calc(100% - 1.75rem);
  background-color: var(--accent);
  z-index: 0;
}
.about-photo-wrap .img-placeholder,
.about-photo-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (min-width: 900px) {
  .about-hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(3rem, 6vw, 8rem);
  }
}

.about-bio {
  padding: 0 var(--pad-h) clamp(4rem, 8vw, 8rem);
  max-width: calc(var(--max-w) / 2 + 2rem);
  margin-inline: auto 0;
}

.about-photo-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: clamp(3rem, 6vw, 6rem) var(--pad-h) 0;
  max-width: var(--max-w);
  margin-inline: auto;
}
.about-photo-band img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
@media (min-width: 900px) {
  .about-photo-band img { height: 420px; }
}

/* Testimonials */
.testimonials {
  padding: clamp(4rem, 8vw, 8rem) var(--pad-h);
  border-top: 1px solid rgba(217, 86, 81, 0.12);
  margin-top: clamp(4rem, 8vw, 8rem); 
}
.testimonials-inner {
  max-width: var(--max-w);
  margin-inline: auto;
}
.testimonials .eyebrow { margin-bottom: var(--sp-md); }
.testimonial blockquote {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 1.125rem;
}
.testimonial cite {
  font-family: var(--sans);
  font-size: var(--small-size);
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --- Testimonial carousel --- */
.testimonial-carousel {
  max-width: none;
}
.testimonial-track {
  overflow: hidden;
}
.testimonial-strip {
  display: flex;
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-strip .testimonial {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding-right: var(--sp-lg);
}
@media (min-width: 768px) {
  .testimonial-strip .testimonial { flex: 0 0 50%; }
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: var(--sp-lg);
}
.testimonial-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(217, 86, 81, 0.3);
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease;
}
.testimonial-arrow:hover {
  border-color: var(--accent);
  background: rgba(217, 86, 81, 0.07);
}
.testimonial-dots {
  position: static;
  transform: none;
}
.testimonial-dots .slide-dot {
  background: rgba(27, 27, 25, 0.2);
  border-color: rgba(27, 27, 25, 0.3);
}
.testimonial-dots .slide-dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

/* ============================================================
   PAGE-SPECIFIC: CONTACT
   ============================================================ */

.contact-page {
  padding: clamp(7rem, 14vh, 12rem) var(--pad-h) clamp(5rem, 10vw, 10rem);
  max-width: var(--max-w);
  margin-inline: auto;
}

.contact-grid {
  display: grid;
  gap: var(--sp-xl);
}

.contact-intro h1 { margin-bottom: 1.5rem; }
.contact-intro h1 em { font-style: italic; }
.contact-intro p { max-width: 44ch; }
.contact-intro .location-note {
  margin-top: 2rem;
  font-size: var(--small-size);
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.contact-details {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-details a {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 300;
  border-bottom: 1px solid var(--divider);
  padding-bottom: 0.1em;
  display: inline;
  transition: border-color 180ms ease;
}
.contact-details a:hover { border-color: var(--text); }

.contact-form-wrap { }

.contact-form {
  display: grid;
  gap: 1.25rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}
.form-field label {
  font-family: var(--sans);
  font-size: var(--nav-size);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid var(--divider);
  padding: 0.75rem 0;
  font-family: var(--sans);
  font-size: var(--body-size);
  font-weight: 300;
  color: var(--text);
  transition: border-color 180ms ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--text);
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.65;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.form-submit {
  margin-top: 0.5rem;
}
.btn-submit {
  background: none;
  border: 1px solid var(--text);
  padding: 0.9rem 2.5rem;
  font-family: var(--sans);
  font-size: var(--small-size);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease;
}
.btn-submit:hover {
  background-color: var(--text);
  color: var(--base);
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.form-status {
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: var(--small-size);
  line-height: 1.6;
}
.form-status--success {
  color: var(--text);
}
.form-status--error {
  color: var(--accent);
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* ============================================================
   PAGE HEADER (non-home pages)
   ============================================================ */

.page-head {
  padding: clamp(7rem, 14vh, 12rem) var(--pad-h) clamp(3rem, 5vh, 5rem);
  border-bottom: 1px solid var(--divider);
  max-width: var(--max-w);
  margin-inline: auto;
}
.page-head h1 { margin-bottom: 0.5rem; }
.page-head h1 em { font-style: italic; }
.page-head .eyebrow { margin-bottom: 1rem; }
