:root {
    --green: #59460C;
    --yellow: #F29F05;
    --orange: #D96704;
    --red: #591B04;
    --dark-red: #361002;
    --maroon: #260A03;
}

main {
    font-family: georgia, serif;
}

section {position: relative;}



header {
    display: flex;
    flex-direction: column;
    position: relative;
}

header *+* {
    margin-top: 1em
}

#main-header {
    justify-content: center;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: calc(100vh - var(--nav-2));
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    background-image: url('https://sp-comm-arkfiles.s3.theark.cloud/website/landing-pages/ohop-sr-2024/img/header/2350US-A1-348-header.jpg');
    background-size: cover;
    background-position: 40% 30%;
    background-repeat: no-repeat;
    z-index: -99;
}

#main-header figure,
footer figure {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    height: inherit
}

#main-header figure {
    position: fixed;
    height: 100vh;
}

#main-header::after,
#header-background-people::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .4)0%, rgba(0, 0, 0, 0)30%, rgba(0, 0, 0, 0)50%, rgba(0, 0, 0, .5)100%), linear-gradient(to right, rgba(0, 0, 0, .2)0%, rgba(0, 0, 0, 0)30%, rgba(0, 0, 0, 0)70%, rgba(0, 0, 0, .2)100%)
}

#image-container3 {
    background-color: var(--red);
}

header>* {
    color: #fff;
}

.flag {
    max-width: 6em;
    margin: 0 auto;
    position: relative;
    margin-top: -4em;
    transform: translate(0, 2.75em);
    z-index: 100;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.brothers {
    font-family: 'brothers', gotham, sans-serif;
    text-transform: uppercase;
}

.red {
    color: var(--red);
}

.orange {
    color: #af5404;
}

.green {
    color: var(--green);
}

h1,
h2 {
    font-family: 'brothers', gotham, sans-serif;
    text-transform: uppercase;
    color: #fff;
}

#team-patriot h4:not(.callout h4) {
    padding: 0.618em;
    display: block;
    width: 15em;
    background-color: #fff;
    text-align: center;
    margin-bottom: 0.618em;
}

@media (max-aspect-ratio:1/1) {

    h2,
    h4,
    .callout h3 {
        text-align: center;
    }

    #team-patriot h4 {
        text-align: center;
        margin: 0 auto 1em;
    }

    #section-1 header {
        background-position: 0% 50%;
    }
}

.callout-section h2 {
    color: var(--green);
}

h4 {
    font-family: gotham;
    font-weight: 400;
    text-transform: uppercase;
    color: #000;
}

#callout-section-1 header h2 {
    margin-top: 0 !important;
}

.family-care h3 {
    color: var(--maroon);
    font-family:'brothers';
    text-transform: uppercase;
}

p.drop-case:first-letter {
    color: white;
    float: left;
    font-weight: bold;
    font-size: 2.4rem;
    line-height: 2.4rem;
    padding: 0.2em;
    background-color: var(--red);
    margin-right: 0.2em;
    font-family: 'brothers';
}


header:not(#main-header, .callout, .family-care, #conclusion header) {
    margin-left: -5vw;
    margin-right: -5vw;
    width: calc(100% + 10vw);
    padding: 2em;
    padding-left: 5vw;
    padding-top: 6.618em;
    padding-bottom: 6.618em;
}

@media(min-aspect-ratio:1/1) {
    header:not(#main-header, .callout, .family-care, #conclusion header) {
        margin-left: -5vw;
        margin-right: -5vw;
        width: calc(100% + 10vw);
        padding: 2em;
        padding-left: 5vw;
        padding-top: 6vw;
        padding-bottom: 8vw;
    }

    #section-1 header {
        padding-top: 8vw;
        padding-bottom: 8vw;
    }
}

.callout-section {
    padding-bottom: 1.618em !important;
    padding-top: 1.618em !important;
}

.subhead {
    padding-top: 3.618em;
}

section .inner p:first-of-type:not(#section-1 p:first-of-type, #team-patriot p:first-of-type) {
    padding-top: 5.618em;
}

.callout-box p {
    padding-top: 0.618em !important;
}

#team-patriot h2 {
    margin: 0;
}






#section-1 header:not(#main-header, .callout) {
    background-color: var(--green);
    background: url('https://sp-comm-arkfiles.s3.theark.cloud/website/landing-pages/ohop-sr-2024/img/backgrounds/topographic-introduction.jpg');
    background-position: 0% 0%;
}

