/* Photographic set pieces, 2.8 (inc/ext/pp.php, assets/js/pp.js): Families, the Journal and three service pages.
   One engine for the photographs (a stack that crossfades, with a slow drift); each piece its own frame. */
.pp-stack, .pp-photo { position: absolute; inset: 0; margin: 0; }
.pp-photo { opacity: 0; transition: opacity 1.4s var(--ease); }
.pp-photo.is-on { opacity: 1; z-index: 1; }
.pp-photo.was-on { opacity: 1; z-index: 0; transition: none; }
.pp-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); transform-origin: var(--focus, 50% 50%); scale: 1.06; translate: calc(var(--lx, 0) * -10px) calc(var(--ly, 0) * -8px); transition: translate .6s var(--ease); }
.pp-photo.is-on img { animation: pp-ken 10s cubic-bezier(.25, .6, .25, 1) both; }
@keyframes pp-ken { from { scale: 1.02; } to { scale: 1.1; } }
@keyframes pp-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pp-swap { animation: pp-up .8s var(--ease) both; }
.pp-pill { appearance: none; padding: 8px 16px; border: 1px solid var(--pietra); border-radius: 999px; background: transparent; font: inherit; font-size: 15px; line-height: 1.2; color: var(--ink); cursor: pointer; transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease); }

/* ------------------------------------------------------------------ */
/* Families · the year of a house: a dial with a photograph inside;     */
/* the hand goes round the months, by itself or by hand.                */
/* ------------------------------------------------------------------ */
.ppy { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 84px); align-items: center; }
.ppy-dial { position: relative; width: min(100%, 600px, 70svh); aspect-ratio: 1; margin-inline: auto; -webkit-user-select: none; user-select: none; }
.ppy-face { position: absolute; inset: 14.5%; border-radius: 50%; overflow: hidden; isolation: isolate; background: var(--noce); box-shadow: 0 0 0 1px rgba(58, 50, 44, .22), 0 34px 70px -34px rgba(20, 15, 12, .6); transform: translateZ(0); cursor: grab; }
.ppy.is-turning .ppy-face { cursor: grabbing; }
.ppy-glow { position: absolute; inset: 0; z-index: 2; border-radius: 50%; pointer-events: none; background: var(--ppy-tint, transparent); mix-blend-mode: soft-light; box-shadow: inset 0 0 50px rgba(31, 25, 21, .38); transition: background-color 1.4s var(--ease); }
.ppy[data-season="0"] { --ppy-tint: rgba(207, 202, 193, .5); }
.ppy[data-season="1"] { --ppy-tint: rgba(243, 227, 194, .22); }
.ppy[data-season="2"] { --ppy-tint: rgba(227, 201, 154, .38); }
.ppy[data-season="3"] { --ppy-tint: color-mix(in srgb, var(--cera) 55%, var(--umber) 45%); }
.ppy[data-season="3"] .ppy-glow { opacity: .55; }
.ppy-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ppy-rim { fill: none; stroke: var(--pietra); stroke-width: 1; }
.ppy-ticks line { stroke: var(--pietra-2); stroke-width: 1; }
.ppy-ticks line.is-month { stroke: var(--umber); stroke-width: 1.5; }
.ppy-track { fill: none; stroke: rgba(58, 50, 44, .12); stroke-width: 3; }
.ppy-year { fill: none; stroke: var(--cera); stroke-width: 3; stroke-linecap: round; transition: stroke-dasharray 1.1s cubic-bezier(.5, .05, .25, 1); }
.ppy-hand { position: absolute; inset: 0; rotate: var(--deg, 0deg); pointer-events: none; transition: rotate 1.1s cubic-bezier(.5, .05, .25, 1); }
.ppy.is-turning .ppy-hand, .ppy.is-turning .ppy-year { transition-duration: .18s; }
.ppy-hand i { position: absolute; left: 50%; top: 9%; width: 3.4%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: var(--cera); box-shadow: 0 0 0 4px rgba(227, 201, 154, .28), 0 2px 8px rgba(31, 25, 21, .35); }
.ppy-m { appearance: none; position: absolute; translate: -50% -50%; padding: 6px 4px; border: 0; background: none; font: inherit; font-size: clamp(11px, 1vw, 13px); letter-spacing: .16em; text-indent: .16em; color: var(--fumo); cursor: pointer; transition: color .4s var(--ease); }
.ppy-m:hover, .ppy-m:focus-visible { color: var(--umber); }
.ppy-m[aria-selected="true"] { color: var(--ink); }
.ppy-m.is-now::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--cera); }
.ppy-text { display: flex; flex-direction: column; gap: 14px; max-width: 30em; }
.ppy-read { display: grid; gap: 6px; min-height: 13em; align-content: start; }
.ppy-kicker { margin: 0; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--fumo-2); }
.ppy-name { margin: 0; font-size: clamp(48px, 5.6vw, 84px); font-weight: 300; line-height: 1; letter-spacing: -.01em; color: var(--ink); }
.ppy-note { margin: 10px 0 0; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.5; color: var(--ink-2); }
.ppy-read.is-swap > * { animation: pp-up .8s var(--ease) both; }
.ppy-read.is-swap > :nth-child(2) { animation-delay: .05s; }
.ppy-read.is-swap > :nth-child(3) { animation-delay: .1s; }
.ppy-hint { margin: 0; font-size: 13px; font-style: italic; color: var(--fumo); transition: opacity .8s var(--ease); }
.ppy.is-touched .ppy-hint { opacity: 0; }
.ppy-cta { margin: 6px 0 0; }
@media (max-width: 900px) {
	.ppy { grid-template-columns: 1fr; gap: 22px; }
	.ppy-dial { width: min(100%, 440px); }
	.ppy-text { max-width: none; text-align: center; align-items: center; }
	.ppy-read { min-height: 0; }
	.ppy-name { font-size: clamp(40px, 12vw, 56px); }
}

