/* Sky Island — shared chrome.
   Everything global lives here: tokens, reset, container, header/nav, buttons,
   footer. Page files hold only what is unique to that page.

   Two colour branches. :root is the main/Short Stays palette (vivid).
   .branch-leases overrides it for the residential pages, which the brief wants
   more restrained. Values that differed only by drift (--ink, --cream, footer
   background, logo width, footer padding) are unified here to one value each. */

:root {
  --blue: #0070c0;
  --green: #32cc32;
  --pink: #ff3399;
  --yellow: #efc62e;
  --ink: #17221d;
  --cream: #f7f5ed;
  --line: #d9ddd8;
  --muted: #5d6962;
}

.branch-leases {
  --blue: #0875bd;
  --green: #29b83e;
  --pink: #f52b91;
  --gold: #c99b3c;
  --cream: #f7f4ec;
  --line: #d8ddd9;
}

* { box-sizing: border-box }
html { scroll-behavior: smooth }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
}

a { text-decoration: none; color: inherit }

.w { width: min(1180px, 88vw); margin: auto }

h1, h2, h3 { margin-top: 0; letter-spacing: -.035em }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 800;
  color: #6a756e;
  margin-bottom: 14px;
}

/* inline icons are drawn, not loaded from an icon font */
svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---- header / nav -------------------------------------------------------
   Two variants. Default is the solid sticky bar used on the inner pages.
   .site-nav--overlay is the home page, where the nav sits on top of the hero
   video and so needs to be transparent, taller, and shadowed for legibility. */

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #e7e9e6;
}

.site-nav {
  height: 80px;
  display: flex; align-items: center; justify-content: space-between;
}

.site-nav img { width: 245px; max-width: 42vw; height: auto }

.site-nav--overlay { height: 105px; position: relative; z-index: 2 }

.site-nav--overlay img {
  width: 305px; max-width: 44vw; height: auto;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .35));
}

.links {
  display: flex; gap: 24px; align-items: center;
  font-size: 14px; font-weight: 700;
}

/* ---- buttons ------------------------------------------------------------
   .btn is the restrained outlined button used through the Leases branch.
   .btn--solid is the filled one the home page hero uses. */

.btn {
  display: inline-block;
  padding: 12px 17px;
  border: 1px solid #c9cfca;
  border-radius: 4px;
  background: #fff;
  font-weight: 800;
}

.btn.primary,
.btn--pink {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

.btn--solid {
  padding: 14px 21px;
  border: none;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

.bookpill { background: var(--pink); color: #fff; padding: 11px 16px; border-radius: 4px }

/* the three-colour rule under the home hero */
.bar { height: 6px; display: flex }
.bar i { flex: 1 }
.bar i:nth-child(1) { background: var(--blue) }
.bar i:nth-child(2) { background: var(--green) }
.bar i:nth-child(3) { background: var(--pink) }

/* ---- footer -------------------------------------------------------------
   Was three near-identical near-blacks and two logo sizes across the
   prototype pages. Unified. */

footer { background: #15231d; color: #fff; padding: 38px 0 }
.foot { display: flex; align-items: center; justify-content: space-between }
.foot img { width: 220px; height: auto }
.foot span { font-size: 13px; opacity: .72 }

/* ---- accessibility ------------------------------------------------------ */

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

.skip-link {
  position: absolute; left: -9999px;
  background: #fff; color: var(--ink);
  padding: 12px 18px; z-index: 100; font-weight: 800;
}
.skip-link:focus { left: 12px; top: 12px }

@media (max-width: 800px) {
  .links a:not(.btn):not(.bookpill) { display: none }
  .foot { display: block }
  .foot span { display: block; margin-top: 18px }
}
