/* Casa Bellevue — self-hosted fonts, no third-party requests. */

@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/fraunces-500-latin-ext.woff2") format("woff2");
  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: Fraunces;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/fraunces-500-latin.woff2") format("woff2");
  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;
}
@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/fraunces-600-latin-ext.woff2") format("woff2");
  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: Fraunces;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/fraunces-600-latin.woff2") format("woff2");
  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;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-400-latin-ext.woff2") format("woff2");
  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: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-400-latin.woff2") format("woff2");
  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;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-600-latin-ext.woff2") format("woff2");
  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: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-600-latin.woff2") format("woff2");
  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 {
  --paper: #f6f0e6;
  --paper-2: #fffaf3;
  --ink: #1c1714;
  --muted: #4e463e;
  --sea: #123844;
  --sea-deep: #0b242c;
  --line: #e3d5c4;
  --terra: #9c4228;
  --sand: #e8d3b2;
  --max: 76rem;
  --serif: Fraunces, "Iowan Old Style", Palatino, Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

body.has-dock { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom)); }

img { max-width: 100%; height: auto; }

a { color: var(--sea); text-underline-offset: 0.18em; }

:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--sea);
  color: #fffaf3;
  padding: 0.7rem 1rem;
  text-decoration: none;
}
.skip:focus { top: 0.6rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

[id] { scroll-margin-top: 5.5rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  color: var(--ink);
  background: rgba(246, 240, 230, 0.96);
  box-shadow: 0 1px 0 rgba(28, 23, 20, 0.08);
}
.site-header a { color: inherit; text-decoration: none; }
.site-header a.btn,
.site-header a.btn:hover { color: #fffaf3; }
.header-bar,
.nav-line {
  width: min(var(--max), calc(100% - 1.5rem));
  margin-inline: auto;
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  min-height: 4.2rem;
  min-width: 0;
}
.brand { min-width: 0; }
.brand strong { white-space: nowrap; }
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.brand span {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  min-width: 0;
  flex-wrap: wrap;
}
.langs { display: flex; gap: 0.55rem; font-size: 0.82rem; letter-spacing: 0.06em; }
.langs a { padding: 0.7rem 0.1rem; }
.langs a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.28em; font-weight: 600; }
.nav-line {
  display: flex;
  gap: 0.15rem 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0.7rem;
}
.nav-line::-webkit-scrollbar { display: none; }
.nav-line a {
  flex: 0 0 auto;
  padding: 0.35rem 0;
  font-size: 0.92rem;
}
.nav-line a:hover { text-decoration: underline; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.1rem;
  background: var(--terra);
  color: #fffaf3;
  text-decoration: none;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}
.btn:hover { background: #83351d; }
.btn-light {
  background: transparent;
  color: #fffaf3;
  box-shadow: inset 0 0 0 1.5px rgba(255, 250, 243, 0.85);
}
.btn-light:hover { background: rgba(255, 250, 243, 0.12); }
.btn-sea { background: var(--sea); color: #fffaf3; }
.btn-sea:hover { background: var(--sea-deep); }
.header-book { min-height: 42px; padding-inline: 0.9rem; }

.hero {
  position: relative;
  min-height: calc(100svh - 6.8rem);
  display: grid;
  align-items: end;
  color: #f7f1e8;
  overflow: hidden;
}
.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 20, 26, 0.86) 0%, rgba(8, 20, 26, 0.42) 42%, rgba(8, 20, 26, 0.18) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 2.2rem 0 6.2rem;
  width: min(var(--max), calc(100% - 2.4rem));
}
.eyebrow {
  margin: 0 0 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; line-height: 1.08; }
h1 { margin: 0 0 0.7rem; font-size: clamp(3.1rem, 10vw, 6.4rem); }
h2 { margin: 0 0 0.7rem; font-size: clamp(2.1rem, 4vw, 3.4rem); }
h3 { margin: 0.2rem 0; font-size: 1.7rem; }
.lede { margin: 0; max-width: 38rem; font-size: 1.15rem; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.photo-note {
  margin: 1.2rem 0 0;
  max-width: 40rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #f6f0e6;
}
.photo-note-light {
  color: var(--muted);
  margin-top: 1rem;
}

.highlights { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.highlights ul {
  list-style: none;
  margin: 0;
  padding: 1.2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 0.8rem;
}
.highlights li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.55rem;
  align-items: start;
  font-size: 0.95rem;
}
.highlights svg { width: 1.6rem; height: 1.6rem; color: var(--terra); margin-top: 0.1rem; }
.highlights strong { display: block; font-weight: 600; }

section.block { padding: 4rem 0; }
.kicker {
  margin: 0 0 0.35rem;
  color: var(--terra);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
}
.prose { max-width: 42rem; }
.prose p { margin: 0 0 1rem; }
.split { display: grid; gap: 1.5rem; }
.split img, .split picture { display: block; }
.split figure { margin: 0; }
.split figcaption, .room figcaption, .gallery figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.rooms {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.room {
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.room-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.room-media picture, .room-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.room-body { padding: 1rem 1.05rem 1.2rem; }
.room .count { margin: 0.15rem 0 0; color: var(--muted); }
.terrace {
  margin-top: 1rem;
  display: grid;
  background: var(--sea);
  color: #f6f0e6;
}
.terrace a { color: #f6f0e6; }
.terrace-copy { padding: 1.3rem 1.15rem 1.5rem; }
.terrace .kicker { color: var(--sand); }
.price-line { margin-top: 1.3rem; font-size: 1.05rem; }
.price-line a { font-weight: 600; }

.gallery {
  margin-top: 1.3rem;
  columns: 1;
  column-gap: 0.7rem;
}
.shot {
  display: block;
  width: 100%;
  margin: 0 0 0.7rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  break-inside: avoid;
  text-align: left;
  color: inherit;
  font: inherit;
}
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding-top: 0.35rem; }

.rules { margin: 0.4rem 0 0; padding: 0; list-style: none; }
.rules li { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.rules div {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
dt { font-weight: 600; }
dd { margin: 0; }
address { font-style: normal; }
.map-link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }

.book {
  background:
    linear-gradient(160deg, rgba(18, 56, 68, 0.94), rgba(11, 36, 44, 0.94)),
    url("/assets/img/photos/terrace-960.webp") center/cover;
  color: #f6f0e6;
  padding: 4rem 0;
}
.book h2, .book .kicker, .book a { color: #f6f0e6; }
.book .kicker { color: var(--sand); }
.book-grid { display: grid; gap: 1.5rem; }
.form {
  background: var(--paper-2);
  color: var(--ink);
  padding: 1.1rem;
  display: grid;
  gap: 0.85rem;
}
.form a { color: var(--sea); }
.form h3 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0; }
.fields { display: grid; gap: 0.75rem; }
label { display: grid; gap: 0.3rem; font-size: 0.92rem; font-weight: 600; }
input, select, textarea {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbbba6;
  padding: 0.7rem 0.75rem;
  min-height: 48px;
  width: 100%;
}
textarea { min-height: 7rem; resize: vertical; }
.form .hint { margin: 0; color: var(--muted); font-size: 0.9rem; font-weight: 400; }
#form-status { min-height: 1.4em; margin: 0; font-weight: 600; }
.or-call { margin: 0.2rem 0 0; font-size: 1.05rem; }
.or-call a { font-family: var(--serif); font-size: 1.6rem; text-decoration: none; }

.site-footer {
  background: #efe6d8;
  padding: 2rem 0 2.4rem;
  border-top: 1px solid var(--line);
}
.footer-grid { display: grid; gap: 1.2rem; }
.footer-grid p { margin: 0 0 0.3rem; }
.fine { margin: 1rem 0 0; color: var(--muted); font-size: 0.9rem; }

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(11, 36, 44, 0.96);
}
.dock a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  color: #fffaf3;
  text-decoration: none;
  font-weight: 600;
}
.dock a:last-child { background: var(--terra); }

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
}
.lightbox::backdrop { background: rgba(8, 18, 22, 0.88); }
.lightbox-inner {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: #f6f0e6;
}
.lightbox-bar, .lightbox-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem;
}
.lightbox figure { margin: 0; display: grid; align-content: center; justify-items: center; min-height: 0; }
.lightbox img { max-width: min(1100px, 100%); max-height: calc(100svh - 8rem); width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { padding: 0.6rem 1rem 0; text-align: center; font-size: 0.9rem; }
.lb-btn {
  min-height: 48px;
  min-width: 48px;
  background: transparent;
  color: #f6f0e6;
  border: 1px solid rgba(246, 240, 230, 0.45);
  font: inherit;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
}

.legal { padding: 2.5rem 0 4rem; }
.legal h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); }
.legal h2 { font-size: 1.6rem; margin: 1.8rem 0 0.5rem; }

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 719px) {
  .header-bar { align-items: flex-start; padding-top: 0.55rem; }
  .brand strong { font-size: 1.15rem; }
  .header-book { padding-inline: 0.7rem; }
  .hero-copy { padding-top: 1.4rem; padding-bottom: 9rem; }
}

