/* LaborLodge public booking surface
   Direction: industrial-warm lodging clearance board.
   Signature: surveyor scale rules turn proximity into the visual system. */

:root {
  --navy-950: #070d18;
  --navy-900: #0b1220;
  --navy-800: #101828;
  --navy-700: #18243a;
  --orange: #f97316;
  --orange-dark: #c2410c;
  --orange-focus: #b93808;
  --cream: #faf7f2;
  --cream-deep: #f0e9df;
  --white: #ffffff;
  --ink: #16202e;
  --slate: #475569;
  --muted: #667085;
  --light-muted: #b8c2d0;
  --line: rgba(11, 18, 32, 0.14);
  --line-dark: rgba(255, 255, 255, 0.14);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1240px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 6px;
  --shadow: 0 24px 60px -30px rgba(7, 13, 24, 0.52);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

.demo-safety-rail {
  --rail-height: 3.15rem;
  position: sticky;
  z-index: 220;
  top: 0;
  display: flex;
  min-height: var(--rail-height);
  align-items: center;
  justify-content: center;
  gap: clamp(0.65rem, 2vw, 1.15rem);
  padding: 0.62rem var(--gutter) 0.82rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(7, 13, 24, 0.5);
  background: var(--orange);
  color: var(--navy-950);
  font-size: 0.78rem;
  line-height: 1.25;
  text-align: center;
}

.demo-safety-rail::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 8px;
  background-image:
    repeating-linear-gradient(90deg, rgba(7, 13, 24, 0.38) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(90deg, var(--navy-950) 0 2px, transparent 2px 80px);
  background-position: left bottom;
  background-size: 10px 4px, 80px 8px;
  content: "";
}

.demo-safety-rail__ticket {
  flex: none;
  border: 1px solid currentColor;
  padding: 0.2rem 0.38rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.demo-safety-rail strong { font-weight: 700; }
body.demo-mode .site-header { top: 3.15rem; }

img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 0.98; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

[hidden] { display: none !important; }

:where(a, button, input, select):focus-visible {
  outline: 3px solid var(--orange-focus);
  outline-offset: 3px;
}

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--orange-dark);
  border-radius: var(--radius);
  font-weight: 700;
  transition: top 160ms ease;
}

.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.95rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.7rem;
  height: 2px;
  background: var(--orange);
}

.eyebrow--light { color: var(--light-muted); }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.78rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.89rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button--small { min-height: 42px; padding: 0.65rem 1rem; font-size: 0.8rem; }
.button--orange { color: var(--navy-950); background: var(--orange); }
.button--orange:hover { color: var(--white); background: var(--orange-dark); }
.button--navy { color: var(--white); background: var(--navy-800); }
.button--navy:hover { background: var(--navy-700); }
.button--cream { color: var(--navy-900); background: var(--cream); }
.button--cream:hover { background: var(--white); }

