/* =====================================================================
   Fidelstine: photos, motion and the newer sections.
   Loaded on every device after base.css. Media queries here use the same
   breakpoints as the device files: phone up to 699px, tablet 700-1099px,
   desktop 1100px and up. Every animation stops for reduced motion.
   ===================================================================== */

:root { interpolate-size: allow-keywords; }

/* ---------- page-to-page fade (browsers that support it) ---------- */
@view-transition { navigation: auto; }
.masthead { view-transition-name: masthead; }
.tabbar { view-transition-name: tabbar; }
::view-transition-old(root) { animation: vt-out 0.25s var(--ease) both; }
::view-transition-new(root) { animation: vt-in 0.45s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- reading progress: a brass thread under the masthead ---------- */
.progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, var(--coral), var(--brass) 45%, var(--brass-2));
  transform-origin: left; transform: scaleX(var(--p, 0));
}

/* ---------- entrances on page load ---------- */
.js .rise { animation: rise 0.9s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
.hero__title .line { display: block; overflow: hidden; padding: 0 0.12em 0.1em 0; margin-bottom: -0.1em; }
.js .hero__title .line > span { display: inline-block; animation: line-up 1.05s var(--ease) both; animation-delay: calc(var(--d, 0) * 120ms + 80ms); }
@keyframes line-up { from { transform: translateY(108%); } }
.js .page-hero__inner > *, .js .contact__head > * { animation: rise 0.9s var(--ease) both; }
.js .page-hero__inner > :nth-child(2), .js .contact__head > :nth-child(2) { animation-delay: 0.1s; }
.js .page-hero__inner > :nth-child(3), .js .contact__head > :nth-child(3) { animation-delay: 0.2s; }
.js .page-hero__inner > :nth-child(4), .js .contact__head > :nth-child(4) { animation-delay: 0.3s; }
.js .page-hero__inner > :nth-child(n + 5), .js .contact__head > :nth-child(n + 5) { animation-delay: 0.4s; }

/* reveals follow each other within a group */
.js .reveal { transition-delay: calc(min(var(--i, 0), 5) * 90ms); }
/* photos open like a curtain and settle */
/* (the clip sits on the image, not the frame, so the scroll watcher can still see the frame) */
.js .reveal--wipe { opacity: 1; transform: none; transition: background-color 0.6s; }
.js .reveal--wipe:not(.is-in) { background-color: transparent; }
.js .reveal--wipe img { clip-path: inset(0 0 100% 0); transform: scale(1.18); transition: clip-path 1.1s var(--ease), transform 1.4s var(--ease); }
.js .reveal--wipe.is-in img { clip-path: inset(0); transform: none; }
.js .reveal--wipe > :not(picture):not(img) { transition: opacity 0.5s 0.6s; }
.js .reveal--wipe:not(.is-in) > :not(picture):not(img) { opacity: 0; }

/* ---------- buttons: a sheen across the brass ones ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn--brass::after, .btn--ink::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.8s var(--ease);
}
.btn--ink::after { background: linear-gradient(110deg, transparent 30%, rgba(207, 175, 92, 0.35) 50%, transparent 70%); }
.btn--brass:hover::after, .btn--ink:hover::after { transform: translateX(120%); }

/* ---------- spotlight that follows the pointer on cards ---------- */
[data-glow] { position: relative; }
[data-glow]::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(207, 175, 92, 0.16), transparent 60%);
}
[data-glow]:hover::before { opacity: 1; }

