/* History: the years and the photograph cross the brand's wine field. */
.territory { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2%; padding: 65px var(--gutter) 110px; background: var(--wine); color: var(--sand); }
.territory-opening { grid-column: 1/-1; display: flex; justify-content: space-between; gap: 40px; align-items: baseline; padding-bottom: 65px; }
.territory-invitation { font-size: 17px; line-height: 1.7; margin: 0; }
.territory-symbol { position: absolute; width: 43%; right: -10%; top: 110px; opacity: .16; pointer-events: none; }
.territory h2 { grid-column: 1/10; grid-row: 2; font-size: clamp(110px, 13.8vw, 220px); line-height: .87; position: relative; z-index: 1; }
.territory h2 span { display: block; }
.story-middle { margin-left: 6%; font-size: .64em; padding-block: 12px; }
.story-destino { margin-left: 17%; }
.story-photo { grid-column: 8/13; grid-row: 2/4; z-index: 2; align-self: end; margin-bottom: -230px; }
.story-photo img { width: 100%; height: 740px; object-fit: cover; }
.story-photo figcaption { color: var(--wine); font-size: 10px; margin-top: 14px; letter-spacing: .04em; }
.story-copy { grid-column: 1/7; grid-row: 3; padding-top: 65px; max-width: 650px; }
.story-year { display: grid; grid-template-columns: 95px 1fr; gap: 25px; }
.story-year + .story-year { margin-top: 24px; }
.story-year > span { font: 700 72px/.95 var(--display); color: var(--clay); }
.story-year p { font-size: 14px; line-height: 1.9; }
.story-today { font-size: 14px; line-height: 1.9; margin-top: 30px; margin-left: 120px; }
.story-next { grid-column: 1/7; justify-self: start; margin-top: 25px; margin-left: 120px; }

/* Five discoveries, no card surfaces. Each room has its own composition. */
.stays { padding: 130px var(--gutter) 95px; color: var(--wine); }
.stays-opening { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 6%; padding-bottom: 75px; padding-top: 20px; }
.stays-opening .eyebrow { grid-column: 1/-1; }
.stays-opening h2 { grid-column: 1; font-size: clamp(75px, 8.5vw, 135px); }
.stays-opening h2 em { white-space: nowrap; }
.stays-opening > p:not(.eyebrow) { grid-column: 1; max-width: 450px; font-size: 15px; color: var(--eclipse); }
.stays-count { position: absolute; right: 18%; bottom: 100px; font: 700 clamp(120px, 14vw, 200px)/1 var(--display); color: var(--clay); }
.stays-count-label { position: absolute; right: 2%; bottom: 117px; font-size: 13px; line-height: 1.8; color: var(--eclipse); }
.room { position: relative; }
.room-heading { position: relative; z-index: 2; }
.room-heading h3 { font-size: clamp(100px, 12vw, 190px); }
.room-index { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .17em; margin-bottom: 12px; }
.room-photo { display: block; position: relative; overflow: hidden; }
.room-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.room-photo:hover img { transform: scale(1.035); }
.photo-action { position: absolute; bottom: 15px; right: 18px; color: var(--white); text-shadow: 0 1px 5px var(--eclipse); font-size: 12px; opacity: 0; transition: opacity .3s; }
.room-photo:hover .photo-action, .room-photo:focus-visible .photo-action { opacity: 1; }
.room-caption { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 18px; }
.room-caption > span { font-size: 12px; font-weight: 600; }
.room-caption > div { display: flex; align-items: center; gap: 26px; }
.room-caption .text-link, .room-book { font-size: 12px; font-weight: 400; gap: 15px; }
.room-book { padding-block: 11px; min-height: 44px; }
.room-book:hover { text-decoration: underline; text-underline-offset: 6px; }
.room-ipe { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2%; padding-top: 30px; }
.room-ipe .room-heading { grid-column: 1/5; grid-row: 1; padding-top: 25px; }
.room-ipe h3 { font-size: clamp(150px, 20vw, 310px); }
.room-ipe .room-primary { grid-column: 4/13; grid-row: 1/3; height: 560px; }
.room-ipe .room-secondary { grid-column: 1/5; grid-row: 2/4; z-index: 3; height: 285px; margin-top: 35px; border: 8px solid var(--sand); border-left: 0; }
.room-ipe .room-caption { grid-column: 5/13; grid-row: 3; }
.rooms-duet { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5%; padding: 125px 0 110px; position: relative; }
.room-jatoba { grid-column: 1/7; padding-top: 85px; }
.room-jatoba .room-heading { margin-left: 15px; margin-bottom: -13px; }
.room-jatoba .room-primary { height: 380px; }
.room-manaca { grid-column: 9/13; }
.room-manaca .room-primary { height: 520px; }
.room-manaca .room-heading { margin: 22px 0 0 -95px; }
.room-manaca .room-caption { flex-direction: column; align-items: start; gap: 0; padding-top: 5px; }
.room-manaca .room-caption > span { display: none; }
.duet-note { grid-column: 2/8; margin-top: 5px; font: 700 58px/1.15 var(--display); }
.duet-note em { color: var(--eclipse); margin-left: 85px; }
.duet-symbol { position: absolute; width: 175px; bottom: 70px; right: 2%; opacity: .45; }
.room-pau-brasil { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2%; margin-inline: calc(-1 * var(--gutter)); padding: 80px var(--gutter) 80px; background: var(--eclipse); color: var(--sand); }
.room-pau-brasil .room-heading { grid-column: 1/5; grid-row: 1; }
.room-pau-brasil h3 { font-size: clamp(110px, 14vw, 220px); line-height: .83; }
.room-pau-brasil .room-primary { grid-column: 5/13; grid-row: 1/3; height: 510px; align-self: center; }
.room-pau-brasil .room-secondary { grid-column: 2/6; grid-row: 2/4; height: 245px; z-index: 3; margin-top: 40px; border: 8px solid var(--eclipse); }
.room-pau-brasil .room-caption { grid-column: 6/13; grid-row: 3; }
.room-sibipiruna { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2%; margin-top: 100px; }
.room-sibipiruna .room-heading { grid-column: 1/-1; grid-row: 1; margin-left: 7%; z-index: 0; }
.room-sibipiruna h3 { font-size: clamp(120px, 17vw, 270px); letter-spacing: -.03em; }
.room-sibipiruna .room-primary { grid-column: 1/10; grid-row: 2; height: 570px; margin-top: -20px; }
.room-sibipiruna .room-secondary { grid-column: 9/13; grid-row: 2/4; height: 340px; align-self: end; margin-bottom: 45px; border: 8px solid var(--sand); z-index: 3; }
.room-sibipiruna .room-caption { grid-column: 1/9; grid-row: 3; }

