/* =========================================================================
   Luxorphe Studios — Toronto & Montreal Wedding Photography
   Design system & global stylesheet
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Colour */
  --paper:        #fbf9f6;
  --paper-alt:    #f3eee8;
  --paper-deep:   #ece5dc;
  --ink:          #1b1a18;
  --ink-soft:     #55524c;
  --ink-faint:    #8a857d;
  --accent:       #a8845f;
  --accent-deep:  #8a6a48;
  --line:         rgba(27, 26, 24, 0.12);
  --line-soft:    rgba(27, 26, 24, 0.07);
  --overlay:      rgba(20, 19, 17, 0.55);

  /* Type */
  --font-display: "Cormorant Garamond", "Didot", "Times New Roman", serif;
  --font-sans:    "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --fs-hero:   clamp(2.35rem, 5.4vw, 4.6rem);
  --fs-h1:     clamp(1.95rem, 3.9vw, 3.2rem);
  --fs-h2:     clamp(1.6rem, 2.7vw, 2.45rem);
  --fs-h3:     clamp(1.18rem, 1.6vw, 1.45rem);
  --fs-body:   clamp(0.95rem, 0.3vw + 0.88rem, 1.03rem);
  --fs-small:  0.79rem;
  --fs-eyebrow:0.68rem;

  /* Space — deliberately compact */
  --gutter:     clamp(1.15rem, 4vw, 3.25rem);
  --section-y:  clamp(3rem, 5.5vw, 5.5rem);
  --stack:      clamp(1.15rem, 2vw, 1.85rem);

  /* Layout */
  --max:        1440px;
  --max-text:   68ch;
  --max-narrow: 52rem;

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

  --header-h:   84px;
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
}

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

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

@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;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

/* Inline icons carry width/height attributes; never let them scale up. */
svg { display: block; max-width: 100%; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: 0.005em;
  margin: 0 0 0.6em;
  color: var(--ink);
}

p { margin: 0 0 0.95em; }
p:last-child { margin-bottom: 0; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
}

ul, ol { margin: 0 0 1.2em; padding-left: 1.15em; }
li { margin-bottom: 0.4em; }

strong, b { font-weight: 500; color: var(--ink); }

blockquote { margin: 0; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--stack) 0;
}

button { font: inherit; cursor: pointer; }

input, textarea, select, button { font-family: inherit; font-size: inherit; }

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

/* Focus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- 3. Utilities ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: calc(var(--max-narrow) + var(--gutter) * 2); }
.wrap--text   { max-width: calc(var(--max-text) + var(--gutter) * 2); }
.wrap--wide   { max-width: 1720px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2rem, 3.5vw, 3.5rem); }
.section--alt { background: var(--paper-alt); }
.section--deep { background: var(--paper-deep); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--paper); }

.center { text-align: center; }
.measure { max-width: var(--max-text); }
.measure-center { max-width: var(--max-text); margin-inline: auto; }

.sr-only {
  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: 0.5rem;
  left: 0.5rem;
  z-index: 999;
  padding: 0.7rem 1.2rem;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 4. Typographic components ---------- */
.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.35rem;
}

.eyebrow--muted { color: var(--ink-faint); }
.section--ink .eyebrow { color: var(--accent); }

.display  { font-size: var(--fs-hero); }
.h1       { font-size: var(--fs-h1); }
.h2       { font-size: var(--fs-h2); }
.h3       { font-size: var(--fs-h3); }

.lede {
  font-size: clamp(1rem, 0.9vw, 1.13rem);
  line-height: 1.66;
  color: var(--ink-soft);
  font-weight: 300;
}

.text-serif { font-family: var(--font-display); }

.italic-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  color: var(--accent-deep);
}

.rule {
  width: 56px;
  height: 1px;
  background: var(--accent);
  border: 0;
  margin: 1.6rem 0;
}
.rule--center { margin-inline: auto; }

