:root {
  --coffee: #1a110c;
  --coffee-mid: #2a1b14;
  --ink: #f4eadc;
  --muted: #cbbba6;
  --gold: #c4a574;
  --gold-soft: rgba(196, 165, 116, 0.35);
  --terracotta: #a65a32;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow-x: hidden;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 55% at 50% 18%, #3a2418 0%, transparent 58%),
    radial-gradient(ellipse 70% 40% at 50% 100%, #120c09 0%, transparent 55%),
    var(--coffee);
  font-family: "Avenir Next", Avenir, "Century Gothic", system-ui, sans-serif;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.stage {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4.5rem 1.5rem 3rem;
}

.mark {
  width: min(42vw, 220px);
  height: auto;
  margin-bottom: 2.1rem;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
}

.kicker {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
}

h1 {
  margin: 0;
  max-width: 100%;
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  font-size: clamp(2.15rem, 7.2vw, 4.6rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.05;
  color: #f7f1e8;
}

.origin {
  margin: 0.55rem 0 0;
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.rule {
  width: min(12rem, 40vw);
  height: 1px;
  margin: 1.7rem 0 1.5rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.stage > * {
  min-width: 0;
  max-width: 100%;
}

.lead {
  width: 100%;
  max-width: 32rem;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

.lead em {
  font-style: italic;
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  font-size: 1.12em;
  color: var(--ink);
}

.shop {
  margin: 1.35rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: #9a8b78;
}

.shop-url {
  display: inline-block;
  margin-top: 0.2rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  word-break: break-word;
}

.mail {
  display: inline-block;
  margin-top: 1.8rem;
  padding: 0.72rem 1.4rem;
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mail:hover,
.mail:focus-visible {
  border-color: var(--gold);
  background: rgba(196, 165, 116, 0.08);
  color: #f7f1e8;
  outline: none;
}

footer {
  position: relative;
  z-index: 2;
  padding: 1.1rem 1.5rem 1.4rem;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7d6e5e;
}

@media (max-width: 540px) {
  .stage {
    padding: 3.2rem 1.25rem 2.4rem;
  }

  h1 {
    letter-spacing: 0.08em;
  }

  h1 span {
    display: block;
  }

  .kicker {
    letter-spacing: 0.32em;
  }

  .origin {
    letter-spacing: 0.18em;
  }

  .lead {
    font-size: 0.92rem;
    max-width: 18.5rem;
    line-height: 1.65;
  }

  .shop {
    max-width: 20rem;
  }

  footer p {
    letter-spacing: 0.08em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mail {
    transition: none;
  }
}
