/* Harbor Light Inn, Newport RI. OWNIT hospitality showpiece (hotel-facade) */
:root {
  --navy: #13294b;
  --night: #0d1d37;
  --deep: #0a172d;
  --raise: #1a3460;
  --raise2: #234272;
  --line: rgba(214, 226, 244, 0.15);
  --line2: rgba(214, 226, 244, 0.3);
  --ink: #f2f5fa;
  --mute: #bfcadb;
  --mute2: #93a3bd;
  --red: #c1272d;
  --red-hi: #d4343a;
  --red-lo: #a31f25;
  --paper: #f6f8fb;
  --paper2: #e9eef5;
  --pink: #13294b;
  --pmute: #4b5c79;
  --lamp: #ffd28a;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --fd: "Forum", "Times New Roman", serif;
  --fb: "Mada", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: clamp(16px, 4.4vw, 64px);
  --navh: 72px;
  --r: 4px;
  --maxw: 1240px;
  /* z scale */
  --z-scene: 1;
  --z-copy: 3;
  --z-card: 6;
  --z-nav: 20;
  --z-bar: 25;
  --z-sheet: 30;
}
@media (max-width: 760px) { :root { --navh: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--fb);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 2px; }
.ic { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; vertical-align: -0.18em; }
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 99; background: #fff; color: var(--navy); padding: 10px 14px; border-radius: var(--r); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.h2 {
  font-family: var(--fd);
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
  max-width: 22ch;
}
.lede { color: var(--mute); font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.16rem); max-width: 58ch; text-wrap: pretty; line-height: 1.68; }
.fine { font-size: 0.86rem; color: var(--mute2); line-height: 1.5; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0 1.35em; border-radius: var(--r);
  font-weight: 600; font-size: 1rem; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 160ms var(--ease), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-red { background: var(--red); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 24px -14px rgba(193, 39, 45, 0.9); }
.btn-ghost { background: rgba(9, 20, 40, 0.35); color: var(--ink); border-color: var(--line2); }
.btn-sm { min-height: 40px; padding: 0 1em; font-size: 0.94rem; }
.btn-block { width: 100%; }
.btn .ic { width: 1.05em; height: 1.05em; }
@media (hover: hover) and (pointer: fine) {
  .btn-red:hover { background: var(--red-hi); }
  .btn-ghost:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(9, 20, 40, 0.55); }
  .btn-red:hover .ic { transform: translateX(2px); }
  .btn .ic { transition: transform 200ms var(--ease); }
}
.link-btn {
  display: inline-flex; align-items: center; gap: 0.45em; min-height: 44px; padding: 0;
  background: none; border: 0; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--red);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.link-btn:active { transform: translateY(1px); }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r);
  background: transparent; border: 1px solid var(--line2); color: var(--ink);
  transition: transform 160ms var(--ease), border-color 200ms ease, background-color 200ms ease;
}
.icon-btn:active { transform: scale(0.94); }
.icon-btn:disabled { opacity: 0.35; cursor: default; }
@media (hover: hover) and (pointer: fine) { .icon-btn:not(:disabled):hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); } }