#couple-tyson header:not(#main-header, .callout) {
    background-color: var(--green);
    background: url('https://sp-comm-arkfiles.s3.theark.cloud/website/landing-pages/ohop-sr-2024/img/backgrounds/topographic-tyson.jpg');
    background-position: 5% 100%;
}

#couple-dickinson header:not(#main-header, .callout) {
    background-color: var(--green);
    background: url('https://sp-comm-arkfiles.s3.theark.cloud/website/landing-pages/ohop-sr-2024/img/backgrounds/topographic-austin.jpg');
    background-position: 0% 0%;
}

#couple-bing header:not(#main-header, .callout) {
    background-color: var(--red);
    background: url('https://sp-comm-arkfiles.s3.theark.cloud/website/landing-pages/ohop-sr-2024/img/backgrounds/topographic-bing.jpg');
    background-position: 0% 0%;
}

#team-patriot header:not(#main-header, .callout) {
    background-color: var(--orange);
    background: url('https://sp-comm-arkfiles.s3.theark.cloud/website/landing-pages/ohop-sr-2024/img/backgrounds/topographic-teampatriot.jpg');
    background-position: 35% 50%;
}

#family-care header:not(#main-header, .family-care) {
    background-color: var(--orange);
    background: url('https://sp-comm-arkfiles.s3.theark.cloud/website/landing-pages/ohop-sr-2024/img/backgrounds/topographic-maroon.jpg');
    background-position: 50% 50%;
}


#section-1 header:not(#main-header),
#couple-tyson header:not(#main-header),
#couple-dickinson header:not(#main-header),
#couple-bing header:not(#main-header),
#team-patriot header:not(#main-header),
#family-care header:not(#main-header)
 {
    background-size: cover;
    background-repeat: no-repeat;
}


@media(min-aspect-ratio:1/1) {

    #couple-tyson header:not(#main-header, .callout) {
        background-position: 100% 100%;
    }
}

#img-container3 {
    background-color: var(--red);
}

blockquote {
    line-height: 1.8;
}

blockquote small {
    margin: 0;
}

.verse {
    color: var(--red);
    font-size: 150%;
    text-align: center;
    max-width: 16em;
}

.verse cite {
    text-align: center;
    width: 100% !important;
    color: #b64115;
    font-size: 80%;
}

cite small {
    display: block;
    margin-right: 0;
    margin-left: auto;
}

#alaska-icon {
    max-width: 8em;
    position: relative;
    margin: 0 auto;
    margin-top: -5.618em;
}

#section-1 blockquote {
    margin-top: 3.618em;
}

p a {
    font-weight: 400;
    font-style: italic
}

h1 {
    margin-top: 0;
    padding-top: 0.1em;
    color: #fff;
    text-shadow: 0 0 1.618rem rgba(0, 0, 0, .25), 0 0 .618rem rgba(0, 0, 0, .25), 0 .056rem .056rem rgba(0, 0, 0, .25), 0 .09rem .09rem rgba(0, 0, 0, .25), 0 .146rem .146rem rgba(0, 0, 0, .25), 0 .236rem .236rem rgba(0, 0, 0, .25);
}

.display-none-mobile {
    display: none;
}

.photo-gallery {
    display: flex;
    flex-direction: column;
    gap: .618em;
    width: 100%;
}

.section-img {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
}


@media(min-aspect-ratio:1/1) {

    .display-none-mobile {
        display: block;
    }

    .section-img .photo-gallery {
        height: 100vh;
    }

    .section-img {
        height: 100vh;
    }

}


@media(max-width:29rem) {
    h1 {
        font-size: var(--font-size-md)
    }
}


hgroup {
    margin-top: auto;
    margin-bottom: 15vh;
    z-index: 9;
}



.slide-in {
    animation-duration: 4.5s;
    animation-name: slidein;
}

@keyframes slidein {
    from {
        transform: translate(0, -2.5em);
        opacity: 0;
    }

    60% {
        transform: translate(0, -2.5em);
        opacity: 0
    }

    to {
        transform: translate(0, 0);
        opacity: 1;
    }
}

