/* Resort spin-off design — loaded ONLY by layouts/application.html+spinoff.erb.
   The main Stay Utah stylesheet (application.css) is not loaded alongside this.

   Theming: every resort-specific color reads a custom property below. A resort
   overrides them inline on <body> from config/resorts/<slug>.yml (see
   Resort#css_variables); the defaults here are Pecan Valley's. */

@layer reset, base, components;

@layer base {
  :root {
    --ink: #111210;          /* near-black, warm */
    --mute: #73716B;         /* stone gray */
    --bg: #FFFFFF;
    --tint: #F6F5F2;         /* whisper of warm gray */
    --line: #E8E6E1;
    --accent: #9C8553;       /* champagne brass */
    --accent-soft: #CDB686;  /* brass on dark backgrounds */
    --grad: linear-gradient(120deg, #C8B084 0%, #A98F5C 55%, #8C744A 100%);
    --trend: #2F6B4F;
    --display: "Hanken Grotesk", system-ui, sans-serif;
    --body: "Hanken Grotesk", system-ui, sans-serif;
    /* The logo wordmark uses a serif for the resort name. */
    --logo-font: "Playfair Display", Georgia, serif;
    --max: 1240px;
    --r: 20px;
    /* Search (magnifier) glyph, masked to currentColor for the nav/hero prompts. */
    --mag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.5' y2='16.5'/%3E%3C/svg%3E");
  }
}

@layer reset {
  * { box-sizing: border-box; margin: 0; padding: 0; }
}

@layer base {
  html { scroll-behavior: smooth; }
  body { font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 15.5px; -webkit-font-smoothing: antialiased; }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { font-family: var(--body); }
  h1, h2, h3 { font-weight: 700; font-family: var(--display); }
  h2 { font-size: clamp(28px, 3.5vw, 42px); line-height: 1.06; letter-spacing: -.022em; }
  em { font-style: italic; color: var(--accent); }
}

@layer components {
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
  section[id], div[id^="give"] { scroll-margin-top: 60px; }
  .skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 12px 0; z-index: 100; font-size: 13px; font-weight: 600; }
  .skip:focus { left: 0; }
  .catc:focus-visible, .quick button:focus-visible, .opens :is(button, a):focus-visible, .search label:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 12px; }
  .search label:focus-within { outline-offset: -2px; }
  .k { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
  .section { padding: 84px 0; }
  .sec-head { margin-bottom: 34px; }
  .sec-head p { color: var(--mute); margin-top: 10px; max-width: 52ch; }
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14.5px; font-weight: 600; border-radius: 999px; padding: 13px 24px; border: 1px solid transparent; cursor: pointer; transition: opacity .15s ease; }
  .btn:hover { opacity: .88; }
  .btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .btn-dark { background: var(--ink); color: #fff; }
  .btn-grad { background: var(--grad); color: #171511; box-shadow: 0 10px 22px -12px rgba(140, 116, 74, .5); }
  .btn-line { border-color: var(--line); background: #fff; }
  .btn-white { background: #fff; color: var(--ink); }
  .btn-sm { padding: 8px 16px; font-size: 13px; }

  /* ================= FLASH ================= */
  .flash { position: fixed; left: 50%; transform: translateX(-50%); bottom: 24px; z-index: 99; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 500; border-radius: 999px; padding: 11px 22px; box-shadow: 0 18px 44px -18px rgba(0, 0, 0, .5); }

  /* ================= DEAL BAR ================= */
  .deal-bar { background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; }
  .deal-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 28px; flex-wrap: wrap; text-align: center; }
  .deal-bar .code { background: rgba(255, 255, 255, .14); border: 1px dashed rgba(255, 255, 255, .4); border-radius: 7px; padding: 2px 9px; font-weight: 700; letter-spacing: .06em; cursor: pointer; color: #fff; font-size: 13px; }
  .deal-bar .code:hover { background: rgba(255, 255, 255, .22); }
  .deal-bar .count { font-variant-numeric: tabular-nums; color: var(--accent-soft); font-weight: 600; }

  /* ================= HEADER =================
     Sticky header that shrinks into a compact "mini" state on scroll
     (spinoff--header toggles header.mini). The search lives here as an
     always-visible pill — the hero no longer carries it. */
  header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .25s ease; }
  header.mini { box-shadow: 0 14px 34px -22px rgba(17, 18, 16, .22); }
  .nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 86px; transition: height .28s cubic-bezier(.4, 0, .2, 1); }
  header.mini .nav { height: 64px; }
  .nav-left { display: flex; align-items: center; gap: 18px; min-width: 0; }

  /* two-line wordmark: serif resort name + "Direct by Stay Utah" subline */
  .logo { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
  .logo .logo-name { font-family: var(--logo-font); font-size: 23px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); transition: font-size .28s ease; }
  .logo .logo-sub { font-family: var(--body); font-size: 8.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); margin-top: 3px; }
  header.mini .logo .logo-name { font-size: 21px; }

  /* header search pill — opens the dates/guests picker, mirrors its state */
  .nav-mini { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); background: #fff; border-radius: 999px;
    padding: 7px 7px 7px 26px; font-family: var(--body); cursor: pointer; white-space: nowrap; color: var(--ink);
    flex: 1 1 auto; min-width: 120px; max-width: 520px; margin: 0 18px;
    box-shadow: 0 6px 22px -14px rgba(17, 18, 16, .22); transition: box-shadow .2s ease, border-color .2s ease, max-width .28s cubic-bezier(.4, 0, .2, 1), padding .28s ease; }
  .nav-mini:hover { box-shadow: 0 12px 30px -16px rgba(17, 18, 16, .32); border-color: #d8d4cc; }
  header.mini .nav-mini { max-width: 440px; padding: 5px 5px 5px 22px; }
  .nm-prompt { display: none; font-size: 14px; font-weight: 600; color: var(--ink); }
  .nm-combo { display: flex; align-items: center; flex: 1; min-width: 0; }
  .nm-leg { display: flex; flex-direction: column; gap: 1px; align-items: flex-start; line-height: 1.18; flex: 1; min-width: 0; }
  .nm-leg .nm-k { font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
  .nm-leg b { font-size: 14px; font-weight: 600; color: var(--ink); }
  .nm-leg b.need { color: var(--accent); }
  .nm-leg b, .nm-leg .nm-k { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .nav-mini .nm-sep { width: 1px; height: 24px; background: var(--line); margin: 0 14px; flex-shrink: 0; }
  .nav-mini .nm-go { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #171511; display: grid; place-items: center; font-size: 16px; margin-left: 18px; flex-shrink: 0; transition: width .28s ease, height .28s ease; }
  header.mini .nav-mini .nm-go { width: 34px; height: 34px; }
  @keyframes navFlash { 0%, 100% { box-shadow: 0 0 0 0 rgba(160, 135, 90, 0); } 40% { box-shadow: 0 0 0 4px rgba(160, 135, 90, .7); } }
  .nav-mini.flash { animation: navFlash 1s ease 2; }

  /* right cluster: List your home · account avatar · hamburger */
  .nav-right { display: flex; align-items: center; gap: 10px; position: relative; }
  .nav-right .btn { padding: 9px 18px; font-size: 13.5px; }
  .list-btn { flex-shrink: 0; white-space: nowrap; font-size: 13.5px; font-weight: 600; color: var(--ink); background: var(--tint);
    border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; cursor: pointer; font-family: var(--body);
    transition: background .15s ease, border-color .15s ease; }
  .list-btn:hover { background: #fff; border-color: var(--ink); }
  .list-btn .lb-short { display: none; }
  .burger { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--tint); cursor: pointer;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    transition: background .15s ease; flex-shrink: 0; }
  .burger:hover { background: var(--line); }
  .burger:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .burger .bl { display: block; width: 17px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .24s cubic-bezier(.4, 0, .2, 1), opacity .18s ease; }
  .burger[aria-expanded="true"] .bl:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .burger[aria-expanded="true"] .bl:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] .bl:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

  /* hamburger dropdown (toggled via spinoff--menu, hidden-attribute pattern) */
  .burger-wrap { position: relative; display: inline-flex; }
  .menu { position: absolute; top: calc(100% + 12px); right: 0; min-width: 268px; background: #fff; border: 1px solid var(--line); border-radius: 18px;
    box-shadow: 0 30px 70px -28px rgba(17, 18, 16, .35); padding: 10px; display: flex; flex-direction: column; z-index: 60;
    animation: menuIn .22s cubic-bezier(.2, .9, .3, 1.15); }
  .menu[hidden] { display: none; }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .menu a, .menu .menu-row { font-size: 14px; font-weight: 500; padding: 12px 16px; border-radius: 12px; display: flex; align-items: center; gap: 12px; }
  .menu a:hover, .menu-row:hover { background: var(--tint); }
  .menu-sec { display: block; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); padding: 6px 16px 8px; }
  .menu .menu-ic { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--tint); font-size: 13px; color: var(--ink); flex-shrink: 0; }
  .menu .menu-ic.gold { background: linear-gradient(135deg, #efe2c4, #dcc488); color: #5e4a20; }
  .menu-div { height: 1px; background: var(--line); margin: 8px 6px; }
  .menu-row { width: 100%; text-align: left; border: 0; background: none; cursor: pointer; font-family: var(--body); }
  .menu-row b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.2; }
  .menu-row small { display: block; font-size: 11.5px; color: var(--mute); margin-top: 1px; }
  /* signed-in profile header + sign-out inside the menu */
  .menu-id { display: grid; gap: 1px; padding: 4px 16px 10px; }
  .menu-id b { font-size: 14px; font-weight: 700; color: var(--ink); }
  .menu-id span { font-size: 12px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .menu-form { margin: 0; }
  .menu-signout b { color: #B4543F; }

  /* back link (property / checkout headers) */
  .back { font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; }
  .back:hover { color: var(--accent); }

  /* responsive header */
  @media (max-width: 1040px) {
    .logo .logo-name { font-size: 20px; letter-spacing: .18em; }
    .nav-mini { margin: 0 12px; padding: 7px 7px 7px 18px; }
    .nav-mini .nm-sep { margin: 0 10px; }
    .nm-leg b { font-size: 13px; }
    .nav-mini .nm-go { margin-left: 10px; }
  }
  @media (max-width: 880px) { .list-btn .lb-full { display: none; } .list-btn .lb-short { display: inline; } }
  @media (max-width: 760px) {
    .nav { gap: 10px; height: 64px; }
    .nav-left { gap: 10px; }
    .logo .logo-name { font-size: 16px; letter-spacing: .16em; }
    .logo .logo-sub { font-size: 7.5px; letter-spacing: .18em; }
    .menu { position: fixed; left: 14px; right: 14px; top: 60px; min-width: 0; }
    /* Collapse the search bar into a single tappable "Start your search" capsule.
       The check-in / check-out / guests combo is hidden; the prompt (date range
       only once chosen — no guest count on phones) shows with a search icon. */
    .nav-mini { flex: 1 1 auto; max-width: none; margin: 0 12px; min-height: 42px; padding: 0 6px 0 16px;
      background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 16px -10px rgba(17, 18, 16, .2); }
    .nav-mini:hover { box-shadow: 0 4px 16px -10px rgba(17, 18, 16, .2); }
    .nm-combo { display: none; }
    .nm-prompt { display: flex; align-items: center; flex: 1; min-width: 0; font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--ink);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .nm-prompt.chosen { color: var(--ink); font-weight: 600; }
    .nm-prompt::before { content: ""; width: 15px; height: 15px; margin-right: 10px; flex-shrink: 0;
      background: var(--ink); -webkit-mask: var(--mag) center / contain no-repeat; mask: var(--mag) center / contain no-repeat; }
    .nav-mini .nm-go { width: 30px; height: 30px; font-size: 13px; margin-left: 8px; }
  }
  @media (max-width: 640px) { .list-btn { display: none !important; } }

  /* ================= HERO =================
     Full-bleed, edge-to-edge image with centered editorial copy. The search
     moved up into the header pill, so the hero leads with the headline + CTAs. */
  .hero { padding: 0; max-width: none; margin: 0; }
  .hero-card { position: relative; overflow: hidden; color: #fff;
    background:
      radial-gradient(120% 90% at 80% 0%, #8E7649 0%, transparent 50%),
      radial-gradient(110% 90% at 12% 100%, #2B2D33 0%, transparent 60%),
      linear-gradient(165deg, #4C4538 0%, #26241F 50%, #111210 100%); }
  .hero-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 8, 6, .10) 25%, rgba(10, 8, 6, .6) 100%); }
  .hero-in { position: relative; z-index: 1; padding: 64px 28px 56px; animation: fade .9s ease both; display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 74vh; justify-content: center; }
  @keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .hero-kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 16px; text-shadow: 0 2px 22px rgba(0, 0, 0, .7), 0 1px 5px rgba(0, 0, 0, .65); }
  .hero h1 { font-size: clamp(38px, 7.6vw, 104px); line-height: 1; letter-spacing: -.022em; max-width: 14ch; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, .4), 0 1px 8px rgba(0, 0, 0, .35); }
  .hero h1 em { color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, .45), 0 1px 8px rgba(0, 0, 0, .4); }

  /* CTA row under the headline */
  .hero-cta { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }
  .hero-cta .btn { padding: 16px 36px; font-size: 15px; }
  .btn-line-light { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .5); color: #fff; backdrop-filter: blur(6px); }
  .btn-line-light:hover { background: rgba(255, 255, 255, .2); opacity: 1; }
  .hero-link { color: #fff; font-size: 14.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; border-bottom: 1px solid rgba(255, 255, 255, .5); padding-bottom: 2px; transition: border-color .15s ease, gap .2s ease; }
  .hero-link:hover { border-bottom-color: #fff; gap: 10px; }
  .hero-link .ar { transition: transform .2s ease; }
  .hero-link:hover .ar { transform: translateX(2px); }
  /* phone-only: a search-field-styled button in place of the desktop CTA */
  .hero-search-m { display: none; }

  /* hero giveaway — glass mini listing card */
  @keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(126, 217, 87, 0); } 100% { box-shadow: 0 0 0 0 rgba(126, 217, 87, 0); } }
  .hero-give { align-self: center; display: flex; align-items: center; gap: 14px;
    background: rgba(18, 14, 10, .5); backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, .22); border-radius: 20px;
    padding: 10px 14px 10px 10px; margin-bottom: 26px; max-width: 560px;
    box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .12);
    transition: transform .35s cubic-bezier(.2, .9, .3, 1.15), box-shadow .35s ease, background .25s ease;
    animation: hgIn .9s cubic-bezier(.2, .9, .3, 1.1) .25s both;
    cursor: pointer; }
  @keyframes hgIn { from { opacity: 0; transform: translateY(-14px) scale(.96); } to { opacity: 1; transform: none; } }
  .hero-give:hover { transform: translateY(-2px) scale(1.012); background: rgba(18, 14, 10, .62); box-shadow: 0 26px 60px -18px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .16); }
  .hero-give:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; }
  .hg-thumb { position: relative; width: 74px; height: 74px; border-radius: 13px; overflow: hidden; flex-shrink: 0; background: linear-gradient(145deg, #3A3D4D, #15161D); }
  .hg-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
  .hero-give:hover .hg-thumb img { transform: scale(1.07); }
  .hg-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .hg-k { display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-soft); }
  .hg-k .pulse { width: 6px; height: 6px; border-radius: 50%; background: #7ED957; box-shadow: 0 0 0 0 rgba(126, 217, 87, .6); animation: pulse 1.8s infinite; }
  .hg-title { font-family: var(--display); font-weight: 700; font-size: 17.5px; letter-spacing: -.01em; line-height: 1.1; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hg-sub { font-size: 12px; color: rgba(255, 255, 255, .75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hg-sub b { color: #fff; font-weight: 600; }
  .hg-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; margin-left: auto; flex-shrink: 0; padding-left: 8px; }
  .hg-count { font-size: 10.5px; font-weight: 600; color: rgba(255, 255, 255, .65); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .hg-cta { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--ink); font-weight: 600; border-radius: 999px; padding: 8px 16px; font-size: 12.5px; white-space: nowrap; transition: gap .2s ease; }
  .hero-give:hover .hg-cta { gap: 9px; }
  .hg-cta .ar { transition: transform .25s ease; }
  .hero-give:hover .hg-cta .ar { transform: translateY(2px); }
  @media (max-width: 640px) {
    .hero-give { max-width: 100%; padding: 9px 12px 9px 9px; gap: 11px; }
    .hg-thumb { width: 58px; height: 58px; }
    .hg-title { font-size: 16px; white-space: normal; }
    .hg-sub { white-space: normal; }
    .hg-count { display: none; }
  }

  /* Post-search results bar: "Showing N homes for <range> · X guests · Change
     dates" on the left, a Sort dropdown on the right (revealed by the search). */
  .results-note { display: none; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; color: var(--mute); background: var(--tint); border: 1px solid var(--line); border-radius: 12px; padding: 11px 16px; }
  .results-note b { color: var(--ink); }
  .rn-info { flex: 1; min-width: 200px; }
  .rn-change { background: none; border: 0; padding: 0; font-family: var(--body); font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
  .rn-change:hover { color: var(--accent); }
  .rn-sort { position: relative; margin-left: auto; }
  .rn-sort[hidden] { display: none; }
  .rn-pill { background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink); padding: 8px 16px; cursor: pointer; font-family: var(--body); white-space: nowrap; transition: border-color .15s ease; display: inline-flex; align-items: center; gap: 7px; }
  .rn-pill:hover { border-color: var(--ink); }
  .rn-caret { font-size: 10px; color: var(--mute); }
  .rn-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 56px -26px rgba(17, 18, 16, .4); padding: 6px; display: none; min-width: 210px; }
  .rn-menu.open { display: block; animation: menuIn .18s ease; }
  .rn-menu button { display: block; width: 100%; text-align: left; border: 0; background: none; font-family: var(--body); font-size: 13px; font-weight: 500; color: var(--ink); padding: 10px 13px; border-radius: 9px; cursor: pointer; white-space: nowrap; }
  .rn-menu button:hover, .rn-menu button.on { background: var(--tint); }
  .rn-menu button.on { font-weight: 700; }
  @media (max-width: 600px) {
    .results-note { flex-direction: column; align-items: stretch; gap: 10px; }
    .rn-info { min-width: 0; }
    .rn-sort { margin-left: 0; width: 100%; }
    .rn-pill { width: 100%; justify-content: space-between; }
    .rn-menu { left: 0; right: 0; width: 100%; min-width: 0; }
  }

  /* phone hero: swap the desktop CTAs for one search-styled button */
  @media (max-width: 640px) {
    .hero-find, .hero-link { display: none; }
    .hero-cta { flex-direction: column; gap: 14px; margin-top: 26px; width: 100%; }
    .hero-search-m { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; max-width: 360px; cursor: pointer;
      background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .55); backdrop-filter: blur(16px) saturate(1.3);
      border-radius: 999px; padding: 15px 24px; font-family: var(--body); color: #fff;
      box-shadow: 0 18px 44px -16px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .2);
      transition: background .2s ease, transform .2s ease; }
    .hero-search-m:active { transform: scale(.985); }
    .hsm-ic { width: 19px; height: 19px; flex-shrink: 0; align-self: center; background: #fff;
      -webkit-mask: var(--mag) center / contain no-repeat; mask: var(--mag) center / contain no-repeat; }
    .hsm-txt { display: flex; flex-direction: column; line-height: 1.15; align-items: flex-start; text-align: left; }
    .hsm-txt b { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: .01em; }
    .hsm-txt small { font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, .82); margin-top: 2px; letter-spacing: .04em; }
  }

  @media (max-width: 720px) {
    .hero-in { padding: 48px 18px 34px; min-height: 60vh; }
  }

  /* ================= TRUST LINE (reasons band) ================= */
  .reasons-band { background: #fff; border-bottom: 1px solid var(--line); }
  .reasons-band .wrap { padding: 20px 28px; }
  .trust-line { text-align: center; font-size: 14.5px; color: var(--mute); letter-spacing: .01em; line-height: 1.7; }
  .trust-line b { color: var(--ink); font-weight: 600; }
  @media (max-width: 540px) { .trust-line { font-size: 13px; } }

  /* ================= GIFT CARD INCLUSIONS (photo cards) =================
     Short photo tiles, always one row; condense by width, scroll only when too
     narrow. Each tile opens its compact pop-up (spinoff--modal). */
  .included { border-bottom: 1px solid var(--line); background: var(--tint); }
  .included .wrap { padding-top: 30px; padding-bottom: 30px; }
  .inc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
  .inc-head h2 { margin-top: 6px; font-size: clamp(22px, 2.5vw, 30px); }
  .inc-sub { margin-top: 10px; font-size: 13.5px; color: var(--mute); max-width: 60ch; line-height: 1.5; }
  .inc-total { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--accent); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; white-space: nowrap; }
  .inc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; padding: 14px 0 20px; }
  .inc-card { position: relative; border: 0; padding: 0; border-radius: 14px; overflow: hidden; cursor: pointer;
    height: 168px; min-width: 0; scroll-snap-align: start; font-family: var(--body); text-align: left; display: block;
    background: linear-gradient(135deg, #3a3328 0%, #1a1916 70%);
    box-shadow: 0 14px 32px -24px rgba(17, 18, 16, .45); transition: transform .3s cubic-bezier(.2, .9, .3, 1.2), box-shadow .3s ease; }
  .inc-card:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -26px rgba(17, 18, 16, .5); }
  .inc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
  .inc-card:hover img { transform: scale(1.07); }
  .inc-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 7, 5, .92) 6%, rgba(8, 7, 5, .32) 52%, transparent 82%); }
  .inc-kind { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 8.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .5); backdrop-filter: blur(6px);
    border-radius: 999px; padding: 4px 11px; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .inc-body { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 13px 14px; color: #fff; }
  .inc-val { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.2vw, 26px); line-height: .95; letter-spacing: -.025em; }
  .inc-brand { font-size: clamp(11px, 1.1vw, 13px); font-weight: 700; margin-top: 5px; line-height: 1.18; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .inc-tag { font-size: 10.5px; color: rgba(255, 255, 255, .8); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .inc-free { margin-top: 8px; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-soft); display: flex; align-items: center; gap: 5px; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 8px; }
  .inc-free::before { content: "✓"; }
  .inc-card:nth-child(2) { background: linear-gradient(135deg, #2c4a3e 0%, #14201b 70%); }
  .inc-card:nth-child(3) { background: linear-gradient(135deg, #2f5560 0%, #15252a 70%); }
  .inc-card:nth-child(4) { background: linear-gradient(135deg, #4a3a55 0%, #1d1622 70%); }
  /* keep 4 across until a card would get too narrow, then horizontal-scroll */
  @media (max-width: 920px) {
    .inc-grid { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
      margin-left: -28px; margin-right: -28px; padding: 14px 28px 20px; scroll-padding-left: 28px; }
    .inc-grid::-webkit-scrollbar { display: none; }
    .inc-card { flex: 0 0 230px; }
  }
  @media (max-width: 560px) {
    .inc-grid { margin-left: -18px; margin-right: -18px; padding: 14px 18px 20px; scroll-padding-left: 18px; }
    .inc-card { flex: 0 0 72%; height: 150px; }
  }

  /* ================= FLOATING CONCIERGE ================= */
  .concierge { position: fixed; right: 26px; bottom: 26px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
    opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .4s ease, transform .4s cubic-bezier(.2, .9, .3, 1.2); }
  .concierge.show { opacity: 1; transform: none; pointer-events: auto; }
  .cc-fab { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border: 0; cursor: pointer; font-family: var(--body);
    background: var(--ink); color: #fff; border-radius: 50%;
    box-shadow: 0 18px 40px -14px rgba(17, 18, 16, .6);
    transition: transform .25s cubic-bezier(.2, .9, .3, 1.2), box-shadow .25s ease; }
  .cc-fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 26px 56px -16px rgba(17, 18, 16, .7); }
  .cc-fab-svg { width: 24px; height: 24px; }
  .cc-fab .cc-live { position: absolute; top: 9px; right: 9px; width: 11px; height: 11px; border-radius: 50%; background: #3FC75A; border: 2px solid var(--ink); animation: ccdot 1.6s ease-in-out infinite; }
  @keyframes ccdot { 0%, 100% { transform: scale(.82); } 50% { transform: scale(1.12); } }
  .cc-live-tag { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3FC75A; animation: ccdot 1.6s ease-in-out infinite; }

  /* ============ LIST YOUR HOME / CONCIERGE MODALS ============
     Opened by spinoff--modal (shared .dp-backdrop), like the account modals. */
  .lst { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -46%); z-index: 95; width: min(440px, calc(100vw - 36px));
    background: #fff; border-radius: 24px; overflow: hidden; display: none;
    box-shadow: 0 50px 110px -30px rgba(15, 14, 11, .6);
    transition: transform .35s cubic-bezier(.2, .9, .3, 1.2); }
  .lst.open { display: block; transform: translate(-50%, -50%); animation: amIn .3s cubic-bezier(.2, .9, .3, 1.12); }
  .lst-x { position: absolute; top: 14px; right: 14px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85);
    font-size: 22px; line-height: 1; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .15s ease; }
  .lst-x:hover { background: #fff; }
  .lst-body { padding: 30px 30px 28px; }
  .lst-k { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
  .lst-k .cc-live-tag { margin-right: 7px; vertical-align: middle; }
  .lst-body h3 { font-family: var(--display); font-weight: 700; font-size: 25px; letter-spacing: -.02em; line-height: 1.12; margin-top: 10px; }
  .lst-body h3 em { font-style: italic; color: var(--accent); }
  .lst-body p { font-size: 14px; color: var(--mute); line-height: 1.55; margin-top: 12px; }
  .lst-points { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
  .lst-points li { position: relative; padding-left: 24px; font-size: 13.5px; font-weight: 500; color: var(--ink); }
  .lst-points li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }
  .lst-field { display: block; margin-top: 18px; }
  .lst-field-k { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 7px; }
  .lst-field input { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; font-size: 16px; font-family: var(--body); color: var(--ink); outline: 0; transition: border-color .15s ease; }
  .lst-field input:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(156, 133, 62, .12); }
  .lst-cta { margin-top: 22px; width: 100%; justify-content: center; }
  .lst-cta.cc-callbtn { font-variant-numeric: tabular-nums; font-size: 17px; gap: 9px; }
  .lst-cta.cc-callbtn .cc-phn::before { content: ""; display: inline-block; width: 15px; height: 15px; margin-right: 8px; vertical-align: -2px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 5.5C4 4.7 4.7 4 5.5 4h2.2c.6 0 1.1.4 1.3 1l1 3.2c.1.5 0 1-.4 1.3L9 11c1 2.2 2.8 4 5 5l1.5-1.6c.3-.4.8-.5 1.3-.4l3.2 1c.6.2 1 .7 1 1.3v2.2c0 .8-.7 1.5-1.5 1.5C11.5 20 4 12.5 4 5.5Z' fill='black'/></svg>") center / contain no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 5.5C4 4.7 4.7 4 5.5 4h2.2c.6 0 1.1.4 1.3 1l1 3.2c.1.5 0 1-.4 1.3L9 11c1 2.2 2.8 4 5 5l1.5-1.6c.3-.4.8-.5 1.3-.4l3.2 1c.6.2 1 .7 1 1.3v2.2c0 .8-.7 1.5-1.5 1.5C11.5 20 4 12.5 4 5.5Z' fill='black'/></svg>") center / contain no-repeat; }
  .lst-note { display: block; text-align: center; font-size: 11.5px; color: var(--mute); margin-top: 10px; }
  @media (max-width: 760px) { .concierge { right: 16px; bottom: 16px; left: auto; } }
  @media (max-width: 620px) { .lst-body { padding: 24px; } }

  /* ================= CATEGORY SELECTOR ================= */
  .cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 30px 0 10px; }
  .catc { position: relative; text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 18px; cursor: pointer; padding: 15px 18px 16px; transition: border-color .15s ease, background .15s ease, transform .2s cubic-bezier(.2, .9, .3, 1.3); }
  .catc[hidden] { display: none; } /* empty category after a date search */
  .catc:hover { border-color: var(--ink); transform: translateY(-2px); }
  .catc.on { background: var(--ink); border-color: var(--ink); }
  .catc.on h3, .catc.on p { color: #fff; }
  .catc.on p { opacity: .7; }
  .catc h3 { font-size: 16.5px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
  .catc p { font-size: 12px; color: var(--mute); margin-top: 4px; line-height: 1.45; }
  .catc .cn { position: absolute; top: 12px; right: 14px; font-size: 11px; font-weight: 700; color: var(--mute); }
  .catc.on .cn { color: rgba(255, 255, 255, .65); }
  @media (max-width: 980px) { .cats { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 640px) {
    .cats { display: flex; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scroll-padding-left: 4px; }
    .catc { flex: 0 0 175px; scroll-snap-align: start; }
  }

  /* ================= STAYS ================= */
  .stays { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 22px; }
  .stay { position: relative; background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
  /* Whole-card click target: an absolute overlay anchor covering the card. The
     interactive bits (open-date chips, giveaway tag, "View listing") sit above
     it at z-index 2, so they keep their own links; everywhere else opens the
     property page. */
  .stay-link { position: absolute; inset: 0; z-index: 1; border-radius: var(--r); }
  .stay .opens a, .stay .stay-givetag, .stay-foot a { position: relative; z-index: 2; }
  .stay.hide, .stay.date-hide { display: none; }
  /* Card whose calendar is still being fetched for the searched dates. */
  .stay.checking { pointer-events: none; animation: stay-checking 1.1s ease-in-out infinite alternate; }
  @keyframes stay-checking { from { opacity: .7; } to { opacity: .3; } }
  .stay:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -28px rgba(15, 16, 20, .22); }
  .stay-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(145deg, #EDEFF3 0%, #C7CCD6 100%); }
  .stay-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
  .stay:hover .stay-img img { transform: scale(1.04); }
  .stay-chips { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
  .chip { background: rgba(255, 255, 255, .94); font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }

  /* status badge (real data: only "new" is derivable today) */
  .badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; margin-bottom: 7px; }
  .badge.pillb { border-radius: 999px; padding: 4px 11px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
  .badge.new { background: #FBF3E6; color: #8A5A12; }

  .stay-body { position: relative; padding: 18px 20px; }
  .stay-body h3 { font-size: 19px; line-height: 1.15; font-weight: 700; letter-spacing: -.015em; }
  .stay-meta { color: var(--mute); font-size: 13px; margin: 4px 0 10px; }
  /* average rating on the card (from the home design) — star + score + count */
  .rating { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; margin-bottom: 10px; }
  .rating .star { color: var(--accent); }
  .rating span { color: var(--mute); font-weight: 400; font-size: 12.5px; }
  .opens { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 11px; }
  .opens .ok { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); width: 100%; }
  .opens :is(button, a) { display: inline-block; font-size: 12px; font-weight: 600; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; cursor: pointer; transition: all .15s ease; color: var(--ink); }
  .opens :is(button, a):hover { border-color: var(--ink); }
  .opens--lg { gap: 8px; margin-top: 0; }
  .opens--lg :is(button, a) { font-size: 13px; padding: 9px 16px; }
  /* Live trip total shown on each card after a date search (replaces .opens). */
  .stay-price { margin-top: 12px; }
  .stay-price[hidden] { display: none; }
  .stay-price .tp { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
  .stay-price .now { font-size: 19px; font-weight: 700; color: var(--ink); font-family: var(--display); letter-spacing: -.01em; }
  .stay-price .was { font-size: 14px; color: var(--mute); text-decoration: line-through; }
  .stay-price .save { font-size: 11px; font-weight: 700; color: var(--trend); background: #EAF5EF; border-radius: 999px; padding: 3px 9px; }
  .stay-price .lbl { font-size: 11.5px; color: var(--mute); margin-top: 2px; }
  .stay-foot { display: flex; align-items: center; justify-content: flex-end; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 14px; font-size: 14px; }
  .stay-foot a { font-weight: 600; }
  .stays-empty { display: none; text-align: center; color: var(--mute); padding: 50px 0; }
  @media (max-width: 920px) { .stays { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 600px) { .stays { grid-template-columns: 1fr; } }

  /* highlighted giveaway home in the grid */
  @keyframes cardPing { 0%, 100% { box-shadow: 0 0 0 1.5px var(--accent-soft); } 40% { box-shadow: 0 0 0 5px rgba(205, 182, 134, .55); } }
  .stay.ping { animation: cardPing 1s ease 2; }
  .stay.is-giveaway { border-color: var(--accent-soft); box-shadow: 0 0 0 1.5px var(--accent-soft); }
  .stay-givetag { position: absolute; top: 12px; left: 12px; background: #0F1014; color: var(--accent-soft); font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
  .stay-givetag .pulse { width: 6px; height: 6px; border-radius: 50%; background: #7ED957; box-shadow: 0 0 0 0 rgba(126, 217, 87, .6); animation: pulse 1.8s infinite; display: inline-block; }

  /* ================= RESORT AMENITIES ================= */
  .amen-section { background: var(--tint); }
  .amen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .am { position: relative; border-radius: var(--r); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; color: #fff; border: 0; padding: 0; text-align: left; cursor: pointer; font-family: var(--body); width: 100%; background: linear-gradient(160deg, #7C93A3 0%, #46586B 55%, #1F262E 100%); }
  .am:nth-child(2) { background: linear-gradient(160deg, #B59A6C 0%, #7D6440 55%, #332A1C 100%); }
  .am:nth-child(3) { background: linear-gradient(160deg, #8FA68C 0%, #56684F 55%, #232B20 100%); }
  .am:nth-child(4) { background: linear-gradient(160deg, #9D9890 0%, #5E5A52 55%, #26241F 100%); }
  .am img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
  .am:hover img { transform: scale(1.04); }
  .am::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8, 7, 5, .7) 100%); }
  .am-body { position: relative; z-index: 1; padding: 20px; width: 100%; }
  .am h3 { font-size: 21px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
  .am p { font-size: 12.5px; color: rgba(255, 255, 255, .85); margin-top: 5px; }
  .am .lm { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; margin-top: 10px; border-bottom: 1px solid rgba(255, 255, 255, .5); padding-bottom: 1px; }
  @media (max-width: 920px) { .amen { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 540px) { .amen { grid-template-columns: 1fr; } .am { min-height: 220px; } }

  /* ================= GIVEAWAYS ================= */
  .give { position: relative; border-radius: 26px; overflow: hidden; color: #fff; isolation: isolate; background: #15140f; }
  /* The spotlight home's own image, doubled behind the card: scaled up, blurred,
     and brightened into a soft ambient wash. background-image is set inline from
     the live property (see home.html+spinoff.erb) — never hard-coded. */
  .give-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.18); filter: blur(34px) saturate(1.15) brightness(2); }
  .give-bg::after { content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(120% 120% at 85% 5%, rgba(205, 182, 134, .28) 0%, transparent 55%),
      linear-gradient(135deg, rgba(15, 16, 14, .72) 0%, rgba(15, 16, 14, .84) 60%, rgba(10, 10, 9, .92) 100%); }
  .give::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, .06) 0%, transparent 22%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 120px rgba(0, 0, 0, .35); }
  .give-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; padding: 54px; align-items: center; }
  .give .k { color: var(--accent-soft); }
  .give .pulse { width: 8px; height: 8px; border-radius: 50%; background: #7ED957; box-shadow: 0 0 0 0 rgba(126, 217, 87, .6); animation: pulse 1.8s infinite; display: inline-block; margin-right: 8px; }
  .give h2 { margin-top: 10px; max-width: 18ch; color: #fff; }
  .give h2 em { color: var(--accent-soft); }
  .give p { color: rgba(255, 255, 255, .8); margin-top: 13px; max-width: 50ch; font-size: 14.5px; }
  .give-form { display: flex; gap: 10px; margin-top: 24px; max-width: 440px; }
  .give-form input { flex: 1; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .07); color: #fff; padding: 12px 20px; font-size: 14px; outline: 0; font-family: var(--body); }
  .give-form input::placeholder { color: rgba(255, 255, 255, .5); }
  .give-form input:focus-visible { outline: 2px solid var(--accent-soft); }
  .give-note { font-size: 11.5px; color: rgba(255, 255, 255, .5); margin-top: 10px; }
  .give-success { display: none; margin-top: 24px; font-size: 14.5px; font-weight: 600; color: #9FE08A; }
  .give-success.show { display: block; }
  .form-error { font-size: 12px; font-weight: 600; color: #E2A9A1; margin-top: 8px; }
  .up .form-error { color: #B4543F; }
  .give-prize { margin-top: 16px; display: grid; gap: 8px; font-size: 13.5px; }
  .give-prize div { display: flex; gap: 9px; align-items: baseline; }
  .give-prize .d { color: var(--accent-soft); }
  .timer { display: flex; gap: 10px; margin-top: 6px; }
  .timer div { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 14px 0; text-align: center; flex: 1; min-width: 64px; }
  .timer b { display: block; font-size: 27px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; }
  .timer span { font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
  .timer.compact { margin-top: 14px; }
  .timer.compact div { padding: 10px 0; min-width: 54px; border-radius: 12px; }
  .timer.compact b { font-size: 21px; }

  /* giveaway home spotlight */
  .give-home { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; overflow: hidden; }
  .give-home .gh-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(145deg, #8A6A45 0%, #4C3A24 100%); }
  .give-home .gh-img img { width: 100%; height: 100%; object-fit: cover; }
  .give-home .gh-tag { position: absolute; top: 12px; left: 12px; background: var(--grad); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
  .give-home .gh-body { padding: 16px 18px 18px; }
  .give-home h3 { font-size: 19px; line-height: 1.15; color: #fff; font-weight: 700; }
  .give-home .gh-meta { font-size: 12.5px; color: rgba(255, 255, 255, .7); margin-top: 3px; }
  .give-home .gh-dates { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
  .give-home .gh-dates span { font-size: 11.5px; font-weight: 600; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .07); border-radius: 999px; padding: 5px 12px; font-variant-numeric: tabular-nums; }
  .give-home .gh-dates span b { color: var(--accent-soft); font-weight: 700; }
  .gh-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 13px; font-size: 13px; font-weight: 600; color: var(--accent-soft); border-bottom: 1px solid rgba(205, 182, 134, .45); padding-bottom: 2px; cursor: pointer; }
  .gh-link:hover { border-bottom-color: var(--accent-soft); }
  @media (max-width: 880px) { .give-in { grid-template-columns: 1fr; padding: 36px 26px; gap: 32px; } }

  /* monthly notify rail */
  .gb-rail-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 44px; }
  .gb-rail-head span { font-size: 12px; color: var(--mute); }
  .gb-rail { display: flex; gap: 12px; overflow-x: auto; padding: 16px 0 6px; scroll-snap-type: x mandatory; }
  .gb-rail::-webkit-scrollbar { height: 6px; }
  .gb-rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
  .up { flex: 0 0 200px; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 5px; }
  .up .when { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
  .up h3 { font-size: 16px; line-height: 1.15; font-weight: 700; }
  .up p { font-size: 12px; color: var(--mute); flex: 1; line-height: 1.45; }
  .up .btn { margin-top: 9px; padding: 6px 12px; font-size: 11.5px; align-self: flex-start; }
  .up .done { font-size: 11.5px; font-weight: 600; color: #3E8E2F; margin-top: 9px; }
  .notify-form { display: flex; gap: 6px; margin-top: 9px; }
  .notify-form input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-family: var(--body); outline: 0; }
  .notify-form input:focus-visible { outline: 2px solid var(--ink); }
  .notify-form button { border: 0; background: var(--ink); color: #fff; border-radius: 999px; width: 28px; height: 28px; cursor: pointer; font-size: 13px; flex-shrink: 0; }

  /* ================= CROSS-SITE BANNER ================= */
  .xsite { padding: 0 0 84px; }
  .xsite-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
    border: 1px solid var(--line); border-radius: var(--r); padding: 28px 32px; background: #fff; }
  .xsite-card .xk { font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--mute); }
  .xsite-card h3 { font-size: clamp(19px, 2.2vw, 24px); font-weight: 800; letter-spacing: -.02em; margin-top: 5px; }
  .xsite-card p { font-size: 13.5px; color: var(--mute); margin-top: 5px; max-width: 62ch; }
  .xsite-card .btn { flex-shrink: 0; }
  @media (max-width: 720px) { .xsite-card { padding: 22px; } }

  /* ================= FOOTER ================= */
  footer { border-top: 1px solid var(--line); }
  footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: 34px 28px; font-size: 13px; color: var(--mute); }
  footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
  footer a:hover { color: var(--ink); }

  /* ================= PROPERTY PAGE ================= */
  .titleblock { padding: 26px 0 16px; }
  .titleblock h1 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.025em; line-height: 1.05; }
  .title-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: 14px; color: var(--mute); }
  .title-meta b { color: var(--ink); font-weight: 600; }

  .gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 10px; border-radius: var(--r); overflow: hidden; position: relative; }
  .gallery button { border: 0; padding: 0; cursor: pointer; overflow: hidden; background: linear-gradient(145deg, #EDEFF3, #C7CCD6); }
  .gallery button:first-child { grid-row: span 2; }
  .gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
  .gallery button:hover img { transform: scale(1.04); }
  .gallery .all { position: absolute; right: 14px; bottom: 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; font-weight: 600; padding: 8px 16px; box-shadow: 0 8px 20px -10px rgba(17, 18, 16, .3); }
  @media (max-width: 760px) {
    .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; grid-template-rows: none; height: 260px; border-radius: 16px; }
    .gallery button { flex: 0 0 88%; scroll-snap-align: start; }
    .gallery button:first-child { grid-row: auto; }
  }

  .cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; padding: 34px 0 70px; align-items: start; }
  @media (max-width: 920px) { .cols { grid-template-columns: 1fr; gap: 30px; } }
  .sec { padding: 26px 0; border-top: 1px solid var(--line); }
  .sec:first-child { border-top: 0; padding-top: 0; }
  .sec h2 { font-size: 20px; letter-spacing: -.018em; margin-bottom: 12px; }
  .desc p { color: #3E3D38; line-height: 1.7; margin: 10px 0; font-size: 15px; }
  /* Clamp the description for preview, but keep the full copy in the HTML so
     it stays crawlable — the toggle only flips a class, it never removes the
     content from the DOM. The fade hints there's more below. */
  .desc-body { position: relative; max-height: 8.4em; overflow: hidden; transition: max-height .45s ease; }
  .desc-body::after { content: ""; position: absolute; inset: auto 0 0; height: 3.4em; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
  .desc-body--expanded { max-height: 2000px; }
  .desc-body--expanded::after { display: none; }
  .desc-more { margin-top: 10px; padding: 0; background: none; border: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
  .desc-more:hover { opacity: .65; }
  .desc-more[hidden] { display: none; }

  /* included strip */
  .inc-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .inc-it { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px; }
  .inc-it .iv { font-weight: 700; font-size: 15px; white-space: nowrap; }
  .inc-it .iv.gold { color: var(--accent); }
  .inc-it div b { display: block; font-size: 13.5px; font-weight: 600; }
  .inc-it div span { font-size: 12px; color: var(--mute); }
  @media (max-width: 560px) { .inc-strip { grid-template-columns: 1fr; } }

  /* amenities grid */
  .amen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 24px; }
  .amen-grid div { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 7px 0; }
  .amen-grid .d { width: 5px; height: 5px; border-radius: 50%; background: var(--grad); flex-shrink: 0; }
  @media (max-width: 560px) { .amen-grid { grid-template-columns: 1fr; } }

  /* guest reviews (property page) — only 5-star reviews are surfaced; the
     average rating lives on the landing-page cards (.rating), not here.
     Masonry via CSS columns so each card is only as tall as its own text
     (no stretching short reviews to match a tall neighbour). */
  .rev-grid { columns: 2; column-gap: 16px; margin-top: 18px; }
  .rev { break-inside: avoid; -webkit-column-break-inside: avoid; margin-bottom: 16px;
    border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 16px; background: #fff; }
  .rev-head { display: flex; align-items: center; gap: 11px; margin-bottom: 11px; }
  .rev-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; font-weight: 700; font-size: 15px; color: var(--ink); flex-shrink: 0; }
  .rev-who { display: flex; flex-direction: column; min-width: 0; }
  .rev-who b { font-size: 14px; font-weight: 700; color: var(--ink); }
  .rev-meta { font-size: 12px; color: var(--mute); }
  .rev-stars { margin-left: auto; align-self: flex-start; color: var(--accent); font-size: 12px; letter-spacing: 1px; white-space: nowrap; }
  .rev p { font-size: 13.5px; color: var(--ink); line-height: 1.6; }
  @media (max-width: 700px) { .rev-grid { columns: 1; } }

  /* booking card */
  .book { position: sticky; top: 64px; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: 0 28px 60px -32px rgba(17, 18, 16, .28); background: #fff; }
  .book .bk-deal { background: var(--tint); border: 1px solid var(--line); border-radius: 12px; font-size: 12.5px; font-weight: 600; padding: 9px 13px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
  .book .bk-deal .d { color: var(--accent); }
  .bk-fields { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 12px; }
  .bk-fields button { display: flex; flex-direction: column; width: 100%; border: 0; background: #fff; text-align: left; padding: 11px 16px; cursor: pointer; font-family: var(--body); }
  .bk-fields button:first-child { border-bottom: 1px solid var(--line); }
  .bk-fields button:hover { background: var(--tint); }
  .bk-fields span { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
  .bk-fields b { font-size: 14px; font-weight: 500; }
  .bk-fields b.empty { color: var(--mute); font-weight: 400; }
  .book .btn { width: 100%; }
  .book .btn:disabled { opacity: .55; cursor: default; }
  .bk-price { display: none; align-items: baseline; justify-content: center; gap: 7px; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
  .bk-price.show { display: flex; }
  .bk-price .amount { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -.02em; }
  .bk-price .nights { font-size: 13px; color: var(--mute); }
  .bk-note { text-align: center; font-size: 12px; color: var(--mute); margin-top: 10px; }
  .bk-incl { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 7px; }
  .bk-incl div { display: flex; gap: 9px; font-size: 12.5px; color: #3E3D38; }
  .bk-incl .d { color: var(--accent); font-weight: 700; }
  @media (max-width: 920px) { .book { position: static; } }

  /* ================= MODALS (shared shell) ================= */
  .dp-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(15, 12, 8, .35); backdrop-filter: blur(3px); display: none; opacity: 0; transition: opacity .25s ease; }
  .dp-backdrop.open { display: block; opacity: 1; }

  /* date + guests picker */
  .dp { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 95; display: none; width: min(640px, calc(100vw - 32px));
    background: #fff; color: var(--ink); border-radius: 24px; padding: 16px 24px; box-shadow: 0 40px 90px -28px rgba(0, 0, 0, .55); }
  .dp.open { display: block; animation: dpIn .3s cubic-bezier(.2, .9, .3, 1.12); }
  @keyframes dpIn { from { opacity: 0; transform: translate(-50%, calc(-50% + 12px)) scale(.985); } to { opacity: 1; transform: translate(-50%, -50%); } }
  .dp-tabs { display: flex; gap: 4px; background: var(--tint); border-radius: 999px; padding: 4px; width: max-content; margin: 0 auto 16px; }
  .dp-tabs button { border: 0; background: none; padding: 8px 26px; border-radius: 999px; font-family: var(--body); font-weight: 600; font-size: 13px; cursor: pointer; color: var(--mute); transition: color .15s ease; }
  .dp-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(15, 16, 20, .1); }
  .dp-pane-dates { position: relative; padding-top: 2px; }
  .dp-nav { position: absolute; top: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 14px; display: grid; place-items: center; transition: background .15s ease; }
  .dp-nav:hover:not(:disabled) { background: var(--tint); }
  .dp-nav:disabled { opacity: .3; cursor: default; }
  .dp-nav.prev { left: 0; }
  .dp-nav.next { right: 0; }
  .dp-months { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
  .dp-mlabel { font-weight: 600; font-size: 14px; text-align: center; margin-bottom: 12px; }
  .dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
  .dp-dow { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--mute); text-align: center; padding-bottom: 6px; }
  .dp-day { aspect-ratio: 1; display: grid; place-items: center; font-size: 13px; font-weight: 500; border-radius: 50%; cursor: pointer; border: 0; background: none; font-family: var(--body); color: var(--ink); transition: box-shadow .1s ease; min-height: 38px; }
  .dp-day:hover:not(:disabled):not(.start):not(.end) { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .dp-day:disabled { color: #CEC9C0; cursor: default; text-decoration: line-through; }
  /* The first booked morning after an open night — a stay can end here but not start.
     Rendered apart from booked nights, with a tooltip saying why. */
  .dp-day.co { position: relative; }
  .dp-day.co:disabled:not(.end) { color: var(--mute); text-decoration: none; }
  .dp-day.co::after { content: "Checkout only"; position: absolute; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%);
    padding: 4px 9px; border-radius: 7px; background: var(--ink); color: #fff; font-size: 10.5px; font-weight: 600;
    white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .12s ease; z-index: 2; }
  .dp-day.co:hover::after, .dp-day.co:focus-visible::after { opacity: 1; }
  .dp-day.in { background: var(--tint); border-radius: 0; }
  /* A checkout on a booked morning re-renders disabled — keep it looking selected, not struck-through. */
  .dp-day.start, .dp-day.end { background: var(--ink); color: #fff; text-decoration: none; }
  .gp-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 4px; }
  .gp-label b { display: block; font-size: 15px; font-weight: 700; }
  .gp-label span { font-size: 12.5px; color: var(--mute); }
  .gp-hint { font-size: 12px; color: var(--mute); background: var(--tint); border-radius: 12px; padding: 11px 14px; margin: 0 0 8px; }
  .step { display: flex; align-items: center; gap: 14px; }
  .step button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 16px; line-height: 1; display: grid; place-items: center; color: var(--ink); transition: border-color .15s ease; }
  .step button:hover:not(:disabled) { border-color: var(--ink); }
  .step button:disabled { opacity: .3; cursor: default; }
  .step b { font-size: 16px; font-weight: 600; min-width: 20px; text-align: center; }
  .dp-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; border-top: 1px solid var(--line); padding-top: 13px; gap: 10px; }
  .dp-nights { font-size: 12.5px; color: var(--mute); font-weight: 600; }
  .dp-clear { background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: var(--body); margin-right: 12px; }
  .dp-error { font-size: 12px; color: var(--mute); background: var(--tint); border-radius: 10px; padding: 8px 12px; margin-bottom: 8px; display: none; }
  .dp-error.show { display: block; }
  @media (max-width: 720px) {
    .dp { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%; max-height: 88vh; max-height: 88dvh; overflow-y: auto;
      border-radius: 24px 24px 0 0; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); }
    .dp.open { animation: dpUp .35s cubic-bezier(.2, .9, .3, 1.05); }
    @keyframes dpUp { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
    .dp-months { grid-template-columns: 1fr; }
    .dp-months > div:nth-child(2) { display: none; }
    .dp-day { min-height: 44px; font-size: 14px; }
    .dp-foot { position: sticky; bottom: 0; background: #fff; padding-bottom: 4px; }
  }

  /* compact article pop-up (gift card inclusions) */
  .smodal { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 95;
    width: min(520px, calc(100vw - 32px)); max-height: 76vh; max-height: 76dvh;
    background: #fff; color: var(--ink); border-radius: 22px; box-shadow: 0 40px 90px -28px rgba(0, 0, 0, .55);
    display: none; flex-direction: column; overflow: hidden; }
  .smodal.open { display: flex; animation: amIn .3s cubic-bezier(.2, .9, .3, 1.12); }
  .sm-article { overflow-y: auto; overscroll-behavior: contain; padding: 30px 26px 22px; }
  .sm-article .sm-k { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); text-align: center; margin-bottom: 8px; }
  .sm-article .sm-title { font-size: 22px; font-weight: 700; letter-spacing: -.02em; text-align: center; line-height: 1.12; margin: 0 0 14px; }
  .sm-article p { font-size: 14px; color: #3E3D38; line-height: 1.65; margin: 10px 0; }
  .sm-article ul { margin: 10px 0 12px 18px; font-size: 13.5px; color: #3E3D38; line-height: 1.65; }
  .sm-article a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
  .sm-article .sm-note { font-size: 12px; color: var(--mute); background: var(--tint); border-radius: 12px; padding: 11px 14px; margin-top: 14px; }

  /* large editorial modal (resort amenities) — also the lightbox shell */
  .amodal { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 95;
    width: min(880px, calc(100vw - 40px)); height: calc(100vh - 56px); height: calc(100dvh - 56px);
    background: #fff; color: var(--ink); border-radius: 24px; box-shadow: 0 40px 90px -28px rgba(0, 0, 0, .55);
    display: none; flex-direction: column; overflow: hidden; }
  .amodal.open { display: flex; animation: amIn .32s cubic-bezier(.2, .9, .3, 1.12); }
  @keyframes amIn { from { opacity: 0; transform: translate(-50%, calc(-50% + 14px)) scale(.985); } to { opacity: 1; transform: translate(-50%, -50%); } }
  .am-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
    background: rgba(255, 255, 255, .85); backdrop-filter: blur(10px); color: var(--ink); font-size: 13px; cursor: pointer; display: grid; place-items: center;
    box-shadow: 0 6px 18px -8px rgba(17, 18, 16, .25); }
  .am-close:hover { background: #fff; }
  .am-kicker { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); text-align: center; margin: 34px 0 10px; }
  .am-title { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; letter-spacing: -.025em; text-align: center; line-height: 1.08; margin: 0 auto 6px; max-width: 18ch; }
  .am-rule { width: 36px; height: 2px; background: var(--accent); opacity: .55; margin: 16px auto 8px; border: 0; }
  .am-article { overflow-y: auto; overscroll-behavior: contain; flex: 1; padding: 8px max(28px, calc((100% - 660px) / 2)) 22px; }
  .am-article p { font-size: 14.5px; color: #3E3D38; line-height: 1.7; margin: 12px 0; }
  .am-article h4 { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; margin: 20px 0 2px; }
  .am-article img { width: 100%; border-radius: 14px; margin: 14px 0 6px; display: block; background: linear-gradient(145deg, #EDEFF3, #C7CCD6); min-height: 120px; }
  .am-article figcaption, .am-article .cap { font-size: 11.5px; color: var(--mute); margin: -2px 0 12px; }
  .am-article ul { margin: 10px 0 12px 18px; font-size: 14px; color: #3E3D38; line-height: 1.7; }
  .am-article a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
  .am-panel[hidden] { display: none; }
  .am-foot { display: flex; align-items: center; justify-content: center; gap: 22px; border-top: 1px solid var(--line); padding: 13px 28px; background: #fff; }
  .am-foot .am-count { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
  .am-switch button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 14px; display: grid; place-items: center; transition: all .15s ease; }
  .am-switch button:hover { border-color: var(--ink); background: var(--tint); }
  @media (max-width: 720px) {
    .amodal { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%; height: 96vh; height: 96dvh; border-radius: 24px 24px 0 0; }
    .amodal.open { animation: dpUp .35s cubic-bezier(.2, .9, .3, 1.05); }
    .am-foot { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  }

  /* photo lightbox (one-photo carousel; opens instantly, shimmer while loading) */
  .lbox { position: fixed; inset: 0; z-index: 95; display: none; align-items: center; justify-content: center; padding: 6vh 5vw;
    background: rgba(15, 12, 8, .85); backdrop-filter: blur(5px); }
  .lbox.open { display: flex; animation: lboxFade .2s ease; }
  @keyframes lboxFade { from { opacity: 0; } to { opacity: 1; } }
  .lbox-stage { position: relative; display: flex; align-items: center; justify-content: center; width: min(1100px, 90vw); height: min(82vh, 82dvh); }
  .lbox-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 12px;
    opacity: 0; transition: opacity .25s ease; }
  .lbox-stage img.loaded { opacity: 1; }
  /* shimmer skeleton — visible only while the photo loads */
  .lbox-shimmer { position: absolute; inset: 0; display: none; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .06); }
  .lbox-shimmer.on { display: block; }
  .lbox-shimmer::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .14) 50%, transparent 70%);
    background-size: 200% 100%; animation: lboxShimmer 1.2s ease-in-out infinite; }
  @keyframes lboxShimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
  .lbox-x { position: fixed; top: 16px; right: 16px; z-index: 96; width: 44px; height: 44px; border-radius: 50%; border: 0;
    background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 19px; cursor: pointer; display: grid; place-items: center; transition: background .15s ease; }
  .lbox-x:hover { background: #fff; }
  .lbox-nav { position: fixed; top: 50%; transform: translateY(-50%); z-index: 96; width: 48px; height: 48px; border-radius: 50%; border: 0;
    background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .15s ease; }
  .lbox-nav:hover { background: #fff; }
  .lbox-nav.prev { left: 16px; }
  .lbox-nav.next { right: 16px; }
  .lbox-counter { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 96;
    color: #fff; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; background: rgba(0, 0, 0, .45); border-radius: 999px; padding: 6px 14px; }
  @media (max-width: 700px) {
    .lbox { padding: 0; }
    .lbox-stage { width: 100vw; height: 100dvh; }
    .lbox-stage img { border-radius: 0; }
    .lbox-nav { width: 40px; height: 40px; font-size: 20px; }
  }

  /* ================= REVEAL + MOBILE POLISH ================= */
  .rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .rv.in { opacity: 1; transform: none; }

  @media (max-width: 720px) {
    .section { padding: 56px 0; }
    .deal-bar .wrap { gap: 8px; padding: 7px 14px; font-size: 12px; }
    /* Hero declutter on phones — the deal/giveaway countdowns stay desktop-only. */
    .deal-bar .count, .hg-count { display: none; }
    /* iOS zooms any focused input under 16px — prevent it */
    .give-form input, .notify-form input { font-size: 16px; }
    .timer div { min-width: 0; padding: 11px 0; }
    .timer b { font-size: 20px; }
    .give-form { flex-direction: column; align-items: stretch; }
    .give-form .btn { width: 100%; }
    .opens :is(button, a) { padding: 9px 14px; font-size: 12.5px; }
    .xsite-card .btn { width: 100%; }
    .xsite { padding-bottom: 56px; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation: none !important; transition: none !important; }
    .rv { opacity: 1; transform: none; }
  }
}

/* ================= CHECKOUT (bookings/new +spinoff) ================= */
@layer components {
  .co-secure { font-size: 12.5px; font-weight: 600; color: var(--mute); }
  .co-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 48px; padding: 26px 28px 70px; align-items: start; }
  .co-title { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.025em; margin-bottom: 10px; }
  .co-step { padding: 24px 0; border-top: 1px solid var(--line); }
  .co-step:first-of-type { border-top: 0; }
  .co-step-head { display: flex; align-items: center; gap: 12px; }
  .co-step-head h2 { font-size: 18px; letter-spacing: -.015em; }
  .co-step-num { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #171511; font-size: 13px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
  .co-edit { margin-left: auto; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; cursor: pointer; font-family: var(--body); color: var(--ink); }
  .co-step-sub { font-size: 13px; color: var(--mute); margin: 6px 0 16px 38px; }
  .co-trip-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 16px 0 0 38px; }
  .co-fact { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #fff; text-align: left; font-family: var(--body); color: var(--ink); cursor: pointer; transition: border-color .15s ease, transform .2s cubic-bezier(.2, .9, .3, 1.3); }
  .co-fact:hover:not(.co-fact--static) { border-color: var(--ink); transform: translateY(-1px); }
  .co-fact--static { cursor: default; }
  .co-fact-k { display: block; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
  .co-trip-facts b { display: block; font-size: 14px; font-weight: 600; margin-top: 3px; }
  .co-fact-sub { font-size: 12px; color: var(--mute); }
  .co-fields { display: grid; gap: 12px; margin-left: 38px; }
  .co-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .co-field span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 5px; }
  .co-field span em { text-transform: none; letter-spacing: 0; font-style: normal; font-weight: 500; }
  .co-field input { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 15px; font-family: var(--body); color: var(--ink); outline: 0; transition: border-color .15s ease; background: #fff; }
  .co-field input:focus { border-color: var(--ink); }
  .co-continue { justify-self: start; margin-top: 4px; }
  .co-continue:disabled { opacity: .45; cursor: default; }
  .co-guest-summary { margin-left: 38px; font-size: 14.5px; font-weight: 500; }
  .co-pay-locked { margin-left: 38px; border: 1px dashed var(--line); border-radius: 12px; padding: 16px; font-size: 13px; color: var(--mute); }
  .co-pay { display: grid; gap: 14px; margin-left: 38px; }
  /* display:grid would defeat the hidden attribute these sections toggle on */
  .co-pay[hidden], .co-fields[hidden] { display: none; }
  .co-pay-btn { width: 100%; padding: 15px; font-size: 15.5px; }
  .co-pay-btn:disabled { opacity: .55; cursor: default; }
  .co-pay-errors { color: #B4543F; background: #FBF0EE; border-radius: 10px; padding: 10px 13px; font-size: 13px; font-weight: 500; }
  .co-pay-note { font-size: 12px; color: var(--mute); text-align: center; }

  .co-card { position: sticky; top: 76px; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: 0 28px 60px -32px rgba(17, 18, 16, .28); background: #fff; }
  .co-prop { display: flex; gap: 12px; align-items: center; }
  .co-prop-img { width: 84px; height: 64px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: linear-gradient(145deg, #EDEFF3, #C7CCD6); }
  .co-prop-img img { width: 100%; height: 100%; object-fit: cover; }
  .co-prop-info b { display: block; font-size: 15px; line-height: 1.2; }
  .co-prop-info span { display: block; font-size: 12.5px; color: var(--mute); margin-top: 2px; }
  .co-rows { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; display: grid; gap: 8px; }
  .co-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
  .co-row--total { font-weight: 700; font-size: 15px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 2px; }
  .co-row--save { color: var(--trend); font-weight: 600; }
  .co-perks { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; display: grid; gap: 7px; }
  .co-perks-k { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
  .co-perk { display: flex; gap: 9px; font-size: 13px; align-items: baseline; }
  .co-perk-v { font-weight: 700; color: var(--accent); min-width: 38px; }
  .co-cancel { background: var(--tint); border-radius: 12px; padding: 12px 14px; font-size: 12.5px; color: #3E3D38; margin-top: 14px; }
  .co-cancel strong { display: block; font-size: 13px; margin-bottom: 2px; }

  @media (max-width: 920px) {
    .co-layout { grid-template-columns: 1fr; gap: 24px; }
    .co-rail { order: -1; }
    .co-card { position: static; }
  }
  @media (max-width: 560px) {
    .co-trip-facts { grid-template-columns: 1fr; margin-left: 0; }
    .co-fields, .co-pay, .co-pay-locked, .co-guest-summary, .co-step-sub { margin-left: 0; }
    .co-field-row { grid-template-columns: 1fr; }
    .co-field input { font-size: 16px; }
  }

  /* ================= CONFIRMATION / PROCESSING ================= */
  .cf { display: grid; place-items: center; padding: 44px 28px 90px; }
  .cf-card { max-width: 560px; width: 100%; border: 1px solid var(--line); border-radius: 24px; padding: 40px 36px; text-align: center; box-shadow: 0 30px 70px -35px rgba(17, 18, 16, .3); background: #fff; }
  .cf-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--grad); color: #171511; font-size: 28px; font-weight: 800; display: grid; place-items: center; margin: 0 auto 18px; animation: cfPop .5s cubic-bezier(.2, .9, .3, 1.4) both; }
  @keyframes cfPop { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: scale(1); } }
  .cf-icon--pending { background: var(--tint); border: 1px solid var(--line); }
  .cf-pulse { width: 12px; height: 12px; border-radius: 50%; background: #7ED957; box-shadow: 0 0 0 0 rgba(126, 217, 87, .6); animation: pulse 1.8s infinite; }
  .cf-card h1 { font-size: 26px; letter-spacing: -.02em; }
  .cf-sub { font-size: 14.5px; color: var(--mute); max-width: 40ch; margin: 8px auto 0; }
  .cf-details { margin-top: 22px; border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px; text-align: left; }
  .cf-row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
  .cf-row:last-child { border-bottom: 0; }
  .cf-row span { color: var(--mute); }
  .cf-row b { font-weight: 600; text-align: right; }
  .cf-next { text-align: left; margin-top: 18px; display: grid; gap: 8px; }
  .cf-next-row { display: flex; gap: 9px; font-size: 13.5px; color: #3E3D38; align-items: baseline; }
  .cf-next-row .d { color: var(--accent); font-weight: 700; }
  .cf-note { font-size: 12.5px; color: var(--mute); margin: 10px 0; }
  .cf-btn { margin-top: 24px; }
}

/* ================= ACCOUNT + PASSWORDLESS AUTH ================= */
@layer components {
  /* nav account entry */
  .acct { position: relative; }
  .acct-btn { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-family: var(--body); font-size: 13px; font-weight: 700; cursor: pointer; display: grid; place-items: center; transition: opacity .15s ease; }
  .acct-btn:hover { opacity: .85; }
  /* signed-out control: "Sign in" pill on desktop, compact circle on mobile */
  .acct-signin { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-family: var(--body);
    background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 9px 18px; font-size: 13.5px; font-weight: 600;
    white-space: nowrap; transition: opacity .15s ease; }
  .acct-signin:hover { opacity: .85; }
  .acct-signin:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .acct-signin-ic { display: none; }
  @media (max-width: 760px) {
    .acct-signin { width: 36px; height: 36px; padding: 0; border-radius: 50%; }
    .acct-signin-text { display: none; }
    .acct-signin-ic { display: block; }
  }
  .acct-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 85; min-width: 240px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 28px 60px -24px rgba(17, 18, 16, .4); padding: 6px; }
  .acct-menu[hidden] { display: none; }
  .acct-id { display: grid; gap: 1px; padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
  .acct-id b { font-size: 13.5px; }
  .acct-id span { font-size: 12px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .acct-menu button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 10px 12px; border-radius: 10px; font-family: var(--body); font-size: 13.5px; font-weight: 600; color: var(--ink); cursor: pointer; }
  .acct-menu button:hover { background: var(--tint); }
  .acct-menu form { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
  .acct-signout { color: #B4543F !important; }

  /* auth modal (email → code → name) */
  .authm { width: min(430px, calc(100vw - 32px)); }
  .authm .sm-article { padding: 34px 28px 26px; }
  .authm-title { font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 6px; }
  .authm-sub { font-size: 13.5px; color: var(--mute); line-height: 1.55; margin: 0 0 16px; }
  .authm-sub b { color: var(--ink); }
  .authm-cta { width: 100%; margin-top: 14px; }
  .authm-back { width: 100%; margin-top: 16px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
  .authm-back:hover { border-color: var(--ink); }
  .authm-fine { font-size: 11.5px; color: var(--mute); text-align: center; line-height: 1.5; margin: 14px 0 0; }
  .authm-error { font-size: 12.5px; font-weight: 500; color: #B4543F; background: #FBF0EE; border-radius: 10px; padding: 9px 12px; margin: 12px 0 0; }
  .authm-code { display: flex; gap: 8px; margin-top: 4px; }
  .authm-code input { width: 100%; min-width: 0; aspect-ratio: 5 / 6; text-align: center; font-family: var(--body); font-size: 22px; font-weight: 700; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; outline: 0; transition: border-color .15s ease; }
  .authm-code input:focus { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
  .authm-resend { font-size: 13px; color: var(--mute); margin: 14px 0 0; }
  .authm-link { background: none; border: 0; padding: 0; font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .authm-link:disabled { color: var(--mute); text-decoration: none; cursor: default; }

  /* checkout sign-in gate */
  .co-auth { margin-left: 38px; background: var(--tint); border-radius: 14px; padding: 18px; display: grid; gap: 12px; justify-items: start; }
  .co-auth p { font-size: 13.5px; color: #3E3D38; line-height: 1.55; margin: 0; }
  .co-input-locked { background: var(--tint) !important; color: var(--mute); cursor: default; }

  /* account modals (trips / profile) */
  .acctm { width: min(480px, calc(100vw - 32px)); }
  .acct-loading, .acct-empty { font-size: 13.5px; color: var(--mute); text-align: center; padding: 14px 0; }
  .trips-h { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin: 18px 0 8px; }
  .trips { display: grid; gap: 10px; }
  .trip { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
  .trip-img { width: 76px; height: 58px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: linear-gradient(145deg, #EDEFF3, #C7CCD6); }
  .trip-img img { width: 100%; height: 100%; object-fit: cover; }
  .trip-info { display: grid; gap: 1px; min-width: 0; }
  .trip-info b { font-size: 14px; line-height: 1.25; }
  .trip-info span { font-size: 12.5px; color: var(--mute); }
  .trip-status { font-weight: 600; color: var(--accent); text-transform: capitalize; }
  .prof-form { display: grid; gap: 12px; }
  .prof-email { font-size: 14.5px; font-weight: 500; margin: 2px 0 0; }
  .prof-note { font-size: 12px; color: var(--mute); margin: 4px 0 0; }
  .prof-saved { font-size: 13px; font-weight: 600; color: var(--accent); margin: 0; }

  @media (max-width: 560px) {
    .co-auth { margin-left: 0; }
    /* iOS zooms any focused input under 16px */
    .authm .co-field input { font-size: 16px; }
  }
}
