/* ==========================================================
   ROOT VARIABLES
========================================================== */

:root {
    --primary: #3fbaeb;
    --primary-light: #7dd8ff;

    --text-main: #f5f7fa;
    --text-muted: #8aa9b8;
    --text-dark: #607b89;

    --border: rgba(63, 186, 235, .25);
    --glass: rgba(255,255,255,.035);

    --transition: .25s ease;
}


/* ==========================================================
   WAVES BACKGROUND
========================================================== */

.waves {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: .14;
}

.waves svg {
    width: 100%;
    height: 100%;
}

.wave {
    fill: none;
    stroke: var(--primary);
    stroke-width: .5;
}

.wave1 {
    animation: drift 20s ease-in-out infinite alternate;
}

.wave2 {
    animation: drift 30s ease-in-out infinite alternate-reverse;
}

.wave3 {
    animation: drift 35s ease-in-out infinite alternate;
}


@keyframes drift {

    from {
        transform: translateX(-30px);
    }

    to {
        transform: translateX(30px);
    }
}



/* ==========================================================
   HERO
========================================================== */

.logo {
    height: 130px;
    margin: 0 auto 25px;
}

.statement {

    font-size: 1.3rem;
    line-height: 1.7;
    font-weight: 300;
    color: var(--text-main);
}

.highlight {
    color: var(--primary);
}

.subtext {

    max-width: 700px;
    margin: 30px auto 0;

    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
}



/* ==========================================================
   GENERAL PAGES
========================================================== */

.page-content h1 {

    font-size: 2.7rem;
    font-weight: 400;
    margin-bottom: 30px;

    color: var(--text-main);
}


.page-content p,
.page-content li {

    color: var(--text-muted);
    line-height: 1.9;
}


.page-content p {

    font-size: 1.05rem;
    margin-bottom: 20px;
}


.page-content ul {
    margin: 25px 0;
}


.page-content li {

    margin: 12px 0;
    font-size: 1rem;
}



/* ==========================================================
   FOOTER
========================================================== */

footer {

    position: fixed;
    bottom: 10px;

    left: 0;
    width: 100%;

    text-align: center;
    z-index: 20;

    color: var(--text-dark);
    font-size: .8rem;
}


.disclaimer {

    max-width: 900px;
    margin: auto;

    padding: 0 20px 15px;

    line-height: 1.6;
    font-size: .75rem;
}



/* ==========================================================
   RESEARCH PAGE
========================================================== */

.research-page {

    position: absolute;
    inset: 0;

    z-index: 5;

    padding: 135px 60px 100px;

    display: flex;
    flex-direction: column;
    align-items: center;

    overflow: auto;
}


.research-header {

    max-width: 900px;
    text-align: center;

    margin-bottom: 55px;
}


.research-header h1 {

    font-size: 2.5rem;
    font-weight: 400;

    color: var(--text-main);
    margin-bottom: 20px;
}


.research-header p {

    color: var(--text-muted);
    line-height: 1.8;
}



.research-grid {

    width: 100%;
    max-width: 1100px;

    display: grid;
    grid-template-columns: repeat(2,1fr);

    gap: 30px;
}



.research-card {

    min-height: 260px;

    padding: 35px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border: .3px solid var(--border);
    border-radius: 20px;

    backdrop-filter: blur(12px);

    transition: var(--transition);
}


.research-card:hover {

    transform: translateY(-6px);

    border-color: var(--primary);

    box-shadow:
        0 20px 40px rgba(0,0,0,.35);
}



.research-card h2 {

    font-size: 1.25rem;

    font-weight: 400;
    color: var(--text-main);

    margin-bottom: 15px;
}



.research-card p {

    color: var(--text-muted);

    font-size: .9rem;
    line-height: 1.7;
}


.research-card a {

    margin-top: 25px;

    color: var(--primary);

    font-size: .9rem;

    transition: var(--transition);
}


.research-card a:hover {

    letter-spacing: .3px;
}



/* ==========================================================
   CAREERS
========================================================== */

.careers {

    position:absolute;
    inset:0;

    z-index:5;

    padding:130px 80px 100px;

    overflow:auto;
}



.careers-intro {

    max-width:850px;

    margin-bottom:70px;
}



.eyebrow {

    color: var(--primary);

    letter-spacing:3px;

    font-size:.75rem;

    margin-bottom:20px;
}



.careers-intro h1 {

    font-size:3rem;

    font-weight:300;

    line-height:1.2;

    color:var(--text-main);

    margin-bottom:25px;
}



.careers-intro p:not(.eyebrow) {

    color:var(--text-muted);

    max-width:650px;

    line-height:1.8;
}



