/* Editorial pages. The palette and typefaces are shared with the home. */
.editorial-page { padding-top: 96px; background: var(--vf-surface-light); color: var(--vf-text-dark); }
.editorial-page :is(section, article, aside, div) { min-width: 0; }
.editorial-page .reveal:not(.active) { translate: 0 18px; }
.editorial-page section[id], .editorial-page article[id] { scroll-margin-top: 16px; }
.ed-section { padding: clamp(4rem, 8vw, 8rem) max(5vw, calc((100vw - 1440px) / 2)); }
.ed-dark { color: var(--vf-text-light); background: var(--vf-surface-dark); }
.ed-kicker { margin: 0 0 1.4rem; font: 500 .9rem/1.4 "Open Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.ed-heading { margin: 0; color: var(--vf-accent); font: 400 clamp(2.75rem, 5vw, 5.8rem)/.99 "new-atlas", Georgia, serif; letter-spacing: -.035em; }
.ed-copy { max-width: 55ch; font-size: clamp(1.0625rem, 1.3vw, 1.2rem); line-height: 1.8; }
.ed-copy p + p { margin-top: 1.4rem; }
.ed-heading + .ed-copy { margin-top: 2rem; }
.ed-lead { max-width: 37ch; margin-top: 2rem; font-size: clamp(1.125rem, 1.55vw, 1.4rem); line-height: 1.65; }
.ed-photo { position: relative; min-width: 0; margin: 0; overflow: hidden; }
.ed-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* The cellar photograph contains a thin white edge in its bottom pixels. */
.ed-photo img[src$="botti-optimized.jpg"] { scale: 1.015; }
.ed-photo figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: .85rem 1.2rem; background: var(--vf-surface-dark); color: var(--vf-text-light); font-size: .875rem; line-height: 1.4; }
.ed-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 50px; max-width: 100%; padding: .8rem 1.4rem; border: 1px solid currentColor; border-radius: 100px; text-decoration: none; font: 400 1rem/1.35 "new-atlas", Georgia, serif; text-transform: uppercase; transition: background-color .25s, color .25s; }
.ed-link > :last-child { font-family: "Open Sans", sans-serif; font-size: 1.4rem; line-height: 1; }
.ed-copy + .ed-link, .ed-lead + .ed-link { margin-top: 2rem; }
.ed-link:hover { background: var(--vf-surface-dark); color: var(--vf-text-light); }
.ed-dark .ed-link:hover { background: var(--vf-surface-light); color: var(--vf-text-dark); }
.ed-intro-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 7vw; align-items: center; }
.ed-index { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; margin: 0 5vw; }
.ed-index a { display: flex; gap: 1rem; align-items: center; min-height: 90px; padding: 1.4rem 1.8rem; font: 400 clamp(1.05rem,1.7vw,1.6rem)/1.3 "new-atlas", Georgia, serif; }
.ed-index a + a { border-left: 1px solid currentColor; }
.ed-index a span:first-child { font: 500 .8rem/1 "Open Sans", sans-serif; }
.ed-index a span:last-child { margin-left: auto; }
.ed-index a:hover { background: var(--vf-surface-dark); color: var(--vf-text-light); }
.ed-next { display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding: 4rem 5vw; border-top: 1px solid currentColor; background: var(--vf-surface-light); color: var(--vf-text-dark); }
.ed-next .ed-kicker { margin-bottom: .5rem; }
.ed-next h2 { font: 400 clamp(2.5rem,4vw,4.5rem)/1.1 "new-atlas", Georgia, serif; }
.ed-next .ed-link { flex: none; }

