*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial,sans-serif;
    color:#111;
    background:#fff;
}

/* HEADER */

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 60px;
    border-bottom:1px solid #eee;
}

.logo{
    font-family:"Times New Roman", serif;
    font-size:90px;
    font-weight:500;
    letter-spacing:-3px;
    line-height:1;
    margin-left:-30px;
    cursor:pointer;

    text-decoration:none;
    color:#111;
    display:inline-block;
}



nav{
    display:flex;
    gap:35px;
}

nav a{
    text-decoration:none;
    color:#111;
    font-size:16px;
}

button{
    background:#111;
    color:#fff;
    border:none;
    padding:14px 26px;
    cursor:pointer;
    border-radius:4px;
}

/* HERO */

.hero{
    display:grid;
    grid-template-columns:1fr 1fr;
    min-height:750px;
}

.hero-content{
    padding:90px 80px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.hero-content span{
    font-size:14px;
    letter-spacing:2px;
    color:#777;
}

.hero-content h1{
    font-size:72px;
    line-height:1.05;
    margin:20px 0;
    font-family:"Times New Roman", serif;
    font-weight:500;
}

.hero-content p{
    font-size:18px;
    color:#666;
    max-width:550px;
    margin-bottom:35px;
    line-height:1.7;
}

.hero-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* VALUES */

.values{
    padding:100px 80px;
}

.values h2{
    font-size:48px;
    margin-bottom:50px;
    font-family:"Times New Roman", serif;
    font-weight:500;
}

.value-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
}

.card{
    border:1px solid #e5e5e5;
    padding:30px;
}

.card h3{
    margin-bottom:12px;
    font-size:22px;
}

.card p{
    color:#666;
    line-height:1.6;
}

/* FOOTER */

.footer{
    background:#111;
    color:#fff;
    padding:40px 80px 20px;
    margin-top:80px;
}

.footer-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:40px;
    padding-bottom:20px;
    border-bottom:1px solid rgba(255,255,255,0.1);
}

.footer-bottom{
    padding-top:20px;
    text-align:center;
}

.footer-logo h3{
    font-family:"Times New Roman", serif;
    font-size:42px;
    font-weight:500;
    margin-bottom:15px;
}

.footer-logo a{
    font-family:"Times New Roman", serif;
    font-size:42px;
    font-weight:500;
    margin-bottom:15px;
    color:#fff;
    text-decoration:none;
    display:inline-block;
}

.footer-links{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.footer-links a{
    text-decoration:none;
    color:#fff;
    font-size:15px;
    transition:0.3s;
}

.footer-links a:hover{
    color:#c9c9c9;
    transform:translateX(5px);
}



.footer-bottom span{
    color:#888;
    font-size:14px;
}

.footer-contact{
    margin-top:10px;
    color:#aaa;
    font-size:14px;
    line-height:1.6;
}

.footer-contact a{
    color:#fff;
    text-decoration:none;
    word-break:break-word;
}

.footer-contact a:hover{
    color:#c9c9c9;
}

.btn{
    background:#111;
    color:#fff;
    padding:14px 26px;
    border-radius:4px;
    text-decoration:none;

    display:flex;
    align-items:center;
    justify-content:center;

    width:250px; /* нужная ширина */
}




.language-switch {
    display: flex;
    align-items: center;
    background: #f2f2f2;
    border-radius: 50px;
    padding: 4px;
    gap: 2px;

    margin-right: -400px; /* 👈 добавили сюда */
}

.language-switch a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.language-switch a:hover {
    background: #e6e6e6;
    color: #111;
}

.language-switch a.active {
    background: #111;
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

/* ===========================
      Language Transition
=========================== */



#page-transition{
    display:none;
    position:fixed;
    inset:0;
    background:#111;
    display:flex;
    justify-content:center;
    align-items:center;

    transform:translateY(-100%);
    opacity:0;

    pointer-events:none;
    z-index:99999;
}

#page-transition.show{
    animation:pageTransition 1.5s cubic-bezier(.77,0,.18,1) forwards;
    display:flex;
}

