/* Layout: one centered column (1120px) of full-width bands; listings as a card grid, contact as a split band on ink. */
:root {
  --paper: #f5f6f8;        /* page ground, cool stone */
  --surface: #ffffff;      /* cards, header */
  --ink: #121733;          /* headings, dark band (carried over from the old site) */
  --text: #2b2f3a;         /* body text, graphite from the logo */
  --muted: #5d6474;
  --line: #dde0e7;
  --garnet: #8b2a26;       /* the red from the logo swoosh */
  --garnet-ink: #ffffff;
  --chip: #eceef3;
  --placeholder-a: #1c2244;
  --placeholder-b: #2a3159;
  --band-ink-bg: #121733;
  --band-ink-fg: #e9ebf2;
  --band-ink-muted: #b5bacb;
  --field-bg: #ffffff;
  --field-line: #c9cdd8;
  --ok: #1f6b45;
  --warn: #8a5a00;
  --logo-light: block;
  --logo-dark: none;

  --font-display: "Marcellus", "Trajan Pro", Georgia, serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-data: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem);
  --radius: 6px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1222; --surface: #171b30; --ink: #eef0f6; --text: #d5d9e4; --muted: #9aa1b4;
    --line: #2a2f48; --garnet: #c4544d; --garnet-ink: #ffffff; --chip: #222843;
    --placeholder-a: #232a4e; --placeholder-b: #2e3663;
    --band-ink-bg: #0a0c18; --band-ink-fg: #e9ebf2; --band-ink-muted: #a3a9bd;
    --field-bg: #12152a; --field-line: #353b5a; --ok: #5cc28e; --warn: #e0b04a;
    --logo-light: none; --logo-dark: block;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f1222; --surface: #171b30; --ink: #eef0f6; --text: #d5d9e4; --muted: #9aa1b4;
  --line: #2a2f48; --garnet: #c4544d; --garnet-ink: #ffffff; --chip: #222843;
  --placeholder-a: #232a4e; --placeholder-b: #2e3663;
  --band-ink-bg: #0a0c18; --band-ink-fg: #e9ebf2; --band-ink-muted: #a3a9bd;
  --field-bg: #12152a; --field-line: #353b5a; --ok: #5cc28e; --warn: #e0b04a;
  --logo-light: none; --logo-dark: block;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 var(--step-0)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: var(--ink); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: 0.005em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--garnet); outline-offset: 3px; }

.wrap {
  max-width: 1120px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--ink); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 16px; }

