:root {
  --bg: #0d0d12;
  --text-primary: #f0ece4;
  --text-muted: rgba(240, 236, 228, 0.45);
  --accent: #c8853a;
  --accent-light: #e8a860;
  --glow: rgba(200, 133, 58, 0.28);
}

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

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 60% 50% at 25% 15%, rgba(200, 133, 58, 0.09) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 75% 85%, rgba(0, 160, 200, 0.06) 0%, transparent 70%);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 3rem 1.5rem;
}

/* ── Main content ── */

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
  width: 100%;
  max-width: 860px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tagline {
  font-size: clamp(0.78rem, 1.8vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(240, 236, 228, 0.55);
  text-transform: lowercase;
}

.dot {
  color: var(--accent);
}

/* ── Hero image ── */

figure {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-image {
  width: 78%;
  max-width: 720px;
  height: auto;
  border-radius: 0;
  display: block;
  mask-image: radial-gradient(ellipse 76% 76% at center, black 38%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 76% 76% at center, black 38%, transparent 100%);
  transition: transform 0.5s ease, mask-image 0.5s ease, -webkit-mask-image 0.5s ease;
  will-change: transform;
}

.hero-image:hover {
  transform: scale(1.04);
  mask-image: radial-gradient(ellipse 82% 82% at center, black 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 82% 82% at center, black 50%, transparent 100%);
}

/* ── Footer nav ── */

footer {
  width: 100%;
  max-width: 860px;
}

footer nav {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

footer nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

footer nav a:hover {
  color: var(--accent-light);
}

footer nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 3px;
  color: var(--accent-light);
}

/* ── Responsive ── */

@media (max-width: 768px) {
  .hero-image {
    width: 90%;
  }
}

@media (max-width: 480px) {
  body {
    padding: 2rem 1rem;
  }

  .hero-image {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image {
    transition: none;
  }
}

/* ── Prose pages (privacy, etc.) ── */

.prose {
  max-width: 640px;
  width: 100%;
  text-align: left;
}

.prose h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin-bottom: 1.75rem;
}

.prose p {
  color: rgba(240, 236, 228, 0.75);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.prose a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 133, 58, 0.35);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.prose a:hover {
  color: var(--accent-light);
  border-bottom-color: rgba(232, 168, 96, 0.6);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  margin-bottom: 2.5rem;
}

.back-link:hover {
  color: var(--accent-light);
}

.back-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 3px;
}
