@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/outfit-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/outfit-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --sand: #fbf6ea;
  --mustard: #e3a21a;
  --mustard-text: #8a5a00;
  --mustard-large: #b97f08;
  --ink: #2a2620;
  --card: #ffffff;
  --muted: #5a5245;
  --line: #e8dfc9;
  --radius: 14px;
  --gutter: 16px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font: 400 1.0625rem/1.6 Outfit, system-ui, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; font-weight: 800; overflow-wrap: anywhere; hyphens: auto; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 0.6em; }
h3 { font-size: 1.15rem; margin: 0 0 0.4em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
footer :focus-visible, .lightbox :focus-visible { outline-color: var(--mustard); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: var(--gutter); top: -100px; background: var(--ink); color: var(--sand); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4em;
  min-height: 44px; padding: 0.6em 1.2em; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 Outfit, system-ui, sans-serif; text-decoration: none; text-align: center;
  cursor: pointer; overflow-wrap: anywhere; hyphens: auto;
}
.btn-primary { background: var(--mustard); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--sand); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn:hover { filter: brightness(0.95); }
.buttons { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 10px; }

/* Header and hero */
.hero { max-width: var(--max); margin: 0 auto; }
.bar { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gutter); font-weight: 600; }
.lang-menu { position: relative; }
.lang-menu summary {
  list-style: none; cursor: pointer; border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 4px 12px; font-size: 0.9rem; min-height: 32px;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: " ▾"; }
.lang-menu .lang-list {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; background: var(--card);
  border-radius: 12px; box-shadow: 0 8px 24px rgb(0 0 0 / 0.12); padding: 6px; margin: 0; list-style: none; min-width: 160px;
}
.lang-menu .lang-list a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; }
.lang-menu .lang-list a:hover, .lang-menu .lang-list a[aria-current] { background: var(--sand); }

.hero-grid { display: flex; flex-direction: column; }
.hero-photo { order: -1; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-text { padding: 20px var(--gutter) 8px; }
.eyebrow { margin: 0; color: var(--mustard-text); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.85rem; }
.hero h1 { font-size: clamp(2.6rem, 9vw, 4.6rem); margin: 0.1em 0 0.2em; }
.hero h1 em { font-style: normal; color: var(--mustard-large); }
.tagline { font-size: 1.15rem; margin: 0 0 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }

@media (min-width: 720px) {
  .hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; align-items: stretch; min-height: 520px; }
  .hero-photo { order: 0; }
  .hero-photo img { height: 100%; aspect-ratio: auto; border-radius: 0 0 0 var(--radius); }
  .hero-text { display: flex; flex-direction: column; justify-content: center; padding: 40px var(--gutter) 40px 32px; }
}

/* Sections */
main section { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter); }
main section + section { border-top: 1px solid var(--line); }
#facts { padding-top: 16px; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fact {
  background: var(--card); border-radius: var(--radius); padding: 12px 8px; text-align: center;
  display: flex; flex-direction: column; justify-content: center; min-width: 0;
  overflow-wrap: anywhere; hyphens: auto; font-size: 0.9rem; line-height: 1.25;
}
.fact b { font-size: 1.4rem; font-weight: 800; color: var(--mustard-text); margin-bottom: 2px; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .facts { grid-template-columns: repeat(8, 1fr); } }

#about p { max-width: 65ch; }

.facade { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.facade-video { aspect-ratio: 16 / 9; }
.facade-video .facade-button { all: unset; display: block; width: 100%; height: 100%; cursor: pointer; position: relative; }
.facade-video img { width: 100%; height: 100%; object-fit: cover; }
.facade-video .facade-button:focus-visible { outline: 3px solid var(--mustard); outline-offset: -6px; }
.play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px;
  border-radius: 50%; background: var(--mustard); box-shadow: 0 6px 20px rgb(0 0 0 / 0.3);
}
.play::after {
  content: ""; position: absolute; left: 30px; top: 22px;
  border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent var(--ink);
}
.facade iframe { width: 100%; height: 100%; border: 0; display: block; }
.facade-map { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--line); }
@media (min-width: 720px) { .facade-map { aspect-ratio: 16 / 7; } }
.notice { font-size: 0.9rem; color: var(--muted); }

.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.3s; }
.gallery a:hover img { transform: scale(1.03); }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; } }

.equipment { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .equipment { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .equipment { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--card); border-radius: var(--radius); padding: 18px; }
.card ul { margin: 0; padding-left: 1.1em; }

.distances { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 1rem; }
.distances div { background: var(--card); border-radius: var(--radius); padding: 10px 14px; }
.distances dt { font-size: 0.9rem; color: var(--muted); }
.distances dd { margin: 0; font-weight: 700; }
@media (min-width: 720px) { .distances { grid-template-columns: repeat(4, 1fr); } }

.rules { padding-left: 1.1em; }
.cal-unavailable { color: var(--muted); }

footer { background: var(--ink); color: var(--sand); padding: 32px var(--gutter); text-align: center; font-size: 0.95rem; }
footer .lang-list { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
footer a[aria-current] { color: var(--mustard); text-decoration: none; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Photo viewer */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgb(20 18 15 / 0.96); color: #fff;
}
.lightbox::backdrop { background: rgb(20 18 15 / 0.96); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 100%; max-height: 88dvh; object-fit: contain; touch-action: pan-y; user-select: none; }
.lightbox-count { position: absolute; top: 12px; left: 16px; margin: 0; font-weight: 600; }
.lightbox-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgb(255 255 255 / 0.15); color: #fff; font: 600 1.8rem/1 Outfit, system-ui, sans-serif; cursor: pointer;
}
.lightbox-btn:hover { background: rgb(255 255 255 / 0.3); }
.lightbox-close { top: 8px; right: 12px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Availability calendar */
.cal-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.cal-bar .btn { min-width: 44px; padding: 0.4em 0.8em; font-size: 1.4rem; }
.cal-bar .btn:disabled { opacity: 0.35; cursor: default; }
.cal-legend { margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; font-size: 0.9rem; }
.cal-key { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: middle; }
.cal-key-free { background: var(--card); border: 1px solid var(--line); }
.cal-key-busy { background: var(--line); }
.cal-months { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .cal-months { grid-template-columns: repeat(3, 1fr); } }
.cal-month { background: var(--card); border-radius: var(--radius); padding: 14px; }
.cal-month h3 { text-transform: capitalize; text-align: center; }
.cal-month table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center; }
.cal-month th { font-size: 0.75rem; font-weight: 600; color: var(--muted); padding: 4px 0; text-transform: capitalize; }
.cal-month td { padding: 2px; }
.cal-month td span { display: block; padding: 6px 0; border-radius: 8px; font-weight: 600; }
.cal-free span { background: var(--sand); }
.cal-busy span { background: var(--line); color: var(--muted); text-decoration: line-through; font-weight: 400; }
.cal-past span { color: #b5ab98; font-weight: 400; }

/* Privacy page */
.page-privacy main section { max-width: 760px; }
.page-privacy h1 { font-size: clamp(2rem, 6vw, 3rem); }
.page-privacy h2 { font-size: 1.25rem; margin-top: 1.6em; }
.brand { text-decoration: none; }
