/* =============================================
   SBRTL – Under Construction Page
   Clean · Light Mode · Mobile-first · Academic
============================================= */

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

:root {
    --primary:   #00334f;
    --secondary: #006591;
    --accent:    #0ea5e9;
    --bg:        #f8f9ff;
    --surface:   #ffffff;
    --border:    rgba(193, 199, 207, 0.45);
    --muted:     #5a6a7a;
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html, body {
    height: 100%;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--primary);
    -webkit-font-smoothing: antialiased;
}

/* ── Full-page flex column ── */
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 1.5rem;
    text-align: center;

    /* Subtle dot grid background */
    background-image: radial-gradient(circle, rgba(12,74,110,0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: center center;
}

/* ── Logo row ── */
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: fadeDown 0.7s ease both;
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
}

.org-name {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    text-align: left;
}

.org-sub {
    font-size: 0.62rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.3px;
    text-align: left;
}

/* ── Central content ── */
.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 680px;
    width: 100%;
    animation: fadeUp 0.8s 0.15s ease both;
}

/* ── "Site Under Construction" badge ── */
.under-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--secondary);
    background: rgba(0, 101, 145, 0.07);
    border: 1px solid rgba(0, 101, 145, 0.18);
    padding: 8px 20px;
    border-radius: 999px;
}

.dot-blink {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #d97706;
    border-radius: 50%;
    animation: blink 1.6s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.3; transform: scale(0.7); }
}

/* ── Big headline ── */
.big-title {
    font-family: var(--font-head);
    font-size: clamp(2.8rem, 9vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--primary);
}

.highlight {
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Description ── */
.description {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    color: var(--muted);
    line-height: 1.75;
    max-width: 520px;
}

/* ── Divider ── */
.divider-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

/* ── Org name block ── */
.org-full {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.7;
}

.org-full strong {
    color: var(--primary);
    font-weight: 600;
}

/* ── Footer ── */
.foot {
    font-size: 0.73rem;
    color: var(--muted);
    opacity: 0.75;
    animation: fadeDown 0.7s 0.3s ease both;
}

/* ── Animations ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Mobile tweaks ── */
@media (max-width: 480px) {
    .page { padding: 2rem 1.25rem; }
    .org-sub { display: none; }
    .big-title { font-size: 2.6rem; }
    .logo-img { width: 40px; height: 40px; }
    .org-name { font-size: 1rem; }
}