/* ------------------------------------------------------------------ */
/* Journal · the house, room by room: five doors; the one in hand opens */
/* wide on its room, the others stand ajar with their names upright.    */
/* ------------------------------------------------------------------ */
.ppr { display: flex; flex-direction: column; gap: 18px; }
.ppr-row { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(8px, 1vw, 14px); height: clamp(380px, 54svh, 560px); }
.ppr-slot { flex: 1 1 0; min-width: 0; transition: flex-grow 1.1s cubic-bezier(.6, .05, .25, 1); }
.ppr-slot.is-on { flex-grow: 3.3; }
.ppr-door { position: relative; display: block; height: 100%; border-radius: var(--arch); overflow: hidden; isolation: isolate; background: var(--noce); color: var(--calce); text-decoration: none; box-shadow: 0 0 0 1px var(--pietra), 0 34px 60px -44px rgba(20, 15, 12, .7); transform: translateZ(0); }
.ppr-door:hover, .ppr-door:focus-visible { color: var(--calce); }
.ppr-photo { position: absolute; inset: 0; }
.ppr-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); transform-origin: var(--focus, 50% 50%); scale: 1.04; translate: calc(var(--lx, 0) * -8px) calc(var(--ly, 0) * -6px); transition: scale 6s cubic-bezier(.25, .6, .25, 1), translate .6s var(--ease), filter 1s var(--ease); filter: saturate(.8) brightness(.86); }
.ppr-slot.is-on .ppr-photo img { scale: 1.12; filter: none; }
.ppr-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(31, 25, 21, 0) 38%, rgba(31, 25, 21, .52) 72%, rgba(31, 25, 21, .86) 100%); }
.ppr-label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; flex-direction: column; gap: 6px; padding: 0 clamp(16px, 2vw, 30px) clamp(18px, 2.4vw, 30px); }
.ppr-name { font-size: clamp(19px, 1.8vw, 27px); line-height: 1.15; white-space: nowrap; }
.ppr-topic { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--cera-2); }
/* a door ajar: its name stands upright along it */
.ppr-slot:not(.is-on) .ppr-label { align-items: center; padding-inline: 0; }
.ppr-slot:not(.is-on) .ppr-name { writing-mode: vertical-rl; rotate: 180deg; font-size: clamp(16px, 1.35vw, 20px); animation: pp-up .7s var(--ease) both; }
.ppr-slot:not(.is-on) .ppr-topic { display: none; }
.ppr-slot.is-on .ppr-label > * { animation: pp-up .8s var(--ease) both .25s; }
.ppr-caption { display: grid; gap: 6px; max-width: 48em; min-height: 6.5em; align-content: start; }
.ppr-text { margin: 0; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--ink); }
.ppr-text.is-swap { animation: pp-up .7s var(--ease) both; }
.ppr-link { justify-self: start; }
.ppr-hint { margin: 4px 0 0; font-size: 13px; font-style: italic; color: var(--fumo); }
@media (max-width: 760px) {
	.ppr-row { height: 430px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
	.ppr-row::-webkit-scrollbar { display: none; }
	.ppr-slot, .ppr-slot.is-on { flex: 0 0 74%; scroll-snap-align: start; }
	.ppr-slot:not(.is-on) .ppr-label { align-items: flex-start; padding-inline: 18px; }
	.ppr-slot:not(.is-on) .ppr-name { writing-mode: horizontal-tb; rotate: none; font-size: 20px; animation: none; }
	.ppr-slot:not(.is-on) .ppr-topic { display: block; }
	.ppr-photo img { filter: none; }
}

/* ------------------------------------------------------------------ */
/* Seasonal residences · six weeks before you arrive: a window whose    */
/* shutters open week by week, while the light comes back into the room. */
/* ------------------------------------------------------------------ */
.ppc { --k: 0; display: flex; flex-direction: column; gap: 18px; }
.ppc-window { position: relative; aspect-ratio: 2.25; border-radius: 50% 50% 4px 4px / 20% 20% 4px 4px; overflow: hidden; isolation: isolate; background: var(--noce); box-shadow: 0 0 0 1px var(--pietra), 0 40px 80px -50px rgba(20, 15, 12, .7); transform: translateZ(0); }
.ppc .pp-photo img { filter: brightness(calc(.6 + var(--k) * .066)) saturate(calc(.55 + var(--k) * .075)); transition: filter 1.3s var(--ease), translate .6s var(--ease); }
.ppc-lamp { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(55% 75% at 50% 62%, rgba(243, 227, 194, .5), rgba(243, 227, 194, 0) 70%); mix-blend-mode: soft-light; opacity: 0; transition: opacity 1.6s var(--ease); }
.ppc[data-step="6"] .ppc-lamp { opacity: 1; }
.ppc-shutters { position: absolute; inset: 0; z-index: 3; pointer-events: none; perspective: 1500px; }
.ppc-shutter { --wood: color-mix(in srgb, var(--fumo) 62%, var(--umber)); position: absolute; top: 0; bottom: 0; width: 50.2%; background-color: var(--wood);
	background-image: repeating-linear-gradient(180deg, rgba(243, 227, 194, .2) 0 1px, rgba(243, 227, 194, .05) 1px 6px, rgba(20, 15, 12, .05) 6px 11px, rgba(20, 15, 12, .42) 11px 13px, rgba(20, 15, 12, .12) 13px 14px), linear-gradient(90deg, rgba(20, 15, 12, .3), rgba(243, 227, 194, .06) 50%, rgba(20, 15, 12, .3)), url('../img/tome-leather.svg');
	background-size: auto, auto, 260px 260px;
	box-shadow: inset 0 0 0 clamp(9px, 1.2vw, 15px) color-mix(in srgb, var(--wood) 88%, var(--cera)), inset 0 0 0 calc(clamp(9px, 1.2vw, 15px) + 1px) rgba(20, 15, 12, .4), inset 0 0 0 calc(clamp(9px, 1.2vw, 15px) + 2px) rgba(243, 227, 194, .12);
	transition: transform 1.4s cubic-bezier(.5, .05, .25, 1); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.ppc-shutter i { position: absolute; left: 0; right: 0; top: 50%; height: clamp(9px, 1.2vw, 15px); translate: 0 -50%; background: color-mix(in srgb, var(--wood) 88%, var(--cera)); box-shadow: 0 1px 0 rgba(20, 15, 12, .4), 0 -1px 0 rgba(20, 15, 12, .4); }
.ppc-shutter--l i::after, .ppc-shutter--r i::after { content: ""; position: absolute; top: 50%; width: 10px; height: 10px; translate: 0 -50%; border-radius: 50%; background: color-mix(in srgb, var(--cera) 70%, var(--umber)); box-shadow: 0 1px 2px rgba(20, 15, 12, .5); }
.ppc-shutter--l i::after { right: 18px; }
.ppc-shutter--r i::after { left: 18px; }
.ppc-shutter--l { left: 0; transform-origin: 0 50%; transform: rotateY(calc((22 + var(--k) * 12.5) * -1deg)); }
.ppc-shutter--r { right: 0; transform-origin: 100% 50%; transform: rotateY(calc((22 + var(--k) * 12.5) * 1deg)); }
.ppc-read { position: absolute; left: 0; bottom: 0; z-index: 4; display: grid; gap: 6px; max-width: min(640px, 78%); padding: clamp(18px, 3vw, 44px); color: var(--calce); text-shadow: 0 1px 18px rgba(20, 15, 12, .55); }
.ppc-read::before { content: ""; position: absolute; inset: -40% -30% 0 0; z-index: -1; background: radial-gradient(90% 80% at 20% 100%, rgba(20, 15, 12, .62), rgba(20, 15, 12, 0) 70%); }
.ppc-label { margin: 0; font-size: clamp(40px, 5.2vw, 80px); font-weight: 300; line-height: 1; }
.ppc-note { margin: 0; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.45; color: rgba(237, 236, 232, .94); }
.ppc-read.is-swap > * { animation: pp-up .8s var(--ease) both; }
.ppc-read.is-swap > :nth-child(2) { animation-delay: .06s; }
.ppc-bar { display: grid; gap: 8px; }
.ppc-range { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; margin: 0; background: transparent; cursor: pointer; }
.ppc-range::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--umber) 0 calc(var(--k) / 6 * 100%), var(--pietra) calc(var(--k) / 6 * 100%) 100%); }
.ppc-range::-moz-range-track { height: 2px; background: var(--pietra); }
.ppc-range::-moz-range-progress { height: 2px; background: var(--umber); }
.ppc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border-radius: 50%; background: var(--cera); box-shadow: 0 0 0 5px rgba(227, 201, 154, .28), 0 2px 6px rgba(31, 25, 21, .3); }
.ppc-range::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--cera); box-shadow: 0 0 0 5px rgba(227, 201, 154, .28); }
.ppc-range:focus-visible { outline: 2px solid var(--umber); outline-offset: 4px; }
.ppc-ticks { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; }
.ppc-tick { flex: 0 0 auto; width: 0; display: flex; justify-content: center; white-space: nowrap; font-size: 13px; color: var(--fumo); transition: color .5s var(--ease); }
.ppc-tick:first-child { justify-content: flex-start; padding-left: 11px; }
.ppc-tick:last-child { justify-content: flex-end; padding-right: 11px; }
.ppc-tick.is-on { color: var(--ink); }
@media (max-width: 760px) {
	.ppc-window { aspect-ratio: 1.05; border-radius: 50% 50% 4px 4px / 16% 16% 4px 4px; }
	.ppc-read { max-width: none; }
	.ppc-tick { font-size: 11px; }
	.ppc-tick:not(.is-on):not(:first-child):not(:last-child) { color: transparent; }
}

