/* ==========================================================================
   Pilgrim Path — site styles
   Palette: limestone of Herzegovina, Marian blue, beeswax candle gold.
   Type: EB Garamond (display, quotes) + Figtree (body, UI).
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/eb-garamond-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/eb-garamond-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/eb-garamond-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/eb-garamond-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/eb-garamond-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/eb-garamond-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/eb-garamond-latin-500-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  --stone: #eef0eb;        /* limestone page ground */
  --stone-2: #e2e6df;      /* deeper stone for alternate sections */
  --paper: #f9faf7;        /* lifted panels */
  --line: #c6ccc3;         /* hairlines on stone */
  --ink: #1b2433;          /* body text, blue-black */
  --ink-soft: #4a5566;     /* secondary text */
  --mantle: #1e3a6e;       /* Marian blue */
  --mantle-deep: #142a52;  /* dark bands, footer */
  --candle: #c8962b;       /* beeswax gold, used sparingly */
  --candle-soft: #e9d6a6;
  --olive: #5f7254;        /* hillside scrub */

  --serif: "EB Garamond", "Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.9375rem;
  --step-0: 1.1875rem;   /* 19px body: generous for older readers */
  --step-1: 1.5rem;
  --step-2: clamp(1.75rem, 1.2rem + 1.9vw, 2.5rem);
  --step-3: clamp(2.1rem, 1.3rem + 2.8vw, 3.25rem);
  --step-4: clamp(2.6rem, 1.4rem + 4.6vw, 4.85rem);

  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --wrap: 74rem;
  --measure: 38rem;
  --section: clamp(4rem, 2.5rem + 6vw, 7.5rem);
  --radius: 4px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1rem;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.005em;
  color: var(--mantle-deep);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.2; }

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

a { color: var(--mantle); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--mantle-deep); text-decoration-thickness: 2px; }
a[href^="tel:"] { white-space: nowrap; }

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

::selection { background: var(--candle-soft); color: var(--ink); }

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

.prose { max-width: var(--measure); }
.lede { font-size: 1.3125rem; color: var(--ink-soft); }

.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;
  left: 1rem; top: -4rem;
  z-index: 100;
  background: var(--mantle-deep);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 3rem;
  padding: 0.7em 1.35em;
  border: 2px solid var(--mantle);
  border-radius: var(--radius);
  background: var(--mantle);
  color: #fff;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--mantle-deep); border-color: var(--mantle-deep); color: #fff; }

.btn--quiet { background: transparent; color: var(--mantle); }
.btn--quiet:hover { background: var(--mantle); color: #fff; }

.btn--candle { background: var(--candle); border-color: var(--candle); color: var(--mantle-deep); }
.btn--candle:hover { background: var(--candle-soft); border-color: var(--candle-soft); color: var(--mantle-deep); }

.btn--sm { min-height: 2.6rem; padding: 0.5em 1.05em; font-size: 1rem; }

/* ---------- Announcement strip ---------- */
.announce { background: var(--mantle-deep); color: #e9edf4; font-size: 0.9375rem; line-height: 1.45; }
.announce p { margin-block: 0; padding-block: 0.6rem; }
.announce a { color: #fff; font-weight: 700; text-decoration-color: var(--candle); text-underline-offset: 0.2em; }
.announce a:hover { color: var(--candle-soft); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--mantle-deep);
  text-decoration: none;
}
.brand:hover { color: var(--mantle-deep); }
.brand__mark { width: 2.1rem; height: auto; flex: none; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1;
}

.nav-desktop { display: none; }
.nav-desktop a:not(.btn),
.nav-mobile nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.0625rem;
}
.nav-desktop a:not(.btn):hover,
.nav-mobile nav a:not(.btn):hover { color: var(--mantle); text-decoration: underline; }
.nav-desktop a[aria-current="page"],
.nav-mobile nav a[aria-current="page"] { color: var(--mantle); text-decoration: underline; text-decoration-thickness: 2px; }

.nav-mobile { position: relative; }
.nav-mobile summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.9rem;
  border: 2px solid var(--mantle);
  border-radius: var(--radius);
  color: var(--mantle);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary::before {
  content: "";
  width: 1rem; height: 0.7rem;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
}
.nav-mobile[open] summary { background: var(--mantle); color: #fff; }
.nav-mobile nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  width: min(18rem, calc(100vw - 2 * var(--gutter)));
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -18px rgba(20, 42, 82, 0.45);
}
.nav-mobile nav a:not(.btn) { padding: 0.65rem 0.6rem; border-radius: 3px; }
.nav-mobile nav .btn { margin-top: 0.4rem; }

@media (min-width: 60rem) {
  .nav-mobile { display: none; }
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 1.9rem);
  }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(1.5rem, 1rem + 3vw, 3.5rem) var(--section); }