.transition-content{
    text-align:center;
    color:white;

    opacity:0;
    transform:translateY(25px);

    animation:contentFade .9s ease forwards;
    animation-delay:.35s;
}

.transition-content h1{

    font-family:"Times New Roman",serif;
    font-size:90px;
    font-weight:500;
    letter-spacing:-3px;

    margin-bottom:15px;
}

.transition-content p{

    font-size:18px;
    color:#bbb;
    letter-spacing:1px;

}

@keyframes pageTransition{

    0%{
        transform:translateY(-100%);
        opacity:1;
    }

    30%{
        transform:translateY(0);
        opacity:1;
    }

    70%{
        transform:translateY(0);
        opacity:1;
    }

    100%{
        transform:translateY(100%);
        opacity:1;
    }

}

@keyframes contentFade{

    from{
        opacity:0;
        transform:translateY(25px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}








/* ==========================================
            RESPONSIVE ADAPTATION
========================================== */

/* 1600px+ */

@media (min-width:1600px){

    header{
        padding:20px 120px;
    }

    .hero-content{
        padding:120px;
    }

    .hero-content h1{
        font-size:90px;
    }

    .hero-content p{
        font-size:20px;
        max-width:650px;
    }

    .values{
        padding:120px;
    }

    .footer{
        padding:50px 120px 30px;
    }

}


/* 1400px */

@media (max-width:1400px){

    header{
        padding:20px 40px;
    }

    .logo{
        font-size:75px;
        margin-left:0;
    }

    .hero-content{
        padding:70px 50px;
    }

    .hero-content h1{
        font-size:60px;
    }

    .values{
        padding:80px 50px;
    }

    .footer{
        padding:40px 50px;
    }

}


/* Tablets */

@media (max-width:992px){

    header{
        flex-wrap:wrap;
        justify-content:center;
        gap:20px;
        padding:20px 30px;
    }

    .logo{
        font-size:60px;
        margin-left:0;
    }

    nav{
        gap:20px;
        justify-content:center;
        flex-wrap:wrap;
    }

    .language-switch{
        margin:0;
    }

    .hero{
        grid-template-columns:1fr;
    }

    .hero-content{
        order:1;
    }

    .hero-image{
        order:2;
    }

    .hero-content{
        order:2;
        text-align:center;
        align-items:center;
        padding:60px 35px;
    }

    .hero-content h1{
        font-size:52px;
    }

    .hero-content p{
        max-width:700px;
    }

    .value-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .footer-top{
        flex-wrap:wrap;
        justify-content:center;
        text-align:center;
    }

}


/* Phones */

@media (max-width:768px){

    header{
        flex-direction:column;
        align-items:center;
        gap:20px;
        padding:20px;
    }

    .logo{
        font-size:55px;
    }

    nav{
        justify-content:center;
        flex-wrap:wrap;
        gap:15px;
    }

    nav a{
        font-size:14px;
    }

    .hero{
        grid-template-columns:1fr;
    }

    .hero-content{
        padding:45px 20px;
        text-align:center;
        align-items:center;
    }

    .hero-content span{
        font-size:12px;
    }

    .hero-content h1{
        font-size:42px;
        line-height:1.1;
    }

    .hero-content p{
        font-size:16px;
        line-height:1.6;
    }

    .hero-content{
        order:1;
        padding:45px 20px;
        text-align:center;
        align-items:center;
    }

    .hero-image{
        order:2;
        height:350px;
    }

    .hero-image img{
        width:100%;
        height:100%;
        object-fit:cover;
    }

    .btn{
        width:100%;
        max-width:300px;
    }

    .values{
        padding:60px 20px;
    }

    .values h2{
        font-size:34px;
        text-align:center;
    }

    .value-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .card{
        padding:25px;
    }

    .footer{
        padding:35px 20px;
    }

    .footer-top{
        flex-direction:column;
        align-items:center;
        text-align:center;
        gap:30px;
    }

    .footer-links{
        align-items:center;
    }

    .footer-logo h3,
    .footer-logo a{
        font-size:34px;
    }

    .transition-content h1{
        font-size:60px;
    }

    .transition-content p{
        font-size:16px;
    }

}


/* Small phones */

@media (max-width:576px){

    .logo{
        font-size:45px;
    }

    .hero-content{
        padding:40px 20px;
    }

    .hero-content h1{
        font-size:34px;
    }

    .hero-content p{
        font-size:15px;
    }

    .hero-image{
        height:280px;
    }

    .card{
        padding:20px;
    }

    .card h3{
        font-size:19px;
    }

    .transition-content h1{
        font-size:48px;
    }

    .transition-content p{
        font-size:15px;
    }

}


/* Very small phones */

@media (max-width:400px){

    .logo{
        font-size:40px;
    }

    nav{
        gap:10px;
    }

    nav a{
        font-size:12px;
    }

    .hero-content{
        padding:35px 15px;
    }

    .hero-content h1{
        font-size:30px;
    }

    .hero-content p{
        font-size:14px;
    }

    .btn{
        max-width:100%;
    }

    .footer-logo h3,
    .footer-logo a{
        font-size:30px;
    }

    .footer-bottom span{
        font-size:12px;
    }

}


/* Hero card */
.hero{
    position:relative;
    display:block;
    min-height:650px;
    margin:45px 60px 0;
    overflow:hidden;
    border:1px solid rgba(0,0,0,.08);
    border-radius:26px;
    box-shadow:0 20px 60px rgba(0,0,0,.06);
}

.hero-image{
    position:absolute;
    inset:0;
}

.hero-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:right center;
}

.hero-content{
    position:absolute;
    z-index:1;
    top:28px;
    bottom:28px;
    left:28px;
    width:380px;
    padding:32px;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    text-align:left;
    border:1px solid rgba(255,255,255,.3);
    border-radius:20px;
    background:rgba(255,255,255,.78);
    backdrop-filter:blur(24px) saturate(140%);
    -webkit-backdrop-filter:blur(24px) saturate(140%);
}

.hero-content h1{
    margin:0 0 30px;
    font-size:64px;
}

.hero-content .btn{
    width:100%;
    margin-top:auto;
}

@media (max-width: 1100px){
    .hero{
        min-height:560px;
        margin:32px 40px 0;
    }

    .hero-content{
        width:340px;
        padding:26px;
    }

    .hero-content h1{
        font-size:54px;
    }
}

@media (max-width: 768px){
    .hero{
        min-height:540px;
        margin:24px 16px 0;
        border-radius:18px;
    }

    .hero-content{
        top:auto;
        right:12px;
        bottom:12px;
        left:12px;
        width:auto;
        min-height:235px;
        padding:22px;
        border-radius:16px;
        text-align:left;
        align-items:flex-start;
    }

    .hero-content h1{
        font-size:42px;
        margin-bottom:20px;
    }

    .hero-image{
        height:auto;
    }
}

@media (max-width: 400px){
    .hero{
        min-height:500px;
        margin-right:12px;
        margin-left:12px;
    }

    .hero-content h1{
        font-size:36px;
    }
}

/* Featured member card on the home page */
.home-person-feature{
    padding:45px 60px 0;
}

.home-person-feature .person-card{
    min-height:500px;
    overflow:hidden;
    border:1px solid rgba(0,0,0,.08);
    border-radius:26px;
    background:#fff;
    box-shadow:0 20px 60px rgba(0,0,0,.06);
    cursor:pointer;
    transition:transform .6s cubic-bezier(.22,1,.36,1), box-shadow .6s cubic-bezier(.22,1,.36,1);
}

.home-person-feature .person-card:hover{
    transform:translateY(-6px);
    box-shadow:0 35px 90px rgba(0,0,0,.12);
}

.home-person-feature .person-image{
    position:relative;
    height:500px;
    overflow:hidden;
}

.home-person-feature .person-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:right center;
    transition:transform 1.2s cubic-bezier(.22,1,.36,1);
}

