/* Sirrah staff tip sheet — "the night's tip sheet, set like a Sirrah menu"
   Paper ground · warm ink · cherry accents · Mostra Nuova lowercase display */

@font-face { font-family: "Mostra Nuova"; src: url("/static/fonts/MostraNuova-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mostra Nuova"; src: url("/static/fonts/MostraNuova-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Mostra Nuova"; src: url("/static/fonts/MostraNuova-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }

:root {
  --paper: #ECE3D5;
  --paper-lift: #F4EEE2;
  --ink: #1A1411;
  --taupe: #6E5F50;
  --cherry: #943031;
  --hairline: rgba(26, 20, 17, .16);
  --hairline-strong: rgba(26, 20, 17, .34);
  --display: "Mostra Nuova", "Jost", sans-serif;
  --body: "Jost", "Futura", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 252, 244, .55), rgba(255, 252, 244, 0) 60%),
    var(--paper);
  color: var(--ink);
  min-height: 100dvh;
  line-height: 1.45;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: 680px; margin: 0 auto; padding: 0 20px 72px; }

/* ---------- type ---------- */
.display { font-family: var(--display); text-transform: lowercase; letter-spacing: .01em; }
.overline {
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--taupe); font-weight: 500;
}
.num { font-variant-numeric: tabular-nums; }
.cur { font-family: var(--body); font-weight: 600; font-size: .78em; margin-right: .04em; }

/* ---------- header ---------- */
header.site {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0 14px; border-bottom: 1px solid var(--hairline-strong);
  margin-bottom: 6px;
}
header.site .mark img { height: 30px; display: block; }
nav.views { display: flex; gap: 18px; }
nav.views a {
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--taupe); padding: 4px 0; border-bottom: 2px solid transparent;
}
nav.views a.on { color: var(--cherry); border-bottom-color: var(--cherry); }

/* ---------- date rail ---------- */
.daterail {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 22px 0 4px;
}
.daterail h1 { font-size: clamp(30px, 7.5vw, 44px); font-weight: 700; line-height: 1.05; }
.daterail .arrows { display: flex; gap: 8px; }
.daterail .arrows a, .daterail .arrows span {
  display: grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid var(--hairline-strong); border-radius: 50%;
  font-size: 16px; color: var(--ink); background: transparent;
}
.daterail .arrows span { opacity: .25; }
.daterail .arrows a:active { background: var(--paper-lift); }

/* ---------- service section ---------- */
section.service { margin-top: 34px; animation: rise .5s ease both; }
section.service:nth-of-type(2) { animation-delay: .08s; }
section.service:nth-of-type(3) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

.service-head { display: flex; align-items: baseline; justify-content: space-between; }
.service-head h2 { font-size: clamp(24px, 5.5vw, 30px); font-weight: 400; }
.service-head .rule { flex: 1; height: 1px; background: var(--hairline); margin: 0 14px; }
.service-head .perpoint { font-size: 12.5px; color: var(--taupe); white-space: nowrap; }

.cherry-tick { width: 30px; height: 3px; background: var(--cherry); margin: 8px 0 18px; }

/* hero pool strip */
.pools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.pool { padding: 14px 14px 12px; background: var(--paper-lift); border: 1px solid var(--hairline); border-radius: 10px; }
.pool .overline { display: block; margin-bottom: 6px; }
.pool .v { font-family: var(--display); font-size: clamp(19px, 4.6vw, 26px); font-weight: 700; }
.pool.cherry .v { color: var(--cherry); }

