/* Hero: full-screen opening with the logo */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 110px var(--gutter) 90px;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, #fbf8f1 0%, var(--paper) 60%, #e7dfcf 100%);
}

/* Double-ruled frame around the opening screen */
.hero-frame {
  position: absolute;
  inset: 84px clamp(12px, 3vw, 32px) clamp(12px, 3vw, 32px);
  z-index: -1;
  border: 3px solid var(--ink);
  pointer-events: none;
}
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid var(--ink);
}

.hero-content { text-align: center; max-width: 760px; }

.hero-logo { margin: .4rem 0 1.6rem; }
.hero-logo img {
  display: block;
  margin: 0 auto;
  width: auto;
  height: clamp(250px, 50vh, 450px);
  max-width: 78vw;
  object-fit: contain;
}

/* Text title, only used if no logo is set in content.js */
.hero-title {
  font-size: clamp(3rem, 11vw, 6.5rem);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .4em;
}

.hero-sub {
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Little "scroll down" mouse icon */
.scroll-cue {
  position: absolute;
  bottom: clamp(26px, 4vw, 46px);
  left: 50%;
  translate: -50% 0;
  width: 20px;
  height: 32px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
}
.scroll-cue span {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 2px;
  height: 6px;
  margin-left: -1px;
  background: var(--ink);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(10px); }
}

@media (max-width: 720px) {
  .hero { padding-inline: 30px; }
  .hero-frame { inset: 72px 10px 10px; }
  .hero-actions .btn { padding-inline: 1.3em; }
  .scroll-cue { display: none; }
}