/* About: a staggered photographic cover, then a broad image spread. */
.ed-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); min-height: min(850px, calc(100svh - 96px)); }
.ed-hero-copy { align-self: center; padding: 5rem 2vw 5rem 5vw; }
.ed-hero h1, .ed-history-hero h1, .ed-museum-hero h1, .ed-contact-hero h1 { margin: 0; color: var(--vf-accent); font: 400 clamp(4rem, 7.7vw, 8.6rem)/.94 "new-atlas", Georgia, serif; letter-spacing: -.045em; }
.ed-hero-collage { position: relative; min-height: 650px; margin: 2.5rem 0 5rem; }
.ed-hero-main { position: absolute; top: 0; right: 0; width: 83%; height: 88%; }
.ed-hero-main img { object-position: 55% center; }
.ed-hero-inset { position: absolute; bottom: 0; left: 0; width: 51%; height: 44%; border: .65rem solid var(--vf-surface-light); }
.ed-image-caption { position: absolute; bottom: 0; right: 5%; max-width: 40%; font-size: .8rem; line-height: 1.5; letter-spacing: .09em; text-align: right; text-transform: uppercase; }
.ed-event-collage .ed-image-caption { max-width: 28%; }
.ed-photo-spread { position: relative; display: grid; grid-template-columns: 1.5fr 1fr; gap: 3vw; align-items: start; padding-top: 5rem; padding-bottom: 2rem; }
.ed-spread-wide { height: clamp(23rem,42vw,42rem); }
.ed-spread-tall { height: clamp(26rem,43vw,45rem); margin-top: 8rem; }
.ed-spread-word { display: block; margin-top: 1.25rem; color: var(--vf-accent); font: 400 clamp(5rem,13vw,14rem)/1 "new-atlas", Georgia, serif; letter-spacing: -.045em; pointer-events: none; }
.ed-family-grid { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 8vw; }
.ed-family-number { border-right: 1px solid var(--vf-accent); padding-right: 5vw; text-align: center; }
.ed-family-number > span { display: block; color: var(--vf-accent); font: 400 clamp(15rem,30vw,32rem)/1.1 "new-atlas", Georgia, serif; }
.ed-family-number > p { margin-top: 2rem; font-size: 1rem; letter-spacing: .09em; text-transform: uppercase; }
.ed-image-statement { position: relative; min-height: 70svh; display: flex; align-items: center; padding: 5vw; background: var(--vf-surface-dark); }
.ed-image-statement .ed-photo { position: absolute; inset: 0; }
.ed-image-statement::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(40 0 0 / 82%), rgb(40 0 0 / 25%)); }
.ed-image-statement h2 { position: relative; z-index: 1; max-width: 16ch; color: var(--vf-text-light); font: 400 clamp(3rem, 7vw,8rem)/1 "new-atlas", Georgia, serif; }
.ed-triad { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 3rem; margin-top: 5rem; }
.ed-triad article { padding-top: 1.5rem; border-top: 1px solid currentColor; }
.ed-ordinal { display: block; align-self: start; min-width: 2ch; white-space: nowrap; color: var(--vf-accent); font: 400 clamp(2rem,3.5vw,4rem)/1 "new-atlas", Georgia, serif; }
.ed-triad h3 { margin: 2rem 0 1rem; font: 400 2.3rem/1.1 "new-atlas", Georgia, serif; }
.ed-triad p { font-size: 1.0625rem; line-height: 1.75; }

/* History: full photograph, oversized dates and a readable vertical chronology. */
.ed-history-hero { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 780px; height: calc(100svh - 96px); max-height: 1000px; padding: 5vw 5vw 2rem; color: var(--vf-text-light); background: var(--vf-surface-dark); }
.ed-history-hero > .ed-photo { position: absolute; inset: 0; }
.ed-history-hero > .ed-photo img { object-position: center 52%; }
.ed-history-hero::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgb(40 0 0 / 90%), rgb(40 0 0 / 15%)); }
.ed-history-title, .ed-year-ribbon { position: relative; z-index: 1; }
.ed-year-ribbon { display: flex; align-items: center; gap: 3vw; margin-top: 3rem; font: 400 clamp(4.5rem,12vw,12rem)/1 "new-atlas", Georgia, serif; }
.ed-year-line { flex: 1; height: 1px; background: currentColor; }
.ed-timeline-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 7vw; }
.ed-sticky { position: sticky; top: 125px; }
.ed-timeline-photo { height: 280px; margin-top: 3rem; }
.ed-timeline { min-width: 0; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--vf-text-dark); }
.ed-time-row { position: relative; padding: 2.5rem 0; border-bottom: 1px solid var(--vf-text-dark); }
.ed-time-row::before { content: ""; position: absolute; left: -.35rem; top: -.35rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--vf-accent); }
.ed-time-date { display: block; color: var(--vf-accent); font: 400 clamp(3rem,5.5vw,6rem)/1 "new-atlas", Georgia, serif; }
.ed-time-row h3 { margin: 1rem 0 .85rem; font: 400 1.8rem/1.2 "new-atlas", Georgia, serif; }
.ed-time-row p { font-size: 1.0625rem; line-height: 1.8; }
.ed-document { display: grid; grid-template-columns: 1.1fr 1fr; gap: 7vw; align-items: center; padding: 7rem 5vw; }
.ed-document-date > span { display: block; color: var(--vf-accent); font: 400 clamp(5rem,14vw,16rem)/1.1 "new-atlas", Georgia, serif; }
.ed-document-date .ed-kicker { max-width: 25ch; margin-top: 1.5rem; }