/* Typographic interlude: no substitute photograph for Casa Mirante. */
.mirante { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; gap: 8%; padding: 100px var(--gutter) 115px; color: var(--sand); background: var(--wine); }
.mirante-mark { position: absolute; z-index: -1; inset: 0; background: url('../assets/brand/logo-white.webp') 35px 30px / 175px auto repeat; opacity: .045; }
.mirante-heading h2 { font-size: clamp(110px, 15vw, 235px); line-height: .88; margin-top: 25px; }
.mirante-heading h2 span { display: block; font-size: .5em; padding-left: 9%; margin-bottom: 10px; }
.mirante-copy { align-self: center; max-width: 490px; }
.mirante-copy > p:not(.lead) { font-size: 15px; }
.mirante-copy .text-link { margin-top: 25px; }

/* A horizon-wide phrase and a vertical photo crossing the next boundary. */
.experiences { color: var(--sand); background: var(--eclipse); }
.experience-landscape { position: relative; height: 850px; min-height: 85svh; isolation: isolate; }
.experience-panorama { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; z-index: -2; }
.experience-landscape:after { content: ''; position: absolute; inset: 0; background: rgb(62 62 62 / .22); z-index: -1; }
.experience-eyebrow { position: absolute; top: 60px; left: var(--gutter); }
.experience-landscape h2 { position: absolute; top: 30%; left: 4%; right: 4%; color: white; }
.experience-landscape h2 > span { display: block; font-size: clamp(55px, 7vw, 115px); margin-left: 11%; }
.experience-landscape h2 strong { display: block; font-size: clamp(110px, 17.2vw, 270px); font-weight: 700; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.experience-side { position: absolute; right: var(--gutter); bottom: 70px; font-size: 11px; line-height: 1.9; text-align: right; text-transform: uppercase; letter-spacing: .12em; }
.experience-story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3%; position: relative; padding: 0 var(--gutter) 95px; }
.water-photo { grid-column: 2/6; margin-top: -115px; position: relative; z-index: 2; }
.water-photo img { width: 100%; height: 550px; object-fit: cover; }
.water-photo figcaption { font-size: 11px; margin-top: 16px; }
.experience-copy { grid-column: 7/13; padding-top: 60px; padding-bottom: 25px; }
.experience-copy > p:not(.lead) { font-size: 15px; }
.experience-copy .text-link { margin-top: 20px; }
.experience-symbol { position: absolute; width: 230px; left: -80px; bottom: 40px; opacity: .2; pointer-events: none; }

