@font-face {
  font-family: "Libre Baskerville";
  src: url("assets/fonts/libre-baskerville-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url("assets/fonts/libre-baskerville-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url("assets/fonts/libre-baskerville-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #f6f3ea;
  --muted: rgba(246, 243, 234, 0.78);
  --green-deep: #07160f;
  --green-mid: #143d28;
  --orange: #e86a1a;
  --orange-soft: #f4a15a;
  --white: #ffffff;
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

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

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

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: "Outfit", "Segoe UI", Helvetica, Arial, sans-serif;
  background:
    radial-gradient(ellipse 70% 50% at 50% 18%, rgba(46, 122, 74, 0.45), transparent 62%),
    radial-gradient(ellipse 90% 55% at 50% 115%, #1a5534 0%, transparent 58%),
    linear-gradient(180deg, #0c2a1c 0%, var(--green-deep) 72%);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.015) 0 1px,
      transparent 1px 14px
    );
}

.tricolor {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  height: 7px;
  position: relative;
  z-index: 2;
}

.tricolor span:nth-child(1) { background: #169b45; }
.tricolor span:nth-child(2) { background: #f4f1e8; }
.tricolor span:nth-child(3) { background: var(--orange); }

.stage {
  flex: 1;
  width: min(920px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3.25rem) 0 clamp(1rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  animation: rise 0.7s ease both;
}

.logo {
  width: min(460px, 88vw);
  height: auto;
  filter: drop-shadow(var(--shadow));
}

.eyebrow {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--orange-soft);
}

h1 {
  margin: 0.45rem 0 0;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.7rem, 7vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
}

.lede {
  margin: 1rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.02rem, 2.2vw, 1.18rem);
  line-height: 1.55;
  font-weight: 400;
  color: var(--muted);
}

.mail {
  margin-top: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid rgba(232, 106, 26, 0.85);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: rgba(8, 28, 18, 0.35);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.mail:hover {
  background: var(--orange);
  color: #1a1208;
  transform: translateY(-1px);
}

.mail:focus-visible {
  outline: 2px solid var(--orange-soft);
  outline-offset: 4px;
}

footer {
  position: relative;
  z-index: 1;
  padding: 0 1.25rem 1.4rem;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 243, 234, 0.55);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 520px) {
  .eyebrow {
    letter-spacing: 0.22em;
  }

  .logo {
    width: min(340px, 92vw);
  }
}

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

  .mail {
    transition: none;
  }
}
