/* Photography prints page. Plan: _work/design-plan.md (light table opener, subject filter, sizes to scale). */

/* ============ 1. Opener: the light table ============ */
.lt { position: relative; padding: calc(var(--head-h) + clamp(14px, 2.2vh, 30px)) 0 clamp(26px, 4vh, 48px); background: var(--paper); overflow: clip; isolation: isolate; }
.lt__wash {
  position: absolute; z-index: -1; right: -12vw; top: -10vh; width: 74vw; height: 120%;
  background: radial-gradient(closest-side, rgba(29, 100, 103, .14), rgba(181, 55, 90, .07) 55%, rgba(242, 239, 243, 0));
  pointer-events: none;
}
.lt__grid {
  --stage-h: min(52vh, 520px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "copy table" "facts table";
  column-gap: clamp(32px, 4.6vw, 76px); row-gap: clamp(18px, 2.6vh, 30px);
}
.lt__copy { grid-area: copy; align-self: end; }
.lt__copy h1 { margin-bottom: .32em; }
.lt__lede { margin-bottom: 1.3em; }
.lt__facts { grid-area: facts; align-self: start; list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.lt__facts li { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); font-weight: 500; }
.lt__facts li:last-child { border-bottom: 1px solid var(--line); }
.lt__facts .ico { flex: none; width: 24px; height: 24px; color: var(--teal); }
.lt__facts a { color: var(--rasp); font-weight: 650; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.lt__table { grid-area: table; align-self: start; min-width: 0; }

/* The table: a lit surface with a faint cutting grid and crop marks; the light follows the pointer */
.lt-stage {
  --lx: 50%; --ly: 42%;
  position: relative; height: var(--stage-h); border-radius: var(--r-one); overflow: hidden;
  background:
    radial-gradient(55% 65% at var(--lx) var(--ly), rgba(255, 255, 255, .98), rgba(255, 255, 255, 0) 72%),
    linear-gradient(rgba(29, 100, 103, .075) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, rgba(29, 100, 103, .075) 1px, transparent 1px) 0 0 / 36px 36px,
    #E6E0E9;
  box-shadow: inset 0 0 0 1px var(--line), inset 0 -40px 60px -40px rgba(42, 20, 36, .14);
}
.lt-marks { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(42, 20, 36, .35); stroke-width: 1.2; pointer-events: none; }
.lt-area { position: absolute; inset: 22px 30px 60px; container-type: size; display: grid; place-items: center; }
.lt-print {
  --m: clamp(10px, 1.25vw, 18px);
  position: relative; margin: 0; padding: var(--m); border-radius: var(--r-one);
  will-change: transform;
}
/* The mount, a second sheet tucked underneath, and the offset outline behind both */
.lt-print::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: #FCFBFA; border-radius: inherit;
  box-shadow: 0 1px 2px rgba(42, 20, 36, .14), 0 26px 50px -22px rgba(42, 20, 36, .5), 0 60px 90px -60px rgba(29, 100, 103, .45);
}
.lt-sheet { position: absolute; inset: 0; z-index: -2; background: #F7F5F4; border-radius: var(--r-one); transform: rotate(4.5deg) translate(10px, 6px); box-shadow: 0 18px 40px -20px rgba(42, 20, 36, .45); }
.lt-print.framed::after { --fo: 12px; z-index: -3; }
.lt-photo {
  position: relative; overflow: hidden; background: var(--mist);
  width: min(calc(100cqw - var(--m) * 2 - 14px), calc((100cqh - var(--m) * 2 - 14px) * var(--ar)));
  aspect-ratio: var(--ar);
  border-radius: calc(32px - var(--m)) 0 0 0;
}
.lt-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.lt-pour {
  position: absolute; inset: -2px; z-index: 2; pointer-events: none;
  background: url("../img/pour-fill.webp") 40% 50% / cover;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}
.lt-loupe {
  position: absolute; left: 0; top: 0; z-index: 3; width: 156px; height: 156px; border-radius: 50%; pointer-events: none;
  border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(42, 20, 36, .25), 0 18px 40px -10px rgba(27, 12, 23, .55), inset 0 0 30px rgba(27, 12, 23, .25);
  background-repeat: no-repeat; background-color: var(--mist); opacity: 0; visibility: hidden;
}
.lt-bar { position: absolute; left: 26px; right: 18px; bottom: 12px; height: 40px; display: flex; align-items: center; gap: 16px; }
.lt-cap { display: flex; align-items: baseline; gap: 12px; margin: 0; min-width: 0; flex: 1; white-space: nowrap; }
.lt-cap strong { font-family: var(--f-display); font-weight: 560; font-size: 1.12rem; font-variation-settings: "SOFT" 100, "opsz" 36; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; padding-bottom: .1em; }
.lt-count { font-weight: 700; font-size: .85rem; color: var(--rasp); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.lt-subj { font-size: .9rem; color: var(--ink-soft); }
.lt-wall { flex: none; font-size: .95rem; }
.lt-play {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--ink); color: #fff; border: 0; transition: background .3s, color .3s;
}
.lt-play .ico { width: 16px; height: 16px; grid-area: 1 / 1; }
.lt-play .ico:last-child, .lt-play.is-paused .ico:first-child { display: none; }
.lt-play.is-paused .ico:last-child { display: block; }
.lt-play:hover, .lt-play:focus-visible { background: var(--gold); color: var(--ink); }

/* The filmstrip: a strip of negative with sprocket holes, one frame per photo */
.lt-film { position: relative; margin-top: 12px; padding: 15px 14px; background: var(--night); border-radius: var(--r-one-sm); overflow: hidden; }
.lt-film::before, .lt-film::after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 5px; pointer-events: none;
  background: linear-gradient(90deg, rgba(242, 239, 243, .55) 0 7px, transparent 7px 16px) 0 0 / 16px 5px repeat-x;
  animation: lt-sprocket 7s linear infinite;
}
.lt-film::before { top: 5px; }
.lt-film::after { bottom: 5px; animation-direction: reverse; }
@keyframes lt-sprocket { to { background-position: 160px 0; } }
.lt-film__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; }
.lt-thumb {
  position: relative; display: block; aspect-ratio: 6 / 5; overflow: hidden; border-radius: 0; outline-offset: 2px;
  opacity: .5; filter: saturate(.55); transition: opacity .4s, filter .4s, transform .5s var(--ease);
}
.lt-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.lt-thumb:hover, .lt-thumb:focus-visible { opacity: .9; filter: none; transform: translateY(-3px); }
.lt-thumb:hover img { transform: scale(1.12); }
.lt-thumb.is-on { opacity: 1; filter: none; box-shadow: 0 0 0 2px var(--gold); }
.lt-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.lt-thumb:not(.is-on) .lt-prog { transform: scaleX(0) !important; }