/* ---------- 5. Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  padding: 1.05em 2.5em;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  text-align: center;
}

.btn:hover, .btn:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.btn--solid {
  background: var(--ink);
  color: var(--paper);
}
.btn--solid:hover, .btn--solid:focus-visible {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
}

.btn--light {
  border-color: rgba(251, 249, 246, 0.7);
  color: var(--paper);
}
.btn--light:hover, .btn--light:focus-visible {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.btn--accent {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
}
.btn--accent:hover, .btn--accent:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
}

.link-underline {
  position: relative;
  font-size: var(--fs-small);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: 0.35em;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 0.45s var(--ease);
}
.link-underline:hover::after,
.link-underline:focus-visible::after {
  transform-origin: left;
  animation: sweep 0.6s var(--ease);
}

@keyframes sweep {
  0%   { transform: scaleX(1); transform-origin: right; }
  49%  { transform: scaleX(0); transform-origin: right; }
  50%  { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* ---------- 6. Header / navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease), height 0.45s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.42), rgba(0,0,0,0));
  opacity: 1;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}

.site-header.is-solid {
  background: rgba(251, 249, 246, 0.94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.site-header.is-solid::before { opacity: 0; }

/* Pages without a full-bleed hero start solid */
.site-header.is-static {
  position: sticky;
  background: rgba(251, 249, 246, 0.94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.site-header.is-static::before { opacity: 0; }

.header-inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.brand {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}

/* ---- Brand logo -----------------------------------------------------------
   Empty by default: the header shows the LUXORPHE wordmark below. Drop a file
   into the 24-brand-logo folder and it appears here instead, with the wordmark
   stepping aside automatically.

   The header is transparent over the hero and turns solid on scroll, so the
   logo sits on a dark ground at the top of the page and a pale one once you
   scroll. A white or light logo on a transparent PNG handles both. A dark logo
   will vanish against the hero. */
.brand__logo {
  display: block;
  height: 2.1rem;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}
.brand__logo[hidden] { display: none; }

/* When a logo is present, the wordmark gets out of the way. */
.brand:has(.brand__logo:not([hidden])) .brand__mark { display: none; }

@media (max-width: 560px) {
  .brand__logo { height: 1.7rem; max-width: 140px; }
}

.brand__mark {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--paper);
  transition: color 0.45s var(--ease);
  white-space: nowrap;
  padding-left: 0.42em;
}

.brand__sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.5rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(251, 249, 246, 0.62);
  margin-top: 0.55em;
  transition: color 0.45s var(--ease);
}

@media (max-width: 560px) {
  .brand__mark { font-size: 0.74rem; letter-spacing: 0.34em; }
  .brand__sub { display: none; }
}

.site-header.is-solid .brand__mark,
.site-header.is-static .brand__mark { color: var(--ink); }
.site-header.is-solid .brand__sub,
.site-header.is-static .brand__sub  { color: var(--ink-faint); }

/* Desktop nav */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.1rem);
}
.nav--left  { grid-column: 1; justify-content: flex-start; }
.nav--right { grid-column: 3; justify-content: flex-end; }

.nav__item { position: relative; }

.nav__link {
  display: inline-block;
  font-size: 0.71rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251, 249, 246, 0.92);
  padding: 0.6rem 0;
  white-space: nowrap;
  transition: color 0.45s var(--ease);
  background: none;
  border: 0;
}

.site-header.is-solid .nav__link,
.site-header.is-static .nav__link { color: var(--ink-soft); }

.nav__link:hover,
.nav__link:focus-visible,
.nav__link[aria-current="page"] { color: var(--accent); }

.nav__link--has-menu::after {
  content: "";
  display: inline-block;
  width: 4px; height: 4px;
  margin-left: 0.55em;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.nav__item.is-open .nav__link--has-menu::after { transform: translateY(0) rotate(225deg); }

.nav__menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 208px;
  padding: 0.85rem 0;
  margin: 0;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: 0 18px 44px rgba(27, 26, 24, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.nav__item.is-open .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__menu li { margin: 0; }

.nav__menu a {
  display: block;
  padding: 0.6rem 1.5rem;
  font-size: 0.71rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.nav__menu a:hover, .nav__menu a:focus-visible { color: var(--accent); background: var(--paper-alt); }

/* Burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: none;
  position: relative;
}

.burger span {
  position: absolute;
  left: 10px;
  width: 24px; height: 1px;
  background: var(--paper);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), background 0.45s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 27px; }

.site-header.is-solid .burger span,
.site-header.is-static .burger span { background: var(--ink); }

.burger[aria-expanded="true"] span { background: var(--ink); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--paper);
  padding: calc(var(--header-h) + 2.5rem) var(--gutter) 3rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1.25rem);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.mobile-nav ul { list-style: none; margin: 0; padding: 0; }

.mobile-nav > ul > li { border-bottom: 1px solid var(--line-soft); }

.mobile-nav a, .mobile-nav .mobile-nav__label {
  display: block;
  padding: 1.05rem 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.mobile-nav__label {
  color: var(--ink-faint);
  font-size: 1.35rem;
}

.mobile-nav__sub { padding-left: 1.1rem !important; padding-bottom: 0.75rem; }
.mobile-nav__sub a {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  color: var(--ink-soft);
}

.mobile-nav__cta { margin-top: 2.5rem; }
/* `.mobile-nav a` sets colour on every link in the drawer and would otherwise
   win over `.btn--solid`, leaving dark text on a dark button. */
.mobile-nav .mobile-nav__cta a.btn {
  width: 100%;
  padding: 1.05em 2em;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}
.mobile-nav .mobile-nav__cta a.btn:hover,
.mobile-nav .mobile-nav__cta a.btn:focus-visible {
  color: #fff;
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .header-inner { grid-template-columns: 1fr auto 1fr; }
  .brand { grid-column: 2; }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}

.hero__slides { position: absolute; inset: 0; }

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.hero__slide.is-active { opacity: 1; }

.hero__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 32%;
  animation: heroDrift 16s ease-out both;
}

@keyframes heroDrift {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(16,15,14,0.32) 0%, rgba(16,15,14,0.05) 38%, rgba(16,15,14,0.62) 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(4rem, 10vh, 8rem);
  color: var(--paper);
}

.hero__title {
  font-size: var(--fs-hero);
  color: var(--paper);
  max-width: 18ch;
  margin-bottom: 0.35em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}

.hero__sub {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(251, 249, 246, 0.85);
  margin-bottom: 2.2rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }


.page-hero {
  position: relative;
  min-height: clamp(42vh, 58vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--ink);
  overflow: hidden;
}
.page-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.72;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(16,15,14,0.45), rgba(16,15,14,0.25));
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h) + 3rem) var(--gutter) 3rem;
  color: var(--paper);
}
.page-hero__inner h1 { color: var(--paper); }
.page-hero .eyebrow { color: rgba(251,249,246,0.8); }

