:root{
  --red: #d40507;
  --red-deep: #6e0203;
  --ink: #0a0a0a;
  --ink-soft: #141414;
  --bone: #f3f1ec;
  --steel: #8c8c88;

  --display: "Anton", sans-serif;
  --body: "Space Grotesk", sans-serif;
}

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

html{ scroll-behavior:smooth; }

body{
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  overflow-x: hidden;
  min-height: 100vh;
}

/* subtle film grain over everything, sits above the media, under the text */
.grain{
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- hero ---------- */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__media{
  position: absolute;
  inset: -8% -4%;
  z-index: 0;
  will-change: transform;
}

.hero__eagle{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: grayscale(1) contrast(1.15) brightness(.55);
  transform: scale(1.08);
  will-change: transform;
}

.hero__scrim{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(10,10,10,.35) 0%, rgba(10,10,10,.82) 62%, rgba(10,10,10,.96) 100%),
    linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.35) 30%, rgba(10,10,10,.65) 75%, var(--ink) 100%);
}

/* ---------- shards (signature element, echoes the marks in the logo) ---------- */
.shards{
  position: absolute;
  width: clamp(120px, 16vw, 220px);
  height: auto;
  z-index: 2;
  opacity: .9;
  pointer-events: none;
}
.shards--tl{ top: 6%; left: 3%; }
.shards--br{ bottom: 6%; right: 3%; transform: rotate(4deg); }

.shard{
  stroke: var(--bone);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  animation: draw 900ms cubic-bezier(.65,0,.35,1) forwards;
}
.shard.s1{ animation-delay: .15s; }
.shard.s2{ animation-delay: .32s; stroke: var(--red); }
.shard.s3{ animation-delay: .46s; }
.shard.s4{ animation-delay: .6s; stroke: var(--red); }

@keyframes draw{ to{ stroke-dashoffset: 0; } }

/* ---------- content ---------- */
.hero__content{
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 clamp(20px, 6vw, 40px);
  max-width: 900px;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(.7rem, 1.4vw, .85rem);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 500;
  margin-bottom: clamp(18px, 3vw, 28px);
  opacity: 0;
  animation: fadeUp .7s ease-out .9s forwards;
}

.eyebrow__dot{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px 2px rgba(212,5,7,.7);
  animation: pulse 1.8s ease-in-out infinite;
}

.headline{
  font-family: var(--display);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.headline__line{
  display: block;
  font-size: clamp(3.2rem, 14vw, 9.5rem);
  color: var(--bone);
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp .9s cubic-bezier(.2,.8,.2,1) forwards;
}
.headline__line:first-child{ animation-delay: 1.05s; }
.headline__line--accent{
  color: var(--red);
  animation-delay: 1.2s;
}

.subline{
  margin-top: clamp(18px, 3vw, 26px);
  font-size: clamp(.95rem, 1.7vw, 1.15rem);
  color: var(--steel);
  font-weight: 400;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeUp .8s ease-out 1.5s forwards;
}

.cta{
  margin-top: clamp(30px, 5vw, 44px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1.5px solid rgba(243,241,236,.25);
  border-radius: 999px;
  color: var(--bone);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  background: rgba(243,241,236,.04);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
  opacity: 0;
  animation: fadeUp .8s ease-out 1.7s forwards;
}

.cta__arrow{
  transition: transform .3s ease;
}

.cta:hover{
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}
.cta:hover .cta__arrow{ transform: rotate(45deg); }

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

/* ---------- scroll cue ---------- */
.scroll-cue{
  position: absolute;
  bottom: clamp(20px, 4vw, 34px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(243,241,236,.35);
  border-radius: 12px;
  opacity: 0;
  animation: fadeUp .8s ease-out 2s forwards;
}
.scroll-cue span{
  position: absolute;
  top: 6px; left: 50%;
  width: 3px; height: 6px;
  background: var(--bone);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease-in-out infinite;
}

/* ---------- footer ---------- */
.site-footer{
  position: relative;
  z-index: 3;
  background: var(--ink);
  text-align: center;
  padding: 18px 20px 26px;
  font-size: .78rem;
  color: var(--steel);
  letter-spacing: .02em;
}

/* ---------- keyframes ---------- */
@keyframes fadeUp{
  to{ opacity: 1; transform: translateY(0); }
}
@keyframes pulse{
  0%, 100%{ opacity: 1; }
  50%{ opacity: .35; }
}
@keyframes scrollDot{
  0%{ opacity: 1; top: 6px; }
  60%{ opacity: 0; top: 18px; }
  61%{ opacity: 0; top: 6px; }
  100%{ opacity: 1; top: 6px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .headline__line, .eyebrow, .subline, .cta, .scroll-cue, .shard{
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
  .hero__media, .hero__eagle{ transform: none !important; }
}

/* ---------- small screens ---------- */
@media (max-width: 480px){
  .shards{ width: 90px; }
  .shards--tl{ top: 5%; left: 2%; }
  .shards--br{ bottom: 4%; right: 2%; }
}