/* ---------- photo with enlarge button and caption ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--r); background: var(--indigo); margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform 0.9s var(--ease); }
@media (hover: hover) { .photo:hover img { transform: scale(1.045); } }
.photo__zoom {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: rgba(255, 253, 249, 0.92); color: var(--indigo);
  box-shadow: 0 6px 16px -8px rgba(12, 20, 41, 0.6); opacity: 0; transform: scale(0.8); transition: opacity 0.25s, transform 0.25s var(--ease);
}
.photo__zoom .i { width: 17px; height: 17px; }
.photo:hover .photo__zoom, .photo__zoom:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .photo__zoom { opacity: 0.94; transform: none; width: 34px; height: 34px; } }
.photo__caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px;
  padding: 36px 14px 12px; font-size: 0.84rem; line-height: 1.35; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(12, 20, 41, 0.82));
}
.photo__place { display: inline-flex; align-items: center; gap: 4px; color: var(--brass-2); font-weight: 600; }
.photo__place .i { width: 14px; height: 14px; }
.photo-note { margin-top: 22px; font-size: 0.86rem; color: var(--muted); }
.photo-note a { color: var(--indigo); font-weight: 600; }
.photo-note--center { text-align: center; padding: 8px var(--gutter) 40px; max-width: none; }

/* ---------- lightbox ---------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(8, 12, 26, 0.95); color: #fff; overflow: hidden;
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: fade 0.3s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: calc(14px + env(safe-area-inset-top, 0px)) 18px 10px; }
.lightbox__count { font-size: 0.85rem; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.7); font-variant-numeric: tabular-nums; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; overflow: hidden; padding: 0 70px; touch-action: pan-y; }
.lightbox__img { max-width: min(100%, 1500px); max-height: calc(100dvh - 190px); width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8); animation: lb-in 0.45s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(0.96); } }
.lightbox__bar { display: grid; gap: 4px; justify-items: center; text-align: center; padding: 16px 18px calc(18px + env(safe-area-inset-bottom, 0px)); }
.lightbox__caption { font-family: var(--display); font-size: 1.25rem; }
.lightbox__credit { font-size: 0.8rem; color: rgba(255, 255, 255, 0.62); }
.lightbox__credit a { color: var(--brass-2); }
.lightbox button { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.06); color: #fff; transition: background-color 0.2s, border-color 0.2s; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--brass); }
.lightbox button .i { width: 20px; height: 20px; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; translate: 0 -50%; }
.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }
.lightbox :focus-visible { outline-color: var(--brass); }
@media (max-width: 699px) {
  .lightbox__stage { padding: 0 8px; }
  .lightbox__img { max-height: calc(100dvh - 240px); }
  .lightbox__stage { overflow: visible; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: -58px; translate: none; width: 42px; height: 42px; }
  .lightbox__caption { font-size: 1.05rem; max-width: 70%; }
}

/* ---------- back to top, with reading progress round the edge ---------- */
.totop {
  position: fixed; right: 18px; bottom: calc(var(--tabbar-h) + 18px); z-index: 45;
  width: 52px; height: 52px; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center;
  background: var(--surface); color: var(--indigo); box-shadow: 0 12px 28px -12px rgba(12, 20, 41, 0.55);
  opacity: 0; transform: translateY(12px) scale(0.9); pointer-events: none; transition: opacity 0.3s, transform 0.35s var(--ease);
}
.totop.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.totop__ringsvg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop circle { fill: none; stroke-width: 2.5; }
.totop__track { stroke: var(--line); }
.totop__ring { stroke: var(--brass-ink); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); stroke-linecap: round; }
.totop .i { width: 20px; height: 20px; transition: transform 0.25s var(--ease); }
.totop:hover .i { transform: translateY(-2px); }
@media (max-width: 699px) { .totop { right: 14px; width: 46px; height: 46px; } .tabbar.is-hidden ~ .totop { bottom: 18px; } }

/* ---------- home hero: the turning seal, tilt and depth ---------- */
.seal {
  position: absolute; z-index: 3; width: 148px; height: 148px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); box-shadow: 0 20px 40px -18px rgba(12, 20, 41, 0.6);
  border: 1px solid var(--line);
}
.seal svg { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); animation: spin 36s linear infinite; overflow: visible; }
.seal text { font-family: var(--sans); font-size: 15.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; fill: var(--indigo); }
.seal img { width: 46px; height: auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.mosaic__item { translate: 0 var(--py, 0px); transition: translate 0.2s linear; }
.mosaic__item a { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.5s var(--ease), box-shadow 0.4s; will-change: transform; }
.mosaic__item a.is-tilting { transition: transform 0.08s linear; }
.mosaic__item a::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(300px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.28), transparent 55%);
}
.mosaic__item a.is-tilting::after { opacity: 1; }
@media (min-width: 1100px) { .hero__art { padding-block: 64px 96px; } .seal { left: -66px; top: 64px; } }
@media (min-width: 700px) and (max-width: 1099px) { .hero__art { position: relative; } .seal { right: -18px; top: -52px; width: 120px; height: 120px; } .seal text { font-size: 17px; } .seal img { width: 38px; } }
@media (max-width: 699px) { .seal { display: none; } }

