/* ============================================================================
   SMRITIKA MOMENTS — Design System
   ----------------------------------------------------------------------------
   Brand DNA is taken directly from the SM monogram: a high-contrast didone
   with hairline circular flourishes and teardrop terminals, paired with a
   wide-tracked geometric sans wordmark in deep wine.

   Display face : Bodoni Moda  — matches the mark's stroke contrast + ball terminals
   Text face    : Jost         — matches the wordmark's geometric, wide-tracked sans
   Signature devices: hairline arcs (from the mark), tracked small-cap eyebrows,
                      generous negative space, wine as the single saturated accent.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;1,6..96,400;1,6..96,500&family=Jost:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

/* ---------------------------------------------------------------- TOKENS -- */
:root {
  /* Brand */
  --wine:        #6E1030;
  --wine-dark:   #4E0A21;
  --wine-light:  #8E2244;
  --rose:        #B87F8A;
  --blush:       #F3E5E2;
  --brass:       #A98B62;

  /* Neutrals — warm, never pure black/white */
  --ink:         #1A1210;
  --ink-soft:    #3D2E29;
  --muted:       #6B5A54;   /* 5.6:1 on --ivory */
  --ivory:       #FBF8F4;
  --paper:       #F5EFE7;
  --sand:        #EADFD1;
  --line:        rgba(26, 18, 16, .13);
  --line-strong: rgba(26, 18, 16, .28);

  /* Dark surfaces */
  --ink-bg:      #16100F;
  --ink-bg-2:    #211816;
  --on-dark:     #F6F1EA;
  --on-dark-mut: #B9AAA2;   /* 6.1:1 on --ink-bg */
  --line-dark:   rgba(246, 241, 234, .18);

  /* Type scale — fluid, spacious */
  --fs-micro:   .655rem;   /* metadata, captions, badges */
  --fs-eyebrow: .69rem;
  --fs-sm:      .845rem;
  --fs-body:    1.0625rem;
  --fs-lede:    clamp(1.08rem, 1.3vw, 1.24rem);
  --fs-h3:      clamp(1.28rem, 1.75vw, 1.6rem);
  --fs-h2:      clamp(1.85rem, 3.3vw, 2.75rem);
  --fs-h1:      clamp(2.4rem, 5.4vw, 4.4rem);
  --fs-hero:    clamp(2.7rem, 7.4vw, 6.4rem);

  /* Tracking — tight on display, open on small caps */
  --track-eyebrow: .235em;
  --track-btn:     .155em;
  --track-nav:     .17em;

  /* Spacing — density 3/10 (spacious) */
  --space-2xs: .5rem;
  --space-xs:  .875rem;
  --space-sm:  1.25rem;
  --space-md:  2rem;
  --space-lg:  3.5rem;
  --space-xl:  6rem;
  --space-2xl: 9rem;

  --container: 76rem;
  --container-wide: 92rem;
  --radius: 2px;         /* editorial: almost no rounding */
  --radius-img: 3px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: 420ms;

  --shadow-sm: 0 1px 2px rgba(26,18,16,.05), 0 6px 18px rgba(26,18,16,.05);
  --shadow-md: 0 10px 40px rgba(26,18,16,.10);
  --shadow-lg: 0 26px 80px rgba(26,18,16,.16);
}

/* ------------------------------------------------------------- BASELINE -- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink-soft);
  font-family: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.72;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* height:auto is load-bearing — the width/height attributes on every <img>
   (there for CLS) otherwise apply as a fixed height and stretch the photo.
   Components that deliberately crop re-set height:100% + object-fit:cover. */
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: 'Bodoni Moda', 'Times New Roman', serif;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}
/* Optical sizing: the larger the setting, the tighter it wants to be.
   A single line-height across four levels is what makes type read templated. */
h1 { line-height: 1.02; letter-spacing: -.025em; }
h2 { line-height: 1.1;  letter-spacing: -.018em; }
h3 { line-height: 1.28; letter-spacing: -.006em; }
h4 { line-height: 1.34; letter-spacing: 0; }

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: .28em; }

:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
  border-radius: 1px;
}
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--blush); }

::selection { background: var(--wine); color: #fff; }

.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  background: var(--wine); color: #fff; padding: .8rem 1.5rem; z-index: 300;
  letter-spacing: .14em; text-transform: uppercase; font-size: var(--fs-sm);
  text-decoration: none; transition: top 200ms var(--ease);
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------------- LAYOUT -- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container-wide { width: min(100% - 2.5rem, var(--container-wide)); margin-inline: auto; }
@media (min-width: 48em) {
  .container { width: min(100% - 5rem, var(--container)); }
  .container-wide { width: min(100% - 4rem, var(--container-wide)); }
}

/* Fluid section rhythm — mobile gets air without desktop getting cavernous */
.section       { padding-block: clamp(3.75rem, 7.6vw, 6.25rem); }
.section-lg    { padding-block: clamp(5rem, 10.5vw, 8.75rem); }
.section-tight { padding-block: clamp(2.5rem, 4.8vw, 3.5rem); }
.bg-paper { background: var(--paper); }
.bg-sand  { background: var(--sand); }
.bg-ink   { background: var(--ink-bg); color: var(--on-dark); }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: var(--on-dark); }
.bg-ink .lede, .bg-ink p { color: var(--on-dark-mut); }

