:root {
  --paper: #f5f3ec;
  --paper-deep: #e9eee7;
  --surface: rgba(255, 255, 255, 0.72);
  --ink: #24312f;
  --muted: #66736e;
  --line: rgba(36, 49, 47, 0.12);
  --sage: #8ea694;
  --moss: #506b5b;
  --blue: #789eb0;
  --clay: #c98268;
  --gold: #d3ad55;
  --plum: #7b6b84;
  --shadow: 0 26px 90px rgba(39, 50, 46, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 18% 18%, rgba(120, 158, 176, 0.22), transparent 28%),
    radial-gradient(circle at 88% 80%, rgba(201, 130, 104, 0.18), transparent 30%),
    linear-gradient(135deg, var(--paper), var(--paper-deep));
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  margin: 0;
  min-height: 100vh;
}

body::before {
  animation: grain-shift 8s steps(2, end) infinite;
  background-image:
    linear-gradient(rgba(36, 49, 47, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 49, 47, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  inset: 0;
  opacity: 0.44;
  pointer-events: none;
  position: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

.coming-soon {
  display: grid;
  grid-template-rows: auto 1fr auto;
  margin: 0 auto;
  max-width: var(--max);
  min-height: 100vh;
  padding: 28px;
  position: relative;
  z-index: 1;
}

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

.brand,
.social-link {
  align-items: center;
  display: inline-flex;
}

.brand {
  font-size: 1.08rem;
  font-weight: 790;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.38)),
    linear-gradient(135deg, var(--sage), var(--blue) 62%, var(--clay));
  border: 1px solid rgba(36, 49, 47, 0.08);
  border-radius: 8px;
  display: inline-flex;
  height: 31px;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 31px;
}

.brand-mark::before {
  animation: brand-sweep 4.8s ease-in-out infinite;
  background: rgba(255, 255, 255, 0.46);
  content: "";
  height: 64px;
  position: absolute;
  transform: rotate(36deg);
  width: 10px;
}

.brand-mark span {
  background: var(--ink);
  border-radius: 999px;
  height: 7px;
  opacity: 0.56;
  position: relative;
  width: 7px;
  z-index: 1;
}

.social-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 720;
  min-height: 42px;
  padding: 0 15px;
}

.social-link:hover,
.social-link:focus-visible {
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  outline: none;
}

.hero {
  align-items: center;
  display: grid;
  gap: 52px;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
  padding: 70px 0 62px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 16px;
  text-transform: uppercase;
}

h1,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 7.5vw, 6.6rem);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 0.91;
  margin-bottom: 26px;
}

.hero-deck {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 600px;
}

.focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.focus-list span {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 740;
  padding: 10px 14px;
}

.lifestyle-animation {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  min-height: 420px;
  overflow: hidden;
  position: relative;
}

.lifestyle-animation::before {
  animation: breathe 6.5s ease-in-out infinite;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.68), transparent 58%),
    conic-gradient(from 120deg, rgba(142, 166, 148, 0.2), rgba(120, 158, 176, 0.26), rgba(201, 130, 104, 0.18), rgba(211, 173, 85, 0.22), rgba(142, 166, 148, 0.2));
  border: 1px solid rgba(36, 49, 47, 0.08);
  border-radius: inherit;
  box-shadow: var(--shadow);
  content: "";
  inset: 20px;
  position: absolute;
}