/* Surveyor scale: minor marks each 10px, orange station marks each 80px. */
.scale-rule {
  width: 100%;
  height: 18px;
  background-image:
    repeating-linear-gradient(90deg, rgba(11, 18, 32, 0.18) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(90deg, var(--orange) 0 2px, transparent 2px 80px);
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: 10px 7px, 80px 15px;
}

.scale-rule--dark {
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(90deg, var(--orange) 0 2px, transparent 2px 80px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--cream);
  background: rgba(11, 18, 32, 0.96);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 2rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.55rem; flex: none; }
.brand__mark { width: 38px; height: 38px; }
.brand__name {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand__name span { color: var(--orange); }

.site-nav { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.site-nav a, .manage-link {
  color: var(--light-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 140ms ease;
}
.site-nav a:hover, .manage-link:hover { color: var(--white); }

.site-header__actions { display: flex; align-items: center; gap: 1.1rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--cream);
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { background: var(--navy-800); border-top: 1px solid var(--line-dark); }
.mobile-nav--fallback { display: none; }
.mobile-nav nav { display: grid; padding: 0.65rem var(--gutter) 1rem; }
.mobile-nav a {
  padding: 0.8rem 0.25rem;
  color: var(--cream);
  border-bottom: 1px solid var(--line-dark);
  font-weight: 600;
}
.mobile-nav a:last-child { color: var(--orange); border-bottom: 0; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background: var(--navy-900);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 49.9%, rgba(255, 255, 255, 0.04) 50% 50.1%, transparent 50.2%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 100% 92px;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: center;
  padding-top: clamp(3.5rem, 8vw, 7rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.hero__copy { position: relative; z-index: 2; }

.hero h1 {
  max-width: 10ch;
  color: var(--cream);
  font-size: clamp(4.2rem, 8.5vw, 7.5rem);
  letter-spacing: -0.035em;
  line-height: 0.84;
  text-transform: uppercase;
}

.hero h1 span { color: var(--orange); }

.hero__lead {
  max-width: 35rem;
  margin-top: 1.55rem;
  color: var(--light-muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.52;
}

.hero__amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.4rem;
  margin-top: 1.6rem;
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero__amenities li { display: inline-flex; align-items: center; gap: 0.48rem; }
.hero__amenities li::before { content: ""; width: 5px; height: 5px; background: var(--orange); }

.hero__photo {
  position: relative;
  min-height: 410px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: var(--navy-700);
  box-shadow: 20px 20px 0 rgba(249, 115, 22, 0.11);
}

.hero__photo::before {
  content: "STAY / 05 MI";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  padding: 0.6rem 0.8rem;
  color: var(--navy-900);
  background: var(--orange);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hero__photo img { width: 100%; height: 100%; min-height: 410px; object-fit: cover; border-radius: 5px; }

.site-marker {
  position: absolute;
  bottom: 1.1rem;
  left: -1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 190px;
  padding: 0.75rem 1rem;
  color: var(--cream);
  background: var(--navy-800);
  border-left: 4px solid var(--orange);
  box-shadow: var(--shadow);
  font-size: 0.82rem;
}
.site-marker strong { display: block; color: var(--white); font-size: 1rem; }
.site-marker__pin { width: 11px; height: 11px; border: 3px solid var(--orange); border-radius: 50%; }

/* Search clearance ticket */
.search-wrap { position: relative; z-index: 3; padding-bottom: clamp(2.25rem, 5vw, 4rem); }

.stay-search {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-top: 5px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: 0 28px 70px -36px rgba(0, 0, 0, 0.8);
}

.stay-search::after {
  content: "";
  position: absolute;
  top: 0;
  right: 1.2rem;
  width: 120px;
  height: 11px;
  background: repeating-linear-gradient(90deg, rgba(11, 18, 32, 0.25) 0 1px, transparent 1px 10px);
}

.stay-search__heading { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.stay-search__number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--cream);
  background: var(--navy-800);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}
.stay-search__kicker { color: var(--muted); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.stay-search h2 { margin-top: 0.15rem; font-size: clamp(1.6rem, 2.5vw, 2.2rem); text-transform: uppercase; }

.stay-search__fields {
  display: grid;
  grid-template-columns: minmax(190px, 1.45fr) repeat(2, minmax(140px, 0.9fr)) minmax(110px, 0.65fr) auto;
  gap: 0.7rem;
  align-items: end;
}

.search-field { display: grid; gap: 0.35rem; min-width: 0; }
.search-field label {
  color: var(--slate);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.search-field input, .search-field select {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0.7rem 0.75rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d7d0c7;
  border-radius: 3px;
}
.search-field input::placeholder { color: var(--muted); opacity: 1; }
.search-field input:hover, .search-field select:hover { border-color: #98a2b3; }
.search-field input:focus, .search-field select:focus { border-color: var(--orange-focus); outline: 3px solid var(--orange-focus); outline-offset: 2px; }
.search-field input[aria-invalid="true"] { border-color: #b42318; }
.stay-search__submit { min-width: 190px; }

.stay-search__error {
  margin-top: 0.85rem;
  padding: 0.65rem 0.8rem;
  color: #8f241d;
  background: #fef0ee;
  border-left: 3px solid #b42318;
  font-size: 0.9rem;
  font-weight: 600;
}

.stay-search__foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.8rem;
}
.stay-search__foot strong { color: var(--ink); }
.secure-note { text-align: right; }
.secure-note span { color: #16825d; font-size: 0.65rem; }

/* Search results */
.search-results { padding-block: clamp(4rem, 8vw, 7rem); background: var(--cream); }
.results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.results-head > * { min-width: 0; }
.results-head h2 {
  max-width: 15ch;
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.results-head h2, .results-head__meta, .results-status, .stay-card--live {
  overflow-wrap: anywhere;
}
.results-head h2 span { color: var(--orange-dark); }
.results-head__meta { max-width: 24rem; padding-left: 1rem; border-left: 3px solid var(--orange); }
.results-head__meta p:first-child { color: var(--ink); font-weight: 700; }
.results-head__meta p:last-child { margin-top: 0.2rem; color: var(--muted); font-size: 0.9rem; }

.results-status {
  position: relative;
  display: grid;
  grid-template-columns: minmax(11rem, 0.45fr) minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem 1.2rem;
  overflow: hidden;
  color: var(--cream);
  background: var(--navy-800);
  border-left: 5px solid var(--orange);
}
.results-status::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--orange);
  content: "";
}
.results-status__ticket {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.results-status p { color: var(--light-muted); font-size: 0.92rem; }
.results-status__action { min-width: 12rem; }

.results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.75rem); }

.stay-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 38px -30px rgba(7, 13, 24, 0.65);
  transition: transform 170ms ease, box-shadow 170ms ease;
}
.stay-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stay-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 3;
  width: 4px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 180ms ease;
}
.stay-card:hover::before, .stay-card:focus-within::before { transform: scaleY(1); }

.stay-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-700); }
.stay-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.stay-card:hover .stay-card__media img { transform: scale(1.025); }
.stay-card__distance {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 80px;
  padding: 0.55rem 0.7rem;
  color: var(--cream);
  background: var(--navy-900);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}
.stay-card__distance strong { color: var(--orange); font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0; }

.stay-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.2rem 1.25rem 1.35rem; }
.stay-card__topline { display: flex; justify-content: space-between; gap: 0.75rem; color: var(--muted); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.stay-card__topline span { color: var(--orange-dark); }
.stay-card h3 { margin-top: 0.7rem; font-size: clamp(1.8rem, 3vw, 2.25rem); text-transform: uppercase; }
.stay-card__area { margin-top: 0.25rem; color: var(--slate); font-size: 0.9rem; }
.stay-card__features { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem; }
.stay-card__features li { padding: 0.3rem 0.5rem; color: var(--slate); background: var(--cream); border: 1px solid #e7e0d6; border-radius: 3px; font-size: 0.74rem; font-weight: 600; }
.stay-card__rate { display: flex; align-items: end; justify-content: space-between; gap: 0.8rem; margin-top: auto; padding-block: 1.25rem 0.9rem; }
.stay-card__rate p:first-child { white-space: nowrap; color: var(--slate); font-size: 0.82rem; }
.stay-card__rate strong { color: var(--ink); font-family: var(--font-display); font-size: 2rem; line-height: 0.8; }
.stay-card__rate p:last-child { color: var(--muted); font-size: 0.72rem; text-align: right; }
.stay-card__action { width: 100%; }

.stay-card--live { min-width: 0; border-top: 4px solid var(--navy-800); }
.stay-card--live .stay-card__body { padding-top: 1.4rem; }
.stay-card__unit { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.stay-card--live .stay-card__topline > *, .stay-card--live .stay-card__rate > * { min-width: 0; }
.stay-card__unit h4 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
  text-transform: uppercase;
}
.stay-card__description { margin-top: 0.45rem; color: var(--muted); font-size: 0.86rem; }
.stay-card__availability { color: var(--orange-dark); }
.stay-card__tax { margin: -0.3rem 0 0.9rem; color: var(--muted); font-size: 0.76rem; }
.stay-card--live .stay-card__rate { align-items: flex-start; }
.stay-card--live .stay-card__rate p:last-child { max-width: 9rem; }

.results-note { max-width: 62rem; margin: 1.4rem auto 0; color: var(--muted); font-size: 0.82rem; text-align: center; }

/* Included board */
.included { background: var(--white); }
.included__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}
.included__intro { position: sticky; top: 110px; }
.included__intro h2, .control__copy h2, .crew-band h2, .how h2 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.included__intro > p:last-child { max-width: 36rem; margin-top: 1.3rem; color: var(--slate); font-size: 1.05rem; }

.included-board { border-top: 1px solid var(--line); }
.included-board article { display: grid; grid-template-columns: 58px 1fr; gap: 1.2rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.included-board article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--orange-dark);
  background: var(--cream);
  border: 1px solid #e5ddd2;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}
.included-board h3 { font-size: 1.6rem; text-transform: uppercase; }
.included-board p { margin-top: 0.3rem; color: var(--slate); }

/* Steps */
.how { padding-block: clamp(4.5rem, 9vw, 8rem); color: var(--cream); background: var(--navy-800); }
.how__head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.how__head h2 { max-width: 15ch; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.steps li { position: relative; min-height: 260px; padding: 1.5rem clamp(1rem, 3vw, 2rem) 1rem 0; border-right: 1px solid var(--line-dark); }
.steps li + li { padding-left: clamp(1rem, 3vw, 2rem); }
.steps li:last-child { border-right: 0; }
.steps span { color: var(--orange); font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1; }
.steps h3 { margin-top: 3.5rem; color: var(--cream); font-size: 1.75rem; text-transform: uppercase; }
.steps p { max-width: 20rem; margin-top: 0.65rem; color: var(--light-muted); }

/* Assistant control section */
.control { padding-block: clamp(4.5rem, 9vw, 8rem); background: var(--cream-deep); }
.control__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr); gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.control__copy > p:nth-of-type(2) { max-width: 36rem; margin-top: 1.2rem; color: var(--slate); font-size: 1.05rem; }
.text-link { display: inline-flex; align-items: center; gap: 0.65rem; margin-top: 1.5rem; color: var(--orange-dark); border-bottom: 1px solid currentColor; font-weight: 700; }
.text-link:hover { color: var(--navy-800); }

.assistant-card { padding: clamp(1rem, 2.5vw, 1.5rem); background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.assistant-card__top { display: flex; align-items: center; gap: 0.7rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.assistant-card__status { width: 11px; height: 11px; background: #17a673; border: 3px solid #d6f5e9; border-radius: 50%; box-sizing: content-box; }
.assistant-card__top p { display: flex; flex-direction: column; font-size: 0.9rem; line-height: 1.25; }
.assistant-card__top span { color: var(--muted); font-size: 0.74rem; }
.message { max-width: 84%; margin-top: 1rem; padding: 0.8rem 0.95rem; border-radius: 8px; font-size: 0.92rem; }
.message--guest { margin-left: auto; color: var(--cream); background: var(--navy-800); border-bottom-right-radius: 2px; }
.message--assistant { background: var(--cream); border: 1px solid #e5ddd2; border-bottom-left-radius: 2px; }
.message--assistant a { display: flex; align-items: center; justify-content: space-between; margin-top: 0.8rem; padding: 0.65rem 0.75rem; color: var(--white); background: var(--orange-dark); border-radius: 4px; font-weight: 700; }
.message--assistant a::after { content: "→"; }
.message--assistant small { display: block; margin-top: 0.55rem; color: var(--muted); }
.assistant-card__rule { margin-top: 1.2rem; padding-top: 1rem; color: var(--muted); border-top: 1px solid var(--line); font-size: 0.79rem; text-align: center; }
.assistant-card__rule span { color: #16825d; font-weight: 700; }

/* Crew band remains deliberately secondary */
.crew-band { color: var(--cream); background: var(--navy-900); border-top: 1px solid var(--line-dark); }
.crew-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.crew-band__copy { max-width: 49rem; }
.crew-band h2 { font-size: clamp(2.5rem, 4.5vw, 4rem); }
.crew-band__copy > p:last-child { margin-top: 0.9rem; color: var(--light-muted); }
.crew-band .button { flex: none; }

/* Footer */
.site-footer { color: var(--light-muted); background: var(--navy-950); }
.site-footer__grid { display: grid; grid-template-columns: 1.8fr 0.8fr 1fr; gap: clamp(2rem, 6vw, 5rem); padding-block: clamp(3rem, 6vw, 4.5rem); }
.brand--footer { margin-bottom: 1rem; }
.site-footer__blurb { max-width: 24rem; color: #8e9bad; }
.site-footer__links { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.site-footer__links p { margin-bottom: 0.35rem; color: #7e8b9d; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.site-footer__links a { color: var(--light-muted); font-size: 0.9rem; }
.site-footer__links a:hover { color: var(--orange); }
.site-footer__base { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.3rem; border-top: 1px solid var(--line-dark); color: #69778b; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* One restrained motion system */
body.has-reveal .reveal { opacity: 0; transform: translateY(16px); }
body.has-reveal .reveal.is-visible { opacity: 1; transform: none; transition: opacity 520ms ease, transform 520ms cubic-bezier(0.22, 0.61, 0.36, 1); }

@media (max-width: 1100px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav--fallback { display: block; }
  .site-header__actions { margin-left: auto; }
  .stay-search__fields { grid-template-columns: 1.4fr 1fr 1fr; }
  .search-field:nth-of-type(4) { grid-column: 1 / 2; }
  .stay-search__submit { grid-column: 2 / 4; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__copy { max-width: 42rem; }
  .hero__photo { min-height: 360px; }
  .hero__photo img { min-height: 360px; }
  .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results-grid--samples .stay-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .results-grid--samples .stay-card:last-child .stay-card__media { aspect-ratio: auto; }
  .included__grid, .control__grid { grid-template-columns: 1fr; }
  .included__intro { position: static; }
  .control__copy { max-width: 44rem; }
  .assistant-card { max-width: 42rem; width: 100%; }
}

@media (max-width: 720px) {
  .site-header__actions .manage-link { display: none; }
  .stay-search__fields { grid-template-columns: 1fr 1fr; }
  .search-field--location { grid-column: 1 / -1; }
  .search-field:nth-of-type(4) { grid-column: auto; }
  .stay-search__submit { grid-column: 1 / -1; }
  .stay-search__foot { flex-direction: column; }
  .secure-note { text-align: left; }
  .results-head { align-items: start; flex-direction: column; }
  .results-head h2 { max-width: none; }
  .results-grid { grid-template-columns: 1fr; }
  .results-status { grid-template-columns: 1fr; }
  .results-status__action { width: 100%; }
  .results-grid--samples .stay-card:last-child { grid-column: auto; display: flex; }
  .results-grid--samples .stay-card:last-child .stay-card__media { aspect-ratio: 16 / 10; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { min-height: 0; padding: 1.35rem 0 1.6rem; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .steps li:last-child { border-bottom: 0; }
  .steps h3 { margin-top: 1.5rem; }
  .crew-band__inner { align-items: flex-start; flex-direction: column; gap: 1.6rem; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .demo-safety-rail { --rail-height: 4.25rem; align-items: flex-start; text-align: left; }
  body.demo-mode .site-header { top: 4.25rem; }
  .site-header__actions .button { display: none; }
  .brand__name { font-size: 1.55rem; }
  .hero h1 { font-size: clamp(3.75rem, 20vw, 5.5rem); }
  .hero__photo, .hero__photo img { min-height: 290px; }
  .site-marker { left: 0.75rem; }
  .stay-search__heading { align-items: flex-start; }
  .stay-search__fields { grid-template-columns: 1fr; }
  .search-field--location, .stay-search__submit { grid-column: auto; }
  .included-board article { grid-template-columns: 46px 1fr; gap: 0.85rem; }
  .included-board article > span { width: 38px; height: 38px; }
  .control__grid { gap: 2rem; }
  .assistant-card { padding: 0.8rem; }
  .message { max-width: 92%; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__grid > div:first-child { grid-column: auto; }
  .site-footer__base { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  body.has-reveal .reveal { opacity: 1; transform: none; }
  .stay-card:hover, .button:hover { transform: none; }
  .stay-card:hover .stay-card__media img { transform: none; }
}