/* ------------------------------------------------------------------ */
/* Household management · the week of a house: seven cards, one a day; */
/* the day in hand on top, the next ones waiting behind it.             */
/* ------------------------------------------------------------------ */
.ppw { display: flex; flex-direction: column; gap: 16px; }
.ppw-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.ppw-tab { appearance: none; display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 15px; border: 1px solid var(--pietra); border-radius: 999px; background: transparent; font: inherit; font-size: 15px; line-height: 1.2; color: var(--ink); cursor: pointer; transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease); }
.ppw-tab small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--umber); }
.ppw-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--calce); }
.ppw-tab[aria-selected="true"] small { color: var(--cera); }
.ppw-deck { position: relative; height: clamp(380px, 50svh, 500px); perspective: 1800px; }
.ppw-card { --o: 0; position: absolute; top: 0; bottom: 0; left: 0; right: 9%; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border-radius: 16px; overflow: hidden; background: var(--calce); box-shadow: 0 0 0 1px rgba(58, 50, 44, .12), 0 30px 60px -38px rgba(20, 15, 12, .55);
	transform: translateX(calc(var(--o) * 3.1%)) translateZ(calc(var(--o) * -46px)) rotate(calc(var(--o) * .9deg)); z-index: calc(20 - var(--o)); opacity: calc(1 - var(--o) * .12);
	transition: transform .95s cubic-bezier(.55, .05, .25, 1), opacity .95s var(--ease); }
