:root {
  --bg: #f8f0db;
  --card: #fffaf0;
  --text: #241a08;
  --muted: #6d5a32;
  --line: #e6d6ac;
  --accent: #b98524;
  --accent-strong: #8e6517;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 214, 138, 0.4), transparent 32%),
    radial-gradient(circle at 10% 90%, rgba(255, 230, 184, 0.45), transparent 30%),
    var(--bg);
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.hero {
  width: min(560px, 100%);
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: 0 16px 34px rgba(106, 73, 17, 0.12);
}

.logo-wrap {
  min-height: 104px;
  display: grid;
  place-items: center;
}

.brand-logo {
  width: min(220px, 60vw);
  height: auto;
  display: block;
}

.brand-logo.is-hidden {
  display: none;
}

.logo-fallback {
  display: none;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--accent-strong);
}

.logo-fallback.is-visible {
  display: block;
}

.kicker {
  margin: 0.8rem 0 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
}

.title {
  margin: 0.4rem 0 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 7vw, 3.2rem);
  line-height: 1.05;
}

.subtitle {
  margin: 0.8rem auto 0;
  max-width: 38ch;
  line-height: 1.55;
  color: var(--muted);
}

.instagram-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #f9ce34 5%, #ee2a7b 55%, #6228d7 100%);
  box-shadow: 0 10px 24px rgba(27, 14, 43, 0.28);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.instagram-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(27, 14, 43, 0.34);
}

.instagram-float:focus-visible {
  outline: 3px solid rgba(185, 133, 36, 0.5);
  outline-offset: 2px;
}

.instagram-float svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@media (max-width: 640px) {
  .hero {
    border-radius: 16px;
  }

  .brand-logo {
    width: min(180px, 64vw);
  }
}