/* Museum: an illustrated introduction and six numbered chapters. */
.ed-museum-hero { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: stretch; min-height: 730px; }
.ed-museum-title { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 5rem 5vw; }
.ed-museum-cover { min-height: 0; align-self: stretch; }
.ed-museum-cover img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ed-museum-seal { position: absolute; z-index: 2; left: 50%; top: 50%; width: clamp(110px,10vw,148px); height: auto; translate: -50% -50%; filter: drop-shadow(0 4px 16px rgb(40 0 0 / 35%)); }
.ed-room-index { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 3rem; border-top: 1px solid currentColor; }
.ed-room-index a { display: flex; align-items: center; gap: 1rem; min-height: 80px; padding: 1rem; border-bottom: 1px solid currentColor; font: 400 1.2rem/1.3 "new-atlas", Georgia, serif; }
.ed-room-index a span { flex: none; font: 500 .8rem/1 "Open Sans", sans-serif; }
.ed-room-index a:hover { background: var(--vf-surface-dark); color: var(--vf-text-light); }
.ed-route-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 6vw; align-items: start; margin-top: 6rem; }
.ed-route-visual .ed-photo { height: 58vh; max-height: 650px; }
.ed-route-caption { max-width: 35ch; margin-top: 1.5rem; font-size: 1rem; }
.ed-room { display: grid; grid-template-columns: max-content minmax(0,1fr); gap: clamp(1.25rem,2vw,2rem); padding: 2.5rem 0; border-top: 1px solid currentColor; }
.ed-room:last-child { border-bottom: 1px solid currentColor; }
.ed-room .ed-kicker { margin-bottom: .75rem; font-size: .8rem; }
.ed-room h3 { font: 400 clamp(1.8rem,2.6vw,3rem)/1.12 "new-atlas", Georgia, serif; color: var(--vf-text-dark); }
.ed-room p:not(.ed-kicker) { margin-top: 1.25rem; font-size: 1.0625rem; line-height: 1.8; }
.ed-visit { display: block; }
.ed-visit-copy { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1.5rem 5vw; padding: 5rem 5vw; }
.ed-visit-copy > .ed-kicker, .ed-visit-copy > .ed-visit-list { grid-column: 1 / -1; }
.ed-visit-copy > .ed-link { grid-column: 1 / -1; justify-self: start; }
.ed-visit-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.ed-visit-list li { padding: 1.25rem 1.5rem; border: 1px solid currentColor; font: 400 1.25rem/1.3 "new-atlas", Georgia, serif; }