/* ---------- numbers band ---------- */
.stats { background: var(--surface); border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) var(--gutter); }
.stats__list { max-width: var(--maxw); margin-inline: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.stats__list li { display: grid; gap: 8px; align-content: start; padding-left: 22px; border-left: 1px solid var(--line-2); position: relative; }
.stats__list li::before { content: ""; position: absolute; left: -4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.stats__list li:nth-child(3n + 2)::before { background: var(--brass); }
.stats__list li:nth-child(3n)::before { background: var(--indigo); }
.stats__list strong { font-family: var(--display); font-weight: 500; font-size: clamp(3rem, 2rem + 3.4vw, 4.8rem); line-height: 0.95; color: var(--indigo); font-variant-numeric: lining-nums tabular-nums; }
.stats__list span { color: var(--ink-2); font-size: 0.95rem; max-width: 24ch; }
@media (max-width: 1099px) { .stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; } }
@media (max-width: 699px) { .stats__list li { padding-left: 16px; } .stats__list span { font-size: 0.86rem; } }

/* ---------- "Up close" photo rail ---------- */
.showcase { padding-block: clamp(64px, 9vw, 120px); background: var(--paper-2); overflow: hidden; }
.rail { max-width: none; margin-inline: calc(-1 * var(--gutter)); --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); }
.rail__track {
  display: flex; align-items: flex-start; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px var(--edge) 10px; scroll-padding-inline: var(--edge);
  cursor: grab; outline-offset: -4px;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.rail__track.is-dragging img { pointer-events: none; }
.rail__item { flex: 0 0 clamp(250px, 28vw, 370px); scroll-snap-align: start; display: grid; gap: 4px; }
.rail__photo img { aspect-ratio: 4 / 5; }
.rail__item:nth-child(even) { padding-top: 48px; }
.rail__item:nth-child(even) .rail__photo img { aspect-ratio: 1 / 1; }
.rail__tag { margin-top: 12px; display: flex; align-items: baseline; gap: 10px; font-weight: 600; font-size: 1.05rem; }
.rail__tag .numeral { font-size: 1.1rem; }
.rail__place { color: var(--muted); font-size: 0.88rem; padding-left: 34px; }
.rail__controls { display: flex; align-items: center; gap: 16px; max-width: var(--maxw); margin: 26px auto 0; padding-inline: var(--gutter); }
.rail__bar { flex: 1; height: 2px; border-radius: 2px; background: var(--line-2); position: relative; overflow: hidden; }
.rail__bar span { position: absolute; inset: 0; background: var(--indigo); transform-origin: left; transform: scaleX(var(--p, 0.15)); transition: transform 0.15s linear; }
.rail__btn { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--surface); color: var(--indigo); transition: background-color 0.2s, color 0.2s, opacity 0.2s; }
.rail__btn:hover:not(:disabled) { background: var(--indigo); color: var(--on-dark); }
.rail__btn:disabled { opacity: 0.35; cursor: default; }
.rail__btn .i { width: 20px; height: 20px; }
.showcase .photo-note { max-width: var(--maxw); }
@media (max-width: 699px) {
  .showcase { padding-block: 56px; }
  .rail__item { flex-basis: 76%; }
  .rail__item:nth-child(even) { padding-top: 28px; }
  .rail__btn { width: 42px; height: 42px; }
}

/* ---------- home events teaser: dishes on plates ---------- */
.plates { display: flex; padding-left: 14px; margin-block: 6px 2px; }
.plate { position: relative; margin-left: -14px; rotate: var(--r, 0deg); transition: rotate 0.45s var(--ease), translate 0.45s var(--ease); }
.plate img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 5px solid var(--surface); box-shadow: 0 14px 26px -14px rgba(12, 20, 41, 0.6); }
.plate span {
  position: absolute; left: 50%; bottom: -8px; translate: -50% 100%; opacity: 0; pointer-events: none; white-space: nowrap;
  font-size: 0.78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--indigo); color: var(--on-dark); transition: opacity 0.25s;
}
.plate:hover { rotate: 0deg; translate: 0 -8px; z-index: 2; }
.plate:hover span { opacity: 1; }
@media (max-width: 699px) { .plate img { width: 78px; height: 78px; border-width: 4px; } }

