/*
 * Snaps by SS Photography: main stylesheet (2026 refresh)
 * --------------------------------------------------------------
 * Plain CSS, no build step. In WordPress this file is the theme's
 * main stylesheet (enqueued from functions.php); wp.css layers the
 * WordPress-specific pieces on top.
 *
 * Layout idea: a bridal-magazine spread. Oversized slim-serif headlines,
 * recent portraiture shown large, hairline rules, and sindoor crimson
 * kept for italics, calls to action and the few marks that mean something.
 *
 * Contents
 *   1. Design tokens
 *   2. Reset & base
 *   3. Typography
 *   4. Layout helpers
 *   5. Buttons & links
 *   6. Header & navigation
 *   7. Page heroes (interior)
 *   8. Home page
 *   9. Shared components (cards, posts, quotes, steps, CTA band)
 *  10. Gallery grid & lightbox
 *  11. Packages
 *  12. Contact & forms
 *  13. Footer
 *  14. Motion & reduced motion
 */

/* 1. Design tokens ============================================ */
:root {
  color-scheme: light;

  /* Colour */
  --paper: #f5f3f0;          /* porcelain page */
  --paper-raised: #ffffff;
  --stone: #ebe6e2;          /* tinted bands */
  --ink: #1a1517;            /* 16.3:1 on paper */
  --muted: #5f5659;          /* 6.4:1 on paper */
  --line: #ddd5d1;
  --accent: #a3122a;         /* sindoor crimson, 7.1:1 on paper */
  --accent-deep: #7e0c1f;
  --accent-wash: #f6e3e5;
  --night: #1c1214;          /* oxblood black */
  --night-2: #261a1c;
  --on-night: #f4ece8;       /* 15.7:1 on night */
  --on-night-muted: #c2b2b0; /* 9:1 on night */
  --accent-on-night: #f2909c;/* 8:1 on night */
  --line-on-night: rgb(244 236 232 / 0.16);

  /* Legacy names, kept so older templates keep working */
  --color-bg: var(--paper);
  --color-surface: var(--stone);
  --color-surface-2: var(--paper-raised);
  --color-text: var(--ink);
  --color-muted: var(--muted);
  --color-line: var(--line);
  --color-accent: var(--accent);
  --color-accent-hover: var(--accent-deep);
  --color-accent-soft: var(--accent-wash);
  --color-dark: var(--night);
  --color-on-dark: var(--on-night);
  --color-on-dark-muted: var(--on-night-muted);
  --color-focus: var(--accent);

  /* Type */
  --font-display: "Instrument Serif", "Iowan Old Style", "Times New Roman", Georgia, serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --fs-label: 0.75rem;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.03rem + 0.4vw, 1.3125rem);
  --fs-h4: clamp(1.375rem, 1.25rem + 0.5vw, 1.75rem);
  --fs-h3: clamp(1.75rem, 1.45rem + 1.1vw, 2.5rem);
  --fs-h2: clamp(2.625rem, 1.75rem + 3.6vw, 5rem);
  --fs-h1: clamp(3.25rem, 1.8rem + 5.8vw, 7.25rem);
  --fs-display: clamp(3.5rem, 1.2rem + 7vw, 8.5rem);
  --lh-tight: 0.98;
  --lh-snug: 1.25;
  --lh-body: 1.65;
  --tracking-label: 0.16em;
  --tracking-caps: var(--tracking-label);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: clamp(4.5rem, 3rem + 6vw, 9rem);
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);

  /* Layout */
  --container: 84rem;
  --container-narrow: 44rem;
  --header-h: 4.75rem;
  --radius: 0;
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgb(28 18 20 / 0.06), 0 12px 32px rgb(28 18 20 / 0.1);
  --shadow-lift: 0 40px 70px -40px rgb(28 18 20 / 0.55);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.8s;
}

/* 2. Reset & base ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--space-4));
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: var(--lh-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  background-color: var(--stone); /* placeholder tone while loading */
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--accent-deep);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-footer :focus-visible,
.lightbox :focus-visible,
.section--dark :focus-visible,
.bento :focus-visible,
.cta-band :focus-visible {
  outline-color: var(--on-night);
}

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

.screen-reader-text,
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 1000;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  color: var(--paper);
}

/* 3. Typography =============================================== */
h1,
h2,
h3,
h4 {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: var(--lh-tight);
  letter-spacing: -0.012em;
  color: inherit;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.05; letter-spacing: -0.005em; }
h4 { font-size: var(--fs-h4); line-height: var(--lh-snug); letter-spacing: 0; }

h1 em,
h2 em,
h3 em {
  font-style: italic;
  color: var(--accent);
}

.section--dark h2 em,
.cta-band h2 em {
  color: var(--accent-on-night);
}

p {
  margin: 0 0 var(--space-4);
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 var(--space-5);
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink);
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 1.75rem;
  height: 1px;
  background: var(--accent);
}

.lead {
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--muted);
  max-width: 38rem;
}

.prose {
  font-size: 1.125rem;
}

.prose > * + h2,
.prose > * + h3 {
  margin-top: var(--space-7);
}

.prose h2 {
  font-size: clamp(2.125rem, 1.6rem + 2vw, 3.25rem);
  line-height: 1.02;
}

.prose h3 {
  font-size: var(--fs-h4);
}

.prose ul {
  padding-left: 1.2em;
}

