/* Wapato Point — design system tokens (mirrors the Paper file) */
:root {
  --ink: #0F2830;
  --lake: #1C5561;
  --lake-deep: #123C46;
  --shore: #F5F2EA;
  --sand: #E7DCC7;
  --alpenglow: #C9944A;
  --mist: #8FA6AA;
  --ink-60: #4A5E63;
  --line: #DAD2C2;
  --white: #FFFFFF;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Instrument Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;

  --gutter: 20px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 999px;
  --bar-h: 92px; /* sticky mobile book bar allowance */
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--shore);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bar-h);
}

img { max-width: 100%; display: block; }

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

:focus-visible {
  outline: 3px solid var(--alpenglow);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--shore);
  padding: 12px 18px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: 1312px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.1;
  text-wrap: balance;
  margin: 0;
}
h1.display { font-size: clamp(38px, 8.5vw, 76px); }
h2.display { font-size: clamp(28px, 5.4vw, 48px); }
h3.display { font-size: clamp(21px, 3vw, 26px); }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--alpenglow);
}
.eyebrow--lake { color: var(--lake); }

.lede { font-size: 17px; line-height: 1.6; color: var(--ink-60); margin: 0; }
.muted { color: var(--ink-60); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans); font-size: 15px; font-weight: 600;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.btn--amber { background: var(--alpenglow); color: var(--ink); }
.btn--amber:hover { background: #B8853E; }
.btn--ink { background: var(--ink); color: var(--shore); }
.btn--ink:hover { background: #16323C; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--shore); }
.btn:active { transform: translateY(1px); }

.link-arrow {
  font-size: 14px; font-weight: 600; color: var(--lake);
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px;
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- header ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter);
}
.site-header--solid {
  position: sticky; background: var(--shore);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { flex: 0 0 auto; width: 26px; height: 26px; }
.brand__name {
  font-family: var(--font-display); font-weight: 400;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--shore); line-height: 1; white-space: nowrap;
}

/* responsive text swaps */
.lg-only { display: none; }
.sm-only { display: inline; }
.brand__sub {
  font-size: 8px; font-weight: 600; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--alpenglow); margin-top: 3px;
}
.site-header--solid .brand__name { color: var(--ink); }

.nav-desktop { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 13px; }
.hamburger {
  background: none; border: 0; padding: 10px; cursor: pointer;
  min-width: 44px; min-height: 44px;
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(15,40,48,.55) 0%, rgba(15,40,48,.10) 22%,
    rgba(15,40,48,.55) 55%, rgba(15,40,48,.92) 100%);
}
.hero__inner { position: relative; width: 100%; padding: 0 var(--gutter) 28px; }
.hero .eyebrow { color: rgba(245,242,234,.88); }
.hero h1 { color: var(--shore); margin-bottom: 14px; }
.hero__lede { color: rgba(245,242,234,.93); font-size: 16px; line-height: 1.55; max-width: 34em; margin: 0 0 24px; }

/* booking bar */
.booker {
  background: rgba(245,242,234,.97);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: 0 16px 40px rgba(15,40,48,.32);
}
.booker__fields { display: flex; align-items: stretch; }
.booker__field { flex: 1; padding: 10px 14px; min-width: 0; }
.booker__field + .booker__field { border-left: 1px solid var(--line); }
.booker__label {
  display: block; font-size: 10px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-60);
}
.booker__value { font-size: 15px; font-weight: 500; color: var(--ink); }
.booker .btn { width: 100%; margin-top: 6px; }
.hero__note {
  display: none;
  font-size: 11px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(245,242,234,.72);
}

