/* ===========================================================
   Whānau Joe — Coming Soon
   Dragon & Taniwha intertwined theme
   =========================================================== */

:root {
    --ink:        #eaf6f4;
    --ink-soft:   #b9d3cf;
    --gold:       #f0a92e;
    --gold-light: #ffd97a;
    --teal:       #1fb6a6;
    --teal-light: #7ff0d4;
    --bg-0:       #071720;
    --bg-1:       #0b1f2a;
    --bg-2:       #123243;
    --card:       rgba(12, 34, 45, 0.72);
    --card-border:rgba(127, 240, 212, 0.18);
    --radius:     18px;
    --maxw:       720px;
    --shadow:     0 24px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg-0);
    line-height: 1.65;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ---------- Background layers ---------- */
.bg-gradient {
    position: fixed; inset: 0; z-index: -3;
    background:
        radial-gradient(1200px 700px at 20% -10%, #14384a 0%, transparent 60%),
        radial-gradient(1000px 600px at 100% 110%, #0f2f2b 0%, transparent 55%),
        linear-gradient(160deg, var(--bg-1) 0%, var(--bg-0) 60%);
}
.bg-mist {
    position: fixed; inset: 0; z-index: -2;
    background:
        radial-gradient(600px 400px at 70% 20%, rgba(240,169,46,0.10), transparent 70%),
        radial-gradient(600px 400px at 25% 80%, rgba(31,182,166,0.12), transparent 70%);
    animation: drift 18s ease-in-out infinite alternate;
}
.bg-koru {
    position: fixed; inset: 0; z-index: -1;
    opacity: 0.05;
    background-image:
        radial-gradient(circle at 12% 22%, transparent 0 22px, rgba(255,255,255,0.6) 22px 24px, transparent 25px),
        radial-gradient(circle at 85% 70%, transparent 0 30px, rgba(255,255,255,0.5) 30px 32px, transparent 33px);
    background-size: 260px 260px, 340px 340px;
    pointer-events: none;
}
@keyframes drift {
    from { transform: translate3d(0,0,0) scale(1); }
    to   { transform: translate3d(0,-18px,0) scale(1.04); }
}

/* ---------- Layout ---------- */
.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem) 1.25rem 3rem;
    text-align: center;
}

/* ---------- Brand ---------- */
.brand { margin-bottom: 1.5rem; }
.eyebrow {
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--teal-light);
    opacity: 0.85;
}
.brand-name {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: clamp(2.6rem, 8vw, 4.4rem);
    line-height: 1.05;
    margin: 0.35rem 0 0.2rem;
    background: linear-gradient(100deg, var(--gold-light), var(--gold) 45%, var(--teal) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 30px rgba(240,169,46,0.15);
}
.tagline {
    font-family: 'Marcellus', serif;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

/* ---------- Emblem ---------- */
.emblem {
    margin: 1rem auto 1.5rem;
    max-width: 360px;
}
.emblem-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 40px rgba(0,0,0,0.5));
    animation: floaty 7s ease-in-out infinite;
}
.emblem-svg .creature { transition: transform 0.6s ease; transform-origin: 230px 230px; }
.emblem-svg:hover .dragon  { transform: rotate(-2deg); }
.emblem-svg:hover .taniwha { transform: rotate(2deg); }
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* ---------- Intro ---------- */
.intro { margin: 0 auto 2.5rem; max-width: 620px; }
.status {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--gold-light);
    border: 1px solid rgba(240,169,46,0.35);
    background: rgba(240,169,46,0.08);
    padding: 0.4rem 0.9rem; border-radius: 999px;
    margin-bottom: 1.25rem;
}
.pulse {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 0 rgba(240,169,46,0.7);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(240,169,46,0.6); }
    70%  { box-shadow: 0 0 0 12px rgba(240,169,46,0); }
    100% { box-shadow: 0 0 0 0 rgba(240,169,46,0); }
}
.intro h2 {
    font-family: 'Marcellus', serif;
    font-size: clamp(1.5rem, 4.5vw, 2.15rem);
    line-height: 1.25;
    margin-bottom: 1rem;
    color: #fff;
}
.lede { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 1.25rem; }
.lede strong { color: var(--gold-light); font-weight: 600; }
.lede strong:last-of-type { color: var(--teal-light); }
.dedication {
    font-family: 'Marcellus', serif;
    font-size: 1.1rem;
    color: var(--ink);
    padding-top: 1rem;
    border-top: 1px solid var(--card-border);
    display: inline-block;
}
.dedication em { color: var(--gold-light); font-style: italic; }

/* ---------- Notify form ---------- */
.notify {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: left;
    margin-bottom: 2.5rem;
}
.notify h3 {
    font-family: 'Marcellus', serif;
    font-size: 1.5rem;
    text-align: center;
    color: #fff;
    margin-bottom: 0.35rem;
}
.notify-sub {
    text-align: center;
    color: var(--ink-soft);
    font-size: 0.98rem;
    margin-bottom: 1.75rem;
}
.field { margin-bottom: 1.1rem; }
.field label {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
    margin-bottom: 0.4rem;
}
.req { color: var(--gold); }
.opt { color: rgba(185,211,207,0.6); font-size: 0.78rem; }
.field input,
.field textarea {
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: rgba(3, 18, 24, 0.6);
    border: 1px solid rgba(127,240,212,0.2);
    border-radius: 12px;
    padding: 0.8rem 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(185,211,207,0.45); }
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(31,182,166,0.18);
}
.field textarea { resize: vertical; min-height: 90px; }

/* honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn-submit {
    width: 100%;
    font-family: 'Marcellus', serif;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    color: #26140a;
    background: linear-gradient(100deg, var(--gold-light), var(--gold) 55%, var(--teal) 130%);
    border: none;
    border-radius: 12px;
    padding: 0.95rem 1rem;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
    box-shadow: 0 10px 26px rgba(240,169,46,0.25);
}
.btn-submit:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 14px 32px rgba(240,169,46,0.35); }
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-status {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.95rem;
    min-height: 1.2em;
}
.form-status.success { color: var(--teal-light); }
.form-status.error   { color: #ff9a8a; }

/* ---------- Footer ---------- */
.site-footer {
    color: var(--ink-soft);
    font-size: 0.92rem;
    border-top: 1px solid var(--card-border);
    padding-top: 1.5rem;
}
.contact-line { margin-bottom: 0.5rem; }
.site-footer a {
    color: var(--gold-light);
    text-decoration: none;
    border-bottom: 1px dotted rgba(255,217,122,0.5);
    transition: color 0.2s;
}
.site-footer a:hover { color: #fff; }
.copyright { font-size: 0.8rem; opacity: 0.7; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .emblem-svg, .bg-mist, .pulse { animation: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 480px) {
    .emblem { max-width: 260px; }
    .eyebrow { font-size: 0.65rem; letter-spacing: 0.24em; }
}
