/* ============================================================
   SHEENA McCART — editorial salon site
   Type:    Migra Italic (display, Adobe Fonts) + Söhne (body)
            with Fraunces / Inter as fallbacks
   Palette: warm bone, copper + sage accents, charcoal ink
   ============================================================ */

:root {
  /* — Surfaces — */
  --bone:        #F2EEE5;
  --cream:       #FBF7EE;
  --paper:       #FFFDF7;
  --ink:         #1A1714;
  --ink-soft:    #2C2823;
  --muted:       #6B645B;
  --whisper:     #A29A8E;
  --rule:        #DCD4C4;

  /* — Accents (two-tone) — */
  --accent:        #A95E3A;   /* copper — primary */
  --accent-deep:   #7A4128;
  --accent-soft:   #C9896A;
  --sage:          #6F7B5E;   /* mossy sage — secondary */
  --sage-deep:     #4F5944;
  --sage-soft:     #97A088;
  --sage-bg:       #E5E5DC;   /* the ground for sage sections */

  /* — Type —
     Primary: Adobe Originals (free with any Adobe Fonts plan).
     Fallback: Fraunces + Inter from Google Fonts, both already loading. */
  --serif:    'garamond-premier-pro', 'canela', 'domaine-display', 'tiempos-headline', 'recoleta', 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans:     'acumin-pro', 'sohne', 'untitled-sans', 'founders-grotesk', 'national-2', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --hand:     'garamond-premier-pro', 'canela', 'Fraunces', Georgia, serif;

  /* — Layout — */
  --gutter:      clamp(1.25rem, 4vw, 2.5rem);
  --gutter-lg:   clamp(2rem, 5vw, 4.5rem);
  --max:         1180px;
  --max-prose:   58ch;

  /* — Motion — */
  --t-fast:    180ms cubic-bezier(.4,0,.2,1);
  --t-base:    320ms cubic-bezier(.4,0,.2,1);
  --t-slow:    640ms cubic-bezier(.4,0,.2,1);
  --t-glide:   1.2s cubic-bezier(.2,.6,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Subtle paper grain — SVG fractalNoise inlined as data URI */
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.55  0 0 0 0 0.50  0 0 0 0 0.42  0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/></svg>");
  background-size: 240px 240px;
  background-blend-mode: multiply;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast), opacity var(--t-fast);
}

::selection { background: var(--accent); color: var(--cream); }

/* ── Type ────────────────────────────────────────────────── */

.eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow--mute { color: var(--muted); }

.display {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.25rem, 6.5vw, 5.5rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  /* WONK=1 unlocks Fraunces' distinctive swash italic forms */
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

.h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 420;
  font-size: clamp(1.65rem, 3.4vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 60, "SOFT" 80, "WONK" 1;
}

.h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 420;
  font-variation-settings: "opsz" 60, "SOFT" 100, "WONK" 1;
}

.h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 420;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.25;
  letter-spacing: -0.008em;
  font-variation-settings: "opsz" 24;
}

.h2 em { color: var(--accent); font-weight: 420; }

.lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.5;
  font-weight: 400;
  font-variation-settings: "opsz" 24;
  color: var(--ink-soft);
  max-width: 42ch;
}

.body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: var(--max-prose);
}

.small {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}

.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  font-weight: 380;
  color: var(--accent);
  margin-top: 1rem;
  font-variation-settings: "opsz" 36, "SOFT" 100, "WONK" 1;
  letter-spacing: -0.005em;
}

.num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.85rem;
  font-variation-settings: "opsz" 14;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.rule {
  height: 1px;
  background: var(--rule);
  border: none;
  width: 100%;
}

.rule--accent { background: var(--accent); height: 2px; width: 48px; }

/* ── Layout primitives ───────────────────────────────────── */

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3.5rem) 0; }

.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--sage  { background: var(--sage-bg); }
.section--ink   { background: var(--ink); color: var(--cream); }

.section--ink .body, .section--ink .lede { color: rgba(251,248,242,.78); }
.section--ink .eyebrow { color: var(--accent-soft); }
.section--ink .h1 em, .section--ink .h2 em { color: var(--accent-soft); }
.section--ink .display em { color: var(--accent-soft); }
.section--ink .signature { color: var(--accent-soft); }

.section--sage .eyebrow { color: var(--sage-deep); }
.section--sage .h1 em, .section--sage .h2 em { color: var(--sage-deep); }