@media (max-width: 1180px) {
  .lt__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .lt-wall { display: none; }
}
@media (max-width: 860px) {
  .lt__grid { --stage-h: min(43vh, 380px); grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "table" "facts"; row-gap: 18px; }
  .lt__copy h1 { font-size: clamp(2.1rem, 9.4vw, 3rem); margin-bottom: .3em; }
  .lt__lede { margin-bottom: 1em; }
  .lt .btns { gap: 10px; }
  .lt .btn { padding: 0 19px; }
  .lt-area { inset: 16px 16px 52px; }
  .lt-bar { left: 16px; right: 12px; bottom: 8px; }
  .lt-wall { display: inline-flex; }
  .lt-cap { gap: 9px; }
  .lt-cap strong { font-size: 1rem; }
  .lt-subj { display: none; }
  .lt-film { padding: 14px 12px; }
  .lt-film__list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
}
@media (max-width: 480px) {
  .lt-wall { display: none; }
}

/* ============ 2. Choose by subject: filter gallery ============ */
.gal { background: var(--paper); overflow: clip; padding-top: clamp(64px, 7.5vw, 110px); }
.gal__head { margin-bottom: clamp(22px, 3vw, 34px); }
.gal__head .lede { max-width: 120ch; margin: 0; }
.gal__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-bottom: clamp(24px, 3vw, 36px); }
.gal__filters { position: relative; display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: var(--r-pill); background: var(--mist); isolation: isolate; }
.gal__ind {
  position: absolute; z-index: -1; left: 0; top: 0; height: 0; width: 0; border-radius: var(--r-pill);
  background: linear-gradient(rgba(42, 20, 36, .5), rgba(42, 20, 36, .5)), url("../img/pour-fill.webp") 30% 50% / 260% auto; box-shadow: 0 8px 20px -10px rgba(42, 20, 36, .6);
  opacity: 0;
}
.gal__pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 0; border-radius: var(--r-pill);
  background: transparent; cursor: pointer; font-weight: 650; font-size: .98rem; color: var(--ink); transition: color .35s, background .35s;
}
.gal__pill:hover { background: rgba(255, 255, 255, .7); }
.gal__n { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: var(--r-pill); background: rgba(42, 20, 36, .1); font-size: .8rem; font-variant-numeric: tabular-nums; transition: background .35s; }
.gal__pill.is-on { color: #fff; text-shadow: 0 1px 6px rgba(27, 12, 23, .6); }
.gal__pill.is-on .gal__n { background: rgba(255, 255, 255, .25); }
.no-js .gal__pill.is-on, .gal__filters:not(.is-live) .gal__pill.is-on { background: var(--ink); }
.no-js .gal__filters { display: none; }
.gal__count { margin: 0; font-weight: 500; color: var(--ink-soft); }
.gal__count strong { display: inline-block; min-width: 1ch; font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; color: var(--rasp); font-variation-settings: "SOFT" 100, "opsz" 36; vertical-align: -.1em; }

.gal__grid {
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 14.6vw, 214px); grid-auto-flow: dense;
  gap: 16px;
}
.gal-tile { grid-row: span 2; min-width: 0; }
.gal-tile--wide { grid-column: span 2; }
.gal-tile.is-out { display: none; }
.gal-link { position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--r-one); background: var(--mist); color: #fff; text-decoration: none; isolation: isolate; transform-style: preserve-3d; }
.gal-media { position: absolute; inset: 0; overflow: hidden; }
.gal-img { width: 100%; height: 118%; object-fit: cover; transition: scale 1.1s var(--ease); }
.gal-media { animation: gal-breathe 10s ease-in-out infinite alternate; }
.gal-tile:nth-child(3n+2) .gal-media { animation-delay: -3.5s; }
.gal-tile:nth-child(3n) .gal-media { animation-delay: -7s; }
@keyframes gal-breathe { from { scale: 1; } to { scale: 1.07; } }
.gal-link:hover .gal-img, .gal-link:focus-visible .gal-img { scale: 1.07; }
.gal-link::after { content: ""; position: absolute; inset: 40% 0 0; z-index: 1; background: linear-gradient(rgba(27, 12, 23, 0), rgba(27, 12, 23, .78)); opacity: .85; transition: opacity .5s; }
.gal-cap { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 16px; display: grid; gap: 2px; transition: transform .6s var(--ease); }
.gal-title { font-family: var(--f-display); font-weight: 560; font-size: clamp(1.1rem, 1.35vw, 1.4rem); line-height: 1.15; font-variation-settings: "SOFT" 100, "opsz" 36; }
.gal-sub { font-size: .78rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: #F4C95D; }
.gal-view {
  position: absolute; z-index: 2; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .16); border: 1.5px solid rgba(255, 255, 255, .7); backdrop-filter: blur(6px);
  transform: scale(.7); opacity: 0; transition: transform .5s var(--ease), opacity .4s, background .3s, color .3s;
}
.gal-view .ico { width: 18px; height: 18px; }
.gal-link:hover .gal-view, .gal-link:focus-visible .gal-view { transform: none; opacity: 1; background: var(--gold); border-color: var(--gold); color: var(--ink); }
.gal-link:hover .gal-cap, .gal-link:focus-visible .gal-cap { transform: translateY(-4px); }
.gal-link::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, .28), transparent 70%);
}
.gal-link:hover::before { opacity: 1; }
@media (any-pointer: coarse) { .gal-view { transform: none; opacity: 1; } }