/* Plain page header (no image) */
.page-head {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
}

/* ---------- 8. Layout blocks ---------- */
/* One breakpoint governs EVERY two-column block on the site, so text sits
   beside its photograph — or below it — consistently, never a mix of both. */
.split {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: clamp(2.5rem, 5vw, 3.5rem);
  column-gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
}
.split > * { min-width: 0; }

.split--top { align-items: start; }

.split__media img { width: 100%; }

@media (min-width: 900px) {
  .split--reverse .split__media { order: 2; }
}

.stack > * + * { margin-top: var(--stack); }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }

/* Image treatments */
.img-frame {
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
}
.img-frame img {
  width: 100%;
  height: auto;
  transition: opacity 0.5s var(--ease);
}
.img-frame:hover img { opacity: 0.9; }


.offset-up { margin-top: clamp(-4rem, -5vw, -2rem); }

/* Triptych — images keep their natural proportions, never cropped */
.triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.5rem, 1.2vw, 1.15rem);
  align-items: start;
}
.triptych > *:nth-child(2) { transform: translateY(clamp(0.75rem, 2vw, 2rem)); }
@media (max-width: 760px) {
  .triptych { grid-template-columns: 1fr 1fr; }
  .triptych > *:nth-child(3) { display: none; }
  .triptych > *:nth-child(2) { transform: none; }
}
@media (max-width: 460px) {
  .triptych { grid-template-columns: 1fr; }
  .triptych > *:nth-child(2) { display: none; }
}

/* ---------- 9. Gallery / masonry ---------- */
.gallery {
  columns: 3;
  column-gap: clamp(0.5rem, 1.2vw, 1.15rem);
}
.gallery__item {
  break-inside: avoid;
  margin-bottom: clamp(0.5rem, 1.2vw, 1.15rem);
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--paper-deep);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.gallery__item img {
  width: 100%;
  height: auto;
  transition: opacity 0.45s var(--ease);
}
.gallery__item:hover img { opacity: 0.88; }

@media (max-width: 1000px) { .gallery { columns: 2; } }
@media (max-width: 560px)  { .gallery { columns: 1; } }

.gallery--dense { columns: 4; }
@media (max-width: 1200px) { .gallery--dense { columns: 3; } }
@media (max-width: 800px)  { .gallery--dense { columns: 2; } }
@media (max-width: 520px)  { .gallery--dense { columns: 1; } }

/* Filter bar */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.9rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.filters button {
  border: 0;
  background: none;
  padding: 0.45rem 0;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-bottom: 1px solid transparent;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--accent); }

/* Load more */
.gallery__item[hidden] { display: none; }

.loadmore-wrap { margin-top: clamp(2rem, 4vw, 3.25rem); text-align: center; }