/* ---------- stats ---------- */
.stats { background: var(--ink); }
.stats__row {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px 10px; padding: 26px var(--gutter);
}
.stat { text-align: center; min-width: 0; }
.stat__v {
  font-family: var(--font-display); font-size: 26px;
  font-weight: 400; color: var(--shore); display: block; line-height: 1.15;
}
.stat__l {
  font-size: 10px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--mist); display: block;
}
.stats__div { display: none; }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section__head { margin-bottom: 24px; }
.section__head .display { margin-bottom: 10px; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15,40,48,.10); }
.card__media { position: relative; aspect-ratio: 3 / 2; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.chip {
  position: absolute; top: 12px; left: 12px;
  background: rgba(245,242,234,.94); border-radius: var(--radius-full);
  padding: 5px 13px; font-size: 10px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
}
.card__body { padding: 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card__title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card__title { font-family: var(--font-display); font-size: 22px; font-weight: 400; margin: 0; }
.card__spec { font-size: 13px; color: var(--ink-60); margin: 0; }
.card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--line); margin-top: auto; padding-top: 14px;
}
.card__price { font-size: 14px; }
.card__price b { font-weight: 600; }

/* ---------- editorial split ---------- */
.split { display: grid; grid-template-columns: 1fr; border-radius: var(--radius-lg); overflow: hidden; }
.split__media { aspect-ratio: 4 / 3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body { background: var(--sand); padding: 32px 24px; }
.split__body .display { margin-bottom: 14px; }
.split__body p { margin: 0 0 20px; color: var(--ink-60); }

/* ---------- heritage band ---------- */
.band { background: var(--ink); color: var(--shore); padding: 56px 0; }
.band .display { color: var(--shore); margin-bottom: 16px; }
.band p { color: var(--mist); margin: 0 0 16px; }
.band .link-arrow { color: var(--alpenglow); }
.band__grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.pill {
  border: 1px solid #2A4A52; border-radius: var(--radius-full);
  padding: 9px 18px; font-size: 13px; font-weight: 500; color: var(--shore);
}
.pill--amber { background: var(--alpenglow); border-color: var(--alpenglow); color: var(--ink); font-weight: 600; }
.band__eyebrow { color: var(--mist); }

/* ---------- seasons + quote ---------- */
.duo { display: grid; grid-template-columns: 1fr; gap: 20px; }
.seasons { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; }
.seasons img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.seasons__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,40,48,.9) 0%, rgba(15,40,48,.35) 48%, rgba(15,40,48,.05) 78%); }
.seasons__body { position: relative; padding: 24px; }
.seasons .eyebrow { color: rgba(245,242,234,.85); }
.seasons .display { color: var(--shore); font-size: clamp(20px, 4.6vw, 30px); }
.quote {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 26px;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.stars { display: flex; gap: 4px; }
.quote blockquote {
  margin: 0; font-family: var(--font-display); font-style: italic;
  font-size: clamp(19px, 3.4vw, 25px); line-height: 1.38;
}
.quote figcaption { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-60); }

/* ---------- sale banner ---------- */
.banner {
  background: var(--sand); border-radius: var(--radius-lg);
  padding: 28px 24px; display: flex; flex-direction: column;
  gap: 18px; align-items: flex-start;
}
.banner .display { margin-bottom: 4px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--mist); padding: 44px 0 32px; }
.site-footer a:hover { color: var(--shore); }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 30px; }
.footer__brand .brand__name { color: var(--shore); }
.footer__contact { font-size: 14px; line-height: 1.7; margin: 14px 0 0; }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.footer__h {
  font-size: 10px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: #5A7278; margin: 0 0 12px;
}
.footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__bottom {
  border-top: 1px solid #2A4A52; margin-top: 30px; padding-top: 20px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 12px; color: #5A7278;
}