.eyebrow { font: 600 0.75rem/1.2 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--garnet); margin-bottom: 0.6rem; }
.eyebrow.light { color: #f0c9c5; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--garnet); color: var(--garnet-ink); border: 1px solid var(--garnet);
  font: 600 0.95rem/1 var(--font-body); padding: 0.85rem 1.25rem; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; transition: filter .15s, transform .15s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-small { padding: 0.55rem 0.9rem; font-size: 0.875rem; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }

/* Header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: block; flex: 0 0 auto; }
.logo { height: 46px; width: auto; }
.logo-on-light { display: var(--logo-light); }
.logo-on-dark { display: var(--logo-dark); }
.nav { display: flex; align-items: center; gap: 1.4rem; font-weight: 500; font-size: 0.95rem; }
.nav a:not(.btn) { text-decoration: none; color: var(--text); }
.nav a:not(.btn):hover { color: var(--garnet); }
@media (max-width: 720px) {
  .logo { height: 36px; }
  .nav a:not(.btn) { display: none; }
}

/* Hero: the Chadakoin River panorama from the original site */
.hero { position: relative; isolation: isolate; min-height: clamp(400px, 46vw, 560px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #1b2a3a; }
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: 60% 45%; z-index: -2; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,14,32,0) 20%, rgba(10,14,32,.55) 58%, rgba(10,14,32,.85) 100%), linear-gradient(90deg, rgba(10,14,32,.45), rgba(10,14,32,0) 70%); }
.hero-inner { width: 100%; padding-block: 3rem 2.75rem; display: grid; gap: 1rem; }
.hero h1 { color: #fff; font-size: var(--step-4); max-width: 17ch; }
.hero-sub { max-width: 52ch; font-size: var(--step-1); line-height: 1.5; color: #e6e9f2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }

/* Bands */
.band { padding-block: clamp(3rem, 6vw, 5rem); }
.band-alt { background: var(--surface); border-block: 1px solid var(--line); }
.band-ink { background: var(--band-ink-bg); color: var(--band-ink-fg); }
.band-ink h2 { color: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.75rem; }
.section-note { color: var(--muted); max-width: 46ch; font-size: var(--step--1); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.filters:empty { display: none; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 999px; padding: 0.4rem 0.9rem; font: 500 0.875rem/1.2 var(--font-body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Suite cards */
.suite-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.25rem; }
.suite { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.suite-media { position: relative; aspect-ratio: 3 / 2; max-width: 100%; background: var(--chip); }
.suite-media img { width: 100%; height: 100%; object-fit: cover; }
.photo-count { position: absolute; right: 10px; bottom: 10px; background: rgba(10,14,32,.75); color: #fff; font: 500 0.75rem/1 var(--font-data); padding: 0.35rem 0.5rem; border-radius: 4px; }
.placeholder {
  width: 100%; height: 100%; display: grid; align-content: space-between; padding: 1rem 1.1rem;
  background: linear-gradient(135deg, var(--placeholder-a), var(--placeholder-b)); color: #e9ebf2;
}
.placeholder .ph-num { font: 400 clamp(2.4rem, 7vw, 3.4rem)/1 var(--font-display); color: #fff; }
.placeholder .ph-num small { display: block; font: 600 0.7rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #f0c9c5; margin-bottom: .35rem; }
.placeholder .ph-foot { font-size: 0.8rem; color: #b9bfd3; }
.suite-body { padding: 1.1rem 1.1rem 1.2rem; display: grid; gap: 0.85rem; flex: 1; align-content: start; }
.suite-title { display: grid; gap: 0.2rem; }
.suite-addr { color: var(--muted); font-size: var(--step--1); }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; margin: 0; padding: 0.8rem 0; border-block: 1px solid var(--line); }
.specs div { min-width: 0; }
.specs dt { font: 600 0.68rem/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 0.25rem 0 0; font: 500 1rem/1.25 var(--font-data); color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.specs dd small { display: block; font-size: 0.72rem; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; padding: 0; margin: 0; }
.tags li { background: var(--chip); border-radius: 4px; padding: 0.2rem 0.5rem; font-size: 0.78rem; }
.status { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; color: var(--ok); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.pending { color: var(--warn); }
.suite-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: auto; }
.suite-actions .btn { flex: 1 1 auto; }

.empty { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 2rem; display: grid; gap: .75rem; justify-items: start; }

/* Split bands */
.split { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; } }
.split-text { display: grid; gap: 1rem; justify-items: start; max-width: 52ch; }
.band-ink .split-text p { color: var(--band-ink-muted); }
.contact-line { display: flex; gap: .75rem; align-items: baseline; flex-wrap: wrap; }
.contact-label { font: 600 0.7rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.band-ink .contact-line a { color: #fff; font-family: var(--font-data); user-select: all; }

.place-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.place { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.place strong { color: var(--ink); font-weight: 600; }
.place span { color: var(--muted); font-size: var(--step--1); white-space: nowrap; }

.town-cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.town h3 { font-size: var(--step-2); padding-bottom: .5rem; border-bottom: 2px solid var(--garnet); margin-bottom: .75rem; }
.town ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.town li { display: grid; gap: .1rem; }
.town li strong { color: var(--ink); font-weight: 600; }
.town li span { color: var(--muted); font-size: var(--step--1); }
.town li .open { color: var(--garnet); font-weight: 600; text-decoration: none; font-size: var(--step--1); }

/* Form */
.inquiry { background: var(--surface); color: var(--text); border-radius: var(--radius); padding: clamp(1.1rem, 3vw, 1.75rem); display: grid; gap: 1rem; min-width: 0; }
.field-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.field { display: grid; gap: .35rem; min-width: 0; }
.field > span { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; font: 400 1rem/1.4 var(--font-body); color: var(--text);
  background: var(--field-bg); border: 1px solid var(--field-line); border-radius: 5px; padding: .65rem .75rem;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--garnet); outline-offset: 0; border-color: transparent; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.about-suite { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--chip); border-radius: 5px; padding: .6rem .8rem; font-size: .9rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-msg { font-size: .9rem; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--garnet); }

/* Footer */
.site-foot { background: var(--surface); border-top: 1px solid var(--line); padding-block: 2rem; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.foot-logo { height: 40px; }
.foot-meta { display: grid; gap: .2rem; font-size: var(--step--1); text-align: right; }
@media (max-width: 600px) { .foot-meta { text-align: left; } }

/* Suite detail dialog */
.suite-dialog { width: min(920px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 8px; background: var(--surface); color: var(--text); }
.suite-dialog::backdrop { background: rgba(8,10,22,.7); }
.dlg-body { display: grid; }
.dlg-gallery { position: relative; background: #0b0e1d; aspect-ratio: 16 / 9; max-width: 100%; }
.dlg-gallery img { width: 100%; height: 100%; object-fit: contain; }
.dlg-gallery .placeholder { height: 100%; }
.dlg-thumbs { display: flex; gap: .4rem; overflow-x: auto; padding: .5rem; background: #0b0e1d; }
.dlg-thumbs button { flex: 0 0 auto; width: 84px; aspect-ratio: 3/2; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; cursor: pointer; background: none; }
.dlg-thumbs button[aria-current="true"] { border-color: #fff; }
.dlg-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.dlg-info { padding: 1.4rem; display: grid; gap: 1rem; }
.dlg-top { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.dlg-close { background: var(--chip); border: 0; border-radius: 50%; width: 36px; height: 36px; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--text); flex: 0 0 auto; }
.dlg-info .specs { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
