/* Laura's sign-in page (public mode only): the site's walnut, gilt and vellum, on its own so it stands without the
   rest of the page's styles. Fonts as in laura.css. */
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("/web/fonts/Alegreya-Roman-latin.woff2") format("woff2"); }
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("/web/fonts/Alegreya-Roman-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+A720-A7FF; }
@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/web/fonts/Marcellus-Roman-latin.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --gilt: #c9a45c; --gilt-hi: #f3dfa6; --glow: #5fd4c9;
  --wood-0: #19120c; --wood-1: #21180f; --wood-2: #2b1f15; --wood-line: #4b3723;
  --bone: #ece1c9; --bone-2: #c2b08f; --bone-3: #a8957a;
  --vellum: #ebdfc4; --ink: #2a1f15; --rubric-hi: #d4694f;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
/* the desk: walnut under a candle (the same photo textures as the page, web/img/tex/, CC0) */
body {
  min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px;
  background:
    radial-gradient(90% 60% at 50% 30%, rgba(255, 186, 110, .10), transparent 70%),
    radial-gradient(140% 100% at 50% 40%, transparent 45%, rgba(8, 5, 2, .78)),
    url("/web/img/tex/wood.webp") center / 1024px repeat fixed,
    var(--wood-0);
  color: var(--bone); font: 17px/1.5 "Alegreya", Georgia, serif;
}
/* the card: a stitched leather folio with brass corners */
.door {
  position: relative; width: min(100%, 380px); padding: 34px 28px 26px; text-align: center;
  background:
    linear-gradient(rgba(30, 20, 12, .35), rgba(10, 6, 3, .55)),
    url("/web/img/tex/leather-worn.webp") center / 768px repeat,
    var(--wood-1);
  border: 1px solid #120b06; border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 220, 170, .10), inset 0 0 40px rgba(0, 0, 0, .55),
    0 2px 0 #0a0603, 0 22px 60px rgba(0, 0, 0, .8);
}
.door::before {   /* the stitching */
  content: ""; position: absolute; inset: 9px; border-radius: 6px; pointer-events: none;
  border: 1.5px dashed rgba(214, 178, 120, .45);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .5), inset 0 1px 0 rgba(0, 0, 0, .5);
}
.door::after {    /* brass corner caps */
  content: ""; position: absolute; inset: -2px; border-radius: 11px; pointer-events: none;
  background:
    radial-gradient(circle at 0 0, #e9cf8e 0 6px, #9c7a3c 7px 13px, transparent 14px) top left / 28px 28px no-repeat,
    radial-gradient(circle at 100% 0, #e9cf8e 0 6px, #9c7a3c 7px 13px, transparent 14px) top right / 28px 28px no-repeat,
    radial-gradient(circle at 0 100%, #e9cf8e 0 6px, #9c7a3c 7px 13px, transparent 14px) bottom left / 28px 28px no-repeat,
    radial-gradient(circle at 100% 100%, #e9cf8e 0 6px, #9c7a3c 7px 13px, transparent 14px) bottom right / 28px 28px no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .6));
}
.seal { display: block; margin: 0 auto 10px; filter: drop-shadow(0 2px 6px #000a); }
h1 { margin: 0; font: 400 34px/1.1 "Marcellus", "Alegreya", serif; letter-spacing: .08em; color: var(--gilt-hi);
  text-shadow: 0 1px 0 #000, 0 -1px 0 rgba(255, 230, 180, .15); }
.sub { margin: 4px 0 22px; color: var(--bone-3); font-style: italic; }
form { display: grid; gap: 14px; text-align: left; }
label { display: grid; gap: 5px; font: 400 13px/1 "Marcellus", serif; letter-spacing: .12em; text-transform: uppercase;
  color: var(--bone-2); }
input {
  width: 100%; padding: 11px 12px; font: 18px/1.2 "Alegreya", Georgia, serif; letter-spacing: normal; text-transform: none;
  color: var(--ink); border: 1px solid #6e5432; border-radius: 4px;
  background: url("/web/img/tex/parchment.webp") center / 512px, var(--vellum);
  box-shadow: inset 0 2px 5px rgba(60, 38, 14, .45), 0 1px 0 rgba(255, 230, 180, .12);
  caret-color: #2a1f15;
}
input:focus-visible, button:focus-visible { outline: 2px solid var(--glow); outline-offset: 2px; }
button {
  margin-top: 6px; padding: 12px; cursor: pointer; font: 400 16px/1 "Marcellus", serif; letter-spacing: .14em;
  text-transform: uppercase; color: var(--wood-0); border: 1px solid #8a6a30; border-radius: 6px;
  background: linear-gradient(#f3dfa6, var(--gilt) 55%, #9c7a3c);
  box-shadow: inset 0 1px 0 rgba(255, 250, 225, .7), inset 0 -2px 0 rgba(90, 60, 20, .5), 0 2px 0 #3a2812,
    0 6px 14px rgba(0, 0, 0, .55);
  text-shadow: 0 1px 0 rgba(255, 240, 200, .6);
}
button:active { transform: translateY(1px); box-shadow: inset 0 2px 4px rgba(90, 60, 20, .6), 0 1px 0 #3a2812; }
button:disabled { opacity: .6; cursor: progress; }
.msg { min-height: 1.5em; margin: 0; text-align: center; color: var(--rubric-hi); font-size: 15px; }
