/* ============================================================
   Lisa Haas Design & Paint — site styles
   Colors come from the LHD logo: deep plum ground, cream text,
   sage green accent, a little old gold for frames and rules.
   ============================================================ */

:root {
  --plum: #1a0a16;
  --plum-2: #241020;
  --plum-3: #30172a;
  --ink: #120710;
  --cream: #efe4cf;
  --cream-dim: #c6b59c;
  --cream-faint: #8f8070;
  --sage: #9fae76;
  --sage-light: #c6d2a3;
  --gold: #c89b4a;
  --gold-faint: rgba(200, 155, 74, 0.45);
  --serif: "Cormorant Garamond", "Baskerville", "Palatino Linotype", Georgia, serif;
  --sans: "Alegreya Sans", "Gill Sans", "Trebuchet MS", Helvetica, Arial, sans-serif;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--plum);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--sage-light); text-decoration: none; }
a:hover { color: var(--cream); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
button { font: inherit; color: inherit; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: 0.005em; }
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: clamp(21px, 2.2vw, 26px); }
p { margin: 0 0 1em; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.measure { max-width: 66ch; }
.center { text-align: center; }
.center .measure { margin-inline: auto; }

/* ---------- Header / navigation ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px 0 12px;
  border-bottom: 1px solid rgba(239, 228, 207, 0.08);
}
.brand img { display: block; height: 104px; width: auto; filter: drop-shadow(0 4px 12px rgba(18, 7, 16, 0.6)); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--gold-faint); border-radius: 3px;
  padding: 6px 12px; cursor: pointer; color: var(--cream);
}
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; justify-content: flex-end; }
.site-nav a {
  color: var(--cream-dim); font-size: 18px; padding: 6px 0; position: relative; white-space: nowrap;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: var(--sage);
  transition: right 0.25s ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--cream); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; width: 100%; flex-direction: column; gap: 0; padding: 6px 0 10px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 0; border-bottom: 1px solid rgba(239, 228, 207, 0.06); font-size: 18px; }
  .site-nav a::after { display: none; }
  .site-header { flex-wrap: wrap; }
}

/* ---------- Home: masthead + hero ---------- */
.masthead { text-align: center; padding: 34px 0 22px; }
.masthead img { height: clamp(110px, 16vw, 170px); width: auto; border-radius: 3px; }
.masthead .aka { font-family: var(--serif); font-style: italic; color: var(--cream-dim); font-size: 20px; margin-top: 10px; }

.hero {
  position: relative; min-height: clamp(380px, 58vh, 620px);
  display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate;
  padding: 60px var(--gutter);
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 2.4s ease; filter: saturate(0.9);
}
.hero-slides img.on { opacity: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 50% 55%, rgba(26, 10, 22, 0.78), rgba(26, 10, 22, 0.55) 60%, rgba(26, 10, 22, 0.35)),
    linear-gradient(to bottom, var(--plum) 0, rgba(26, 10, 22, 0) 18%, rgba(26, 10, 22, 0) 82%, var(--plum) 100%);
}
.statement {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(22px, 2.6vw, 33px); line-height: 1.35; max-width: 44ch; margin: 0 auto 18px;
  text-shadow: 0 1px 18px rgba(18, 7, 16, 0.7);
}
.statement-note { color: var(--cream-dim); font-size: 16px; }
.statement-note b { color: var(--cream); font-weight: 500; }

/* ---------- Home: gallery wall ---------- */
.wall-intro { padding: 44px 0 26px; }
.wall-intro p { color: var(--cream-dim); font-size: 21px; max-width: 1180px; margin: 0 auto; text-wrap: balance; }   /* two even lines on a wide screen */
@media (max-width: 600px) { .wall-intro p { font-size: 18px; } }
.wall-intro h2 { margin-bottom: 10px; font-size: clamp(30px, 3.8vw, 44px); }

