/* ==========================================================================
   Dark theme — modest invitation
   ========================================================================== */

:root {
    --bg-dark: #050a14;
    --bg-card: rgba(12, 24, 46, 0.75);
    --color-cyan: #00f0ff;
    --color-cyan-glow: rgba(0, 240, 255, 0.35);
    --color-ice-blue: #70d6ff;
    --color-sapphire: #0052cc;
    --text-primary: #f0f6fc;
    --text-secondary: #9aaec4;
    --text-muted: #5e738c;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --font-heading: 'Orbitron', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.75;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--color-cyan);
    text-decoration: none;
}

a:hover {
    color: var(--color-ice-blue);
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 4rem;
}

/* The letter */

.letter {
    max-width: 620px;
    width: 100%;
}

/* Logo */

.logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5rem;
}

.site-logo {
    width: 120px;
    height: 120px;
}

.rotating-ring {
    transform-origin: 200px 200px;
    animation: spinRing 25s linear infinite;
}

.counter-rotating-ring {
    transform-origin: 200px 200px;
    animation: spinRingRev 35s linear infinite;
}

@keyframes spinRing { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes spinRingRev { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }

.core-heartbeat {
    animation: corePulse 1.8s infinite ease-in-out;
    transform-origin: 200px 200px;
}

@keyframes corePulse {
    0%, 100% { r: 3px; opacity: 0.7; }
    50% { r: 6px; opacity: 1; }
}

.logo-tagline {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    margin-top: 0.75rem;
    text-align: center;
    font-weight: 400;
}

h2 {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-cyan);
    margin-bottom: 0.75rem;
}

/* Location */

.location {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--color-cyan);
    margin-bottom: 2rem;
}

/* Body text */

.body-text {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-bottom: 2.5rem;
}

.body-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Reach out & form */

.reach-out {
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
}

.reach-out-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    background: rgba(8, 16, 32, 0.9);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 0.6rem 0.8rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-cyan);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.submit-btn {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: #040914;
    background: var(--color-cyan);
    border: none;
    border-radius: 4px;
    padding: 0.55rem 1.6rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.submit-btn:hover {
    opacity: 0.85;
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: default;
}

.form-status {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.form-status.ok {
    color: #2ecc71;
}

.form-status.err {
    color: #e74c3c;
}

.body-text ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.body-text ul li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    padding-left: 1.2rem;
    position: relative;
}

.body-text ul li::before {
    content: "\25B8";
    position: absolute;
    left: 0;
    color: var(--color-cyan);
}

/* Footer */

footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-subtle);
}

/* Utility */

.hidden {
    display: none;
}



/* Responsive */

@media (max-width: 640px) {
    main {
        padding: 4rem 1.25rem 3rem;
    }

    .site-logo {
        width: 90px;
        height: 90px;
    }

    .body-text p {
        font-size: 0.95rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
