/* ==========================================================================
   VARIANT I - CATHEDRAL
   Symmetric nave. Everything centred on one axis, pointed arches, ornamental
   dividers. The most devotional of the four: reads like an altarpiece.
   ========================================================================== */

.v1-center { text-align: center; }
.v1-center__lead { margin-inline: auto; text-align: center; }

/* --------------------------------------------------------------- the hero */
.v1-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding-block: clamp(7rem, 14vh, 11rem) clamp(4rem, 10vh, 7rem);
  overflow: hidden;
  isolation: isolate;
}

/* Ember pool behind the type. */
.v1-hero::before {
  content: '';
  position: absolute;
  z-index: -2;
  top: 42%;
  left: 50%;
  translate: -50% -50%;
  width: min(46rem, 110vw);
  aspect-ratio: 1;
  background: radial-gradient(circle,
    color-mix(in oklab, var(--primary) 30%, transparent) 0%,
    transparent 62%);
  filter: blur(28px);
}

.v1-hero__inner {
  display: grid;
  justify-items: center;
  gap: clamp(1.1rem, 2vw, 1.7rem);
  text-align: center;
}

.v1-hero__logo { width: min(38rem, 84vw); margin: 0; }
.v1-hero__logo .mark {
  color: var(--bone);
  filter: drop-shadow(0 0 2.5rem color-mix(in oklab, var(--primary) 55%, transparent));
}

.v1-hero__eyebrow { letter-spacing: 0.34em; color: var(--fg-faint); }

/* Bone rather than red: this line sits directly over red petals, where the
   blood tokens have almost no contrast. The shadow keeps it legible wherever
   the ken-burns drift happens to put a highlight. */
.v1-hero__tag {
  font-size: var(--step-0);
  color: var(--bone);
  letter-spacing: 0.24em;
  text-shadow:
    0 1px 0.35rem color-mix(in oklab, var(--bg) 92%, transparent),
    0 0 1.6rem color-mix(in oklab, var(--bg) 80%, transparent);
}

.v1-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 0.8rem;
}
@media (max-width: 40rem) { .v1-hero__scroll { display: none; } }/* ------------------------------------------------------------- the studio */
.v1-studio__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 56rem) {
  .v1-studio__grid { grid-template-columns: 1fr 0.8fr; }
}
.v1-studio__photo {
  margin: 0;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--rule-strong);
  cursor: zoom-in;
}
.v1-studio__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
  transition: scale 1.2s var(--ease), filter 0.6s var(--ease);
}
.v1-studio__photo:hover img { scale: 1.04; filter: saturate(1.05); }

/* Placeholder while the studio photographs are still to be taken. */
.v1-studio__photo--empty {
  display: grid;
  place-items: center;
  padding: 2rem;
  cursor: default;
  border: 1px dashed var(--rule-strong);
  background-image:
    repeating-linear-gradient(45deg, var(--rule) 0 1px, transparent 1px 10px);
}
.v1-studio__photo--empty p {
  margin: 0;
  max-width: 22ch;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--fg-faint);
}/* Centre relic stands taller, mirroring the triptych. */
/* ------------------------------------------------------------- instagram */
.v1-insta { margin-top: clamp(4rem, 8vw, 7rem); }
.v1-insta__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.v1-insta__title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  margin-top: 0.35rem;
}
.v1-insta__nav { margin-top: 0; }

/* ---------------------------------------------------------- the liturgy */
.v1-liturgy {
  border-top: 1px solid var(--rule);
  background: radial-gradient(ellipse 70% 60% at 20% 30%, var(--blood-wash), transparent 70%);
}
.v1-liturgy__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 56rem) {
  .v1-liturgy__grid { grid-template-columns: 0.85fr 1fr; }
}
.v1-liturgy__photo {
  margin: 0;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--rule-strong);
  cursor: zoom-in;
}
.v1-liturgy__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: saturate(0.92) contrast(1.05);
}
.v1-liturgy__title { margin-block: 0.4rem 1.5rem; }
.v1-liturgy__prose em { color: var(--bone); font-style: italic; }