.home-person-feature .person-card:hover img{
    transform:scale(1.05);
}

.home-person-feature .person-info{
    position:absolute;
    top:28px;
    bottom:28px;
    left:28px;
    width:280px;
    padding:28px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    border:1px solid rgba(255,255,255,.22);
    border-radius:20px;
    background:rgba(255,255,255,.75);
    backdrop-filter:blur(24px) saturate(140%);
    -webkit-backdrop-filter:blur(24px) saturate(140%);
}

.home-person-feature .person-name{
    display:flex;
    flex-direction:column;
    gap:4px;
    margin-top:18px;
}

.home-person-feature .person-name span:first-child{
    font-size:16px;
    letter-spacing:4px;
    text-transform:uppercase;
    color:#777;
}

.home-person-feature .person-name span:last-child{
    font-family:"Times New Roman",serif;
    font-size:54px;
    line-height:.9;
    letter-spacing:-2px;
}

.home-person-feature .person-description{
    color:#555;
    font-size:15px;
    line-height:1.7;
    opacity:0;
    transform:translateY(10px);
    transition:opacity .35s ease, transform .35s ease;
}

.home-person-feature .person-card:hover .person-description,
.home-person-feature .person-card.in-view .person-description{
    opacity:1;
    transform:translateY(0);
}