.wall {
  display: grid; gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-bottom: 26px;
}
/* projects inside a gallery (e.g. Cool Projects) */
.sub-wall { padding-bottom: 40px; }
.tile-empty { background: var(--plum-2); border: 1px dashed rgba(239, 228, 207, 0.22); }
.tile-empty img { visibility: hidden; }
.crumb { display: inline-block; margin-bottom: 6px; font-size: 15.5px; color: var(--sage-light); }
.crumb:hover { color: var(--cream); }
.page .more-photos, .more-photos { margin: 6px 0 18px; font-family: var(--serif); font-weight: 500; font-size: 28px; color: var(--cream); }
/* 4 across, then 2 across: with 20 galleries every row stays full (3 across left a gap) */
@media (max-width: 1050px) { .wall { gap: 14px; } }
@media (max-width: 760px)  { .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 480px)  {   /* phones: still two across, with smaller titles */
  .wall { gap: 8px; }
  .tile::after { inset: 5px; }
  .tile-title { padding: 30px 10px 9px; font-size: 16.5px; line-height: 1.12; }
}

.tile {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--plum-2); border-radius: 3px; color: var(--cream);
}
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s ease; }
.tile::after {                      /* the thin gold "frame" */
  content: ""; position: absolute; inset: 9px; border: 1px solid var(--gold-faint); border-radius: 2px;
  pointer-events: none; transition: border-color 0.3s ease;
}
.tile-title {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 16px;
  background: linear-gradient(to top, rgba(18, 7, 16, 0.9), rgba(18, 7, 16, 0.5) 55%, rgba(18, 7, 16, 0));
  font-family: var(--serif); font-size: clamp(21px, 2.1vw, 27px); font-weight: 500; line-height: 1.15;
  transition: color 0.3s ease;
}
.tile-count { display: block; font-family: var(--sans); font-size: 13px; color: var(--cream-dim); margin-top: 3px; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.045); }
.tile:hover .tile-title { color: var(--sage-light); }
.tile:hover::after { border-color: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .tile img, .hero-slides img, .site-nav a::after { transition: none; }
}

/* ---------- Gallery page ---------- */
.gallery-head { padding: 40px 0 22px; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; }
.gallery-head .meta { color: var(--cream-dim); font-size: 16px; margin-top: 6px; }
.gallery-head .blurb { max-width: 60ch; color: var(--cream-dim); font-size: 17px; margin: 12px 0 0; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 3px;
  border: 1px solid var(--gold-faint); background: rgba(200, 155, 74, 0.06); color: var(--cream); cursor: pointer;
  font-size: 16px; line-height: 1;
}
.btn:hover { border-color: var(--gold); background: rgba(200, 155, 74, 0.14); color: var(--cream); }
.btn svg { width: 14px; height: 14px; fill: currentColor; }

.masonry { display: flex; align-items: flex-start; gap: 14px; padding-bottom: 30px; }
.masonry .col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.masonry figure { margin: 0; }
.masonry button {
  display: block; width: 100%; padding: 0; border: 0; background: var(--plum-2); cursor: zoom-in;
  border-radius: 2px; overflow: hidden; text-align: left;
}
.masonry img { display: block; width: 100%; height: auto; min-height: 60px; transition: filter 0.3s ease, transform 0.5s ease; }
.masonry button:hover img { filter: brightness(1.08); transform: scale(1.02); }
.masonry figcaption { font-size: 14px; color: var(--cream-dim); padding: 6px 2px 0; }

.gallery-foot {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 24px 0 60px; border-top: 1px solid rgba(239, 228, 207, 0.08); font-family: var(--serif); font-size: 21px;
}
.gallery-foot span { color: var(--cream-faint); font-family: var(--sans); font-size: 13px; display: block; margin-bottom: 2px; }

.empty { padding: 50px 0 80px; color: var(--cream-dim); max-width: 60ch; }
.empty code { background: var(--plum-3); padding: 2px 6px; border-radius: 3px; color: var(--cream); font-size: 15px; }

