:root {
  --ink: #f4f0e7;
  --gold: #f1c878;
  --night: #101b27;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--night);
}

body {
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  flex-direction: column;
  padding: clamp(1.5rem, 3.6vw, 3.75rem) clamp(1.5rem, 5.8vw, 6.5rem);
}

.hero__image,
.hero__wash {
  position: absolute;
  inset: 0;
}

.hero__image {
  z-index: -2;
  background-image: url("assets/prague-charles-bridge-panorama.jpg");
  background-position: center 52%;
  background-size: cover;
  animation: reveal 1.8s ease-out both;
}

.hero__wash {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 16, 26, 0.82) 0%, rgba(7, 16, 26, 0.48) 42%, rgba(7, 16, 26, 0.08) 78%),
    linear-gradient(0deg, rgba(5, 13, 22, 0.56) 0%, transparent 50%, rgba(5, 13, 22, 0.16) 100%);
}

.topbar,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(244, 240, 231, 0.75);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mark {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink);
}

.mark__dot {
  width: 0.65rem;
  height: 0.65rem;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.content {
  display: flex;
  flex: 1;
  max-width: 70rem;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 10vh, 8rem) 0;
}

.eyebrow {
  margin: 0 0 1.3rem;
  color: var(--gold);
  font-size: clamp(0.72rem, 1vw, 0.86rem);
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7.3vw, 7.6rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.88;
  text-wrap: balance;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.2);
}

h1 span {
  color: var(--gold);
  font-style: italic;
}

.status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.status__line {
  width: clamp(2.5rem, 5vw, 5rem);
  height: 1px;
  background: var(--gold);
}

.status p {
  margin: 0;
  font-size: clamp(0.82rem, 1.2vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

footer {
  justify-content: flex-end;
  border-top: 1px solid rgba(244, 240, 231, 0.24);
  padding-top: 1.25rem;
}

footer p {
  margin: 0;
}

.photo-credit a {
  color: inherit;
  text-underline-offset: 0.2em;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 1.5rem;
  }

  .hero__image {
    background-position: 61% center;
  }

  .hero__wash {
    background:
      linear-gradient(90deg, rgba(7, 16, 26, 0.78), rgba(7, 16, 26, 0.24)),
      linear-gradient(0deg, rgba(5, 13, 22, 0.68), transparent 54%, rgba(5, 13, 22, 0.26));
  }

  .topbar > p,
  .photo-credit {
    display: none;
  }

  h1 {
    font-size: clamp(2.85rem, 14.5vw, 4.8rem);
    line-height: 0.93;
  }
}

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