.home-person-feature .hero-label{
    position:absolute;
    top:28px;
    right:28px;
    z-index:1;
    padding:11px 18px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:999px;
    background:rgba(17,17,17,.82);
    color:#fff;
    font-size:11px;
    font-weight:600;
    letter-spacing:3px;
}

.home-person-feature .person-bottom{
    display:flex;
    flex-direction:column;
    gap:24px;
}

.home-person-feature .person-tag{
    display:inline-flex;
    align-items:center;
    gap:10px;
    width:max-content;
    color:#444;
    font-size:11px;
    font-weight:600;
    letter-spacing:3px;
}

.home-person-feature .person-tag::before{
    content:"";
    width:28px;
    height:1px;
    background:#111;
}

.home-person-feature .person-link{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding-top:18px;
    border-top:1px solid rgba(0,0,0,.08);
    font-size:14px;
    font-weight:600;
}

.home-person-feature .person-link span{
    font-size:22px;
    transition:.35s;
}

.home-person-feature .person-card:hover .person-link span{
    transform:translateX(6px);
}

@media (max-width:1100px){
    .home-person-feature{
        padding:32px 40px 0;
    }

    .home-person-feature .person-card,
    .home-person-feature .person-image{
        min-height:440px;
        height:440px;
    }
}

@media (max-width:768px){
    .home-person-feature{
        padding:24px 16px 0;
    }

    .home-person-feature .person-card,
    .home-person-feature .person-image{
        min-height:580px;
        height:580px;
        border-radius:18px;
    }

    .home-person-feature .person-info{
        top:auto;
        right:12px;
        bottom:12px;
        left:12px;
        width:auto;
        min-height:255px;
        padding:20px;
        border-radius:16px;
        background:rgba(255,255,255,.88);
    }

    .home-person-feature .hero-label{
        top:14px;
        right:14px;
        padding:9px 13px;
        font-size:9px;
        letter-spacing:2px;
    }

    .home-person-feature .person-name span:first-child{
        font-size:12px;
        letter-spacing:3px;
    }

    .home-person-feature .person-name span:last-child{
        font-size:42px;
    }

    .home-person-feature .person-description{
        display:block;
        font-size:14px;
    }
}

@media (max-width:380px){
    .home-person-feature{
        padding-right:12px;
        padding-left:12px;
    }

    .home-person-feature .person-card,
    .home-person-feature .person-image{
        min-height:540px;
        height:540px;
    }

    .home-person-feature .person-name span:last-child{
        font-size:37px;
    }
}

@media (hover:none){
    .home-person-feature .person-card:hover{
        transform:none;
        box-shadow:0 20px 60px rgba(0,0,0,.06);
    }

    .home-person-feature .person-card:hover img,
    .home-person-feature .person-card:hover .person-link span{
        transform:none;
    }
}

/* Restore the original, non-card introduction layout on the home page. */
.hero{
    display:grid;
    grid-template-columns:1fr 1fr;
    min-height:750px;
    margin:0;
    overflow:visible;
    border:0;
    border-radius:0;
    box-shadow:none;
}

