:root {
  color-scheme: light;
  --cream: #f7f2e7;
  --paper: #fffdf7;
  --green: #15382f;
  --green-soft: #4f695a;
  --brown: #804c27;
  --lime: #a2c554;
  --line: rgba(21, 56, 47, 0.22);
  --pointer-x: 50%;
  --pointer-y: 40%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--cream);
  color: var(--green);
  font-family: "Avenir Next", Avenir, Montserrat, "Helvetica Neue", Arial, sans-serif;
}

.construction {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 5rem) 1.5rem;
  background:
    radial-gradient(
      circle at var(--pointer-x) var(--pointer-y),
      rgba(255, 255, 255, 0.98) 0 8rem,
      rgba(255, 255, 255, 0.56) 22rem,
      transparent 42rem
    ),
    linear-gradient(145deg, #fbf8ef 0%, var(--cream) 52%, #eee7d7 100%);
  transition: background-position 180ms ease-out;
}

.construction::before,
.construction::after {
  position: absolute;
  width: min(26vw, 20rem);
  height: min(26vw, 20rem);
  border: 1px solid rgba(162, 197, 84, 0.28);
  border-radius: 50%;
  content: "";
}

.construction::before {
  top: -13vw;
  left: -10vw;
  box-shadow: 0 0 0 2.8rem rgba(162, 197, 84, 0.035);
}

.construction::after {
  right: -11vw;
  bottom: -13vw;
  box-shadow: 0 0 0 4.6rem rgba(128, 76, 39, 0.025);
}

.ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb,
.leaf {
  position: absolute;
  display: block;
}

.orb {
  border-radius: 50%;
  filter: blur(1px);
}

.orb-one {
  top: 11%;
  right: 8%;
  width: clamp(4rem, 10vw, 8rem);
  aspect-ratio: 1;
  border: 1px solid rgba(162, 197, 84, 0.38);
  box-shadow:
    inset 0 0 2rem rgba(162, 197, 84, 0.08),
    0 0 3rem rgba(162, 197, 84, 0.08);
}

.orb-two {
  bottom: 13%;
  left: 6%;
  width: clamp(2.8rem, 7vw, 5.5rem);
  aspect-ratio: 1;
  background: rgba(128, 76, 39, 0.055);
  box-shadow: 0 0 2.5rem rgba(128, 76, 39, 0.08);
}

.leaf {
  width: 0.75rem;
  height: 1.5rem;
  border-radius: 100% 0 100% 0;
  background: var(--lime);
  box-shadow: 0 0 1.4rem rgba(162, 197, 84, 0.36);
  opacity: 0.55;
}

.leaf-one {
  top: 28%;
  left: 12%;
  transform: rotate(32deg);
}

.leaf-two {
  right: 15%;
  bottom: 27%;
  width: 0.55rem;
  height: 1.1rem;
  transform: rotate(115deg);
}

.leaf-three {
  top: 16%;
  left: 28%;
  width: 0.42rem;
  height: 0.85rem;
  background: #8a5431;
  transform: rotate(72deg);
}

.frame {
  position: absolute;
  inset: clamp(0.8rem, 2vw, 1.5rem);
  border: 1px solid var(--line);
  pointer-events: none;
}

.frame::before,
.frame::after {
  position: absolute;
  width: 4rem;
  height: 4rem;
  border-color: var(--lime);
  content: "";
}

.frame::before {
  top: -1px;
  left: -1px;
  border-top: 3px solid var(--lime);
  border-left: 3px solid var(--lime);
}

.frame::after {
  right: -1px;
  bottom: -1px;
  border-right: 3px solid var(--lime);
  border-bottom: 3px solid var(--lime);
}

.brand-card {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 52rem);
  flex-direction: column;
  align-items: center;
  text-align: center;
  perspective: 900px;
}

.eyebrow {
  margin: 0 0 clamp(0.7rem, 1.8vw, 1.2rem);
  color: var(--brown);
  font-size: clamp(0.86rem, 1.45vw, 1.12rem);
  font-weight: 750;
  letter-spacing: 0.68em;
  line-height: 1;
  text-indent: 0.68em;
}

.logo-float {
  width: min(100%, 39rem);
  transform-origin: center;
}

.logo-tilt {
  position: relative;
  width: 100%;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 160ms ease-out;
  will-change: transform;
}

.logo-tilt::before {
  position: absolute;
  z-index: -1;
  inset: 10% 8%;
  border-radius: 50%;
  background: rgba(128, 76, 39, 0.12);
  content: "";
  filter: blur(2.5rem);
  opacity: 0.34;
  transform: translateZ(-2rem) scale(0.9);
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 1rem 1.6rem rgba(21, 56, 47, 0.08));
  transform: translateZ(1rem);
}