/* ---------- craft page ---------- */
.fan { position: relative; height: 180px; margin-top: 6px; }
.fan__card {
  position: absolute; top: 0; width: 132px; height: 168px; object-fit: cover; border-radius: 12px;
  border: 5px solid var(--surface); box-shadow: 0 20px 36px -18px rgba(12, 20, 41, 0.6);
  transition: transform 0.6s var(--ease);
}
.fan__card--1 { left: 0; transform: rotate(-7deg); }
.fan__card--2 { left: 96px; transform: rotate(3deg) translateY(6px); z-index: 1; }
.fan__card--3 { left: 192px; transform: rotate(9deg); }
@media (min-width: 1100px) {
  .page-hero--craft .page-hero__inner { padding-right: 460px; }
  .fan { position: absolute; right: 10px; top: 50%; width: 420px; height: 400px; margin: 0; translate: 0 -50%; }
  .fan__card { width: 220px; height: 290px; top: 40px; }
  .fan__card--1 { left: 0; }
  .fan__card--2 { left: 100px; top: 70px; }
  .fan__card--3 { left: 200px; top: 30px; }
  .page-hero--craft:hover .fan__card--1 { transform: rotate(-12deg) translate(-26px, -6px); }
  .page-hero--craft:hover .fan__card--2 { transform: rotate(0deg) translateY(-12px); }
  .page-hero--craft:hover .fan__card--3 { transform: rotate(14deg) translate(26px, -4px); }
}
.fan__card { animation: float 7s ease-in-out infinite; }
.fan__card--2 { animation-delay: -2.3s; }
.fan__card--3 { animation-delay: -4.6s; }
@keyframes float { 50% { translate: 0 -8px; } }

.craft-block__media .photo img { aspect-ratio: 4 / 5; }
.craft-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.craft-gallery .photo img { aspect-ratio: 4 / 3; }
@media (max-width: 699px) {
  .craft-block__media .photo img { aspect-ratio: 5 / 4; }
  .craft-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 18px calc(-1 * var(--gutter)) 0; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); gap: 10px; }
  .craft-gallery::-webkit-scrollbar { display: none; }
  .craft-gallery .photo { flex: 0 0 82%; scroll-snap-align: start; }
}

.collection { --pad: clamp(22px, 3vw, 34px); padding: var(--pad); overflow: hidden; }
.collection__media { display: block; margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) 8px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--indigo); }
.collection__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.collection:hover .collection__media img { transform: scale(1.05); }
.collection__media + .collection__icon { margin-top: -40px; position: relative; z-index: 1; border: 4px solid var(--paper); width: 56px; height: 56px; }
@media (max-width: 699px) { .collection { --pad: 18px; } .collection__media { display: none; } .collection__media + .collection__icon { margin-top: 0; border: 0; width: 48px; height: 48px; } }

/* ---------- events page ---------- */
.ev-visual { position: relative; display: grid; gap: 16px; }
.ev-visual__photo img { aspect-ratio: 16 / 10; }
@media (min-width: 1100px) {
  .page-hero--events .page-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); column-gap: 80px; align-items: center; }
  .page-hero--events .page-hero__inner > * { grid-column: 1; }
  .page-hero--events .ev-visual { grid-column: 2; grid-row: 1 / span 5; display: block; padding: 0 0 70px 60px; }
  .ev-visual__photo { border-radius: 26px; box-shadow: var(--shadow); }
  .ev-visual__photo img { aspect-ratio: 4 / 5; }
  .page-hero--events .ev-visual .pill-list--hero {
    position: absolute; left: 0; bottom: 0; z-index: 2; display: grid; gap: 0; width: 290px;
    padding: 28px 30px 18px; border-radius: 20px; color: var(--on-dark);
    background: var(--indigo) var(--adire); background-size: 56px 56px; box-shadow: 0 30px 60px -24px rgba(12, 20, 41, 0.7);
    animation: float 8s ease-in-out infinite;
  }
  .page-hero--events .ev-visual .pill-list--hero::before { content: "We cater for"; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); margin-bottom: 4px; }
  .page-hero--events .ev-visual .pill-list--hero li { border: 0; border-bottom: 1px solid var(--line-dark); border-radius: 0; background: none; padding: 11px 0; font-family: var(--display); font-size: 1.4rem; line-height: 1.15; }
  .page-hero--events .ev-visual .pill-list--hero li:last-child { border-bottom: 0; }
}

