* {
  margin: 0;
  padding: 0;
}

:root {
    --color-black: #000;
    --color-white: var(--color-paper);
    --font-white: var(--color-paper);
    
    --color-text: var(--color-teal-dark);

    
    --color-hh-gold-light: #dab833;
    --color-hh-gold: #C3A73B;
    --color-hh-gold-dark: #b09220;
    --color-hh-blue: #15465D;
    --color-hh-blue-dark: #05364C;
    
    
    --color-alt-gold: #947e4e;
    --color-alt-gold-dark: #7a6332;
    
    
    --color-background: var(--color-paper);
    --border-radius: 30px;
    
    /* Hopeherd */
    --color-teal: #017B82;
    --color-teal-dark: #085C5E;
    --color-paper: #FFFEF6;
    
    --color-cream: #FFF7A7;
}

.grid {
  --columns: 12;
  display: grid;
  grid-template-columns: 1fr;
}

@media screen and (min-width: 60rem) {
  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  }
}
html {
  /*font-family: var(--font-family-sans);*/
  color: var(--color-text);
  background: var(--color-paper);
   
}
#pg-home {
  
}
#pg-policy {
   color: var(--color-hh-blue-dark);
}
#pg-contact {
    background: var(--color-background);
}

.mask {
    position: fixed;
    width: 100vw;
    height: 100%;
    top:0;
    background: white;
    display: none;
    z-index: 99999;
}

img { width: 100%; display: block;}

body {
    width: 100% !important;
    
}

li {
  list-style: none;
}

a {
    color: inherit !important;
    text-decoration: none;
    transition: color .3s, opacity .3s;
}

.text a {
  color: inherit !important;
    /*text-decoration: underline !important;
    text-decoration-color: #aaa !important;*/
}





/* =====  COLOUR  ==================================================== */


.text-white {
    color: var(--font-white) !important;
    letter-spacing: 0.4px !important;
}
.text-dark {
    color: var(--font-dark);
}
.bg-paper {
    background-color: var(--color-paper) !important;
}

.bg-grey {
    background-color: var(--color-grey);
}
.bg-gold {
    background-color: var(--color-alt-gold);
}
.bg-gold-dark {
    background-color: var(--color-alt-gold-dark);
}
.bg-blue {
    /*background-color: var(--color-hh-blue);*/
    background-color: var(--color-hh-blue-dark);
}
.bg-blue-grey {
    background-color: #50646B;
}

.bg-blue-dark {
    background-color: var(--color-hh-blue-dark);
}

.co-white {
    color: var(--font-white);
}
.co-white-plain {
    color: #ffffff;
}
.co-blue {
    color: var(--color-hh-blue);
}
.co-gold {
    color: var(--color-hh-gold);
}
.co-gold-dark {
    color: var(--color-hh-gold-dark);
}
.bg-gold .block-text {
    color: var(--font-white);
}

/* =====  VARIABLES  ==================================================== */


:root {
    --pad: 40px;
    --pad-side: 20px;
    --gutter: 15px;
    --corner: 20px;
}

@media screen and (min-width: 380px) {
    :root {
        --pad: 50px;
        --pad-side: 25px;
    }  
}
@media screen and (min-width: 540px) {
    :root {
        --pad: 50px;
        --pad-side: 8%
    }

}
@media screen and (min-width: 768px) {
    :root {
        --pad: 60px;
        --pad-side: 4%;
        --corner: 25px;
    }

}
@media screen and (min-width: 992px) {
    :root {
        --pad: 100px;
        --pad-side: 60px;
    }
}
@media screen and (min-width: 1400px) {
    :root {
        --pad: 120px;
        --pad-side: 70px;
    }
}
@media screen and (min-width: 1600px) {
    :root {
        --pad: 130px;
        --pad-side: 100px;
    }
}
@media screen and (min-width: 1800px) {
    :root {
        --pad: 140px;
        --pad-side: 150px;
    }
}
@media screen and (min-width: 2100px) {
    :root {
        --pad: 150px;
        --pad-side: 200px;
    }
}
@media screen and (min-width: 2400px) {
    :root {
        --pad: 150px;
        --pad-side: 300px;
    }
}

.corner {
    border-radius: var(--corner);
}
figure.corner {
    border-radius: 0;
}
figure.corner img {
    border-radius: var(--corner);
}

figure.rounded {
    border-radius: 50% !important;
    overflow: hidden;
}

