/* ===========================================================
   Bruma Austral — boutique eco-lodge demo
   Quiet alpine palette, editorial type, cinematic hero
   =========================================================== */

:root {
  --ink:        #161a18;
  --ink-soft:   #2a2f2c;
  --paper:      #efeae0;
  --paper-warm: #e6dfd1;
  --paper-deep: #d9d1bf;
  --moss:       #4a5246;
  --slate:      #2c3a3f;
  --slate-deep: #1c272b;
  --rust:       #8a4a2d;
  --line:       rgba(22,26,24,0.14);
  --line-light: rgba(245,240,232,0.22);
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.005em; }
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.78);
  margin: 0 0 22px;
  font-weight: 500;
}
.eyebrow--dark  { color: var(--moss); }
.eyebrow--light { color: rgba(245,240,232,0.85); }
.muted { color: var(--moss); font-style: italic; }

/* ---------- Header ---------- */
.site {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 22px 0;
  color: var(--paper);
}
.site__inner {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.01em;
}
.brand__word em { font-style: italic; opacity: 0.85; margin-left: 2px; }
.brand__mark {
  display: inline-flex;
  width: 32px; height: 32px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--paper);
}
.nav {
  margin-left: auto;
  display: flex;
  gap: 28px;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav a {
  opacity: 0.85;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: opacity .25s, border-color .25s;
}
.nav a:hover { opacity: 1; border-bottom-color: rgba(245,240,232,0.55); }
.nav__cta {
  padding: 9px 16px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .25s, color .25s;
}
.nav__cta:hover { background: var(--paper); color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  color: var(--paper);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 0 88px;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: saturate(0.85) contrast(1.02);
}
.hero__veil {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,26,28,0.55) 0%, rgba(20,26,28,0.15) 35%, rgba(20,26,28,0.05) 55%, rgba(20,26,28,0.78) 100%),
    linear-gradient(90deg, rgba(20,26,28,0.45) 0%, rgba(20,26,28,0.0) 55%);
}
.hero__topo {
  position: absolute; inset: 0;
  z-index: 1;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero__copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 32px;
}
.hero__copy .eyebrow { color: rgba(245,240,232,0.78); }
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(46px, 8.4vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.012em;
  margin: 0 0 28px;
  max-width: 14ch;
}
.display em { font-style: italic; font-weight: 300; opacity: 0.92; }
.lede {
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(245,240,232,0.88);
  margin: 0 0 32px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn--solid {
  background: var(--paper);
  color: var(--ink);
}
.btn--solid:hover { background: var(--paper-warm); }
.btn--ghost {
  color: var(--paper);
  border-color: var(--line-light);
}
.btn--ghost:hover { background: rgba(245,240,232,0.08); }
.btn--light { background: var(--paper); color: var(--slate-deep); }
.btn--light:hover { background: #fff; }

/* hero meta strip */
.hero__meta {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: 32px;
  display: flex;
  gap: 32px;
  padding: 18px 24px;
  border: 1px solid var(--line-light);
  background: rgba(20,26,28,0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero__metaCol {
  display: flex; flex-direction: column;
  font-family: var(--serif);
  color: var(--paper);
  min-width: 86px;
}
.hero__metaCol span {
  font-size: 18px;
  letter-spacing: 0.02em;
}
.hero__metaCol small {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.7;
}

/* ---------- Stay (01) ---------- */
.stay {
  background: var(--paper);
  padding: 120px 32px 100px;
}
.stay__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px 80px;
  align-items: start;
}
.stay__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 6px 0 0;
  font-weight: 500;
}
.stay__title {
  grid-column: 2 / -1;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.15;
  margin: 0;
  max-width: 22ch;
}
.stay__body {
  grid-column: 2 / -1;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0;
}

/* ---------- Rhythm (02) ---------- */
.rhythm {
  background: var(--paper-warm);
  padding: 110px 32px 120px;
  position: relative;
}
.rhythm::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 0% 0%, rgba(74,82,70,0.06), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(138,74,45,0.04), transparent 60%);
  pointer-events: none;
}
.rhythm__head {
  position: relative;
  max-width: 1180px;
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px 80px;
}
.rhythm__title {
  grid-column: 2 / -1;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.02;
  margin: 0;
}
.rhythm__title em { font-style: italic; color: var(--moss); }

.moments {
  position: relative;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.moment {
  background: var(--paper-warm);
  padding: 38px 32px 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 320px;
}
.moment__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 36px;
  color: var(--rust);
  line-height: 1;
}
.moment__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  margin: 0;
}
.moment__body {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}
.moment__hr {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--ink-soft);
  opacity: 0.5;
  margin-top: 8px;
}
.moment__hour {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 500;
}

/* ---------- Rooms / days (03) ---------- */
.rooms {
  background: var(--paper);
  padding: 110px 32px 120px;
}
.rooms {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: stretch;
}
.rooms__media {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  background: var(--paper-deep);
}
.rooms__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}
.rooms__tag {
  position: absolute;
  left: 18px; bottom: 18px;
  background: rgba(20,26,28,0.6);
  color: var(--paper);
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.rooms__copy { padding: 8px 0; }
.rooms__title {
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1;
  margin: 6px 0 36px;
  max-width: 18ch;
}
.rooms__title em { font-style: italic; color: var(--moss); }

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.menu > li {
  border-bottom: 1px solid var(--line);
  padding: 20px 0 22px;
}
.menu__row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.menu__name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.005em;
}
.menu__dot {
  flex: 1;
  border-bottom: 1px dotted rgba(22,26,24,0.3);
  transform: translateY(-4px);
}
.menu__meta {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss);
  white-space: nowrap;
}
.menu__note {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 58ch;
}
.rooms__foot {
  margin: 28px 0 0;
  font-size: 13px;
  color: var(--moss);
  font-style: italic;
}