.fade-in {
    animation-duration: 1.5s;
    animation-name: fade-in;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    30% {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in-two {
    animation-duration: 3s;
    animation-name: fade-in-two;
    z-index: 99;
}

@keyframes fade-in-two {
    from {
        opacity: 0;
    }

    40% {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in-three {
    animation-duration: 4s;
    animation-name: fade-in-three;
    z-index: 199;
}

@keyframes fade-in-three {
    from {
        opacity: 0;
    }

    60% {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


#ohop_type {
    width: 80vw;
    max-width: 50ch;
    margin: 0 auto;
    background-color: var(--green);
    background: url('https://sp-comm-arkfiles.s3.theark.cloud/website/landing-pages/ohop-sr-2024/img/backgrounds/topographic-green.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 2.618em;
    z-index: 99;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    opacity: 0.9;
}

.inner {
    position: relative;
    z-index: 5;
    width: 100%;
    margin-top: 0;
    margin-right: auto;
    margin-left: auto;
    padding: 4.236em 5vw;
    padding-top: 0;
}

.section-img+.inner::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background-image: url('https://sp-comm-arkfiles.s3.theark.cloud/website/landing-pages/ohop-sr-2024/img/backgrounds/topography_bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: .04
}

h2 {
    font-weight: 900;
    font-stretch: 110%;
}

section>header>*,
.inner>* {
    width: 100%;
    margin-right: auto;
    margin-left: auto
}

.callout-box {
    border: 1px solid var(--red);
    padding: 1.236em;
    background-color: #fff;
}

.callout-large-text {
    font-size: 130%;
    line-height: 1.8;
}

.callout-large-text p {
    padding-top: 0.618em !important;
    padding-bottom: 0.618em !important;
}



#section-1 footer {
    color: var(--red);

}

@media(min-aspect-ratio:1/1) {

    .inner:has(.callout-section) {
        width: 63.8%;
    }

}

.callout {}

.callout h3 {
    color: var(--green);
    font-family: 'brothers', gotham, sans-serif;
    text-transform: uppercase;
    margin-top: 0;
}

figure:not(figure.video-container) {
    width: 100%;
}

#main-header figure img,
figure:not(.section-img) iframe,
section img {
    height: 100%;
    object-fit: cover;
}

.inner figure img {
    aspect-ratio: 1.618/1
}

.inner figure img {
    border-radius: .236em;
    box-shadow: 0 0 1.618rem rgba(20, 10, 0, .08), 0 0 .618rem rgba(20, 10, 0, .08), 0 .056rem .056rem rgba(20, 10, 0, .08), 0 .09rem .09rem rgba(20, 10, 0, .08), 0 .146rem .146rem rgba(20, 10, 0, .08), 0 .236rem .236rem rgba(20, 10, 0, .08)
}

figcaption {
    width: 100% !important
}


.section-img figcaption,
.fullscreen-img figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    padding: 1em 1.618em
}

#section-1 .section-img figcaption {
    background-color: #342907;
}

#couple-tyson .section-img figcaption,
#couple-dickinson .section-img figcaption,
#couple-bing .section-img figcaption {
    background-color: #361002;
}

#family-care figcaption {
    background-color: var(--maroon);
}

#team-patriot .section-img figcaption {
    background-color: #af5404;
}

#conclusion header h2 {
    font-family: 'brothers', gotham, sans-serif;
    text-transform: uppercase;
    color: var(--green);
}

@media(max-aspect-ratio:1/1) {

#conclusion .callout-box {
    border: none;
    padding-bottom: 5em;
}

}

@media(min-aspect-ratio:1/1) {
    #conclusion {
        background-image: url('https://sp-comm-arkfiles.s3.theark.cloud/website/landing-pages/ohop-sr-2024/img/section-conclusion/2350US-Q4-166x3840.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        padding-top: 5em;
        padding-bottom: 5em;
    }

}

#conclusion>*{
    margin-right: auto;
    margin-left: auto;
    padding-top: 6.236em;
    width: 100%;
    max-width: 62ch;
    margin: 0 auto;
}


q {
    font-style: italic;
}

q::before {
    content: open-quote;
    font-style: normal;
}

q::after {
    content: close-quote;
    font-style: normal;
}

.sig {
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
}

section:first-of-type .inner div p {
    margin-top: 0
}

.circle {
    overflow: hidden;
    width: 50vmin !important;
    max-width: 17ch !important;
    height: 50vmin;
    max-height: 17ch;
    border: .618em solid #ddd;
    border-radius: 50%;
    margin: 1em 0 0 !important;
    shape-outside: circle(50%);
    float: left;
    position: relative;
    top: -.618em;
    left: -1em;
}

.square {
    overflow: hidden;
    width: 50vmin !important;
    max-width: 17ch !important;
    height: 50vmin;
    max-height: 17ch;
    border: .618em solid #ddd;
    margin: -4.618em auto;
    position: relative;
}

.bear {
    position: relative;
    float: right;
    padding: 1em;
    max-width: 12em;
}

.black-bear {
    position: relative;
    float: right;
    padding: 1em;
    max-width: 10em;
}

.compass {
    position: relative;
    float: left;
    padding-bottom: 1.618em;
    padding-right: 1.618em;
    max-width: 6em;
    shape-outside: circle(50%);
}

