/* XENIA — BermudAir travel concierge.
   Brand tokens taken from the BermudAir wordmark: charcoal #333030 and cyan
   #12D4D9. Cyan is 1.8:1 on white, so it is used only as an accent (marks,
   rules, dark-surface text); a derived teal carries all light-background text
   and links at AA. */

:root {
  --ink:        #333030;   /* brand charcoal — 12.5:1 on paper */
  --ink-soft:   #5F5B5A;   /* secondary text — 6.4:1 */
  --ink-faint:  #8A8584;   /* meta only, never essential copy */
  --cyan:       #12D4D9;   /* brand accent — 7.1:1 on charcoal */
  --magenta:    #C4106B;   /* BermudAir booking magenta — 5.8:1 with white */
  --magenta-deep: #A80D5C;
  --teal:       #0B7C81;   /* accessible link/action — 4.8:1 on paper */
  --teal-deep:  #0A6367;
  --paper:      #FBFAF8;
  --surface:    #FFFFFF;
  --line:       #E7E3DF;
  --line-soft:  #F1EEEA;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --logo: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAAAsCAMAAAAjD5ENAAAAP1BMVEUBAQEyLy/39/dgYGBjYWFPTEwX2t+qqqpubGyPjY0E+/xs+/tV4+ZBPT1BPT2m5+kAAAAAAAAAAAAAAAAAAABFNRBLAAAAEHRSTlMA+wgHo+j6HV1UAgKe85UnY8N/0gAAB8FJREFUeNrtmtmW4ygMQInAATtx+f//dlgkkEDeUumZh2keqk68gLiWQAvG/A/by7zTn7/t47Y9n7DAXw4ftsW8n8/072/70ICjAj6f218V/LBZeCeA7y+tgnZo50/Ix857MHvXxe32G3afTtfhQDS4ooDmmdt2QLDrDO4NZH//Vf5DBTthmDaPAvCXKkhzdMb9UHPOzYmtFc/NP2OLr9FT4EQzuQc5DZjjCz8mgC6IdSZ2We9a46NQytPWhNiLg9Z5frEKb0Ie+vTrPbEduDJz7Nh57AqiQPtznB5dm+KLQmr3UNrqSu9xNkoPc68U5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g1nPAMoKf1bAKP+Cj+k5QOZCnIvpRTn+qPOwM1yncajXV0iKMqeD6iyPrb92vmwlht2aFUN5cSHofMrJrAWJ5TLRfJcjg9aa4FWLjP15yvwDKFtXfAFxKYOgH3PdF85xQ0WK1Pj2e0yNJcoig3ylPmrlNu2KwoI5VlcLL2cos/T6fZxyBf/AaxYTLgWz+TXAAAAAElFTkSuQmCC");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; max-width: 100%; overflow-x: hidden; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  display: flex;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

#shell {
  width: 100%;
  max-width: min(720px, 100%);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}

/* ---------- header ---------- */

#hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 28px 16px;
  /* A cyan rule under the wordmark. It also keeps the header separated once the
     notice is dismissed, which otherwise left the head of the page floating. */
  border-bottom: 2px solid var(--cyan);
}

.wordmark {
  width: 152px; height: 21px;
  background: var(--logo) left center / contain no-repeat;
}

.eyebrow {
  display: flex; align-items: center; gap: 7px;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
}

#notice-bar {
  position: relative;
  padding: 0 52px 16px 28px;
  border-bottom: 1px solid var(--line);
}
#notice-bar.dismissed { display: none; }

#notice-close {
  position: absolute; top: -4px; right: 20px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: none; border: none; border-radius: 8px;
  color: var(--ink-faint); cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
#notice-close svg { width: 15px; height: 15px; }
#notice-close:hover { color: var(--ink); background: var(--line-soft); }

#notice {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 64ch;
}

#notice a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  white-space: nowrap;
}
#notice a:hover { color: var(--teal-deep); }

/* ---------- conversation ---------- */

#chat {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px 28px 8px;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  /* scrolled copy dissolves under the notice rule rather than butting into it */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16px);
  mask-image: linear-gradient(180deg, transparent 0, #000 16px);
}

/* margin-top:auto keeps a short conversation resting above the composer
   instead of floating in a void, while still scrolling normally once long. */
#stream {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-width: 0;
}

#stream > * { max-width: 100%; }