/* ---------------------------------------------------------------- care */
.v1-care { background: linear-gradient(var(--bg), var(--surface-2)); }
.v1-care__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
}
@media (min-width: 56rem) {
  .v1-care__grid { grid-template-columns: repeat(3, 1fr); }
  /* Vertical hairlines between the three columns, like ruled book gutters. */
  .v1-care__col + .v1-care__col {
    padding-left: clamp(2rem, 4vw, 3.5rem);
    border-left: 1px solid var(--rule);
  }
}
.v1-care__col .card__title { margin-bottom: 1.5rem; }
.v1-care__col .checklist + .checklist { margin-top: 1.25rem; }

/* ----------------------------------------------------------------- faq */
.v1-faq { border-top: 1px solid var(--rule); }

/* ==========================================================================
   ORNAMENT LAYER
   With the invented English copy stripped out the page leans on the drawing
   rather than the words: a ruled plate border, arch outlines, illuminated
   numerals, engraved frames and one botanical band.
   ========================================================================== */

/* ----------------------------------------------------------- hero: bloom
   The botanical plate is the only photograph in the hero - full bleed, dimmed
   just enough to hold the bone-white wordmark, and vignetted into the page. */
.v1-hero__bloom {
  position: absolute;
  inset: -8% 0;
  z-index: -3;
  translate: 0 var(--shift, 0px);
}
.v1-hero__bloom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  filter: saturate(1.1) contrast(1.12) brightness(0.46);
}
/* Darken toward every edge so the section blends into the one below. */
.v1-hero__bloom::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 68% 58% at 50% 44%,
      transparent 12%, color-mix(in oklab, var(--bg) 72%, transparent) 72%),
    linear-gradient(to bottom,
      var(--bg) 0%, transparent 18% 72%, var(--bg) 100%);
}

.v1-center .section__title { position: relative; }

/* ---------------------------------------------------- illuminated numerals
   The care columns are numbered like a manuscript: blackletter, blood red,
   boxed by a hairline. */
.v1-care__col .card__num {
  /* Cinzel, not the blackletter: UnifrakturMaguntia draws a capital I almost
     exactly like a J, so I / II / III read as J / JJ / JJJ. */
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--primary);
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  margin: 0 0 1.25rem;
  border: 1px solid var(--rule-strong);
  background:
    linear-gradient(150deg, color-mix(in oklab, var(--primary) 16%, transparent), transparent 70%);
  text-shadow: 0 0 1.4rem color-mix(in oklab, var(--neon) 45%, transparent);
}

/* --------------------------------------------------- engraved photo frames
   A double rule with a hairline gap, as an engraving plate would be mounted. */
.v1-studio__photo,
.v1-liturgy__photo.v1-studio__photo img,
.v1-liturgy__photo img/* ==========================================================================
   WORK GALLERY
   Fixed-ratio tiles: because every tile reserves its space up front, images
   of any dimension can arrive without shifting the layout.
   ========================================================================== */
/* Two columns by default, three once there is room. Fixed counts rather than
   auto-fill: the photographs should be large, and auto-fill trades size for
   column count as the viewport grows, which is the opposite of what is wanted
   here. */