.fishing-rod {
    position: relative;
    float: right;
    padding: 0.618em;
    max-width: 12em;
    transition: 0.85s;
    shape-outside: polygon(57% 31%, 90% 0, 100% 0, 100% 100%, 0 100%, 0 86%, 26% 62%);
}

.fishing-rod:hover {
    transform: rotate(18deg) scale(1.085);
    transition: 0.85s;
}




.bracelet {
    position: relative;
    float: left;
    padding: 1em;
    max-width: 12em;
    transform: rotate(-15deg);
}

.callout-box .square {
    margin: -5.618em auto;
}

.inner p:last-of-type:not(.callout-box p) {
    padding-bottom: 1.618em;
}

#section-1 .callout-box {
    margin-top: 5.618em;
}

#couple-dickinson .image-swap {
    border: .618em solid #361002;
}

#couple-tyson .image-swap,
#couple-bing .image-swap {
    border: .618em solid #361002;
}

.square.right {
    margin: 1em auto;
}

@media(min-width:80em) {
   
.square.right {
    left: 0;
    margin: 0 auto;
    margin-top: 0px;
    top: 0;
    float: right;
    margin-top: 1.618em;
    margin-left: 1.618em;
    margin-bottom: 1.618em;
}
}

.square.left {
    left: 1em;
    margin: 0 auto;
    margin-top: 0px;
    top: 0;
    float: right;
    margin-top: 1.618em;
}


.image-swap img:nth-child(1) {
    position: absolute;
    transition: 0.85s;
}

.image-swap img:nth-child(1):hover {
    opacity: 0;
}

header .circle {
    float: none;
    margin: 1em auto !important;
    top: 0;
    left: 0
}

header:has(.circle) h2 {
    text-align: center;
    margin-top: 0
}

.inner p:last-of-type {
    position: relative
}

.star {
    display: block;
    width: 1em;
    height: 1em;
    margin: 1.618em auto 0;
    object-fit: contain
}

.button {
    font-family: roboto, sans-serif;
    margin-top: 4.236em
}

/*VIDEO*/
.video-container {
    max-width: 100ch;
}



#photo-gallery-1 .video-container,
#photo-gallery-3 .video-container {
    padding-top: 5em;
}



.section-img.video-container {
    height: auto
}

.video-container iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    border: none
}

@supports not (aspect-ratio:16/9) {
    .video-container {
        position: relative
    }

    .video-container div {
        padding-top: 56.25%
    }

    .video-container iframe {
        position: absolute;
        top: 0px;
        right: 0px;
        bottom: 0px;
        left: 0px;
        width: 100%;
        height: 100%
    }
}

#section-1 .photo-gallery {
    background-color: #342907;
}

#couple-dickinson .photo-gallery {
    background-color: #342907;
}

#couple-bing .photo-gallery {
    background-color: #361002;
}

#team-patriot .photo-gallery {
    background-color: #af5404;
}

#family-care .photo-gallery {
    background-color: var(--maroon);
}



.photo-gallery>* {
    margin-top: 0;
}


.photo-gallery span {
    display: none
}

.fullscreen-img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100vh;
    margin: 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.fullscreen-img>* {
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    position: fixed;
    bottom: 0;
    left: 0;
    /*        z-index: -1;*/
}

@media(min-aspect-ratio:1/1) {
    .section-img {
        display: grid;
        place-items: center;
        width: 61.8%;
        height: 100vh;
        margin-left: auto;
        position: sticky;
        top: 0
    }

    .medalion {
        display: block;
        width: calc(6vmax + 1.236em);
        height: calc(6vmax + 1.236em);
        width: 7em;
        height: 7em;
        border: .618em solid var(--green);
        margin-top: -.618em;
        border-radius: 50%;
        background-color: var(--green);
        border: 0.618em solid #7d6211;
        margin: 0 auto;

    }

    .top-100+.medalion {
        margin-top: .618em
    }

    section .inner:not(:has(.callout-section)) {
        min-height: 100vh;
        margin-top: -100vmin;
        margin-bottom: 0
    }

    .inner {
        width: 38.2%;
        margin-right: 0;
        margin-left: 0;
        padding-left: 5vw;
        padding-right: 5vw
    }

    .inner:has(header .circle) {
        padding-top: 1.618em
    }

    /*.inner p {
        text-align: justify
    }*/

    section:nth-child(even) .section-img {
        margin-right: auto;
        margin-left: 0
    }

    section:nth-child(even) .inner {
        margin-left: auto;
    }

    .section-img .photo-gallery {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0;
        top: 0;
        left: 0;
        z-index: -1
    }

    .section-img .photo-gallery>* {
        height: calc(50vh - .618em);
        flex: 1 1 calc(50% - .618em);
    }

    .section-img .photo-gallery.top-100>*:first-child,
    .section-img .photo-gallery:not(.top-100)>*:last-child {
        flex-basis: 100%;
        height: 50vh
    }

    #section-6 .section-img img {
        object-position: 95% !important
    }
}