.lifestyle-animation::after {
  background:
    linear-gradient(rgba(36, 49, 47, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 49, 47, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  border-radius: inherit;
  content: "";
  inset: 20px;
  mask-image: radial-gradient(circle, black, transparent 68%);
  opacity: 0.6;
  position: absolute;
}

.orbit {
  animation: turn 18s linear infinite;
  border: 1px solid rgba(36, 49, 47, 0.13);
  border-radius: 50%;
  inset: 14%;
  position: absolute;
}

.orbit::before {
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 9px rgba(211, 173, 85, 0.16);
  content: "";
  height: 10px;
  left: 50%;
  position: absolute;
  top: -5px;
  transform: translateX(-50%);
  width: 10px;
}

.orbit-two {
  animation-duration: 26s;
  animation-direction: reverse;
  border-color: rgba(80, 107, 91, 0.16);
  inset: 24%;
}

.orbit-two::before {
  background: var(--sage);
  box-shadow: 0 0 0 9px rgba(142, 166, 148, 0.16);
}

.orbit-three {
  animation-duration: 34s;
  border-color: rgba(120, 158, 176, 0.18);
  inset: 34%;
}

.orbit-three::before {
  background: var(--blue);
  box-shadow: 0 0 0 9px rgba(120, 158, 176, 0.15);
}

.habit-tile {
  align-items: center;
  animation: float-node 5.8s ease-in-out infinite;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(36, 49, 47, 0.1);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(39, 50, 46, 0.1);
  color: rgba(36, 49, 47, 0.72);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 9px;
  height: 48px;
  justify-content: center;
  padding: 0 14px;
  position: absolute;
  text-transform: uppercase;
  width: 112px;
  z-index: 3;
}

.tile-dot {
  animation: glow-dot 3.6s ease-in-out infinite;
  background: var(--sage);
  border-radius: 999px;
  display: block;
  height: 9px;
  width: 9px;
}

.tile-one {
  left: 9%;
  top: 17%;
}

.tile-two {
  animation-delay: -1.4s;
  right: 6%;
  top: 24%;
}

.tile-two .tile-dot {
  background: var(--blue);
}

.tile-three {
  animation-delay: -2.6s;
  bottom: 16%;
  left: 12%;
}

.tile-three .tile-dot {
  background: var(--gold);
}

.tile-four {
  animation-delay: -3.8s;
  bottom: 10%;
  right: 14%;
}

.tile-four .tile-dot {
  background: var(--clay);
}

.tile-five {
  animation-delay: -0.7s;
  left: 32%;
  top: 5%;
}

.tile-five .tile-dot {
  background: var(--plum);
}

.tile-six {
  animation-delay: -4.9s;
  bottom: 8%;
  right: 30%;
}

.tile-six .tile-dot {
  background: var(--moss);
}

.dwelling-card {
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(36, 49, 47, 0.12);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(39, 50, 46, 0.10);
  left: 50%;
  overflow: hidden;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(56%, 310px);
  z-index: 4;
}

.window-scene {
  background:
    linear-gradient(180deg, rgba(120, 158, 176, 0.28), rgba(142, 166, 148, 0.16)),
    rgba(255, 255, 255, 0.54);
  border-bottom: 1px solid rgba(36, 49, 47, 0.09);
  height: 132px;
  overflow: hidden;
  position: relative;
}

.sun {
  animation: sun-drift 8s ease-in-out infinite;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(211, 173, 85, 0.16);
  height: 38px;
  left: 34px;
  position: absolute;
  top: 28px;
  width: 38px;
}

.horizon {
  background:
    linear-gradient(135deg, transparent 45%, rgba(80, 107, 91, 0.24) 46%),
    linear-gradient(45deg, rgba(120, 158, 176, 0.22) 42%, transparent 43%);
  bottom: 0;
  height: 70px;
  left: 0;
  position: absolute;
  right: 0;
}

.room-line {
  background: rgba(36, 49, 47, 0.12);
  border-radius: 999px;
  height: 11px;
  margin-left: 22px;
}

.room-line-one {
  margin-top: 22px;
  width: 68%;
}

.room-line-two {
  margin-top: 12px;
  width: 48%;
}

.room-shelf {
  align-items: end;
  border-top: 1px solid rgba(36, 49, 47, 0.14);
  display: flex;
  gap: 12px;
  height: 72px;
  margin: 24px 22px 22px;
  padding-top: 12px;
}

.room-shelf span {
  animation: shelf-breathe 4.8s ease-in-out infinite;
  background: var(--sage);
  border-radius: 6px 6px 3px 3px;
  display: block;
  height: 34px;
  width: 30px;
}

.room-shelf span:nth-child(2) {
  animation-delay: -1.2s;
  background: var(--blue);
  height: 46px;
}

.room-shelf span:nth-child(3) {
  animation-delay: -2.4s;
  background: var(--clay);
  border-radius: 50% 50% 5px 5px;
  height: 38px;
  margin-left: auto;
  width: 42px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  gap: 18px;
  padding-top: 22px;
}

.site-footer p {
  margin: 0;
}

.site-footer span {
  color: var(--ink);
  font-weight: 760;
}

@keyframes turn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.985);
  }

  50% {
    transform: scale(1.025);
  }
}

@keyframes float-node {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes glow-dot {
  0%,
  100% {
    box-shadow: 0 0 0 6px rgba(142, 166, 148, 0.12);
    transform: scale(0.92);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(142, 166, 148, 0.2);
    transform: scale(1);
  }
}

@keyframes sun-drift {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(18px, 8px);
  }
}

@keyframes shelf-breathe {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes brand-sweep {
  0%,
  100% {
    left: -34px;
  }

  48%,
  58% {
    left: 54px;
  }
}

@keyframes grain-shift {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-12px, 8px);
  }
}

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

@media (max-width: 900px) {
  .coming-soon {
    min-height: auto;
  }

  .hero {
    gap: 34px;
    grid-template-columns: 1fr;
    padding: 58px 0 44px;
  }

  .lifestyle-animation {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .coming-soon {
    padding: 20px;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 3.3rem;
  }

  .lifestyle-animation {
    min-height: 330px;
  }

  .lifestyle-animation::before,
  .lifestyle-animation::after {
    inset: 8px;
  }

  .orbit {
    z-index: 5;
  }

  .habit-tile {
    height: 42px;
    width: 92px;
    z-index: 5;
  }

  .dwelling-card {
    width: 68%;
  }
}