.prose li + li {
  margin-top: var(--space-2);
}

.prose li::marker {
  color: var(--accent);
}

/* 4. Layout helpers =========================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: calc(var(--container-narrow) + 2 * var(--gutter));
}

.section {
  padding-block: var(--space-9);
}

.section--tint {
  background: var(--stone);
}

.section--dark {
  background: var(--night);
  color: var(--on-night);
}

.section--dark .eyebrow {
  color: var(--on-night);
}

.section--dark .eyebrow::before {
  background: var(--accent-on-night);
}

.section--dark .lead {
  color: var(--on-night-muted);
}

.section--dark a:not(.btn) {
  color: var(--on-night);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.25rem, 1.5rem + 3vw, 4rem);
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head .lead {
  margin: var(--space-5) 0 0;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow::after {
  content: "";
  flex: none;
  width: 1.75rem;
  height: 1px;
  background: var(--accent);
}

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5) var(--space-8);
  max-width: none;
}

.section-head--split > :first-child {
  max-width: 46rem;
}

.section-head--split > .lead {
  max-width: 27rem;
  margin: 0;
}

.section-foot {
  margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  text-align: center;
}

.split {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

@media (min-width: 56rem) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .split--reverse > :first-child {
    order: 2;
  }
}

/* 5. Buttons & links ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.25rem;
  padding: 0.5rem 1.6rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.btn:not(.btn--ghost):not(.btn--outline-light)::after {
  content: "\2192";
  transition: transform 0.3s var(--ease);
}

.btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn:hover::after {
  transform: translateX(3px);
}

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

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

.btn--light {
  background: var(--on-night);
  border-color: var(--on-night);
  color: var(--night);
}

.btn--light:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn--outline-light {
  background: transparent;
  border-color: rgb(244 236 232 / 0.55);
  color: var(--on-night);
}

.btn--outline-light:hover {
  background: var(--on-night);
  border-color: var(--on-night);
  color: var(--night);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding-block: 0.25rem;
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.4em;
}

.link-arrow::after {
  content: "\2192";
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover {
  color: var(--accent);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* 6. Header & navigation ====================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(245 243 240 / 0.86);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.site-header.is-scrolled,
.no-js .site-header,
.site-header.is-open {
  background: rgb(245 243 240 / 0.96);
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  flex: none;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
}

.brand__name em {
  font-weight: 400;
  color: var(--accent);
}

.brand__logo {
  display: block;
  width: auto;
  height: 2.6rem;
  max-width: 100%;
  background: none;
}

@media (max-width: 30rem) {
  .brand__logo {
    height: 2.2rem;
  }
}

.brand__tag {
  margin-top: 0.35rem;
  padding-left: var(--tracking-label);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-align: center;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 2.75rem;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  font: 600 var(--fs-xs) / 1 var(--font-body);
  letter-spacing: 0.04em;
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-5px) rotate(-45deg);
}

.primary-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.primary-nav a:hover {
  color: var(--accent);
}

/* Active state. aria-current is set by main.js; WordPress adds
   .current-menu-item. The data-page rules work without JavaScript. */
.primary-nav a[aria-current="page"],
.primary-nav .current-menu-item > a,
body[data-page="home"] .primary-nav [data-nav="home"],
body[data-page="gallery"] .primary-nav [data-nav="gallery"],
body[data-page="weddings"] .primary-nav [data-nav="weddings"],
body[data-page="ceremonies"] .primary-nav [data-nav="ceremonies"],
body[data-page="parties"] .primary-nav [data-nav="parties"],
body[data-page="blog"] .primary-nav [data-nav="blog"],
body[data-page="contact"] .primary-nav [data-nav="contact"] {
  color: var(--accent);
}

/* Mobile menu (default): a full-height sheet under the header */
.js .primary-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.js .site-header.is-open .primary-nav {
  display: block;
}

.primary-nav__list {
  padding: var(--space-4) var(--gutter) var(--space-7);
}

.primary-nav__list a {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 1.4rem + 3.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.primary-nav__list > li:last-child > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  margin-top: var(--space-6);
  padding: 0.5rem 1.5rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.primary-nav__list > li:last-child > a::after {
  content: "\2192";
}

html.has-menu {
  overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  .js .site-header.is-open .primary-nav__list > li {
    animation: menu-in 0.5s var(--ease) both;
  }

  .js .site-header.is-open .primary-nav__list > li:nth-child(2) { animation-delay: 0.03s; }
  .js .site-header.is-open .primary-nav__list > li:nth-child(3) { animation-delay: 0.06s; }
  .js .site-header.is-open .primary-nav__list > li:nth-child(4) { animation-delay: 0.09s; }
  .js .site-header.is-open .primary-nav__list > li:nth-child(5) { animation-delay: 0.12s; }
  .js .site-header.is-open .primary-nav__list > li:nth-child(6) { animation-delay: 0.15s; }
  .js .site-header.is-open .primary-nav__list > li:nth-child(7) { animation-delay: 0.18s; }
  .js .site-header.is-open .primary-nav__list > li:nth-child(8) { animation-delay: 0.21s; }
}

@keyframes menu-in {
  from { transform: translateY(0.6rem); }
}

/* No-JS fallback: show the nav below the brand, hide the toggle */
.no-js .nav-toggle {
  display: none;
}

.no-js .site-header__inner {
  flex-wrap: wrap;
  padding-block: var(--space-3);
}

.no-js .primary-nav {
  width: 100%;
}

.no-js .primary-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  padding: 0;
}