.animation-wrapper {
    margin-top: 0 !important;
    width: 100%;
    z-index: 3;
    height: 0;
}

#photos {
    border: none;
    padding: 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(32ch, 1fr));
    gap: 1ch;
}

.full-photo-gallery img {
    aspect-ratio: 1.618/1;
    object-fit: cover;
}

/*PHOTOS*/
#photos {
    border: none;
    padding: 0;
}

.full-photo-gallery {
    margin: 0;
    grid-template-columns: repeat(auto-fit, minmax(25%, 1fr));
    gap: 0;
}

.full-photo-gallery a {
    margin-top: 0 !important;
}

@media(max-width:100ch) {
    .full-photo-gallery {
        grid-template-columns: repeat(auto-fit, minmax(30ch, 1fr));
    }

    .full-photo-gallery a[hidden] {
        display: block;
    }

}

#photo-gallery-1,
#photo-gallery-2,
#photo-gallery-3,
#photo-gallery-4 {
    min-height: 100vh;
    background-image: url('https://sp-comm-arkfiles.s3.theark.cloud/website/landing-pages/ohop-sr-2024/img/backgrounds/topo-background3.jpg');
    background-position: center;
    background-size: cover;
}

#photo-gallery-2,
#photo-gallery-4 {
}


/* PHOTO GRIDS */
.photo-four-gallery .photo-gallery-container {
    position: initial;
    z-index: 2;
    margin-top: 0;
}

.photo-four-gallery .photo-gallery {
    display: grid !important;
    grid-gap: .618rem;
    align-items: start;
    justify-items: center;
    padding-top: 5em;
    padding-bottom: 5em;
}

#photo-gallery-1 .photo-gallery,
#photo-gallery-3 .photo-gallery
 {
    padding-top: 0.618em !important;
    margin-inline: 0;
}

.photo-four-gallery .photo-gallery a {
    display: flex !important;
    width: 100%;
    object-fit: cover;
    margin-top: 0 !important;
}


/* ONE UP THREE DOWN */
@media only screen and (min-width: 768px) {
    .photo-four-gallery .photo-gallery.one-up-three-down {
        display: grid !important;
        grid-template-columns: repeat(6, 1fr);
        grid-gap: .618em;
        align-items: start;
        justify-items: center;
    }

    .photo-four-gallery .photo-gallery.one-up-three-down #gallery-photo-a {
        grid-column-start: 1;
        grid-column-end: 7;
    }

    .photo-four-gallery .photo-gallery.one-up-three-down a#gallery-photo-b {
        grid-column-start: 1;
        grid-column-end: 3;
    }

    .photo-four-gallery .photo-gallery.one-up-three-down a#gallery-photo-c {
        grid-column-start: 3;
        grid-column-end: 5;
    }

    .photo-four-gallery .photo-gallery.one-up-three-down #gallery-photo-d {
        grid-column-start: 5;
        grid-column-end: 7;
    }



    .photo-four-gallery .photo-gallery.one-up-three-down a#gallery-photo-e {
        grid-column-start: 1;
        grid-column-end: 3;
    }

    .photo-four-gallery .photo-gallery.one-up-three-down a#gallery-photo-f {
        grid-column-start: 3;
        grid-column-end: 5;
    }

    .photo-four-gallery .photo-gallery.one-up-three-down a#gallery-photo-g {
        grid-column-start: 5;
        grid-column-end: 7;
    }

    .photo-four-gallery .photo-gallery.one-up-three-down #gallery-photo-h {
        grid-column-start: 1;
        grid-column-end: 7;
    }

    .photo-four-gallery .photo-gallery.one-up-three-down a#gallery-photo-4a {
        grid-column-start: 1;
        grid-column-end: 5;
        aspect-ratio: 2.035/1;
    }

    .photo-four-gallery .photo-gallery.one-up-three-down a#gallery-photo-4b {
        grid-column-start: 5;
        grid-column-end: 7;
        aspect-ratio: 1/1;
    }

    .photo-four-gallery .photo-gallery.one-up-three-down a#gallery-photo-4c {
        grid-column-start: 1;
        grid-column-end: 7;
    }
}
}