/* The night: fonts and colours shared with rassamshareef.com and expenses.rassamshareef.com. Every direction loads this first. */
@font-face { font-family: "Fell"; src: url(../assets/fonts/fell.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fell"; src: url(../assets/fonts/fell-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Fell SC"; src: url(../assets/fonts/fell-sc.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken"; src: url(../assets/fonts/hanken-300.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Hanken"; src: url(../assets/fonts/hanken-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken"; src: url(../assets/fonts/hanken-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Mono"; src: url(../assets/fonts/mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mono"; src: url(../assets/fonts/mono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: dark;
  --ink: #04060b; --ink-2: #0a0f1a; --panel: #0b1120; --raise: rgba(20, 28, 48, .9);
  --text: #e4eaf3; --dim: rgba(228, 234, 243, .62); --faint: rgba(228, 234, 243, .36);
  --line: rgba(228, 234, 243, .11); --line-2: rgba(228, 234, 243, .2);
  --parch: #ece4d0; --parch-dim: rgba(236, 228, 208, .6); --tint: #a9c4ee;
  --display: "Fell", "IM Fell DW Pica", Georgia, serif;
  --sc: "Fell SC", "Fell", Georgia, serif;
  --sans: "Hanken", "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Mono", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1); /* out-expo: the only easing. Nothing bounces. */
  --gl: max(20px, env(safe-area-inset-left, 0px)); --gr: max(20px, env(safe-area-inset-right, 0px));
}
@media (min-width: 760px) { :root { --gl: max(40px, env(safe-area-inset-left, 0px)); --gr: max(40px, env(safe-area-inset-right, 0px)); } }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ink); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--tint); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Labels: mono capitals, tracked. Every date, count and label. */
.label { font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }

/* The one button: a word and an end square with a dot, like the site's. */
.bx { display: inline-flex; align-items: center; gap: 14px; padding: 0 0 0 18px; height: 46px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(8, 12, 22, .55); color: var(--text); font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: border-color .4s var(--ease), background .4s var(--ease); }
.bx::after { content: ""; width: 44px; height: 44px; border-left: 1px solid var(--line-2); border-radius: 0 999px 999px 0; background: radial-gradient(circle at 50% 50%, var(--parch) 0 3px, transparent 3.5px); opacity: .85; }
.bx:hover { border-color: rgba(236, 228, 208, .5); background: rgba(20, 28, 48, .7); }
.bx.out::after { background: radial-gradient(circle at 50% 50%, transparent 0 4px, var(--parch) 4.5px 5.5px, transparent 6px); } /* opens another tab */

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