.pad {
    padding-top: calc(var(--pad)*0.8);
    padding-bottom: calc(var(--pad)*0.8);
}
.pad-2 {
    padding-top: calc(var(--pad)*2);
    padding-bottom: calc(var(--pad)*2);
}
/*.section.pad {
    padding-top: calc(var(--pad)*1.4);
    padding-bottom: calc(var(--pad)*1.4);
}*/
.pad-bottom {
    padding-bottom: calc(var(--pad)*1.2) ;
}
.pad-bottom.pad-bottom-half {
    padding-bottom: calc(var(--pad)/1.5);
}
.pad-bottom.pad-bottom-double {
    padding-bottom: calc(var(--pad)*2);
}
.pad-top {
    padding-top: var(--pad) !important;
}
.pad-top-double {
    padding-top: calc(var(--pad)*1.8) !important;
}
.pad-top-half {
    padding-top: calc(var(--pad)/1.8) !important;
}

.pad-half {
    padding-top: calc(var(--pad)/1.8);
    padding-bottom: calc(var(--pad)/1.8);
}
.block-pad-left {
    padding-left: var(--pad-side);
}
.block-pad-right {
    padding-right: var(--pad-side);
}
.block-pad {
    padding-left: var(--pad-side);
    padding-right: var(--pad-side);
}
.masthead {
    padding-top: var(--pad-mast) !important;
}
.pad-top-para {
    padding-top: 1.5em !important;
}

@media screen and (max-width: 767px) {
    .block-pad-m {
        padding-left: 5px;
        padding-right: 5px;
    }
}


/* =====  HEADER  ==================================================== */


.logo-holder {
    position: absolute;
    z-index: 999;
    top:45px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    pointer-events: none;

    
}
.logo-holder .logo {
    transform: translateX(15%);
}
.logo {
    padding: 0;
    width:130px;
    position: relative;
    z-index: 999;
    transition: opacity .4s;
    outline: none;
}

.social {
    display: flex;
    align-items: center;
    padding: 0;
}
.contact-social .social {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
    padding-left: 2px;
}
.social a {
    padding-left: 10px;
}
.social a:first-of-type {
    padding-left: 0;
}
.social svg {
   /* width: 25px;*/
}


@media screen and (min-width: 768px) {
    .logo-holder {
        top:80px;
    }    
    .logo {
        padding: 0 0 0;
        font-weight: 600;
        cursor: pointer;
        width:130px;
    }

}
@media screen and (min-width: 1200px) {
    .logo {
        width:150px;
    }
}
@media screen and (min-width: 1400px) {
    .logo-holder {
        top:70px;
    }   
    .logo {
        width:180px;
        padding: 5px 0;
    }
}
@media screen and (min-width: 2100px) {
    .logo {
        width:180px;
    }
}

/* =====  CURTAIN  ==================================================== */

.curtain {
    position: fixed;
    top:0;
    width: 100%; height: 100%;
    background-color: var(--color-paper);
    margin-left: 0vw;
    transition: opacity 1.2s;
    transition-delay: .1s;
    opacity: 1;
    z-index: 9999;
}
.hero-container {
    position: relative;
    z-index: 0;
    top:0;
    overflow: hidden;
    width: 100% !important;
    height: 65vh;
    max-height: 650px;
    background: none;
    box-sizing:content-box !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-container .bg-image {
    width:100%; height: 100%;
}
.hero-container .bg-image img {
    object-fit: cover;
    object-position: center center;
    width:100%; height: 100%;
}
.full-container {
    width: 100% !important;
    height: auto;
    position: relative;
}

.story-end {
    width: 50px;
}

/* =====  HELPERS  ==================================================== */

.isicon {
    display: flex;
    justify-content: center;
}
.isicon img {
    width: 200px;
}

.moveY img {

    margin-top: -100px !important;
    border: 1px solid red;
}


.flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
}
.block-type-button {
    display: inline-block;
    position: relative;
    margin-top: 10px;
}
button { 
    color: var(--font-white);
    background: var(--color-teal-dark);
    
    border-radius: var(--corner);
    border: 1px solid var(--color-teal-dark);
    transition: background-color .3s;
    padding: 7px 38px 7px 38px;
}
button:hover {
    color: var(--color-teal-dark);
    background: none;
    cursor: pointer;
}
.reverse button { 
    color: var(--color-teal-dark);
    background: rgba(255,254,246,1);
    border: 1px solid var(--color-teal-dark);
    padding: 4px 25px 5px 25px;
}
.reverse button:hover {
    color: var(--font-white);
    background: var(--color-teal-dark);
    cursor: pointer;
}

button.reverse { 
    color: var(--color-paper);
    background: none;
    border: 1px solid var(--color-paper);
    padding: 4px 25px 5px 25px;
}
button.reverse:hover {
    color: var(--color-teal-dark);
    background: var(--color-paper);
    cursor: pointer;
}