/* ----------------------------------------------------------- TYPOGRAPHY -- */
.eyebrow {
  display: flex; align-items: center; gap: .8rem;
  font-size: var(--fs-eyebrow); font-weight: 400;
  letter-spacing: var(--track-eyebrow); text-transform: uppercase;
  color: var(--wine); margin: 0 0 var(--space-sm);
}
.eyebrow::before {
  content: ''; width: 1.75rem; height: 1px; background: currentColor;
  opacity: .42; flex: none;
}
.eyebrow-center { justify-content: center; }
.eyebrow-center::after {
  content: ''; width: 1.75rem; height: 1px; background: currentColor;
  opacity: .42; flex: none;
}
.bg-ink .eyebrow { color: var(--rose); }

.display  { font-size: var(--fs-h1); }
.display-hero { font-size: var(--fs-hero); line-height: .96; letter-spacing: -.03em; }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); }

.italic-accent { font-style: italic; color: var(--wine); }
.bg-ink .italic-accent { color: var(--rose); }

.lede {
  font-size: var(--fs-lede); line-height: 1.62; color: var(--muted);
  font-weight: 300; max-width: 44ch; letter-spacing: .004em;
}
.lede-center { margin-inline: auto; text-align: center; }
.measure { max-width: 58ch; }

.section-head { margin-bottom: clamp(2.25rem, 4.2vw, 3.25rem); }
.section-head-center { text-align: center; }
.section-head-center .lede { margin-inline: auto; }

.section-head-split {
  display: grid; gap: var(--space-md); align-items: end;
  margin-bottom: clamp(2.25rem, 4.2vw, 3.25rem);
}
@media (min-width: 60em) {
  .section-head-split { grid-template-columns: 1fr auto; gap: var(--space-lg); }
}

/* --------------------------------------------------------------- BUTTON -- */
.btn {
  --btn-bg: var(--wine); --btn-fg: #fff; --btn-bd: var(--wine);
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 3.125rem; padding: .95rem 2.15rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd); border-radius: var(--radius);
  font-size: var(--fs-sm); font-weight: 400;
  letter-spacing: var(--track-btn); text-transform: uppercase; text-decoration: none;
  cursor: pointer; position: relative; overflow: hidden;
  transition: background 520ms var(--ease-out), color 520ms var(--ease-out),
              border-color 520ms var(--ease-out), transform 380ms var(--ease-out);
}
/* A 1px settle, not a bounce — movement you feel rather than watch. */
.btn:hover  { background: var(--wine-dark); border-color: var(--wine-dark); transform: translateY(-1px); }
.btn:active { transform: translateY(0); transition-duration: 90ms; }

.btn-ghost { --btn-bg: transparent; --btn-fg: var(--wine); --btn-bd: var(--line-strong); }
.btn-ghost:hover { background: var(--wine); color: #fff; border-color: var(--wine); }

.btn-light { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-bd: var(--line-dark); }
.btn-light:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }

.btn-solid-light { --btn-bg: var(--ivory); --btn-fg: var(--ink); --btn-bd: var(--ivory); }
.btn-solid-light:hover { background: var(--blush); border-color: var(--blush); color: var(--wine-dark); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.btn-row-center { justify-content: center; }

/* Text link with animated rule */
.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--fs-sm); letter-spacing: .18em; text-transform: uppercase;
  color: var(--wine); text-decoration: none; padding-bottom: .35rem;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color var(--dur) var(--ease), gap var(--dur) var(--ease);
}
.link-arrow:hover { border-color: var(--wine); gap: 1rem; }
.link-arrow svg { transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.bg-ink .link-arrow { color: var(--on-dark); border-color: var(--line-dark); }
.bg-ink .link-arrow:hover { border-color: var(--on-dark); }

/* --------------------------------------------------------------- HEADER -- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding-block: 1.1rem;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              padding var(--dur) var(--ease);
}
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(22,16,15,.78) 0%, rgba(22,16,15,.42) 55%, transparent 100%);
  opacity: 1; transition: opacity var(--dur) var(--ease);
}
.site-header.is-stuck {
  background: rgba(251, 248, 244, .93);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: .7rem;
}
.site-header.is-stuck::before { opacity: 0; }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }

/* min-height keeps the wordmark a comfortable tap target without
   changing the header's visual height — the padding already exceeds it. */
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; flex: none;
         min-height: 44px; }
.brand-mark { width: 2.6rem; height: auto; filter: invert(1) brightness(2.2); transition: filter var(--dur) var(--ease); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-size: .82rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--on-dark); font-weight: 400; transition: color var(--dur) var(--ease);
}
.brand-tag {
  font-size: .605rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--on-dark-mut); transition: color var(--dur) var(--ease);
}
.is-stuck .brand-mark, .header-solid .brand-mark, .header-on-light .brand-mark { filter: none; }
.is-stuck .brand-name, .header-solid .brand-name, .header-on-light .brand-name { color: var(--ink); }
.is-stuck .brand-tag,  .header-solid .brand-tag,  .header-on-light .brand-tag  { color: var(--muted); }