.roles {

    max-width:1100px;
}



.role {

    display:grid;

    grid-template-columns:90px 1fr 120px;

    align-items:center;

    padding:35px 0;

    border-top:1px solid var(--border);

    transition:var(--transition);
}



.role:last-child {

    border-bottom:1px solid var(--border);
}



.role:hover {

    padding-left:20px;
}



.role-number {

    font-size:2rem;

    color:var(--primary);

    font-weight:300;
}



.role-content h2 {

    color:var(--text-main);

    font-size:1.35rem;

    font-weight:400;

    margin-bottom:10px;
}



.role-content p {

    color:var(--text-muted);

    line-height:1.7;

    font-size:.95rem;

    max-width:650px;
}



.role a {

    color:var(--primary);

    text-align:right;

    font-size:.9rem;

    transition:var(--transition);
}


.role a:hover {

    color:var(--primary-light);
}



/* ==========================================================
   CONTACT PAGE
========================================================== */

.contact-page {

    min-height:100vh;

    padding:140px 9% 90px;

    display:flex;

    flex-direction:column;

    align-items:center;


}



.contact-intro {

    max-width:800px;

    text-align:center;

    margin-bottom:70px;
}



.contact-intro h1 {

    font-weight:400;
    font-size: 3rem;

    letter-spacing:-1px;

    margin-bottom:25px;

    color:white;
}



.contact-intro p {

    color:rgba(220,240,250,.60);

    line-height:1.2;
}



.contact-form {

    width:100%;

    max-width:850px;
}



/* INPUTS */

.input-grid {

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:25px;
}



.field {

    display:flex;

    flex-direction:column;

    margin-bottom:25px;
}



.field label {

    color:white;

    font-size:.9rem;

    margin-bottom:10px;
}



.field input,
.field textarea,
.verify input {


    width:100%;

    box-sizing:border-box;

    background:var(--glass);

    border:

        1px solid rgba(100,210,255,.14);

    border-radius:12px;

    padding:16px;

    color:white;

    outline:none;
}



.field textarea {

    height:170px;

    resize:none;
}



.field input:focus,
.field textarea:focus,
.verify input:focus {

    border-color:#73d9ff;

    background:
        rgba(100,210,255,.08);
}



/* ==========================================================
   VERIFICATION
========================================================== */


.verify {

    padding:30px;

    margin-bottom:30px;

    border-radius:15px;

    background:
        rgba(255,255,255,.025);

    border:
        1px solid rgba(100,210,255,.15);
}


.verify h3 {

    color:#91ddff;

    font-size:.97rem;

    font-weight:400;
}


.verify p {

    color:rgba(220,240,250,.45);
}


.verify-row {

    display:flex;

    gap:12px;

    align-items:center;
}



.verification {

    flex:0 0 180px;
}



.verify-row input {

    flex:1;

    min-width:0;
}



/* ==========================================================
   BUTTON
========================================================== */


.submit-btn {

    padding:16px 38px;

    border-radius:30px;

    background:
        rgba(50,160,220,.15);

    border:
        1px solid rgba(100,210,255,.35);

    color:white;

    cursor:pointer;

    transition:var(--transition);
}



.submit-btn:hover {

    background:
        rgba(50,160,220,.35);

    transform:translateY(-2px);
}



.status {
    font-size: 15px;
    margin-top:20px;

    color:var(--text-muted);
}



/* ==========================================================
   RESPONSIVE
========================================================== */


@media(max-width:800px){

    .input-grid {

        grid-template-columns:1fr;
    }


    .contact-page {

        height:100vh;

        overflow-y:auto;
        overflow-x:hidden;
    }


    .research-grid {

        grid-template-columns:1fr;
    }


    .role {

        grid-template-columns:1fr;

        gap:15px;
    }

}



/* ==========================================================
   MISC
========================================================== */


input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {

    -webkit-appearance:none;
    margin:0;
}


input[type="number"] {

    -moz-appearance:textfield;
    appearance:textfield;
}



.careers-footer a {

    color:var(--primary);

    text-decoration:none;
}


.careers-footer a:hover {

    color:var(--primary-light);
}



.file-placeholder {

    display:block;

    font-size:9px;

    opacity:.3;
}


input::placeholder,
textarea::placeholder{
    color:#8aa9b8;
    opacity:0.5;
}


.spada-logo {
  color: #f5f7fa;
  font-size: 133px; /* Adjust as needed */
  line-height: 1;
}

.text-highlight {
color: #8aa9b8;
    text-decoration: none;
    transition: .25s ease;
}

.text-highlight:hover {
color: #eee;
    border-color: #7fffd4;
}