.hero-content{
    position:static;
    width:auto;
    padding:90px 80px;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:center;
    text-align:left;
    border:0;
    border-radius:0;
    background:transparent;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
}

.hero-content h1{
    margin:20px 0;
    font-size:72px;
}

.hero-content .btn{
    width:250px;
    margin-top:0;
}

.hero-image{
    position:static;
    height:auto;
    overflow:visible;
    border:0;
    border-radius:0;
    box-shadow:none;
}

@media (max-width:1100px){
    .hero-content{
        padding:70px 50px;
    }

    .hero-content h1{
        font-size:60px;
    }
}

@media (max-width:992px){
    .hero{
        grid-template-columns:1fr;
        min-height:0;
    }

    .hero-content{
        order:1;
        align-items:center;
        padding:60px 35px;
        text-align:center;
    }

    .hero-image{
        order:2;
        height:440px;
    }
}

@media (max-width:768px){
    .hero-content{
        padding:45px 20px;
    }

    .hero-content h1{
        font-size:42px;
        line-height:1.1;
    }

    .hero-image{
        height:350px;
    }
}

@media (max-width:576px){
    .hero-content{
        padding:40px 20px;
    }

    .hero-content h1{
        font-size:34px;
    }

    .hero-image{
        height:280px;
    }
}

/* Final responsive layout for the home page */
img{
    max-width:100%;
}

header{
    display:grid;
    grid-template-columns:auto minmax(0, 1fr) auto auto;
    align-items:center;
    gap:clamp(16px, 2.5vw, 40px);
    padding:clamp(14px, 2vw, 22px) clamp(20px, 5vw, 80px);
}

.logo{
    margin:0;
    font-size:clamp(52px, 6vw, 90px);
}

header nav{
    justify-content:center;
    flex-wrap:wrap;
    gap:clamp(14px, 2.2vw, 35px);
}

.language-switch{
    margin:0;
    flex-shrink:0;
}

.header-actions{
    justify-self:end;
    display:flex;
    align-items:center;
    gap:10px;
}

.header-actions a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    padding:13px 22px;
    border-radius:9px;
    text-decoration:none;
    font-size:15px;
    font-weight:600;
    white-space:nowrap;
    transition:transform .25s ease, background .25s ease, border-color .25s ease;
}

.header-actions a:hover{
    transform:translateY(-2px);
}

.publish-link{
    background:#111;
    color:#fff;
    border:1px solid #111;
}

.login-link{
    display: none !important;
    background:#fff;
    color:#111;
    border:1px solid #d8d8d8;
}

.login-link:hover{
    background:#f3f3f3;
    border-color:#111;
}

.header-actions .account-link{
    background:#edf8f0;
    color:#176b35;
    border-color:#b9dfc4;
    max-width:220px;
    overflow:hidden;
    text-overflow:ellipsis;
}

.header-actions .account-logout{
    width:auto;
    min-height:48px;
    padding:13px 16px;
    border:1px solid #e2e2e2;
    border-radius:9px;
    background:#f5f5f5;
    color:#555;
    font-size:14px;
    cursor:pointer;
}

.header-actions .account-logout:hover{
    background:#ececec;
    color:#111;
    transform:translateY(-2px);
}

body.modal-open{
    overflow:hidden;
}

.logout-modal{
    position:fixed;
    inset:0;
    z-index:10000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    visibility:hidden;
    opacity:0;
    transition:opacity .25s ease, visibility .25s ease;
}

.logout-modal.open{
    visibility:visible;
    opacity:1;
}

.logout-modal-backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.48);
    backdrop-filter:blur(5px);
}

.logout-dialog{
    position:relative;
    width:min(100%, 430px);
    padding:36px;
    border-radius:24px;
    background:#fff;
    box-shadow:0 28px 80px rgba(0,0,0,.22);
    text-align:center;
    transform:translateY(14px) scale(.98);
    transition:transform .25s ease;
}

.logout-modal.open .logout-dialog{
    transform:translateY(0) scale(1);
}

