:root {
  --forest: #013e20;
  --forest-deep: #012816;
  --leaf: #1a6b2c;
  --gold: #e8b33a;
  --cream: #f6f3ec;
  --ink: #12261a;
  --body: #3c5446;
  --muted: #5a6e62;
  --line: rgba(1, 62, 32, 0.14);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --brand: "Beatrix Antiqua", Optima, Candara, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.7, 0.25, 1);
  color-scheme: light;
}

@font-face {
  font-family: "Beatrix Antiqua";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("https://fonts.cdnfonts.com/s/17803/Beatrix-Antiqua-Medium-trial.woff") format("woff");
}

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

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

::selection {
  background: #d7ebc2;
  color: var(--forest);
}

.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #f3eee4;
}

.wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 48% at 118% 118%, rgba(1, 62, 32, 0.16) 0%, transparent 62%),
    radial-gradient(ellipse 40% 34% at -6% 0%, rgba(126, 190, 69, 0.1) 0%, transparent 64%),
    radial-gradient(ellipse 70% 46% at 50% -8%, rgba(255, 236, 196, 0.85) 0%, transparent 68%),
    linear-gradient(180deg, #fbf8f2 0%, #f6f1e8 55%, #eef3ea 100%);
}

.veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 54% 64% at 50% 46%, rgba(251, 247, 240, 0.78) 0%, rgba(251, 247, 240, 0.34) 52%, rgba(251, 247, 240, 0) 76%);
}

.bg-figure {
  position: absolute;
  z-index: 1;
  width: min(380px, 62vw);
  height: auto;
  left: 50%;
  top: 54%;
  translate: -50% -38%;
  opacity: 0.2;
  user-select: none;
}

.sun {
  position: absolute;
  width: min(860px, 130vw);
  height: min(860px, 130vw);
  left: 50%;
  top: -22%;
  translate: -50% 0;
  background: radial-gradient(circle, rgba(255, 244, 214, 0.7) 0%, rgba(253, 196, 74, 0.14) 28%, rgba(255, 244, 214, 0) 62%);
  animation: sun 10s ease-in-out infinite;
}

.grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.08;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.scene::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 22px;
  border: 1px solid rgba(1, 62, 32, 0.08);
  box-shadow: inset 0 0 80px rgba(255, 248, 236, 0.35);
}

main {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  width: min(100%, 920px);
  margin-inline: auto;
  padding: clamp(0.85rem, 2.6vh, 2.5rem) 1.25rem clamp(0.4rem, 1.4vh, 1rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  gap: 0;
  text-align: center;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  gap: clamp(0.55rem, 1.25vh, 1.05rem);
}

.brand picture img,
.brand img {
  width: clamp(100px, 16.25vh, 150px);
  height: auto;
}

.wordmark {
  margin: 0;
  font-family: var(--brand);
  font-size: clamp(1.44rem, 3.15vh, 1.95rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--forest);
}

.status {
  margin: 0;
  max-width: 100%;
  font-size: clamp(0.8rem, 1.8vh, 0.92rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-indent: 0.12em;
  text-transform: uppercase;
  line-height: 1.35;
  white-space: nowrap;
  color: var(--muted);
}

.support {
  margin: 0;
  max-width: 24em;
  font-size: clamp(0.95rem, 2.1vh, 1.15rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--body);
}

h1 {
  margin: 0;
  max-width: 11em;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(2.5rem, 2.75vw + 3.25vh, 5.75rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--ink);
  text-wrap: balance;
}

.soon {
  margin: 0;
}

.soon-text {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.2rem, 4.5vh, 3.15rem);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--leaf);
  white-space: nowrap;
}

.indicator {
  width: clamp(55px, 8.5vh, 72px);
  height: clamp(55px, 8.5vh, 72px);
  margin: 0;
}

.indicator svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.track,
.arc {
  fill: none;
  stroke-width: 1.75;
  transform-box: fill-box;
  transform-origin: center;
  transform: rotate(-90deg);
}

.track {
  stroke: rgba(1, 62, 32, 0.16);
}

.arc {
  stroke-linecap: round;
  stroke-dasharray: 163.36;
  stroke-dashoffset: 163.36;
  animation: draw 2.4s var(--ease) 0.55s forwards;
}

.core {
  fill: var(--gold);
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 4.8s ease-in-out infinite;
}

.tagline {
  margin: 0;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 3.5vh, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--forest);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 54px;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: clamp(0.92rem, 1.9vh, 1.12rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn svg {
  flex: none;
}

.btn-ig {
  color: var(--forest);
  background: rgba(255, 252, 247, 0.72);
  border-color: rgba(1, 62, 32, 0.16);
  box-shadow: 0 10px 24px -18px rgba(1, 62, 32, 0.55);
}

.btn-ig:hover {
  background: rgba(1, 62, 32, 0.05);
  border-color: rgba(1, 62, 32, 0.32);
  transform: translateY(-2px);
}

.btn-mail {
  color: #f6f3ec;
  background: var(--forest);
  box-shadow: 0 12px 28px -16px rgba(1, 62, 32, 0.7);
}

.btn-mail:hover {
  background: #024e28;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -16px rgba(1, 62, 32, 0.75);
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

.btn:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 3px;
}

footer {
  position: relative;
  z-index: 1;
  flex: none;
  padding: 0.15rem 1.4rem calc(1.45rem + env(safe-area-inset-bottom));
  text-align: center;
}

footer p {
  margin: 0;
  font-size: clamp(0.8rem, 1.6vh, 0.94rem);
  letter-spacing: 0.04em;
  color: #5c6f63;
}

.enter {
  animation: enter 0.95s var(--ease) both;
}

.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.28s; }
.d4 { animation-delay: 0.4s; }
.d5 { animation-delay: 0.52s; }
.d6 { animation-delay: 0.64s; }
.d7 { animation-delay: 0.76s; }
.d8 { animation-delay: 0.88s; }
.d9 { animation-delay: 1s; }
.d10 { animation-delay: 1.12s; }

@keyframes enter {
  from {
    opacity: 0;
    translate: 0 16px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 45.74;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.72);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

@keyframes sun {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

@media (min-width: 720px) {
  .status {
    letter-spacing: 0.18em;
    text-indent: 0.18em;
  }
}

@media (min-width: 1100px) {
  .bg-figure {
    width: min(460px, 32vw);
    top: 56%;
    opacity: 0.18;
  }
}

@media (max-width: 380px) {
  .status {
    letter-spacing: 0.08em;
    text-indent: 0.08em;
    font-size: 0.52rem;
  }

  .btn {
    padding-inline: 0.7rem;
  }
}

@media (max-height: 640px) {
  main {
    gap: 0.22rem;
    padding-block: 0.4rem 0.15rem;
  }

  .brand picture img {
    width: clamp(44px, 8vh, 64px);
  }

  h1 {
    font-size: clamp(1.35rem, 4.2vh, 2rem);
  }

  .soon-text {
    font-size: clamp(1.15rem, 2.8vh, 1.6rem);
  }

  .support {
    font-size: clamp(0.78rem, 2vh, 0.95rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .enter,
  .sun,
  .core,
  .arc {
    animation: none;
  }

  .enter {
    opacity: 1;
  }

  .arc {
    stroke-dashoffset: 45.74;
  }

  .core {
    opacity: 1;
  }

  .btn {
    transition: none;
  }
}
