:root {
  color-scheme: dark;
  --ink: #ede9df;
  --muted: #aaa69c;
  --line: rgba(237, 233, 223, 0.19);
  --accent: #d5a96a;
  --page: #12110f;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

body::before {
  width: 46vw;
  height: 46vw;
  top: -29vw;
  right: -10vw;
  background: radial-gradient(circle, rgba(135, 100, 57, 0.2), transparent 68%);
}

body::after {
  width: 55vw;
  height: 40vw;
  bottom: -29vw;
  left: -18vw;
  background: radial-gradient(ellipse, rgba(76, 91, 61, 0.18), transparent 67%);
}

.page-shell {
  min-height: 100svh;
  width: min(100%, 1440px);
  margin: auto;
  padding: 32px 5.8vw 28px;
  display: flex;
  flex-direction: column;
}

.site-header, footer, .progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wordmark {
  display: block;
  width: clamp(112px, 11vw, 155px);
  line-height: 0;
}

.wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.header-note, footer, .eyebrow, .progress-meta {
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.header-note {
  text-align: right;
  line-height: 1.65;
}

.intro {
  width: min(100%, 720px);
  margin: auto 0;
  padding: 10vh 0;
  animation: appear 1.1s ease-out both;
}

.eyebrow {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}

.eyebrow span {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(213, 169, 106, 0.09);
  animation: pulse 2s infinite ease-in-out;
}

h1 {
  margin: 0;
  font: 500 clamp(3.15rem, 7.7vw, 7.15rem)/0.94 "Playfair Display", Georgia, serif;
  letter-spacing: -0.065em;
}

h1 em { color: var(--accent); }

.description {
  max-width: 450px;
  margin: 2rem 0 3.3rem;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.25vw, 1.05rem);
  line-height: 1.72;
}

.progress-wrap { max-width: 390px; }
.progress-meta { margin-bottom: 0.7rem; }
.progress-track { height: 1px; background: var(--line); overflow: hidden; }
.progress-track span { display: block; height: 100%; width: 63%; background: var(--accent); animation: load 1.6s 0.35s ease-out both; transform-origin: left; }

footer { margin-top: auto; }
.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.15rem;
}
.instagram-link:hover { color: var(--accent); }
.instagram-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.instagram-link .instagram-dot { fill: currentColor; stroke: none; }

@keyframes appear { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pulse { 50% { opacity: 0.45; } }

@media (max-width: 560px) {
  .page-shell { padding: 25px 7vw 22px; }
  .header-note { display: none; }
  .intro { padding: 8vh 0; }
  h1 { font-size: clamp(3.15rem, 15vw, 4.4rem); }
  .description { margin: 1.6rem 0 2.8rem; }
  footer span { font-size: 0.56rem; }
}

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