.gal-grid {
  display: grid;
  gap: clamp(0.6rem, 1.5vw, 1.4rem);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 56rem) {
  .gal-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --------------------------------------------------------- homepage strip
   Five plates in a plain, even row, styled and animated exactly like the
   gallery tiles. An earlier version staggered them into an arc with the centre
   raised; it read as misalignment rather than composition, and because hover
   had to restate each offset it moved the tile under the cursor.
   Numbered I-V with a CSS counter. */
.gal-grid--strip {
  grid-template-columns: repeat(auto-fill, minmax(min(11rem, 100%), 1fr));
  counter-reset: plate;
}
/* On a phone the five would otherwise stack one-per-row. Two columns, with the
   fifth spanning the full width so the last row is not a lone orphan. */
@media (max-width: 44rem) {
  .gal-grid--strip { grid-template-columns: repeat(2, 1fr); }
  .gal-grid--strip .gal-tile:nth-child(5) {
    grid-column: span 2;
    aspect-ratio: 16 / 11;
  }
}
.gal-grid--strip .gal-tile { counter-increment: plate; }

/* Roman plate numeral in the top corner. */
.gal-grid--strip .gal-tile picture::before {
  content: counter(plate, upper-roman);
  position: absolute;
  top: 0.75rem;
  left: 0.85rem;
  z-index: 2;
  font-family: var(--font-script);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  color: var(--bone);
  opacity: 0.75;
  text-shadow: 0 1px 0.4rem color-mix(in oklab, var(--bg) 92%, transparent);
  transition: color 0.4s var(--ease), opacity 0.4s var(--ease);
}
.gal-grid--strip .gal-tile:hover picture::before { color: var(--neon); opacity: 1; }

@media (min-width: 62rem) {
  .gal-grid--strip { grid-template-columns: repeat(5, 1fr); }
}

/* ------------------------------------------------------------- pull-quote */
.v1-quote {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  border-block: 1px solid var(--rule);
  background: radial-gradient(ellipse 70% 100% at 50% 50%, var(--blood-wash), transparent 70%);
  text-align: center;
}
.v1-quote__mark { margin: 0; position: relative; }
/* Oversized blackletter quote mark, sunk behind the text. */
.v1-quote__mark::before {
  content: '\201C';
  position: absolute;
  top: -2.5rem;
  left: 50%;
  translate: -50% 0;
  font-family: var(--font-black);
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 1;
  color: var(--primary);
  opacity: 0.28;
  pointer-events: none;
}
.v1-quote__mark p {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-style: italic;
  line-height: 1.35;
  color: color-mix(in oklab, var(--fg) 88%, var(--bg));
}
.v1-quote__mark em { color: var(--neon); font-style: italic; }

/* Each tile is mounted like an engraving plate: an outer rule, a hairline gap
   of page-black, then the photograph. Corner ticks and a caption arrive on
   hover so the resting state stays quiet. */
.gal-tile {
  margin: 0;
  position: relative;
  aspect-ratio: 3 / 4;
  padding: 0.4rem;
  background: var(--bg);
  border: 1px solid var(--rule);
  cursor: zoom-in;
  isolation: isolate;
  transition: border-color 1.1s var(--ease);
}
.gal-tile:hover { border-color: var(--blood-dim); }

.gal-tile picture { display: block; width: 100%; height: 100%; overflow: hidden; }
.gal-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Held back a touch so the wall reads as one set, then opened up on hover.
     Deliberately slow - the photograph should drift, not snap. */
  filter: saturate(0.9) contrast(1.05) brightness(0.94);
  transition: scale 2s var(--ease), filter 1.2s var(--ease);
}
.gal-tile:hover img { scale: 1.04; filter: saturate(1.06) contrast(1.08) brightness(1); }

/* The hover effect: a vignette that closes slowly inward from the edges,
   darkening the border of the plate and drawing the eye to the centre. An
   inset box-shadow is used because its spread is animatable, which a
   radial-gradient's colour stops are not. */
.gal-tile picture::after {
  content: '';
  position: absolute;
  inset: 0.4rem;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 40%, transparent 45%,
      color-mix(in oklab, var(--bg) 45%, transparent) 100%),
    linear-gradient(200deg, color-mix(in oklab, var(--primary) 10%, transparent), transparent 60%);
  box-shadow: inset 0 0 0 0 transparent;
  opacity: 0.7;
  transition: opacity 1.2s var(--ease), box-shadow 1.5s var(--ease);
}
.gal-tile:hover picture::after {
  opacity: 0.35;
  box-shadow:
    inset 0 0 3.5rem 1.5rem color-mix(in oklab, var(--bg) 78%, transparent),
    inset 0 0 7rem 3.5rem color-mix(in oklab, var(--primary) 22%, transparent);
}

/* Corner ticks, the same flourish used on the cards. */
.gal-tile::before, .gal-tile::after {
  content: '';
  position: absolute;
  z-index: 2;
  width: 0.85rem;
  height: 0.85rem;
  border: 1px solid var(--neon);
  opacity: 0;
  transition: opacity 1.2s var(--ease), inset 1.2s var(--ease);
}
.gal-tile::before { top: 0.9rem; left: 0.9rem; border-width: 1px 0 0 1px; }
.gal-tile::after { bottom: 0.9rem; right: 0.9rem; border-width: 0 1px 1px 0; }
/* The ticks drift outward to their corners as they fade in. */
.gal-tile:hover::before { opacity: 0.9; top: 0.25rem; left: 0.25rem; }
.gal-tile:hover::after { opacity: 0.9; bottom: 0.25rem; right: 0.25rem; }