.no-js .primary-nav__list a {
  border: 0;
  padding: var(--space-1) 0;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
}

.no-js .primary-nav__list > li:last-child > a {
  margin-top: 0;
  min-height: 0;
}

/* Desktop navigation */
@media (min-width: 64rem) {
  .nav-toggle,
  .js .nav-toggle {
    display: none;
  }

  html.has-menu {
    overflow: visible;
  }

  .js .primary-nav,
  .no-js .primary-nav {
    position: static;
    display: block;
    width: auto;
    height: auto;
    overflow: visible;
    background: none;
    border: 0;
  }

  .primary-nav__list,
  .no-js .primary-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 0.2rem + 1.6vw, 2.1rem);
    padding: 0;
  }

  .primary-nav__list a,
  .no-js .primary-nav__list a {
    position: relative;
    padding: 0.4rem 0;
    border: 0;
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 500;
    letter-spacing: 0;
    animation: none;
  }

  .primary-nav__list > li:not(:last-child) > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.1rem;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s var(--ease);
  }

  .primary-nav__list > li:not(:last-child) > a:hover::after,
  .primary-nav__list > li:not(:last-child) > a[aria-current="page"]::after,
  .primary-nav__list > .current-menu-item:not(:last-child) > a::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .primary-nav__list > li:last-child > a,
  .no-js .primary-nav__list > li:last-child > a {
    min-height: 2.6rem;
    margin: 0 0 0 0.4rem;
    padding: 0.35rem 1.15rem;
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    font-size: var(--fs-xs);
    transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  }

  .primary-nav__list > li:last-child > a:hover,
  .primary-nav__list > li:last-child > a[aria-current="page"],
  .primary-nav__list > li.current-menu-item:last-child > a {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
  }

  .no-js .site-header__inner {
    flex-wrap: nowrap;
  }
}

/* 7. Page heroes (interior) =================================== */
.page-hero {
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) var(--space-9);
}

.page-hero h1 {
  margin-bottom: var(--space-5);
}

.page-hero .lead {
  margin-bottom: var(--space-6);
}

.page-hero__grid {
  display: grid;
  gap: var(--space-7);
  align-items: end;
}

.page-hero__media {
  position: relative;
}

.page-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (min-width: 56rem) {
  .page-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(3rem, 6vw, 7rem);
  }

  .page-hero__grid > :first-child {
    padding-bottom: var(--space-3);
  }
}

/* Simple hero: title left, lead right, hairline beneath */
.page-hero--simple {
  padding-bottom: clamp(2.5rem, 2rem + 2.5vw, 4.5rem);
}

.page-hero--simple .container {
  display: grid;
  gap: 0 var(--space-8);
}

.page-hero--simple .container::after {
  content: "";
  grid-column: 1 / -1;
  height: 1px;
  margin-top: clamp(1.75rem, 1.2rem + 2vw, 3rem);
  background: var(--line);
}

.page-hero--simple h1 {
  margin-bottom: 0;
}

.page-hero--simple .lead {
  margin: var(--space-5) 0 0;
}

@media (min-width: 56rem) {
  .page-hero--simple .container {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: end;
  }

  .page-hero--simple .eyebrow {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .page-hero--simple .lead {
    margin: 0;
    padding-bottom: 0.6rem;
  }
}

/* Single posts: long titles get a calmer size */
.single .page-hero h1 {
  max-width: 20ch;
  font-size: clamp(2.875rem, 1.7rem + 4.8vw, 6.25rem);
}

.single .page-hero .eyebrow {
  color: var(--muted);
}

/* 8. Home page ================================================ */

/* 8a. Hero: headline beside a portrait with a detail inset */
.intro-hero {
  padding-block: clamp(1.5rem, 1rem + 2.5vw, 3.5rem) clamp(3rem, 2rem + 4vw, 6rem);
  overflow: hidden;
}

.intro-hero__grid {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 4rem);
}

.intro-hero__title {
  margin: 0 0 var(--space-6);
}

.intro-hero__kicker {
  display: block;
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--muted);
}

.intro-hero__display {
  display: block;
  font-size: var(--fs-display);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.intro-hero__display em {
  font-style: italic;
  color: var(--accent);
}

.intro-hero .lead {
  margin-bottom: var(--space-6);
  max-width: 34rem;
}

.intro-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  margin: var(--space-7) 0 0;
  padding: var(--space-5) 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: var(--fs-xs);
  color: var(--muted);
}

.intro-hero__facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--ink);
}

.intro-hero__media {
  position: relative;
  margin: 0;
}

.intro-hero__frame {
  overflow: hidden;
  background: var(--stone);
}

.intro-hero__frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 54% 30%;
}

.intro-hero__inset {
  position: absolute;
  left: 0.75rem;
  bottom: 3.25rem;
  width: 34%;
  border: 5px solid var(--paper);
  box-shadow: var(--shadow-lift);
}

.intro-hero__inset img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 60% 30%;
}

.intro-hero__media figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
  margin-top: var(--space-3);
  font-size: var(--fs-xs);
  color: var(--muted);
}

.intro-hero__media figcaption a {
  color: var(--ink);
  font-weight: 600;
}

