/* Unbridled Hospitality Group — shared styles */
:root {
  --rust: #C44027;
  --rust-dark: #9E3220;
  --rust-soft: #F4D9CF;
  --ink: #1B2730;
  --ink-2: #26353F;
  --ink-3: #3A4A55;
  --cream: #F3EEDF;
  --sand: #E4D8BD;
  --paper: #FBF8F1;
  --muted: #6B7178;
  --line: rgba(27, 39, 48, .14);
  --radius: 14px;
  --max: 1240px;
  --display: "Montserrat", system-ui, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --body: "Montserrat", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--rust); display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 22px; font-weight: 800; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 600; text-transform: none; letter-spacing: 0; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-3); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px;
  border-radius: 999px; font-weight: 700; font-size: 14px; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; border: 2px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer; font-family: var(--body);
}
.btn:hover { transform: translateY(-2px); }
.btn-rust { background: var(--rust); color: #fff; }
.btn-rust:hover { background: var(--rust-dark); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.on-dark .btn-ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.textlink {
  font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--rust); display: inline-flex; gap: 8px; align-items: center;
}
.textlink:hover .arrow { transform: translateX(4px); }
.textlink .arrow { transition: transform .2s ease; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 22px 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; width: 210px; }
.logo img { width: 100%; height: auto; }
.logo .logo-color { display: none; }
.site-header.solid, .site-header.light-page { background: rgba(251, 248, 241, .96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); padding: 12px 0; }
.site-header.solid .logo-white, .site-header.light-page .logo-white { display: none; }
.site-header.solid .logo-color, .site-header.light-page .logo-color { display: block; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: #fff; text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--rust); transition: right .25s ease;
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { right: 0; }
.site-header.solid .nav a:not(.btn), .site-header.light-page .nav a:not(.btn) { color: var(--ink); }
.nav .btn { padding: 11px 20px; color: #fff; }
.menu-toggle {
  display: none; background: none; border: 0; color: #fff; width: 44px; height: 44px; cursor: pointer; padding: 10px;
}
.menu-toggle span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .25s ease, opacity .25s ease; }
.site-header.solid .menu-toggle, .site-header.light-page .menu-toggle { color: var(--ink); }

@media (max-width: 980px) {
  .logo { width: 170px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; background: var(--ink); flex-direction: column; justify-content: center; gap: 26px;
    height: 100vh; transform: translateY(-100%); transition: transform .35s ease, visibility 0s linear .35s; z-index: -1;
    visibility: hidden;
  }
  /* backdrop-filter would trap the fixed menu inside the header bar */
  .site-header.solid, .site-header.light-page { backdrop-filter: none; background: var(--paper); }
  .nav-open .nav { visibility: visible; transition: transform .35s ease; }
  .nav a, .site-header.solid .nav a:not(.btn), .site-header.light-page .nav a:not(.btn) { color: #fff; font-size: 18px; }
  .nav-open .nav { transform: none; }
  .nav-open .menu-toggle { color: #fff !important; }
  .nav-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Sections ---------- */
section { position: relative; }
.pad { padding: clamp(80px, 11vw, 140px) 0; }
.on-dark { background: var(--ink); color: #fff; }
.on-dark .lede { color: rgba(255,255,255,.75); }
.on-cream { background: var(--cream); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 54px; }
.section-head .lede { margin: 18px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: #121B21; color: rgba(255,255,255,.72); padding: 80px 0 34px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; }
.footer-brand img { width: 220px; margin-bottom: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 60px; padding-top: 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding: 180px 0 110px; color: #fff; background-size: cover; background-position: center; position: relative; overflow: hidden;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(18,27,33,.92) 0%, rgba(18,27,33,.65) 55%, rgba(18,27,33,.35) 100%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(34px, 8vw, 104px); font-weight: 800; text-transform: uppercase; }
.page-hero .lede { color: rgba(255,255,255,.82); margin-top: 22px; }
.page-hero .eyebrow { color: #F08A6F; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