/* Photographic fragments, not a social-media grid. */
.gallery { padding: 95px var(--gutter) 105px; color: var(--wine); position: relative; }
.gallery h2 { position: relative; font-size: clamp(85px, 10vw, 155px); line-height: .96; z-index: 2; margin-top: 25px; }
.gallery h2 > span { padding-left: 6%; }
.gallery h2 > em { display: block; padding-left: 24%; }
.gallery-composition { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 30px 3%; margin-top: -210px; }
.gallery-image { position: relative; }
.gallery-image img { width: 100%; object-fit: cover; transition: filter .5s; }
.gallery-image:hover img { filter: brightness(1.07); }
.gallery-caption { display: block; font-size: 10px; margin-top: 13px; text-transform: uppercase; letter-spacing: .1em; }
.gallery-coffee { grid-column: 10/13; grid-row: 1/3; align-self: start; transform: rotate(3deg); }
.gallery-coffee img { height: 330px; }
.gallery-veranda { grid-column: 1/9; grid-row: 2/4; margin-top: 180px; }
.gallery-veranda img { height: 480px; }
.gallery-flower { grid-column: 8/11; grid-row: 3/5; margin-top: 180px; transform: rotate(-5deg); border: 8px solid var(--sand); background: var(--sand); z-index: 2; }
.gallery-flower img { height: 300px; }
.gallery-copy { grid-column: 2/7; grid-row: 4; padding-top: 20px; max-width: 460px; color: var(--eclipse); }
.gallery-copy p { font-size: 15px; }
.gallery-copy .text-link { margin-top: 15px; color: var(--wine); }

/* The last photograph contains the invitation and the floating footer. */
.closing { position: relative; isolation: isolate; padding: 90px 24px 24px; color: var(--white); background: var(--eclipse); }
.closing-landscape { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.closing:after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgb(62 62 62 / .5); }
.booking-invitation { padding: 0 calc(var(--gutter) - 24px) 90px; }
.booking-invitation h2 { font-size: clamp(60px, 7vw, 115px); line-height: 1; margin-top: 30px; }
.booking-invitation h2 > span { font-size: 1.75em; }
.booking-invitation h2 > em { display: block; padding-left: 32%; font-size: .7em; margin-top: 20px; }
.booking-copy { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-top: 45px; }
.booking-copy > p { font-size: 14px; max-width: 415px; }
.booking-actions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.booking-actions .text-link { font-size: 12px; }
.floating-footer { padding: 40px 4% 20px; border: 1px solid rgb(255 255 255 / .22); border-radius: 12px; background: rgb(250 246 237 / .42); color: var(--wine); backdrop-filter: blur(8px) saturate(110%); -webkit-backdrop-filter: blur(8px) saturate(110%); box-shadow: 0 4px 20px rgb(20 26 22 / .05), inset 0 1px 0 rgb(255 255 255 / .12); }
.floating-footer .brand-full { filter: none; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .floating-footer { background: rgb(250 246 237 / .65); }
}
.footer-main { display: grid; grid-template-columns: .8fr .6fr 1.4fr 1.1fr; gap: 4%; align-items: start; }
.footer-brand img { width: 150px; height: 115px; }
.footer-main nav { display: flex; flex-direction: column; gap: 6px; }
.footer-main nav a { font-size: 12px; }
.footer-main a:hover { color: var(--eclipse); text-decoration: underline; text-underline-offset: 4px; }
.footer-main .eyebrow { font-size: 10px; color: var(--wine); margin-bottom: 15px; }
.footer-address address { font-style: normal; font-size: 12px; line-height: 2; }
.footer-map { display: inline-block; font-size: 12px; margin-top: 12px; border-bottom: 1px solid rgb(94 21 27 / .3); }
.footer-social > a { display: block; font-size: 13px; line-height: 1.8; }
.footer-social > a + a { margin-top: 16px; }
.footer-social span { font-size: 11px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 17px; border-top: 1px solid rgb(94 21 27 / .18); font-size: 10px; }