@media (min-width: 60rem) {
  .intro-hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: end;
    gap: clamp(2.5rem, 5vw, 6rem);
  }

  .intro-hero__text {
    padding-bottom: var(--space-7);
  }

  .intro-hero__inset {
    left: -16%;
    bottom: 12%;
    width: 38%;
    border-width: 6px;
  }
}

/* 8b. Occasions ticker */
.occasions {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: clamp(0.9rem, 0.6rem + 1.2vw, 1.6rem);
}

.occasions__track {
  display: flex;
  width: max-content;
}

.occasions__list {
  display: flex;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.occasions__list li {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.2rem + 3.2vw, 4.25rem);
  font-style: italic;
  line-height: 1.15;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.occasions__list li::after {
  content: "";
  flex: none;
  width: 0.22em;
  height: 0.22em;
  margin-inline: 0.65em;
  background: var(--accent);
  transform: rotate(45deg);
}

@media (prefers-reduced-motion: no-preference) {
  .occasions__track {
    animation: ticker 55s linear infinite;
  }

  .occasions:hover .occasions__track,
  .occasions:focus-within .occasions__track {
    animation-play-state: paused;
  }
}

@media (prefers-reduced-motion: reduce) {
  .occasions__track,
  .occasions__list {
    flex-wrap: wrap;
    width: auto;
  }

  .occasions__track {
    padding-inline: var(--gutter);
  }

  .occasions__list[aria-hidden="true"] {
    display: none;
  }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* 8c. Statement: welcome copy beside a portrait */
.statement__grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

.statement__media {
  margin: 0;
}

.statement__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 70%;
}

.statement__media figcaption {
  margin-top: var(--space-3);
  font-size: var(--fs-xs);
  color: var(--muted);
}

.statement__media figcaption a {
  color: var(--ink);
  font-weight: 600;
}

.statement__lede {
  margin: var(--space-6) 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.3rem + 1.7vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 30ch;
}

.statement__body > p:not([class]) {
  max-width: 36rem;
  color: var(--muted);
}

@media (min-width: 56rem) {
  .statement__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(3rem, 7vw, 8rem);
  }
}

/* 8d. Reasons list: heading left, rows right */
.reasons {
  display: grid;
  gap: var(--space-6) var(--space-8);
}

.reasons__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.reasons__list li {
  display: grid;
  gap: var(--space-2) var(--space-6);
  padding-block: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}

.reasons__list h3 {
  margin: 0;
  font-size: var(--fs-h3);
}

.reasons__list p {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 48rem) {
  .reasons__list li {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    align-items: baseline;
  }
}

@media (min-width: 64rem) {
  .reasons {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    align-items: start;
  }

  .reasons .section-head {
    position: sticky;
    top: calc(var(--header-h) + var(--space-6));
  }
}

/* 8e. Services bento */
.bento {
  display: grid;
  gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.bento__item {
  position: relative;
  min-height: 20rem;
  overflow: hidden;
  isolation: isolate;
  background: var(--night);
  color: var(--on-night);
}

.bento__item--lg {
  min-height: 30rem;
}

.bento__item img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.bento__item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(28 18 20 / 0) 30%, rgb(28 18 20 / 0.55) 62%, rgb(28 18 20 / 0.9) 100%);
}

.bento__text {
  position: absolute;
  left: clamp(1.25rem, 1rem + 1.2vw, 2.25rem);
  right: clamp(1.25rem, 1rem + 1.2vw, 2.25rem);
  bottom: clamp(1.25rem, 1rem + 1.2vw, 2.25rem);
}

.bento h3 {
  margin: 0 0 var(--space-2);
  font-size: clamp(2.75rem, 1.9rem + 3.2vw, 4.75rem);
  line-height: 1;
}

.bento h3 a {
  color: inherit;
  text-decoration: none;
}

.bento h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.bento p {
  max-width: 30ch;
  margin: 0;
  color: rgb(244 236 232 / 0.88);
}

.bento__go {
  position: absolute;
  top: clamp(1rem, 0.8rem + 1vw, 1.75rem);
  right: clamp(1rem, 0.8rem + 1vw, 1.75rem);
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgb(244 236 232 / 0.6);
  border-radius: 50%;
  background: rgb(28 18 20 / 0.25);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 1.15rem;
  transform: rotate(-45deg);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.bento__item:hover img,
.bento__item:focus-within img {
  transform: scale(1.05);
}

.bento__item:hover .bento__go,
.bento__item:focus-within .bento__go {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(0);
}

@media (min-width: 48rem) {
  .bento {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    grid-template-rows: repeat(2, clamp(17rem, 12rem + 12vw, 25rem));
  }

  .bento__item,
  .bento__item--lg {
    min-height: 0;
  }

  .bento__item--lg {
    grid-row: span 2;
  }
}

/* 8f. Portfolio mosaic (opens in the lightbox) */
.mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: clamp(9rem, 38vw, 15rem);
  grid-auto-flow: dense;
  gap: clamp(0.5rem, 0.3rem + 0.8vw, 1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.mosaic > li {
  min-width: 0;
}

.mosaic__item--tall {
  grid-row: span 2;
}

.mosaic__item--wide {
  grid-column: span 2;
}

.mosaic .gallery__link {
  height: 100%;
}

.mosaic .gallery__link img {
  height: 100%;
  aspect-ratio: auto;
}

@media (min-width: 48rem) {
  .mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: clamp(12rem, 6rem + 13vw, 21rem);
  }
}

/* 8g. Recent stories */
.stories {
  display: grid;
  gap: var(--space-7) var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.story {
  position: relative;
}

.story__media {
  overflow: hidden;
  margin-bottom: var(--space-5);
}

.story__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.story:hover .story__media img,
.story:focus-within .story__media img {
  transform: scale(1.04);
}

.story__meta {
  margin: 0 0 var(--space-2);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--accent);
}

.story h3 {
  margin: 0 0 var(--space-3);
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.375rem);
}