/* the sheet — menu-style rows with dotted leaders */
.sheet { border-top: 1px solid var(--hairline-strong); }
.row { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--hairline); }
.row .who { min-width: 0; }
.row .who .n { font-weight: 500; font-size: 16.5px; }
.row .who .r { font-size: 11.5px; color: var(--taupe); letter-spacing: .06em; text-transform: uppercase; margin-top: 1px; }
.row .lead { flex: 1; border-bottom: 2px dotted rgba(26, 20, 17, .28); transform: translateY(-4px); min-width: 24px; }
.row .amts { text-align: right; white-space: nowrap; }
.row .amts .t { font-size: 17px; font-weight: 600; }
.row .amts .sub { font-size: 11.5px; color: var(--taupe); margin-top: 1px; }
.row .hp { text-align: right; white-space: nowrap; font-size: 11.5px; color: var(--taupe); width: 74px; flex: none; }

.mod-note {
  margin-top: 14px; padding: 10px 14px; border-left: 3px solid var(--cherry);
  background: var(--paper-lift); font-size: 13px; color: var(--taupe); border-radius: 0 8px 8px 0;
}
.mod-note b { color: var(--ink); font-weight: 600; }

.banner-warn {
  margin: 18px 0; padding: 12px 16px; border: 1px solid var(--cherry);
  color: var(--cherry); font-size: 13.5px; border-radius: 8px; background: rgba(148, 48, 49, .06);
}

.banner-hold {
  margin: 20px 0; padding: 18px; border-radius: 10px;
  background: var(--cherry); color: var(--paper);
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 15px; line-height: 1.5;
  box-shadow: 0 6px 22px rgba(148, 48, 49, .35);
}
.banner-hold .x {
  font-size: 34px; line-height: 1; font-weight: 700; flex: none;
}
.banner-hold b { font-weight: 700; }

/* ---------- login ---------- */
.gate { min-height: 100dvh; display: grid; place-items: center; padding: 24px; }
.gate-card { width: min(400px, 92vw); text-align: center; animation: rise .6s ease both; }
.gate-card img.mark { height: 54px; margin: 0 auto 10px; }
.gate-card .overline { display: block; margin: 14px 0 26px; }
.gate-card h1 { font-size: 38px; font-weight: 300; margin-bottom: 26px; }
.gate-card input {
  width: 100%; padding: 14px 16px; font-size: 18px; text-align: center;
  font-family: var(--body); letter-spacing: .12em;
  border: 1px solid var(--hairline-strong); border-radius: 10px;
  background: var(--paper-lift); color: var(--ink); outline: none;
}
.gate-card input:focus { border-color: var(--cherry); }
.gate-card button {
  margin-top: 14px; width: 100%; padding: 14px; font-size: 12.5px;
  letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
  color: var(--paper); background: var(--cherry); border: 0; border-radius: 10px; cursor: pointer;
}
.gate-card .err { margin-top: 14px; color: var(--cherry); font-size: 14px; }

/* ---------- personal view ---------- */
.picker { margin: 26px 0 8px; }
.picker label { display: block; margin-bottom: 8px; }
.picker input {
  width: 100%; padding: 13px 15px; font-size: 17px; font-family: var(--body);
  border: 1px solid var(--hairline-strong); border-radius: 10px;
  background: var(--paper-lift); color: var(--ink); outline: none;
}
.picker input:focus { border-color: var(--cherry); }

.your-night { text-align: center; margin: 34px 0 8px; animation: rise .5s ease both; }
.your-night .v { font-family: var(--display); font-size: clamp(52px, 15vw, 84px); font-weight: 700; line-height: 1; color: var(--cherry); }
.your-night .sub { margin-top: 8px; font-size: 14px; color: var(--taupe); }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.kpis .pool .v { font-size: clamp(17px, 4.2vw, 22px); }

.weekbar { display: flex; align-items: baseline; justify-content: space-between; margin: 34px 0 0; }
.weekbar h2 { font-size: 26px; font-weight: 400; }
.weekbar .tot { font-family: var(--display); font-size: 24px; font-weight: 700; }

footer.quiet { margin-top: 56px; text-align: center; font-size: 11px; color: var(--taupe); letter-spacing: .14em; text-transform: uppercase; }

@media (max-width: 420px) {
  .row .hp { display: none; }
  .pools { gap: 8px; }
}