.gal-ask__in {
  position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-one); overflow: hidden;
  background: var(--teal-deep); color: var(--on-night);
}
.gal-ask__in::before { content: ""; position: absolute; inset: 0 0 auto; height: 46%; background: url("../img/pour-fill.webp") 70% 40% / 220% auto; opacity: .9; animation: ribbon 26s linear infinite alternate; }
.gal-ask__in::after { content: ""; position: absolute; left: 0; right: 0; top: 30%; height: 18%; background: linear-gradient(rgba(18, 63, 66, 0), var(--teal-deep)); }
.gal-ask__daisy { position: absolute; z-index: 1; left: clamp(22px, 2.4vw, 32px); top: clamp(22px, 2.4vw, 32px); width: 54px; height: 54px; }
.gal-ask__daisy .daisy__petals { fill: #fff; }
.gal-ask__daisy .daisy__heart { fill: var(--gold); }
.gal-ask__daisy .daisy__spin { animation: dc-spin 18s linear infinite; }
.gal-ask__in h3, .gal-ask__in p, .gal-ask__in a { position: relative; z-index: 1; }
.gal-ask__in h3 { color: #fff; font-size: clamp(1.3rem, 1.6vw, 1.6rem); margin-bottom: .3em; }
.gal-ask__in p { color: var(--on-night-soft); font-size: .98rem; margin-bottom: .8em; }
.gal-ask__in .tlink { color: #F4C95D; }

@media (max-width: 760px) {
  .gal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 31vw; gap: 10px; }
  .gal-cap { left: 14px; right: 14px; bottom: 12px; }
  .gal-view { display: none; }
  .gal__filters { border-radius: var(--r-one-sm); }
  .gal__pill { padding: 0 14px; min-height: 44px; }
  .gal-ask__daisy, .gal-ask__in p { display: none; }
  .gal-ask__in { padding: 16px; }
  .gal-ask__in::before { height: 52%; }
  .gal-ask__in::after { top: 34%; height: 20%; }
  .gal-ask__in .tlink { font-size: .92rem; }
  .gal-ask__in h3 { font-size: 1.2rem; }
}

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; }
.lb[hidden] { display: none; }
.lb__back { position: absolute; inset: 0; background: rgba(27, 12, 23, .94); backdrop-filter: blur(6px); }
.lb__body { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 70px clamp(16px, 7vw, 110px) 24px; pointer-events: none; }
.lb__fig { margin: 0; display: grid; justify-items: center; gap: 16px; pointer-events: auto; max-width: 100%; }
.lb__img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100svh - 250px); border-radius: var(--r-one); box-shadow: 0 40px 80px -30px #000; background: var(--night-2); }
.lb__cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; width: 100%; color: var(--on-night); }
.lb__text { display: grid; }
.lb__text strong { font-family: var(--f-display); font-weight: 560; font-size: 1.4rem; font-variation-settings: "SOFT" 100, "opsz" 36; line-height: 1.2; }
.lb__text span { color: #F4C95D; font-size: .8rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.lb__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.lb__btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; pointer-events: auto;
  background: rgba(255, 255, 255, .08); color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); transition: background .3s, color .3s, border-color .3s;
}
.lb__btn .ico { width: 20px; height: 20px; }
.lb__btn:hover, .lb__btn:focus-visible { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.lb__prev { left: clamp(10px, 2vw, 32px); top: calc(50% - 26px); }
.lb__next { right: clamp(10px, 2vw, 32px); top: calc(50% - 26px); }
.lb__close { right: clamp(10px, 2vw, 32px); top: 12px; }
.lb__count { position: absolute; left: clamp(16px, 2vw, 32px); top: 22px; margin: 0; color: var(--on-night-soft); font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.lb-open { overflow: hidden; }
@media (max-width: 760px) {
  .lb__body { padding: 70px 14px 16px; }
  .lb__img { max-height: calc(100svh - 300px); }
  .lb__prev, .lb__next { top: auto; bottom: 18px; width: 46px; height: 46px; }
  .lb__body { padding-bottom: 80px; }
}

/* ============ 3. Sizes to scale ============ */
.sz { position: relative; background: var(--night); color: var(--on-night); overflow: clip; isolation: isolate; }
.sz::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 78% 55%, rgba(29, 100, 103, .38), rgba(27, 12, 23, 0) 70%), radial-gradient(40% 50% at 8% 90%, rgba(181, 55, 90, .2), rgba(27, 12, 23, 0) 70%); }
.sz__grid {
  min-height: 100svh; padding-top: calc(78px + clamp(20px, 3vh, 40px)); padding-bottom: clamp(24px, 4vh, 48px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 5vw, 90px); align-items: center;
}
.sz__copy h2 { margin-bottom: .4em; }
.sz__intro { color: var(--on-night-soft); font-size: 1.08rem; max-width: 120ch; }
.sz__list { list-style: none; margin: clamp(14px, 2.4vh, 28px) 0 clamp(16px, 2.6vh, 28px); padding: 0; display: grid; }
.sz__list li {
  position: relative; display: grid; grid-template-columns: 64px 9.5em minmax(0, 1fr); gap: 4px 18px; align-items: baseline;
  padding: clamp(10px, 1.5vh, 15px) 0 clamp(10px, 1.5vh, 15px) 18px; border-top: 1px solid var(--line-night); transition: background .5s;
}
.sz__list li:last-child { border-bottom: 1px solid var(--line-night); }
.sz__list li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c, var(--gold)); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }
.sz__list li.is-on { background: linear-gradient(90deg, rgba(243, 236, 241, .07), rgba(243, 236, 241, 0)); }
.sz__list li.is-on::before { transform: scaleY(1); }
.sz__list li:nth-child(1) { --c: #F08AA6; }
.sz__list li:nth-child(2) { --c: var(--gold); }
.sz__list li:nth-child(3) { --c: #6FC3C2; }
.sz__list li:nth-child(4) { --c: #F3ECF1; }
.sz__name strong { font-weight: inherit; }
.sz__name { font-family: var(--f-display); font-size: 1.7rem; font-weight: 600; font-variation-settings: "SOFT" 100, "opsz" 72; line-height: 1; color: var(--c); }
.sz__cm { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sz__use { color: var(--on-night-soft); font-size: .98rem; line-height: 1.45; }
.sz__link { font-size: 1.02rem; }

.sz__fig { position: relative; }
.sz__diagram {
  --dh: min(calc(100svh - 78px - clamp(44px, 7vh, 88px)), 780px);
  position: relative; height: var(--dh); aspect-ratio: 67 / 91; user-select: none;
}
.sz__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sz__ruler path { fill: none; stroke: rgba(243, 236, 241, .35); stroke-width: 1; }
.sz__ruler path.is-major { stroke: rgba(243, 236, 241, .7); }
.sz__ruler .sz__axis { stroke: rgba(243, 236, 241, .5); }
.sz__ruler text { fill: rgba(243, 236, 241, .62); font-family: var(--f-body); font-size: 1.85px; font-weight: 600; }
.sz__r { fill: none; stroke-width: 2.4; stroke-linejoin: round; }
.sz__r--a4 { stroke: #F08AA6; }
.sz__r--a3 { stroke: var(--gold); }
.sz__r--a2 { stroke: #6FC3C2; }
.sz__r--a1 { stroke: #F3ECF1; }
.sz__run { fill: none; stroke: #fff; stroke-width: .5; stroke-linecap: round; stroke-dasharray: 5 95; opacity: 0; animation: sz-run 7s linear infinite; filter: drop-shadow(0 0 1px #fff); }
[data-sz-run="1"] { animation-duration: 8.5s; animation-delay: -2s; }
[data-sz-run="2"] { animation-duration: 10s; animation-delay: -5s; }
[data-sz-run="3"] { animation-duration: 12s; animation-delay: -1s; }
@keyframes sz-run { to { stroke-dashoffset: -100; } }
.sz__paper {
  position: absolute; left: calc(6 / 67 * 100%); top: calc(1 / 91 * 100%); width: calc(59.4 / 67 * 100%); height: calc(84.1 / 91 * 100%);
  background:
    linear-gradient(rgba(243, 236, 241, .05) 1px, transparent 1px) 0 100% / 100% calc(100% * 5 / 84.1),
    linear-gradient(90deg, rgba(243, 236, 241, .05) 1px, transparent 1px) 0 100% / calc(100% * 5 / 59.4) 100%,
    rgba(243, 236, 241, .025);
}
.sz__photo {
  position: absolute; left: calc(6 / 67 * 100%); top: calc(1 / 91 * 100%); width: calc(59.4 / 67 * 100%); height: calc(84.1 / 91 * 100%);
  transform-origin: 0 100%; overflow: hidden; border-radius: 0; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7);
}
.sz__photo img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 70%; }
.sz__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(27, 12, 23, .1), rgba(27, 12, 23, .35)); }
.sz__tag {
  position: absolute; right: calc(100% - var(--x)); top: var(--y); margin: 8px 8px 0 0;
  display: grid; justify-items: end; gap: 0; padding: 6px 10px 6px 12px; border-radius: var(--r-one-sm);
  background: rgba(27, 12, 23, .72); backdrop-filter: blur(4px); line-height: 1.15; white-space: nowrap;
}
.sz__tag strong { font-family: var(--f-display); font-size: clamp(1.15rem, 1.5vw, 1.5rem); font-weight: 600; font-variation-settings: "SOFT" 100, "opsz" 72; }
.sz__tag span { font-size: .82rem; font-weight: 600; color: var(--on-night-soft); font-variant-numeric: tabular-nums; }
.sz__tag b { font-weight: 700; color: var(--on-night); }
.sz__tag--a4 strong { color: #F08AA6; }
.sz__tag--a3 strong { color: var(--gold); }
.sz__tag--a2 strong { color: #6FC3C2; }
.sz__tag--a1 strong { color: #fff; }
.sz__cross { position: absolute; left: calc(6 / 67 * 100%); bottom: calc(5.9 / 91 * 100%); width: 0; height: 0; pointer-events: none; opacity: 0; }
.sz__cx, .sz__cy { position: absolute; display: block; }
.sz__cx { left: 0; bottom: 0; height: 0; width: var(--cw, 0px); border-top: 1.5px dashed rgba(244, 201, 93, .85); transform: translateY(calc(var(--ch, 0px) * -1)); }
.sz__cy { left: 0; bottom: 0; width: 0; height: var(--ch, 0px); border-left: 1.5px dashed rgba(244, 201, 93, .85); transform: translateX(var(--cw, 0px)); }
.sz__ctag {
  position: absolute; left: var(--cw, 0px); bottom: var(--ch, 0px); translate: 10px -10px; padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--gold); color: var(--ink); font-weight: 700; font-size: .82rem; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.sz__ctag::before { content: ""; position: absolute; left: -14px; bottom: -14px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(216, 164, 44, .3); }

@media (max-width: 1080px) {
  .sz__list li { grid-template-columns: 54px minmax(0, 1fr); }
  .sz__use { grid-column: 2; }
}
@media (max-width: 860px) {
  .sz__grid { min-height: 0; grid-template-columns: minmax(0, 1fr); padding-top: var(--sec-y); padding-bottom: var(--sec-y); gap: 28px; }
  .sz__fig { order: 2; justify-self: center; }
  .sz__diagram { --dh: min(68svh, 560px); }
  .sz__copy { display: contents; }
  .sz__copy h2, .sz__intro { order: 1; }
  .sz__list { order: 3; margin: 0; }
  .sz__link { order: 4; }
  .sz__tag { padding: 4px 8px 4px 9px; }
  .sz__tag span { font-size: .72rem; }
}

/* ============ 4. Gifts and businesses ============ */
.duo { overflow: clip; padding: clamp(70px, 8vw, 116px) 0; }
.duo h2 { margin-bottom: clamp(22px, 2.6vw, 36px); }
.duo__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.duo-card { display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; background: var(--paper); border-radius: var(--r-one); overflow: hidden; transform-style: preserve-3d; box-shadow: 0 1px 0 var(--line); transition: box-shadow .5s; }
.duo-card:hover { box-shadow: 0 30px 60px -30px rgba(42, 20, 36, .45); }
.duo-card__media { position: relative; display: block; aspect-ratio: 2 / 1; overflow: hidden; }
.duo-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.duo-card:hover .duo-card__img { scale: 1.05; }
.duo-card__glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(320px circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, .3), transparent 70%); }
.duo-card:hover .duo-card__glare { opacity: 1; }
.duo-card__text { display: grid; align-content: start; gap: 6px; padding: clamp(18px, 2vw, 28px) clamp(20px, 2.4vw, 32px); }
.duo-card__h { font-family: var(--f-display); font-weight: 560; font-size: clamp(1.4rem, 1.9vw, 1.9rem); line-height: 1.12; font-variation-settings: "SOFT" 100, "opsz" 36; }
.duo-card__p { color: var(--ink-soft); }
.duo-card .tlink { margin-top: 4px; justify-self: start; }
.duo-card:hover .tlink { background-size: 100% 1.5px; }
/* A print hangs on the cafe's bare wall and changes every few seconds */
.duo-wall {
  position: absolute; z-index: 2; left: 37%; top: 7%; width: 26%; aspect-ratio: 3 / 2; padding: .7%;
  background: #1f1a1d; box-shadow: 0 14px 22px -10px rgba(0, 0, 0, .55), 0 2px 4px rgba(0, 0, 0, .3);
}
.duo-wall::before { content: ""; position: absolute; inset: .7%; background: #FBFAF8; }
.duo-wall img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: cover; opacity: 0; transition: opacity 1s; }
.duo-wall img.is-on { opacity: 1; }
@media (max-width: 860px) {
  .duo__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ============ 5. From the towpath ============ */
.tow { background: var(--paper); overflow: clip; padding-bottom: calc(var(--sec-y) * .8); }
.tow__wrap { position: relative; }
.tow__frame { position: relative; }
.tow__clip { position: relative; height: min(68vh, 640px); border-radius: var(--r-one); overflow: hidden; background: var(--night); isolation: isolate; }
.tow__img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; }
.tow__rays { position: absolute; inset: -20% -10%; z-index: 1; pointer-events: none; mix-blend-mode: screen; transform-origin: 85% 0; }
.tow__rays i {
  position: absolute; top: -10%; height: 140%; transform-origin: 50% 0;
  background: linear-gradient(rgba(255, 238, 180, .42), rgba(255, 238, 180, .12) 50%, rgba(255, 238, 180, 0) 85%);
  filter: blur(7px);
}
.tow__rays i:nth-child(1) { left: 58%; width: 7%; transform: rotate(24deg); }
.tow__rays i:nth-child(2) { left: 66%; width: 3%; transform: rotate(21deg); opacity: .8; }
.tow__rays i:nth-child(3) { left: 74%; width: 10%; transform: rotate(18deg); opacity: .6; }
.tow__rays i:nth-child(4) { left: 46%; width: 4%; transform: rotate(28deg); opacity: .5; }
.tow__motes { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.tow__motes i { position: absolute; width: var(--s, 4px); height: var(--s, 4px); border-radius: 50%; background: rgba(255, 244, 200, .9); box-shadow: 0 0 8px rgba(255, 236, 170, .9); }
.tow__clip::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(100deg, rgba(27, 12, 23, .45), rgba(27, 12, 23, 0) 45%); pointer-events: none; }
.tow__label { position: absolute; z-index: 3; left: clamp(18px, 2.4vw, 32px); top: clamp(18px, 2.4vw, 30px); padding: 7px 14px; border-radius: var(--r-pill); background: rgba(27, 12, 23, .55); color: #fff; font-weight: 600; font-size: .9rem; backdrop-filter: blur(6px); }
.tow { padding-bottom: calc(var(--sec-y) * .5 + 56px); }
.tow__card {
  position: absolute; z-index: 4; right: calc(var(--gut) + clamp(24px, 4vw, 64px)); bottom: -56px; width: min(600px, 46%);
  padding: clamp(28px, 3.4vw, 48px); background: var(--night); color: var(--on-night); border-radius: var(--r-one);
  box-shadow: 0 40px 80px -40px rgba(27, 12, 23, .7);
}
.tow__card h2 { margin-bottom: .45em; }
.tow__card p { color: var(--on-night-soft); }
.tow__card .btns { margin-top: 1.4em; gap: 14px 26px; }
.tow__card .tlink { color: #F4C95D; }
@media (max-width: 860px) {
  .tow__clip { height: min(62svh, 520px); }
  .tow { padding-bottom: var(--sec-y); }
  .tow__card { position: relative; right: auto; bottom: auto; width: auto; margin: -70px 14px 0; }
}

/* ============ 6. CTA band with a fan of prints ============ */
.pcta__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.pcta h2 { font-size: clamp(2.1rem, 3.8vw, 3.9rem); }
.pcta__copy p { max-width: 120ch; }
.pcta__copy .btns { margin-top: 1.6em; }
.pcta__fan { position: relative; height: clamp(300px, 34vw, 440px); perspective: 900px; }
.pcta__print {
  position: absolute; left: 27%; top: 50%; margin-top: -30.667%; width: 46%; aspect-ratio: 3 / 4; padding: 3.2%; background: #FCFBFA; border-radius: var(--r-one);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .7); transform-origin: 50% 100%;
}
.pcta__print img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(32px - 8px) 0 0 0; }
@media (max-width: 860px) {
  .pcta__grid { grid-template-columns: minmax(0, 1fr); }
  .pcta__fan { height: 300px; order: -1; }
  .pcta__print { width: 40%; left: 30%; margin-top: -26.667%; }
}

/* ============ First-screen start states (JS on, motion allowed) ============ */
.js .lt-pour { clip-path: polygon(-40% 0, 140% 0, 140% 100%, -40% 100%); }
.js .lt-print { transform: translateY(-36px) rotate(-4deg) scale(.94); }
.js .lt-film__list li, .js .lt__facts li { opacity: 0; }

/* ============ Reduced motion: still, complete ============ */
@media (prefers-reduced-motion: reduce) {
  .lt-film::before, .lt-film::after, .gal-ask__in::before, .gal-ask__daisy .daisy__spin { animation: none; }
  .lt-thumb, .gal-img, .duo-card__img, .duo-wall img { transition: none; }
  .gal-media { animation: none; }
  .sz__run { display: none; }
  .js .lt-pour { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
  .js .lt-print { transform: none; }
  .js .lt-film__list li, .js .lt__facts li { opacity: 1; }
}

/* No JS: the CTA prints sit fanned out */
.no-js .pcta__print:nth-child(1) { transform: translate(-62%, 18px) rotate(-12deg); }
.no-js .pcta__print:nth-child(2) { transform: translateY(-14px); }
.no-js .pcta__print:nth-child(3) { transform: translate(62%, 18px) rotate(12deg); }

/* QA: the diagram sits level with the heading so no empty space opens beside it */
@media (min-width: 861px) {
  .sz__grid { align-items: start; align-content: center; row-gap: 0; padding-bottom: clamp(10px, 1.6vh, 20px); }
  .sz__copy { display: contents; }
  .sz__copy > h2 { grid-column: 1 / -1; grid-row: 1; }
  .sz__intro { grid-column: 1 / -1; grid-row: 2; }
  .sz__list { grid-column: 1; grid-row: 3 / 5; align-self: center; }
  .sz__grid { grid-template-rows: auto auto 1fr auto auto; }
  .sz__link { grid-column: 1; grid-row: 5; align-self: end; justify-self: start; margin-bottom: 8px; }
  .sz__fig { grid-column: 2; grid-row: 3 / 6; }
  .sz__diagram { --dh: min(calc(100svh - 78px - clamp(44px, 7vh, 88px) - clamp(130px, 15vh, 170px)), 640px); }
}
@media (max-width: 600px) { .gal-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }

/* Phones: fixed line breaks in the opener heading, so the fallback font and the web font wrap the same way */
.lt-subj { margin-left: auto; white-space: nowrap; }
