:root {
  color-scheme: dark;
  --bg: #a31621;
  --bg-soft: #8f111a;
  --card: rgba(163, 22, 33, 0.74);
  --card-border: rgba(252, 247, 248, 0.14);
  --text: #fcf7f8;
  --muted: rgba(252, 247, 248, 0.82);
  --accent: #ffd7da;
  --accent-2: #ffe9eb;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(252, 247, 248, 0.12), transparent 26%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(135deg, var(--bg), var(--bg-soft) 55%, var(--bg));
  overflow: hidden;
  isolation: isolate;
}

.social-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.social-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(252, 247, 248, 0.12), transparent 12%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.1), transparent 11%),
    radial-gradient(circle at 74% 76%, rgba(252, 247, 248, 0.08), transparent 12%),
    radial-gradient(circle at 10% 78%, rgba(255, 255, 255, 0.08), transparent 10%);
  opacity: 0.8;
  animation: social-glow 10s ease-in-out infinite alternate;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 12px;
  position: relative;
  z-index: 1;
}

.backdrop-node,
.backdrop-line,
.social-card {
  position: absolute;
}

.backdrop-node {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-2), rgba(252, 247, 248, 0.7));
  box-shadow: 0 0 0 10px rgba(252, 247, 248, 0.06), 0 0 26px rgba(252, 247, 248, 0.22);
  animation: node-float 8s ease-in-out infinite;
}

.backdrop-node::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 1px solid rgba(252, 247, 248, 0.18);
  animation: node-ring 3.6s ease-out infinite;
}

.node-a {
  top: 18%;
  left: 14%;
}

.node-b {
  top: 28%;
  right: 18%;
  animation-delay: -1.6s;
}

.node-c {
  bottom: 24%;
  left: 24%;
  animation-delay: -3.2s;
}

.node-d {
  bottom: 18%;
  right: 24%;
  animation-delay: -4.8s;
}

.backdrop-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(252, 247, 248, 0.44), transparent);
  transform-origin: left center;
  opacity: 0.55;
  animation: line-flow 9s ease-in-out infinite;
}

.line-a {
  top: 24%;
  left: 17%;
  width: 40%;
  transform: rotate(12deg);
}

.line-b {
  top: 34%;
  right: 14%;
  width: 34%;
  transform: rotate(-14deg);
  animation-delay: -2.3s;
}

.line-c {
  bottom: 28%;
  left: 22%;
  width: 46%;
  transform: rotate(-8deg);
  animation-delay: -4.1s;
}

.social-card {
  width: 180px;
  padding: 14px 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(252, 247, 248, 0.12);
  background: linear-gradient(180deg, rgba(252, 247, 248, 0.12), rgba(252, 247, 248, 0.05));
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  animation: card-float 12s ease-in-out infinite;
}

.social-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 50%);
  opacity: 0.5;
}

.social-card-a {
  top: 12%;
  right: 10%;
  animation-delay: -1s;
}

.social-card-b {
  bottom: 18%;
  left: 8%;
  animation-delay: -4s;
}

.social-card-c {
  top: 46%;
  right: 6%;
  width: 160px;
  animation-delay: -7s;
}

.social-card-d {
  top: 10%;
  left: 7%;
  width: 168px;
  animation-delay: -9s;
}

.card-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.card-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 6px rgba(252, 247, 248, 0.08);
}

.card-dot.accent {
  background: #ffc8cf;
}

.card-title {
  position: relative;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(252, 247, 248, 0.95);
}

.card-line {
  position: relative;
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(252, 247, 248, 0.14);
  margin-top: 8px;
  overflow: hidden;
}

.card-line::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 50%;
  background: linear-gradient(90deg, transparent, rgba(252, 247, 248, 0.34), transparent);
  transform: translateX(-120%);
  animation: card-shimmer 4.8s linear infinite;
}

.card-line.short {
  width: 64%;
}

.construction-card {
  width: min(920px, 100%);
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--card-border);
  background: linear-gradient(180deg, rgba(163, 22, 33, 0.88), rgba(143, 17, 26, 0.78));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.construction-card::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -18%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(252, 247, 248, 0.1), transparent 68%);
  pointer-events: none;
}

.construction-card::after {
  content: "";
  position: absolute;
  inset: auto -12% -28% auto;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 66%);
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(252, 247, 248, 0.18);
  color: var(--text);
  background: rgba(252, 247, 248, 0.08);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-row {
  margin-top: 14px;
  display: flex;
  align-items: center;
}

.brand-logo {
  width: min(150px, 42vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24));
}

.eyebrow {
  margin: 16px 0 8px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-2);
}

h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4.3vw, 3.4rem);
  line-height: 0.98;
  max-width: 10ch;
}

.lead {
  margin: 10px 0 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  line-height: 1.45;
}

.contact-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-card {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(252, 247, 248, 0.1);
  background: rgba(252, 247, 248, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(252, 247, 248, 0.26);
  background: rgba(252, 247, 248, 0.1);
}

.contact-card.primary {
  background: linear-gradient(135deg, rgba(252, 247, 248, 0.14), rgba(255, 255, 255, 0.08));
  border-color: rgba(252, 247, 248, 0.22);
}

.contact-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-2);
}

.contact-value {
  font-size: 0.92rem;
  font-weight: 600;
  word-break: break-word;
}

.status-row {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(252, 247, 248, 0.06);
  border: 1px solid rgba(252, 247, 248, 0.1);
  font-size: 0.8rem;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(252, 247, 248, 0.55);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(252, 247, 248, 0.52);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(252, 247, 248, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(252, 247, 248, 0);
  }
}

@keyframes social-glow {
  0% {
    transform: scale(1);
    opacity: 0.65;
  }
  100% {
    transform: scale(1.05);
    opacity: 0.95;
  }
}

@keyframes node-float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(18px, -14px, 0) scale(1.08);
  }
}

@keyframes node-ring {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

@keyframes line-flow {
  0% {
    opacity: 0.35;
    transform: translateX(0) scaleX(1);
  }
  50% {
    opacity: 0.72;
    transform: translateX(8px) scaleX(1.08);
  }
  100% {
    opacity: 0.42;
    transform: translateX(0) scaleX(1);
  }
}

@keyframes card-float {
  0% {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }
  50% {
    transform: translate3d(0, -14px, 0) rotate(1deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }
}

@keyframes card-shimmer {
  0% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(230%);
  }
}

@media (prefers-reduced-motion: reduce) {
  body,
  .social-backdrop::before,
  .backdrop-node,
  .backdrop-node::after,
  .backdrop-line,
  .social-card,
  .card-line::after,
  .construction-card::before,
  .construction-card::after,
  .pulse {
    animation: none;
  }

  .social-backdrop::before,
  .backdrop-node,
  .backdrop-line,
  .social-card {
    opacity: 0.25;
  }
}

@media (max-width: 720px) {
  .construction-card {
    border-radius: 18px;
    padding: 16px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }

  .brand-logo {
    width: min(130px, 44vw);
  }

  .lead {
    font-size: 0.84rem;
  }

  .contact-card {
    padding: 11px 12px;
  }
}