.block-type-image figure {
    line-height: 0 !important;
}

.type-image-holder {
    width: 20%;
}
.copyright {
    width: 100%;
    color: rgba(255,255,255,0.4);
}
figure {
    overflow: hidden;
}
figure img {
    object-fit: cover;
    width:100%; height: 100%;
}
figure img.focal {
    object-position: var(--focus-x) var(--focus-y);
}

.text ul, .text ol {
    margin-left: 20px;
}
.text ul li, .text ol li {
    list-style-type: disc;
    list-style-position: outside;
}
.text a {
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    text-decoration: none;
    color: #fdc02a; /** bright mustard **/
}
.text a:hover {
    color: var(--color-mustard);
    text-decoration: none;
    text-decoration-color: var(--color-mustard);
}

.text-right {
    text-align: right;
}
.no-wrap {
    white-space: nowrap;
}

.small {
    font-size: 0.8em;
    opacity: 0.8;
    line-height: 160%;
    font-weight: 400;
}

.line-top {
    border-top: 1px solid var(--color-grey);
}
.scroll-up  {
    display: inline-block;
}
.scroll-up div {
    opacity: 0.5;
    transition: opacity .3s;
    display: inline-block;
}
.scroll-up:hover div {
    cursor: pointer;
    opacity: 1;        
}
@media screen and (min-width: 992px) {
    .copyright {
        text-align: right !important;
    }
    .isicon img {
        width: 300px;
    }
}

/* =====  MASTHEAD  ==================================================== */



.masthead-sub {
    text-transform: uppercase;
    color: white;
}
.grid {
  --columns: 12;
  --gutter: 2rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}

.grid > .column {
  margin-bottom: var(--gutter);
}

@media screen and (min-width: 768px) {
    .grid {
      --columns: 12;
      --gutter: 3rem;
      display: grid;
      grid-gap: var(--gutter);
      grid-template-columns: 1fr;
    }
}

.autogrid {
  --gutter: 3rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}


.video,
.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: var(--color-black);
}
.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.img[data-contain] img {
  object-fit: contain;
}
.img-caption,
.video-caption {
  padding-top: .75rem;
  line-height: 1.5em;
}


/* =====  GRID  ==================================================== */
body {
    max-width: 100%;
    width: 100%;
    position: static;
}
.main {
    max-width: 100%;
    width: 100%;
    position: static;
}

.hide-m {
    display: none;
}
.show-m {
    display: block;
}
@media all and (min-width: 768px) {
    .hide-m {
        display: block;
    }	
    .show-m {
        display: none;
    }
}


/* =====  INTERACTION  ==================================================== */


figure.hover   {
    background: var(--color-m);
    position: relative;
    line-height: 0;
    margin: 0;
}

figure.hover img {
    opacity: 1;
    filter: brightness(0.9);
    transition: opacity 0.5s, filter 0.5s;
}

figure.hover:hover img {
    opacity: 0.5;
    /*mix-blend-mode: multiply;*/
    filter: saturate(0);
    filter:grayscale(100%);
    
    filter: contrast(300%);
    
    filter: hue-rotate(90deg);
    filter: invert(75%);
    filter: opacity(25%);
}

figure.hover figcaption  {
    
}


/* =====  OBSERVE  ==================================================== */

.doFade, .initFade {
	transition:transform .6s, opacity .6s;
	transform:translateY(40px);
	opacity:0 !important;
}
.doFade figure {
    overflow: hidden;
}
.doFadeLinear {
    opacity:0 !important;
    /*filter: blur(20px);*/
    transition:filter .9s, opacity .9s;
}
.doFade.fadein {
    filter: blur(0px);
	transform:translateY(0) !important;
	opacity:1 !important;
}
.doFade.fadein figure img {
	transform:scale(1) !important;
}
.doFadeLinear.fadein {
    filter: blur(0px);
	opacity:1 !important;
}
.doFadeLinear.fadein figure img {
	transform:scale(1) !important;
}
@media all and (min-width: 1400px) {
    .doFade {
        transition:transform 1.2s, opacity 0.8s;
        transform:translateY(100px);
        transition-delay: .1s;
    }

    .doFade figure img {
        transition:transform 1.4s;
        transform:scale(1);
    }
}

/* =====  BLOTCHES  ==================================================== */

.blotch-holder {
    position: absolute;
    width: 100%; height: 100%;
    left:0;
    z-index: 0;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
}
.blotch1 {
    width: 40%;
    transform: translateX(-50%);
    transition-delay: .2s;
}
.blotch2 {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40%;
    transform: translateX(60%);
    text-align: right;
    transition-delay: .5s;
}

