:root {
  color-scheme: dark;
  --cream: #fff8e9;
  --muted-cream: #eadbc2;
  --gold: #d0a56f;
  --espresso: #1b120d;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--espresso);
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
}

.hero {
  isolation: isolate;
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  background-image: url("assets/coffee-and-book.jpg");
  background-position: center;
  background-size: cover;
}

.hero__veil {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 11, 7, 0.58), rgba(18, 11, 7, 0.18) 55%, rgba(18, 11, 7, 0.32)),
    linear-gradient(0deg, rgba(13, 8, 5, 0.52), transparent 45%, rgba(13, 8, 5, 0.15));
}

.announcement {
  width: min(90vw, 780px);
  padding: clamp(2rem, 6vw, 5rem);
  text-align: center;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.5);
  animation: arrive 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--muted-cream);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(0.68rem, 1.4vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3.25rem, 9vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.88;
  text-wrap: balance;
}

.rule {
  display: grid;
  grid-template-columns: minmax(2rem, 1fr) 1.5rem minmax(2rem, 1fr);
  gap: 0.9rem;
  align-items: center;
  width: min(100%, 280px);
  margin: clamp(1.6rem, 4vw, 2.5rem) auto 1.25rem;
  color: var(--gold);
}

.rule span {
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.rule svg {
  width: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.coming-soon {
  margin: 0;
  font-size: clamp(1.1rem, 2.5vw, 1.55rem);
  font-style: italic;
  letter-spacing: 0.08em;
}

.footer-note {
  position: absolute;
  right: 0;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  left: 0;
  margin: 0;
  color: rgba(255, 248, 233, 0.72);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 680px) {
  .hero {
    background-position: 62% center;
  }

  .hero__veil {
    background: linear-gradient(rgba(17, 10, 6, 0.46), rgba(17, 10, 6, 0.6));
  }

  .announcement {
    align-self: start;
    margin-top: 12vh;
    padding-inline: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .announcement {
    animation: none;
  }
}
