/*
 * The look of the sign-in and sign-up pages for the plain pages of the public site (the contact page and the "page not found" page):
 * the same cream page, the same navy top bar with the white logo and the gold line, the same card with its gold top edge, the same
 * serif title, the same small bold field labels, fields and gold button, in the day and in the night (the app's chassis-front-door.css
 * and desk-look.css are the pattern; this file stands alone because the public site does not load the app's styles).
 */
@font-face { font-family: "DM Sans"; src: url("assets/fonts/dm-sans-latin.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }
:root {
  --door-paper: #fffcf4; --door-card: #ffffff; --door-line: #e1ddd2; --door-ink: #1b2340; --door-ink-2: #4a5268; --door-title: #1b2a6b; --door-gold: #e2ae4a;
  --door-gold-ink: #1b1300; --door-eye: #8a6400; --door-field: #ffffff; --door-field-line: #b9b6a8; --door-link: #1b2a6b; --door-focus: #3a3f8a;
  --door-top: #121a3d; --door-soft: #ece8dc; --door-on: #fff7e0;
  --door-title-font: "Source Serif 4", "Noto Serif SC", "Songti SC", "Source Serif 4", "Times New Roman", serif;
  --door-ui-font: "DM Sans", "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --door-paper: #0b0e2a; --door-card: #171b45; --door-line: #2a2f63; --door-ink: #f3f4fb; --door-ink-2: #b5b9e0; --door-title: #f3f4fb; --door-gold: #e2ae4a;
    --door-gold-ink: #1b1300; --door-eye: #e2ae4a; --door-field: #0b0e2a; --door-field-line: #4a4f86; --door-link: #c9cce8; --door-focus: #c9cce8;
    --door-top: #0f1238; --door-soft: #1e2350; --door-on: #2a2416;
  }
}
* { box-sizing: border-box; }
body.door { margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--door-paper); color: var(--door-ink); font: 400 16px/1.5 var(--door-ui-font); }
.door-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px clamp(16px, 4vw, 40px); background: var(--door-top); border-bottom: 3px solid var(--door-gold); }
.door-brand img { display: block; height: 40px; width: auto; filter: brightness(0) invert(1); }
/* The way back, in the same place on every plain page: a button at the right of the top bar. */
.door-home { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 16px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 10px; color: #fff; font: 600 15px var(--door-ui-font); text-decoration: none; }
.door a.door-home { color: #fff; text-decoration: none; }
.door-home:hover { background: rgba(255, 255, 255, .12); }
.door-home:focus-visible, .door a:focus-visible, .door button:focus-visible, .door input:focus-visible, .door textarea:focus-visible, .door-pill input:focus-visible + span { outline: 2px solid var(--door-focus); outline-offset: 2px; }
.door-main { max-width: 1040px; margin: 0 auto; padding: 22px clamp(16px, 4vw, 40px) 40px; }
.door-card { display: grid; gap: 14px; padding: 22px 24px; border: 1px solid var(--door-line); border-top: 4px solid var(--door-gold); border-radius: 14px; background: var(--door-card); }
.door h1 { margin: 0; color: var(--door-title); font: 700 clamp(26px, 4vw, 32px)/1.2 var(--door-title-font); }
.door-eye { margin: 0; color: var(--door-eye); font-size: 14px; font-weight: 600; }
.door p { margin: 0; color: var(--door-ink-2); }
.door a { color: var(--door-link); text-decoration: underline; text-underline-offset: 2px; }
.door-note { font-size: 13px; }
.door-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px; border: 0; border-radius: 10px; background: var(--door-gold); color: var(--door-gold-ink); font: 700 16px var(--door-ui-font); text-decoration: none; cursor: pointer; }
.door a.door-btn { color: var(--door-gold-ink); text-decoration: none; }
.door-btn[disabled] { opacity: .6; cursor: default; }
/* The form: small bold labels, 44 px fields, the same on every page. */
.door label, .door legend { display: grid; gap: 4px; padding: 0; color: var(--door-ink); font-size: 13px; font-weight: 650; }
.door fieldset { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: 6px; }
.door textarea, .door input[type="email"], .door input[type="text"] { width: 100%; padding: 8px 12px; border: 1px solid var(--door-field-line); border-radius: 9px; background: var(--door-field); color: var(--door-ink); font: 400 16px var(--door-ui-font); }
.door input[type="email"], .door input[type="text"] { min-height: 44px; }
.door textarea { min-height: 96px; resize: vertical; }
.door label.door-tick { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; cursor: pointer; }
.door input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--door-title); }
/* The request type: one chip to choose, not the browser's grey menu. */
.door-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.door-pill { position: relative; display: block; }
.door-pill input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.door-pill span { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border: 1px solid var(--door-field-line); border-radius: 10px; background: var(--door-field); color: var(--door-ink); font: 500 15px var(--door-ui-font); }
.door-pill input:checked + span { border-color: var(--door-gold); background: var(--door-on); box-shadow: inset 0 0 0 1px var(--door-gold); font-weight: 650; }
.door-status { min-height: 1.2em; font-size: 14px; }
/* The contact page: the words on the left, the form on the right, so the main button is in view on a laptop and on a 1080 screen. */
.door-two { display: grid; gap: 14px; }
.door-two > section { display: grid; gap: 12px; align-content: start; }
.door-form { display: grid; gap: 10px; }
.door-links { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
@media (min-width: 900px) {
  .door-two { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); gap: 8px 32px; align-items: start; }
}
@media (min-width: 900px) and (max-height: 800px) {
  .door-main { padding-top: 12px; padding-bottom: 20px; }
  .door-card { padding-top: 16px; padding-bottom: 16px; gap: 10px; }
  .door-form { gap: 8px; }
  .door textarea { min-height: 72px; }
  .door-pill span { min-height: 34px; }
}
/* The page not found: one centred card. */
.door-lost { max-width: 560px; margin: 8vh auto 0; text-align: center; justify-items: center; }
@media (max-width: 520px) { .door-home span.door-long { display: none; } }
