:root {
  --ink: #14110f;
  --paper: #f3ebe1;
  --accent: #c45c26;
  --accent-deep: #8f3a12;
  --mist: rgba(243, 235, 225, 0.88);
  --font-display: 'Bebas Neue', Impact, Haettenschweiler, sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--paper);
  line-height: 1.55;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  z-index: 20;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.top {
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 2;
  padding: 1.25rem 1.5rem;
}

.brand-mark {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: 1rem;
  color: color-mix(in srgb, var(--paper) 78%, transparent);
  animation: rise 0.9s ease both;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: clamp(4rem, 12vw, 7rem) clamp(1.25rem, 5vw, 4rem) clamp(3rem, 8vw, 5rem);
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(120% 80% at 80% 10%, rgba(196, 92, 38, 0.45), transparent 55%),
    linear-gradient(160deg, #1c1713 0%, #2a211b 42%, #3d2a1d 100%),
    repeating-linear-gradient(
      -18deg,
      transparent 0 14px,
      rgba(243, 235, 225, 0.03) 14px 15px
    );
}

.hero-veil {
  position: absolute;
  inset: auto -10% -18% 35%;
  height: 70%;
  background:
    radial-gradient(closest-side, rgba(196, 92, 38, 0.55), transparent 70%);
  filter: blur(8px);
  animation: drift 10s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 18ch;
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4.2rem, 16vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-wrap: balance;
  animation: rise 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.lead {
  margin: 1.15rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: color-mix(in srgb, var(--paper) 90%, #c9b8a6);
  animation: rise 1s 0.12s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.cta-row {
  margin-top: 1.75rem;
  animation: rise 1.05s 0.22s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff8f2;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, background 180ms ease;
}

.cta:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}

.cta:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

.about {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(3.5rem, 10vw, 6rem) clamp(1.25rem, 5vw, 2rem);
}

.about h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  letter-spacing: 0.03em;
  line-height: 1;
}

.about p {
  margin: 0 0 1rem;
  font-size: 1.08rem;
  color: color-mix(in srgb, var(--ink) 88%, #6a5a4c);
}

.foot {
  padding: 2rem clamp(1.25rem, 5vw, 2rem) 2.5rem;
  border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  text-align: center;
}

.foot p {
  margin: 0.35rem 0;
}

.foot a {
  color: var(--accent-deep);
}

.foot-brand {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.muted {
  color: color-mix(in srgb, var(--ink) 55%, transparent);
  font-size: 0.92rem;
}

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

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-6%, -4%, 0) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .brand,
  .lead,
  .cta-row,
  .brand-mark,
  .hero-veil {
    animation: none;
  }
}
