/* ============================================================
   VIDELJAMES SALON · Stylesheet
   Brand: Quiet luxury, bold confidence
   Palette: cream silk, warm taupe, ink black, cognac accent
============================================================ */

:root {
  /* Colors — warm editorial neutrals */
  --ink: #1a1614;
  --ink-soft: #2a2421;
  --ivory: #f4ede4;
  --ivory-deep: #e9dfd2;
  --ivory-faint: #faf6f0;
  --cream-warm: #efe6d8;
  --taupe: #b6a99c;
  --taupe-deep: #6e635a;
  --espresso: #4a3d35;
  --cognac: #8c5a3d;          /* warm accent — used very sparingly */
  --cognac-soft: #b07c5b;
  --line: rgba(26, 22, 20, 0.12);
  --line-soft: rgba(26, 22, 20, 0.06);

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.3125rem;
  --text-xl: clamp(1.6rem, 2.4vw, 2.25rem);
  --text-2xl: clamp(2.2rem, 4.5vw, 3.4rem);
  --text-hero: clamp(2.8rem, 8vw, 6.5rem);

  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-6: 1.5rem;
  --s-8: 2rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-24: 6rem;
  --s-32: 8rem;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* Vertical rhythm between sections (used in place of repeated clamp() values) */
  --section-pad: clamp(2.25rem, 5.5vw, 4.5rem);
  --section-pad-sm: clamp(1.75rem, 4.5vw, 3.5rem);

  --serif: "Cormorant Garamond", "Cormorant", "EB Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --shadow-sm: 0 1px 2px rgba(26, 22, 20, 0.05);
  --shadow-md: 0 12px 40px -10px rgba(26, 22, 20, 0.18);
  --shadow-lg: 0 30px 80px -20px rgba(26, 22, 20, 0.25);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(140, 90, 61, 0.05), transparent 60%),
    var(--ivory-faint);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.italic {
  font-style: italic;
}

/* Selection */
::selection {
  background: var(--ink);
  color: var(--ivory-faint);
}

/* ---------- Topbar (booking strip above nav) ---------- */
.topbar {
  background: var(--ink);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-8);
  padding: 0.55rem var(--gutter);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  transition: color 0.2s ease;
}
.topbar__item:hover {
  color: var(--cognac-soft);
}
.topbar__item svg {
  width: 14px;
  height: 14px;
}
.topbar__item--strong {
  color: var(--ivory-faint);
}
.topbar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8fbf86;
  box-shadow: 0 0 0 0 rgba(143, 191, 134, 0.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(143, 191, 134, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(143, 191, 134, 0); }
  100% { box-shadow: 0 0 0 0 rgba(143, 191, 134, 0); }
}
.topbar__arrow {
  opacity: 0.5;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.topbar__item--strong:hover .topbar__arrow {
  transform: translateX(3px);
  opacity: 1;
}
@media (max-width: 680px) {
  .topbar {
    gap: var(--s-4);
    font-size: 0.7rem;
    padding: 0.5rem var(--s-4);
  }
  .topbar__item--phone { display: none; }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  padding: 0.85rem var(--gutter);
  display: flex;
  align-items: center;
  gap: var(--s-8);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
}
.nav__mark {
  width: 22px;
  height: 22px;
  color: var(--ink);
}
.nav__wordmark {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.32em;
  font-size: 0.8rem;
}
.nav__links {
  margin-left: auto;
  display: flex;
  gap: 1.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav__links a {
  color: var(--ink-soft);
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--cognac);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0;
  white-space: nowrap;
}
.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}
.btn:hover {
  background: var(--ink);
  color: var(--ivory);
}
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  background: var(--ink);
  color: var(--ivory);
}
.btn--primary:hover {
  background: var(--espresso);
  border-color: var(--espresso);
}
.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
}
.btn--lg {
  padding: 1rem 1.7rem;
  font-size: 0.8rem;
}
.btn--small {
  padding: 0.55rem 1rem;
  font-size: 0.72rem;
}
.btn--full {
  width: 100%;
  padding: 1.05rem;
}

/* ---------- Type helpers ---------- */
.h2 {
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 0.75rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cognac);
  margin: 0 0 1.25rem;
}
.eyebrow__rule {
  width: 32px;
  height: 1px;
  background: var(--cognac);
  flex-shrink: 0;
}
.lede {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--espresso);
  max-width: 56ch;
  margin: 0;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--cognac);
  transition: gap 0.25s ease;
}
.link-arrow:hover { gap: 0.85rem; }

