* {
    box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: #000;
    font-size: 1.25rem;
    line-height: 130%;
    font-family: "roboto-extralight", Arial, sans-serif;
    font-weight: 300;
    font-style: normal;
}
strong {
    font-family: "roboto", sans-serif;
    font-weight: 600;
}
p {
    margin: 1rem 0;
}
h2, h3 {
    letter-spacing: 1.5px;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
.impact {
    font-family: "impact", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.container {
    width: 95%;
    max-width: 1240px;
    margin: 0 auto;
}
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0,0,0,.6);
    padding: 1.5rem 0;
    z-index: 2;
    transition: .4s background;
}
header.is-scrolled {
    background: rgba(0,0,0,1);
}
header .container {
    display: flex;
    align-items: center;
    gap: 7rem;
}
header .logo {
    width: 275px;
    max-width: 22%;
}
header .logo h1 {
    margin: 0;
}
header .logo span {
    margin: 0;
    position: absolute;
    z-index: 0;
    opacity: 0;
}
header nav {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
header nav a {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    letter-spacing: 1px;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-style: italic;
}
header nav a:visited {
    color: #fff;
}
header nav a:hover,
header nav a:focus,
header nav a.active {
    color: #fff;
    border-color: #fc9d00;
}
header nav a.active {
    font-style: italic;
}
main .hero {
    position: relative;
    text-align: center;
    color: #fff;
    padding: 10rem 2rem 30rem;
    background: #000;
}
main .hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .8;
}
main .hero h2 {
    position: relative;
    margin: 0 auto;
    font-size: 3rem;
    line-height: 120%;
    display: flex;
    gap: .5rem;
    justify-content: center;
}
main .hero h2 span {
    display: inline-block;
}
footer {
    padding: 3rem 0;
    text-align: center;
    font-size: .875rem;
}
.hrt-callout {
    font-size: 2.3rem;
    line-height: 125%;
    margin: 2rem auto;
}
.hrt-callout p {
    padding:  0 1rem;
}
.hrt-team-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.hrt-team-section h2 {
    grid-column: 2;
    grid-row: 1;
    font-size: 2.2rem;
    line-height: 3.4rem;
    margin: 0;
    border-bottom: 4px solid #fc9d00;
    margin-bottom: -4px;
}
.hrt-team-section .content {
    grid-column: 2;
    grid-row: 2;
}
.hrt-team-section .content ul {
    margin: 1rem 0 1rem 1.1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.hrt-team-section h2, 
.hrt-team-section .content {
    padding: 0 0 0 1rem;
}
.hrt-team-section img {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    aspect-ratio: 1.7;
    object-fit: cover;
    object-position: center;
}
.hrt-team-section.reverse h2,
.hrt-team-section.reverse .content {
    grid-column: 1;
    padding-left: 0;
    padding-right: 1rem;
}
.hrt-team-section.reverse img {
    grid-column: 2;
}
.hrt-gallery-section h2 {
    font-size: 2.2rem;
    line-height: 3.4rem;
    margin: 0;
}
.hrt-team-section,
.hrt-gallery-section {
    scroll-margin-top: 140px;
    padding-bottom: 3rem;
}
.gallery-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 4px solid #fc9d00;
}
.hrt-gallery-section {
  overflow: hidden;
}

.hrt-gallery {
  display: flex;
  width: 100%;
  transition: transform 0.35s ease;
  touch-action: pan-y;
}

.hrt-gallery img {
  flex: 0 0 100%;
  width: 100%;
  display: block;
  object-fit: cover;
}
.gallery-navigation {
    display: flex;
    gap: 1.5rem;
    align-self: center;
}
.gallery-navigation button {
    cursor: pointer;
    position: relative;
    border: none;
    background: #fff;
    display: flex;
    gap: .5rem;
    align-items: center;
    font-size: 1.5rem;
}
.gallery-navigation .prev::before,
.gallery-navigation .next::after {
  content: '';
  position: relative;
  background: url('img/chevron-right.svg') center / 24px no-repeat;
  width: 30px;
  height: 100%;
  display: block;
}
.gallery-navigation .prev::before {
    transform: rotate(180deg);
}

.gallery-navigation button:hover {
  color: #fc9d00;
}

.gallery-navigation button:hover {
    color: #fc9d00;
}
@media (max-width: 1240px) {
    main .hero {
        padding: 9.5rem 2rem 50vw;
    }
    main .hero h2 {
        flex-direction: column;
        gap: 0;
    }
    .hrt-callout {
        font-size: 2rem;
    }
    .hrt-team-section,
    .hrt-gallery-section {
        scroll-margin-top: 130px;
    }
}
@media (max-width: 960px) {
    header .container {
        flex-direction: column;
        gap: 2rem;
    }
    header .logo {
        max-width: 100%;
        padding: 0 1rem;
    }
    header nav {
        width: 90%;
    }
    main .hero {
        padding: 13rem 2rem 50vw;
        background: #000;
    }
    main .hero img {
        opacity: .4;
    }
    .hrt-team-section,
    .hrt-gallery-section {
        scroll-margin-top: 190px;
    }
}
@media (max-width: 767px) {
    .container {
        max-width: 90%;
    }
    header nav {
        flex-wrap: wrap;
        text-align: center;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    header nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        display: none;
    }
    header nav a {
        justify-self: center;
    }
    main .hero {
        padding: 15rem 2rem 18rem;
    }
    main .hero h2 {
        font-size: 2.5rem;
        line-height: 3rem;
    }
    .hrt-callout {
        font-size: 1.5rem;
    }
    .hrt-callout p {
        padding: 0;
    }
    .hrt-team-section {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .hrt-team-section h2, 
    .hrt-team-section .content {
        padding: 0;
    }
    .hrt-team-section .content p:first-of-type,
    .hrt-team-section .content ul:first-of-type {
        margin-top: 0;
    }
    .hrt-team-section,
    .hrt-gallery-section {
        scroll-margin-top: 210px;
    }
    footer {
        padding: 1rem 0;
    }
    .gallery-header {
        flex-direction: column;
        border-bottom: none;
    }
    .gallery-navigation {
        align-self: flex-start;
        width: 100%;
        justify-content: space-between;
        border-top: 4px solid #fc9d00;
        margin-bottom: 5px;
    }
    .gallery-navigation button {
        font-size: 1.1rem;
        padding: .5rem 0;
    }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #000;
    color: #fff;
  }
  main .hero img {
        opacity: .4;
    }
    .gallery-navigation button {
        background: #000;
        color: #fff;
    }
    .gallery-navigation button::after,
    .gallery-navigation button::before {
        display: none!important;
    }
}