@media (min-width: 720px) and (max-width: 979px) {
  .hero-copy { padding-bottom: 8rem; }
}

@media (min-width: 720px) {
  .highlights ul { grid-template-columns: repeat(3, 1fr); }
  .fields { grid-template-columns: 1fr 1fr; }
  .fields .wide { grid-column: 1 / -1; }
  .rules div { grid-template-columns: 16rem 1fr; gap: 1rem; align-items: baseline; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
  .gallery { columns: 2; }
  .book-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
  .terrace { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; }
  .terrace-copy { padding: 2rem 1.8rem; display: flex; flex-direction: column; justify-content: center; }
}

@media (min-width: 980px) {
  .hero { min-height: calc(100svh - 6.4rem); }
  .highlights ul { grid-template-columns: repeat(5, 1fr); padding: 1.5rem 0; }
  .rooms { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 2.5rem; }
  .gallery { columns: 3; }
  .dock { display: none; }
  body.has-dock { padding-bottom: 0; }
  .nav-line { padding-bottom: 0.85rem; }
  .hero-copy { padding-top: 3rem; padding-bottom: 3.2rem; }
}

@media (forced-colors: active) {
  .btn, .room, .shot { border: 1px solid ButtonText; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

@media print {
  .site-header, .dock, .hero-actions, .lightbox { display: none; }
  .hero { min-height: 0; margin: 0; color: #000; }
  .hero-shade { display: none; }
  body { background: #fff; }
}