.grid { display: grid; gap: var(--gutter); }

@media (min-width: 760px) {
  .grid--2     { grid-template-columns: 1fr 1fr; }
  .grid--3     { grid-template-columns: repeat(3, 1fr); }
  .grid--4-8   { grid-template-columns: 4fr 8fr; gap: var(--gutter-lg); }
  .grid--5-7   { grid-template-columns: 5fr 7fr; gap: var(--gutter-lg); }
  .grid--7-5   { grid-template-columns: 7fr 5fr; gap: var(--gutter-lg); }
  .grid--3-9   { grid-template-columns: 3fr 9fr; gap: var(--gutter-lg); }
}

.stack > * + * { margin-top: var(--stack, 1rem); }
.stack-sm > * + * { margin-top: 0.5rem; }
.stack-lg > * + * { margin-top: 1.5rem; }
.stack-xl > * + * { margin-top: 2rem; }

/* ── Nav ─────────────────────────────────────────────────── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  padding: 0.85rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 50;
  background: rgba(242,238,229,.84);
  backdrop-filter: saturate(170%) blur(14px);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  border-bottom: 1px solid rgba(220,212,196,.5);
  transition: background var(--t-base), border-color var(--t-base), padding var(--t-base);
}

.nav.is-scrolled {
  background: rgba(242,238,229,.95);
  border-bottom-color: rgba(220,212,196,.95);
}

.nav__brand {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 420;
  font-size: 1.25rem;
  letter-spacing: -0.003em;
  font-variation-settings: "opsz" 24, "SOFT" 80, "WONK" 1;
  display: flex;
  flex-direction: column;
  line-height: 1.0;
}
.nav__brand small {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
  font-weight: 500;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 2rem);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav__link {
  position: relative;
  padding: 0.5rem 0;
  opacity: 0.72;
  transition: opacity var(--t-fast);
}
.nav__link:hover, .nav__link[aria-current="page"] { opacity: 1; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--ink);
}

.nav__cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--ink); color: var(--cream);
  padding: 0.65rem 1.05rem;
  border-radius: 999px;
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 500;
  transition: background var(--t-fast), transform var(--t-fast);
}
.nav__cta:hover { background: var(--accent); transform: translateY(-1px); }

.nav__toggle {
  display: none;
  background: none; border: none; cursor: pointer; padding: 8px;
  width: 40px; height: 40px;
}
.nav__toggle span {
  display: block; width: 22px; height: 1px; background: var(--ink); margin: 5px auto;
  transition: transform var(--t-fast), opacity var(--t-fast);
}

@media (max-width: 880px) {
  .nav__menu {
    position: fixed; inset: 0;
    background: var(--bone);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.05rem;
    letter-spacing: 0.18em;
    transform: translateX(100%);
    transition: transform var(--t-base);
    z-index: 49;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__toggle { display: block; z-index: 51; position: relative; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ── Buttons ─────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 500;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}

.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 24px -8px rgba(169,94,58,.4); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }

.btn--accent { background: var(--accent); color: var(--cream); }
.btn--accent:hover { background: var(--accent-deep); transform: translateY(-2px); }

.btn--sage { background: var(--sage); color: var(--cream); }
.btn--sage:hover { background: var(--sage-deep); }

.btn .arrow { display: inline-block; transition: transform var(--t-fast); }
.btn:hover .arrow { transform: translateX(4px); }

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  min-height: min(85svh, 760px);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: clamp(7rem, 12vh, 9rem) 0 clamp(2.5rem, 5vw, 4rem) 0;
  overflow: hidden;
  background: var(--bone);
}

.hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transform: scale(1.04);
  transform-origin: center 35%;
  animation: heroIn 1.4s var(--t-glide) forwards;
  will-change: opacity, transform;
}

/* Ken Burns slow zoom — fires once visible, lasts 18s */
.kenburns {
  animation: heroIn 1.4s var(--t-glide) forwards, kenburns 22s ease-in-out 1.4s infinite alternate;
}

.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(26,23,20,0.22) 0%,
      rgba(26,23,20,0.08) 14%,
      rgba(242,238,229,0.0) 30%,
      rgba(242,238,229,0.55) 65%,
      rgba(242,238,229,0.96) 100%),
    linear-gradient(90deg,
      rgba(242,238,229,0.35) 0%,
      rgba(242,238,229,0.0) 35%);
  z-index: 1;
  transition: opacity 600ms ease-out;
}