@media screen and (max-width: 539px) {
    .blotch-holder {
        height: 120%;
    }
    .blotch1, .blotch2 {
        width: 100%;
    }
}

/* =====  FOOTER  ==================================================== */

.footer {
    text-align: right;
}
.footer-wave {
    position: relative;
    z-index: 1;
    margin-top: calc(var(--pad)*1.5);
    overflow: hidden;
}
.footer-wave img {
    opacity: 0.3;
    width: 140%;
    transform: translateX(-20%);
}
.footer-menu {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    
    
}
.footer-menu-each {
    padding-left: 20px;
    color: var(--font-white);
}
.footer-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 45%, rgba(255, 255, 255, 0.6) 55%, rgba(255, 255, 255, 0) 100%);
}
.footer-links {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 0px; 
}
.contact-info {
    font-weight: 400;
    letter-spacing: 0;
}
.footer .social {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 25px;
}

.footer-social .menu-social-icons img {
    
}

@media (min-width: 768px) {
    .footer-links {
        justify-content: flex-start;
        align-items:flex-start;
        flex-direction: column;
        gap: 0px;
        height: 100%;
    }
    .footer-links {
        border: none;
        padding: 0;
    }
    .full-container {
        
    }
    .footer-wave img {
        opacity: 0.2;
        width: 100%;
        transform: translateX(0);
    }
}
@media (min-width: 1400px) {
    .footer-links {
        gap: 0px;
    }
}

/* =====  LINKS  ==================================================== */

.link-holder {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: default;
    text-transform: uppercase;
}
.link-holder a {
    opacity: 1;
    font-weight: 400;
    color: var(--color-text) !important;
    letter-spacing: 0px;
    line-height: 160%;
}
.link-holder a:hover {
    opacity: 1;
}
.link-holder.active a {
    opacity: 1;
}
.menu-main-holder .link-dot, .link-holder .link-dot {
    transform: translateX(0);
    line-height: 0;
    padding-right: 4px;
    display: none;
}

.menu-main-holder .link-dot, .link-holder.active .link-dot {
     display: block;
}

/* =====  BLOCKS CUSTOMS  ==================================================== */

.block-type-list {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
}
.block-type-line {
    padding-top: 2em;
    padding-bottom: 2em;
}
.img-caption {
    color: inherit;
    font-size: 0.9em;
}
.container-full {
    margin-bottom: 8px;
}

@media screen and (max-width: 539px) {
    .container-full {
        margin-bottom: 8px;
    }
}

.block-type-gallery {
    /*background: #f0f0f0;*/
}
.block-type-gallery figcaption {
    padding-top: 1em;
    line-height: 1.5em;
}
.block-type-list {
    padding-bottom: 0px;
}

@media screen and (min-width: 768px) {
    .col-md-4 .block-type-text {
        padding-right: 5%; 
    }
}

@media screen and (min-width: 1400px) {
    .col-md-4 .block-type-text {
        padding-right: 2%; 
    }
}


/* =====  BOTTOM ALIGN HACK  ==================================================== */




@media screen and (min-width: 768px) {
    
    .responsive-row .row .doFade{
        height: 100%; width: auto;
        padding-bottom: 8px;
    }
    .responsive-row .row .block-holder {
       height: 100%; 
    }
    .responsive-row .row .block-holder figure {
        height: 100%;
    }

    .responsive-row .row {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(calc(20% - 0px), 1fr));
        grid-auto-flow: dense;
    }
    .responsive-row .block-type-gallery figure {
        
    }   
    .responsive-row .block-type-gallery .flick {
        transform: scale(1.05);
        
    } 
    .responsive-row .block-type-gallery .flick .flickity-viewport {
        
    }
    .responsive-row .block-type-gallery .flickity-slider {
       
    }
    .responsive-row .block-type-gallery .flickity-slider div {
        
    }
}
@media screen and (min-width: 1400px) {
    .responsive-row .block-type-gallery .flick {
        transform: scale(1.03);
        
    } 
}
@media screen and (min-width: 1900px) {
    .responsive-row .block-type-gallery .flick {
        transform: scale(1.02);
    } 
}

.footer-holder {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 25px;
}

.menu-social-icons a {
    width: 35px;
    aspect-ratio: 1/1;
}
.menu-social-icons div {
    margin-right: 0px;
}

.menu-social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0px;
    gap: 8px;
}
.contact-social {

}
.contact-social .menu-social-icons {
    justify-content: flex-start;
}
.contact-social .menu-social-icons a {
    width: 35px;
}

@media screen and (max-width: 767px) {
    .menu-social-icons a {
        width: 30px;
    }
    .menu-social-icons {
        padding-top: 0px;
    }
}