/* Pages whose hero is light (ivory) — dark header text, but no panel until scrolled */
.site-header.header-on-light::before { opacity: 0; }

/* Pages without a dark hero start in solid mode */
.header-solid {
  background: rgba(251, 248, 244, .93);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-solid::before { opacity: 0; }

.nav { display: none; }
@media (min-width: 62em) { .nav { display: flex; align-items: center; gap: 2.4rem; } }

.nav-link {
  position: relative; text-decoration: none; color: var(--on-dark);
  font-size: .75rem; letter-spacing: var(--track-nav); text-transform: uppercase; font-weight: 300;
  padding-block: .4rem; transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
/* scaleX from the left reads smoother than animating width, and it composites */
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 480ms var(--ease-out);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--rose); }
.is-stuck .nav-link, .header-solid .nav-link, .header-on-light .nav-link { color: var(--ink-soft); }
.is-stuck .nav-link[aria-current="page"],
.header-solid .nav-link[aria-current="page"],
.header-on-light .nav-link[aria-current="page"] { color: var(--wine); }

.header-cta { display: none; }
@media (min-width: 62em) { .header-cta { display: inline-flex; min-height: 2.6rem; padding: .55rem 1.5rem; font-size: .72rem; } }
.site-header:not(.is-stuck):not(.header-solid):not(.header-on-light) .header-cta {
  background: transparent; color: var(--on-dark); border-color: var(--line-dark);
}
.site-header:not(.is-stuck):not(.header-solid):not(.header-on-light) .header-cta:hover {
  background: var(--on-dark); color: var(--ink); border-color: var(--on-dark);
}

/* Mobile toggle + drawer */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
  background: none; border: 0; cursor: pointer; z-index: 210;
}
@media (min-width: 62em) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block; height: 1px; width: 100%; background: var(--on-dark);
  transition: transform 300ms var(--ease), opacity 200ms var(--ease), background var(--dur) var(--ease);
}
.is-stuck .nav-toggle span, .header-solid .nav-toggle span, .header-on-light .nav-toggle span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span { background: var(--ink); }
.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; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ivory);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--space-xl) 2rem var(--space-md);
  transform: translateY(-100%); visibility: hidden;
  transition: transform 520ms var(--ease-out), visibility 520ms;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateY(0); visibility: visible; }
.mobile-nav a {
  font-family: 'Bodoni Moda', serif; font-size: clamp(2rem, 9vw, 3rem);
  color: var(--ink); text-decoration: none; padding-block: .35rem;
  border-bottom: 1px solid var(--line); display: block;
  opacity: 0; transform: translateY(18px);
}
.mobile-nav.is-open a { animation: navIn 560ms var(--ease-out) forwards; }
.mobile-nav a:hover { color: var(--wine); }
.mobile-nav a[aria-current="page"] { color: var(--wine); font-style: italic; }
@keyframes navIn { to { opacity: 1; transform: none; } }
.mobile-nav-foot { margin-top: var(--space-md); }
.mobile-nav-foot a {
  font-family: 'Jost', sans-serif; font-size: var(--fs-sm); border: 0;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  padding-block: .5rem;
}
body.nav-open { overflow: hidden; }

/* ----------------------------------------------------------------- HERO -- */
.hero {
  position: relative; padding-top: 9rem; padding-bottom: var(--space-lg);
  background: var(--ivory); overflow: hidden;
}
.hero-copy { position: relative; z-index: 2; text-align: center; max-width: 54rem; margin-inline: auto; }
.hero-title { font-size: var(--fs-hero); line-height: .95; letter-spacing: -.035em; margin-bottom: var(--space-sm); }
.hero-title em { font-style: italic; color: var(--wine); }
.hero-sub { margin-inline: auto; margin-bottom: var(--space-md); max-width: 42ch; }

/* Arc ornament lifted from the monogram's hairline flourishes */
.arc-ornament {
  position: absolute; border: 1px solid var(--line-strong); border-radius: 50%;
  opacity: .35; pointer-events: none; z-index: 0;
}
.arc-a { width: 34rem; height: 34rem; top: -12rem; left: -10rem; }
.arc-b { width: 22rem; height: 22rem; bottom: -8rem; right: -6rem; border-color: var(--rose); }
@media (max-width: 48em) { .arc-ornament { display: none; } }

/* Hero image cluster — staggered, echoes the arc of the mark */
.hero-strip {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: .75rem; margin-top: var(--space-lg);
}
@media (min-width: 48em) {
  .hero-strip { grid-template-columns: repeat(4, 1fr); gap: 1.15rem; }
}
.hero-strip figure { margin: 0; overflow: hidden; border-radius: var(--radius-img); }
.hero-strip img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 900ms var(--ease);
}
.hero-strip figure:hover img { transform: scale(1.05); }
/* One shape for all four frames — the arc comes purely from the offset,
   so the bottoms fall on two deliberate lines rather than four ragged ones. */
.hero-strip figure { aspect-ratio: 3 / 4; }
@media (min-width: 48em) {
  .hero-strip figure:nth-child(1),
  .hero-strip figure:nth-child(4) { transform: translateY(2.25rem); }
}

