/*
Theme Name: Nocturne Under Construction
Theme URI: https://example.com/nocturne-under-construction
Author: OpenAI
Description: A focused dark-mode under-construction page with a refined, responsive presentation.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: nocturne-under-construction
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  color-scheme: dark;
  --background: #07090d;
  --surface: rgba(18, 21, 29, 0.74);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f4f6fa;
  --muted: #a9b0bd;
  --accent: #8ca8ff;
  --accent-strong: #b4c4ff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 16%, rgba(76, 108, 190, 0.18), transparent 34rem),
    radial-gradient(circle at 82% 84%, rgba(119, 80, 172, 0.12), transparent 30rem),
    var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.site-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1rem, 2.5vw, 2rem);
}

.site-header,
.site-footer {
  width: min(100%, 74rem);
  margin-inline: auto;
}

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

.site-brand {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-brand .custom-logo-link {
  display: block;
  line-height: 0;
}

.site-brand .custom-logo {
  display: block;
  width: auto;
  max-width: min(14rem, 52vw);
  height: auto;
  max-height: 3rem;
}

.site-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-status::before {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.28rem rgba(140, 168, 255, 0.1), 0 0 1rem rgba(140, 168, 255, 0.65);
  content: "";
}

.construction-main {
  display: grid;
  place-items: center;
  padding-block: clamp(1.25rem, 4vh, 3rem);
}

.construction-card {
  position: relative;
  width: min(100%, 48rem);
  padding: clamp(1.75rem, 5vw, 3.75rem);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: clamp(1.5rem, 3vw, 2.4rem);
  background: linear-gradient(145deg, rgba(23, 27, 37, 0.88), var(--surface));
  box-shadow: 0 2.5rem 7rem rgba(0, 0, 0, 0.38), inset 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.construction-card::after {
  position: absolute;
  top: -8rem;
  right: -8rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(180, 196, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 5rem rgba(110, 139, 230, 0.13), inset 0 0 4rem rgba(110, 139, 230, 0.08);
  content: "";
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1rem;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.construction-title {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5.25rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.92;
  text-wrap: balance;
}

.construction-copy {
  max-width: 34rem;
  margin: clamp(1.25rem, 3vw, 1.8rem) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #747b87;
  font-size: 0.78rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 40rem) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .construction-card {
    padding-block: 2.25rem;
  }

  .construction-title {
    letter-spacing: -0.055em;
  }
}

@media (max-height: 42rem) {
  .site-shell {
    padding-block: 0.8rem;
  }

  .construction-main {
    padding-block: 0.8rem;
  }

  .construction-card {
    padding-block: 1.6rem;
  }

  .construction-title {
    font-size: clamp(2.25rem, 8vh, 4.25rem);
  }

  .construction-copy {
    margin-top: 1rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .construction-card {
    animation: reveal 700ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
  }

  @keyframes reveal {
    from {
      opacity: 0;
      transform: translateY(1rem);
    }

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

@media (forced-colors: active) {
  .construction-card {
    border: 2px solid CanvasText;
  }
}

