  :root {
    /* ---- palette ---- */
    --ink:      #0b0b0b;
    --ink-soft: #3a3a3a;
    --paper:    #ffffff;
    --bone:     #f4f2ef;
    --line:     #e2dfda;
    --muted:    #57534e;  /* AA+ on paper and bone at small sizes */

    /* type scale (fluid, 1.25 ratio) */
    --step--1: clamp(12px, .8vw, 13px);
    --step-0:  17px;
    --step-1:  clamp(18px, 1.9vw, 23px);
    --step-2:  clamp(22px, 2.4vw, 30px);
    --step-3:  clamp(30px, 4.2vw, 52px);
    --step-4:  clamp(52px, 11vw, 132px);

    /* spacing (8-base) */
    --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 40px;
    --s-section: clamp(64px, 9vw, 130px);

    --serif: "Playfair Display", "Didot", Georgia, "Times New Roman", serif;
    --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

    --pad: clamp(20px, 5vw, 64px);
    --maxw: 1240px;

    /* ---- Lodgify "Book now" box, restyled monochrome ---- */
    --ldg-bnb-background: #ffffff;
    --ldg-bnb-border-radius: 2px;
    --ldg-bnb-box-shadow: 0 18px 48px rgba(0,0,0,.12);
    --ldg-bnb-padding: 24px;
    --ldg-bnb-input-background: #ffffff;
    --ldg-bnb-button-border-radius: 2px;
    --ldg-bnb-color-primary: #0b0b0b;
    --ldg-bnb-color-primary-lighter: #3a3a3a;
    --ldg-bnb-color-primary-darker: #000000;
    --ldg-bnb-color-primary-contrast: #ffffff;
    --ldg-component-calendar-cell-selection-bg-color: #0b0b0b;
    --ldg-component-calendar-cell-selection-color: #ffffff;
    --ldg-component-calendar-cell-selected-bg-color: #e7e4df;
    --ldg-component-calendar-cell-selected-color: #0b0b0b;
    --ldg-bnb-font-family: inherit;

    /* ---- Lodgify search bar, restyled monochrome ---- */
    --ldg-psb-background: #ffffff;
    --ldg-psb-border-radius: 2px;
    --ldg-psb-box-shadow: 0 18px 48px rgba(0,0,0,.18);
    --ldg-psb-padding: 14px;
    --ldg-psb-input-background: #ffffff;
    --ldg-psb-button-border-radius: 2px;
    --ldg-psb-color-primary: #0b0b0b;
    --ldg-psb-color-primary-lighter: #3a3a3a;
    --ldg-psb-color-primary-darker: #000000;
    --ldg-psb-color-primary-contrast: #ffffff;
    --ldg-semantic-color-primary: #0b0b0b;
    --ldg-semantic-color-primary-lighter: #3a3a3a;
    --ldg-semantic-color-primary-darker: #000000;
    --ldg-semantic-color-primary-contrast: #ffffff;
    --ldg-component-modal-z-index: 999;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 400;
    font-size: var(--step-0);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }
  img { display: block; max-width: 100%; height: auto; }
  a { color: inherit; }

  .wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

  h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; margin: 0; }
  h2 { font-size: var(--step-3); line-height: 1.1; }
  h3 { font-size: var(--step-2); line-height: 1.2; }
  p  { margin: 0 0 1.1em; }
  p:last-child { margin-bottom: 0; }

  .eyebrow {
    font-size: var(--step--1); letter-spacing: .24em; text-transform: uppercase;
    font-weight: 500; color: var(--muted); margin-bottom: 18px;
  }

  a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--ink); outline-offset: 3px;
  }
  footer a:focus-visible, #lb .close:focus-visible { outline-color: #fff; }

  .icon {
    width: 22px; height: 22px; fill: none; stroke: currentColor;
    stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none;
  }

  /* ---------------- header ---------------- */
  header {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; padding: 18px var(--pad);
    color: #fff; transition: background .3s ease, color .3s ease, box-shadow .3s ease;
  }
  header.solid { background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(180%) blur(8px); }
  .brand { font-family: var(--serif); font-size: 21px; letter-spacing: .06em; text-decoration: none; }
  nav { display: flex; align-items: center; gap: 30px; }
  nav a { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; opacity: .9; }
  nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
  .nav-cta {
    border: 1px solid currentColor; padding: 12px 22px;
    font-size: 12px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  }
  .nav-cta:hover { background: currentColor; }
  .nav-cta:hover span { color: var(--paper); mix-blend-mode: difference; }
  @media (max-width: 860px) { nav .hide-sm { display: none; } nav { gap: 18px; } }
  @media (max-width: 480px) { nav .hide-xs { display: none; } }

  /* ---------------- hero ---------------- */
  .hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; color: #fff; }
  .hero-img { position: absolute; inset: 0; }
  .hero-img img { width: 100%; height: 100%; object-fit: cover; }
  .hero-img::after {
    content: ""; position: absolute; inset: 0;
    background:
      linear-gradient(180deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.34) 22%, rgba(0,0,0,.14) 40%, rgba(0,0,0,.82) 100%);
  }
  .hero-inner { position: relative; width: 100%; padding-block: 96px clamp(28px, 5vw, 60px); }
  .hero h1 { font-size: clamp(52px, 11vw, 132px); line-height: .95; margin-bottom: 14px; }
  .hero .sub { max-width: 46ch; font-size: clamp(16px, 1.6vw, 20px); font-weight: 400; margin-bottom: 34px; }
  .hero .place { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 20px; opacity: .9; }
  .hero h1, .hero .sub, .hero .place { text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 1px 24px rgba(0,0,0,.45); }
  #lodgify-search-bar { width: 100%; max-width: 980px; }
  .hero-price { margin: 14px 0 0; font-size: 14px; letter-spacing: .04em; display: flex; gap: 18px; flex-wrap: wrap; }
  .hero-price span:first-child { font-weight: 500; }
  .hero-price span:last-child { opacity: .85; }

  /* Lodgify search bar → single horizontal row (classic booking bar) */
  #lodgify-search-bar section {
    width: 100% !important; max-width: none !important;
    display: flex !important; flex-direction: row !important; flex-wrap: nowrap;
    gap: 10px; align-items: stretch;
  }
  #lodgify-search-bar section > div:empty { display: none !important; }
  #lodgify-search-bar section > button { flex: 1 1 0 !important; min-width: 0 !important; margin: 0 !important; }
  /* the first button holds BOTH check-in and check-out, so it needs ~2x the
     width of the single guests control or its labels truncate */
  #lodgify-search-bar section > button:first-of-type { flex: 2.4 1 0 !important; }
  #lodgify-search-bar section > a { flex: 0 0 210px !important; width: auto !important; margin: 0 !important; }
  @media (max-width: 860px) {
    #lodgify-search-bar section { flex-wrap: wrap; }
    #lodgify-search-bar section > button,
    #lodgify-search-bar section > button:first-of-type,
    #lodgify-search-bar section > a { flex: 1 1 100% !important; }
  }

  /* ---------------- facts ---------------- */
  .facts { border-bottom: 1px solid var(--line); }
  .facts ul {
    list-style: none; margin: 0; padding: 40px 0;
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px;
  }
  .facts li { text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
  .facts b { display: block; font-family: var(--serif); font-size: clamp(26px, 3vw, 32px); letter-spacing: 0; text-transform: none; font-weight: 400; margin-bottom: 4px; }
  .facts .icon { display: block; margin: 0 auto 10px; color: var(--ink); }
  @media (max-width: 900px) { .facts ul { grid-template-columns: repeat(3, 1fr); gap: 28px 12px; } }
  @media (max-width: 460px) { .facts ul { grid-template-columns: repeat(2, 1fr); } }

  /* ---------------- generic section ---------------- */
  section { padding-block: clamp(64px, 9vw, 130px); }
  section[id], div[id] { scroll-margin-top: 84px; }
  .bone { background: var(--bone); }
  .lead { font-size: var(--step-1); line-height: 1.5; max-width: 62ch; }

  /* ---------------- alternating rooms ---------------- */
  .room { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
  .room + .room { margin-top: clamp(56px, 8vw, 110px); }
  .room:nth-child(even) .room-media { order: 2; }
  .room-copy { max-width: 52ch; }
  .room-copy h3 { margin-bottom: 16px; }
  .room-copy .eyebrow { margin-bottom: 12px; }
  .room-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .room-media.tall img { aspect-ratio: 3 / 4; }
  @media (max-width: 820px) {
    .room { grid-template-columns: 1fr; }
    .room:nth-child(even) .room-media { order: 0; }
  }

  /* ---------------- gallery ---------------- */
  .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 44px; }
  .grid button {
    padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; display: block;
  }
  .grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s ease, opacity .3s ease; }
  .grid button:hover img { transform: scale(1.04); opacity: .92; }
  .grid .wide { grid-column: span 2; }
  .grid .wide img { aspect-ratio: 2 / 1; }
  @media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }

  /* ---------------- location ---------------- */
  .near { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
  .near dl { margin: 0; }
  .near dl div {
    display: flex; justify-content: space-between; gap: 20px;
    padding: 15px 0; border-bottom: 1px solid var(--line);
  }
  .near dt { font-weight: 400; }
  .near dt small { display: block; color: var(--muted); font-size: 13px; }
  .near dd { margin: 0; white-space: nowrap; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  @media (max-width: 820px) { .near { grid-template-columns: 1fr; } }

  /* ---------------- booking ---------------- */
  .book-grid { display: grid; grid-template-columns: 1fr 500px; gap: clamp(32px, 5vw, 64px); align-items: start; }
  @media (max-width: 1040px) { .book-grid { grid-template-columns: 1fr 420px; } }
  @media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; } }
  #lodgify-book-now-box { width: 100%; }
  /* give the booking box's own controls room to breathe */
  #lodgify-book-now-box button,
  #lodgify-book-now-box input { min-height: 56px !important; }
  #lodgify-book-now-box section { gap: 10px !important; }

  /* Lodgify renders its date picker into a fixed portal at body level whose
     emotion class hashes change between widget releases. A tiny script tags it
     with .ldg-portal (see index.html) so we can size it without depending on
     those hashes. Without this the calendar is ~370px and the day numbers
     crowd their cells. */
  .ldg-portal { min-width: min(560px, calc(100vw - 32px)) !important; }
  .ldg-portal [class*="css-"] { max-width: none !important; }
  @media (max-width: 620px) { .ldg-portal { min-width: calc(100vw - 24px) !important; } }
  #lodgify-search-bar { width: 100%; }
  .stay-notes { list-style: none; margin: 28px 0 0; padding: 0; }
  .stay-notes li { padding: 13px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; }
  .stay-notes span:first-child { display: flex; align-items: center; gap: 12px; }
  .stay-notes span:last-child { color: var(--muted); text-align: right; }
  .stay-notes .icon { width: 18px; height: 18px; color: var(--muted); }
  @media (max-width: 480px) {
    .stay-notes li { flex-direction: column; gap: 4px; }
    .stay-notes span:last-child { text-align: left; padding-left: 30px; }
    .stay-notes span:first-child { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  }

  /* ---------------- map ---------------- */
  .map-frame {
    margin-top: 34px; border: 1px solid var(--line); border-radius: 2px;
    overflow: hidden; line-height: 0; background: var(--bone);
  }
  .map-frame iframe {
    display: block; width: 100%; height: clamp(320px, 46vw, 520px); border: 0;
    filter: grayscale(1) contrast(1.05);
    transition: filter .35s ease;
  }
  .map-frame:hover iframe, .map-frame:focus-within iframe { filter: none; }

  /* ---------------- footer ---------------- */
  footer { background: var(--ink); color: #fff; padding-block: clamp(48px, 7vw, 90px); }
  footer a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
  footer a:hover { border-color: #fff; }
  .foot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .foot-grid h4 { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; margin: 0 0 16px; color: rgba(255,255,255,.6); }
  .foot-brand { font-family: var(--serif); font-size: 34px; margin-bottom: 10px; }
  .colophon { margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.18); font-size: 13px; color: rgba(255,255,255,.55); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
  @media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 34px; } }

  /* ---------------- enquiry form ---------------- */
  .form-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
  @media (max-width: 880px) { .form-grid { grid-template-columns: 1fr; } }
  form .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  form .full { grid-column: 1 / -1; }
  label { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
  input, select, textarea {
    width: 100%; padding: 14px 14px; border: 1px solid var(--line); background: var(--paper);
    font-family: inherit; font-size: 16px; font-weight: 400; color: var(--ink); border-radius: 2px;
  }
  textarea { min-height: 130px; resize: vertical; }
  input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  button.submit {
    margin-top: 26px; width: 100%; padding: 18px 24px; border: 0; border-radius: 2px;
    background: var(--ink); color: #fff; font-family: inherit; font-size: 12px; letter-spacing: .22em;
    text-transform: uppercase; cursor: pointer; transition: opacity .2s ease;
  }
  button.submit:hover { opacity: .85; }
  button.submit[disabled] { opacity: .5; cursor: default; }
  .form-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
  .form-msg { margin-top: 20px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 2px; display: none; font-size: 15px; }
  .form-msg.show { display: block; }
  .form-msg.ok { border-color: var(--ink); background: var(--paper); }
  .form-msg.err { border-color: #b23b3b; color: #b23b3b; }

  /* ---------------- lightbox ---------------- */
  #lb { position: fixed; inset: 0; z-index: 900; background: rgba(11,11,11,.94); display: none; align-items: center; justify-content: center; padding: 4vw; cursor: zoom-out; }
  #lb.open { display: flex; }
  #lb img { max-width: 100%; max-height: 92vh; object-fit: contain; }
  #lb .close { position: absolute; top: 20px; right: 26px; color: #fff; background: none; border: 0; font-size: 34px; line-height: 1; cursor: pointer; }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
  }