/* Full-bleed image hero (interior pages) */
.hero-image {
  position: relative; min-height: 62vh; display: grid; align-items: end;
  padding-top: 10rem; padding-bottom: var(--space-lg);
  background: var(--ink-bg); overflow: hidden; isolation: isolate;
}
.hero-image > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.hero-image::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(22,16,15,.86) 0%, rgba(22,16,15,.52) 45%, rgba(22,16,15,.58) 100%);
}
.hero-image .hero-image-copy { position: relative; color: var(--on-dark); max-width: 46rem; }
.hero-image h1 { color: var(--on-dark); margin-bottom: var(--space-sm); }
.hero-image .eyebrow { color: var(--rose); }
.hero-image .lede { color: var(--on-dark-mut); }
@media (min-width: 62em) { .hero-image { min-height: 74vh; } }

/* Compact page header (no photo) */
.page-head { padding-top: 10rem; padding-bottom: var(--space-lg); background: var(--paper); position: relative; overflow: hidden; }

/* Breadcrumb */
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: var(--space-sm); list-style: none; padding: 0;
}
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--wine); }
.crumbs li + li::before { content: '/'; margin-right: .55rem; opacity: .5; }
.hero-image .crumbs { color: var(--on-dark-mut); }
.hero-image .crumbs a:hover { color: #fff; }

/* ------------------------------------------------------------ CARD GRID -- */
.grid { display: grid; gap: var(--space-md); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
@media (min-width: 40em) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 56em) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Category card */
.cat-card {
  position: relative; display: block; text-decoration: none; overflow: hidden;
  border-radius: var(--radius-img); background: var(--sand); isolation: isolate;
}
.cat-card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.cat-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1300ms var(--ease-out), filter 900ms var(--ease-out);
}
.cat-card:hover .cat-card-media img { transform: scale(1.045); }
.cat-card-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(22,16,15,.78) 0%, rgba(22,16,15,.22) 48%, rgba(22,16,15,.04) 100%);
  transition: opacity var(--dur) var(--ease);
}
.cat-card:hover .cat-card-media::after { opacity: .85; }
.cat-card-body {
  position: absolute; inset: auto 0 0; padding: var(--space-sm) 1.35rem 1.35rem;
  color: var(--on-dark); z-index: 2;
}
.cat-card-title {
  font-family: 'Bodoni Moda', serif; font-size: 1.42rem; color: #fff;
  line-height: 1.18; letter-spacing: -.012em; margin-bottom: .35rem;
}
.cat-card-meta {
  font-size: var(--fs-micro); letter-spacing: .2em; text-transform: uppercase;
  color: rgba(246,241,234,.78);
  display: flex; align-items: center; gap: .5rem;
}
.cat-card-rule {
  width: 0; height: 1px; background: var(--rose); margin-top: .8rem;
  transition: width 620ms var(--ease-out);
}
.cat-card:hover .cat-card-rule { width: 3.5rem; }
.cat-card-empty {
  position: absolute; top: 1rem; right: 1rem; z-index: 3;
  background: rgba(251,248,244,.92); color: var(--wine);
  font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px;
}

/* Typographic card — used where a category has no photography yet, so the
   grid never shows a broken frame or borrows another category's images. */
.cat-card-typo .cat-card-media {
  background: linear-gradient(160deg, var(--sand) 0%, var(--blush) 100%);
  display: grid; place-items: center; overflow: hidden;
}
.cat-card-typo .cat-card-media::after { display: none; }
.cat-card-typo .cat-card-body { position: static; padding: 0; text-align: center; color: var(--ink); }
.cat-card-typo .cat-card-title { color: var(--ink); font-style: italic; }
.cat-card-typo .cat-card-meta { color: var(--muted); justify-content: center; }
.cat-card-typo .cat-card-rule { margin-inline: auto; background: var(--wine); }
.cat-card-typo .cat-card-inner { position: relative; z-index: 2; padding: var(--space-md) 1.25rem; }
.cat-card-typo .cat-card-glyph {
  width: 3.25rem; margin: 0 auto var(--space-sm); opacity: .32;
}
.cat-card-typo::before {
  content: ''; position: absolute; width: 15rem; height: 15rem;
  border: 1px solid var(--wine); border-radius: 50%; opacity: .16;
  top: -4rem; right: -5rem; pointer-events: none;
}
.cat-card-typo:hover::before { opacity: .3; transition: opacity var(--dur) var(--ease); }

/* Feature / editorial split */
.split {
  display: grid; gap: var(--space-lg); align-items: center;
}
@media (min-width: 60em) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .split-reverse > *:first-child { order: 2; }
}
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius-img); }
.split-media-stack { position: relative; padding-bottom: 4rem; padding-right: 3rem; }
.split-media-stack .stack-back { width: 100%; border-radius: var(--radius-img); }
.split-media-stack .stack-front {
  position: absolute; right: 0; bottom: 0; width: 52%;
  border: .5rem solid var(--ivory); border-radius: var(--radius-img);
  box-shadow: var(--shadow-md);
}