.story h3 a {
  color: var(--ink);
  text-decoration: none;
}

.story h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.story h3 a:hover {
  color: var(--accent);
}

.story p {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 48rem) {
  .stories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stories > li:nth-child(2) {
    margin-top: var(--space-8);
  }
}

/* 9. Shared components ======================================== */

/* Media frame (older two-up layouts) */
.media-frame {
  position: relative;
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Service cards */
.cards {
  display: grid;
  gap: var(--space-7) var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 48rem) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.card__media {
  overflow: hidden;
  margin-bottom: var(--space-5);
}

.card__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.card:hover .card__media img,
.card:focus-within .card__media img {
  transform: scale(1.04);
}

.card h3 {
  margin-bottom: var(--space-2);
}

.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card p {
  color: var(--muted);
}

.card .link-arrow {
  margin-top: auto;
}

/* Blog cards */
.posts {
  display: grid;
  gap: var(--space-8) var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 48rem) {
  .posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .posts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Lead story: image beside text across the full width */
  .posts > li:first-child {
    grid-column: 1 / -1;
  }

  .posts > li:first-child .post-card {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    grid-auto-rows: min-content;
    align-content: center;
    column-gap: clamp(2.5rem, 5vw, 5rem);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--line);
  }

  .posts > li:first-child .post-card > * {
    grid-column: 2;
  }

  .posts > li:first-child .post-card__media {
    grid-column: 1;
    grid-row: 1 / span 5;
  }

  .posts > li:first-child .post-card__media img {
    margin-bottom: 0;
    aspect-ratio: 16 / 11;
  }

  .posts > li:first-child .post-card h2 {
    font-size: clamp(2.625rem, 1.6rem + 2.6vw, 4.25rem);
  }

  .posts > li:first-child .post-card .post-card__meta {
    align-self: end;
  }
}

.post-card {
  position: relative;
}

.post-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: var(--space-5);
}

.post-card__meta {
  margin-bottom: var(--space-2);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--accent);
}

.post-card h2 {
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.375rem);
  line-height: 1.05;
  margin-bottom: var(--space-3);
}

.post-card p {
  color: var(--muted);
}

/* Feature list (ticks) */
.ticks {
  margin: 0 0 var(--space-5);
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding-left: 1.75rem;
}

.ticks li + li {
  margin-top: var(--space-3);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 0.9rem;
  height: 1px;
  background: var(--accent);
}

/* Testimonials */
.quotes {
  display: grid;
  gap: var(--space-7);
}

@media (min-width: 56rem) {
  .quotes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .quotes > .quote + .quote {
    padding-left: clamp(2.5rem, 5vw, 5rem);
    border-left: 1px solid var(--line);
  }

  .quotes > .quote:first-child {
    padding-right: clamp(2.5rem, 5vw, 5rem);
  }
}

.quote {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.quote blockquote {
  margin: 0 0 var(--space-6);
}

.quote blockquote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.25rem);
  font-style: italic;
  line-height: 1.25;
  letter-spacing: 0;
}

.quote blockquote p::before {
  content: "\201C";
  display: block;
  height: 0.62em;
  margin-bottom: var(--space-3);
  font-size: 4.5em;
  font-style: normal;
  line-height: 1;
  color: var(--accent);
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.quote figcaption::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--accent);
}

/* Steps */
.steps {
  display: grid;
  gap: var(--space-7) var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

@media (min-width: 48rem) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.step {
  position: relative;
  padding-top: var(--space-5);
  border-top: 1px solid var(--ink);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: var(--space-5);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 2.5rem + 3.6vw, 6.5rem);
  font-style: italic;
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.step h3 {
  margin-bottom: var(--space-3);
}

.step p {
  margin: 0;
  color: var(--muted);
}

/* Call-to-action band */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cta-band .container {
  display: grid;
  gap: 0 var(--space-8);
}

.cta-band h2 {
  max-width: 16ch;
  margin-bottom: var(--space-6);
  font-size: clamp(2.875rem, 1.8rem + 4.6vw, 6.5rem);
  line-height: 0.95;
}

.cta-band .btn-row {
  margin-bottom: var(--space-5);
}

.cta-band__social {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--on-night-muted);
}

.cta-band__social a {
  color: var(--on-night);
  font-weight: 600;
}

@media (min-width: 60rem) {
  .cta-band .container {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: end;
  }

  .cta-band .eyebrow {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .cta-band h2 {
    grid-column: 1;
    grid-row: 2 / span 2;
    margin-bottom: 0;
  }

  .cta-band .btn-row {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    justify-content: flex-start;
  }

  .cta-band__social {
    grid-column: 2;
    grid-row: 3;
  }
}

/* Image-backed variant (home) */
.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  background: var(--night);
}

