:root {
  --ink: #151816;
  --paper: #f0ebe2;
  --milk: #f7f3ec;
  --muted: #7b7f79;
  --brass: #9a8060;
  --wine: #5a2723;
  --green: #485046;
  --serif: "Cormorant Garamond", "Iowan Old Style", Baskerville, Georgia, serif;
  --sans: Manrope, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-weight: 300; overflow-x: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

#leaves { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 30; }
.topbar { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; justify-content: space-between; padding: 26px clamp(22px, 4vw, 70px); color: var(--milk); mix-blend-mode: difference; }
.wordmark { font-size: 12px; font-weight: 600; letter-spacing: .24em; }
.topbar nav { display: flex; gap: clamp(18px, 3vw, 46px); font-size: 12px; letter-spacing: .1em; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; color: white; background: #20231f; }
.hero__image { position: absolute; inset: -2%; width: 104%; height: 104%; object-fit: cover; animation: hero-breathe 16s ease-in-out infinite alternate; }
.hero__picture { position: absolute; inset: 0; }
.hero__image { inset: 0; width: 100%; height: 100%; animation: none; }
.light-story__photo img, .centre__image img { image-rendering: auto; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,14,12,.08), rgba(12,14,12,.12) 42%, rgba(12,14,12,.78)); }
.hero__content { position: relative; z-index: 2; width: min(1100px, 90vw); padding: 0 0 12vh clamp(24px, 7vw, 132px); }
.eyebrow, .section-label { text-transform: uppercase; letter-spacing: .19em; font-size: 11px; font-weight: 500; }
.hero h1 { margin: 22px 0 18px; font-family: var(--serif); font-size: clamp(58px, 8vw, 132px); font-weight: 400; line-height: .82; letter-spacing: -.045em; }
.hero__lead { margin: 0; max-width: 560px; font-size: clamp(16px, 1.5vw, 22px); line-height: 1.55; }
.scroll-cue { position: absolute; right: clamp(24px, 5vw, 80px); bottom: 42px; z-index: 3; display: flex; gap: 14px; align-items: center; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.scroll-cue span { display: block; width: 56px; height: 1px; background: currentColor; transform-origin: right; animation: line-breathe 2.8s ease-in-out infinite; }

.section { padding: clamp(92px, 12vw, 180px) clamp(24px, 7vw, 132px); }
.section-label { color: var(--brass); margin-bottom: 52px; }
.display { margin: 0; font-family: var(--serif); font-size: clamp(52px, 6.2vw, 102px); font-weight: 400; line-height: .92; letter-spacing: -.045em; }
.intro { background: var(--paper); }
.intro__grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 9vw; align-items: end; }
.intro__copy { max-width: 520px; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.75; color: #4f544f; }
.intro__copy p + p { margin-top: 28px; }
.facts { margin-top: 110px; padding-top: 28px; border-top: 1px solid rgba(21,24,22,.16); display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.facts div { display: flex; align-items: baseline; gap: 14px; }
.facts strong { font-family: var(--serif); font-size: clamp(48px, 5vw, 82px); font-weight: 400; }
.facts span { max-width: 130px; color: var(--muted); font-size: 13px; line-height: 1.35; }

.page-stage { background: var(--ink); color: var(--milk); overflow: hidden; }
.page-stage__heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 76px; }
.page-stage__heading p { max-width: 360px; color: #a6aaa4; line-height: 1.65; }
.book { position: relative; max-width: 1180px; height: min(70vw, 690px); min-height: 520px; margin: auto; perspective: 1800px; }
.book__underlay, .book__page { position: absolute; inset: 0; overflow: hidden; border-radius: 2px; }
.book__underlay img, .book__page > img { width: 100%; height: 100%; object-fit: cover; }
.book__page { transform-origin: left center; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.65,0,.18,1), filter .8s ease; background: #222; z-index: 2; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.book__page.turning { transform: rotateY(-96deg); filter: brightness(.72); }
.book__caption { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; gap: 20px; padding: 32px 36px; background: linear-gradient(transparent, rgba(12,14,12,.74)); color: white; }
.book__caption span { font-size: 11px; letter-spacing: .16em; }
.book__caption p { margin: 0; max-width: 480px; text-align: right; font-family: var(--serif); font-size: clamp(21px, 2vw, 32px); line-height: 1.1; }
.book__next { position: absolute; z-index: 4; right: 22px; top: 22px; display: flex; gap: 16px; align-items: center; border: 0; background: rgba(247,243,236,.92); color: var(--ink); padding: 14px 18px; cursor: pointer; letter-spacing: .08em; text-transform: uppercase; font-size: 10px; }
.book__next b { font-size: 18px; font-weight: 300; transition: transform .25s ease; }
.book__next:hover b { transform: translateX(4px); }

.light-story { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(60px, 8vw, 140px); align-items: center; background: var(--milk); }
.light-story__photo { position: relative; min-height: 720px; overflow: hidden; }
.light-story__photo img { height: 100%; min-height: 720px; object-fit: cover; }
.light-story__text p { max-width: 490px; margin-top: 42px; color: #5d625d; font-size: 18px; line-height: 1.75; }

.day-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 46px); background: var(--green); color: var(--milk); }
.day-card { margin: 0; }
.day-card--lower { transform: translateY(72px); }
.day-card img { height: 500px; object-fit: cover; filter: saturate(.86) contrast(.96); }
.day-card p { font-family: var(--serif); font-size: clamp(25px, 2.2vw, 38px); line-height: 1.05; }
.day-card p span { display: block; margin-bottom: 12px; font-family: var(--sans); font-size: 10px; color: #c8bda9; text-transform: uppercase; letter-spacing: .18em; }

.centre { min-height: 100vh; position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); }
.centre__image { position: relative; overflow: hidden; min-height: 650px; }
.centre__image img { height: 100%; object-fit: cover; }
.centre__content { align-self: center; padding-left: clamp(40px, 7vw, 130px); }
.centre__content p { max-width: 520px; margin-top: 34px; color: #5d625d; font-size: 17px; line-height: 1.7; }

.details { background: var(--wine); color: var(--milk); }
.details .section-label { color: #c6a98b; }
.details__grid { margin-top: 90px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.2); }
.details article { min-height: 310px; padding: 34px; background: var(--wine); }
.details article span { font-size: 10px; color: #c6a98b; letter-spacing: .16em; }
.details h3 { margin: 78px 0 18px; font-family: var(--serif); font-size: 36px; font-weight: 400; }
.details article p { color: #dacfc6; line-height: 1.65; }

.finale { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; color: white; text-align: center; }
.finale > img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.finale__veil { position: absolute; inset: 0; background: rgba(12,14,12,.64); }
.finale__content { position: relative; z-index: 2; padding: 40px 24px; }
.finale h2 { margin: 20px 0 24px; font-family: var(--serif); font-size: clamp(62px, 8vw, 128px); font-weight: 400; line-height: .84; letter-spacing: -.04em; }
.finale__content > p:not(.eyebrow) { font-family: var(--serif); font-size: clamp(22px, 2.3vw, 34px); }
.finale a { display: inline-flex; gap: 42px; align-items: center; margin-top: 55px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .14em; font-size: 10px; }

.photo-light { isolation: isolate; }
.photo-light::after { content: ""; position: absolute; z-index: 1; inset: -28%; pointer-events: none; background: radial-gradient(ellipse at 28% 36%, rgba(255,224,176,.15), rgba(255,184,112,.05) 34%, transparent 68%); mix-blend-mode: screen; filter: blur(18px); animation: light-drift 14s ease-in-out infinite alternate; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform 1s cubic-bezier(.22,.75,.28,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Warm instant-film mounts, with a generous lower paper margin. */
:root { --photo-paper: #faf7ef; --photo-edge: clamp(10px, 1.4vw, 22px); --photo-foot: clamp(48px, 6vw, 88px); }
.book__underlay, .book__page {
  padding: var(--photo-edge) var(--photo-edge) var(--photo-foot);
  background: var(--photo-paper);
  border-radius: 1px;
  box-shadow: 0 24px 55px rgba(0,0,0,.2), inset 0 0 0 1px rgba(79,65,43,.07);
}
.book__caption {
  left: var(--photo-edge); right: var(--photo-edge); bottom: 0;
  height: var(--photo-foot); padding: 12px 8px;
  align-items: center; background: var(--photo-paper); color: var(--ink);
}
.book__caption p { font-size: clamp(17px, 1.7vw, 26px); max-width: 75%; }
.book__next {
  top: auto; right: 0; bottom: 0;
  width: 88px; height: 88px; padding: 0;
  background: transparent; overflow: visible;
  -webkit-tap-highlight-color: transparent;
}
.page-corner {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 49.4%, #ded6c6 50%, #fffdf7 74%, #eee7d9 100%);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  filter: drop-shadow(-3px -3px 3px rgba(0,0,0,.15));
  transform-origin: bottom right;
  transition: transform .45s ease, filter .45s ease;
}
.page-corner__arrow {
  position: absolute; width: 29px; height: 29px;
  right: 9px; bottom: 10px; color: #665c4c;
  transition: transform .45s ease;
}
.book__next:hover .page-corner, .book__next:focus-visible .page-corner {
  transform: translate(-3px,-3px) scale(1.1);
  filter: drop-shadow(-6px -6px 5px rgba(0,0,0,.22));
}
.book__next:hover .page-corner__arrow { transform: translate(-4px,-4px); }
.book__next:focus-visible { outline: 2px solid var(--brass); outline-offset: 5px; }
.book__caption { padding-right: 68px; }
.book { width: 100%; max-width: 1180px; height: auto; min-height: 0; aspect-ratio: 1.3; }
.book__underlay img, .book__page > img { object-fit: contain; background: #f2eee5; }
.light-story__photo, .centre__image { min-height: 0; align-self: center; }
.light-story__photo, .centre__image {
  padding: var(--photo-edge) var(--photo-edge) var(--photo-foot);
  background: var(--photo-paper); overflow: hidden;
  box-shadow: 0 18px 42px rgba(36,29,18,.12), inset 0 0 0 1px rgba(79,65,43,.06);
}
.light-story__photo img { min-height: 0; height: auto; aspect-ratio: auto; object-fit: contain; }
.centre__image img { min-height: 0; height: auto; aspect-ratio: auto; object-fit: contain; }
.light-story__photo::after, .centre__image::after { inset: var(--photo-edge) var(--photo-edge) var(--photo-foot); }
.day-card img {
  border: var(--photo-edge) solid var(--photo-paper);
  border-bottom-width: var(--photo-foot);
  box-shadow: 0 18px 38px rgba(0,0,0,.18);
  filter: none;
}
.hero, .finale {
  border: var(--photo-edge) solid var(--photo-paper);
  border-bottom-width: var(--photo-foot);
  overflow: hidden;
}

@media (max-width: 900px) {
  .book { height: auto; min-height: 0; aspect-ratio: .98; }
  .book__caption { display: flex; gap: 12px; }
  .book__caption p { margin: 0; max-width: 75%; font-size: 17px; }
  .light-story__photo { min-height: 0; }
  .light-story__photo img { min-height: 0; height: auto; }
  .centre__image { min-height: 0; }
  .centre__image img { min-height: 0; height: auto; }
}

.topbar { mix-blend-mode: normal; background: rgba(250,247,239,.97); color: var(--ink); border-bottom: 1px solid #ded7ca; padding-top: 18px; padding-bottom: 18px; gap: 24px; }
.wordmark { display: flex; flex-direction: column; gap: 7px; letter-spacing: .16em; }
.wordmark small { font-weight: 400; font-size: 10px; letter-spacing: .05em; color: #5c625b; }
.topbar nav { gap: 22px; letter-spacing: .02em; }
.brand-lockup { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-lockup img:first-child { width: 30px; height: 34px; }
.brand-lockup img:last-child { width: 145px; height: auto; }
.hero__badge { display: inline-flex; flex-direction: column; gap: 8px; padding: 17px 22px; background: rgba(21,24,22,.88); border: 1px solid rgba(255,255,255,.25); color: #fffdf7; line-height: 1.5; }
.hero__badge span { font-size: 10px; letter-spacing: .12em; color: #ded6c7; }
.hero__content { padding-top: 145px; }
.finale { min-height: 110svh; }
.finale__veil { background: rgba(12,14,12,.79); }
.finale h2 { font-size: clamp(50px,6vw,92px); line-height: .95; }
.finale__content { width: min(960px,100%); padding: 95px 24px 60px; }
.finale__content > p:not(.eyebrow) { max-width: 620px; margin: 24px auto; font-size: clamp(22px,2.2vw,30px); }
.viewing-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 630px; margin: 40px auto 0; text-align: left; }
.viewing-form label { font-size: 12px; line-height: 1.6; color: #eee6d8; }
.viewing-form input:not([type=checkbox]) { display: block; width: 100%; margin-top: 8px; padding: 15px 14px; border: 1px solid #a79c89; border-radius: 0; background: #fbf7ef; color: #151816; font: 16px var(--sans); }
.viewing-form input:focus-visible { outline: 2px solid #d9bc8f; outline-offset: 3px; }
.viewing-form .form-consent { grid-column: 1/-1; display: flex; gap: 10px; align-items: flex-start; color: #d4cec3; font-size: 11px; }
.form-consent input { margin: 4px 0 0; flex-shrink: 0; width: 16px; height: 16px; accent-color: #b69b76; }
.viewing-form button { grid-column: 1/-1; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border: none; background: #f4ebdc; color: #272a24; font-size: 14px; cursor: pointer; transition: background .25s ease; }
.viewing-form button:hover { background: #fffaf2; }
.viewing-form button:disabled { opacity: .6; cursor: wait; }
.viewing-form .form-contact, .viewing-form .form-status { grid-column: 1/-1; text-align: center; margin: 0; font-size: 12px; line-height: 1.5; }
.form-status { color: #f1d7aa; }
.form-trap { display: none !important; }
.brand-lockup--footer { width: fit-content; margin: 35px auto 0; padding: 12px 0; background: transparent; }
.brand-lockup--footer img { filter: brightness(0) invert(1); }
@media (max-width: 900px) {
  .topbar { padding: 16px 18px; gap: 12px; }
  .wordmark { font-size: 10px; letter-spacing: .1em; }
  .wordmark small { font-size: 8px; }
  .topbar .brand-lockup img:first-child { width: 23px; height: 27px; }
  .topbar .brand-lockup img:last-child { width: 100px; }
  .topbar .brand-lockup { gap: 7px; }
  .hero__badge { padding: 13px 16px; font-size: 10px; }
  .hero__badge span { font-size: 9px; }
  .viewing-form { grid-template-columns: 1fr; }
}
@keyframes hero-breathe { to { transform: scale(1.015) translate3d(-5px, 4px, 0); } }
@keyframes light-drift { from { transform: translate3d(-3%, -2%, 0); } to { transform: translate3d(5%, 3%, 0); } }
@keyframes line-breathe { 50% { transform: scaleX(.45); opacity: .6; } }

@media (max-width: 900px) {
  .topbar nav { display: none; }
  .hero__content { padding-left: 24px; }
  .hero h1 { font-size: clamp(54px, 15vw, 86px); }
  .scroll-cue { display: none; }
  .intro__grid, .light-story, .centre { grid-template-columns: 1fr; }
  .intro__copy { margin-top: 44px; }
  .facts { grid-template-columns: 1fr; margin-top: 68px; }
  .page-stage__heading { display: block; }
  .page-stage__heading p { margin-top: 28px; }
  .book { height: auto; min-height: 0; aspect-ratio: .98; }
  .book__caption { display: block; }
  .book__caption p { margin-top: 10px; text-align: left; }
  .light-story__photo, .light-story__photo img { min-height: 0; }
  .day-flow { grid-template-columns: 1fr; }
  .day-card--lower { transform: none; }
  .day-card img { height: 70vh; max-height: 620px; }
  .centre__content { padding: 78px 0 0; }
  .details__grid { grid-template-columns: 1fr; }
}

/* Archival photographic paper — approved private-album direction. */
.book { width: 72%; }
.book { aspect-ratio: auto; scroll-margin-top: 110px; }
.light-story__photo, .centre__image { width: 72%; justify-self: center; }
.light-story__photo, .centre__image { width: 100%; }
.archive-print { width: 100%; margin-inline: auto; }
:root {
  --photo-paper: #eee2cd;
  --photo-foot: clamp(72px, 7vw, 100px);
  --paper-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23866a43' opacity='.13' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.book__underlay, .book__page, .light-story__photo, .centre__image, .archive-print {
  background-color: var(--photo-paper);
  background-image: var(--paper-grain), linear-gradient(125deg,rgba(137,94,43,.13),transparent 14%,rgba(255,255,255,.35) 45%,transparent 78%,rgba(137,94,43,.18));
  border: 1px solid rgba(132,98,54,.3);
  border-radius: 3px 7px 4px 8px;
  box-shadow: 0 20px 36px rgba(20,17,10,.2),inset 0 0 17px rgba(128,87,40,.18),inset 0 0 2px rgba(111,76,33,.35);
  clip-path: polygon(.12% .35%,5% .12%,12% .3%,23% 0,42% .2%,65% .12%,85% .3%,99.6% .12%,99.9% 7%,99.7% 24%,100% 47%,99.85% 69%,99.65% 93%,99.8% 99.5%,88% 99.85%,64% 99.7%,40% 100%,17% 99.8%,.4% 99.65%,.12% 88%,.3% 61%,0 35%,.2% 15%);
}
.book__page > img, .book__underlay img, .light-story__photo img, .centre__image img, .archive-print img {
  outline: 1px solid rgba(126,88,46,.45); outline-offset: 5px;
}
.book::before {
  content: ''; position: absolute; left: -12px; top: 5px; width: 65px; height: 27px;
  transform: rotate(-36deg); background: rgba(244,239,218,.56);
  border: 1px solid rgba(255,255,255,.4); box-shadow: 0 1px 3px rgba(0,0,0,.12);
  z-index: 5; pointer-events: none;
}
.book__caption { background: transparent; padding-right: 70px; gap: 12px; }
.book__caption p { font-family: 'Caveat', cursive; font-size: clamp(25px,3vw,40px); color: #67472e; line-height: 1.1; }
.book__caption span { font-size: 10px; color: #8d795c; }
.light-story__photo::before, .centre__image::before {
  content: attr(data-note); position: absolute; bottom: 15px; right: 28px;
  font-family: 'Caveat', cursive; font-size: clamp(28px,3vw,40px); color: #67472e; z-index: 3;
}
.archive-print { position: relative; margin: 0; padding: var(--photo-edge) var(--photo-edge) 0; }
.day-card .archive-print img { border: none; box-shadow: none; height: clamp(330px,34vw,540px); }
.archive-print figcaption { min-height: var(--photo-foot); padding: 18px 10px; text-align: right; font-family: 'Caveat',cursive; font-size: clamp(28px,2.5vw,38px); color: #67472e; line-height: 1.1; }
.day-card:nth-child(1) .archive-print { rotate: -1deg; }
.day-card:nth-child(2) .archive-print { rotate: 1deg; }
.day-card:nth-child(3) .archive-print { rotate: -.6deg; }
.hero, .finale { border-color: var(--photo-paper); }
.book__next--top { top: 0; bottom: auto; }
.book__next--top .page-corner { transform: scaleY(-1); transform-origin: center; }
.book__next--top .page-corner__arrow { top: 10px; bottom: auto; transform: scaleY(-1); }
.book__next--top:hover .page-corner, .book__next--top:focus-visible .page-corner { transform: translate(-3px,3px) scale(1.1,-1.1); }
.book__next--top:hover .page-corner__arrow { transform: translate(-4px,4px) scaleY(-1); }
.book__next .page-corner__arrow {
  width: 48px; height: 48px; padding: 11px;
  right: 8px; bottom: 8px; top: auto;
  background: #485046; color: #fffaf0;
  border: 1px solid rgba(255,255,255,.65); border-radius: 50%;
  box-shadow: 0 4px 12px rgba(20,24,17,.25);
}
.book__next .page-corner__arrow path { stroke-width: 2; }
.book__next--top .page-corner__arrow { top: 8px; bottom: auto; transform: none; }
.book__next:hover .page-corner__arrow, .book__next--top:hover .page-corner__arrow {
  transform: translateX(-3px); background: #293327;
}
.leaf-through-hint {
  position: absolute; right: 66px; top: 11px; z-index: 6;
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px; white-space: nowrap;
  color: #403628; background: #f4ead7;
  border: 1px solid rgba(121,97,58,.25); border-radius: 2px;
  font-family: 'Caveat', cursive; font-size: 23px;
  letter-spacing: 0; text-transform: none;
  box-shadow: 0 3px 9px rgba(29,26,19,.1);
  pointer-events: none;
}
.leaf-through-hint > span { display: inline-block; animation: leaf-hint-nudge 2.8s ease-in-out infinite; }
@keyframes leaf-hint-nudge {
  0%, 65%, 100% { transform: translateX(0); opacity: .75; }
  25%, 45% { transform: translateX(5px); opacity: 1; }
}
@media(max-width:900px) {
  .book__caption { display: flex; align-items: center; }
  .book__caption p { font-size: 25px; max-width: none; }
  .book__next { width: 72px; height: 72px; }
  .book__caption { padding-left: 0; padding-right: 50px; }
  .book__caption span { flex-shrink: 0; }
  .day-card .archive-print img { height: 60svh; max-height: 640px; }
}

.day-flow .archive-print { cursor: zoom-in; transition: filter .3s ease, translate .3s ease; }
.day-flow .archive-print:hover { filter: brightness(1.04); translate: 0 -5px; }
.day-flow .archive-print:focus-visible { outline: 2px solid #e7d4ae; outline-offset: 7px; }
.photo-viewer {
  position: fixed; inset: 0; margin: 0; border: 0;
  width: 100%; max-width: none; height: 100%; max-height: none;
  padding: 64px 22px 28px; background: transparent; overflow: auto;
  color: #67472e;
}
.photo-viewer[open] { display: grid; place-items: center; }
.photo-viewer::backdrop { background: rgba(12,16,12,.91); backdrop-filter: blur(9px); }
.photo-viewer__print {
  width: fit-content; max-width: 100%; margin: auto;
  padding: 12px 12px 0; background: var(--photo-paper);
  background-image: var(--paper-grain);
  box-shadow: 0 24px 85px rgba(0,0,0,.4),inset 0 0 18px rgba(128,87,40,.18);
  border: 1px solid rgba(132,98,54,.3); border-radius: 3px;
}
.photo-viewer__print img { width: auto; height: auto; max-width: min(1100px,calc(100vw - 74px)); max-height: calc(100svh - 185px); object-fit: contain; }
.photo-viewer__print figcaption { padding: 12px 10px 16px; text-align: right; font-family: 'Caveat',cursive; font-size: clamp(27px,3vw,38px); line-height: 1.15; }
.photo-viewer__close {
  position: fixed; top: 16px; right: 20px; width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.4); border-radius: 50%;
  background: #eee2cd; color: #333c30; cursor: pointer;
  font: 32px/1 var(--sans); z-index: 2;
}
.photo-viewer.is-opening .photo-viewer__print { animation: photo-unfold .55s cubic-bezier(.2,.75,.25,1) both; transform-origin: center; }
.photo-viewer.is-closing .photo-viewer__print { animation: photo-fold .26s ease both; }
@keyframes photo-unfold { from { opacity: 0; transform: perspective(1200px) translateY(28px) rotateX(7deg) scale(.84); } to { opacity: 1; transform: perspective(1200px) translateY(0) rotateX(0) scale(1); } }
@keyframes photo-fold { to { opacity: 0; transform: translateY(12px) scale(.94); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #leaves { display: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
  .hero__image { transform: none; }
  .photo-light::after { transform: none; }
  .book__page.turning { opacity: 0; transform: none; }
}