/* Stat row */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
@media (min-width: 56em) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat-num {
  font-family: 'Bodoni Moda', serif; font-size: clamp(2.25rem, 4vw, 3rem);
  color: var(--wine); line-height: 1; display: block; margin-bottom: .4rem;
}
.bg-ink .stat-num { color: var(--rose); }
.stat-label {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.bg-ink .stat-label { color: var(--on-dark-mut); }

/* Value / why-choose cards */
.value-card { padding: var(--space-md) 0; border-top: 1px solid var(--line); }
.bg-ink .value-card { border-color: var(--line-dark); }
.value-icon { color: var(--wine); margin-bottom: var(--space-sm); display: block; }
.bg-ink .value-icon { color: var(--rose); }
.value-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.value-card p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.bg-ink .value-card p { color: var(--on-dark-mut); }

/* ---------------------------------------------------------- PHOTO GRIDS -- */
/* Masonry-ish editorial gallery driven by CSS columns (keeps intrinsic ratios) */
.gallery { columns: 1; column-gap: var(--space-sm); }
@media (min-width: 40em) { .gallery { columns: 2; } }
@media (min-width: 64em) { .gallery { columns: 3; } }
.gallery-item {
  break-inside: avoid; margin: 0 0 var(--space-sm); position: relative;
  border-radius: var(--radius-img); overflow: hidden; cursor: zoom-in;
  background: var(--sand); display: block; width: 100%; padding: 0; border: 0;
}
.gallery-item img { width: 100%; height: auto; transition: transform 1300ms var(--ease-out); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(22,16,15,.38) 0%, rgba(22,16,15,0) 45%);
  opacity: 0; transition: opacity 600ms var(--ease-out);
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.035); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
.gallery-item .zoom-cue {
  position: absolute; inset: auto 1rem 1rem auto; z-index: 2;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: rgba(251,248,244,.9); color: var(--ink);
  display: grid; place-items: center;
  opacity: 0; transform: translateY(6px);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
}
.gallery-item:hover .zoom-cue, .gallery-item:focus-visible .zoom-cue { opacity: 1; transform: none; }

/* Featured mosaic (home) */
.mosaic { display: grid; gap: var(--space-sm); grid-template-columns: repeat(2, 1fr); }

/* Tile shape follows the photograph, never the other way round.
   .is-land = landscape/square, .is-portrait = portrait (set by render.js). */
@media (min-width: 56em) {
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; }
  /* Cells are sized by aspect ratio rather than a fixed row height, so each
     frame keeps close to its native crop at every viewport width. Rows size
     to the tallest tile and the rest stretch to meet it. */
  .mosaic-item.is-land     { grid-column: span 2; aspect-ratio: 3 / 2; }
  .mosaic-item.is-portrait { grid-column: span 1; aspect-ratio: 3 / 4; }
  /* the ratios above set the row height; this squares the bottom edges
     within a row so the band reads as one clean line */
  .mosaic-item { height: 100%; }
}
@media (max-width: 55.99em) {
  .mosaic-item.is-land { grid-column: span 2; aspect-ratio: 3 / 2; }
  .mosaic-item.is-portrait { aspect-ratio: 4 / 5; }
}

.mosaic-item {
  overflow: hidden; border-radius: var(--radius-img);
  background: var(--sand); position: relative;
}
.mosaic-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1200ms var(--ease-out), filter 1200ms var(--ease-out);
}
.mosaic-item::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(22,16,15,.42) 0%, rgba(22,16,15,0) 42%);
  opacity: 0; transition: opacity 600ms var(--ease-out);
}
.mosaic-item:hover img, .mosaic-item:focus-visible img { transform: scale(1.04); }
.mosaic-item:hover::after, .mosaic-item:focus-visible::after { opacity: 1; }

/* Small editorial caption, revealed on hover */
.mosaic-tag {
  position: absolute; left: 1rem; bottom: .9rem; z-index: 2;
  font-family: var(--font-sans);
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--on-dark); opacity: 0; transform: translateY(.4rem);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.mosaic-item:hover .mosaic-tag, .mosaic-item:focus-visible .mosaic-tag {
  opacity: 1; transform: none;
}

/* Empty gallery state */
.gallery-empty {
  text-align: center; padding: var(--space-xl) var(--space-md);
  border: 1px solid var(--line); border-radius: var(--radius-img); background: var(--paper);
}
.gallery-empty svg { color: var(--rose); margin-bottom: var(--space-sm); }