/* ---------- 10. Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(14, 13, 12, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__figure {
  margin: 0;
  max-width: min(92vw, 1500px);
  max-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__figure img {
  max-width: 100%;
  max-height: 86vh;
  width: auto; height: auto;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.lightbox__btn {
  position: absolute;
  border: 0;
  background: none;
  color: rgba(251,249,246,0.75);
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  transition: color 0.3s var(--ease);
}
.lightbox__btn:hover { color: #fff; }
.lightbox__btn svg { width: 22px; height: 22px; }

.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev  { left: 1rem;  top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 1rem; top: 50%; transform: translateY(-50%); }

.lightbox__count {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--fs-small);
  letter-spacing: 0.2em;
  color: rgba(251,249,246,0.6);
}

@media (max-width: 620px) {
  .lightbox__prev { left: 0.15rem; }
  .lightbox__next { right: 0.15rem; }
}

/* ---------- 11. Testimonials ---------- */
.quote {
  text-align: center;
  max-width: 46ch;
  margin-inline: auto;
}
.quote__text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.7vw, 2.35rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}
.quote__cite {
  display: block;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.section--ink .quote__cite { color: rgba(251,249,246,0.6); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(1.75rem, 3.5vw, 3.25rem);
}

.testimonial-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.section--alt .testimonial-card { background: var(--paper); }

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
}
.testimonial-card__body { color: var(--ink-soft); font-size: 0.96rem; }
.testimonial-card__name {
  margin-top: auto;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.stars { color: var(--accent); letter-spacing: 0.28em; font-size: 0.78rem; }

/* ---------- 12. Process steps ---------- */
/* Steps: one consistent left edge. The numeral is a small marker above the
   title, not a second column — so every line of text starts in the same place. */
.steps { counter-reset: step; display: grid; gap: 0; }

.step {
  display: block;
  padding: clamp(1.9rem, 3.2vw, 2.9rem) 0;
  border-bottom: 1px solid var(--line-soft);
}
.step:first-child { padding-top: 0; }
.step:last-child { border-bottom: 0; padding-bottom: 0; }

.step__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.step__num {
  counter-increment: step;
  flex: 0 0 auto;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1;
  color: var(--accent);
  min-width: 2.4ch;
}
.step__num::before { content: counter(step, upper-roman); }

.step__title {
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.5vw, 1.38rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
}

/* Body copy aligns under the title, clear of the numeral gutter */
.step__body {
  color: var(--ink-soft);
  padding-left: calc(2.4ch + 1rem);
  font-size: 0.97rem;
  line-height: 1.85;
  max-width: 60ch;
}

@media (max-width: 540px) {
  .step__body { padding-left: 0; }
}

/* ---------- 13. Team ---------- */
.team-member { display: grid; gap: 1.6rem; }
.team-member__role {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.9rem;
}
.team-member h3 { margin-bottom: 0.35em; }

.credentials {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.credentials li {
  margin: 0;
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--line);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- 14. Stats / logos ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(1.75rem, 3vw, 3rem);
  text-align: center;
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 0.55rem;
}
.stat__label {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

/* ---------- 15. FAQ ---------- */
.faq { border-top: 1px solid var(--line-soft); }

.faq__item { border-bottom: 1px solid var(--line-soft); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border: 0;
  background: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.35;
  transition: color 0.3s var(--ease);
}
.faq__q:hover { color: var(--accent-deep); }

.faq__icon {
  flex: 0 0 auto;
  position: relative;
  width: 15px; height: 15px;
  margin-top: 0.45em;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 15px; height: 1px;
  background: var(--accent);
  transition: transform 0.4s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); }

.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease);
}
.faq__a-inner {
  padding: 0 0 1.4rem;
  max-width: var(--max-text);
  color: var(--ink-soft);
}

/* ---------- 16. Forms ---------- */
.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.1rem, 2.2vw, 1.9rem);
}
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field .req { color: var(--accent); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 300;
  border-radius: 0;
  transition: border-color 0.35s var(--ease);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2355524c' stroke-width='1' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  background-size: 12px;
  padding-right: 1.6rem;
  cursor: pointer;
}

.field textarea { min-height: 148px; resize: vertical; line-height: 1.7; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); opacity: 0.8; }

.field .hint { font-size: 0.78rem; color: var(--ink-faint); line-height: 1.6; }