.menu-card { --pad: clamp(24px, 3vw, 36px); padding: var(--pad); }
.menu-card__media { display: block; margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) 6px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--indigo); }
.menu-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.menu-card:hover .menu-card__media img { transform: scale(1.05); }
@media (min-width: 700px) and (max-width: 1099px) {
  .styles__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .menu-card { grid-template-columns: 1fr; }
  .menu-card > * { grid-column: 1 !important; grid-row: auto !important; }
  .menu-card h3 { font-size: 1.6rem; }
}

.dishes { padding-block: clamp(64px, 9vw, 120px); }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 250px); gap: 14px; }
.bento__item { position: relative; border-radius: var(--r); overflow: hidden; }
.bento__item--1 { grid-column: span 2; grid-row: span 2; }
.bento__photo { height: 100%; border-radius: 0; }
.bento__item::after { content: ""; position: absolute; inset: 40% 0 0; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(12, 20, 41, 0.78)); }
.bento__label { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; pointer-events: none; display: grid; gap: 2px; color: #fff; font-family: var(--display); font-size: 1.25rem; line-height: 1.15; transition: transform 0.4s var(--ease); }
.bento__item--1 .bento__label { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); }
.bento__label span { font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-2); }
.bento__item:hover .bento__label { transform: translateY(-4px); }
@media (max-width: 699px) {
  .dishes { padding-block: 56px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 10px; }
  .bento__label { left: 12px; bottom: 10px; font-size: 1.02rem; }
}

/* ---------- business: how we work ---------- */
.process { padding-block: clamp(56px, 8vw, 110px); }
.process__list { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.process__list::before {
  content: ""; position: absolute; left: 0; right: 0; top: 64px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--brass) 0 10px, transparent 10px 20px);
  animation: thread 1.6s linear infinite;
}
@keyframes thread { to { background-position: 20px 0; } }
.process__step { position: relative; display: grid; gap: 10px; align-content: start; padding: 30px 28px 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.process__step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.process__num { font-family: var(--display); font-style: italic; font-size: 3.2rem; line-height: 1; color: var(--brass-ink); }
.process__step h3 { font-family: var(--display); font-weight: 500; font-size: 1.55rem; line-height: 1.15; }
.process__step p { color: var(--ink-2); }
@media (max-width: 1099px) {
  .process__list { grid-template-columns: 1fr; gap: 14px; }
  .process__list::before { left: 44px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--brass) 0 10px, transparent 10px 20px); animation-name: thread-v; }
  .process__step { grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; padding: 22px; }
  .process__num { grid-row: span 2; font-size: 2.4rem; }
}
@keyframes thread-v { to { background-position: 0 20px; } }

/* ---------- questions ---------- */
.faq { padding-block: clamp(64px, 9vw, 120px); }
.faq__inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq__head { display: grid; gap: 14px; justify-items: start; position: sticky; top: calc(var(--masthead-h) + 32px); }
.faq__head h2 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.2rem); }
.faq__head > p:not(.eyebrow) { color: var(--ink-2); max-width: 40ch; }
.faq__list { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font-weight: 600; font-size: 1.1rem; line-height: 1.35; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--indigo); }
.faq__icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: currentColor; translate: -50% -50%; transition: rotate 0.35s var(--ease); }
.faq__icon::after { rotate: 90deg; }
.faq__item[open] .faq__icon { background: var(--indigo); border-color: var(--indigo); color: var(--on-dark); }
.faq__item[open] .faq__icon::after { rotate: 0deg; }
.faq__a p { padding: 0 54px 24px 0; color: var(--ink-2); max-width: 62ch; }
@supports selector(::details-content) {
  .faq__item::details-content { height: 0; overflow: clip; transition: height 0.45s var(--ease), content-visibility 0.45s allow-discrete; }
  .faq__item[open]::details-content { height: auto; }
}
@media (max-width: 1099px) {
  .faq__inner { grid-template-columns: 1fr; gap: 28px; }
  .faq__head { position: static; }
}
@media (max-width: 699px) {
  .faq { padding-block: 56px; }
  .faq__item summary { font-size: 1rem; padding: 18px 0; }
  .faq__a p { padding-right: 0; }
}

/* ---------- about: photo band and the Swansea photo ---------- */
.band { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: clamp(380px, 62vh, 640px); color: #fff; text-align: center; }
.band__media { position: absolute; inset: -14% 0; z-index: -2; translate: 0 var(--py, 0px); }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 20, 41, 0.5), rgba(12, 20, 41, 0.78)); }
.band__text { display: grid; justify-items: center; gap: 30px; padding: 72px var(--gutter); }
.band__quote { font-family: var(--display); font-size: clamp(2.4rem, 1.3rem + 4.4vw, 5.2rem); line-height: 1.04; letter-spacing: -0.01em; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35); }
.band__quote em { color: var(--brass); }