.hero.is-faded .hero__bg::after { opacity: 1.4; }
.hero.is-faded .hero__img { transform: scale(1.04) translateY(2%); }

/* Mobile: photo on top, text below */
@media (max-width: 760px) {
  .hero {
    min-height: 0;
    display: block;
    padding: 0;
  }
  .hero__bg {
    position: relative;
    inset: auto;
    height: 58svh;
    max-height: 520px;
  }
  .hero__img { object-position: 50% 28%; opacity: 1; animation: none; transform: none; }
  .kenburns { animation: kenburns 22s ease-in-out infinite alternate; }
  .hero__bg::after { display: none; }
  .hero__content {
    position: relative;
    padding-top: 2.25rem;
    padding-bottom: 2.5rem;
    background: var(--bone);
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__display {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 360;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
  /* WONK + SOFT 100 give Fraunces its most distinctive swash italic */
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--ink);
}
@media (max-width: 760px) {
  .hero__display { font-size: clamp(2.75rem, 12vw, 4.5rem); line-height: 1.0; }
}

.hero__display .line { display: block; overflow: hidden; }
.hero__display .line span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1s var(--t-glide) forwards;
}
.hero__display .line:nth-child(2) span { animation-delay: 120ms; }
.hero__display .line:nth-child(3) span { animation-delay: 240ms; }

.hero__display em {
  font-style: italic;
  color: var(--accent);
  font-weight: 360;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

.hero__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(26,23,20,.12);
  opacity: 0;
  animation: fadeIn 1s var(--t-glide) 600ms forwards;
}

@media (min-width: 760px) {
  .hero__meta {
    grid-template-columns: auto auto auto 1fr auto;
    align-items: center;
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}

.hero__meta-item .eyebrow { display: block; margin-bottom: 0.4rem; }
.hero__meta-item .val {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 400;
  font-variation-settings: "opsz" 24;
}

.hero__cta { justify-self: end; }

@media (max-width: 760px) {
  .hero__cta { grid-column: 1 / -1; justify-self: stretch; margin-top: 0.5rem; }
  .hero__cta.btn { width: 100%; justify-content: space-between; }
}

@keyframes heroIn { to { opacity: 1; } }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes kenburns {
  0%   { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.10) translate(-1%, -2%); }
}

/* ── Page hero (banded) ─────────────────────────────────── */

.page-hero {
  position: relative;
  padding: clamp(6rem, 12vh, 9rem) 0 clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

@media (max-width: 760px) {
  .page-hero { padding-top: 5.5rem; }
}

/* Banded variant: photo as a thin strip behind the title block */
.page-hero--banded {
  padding-top: 0;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  background: var(--cream);
}
.page-hero__band {
  height: clamp(14rem, 36svh, 22rem);
  margin-top: 4.6rem;        /* clear the fixed nav */
  overflow: hidden;
  position: relative;
}
.page-hero__band img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 30%;
  filter: contrast(1.02) saturate(1.04);
  animation: kenburns 28s ease-in-out infinite alternate;
}
.page-hero__band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,23,20,0.05) 0%, rgba(242,238,229,0.0) 40%, rgba(251,247,238,0.92) 100%);
}
.page-hero--banded .container {
  position: relative;
  margin-top: -3rem;
  z-index: 2;
}

.page-hero--portrait .page-hero__band img { object-position: 50% 22%; }

.page-hero__index {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem;
}

.page-hero__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 96, "SOFT" 100, "WONK" 1;
}
.page-hero__title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
  font-variation-settings: "opsz" 96, "SOFT" 100, "WONK" 1;
}

/* ── Portrait container ─────────────────────────────────── */

.portrait {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--rule);
}

.portrait img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-glide);
}

.portrait::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 65%, rgba(26,23,20,0.20) 100%);
  pointer-events: none;
}

.portrait:hover img { transform: scale(1.02); }

/* ── Cards / featured items ─────────────────────────────── */

.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gutter);
  align-items: end;
}

@media (min-width: 760px) {
  .feature { grid-template-columns: 7fr 5fr; gap: var(--gutter-lg); }
  .feature--reverse { grid-template-columns: 5fr 7fr; }
  .feature--reverse .feature__media { order: 1; }
}

.feature__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.feature__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-glide);
}

.feature:hover .feature__media img { transform: scale(1.03); }

.feature__caption {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: 0.85rem;
  font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em;
}