.field .error {
  font-size: 0.76rem;
  color: #a2402f;
  letter-spacing: 0.04em;
  min-height: 1em;
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-bottom-color: #a2402f; }

/* Honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }

.form__note { font-size: 0.78rem; color: var(--ink-faint); max-width: 44ch; }

.form-status {
  grid-column: 1 / -1;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  font-size: 0.9rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success { border-color: var(--accent); color: var(--accent-deep); background: rgba(168,132,95,0.07); }
.form-status.is-error   { border-color: #a2402f; color: #a2402f; background: rgba(162,64,47,0.05); }

/* ---------- 17. Contact details ---------- */
.contact-details { display: grid; gap: 2rem; }
.contact-detail__label {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.5rem;
}
.contact-detail__value { font-size: 1.05rem; }
.contact-detail__value a:hover { color: var(--accent); }

/* ---------- 18. Client galleries ---------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.client-card { display: block; }
.client-card__media { overflow: hidden; background: var(--paper-deep); margin-bottom: 1.1rem; }
.client-card__media img { transition: opacity 0.45s var(--ease); width: 100%; height: auto; }
.client-card:hover .client-card__media img { opacity: 0.88; }
.client-card__date {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.4rem;
}
.client-card__name { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.35rem; }
.client-card__cta { font-size: var(--fs-eyebrow); letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-deep); }

/* ---------- 19. Journal ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}
.post-card__media { overflow: hidden; margin-bottom: 1.25rem; background: var(--paper-deep); }
.post-card__media img { width: 100%; height: auto; transition: opacity 0.45s var(--ease); }
.post-card:hover .post-card__media img { opacity: 0.88; }
.post-card__meta {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.6rem;
}
.post-card__title { font-size: 1.55rem; margin-bottom: 0.5rem; }
.post-card__excerpt { color: var(--ink-soft); font-size: 0.96rem; }

.empty-state {
  text-align: center;
  padding: clamp(3rem, 7vw, 6rem) var(--gutter);
  border: 1px solid var(--line-soft);
  background: var(--paper-alt);
}

/* ---------- 20. Nav cards (bottom of page) ---------- */
/* Nav cards: photograph shown whole, caption beneath it. */
.navcards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}
.navcard { display: block; color: var(--ink); }
.navcard__media { overflow: hidden; background: var(--paper-deep); margin-bottom: 0.95rem; }
.navcard img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.45s var(--ease);
}
.navcard:hover img { opacity: 0.88; }
.navcard__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.25rem;
  transition: color 0.3s var(--ease);
}
.navcard:hover .navcard__title { color: var(--accent-deep); }
.navcard__sub { font-size: var(--fs-eyebrow); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }

/* ---------- 21. CTA band ---------- */
/* Solid band — no cropped background photograph competing with the type. */
.cta-band {
  position: relative;
  padding-block: clamp(3rem, 5.5vw, 5rem);
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.cta-band img { display: none; }
.cta-band__inner { position: relative; z-index: 2; }
.cta-band h2 { color: var(--paper); }

/* ---------- 23. Scroll reveal ---------- */
/* Gated on .js so that if JavaScript never runs, nothing stays invisible. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.js [data-reveal][data-reveal-delay="1"] { transition-delay: 0.1s; }
.js [data-reveal][data-reveal-delay="2"] { transition-delay: 0.2s; }
.js [data-reveal][data-reveal-delay="3"] { transition-delay: 0.3s; }
.js [data-reveal][data-reveal-delay="4"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 24. Back to top ---------- */
.to-top {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 80;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s, background 0.3s var(--ease), color 0.3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); color: var(--paper); }
.to-top svg { width: 14px; height: 14px; }

/* ---------- 25. Marquee (instagram strip) ---------- */
/* Masonry columns — each photograph keeps its own proportions. */
.strip {
  columns: 6;
  column-gap: clamp(0.4rem, 0.9vw, 0.85rem);
}
@media (max-width: 1100px) { .strip { columns: 4; } }
@media (max-width: 760px)  { .strip { columns: 3; } }
@media (max-width: 480px)  { .strip { columns: 2; } }

.strip a {
  position: relative;
  display: block;
  break-inside: avoid;
  margin-bottom: clamp(0.4rem, 0.9vw, 0.85rem);
  overflow: hidden;
  background: var(--paper-deep);
}
.strip img { width: 100%; height: auto; transition: opacity 0.45s var(--ease); }
.strip a:hover img { opacity: 0.84; }

/* ---------- 26. 404 ---------- */
.error-page {
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 3rem) var(--gutter) 5rem;
}
.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 11rem);
  line-height: 0.9;
  color: var(--accent);
  opacity: 0.35;
  margin-bottom: 1rem;
}

/* ---------- 27. Sticky media (process section) ----------
   Only sticks on wide screens where there are genuinely two columns.
   Below that it is a normal image, so scrolling text can never ride over it. */
.sticky-media { position: static; top: auto; }

@media (min-width: 900px) {
  .sticky-media {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    align-self: start;
  }
}

/* The process layout: explicit two-column grid rather than auto-fit,
   so the collapse point and the sticky breakpoint always agree. */
