/* Full-width photo stories on the home page. */
.home-story-patio { display: block; padding: 0; background: #f6f4ee; }
.patio-scene { position: relative; isolation: isolate; height: clamp(640px, 58vw, 920px); color: #fff; overflow: hidden; }
.patio-picture { position: absolute; inset: 0; z-index: -2; margin: 0; }
.patio-picture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 66%; }
.patio-scene::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17, 29, 29, .47), rgba(17, 29, 29, .08) 44%, transparent 65%, rgba(17, 29, 29, .24)); pointer-events: none; }
.patio-heading { padding: clamp(42px, 5.6vw, 90px) clamp(24px, 6vw, 112px); }
.patio-heading .eyebrow { margin: 0 0 24px; }
.patio-heading h2 { font: 400 clamp(58px, 7.4vw, 118px)/.98 Brigada, Georgia, serif; letter-spacing: -.025em; margin: 0; }
.patio-caption { position: absolute; bottom: 24px; right: clamp(24px, 6vw, 112px); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.patio-story-copy { display: grid; grid-template-columns: .65fr 1fr 1fr; gap: clamp(28px, 4.5vw, 80px); padding: clamp(36px, 4.5vw, 72px) clamp(24px, 6vw, 112px); }
.patio-story-copy p, .surroundings-copy { font-size: 14px; line-height: 1.85; }
.patio-story-copy p { max-width: 48ch; }
.patio-story-copy .patio-story-label { font-size: 10px; line-height: 1.9; align-items: flex-start; }
.patio-story-copy .text-link { margin-top: 24px; }
@media (max-width: 760px) {
  .patio-scene { height: 690px; height: min(800px, 96svh); min-height: 600px; }
  .patio-picture img { object-position: 50% 70%; }
  .patio-heading { padding-top: 42px; }
  .patio-heading h2 { font-size: clamp(46px, 9.3vw, 70px); }
  .patio-heading .eyebrow { margin-bottom: 20px; }
  .patio-caption { bottom: 20px; font-size: 9px; }
  .patio-story-copy { grid-template-columns: 1fr; gap: 24px; padding-block: 34px 42px; }
  .patio-story-copy p { max-width: 55ch; }
  .patio-story-copy .patio-story-label { padding-bottom: 20px; border-bottom: 1px solid #00595e26; }
}

/* The map, copy and controls share the sticky film scene. */
.spaces-atlas .home-spaces-background { color: #fff; background: #172823; }
.home-spaces-background .home-spaces-screen { position: absolute; inset: 0; z-index: -2; }
.home-spaces-background .home-spaces-video { height: 100%; width: 100%; object-fit: cover; aspect-ratio: auto; }
.spaces-atlas .home-spaces-background::after { display: block; background: linear-gradient(90deg, #0a1919c9, #0a19196e 57%, #0a191930), linear-gradient(0deg, #0a19196b, transparent 36%); pointer-events: none; }
.spaces-atlas .atlas-grid { gap: clamp(28px, 5vw, 96px); padding-block: 42px 94px; }
.spaces-atlas .home-spaces-copy { max-width: none; padding: 0; }
.spaces-atlas .atlas-copy h2 { font-size: clamp(46px, 6.3vw, 104px); }
.spaces-atlas .atlas-copy p:not(.eyebrow) { max-width: 42ch; }
.spaces-atlas .atlas-copy .text-link { margin-top: 0; }
.spaces-atlas .atlas-card { width: 100%; max-width: none; margin: 0; mix-blend-mode: normal; }
.spaces-atlas .atlas-card img { filter: url(#atlas-white-ink) drop-shadow(0 1px 3px #0a19196b); }
.spaces-film-toggle { position: absolute; z-index: 2; bottom: 32px; right: var(--gutter); display: flex; align-items: center; gap: 22px; border: 1px solid #ffffff70; border-radius: 0; padding: 12px 18px; background: #10201e38; color: #fff; font: inherit; font-size: 11px; cursor: pointer; }
.spaces-film-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.spaces-film-toggle:hover { background: #10201e88; }

.home-surroundings .patio-scene { height: auto; min-height: clamp(640px, 58vw, 920px); background: #10232c; }
.home-surroundings .patio-picture img { object-position: 34% 58%; }
.home-surroundings .patio-scene::after { background: linear-gradient(90deg, #10232cba, #10232c55 56%, transparent 82%), linear-gradient(180deg, #10232c70, transparent 54%, #10232c66); }
.home-surroundings .patio-heading { width: fit-content; max-width: 100%; padding-bottom: 88px; }
/* Let the heading determine the line length of the copy below it. */
.surroundings-copy { contain: inline-size; margin-top: clamp(24px, 3.5vw, 48px); }
.surroundings-copy p + p { margin-top: 10px; }
.surroundings-copy .text-link { margin-top: 20px; }

@media(max-width:760px) {
 .spaces-atlas .atlas-stage { padding-block: 0; }
 .spaces-atlas .atlas-grid { padding-block: 54px 100px; }
 .spaces-atlas .atlas-copy h2 { font-size: clamp(44px, 10vw, 74px); }
 .spaces-atlas .atlas-card { grid-row: auto; }
 .home-spaces-background .home-spaces-video { object-position: 48% center; }
 .home-surroundings .patio-scene { min-height: clamp(600px, 96svh, 800px); }
 .home-surroundings .patio-scene::after { background: linear-gradient(180deg, #10232cc7, #10232c99 57%, #10232c55); }
}

/* Give the experiences collage breathing room between adjacent scenes. */
#experiencias { padding-block: clamp(100px, 10vw, 180px); }
@media(max-width:760px) {
 #experiencias { padding-block: 64px; }
}