/* ── Service rows (now anchor tags with hover underline) ── */

.service-row {
  display: grid;
  grid-template-columns: 3rem 1fr auto auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  position: relative;
  color: inherit;
  transition: padding-left var(--t-base), color var(--t-fast);
}

.service-row::before {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width var(--t-base);
}

.service-row:hover { padding-left: 0.75rem; }
.service-row:hover::before { width: 100%; }
.service-row:hover .service-row__title { color: var(--accent-deep); }

@media (max-width: 600px) {
  .service-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "num   num"
      "title price"
      "meta  meta";
    row-gap: 0.5rem;
    column-gap: 1rem;
    padding: 1.25rem 0;
  }
  .service-row__num   { grid-area: num; }
  .service-row__title { grid-area: title; font-size: 1.3rem; }
  .service-row__price { grid-area: price; align-self: end; text-align: right; }
  .service-row__meta  { grid-area: meta; }
  .service-row:hover { padding-left: 0; }
}

.service-row__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--whisper);
  font-variation-settings: "opsz" 12;
}

.service-row__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-weight: 420;
  letter-spacing: -0.003em;
  font-variation-settings: "opsz" 24, "SOFT" 20;
  line-height: 1.2;
  transition: color var(--t-fast);
}

.service-row__title small {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
  margin-top: 0.4rem;
  line-height: 1.5;
  max-width: 50ch;
}

.service-row__meta {
  font-size: 0.76rem; color: var(--muted);
  letter-spacing: 0.06em;
}

.service-row__price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 420;
  font-variation-settings: "opsz" 24;
  white-space: nowrap;
}
.service-row__price small {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.62rem;
  color: var(--muted);
  display: block;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ── Gallery ─────────────────────────────────────────────── */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.5rem, 1.5vw, 1rem);
}

@media (min-width: 760px) {
  .gallery { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 8vw; }
  .gallery__item--1 { grid-column: 1 / span 5; grid-row: span 5; }
  .gallery__item--2 { grid-column: 6 / span 4; grid-row: span 4; margin-top: 4vw; }
  .gallery__item--3 { grid-column: 10 / span 3; grid-row: span 5; margin-top: 8vw; }
  .gallery__item--4 { grid-column: 2 / span 4; grid-row: span 5; margin-top: -4vw; }
  .gallery__item--5 { grid-column: 7 / span 5; grid-row: span 6; }
}

.gallery__item {
  position: relative;
  overflow: hidden;
  background: var(--rule);
}

.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s cubic-bezier(.2,.6,.2,1);
}

.gallery__item:hover img { transform: scale(1.05); }

.gallery__item::after {
  content: attr(data-label);
  position: absolute; left: 1rem; bottom: 0.85rem;
  font-family: var(--serif); font-style: italic;
  font-size: 0.85rem;
  color: var(--cream);
  font-variation-settings: "opsz" 14;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--t-base), transform var(--t-base);
}

.gallery__item:hover::after { opacity: 1; transform: translateY(0); }

/* IG grid (gallery page) */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.ig-grid .gallery__item { aspect-ratio: 1/1; }
.ig-grid__more {
  aspect-ratio: 1/1;
  background: var(--accent);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  transition: background var(--t-fast);
}
.ig-grid__more:hover { background: var(--accent-deep); }

/* ── Pillars (about page) ───────────────────────────────── */

.pillar {
  display: flex; flex-direction: column;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

.pillar__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--accent);
  font-variation-settings: "opsz" 14;
}

/* ── Pull quote ──────────────────────────────────────────── */

.quote {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 36, "SOFT" 60;
  color: inherit;
  max-width: 32ch;
}

.quote::before {
  content: "“";
  display: block;
  font-style: normal;
  color: var(--accent);
  font-size: 1.6em;
  line-height: 0.6;
  margin-bottom: 0.3em;
  font-variation-settings: "opsz" 96;
}

.section--ink .quote { color: var(--cream); }
.section--ink .quote::before { color: var(--accent-soft); }

.quote__cite {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

.section--ink .quote__cite { color: rgba(251,247,238,.55); }

/* ── Book card ───────────────────────────────────────────── */

.book-card {
  background: var(--paper);
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--rule);
  border-radius: 4px;
  text-align: center;
  position: relative;
}
.book-card::before {
  content: "";
  position: absolute; inset: 12px;
  border: 1px solid rgba(169,94,58,.18);
  border-radius: 2px;
  pointer-events: none;
}

