:root {
  --ink: #12161c;
  --ink-soft: #2a3340;
  --paper: #e8e2d6;
  --paper-dim: #cfc6b4;
  --accent: #c4a35a;
  --accent-hot: #e0b84e;
  --line: rgba(232, 226, 214, 0.14);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
  position: relative;
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 55% at 15% -10%, rgba(196, 163, 90, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 95% 20%, rgba(80, 110, 140, 0.18), transparent 50%),
    linear-gradient(165deg, #0e1218 0%, #171d27 45%, #10141a 100%);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  animation: fade-down 0.7s ease both;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--paper);
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--paper-dim);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

.hero {
  min-height: calc(100vh - 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 10vh, 6rem) clamp(1.25rem, 4vw, 3rem) 4rem;
  max-width: 52rem;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.brand-mark {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--accent);
  animation: brand-glow 4s ease-in-out infinite alternate;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--paper);
  max-width: 28ch;
}

.lede {
  margin: 0 0 2rem;
  max-width: 38rem;
  color: var(--paper-dim);
  font-size: 1.05rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 2px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--accent);
  color: var(--ink);
}

.btn.primary:hover {
  background: var(--accent-hot);
}

.btn.ghost {
  border: 1px solid var(--line);
  color: var(--paper);
}

.btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent-hot);
}

.strip {
  padding: 3.5rem clamp(1.25rem, 4vw, 3rem) 5rem;
  border-top: 1px solid var(--line);
  animation: rise 0.8s ease 0.35s both;
}

.strip h2 {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

.product {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-end;
  max-width: 44rem;
  padding-bottom: 0.5rem;
}

.eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.product h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
}

.product p {
  margin: 0;
  max-width: 36rem;
  color: var(--paper-dim);
  font-size: 1rem;
}

.text-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-hot);
  text-decoration: none;
  white-space: nowrap;
}

.text-link:hover {
  text-decoration: underline;
}

footer {
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--paper-dim);
}

footer p {
  margin: 0;
}

.fine {
  opacity: 0.7;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes brand-glow {
  from {
    text-shadow: 0 0 0 transparent;
  }
  to {
    text-shadow: 0 0 40px rgba(196, 163, 90, 0.25);
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-top: 3.5rem;
  }

  .brand-mark {
    font-size: clamp(2.4rem, 14vw, 3.5rem);
  }
}