.divider {
  display: grid;
  width: min(100%, 25rem);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin: clamp(1rem, 3vw, 1.8rem) 0 clamp(1rem, 3vw, 1.6rem);
}

.divider-line {
  height: 1px;
  background: var(--line);
}

.divider img {
  display: block;
  width: clamp(2rem, 4vw, 2.75rem);
  height: auto;
  opacity: 0.88;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 4.2vw, 3.15rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.08;
}

.message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0.8rem 0 0;
  color: var(--green-soft);
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  letter-spacing: 0.08em;
}

.status-dot {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(162, 197, 84, 0.45);
}

@media (max-width: 560px) {
  .construction {
    padding-inline: 2rem;
  }

  .logo-float {
    width: min(100%, 31rem);
  }

  .eyebrow {
    letter-spacing: 0.5em;
    text-indent: 0.5em;
  }

  h1 {
    max-width: 18rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .brand-card {
    animation: arrive 700ms ease-out both;
  }

  .construction::before {
    animation: slow-orbit 16s ease-in-out infinite alternate;
  }

  .construction::after {
    animation: slow-orbit 20s ease-in-out -7s infinite alternate-reverse;
  }

  .frame::before,
  .frame::after {
    animation: corner-breathe 3.8s ease-in-out infinite;
  }

  .logo-float {
    animation: logo-float 5s ease-in-out 700ms infinite;
  }

  .divider-line {
    background: linear-gradient(90deg, transparent, rgba(21, 56, 47, 0.36), transparent);
    background-size: 200% 100%;
    animation: line-flow 4s ease-in-out infinite;
  }

  h1 {
    background: linear-gradient(100deg, var(--green) 20%, #759b49 48%, var(--green) 72%);
    background-clip: text;
    background-size: 220% 100%;
    color: transparent;
    animation: ink-flow 6s ease-in-out infinite;
  }

  .status-dot {
    animation: status-pulse 2.2s ease-out infinite;
  }

  .orb-one {
    animation: drift-one 9s ease-in-out infinite alternate;
  }

  .orb-two {
    animation: drift-two 11s ease-in-out -3s infinite alternate;
  }

  .leaf-one {
    animation: leaf-one 8s ease-in-out infinite;
  }

  .leaf-two {
    animation: leaf-two 9s ease-in-out -3s infinite;
  }

  .leaf-three {
    animation: leaf-three 7s ease-in-out -5s infinite;
  }

  @keyframes arrive {
    from {
      opacity: 0;
      transform: translateY(0.75rem);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes logo-float {
    0%,
    100% {
      transform: translateY(0) rotate(-0.25deg);
    }

    50% {
      transform: translateY(-0.65rem) rotate(0.25deg);
    }
  }

  @keyframes slow-orbit {
    from {
      transform: translate3d(-1rem, -0.5rem, 0) scale(0.96);
    }

    to {
      transform: translate3d(2.2rem, 1.4rem, 0) scale(1.08);
    }
  }

  @keyframes corner-breathe {
    0%,
    100% {
      opacity: 0.72;
    }

    50% {
      opacity: 1;
      filter: drop-shadow(0 0 0.45rem rgba(162, 197, 84, 0.35));
    }
  }

  @keyframes line-flow {
    0%,
    100% {
      background-position: 100% 0;
    }

    50% {
      background-position: 0 0;
    }
  }

  @keyframes ink-flow {
    0%,
    100% {
      background-position: 100% 0;
    }

    50% {
      background-position: 0 0;
    }
  }

  @keyframes status-pulse {
    70% {
      box-shadow: 0 0 0 0.55rem rgba(162, 197, 84, 0);
    }

    100% {
      box-shadow: 0 0 0 0 rgba(162, 197, 84, 0);
    }
  }

  @keyframes drift-one {
    from {
      transform: translate3d(0, 0, 0) rotate(0deg);
    }

    to {
      transform: translate3d(-2.5rem, 2rem, 0) rotate(24deg);
    }
  }

  @keyframes drift-two {
    from {
      transform: translate3d(0, 1rem, 0) scale(0.88);
    }

    to {
      transform: translate3d(2rem, -1.5rem, 0) scale(1.12);
    }
  }

  @keyframes leaf-one {
    0%,
    100% {
      transform: translate3d(0, 0, 0) rotate(32deg);
    }

    50% {
      transform: translate3d(2rem, -1.4rem, 0) rotate(110deg);
    }
  }

  @keyframes leaf-two {
    0%,
    100% {
      transform: translate3d(0, 0, 0) rotate(115deg);
    }

    50% {
      transform: translate3d(-1.6rem, 1.7rem, 0) rotate(190deg);
    }
  }

  @keyframes leaf-three {
    0%,
    100% {
      transform: translate3d(0, 0, 0) rotate(72deg);
    }

    50% {
      transform: translate3d(0.8rem, 1.6rem, 0) rotate(160deg);
    }
  }
}
