/* Project showcase cards, scoped to the #projects section so the rest of
   the (light-mint) Al Ryum site is untouched. */
.ar-showcase-host { width: 100vw; margin-left: calc(50% - 50vw); }
.ar-showcase { background: #0b1416; color: #f2fbfa; padding: clamp(4rem, 9vw, 8rem) 0; overflow: hidden; width: 100%; }
.ar-showcase__head { max-width: 1400px; margin: 0 auto; padding: 0 clamp(1.5rem, 6vw, 5rem); display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.ar-showcase__kicker { display: block; color: #c8a86e; font-size: .66rem; font-weight: 800; letter-spacing: .2em; margin-bottom: 1rem; }
.ar-showcase__title { margin: 0; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(2.4rem, min(6vw, 9.3vh), 6rem); font-weight: 400; letter-spacing: -.02em; line-height: .92; max-width: 16ch; }
.ar-showcase__count { color: rgba(242,251,250,.5); font-size: .7rem; font-weight: 700; letter-spacing: .14em; white-space: nowrap; }
.ar-showcase__rail { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; scroll-behavior: auto; }
.ar-showcase__rail::-webkit-scrollbar { display: none; }
.ar-showcase__rail::-webkit-scrollbar { width: 0; height: 0; }
.ar-showcase__hint { max-width: 1400px; margin: 0 auto; padding: 1.4rem clamp(1.5rem, 6vw, 5rem) 0; color: rgba(242,251,250,.38); font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-align: right; }
.ar-showcase__filters { max-width: 1400px; margin: 0 auto 2.6rem; padding: 0 clamp(1.5rem, 6vw, 5rem); display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.ar-showcase__search { flex: 1 1 220px; min-width: 200px; background: rgba(9,20,22,.55); border: 1px solid rgba(242,251,250,.16); border-radius: .5rem; padding: .75rem 1rem; color: #f2fbfa; font-size: .85rem; outline: none; transition: border-color .2s ease; }
.ar-showcase__search::placeholder { color: rgba(242,251,250,.4); }
.ar-showcase__search:focus { border-color: #c8a86e; }
.ar-showcase__select { background: rgba(9,20,22,.55); border: 1px solid rgba(242,251,250,.16); border-radius: .5rem; padding: .75rem 2.2rem .75rem 1rem; color: #f2fbfa; font-size: .78rem; font-weight: 600; letter-spacing: .06em; cursor: pointer; outline: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23c8a86e' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; }
.ar-showcase__select:focus { border-color: #c8a86e; }
.ar-showcase__select option { background: #0b1416; color: #f2fbfa; }
.ar-showcase__empty { max-width: 1400px; margin: 0 auto; padding: 4rem clamp(1.5rem, 6vw, 5rem); text-align: center; color: rgba(242,251,250,.6); font-size: .9rem; }
.ar-showcase__empty button { color: #c8a86e; background: none; border: none; cursor: pointer; font-size: .9rem; text-decoration: underline; }
.ar-showcase__rail-wrap { position: relative; padding: 0; }
.ar-showcase__arrow { position: absolute; top: 2.75rem; transform: none; z-index: 30; width: 4.2rem; height: 4.2rem; display: inline-flex; align-items: center; justify-content: center; background: rgba(9,20,22,.9); border: 1px solid rgba(242,251,250,.18); border-radius: 50%; color: #c8a86e; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .18s ease; backdrop-filter: blur(7px); }
.ar-showcase__arrow:hover { border-color: #c8a86e; background: rgba(200,168,110,.14); }
.ar-showcase__arrow:active { transform: scale(.92); }
.ar-showcase__arrow--left { left: clamp(.75rem, 2vw, 2rem); }
.ar-showcase__arrow--right { right: clamp(.75rem, 2vw, 2rem); }
@media (max-width: 760px) { .ar-showcase__arrow { width: 2.9rem; height: 2.9rem; } }

.ar-showcase-card { flex: 0 0 min(58vw, 34rem); min-height: clamp(25rem, 40vw, 31rem); display: grid; grid-template-rows: 1fr 18rem; border-top: 1px solid rgba(242,251,250,.14); border-bottom: 1px solid rgba(242,251,250,.14); cursor: pointer; transition: background .3s ease; }
.ar-showcase-card:hover { background: rgba(9,20,22,.5); }
.ar-showcase-card__body { padding: clamp(1.25rem, 2.4vw, 2.1rem); display: flex; flex-direction: column; }
.ar-showcase-card__eyebrow { color: #c8a86e; font-size: .62rem; font-weight: 800; letter-spacing: .18em; margin-bottom: 1.1rem; }
.ar-showcase-card__title { margin: 0 0 1rem; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(1.7rem, 3vw, 2.9rem); font-weight: 400; letter-spacing: -.015em; line-height: .95; }
.ar-showcase-card__infos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(242,251,250,.14); border-bottom: 1px solid rgba(242,251,250,.14); margin-bottom: 1rem; }
.ar-showcase-card__label { display: block; color: rgba(242,251,250,.45); font-size: .56rem; font-weight: 800; letter-spacing: .16em; margin-bottom: .5rem; }
.ar-showcase-card__value { display: block; color: #f2fbfa; font-size: clamp(1rem, 1.6vw, 1.4rem); font-weight: 600; line-height: 1.3; }
.ar-showcase-card__value--accent { color: #c8a86e; font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 500; letter-spacing: -.02em; }
.ar-showcase-card__summary { margin-bottom: 1rem; }
.ar-showcase-card__sumlabel { display: block; color: rgba(242,251,250,.45); font-size: .56rem; font-weight: 800; letter-spacing: .16em; margin-bottom: .7rem; }
.ar-showcase-card__desc { margin: 0; color: rgba(242,251,250,.66); font-size: .82rem; line-height: 1.62; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ar-showcase-card__cta { margin-top: auto; display: inline-flex; align-items: center; gap: .6rem; color: #c8a86e; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; }
.ar-showcase-card__cta span { transition: transform .25s ease; }
.ar-showcase-card__cta:hover span { transform: translateX(4px); }
.ar-showcase-card__asset { position: relative; min-height: 18rem; overflow: hidden; }
.ar-showcase-card__asset img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 760px) {
  .ar-showcase-card { flex-basis: min(86vw, 24rem); grid-template-rows: auto 15rem; }
  .ar-showcase__head { flex-direction: column; align-items: flex-start; }
  .ar-showcase__title { font-size: clamp(2.2rem, min(11vw, 17.1vh), 3.4rem); }
  .ar-showcase__count { display: none; }
}

/* ══ Project viewer — single screen ══════════════════════════════════════
   The image is the page. Nothing scrolls vertically: the filmstrip scrolls
   horizontally and the details sheet owns its own scroll. Gold #C8A86E,
   mint #c8a86e, ink #07100f.                                                    */

.ar-pd-overlay { position: fixed; inset: 0; z-index: 300; display: none; overflow: clip; }
/* clip (not hidden): the off-screen details sheet must never turn this into a scroll
   container, otherwise scrollIntoView anywhere inside shifts the whole viewer. */
.ar-pd-overlay, .ar-pd-overlay *,
.ar-pd-overlay *::before, .ar-pd-overlay *::after { box-sizing: border-box; }
.ar-pd-overlay.is-open { display: block; }
.ar-pd-backdrop { position: absolute; inset: 0; background: #07100f; }

/* ── stage: the photograph ── */
.ar-pd-stage { position: absolute; inset: 0; margin: 0; background: #07100f; overflow: hidden; contain: paint; }
.ar-pd-hero {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; opacity: 0;
  transition: opacity 1s ease;
}
.ar-pd-hero.is-active { opacity: 1; animation: ar-pd-drift 30s ease-out both; }
@keyframes ar-pd-drift { from { transform: scale(1.015); } to { transform: scale(1.10); } }
.ar-pd-frame-line {
  position: absolute; z-index: 2; pointer-events: none;
  inset: clamp(10px, 1.6vh, 16px);
  border: 1px solid rgba(200,168,110,.42);
}
.ar-pd-vignette { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(125% 95% at 50% 45%, transparent 58%, rgba(7,16,15,.30) 100%); }
.ar-pd-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(7,16,15,.34) 0%, transparent 14%),
    linear-gradient(to top, rgba(7,16,15,.42) 0%, transparent 18%);
}

/* ── framed mode: for images smaller than the frame, show them at native scale over a
   blurred plate instead of stretching them into pixel soup ── */
.ar-pd-overlay.is-framed .ar-pd-stage {
  background-size: cover; background-position: center;
}
.ar-pd-overlay.is-framed .ar-pd-stage::before {
  content: ""; position: absolute; inset: -8%;
  -webkit-backdrop-filter: blur(46px) saturate(1.1); backdrop-filter: blur(46px) saturate(1.1);
}
.ar-pd-overlay.is-framed .ar-pd-stage { filter: none; }
.ar-pd-overlay.is-framed .ar-pd-stage > img.ar-pd-hero {
  object-fit: contain !important;
  width: auto; height: auto;
  max-width: min(88vw, 1200px); max-height: 62vh;
  left: 50%; top: 48%;
  transform: translate(-50%, -50%) !important;
  border-radius: .9rem;
  border: 1px solid rgba(200, 168, 110, .35);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6);
}
.ar-pd-overlay.is-framed .ar-pd-stage > img.ar-pd-hero.is-active { animation: none; }
.ar-pd-overlay.is-framed .ar-pd-scrim,
.ar-pd-overlay.is-framed .ar-pd-vignette {
  background: linear-gradient(to top, rgba(7,16,15,.72) 0%, rgba(7,16,15,.2) 40%, rgba(7,16,15,.45) 100%);
}
.ar-pd-overlay.is-full.is-framed .ar-pd-stage > img.ar-pd-hero { max-height: 88vh; max-width: min(94vw, 1600px); }

/* ── headline ── */
.ar-pd-top {
  position: absolute; z-index: 5;
  top: 0; left: 0; right: 0;
  display: flex; flex-direction: column; gap: .3rem;
  padding: clamp(.95rem, 2vh, 1.45rem) clamp(1.4rem, 4vw, 3.4rem) clamp(1rem, 2.2vh, 1.5rem);
  background: linear-gradient(180deg, #f8f7f3 0%, #f2f0ea 100%);
  border-bottom: 1px solid rgba(200,168,110,.55);
  box-shadow: 0 20px 44px rgba(0,0,0,.3);
}
.ar-pd-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  color: #9a7a3c; font-size: .66rem; font-weight: 800;
  letter-spacing: .22em; text-transform: uppercase;
}
.ar-pd-eyebrow::before { content: ""; width: 2.2rem; height: 1px; background: #b9945a; opacity: .9; }
.ar-pd-title {
  margin: .5rem 0 0; max-width: 30ch;
  font-family: "DM Serif Display", Georgia, serif; font-weight: 400;
  color: #122023;
  font-size: clamp(1.55rem, 2.7vw, 2.7rem); line-height: 1.02; letter-spacing: -.03em;
}

/* ── dock: brief + filmstrip, pinned to the bottom ── */
.ar-pd-dock {
  position: absolute; z-index: 5;
  left: 0; right: 0; bottom: 0;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1rem, 2.4vh, 1.6rem) clamp(1.4rem, 4vw, 3.4rem) clamp(1.1rem, 2.6vh, 1.7rem);
  background: linear-gradient(0deg, rgba(18,32,35,.97) 0%, rgba(18,32,35,.92) 100%);
  border-top: 1px solid rgba(200,168,110,.55);
  box-shadow: 0 -20px 44px rgba(0,0,0,.32);
}
.ar-pd-brief { max-width: min(48ch, 46vw); }
.ar-pd-line {
  display: flex; align-items: center; gap: .7rem; flex-wrap: wrap;
  color: rgba(242,251,250,.82); font-size: clamp(.78rem, .95vw, .92rem);
  letter-spacing: .04em; margin-bottom: .7rem;
}
.ar-pd-line i { width: 4px; height: 4px; border-radius: 50%; background: #c8a86e; opacity: .85; }
.ar-pd-note {
  margin: 0 0 1rem; color: rgba(242,251,250,.7);
  font-size: clamp(.9rem, 1.15vw, 1.08rem); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ar-pd-more {
  font: inherit; font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: #C8A86E; background: rgba(200,168,110,.10); cursor: pointer;
  border: 1px solid rgba(200,168,110,.55); border-radius: 999px; padding: .6rem 1.1rem;
  transition: background .25s, color .25s, border-color .25s;
}
.ar-pd-more:hover { background: #C8A86E; color: #07100f; border-color: #C8A86E; }

.ar-pd-film { width: min(50vw, 620px); }
.ar-pd-film-strip {
  display: flex; gap: .5rem; padding: .2rem .2rem .55rem;
  overflow-x: auto; scrollbar-width: none;
}
.ar-pd-film-strip::-webkit-scrollbar { display: none; }
.ar-pd-frame {
  flex: 0 0 auto; width: 84px; height: 56px; padding: 0; cursor: pointer;
  border: 1px solid rgba(255,255,255,.18); border-radius: .55rem;
  overflow: hidden; background: #0c1a19; opacity: .58;
  transition: opacity .25s, transform .25s, border-color .25s;
}
.ar-pd-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ar-pd-frame:hover { opacity: .92; }
.ar-pd-frame.is-active {
  opacity: 1; border-color: #C8A86E; transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(200,168,110,.28);
}
.ar-pd-film-meta { display: flex; align-items: center; gap: 1rem; }
.ar-pd-count { color: rgba(242,251,250,.75); font-size: .7rem; font-weight: 700; letter-spacing: .16em; }
.ar-pd-pos { position: relative; flex: 1; height: 2px; background: rgba(255,255,255,.16); overflow: hidden; }
.ar-pd-pos i {
  display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(.06);
  background: linear-gradient(90deg, #c8a86e, #C8A86E); transition: transform .35s ease;
}

/* ── project-to-project arrows ── */
.ar-pd-side {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  display: flex; align-items: center; gap: .5rem;
  font: inherit; color: #f2fbfa; cursor: pointer;
  background: rgba(18,32,35,.72); border: 1px solid rgba(200,168,110,.45);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  border-radius: 999px; padding: .65rem .85rem;
  transition: background .25s, border-color .25s, transform .25s;
}
.ar-pd-side:hover { background: rgba(200,168,110,.22); border-color: #C8A86E; }
.ar-pd-side--prev { left: clamp(.7rem, 1.6vw, 1.5rem); }
.ar-pd-side--next { right: clamp(.7rem, 1.6vw, 1.5rem); flex-direction: row-reverse; }
.ar-pd-side-arrow { font-size: 1.05rem; line-height: 1; color: #C8A86E; }
.ar-pd-side-name {
  max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0;
  font-size: .76rem; letter-spacing: .02em;
  transition: max-width .45s cubic-bezier(.22,1,.36,1), opacity .3s, margin .3s;
}
.ar-pd-side:hover .ar-pd-side-name,
.ar-pd-side:focus-visible .ar-pd-side-name { max-width: 15rem; opacity: 1; margin: 0 .45rem; }

/* ── details sheet (its own scroll) ── */
.ar-pd-sheet {
  color: #f2fbfa;                 /* the sheet is dark; never inherit the page's black */
  position: absolute; top: 0; right: 0; z-index: 5;
  width: min(460px, 94vw); height: 100%; overflow-y: auto;
  padding: clamp(1.6rem, 4vh, 2.8rem) clamp(1.4rem, 3vw, 2.4rem) clamp(5rem, 10vh, 7rem);
  background: linear-gradient(to left, rgba(7,16,15,.97), rgba(9,20,19,.94));
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-left: 1px solid rgba(200,168,110,.3);
  transform: translateX(102%); transition: transform .55s cubic-bezier(.22,1,.36,1);
  scrollbar-width: thin; scrollbar-color: rgba(200,168,110,.5) transparent;
}
.ar-pd-overlay.is-panel-open .ar-pd-sheet { transform: none; }
.ar-pd-sheet-close {
  position: absolute; top: 1rem; right: 1rem; width: 2.2rem; height: 2.2rem;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.22);
  background: transparent; color: #f2fbfa; cursor: pointer; transition: border-color .2s, transform .25s;
}
.ar-pd-sheet-close:hover { border-color: #C8A86E; transform: rotate(90deg); }
.ar-pd-sheet-title {
  color: #f2fbfa;
  margin: .9rem 0 1.1rem; font-family: "DM Serif Display", Georgia, serif; font-weight: 400;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.05; letter-spacing: -.03em;
}
.ar-pd-sheet-body { margin: 0; color: rgba(242,251,250,.8); font-size: .98rem; line-height: 1.72; }
/* facts side by side, so they can be compared at a glance */
.ar-pd-sheet .ar-pd-eyebrow { color: #C8A86E; }        /* gold reads on the dark panel */
.ar-pd-sheet .ar-pd-eyebrow::before { background: #C8A86E; }
.ar-pd-sheet-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: .85rem .9rem;
  margin: 1.7rem 0 0; padding: 1.4rem 0 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.ar-pd-sheet-facts .ar-pd-fact-cell {
  padding: .7rem .8rem; border-radius: .7rem;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08);
}
.ar-pd-sheet-facts dt {
  margin: 0 0 .32rem; color: #C8A86E;
  font-size: .55rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase;
}
.ar-pd-sheet-facts dd { margin: 0; color: #f2fbfa; font-size: .92rem; line-height: 1.35; overflow-wrap: anywhere; }

/* ── hover expand affordance: two opposing arrows over the photograph ── */
.ar-pd-stage { cursor: zoom-in; }
.ar-pd-expand {
  position: absolute; z-index: 3; left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(.94);
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  font: inherit; cursor: pointer; color: #f2fbfa;
  background: rgba(7,16,15,.42); border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 999px; padding: 1rem 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .35s cubic-bezier(.22,1,.36,1), border-color .25s, background .25s;
}
.ar-pd-stage:hover .ar-pd-expand,
.ar-pd-expand:focus-visible { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.ar-pd-expand:hover { border-color: #C8A86E; background: rgba(18,32,35,.6); }
.ar-pd-expand-arrows {
  position: relative; display: block; width: 2.4rem; height: 2.4rem;
}
.ar-pd-expand-arrows i {
  position: absolute; font-style: normal; font-size: 1.15rem; line-height: 1;
  color: #C8A86E; transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.ar-pd-expand-tr { top: 0; right: 0; }
.ar-pd-expand-bl { bottom: 0; left: 0; }
.ar-pd-expand:hover .ar-pd-expand-tr { transform: translate(4px, -4px); }
.ar-pd-expand:hover .ar-pd-expand-bl { transform: translate(-4px, 4px); }
.ar-pd-expand-label {
  font-size: .6rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(242,251,250,.9);
}
.ar-pd-overlay.is-full .ar-pd-expand-label { color: #f2fbfa; }
.ar-pd-overlay.is-full .ar-pd-expand .ar-pd-expand-tr { transform: rotate(180deg); }
.ar-pd-overlay.is-full .ar-pd-expand .ar-pd-expand-bl { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) {
  .ar-pd-expand, .ar-pd-expand-arrows i { transition: none; }
}

/* ── full-view mode: bands slide away, photograph edge to edge ── */
.ar-pd-top, .ar-pd-dock, .ar-pd-frame-line {
  transition: transform .6s cubic-bezier(.22,1,.36,1), opacity .4s ease;
}
.ar-pd-overlay.is-full .ar-pd-top { transform: translateY(-103%); }
.ar-pd-overlay.is-full .ar-pd-dock { transform: translateY(103%); }
.ar-pd-overlay.is-full .ar-pd-frame-line { opacity: 0; }
.ar-pd-overlay.is-full .ar-pd-hero.is-active { animation-play-state: paused; }
/* enlarged view shows the ENTIRE photograph (reference lightbox behaviour) */
.ar-pd-overlay.is-full .ar-pd-hero { object-fit: contain; }

.ar-pd-full {
  position: absolute; z-index: 7;
  top: clamp(.95rem, 2.1vh, 1.25rem); right: clamp(4.5rem, 6.6vw, 6.6rem);
  display: inline-flex; align-items: center; gap: .5rem;
  font: inherit; font-size: .63rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase;
  color: #122023; background: rgba(248,247,243,.55); cursor: pointer;
  border: 1px solid rgba(18,32,35,.22); border-radius: 999px; padding: .48rem .8rem;
  opacity: .62;
  transition: opacity .28s ease, background .25s, border-color .25s, color .25s, transform .25s;
}
.ar-pd-overlay.is-hot .ar-pd-full,
.ar-pd-overlay.is-full .ar-pd-full,
.ar-pd-full:hover,
.ar-pd-full:focus-visible { opacity: 1; }
.ar-pd-full:hover { border-color: #b9945a; background: rgba(185,148,90,.22); transform: translateY(1px); }
.ar-pd-full-arrows { font-size: .82rem; line-height: 1; letter-spacing: -.12em; color: #b9945a; }
.ar-pd-overlay.is-full .ar-pd-full {
  color: #f2fbfa; background: rgba(18,32,35,.58);
  border-color: rgba(200,168,110,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.ar-pd-overlay.is-full .ar-pd-full-arrows { color: #C8A86E; transform: rotate(180deg); display: inline-block; }
.ar-pd-overlay.is-full .ar-pd-title { color: #122023; }

/* ── details sheet blocks ── */
.ar-pd-block { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); }
.ar-pd-block--muted { border-top-color: rgba(200,168,110,.22); }
.ar-pd-block-title {
  margin: 0 0 .85rem; color: #C8A86E; font-size: .6rem; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase;
}
.ar-pd-block-sub { margin: -.35rem 0 .9rem; color: rgba(242,251,250,.45); font-size: .78rem; line-height: 1.5; }
.ar-pd-block-body { margin: 0; color: rgba(242,251,250,.78); font-size: .95rem; line-height: 1.7; }
.ar-pd-list { margin: 0; padding: 0; list-style: none; }
.ar-pd-list li {
  position: relative; padding-left: 1.1rem; margin-bottom: .6rem;
  color: rgba(242,251,250,.86); font-size: .95rem; line-height: 1.55;
}
.ar-pd-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border: 1px solid #C8A86E; transform: rotate(45deg);
}
.ar-pd-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.ar-pd-chip {
  color: rgba(242,251,250,.85); font-size: .72rem; letter-spacing: .04em;
  border: 1px solid rgba(200,168,110,.4); border-radius: 999px; padding: .35rem .7rem;
  background: rgba(200,168,110,.08);
}
.ar-pd-related { display: flex; flex-direction: column; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.ar-pd-related-item {
  display: flex; align-items: center; gap: .75rem; width: 100%; cursor: pointer;
  font: inherit; text-align: left; color: #f2fbfa;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  border-radius: .8rem; padding: .5rem; transition: background .25s, border-color .25s, transform .25s;
}
.ar-pd-related-item:hover { background: rgba(200,168,110,.14); border-color: #C8A86E; transform: translateX(3px); }
.ar-pd-related-item img { width: 62px; height: 46px; object-fit: cover; border-radius: .5rem; flex: 0 0 auto; display: block; }
.ar-pd-related-item span { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.ar-pd-related-item b { font-size: .9rem; font-weight: 600; }
.ar-pd-related-item em { font-style: normal; color: rgba(242,251,250,.5); font-size: .74rem; }
.ar-pd-stats { display: flex; flex-wrap: wrap; gap: 1.1rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.ar-pd-stats li { display: flex; flex-direction: column; gap: .1rem; }
.ar-pd-stats b { font-family: "DM Serif Display", Georgia, serif; font-size: 1.15rem; color: #f2fbfa; }
.ar-pd-stats span { color: rgba(242,251,250,.45); font-size: .56rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

.ar-pd-close {
  position: absolute; z-index: 6; top: clamp(1.2rem, 3vh, 1.8rem); right: clamp(1.2rem, 2vw, 1.8rem);
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 1px solid rgba(18,32,35,.22); background: rgba(18,32,35,.05);
  color: #122023; font-size: 1rem; cursor: pointer;
  transition: border-color .2s, transform .25s, background .25s;
}
.ar-pd-close:hover { border-color: #b9945a; background: rgba(185,148,90,.16); transform: rotate(90deg); }

html.ar-pd-html-locked { overflow: hidden; overscroll-behavior: none; }
body.ar-pd-locked { overflow: hidden; overscroll-behavior: none; position: fixed; left: 0; right: 0; width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .ar-pd-hero.is-active { animation: none; }
  .ar-pd-hero, .ar-pd-sheet, .ar-pd-frame, .ar-pd-side, .ar-pd-pos i { transition-duration: .01ms; }
}

@media (max-width: 900px) {
  .ar-pd-top { padding-right: 3.9rem; }
  .ar-pd-title { font-size: clamp(1.35rem, min(6vw, 9.3vh), 1.9rem); }
  .ar-pd-dock { flex-direction: column; align-items: stretch; gap: .9rem; }
  .ar-pd-brief { max-width: none; order: 2; }
  .ar-pd-film { width: 100%; order: 1; }
  .ar-pd-note { -webkit-line-clamp: 3; }
  .ar-pd-side { top: auto; bottom: clamp(13rem, 34vh, 18rem); transform: none; padding: .55rem; }
  .ar-pd-side-name { display: none; }
  .ar-pd-sheet { width: min(94vw, 460px); }
}

.ar-pd-overlay :is(a, button, input, select, [tabindex]):focus-visible {
  outline: 2px solid #c8a86e;
  outline-offset: 3px;
}
.ar-pd-overlay [hidden] { display:none!important; }


/* --- Architectural visualisation block: kept deliberately distinct from site photography --- */
.ar-pd-block-concepts .ar-pd-concept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.ar-pd-concept {
  margin: 0;
  border: 1px solid rgba(200, 168, 110, 0.42);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(18, 32, 35, 0.62);
}
.ar-pd-concept img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: #08100f;
}
.ar-pd-concept figcaption {
  padding: 0.5rem 0.6rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.ar-pd-concept figcaption strong {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f2fbfa;
}
.ar-pd-concept figcaption em {
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #C8A86E;
}

/* ── categorised projects: category header + card grid (replaces the rail) ── */
.ar-showcase__groups { max-width: 1400px; margin: 0 auto; padding: 0 clamp(1.5rem, 6vw, 5rem); display: flex; flex-direction: column; gap: clamp(3rem, 6vw, 5.5rem); }
.ar-showcase__group { display: block; }
.ar-showcase__group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(242,251,250,.16); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.ar-showcase__group-title { margin: 0; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(1.6rem, 3.2vw, 2.6rem); font-weight: 400; letter-spacing: -.03em; line-height: 1; color: #f2fbfa; }
.ar-showcase__group-count { color: #c8a86e; font-size: .62rem; font-weight: 800; letter-spacing: .18em; white-space: nowrap; text-transform: uppercase; }
.ar-showcase__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.4vw, 2.25rem); align-items: stretch; }
.ar-showcase__grid .ar-showcase-card { flex: 1 1 auto; width: 100%; min-width: 0; height: 100%; min-height: clamp(24rem, 34vw, 30rem); }
@media (max-width: 1100px) { .ar-showcase__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .ar-showcase__grid { grid-template-columns: 1fr; }
  .ar-showcase__grid .ar-showcase-card { grid-template-rows: auto 15rem; min-height: 0; }
  .ar-showcase__group-head { flex-direction: column; align-items: flex-start; gap: .5rem; }
}

/* Details open by default: keep the photo controls clear of the details sheet. */
.ar-pd-overlay.is-panel-open .ar-pd-side--next { right: calc(min(460px, 94vw) + clamp(.7rem, 1.6vw, 1.5rem)); }
.ar-pd-overlay.is-panel-open .ar-pd-full { right: calc(min(460px, 94vw) + 1rem); opacity: 1; }
@media (max-width: 720px) {
  /* the sheet is nearly full width here: Full view sits at the sheet's top-left */
  .ar-pd-overlay.is-panel-open .ar-pd-full { right: auto; left: calc(6vw + 1.4rem); top: 1.1rem; }
  .ar-pd-overlay.is-panel-open .ar-pd-sheet { padding-top: 4.4rem; }
  .ar-pd-overlay.is-panel-open .ar-pd-side--next { display: none; }
}
