:root {
  --paper: #EEF0EA;
  --ink: #141613;
  --muted: #5E625A;
  --soft: #C9CCC3;
  --live: #D92D20;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  font-size: 14px;
  line-height: 1.55;
}
a { color: var(--ink); }
a:hover { color: var(--muted); }

.wrap { max-width: 980px; margin: 0 auto; padding: 28px 20px 0; min-height: 100vh; display: flex; flex-direction: column; }

/* name */
.name {
  display: inline-block; text-decoration: none;
  font-family: 'Archivo', system-ui, sans-serif; font-stretch: 118%; font-weight: 800;
  font-size: 26px; line-height: 1; letter-spacing: -0.03em; padding: 4px 0 4px 2px;
}
.name i { font-style: italic; }

/* the five words */
.nav { display: flex; flex-wrap: wrap; gap: 0 26px; margin: 18px 0 26px; padding: 0; list-style: none; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; text-decoration: none;
  font-family: 'Archivo', system-ui, sans-serif; font-weight: 500; font-size: 22px; letter-spacing: -0.01em;
}
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); margin-left: 7px; display: none; }
.nav .is-live .dot { display: inline-block; }

/* home: the moving picture */
.loop { margin: 0; }
.loop video, .loop img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #DADDD4; }

/* inner pages */
.page { flex: 1 0 auto; padding-bottom: 40px; max-width: 640px; }
.page h1 { margin: 0 0 14px; font-family: 'Archivo', system-ui, sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 0; }
.page p { margin: 0 0 14px; font-size: 15px; max-width: 52ch; }
.quiet { color: var(--muted); }

.big-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.big-links li { border-bottom: 1px solid var(--soft); }
.big-links a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; text-decoration: none;
  font-family: 'Archivo', system-ui, sans-serif; font-weight: 600; font-size: 24px; letter-spacing: -0.01em;
}
.big-links a span:last-child { font-family: 'IBM Plex Mono', monospace; font-weight: 400; font-size: 14px; color: var(--muted); }

.list-box { margin-top: 26px; border: 1px solid var(--ink); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.list-box p { margin: 0; }
.list-box .row { display: flex; flex-wrap: wrap; gap: 8px; }
.list-box input { flex: 1 1 200px; min-width: 0; height: 48px; padding: 0 12px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--ink); border-radius: 0; }
.list-box button, .btn { height: 48px; padding: 0 20px; font: inherit; font-size: 15px; font-weight: 600; color: var(--paper); background: var(--ink); border: 1px solid var(--ink); border-radius: 0; cursor: pointer; }
.list-box .fine { font-size: 12px; color: var(--muted); }

/* chat preview */
.chat { border: 1px solid var(--ink); }
.chat-head { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--ink); }
.chat-body { padding: 14px 12px; min-height: 180px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); }
.chat-foot { display: flex; border-top: 1px solid var(--ink); }
.chat-foot input { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 12px; font: inherit; border: 0; background: transparent; color: var(--muted); }
.chat-foot button { height: 48px; padding: 0 16px; font: inherit; font-weight: 600; border: 0; background: var(--soft); color: var(--muted); }

/* contact: same frame as chat */
.panel { border: 1px solid var(--ink); }
.panel-head { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--ink); }
.panel-body { padding: 16px 12px 20px; display: flex; flex-direction: column; gap: 18px; }
.panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--ink); padding-left: 12px; }
.panel-foot button { height: 48px; padding: 0 20px; font: inherit; font-weight: 600; border: 0; border-left: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; }
.panel-foot button:hover { background: #2A2D27; }
.panel-foot button:disabled { opacity: 0.6; cursor: wait; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend, .field label { display: block; margin-bottom: 6px; font-size: 12.5px; color: var(--muted); }
.types { display: flex; flex-wrap: wrap; gap: 0 22px; }
.types input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.types label { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; user-select: none; font-family: 'Archivo', system-ui, sans-serif; font-weight: 500; font-size: 17px; color: var(--muted); }
.types label:hover { color: var(--ink); }
.types input:checked + label { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.types input:focus-visible + label { outline: 2px solid var(--live); outline-offset: 2px; }
.two { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 600px) { .two { grid-template-columns: 1fr 1fr; } }
.field input, .field textarea { display: block; width: 100%; padding: 0 2px; font: inherit; font-size: 15px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; }
.field input { height: 40px; }
.field textarea { padding: 8px 2px; min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-width: 2px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.7; }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.booking-only[hidden] { display: none; }
.status-msg { margin: 0; font-size: 13px; color: var(--muted); }
.status-msg.ok { color: var(--ink); font-weight: 600; }
.status-msg.err { color: var(--live); }

/* chat page: chat first, note tucked away behind a small link */
.chat-page { max-width: none; display: flex; flex-direction: column; gap: 14px; }
.chat-page .chat-body { min-height: 340px; }
.note-toggle summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; list-style: none; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.note-toggle summary::-webkit-details-marker { display: none; }
.note-toggle summary:hover { color: var(--ink); }
.note-toggle[open] summary { color: var(--ink); }
.note { max-width: 420px; margin-top: 6px; }
.note .panel-body { gap: 12px; padding: 12px 12px 14px; }
.note .panel-body > p { font-size: 13px; }
.note textarea { min-height: 84px; }

footer { padding: 14px 0 28px; font-size: 12px; color: var(--muted); }