.logout-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:52px;
    height:52px;
    margin:0 auto 20px;
    border-radius:50%;
    background:#f3f3f3;
    color:#111;
    font-family:"Times New Roman",serif;
    font-size:30px;
}

.logout-dialog h2{
    margin-bottom:10px;
    font-family:"Times New Roman",serif;
    font-size:32px;
}

.logout-dialog p{
    color:#666;
    line-height:1.55;
}

.logout-dialog-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-top:26px;
}

.logout-dialog-actions button{
    width:100%;
    padding:14px 16px;
    border-radius:10px;
    font-size:15px;
}

.logout-cancel{
    background:#f1f1f1;
    color:#111;
}

.logout-confirm{
    background:#111;
    color:#fff;
}

.home-person-feature{
    padding:clamp(24px, 4vw, 45px) clamp(16px, 5vw, 60px) 0;
}

.hero{
    min-height:clamp(540px, 55vw, 750px);
}

.hero-content{
    padding:clamp(48px, 7vw, 90px) clamp(24px, 6vw, 80px);
}

.hero-content h1{
    font-size:clamp(46px, 5.5vw, 72px);
}

.values{
    padding:clamp(60px, 8vw, 100px) clamp(16px, 5vw, 80px);
}

.values h2{
    font-size:clamp(34px, 4.2vw, 48px);
}

.footer{
    padding:clamp(32px, 5vw, 50px) clamp(16px, 5vw, 80px) 20px;
}

@media (max-width:1200px){
    header{
        grid-template-columns:auto 1fr auto;
    }

    header nav{
        grid-column:1 / -1;
        grid-row:2;
    }

    .header-actions{
        grid-column:3;
        grid-row:1;
    }

    .hero{
        min-height:600px;
    }

    .value-grid{
        grid-template-columns:repeat(3, 1fr);
    }
}

@media (max-width:900px){
    header{
        grid-template-columns:1fr auto;
        gap:16px;
    }

    header nav{
        grid-column:1 / -1;
        grid-row:2;
    }

    .header-actions{
        grid-column:1 / -1;
        grid-row:3;
        justify-self:stretch;
    }

    .header-actions a{
        flex:1;
    }

    .hero{
        grid-template-columns:1fr;
        min-height:0;
    }

    .hero-content{
        order:1;
        align-items:center;
        text-align:center;
    }

    .hero-image{
        order:2;
        height:clamp(340px, 55vw, 460px);
    }

    .value-grid{
        grid-template-columns:repeat(2, 1fr);
    }
}

@media (max-width:640px){
    header{
        padding:16px;
    }

    .logo{
        font-size:48px;
    }

    header nav{
        gap:12px 18px;
    }

    header nav a{
        font-size:14px;
    }

    .language-switch a{
        padding:6px 12px;
    }

    .header-actions{
        gap:8px;
    }

    .header-actions a{
        min-height:44px;
        padding:11px 12px;
        font-size:14px;
    }

    .header-actions .account-logout{
        min-height:44px;
        padding:11px 12px;
    }

    .home-person-feature .person-card,
    .home-person-feature .person-image{
        min-height:540px;
        height:540px;
    }

    .home-person-feature .person-info{
        min-height:245px;
    }

    .hero-content .btn{
        width:min(100%, 300px);
    }

    .value-grid{
        grid-template-columns:1fr;
    }

    .values h2{
        margin-bottom:30px;
        text-align:center;
    }

    .footer-top{
        flex-direction:column;
        align-items:center;
        text-align:center;
    }

    .footer-links{
        align-items:center;
    }
}

@media (max-width:380px){
    .logo{
        font-size:42px;
    }

    header nav a{
        font-size:12px;
    }

    .home-person-feature{
        padding-right:12px;
        padding-left:12px;
    }

    .home-person-feature .person-card,
    .home-person-feature .person-image{
        min-height:510px;
        height:510px;
    }

    .home-person-feature .person-info{
        padding:16px;
    }

    .home-person-feature .person-name span:last-child{
        font-size:36px;
    }

    .hero-content h1{
        font-size:34px;
    }
}
