/* Terra de Gigantes — brand foundations, cinematic opening, accessible overlays. */
@font-face { font-family: 'Amatic SC'; src: url('../assets/fonts/amatic-sc-bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: Montserrat; src: url('../assets/fonts/montserrat-regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Montserrat; src: url('../assets/fonts/montserrat-semibold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
:root {
  --wine: #5e151b;
  --eclipse: #3e3e3e;
  --clay: #c16c45;
  --olive: #7e8b53;
  --sand: #ebdec6;
  --white: #fff;
  --body: Montserrat, Arial, sans-serif;
  --display: 'Amatic SC', 'Arial Narrow', sans-serif;
  --gutter: clamp(24px, 6vw, 120px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--sand); color: var(--eclipse); font: 400 16px/1.8 var(--body); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
main { overflow: clip; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, figure { margin: 0; }
p + p { margin-top: 1.2em; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: .98; }
h2 { font-size: clamp(70px, 8vw, 130px); }
em { font-style: normal; }
::selection { background: var(--clay); color: var(--white); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 6px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; line-height: 1.7; }
.lead { font-size: clamp(19px, 1.8vw, 25px); line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 11px; border-bottom: 1px solid currentColor; font-size: 14px; line-height: 1.6; font-weight: 600; min-height: 44px; }
.text-link span { font-size: 25px; transition: transform .3s var(--ease); }
.text-link:hover span { transform: translate(4px, -4px); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 54px; padding: 15px 24px; border: 1px solid transparent; font-size: 14px; font-weight: 600; line-height: 1.5; transition: background .25s, color .25s; }
.button span { font-size: 22px; }
.button-cream { background: var(--sand); color: var(--wine); }
.button-cream:hover { background: var(--white); }
.button-wine { background: var(--wine); color: var(--sand); }
.button-wine:hover { background: var(--eclipse); }
.button-outline { border-color: var(--wine); color: var(--wine); }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 20px; padding: 12px 20px; background: var(--sand); color: var(--wine); }
.skip-link:focus { top: 20px; }

/* Official full signature, monochrome use supported by the brand manual. */
.brand-full { filter: brightness(0) invert(1); object-fit: contain; }
.site-header { position: fixed; z-index: 30; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 40px; padding: 22px var(--gutter) 15px; color: var(--white); border-bottom: 1px solid transparent; transition: background .4s, padding .4s, color .4s, border-color .4s, box-shadow .4s, backdrop-filter .4s; }
.site-header.is-scrolled { background: rgb(250 246 237 / .42); color: var(--wine); padding-block: 10px; backdrop-filter: blur(8px) saturate(110%); -webkit-backdrop-filter: blur(8px) saturate(110%); border-bottom-color: rgb(255 255 255 / .22); box-shadow: 0 2px 12px rgb(62 62 62 / .03); }
.site-header .brand-full { transition: filter .4s; }
.site-header.is-scrolled .brand-full { filter: none; }
.site-header:has(.menu-toggle[aria-expanded='true']) { background: var(--wine); color: var(--sand); border-color: transparent; box-shadow: none; }
.site-header:has(.menu-toggle[aria-expanded='true']) .brand-full { filter: brightness(0) invert(1); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-scrolled { background: rgb(250 246 237 / .65); }
}
.brand { margin-right: auto; flex: none; }
.brand img { width: 112px; height: 76px; }
.desktop-nav { display: flex; gap: 30px; align-items: center; }
.desktop-nav a { position: relative; font-size: 13px; padding-block: 10px; }
.desktop-nav a:after { content: ''; position: absolute; bottom: 4px; left: 0; width: 0; height: 1px; background: currentColor; transition: width .3s; }
.desktop-nav a:hover:after { width: 100%; }
.header-reserve { display: inline-flex; gap: 35px; align-items: center; border-bottom: 1px solid currentColor; font-size: 14px; padding-block: 8px; }
.header-reserve span { font-size: 22px; }
.menu-toggle { display: none; }

/* A typographic landscape, without a text panel. */
.hero { height: 100svh; min-height: 830px; max-height: 1200px; position: relative; isolation: isolate; background: var(--eclipse); color: var(--white); }
.hero-slides, .hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slides { overflow: hidden; z-index: -3; }
.hero-slide { object-fit: cover; object-position: 60% 50%; opacity: 0; transition: opacity 2s ease; transform: scale(1.02); }
.hero-slide.is-active { opacity: 1; animation: landscape-drift 16s linear both; }
.hero:after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgb(25 30 27 / .48), rgb(25 30 27 / .12) 43%, rgb(25 30 27 / .18) 58%, rgb(25 30 27 / .57)); }
.hero-location, .hero-footnote, .hero-bottom { text-shadow: 0 1px 3px rgb(0 0 0 / .65), 0 2px 14px rgb(0 0 0 / .3); }
.hero-location, .hero-footnote p { font-weight: 600; }
@media (min-width: 761px) {
  .hero:before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 86% 77%, rgb(20 26 22 / .25), transparent 48%); }
}
.hero-location { position: absolute; top: 150px; right: var(--gutter); display: flex; flex-direction: column; text-align: right; font-size: 10px; text-transform: uppercase; letter-spacing: .18em; }
.hero h1 { position: absolute; top: 19%; left: var(--gutter); right: var(--gutter); text-transform: uppercase; text-shadow: 0 2px 4px rgb(20 26 22 / .22), 0 4px 28px rgb(20 26 22 / .24); }
.hero-entre { display: block; font-size: clamp(75px, 8.7vw, 145px); line-height: .95; margin-left: .5vw; }
.hero-gigantes { display: block; font-size: clamp(170px, 24.5vw, 420px); line-height: .87; letter-spacing: -.025em; }
.hero-continuation { display: block; margin-top: 12px; padding-left: 28%; font-size: clamp(42px, 4.7vw, 78px); line-height: 1.1; text-transform: none; }
.hero-continuation em { color: var(--sand); }
.hero-footnote { position: absolute; bottom: 160px; right: var(--gutter); width: 350px; max-width: 40%; }
.hero-footnote p { font-size: 13px; line-height: 1.8; }
.hero-footnote .text-link { margin-top: 12px; width: 100%; }
.hero-bottom { position: absolute; bottom: 98px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.discover-link { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; display: flex; gap: 22px; align-items: center; }
.scroll-arrow { font-size: 36px; font-weight: 400; line-height: 1; }
.slider-controls { display: flex; align-items: center; gap: 5px; }
.slider-controls button { width: 44px; height: 44px; padding: 0; background: none; border: none; color: var(--white); font-size: 12px; }
.slide-dot { opacity: .6; }
.slide-dot.is-active { opacity: 1; text-decoration: underline; text-underline-offset: 7px; }
.slide-rule { width: 60px; height: 1px; background: rgb(255 255 255 / .5); }
.slider-pause { margin-left: 12px; }
.hero-relief { position: absolute; z-index: 3; left: 0; bottom: -1px; width: 100%; height: 85px; pointer-events: none; }
@keyframes landscape-drift { from { transform: scale(1.02); } to { transform: scale(1.075); } }

/* Overlay UI exists only when requested by the visitor. */
dialog { border: 0; padding: 0; }
dialog::backdrop { background: rgb(30 26 24 / .9); }
.icon-button { display: grid; place-items: center; width: 48px; height: 48px; background: transparent; border: 1px solid currentColor; border-radius: 50%; padding: 0; font-size: 24px; flex: none; }
.icon-button:hover { background: rgb(235 222 198 / .15); }
.lightbox { width: min(1320px, 96vw); max-width: 96vw; height: 94svh; max-height: 94svh; background: transparent; color: white; overflow: hidden; }
.lightbox[open] { display: grid; grid-template-rows: 80px minmax(0, 1fr) 60px; }
.lightbox-top { display: flex; justify-content: space-between; align-items: center; height: 80px; padding: 10px 20px; }
.lightbox-top h2 { font-size: 40px; color: var(--sand); }
.lightbox-stage { display: grid; grid-template-columns: 55px minmax(0, 1fr) 55px; grid-template-rows: minmax(0, 1fr); gap: 15px; align-items: center; min-height: 0; }
.lightbox-stage > .icon-button { justify-self: center; margin-top: -64px; }
.lightbox-stage figure { display: grid; grid-template-rows: minmax(0, 1fr) 64px; height: 100%; min-height: 0; min-width: 0; }
.lightbox-frame { position: relative; min-height: 0; min-width: 0; background: rgb(235 222 198 / .025); }
.lightbox-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.lightbox-stage figcaption { display: grid; place-items: center; text-align: center; font-size: 12px; line-height: 1.6; padding: 10px 8px; overflow: auto; }
.lightbox-bottom { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 15px 70px; font-size: 12px; }
.lightbox-bottom > span { opacity: .7; }
.reservation-dialog { width: min(550px, calc(100vw - 32px)); max-height: calc(100svh - 32px); background: var(--sand); color: var(--eclipse); padding: 45px; overflow-y: auto; }
.reservation-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; color: var(--wine); }
.reservation-dialog .eyebrow { color: var(--wine); margin-bottom: 20px; padding-right: 35px; }
.reservation-dialog h2 { font-size: 65px; color: var(--wine); margin-bottom: 20px; }
.reservation-dialog > p:not(.eyebrow) { font-size: 14px; }
.reservation-dialog label { display: block; font-size: 13px; font-weight: 600; margin: 25px 0 8px; }
.reservation-dialog select { width: 100%; min-height: 50px; color: var(--eclipse); background: transparent; border: 1px solid rgb(62 62 62 / .5); padding: 10px; font-size: 16px; }
.reservation-status { padding-top: 18px; font-size: 12px !important; }
.reservation-dialog .button { width: 100%; margin-top: 18px; }
.will-reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.will-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
  .will-reveal { opacity: 1; transform: none; }
}