/* Events: photographs arranged around three types of gathering. */
.ed-hero--events { grid-template-columns: 1fr 1fr; }
.ed-hero--events h1 { font-size: clamp(3rem,5.6vw,6.5rem); }
.ed-event-collage { position: relative; min-height: 720px; margin: 3rem 0; }
.ed-event-tall { position: absolute; right: 0; top: 0; width: 75%; height: 77%; }
.ed-event-small { position: absolute; left: 0; bottom: 0; width: 65%; height: 40%; border: .65rem solid var(--vf-surface-light); }
.ed-event-intro { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 7vw; }
.ed-offer { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.ed-offer:nth-of-type(odd) .ed-offer-visual { order: 2; }
.ed-offer-visual { position: relative; min-height: 670px; }
.ed-offer-visual .ed-photo { height: 100%; }
.ed-photo-number { position: absolute; bottom: 1rem; left: 3rem; color: var(--vf-text-light); font: 400 8rem/1 "new-atlas", Georgia, serif; text-shadow: 0 2px 20px var(--vf-surface-dark); pointer-events: none; }
.ed-offer-copy { padding: 5rem 5vw; align-self: center; }
.ed-offer .ed-heading { font-size: clamp(2.75rem,4.3vw,5rem); }
.ed-event-cta { padding: 6rem 5vw; }
.ed-event-cta .ed-heading { max-width: 20ch; font-size: clamp(3rem,6.8vw,8rem); }
.ed-event-cta-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; margin-top: 3rem; }
.ed-event-cta-bottom .ed-link { flex: none; }