.section-head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  margin-bottom: clamp(1.25rem, 3vw, 2.25rem);
}
.section-head--center {
  text-align: center;
}
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lede { margin: 0 auto; }

/* ============================================================
   HERO
============================================================ */
/* ============================================================
   HERO BANNER SLIDESHOW (full-bleed, above hero copy)
============================================================ */
.hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--cream-warm);
  /* Cinematic short banner — short enough that nav + banner + first line of copy are visible */
  height: clamp(360px, 56vh, 620px);
}
.hero-banner .slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.hero-banner .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.7s ease-in-out, transform 2.4s ease-out;
  will-change: opacity, transform;
}
.hero-banner .slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-banner__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,14,10,0.10) 0%, rgba(20,14,10,0) 30%, rgba(20,14,10,0) 70%, rgba(20,14,10,0.30) 100%);
  pointer-events: none;
  z-index: 2;
}
.hero-banner__overlay {
  position: absolute;
  left: 0; right: 0; bottom: clamp(2rem, 5vw, 3.5rem);
  z-index: 3;
  padding: 0 var(--gutter);
  color: var(--ivory-faint);
  text-align: center;
  pointer-events: none;
  text-shadow: 0 1px 16px rgba(0,0,0,0.35);
}
.hero-banner__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
  color: rgba(255,255,255,0.92);
}
.hero-banner__tag {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 4.2vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  color: #fff;
}
.hero-banner .slides__dots {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
  z-index: 4;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(20, 14, 10, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-banner .slides__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}
.hero-banner .slides__dot:hover { background: rgba(255, 255, 255, 0.85); }
.hero-banner .slides__dot.is-active {
  background: #fff;
  width: 22px;
  border-radius: 3px;
}
@media (max-width: 720px) {
  .hero-banner {
    height: clamp(320px, 52vh, 460px);
  }
  .hero-banner__overlay { bottom: clamp(2.2rem, 6vw, 3rem); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-banner .slide {
    transition: opacity 0.4s linear;
    transform: none !important;
  }
}

.hero {
  position: relative;
  padding: clamp(2rem, 4vw, 3.5rem) var(--gutter) clamp(2rem, 4vw, 4rem);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 15% 25%, rgba(140, 90, 61, 0.08), transparent 60%),
    radial-gradient(700px 500px at 90% 80%, rgba(176, 124, 91, 0.07), transparent 65%),
    linear-gradient(180deg, var(--ivory-faint) 0%, var(--ivory) 100%);
  z-index: -2;
}
.hero__ornament {
  position: absolute;
  top: 10%;
  right: -80px;
  width: 320px;
  color: var(--cognac);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  position: relative;
}
.hero__title {
  font-family: var(--serif);
  font-size: var(--text-hero);
  line-height: 0.95;
  font-weight: 400;
  margin: 0.3rem 0 1.4rem;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.hero__title span { display: block; }
.hero__title .italic {
  font-weight: 300;
  color: var(--espresso);
  padding-left: 0.04em;
}
.hero__sub {
  max-width: 48ch;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--espresso);
  margin: 0 0 2rem;
}
.hero__sub em {
  font-style: normal;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--cognac);
  padding-bottom: 1px;
}
.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}
.hero__meta {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe-deep);
  margin: 0;
}
.hero__image {
  margin: 0;
  position: relative;
  border: 1px solid var(--line);
  background: var(--cream-warm);
  box-shadow: var(--shadow-lg);
  align-self: stretch;
  min-height: 0;
}
.hero__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ---- Hero slideshow ---- */
.hero__slideshow .slides {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream-warm);
}
.hero__slideshow .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.6s ease-in-out, transform 7s ease-out;
  will-change: opacity, transform;
  aspect-ratio: auto;
}
.hero__slideshow .slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero__slideshow .slides__dots {
  position: absolute;
  left: 50%;
  bottom: calc(0.9rem + 2.6rem);
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
  z-index: 3;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  background: rgba(20, 14, 10, 0.32);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero__slideshow .slides__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}
