:root {
  --navy: #1c2a37;
  --gold: #af9364;
  --sand: #f5f1e8;
  --muted: #5c6b78;
  --line: #e4ddd0;
  --danger: #8e2f2f;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--navy);
  background: var(--sand);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
header, .bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: var(--navy);
  color: white;
}
header a, .bar a { color: white; text-decoration: none; }
.brand { font-weight: 600; letter-spacing: .04em; }
main { max-width: 1080px; margin: 0 auto; padding: 32px 20px 64px; }
h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; margin: 8px 0 12px; }
h1 em { color: var(--gold); font-style: normal; }
.lede, .hint, .meta { color: var(--muted); line-height: 1.5; }
#status { min-height: 1.4em; color: var(--navy); }
#status.error { color: var(--danger); }
.card {
  background: white;
  border-radius: 18px;
  padding: 24px;
  margin-top: 20px;
}
label { display: block; font-size: 14px; margin: 14px 0; }
input, textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: white;
}
textarea { min-height: 110px; resize: vertical; }
button, .button {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--navy);
  color: white;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}
button.secondary, .button.secondary { background: #efe8dc; color: var(--navy); }
button:disabled { opacity: .55; }
.tabs { display: flex; gap: 8px; }
.layout { display: grid; grid-template-columns: 280px 1fr; gap: 20px; align-items: start; }
.person, .enquiry {
  width: 100%;
  text-align: left;
  background: var(--sand);
  color: var(--navy);
  border-radius: 12px;
  margin: 8px 0;
}
.person.selected, .enquiry.selected { background: #efe2c8; }
.person small, .enquiry small { display: block; color: var(--muted); }
.reply {
  margin-top: 12px;
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  background: var(--sand);
}
.file-block { margin-top: 12px; }
video, iframe.preview { width: 100%; max-height: 420px; background: #111; border: 0; border-radius: 12px; }
iframe.preview { height: 420px; }
.row { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
[hidden] { display: none !important; }
footer { text-align: center; color: var(--muted); padding: 24px; font-size: 13px; }
@media (max-width: 800px) {
  .layout { grid-template-columns: 1fr; }
  header, .bar { padding: 14px 16px; }
  main { padding: 24px 16px 48px; }
  iframe.preview { height: 280px; }
}
