/* Dardanica: Dea's folio (hairlines, "+" corners, mono, monochrome) around one
   gothic wordmark, standing in a field of old letters. */
@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Jacquard 24"; src: url("/assets/fonts/Jacquard24-Regular.woff2") format("woff2"); font-display: block; }
@font-face { font-family: "Dea Elbasan"; src: url("/assets/fonts/NotoSansElbasan-Regular.ttf") format("truetype"); }
@font-face { font-family: "Dea Vithkuqi"; src: url("/assets/fonts/NotoSansVithkuqi-Regular.ttf") format("truetype"); }

:root {
  --bg: #101214;
  --text: #E8EAEC;
  --muted: #AAB1B8;
  --faint: #8B9298;
  --border: #2B3034;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font: 14px/1.6 "Geist", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding: var(--gutter);
}
a { color: inherit; }

.folio {
  position: relative;
  min-height: calc(100vh - 2 * var(--gutter));
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.folio::before, .folio::after {
  content: "+";
  position: absolute;
  z-index: 2;
  font: 14px/10px var(--mono);
  color: var(--faint);
  background: var(--bg);
  pointer-events: none;
}
.folio::before { left: -5px; top: -5px; }
.folio::after { right: -5px; bottom: -5px; }

#field { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }

.masthead, .colophon {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 28px;
  color: var(--faint);
  font: 10px/1.5 var(--mono);
  letter-spacing: 1.2px;
  background: var(--bg);
}
.masthead { border-bottom: 1px solid var(--border); }
.colophon { border-top: 1px solid var(--border); letter-spacing: .4px; }
.colophon a { text-decoration: none; }
.colophon a:hover { color: var(--text); }

.stage {
  position: relative; z-index: 1;
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px;
  padding: clamp(48px, 10vh, 120px) 16px;
  text-align: center;
}
.pill {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--bg);
  color: var(--muted);
  font: 11px/1.5 var(--mono);
  letter-spacing: .04em;
  text-decoration: none;
}
.pill:hover { border-color: var(--faint); color: var(--text); }
.pill:focus-visible { outline: 1px solid var(--text); outline-offset: 3px; }

/* The wordmark: gothic, cut in bands from bone white down into the stone. */
.wordmark {
  margin: 0;
  font-family: "Jacquard 24", serif;
  font-weight: 400;
  font-size: clamp(64px, 15vw, 210px);
  line-height: .9;
  letter-spacing: 0;
  color: transparent;
  background: linear-gradient(180deg, #F4F5F6 0 34%, #C9CDD1 34% 52%, #9AA1A8 52% 68%, #6B737A 68% 82%, #3A4046 82% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  padding: 0 .06em .06em;
  text-wrap: balance;
}
.what { margin: 0; color: var(--muted); font: 13px/1.5 var(--mono); letter-spacing: .08em; padding: 2px 8px; background: var(--bg); }
.soon { margin: 0; padding: 4px 8px 4px calc(8px + .5em); background: var(--bg); color: var(--faint); font: 11px/1.5 var(--mono); letter-spacing: .5em; text-transform: uppercase; }


/* [?]: the about window, a folio box over the field */
.about-open { padding: 0; border: 0; background: transparent; color: var(--faint); font: 10px/1.5 var(--mono); letter-spacing: 1.2px; cursor: pointer; }
.about-open:hover { color: var(--text); }
.about-open:focus-visible, .about-close:focus-visible, .about-first:focus-visible { outline: 1px solid var(--text); outline-offset: 3px; }
.about {
  width: min(520px, calc(100vw - 32px));
  padding: 26px 26px 22px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--bg);
  color: var(--text);
  overflow: visible;
}
.about[open] { animation: about-in .18s ease-out; }
@keyframes about-in { from { opacity: 0; transform: translateY(6px); } }
.about::before, .about::after { content: "+"; position: absolute; font: 14px/10px var(--mono); color: var(--faint); background: var(--bg); }
.about::before { left: -5px; top: -5px; }
.about::after { right: -5px; bottom: -5px; }
.about::backdrop { background: rgba(16, 18, 20, .78); }
.about-close { position: absolute; top: 14px; right: 16px; padding: 2px 4px; border: 0; background: transparent; color: var(--faint); font: 11px/1.5 var(--mono); cursor: pointer; }
.about-close:hover { color: var(--text); }
.about-mark {
  margin: 0;
  font: 400 54px/.9 "Jacquard 24", serif;
  color: transparent;
  background: linear-gradient(180deg, #F4F5F6 0 34%, #C9CDD1 34% 52%, #9AA1A8 52% 68%, #6B737A 68% 82%, #3A4046 82% 100%);
  -webkit-background-clip: text; background-clip: text;
  width: fit-content;
}
.about-lead { margin: 16px 0 18px; color: var(--text); font-size: 19px; line-height: 1.4; font-weight: 500; letter-spacing: -.01em; }
.about-rows { margin: 0; border-top: 1px solid var(--border); }
.about-rows div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.about-rows dt { color: var(--faint); font: 10px/22px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.about-rows dd { margin: 0; color: var(--muted); font-size: 14px; line-height: 22px; }
.about-rows dd a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); }
.about-rows dd a:hover { border-color: var(--faint); }
.about-rows dd a:focus-visible { outline: 1px solid var(--text); outline-offset: 3px; }
.about-first { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 11px 13px; border: 1px solid var(--border); border-radius: 3px; text-decoration: none; }
.about-first:hover { border-color: var(--faint); }
.about-first span { flex: 1; display: flex; flex-direction: column; font-size: 13px; font-weight: 500; }
.about-first small { color: var(--faint); font: 10px/1.5 var(--mono); letter-spacing: .06em; font-weight: 400; }
.about-first .arrow { flex: none; color: var(--faint); }
.about .dc { position: relative; }
.about .dc.hide { color: transparent; }
.about .dc.hide::after { content: attr(data-g); position: absolute; left: 50%; top: 0; transform: translateX(-50%); color: var(--faint); font-family: "Dea Elbasan", "Dea Vithkuqi", serif; font-weight: 400; }

@media (max-width: 600px) {
  .masthead, .colophon { padding: 14px 16px; }
  .stage { gap: 18px; padding: 56px 12px; }
  .wordmark { font-size: clamp(52px, 17.5vw, 96px); }
  .pill { font-size: 10px; }
  .about { padding: 22px 18px 18px; }
  .about-mark { font-size: 44px; }
  .about-lead { font-size: 17px; }
  .about-rows div { grid-template-columns: 72px minmax(0, 1fr); gap: 10px; }
  .soon { letter-spacing: .35em; padding-left: calc(8px + .35em); }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }
