:root{
    --bg:#ffffff;
    --bg-alt:#f5f5f5;
    --text:#1a1a1a;
    --muted:#5a5a5a;
    --accent:#c0392b;
    --accent-hover: #ea4534;
    --max:1160px;
    --header-h:80px;
}

@font-face{
    font-family:"Lato";
    src:url("fonts/lato/lato-regular.woff2") format("woff2");
    font-weight:400;
    font-style:normal;
    font-display:swap;
}

@font-face{
    font-family:"Lato";
    src:url("fonts/lato/lato-bold.woff2") format("woff2");
    font-weight:700;
    font-style:normal;
    font-display:swap;
}

@font-face{
    font-family:"Lato";
    src:url("fonts/lato/lato-black.woff2") format("woff2");
    font-weight:900;
    font-style:normal;
    font-display:swap;
}

@font-face{
    font-family:"Merriweather";
    src:url("fonts/merriweather/merriweather-regular.woff2") format("woff2");
    font-weight:400;
    font-style:normal;
    font-display:swap;
}

@font-face{
    font-family:"Merriweather";
    src:url("fonts/merriweather/merriweather-bold.woff2") format("woff2");
    font-weight:700;
    font-style:normal;
    font-display:swap;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:"Merriweather", Georgia, serif;
    color:var(--text);
    background:var(--bg);
    line-height:1.6;
}

.logo,
.nav a,
.hero__title,
.section__title,
.btn,
footer{
    font-family:"Lato", Arial, sans-serif;
}

.nav a,
.hero__kicker,
.hero__sub{
    font-weight:700;
}

.container{
    width:min(var(--max), calc(100% - 40px));
    margin:0 auto;
    text-align: center;
}


.content-left{
    text-align: left;
}

.header{
    position:sticky;
    top:0;
    z-index:50;
    background:transparent;
    backdrop-filter:none;
    transition: background-color .3s ease, backdrop-filter .3s ease, box-shadow .3s ease;
    box-shadow: none;
}

.header.scrolled{
    background:rgba(0,0,0,0.7);
    backdrop-filter:saturate(180%) blur(12px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.header__inner{
    height:var(--header-h);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}

.logo{
    font-weight:700;
    text-decoration:none;
    color:#fff;
    letter-spacing:0.02em;
}

.nav{
    display:flex;
    align-items:center;
    gap:22px;
}

.nav a{
    text-decoration:none;
    color:#fff;
    font-weight:600;
    letter-spacing:0.03em;
    font-size:14px;
}

.nav a:hover{
    color:var(--accent);
}

.burger{
    display:none;
    width:44px;
    height:44px;
    border:0;
    background:transparent;
    cursor:pointer;
    padding:10px;
}

.burger span{
    display:block;
    height:2px;
    background:var(--text);
    margin:6px 0;
    transition:transform .2s ease, opacity .2s ease;
}

.nav--mobile{
    display:none;
    flex-direction:column;
    padding:12px 0 18px;
    border-top:1px solid rgba(0,0,0,0.06);
}

.nav--mobile a{
    padding:10px 0;
}

.hero{
    min-height:100vh;
    display:flex;
    background:linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.55));
    color:#fff;
    margin-top: calc(var(--header-h) * -1);
}

.hero__overlay{
    flex:1;
    display:flex;
    align-items:center;
    padding:60px 0;
}

.hero__inner{
    text-align:center;
}

.hero__kicker{
    font-size:14px;
    letter-spacing:0.08em;
    text-transform:uppercase;
    opacity:0.95;
}

.hero__title{
    margin:22px 0 25px;
    font-size:72px;
    font-weight: 900;
    line-height:1.05;
    letter-spacing:0.02em;
    color: #000;
    box-shadow: 0 0 0 6px #FFFFFF;
    background: #FFFFFF;
    padding: 8px 12px;
    border: 6px solid #151515;
    display: inline-block;
}

.hero__sub{
    font-size:14px;
    letter-spacing:0.08em;
    text-transform:uppercase;
    opacity:0.95;
}

.hero__actions{
    margin-top:22px;
    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
}

.btn{
    display:inline-block;
    text-decoration:none;
    padding:10px 14px;
    border:1px solid rgba(255,255,255,0.7);
    color:#fff;
    background:transparent;
}

.btn:hover{
    background:rgba(255,255,255,0.15);
}

.section{
    padding:70px 0;
    scroll-margin-top:calc(var(--header-h) + 16px);
    border-top:1px solid rgba(0,0,0,0.06);
}

.section--alt{
    background:var(--bg-alt);
}

.section__title{
    margin:3px auto 20px;
    font-size:40px;
    text-align:center;
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 0 3px #c0392b;
    border: 3px solid #FFFFFF;
    display: inline-block;
    padding: 0.2em 0.4em;
    font-weight:700;
}

.section__title--spaced{
    margin-top:44px;
}

.section__lead{
    text-align:center;
    margin:0 0 24px;
    color:var(--muted);
    font-size:18px;
}

.content p{
    margin:0 0 14px;
}

blockquote{
    margin:26px auto;
    padding:16px 18px;
    border-left:4px solid var(--accent);
    background:rgba(0,0,0,0.03);
}

blockquote p{
    margin:0 0 8px;
}

blockquote cite{
    font-style:italic;
    color:var(--muted);
}

.refs{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    justify-items: center;
    text-align: center;
}

.refs a{
    font-family:"Lato", Arial, sans-serif;
    border: 2px solid rgba(0,0,0,0.06);
    background-color: var(--bg);
    padding:15px;
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
}


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

a:hover{
    color:var(--accent-hover);
}

.contact{
    text-align:center;
}

.footer{
    padding:30px 0;
    border-top:1px solid rgba(0,0,0,0.06);
    background:#fff;
}

.footer__inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.toTop{
    text-decoration:none;
    color:var(--text);
    font-weight:800;
}

.toTop:hover{
    color:var(--accent);
}

@media (max-width: 900px){
    .nav--desktop{display:none}
    .burger{display:block}
    .nav--mobile.is-open{display:flex}
    .hero__title{font-size:42px}
    .section__title{font-size:30px}
}

.hero{
    position: relative;
}

.hero__video{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    pointer-events: none;
    transform: translateZ(0);
    opacity: 1;
}

.hero::before{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: url("img/overlay-pattern.png") repeat;
    z-index: 1;
}

.hero__overlay{
    position: relative;
    z-index: 2;
}