:root {
  --ink: #13100e;
  --paper: #f1e9dc;
  --muted: #a79d91;
  --ember: #d87843;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

.foundry-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 4rem);
  background:
    linear-gradient(rgba(241, 233, 220, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 233, 220, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 50% 42%, #2a1a13 0, var(--ink) 48%);
  background-size: 72px 72px, 72px 72px, auto;
}

.foundry-shell::before,
.foundry-shell::after {
  position: absolute;
  z-index: -1;
  width: min(26vw, 23rem);
  height: min(26vw, 23rem);
  border: 1px solid rgba(241, 233, 220, 0.07);
  border-radius: 50%;
  content: "";
}

.foundry-shell::before {
  top: clamp(-10rem, -12vw, -3rem);
  left: clamp(-10rem, -12vw, -3rem);
}

.foundry-shell::after {
  right: clamp(-10rem, -12vw, -3rem);
  bottom: clamp(-10rem, -12vw, -3rem);
}

.ambient-light {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(72vw, 56rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 120, 67, 0.12), transparent 67%);
  filter: blur(8px);
  animation: breathe 8s ease-in-out infinite;
}

.hero {
  display: flex;
  align-self: center;
  flex-direction: column;
  align-items: center;
  max-width: 68rem;
  margin: auto;
  padding: 3rem 0;
  text-align: center;
}

.monogram {
  display: flex;
  width: 4.5rem;
  height: 4.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  margin-bottom: clamp(2.5rem, 6vh, 5rem);
  border: 1px solid rgba(241, 233, 220, 0.22);
  border-radius: 50%;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.96rem;
  letter-spacing: 0.08em;
}

.monogram i {
  display: block;
  width: 1px;
  height: 1.35rem;
  transform: rotate(24deg);
  background: var(--ember);
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--ember);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.9rem, 8vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(110deg, #f5ecdf 10%, #c8b9a8 52%, #f5ecdf 88%);
  background-clip: text;
  -webkit-background-clip: text;
}

.coming-soon {
  margin: clamp(1.75rem, 4vh, 3rem) 0 0;
  color: var(--muted);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  letter-spacing: 0.05em;
}

footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #776f67;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-rule {
  width: 2.5rem;
  height: 1px;
  background: #4d4640;
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.65;
    transform: translate(-50%, -50%) scale(0.94);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@media (max-width: 640px) {
  .foundry-shell {
    background-size: 48px 48px, 48px 48px, auto;
  }

  footer {
    justify-content: center;
  }

  footer > :first-child,
  .footer-rule {
    display: none;
  }
}

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