.turn { animation: rise 0.22s ease-out both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* user: a quiet charcoal pill, right-aligned */
.turn.user {
  align-self: flex-end;
  max-width: 78%;
  overflow-wrap: anywhere;
  word-break: break-word;
  background: var(--ink);
  color: #fff;
  font-size: 14.5px;
  line-height: 1.5;
  padding: 11px 16px;
  border-radius: 18px 18px 5px 18px;
  white-space: pre-wrap;
}

/* assistant: editorial prose on paper, not a bubble */
.turn.assistant { max-width: 100%; }

.who {
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 9px;
  display: flex; align-items: center; gap: 8px;
}
.who::after {
  content: ""; flex: 1; height: 1px;
  background: var(--line-soft);
}

.body {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.68;
  color: var(--ink);
  /* A long booking URL must wrap. Without this the chat pane scrolls sideways
     and the whole layout reads as off-centre on a phone. */
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}

.body p { margin: 0 0 12px; }
.body p:last-child { margin-bottom: 0; }
.body strong { font-weight: 600; }

.body ul, .body ol { margin: 10px 0 14px; padding-left: 0; list-style: none; }
.body li { position: relative; padding-left: 20px; margin: 7px 0; }
.body ul > li::before {
  content: ""; position: absolute; left: 2px; top: 0.72em;
  width: 7px; height: 1.5px; background: var(--cyan);
}
.body ol { counter-reset: n; }
.body ol > li { counter-increment: n; }
.body ol > li::before {
  content: counter(n); position: absolute; left: 0; top: 0;
  font-family: var(--sans); font-size: 11.5px; font-weight: 600;
  color: var(--teal); line-height: 1.95;
}

.body a {
  color: var(--teal);
  overflow-wrap: anywhere;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.body a:hover { color: var(--teal-deep); }
.body em { color: var(--ink-soft); font-style: italic; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 16px 0 4px;
}
.card { margin: 0; min-width: 0; }
.card img {
  display: block; width: 100%; height: 104px;
  object-fit: cover; border-radius: 11px;
  background: var(--line-soft);
}
.card figcaption {
  font-family: var(--sans);
  margin-top: 7px; display: flex; flex-direction: column; gap: 1px;
  min-width: 0;
}
.card-name {
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.card-area {
  font-size: 11px; color: var(--ink-faint);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.book { margin: 18px 0 4px; }

/* The booking CTA wears BermudAir's booking magenta, the same colour as the
   Search button on the site's own widget, so the hand-off reads as one flow.
   Charcoal stays the UI colour and cyan the accent; magenta means "book". */
.book-btn {
  display: flex; align-items: center; gap: 12px;
  background: var(--magenta); color: #fff;
  text-decoration: none;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 6px 18px rgba(196, 16, 107, 0.20);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.book-btn:hover {
  background: var(--magenta-deep); color: #fff; transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(196, 16, 107, 0.28);
}
.book-label {
  font-family: var(--sans); font-size: 14.5px; font-weight: 650;
  letter-spacing: 0.01em; white-space: nowrap;
}
.book-detail {
  font-family: var(--sans); font-size: 12.5px; color: #FFE3F0;
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.book-arrow { width: 18px; height: 18px; flex: 0 0 auto; opacity: 0.9; }
.book-note {
  font-family: var(--sans); font-size: 11.5px; color: var(--ink-faint);
  margin-top: 7px; padding-left: 2px;
}

.meta {
  display: flex; justify-content: flex-end;
  margin-top: 10px;
}

.copy-btn {
  font-family: var(--sans);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint);
  background: none; border: none; cursor: pointer;
  padding: 6px 2px; min-height: 32px;
  transition: color 0.15s;
}
.copy-btn:hover { color: var(--teal); }

/* system notes (enquiry sent, limited mode) */
.turn.system {
  align-self: center;
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--line-soft);
  border-radius: 999px;
  padding: 7px 16px;
  max-width: 90%;
  text-align: center;
}

/* thinking state */
.thinking {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-soft); font-style: italic;
  font-family: var(--serif);
}
.thinking .pips { display: inline-flex; gap: 4px; }
.thinking .pips i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--cyan); opacity: 0.35;
  animation: pulse 1.25s ease-in-out infinite;
}
.thinking .pips i:nth-child(2) { animation-delay: 0.18s; }
.thinking .pips i:nth-child(3) { animation-delay: 0.36s; }
@keyframes pulse { 0%,100% { opacity: 0.28; } 50% { opacity: 1; } }

/* ---------- suggestions ---------- */

/* The scroller carries no mask: a mask-image on a scroll container breaks
   momentum scrolling on iOS, which is why the suggestions felt stuck. The fade
   lives on the wrapper instead, and pointer events pass straight through it. */
#chips-wrap { position: relative; }
#chips-wrap::before, #chips-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 22px;
  pointer-events: none; z-index: 1;
}
#chips-wrap::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
#chips-wrap::after { right: 0; background: linear-gradient(270deg, var(--paper), transparent); }

#chips {
  display: flex;
  gap: 8px;
  padding: 12px 28px 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-left: 18px;
}
#chips::-webkit-scrollbar { display: none; }
#chips button { scroll-snap-align: start; }

#chips button {
  flex: 0 0 auto;
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
}
#chips button:hover { border-color: var(--cyan); color: var(--teal); }

/* ---------- composer ---------- */

#composer {
  padding: 0 28px 10px;
}

.field {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 5px 5px 5px 20px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field:focus-within {
  border-color: #9FE4E7;
  box-shadow: 0 0 0 3px rgba(18, 212, 217, 0.10);
}

#input {
  flex: 1;
  font-family: var(--sans);
  /* 16px minimum: below this iOS Safari zooms the page on focus, which pushes
     the layout wider than the screen and lets it pan sideways. */
  font-size: 16px;
  color: var(--ink);
  border: none; outline: none; background: none;
  padding: 10px 0;
  min-width: 0;
}
#input::placeholder { color: var(--ink-faint); }