.process-layout {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: clamp(2.5rem, 5vw, 3.5rem);
  column-gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .process-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.process-layout > * { min-width: 0; }

/* Narrow screens: the image sits above the steps at full size */
@media (max-width: 899px) {
  .process-layout .img-frame img { width: 100%; height: auto; }
}

/* ---------- 28. Icon links with hover tooltips ---------- */
.icon-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.35rem;
}
.icon-links--center { justify-content: center; }

/* Small, borderless, quiet — the glyph is the whole thing. */
.icon-link {
  position: relative;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--ink-faint);
  background: transparent;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.icon-link svg { width: 18px; height: 18px; }

.icon-link:hover,
.icon-link:focus-visible {
  color: var(--accent-deep);
  transform: translateY(-1px);
}

.icon-link--lg { width: 24px; height: 24px; }
.icon-link--lg svg { width: 20px; height: 20px; }

.icon-link--light { color: rgba(251,249,246,0.72); }
.icon-link--light:hover, .icon-link--light:focus-visible { color: var(--paper); }

/* Tooltip */
.icon-link[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 0.65rem);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 0.5rem 0.85rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.3;
  white-space: nowrap;
  border-radius: 2px;
  box-shadow: 0 10px 26px rgba(27,26,24,0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 20;
}

.icon-link[data-tip]::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 0.32rem);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  border: 5px solid transparent;
  border-top-color: var(--ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 20;
}

.icon-link[data-tip]:hover::after,
.icon-link[data-tip]:focus-visible::after,
.icon-link[data-tip]:hover::before,
.icon-link[data-tip]:focus-visible::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Tooltips below the icon when there's no room above */
.icon-link--tip-below[data-tip]::after {
  bottom: auto;
  top: calc(100% + 0.65rem);
  transform: translateX(-50%) translateY(-4px);
}
.icon-link--tip-below[data-tip]::before {
  bottom: auto;
  top: calc(100% + 0.32rem);
  border-top-color: transparent;
  border-bottom-color: var(--ink);
  transform: translateX(-50%) translateY(-4px);
}
.icon-link--tip-below[data-tip]:hover::after,
.icon-link--tip-below[data-tip]:focus-visible::after,
.icon-link--tip-below[data-tip]:hover::before,
.icon-link--tip-below[data-tip]:focus-visible::before {
  transform: translateX(-50%) translateY(0);
}

/* Touch devices can't hover — keep the label visible instead of hidden */
@media (hover: none) {
  .icon-link[data-tip]::after,
  .icon-link[data-tip]::before { display: none; }
}