.hero__slideshow .slides__dot:hover {
  background: rgba(255, 255, 255, 0.75);
}
.hero__slideshow .slides__dot.is-active {
  background: var(--ivory-faint, #f1ead8);
  width: 18px;
  border-radius: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .hero__slideshow .slide {
    transition: opacity 0.4s linear;
    transform: none !important;
  }
}
.hero__caption {
  position: absolute;
  bottom: -1px;
  left: -1px;
  right: -1px;
  background: var(--ink);
  color: var(--ivory-faint);
  padding: 0.9rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero__caption .serif {
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

/* Marquee */
.hero__marquee {
  max-width: 100%;
  margin: clamp(1.5rem, 3.5vw, 2.5rem) calc(var(--gutter) * -1) 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  width: calc(100% + var(--gutter) * 2);
  position: relative;
}
.hero__marquee::before,
.hero__marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.hero__marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--ivory-faint), transparent);
}
.hero__marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--ivory-faint), transparent);
}
.marquee {
  display: inline-flex;
  white-space: nowrap;
  gap: 1.4rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--espresso);
  animation: marquee 38s linear infinite;
}
.marquee__dot {
  color: var(--cognac);
  font-style: normal;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__ornament { display: none; }
  .hero__image img { aspect-ratio: 4 / 5; }
}

/* ============================================================
   ABOUT
============================================================ */
.about {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-pad) var(--gutter);
}
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about__portrait {
  margin: 0;
  position: relative;
}
.about__portrait::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--cognac);
  z-index: -1;
  opacity: 0.6;
}
.about__portrait img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.about__portrait figcaption {
  margin-top: 1rem;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe-deep);
}
.about__copy p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--espresso);
  max-width: 56ch;
}
.credentials {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}
.credentials li {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.credentials span {
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
}
.credentials p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--taupe-deep);
  line-height: 1.45;
}

@media (max-width: 880px) {
  .about__grid { grid-template-columns: 1fr; }
  .credentials { grid-template-columns: 1fr; }
  .credentials li { flex-direction: row; align-items: baseline; gap: 1rem; }
}

/* ============================================================
   LOGO BREAK
============================================================ */
.logo-break {
  width: 100%;
  background: var(--ink);
  margin: 0;
  position: relative;
}
.logo-break img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.02);
  display: block;
}

/* ============================================================
   SERVICES
============================================================ */
.services {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-pad) var(--gutter);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service {
  padding: 2rem 1.75rem 2.25rem;
  background: var(--ivory-faint);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.service:hover {
  background: var(--ivory);
}
.service__num {
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--cognac);
  font-weight: 500;
}
.service h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.15;
  color: var(--ink);
}
.service p {
  margin: 0;
  color: var(--espresso);
  font-size: 0.95rem;
  line-height: 1.65;
  flex-grow: 1;
}
.service__tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe-deep);
  padding-top: 0.5rem;
  border-top: 1px solid var(--line-soft);
  margin-top: 0.25rem;
  width: fit-content;
}
.services__cta {
  margin-top: 3rem;
  text-align: center;
}

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

/* ============================================================
   GALLERY
============================================================ */
.gallery {
  background: var(--ivory);
  padding: var(--section-pad) var(--gutter);
  position: relative;
}
.gallery .section-head { padding: 0; }
.gallery__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 0.65rem;
}
.g-tile {
  overflow: hidden;
  position: relative;
  background: var(--cream-warm);
  cursor: zoom-in;
  display: block;
  border-radius: 2px;
  isolation: isolate;
}
.g-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.5s ease;
  filter: saturate(0.96);
}
.g-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,14,10,0) 55%, rgba(20,14,10,0.42) 100%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.g-tile__zoom {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 252, 247, 0.92);
  color: var(--ink);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  font-size: 0.95rem;
  z-index: 2;
  box-shadow: 0 8px 20px -8px rgba(26,22,20,0.35);
}
.g-tile:hover img,
.g-tile:focus-visible img {
  transform: scale(1.06);
  filter: saturate(1.05);
}
.g-tile:hover::after,
.g-tile:focus-visible::after { opacity: 1; }
.g-tile:hover .g-tile__zoom,
.g-tile:focus-visible .g-tile__zoom {
  opacity: 1;
  transform: translateY(0);
}
.g-tile:focus-visible {
  outline: 2px solid var(--cognac);
  outline-offset: 2px;
}