/* ---------- sticky mobile book bar ---------- */
.bookbar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  background: var(--ink); border-radius: var(--radius-full);
  padding: 8px 8px 8px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: 0 14px 36px rgba(15,40,48,.42);
}
.bookbar__meta { min-width: 0; }
.bookbar__t { font-size: 13px; font-weight: 600; color: var(--shore); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bookbar__s { font-size: 11px; color: var(--mist); }
.bookbar .btn { min-height: 46px; padding: 0 24px; flex: 0 0 auto; }

/* ---------- stays page ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: 0 0 auto; border: 1px solid var(--line); background: var(--white);
  border-radius: var(--radius-full); padding: 9px 17px; font-size: 13px;
  font-weight: 500; color: var(--ink); cursor: pointer; font-family: var(--font-sans);
}
.filter[aria-pressed="true"] { background: var(--ink); color: var(--shore); border-color: var(--ink); }
.results-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 6px 0 18px; font-size: 14px; color: var(--ink-60); }
.searchbar {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-full); padding: 6px 6px 6px 20px; margin-bottom: 14px;
}
.searchbar__v { flex: 1; font-size: 14px; font-weight: 500; min-width: 0; }
.tennis {
  background: var(--sand); border-radius: var(--radius-lg); padding: 26px 24px;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start; margin-top: 32px;
}

/* ---------- property page ---------- */
.pdp-head { padding: 26px 0 18px; }
.pdp-head .display { margin: 8px 0 6px; }
.rating { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; }
.gallery { display: grid; grid-template-columns: 1fr; gap: 8px; }
.gallery__main { aspect-ratio: 16 / 11; border-radius: var(--radius-lg); overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__rest { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery__rest figure { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; position: relative; }
.gallery__rest img { width: 100%; height: 100%; object-fit: cover; }
.gallery__more {
  position: absolute; inset: 0; background: rgba(15,40,48,.5);
  display: flex; align-items: center; justify-content: center;
  color: var(--shore); font-size: 13px; font-weight: 600;
}
.pdp-grid { display: grid; grid-template-columns: 1fr; gap: 34px; margin-top: 32px; }
.amenities { display: flex; flex-wrap: wrap; gap: 9px; }
.amenity { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-full); padding: 9px 17px; font-size: 13px; }
.amenity--all { border-style: dashed; border-color: var(--ink-60); font-weight: 600; background: transparent; }
.village {
  display: flex; gap: 16px; background: var(--sand);
  border-radius: var(--radius-lg); padding: 20px; margin-top: 30px;
}
.village__img { flex: 0 0 96px; height: 96px; border-radius: var(--radius-md); overflow: hidden; }
.village__img img { width: 100%; height: 100%; object-fit: cover; }
.village h3 { margin: 0 0 6px; }
.village p { margin: 0; font-size: 14px; color: var(--ink-60); line-height: 1.55; }

.quotecard {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px;
  box-shadow: 0 16px 40px rgba(15,40,48,.08);
}
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.price { font-family: var(--font-display); font-size: 30px; font-weight: 400; }
.price span { font-family: var(--font-sans); font-size: 14px; color: var(--ink-60); }
.reassure { font-size: 13px; font-weight: 600; color: var(--lake); }
.datebox { border: 1px solid var(--line); border-radius: 14px; display: flex; overflow: hidden; }
.datebox > div { flex: 1; padding: 12px 16px; }
.datebox > div + div { border-left: 1px solid var(--line); }
.guestbox { border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-top: 9px; }
.lines { margin: 20px 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.lines div { display: flex; justify-content: space-between; gap: 12px; }
.lines .total { border-top: 1px solid var(--line); padding-top: 14px; font-size: 16px; font-weight: 600; }
.quotecard .btn { width: 100%; min-height: 56px; }
.micro { font-size: 12px; text-align: center; color: var(--ink-60); margin: 12px 0 0; }

/* ================= desktop ================= */
@media (min-width: 900px) {
  :root { --gutter: 40px; --bar-h: 0px; }

  .site-header { padding: 22px var(--gutter); }
  .nav-desktop { display: flex; align-items: center; gap: 30px; }
  .nav-desktop a { font-size: 14px; font-weight: 500; color: var(--shore); }
  .nav-desktop a:hover { text-decoration: underline; text-underline-offset: 5px; }
  .site-header--solid .nav-desktop a { color: var(--ink-60); }
  .site-header--solid .nav-desktop a.is-active { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--alpenglow); padding-bottom: 3px; }
  .hamburger { display: none; }
  .brand__name { font-size: 17px; }
  .brand__mark { width: 32px; height: 32px; }

  .hero { min-height: 780px; }
  .hero__inner { padding-bottom: 52px; max-width: 1312px; margin: 0 auto; }
  .hero__lede { font-size: 19px; margin-bottom: 30px; }
  .hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
  .hero__note { display: block; }
  .booker { display: flex; align-items: center; padding: 8px 8px 8px 30px; border-radius: var(--radius-full); max-width: 760px; }
  .booker__fields { flex: 1; }
  .booker__field { padding: 6px 18px 6px 0; }
  .booker__field + .booker__field { padding-left: 24px; }
  .booker .btn { width: auto; margin: 0; min-height: 62px; padding: 0 34px; }

  .stats__row {
    display: flex; align-items: center; justify-content: center;
    gap: 44px; padding: 30px var(--gutter);
  }
  .stat { display: flex; align-items: baseline; gap: 11px; flex: 0 0 auto; text-align: left; }
  .stat__v { font-size: 32px; white-space: nowrap; }
  .stat__l { font-size: 11px; white-space: nowrap; display: inline; }
  .stats__div { display: block; width: 1px; height: 34px; background: #2A4A52; flex: 0 0 1px; }

  .lg-only { display: inline; }
  .sm-only { display: none; }
  .brand__name { font-size: 17px; letter-spacing: 0.2em; }
  .brand__mark { width: 32px; height: 32px; }

  .section { padding: 84px 0; }
  .section__head { margin-bottom: 34px; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .card__title { font-size: 25px; }

  .split { grid-template-columns: 1.1fr 1fr; }
  .split__media { aspect-ratio: auto; }
  .split__body { padding: 60px 56px; display: flex; flex-direction: column; justify-content: center; }

  .band { padding: 84px 0; }
  .band__grid { grid-template-columns: 1.4fr 1fr; gap: 70px; }

  .duo { grid-template-columns: 1.4fr 1fr; gap: 26px; }
  .seasons { min-height: 400px; }
  .seasons__body { padding: 40px; max-width: 30em; }
  .quote { padding: 50px; }

  .banner { flex-direction: row; align-items: center; justify-content: space-between; padding: 42px 56px; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }

  .bookbar { display: none; }

  /* stays */
  .stays-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding-top: 34px; }
  .searchbar { margin-bottom: 0; max-width: 420px; }
  .filters { overflow: visible; padding-bottom: 0; }
  .filters-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0 30px; }
  .tennis { flex-direction: row; align-items: center; justify-content: space-between; padding: 38px 48px; margin-top: 46px; }
  .tennis__body { max-width: 60ch; }

  /* pdp */
  .pdp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 34px 0 22px; }
  .gallery { grid-template-columns: 1.6fr 1fr 1fr; gap: 10px; grid-template-rows: repeat(2, 1fr); height: 470px; }
  .gallery__main { grid-row: span 2; aspect-ratio: auto; height: 100%; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
  .gallery__rest { display: contents; }
  .gallery__rest figure { aspect-ratio: auto; height: 100%; border-radius: 0; }
  .gallery__rest figure:nth-child(2) { border-radius: 0 var(--radius-lg) 0 0; }
  .gallery__rest figure:nth-child(4) { border-radius: 0 0 var(--radius-lg) 0; }
  .pdp-grid { grid-template-columns: 1.5fr 1fr; gap: 56px; margin-top: 46px; }
  .quotecard { padding: 32px; position: sticky; top: 24px; }
  .village { padding: 26px; margin-top: 36px; }
  .village__img { flex-basis: 120px; height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .card:hover { transform: none; }
}