/* ---------- Booking strip (04) ---------- */
.book {
  background: var(--paper-warm);
  padding: 110px 32px 120px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.book__head {
  max-width: 1180px;
  margin: 0 auto 44px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px 80px;
}
.book .eyebrow { color: var(--moss); }
.book__title {
  grid-column: 2 / -1;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.05;
  margin: 0;
}
.book__title em { font-style: italic; color: var(--moss); }
.book__sub {
  grid-column: 2 / -1;
  font-size: 15px;
  color: var(--ink-soft);
  margin: 18px 0 0;
  max-width: 58ch;
}

.strip {
  max-width: 1180px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1.1fr auto 1.1fr auto 1.1fr auto 1.2fr auto;
  align-items: stretch;
  overflow: hidden;
}
.strip__field {
  display: flex;
  flex-direction: column;
  padding: 18px 22px;
  gap: 4px;
  min-width: 0;
}
.strip__field span {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 500;
}
.strip__field input,
.strip__field select {
  border: 0;
  background: transparent;
  padding: 0;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.strip__sep {
  width: 1px;
  background: var(--line);
  align-self: stretch;
}
.strip__cta {
  background: var(--ink);
  color: var(--paper);
  border: 0;
  padding: 0 36px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .25s;
}
.strip__cta:hover { background: var(--slate); }
.strip__hint {
  max-width: 1180px;
  margin: 14px auto 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--moss);
  font-style: italic;
}
.strip__hint.is-flash {
  color: var(--rust);
  font-style: normal;
}

/* ---------- Final CTA ---------- */
.final {
  background: var(--slate-deep);
  color: var(--paper);
  padding: 130px 32px 130px;
  position: relative;
  overflow: hidden;
}
.final::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 600px at 100% 0%, rgba(245,240,232,0.05), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(138,74,45,0.08), transparent 60%);
  pointer-events: none;
}
.final__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}
.final__title {
  font-size: clamp(28px, 3.6vw, 50px);
  line-height: 1.18;
  margin: 0 0 44px;
  max-width: 26ch;
  font-weight: 300;
}
.final__title em { font-style: italic; color: var(--paper-warm); }
.final__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 32px;
}
.final__addr {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.7);
}

/* ---------- Footer ---------- */
.foot {
  background: #0e1417;
  color: rgba(245,240,232,0.7);
  padding: 56px 32px 64px;
  font-size: 13px;
}
.foot__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}
.foot__brand {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--paper);
  margin: 0 0 6px;
}
.foot__line { margin: 0; line-height: 1.6; }
.foot__col--note .foot__note {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1.65;
  color: rgba(245,240,232,0.55);
  border-left: 1px solid rgba(245,240,232,0.15);
  padding-left: 18px;
}
.foot__col--note strong {
  color: var(--paper);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 11px;
  margin-right: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .site__inner { gap: 16px; }
  .nav { display: none; }
  .nav__cta { margin-left: auto; }

  .hero { padding-bottom: 140px; min-height: 92vh; }
  .hero__meta {
    right: 16px; bottom: 16px;
    padding: 12px 14px;
    gap: 18px;
  }
  .hero__metaCol { min-width: 64px; }
  .hero__metaCol span { font-size: 14px; }
  .hero__metaCol small { font-size: 9px; }

  .stay, .rhythm, .rooms, .book, .final { padding-left: 22px; padding-right: 22px; }

  .stay__grid,
  .rhythm__head,
  .book__head { grid-template-columns: 1fr; gap: 18px; }
  .stay__title, .stay__body,
  .rhythm__title, .book__title, .book__sub { grid-column: 1 / -1; }

  .moments { grid-template-columns: 1fr; }
  .moment { min-height: 0; padding: 32px 24px; }

  .rooms {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 80px 22px 90px;
  }
  .rooms__media { min-height: 360px; }
  .rooms__title { margin-bottom: 24px; }

  .strip {
    grid-template-columns: 1fr;
  }
  .strip__sep { display: none; }
  .strip__field { border-bottom: 1px solid var(--line); }
  .strip__field:last-of-type { border-bottom: 0; }
  .strip__cta { padding: 18px; }

  .foot__inner { grid-template-columns: 1fr; gap: 24px; }
  .foot__col--note .foot__note { border-left: 0; padding-left: 0; border-top: 1px solid rgba(245,240,232,0.15); padding-top: 18px; }
}

@media (max-width: 520px) {
  .site { padding: 16px 0; }
  .brand { font-size: 18px; }
  .brand__mark { width: 28px; height: 28px; }
  .nav__cta { padding: 7px 12px; font-size: 10.5px; }

  .hero__copy { padding: 0 22px; }
  .display { font-size: clamp(42px, 12vw, 64px); }
  .lede { font-size: 15px; }
  .hero__meta {
    position: relative;
    right: auto; bottom: auto;
    margin: 28px 22px 0;
    background: rgba(20,26,28,0.4);
  }
  .hero { padding-bottom: 60px; }

  .menu__row { flex-wrap: wrap; }
  .menu__dot { display: none; }
  .menu__meta { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