.visit__photo { grid-column: 1 / -1; position: relative; }
.visit__photo .photo img { aspect-ratio: 21 / 8; }
.visit__pin { position: absolute; left: 18px; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(255, 253, 249, 0.94); color: var(--indigo); font-weight: 600; font-size: 0.92rem; box-shadow: var(--shadow); }
.visit__pin .i { width: 18px; height: 18px; color: var(--coral); }
@media (max-width: 699px) { .visit__photo .photo img { aspect-ratio: 4 / 3; } .visit__pin { left: 12px; bottom: 12px; font-size: 0.85rem; } }

/* ---------- two offices (About, footer) ---------- */
.visit__offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.visit__office { display: grid; gap: 8px; align-content: start; padding-top: 14px; border-top: 1px solid var(--line-2); }
.visit__label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-ink); }
.visit__offices .visit__address { font-size: 1.05rem; }
.footer__office { display: grid; gap: 2px; margin-top: 14px; font-style: normal; }
.footer__office strong { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.footer__office a { color: var(--on-dark-2) !important; }
.footer__office a:hover { color: var(--brass-2) !important; }
@media (max-width: 699px) { .visit__offices { grid-template-columns: 1fr; } }

/* ---------- announcement bar (switched on in the admin panel) ---------- */
.announce { position: relative; z-index: 41; background: var(--indigo); color: var(--on-dark); text-align: center; font-size: 0.92rem; padding: 10px var(--gutter); }
.announce p { max-width: var(--maxw); margin: 0 auto; }
.announce a { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; color: var(--brass-2); font-weight: 600; text-underline-offset: 3px; }
.announce .i { width: 15px; height: 15px; }

/* ---------- testimonials (hidden until staff add real quotes) ---------- */
.voices { padding-block: clamp(64px, 9vw, 120px); background: var(--paper-2); }
.voices__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.voice { display: grid; gap: 18px; align-content: space-between; padding: 30px 30px 26px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); position: relative; }
.voice::before { content: "C"; position: absolute; top: -6px; left: 22px; font-family: var(--display); font-size: 5rem; line-height: 1; color: var(--brass); }
.voice blockquote { margin: 18px 0 0; font-family: var(--display); font-size: 1.22rem; line-height: 1.45; }
.voice__who { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.voice__who span { font-size: 0.88rem; color: var(--muted); }
@media (max-width: 699px) {
  .voices { padding-inline: 0; }
  .voices .section__head { padding-inline: var(--gutter); }
  .voices__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); gap: 12px; }
  .voices__list::-webkit-scrollbar { display: none; }
  .voice { flex: 0 0 86%; scroll-snap-align: start; padding: 26px 22px 22px; }
}

/* editable groups keep the layout of what is inside them */
.info-group, .footer__offices { display: contents; }

/* ---------- photo credits page ---------- */
.credits__list { display: grid; gap: 4px; margin-top: 12px; }
.credits__item { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.credits__item img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.credits__item p { font-size: 0.92rem; }
.credits__title { font-weight: 600; color: var(--ink) !important; font-size: 1rem !important; }
.footer__links { display: flex; gap: 18px; }

/* ---------- reduced motion: everything settles at once ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .rise, .js .hero__title .line > span, .js .page-hero__inner > *, .js .contact__head > * { animation: none; }
  .js .reveal--wipe img { clip-path: none; transform: none; }
  .js .reveal--wipe:not(.is-in) > :not(picture):not(img) { opacity: 1; }
  .seal svg, .fan__card, .process__list::before, .page-hero--events .ev-visual .pill-list--hero { animation: none; }
  .mosaic__item { translate: none; }
  .band__media { translate: none; }
  @view-transition { navigation: none; }
}

/* Safety net: if the script that reveals sections never runs (blocked, failed or an older browser),
   everything still appears after a moment instead of staying invisible. */
@keyframes reveal-safety { to { opacity: 1; transform: none; clip-path: inset(0); } }
.js .reveal:not(.is-in), .js .reveal--wipe:not(.is-in) img { animation: reveal-safety 0.8s var(--ease) 3s forwards; }