/* Icon + label pairing, used in the contact strip */
.icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: center;
}
.icon-row__item { display: flex; align-items: center; gap: 0.7rem; }
.icon-row__item .icon-link[aria-hidden="true"] { color: var(--accent); }
.icon-row__text { display: flex; flex-direction: column; gap: 0.15rem; }
.icon-row__label {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.icon-row__value { font-size: 0.95rem; color: var(--ink); }

/* ---------- 29. Print ---------- */
@media print {
  .site-header, .mobile-nav, .to-top, .lightbox, .hero__scroll, .cta-band, .navcards { display: none !important; }
  body { background: #fff; color: #000; }
  a { text-decoration: underline; }
}


/* ---------- 30. Additions: visible contact details, no hover-only info ----
   Nothing on this site reveals information only on hover. Every address,
   handle and label is legible without touching the mouse. */

/* Definition list used for contact facts */
.facts {
  display: grid;
  gap: 1.15rem;
  margin: 2rem 0 0;
}
.facts > div { display: grid; gap: 0.2rem; }
.facts dt {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.facts dd {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink);
}
.facts dd a { border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.facts dd a:hover { color: var(--accent-deep); border-bottom-color: var(--accent-deep); }

.facts--center {
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  text-align: center;
  margin-top: 0;
}
@media (max-width: 860px) {
  .facts--center { grid-auto-flow: row; grid-auto-columns: auto; justify-content: stretch; text-align: left; gap: 1.15rem; }
}

/* Instagram handle above the strip */
.strip__handle {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0;
}
.strip__handle a { border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.strip__handle a:hover { color: var(--accent-deep); border-bottom-color: var(--accent-deep); }

/* Inline contact line in a bio */
.inline-contact {
  margin-top: 1.6rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: baseline;
}
.inline-contact a { border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.inline-contact a:hover { color: var(--accent-deep); border-bottom-color: var(--accent-deep); }
.inline-contact span { color: var(--ink-faint); }



/* ---------- 31. Footer ----------------------------------------------------
   Three columns of equal visual weight, one closing line. Every link appears
   exactly once anywhere in the footer. */
.site-footer {
  background: var(--paper-alt);
  border-top: 1px solid var(--line-soft);
  padding-block: clamp(3rem, 6vw, 4.75rem) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.25rem, 4vw, 3rem);
  padding-bottom: clamp(2.25rem, 4vw, 3.25rem);
}
@media (min-width: 700px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; column-gap: clamp(2.5rem, 5vw, 5.5rem); } }

.footer__brand {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1rem;
}

.footer__tag {
  font-size: 0.87rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 36ch;
  margin: 0;
}

.footer__heading {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 1.15rem;
}

.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 0.6rem; }
.footer__list li:last-child { margin-bottom: 0; }
.footer__list a { font-size: 0.87rem; color: var(--ink-soft); }
.footer__list a:hover { color: var(--accent-deep); }

.footer__address {
  font-style: normal;
  margin: 0 0 1.1rem;
  font-size: 0.87rem;
  line-height: 1.85;
  color: var(--ink-soft);
}
.footer__address a { border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.footer__address a:hover { color: var(--accent-deep); border-bottom-color: var(--accent-deep); }

.footer-bottom {
  margin: 0;
  border-top: 1px solid var(--line-soft);
  padding-block: 1.4rem;
  text-align: center;
  font-size: 0.76rem;
  letter-spacing: 0;
  color: var(--ink-faint);
}

/* ---------- 32. Enquiry block --------------------------------------------
   One heading, one set of details, one form. Nothing stated twice. */
.facts {
  display: grid;
  gap: 1.35rem;
  margin: 2.25rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
}
@media (min-width: 560px) { .facts { grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; } }

.facts > div { display: grid; gap: 0.25rem; align-content: start; }
.facts dt {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.facts dd { margin: 0; font-size: 0.95rem; color: var(--ink); line-height: 1.55; }
.facts dd a { border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.facts dd a:hover { color: var(--accent-deep); border-bottom-color: var(--accent-deep); }




/* Footer enquiry action */
.footer__action { margin: 0; }
.footer__action a {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.35em;
  display: inline-block;
}
.footer__action a:hover { color: var(--accent-deep); border-bottom-color: var(--accent-deep); }


/* ---------- 35. Testimonial marquee ---------------------------------------
   The couples' words drift past continuously. The track holds two identical
   copies of the set, so translating it by exactly -50% returns to a frame
   identical to the start — the loop has no visible seam. */
.marquee {
  position: relative;
  overflow: hidden;
  /* Fade the quotes in and out at the edges rather than clipping them dead. */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 56s linear infinite;
}

.marquee__copy {
  display: flex;
  flex: 0 0 auto;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Hover or keyboard focus pauses it. Clicking holds it paused (see main.js). */
.marquee { cursor: pointer; }
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* Small confirmation that it is being held, so the pause never feels broken */
.marquee__state {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 0.3rem 0.85rem;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(27, 26, 24, 0.82);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
  white-space: nowrap;
}
.marquee.is-held .marquee__state { opacity: 1; }

.voice {
  flex: 0 0 auto;
  width: clamp(270px, 30vw, 380px);
  margin: 0;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  margin-right: clamp(0.85rem, 1.6vw, 1.5rem);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.voice__quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
}

.voice__body { margin: 0; font-size: 0.93rem; color: var(--ink-soft); }

.voice__name {
  margin-top: auto;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

/* The scroll is driven by requestAnimationFrame in main.js, so it is not
   affected by the blanket reduced-motion rule at the top of this file. It can
   be paused three ways (hover, click/tap, Enter/Space), which is what WCAG
   2.2.2 actually requires of moving content.

   Without JavaScript the CSS animation above still runs as a fallback. */


/* ---------- 36. Language switch --------------------------------------------
   Two real links rather than one toggle: the current language reads as
   current, the other as available. Sits beside the menu at the right edge
   and stays visible at EVERY width — a bilingual audience should never have
   to open a menu to find their own language. */
.head-end {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 1.6vw, 1.5rem);
}

.langs {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
}

.langs__item {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1;
  padding: 0.35em 0.1em;
  color: rgba(251, 249, 246, 0.55);
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.langs__item:hover,
.langs__item:focus-visible { color: rgba(251, 249, 246, 0.95); }

.langs__item.is-current {
  color: var(--paper);
  border-bottom-color: var(--accent);
}

.langs__sep {
  width: 1px;
  height: 0.75em;
  background: rgba(251, 249, 246, 0.32);
}

/* Over the pale bar */
.site-header.is-solid .langs__item,
.site-header.is-static .langs__item { color: var(--ink-faint); }
.site-header.is-solid .langs__item:hover,
.site-header.is-static .langs__item:hover,
.site-header.is-solid .langs__item:focus-visible,
.site-header.is-static .langs__item:focus-visible { color: var(--ink); }
.site-header.is-solid .langs__item.is-current,
.site-header.is-static .langs__item.is-current {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.site-header.is-solid .langs__sep,
.site-header.is-static .langs__sep { background: var(--line); }

/* ---------- 37. Direct contact on the enquiry page -------------------------
   The address and handle set as quiet display type, not as a data table.
   Location is deliberately absent — it is already stated on the home page
   and in the footer, and repeating it three times reads as filler. */
.reach {
  margin-top: 2.25rem;
  padding-top: 1.85rem;
  border-top: 1px solid var(--line-soft);
}

.reach__lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--ink-faint);
  margin: 0 0 1rem;
}

.reach__link {
  display: block;
  width: fit-content;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.1em;
  margin-bottom: 0.7rem;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.reach__link:last-child { margin-bottom: 0; }
.reach__link:hover,
.reach__link:focus-visible { color: var(--accent-deep); border-bottom-color: var(--accent-deep); }

/* Response time sits with the send button, where it answers the question the
   reader is actually asking at that moment: "and then what happens?" */
.form__reply {
  display: block;
  color: var(--ink);
  margin-bottom: 0.3rem;
}


/* ---------- 38. Hero slide 2: framed on the top half ----------------------
   Only the SECOND photograph is re-framed. Its subjects sit high in the shot,
   so the crop is anchored to the top of the image and the faces stay in view.

   The threshold is 700px, not 900px: a restored (un-maximised) browser window
   is often around 900px wide, which sat right on the old breakpoint and made
   the framing flip depending on how the window happened to be sized.

   Slides 1 and 3 use the default focal point (32% down) at every width.

   TUNING: `top` is 0%. Raise it (10%, 20%…) to slide the window further down. */
@media (min-width: 700px) {
  .hero__slide--top img { object-position: center top; }
}


/* ---------- 39. Hero photo 3: dropped 20% on a maximised window ------------
   Only on large (maximised) screens. The default focal point is 32% down the
   photograph; this moves it to 12%, which shows a band 20 points higher up the
   image — so the picture appears to come DOWN by 20% inside the frame.

   1500px separates a maximised window (~1900px here) from a restored one
   (~900px), so a restored window keeps the framing it already has.

   TUNING: lower the number to bring the picture further down, raise it to
   push it further up. 32% is the site default. */
@media (min-width: 1500px) {
  .hero__slide--down img { object-position: center 12%; }
}


/* ---------- 40. Experience banner: whole photograph, light ground ---------
   The portrait of Laurette and Yissegnon is shown complete on computer
   screens, standing on the site's own warm white rather than a dark band.
   No scrim, no tint, nothing over the photograph.

   Because the ground is light, the heading and label switch to ink here —
   and the page header is the solid pale bar rather than the transparent one.

   Phones are untouched: they keep the filled crop on the dark band, where a
   contained landscape photo would shrink to a sliver. */
@media (min-width: 700px) {
  .page-hero--whole {
    min-height: 0;
    padding-block: clamp(1.5rem, 3vw, 2.75rem) clamp(1.25rem, 2.5vw, 2rem);
    background: var(--paper);
  }

  .page-hero--whole img {
    position: static;
    width: auto;
    height: auto;
    max-width: min(100%, 1180px);
    max-height: 68vh;
    margin-inline: auto;
    object-fit: contain;
    opacity: 1;
  }

  /* No overlay of any kind on the photograph. */
  .page-hero--whole::after { content: none; }

  /* Caption sits below the photograph, in ink, on the light ground. */
  .page-hero--whole .page-hero__inner {
    position: static;
    padding: clamp(1.5rem, 3vw, 2.25rem) var(--gutter) 0;
    color: var(--ink);
  }
  .page-hero--whole .page-hero__inner h1 { color: var(--ink); }
  .page-hero--whole .eyebrow { color: var(--accent); }
  .page-hero--whole .page-hero__inner .lede { color: var(--ink-soft); }
}

/* ---------- 41. Press logos: legible ---------------------------------------
   They were 16-24px at 42% opacity and greyscaled, which made them almost
   invisible. Full opacity, true colour, and roughly half again the size —
   a credit worth having is a credit worth reading. */
.logo-row { gap: clamp(2rem, 5vw, 4.5rem); }

.logo-row img {
  height: clamp(26px, 2.8vw, 40px);
  width: auto;
  max-width: 190px;
  object-fit: contain;
  opacity: 1;
  filter: none;
  transition: opacity 0.35s var(--ease);
}
.logo-row img:hover { opacity: 0.75; }