.cta-band--image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(28 18 20 / 0.92) 0%, rgb(28 18 20 / 0.7) 55%, rgb(28 18 20 / 0.5) 100%);
}

.cta-band--image {
  padding-block: clamp(6rem, 4rem + 8vw, 12rem);
}

/* Placeholder notice (static prototype only) */
.placeholder-note {
  margin: 0 0 var(--space-6);
  padding: var(--space-3) var(--space-4);
  border-left: 3px solid var(--accent);
  background: var(--accent-wash);
  font-size: var(--fs-sm);
  color: var(--ink);
}

/* 10. Gallery grid & lightbox ================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: clamp(0.5rem, 0.3rem + 0.8vw, 1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery__link {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--stone);
  cursor: zoom-in;
}

.gallery__link img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
}

.gallery__link::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%231a1517' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 1.1rem no-repeat,
    rgb(245 243 240 / 0.92);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.gallery__link:hover img,
.gallery__link:focus-visible img {
  transform: scale(1.05);
}

.gallery__link:hover::after,
.gallery__link:focus-visible::after {
  opacity: 1;
  transform: none;
}

.gallery__link:focus-visible {
  outline-offset: 2px;
}

/* Lightbox: built by main.js using a native <dialog> */
.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(20 12 14 / 0.97);
  color: var(--on-night);
}

.lightbox::backdrop {
  background: rgb(20 12 14 / 0.97);
}

.lightbox[open] {
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
}

.lightbox__figure {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 4rem var(--space-4) 0;
  min-height: 0;
}

.lightbox__img {
  max-width: min(100%, 80rem);
  max-height: calc(100vh - 9rem);
  max-height: calc(100dvh - 9rem);
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.lightbox__caption {
  padding: var(--space-4) var(--space-4) var(--space-5);
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--on-night-muted);
}

.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgb(244 236 232 / 0.35);
  border-radius: 50%;
  background: rgb(20 12 14 / 0.5);
  color: var(--on-night);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.lightbox__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.lightbox__btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.lightbox__close {
  top: var(--space-4);
  right: var(--space-4);
}

.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__prev { left: var(--space-3); }
.lightbox__next { right: var(--space-3); }

@media (max-width: 40rem) {
  .lightbox__prev,
  .lightbox__next {
    top: auto;
    bottom: var(--space-3);
    transform: none;
  }
}

html.has-lightbox {
  overflow: hidden;
}

/* 11. Packages ================================================ */

/* Tier cards (home) */
.tiers-scroll {
  margin-inline: calc(-1 * var(--gutter));
  padding: 0 var(--gutter) var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--line-on-night) transparent;
}

.tiers {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(15rem, 1fr);
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-6) var(--space-5) var(--space-5);
  border: 1px solid var(--line-on-night);
  background: var(--night-2);
  scroll-snap-align: start;
}

.tier__name {
  margin: 0;
  font-size: clamp(2.25rem, 1.9rem + 1vw, 2.875rem);
  line-height: 0.95;
}

.tier__sum {
  min-height: 3em;
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--on-night-muted);
}

.tier__meter {
  display: flex;
  gap: 4px;
}

.tier__meter span {
  flex: 1;
  height: 3px;
  background: var(--line-on-night);
}

.tier__meter span.is-on {
  background: var(--accent-on-night);
}

.tier__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
}

.tier__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: 0.7rem;
  border-top: 1px solid var(--line-on-night);
}

.tier__list li::after {
  flex: none;
  width: 1.5rem;
  text-align: center;
}

.tier__list .is-in::after {
  content: "\2713";
  color: var(--accent-on-night);
  font-weight: 600;
}

.tier__list .is-out {
  color: var(--on-night-muted);
}

.tier__list .is-out::after {
  content: "\2013";
  color: var(--on-night-muted);
}

.tier--full {
  border-color: var(--accent-on-night);
}

.tier__badge {
  position: absolute;
  top: -0.7rem;
  left: var(--space-5);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--accent-on-night);
  color: var(--night);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tiers-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4) var(--space-6);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line-on-night);
}

.tiers-note p {
  margin: 0;
  color: var(--on-night-muted);
}

