/*
Theme Name: MiSpace Connect Coming Soon
Theme URI: https://mispaceconnect.com
Author: MiSpace Connect
Description: Branded coming-soon landing page for MiSpace Connect — professional property management and business support across London.
Version: 1.2.0
Requires at least: 5.9
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mispace-coming-soon
*/

:root {
  --blue: #7eb8d4;
  --ink: #0a0c0e;
  --white: #f7f9fa;
  --muted: #9aa4ad;
  --line: rgba(255, 255, 255, 0.12);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--white);
  background: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration: none;
}

/* Ambient backdrop */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.glow--one {
  width: 55vw;
  height: 55vw;
  min-width: 420px;
  min-height: 420px;
  top: -18%;
  left: -12%;
  background: radial-gradient(circle, rgba(126, 184, 212, 0.28), transparent 65%);
  animation: drift-one 16s ease-in-out infinite alternate;
}

.glow--two {
  width: 45vw;
  height: 45vw;
  min-width: 360px;
  min-height: 360px;
  bottom: -20%;
  right: -10%;
  background: radial-gradient(circle, rgba(126, 184, 212, 0.18), transparent 65%);
  animation: drift-two 20s ease-in-out infinite alternate;
}

@keyframes drift-one {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(6vw, 4vh) scale(1.08); }
}

@keyframes drift-two {
  from { transform: translate(0, 0) scale(1.05); }
  to { transform: translate(-5vw, -4vh) scale(1); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 35%, transparent 100%);
}

/* Layout */
.wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.5rem 1.5rem;
}

.brand {
  width: min(320px, 76vw);
  height: auto;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: rise 1s var(--ease) 0.2s forwards;
}

.divider {
  width: 3.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  margin-bottom: 2.25rem;
  opacity: 0;
  animation: expand 1.1s var(--ease) 0.45s forwards;
}

@keyframes expand {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

.tag {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6.5vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
  opacity: 0;
  animation: rise 1s var(--ease) 0.55s forwards;
}

.tag::first-letter {
  color: var(--blue);
}

.lede {
  max-width: 32rem;
  margin: 1.4rem 0 0;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  opacity: 0;
  animation: rise 1s var(--ease) 0.7s forwards;
}

.contact {
  margin-top: 2.75rem;
  opacity: 0;
  animation: rise 1s var(--ease) 0.85s forwards;
}

.contact .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 2.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(126, 184, 212, 0.55);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.contact .btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(126, 184, 212, 0.25);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 1.6rem 1.5rem 1.9rem;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.4rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .glow--one,
  .glow--two {
    animation: none;
  }

  .brand,
  .divider,
  .tag,
  .lede,
  .contact {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
