/* Art refresh (final watercolour set): Dolomites hero, farmhouse window frame for the stays.
   Loaded after styles.css; it only overrides. */

/* ---------- hero: our names in the sky, the painted Dolomites below ---------- */
.hero { display: flex; flex-direction: column; background: linear-gradient(180deg, #ECE7DF 0%, #F4F0E8 45%, #FAF5ED 100%); }
.hero > .hero-content { order: 0; grid-row: auto; align-self: stretch; padding: calc(var(--nav-h) + clamp(28px, 6vh, 72px)) var(--gutter) clamp(8px, 2vh, 20px); }
.hero > .hero-media { order: 1; position: relative; inset: auto; z-index: 0; margin-top: auto; flex: none; transform-origin: 50% 100%; }
.hero > .hero-media img { display: block; width: 100%; height: auto; object-fit: fill; transform-origin: 50% 100%; }
.hero > .hero-media::before, .hero .atmos { display: none; }
.hero .hero-title, .hero .hero-eyebrow, .hero .hero-meta { color: var(--ink); text-shadow: none; }
.hero .hero-amp { color: var(--accent); }
.hero .scroll-cue { display: none; }
@media (max-width: 700px) {
  .hero > .hero-content { padding-top: calc(var(--nav-h) + 44px); }
  .hero > .hero-media { height: auto; top: auto; overflow: hidden; }
  .hero > .hero-media img { width: 165%; max-width: none; margin-left: -32.5%; }   /* a little closer in, centred on the two of us */
}
/* the back of the invitation card (a copy of the hero) while it flips open */
.env-reverse { background: linear-gradient(180deg, #ECE7DF 0%, #F4F0E8 45%, #FAF5ED 100%); }
.env-reverse .hero-media { position: absolute; inset: auto 0 auto 0; top: 41.6%; }   /* where the painting sits once the page opens */
@media (max-width: 700px) {
  .env-reverse .hero-media { top: 53%; overflow: hidden; }
  .env-reverse .hero-media img { width: 165%; max-width: none; margin-left: -32.5%; }
}
.env-reverse .hero-media img { display: block; width: 100%; height: auto; object-fit: fill; transform: none; }
.env-reverse .hero-media .atmos { display: none; }

/* ---------- where you'll stay: one farmhouse wall, a photo in each window ---------- */
.sf { margin-top: clamp(24px, 4vw, 48px); }
.sf-art { position: relative; width: 100%; }
.sf-frame { position: relative; z-index: 2; display: block; width: 100%; height: auto; pointer-events: none; }
.sf-art picture { display: block; }
/* window openings, as a share of the frame picture (a hair larger so the photo tucks under the frame) */
.sf-win { position: absolute; z-index: 1; margin: 0; overflow: hidden; background: linear-gradient(180deg, #E8E2DA, #DED6CE); }
.sf-1 { left: 14.5%; top: 34.6%; width: 12.6%; height: 41.4%; }
.sf-2 { left: 44.6%; top: 34.7%; width: 12.4%; height: 41.9%; }
.sf-3 { left: 73.1%; top: 34.5%; width: 12.6%; height: 41.9%; }
.sf-win img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-1 img { object-position: 22% 70%; }
.sf-soon { display: none; position: absolute; inset: 0; place-content: center; text-align: center; padding: 0 8px; font: italic 500 .9rem/1.2 "Cormorant Garamond", Georgia, serif; color: #757D44; }
.sf-win.is-empty .sf-soon { display: grid; }
.sf-tag { display: none; }
.sf-caps { list-style: none; margin: clamp(14px, 2vw, 26px) 0 0; padding: 0 5.6%; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); text-align: center; }
.sf-caps h3 { margin: .35rem 0 .5rem; }
.sf-caps p:not(.eyebrow) { color: var(--ink-soft); margin: 0 auto; max-width: 30ch; }

@media (max-width: 760px) {
  .sf-art { width: min(100%, 360px); margin-inline: auto; }
  .sf-1 { left: 34.7%; top: 12.9%; width: 29.4%; height: 20%; }
  .sf-2 { left: 34.7%; top: 39.4%; width: 29.5%; height: 20.5%; }
  .sf-3 { left: 34.6%; top: 66.2%; width: 29.6%; height: 20.6%; }
  /* a little name tag on each window sill so you know which photo is which */
  .sf-tag { display: block; position: absolute; z-index: 3; left: 50%; bottom: 6px; transform: translateX(-50%); white-space: nowrap;
    padding: 3px 7px 4px; background: #FAF5ED; border-radius: 3px; font: 500 .52rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
  .sf-caps { grid-template-columns: 1fr; padding: 0; gap: 22px; margin-top: 22px; }
}
