:root {
  color-scheme: dark;
  --bg-1: #24282b;
  --bg-2: #16191b;
  --stone: #3a3f3f;
  --ink: #f1ede3;
  --ink-soft: #b7b8ac;
  --ink-faint: #8b8d80;
  --amber: #cf9a4c;
  --moss: #7c8a63;
  --line: rgba(241, 237, 227, 0.16);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(1100px 620px at 18% -12%, color-mix(in srgb, var(--amber) 15%, transparent), transparent 60%),
    radial-gradient(900px 700px at 88% 108%, color-mix(in srgb, var(--moss) 14%, transparent), transparent 65%),
    linear-gradient(155deg, color-mix(in srgb, var(--bg-1) 76%, transparent) 0%, color-mix(in srgb, var(--bg-2) 82%, transparent) 72%),
    url('../img/avelar.png') center 30% / cover no-repeat;
  color: var(--ink);
  font-family: "Archivo", ui-sans-serif, system-ui, sans-serif;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
body::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 34px),
    repeating-linear-gradient(25deg, rgba(0,0,0,0.12) 0 1px, transparent 1px 46px);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.site-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 28px 0;
}
.site-header .site-title {
  margin-right: auto;
}
.site-nav a {
  font-family: "Archivo", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--amber);
  border-color: var(--amber);
}
.site-header .logo {
  height: 60px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}
.site-header .site-title {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: 'Baloo Bhai 2', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(0.95rem, 2.4vw, 1.2rem);
  line-height: 1.2;
  color: var(--ink);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.site-header .site-title small {
  font-family: "Archivo", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.62em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
main {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 56px 28px 24px;
}
.social {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding-bottom: 4px;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.social a:hover,
.social a:focus-visible {
  color: var(--amber);
  border-color: var(--amber);
  transform: translateY(-1px);
}
.social svg {
  width: 17px;
  height: 17px;
}
footer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  padding: 16px 28px 20px;
  font-size: 9.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
footer .credit {
  color: var(--ink-faint);
}
footer a {
  color: var(--ink-faint);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--line);
  transition: color 0.15s ease;
}
footer a:hover,
footer a:focus-visible {
  color: var(--amber);
}
.ridge {
  display: block;
  margin: 0 auto 32px;
  width: 84px; height: 34px;
}
.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  filter: brightness(1.5) saturate(1.2);
  margin-bottom: 22px;
}
h1 {
  font-family: 'Baloo Bhai 2', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(2.1rem, 6.4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--ink);
}
h1 .amber { color: var(--amber); }

p.lede {
  margin: 26px auto 0;
  max-width: 64ch;
  font-family: "Fraunces", ui-serif, Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 2.4vw, 1.14rem);
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.rule {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--line), transparent);
  margin: 34px auto 22px;
}
.wordmark {
  display: inline-block;
  font-family: 'Baloo Bhai 2', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 5.4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--amber);
}
p.status {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: no-preference) {
  .ridge, .eyebrow, h1, p.lede, .rule, .wordmark, p.status { animation: rise 0.8s cubic-bezier(.2,.8,.2,1) both; }
  .eyebrow { animation-delay: 0.05s; }
  h1 { animation-delay: 0.12s; }
  p.lede { animation-delay: 0.2s; }
  .rule { animation-delay: 0.32s; height: 0; animation-name: grow; }
  .wordmark { animation-delay: 0.42s; }
  p.status { animation-delay: 0.48s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { opacity: 0; height: 0; } to { opacity: 1; height: 40px; } }