/* Map card */
.map-card {
  aspect-ratio: 4/3;
  background: var(--ink-soft);
  border: 1px solid rgba(251,247,238,.1);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  padding: 2rem;
  text-align: center;
  line-height: 1.5;
  gap: 0.5rem;
}
.map-card__title { font-size: clamp(1.3rem, 2vw, 1.7rem); color: rgba(251,247,238,.92); font-weight: 400; }
.map-card__sub   { font-size: 1.1rem; color: rgba(251,247,238,.7); font-weight: 400; }
.map-card__hint  {
  font-style: normal; font-family: var(--sans);
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-soft); margin-top: 0.75rem; font-weight: 500;
}

/* ── Footer ──────────────────────────────────────────────── */

.footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(4rem, 7vw, 6rem) 0 1.75rem;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,137,106,.4), transparent);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(251,247,238,.08);
}

@media (min-width: 760px) {
  .footer__top { grid-template-columns: 1fr auto; gap: 3rem; }
}

.footer__display {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 96, "SOFT" 40;
  margin-top: 0.5rem;
}
.footer__display em { color: var(--accent-soft); font-style: italic; font-weight: 400; }

.footer__sig {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--accent-soft);
  margin-top: 1.5rem;
  font-variation-settings: "opsz" 36;
}

.footer__portrait {
  width: clamp(120px, 20vw, 200px);
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(201,137,106,.3);
}
.footer__portrait img { width: 100%; height: 100%; object-fit: cover; }

.footer__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
}
@media (min-width: 760px) {
  .footer__cols { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer .eyebrow { color: var(--accent-soft); margin-bottom: 0.85rem; }
.footer a { color: rgba(251,247,238,.85); transition: color var(--t-fast); }
.footer a:hover { color: var(--accent-soft); }
.footer p, .footer li { color: rgba(251,247,238,.72); font-size: 0.9rem; line-height: 1.7; }
.footer ul { list-style: none; }
.footer li em { color: rgba(251,247,238,.4); font-style: italic; }

.footer__bottom {
  margin-top: 1.5rem;
  display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 1rem;
  font-size: 0.72rem; color: rgba(251,247,238,.45);
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(251,247,238,.06);
  padding-top: 1.5rem;
}

/* ── Lists ──────────────────────────────────────────────── */

.bullets {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
.bullets li {
  position: relative;
  padding-left: 1.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  font-variation-settings: "opsz" 24;
  line-height: 1.4;
}
.bullets li::before {
  content: "→";
  position: absolute; left: 0; top: 0;
  color: var(--accent);
  font-family: var(--sans);
  font-style: normal;
}

.kv-list { display: grid; gap: 0.85rem; }
.kv-list dt {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.kv-list dd {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 420;
  font-variation-settings: "opsz" 24;
}
.kv-list dd a:hover { color: var(--accent); }

.hours { display: grid; gap: 0.3rem; max-width: 24rem; }
.hours__row {
  display: flex; justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--rule);
}
.hours__row span:first-child {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.hours__row span:last-child {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 420;
  font-variation-settings: "opsz" 18;
}
.hours__row.is-closed span:last-child {
  color: var(--whisper);
  font-style: italic;
}

/* ── Reveal-on-scroll (mask wipe variant) ─────────────────
   Progressive enhancement: content is visible by default.
   Only when <html> has the `js` class does the reveal hide
   itself before IntersectionObserver animates it in.
   This guarantees content shows even if JS fails. */

html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 900ms cubic-bezier(.2,.6,.2,1),
    transform 900ms cubic-bezier(.2,.6,.2,1);
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Eyebrow mask wipe — also gated on html.js for safety */
html.js .reveal .eyebrow {
  position: relative;
  overflow: hidden;
}
html.js .reveal .eyebrow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 900ms cubic-bezier(.7,0,.3,1);
}
html.js .reveal.is-visible .eyebrow::after {
  transform: scaleX(0);
  transform-origin: right;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero__display .line span { transform: none !important; }
  .hero__img { opacity: 1 !important; transform: none !important; }
  .hero__meta { opacity: 1 !important; }
  .reveal .eyebrow::after { display: none; }
}

/* ── Skip link & a11y ────────────────────────────────────── */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--cream);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ── Print ───────────────────────────────────────────────── */
@media print {
  .nav, .footer, .hero__bg { display: none !important; }
  body { background: white; color: black; }
}