/* Contact: the address becomes part of the photographic composition. */
.ed-contact-hero { padding: 4rem 5vw 0; }
.ed-contact-title { display: grid; grid-template-columns: 1.3fr .7fr; gap: 0 5vw; align-items: end; padding-bottom: 4rem; }
.ed-contact-title .ed-kicker { grid-column: 1 / -1; }
.ed-contact-title h1 { font-size: clamp(4rem,7vw,8rem); }
.ed-contact-title .ed-lead { margin-top: 0; max-width: 35ch; }
.ed-contact-view { position: relative; padding-bottom: 3rem; }
.ed-contact-view > .ed-photo { height: clamp(530px, 45vw, 760px); }
/* Left-weighted crop: keeps the corner of the villa in frame next to the museum. */
.ed-contact-view > .ed-photo img { object-position: 28% 62%; }
.ed-address-plaque { position: absolute; bottom: 0; right: 3rem; padding: 2.5rem; background: var(--vf-surface-dark); color: var(--vf-text-light); border: .5rem solid var(--vf-surface-light); }
.ed-address-plaque address { font: 400 2rem/1.25 "new-atlas", Georgia, serif; font-style: normal; margin: 1.5rem 0 2rem; }
.ed-address-plaque .ed-link:hover { background: var(--vf-surface-light); color: var(--vf-text-dark); }
.ed-contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; }
.ed-contact-list { margin: 0; border-top: 1px solid currentColor; }
.ed-contact-list > div { display: grid; grid-template-columns: .6fr 1fr; gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid currentColor; }
.ed-contact-list dt { font: 400 1.25rem/1.5 "new-atlas", Georgia, serif; }
.ed-contact-list dd { font-size: 1.0625rem; line-height: 1.65; }
.ed-faq-section .ed-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 7vw; }
.ed-faq { border-top: 1px solid currentColor; }
.ed-faq:last-child { border-bottom: 1px solid currentColor; }
.ed-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 90px; padding: 1.5rem 0; cursor: pointer; list-style: none; font: 400 1.45rem/1.3 "new-atlas", Georgia, serif; }
.ed-faq summary::-webkit-details-marker { display: none; }
.ed-faq summary span { color: var(--vf-accent); font-size: 2rem; transition: rotate .25s; }
.ed-faq[open] summary span { rotate: 45deg; }
.ed-faq > div { padding: 0 2.5rem 1.75rem 0; font-size: 1.0625rem; line-height: 1.8; }
.ed-faq[open] > div { animation: ed-enter .35s ease both; }
@keyframes ed-enter { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
.ed-hero h1, .ed-history-title h1, .ed-museum-title h1, .ed-contact-title h1 { animation: ed-enter .9s cubic-bezier(.16,1,.3,1) both; }
@media (min-width: 1500px) { .ed-hero-copy { padding-left: max(5vw,calc((100vw - 1440px)/2)); } }
@media (max-width: 1100px) {
 .ed-hero h1 { font-size: 7.6vw; }
 .ed-hero--events h1 { font-size: 5.6vw; }
 .ed-hero-collage, .ed-event-collage { min-height: 610px; }
 .ed-museum-hero { min-height: 670px; }
 .ed-timeline-layout, .ed-route-layout { gap: 4vw; }
 .ed-offer-visual { min-height: 600px; }
 .ed-offer-copy { padding: 3.5rem 4vw; }
 .ed-index a { padding: 1.3rem 1rem; }
}
@media (max-width: 767px) {
 .editorial-page { padding-top: 80px; }
 .ed-section { padding: 4rem 1.5rem; }
 .ed-kicker { font-size: .8rem; margin-bottom: 1rem; }
 .ed-heading { font-size: clamp(2.55rem,9vw,4.2rem); }
 .ed-lead { font-size: 1.125rem; margin-top: 1.5rem; }
 .ed-copy { font-size: 1.0625rem; }
 .ed-intro-grid, .ed-event-intro, .ed-family-grid, .ed-timeline-layout, .ed-document, .ed-route-layout, .ed-contact-details, .ed-faq-section .ed-section { grid-template-columns: 1fr; gap: 2.5rem; }
 .ed-hero, .ed-hero--events { display: flex; flex-direction: column; min-height: 0; }
 .ed-hero-copy { padding: 3.5rem 1.5rem 2rem; align-self: stretch; }
 .ed-hero h1, .ed-history-hero h1, .ed-museum-hero h1, .ed-contact-hero h1 { font-size: clamp(3.8rem,14vw,6.5rem); }
 .ed-hero--events h1 { font-size: clamp(2.4rem,10.7vw,5.4rem); }
 .ed-hero-collage { min-height: 430px; margin: 0 0 2rem; }
 .ed-hero-main { width: 81%; height: 88%; }
 .ed-hero-inset { width: 48%; height: 43%; border-width: .35rem; }
 .ed-image-caption { font-size: .7rem; }
 .ed-index { margin-inline: 1.5rem; grid-template-columns: 1fr; }
 .ed-index a { min-height: 60px; padding: 1rem .4rem; font-size: 1.15rem; }
 .ed-index a + a { border-left: none; border-top: 1px solid currentColor; }
 .ed-photo-spread { padding-top: 3rem; gap: 1rem; grid-template-columns: 1.15fr 1fr; }
 .ed-spread-wide { height: 330px; }
 .ed-spread-tall { height: 300px; margin-top: 4rem; }
 .ed-spread-word { font-size: 12vw; margin-top: .75rem; }
 .ed-family-grid { grid-template-columns: 1fr; gap: 2rem; }
 .ed-family-number { display: flex; align-items: center; gap: 1.5rem; padding: 0 0 1.5rem; border-right: 0; border-bottom: 1px solid var(--vf-accent); text-align: left; }
 .ed-family-number > span { font-size: clamp(6rem,25vw,12rem); }
 .ed-family-number > p { font-size: .7rem; letter-spacing: 0; margin-top: 1rem; }
 .ed-family-grid .ed-heading { font-size: clamp(2rem,8vw,3rem); }
 .ed-family-grid .ed-copy { grid-column: 1 / -1; }
 .ed-image-statement { min-height: 520px; padding: 3rem 1.5rem; }
 .ed-image-statement h2 { font-size: 12vw; }
 .ed-triad { grid-template-columns: 1fr; gap: 2rem; margin-top: 3rem; }
 .ed-triad article { display: grid; grid-template-columns: max-content minmax(0,1fr); gap: .5rem 1rem; }
 .ed-triad h3 { margin: 0 0 .5rem; }
 .ed-triad p { grid-column: 2; }
 .ed-next { flex-direction: column; align-items: flex-start; padding: 3rem 1.5rem; gap: 2rem; }
 .ed-history-hero { min-height: 720px; height: calc(100svh - 80px); padding: 3.5rem 1.5rem 2rem; }
 .ed-history-title .ed-lead { max-width: 28ch; }
 .ed-history-hero::after { background: linear-gradient(90deg,rgb(40 0 0 / 85%),rgb(40 0 0 / 25%)); }
 .ed-year-ribbon { font-size: 15vw; gap: 1rem; }
 .ed-sticky { position: static; }
 .ed-timeline-photo { display: none; }
 .ed-time-row { padding: 2rem 0; }
 .ed-time-date { font-size: clamp(2.7rem,13vw,3.6rem); }
 .ed-document { padding: 4rem 1.5rem; }
 .ed-document-date > span { font-size: 28vw; }
 .ed-museum-hero { display: flex; flex-direction: column; min-height: 0; }
 .ed-museum-title { padding: 3.5rem 1.5rem 3rem; align-self: stretch; }
 .ed-museum-cover { min-height: 0; height: 400px; }
 .ed-museum-seal { top: auto; bottom: 400px; width: 104px; translate: -50% 50%; }
 .ed-room-index { grid-template-columns: 1fr 1fr; }
 .ed-room-index a { font-size: 1rem; padding: .8rem .4rem; gap: .5rem; }
 .ed-route-layout { margin-top: 3rem; }
 .ed-route-visual .ed-photo { height: 290px; }
 .ed-route-caption { max-width: none; }
 .ed-room { gap: 1rem; padding: 2rem 0; }
 .ed-room h3 { font-size: 1.8rem; }
 .ed-room .ed-kicker { font-size: .75rem; }
 .ed-visit { display: flex; flex-direction: column; }
 .ed-visit-copy { padding: 3rem 1.5rem; }
 .ed-event-collage { min-height: 460px; margin: 0 0 2rem; }
 .ed-event-small { border-width: .35rem; }
 .ed-offer { display: flex; flex-direction: column; }
 .ed-offer:nth-of-type(odd) .ed-offer-visual { order: initial; }
 .ed-offer-visual { min-height: 0; height: 400px; }
 .ed-offer-copy { padding: 3rem 1.5rem 4rem; }
 .ed-offer .ed-heading { font-size: 10vw; }
 .ed-photo-number { font-size: 5rem; left: 1.5rem; }
 .ed-event-cta { padding: 4rem 1.5rem; }
 .ed-event-cta .ed-heading { font-size: 11vw; }
 .ed-event-cta-bottom { display: flex; flex-direction: column; align-items: flex-start; margin-top: 2rem; gap: 2rem; }
 .ed-contact-hero { padding: 3.5rem 1.5rem 0; }
 .ed-contact-title { grid-template-columns: 1fr; gap: 0; padding-bottom: 2rem; }
 .ed-contact-title .ed-lead { margin-top: 1.5rem; }
 .ed-contact-view { padding-bottom: 0; }
 .ed-contact-view > .ed-photo { height: 350px; }
 .ed-address-plaque { position: relative; right: auto; bottom: auto; padding: 2rem 1.5rem; border: 0; margin: -3rem 0 0 1rem; }
 .ed-address-plaque address { font-size: 1.65rem; }
 .ed-contact-list > div { grid-template-columns: .65fr 1fr; gap: 1rem; }
 .ed-contact-list dt { font-size: 1.1rem; }
 .ed-contact-list dd { font-size: 1rem; }
 .ed-faq summary { font-size: 1.25rem; gap: 1rem; }
 .ed-faq > div { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
 .ed-hero h1, .ed-history-title h1, .ed-museum-title h1, .ed-contact-title h1, .ed-faq[open] > div { animation: none; }
 .ed-link, .ed-faq summary span { transition: none; }
}

/* Rooms and exhibits have dedicated photo positions; no substitute photographs. */
.ed-link svg { flex: none; width: 1.35rem; height: 1.35rem; }
.ed-museum-title { padding-block: 3rem; }
.ed-spaces-title { margin-top: 4rem; }
.ed-spaces-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3rem; margin-top: 3rem; }
.ed-spaces-grid h3 { margin: 1.5rem 0 1rem; font: 400 clamp(1.8rem,2.5vw,2.5rem)/1.15 "new-atlas", Georgia, serif; }
.ed-spaces-grid .ed-photo { aspect-ratio: 4 / 3; }
.ed-spaces-grid article > p { max-width: 52ch; font-size: 1.0625rem; line-height: 1.8; }
.ed-photo-slot { display: flex; align-items: flex-end; min-width: 0; aspect-ratio: 4 / 3; margin: 0; padding: 2rem; border: 1px solid var(--vf-surface-dark); background: var(--vf-surface-light); color: var(--vf-text-dark); }
.ed-photo-slot figcaption { width: 100%; padding-top: 1rem; border-top: 1px solid currentColor; }
.ed-photo-slot figcaption span { font: 500 .75rem/1.5 "Open Sans", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.ed-photo-slot figcaption p { margin-top: .75rem; max-width: 32ch; font: 400 1.4rem/1.35 "new-atlas", Georgia, serif; }
.ed-route-layout--photos { display: block; }
.ed-rooms--illustrated .ed-room { grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); grid-template-rows: min-content 1fr; gap: 1.5rem 5vw; padding: 4rem 0; align-items: start; }
.ed-rooms--illustrated .ed-room > .ed-ordinal { grid-column: 1; grid-row: 1; }
.ed-rooms--illustrated .ed-room > div { grid-column: 1; grid-row: 2; align-self: start; }
.ed-rooms--illustrated .ed-room-photo { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; }
.ed-room-photo { aspect-ratio: 4 / 3; }
.ed-rooms--illustrated .ed-room:nth-child(even) > .ed-ordinal, .ed-rooms--illustrated .ed-room:nth-child(even) > div { grid-column: 2; }
.ed-rooms--illustrated .ed-room:nth-child(even) > .ed-room-photo { grid-column: 1; }
/* Mirror the columns on even rooms so every photo gets the wider track. */
.ed-rooms--illustrated .ed-room:nth-child(even) { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); }
.ed-tour[hidden] { display: none; }
@media (max-width: 767px) {
 .ed-contact-list > .ed-email-row { grid-template-columns: 1fr; gap: .5rem; }
 .ed-spaces-grid { grid-template-columns: 1fr; gap: 3rem; }
 .ed-photo-slot { padding: 1.5rem; }
 .ed-photo-slot figcaption p { font-size: 1.2rem; }
 .ed-rooms--illustrated .ed-room { display: flex; flex-direction: column; gap: 1.25rem; padding: 3rem 0; }
 .ed-rooms--illustrated .ed-room-photo { width: 100%; margin-top: .75rem; }
}