/* -------------------------------------------------------------- LIGHTBOX -- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(16, 11, 10, .96);
  padding: clamp(1rem, 4vw, 3rem);
  place-items: center;
}
.lightbox[open], .lightbox.is-open { display: grid; }
.lightbox img {
  max-width: 100%; max-height: 82vh; width: auto; object-fit: contain;
  border-radius: var(--radius-img); animation: lbIn 420ms var(--ease-out);
}
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lightbox-caption {
  position: absolute; bottom: clamp(1rem, 3vw, 2rem); left: 50%; transform: translateX(-50%);
  color: var(--on-dark-mut); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
}
.lb-btn {
  position: absolute; width: 3.25rem; height: 3.25rem; border-radius: 50%;
  background: rgba(246,241,234,.1); border: 1px solid var(--line-dark);
  color: var(--on-dark); display: grid; place-items: center; cursor: pointer;
  transition: background var(--dur) var(--ease), transform 200ms var(--ease);
}
.lb-btn:hover { background: rgba(246,241,234,.22); }
.lb-close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lb-prev  { left: clamp(.5rem, 2vw, 2rem);  top: 50%; transform: translateY(-50%); }
.lb-next  { right: clamp(.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.06); }

/* ---------------------------------------------------------- TESTIMONIAL -- */
.quote-card {
  background: var(--ivory); padding: var(--space-md);
  border: 1px solid var(--line); border-radius: var(--radius-img);
  display: flex; flex-direction: column; gap: var(--space-sm); height: 100%;
}
.bg-ink .quote-card { background: var(--ink-bg-2); border-color: var(--line-dark); }
.quote-mark {
  font-family: 'Bodoni Moda', serif; font-size: 3.5rem; line-height: .6;
  color: var(--rose); height: 1.6rem;
}
.quote-card blockquote {
  margin: 0; font-family: 'Bodoni Moda', serif; font-size: 1.2rem;
  line-height: 1.5; color: var(--ink); font-style: italic; flex: 1;
}
.bg-ink .quote-card blockquote { color: var(--on-dark); }
.quote-attr {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  padding-top: var(--space-sm); border-top: 1px solid var(--line);
}
.bg-ink .quote-attr { color: var(--on-dark-mut); border-color: var(--line-dark); }

.placeholder-note {
  display: inline-block; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--wine); background: var(--blush); padding: .3rem .6rem;
  border-radius: 999px; margin-bottom: .75rem;
}
.bg-ink .placeholder-note { background: rgba(184,127,138,.2); color: var(--rose); }

/* -------------------------------------------------------------- PRICING -- */
.pkg-grid { display: grid; gap: var(--space-md); }
@media (min-width: 56em) { .pkg-grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }

.pkg-card {
  background: var(--ivory); border: 1px solid var(--line);
  border-radius: var(--radius-img); padding: var(--space-md);
  display: flex; flex-direction: column; gap: var(--space-sm); height: 100%;
  position: relative; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.pkg-card-featured { border-color: var(--wine); box-shadow: var(--shadow-md); }
.pkg-badge {
  position: absolute; top: -.75rem; left: var(--space-md);
  background: var(--wine); color: #fff; font-size: .6rem;
  letter-spacing: .2em; text-transform: uppercase; padding: .35rem .85rem;
  border-radius: 999px;
}
.pkg-name { font-family: 'Bodoni Moda', serif; font-size: 1.5rem; color: var(--ink); }
.pkg-price { display: flex; align-items: baseline; gap: .4rem; }
.pkg-price .amount {
  font-family: 'Bodoni Moda', serif; font-size: 2.75rem; color: var(--wine); line-height: 1;
}
.pkg-price .unit { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pkg-summary { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

.pkg-specs {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem;
  padding-block: var(--space-sm); border-block: 1px solid var(--line);
}
.pkg-spec-label { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: block; }
.pkg-spec-value { font-size: .95rem; color: var(--ink); }

.pkg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; flex: 1; }
.pkg-list li { display: flex; gap: .7rem; font-size: var(--fs-sm); line-height: 1.55; }
.pkg-list svg { flex: none; color: var(--wine); margin-top: .35rem; }

/* Add-ons table */
.addon-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.addon-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-sm);
  padding: var(--space-sm) 0; border-bottom: 1px solid var(--line);
}
.addon-name { font-size: var(--fs-body); color: var(--ink); }
.addon-desc { font-size: var(--fs-sm); color: var(--muted); display: block; }
.addon-price { font-family: 'Bodoni Moda', serif; font-size: 1.25rem; color: var(--wine); white-space: nowrap; }

/* Process / timeline */
.timeline { display: grid; gap: var(--space-md); counter-reset: step; }
@media (min-width: 56em) { .timeline { grid-template-columns: repeat(4, 1fr); } }
.timeline-step { position: relative; padding-top: var(--space-sm); border-top: 1px solid var(--line); }
.bg-ink .timeline-step { border-color: var(--line-dark); }
.timeline-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: 'Bodoni Moda', serif; font-size: .95rem; color: var(--wine);
  letter-spacing: .1em; display: block; margin-bottom: .6rem;
}
.bg-ink .timeline-step::before { color: var(--rose); }
.timeline-step h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.timeline-step p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.bg-ink .timeline-step p { color: var(--on-dark-mut); }