.ppw-card.is-back { opacity: 0; }
.ppw-card.is-gone { transform: translateX(-108%) rotate(-6deg); opacity: 0; }
.ppw-card.is-still { transition: none; }
.ppw-card:not(.is-front) .ppw-body > * { opacity: .55; }
.ppw-photo { position: relative; overflow: hidden; background: var(--noce); }
.ppw-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); transform-origin: var(--focus, 50% 50%); scale: 1.04; }
.ppw-card.is-front .ppw-photo img { animation: pp-ken 9s cubic-bezier(.25, .6, .25, 1) both; }
.ppw-body { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: clamp(22px, 3vw, 42px); background: var(--calce); }
.ppw-day { margin: 0; font-size: clamp(30px, 3.2vw, 46px); font-weight: 300; line-height: 1.05; color: var(--ink); }
.ppw-today { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 9px; border-radius: 999px; background: var(--cera-2); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--umber); }
.ppw-note { margin: 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--ink-2); }
.ppw-areas { list-style: none; margin: auto 0 0; padding: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; border-top: 1px solid var(--pietra); }
.ppw-area { display: flex; align-items: center; gap: 9px; min-width: 0; font-size: 14px; line-height: 1.3; color: var(--fumo-2); }
.ppw-area i { flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--fumo); }
.ppw-area.is-rest { color: var(--pietra-2); }
.ppw-area.is-rest i { width: 8px; height: 1px; border-radius: 0; background: var(--pietra-2); }
.ppw-area.is-main { color: var(--ink); }
.ppw-area.is-main i { width: 9px; height: 9px; background: var(--cera); box-shadow: 0 0 0 3px rgba(227, 201, 154, .32); }
.ppw-card.is-front .ppw-body > * { animation: pp-up .8s var(--ease) both; }
.ppw-card.is-front .ppw-body > :nth-child(2) { animation-delay: .06s; }
.ppw-card.is-front .ppw-body > :nth-child(3) { animation-delay: .12s; }
.ppw-hint { margin: 0; font-size: 13px; font-style: italic; color: var(--fumo); transition: opacity .8s var(--ease); }
.ppw.is-touched .ppw-hint { opacity: 0; }
@media (max-width: 760px) {
	.ppw-tab { padding: 7px 12px; font-size: 14px; }
	.ppw-deck { height: 600px; }
	.ppw-card { right: 7%; grid-template-columns: 1fr; grid-template-rows: 46% 1fr; }
	.ppw-body { padding: 20px 20px 22px; gap: 10px; }
	.ppw-day { font-size: 30px; }
	.ppw-note { font-size: 15.5px; }
	.ppw-area { font-size: 13px; }
}