/* Uniform square tiles with two oversized accent tiles for editorial rhythm */
.g-tile           { aspect-ratio: 1 / 1; }
.g-tile--hero     { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.g-tile--feature  { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.g-tile--wide     { grid-column: span 2; grid-row: span 1; aspect-ratio: 2 / 1; }
.g-tile--tall     { grid-column: span 1; grid-row: span 2; aspect-ratio: 1 / 2; }
.g-tile--default  { /* default 1x1 from .g-tile */ }

.gallery__cta {
  max-width: var(--container);
  margin: clamp(1.5rem, 3vw, 2.25rem) auto 0;
  text-align: center;
}

@media (max-width: 880px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .g-tile--hero    { grid-column: span 2; grid-row: span 2; }
  .g-tile--feature { grid-column: span 2; grid-row: span 2; }
  .g-tile--wide    { grid-column: span 3; grid-row: span 1; aspect-ratio: 3 / 1; }
  .g-tile--tall    { grid-column: span 1; grid-row: span 2; }
}

@media (max-width: 560px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .g-tile--hero    { grid-column: span 2; grid-row: span 2; aspect-ratio: 1 / 1; }
  .g-tile--feature { grid-column: span 2; grid-row: span 2; aspect-ratio: 1 / 1; }
  .g-tile--wide    { grid-column: span 2; grid-row: span 1; aspect-ratio: 2 / 1; }
  .g-tile--tall    { grid-column: span 1; grid-row: span 2; aspect-ratio: 1 / 2; }
  .g-tile__zoom { width: 1.75rem; height: 1.75rem; right: 0.55rem; bottom: 0.55rem; opacity: 1; transform: none; }
}

/* ============================================================
   LIGHTBOX
============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 10, 8, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: clamp(1rem, 3vw, 2.5rem);
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__stage {
  position: relative;
  max-width: min(1200px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}
.lightbox__img-wrap {
  width: 100%;
  max-height: calc(100vh - 9rem);
  display: grid;
  place-items: center;
  position: relative;
}
.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 50px 120px -30px rgba(0,0,0,0.7);
  transition: opacity 0.25s ease;
}
.lightbox.is-loading .lightbox__img { opacity: 0.4; }
.lightbox__caption {
  color: rgba(255, 252, 247, 0.78);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  min-height: 1em;
}
.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 252, 247, 0.25);
  background: rgba(20, 14, 10, 0.55);
  color: var(--ivory);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  z-index: 2;
}
.lightbox__btn:hover {
  background: rgba(20, 14, 10, 0.85);
  border-color: rgba(255, 252, 247, 0.5);
}
.lightbox__btn--prev { left: clamp(0.5rem, 2vw, 1.5rem); }
.lightbox__btn--next { right: clamp(0.5rem, 2vw, 1.5rem); }
.lightbox__close {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.5rem);
  right: clamp(0.75rem, 2vw, 1.5rem);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 252, 247, 0.25);
  background: rgba(20, 14, 10, 0.55);
  color: var(--ivory);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1rem;
  z-index: 3;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.lightbox__close:hover {
  background: rgba(20, 14, 10, 0.85);
  border-color: rgba(255, 252, 247, 0.5);
}
.lightbox__count {
  position: absolute;
  top: clamp(0.95rem, 2.2vw, 1.7rem);
  left: clamp(0.95rem, 2.2vw, 1.7rem);
  color: rgba(255, 252, 247, 0.7);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  z-index: 3;
}
@media (max-width: 640px) {
  .lightbox__btn { width: 2.5rem; height: 2.5rem; }
  .lightbox__caption { font-size: 0.68rem; letter-spacing: 0.14em; }
}
body.lightbox-open { overflow: hidden; }

/* ============================================================
   QUOTE
============================================================ */
.quote {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: var(--section-pad-sm) var(--gutter);
}
.quote__ornament {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--cognac);
}
.quote__ornament svg { width: 60px; }
.quote blockquote {
  margin: 0;
}
.quote blockquote p {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 1.5rem;
}
.quote__mark {
  font-family: var(--serif);
  color: var(--cognac);
}
.quote blockquote footer {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe-deep);
}