/* ---------- Lightbox / slideshow ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 50; background: rgba(18, 7, 16, 0.985);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img.view {
  max-width: 94vw; max-height: 84vh; width: auto; height: auto; object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); border-radius: 2px; user-select: none;
}
.lb-btn {
  position: absolute; background: rgba(36, 16, 32, 0.75); border: 1px solid rgba(239, 228, 207, 0.15);
  color: var(--cream); width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; transition: background 0.2s ease, border-color 0.2s ease;
}
.lb-btn:hover { background: rgba(48, 23, 42, 0.95); border-color: var(--gold-faint); }
.lb-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lb-prev { left: max(10px, 2vw); top: 50%; transform: translateY(-50%); }
.lb-next { right: max(10px, 2vw); top: 50%; transform: translateY(-50%); }
.lb-close { top: 14px; right: 14px; }
.lb-play { top: 14px; left: 14px; }
.lb-bar {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 80px 16px;
  text-align: center; color: var(--cream-dim); font-size: 15px;
  background: linear-gradient(to top, rgba(18, 7, 16, 0.85), rgba(18, 7, 16, 0));
}
.lb-count { position: absolute; top: 24px; left: 72px; color: var(--cream-dim); font-size: 15px; font-variant-numeric: tabular-nums; }
.lb-caption { font-family: var(--serif); font-size: 20px; color: var(--cream); }
@media (max-width: 600px) {
  .lb-prev, .lb-next { width: 40px; height: 40px; top: auto; bottom: 54px; transform: none; }
  .lb-bar { padding: 10px 56px 14px; }
}
body.no-scroll { overflow: hidden; }

/* ---------- Text pages (services, contact, new pages) ---------- */
.page { padding: 44px 0 70px; }
.page h1 { margin-bottom: 8px; }
.page .lead { font-family: var(--serif); font-size: clamp(21px, 2.1vw, 26px); line-height: 1.4; color: var(--cream); margin: 14px 0 26px; max-width: 46ch; }
.page h2 { margin: 40px 0 14px; }
.page ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.page li { margin-bottom: 8px; padding-left: 4px; }
.page li::marker { color: var(--gold); }
.rates { border-top: 1px solid rgba(239, 228, 207, 0.1); margin: 0 0 20px; max-width: 70ch; }
.rates > div { display: grid; grid-template-columns: minmax(150px, 1fr) 2fr; gap: 6px 20px; padding: 14px 0; border-bottom: 1px solid rgba(239, 228, 207, 0.1); }
.rates dt { font-family: var(--serif); font-size: 21px; color: var(--cream); }
.rates dd { margin: 0; }
.rates .value { font-size: 19px; color: var(--sage-light); }
.rates .note { color: var(--cream-dim); font-size: 15px; margin-top: 4px; }
@media (max-width: 520px) { .rates > div { grid-template-columns: 1fr; } }
.terms { color: var(--cream-dim); max-width: 70ch; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 60px; align-items: start; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-lines { font-size: 18px; }
.contact-lines div { padding: 10px 0; border-bottom: 1px solid rgba(239, 228, 207, 0.1); display: flex; gap: 16px; flex-wrap: wrap; }
.contact-lines span { color: var(--cream-faint); min-width: 64px; }
.contact-lines a { font-family: var(--serif); font-size: 24px; color: var(--cream); }
.contact-lines a:hover { color: var(--sage-light); }
.contact-note { color: var(--cream-dim); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(239, 228, 207, 0.1); margin-top: 0; padding: 30px 0 40px;
  color: var(--cream-dim); font-size: 18px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px 40px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-name { font-family: var(--serif); font-size: 31px; color: var(--cream); line-height: 1.1; }
.foot-aka { font-family: var(--serif); font-style: italic; font-size: 21px; margin: 2px 0 10px; }
.site-footer a { color: var(--cream-dim); }
.site-footer a:hover { color: var(--sage-light); }
.site-footer p { margin: 0 0 7px; }
.foot-fine { margin-top: 26px; font-size: 15px; color: var(--cream-faint); }

/* ---------- Home page: the big logo is in the masthead, so hide the small one ---------- */
body.home .brand { display: none; }
body.home .site-header { justify-content: center; }
body.home .site-nav { justify-content: center; }
@media (max-width: 820px) { body.home .site-header { justify-content: flex-end; } }

/* ---------- Reviews page ---------- */
.rv-summary { display: flex; flex-wrap: wrap; gap: 16px; margin: 6px 0 26px; }
.rv-source {
  display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 16px; border-radius: 3px;
  border: 1px solid var(--gold-faint); background: rgba(200, 155, 74, 0.05); color: var(--cream);
}
.rv-source:hover { border-color: var(--gold); color: var(--cream); background: rgba(200, 155, 74, 0.1); }
.rv-score { font-family: var(--serif); font-size: 44px; line-height: 1; }
.rv-src-text { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--cream-dim); }
.stars { letter-spacing: 2px; font-size: 17px; line-height: 1; white-space: nowrap; }
.stars .on { color: var(--gold); }
.stars .off { color: rgba(239, 228, 207, 0.18); }
.rv-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.rv-chip {
  padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(239, 228, 207, 0.18); background: transparent;
  color: var(--cream-dim); cursor: pointer; font-size: 15px;
}
.rv-chip:hover { color: var(--cream); border-color: var(--gold-faint); }
.rv-chip[aria-pressed="true"] { background: var(--sage); border-color: var(--sage); color: var(--plum); font-weight: 500; }
.rv-list { columns: 2 420px; column-gap: 26px; }
.rv {
  break-inside: avoid; margin: 0 0 26px; padding: 22px 24px 20px; border-radius: 3px;
  background: var(--plum-2); border-left: 2px solid var(--gold-faint);
}
.rv-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.rv-project { font-size: 14px; color: var(--sage-light); }
.rv-text {
  margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.5; color: var(--cream);
  display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line;
}
.rv.open .rv-text { -webkit-line-clamp: unset; display: block; }
.rv-more { margin-top: 8px; background: none; border: 0; padding: 0; color: var(--sage-light); cursor: pointer; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.rv-by { margin-top: 14px; font-size: 15px; color: var(--cream-dim); }
.rv-name { color: var(--cream); font-weight: 500; margin-right: 8px; }
.rv-where a { color: var(--cream-dim); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(239, 228, 207, 0.3); }
.rv-where a:hover { color: var(--sage-light); }
.rv-short { padding: 16px 24px; }
.rv-short .rv-top { margin-bottom: 4px; }
.rv-short .rv-by { margin-top: 4px; }
.rv-hidden { opacity: 0.45; }
.rv-flag { margin-top: 8px; font-size: 13px; color: var(--gold); }
.rv-write { margin-top: 10px; }
@media (max-width: 520px) { .rv { padding: 18px 18px 16px; } .rv-text { font-size: 18px; } .rv-score { font-size: 36px; } }

/* ---------- Press ----------
   A timeline: the year in old gold on the left, the articles beside it,
   each with a photo of the work it talks about. */
.pr-list { margin-top: 8px; }
.pr-year {
  display: grid; grid-template-columns: clamp(92px, 11vw, 150px) minmax(0, 1fr); gap: 0 clamp(20px, 3vw, 44px);
  border-top: 1px solid rgba(200, 155, 74, 0.28); padding-top: 30px; margin-top: 10px;
}
.page .pr-yr {
  margin: 0; position: sticky; top: 18px; align-self: start;
  font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5.4vw, 72px); line-height: 0.85;
  color: var(--gold); font-variant-numeric: lining-nums; letter-spacing: -0.01em;
}
.pr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 38%); gap: 18px clamp(20px, 3vw, 40px); align-items: start; padding-bottom: 36px; }
.pr + .pr { border-top: 1px solid rgba(239, 228, 207, 0.07); padding-top: 32px; }
.pr.no-photo { grid-template-columns: minmax(0, 1fr); }
.pr-outlet { margin: 0 0 6px; font-size: 15.5px; color: var(--sage-light); }
.pr-head { margin: 0 0 10px; font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.5vw, 32px); line-height: 1.14; max-width: 30ch; text-wrap: balance; }
.pr-head a, .pr-head-btn { color: var(--cream); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: rgba(200, 155, 74, 0.4); transition: text-decoration-color 0.2s ease; }
.pr-head a:hover, .pr-head-btn:hover { color: var(--cream); text-decoration-color: var(--gold); }
.pr-head-btn { background: none; border: 0; padding: 0; font: inherit; text-align: left; cursor: zoom-in; }
.pr-meta { margin: 0 0 12px; font-size: 15px; color: var(--cream-faint); }
.pr-sum { margin: 0 0 14px; color: var(--cream-dim); max-width: 62ch; }
.pr-actions { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; }
.pr-link { background: none; border: 0; padding: 0; font: inherit; font-size: 15.5px; color: var(--sage-light); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(198, 210, 163, 0.4); }
.pr-link:hover { color: var(--cream); text-decoration-color: currentColor; }
.pr-scans { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pr-scan { width: 58px; height: 72px; padding: 0; border: 1px solid rgba(239, 228, 207, 0.16); background: var(--plum-3); cursor: zoom-in; overflow: hidden; border-radius: 2px; transition: border-color 0.2s ease; }
.pr-scan:hover { border-color: var(--gold); }
.pr-scan img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.pr-photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: var(--plum-2); }
.pr-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pr-photo button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pr-photo.is-scan img { object-position: top center; }
.pr-empty { display: grid; place-items: center; border: 1px dashed rgba(239, 228, 207, 0.2); background: none; color: var(--cream-faint); font-size: 14px; text-align: center; padding: 12px; }
.pr-hidden { opacity: 0.45; }
.pr-flag { margin-top: 10px; font-size: 13px; color: var(--gold); }
.pr-viewer img.view { max-height: 86vh; background: #fff; }
@media (max-width: 760px) {
  .pr-year { grid-template-columns: minmax(0, 1fr); padding-top: 22px; }
  .page .pr-yr { position: static; font-size: 46px; margin-bottom: 18px; }
  .pr { grid-template-columns: minmax(0, 1fr); }
  .pr-photo { order: -1; }
}

/* ---------- Home-page slideshow band ---------- */
.show {
  position: relative; aspect-ratio: 2.5 / 1; width: 100%; max-height: 680px; overflow: hidden; margin-top: 6px;
  display: grid; place-items: center;
  /* photos melt into the page in a soft oval (the photos' own edges are softly blurred too) */
  -webkit-mask-image: radial-gradient(ellipse 64% 70% at 50% 50%, #000 52%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 11%, #000 89%, transparent 100%), linear-gradient(to right, transparent 0, #000 6.5%, #000 93.5%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask-image: radial-gradient(ellipse 64% 70% at 50% 50%, #000 52%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 11%, #000 89%, transparent 100%), linear-gradient(to right, transparent 0, #000 6.5%, #000 93.5%, transparent 100%);
}
.show-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: 0; transition: opacity 2.2s ease;
}
.show-img.on { opacity: 1; }
.show-wrap { position: relative; margin-top: 6px; }
.show-wrap .show { margin: 0 auto; width: 84%; max-height: 560px; }   /* narrower than the page, centred */
.show-logo {
  position: absolute; z-index: 2; left: max(14px, calc((100% - var(--max)) / 2 - 34px)); top: 50%; transform: translateY(-50%);
  height: clamp(80px, 12.5vw, 185px); width: auto;
  filter: drop-shadow(0 10px 26px rgba(18, 7, 16, 0.75));
}
.statement-wrap { text-align: center; padding: 22px var(--gutter) 6px; }
.statement-wrap .statement {
  font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; max-width: 88ch; margin: 0 auto 10px; text-shadow: none;
}
.statement-wrap .statement-note { margin: 0; font-size: 16.5px; }
/* statement over the bottom of the slideshow */
.show-wrap.has-text .show::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(26, 10, 22, 0) 0%, rgba(26, 10, 22, 0.6) 55%, rgba(26, 10, 22, 0.92) 100%);
}
.show-wrap.has-text .show-logo { top: calc(clamp(80px, 12.5vw, 185px) / 2 + 4px); }   /* top-left corner, just under the menu */
.statement-wrap.on-show { position: relative; z-index: 3; margin-top: calc(-1 * min(1.6vw, 26px)); padding: 0 var(--gutter); }   /* just under the photos' soft bottom edge */
.statement-wrap.on-show .statement {
  max-width: 1180px; font-size: clamp(18px, 1.95vw, 29px); font-weight: 600; line-height: 1.45; color: #faf1df; margin-bottom: 12px;
  text-shadow: 0 1px 2px rgba(26, 10, 22, 1), 0 0 10px rgba(26, 10, 22, 0.9), 0 2px 22px rgba(26, 10, 22, 0.9);   /* page colour, so no dark halo on the plain background */
}
.statement-wrap.on-show .statement-note { margin-top: 26px; font-size: clamp(18px, 1.5vw, 22px); text-shadow: 0 1px 2px rgba(26, 10, 22, 0.95); }
@media (max-width: 760px) {
  .show-wrap .show { width: 100%; }
  .show-wrap.has-text .show::after { display: none; }
  .show-wrap.has-text .show-logo { top: calc(min(22vw, 110px) / 2 + 4px); }   /* top-left corner; the statement sits below it here */
  .statement-wrap.on-show { position: static; margin-top: 0; padding: 18px var(--gutter) 6px; }
}
@media (max-width: 600px) {
  .show-logo { height: 22vw; max-height: 110px; left: 8px; }
}
@media (prefers-reduced-motion: reduce) { .show-img { transition: none; } }