@media (min-width: 1024px) { .editorial-page { padding-top: 128px; } }

/* Videos (src/media.js) */
.ed-photo video, .ed-photo canvas { display: block; width: 100%; height: 100%; object-fit: cover; }
.ed-museum-cover video { position: absolute; inset: 0; }
.ed-frame-stage .ed-photo video, .ed-frame-stage .ed-photo canvas { position: absolute; inset: 0; }
.ed-frame-scroll.is-scrubbing { height: 340vh; height: 340lvh; background: var(--vf-surface-dark); }
/* lvh, not svh: the stage must still fill the screen once the mobile browser bar hides. */
.ed-frame-scroll.is-scrubbing .ed-frame-stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.ed-film { position: relative; margin: 0; aspect-ratio: 16 / 9; background: var(--vf-surface-dark); }
.ed-film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.ed-film-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; width: 100%; border: 0; color: var(--vf-text-light); background: linear-gradient(0deg, rgb(40 0 0 / 70%), rgb(40 0 0 / 20%)); font: 400 clamp(1.1rem,2vw,1.6rem)/1.2 "new-atlas", Georgia, serif; letter-spacing: .04em; cursor: pointer; }
.ed-film-play[hidden] { display: none; }
.ed-film-icon { position: relative; width: clamp(4rem,7vw,6rem); aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; transition: background-color .3s ease; }
.ed-film-icon::after { content: ""; position: absolute; top: 50%; left: 54%; translate: -50% -50%; border-block: .7rem solid transparent; border-left: 1.1rem solid currentColor; }
.ed-film-play:hover .ed-film-icon, .ed-film-play:focus-visible .ed-film-icon { background: rgb(255 252 235 / 18%); }
@media (max-width: 767px) {
  .ed-visit-copy { grid-template-columns: minmax(0,1fr); }
  .ed-visit-list { grid-template-columns: minmax(0,1fr); }
  .ed-visit-list li { padding: 1rem 1.25rem; }
}