/* ------------------------------------------------------------- ACCORDION -- */
.accordion { border-top: 1px solid var(--line); }
.bg-ink .accordion { border-color: var(--line-dark); }
.acc-item { border-bottom: 1px solid var(--line); }
.bg-ink .acc-item { border-color: var(--line-dark); }
.acc-trigger {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-sm);
  padding: var(--space-sm) 0; min-height: 3.25rem;
  font-family: 'Bodoni Moda', serif; font-size: 1.15rem; color: var(--ink);
  line-height: 1.35; transition: color var(--dur) var(--ease);
}
.bg-ink .acc-trigger { color: var(--on-dark); }
.acc-trigger:hover { color: var(--wine); }
.bg-ink .acc-trigger:hover { color: var(--rose); }
.acc-icon { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .35rem; position: relative; }
.acc-icon::before, .acc-icon::after {
  content: ''; position: absolute; background: currentColor; border-radius: 1px;
  transition: transform 320ms var(--ease), opacity 320ms var(--ease);
}
.acc-icon::before { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-50%); }
.acc-icon::after  { left: 50%; top: 0; height: 100%; width: 1px; transform: translateX(-50%); }
.acc-trigger[aria-expanded="true"] .acc-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.acc-panel { overflow: hidden; height: 0; transition: height 380ms var(--ease); }
.acc-panel-inner { padding-bottom: var(--space-md); max-width: 68ch; color: var(--muted); }
.bg-ink .acc-panel-inner { color: var(--on-dark-mut); }
.acc-panel-inner p:last-child { margin-bottom: 0; }

/* FAQ grouping */
.faq-group + .faq-group { margin-top: var(--space-lg); }
.faq-group-title {
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--wine); margin-bottom: var(--space-sm);
}

/* ----------------------------------------------------------------- FORM -- */
.form-grid { display: grid; gap: var(--space-sm); }
@media (min-width: 48em) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.field { display: flex; flex-direction: column; gap: .55rem; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: var(--fs-micro); letter-spacing: .19em; text-transform: uppercase;
  color: var(--ink-soft);
}
.field .req { color: var(--wine); }
.field input, .field select, .field textarea {
  background: var(--ivory); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: .95rem 1.1rem; min-height: 3.25rem;
  color: var(--ink); font-size: var(--fs-body); font-weight: 300;
  transition: border-color 380ms var(--ease-out), box-shadow 380ms var(--ease-out),
              background 380ms var(--ease-out);
  width: 100%;
}
.field textarea { min-height: 8rem; resize: vertical; line-height: 1.6; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B5A54' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--wine); background: #fff;
  box-shadow: 0 0 0 3px rgba(110,16,48,.10);
}
.field-hint { font-size: .78rem; color: var(--muted); letter-spacing: 0; text-transform: none; }
.field-error {
  font-size: .78rem; color: var(--wine); letter-spacing: 0; text-transform: none;
  display: none; align-items: center; gap: .35rem;
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--wine); }
.field.has-error .field-error { display: flex; }

.form-note { font-size: var(--fs-sm); color: var(--muted); }
.form-status {
  padding: var(--space-sm) var(--space-md); border-radius: var(--radius-img);
  background: var(--blush); border: 1px solid var(--rose); color: var(--wine-dark);
  display: none; margin-bottom: var(--space-md);
}
.form-status.is-visible { display: block; }
/* Error state reuses the same block, re-tinted — one component, two meanings. */
.form-status.is-error { background: #FDF3F1; border-color: #D9A9A0; color: #8A2E20; }

/* Honeypot: hidden from people, still reachable and fillable by bots. Must not
   use display:none — some bots skip those. Kept out of the tab order and out of
   the accessibility tree so it never reaches a screen reader. */
.hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0; pointer-events: none;
}

/* Submit button while the request is in flight */
.btn[aria-busy="true"] { opacity: .72; pointer-events: none; }

/* Contact detail list */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-md); }
.contact-item { display: flex; gap: var(--space-sm); align-items: flex-start; }
.contact-item svg { flex: none; color: var(--wine); margin-top: .3rem; }
.bg-ink .contact-item svg { color: var(--rose); }
.contact-label { font-size: .65rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: .2rem; }
.bg-ink .contact-label { color: var(--on-dark-mut); }
.contact-value { color: var(--ink); text-decoration: none; font-size: 1.0625rem; }
.bg-ink .contact-value { color: var(--on-dark); }
.contact-value:hover { color: var(--wine); }
.bg-ink .contact-value:hover { color: var(--rose); }

/* ----------------------------------------------------------------- CTA -- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(22,16,15,.78), rgba(22,16,15,.86));
}
.cta-band h2 { color: var(--on-dark); margin-bottom: var(--space-sm); }
.cta-band .lede { color: var(--on-dark-mut); margin-inline: auto; margin-bottom: var(--space-md); }
.cta-band .eyebrow { color: var(--rose); }

/* --------------------------------------------------------------- FOOTER -- */
.site-footer { background: var(--ink-bg); color: var(--on-dark-mut); padding-block: var(--space-xl) var(--space-md); }
.footer-grid { display: grid; gap: var(--space-lg); }
@media (min-width: 56em) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-md); } }
.footer-brand-mark { width: 3.25rem; filter: invert(1) brightness(2.2); margin-bottom: var(--space-sm); }
.footer-title {
  font-size: .68rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--on-dark); margin-bottom: var(--space-sm);
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-list a, .footer-link {
  color: var(--on-dark-mut); text-decoration: none; font-size: .95rem;
  transition: color var(--dur) var(--ease);
}
.footer-list a:hover, .footer-link:hover { color: var(--on-dark); }
.social-row { display: flex; gap: .6rem; margin-top: var(--space-sm); }
/* Social buttons appear on both light surfaces (the contact card) and dark ones
   (the footer). Defaults below target a light surface; dark contexts re-point the
   four locals. Previously these were hardcoded to the dark palette, which left
   them at 2.1:1 — effectively invisible — on the contact card. */