/* ===== NAV ===== */
.nav { position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav); height: var(--navh); transition: background-color 300ms ease, box-shadow 300ms ease; }
.nav.solid { background: rgba(10, 23, 45, 0.94); box-shadow: 0 1px 0 var(--line); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 24px; padding: 0 var(--gut); max-width: 1600px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand-ic { width: 30px; height: 30px; color: #fff; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--fd); font-size: 1.32rem; letter-spacing: 0.14em; text-transform: uppercase; }
.brand-loc { font-size: 0.78rem; color: var(--mute); letter-spacing: 0.02em; margin-top: 3px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; padding: 10px 12px; font-size: 0.96rem; color: var(--mute); border-radius: var(--r); transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: #fff; } }
.nav-act { display: flex; align-items: center; gap: 14px; }
.nav-tel { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; font-variant-numeric: tabular-nums; min-height: 44px; }
.nav-menu { display: none; }
.menu { position: absolute; top: var(--navh); left: 0; right: 0; background: var(--deep); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 16px; display: grid; }
.menu[hidden] { display: none; }
.menu a { padding: 13px 0; text-decoration: none; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
@media (max-width: 1100px) { .nav-links { display: none; } .nav-act { margin-left: auto; } }
@media (max-width: 760px) {
  .nav-tel { display: none; }
  .nav .btn-sm .lg { display: none; }
  .nav-menu { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line2); border-radius: var(--r); background: transparent; }
  .brand-name { font-size: 0.98rem; letter-spacing: 0.1em; white-space: nowrap; }
  .brand-loc { display: none; }
  .brand-ic { width: 26px; height: 26px; }
  .nav-act { gap: 8px; }
  .nav .btn-sm { padding: 0 0.85em; }
}
@media (max-width: 370px) { .brand-name { font-size: 0.86rem; letter-spacing: 0.06em; } .brand-ic { display: none; } }

/* ===== HERO ===== */
.hero { position: relative; background: var(--deep); }
.hero-pin { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; }
.sky, .sky > div { position: absolute; inset: 0; }
.sky { z-index: 0; }
.sky-night { background: linear-gradient(180deg, #050d1c 0%, #0a1830 38%, #11264a 70%, #1a3360 86%, #1c375f 100%); }
.sky-dusk {
  background:
    radial-gradient(120% 60% at 18% 92%, rgba(236, 150, 108, 0.55) 0%, rgba(193, 39, 45, 0.22) 38%, rgba(193, 39, 45, 0) 70%),
    linear-gradient(180deg, #0f2346 0%, #213d6b 34%, #4e5f8a 62%, #9a6e83 82%, #d99a7e 94%, #e5ad86 100%);
  opacity: var(--dusk, 1);
}
.elev { position: absolute; left: 0; right: 0; bottom: 0; height: min(78%, 50vw); z-index: var(--z-scene); }
.facade { display: block; width: 100%; height: 100%; overflow: visible; }
.win-layer { position: absolute; inset: 0; pointer-events: none; }
.win {
  position: absolute; pointer-events: auto; background: transparent; border: 0; padding: 0; margin: 0;
  border-radius: 3px; -webkit-tap-highlight-color: transparent;
}
.win:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }

.hero-copy { position: absolute; z-index: var(--z-copy); left: var(--gut); right: var(--gut); top: calc(var(--navh) + clamp(12px, 3.2vh, 40px)); pointer-events: none; }
.hero-copy > * { pointer-events: auto; }
.hero h1 {
  font-family: var(--fd);
  font-size: clamp(2.5rem, 1rem + 4.2vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -0.012em;
  max-width: 100%;
}
.hero h1 span { display: inline-block; }
.hero-sub { margin-top: 18px; max-width: 25.5rem; color: #e3e9f3; font-size: clamp(1rem, 0.94rem + 0.25vw, 1.12rem); line-height: 1.58; text-wrap: pretty; text-shadow: 0 1px 12px rgba(5, 13, 28, 0.5); }
.hero-cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }

/* glaze: enamel sheen on the hero headline */
.glaze span {
  background-image:
    linear-gradient(104deg, rgba(255, 255, 255, 0) 38%, rgba(255, 236, 206, 0.95) 49%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fc 46%, #c8d5ea 100%);
  background-size: 320% 100%, 100% 100%;
  background-position: 120% 0, 0 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.18)) drop-shadow(0 12px 28px rgba(255, 186, 120, 0.16));
  padding-bottom: 0.08em;
}
html.js:not(.rm):not(.shot) .glaze span { animation: sheen 2.2s var(--ease-io) 0.5s 1 both; }
html.js:not(.rm):not(.shot) .glaze span + span { animation-delay: 0.75s; }
@keyframes sheen { from { background-position: 120% 0, 0 0; } to { background-position: -40% 0, 0 0; } }
@media (hover: hover) and (pointer: fine) { .glaze:hover span { animation: sheen 1.6s var(--ease-io) 1 both !important; } }

.hero-quick { display: none; }
.hero-log {
  display: flex; gap: 12px; align-items: flex-start; max-width: 24rem; margin-top: clamp(28px, 6vh, 64px);
  padding-top: 14px; border-top: 1px solid var(--line2);
  font-size: 0.95rem; line-height: 1.5; color: #e4eaf4; min-height: 4.2em;
}
.hero-log .ic { margin-top: 3px; color: var(--lamp); }
.hero-log span { transition: opacity 220ms ease, transform 220ms var(--ease); }
.hero-log.swap span { opacity: 0; transform: translateY(4px); }

/* room card: docked callout in the left column, leader line to the window */
.room-card {
  position: absolute; z-index: var(--z-card); left: var(--gut); top: 380px; width: min(452px, 40vw);
  display: grid; grid-template-columns: 38% 1fr; align-items: stretch;
  background: var(--paper); color: var(--pink); border-radius: 6px; overflow: hidden;
  box-shadow: 0 28px 70px -18px rgba(2, 8, 20, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.4);
  opacity: 0; transform: translateY(6px) scale(0.985); transform-origin: right top;
  transition: opacity 180ms var(--ease), transform 220ms var(--ease);
}
.room-card.show { opacity: 1; transform: none; }
.room-card[hidden] { display: none; }
.rc-photo { margin: 0; position: relative; background: #c8d3e3; overflow: hidden; min-height: 100%; }
.rc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 200ms ease; }
.rc-photo img.loading { opacity: 0.35; }
.rc-muntins {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(50% - 1.5px), rgba(246, 248, 251, 0.92) calc(50% - 1.5px), rgba(246, 248, 251, 0.92) calc(50% + 1.5px), transparent calc(50% + 1.5px)),
    linear-gradient(180deg, transparent calc(33.33% - 1.5px), rgba(246, 248, 251, 0.9) calc(33.33% - 1.5px), rgba(246, 248, 251, 0.9) calc(33.33% + 1.5px), transparent calc(33.33% + 1.5px), transparent calc(50% - 3px), rgba(246, 248, 251, 0.96) calc(50% - 3px), rgba(246, 248, 251, 0.96) calc(50% + 3px), transparent calc(50% + 3px), transparent calc(66.66% - 1.5px), rgba(246, 248, 251, 0.9) calc(66.66% - 1.5px), rgba(246, 248, 251, 0.9) calc(66.66% + 1.5px), transparent calc(66.66% + 1.5px));
  box-shadow: inset 0 0 0 6px rgba(246, 248, 251, 0.96);
}
.room-card.room-ph .rc-muntins { display: none; }
.rc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; min-width: 0; }
.rc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.rc-head h2 { font-family: var(--fd); font-size: 1.85rem; line-height: 1.05; }
.rc-x { flex: none; width: 40px; height: 40px; margin: -6px -8px 0 0; display: grid; place-items: center; border: 0; background: var(--paper2); color: var(--pink); border-radius: 999px; transition: transform 160ms var(--ease), background-color 160ms ease; }
.rc-x:active { transform: scale(0.94); }
.rc-type { font-weight: 600; font-size: 0.95rem; margin-top: 2px; line-height: 1.35; }
.rc-tabs { display: flex; gap: 2px; margin: 10px 0 2px; padding: 3px; background: var(--paper2); border-radius: 999px; align-self: flex-start; }
.rc-tabs button { min-height: 32px; padding: 0 12px; border: 0; background: transparent; color: var(--pmute); font-weight: 600; font-size: 0.84rem; border-radius: 999px; transition: background-color 180ms ease, color 180ms ease; }
.rc-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.rc-facts { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 5px 10px; font-size: 0.87rem; color: var(--pmute); }
.rc-facts li { display: flex; gap: 6px; align-items: center; line-height: 1.3; }
.rc-facts .ic { color: var(--pink); }
.rc-facts li.wide { grid-column: 1 / -1; color: var(--pink); align-items: flex-start; }
.rc-facts li.wide .ic { margin-top: 1px; }
.rc-rate { margin: 12px 0 12px; padding-top: 10px; border-top: 1px solid #d9e1ec; font-size: 0.9rem; color: var(--pmute); line-height: 1.4; }
.rc-rate b { font-family: var(--fd); font-weight: 400; font-size: 1.6rem; color: var(--pink); margin-right: 4px; }
.rc-rate .busy { display: block; color: var(--red-lo); font-weight: 600; font-size: 0.84rem; margin-top: 2px; }
.rc-body .btn { margin-top: auto; }
.hero-log.under { visibility: hidden; }
.leader { position: absolute; inset: 0; width: 100%; height: 100%; z-index: calc(var(--z-card) - 1); pointer-events: none; overflow: visible; opacity: 0; transition: opacity 180ms ease; }
.leader.show { opacity: 1; }
.leader path { fill: none; stroke: rgba(255, 255, 255, 0.75); stroke-width: 1.2; stroke-dasharray: 4 4; }
.leader circle { fill: #fff; }
.sheet-scrim { position: fixed; inset: 0; z-index: calc(var(--z-sheet) - 1); background: rgba(3, 9, 20, 0.55); opacity: 0; transition: opacity 200ms ease; }
.sheet-scrim.show { opacity: 1; }

/* ===== STORY ===== */
.story { background: var(--navy); padding: clamp(80px, 11vw, 150px) 0 clamp(70px, 9vw, 120px); }
.story-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.arch { margin: 0; aspect-ratio: 4 / 5; border-radius: 999px 999px 4px 4px; overflow: hidden; background: #1f3a66; position: relative; box-shadow: 0 0 0 1px var(--line2), 0 0 0 12px var(--navy), 0 0 0 13px var(--line); }
.arch video { width: 100%; height: 100%; object-fit: cover; }
.story-txt .lede { margin-top: 22px; }
.facts { margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 26px; }
.facts div { display: grid; gap: 4px; align-content: start; }
.facts dt { font-family: var(--fd); font-size: 2.3rem; line-height: 1; }
.facts dd { margin: 0; color: var(--mute); font-size: 0.94rem; line-height: 1.45; }

/* ===== VIEWS ===== */
.views { background: var(--night); padding: clamp(80px, 10vw, 140px) 0; }
.views-grid { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2.6vw, 36px); align-items: start; }
.vw { display: grid; gap: 18px; }
.vw-frame { margin: 0; position: relative; overflow: hidden; border-radius: var(--r); background: #1d3760; box-shadow: 0 0 0 1px var(--line2); }
.vw-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.sash { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 10px rgba(242, 245, 250, 0.92); }
.sash::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 10px; margin-top: -5px; background: rgba(242, 245, 250, 0.92); }
.sash::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; margin-left: -2px; background: rgba(242, 245, 250, 0.8); }
@media (hover: hover) and (pointer: fine) { .vw:hover .vw-frame img { transform: scale(1.03); } }
.vw-harbor { grid-column: 1 / span 6; }
.vw-harbor .vw-frame { aspect-ratio: 5 / 4.2; }
.vw-garden { grid-column: 7 / span 3; margin-top: 64px; }
.vw-garden .vw-frame { aspect-ratio: 3 / 4; }
.vw-town { grid-column: 10 / span 3; margin-top: 150px; }
.vw-town .vw-frame { aspect-ratio: 3 / 4; }
.vw-garden .vw-frame img { object-position: 60% 70%; }
.vw-town .vw-frame img { object-position: 38% 55%; }
.vw-garden .vw-txt p:first-of-type, .vw-town .vw-txt p:first-of-type { font-size: 0.96rem; }
.vw h3 { font-family: var(--fd); font-size: clamp(1.5rem, 1.1rem + 1vw, 2.1rem); line-height: 1.1; }
.vw-txt p { color: var(--mute); margin-top: 8px; max-width: 46ch; }
.vw-txt p.vw-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink); font-size: 0.95rem; }
.vw-meta b { font-weight: 700; }
.vw-txt .link-btn { margin-top: 6px; }

/* ===== EXTRAS ===== */
.extras { background: var(--navy); padding: clamp(80px, 10vw, 140px) 0; }
.bento { margin-top: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(120px, auto); gap: clamp(14px, 1.6vw, 22px); }
.bx { position: relative; border-radius: 6px; overflow: hidden; background: var(--raise); box-shadow: 0 0 0 1px var(--line); }
.bx h3 { font-family: var(--fd); font-size: clamp(1.45rem, 1.1rem + 0.9vw, 1.95rem); line-height: 1.1; }
.bx p { color: var(--mute); margin-top: 8px; }
.bx .price { color: var(--ink); font-size: 0.96rem; }
.bx .price b { font-family: var(--fd); font-weight: 400; font-size: 1.5rem; margin-right: 4px; }
.bx-sail { grid-column: 1 / span 5; grid-row: span 3; min-height: 560px; background: #0b1830; }
.bx-sail video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bx-sail::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 12, 26, 0) 40%, rgba(5, 12, 26, 0.88) 100%); }
.bx-sail-txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(20px, 2.4vw, 32px); }
.bx-sail-txt p { color: #dbe3ef; }
.bx-bfast { grid-column: 6 / span 7; grid-row: span 2; display: grid; grid-template-columns: 5fr 6fr; background: var(--paper); color: var(--pink); }
.bx-bfast figure, .bx-walk figure { margin: 0; }
.bx-bfast img, .bx-walk img { width: 100%; height: 100%; object-fit: cover; }
.bx-bfast .bx-txt { padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; }
.bx-bfast .fine { margin-top: auto; padding-top: 12px; }
.bx-bfast p { color: var(--pmute); }
.bx-bfast .price { color: var(--pink); }
.menu-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 0; }
.menu-list li { padding: 8px 0; border-bottom: 1px dashed #c5d0df; font-size: 0.97rem; }
.menu-list li:last-child { border-bottom: 0; }
.bx-bfast .fine { color: var(--pmute); }
.bx-late { grid-column: 6 / span 3; padding: clamp(20px, 2.2vw, 28px); background: var(--red); }
.bx-late p { color: #fde9ea; }
.bx-late .price { color: #fff; }
.bx-ic { width: 34px; height: 34px; margin-bottom: 14px; }
.bx-walk { grid-column: 9 / span 4; display: grid; grid-template-columns: 2fr 3fr; }
.bx-walk .bx-txt { padding: clamp(18px, 2vw, 26px); }
.bx-walk h3 { font-size: clamp(1.25rem, 1rem + 0.6vw, 1.55rem); }
.bx-walk p { font-size: 0.94rem; }

/* ===== RATES ===== */
.rates { background: var(--night); padding: clamp(80px, 10vw, 130px) 0; }
.rates .lede { margin-top: 16px; }
.rate-table { margin-top: 40px; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px var(--line2); }
.rt-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; align-items: center; }
.rt-row > span { padding: 18px 22px; display: flex; align-items: center; gap: 10px; }
.rt-row + .rt-row { border-top: 1px solid var(--line); }
.rt-head { background: var(--raise); font-size: 0.92rem; color: var(--mute); font-weight: 600; }
.rt-row [role="rowheader"] { font-family: var(--fd); font-size: 1.4rem; }
.rt-row [role="cell"] { font-family: var(--fd); font-size: 1.75rem; font-variant-numeric: tabular-nums; }
.rt-row [role="cell"] small { font-family: var(--fb); font-size: 0.84rem; color: var(--mute2); margin-left: 6px; }
.policies { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 36px; }
.policies li { display: flex; gap: 12px; color: var(--mute); font-size: 0.97rem; line-height: 1.5; }
.policies .ic { width: 22px; height: 22px; color: #fff; margin-top: 1px; }
.policies b { color: var(--ink); font-weight: 600; }

/* ===== BOOKING ===== */
.book { background: var(--deep); padding: clamp(80px, 9vw, 130px) 0 clamp(80px, 9vw, 120px); position: relative; }
.book-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.sim-note { display: inline-flex; align-items: center; gap: 10px; color: var(--mute); font-size: 0.95rem; padding: 10px 14px; border: 1px solid var(--line2); border-radius: var(--r); }
.book-grid { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 60px); align-items: start; }
.steps { display: grid; gap: 14px; min-width: 0; }
.step { margin: 0; padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: 6px; background: var(--night); min-width: 0; }
.step-l { float: left; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding: 0; margin: 0 0 18px; width: 100%; }
.step-l + * { clear: both; }
.step-n { font-family: var(--fd); font-size: 1.7rem; line-height: 1.1; }
.step-sum { color: var(--mute); font-size: 0.95rem; }
.err { color: #ffb4b6; font-size: 0.9rem; font-weight: 500; margin-top: 10px; }
.err:empty { display: none; }

/* tide strip of nightly rates */
.tide-bar { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.tide-month { font-weight: 600; min-width: 9.5rem; }
.tide-hint { color: var(--mute); font-size: 0.92rem; flex: 1; }
.tide-nav { display: flex; gap: 8px; }
.tide {
  display: flex; gap: 5px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  padding: 4px 2px 12px; scrollbar-width: thin; scrollbar-color: var(--line2) transparent;
}
.nt {
  flex: 0 0 60px; height: 176px; scroll-snap-align: start; position: relative;
  display: grid; grid-template-rows: auto auto 1fr; justify-items: center;
  padding: 8px 0 0; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.015);
  color: var(--ink); overflow: hidden;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms var(--ease);
}
.nt:active { transform: scale(0.97); }
.nt.wk { background: rgba(255, 255, 255, 0.045); }
.nt-d { font-size: 0.76rem; color: var(--mute); font-weight: 600; letter-spacing: 0.04em; }
.nt-n { font-family: var(--fd); font-size: 1.5rem; line-height: 1.1; }
.nt-bar { align-self: end; width: 100%; display: grid; justify-items: center; align-content: end; gap: 4px; }
.nt-p { font-size: 0.8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.nt-col { width: 64%; height: var(--h, 40px); background: linear-gradient(180deg, #4b6aa0, #2a4a7e); border-radius: 3px 3px 0 0; transition: background 160ms ease, height 300ms var(--ease); }
.nt-tag { position: absolute; top: 0; left: 0; right: 0; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; line-height: 16px; height: 16px; }
.nt { padding-top: 20px; }
.nt.today .nt-tag { color: var(--lamp); }
.nt.mstart::before { content: ""; position: absolute; left: -4px; top: 6px; bottom: 6px; width: 1px; background: var(--line2); }
.nt.full { cursor: not-allowed; color: var(--mute2); }
.nt.full .nt-col { background: repeating-linear-gradient(135deg, rgba(214, 226, 244, 0.28) 0 2px, transparent 2px 6px); height: 26px; }
.nt.full .nt-p { color: var(--mute2); font-weight: 600; }
.nt.in, .nt.mid { border-color: rgba(193, 39, 45, 0.9); background: rgba(193, 39, 45, 0.16); }
.nt.in .nt-col, .nt.mid .nt-col { background: linear-gradient(180deg, #e0464c, var(--red)); }
.nt.out { border-color: #fff; border-style: dashed; }
.nt.out .nt-col { background: rgba(214, 226, 244, 0.25); }
.nt.in .nt-tag, .nt.out .nt-tag { background: var(--red); color: #fff; }
.nt.out .nt-tag { background: #fff; color: var(--navy); }
.nt.pend { border-color: #fff; }
@media (hover: hover) and (pointer: fine) { .nt:not(.full):hover { border-color: rgba(255, 255, 255, 0.65); } }
.tide-legend { color: var(--mute2); font-size: 0.86rem; margin-top: 4px; }

/* view segmented */
.view-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.view-seg button {
  position: relative; display: grid; grid-template-rows: auto auto auto; text-align: left; gap: 2px;
  padding: 0 0 12px; border-radius: 6px; border: 1px solid var(--line2); background: var(--raise); overflow: hidden;
  transition: border-color 180ms ease, transform 160ms var(--ease), box-shadow 180ms ease;
}
.view-seg button:active { transform: scale(0.98); }
.view-seg img { width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; opacity: 0.85; transition: opacity 200ms ease; }
.vs-name { display: flex; gap: 8px; align-items: center; padding: 10px 12px 0; font-weight: 600; }
.vs-meta { padding: 0 12px; color: var(--mute); font-size: 0.86rem; line-height: 1.35; }
.view-seg button[aria-checked="true"] { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.view-seg button[aria-checked="true"] img { opacity: 1; }
.view-seg button[aria-checked="true"]::after { content: ""; position: absolute; top: 10px; right: 10px; width: 14px; height: 14px; border-radius: 99px; background: var(--red); box-shadow: 0 0 0 3px #fff; }

.mini-wrap { margin-top: 16px; display: grid; grid-template-columns: 1fr auto; gap: 16px 22px; align-items: end; }
.mini { position: relative; aspect-ratio: 860 / 560; border-radius: 6px; background: linear-gradient(180deg, #0a1830, #132a50); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.mini svg { position: absolute; inset: 0; }
.mini-key { display: grid; gap: 8px; font-size: 0.86rem; color: var(--mute); padding-bottom: 6px; }
.mini-key p { display: flex; align-items: center; gap: 8px; }
.k { width: 14px; height: 18px; border-radius: 2px; border: 1px solid rgba(255, 255, 255, 0.7); }
.k-free { background: linear-gradient(180deg, #ffe0a6, #f2a65a); }
.k-taken { background: repeating-linear-gradient(135deg, rgba(214, 226, 244, 0.35) 0 2px, #0b1a33 2px 5px); }
.k-mine { background: linear-gradient(180deg, #ffe0a6, #f2a65a); border: 2px solid var(--red); box-shadow: 0 0 0 1px #fff; }
.room-line { margin-top: 14px; color: var(--ink); font-size: 0.98rem; }
.room-line b { font-weight: 700; display: block; }
.room-line .rl-d { color: var(--mute); }
.err.info { color: #ffd9a8; font-weight: 400; }

/* steppers */
.steppers { display: flex; flex-wrap: wrap; gap: 14px 36px; }
.stepper { display: flex; align-items: center; gap: 16px; }
.st-l { min-width: 5.5rem; font-weight: 500; }
.st-c { display: flex; align-items: center; gap: 10px; }
.st-c output { min-width: 2ch; text-align: center; font-family: var(--fd); font-size: 1.6rem; font-variant-numeric: tabular-nums; }

/* extras switches */
.xrows { display: grid; gap: 10px; }
.xrow { border: 1px solid var(--line); border-radius: 6px; padding: 4px 14px; background: rgba(255, 255, 255, 0.02); transition: border-color 200ms ease, background-color 200ms ease; }
.xrow.on { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.04); }
.sw { display: flex; align-items: center; gap: 14px; min-height: 56px; cursor: pointer; }
.sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw-ui { flex: none; width: 46px; height: 26px; border-radius: 99px; background: #2b4675; position: relative; transition: background-color 200ms ease; }
.sw-ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 99px; background: #fff; transition: transform 220ms var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.sw input:checked + .sw-ui { background: var(--red); }
.sw input:checked + .sw-ui::after { transform: translateX(20px); }
.sw input:focus-visible + .sw-ui { outline: 2px solid #fff; outline-offset: 3px; }
.x-t { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; flex: 1; }
.x-t b { font-weight: 600; }
.x-p { color: var(--mute); font-size: 0.9rem; margin-left: auto; }
.x-more { padding: 4px 0 14px 60px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: end; }
.x-more[hidden] { display: none; }
.x-more .fine { flex-basis: 100%; }
.stepper-sm .st-l { min-width: 0; }

/* fields */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.f { display: grid; gap: 6px; min-width: 0; }
.f-wide { grid-column: 1 / -1; }
.f label, .fl { font-weight: 500; font-size: 0.95rem; }
.fl { display: grid; gap: 6px; }
.opt { color: var(--mute2); font-weight: 400; font-size: 0.86rem; margin-left: 4px; }
input:not([type="checkbox"]), select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--r);
  border: 1px solid var(--line2); background: #0a1730; color: var(--ink); font-size: 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
input::placeholder, textarea::placeholder { color: #93a3bd; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18); }
.f.bad input { border-color: #ff8f93; }
.fl select { min-width: 13rem; }

/* folio */
.folio-col { position: sticky; top: calc(var(--navh) + 20px); }
.folio { background: var(--paper); color: var(--pink); border-radius: 6px; padding: 22px 22px 20px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7); position: relative; }
.folio::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 4px; background: var(--red); border-radius: 0 0 2px 2px; }
.folio-top { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: start; }
.fob-hang { height: 168px; display: flex; justify-content: center; }
.fob { width: 80px; height: 167px; overflow: visible; transform-origin: 50% 0; transform: rotate(-7deg); }
.fob.swing { animation: swing 1100ms cubic-bezier(0.25, 0.9, 0.3, 1); }
@keyframes swing { 0% { transform: rotate(-7deg); } 18% { transform: rotate(9deg); } 40% { transform: rotate(-9deg); } 62% { transform: rotate(3deg); } 82% { transform: rotate(-8deg); } 100% { transform: rotate(-7deg); } }
.fob-hook { stroke: #8796ad; stroke-width: 2; }
.fob-ring { fill: none; stroke: #9aa8bd; stroke-width: 3.5; }
.fob-body { fill: var(--red); stroke: var(--red); stroke-width: 14; stroke-linejoin: round; }
.fob-rim { fill: none; stroke: rgba(255, 255, 255, 0.75); stroke-width: 1.4; stroke-linejoin: round; }
.fob-hole { fill: var(--paper); }
.fob-no { font-family: var(--fd); font-size: 40px; fill: #fff; text-anchor: middle; }
.fob-sm { font-family: var(--fb); font-size: 8px; font-weight: 700; letter-spacing: 1.4px; fill: rgba(255, 255, 255, 0.85); text-anchor: middle; }
.folio-sum h3 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pmute); }
.fs-room { font-family: var(--fd); font-size: 1.9rem; line-height: 1.1; margin-top: 6px; }
.fs-sub { color: var(--pmute); font-size: 0.92rem; margin-top: 2px; }
.fs-dates { font-weight: 600; font-size: 0.95rem; margin-top: 10px; line-height: 1.4; }
.folio-lines { margin-top: 14px; border-top: 1px solid #d5dde9; padding-top: 10px; display: grid; gap: 2px; font-size: 0.93rem; }
.fl-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.fl-row span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.fl-row.sub { color: var(--pmute); font-size: 0.88rem; padding: 1px 0 1px 12px; }
.fl-row.sub span:last-child { font-weight: 500; }
.fl-more { background: none; border: 0; padding: 4px 0 4px 12px; color: var(--pink); font-size: 0.88rem; font-weight: 600; text-align: left; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.fl-empty { color: var(--pmute); font-size: 0.92rem; padding: 6px 0; }
.folio-tot { margin: 12px 0 16px; padding-top: 12px; border-top: 1px solid #d5dde9; display: grid; gap: 4px; }
.folio-tot p { display: flex; justify-content: space-between; font-size: 0.93rem; color: var(--pmute); font-variant-numeric: tabular-nums; }
.folio-tot .ft-total { color: var(--pink); font-size: 1rem; font-weight: 700; align-items: baseline; margin-top: 4px; }
.folio-tot .ft-total span:last-child { font-family: var(--fd); font-weight: 400; font-size: 2.2rem; }
.folio-tot .ft-due { color: var(--pink); font-weight: 600; }
.folio-fine { font-size: 0.82rem; color: var(--pmute); margin-top: 10px; text-align: center; }
.folio .err { color: var(--red-lo); }

/* mobile bar */
.mbar { display: none; }

/* confirmation */
.confirm { margin-top: 40px; display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 4vw, 56px); align-items: start; outline: none; }
.confirm[hidden] { display: none; }
.cf-ref { color: var(--mute); font-size: 0.95rem; }
.cf-ref b { font-family: var(--fd); font-weight: 400; font-size: 1.5rem; color: #fff; letter-spacing: 0.06em; margin-left: 6px; }
.confirm .h2 { margin-top: 8px; }
.cf-list { margin: 24px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.cf-list div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.cf-list dt { color: var(--mute); }
.cf-list dd { margin: 0; }
.cf-act { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 16px; }
.cf-prev { display: grid; gap: 22px; }
.pv-l { display: flex; gap: 8px; align-items: center; color: var(--mute); font-size: 0.92rem; margin-bottom: 10px; }
.sms { max-width: 340px; background: #0f2140; border: 1px solid var(--line2); border-radius: 18px; padding: 14px 16px 12px; }
.sms-from { font-weight: 700; font-size: 0.86rem; }
.sms-b { margin-top: 8px; background: #e9eef6; color: #0d1d37; border-radius: 16px 16px 16px 4px; padding: 10px 13px; font-size: 0.93rem; line-height: 1.45; }
.sms-t { font-size: 0.75rem; color: var(--mute2); margin-top: 6px; }
.mail { background: var(--paper); color: var(--pink); border-radius: 6px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8); }
.mail-meta { padding: 12px 18px; font-size: 0.86rem; color: var(--pmute); border-bottom: 1px solid #dbe2ec; display: grid; gap: 2px; }
.mail-meta b { color: var(--pink); margin-right: 6px; }
.mail-band { display: flex; align-items: center; gap: 10px; background: var(--navy); color: #fff; padding: 14px 20px; font-family: var(--fd); letter-spacing: 0.16em; font-size: 1.05rem; border-bottom: 4px solid var(--red); }
.mail-body { padding: 18px 20px 6px; display: grid; gap: 10px; font-size: 0.95rem; }
.facade-mail { width: 100%; height: auto; aspect-ratio: 860 / 560; border-radius: 4px; background: linear-gradient(180deg, #0a1830, #19345f); }
.mail-list { margin: 4px 0 0; display: grid; border-top: 1px solid #dbe2ec; }
.mail-list div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px solid #e3e8f0; font-size: 0.9rem; }
.mail-list dt { color: var(--pmute); }
.mail-list dd { margin: 0; font-weight: 600; }
.mail-note { color: var(--pmute); font-size: 0.88rem; }
.mail-foot { padding: 12px 20px 16px; font-size: 0.78rem; color: var(--pmute); }

/* ===== WALK ===== */
.walk { background: var(--navy); padding: clamp(80px, 10vw, 130px) 0; }
.walk .lede { margin-top: 14px; }
.ruler { position: relative; margin-top: 56px; padding: 0 0 8px; --span: 25; }
.ruler-line { position: absolute; left: 0; right: 0; top: 150px; height: 2px; background: var(--line2); }
.ruler-line::before { content: ""; position: absolute; left: -7px; top: -6px; width: 14px; height: 14px; border-radius: 99px; background: var(--red); box-shadow: 0 0 0 4px rgba(193, 39, 45, 0.25); }
.ruler-stops { list-style: none; margin: 0; padding: 0; position: relative; height: 300px; }
.ruler-stops li { position: absolute; left: calc(var(--m) / var(--span) * 100%); width: 150px; margin-left: -1px; display: grid; gap: 4px; font-size: 0.92rem; line-height: 1.35; color: var(--mute); }
.ruler-stops li::before { content: ""; position: absolute; left: 0; width: 1px; background: rgba(255, 255, 255, 0.55); }
.ruler-stops li::after { content: ""; position: absolute; left: -5px; top: 145px; width: 11px; height: 11px; border-radius: 99px; background: var(--deep); border: 2px solid #fff; }
.ruler-stops li:nth-child(odd) { top: 0; height: 150px; align-content: start; padding-left: 12px; }
.ruler-stops li:nth-child(odd)::before { top: 64px; bottom: 0; }
.ruler-stops li:nth-child(odd)::after { top: auto; bottom: -6px; }
.ruler-stops li:nth-child(even) { top: 150px; height: 150px; align-content: end; padding-left: 12px; }
.ruler-stops li:nth-child(even)::before { top: 0; bottom: 64px; }
.ruler-stops li:nth-child(even)::after { top: -6px; }
.ruler-stops b { font-family: var(--fd); font-weight: 400; font-size: 2rem; line-height: 1; color: #fff; }
.ruler-stops li.end { margin-left: -150px; padding-left: 0; padding-right: 12px; text-align: right; justify-items: end; }
.ruler-stops li.end::before { left: auto; right: 0; }
.ruler-stops li.end::after { left: auto; right: -5px; }
.ruler-ticks { display: flex; justify-content: space-between; margin-top: 18px; color: var(--mute2); font-size: 0.82rem; font-variant-numeric: tabular-nums; }

/* ===== NOTES ===== */
.notes { background: var(--night); padding: clamp(80px, 10vw, 130px) 0; }
.notes-tag { color: var(--mute2); font-size: 0.92rem; margin-top: 12px; }
.notes-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: start; }
.note { margin: 0; padding: 26px 26px 22px; border-radius: 4px; background: var(--paper); color: var(--pink); position: relative; box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.8); background-image: repeating-linear-gradient(180deg, transparent 0 31px, #dbe3ee 31px 32px); background-position: 0 14px; }
.note:nth-child(1) { grid-column: 1 / span 5; transform: rotate(-1.2deg); }
.note:nth-child(2) { grid-column: 6 / span 4; margin-top: 46px; transform: rotate(0.8deg); }
.note:nth-child(3) { grid-column: 10 / span 3; margin-top: 10px; transform: rotate(-0.6deg); }
.note blockquote { margin: 0; font-family: var(--fd); font-size: clamp(1.25rem, 1.05rem + 0.5vw, 1.5rem); line-height: 32px; }
.note figcaption { margin-top: 14px; font-size: 0.9rem; font-weight: 600; color: var(--pmute); }

/* ===== FAQ ===== */
.faq { background: var(--navy); padding: clamp(80px, 10vw, 130px) 0; }
.faq-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.qa { border-top: 1px solid var(--line2); }
.qa details { border-bottom: 1px solid var(--line2); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; cursor: pointer; font-size: 1.12rem; font-weight: 500; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ic { transition: transform 220ms var(--ease); }
.qa details[open] summary .ic { transform: rotate(180deg); }
.qa details p { padding: 0 0 20px; color: var(--mute); max-width: 60ch; }

/* ===== FINAL ===== */
.final { background: linear-gradient(180deg, var(--deep), #050d1c); padding: clamp(70px, 9vw, 120px) 0; overflow: hidden; }
.final-in { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.facade-final { width: 100%; height: auto; aspect-ratio: 848 / 624; }
.final .h2 { max-width: 15ch; }

/* ===== FOOTER ===== */
.foot { background: #050d1c; padding: 60px 0 40px; color: var(--mute); font-size: 0.94rem; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 28px 36px; }
.foot p + p { margin-top: 10px; }
.foot a { text-decoration: none; color: var(--ink); }
.foot .brand-name { color: #fff; font-size: 1.25rem; }
.foot-h { color: #fff; font-weight: 600; }
.foot-links { display: grid; justify-items: start; margin-top: 2px; }
.foot-links a, .foot-tel { display: inline-flex; align-items: center; min-height: 40px; }
.foot-links a + a { margin-top: -6px; }
@media (hover: hover) and (pointer: fine) { .foot a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.foot-note { margin-top: 44px; font-size: 0.88rem; color: var(--mute2); }
.foot-note p { padding-top: 20px; border-top: 1px solid var(--line); }

/* ===== SVG FACADE ===== */
.facade text { font-family: var(--fb); }
.fx-line { stroke: rgba(236, 242, 250, 0.9); stroke-width: 1.4; fill: none; vector-effect: non-scaling-stroke; }
.fx-thin { stroke: rgba(236, 242, 250, 0.42); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.fx-wall { fill: #1f3c6b; }
.fx-base { fill: #23416f; }
.fx-roof { fill: #0e2140; }
.fx-trim { fill: #e9eef6; }
.fx-shut { fill: #0c1c38; stroke: rgba(236, 242, 250, 0.45); stroke-width: 1; vector-effect: non-scaling-stroke; }
.fx-glass { fill: #0a1830; }
.fx-lamp { opacity: 0; transition: opacity 600ms var(--ease); }
.fx-glow { opacity: 0; transition: opacity 900ms var(--ease); }
.on .fx-lamp { opacity: 1; }
.on .fx-glow { opacity: 1; }
.fx-shade { fill: #b9773c; opacity: 0.55; }
.fx-veil { fill: #050d1c; opacity: calc((1 - var(--dusk, 1)) * 0.32); }
.fx-label { font-size: 13px; font-weight: 600; letter-spacing: 2.4px; fill: rgba(236, 242, 250, 0.82); text-transform: uppercase; }
.fx-floor { font-size: 12px; font-weight: 600; letter-spacing: 1.8px; fill: rgba(236, 242, 250, 0.6); }
.fx-sign { font-family: var(--fd) !important; font-size: 15px; letter-spacing: 5px; fill: #13294b; }
.fx-num { font-size: 10.5px; font-weight: 600; fill: rgba(236, 242, 250, 0.45); letter-spacing: 1px; }
.fx-stars { opacity: calc(1 - var(--dusk, 1)); }
.fx-moon { opacity: calc(0.15 + (1 - var(--dusk, 1)) * 0.85); }
.fx-water-dusk { opacity: var(--dusk, 1); }
.fx-red { fill: var(--red); }
.fx-pennant { transform-box: fill-box; transform-origin: 0 50%; }
html.js:not(.rm):not(.shot) .live .fx-pennant { animation: pennant 3.2s ease-in-out infinite alternate; }
.fx-sloop { transform-box: fill-box; transform-origin: 50% 100%; }
html.js:not(.rm):not(.shot) .live .fx-sloop { animation: ride 5.5s ease-in-out infinite alternate; }
@keyframes ride { from { transform: translateY(-1.5px) rotate(-0.8deg); } to { transform: translateY(1.5px) rotate(0.8deg); } }
html.js:not(.rm):not(.shot) .live.lh-on .fx-lh-glow { animation: breathe 3.6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }
@keyframes pennant { from { transform: skewY(-4deg) scaleX(0.94); } to { transform: skewY(5deg) scaleX(1.02); } }
.fx-ring { fill: none; stroke: #fff; stroke-width: 2; opacity: 0; transition: opacity 160ms ease; vector-effect: non-scaling-stroke; }
.rm-hover .fx-ring, .fx-room.hov .fx-ring { opacity: 0.95; }
.fx-room.sel .fx-ring { opacity: 1; stroke: var(--red); stroke-width: 3; }
.fx-flag { opacity: 0; transition: opacity 200ms ease; }
.fx-room.sel .fx-flag { opacity: 1; }
.fx-beam { opacity: 0; mix-blend-mode: screen; }
.fx-lh-glow { opacity: 0; transition: opacity 800ms ease; }
.lh-on .fx-lh-glow { opacity: 1; }
.fx-flash { fill: #ffc98a; opacity: 0; mix-blend-mode: screen; }
/* mini facade states */
.facade-mini .fx-room.taken .fx-glass { fill: url(#hatch); }
.facade-mini .fx-room.taken .fx-lamp, .facade-mini .fx-room.taken .fx-glow { opacity: 0 !important; }
.facade-mini .fx-room.other { opacity: 0.38; }
.facade-mini .fx-room.other .fx-glow { opacity: 0 !important; }

/* reveal (fail-open: only hidden after JS opts in) */
html.rv-on .rv { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 900ms var(--ease); }
html.rv-on .rv.in { opacity: 1; transform: none; }
html.rv-on .note.rv.in:nth-child(1) { transform: rotate(-1.2deg); }
html.rv-on .note.rv.in:nth-child(2) { transform: rotate(0.8deg); }
html.rv-on .note.rv.in:nth-child(3) { transform: rotate(-0.6deg); }

/* ===== RESPONSIVE ===== */
@media (min-width: 761px) and (max-width: 1180px) {
  .hero-pin { display: flex; flex-direction: column; padding-top: calc(var(--navh) + 22px); }
  .hero-copy { position: relative; left: auto; right: auto; top: auto; padding: 0 var(--gut); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); column-gap: 40px; align-items: end; }
  .hero-copy h1 { grid-column: 1 / -1; }
  .hero-copy .hero-sub, .hero-copy .hero-cta { grid-column: 1; }
  .hero-log { grid-column: 2; grid-row: 2 / span 2; margin-top: 0; align-self: end; }
  .elev { position: relative; flex: 1 1 auto; height: auto; min-height: 300px; margin-top: 12px; }
  .elev .fx-floor { display: none; }
}
@media (max-width: 1100px) {
  .book-grid { grid-template-columns: minmax(0, 1fr) 340px; }
  .bx-sail { grid-column: 1 / span 6; }
  .bx-bfast { grid-column: 7 / span 6; grid-template-columns: 1fr; }
  .bx-bfast figure { aspect-ratio: 16 / 9; }
  .bx-late { grid-column: 1 / span 6; }
  .bx-walk { grid-column: 7 / span 6; }
  .policies { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .arch { max-width: 420px; aspect-ratio: 1 / 1.05; }
  .book-grid { grid-template-columns: 1fr; }
  .folio-col { position: static; }
  .folio { max-width: 520px; }
  .confirm { grid-template-columns: 1fr; }
  .final-in { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .views-grid { grid-template-columns: 1fr 1fr; }
  .vw-harbor { grid-column: 1 / -1; }
  .vw-garden, .vw-town { grid-column: auto; margin-top: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .hero-pin { height: auto; min-height: 100svh; display: flex; flex-direction: column; padding-top: calc(var(--navh) + 18px); }
  .hero-copy { position: relative; left: auto; right: auto; top: auto; padding: 0 var(--gut); }
  .hero h1 { font-size: clamp(2.2rem, 9.8vw, 2.9rem); line-height: 1.05; }
  .hero h1 span { display: inline; }
  .hero-sub { margin-top: 14px; font-size: 1rem; }
  .hero-cta { margin-top: 18px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .elev { position: relative; height: auto; aspect-ratio: 868 / 640; margin-top: 14px; }
  .elev .fx-floor { display: none; }
  .hero-log { margin-top: 18px; max-width: none; font-size: 0.9rem; min-height: 3.6em; }
  .room-card { position: fixed; left: 0 !important; right: 0; top: auto !important; bottom: 0; width: auto; max-height: 88svh !important; z-index: var(--z-sheet); grid-template-columns: 1fr; border-radius: 14px 14px 0 0; transform: translateY(24px); opacity: 0; overflow-y: auto; padding-bottom: env(safe-area-inset-bottom); }
  .room-card.show { transform: none; }
  .rc-photo { aspect-ratio: 16 / 8; min-height: 0; }
  .leader { display: none; }
  .story-grid { gap: 36px; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .facts dt { font-size: 1.8rem; }
  .facts dd { font-size: 0.86rem; }
  .views-grid { grid-template-columns: 1fr; }
  .vw-garden .vw-frame, .vw-town .vw-frame { aspect-ratio: 4 / 3; }
  .bento { grid-template-columns: 1fr; }
  .bx-sail, .bx-bfast, .bx-late, .bx-walk { grid-column: 1 / -1; grid-row: auto; }
  .bx-sail { min-height: 520px; }
  .bx-walk { grid-template-columns: 2fr 3fr; }
  .rate-table { font-size: 0.9rem; }
  .rt-row { grid-template-columns: 1.15fr 1fr 1fr 1fr; }
  .rt-row > span { padding: 14px 10px; gap: 6px; }
  .rt-head > span { flex-direction: column; align-items: flex-start; gap: 4px; font-size: 0.8rem; line-height: 1.2; }
  .rt-row [role="rowheader"] { font-size: 1.1rem; }
  .rt-row [role="rowheader"] .ic { display: none; }
  .rt-row [role="cell"] { font-size: 1.35rem; }
  .book-head { align-items: flex-start; }
  .step { padding: 18px 14px; }
  .tide-bar { flex-wrap: wrap; gap: 8px 12px; }
  .tide-hint { order: 3; flex-basis: 100%; }
  .tide-nav { margin-left: auto; }
  .view-seg { gap: 8px; }
  .view-seg img { aspect-ratio: 4 / 3; }
  .vs-name { padding: 8px 8px 0; font-size: 0.92rem; gap: 5px; }
  .vs-name .ic { display: none; }
  .vs-meta { padding: 0 8px; font-size: 0.78rem; }
  .mini-wrap { grid-template-columns: 1fr; }
  .mini-key { grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 16px; font-size: 0.8rem; }
  .fields { grid-template-columns: 1fr; }
  .x-more { padding-left: 0; }
  .x-p { margin-left: 0; flex-basis: 100%; }
  .folio { max-width: none; }
  .mbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
    align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 16, 33, 0.97); border-top: 1px solid var(--line2);
    transform: translateY(110%); transition: transform 260ms var(--ease);
  }
  .mbar.show { transform: none; }
  .mbar-t { display: grid; line-height: 1.2; }
  .mbar-t b { font-family: var(--fd); font-weight: 400; font-size: 1.5rem; }
  .mbar-t span { color: var(--mute); font-size: 0.84rem; }

  .notes-grid { grid-template-columns: 1fr; gap: 16px; }
  .note:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .cf-list div { grid-template-columns: 7rem 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .final .h2 { max-width: none; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  html.rv-on .rv { transform: none; transition: opacity 300ms ease; }
  .fx-lamp, .fx-glow { transition: opacity 200ms ease; }
}
/* capture mode */
html.shot .room-card { transition: none; }
html.shot .rv { opacity: 1 !important; transform: none !important; }
.facade-final, .facade-mini, .facade-mail { overflow: hidden; }
@media (max-width: 760px) { .rt-row [role="cell"] small { display: none; } }
@media (min-width: 761px) and (max-width: 900px) {
  .hero-copy { display: block; }
  .hero-log { margin-top: 22px; max-width: 30rem; }
}
@media (max-width: 760px) {
  .hero-copy { display: contents; }
  .hero-copy > * { margin-left: var(--gut); margin-right: var(--gut); position: relative; z-index: var(--z-copy); }
  .hero-copy > h1 { order: 1; }
  .hero-copy > .hero-sub { order: 2; }
  .hero-copy > .hero-cta { order: 3; }
  .elev { order: 4; }
  .hero-copy > .hero-log { order: 5; margin-top: 16px; padding-top: 12px; }
}
@media (max-width: 760px) {
  .hero-copy > .hero-quick { order: 6; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; margin-bottom: 20px; }
  .hero-quick button { display: grid; justify-items: start; gap: 2px; min-height: 64px; padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--line2); background: rgba(9, 20, 40, 0.55); text-align: left; transition: transform 160ms var(--ease), border-color 200ms ease; }
  .hero-quick button:active { transform: scale(0.97); }
  .hero-quick .ic { color: var(--lamp); }
  .hero-quick span { font-weight: 600; font-size: 0.95rem; line-height: 1.2; }
  .hero-quick b { font-weight: 400; font-size: 0.8rem; color: var(--mute); line-height: 1.2; }
}
@media (max-width: 1000px) {
  .ruler { margin-top: 36px; }
  .ruler-line { left: 14px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .ruler-line::before { left: -6px; top: -14px; }
  .ruler-stops li.end { margin-left: 0; padding-right: 0; text-align: left; justify-items: start; }
  .ruler-stops li.end::after { right: auto; left: -31px; }
  .ruler-stops { height: auto; display: grid; gap: 16px; padding-left: 40px; }
  .ruler-stops li, .ruler-stops li:nth-child(odd), .ruler-stops li:nth-child(even) { position: relative; left: auto; top: auto; width: auto; height: auto; padding-left: 0; display: flex; gap: 14px; align-items: baseline; margin: 0; }
  .ruler-stops li::before { display: none; }
  .ruler-stops li::after, .ruler-stops li:nth-child(odd)::after, .ruler-stops li:nth-child(even)::after { left: -31px; top: 10px; bottom: auto; }
  .ruler-stops b { min-width: 2.2rem; font-size: 1.7rem; }
  .ruler-ticks { display: none; }
}
