:root {
  --ink: #141c24;
  --ink-soft: #243041;
  --paper: #f3efe6;
  --sand: #e4d7c3;
  --amber: #c45c26;
  --amber-deep: #9a3f14;
  --mist: rgba(243, 239, 230, 0.12);
  --line: rgba(243, 239, 230, 0.22);
  --shadow: 0 24px 60px rgba(8, 12, 18, 0.45);
  --display: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--paper);
  font-family: var(--sans);
  background: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 10%, rgba(196, 92, 38, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(60, 95, 130, 0.35), transparent 50%),
    linear-gradient(165deg, #0f161d 0%, #1a2734 48%, #121a22 100%);
}
.routes {
  position: absolute;
  inset: -20%;
  opacity: 0.35;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: rotate(-8deg) scale(1.2);
  animation: drift 48s linear infinite;
}
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  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)'/%3E%3C/svg%3E");
}
@keyframes drift {
  from { transform: rotate(-8deg) scale(1.2) translate3d(0,0,0); }
  to { transform: rotate(-8deg) scale(1.2) translate3d(-72px, 36px, 0); }
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem clamp(1.2rem, 4vw, 3rem);
  animation: rise 0.8s ease both;
}
.mark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: -0.02em;
}
nav { display: flex; gap: 1.25rem; }
nav a {
  color: var(--sand);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.9;
}
nav a:hover { color: #fff; }

.hero {
  padding: clamp(3rem, 12vh, 7rem) clamp(1.2rem, 4vw, 3rem) 3rem;
  max-width: 54rem;
  animation: rise 0.9s 0.08s ease both;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--amber);
  margin: 0 0 1rem;
}
h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1.1rem;
}
.lede {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.55;
  color: var(--sand);
  max-width: 34rem;
  margin: 0 0 2rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn.primary {
  background: var(--amber);
  color: #1a100c;
  box-shadow: var(--shadow);
}
.btn.primary:hover {
  background: #d96a30;
  transform: translateY(-2px);
}
.btn.ghost {
  border: 1px solid var(--line);
  color: var(--paper);
  background: var(--mist);
}
.btn.ghost:hover {
  border-color: var(--sand);
  background: rgba(243, 239, 230, 0.16);
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 2rem clamp(1.2rem, 4vw, 3rem) 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  overflow: hidden;
  animation: rise 1s 0.16s ease both;
}
.strip article {
  background: rgba(20, 28, 36, 0.72);
  padding: 1.5rem 1.35rem 1.6rem;
  backdrop-filter: blur(8px);
}
.strip h2 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
}
.strip p {
  margin: 0;
  color: var(--sand);
  line-height: 1.5;
  font-size: 0.95rem;
}
.strip strong { color: #fff; font-weight: 600; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 2rem clamp(1.2rem, 4vw, 3rem) 2.5rem;
  color: rgba(228, 215, 195, 0.7);
  font-size: 0.88rem;
}
footer a { color: var(--sand); }

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

@media (max-width: 800px) {
  .strip { grid-template-columns: 1fr; }
  .top nav { gap: 0.9rem; }
}
