/* =========================================
   TheSIS Brand Theme
   ========================================= */
:root {
    --navy: #001B5A;
    --navy-light: #0a2a6e;
    --gold: #FFC000;
    --gold-hover: #E5AC00;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --ink: #1A1A2E;
    --muted: #6B7280;
    --line: #E5E7EB;
    --success: #10B981;
    --danger: #EF4444;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Fraunces', Georgia, serif;
}

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

body {
    font-family: var(--font-sans);
    background: var(--off-white);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 16px 80px;
}

/* =========================================
   Header Logo Images
   ========================================= */
.thesis-header-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    text-decoration: none;
}

.thesis-header-logo img {
    height: 48px; /* Adjust as needed */
    width: auto;
    object-fit: contain;
}

/* For the survey header, we use the light logo on a dark strip 
   OR just the regular logo on a white background. 
   Since the survey background is off-white, we use the regular logo. */
.thesis-header-logo--small img {
    height: 32px; 
}

/* =========================================
   Hero Falcon Display
   ========================================= */
.hero-falcon {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    animation: float 4s ease-in-out infinite;
}
.hero-falcon img {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 27, 90, 0.15));
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* =========================================
   Typography & Elements
   ========================================= */
h1, h2, h3 { font-family: var(--font-display); color: var(--navy); }
h1 { font-size: 32px; line-height: 1.2; margin-bottom: 8px; }
h2 { font-size: 20px; margin-bottom: 16px; }
.muted { color: var(--muted); font-size: 14px; }

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn:hover { background: var(--gold-hover); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); }
.btn-outline { background: transparent; border: 2px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* Inputs */
input, select, textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 15px;
    transition: border 0.2s;
    background: var(--white);
    color: var(--ink);
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(0, 27, 90, 0.1);
}

/* Choices */
.choice-grid { display: grid; gap: 10px; margin-top: 10px; }
.choice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--white);
}
.choice:hover { border-color: var(--navy); background: var(--off-white); }
.choice input { width: auto; accent-color: var(--navy); }

/* Progress Bar */
.progress-container { margin: 20px 0 30px; }
.progress-track {
    height: 10px;
    background: var(--line);
    border-radius: 999px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--navy), var(--gold));
    transition: width 0.4s ease;
}

/* Multi-step Forms */
.step { display: none; animation: fadeUp 0.3s ease; }
.step.active { display: block; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Interludes */
.interlude {
    text-align: center;
    padding: 40px 20px;
    background: var(--navy);
    border-radius: 16px;
    margin: 20px 0;
    color: var(--white);
}
.interlude .emoji {
    font-size: 64px;
    display: inline-block;
    animation: dance 1.5s infinite ease-in-out;
}
.interlude p {
    font-family: var(--font-display);
    font-size: 20px;
    margin-top: 16px;
    color: var(--gold);
}
@keyframes dance {
    0%, 100% { transform: scale(1) rotate(0); }
    50% { transform: scale(1.1) rotate(10deg); }
}

/* Tags & Alerts */
.tag {
    display: inline-block;
    background: rgba(0, 27, 90, 0.1);
    color: var(--navy);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.error-box { background: #FEF2F2; border: 1px solid #FECACA; color: var(--danger); padding: 16px; border-radius: 12px; margin-bottom: 20px; }
.success-box { background: #ECFDF5; border: 1px solid #A7F3D0; color: var(--success); padding: 16px; border-radius: 12px; margin-bottom: 20px; }