/* ============================================================
   AREAS / NEIGHBORHOODS
============================================================ */
.areas {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-pad) var(--gutter);
}
.areas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.area-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--ivory-faint);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.area-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(140, 90, 61, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.area-card:hover {
  transform: translateY(-3px);
  border-color: var(--cognac);
  box-shadow: var(--shadow-md);
}
.area-card:hover::before { opacity: 1; }
.area-card h3 {
  font-size: 1.6rem;
  font-weight: 400;
  margin: 0;
  color: var(--ink);
}
.area-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--espresso);
  margin: 0;
  flex-grow: 1;
}
.area-card__link {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: gap 0.2s ease;
}
.area-card:hover .area-card__link { gap: 0.7rem; }
.area-card__tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--ink);
  color: var(--ivory-faint);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  z-index: 1;
}
.area-card--feature {
  background: var(--cream-warm);
  border-color: var(--cognac);
  grid-column: span 1;
}

@media (max-width: 880px) {
  .areas__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .areas__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   VISIT / CONTACT
============================================================ */
.visit {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-pad) var(--gutter);
  background: var(--ivory-faint);
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin: 0 0 3.5rem;
  border: 1px solid var(--line);
  background: var(--ivory);
}
.contact-strip__card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 1.1rem;
  background: var(--ivory);
  position: relative;
  transition: background 0.25s ease, color 0.25s ease;
  min-width: 0;
}
.contact-strip__card + .contact-strip__card {
  border-left: 1px solid var(--line);
}
.contact-strip__card:hover {
  background: var(--ink);
  color: var(--ivory);
}
.contact-strip__card:hover .contact-strip__label {
  color: var(--taupe);
}
.contact-strip__card:hover .contact-strip__arrow {
  transform: translateX(4px);
  color: var(--ivory);
}
.contact-strip__card--book {
  background: var(--ink);
  color: var(--ivory);
}
.contact-strip__card--book .contact-strip__label { color: var(--taupe); }
.contact-strip__card--book:hover { background: var(--espresso); }
.contact-strip__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  flex-shrink: 0;
}
.contact-strip__icon svg {
  width: 16px;
  height: 16px;
}
.contact-strip__label {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe-deep);
  margin: 0 0 0.2rem;
  font-weight: 500;
}
.contact-strip__value {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contact-strip__arrow {
  margin-left: auto;
  font-size: 1.1rem;
  color: var(--cognac);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .contact-strip { grid-template-columns: 1fr 1fr; }
  .contact-strip__card + .contact-strip__card { border-left: none; }
  .contact-strip__card:nth-child(2) { border-left: 1px solid var(--line); }
  .contact-strip__card:nth-child(3), .contact-strip__card:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .contact-strip__card:nth-child(4) { border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .contact-strip { grid-template-columns: 1fr; }
  .contact-strip__card { border-left: none !important; border-top: 1px solid var(--line); }
  .contact-strip__card:first-child { border-top: none; }
}

.visit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.visit__dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 0 0 2rem;
  padding: 0 0 2rem;
  border-bottom: 1px solid var(--line);
}
.visit__dl > div { margin: 0; }
.visit__dl dt {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cognac);
  margin: 0 0 0.5rem;
  font-weight: 500;
}
.visit__dl dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink);
}
.visit__dl dd a {
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s ease;
}
.visit__dl dd a:hover { border-color: var(--cognac); }

/* ---------- Contact form ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1rem;
}
.contact-form h3 {
  font-size: 1.6rem;
  font-weight: 400;
  margin: 0;
  color: var(--ink);
}
.form-lede {
  margin: 0 0 0.5rem;
  color: var(--taupe-deep);
  font-size: 0.95rem;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.contact-form label span {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--espresso);
  font-weight: 500;
}
.contact-form label em {
  font-style: normal;
  color: var(--taupe);
  text-transform: none;
  letter-spacing: 0;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--ivory-faint);
  color: var(--ink);
  border-radius: 0;
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.contact-form textarea { resize: vertical; }
.form-status {
  font-size: 0.85rem;
  color: var(--taupe-deep);
  min-height: 1.2rem;
  margin: 0;
}

/* ---------- Map ---------- */
.map-link {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  background: var(--cream-warm);
  overflow: hidden;
}
.map-link iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-overlay {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: var(--ink);
  color: var(--ivory-faint);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.55rem 0.85rem;
  z-index: 2;
  border: 1px solid var(--ink);
  transition: background 0.2s ease;
}
.map-overlay:hover { background: var(--espresso); }

.travel-times {
  margin-top: 1.25rem;
  padding: 1.25rem 1.25rem;
  border: 1px solid var(--line);
  background: var(--ivory);
}
.travel-times__head {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cognac);
  font-weight: 500;
}
.travel-times ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.travel-times li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.95rem;
  color: var(--espresso);
  border-bottom: 1px dotted var(--line);
  padding-bottom: 0.45rem;
}
.travel-times li:last-child { border-bottom: none; padding-bottom: 0; }
.travel-times li b {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  font-size: 1.05rem;
}