#send {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--ink);
  color: #fff;
  border: none; border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}
#send svg { width: 19px; height: 19px; }
#send:hover:not(:disabled) { background: #1F1D1D; }
#send:disabled { opacity: 0.32; cursor: default; }

#ftr a { color: var(--ink-faint); text-underline-offset: 2px; }
#ftr a:hover { color: var(--teal); }

#ftr {
  font-size: 11px;
  color: var(--ink-faint);
  text-align: center;
  padding: 4px 28px 16px;
}

/* ---------- enquiry dialog ---------- */

#lead-overlay {
  position: fixed; inset: 0;
  background: rgba(51, 48, 48, 0.42);
  backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; z-index: 50;
  animation: fade 0.18s ease-out both;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
#lead-overlay.hidden { display: none; }

#lead-modal {
  background: var(--surface);
  border-radius: 18px;
  padding: 28px;
  width: 100%; max-width: 460px;
  max-height: 90dvh; overflow-y: auto;
  box-shadow: 0 24px 60px rgba(51, 48, 48, 0.22);
}
#lead-modal .eyebrow { color: var(--teal); margin-bottom: 10px; }
#lead-modal h2 {
  font-family: var(--serif);
  font-size: 23px; font-weight: 500; letter-spacing: -0.01em;
  margin-bottom: 8px;
}
#lead-modal .lede {
  font-size: 13.5px; line-height: 1.55;
  color: var(--ink-soft); margin-bottom: 20px;
}

#lead-form label {
  display: block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
#lead-form .opt {
  font-weight: 400; letter-spacing: 0.04em;
  text-transform: none; color: var(--ink-faint);
}
#lead-form .row2 { display: flex; gap: 12px; }
#lead-form .row2 > label { flex: 1; min-width: 0; }

#lead-form input:not([type="checkbox"]), #lead-form textarea {
  display: block; width: 100%; margin-top: 6px;
  font-family: var(--sans);
  font-size: 16px; font-weight: 400;      /* 16px: see #input, iOS zoom on focus */
  letter-spacing: normal; text-transform: none;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
#lead-form input:focus, #lead-form textarea:focus {
  border-color: #9FE4E7;
  box-shadow: 0 0 0 3px rgba(18, 212, 217, 0.10);
}
#lead-form textarea { resize: vertical; }

#lead-form .consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; font-weight: 400;
  letter-spacing: normal; text-transform: none;
  color: var(--ink);
  line-height: 1.5;
  margin: 4px 0 20px;
}
#lead-form .consent input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--teal); }

#lead-form .actions { display: flex; gap: 10px; justify-content: flex-end; }
#lead-form .actions button {
  font-family: var(--sans);
  font-size: 13.5px; font-weight: 600;
  border-radius: 10px; padding: 11px 20px; cursor: pointer;
  min-height: 44px;
}
.btn-quiet {
  background: none; border: 1px solid var(--line); color: var(--ink-soft);
}
.btn-quiet:hover { border-color: var(--ink-faint); color: var(--ink); }
.btn-solid {
  background: var(--ink); border: none; color: #fff;
}
.btn-solid:hover:not(:disabled) { background: #1F1D1D; }
.btn-solid:disabled { opacity: 0.4; cursor: default; }

/* ---------- embedded widget ---------- */

body.embed #hdr { padding: 14px 20px 12px; }
body.embed #notice-bar { padding: 0 20px 12px; }
body.embed #notice { font-size: 11.5px; }
body.embed #chat { padding: 20px 20px 6px; gap: 26px; }
body.embed #chips, body.embed #composer { padding-left: 20px; padding-right: 20px; }
body.embed #ftr { display: none; }

/* ---------- small screens ---------- */

@media (max-width: 560px) {
  /* No mask on a touch scroll container. */
  #chat { -webkit-mask-image: none; mask-image: none; }
  #chips { padding: 10px 18px 12px; }
  #chips-wrap::before, #chips-wrap::after { width: 14px; }
  #hdr { padding: 16px 18px 12px; }
  #notice-bar { padding: 0 44px 12px 18px; }
  #notice-close { right: 12px; }
  #notice { font-size: 11.5px; }
  #chat { padding: 22px 18px 6px; gap: 26px; }
  #chips { padding: 10px 18px 12px; }
  #composer { padding: 0 18px 10px; }
  #ftr { padding: 4px 18px 14px; }
  .body { font-size: 15.5px; }
  /* Stack the booking CTA on a phone so the route detail is never truncated. */
  .cards { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .card img { height: 92px; }
  .book-btn { flex-wrap: wrap; gap: 4px 10px; padding: 13px 16px; }
  .book-detail { flex: 1 0 100%; white-space: normal; order: 3; }
  .turn.user { max-width: 88%; }
  .wordmark { width: 132px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