/* Event + date beneath a testimonial attribution. Deliberately quieter than the
   name — it is corroborating detail, not the voice. */
/* Team portraits. Until real portraits exist a monogram stands in — never a
   client's photograph, which would misrepresent whose face it is. */
.team-media {
  aspect-ratio: 4/5; overflow: hidden; border-radius: 3px;
  background: var(--sand); display: grid; place-items: center;
  /* minmax(0,1fr), not 1fr: a bare 1fr track has an automatic minimum of the
     content's own size, so a tall portrait pushes the row past the 4:5 card.
     Zeroing the minimum lets the track stay at the card height and the image
     fill it via object-fit. */
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
}
/* The two portraits were shot years and styles apart — one mono studio headshot,
   one colour outdoor frame. Desaturating both makes them read as one team; colour
   returns on hover so the photograph is still the reward. */
.team-media img {
  /* place-items:center on the parent (for the monogram) would otherwise stop the
     image stretching, leaving it at natural ratio instead of filling the card. */
  grid-area: 1 / 1; align-self: stretch; justify-self: stretch;
  width: 100%; height: 100%; object-fit: cover;
  /* Full-length frames put the face high; hold the crop near the top. */
  object-position: center 18%;
  filter: grayscale(1) contrast(1.04);
  transition: filter 900ms var(--ease-out), transform 900ms var(--ease-out);
}
article:hover .team-media img { filter: grayscale(0) contrast(1); transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) {
  .team-media img { transition: none; }
  article:hover .team-media img { transform: none; }
}
.team-monogram {
  font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.5rem);
  color: var(--ink); opacity: .17; letter-spacing: .04em; user-select: none;
}
.team-grid { max-width: 60rem; margin-inline: auto; }
.quote-meta {
  margin-top: .3rem; font-size: .78rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); opacity: .85;
}
.social-btn {
  --social-fg: var(--muted);
  --social-line: var(--line-strong);
  --social-hover-bg: var(--ink);
  --social-hover-fg: var(--on-dark);
  width: 2.75rem; height: 2.75rem; border: 1px solid var(--social-line); border-radius: 50%;
  display: grid; place-items: center; color: var(--social-fg);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.social-btn:hover {
  background: var(--social-hover-bg); color: var(--social-hover-fg);
  border-color: var(--social-hover-bg);
}
.site-footer .social-btn,
.bg-ink .social-btn,
.hero-image .social-btn {
  --social-fg: var(--on-dark-mut);
  --social-line: var(--line-dark);
  --social-hover-bg: var(--on-dark);
  --social-hover-fg: var(--ink);
}
.footer-bottom {
  margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: space-between;
  font-size: .8rem;
}

/* -------------------------------------------------------------- REVEALS -- */
/* Shorter travel, longer settle — reads as a camera easing to rest rather
   than a panel sliding in. Delays are tight so a group arrives as one. */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 1100ms var(--ease-out), transform 1100ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 75ms; }
.reveal-d2 { transition-delay: 150ms; }
.reveal-d3 { transition-delay: 225ms; }
.reveal-d4 { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .mobile-nav a { opacity: 1; transform: none; }
  .hero-strip figure { transform: none !important; }
}

/* --------------------------------------------------------------- UTILS -- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-md { margin-bottom: var(--space-md); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.bg-ink .rule { background: var(--line-dark); }


/* ------------------------------------------------- IMAGE LOAD TRANSITION -- */
/* Photographs resolve rather than snap in. The sand ground behind them means
   the space is already reserved, so nothing shifts as they arrive. */
img[data-fade] { opacity: 0; transition: opacity 850ms var(--ease-out); }
img[data-fade].is-loaded { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  img[data-fade] { opacity: 1; transition: none; }
}

/* ------------------------------------------------------- MOBILE POLISH -- */
/* Tracked small-caps hold up at sizes lowercase never would, but below ~11px
   on a handset they stop being legible. The floor below applies wherever the
   compact nav is active (< 62em); the desktop setting is untouched. */
@media (max-width: 61.99em) {
  :root {
    --fs-micro:      .705rem;
    --fs-eyebrow:    .715rem;
    --track-eyebrow: .2em;
  }
  .brand-tag        { font-size: .66rem; letter-spacing: .19em; }
  .footer-title     { font-size: .76rem; }
  .placeholder-note { font-size: .655rem; letter-spacing: .13em; }
  .cat-card-meta    { letter-spacing: .16em; }
  .stat-label       { font-size: .72rem; letter-spacing: .16em; }
  .contact-label    { font-size: .7rem;  letter-spacing: .18em; }
  .field label      { font-size: .7rem;  letter-spacing: .16em; }
}

/* Phones only: a stacked button row reads better full-width than ragged. */
@media (max-width: 39.99em) {
  .btn-row > .btn { flex: 1 1 100%; }
  .btn            { letter-spacing: .13em; }
}