@media (max-width: 880px) {
  .visit__grid { grid-template-columns: 1fr; }
  .visit__dl { grid-template-columns: 1fr; gap: 1rem; }
}

/* ============================================================
   STICKY MOBILE FAB
============================================================ */
.book-fab {
  display: none;
}
@media (max-width: 880px) {
  .book-fab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 60;
    background: var(--ink);
    color: var(--ivory);
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    box-shadow: var(--shadow-lg);
  }
  .book-fab svg { width: 16px; height: 16px; }
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(2rem, 4.5vw, 3.5rem) var(--gutter) 1.25rem;
  margin-top: 0;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__col {}
.footer__col--brand {}
.footer__brand {
  display: inline-flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
.footer__brand .serif {
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1;
  color: var(--ivory-faint);
}
.footer__brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-top: 0.5rem;
}
.footer__tag {
  font-family: var(--serif);
  font-style: italic;
  color: var(--taupe);
  margin: 0 0 1rem;
}
.footer__contact {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ivory);
  margin: 0;
}
.footer__contact a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: border-color 0.2s ease;
}
.footer__contact a:hover { border-color: var(--cognac-soft); }
.footer__head {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cognac-soft);
  margin: 0 0 1rem;
  font-weight: 500;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer__col ul a {
  color: var(--ivory);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer__col ul a:hover { color: var(--cognac-soft); }
.footer__legal-row {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--taupe);
}
.footer__legal-row p { margin: 0; }
.footer__legal .serif { color: var(--ivory-faint); }
.footer__credit-link {
  color: var(--ivory-faint);
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 237, 228, 0.18);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer__credit-link:hover {
  color: var(--cognac, #8c5a3d);
  border-bottom-color: var(--cognac, #8c5a3d);
}

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

/* ============================================================
   NEIGHBORHOOD PAGES
============================================================ */
.npage-hero {
  position: relative;
  padding: var(--section-pad) var(--gutter) var(--section-pad-sm);
  background:
    radial-gradient(900px 500px at 20% 30%, rgba(140, 90, 61, 0.08), transparent 60%),
    var(--ivory);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.npage-hero__inner {
  max-width: 920px;
  margin: 0 auto;
}
.npage-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 300;
  line-height: 1.02;
  margin: 0.5rem 0 1.5rem;
  color: var(--ink);
}
.npage-hero h1 .italic { font-weight: 300; color: var(--espresso); }
.npage-hero__sub {
  font-size: 1.15rem;
  color: var(--espresso);
  line-height: 1.65;
  max-width: 56ch;
  margin: 0 auto 2rem;
}
.npage-crumb {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe-deep);
  margin-bottom: 1.5rem;
}
.npage-crumb a {
  border-bottom: 1px solid var(--cognac);
  padding-bottom: 1px;
}
.npage-body {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--section-pad) var(--gutter);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--espresso);
}
.npage-body h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  margin: 2.5rem 0 1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.npage-body h2 .italic { font-weight: 300; }
.npage-body p { margin: 0 0 1.2rem; }
.npage-body ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.6rem;
}
.npage-body ul li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--espresso);
}
.npage-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 14px;
  height: 1px;
  background: var(--cognac);
}
.npage-cta {
  margin: 3.5rem 0;
  padding: 2.5rem 2rem;
  background: var(--cream-warm);
  border: 1px solid var(--line);
  text-align: center;
}
.npage-cta p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ink);
  margin: 0 0 1.5rem;
  line-height: 1.4;
}
.npage-cta__row {
  display: inline-flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.npage-other {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  margin-top: 3rem;
}
.npage-other p {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cognac);
  margin: 0 0 1rem;
  font-weight: 500;
}
.npage-other__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.npage-other__row a {
  font-size: 0.9rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: all 0.2s ease;
}
.npage-other__row a:hover {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}

/* ============================================================
   MOTION & A11Y
============================================================ */
*:focus-visible {
  outline: 2px solid var(--cognac);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Add bottom padding on mobile so FAB doesn't cover content */
@media (max-width: 880px) {
  .footer { padding-bottom: 5.5rem; }
}
