@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;700;800&family=Newsreader:opsz,wght@6..72,500;6..72,700&display=swap");

:root {
  --ink: #1e2430;
  --muted: #5b6677;
  --accent: #cb5d2c;
  --accent-strong: #a6461e;
  --paper: #fff9f2;
  --paper-soft: #fff1e2;
  --line: #ebd6c0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1100px 700px at 5% -5%, #ffe8cf 0%, transparent 60%),
    radial-gradient(1000px 600px at 100% 100%, #ffe0be 0%, transparent 58%),
    linear-gradient(165deg, #fffdf9 0%, #fff7ed 52%, #fff1e3 100%);
}

main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  position: relative;
}

main::before {
  content: "";
  position: absolute;
  inset: clamp(0.6rem, 2vw, 1.2rem);
  border-radius: 34px;
  border: 1px solid rgba(166, 70, 30, 0.08);
  pointer-events: none;
}

.hero-wrapper {
  width: min(1680px, 100%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  align-items: center;
  padding: clamp(1rem, 2.5vw, 2rem);
  border: 1px solid rgba(235, 214, 192, 0.7);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255, 252, 247, 0.92) 0%, rgba(255, 244, 230, 0.88) 100%);
  box-shadow: 0 18px 60px rgba(78, 40, 15, 0.12);
  animation: rise-in 480ms ease-out both;
}

.hero-content {
  text-align: center;
  max-width: 44ch;
  margin: 0 auto;
}

.kicker {
  margin: 0 0 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.headline {
  margin: 0 0 0.85rem;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-image-frame {
  margin: 0;
  padding: 0.8rem;
  border-radius: 24px;
  background: linear-gradient(160deg, #fff 0%, var(--paper-soft) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(50, 31, 14, 0.16);
  width: min(100%, 1240px);
  justify-self: center;
}

.hero-image {
  width: 100%;
  display: block;
  border-radius: 16px;
  object-fit: contain;
  object-position: center;
  max-height: min(84vh, 840px);
  background: #fff;
}

.hero-pdf {
  width: 100%;
  min-height: min(84vh, 840px);
  border: 0;
  border-radius: 16px;
  background: #ffffff;
}

.hero-pdf-fallback {
  margin: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-pdf-fallback a {
  color: var(--accent-strong);
}

.hero-note {
  margin: 0.75rem 0.25rem 0.1rem;
  color: #6a5a4f;
  font-size: 0.88rem;
}

.contact {
  margin: 0.22rem 0 0;
  font-size: clamp(0.9rem, 0.95vw, 0.96rem);
  color: var(--muted);
}

.contact a {
  color: var(--accent-strong);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.contact a:hover {
  color: var(--accent);
  border-color: rgba(203, 93, 44, 0.45);
}

@media (min-width: 900px) {
  .hero-wrapper {
    grid-template-columns: minmax(260px, 0.7fr) minmax(840px, 1.9fr);
    gap: clamp(1.5rem, 3vw, 2.6rem);
  }

  .hero-content {
    text-align: left;
    margin: 0;
  }

  .hero-image-frame {
    justify-self: end;
  }
}

@media (max-width: 640px) {
  .hero-wrapper {
    border-radius: 20px;
    padding: 0.9rem;
  }

  .hero-image {
    max-height: 72vh;
  }

  .hero-pdf {
    min-height: 72vh;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}