/*
Theme Name: Aunera Group — Coming Soon
Theme URI: https://auneragroup.co.za
Author: Aunera Group
Author URI: https://auneragroup.co.za
Description: Minimal, on-brand placeholder theme for Aunera Group — a boutique Data, AI and Technology consultancy. Displays a single refined "coming soon" page across all routes while the full site is being designed.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: Proprietary — Aunera Group
Text Domain: aunera-group-coming-soon
Tags: coming-soon, one-page, custom-colors, custom-logo
*/

/* ---------------------------------------------------------
   Brand tokens
   --------------------------------------------------------- */
:root {
    --navy:        #0B1B2B;   /* Midnight Navy   */
    --navy-deep:   #07111C;   /* deeper navy for vignette */
    --emerald:     #00A878;   /* Electric Emerald */
    --gold:        #C9A24B;   /* Warm Gold       */
    --cream:       #F4EFE6;   /* Warm off-white  */
    --muted:       rgba(244, 239, 230, 0.65);
    --hairline:    rgba(244, 239, 230, 0.18);

    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------------------------------------------------------
   Reset
   --------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
    font-family: var(--font-body);
    color: var(--cream);
    background: var(--navy);
    font-feature-settings: "ss01", "ss02";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ---------------------------------------------------------
   Atmospheric background
   --------------------------------------------------------- */
.stage {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 168, 120, 0.10), transparent 60%),
        radial-gradient(ellipse 60% 40% at 90% 100%, rgba(201, 162, 75, 0.08), transparent 60%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}

/* Subtle grain — keeps the navy from feeling flat */
.stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Hairline grid lines, very faint */
.stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, var(--hairline) 1px, transparent 1px),
        linear-gradient(to bottom, var(--hairline) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.25;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* ---------------------------------------------------------
   Layout
   --------------------------------------------------------- */
.shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 5vw, 4rem);
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */
.brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--hairline);
    animation: fadeIn 0.9s ease-out both;
}

.brand-mark {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--cream);
}

.brand-mark em {
    font-style: italic;
    color: var(--gold);
    font-weight: 400;
}

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

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 0 0 rgba(0, 168, 120, 0.6);
    animation: pulse 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    padding: clamp(3rem, 10vh, 8rem) 0;
    gap: 2.5rem;
}

.eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--emerald);
    font-weight: 500;
    animation: fadeUp 0.9s 0.1s ease-out both;
}

.eyebrow::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--emerald);
    vertical-align: middle;
    margin-right: 0.85rem;
    transform: translateY(-2px);
}

.headline {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: var(--cream);
    max-width: 14ch;
    animation: fadeUp 1s 0.2s ease-out both;
}

.headline em {
    font-style: italic;
    color: var(--gold);
    font-weight: 400;
}

.lede {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.7;
    color: var(--muted);
    max-width: 52ch;
    animation: fadeUp 1s 0.35s ease-out both;
}

/* ---------------------------------------------------------
   Footer / contact strip
   --------------------------------------------------------- */
.foot {
    border-top: 1px solid var(--hairline);
    padding-top: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    animation: fadeIn 1s 0.5s ease-out both;
}

@media (min-width: 720px) {
    .foot {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

.foot-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.foot-label {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
}

.foot-value {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--cream);
    font-weight: 400;
}

.foot-value a {
    color: var(--cream);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.foot-value a:hover,
.foot-value a:focus-visible {
    color: var(--gold);
    border-bottom-color: var(--gold);
    outline: none;
}

.copyright {
    grid-column: 1 / -1;
    padding-top: 1.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--hairline);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
}

/* ---------------------------------------------------------
   Animations
   --------------------------------------------------------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(0, 168, 120, 0.55); }
    70%  { box-shadow: 0 0 0 10px rgba(0, 168, 120, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 168, 120, 0); }
}

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