.hero__inner {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.hero__arch-wrap {
  position: relative;
  justify-self: center;
  width: min(100%, 20rem);
  order: -1;
}
/* the cover photo, shown whole */
.hero__arch {
  margin: 0;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--stone-2);
}
.hero__arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__quote { margin: 0; }
.hero__quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: var(--step-4);
  line-height: 1.04;
  letter-spacing: -0.012em;
  color: var(--mantle-deep);
  margin: 0;
  text-wrap: balance;
  hanging-punctuation: first;
}
.hero__quote p::before { content: "\201C"; margin-left: -0.42em; color: var(--candle); }
.hero__quote p::after { content: "\201D"; color: var(--candle); }
.hero__quote footer {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--ink-soft);
}
.hero__quote p::before,
.hero__quote p::after { font-style: normal; }

.hero__title {
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
  font-size: var(--step-2);
  color: var(--ink);
  max-width: 24ch;
}
.hero__lede { margin-top: 0.85rem; max-width: 34rem; color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

@media (min-width: 30rem) {
  .hero__quote p::before { margin-left: -0.45em; }
}
@media (min-width: 60rem) {
  .hero__inner { grid-template-columns: 1.25fr 1fr; }
  .hero__arch-wrap { order: 0; justify-self: end; width: 100%; max-width: 26rem; }
}

/* the single orchestrated moment: the cover photo is revealed once on load */
@media (prefers-reduced-motion: no-preference) {
  .hero__arch { animation: arch-open 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
  .hero__arch img { animation: arch-settle 2.2s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
  @keyframes arch-open { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes arch-settle { from { transform: scale(1.08); } to { transform: scale(1); } }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--stone-2 { background: var(--stone-2); }

.section-head { max-width: var(--measure); margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--ink-soft); }

/* ---------- Dates ---------- */
.trips {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--mantle-deep);
}
.trip {
  display: grid;
  gap: 0.75rem 2rem;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}
.trip__when { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.trip__days {
  font-family: var(--serif);
  font-size: var(--step-2);
  line-height: 1;
  color: var(--mantle-deep);
  font-variant-numeric: lining-nums;
}
.trip__year { font-size: 1.0625rem; color: var(--ink-soft); }
.trip__what h3 { margin-bottom: 0.35rem; }
.trip__what p { color: var(--ink-soft); margin: 0; }
.trip__book { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.trip__price { margin: 0; font-weight: 700; font-size: 1.25rem; }
.trip__price span { display: block; font-weight: 400; font-size: var(--step--1); color: var(--ink-soft); }

@media (min-width: 60rem) {
  .trip { grid-template-columns: 15rem 1fr auto; align-items: center; }
  .trip__when { flex-direction: column; gap: 0.35rem; }
  .trip__book { justify-content: flex-end; text-align: right; }
}

.trip-terms {
  display: grid;
  gap: 1rem 2rem;
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}
.trip-terms strong { display: block; color: var(--ink); }
@media (min-width: 45rem) { .trip-terms { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Medjugorje story ---------- */
.story { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.story__figure { margin: 0; }
.story__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--stone-2);
}
.story__figure figcaption { margin-top: 0.6rem; font-size: var(--step--1); color: var(--ink-soft); }
@media (min-width: 60rem) {
  .story { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
  .story__figure { position: sticky; top: 2rem; }
}

/* ---------- Pull quote band ---------- */
.band {
  background: var(--mantle-deep);
  color: #e9edf4;
  padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem);
}
.band blockquote { margin: 0 auto; max-width: 52rem; }
.band blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.55rem, 1.1rem + 1.7vw, 2.35rem);
  line-height: 1.3;
  color: #fff;
  text-wrap: pretty;
}
.band blockquote footer { margin-top: 1.5rem; color: var(--candle-soft); font-size: 1.0625rem; }
.band blockquote cite { font-style: italic; }
.band__after { max-width: 52rem; margin: 2.25rem auto 0; padding-top: 1.75rem; border-top: 1px solid rgba(233, 214, 166, 0.35); }
.band__after p { color: #dfe5ee; }

/* ---------- Itinerary ---------- */
.itinerary { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 60rem) { .itinerary { grid-template-columns: 1fr 1fr; } }
.itinerary h3 { margin-bottom: 1.25rem; }

.days, .hours { list-style: none; margin: 0; padding: 0; }
.days li, .hours li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1rem;
  padding-block: 0.9rem;
  border-top: 1px solid var(--line);
}
.days li:last-child, .hours li:last-child { border-bottom: 1px solid var(--line); }
.days__n, .hours__t {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--mantle);
  font-variant-numeric: lining-nums tabular-nums;
}
.days strong, .hours strong { display: block; }
.days span.note, .hours span.note { display: block; color: var(--ink-soft); font-size: 1.0625rem; }
.itinerary__foot { margin-top: 1.25rem; font-size: 1.0625rem; color: var(--ink-soft); }

/* ---------- Included ---------- */
.included { display: grid; gap: 2.5rem; }
@media (min-width: 50rem) { .included { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }
.ticks, .dashes { list-style: none; margin: 0; padding: 0; }
.ticks li, .dashes li { position: relative; padding: 0.55rem 0 0.55rem 2.1rem; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0.2rem; top: 0.95rem;
  width: 0.95rem; height: 0.5rem;
  border-left: 2.5px solid var(--olive);
  border-bottom: 2.5px solid var(--olive);
  transform: rotate(-45deg);
}
.dashes li { color: var(--ink-soft); }
.dashes li::before {
  content: "";
  position: absolute;
  left: 0.2rem; top: 1.3rem;
  width: 0.95rem; height: 2px;
  background: var(--line);
}

/* ---------- Gallery ---------- */
.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: clamp(9rem, 22vw, 14rem);
  grid-auto-flow: dense;
  gap: 0.5rem;
}
.gallery li { margin: 0; }
.gallery a {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 3px;
  background: var(--stone-2);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery a:hover img { transform: scale(1.03); }
.gallery li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery li:nth-child(6) { grid-row: span 2; }
@media (min-width: 45rem) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery li:nth-child(4) { grid-row: span 2; }
  .gallery li:nth-child(8) { grid-column: span 2; }
}
.gallery.is-collapsed .is-extra { display: none; }
.gallery-more { margin-top: 1.5rem; }

/* Lightbox */
.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(12, 22, 42, 0.96);
  color: #fff;
}
.lightbox::backdrop { background: rgba(12, 22, 42, 0.8); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem var(--gutter);
}
.lightbox__count { font-size: 1rem; color: #cfd7e4; }
.lightbox__stage { display: grid; place-items: center; min-height: 0; padding: 0 var(--gutter); }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__nav { display: flex; justify-content: center; gap: 0.75rem; padding: 1rem var(--gutter) 1.5rem; }
.lightbox .btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.lightbox .btn--ghost:hover { background: #fff; color: var(--mantle-deep); border-color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] .lightbox__stage img { animation: fade 0.25s ease both; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}

/* ---------- Testimonial ---------- */
.testimonial { text-align: center; }
.testimonial blockquote { margin: 0 auto; max-width: 46rem; }
.testimonial blockquote p {
  font-family: var(--serif);
  font-size: var(--step-3);
  line-height: 1.15;
  color: var(--mantle-deep);
  text-wrap: balance;
}
.testimonial blockquote footer { margin-top: 1.25rem; color: var(--ink-soft); font-size: 1.0625rem; }

/* ---------- Leaders teaser ---------- */
.leaders { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.leaders img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--stone-2);
}
@media (min-width: 60rem) { .leaders { grid-template-columns: 1fr 1fr; } }

/* ---------- Inquiry form ---------- */
.inquire { display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 60rem) { .inquire { grid-template-columns: 0.85fr 1.15fr; } }
.inquire__aside p { color: var(--ink-soft); }
.inquire__contact {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.inquire__contact p { color: var(--ink); }

.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 700; font-size: 1.0625rem; }
.field .hint { font-weight: 400; color: var(--ink-soft); }
.field__intro { margin: 0 0 0.35rem; color: var(--ink-soft); font-size: 1.0625rem; max-width: var(--measure); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid #9aa3ae;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1.125rem;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--mantle) 50%), linear-gradient(135deg, var(--mantle) 50%, transparent 50%);
  background-position: calc(100% - 1.25rem) 55%, calc(100% - 0.9rem) 55%;
  background-size: 0.36rem 0.36rem, 0.36rem 0.36rem;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--mantle); outline: 3px solid var(--candle-soft); outline-offset: 0; }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #a1262b; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form__note { font-size: var(--step--1); color: var(--ink-soft); margin: 0; }
.form-status {
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--olive);
  background: #e8eee3;
}
.form-status.is-error { border-left-color: #a1262b; background: #f6e6e4; }
.form-status:empty { display: none; }

/* ---------- FAQ ---------- */
.page-head { padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(2.5rem, 2rem + 3vw, 4rem); }
.page-head h1 { font-size: var(--step-4); line-height: 1.04; margin-bottom: 0.35em; }
.page-head p { max-width: var(--measure); color: var(--ink-soft); font-size: 1.3125rem; }

.faq-group + .faq-group { margin-top: clamp(3rem, 6vw, 4.5rem); }
.faq-layout { display: grid; gap: 2rem; }
@media (min-width: 60rem) {
  .faq-layout { grid-template-columns: 16rem 1fr; gap: 4rem; }
  .faq-toc { position: sticky; top: 2rem; align-self: start; }
}
.faq-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.faq-toc a { text-decoration: none; }
.faq-toc a:hover { text-decoration: underline; }
.faq-toc p { font-weight: 700; margin-bottom: 0.6rem; }

.faq { border-top: 2px solid var(--mantle-deep); max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.25;
  color: var(--mantle-deep);
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 0.65rem; height: 0.65rem;
  margin-top: 0.45rem;
  border-right: 2px solid var(--mantle);
  border-bottom: 2px solid var(--mantle);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 0.75rem; }
.faq summary:hover { color: var(--mantle); }
.faq__body { padding: 0 0 1.5rem; max-width: var(--measure); }
.faq__body ul { padding-left: 1.2rem; margin: 0 0 1em; }

/* ---------- Team ---------- */
.founders { display: grid; gap: clamp(1.75rem, 4vw, 2.75rem); }
/* Photos are shown whole. On wider screens they sit side by side at the same height:
   site.js sets each photo's flex-grow to its width/height ratio once it has loaded. */
.founders__photos { display: flex; flex-direction: column; gap: 0.6rem; }
.founders__photos img {
  width: 100%;
  height: auto;
  aspect-ratio: auto 4 / 5;
  border-radius: var(--radius);
  background: var(--stone-2);
}
@media (min-width: 45rem) {
  .founders__photos { flex-direction: row; align-items: flex-start; }
  .founders__photos img { flex: 1 1 0; width: 0; min-width: 0; }
}
.founders__text h2 { font-size: var(--step-3); margin-bottom: 0.2em; }
.role { font-size: 1.125rem; color: var(--olive); font-weight: 700; margin-bottom: 1.1rem; }

.team {
  list-style: none;
  margin: clamp(3.5rem, 7vw, 6rem) 0 0;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2.75rem 2rem;
}
@media (min-width: 45rem) { .team { grid-template-columns: repeat(3, 1fr); } }
.person img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 25%;
  border-radius: var(--radius);
  background: var(--stone-2);
  margin-bottom: 1rem;
}
.person h3 { margin-bottom: 0.15rem; }
.person .role { margin-bottom: 0.5rem; font-size: 1.0625rem; }
.person p { font-size: 1.0625rem; }

/* ---------- Closing CTA ---------- */
.cta {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 2px solid var(--mantle-deep);
}
.cta h2 { font-size: var(--step-2); margin: 0; max-width: 22ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--mantle-deep);
  color: #d5dce8;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: 1.0625rem;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--candle-soft); }
.site-footer__grid { display: grid; gap: 2.25rem; }
@media (min-width: 50rem) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer .brand__name { font-size: 1.85rem; }
.site-footer h2 {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--candle-soft);
  margin-bottom: 0.75rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.site-footer__tagline { margin-top: 1rem; max-width: 26rem; }
.site-footer__legal {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(213, 220, 232, 0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  font-size: var(--step--1);
  color: #aeb8c9;
}

/* ---------- 404 ---------- */
.not-found { padding-block: clamp(3rem, 8vw, 7rem); max-width: 40rem; }
.not-found h1 { font-size: var(--step-4); line-height: 1.04; }
.not-found ul { padding-left: 1.2rem; }

@media print {
  .site-header nav, .nav-mobile, .hero__actions, .gallery-more, .form, .lightbox { display: none !important; }
  body { background: #fff; }
  .band { background: none; color: var(--ink); }
  .band blockquote p { color: var(--ink); }
}

/* ---------- Brand mark (inline SVG) ---------- */
.brand__mark .m-arch { fill: var(--mark-arch, #1e3a6e); }
.brand__mark .m-path { fill: none; stroke: var(--mark-path, #eef0eb); stroke-width: 2.6; stroke-linecap: round; }
.brand__mark .m-cross { fill: var(--candle); }
.site-footer .brand__mark { --mark-arch: #eef0eb; --mark-path: #142a52; }

/* ---------- Video (optional section, commented out in index.html) ---------- */
.video { aspect-ratio: 16 / 9; max-width: 56rem; background: var(--stone-2); border-radius: var(--radius); overflow: hidden; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