/* Touch devices get no hover, so the resting wash is lightened. */
@media (hover: none) {
  .gal-tile picture::after { opacity: 0.55; }
}

/* Hatched frame while the folder is still empty. */
.gal-tile--empty {
  cursor: default;
  opacity: 0.4;
  background-image:
    repeating-linear-gradient(45deg, var(--rule) 0 1px, transparent 1px 9px);
}
.gal-tile--empty:hover { border-color: var(--rule); }

.gal-empty {
  margin: clamp(1.5rem, 3vw, 2.25rem) auto 0;
  max-width: 42ch;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--fg-faint);
}

.v1-more { margin: clamp(2rem, 4vw, 3rem) 0 0; text-align: center; }
.v1-more [hidden] { display: none; }

/* ----------------------------------------------------------- gallery page
   Wider than the rest of the site so three columns can be genuinely large:
   at 104rem a column is roughly 500px, against ~220px before. */
.gal-page { padding-block: clamp(7rem, 15vh, 10rem) clamp(4rem, 8vw, 7rem); }
.gal-page > .wrap { width: min(100% - var(--gutter) * 2, 104rem); }
/* The strip on the home page keeps the site's normal measure. */
.gal-page .gal-grid .gal-tile { aspect-ratio: 4 / 5; }
.gal-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.gal-back {
  margin: 0 0 1.25rem;
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.gal-title { font-size: var(--step-3); }
.gal-count {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.gal-more { margin-top: clamp(2.5rem, 5vw, 4rem); text-align: center; }
.gal-more [hidden] { display: none; }
/* ---------------------------------------------------------- botanical band
   A full-bleed decorative strip between sections. Content-free. */
.v1-band {
  position: relative;
  height: clamp(11rem, 26vw, 20rem);
  overflow: hidden;
  border-block: 1px solid var(--rule);
  isolation: isolate;
}
.v1-band__img { position: absolute; inset: -18% 0; translate: 0 var(--shift, 0px); }
.v1-band__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.15) brightness(0.4);
}
.v1-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 120% at 50% 50%, transparent 10%, var(--bg) 90%),
    linear-gradient(90deg, var(--bg), transparent 22% 78%, var(--bg));
}

/* ------------------------------------------------------------ rich surfaces
   Each major section gets its own faint wash so the scroll has shape. */
.v1-studio  { background: radial-gradient(ellipse 90% 70% at 85% 20%, var(--blood-wash), transparent 65%); }
.v1-faq     { background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--blood-wash), transparent 70%); }

/* Hairline verticals framing the FAQ column, like a ruled page. */
.v1-faq .wrap--narrow { position: relative; }
@media (min-width: 56rem) {
  .v1-faq .wrap--narrow::before,
  .v1-faq .wrap--narrow::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(transparent, var(--rule) 15%, var(--rule) 85%, transparent);
  }
  .v1-faq .wrap--narrow::before { left: -2.5rem; }
  .v1-faq .wrap--narrow::after { right: -2.5rem; }
}

/* --------------------------------------------------------- footer sign-off */
.v1-footer__lockup {
  display: grid;
  justify-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--rule);
}
.v1-footer__lockup .footer__mark {
  width: clamp(12rem, 30vw, 19rem);
  color: var(--bone);
  filter: drop-shadow(0 0 2rem color-mix(in oklab, var(--primary) 35%, transparent));
}
.footer__credit { color: var(--fg-faint); }

/* -------------------------------------------------------------- summon */
.v1-summon__intro {
  max-width: 62ch;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.v1-summon__intro p:last-child { margin-bottom: 0; }

.v1-summon {
  border-top: 1px solid var(--rule);
  background: radial-gradient(ellipse 80% 60% at 50% 100%, var(--blood-wash), transparent 70%);
}
.v1-summon__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 60rem) {
  .v1-summon__grid { grid-template-columns: 1.15fr 0.85fr; }
}
.v1-summon__aside { display: grid; gap: 2rem; align-content: start; }
.v1-summon__info { display: grid; gap: 1.5rem; }
.v1-summon__links { display: grid; gap: 0.75rem; }
.v1-summon__hours {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--fg-muted);
}
