@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/fraunces-v38-italic-400.ttf") format("truetype");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/fraunces-v38-400.ttf") format("truetype");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/fraunces-v38-500.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/inter-v20-400.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/inter-v20-500.ttf") format("truetype");
}

:root {
  --green: #1a3a2a;
  --amber: #e8c98a;
  --dot: #e8a020;
  --line: rgba(255, 255, 255, 0.14);
}

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

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--green);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 700px at 78% 18%, rgba(232, 160, 32, 0.08), transparent 60%),
    radial-gradient(ellipse 700px 600px at 8% 92%, rgba(46, 102, 69, 0.45), transparent 65%);
  pointer-events: none;
}

.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: auto;
}

.wordmark {
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
}

.wordmark .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dot);
  margin-left: 4px;
  transform: translateY(-6px);
}

.topbar-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.centre {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 980px;
  margin: 80px 0;
}

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-size: clamp(56px, 10vw, 132px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 36px;
}

h1 em {
  font-style: italic;
  color: var(--amber);
  font-weight: 400;
}

.one-liner {
  font-size: clamp(16px, 1.5vw, 19px);
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  line-height: 1.55;
}

.bottom {
  position: relative;
  z-index: 1;
  padding-top: 28px;
  border-top: 0.5px solid var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.contact-email {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(20px, 2.4vw, 26px);
  color: #fff;
  text-decoration: none;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 3px;
  transition: border-color 0.2s ease, color 0.2s ease;
  align-self: flex-start;
}

.contact-email:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.meta-block {
  text-align: right;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

.meta-block .meaning em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1s ease, transform 1s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.d1 {
  transition-delay: 0.15s;
}

.reveal.d2 {
  transition-delay: 0.35s;
}

.reveal.d3 {
  transition-delay: 0.55s;
}

.reveal.d4 {
  transition-delay: 0.7s;
}

@media (max-width: 720px) {
  body {
    overflow-y: auto;
  }

  .stage {
    padding: 28px 24px;
  }

  .centre {
    margin: 56px 0;
  }

  .bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .meta-block {
    text-align: left;
  }
}