@media (min-width: 75rem) {
  .tiers-scroll {
    margin-inline: 0;
    padding: var(--space-3) 0 0;
    overflow: visible;
  }

  .tiers {
    grid-auto-flow: row;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Table version (kept for templates that still output it) */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  background: var(--paper-raised);
}

.packages {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.packages caption {
  padding: var(--space-3) var(--space-4);
  caption-side: bottom;
  text-align: left;
  font-size: var(--fs-xs);
  color: var(--muted);
}

.packages th,
.packages td {
  padding: var(--space-4);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.packages thead th {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
}

.packages tbody th {
  text-align: left;
  font-weight: 500;
}

.tick,
.cross {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
}

.tick {
  background: var(--accent-wash);
  color: var(--accent);
}

.tick svg {
  width: 0.95rem;
  height: 0.95rem;
}

.cross {
  color: var(--muted);
}

/* 12. Contact & forms ========================================= */
.contact-grid {
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 56rem) {
  .contact-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: clamp(3rem, 7vw, 8rem);
  }
}

.contact-grid h2 {
  font-size: clamp(2.125rem, 1.7rem + 1.8vw, 3.25rem);
}

.contact-list {
  margin: 0 0 var(--space-7);
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.contact-list li {
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--line);
}

.contact-list__label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list a {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.5rem);
  line-height: 1.1;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-list a:hover {
  color: var(--accent);
}

.form-embed {
  padding: clamp(0.75rem, 0.4rem + 1.5vw, 2rem);
  background: var(--paper-raised);
  border: 1px solid var(--line);
}

.form-embed__frame {
  display: block;
  width: 100%;
  height: 56rem;
  min-height: 30rem;
  border: 0;
  background: transparent;
}

.form-embed.is-sized .form-embed__frame {
  min-height: 0;
}

.form-embed__fallback {
  margin-top: var(--space-4);
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* Native enquiry form (AWS endpoint or artifact database) */
.enquiry {
  display: grid;
  gap: var(--space-4);
  padding: clamp(1rem, 0.5rem + 2vw, 2rem);
  background: var(--paper-raised);
  border: 1px solid var(--line);
}

.enquiry[hidden],
.enquiry-inbox[hidden] { display: none; }

.enquiry__row {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.enquiry__field { margin: 0; display: grid; gap: var(--space-2); min-width: 0; }

.enquiry label,
.enquiry legend {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
}

.enquiry__opt { font-weight: 400; color: var(--muted); }

.enquiry input:not([type="radio"]):not([type="checkbox"]),
.enquiry select,
.enquiry textarea {
  width: 100%;
  min-height: 2.875rem;
  padding: var(--space-2) var(--space-3);
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.enquiry textarea { resize: vertical; }

.enquiry input:focus-visible,
.enquiry select:focus-visible,
.enquiry textarea:focus-visible {
  border-color: var(--ink);
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.enquiry [aria-invalid="true"] { border-color: var(--accent); }

.enquiry__choices {
  border: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
}

.enquiry__choices legend { margin-bottom: var(--space-2); width: 100%; }

.enquiry__choices label,
.enquiry__consent label {
  display: inline-flex;
  gap: var(--space-2);
  align-items: flex-start;
  font-weight: 400;
}

.enquiry__choices input,
.enquiry__consent input { accent-color: var(--accent); margin-top: 0.3em; }

.enquiry__consent { margin: 0; }
.enquiry__consent a { color: var(--accent); }

.enquiry__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.enquiry__actions { margin: 0; }

.enquiry__status { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.enquiry__status.is-error { color: var(--accent); }
.enquiry__status.is-ok { color: var(--ink); font-weight: 600; }

.enquiry-inbox {
  margin-top: var(--space-6);
  padding: clamp(1rem, 0.5rem + 2vw, 2rem);
  background: var(--stone);
}

.enquiry-inbox__note { color: var(--muted); font-size: var(--fs-sm); }

.enquiry-inbox__list { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: var(--space-3); }

.enquiry-inbox__list li {
  padding: var(--space-3) var(--space-4);
  background: var(--paper-raised);
  border-left: 3px solid var(--accent);
  font-size: var(--fs-sm);
  overflow-wrap: anywhere;
}

.enquiry-inbox__list strong { display: block; font-size: var(--fs-base); }

/* Social links */
.social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  padding: var(--space-2) var(--space-4) var(--space-2) var(--space-3);
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.social a:hover {
  background: var(--ink);
  color: var(--paper);
}

.social svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

/* 13. Footer ================================================== */
.site-footer {
  background: var(--night);
  color: var(--on-night-muted);
  font-size: var(--fs-sm);
}

.site-footer a {
  color: var(--on-night);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent-on-night);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-7);
  padding-block: clamp(4rem, 3rem + 4vw, 7rem) var(--space-7);
}

@media (min-width: 48rem) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 64rem) {
  .site-footer__grid {
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
  }
}

.site-footer .brand {
  align-items: flex-start;
  margin-bottom: var(--space-5);
}

.site-footer .brand,
.site-footer .brand:hover {
  color: var(--on-night);
}

.site-footer .brand__logo {
  filter: invert(1) brightness(0.95);
}

.site-footer .brand__tag {
  padding-left: 0;
  color: var(--on-night-muted);
}

.site-footer__about p {
  max-width: 24rem;
}

.site-footer__heading {
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--on-night);
}

.site-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__list li + li {
  margin-top: var(--space-2);
}

.site-footer__list a {
  overflow-wrap: anywhere;
}

.site-footer__list a:hover {
  text-decoration: underline;
}

.site-footer address {
  font-style: normal;
}

.site-footer__wordmark {
  margin: 0;
  padding: 0 var(--gutter) 0.2em;
  overflow-x: clip;
  font-family: var(--font-display);
  font-size: clamp(4rem, 0.5rem + 17vw, 18rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: center;
  white-space: nowrap;
  color: var(--on-night);
  user-select: none;
}

.site-footer__wordmark em {
  font-style: italic;
  color: var(--accent-on-night);
}

.site-footer__base {
  padding-block: var(--space-5);
  border-top: 1px solid var(--line-on-night);
  font-size: var(--fs-xs);
}

.site-footer__base .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2) var(--space-6);
}

.site-footer__base p {
  margin: 0;
}

/* 14. Motion ================================================== */
/* Scroll reveal. main.js marks only elements that start below the
   fold with .reveal-pending, so the first screen is complete at rest. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-pending {
    opacity: 0;
    transform: translateY(28px);
  }

  .reveal-pending.is-visible {
    opacity: 1;
    transform: none;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  }

  /* Home hero: one orchestrated entrance; every frame stays visible */
  .intro-hero__kicker {
    animation: rise 0.9s var(--ease) both;
  }

  .intro-hero__display {
    animation: rise 1.1s var(--ease) 0.08s both;
  }

  .intro-hero__frame img {
    animation: settle 1.8s var(--ease) both;
  }

  .intro-hero__inset {
    animation: lift 1.2s var(--ease) 0.3s both;
  }
}

@keyframes rise {
  from { transform: translateY(0.3em); }
}

@keyframes settle {
  from { transform: scale(1.08); }
}

@keyframes lift {
  from { transform: translateY(2.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print */
@media print {
  .site-header,
  .nav-toggle,
  .lightbox,
  .skip-link,
  .occasions {
    display: none !important;
  }
}

/* Focal points for cropped photographs */
img.focus-upper { object-position: 50% 22%; }
img.focus-mid { object-position: 50% 62%; }
img.focus-low { object-position: 50% 86%; }
img.focus-right { object-position: 66% 42%; }
img.focus-top-right { object-position: 66% 20%; }
img.focus-far-right { object-position: 74% 40%; }

/* 15. Instagram ================================================ */
.ig-glyph {
  flex: none;
  width: 1rem;
  height: 1rem;
}

/* Home row: newest posts, links out to Instagram */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.5rem, 0.3rem + 0.8vw, 1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 40rem) {
  .ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
  .ig-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.ig-tile__link {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background: var(--stone);
  color: #fff;
  text-decoration: none;
}

.ig-tile__link img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.ig-tile__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(28 18 20 / 0) 45%, rgb(28 18 20 / 0.85) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.ig-tile__glyph {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgb(28 18 20 / 0.4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.ig-tile__meta {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 1;
  display: grid;
  gap: 0.2rem;
  font-size: var(--fs-xs);
  line-height: 1.35;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.ig-tile__meta time {
  font-size: var(--fs-label);
  letter-spacing: 0.04em;
  color: rgb(255 255 255 / 0.85);
}

.ig-tile__link:hover,
.ig-tile__link:focus-visible {
  color: #fff;
}

.ig-tile__link:hover img,
.ig-tile__link:focus-visible img {
  transform: scale(1.05);
}

.ig-tile__link:hover::after,
.ig-tile__link:focus-visible::after,
.ig-tile__link:hover .ig-tile__meta,
.ig-tile__link:focus-visible .ig-tile__meta {
  opacity: 1;
  transform: none;
}

/* "Instagram" pill on photos that are also posted there */
.ig-badge {
  position: absolute;
  top: clamp(1rem, 0.8rem + 1vw, 1.75rem);
  left: clamp(1rem, 0.8rem + 1vw, 1.75rem);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.25rem;
  padding: 0.3rem 0.85rem 0.3rem 0.65rem;
  border: 1px solid rgb(244 236 232 / 0.55);
  border-radius: var(--radius-pill);
  background: rgb(28 18 20 / 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.ig-badge:hover,
.ig-badge:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.story__media {
  position: relative;
}

.story__media .ig-badge {
  top: 0.75rem;
  left: 0.75rem;
}

/* Link in a story photo caption */
.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.5rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.3em;
  white-space: nowrap;
}

.ig-link .ig-glyph {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--accent);
}

.ig-link:hover {
  color: var(--accent);
}

/* Hashtags on blog posts and cards */
.entry-tags__label {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink);
}

.hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hashtags a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.35rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--paper-raised);
  color: var(--ink);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.hashtags a:hover,
.hashtags a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.hashtags--compact {
  gap: 0.35rem;
  margin: 0 0 var(--space-4);
}

.hashtags--compact a {
  min-height: 1.75rem;
  padding: 0.2rem 0.65rem;
  border-color: transparent;
  background: var(--stone);
  font-size: var(--fs-label);
}

/* Client login (header): sits before the Contact button */
.login-glyph { width: 1.05em; height: 1.05em; flex: none; }
.menu-item--login > a { display: flex; align-items: center; gap: 0.45rem; }
.js .site-header.is-open .primary-nav__list > li:nth-child(9) { animation-delay: 0.24s; }
@media (max-width: 63.99rem) {
  /* Same size and font as the other menu links; icon scaled to the text */
  .menu-item--login > a { gap: 0.6rem; }
  .menu-item--login .login-glyph { width: 0.72em; height: 0.72em; }
}

/* Hamburger: icon only. The Menu/Close text stays for screen readers. */
.nav-toggle {
  justify-content: center;
  gap: 0;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
}
.nav-toggle__label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
@media (min-width: 64rem) {
  .menu-item--login { padding-left: clamp(0.75rem, 0.2rem + 1vw, 1.25rem); border-left: 1px solid var(--line); }
  .primary-nav__list > li.menu-item--login > a::after { left: calc(1.05em + 0.45rem); }
}
@media (min-width: 64rem) {
  .primary-nav__list a { white-space: nowrap; }
}
/* Narrow desktops: icon only (the text stays for screen readers) */
@media (min-width: 64rem) and (max-width: 79.99rem) {
  .menu-item--login .login-text {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .menu-item--login .login-glyph { width: 1.35em; height: 1.35em; }
  .primary-nav__list > li.menu-item--login > a::after { display: none; }
}
