:root {
  --olive-950: #182014;
  --olive-500: #8b986c;
  --olive-300: #c2cba8;
  --cream: #f1f0e6;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--olive-950);
}

body {
  color: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
}

.site-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  overflow: hidden;
  padding: 36px 48px 30px;
  background:
    radial-gradient(circle at 50% 44%, rgba(130, 146, 100, 0.12), transparent 38%),
    linear-gradient(145deg, #1a2316 0%, #202a1a 50%, #172013 100%);
}

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

.ambient {
  position: absolute;
  z-index: -2;
  width: 46vw;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.3;
  animation: drift 14s ease-in-out infinite alternate;
}

.ambient-one {
  top: -30vw;
  right: -11vw;
  background: radial-gradient(circle at 30% 35%, rgba(178, 192, 141, 0.5), rgba(63, 79, 49, 0) 67%);
}

.ambient-two {
  bottom: -38vw;
  left: -13vw;
  background: radial-gradient(circle at 62% 38%, rgba(141, 154, 107, 0.35), rgba(51, 68, 40, 0) 68%);
  animation-delay: -7s;
}

.header, .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header { animation: appear 0.9s ease both; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 25px;
  height: 28px;
}

.brand-mark span {
  position: absolute;
  width: 12px;
  height: 22px;
  border: 1.5px solid var(--olive-300);
  border-radius: 100% 0 100% 0;
  transform: rotate(-32deg);
}

.brand-mark span:first-child { left: 3px; top: 0; }
.brand-mark span:last-child { right: 1px; bottom: 0; transform: rotate(148deg); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--olive-300);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b4c589;
  box-shadow: 0 0 0 0 rgba(180, 197, 137, 0.45);
  animation: pulse 2.4s ease-out infinite;
}

.hero {
  align-self: center;
  width: min(100%, 900px);
  margin: 4vh auto 7vh;
  text-align: center;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--olive-300);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  animation: rise 0.9s 0.1s ease both;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 8.6vw, 8.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.86;
  animation: rise 1s 0.2s cubic-bezier(.2,.7,.2,1) both;
}

h1 em { color: var(--olive-500); font-weight: 400; }

.message {
  margin: 40px auto 0;
  color: rgba(241, 240, 230, 0.66);
  font-size: clamp(0.95rem, 1.4vw, 1.12rem);
  line-height: 1.75;
  animation: rise 1s 0.4s ease both;
}

.progress {
  width: 132px;
  height: 1px;
  margin: 40px auto 0;
  overflow: hidden;
  background: rgba(194, 203, 168, 0.2);
  animation: appear 1s 0.65s ease both;
}

.progress span {
  display: block;
  width: 42%;
  height: 100%;
  background: var(--olive-300);
  animation: loading 2.8s ease-in-out infinite;
}

.footer {
  color: rgba(194, 203, 168, 0.52);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: appear 1s 0.8s ease both;
}

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

@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(180, 197, 137, 0); } }
@keyframes loading { 0% { transform: translateX(-125%); } 55%, 100% { transform: translateX(340%); } }
@keyframes drift { to { transform: translate3d(4vw, 2vw, 0) scale(1.08); } }

@media (max-width: 640px) {
  .site-shell { padding: 26px 22px 22px; }
  .status { font-size: 0; gap: 0; }
  .status-dot { width: 8px; height: 8px; }
  .hero { margin-bottom: 11vh; }
  .eyebrow { margin-bottom: 22px; }
  h1 { font-size: clamp(3.5rem, 18vw, 5.4rem); line-height: 0.9; }
  .message { margin-top: 30px; }
  .ambient { width: 90vw; }
  .ambient-one { top: -35vw; right: -38vw; }
  .ambient-two { bottom: -50vw; left: -42vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
