@font-face {
  font-family: 'Degular Display';
  src: url('/public/fonts/degular/DegularDisplayDemo-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Degular Display';
  src: url('/public/fonts/degular/DegularDisplayDemo-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Degular Display';
  src: url('/public/fonts/degular/DegularDisplayDemo-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --bg: #131110;
  --bg-raised: #1e1c1a;
  --border: #2e2a28;
  --border-accent: #443f3b;
  --text: #ece8e3;
  --text-body: #ccc7c0;
  --text-dim: #8a8480;
  --accent: #e07070;
  --font-body: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --font-display: 'Degular Display', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --max-width: 643px;
}

html, body { margin: 0; padding: 0; }
html { font-size: 17px; color-scheme: dark; }

::selection {
  background: rgba(224, 112, 112, 0.3);
  color: var(--text);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: underline dotted var(--accent);
  text-decoration-skip-ink: auto;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  transition: color 0.15s, text-decoration-color 0.15s;
}
a:hover {
  color: var(--text);
  text-decoration-color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.site-header {
  max-width: var(--max-width);
  margin: 0 auto 2rem;
  padding: 3.5rem 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
}

.site-intro {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0;
  transition: color 0.15s;
  white-space: nowrap;
}

.site-title:hover {
  color: var(--text);
}

.site-fill {
  flex: 1;
  border-bottom: 1px solid var(--border);
  min-width: 1.5rem;
  position: relative;
  top: -0.3em;
}

.site-nav {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  white-space: nowrap;
}

.site-nav-fill {
  width: 0.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  top: -0.3em;
}

.site-nav a {
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.15s;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-intro {
  margin-top: 0.75rem;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-body);
}

.footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  margin-top: 4rem;
  padding-bottom: 3rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-link {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.15em;
}

.footer-link:hover {
  color: var(--text);
}

.footer-arrow {
  width: 0.85em;
  height: 0.85em;
  transition: transform 0.3s;
}

.footer-link:hover .footer-arrow {
  transform: translate(1px, -2px);
}

@media (max-width: 600px) {
  html { font-size: 15px; }
  .site-header { padding: 2.5rem 1rem 0; }
  .site-title { font-size: 1.1rem; }
}