/* ------------------------------------------------------------------ */
/* Estate management · the estate through the seasons: one photograph  */
/* a season, in that season's light; the parts with work are named.     */
/* ------------------------------------------------------------------ */
.pps { display: flex; flex-direction: column; gap: 16px; }
.pps-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pps-chip { appearance: none; padding: 8px 18px; border: 1px solid var(--pietra); border-radius: 999px; background: transparent; font: inherit; font-size: 15px; line-height: 1.2; color: var(--ink); cursor: pointer; transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease); }
.pps-chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--calce); }
.pps-frame { position: relative; aspect-ratio: 2.3; border-radius: 50% 50% 4px 4px / 18% 18% 4px 4px; overflow: hidden; isolation: isolate; background: var(--noce); box-shadow: 0 0 0 1px var(--pietra), 0 40px 80px -50px rgba(20, 15, 12, .7); transform: translateZ(0); }
.pps-light { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: var(--pps-tint, transparent); mix-blend-mode: soft-light; transition: background-color 1.4s var(--ease); }
.pps[data-season="winter"] { --pps-tint: rgba(207, 202, 193, .6); }
.pps[data-season="spring"] { --pps-tint: rgba(243, 227, 194, .25); }
.pps[data-season="summer"] { --pps-tint: rgba(227, 201, 154, .42); }
.pps[data-season="autumn"] { --pps-tint: color-mix(in srgb, var(--cera) 50%, var(--umber) 50%); }
.pps-frame::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(200deg, rgba(31, 25, 21, 0) 40%, rgba(31, 25, 21, .55) 78%, rgba(31, 25, 21, .82) 100%); }
.pps-read { position: absolute; left: 0; bottom: 0; z-index: 3; display: grid; gap: 8px; max-width: min(640px, 76%); padding: clamp(18px, 3vw, 44px); color: var(--calce); text-shadow: 0 1px 18px rgba(20, 15, 12, .5); }
.pps-season { margin: 0; font-size: clamp(38px, 4.6vw, 68px); font-weight: 300; line-height: 1; }
.pps-note { margin: 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: rgba(237, 236, 232, .94); }
.pps-read.is-swap > * { animation: pp-up .8s var(--ease) both; }
.pps-read.is-swap > :nth-child(2) { animation-delay: .06s; }
.pps-areas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pps-area { padding: 6px 14px; border: 1px solid var(--pietra); border-radius: 999px; font-size: 14px; color: var(--fumo); transition: background-color .7s var(--ease), color .7s var(--ease), border-color .7s var(--ease); }
.pps-area.is-lit { background: var(--cera-2); border-color: var(--cera); color: var(--ink); }
@media (max-width: 760px) {
	.pps-frame { aspect-ratio: .95; border-radius: 50% 50% 4px 4px / 16% 16% 4px 4px; }
	.pps-read { max-width: none; }
	.pps-area { font-size: 13px; padding: 5px 12px; }
}

/* ------------------------------------------------------------------ */
/* Private office · one year, three houses: the house where the family */
/* is, in photographs; the year below, coloured by house.               */
/* ------------------------------------------------------------------ */
.ppo { --h0: var(--umber); --h1: var(--pietra-2); --h2: var(--cera); display: flex; flex-direction: column; gap: 16px; }
.ppo-frame { position: relative; aspect-ratio: 2.3; border-radius: 50% 50% 4px 4px / 18% 18% 4px 4px; overflow: hidden; isolation: isolate; background: var(--noce); box-shadow: 0 0 0 1px var(--pietra), 0 40px 80px -50px rgba(20, 15, 12, .7); transform: translateZ(0); }
.ppo-frame::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(200deg, rgba(31, 25, 21, 0) 38%, rgba(31, 25, 21, .55) 76%, rgba(31, 25, 21, .84) 100%); }
.ppo-read { position: absolute; left: 0; bottom: 0; z-index: 3; display: grid; gap: 6px; max-width: min(660px, 78%); padding: clamp(18px, 3vw, 44px); color: var(--calce); text-shadow: 0 1px 18px rgba(20, 15, 12, .5); }
.ppo-where { margin: 0; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--cera-2); }
.ppo-month { margin: 0; font-size: clamp(38px, 4.6vw, 68px); font-weight: 300; line-height: 1; }
.ppo-note { margin: 4px 0 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: rgba(237, 236, 232, .94); }
.ppo-event { justify-self: start; margin: 6px 0 0; padding: 4px 12px; border-radius: 999px; background: rgba(243, 227, 194, .16); box-shadow: inset 0 0 0 1px rgba(243, 227, 194, .45); font-size: 13px; letter-spacing: .08em; color: var(--cera-2); }
.ppo-event[hidden] { display: none; }
.ppo-read.is-swap > * { animation: pp-up .8s var(--ease) both; }
.ppo-read.is-swap > :nth-child(2) { animation-delay: .05s; }
.ppo-read.is-swap > :nth-child(3) { animation-delay: .1s; }
.ppo-year { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.ppo-m { appearance: none; position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 6px 0 4px; border: 0; background: none; font: inherit; font-size: 12px; letter-spacing: .12em; color: var(--fumo); cursor: pointer; transition: color .4s var(--ease); }
.ppo-m-bar { width: 100%; height: 6px; border-radius: 3px; background: var(--hc, var(--pietra)); opacity: .55; transition: height .5s var(--ease), opacity .5s var(--ease), transform .5s var(--ease); }
.ppo-m[data-h="0"] { --hc: var(--h0); }
.ppo-m[data-h="1"] { --hc: var(--h1); }
.ppo-m[data-h="2"] { --hc: var(--h2); }
.ppo-m:hover, .ppo-m:focus-visible { color: var(--umber); }
.ppo-m:hover .ppo-m-bar { opacity: .85; }
.ppo-m[aria-selected="true"] { color: var(--ink); }
.ppo-m[aria-selected="true"] .ppo-m-bar { height: 10px; opacity: 1; transform: translateY(-2px); }
.ppo-m-ev { position: absolute; top: -4px; right: 8%; width: 7px; height: 7px; rotate: 45deg; background: var(--umber); }
.ppo-houses { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ppo-house { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--fumo-2); transition: color .5s var(--ease); }
.ppo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dc); }
.ppo-house[data-h="0"] { --dc: var(--h0); }
.ppo-house[data-h="1"] { --dc: var(--h1); }
.ppo-house[data-h="2"] { --dc: var(--h2); }
.ppo[data-house="0"] .ppo-house[data-h="0"], .ppo[data-house="1"] .ppo-house[data-h="1"], .ppo[data-house="2"] .ppo-house[data-h="2"] { color: var(--ink); }
.ppo-hint { margin: 0; font-size: 13px; font-style: italic; color: var(--fumo); transition: opacity .8s var(--ease); }
.ppo.is-touched .ppo-hint { opacity: 0; }
@media (max-width: 760px) {
	.ppo-frame { aspect-ratio: .95; border-radius: 50% 50% 4px 4px / 16% 16% 4px 4px; }
	.ppo-read { max-width: none; }
	.ppo-year { gap: 2px; }
	.ppo-m { font-size: 9.5px; letter-spacing: .04em; }
}
@media (prefers-reduced-motion: reduce) { .ppo-read.is-swap > * { animation: none !important; } }

@media (prefers-reduced-motion: reduce) {
	.pp-photo { transition-duration: .6s; }
	.pp-photo.is-on img, .ppw-card.is-front .ppw-photo img { animation: none; scale: 1.03; }
	.pp-photo img, .ppr-photo img { translate: none; }
	.ppy-hand, .ppy-year, .ppr-slot, .ppc-shutter, .ppw-card { transition: none !important; }
	.ppy-read.is-swap > *, .ppr-text.is-swap, .ppc-read.is-swap > *, .pps-read.is-swap > *, .ppw-card.is-front .ppw-body > *, .ppr-slot .ppr-label > *, .ppr-slot .ppr-name { animation: none !important; }
}
