@charset "UTF-8";
/* CSS Document */

/* -----------------------------
 Variables
------------------------------------------*/

:root {
  /* colours */
  --primary: 0, 121, 142;
  --primaryDark: 0, 35, 35;
  --primarySubtle: 223, 243, 244;
  --secondary: 255, 247, 214;
  --secondarySubtle: 255, 251, 234;
  --tertiary: 152, 217, 220;
  --accent: 224, 129, 109;
  --complimentary: 253, 245, 165;
  --white: 255, 255, 255;
  --primaryGradient: linear-gradient(145deg,
      rgb(var(--primaryDark)),
      rgb(var(--white)),
      rgb(var(--primaryDark)));
  --accentGradient: linear-gradient(145deg,
      rgb(var(--accent)),
      rgb(var(--white)),
      rgb(var(--accent)));

  /* fonts sizes */
  --fs-900: 2.488em;
  --fs-800: 2.074em;
  --fs-700: 1.728em;
  --fs-600: 1.44em;
  --fs-500: 1.2em;
  --fs-400: 1em;
  --fs-300: 0.889em;
  --fs-200: 0.79em;
}

@media screen and (min-width: 768px) {
  :root {
    --fs-900: 3.052em;
    --fs-800: 2.441em;
    --fs-700: 1.953em;
    --fs-600: 1.563em;
    --fs-500: 1.25em;
    --fs-400: 1em;
    --fs-300: 0.8em;
    --fs-200: 0.64em;
  }
}

@media screen and (min-width: 1200px) {
  :root {
    --fs-900: 3.915em;
  }
}

.fs-600 {
  font-size: var(--fs-600);
}

.email {
  font-size: 0.8rem;
}

/*------------------------------------------
Reset
------------------------------------------*/
*,
*::before,
*::after {
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
dl,
dt,
dd,
fieldset,
figure,
picture,
input,
label,
textarea,
nav,
ul,
li {
  margin: 0;
  padding: 0;
}

img,
picture {
  max-width: 100%;
  display: block;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
}

/*------------------------------------------
General
------------------------------------------*/

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Merriweather", Georgia, serif;
  font-size: 1em;
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
  color: rgb(var(--primaryDark));
  overflow-x: hidden;
  position: relative;
}

body.primary {
  color: rgb(var(--primaryDark));
  background-image: linear-gradient(165deg,
      rgb(var(--primaryDark)) 10%,
      rgb(var(--primary)) 20%,
      rgba(var(--primary), 0.7) 40%,
      rgb(var(--secondary)),
      rgb(var(--primarySubtle)),
      rgb(var(--primary)));
  transform-style: preserve-3d;
  perspective: 600px;
}

body.secondary {
  background-image: linear-gradient(165deg,
      rgb(var(--secondarySubtle)),
      rgb(var(--white)),
      rgb(var(--primarySubtle)),
      rgb(var(--white)));
}

body.primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/assets/images/brand/symbols/symbol-primary.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center 100px;
  background-attachment: scroll;
  opacity: 0.1;
  z-index: -1;
}

body.backgroundimg {
  background-image: url("/assets/images/brand/retreat-background-light.png");
  background-attachment: scroll;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
}

body.backgroundimg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-position: center top;
  background-image: linear-gradient(165deg,
      rgb(var(--secondarySubtle)),
      rgb(var(--white)),
      rgb(var(--primarySubtle)),
      rgb(var(--white)));
  opacity: 0.8;
  z-index: -1;
}

@media screen and (min-width: 768px) {
  body.primary::before {
    background-size: cover;
  }

  body.primary::before,
  body.backgroundimg {
    background-attachment: fixed;
  }
}

h1,
h2 {
  position: relative;
  font-size: var(--fs-900);
  font-weight: 300;
  line-height: 1.2;
  max-width: 16ch;
}

h1 {
  color: rgb(var(--primary));
}

body.dark h1 {
  color: rgb(var(--secondary));
}

h2 {
  font-size: var(--fs-700);
  line-height: 1.3;
  max-width: 30ch;
}

h3 {
  font-size: var(--fs-600);
  font-weight: 300;
  line-height: 1.5;
  max-width: 40ch;
}

h4 {
  font-size: var(--fs-400);
  font-weight: 300;
  line-height: 1.5;
  max-width: 40ch;
}

p {
  max-width: 65ch;
}

strong,
b {
  font-weight: 600;
}

p.preheading {
  color: rgb(var(--accent));
  margin-bottom: 2rem;
}

p.subheading {
  color: rgb(var(--accent));
  font-size: var(--fs-600);
}

button {
  background: transparent;
  border: none;
}

a {
  text-decoration: none;
  color: inherit;
}

nav a:hover {
  opacity: 0.7;
}

nav ul,
.liststyle-none {
  list-style: none;
  padding-left: 0;
}

ul {
  list-style: circle;
  padding-left: 1rem;
}

li {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

ul.category-list {
  display: inline-flex;
  flex-wrap: wrap;
}

ul.category-list li {
  margin-right: 1.2rem;
  line-height: 1;
}

blockquote {
  max-width: 45ch;
}

p a,
small a,
blockquote>a {
  border-bottom: 3px solid rgb(var(--accent));
  color: inherit;
}

blockquote>a {
  font-size: 0.7em;
}

p a:hover,
small a:hover,
blockquote>a:hover {
  opacity: 0.8;
  border-bottom: 3px solid rgb(var(--secondary));
}

small {
  display: block;
}

/*------------------------------------------
Utility Classes
------------------------------------------*/

.flow-content>*+* {
  margin-top: var(--flow-space, 1rem);
}

.primarybackground {
  background-color: rgb(var(--primaryDark));
  color: rgb(var(--white));
  isolation: isolate;
}

.inactive {
  opacity: 0.2;
}

@media screen and (min-width: 768px) {
  .flow-content>*+* {
    --flow-space: 1.5rem;
  }
}

/*------------------------------------------
Intersection Observers
------------------------------------------*/

.fade-in {
  transition: opacity 1000ms ease-in;
  opacity: 0;
}

.fade-in.appear {
  opacity: 1;
}

/*------------------------------------------
Flex
------------------------------------------*/

.flex {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap, 1rem);
}

.flex-centre {
  justify-content: center;
}

.page-box>.flex {
  justify-content: space-between;
}

.flex-equal {
  width: 100%;
}

@media screen and (min-width: 576px) {
  .flex {
    flex-wrap: nowrap;
  }

  .flex-equal {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    max-width: 50%;
  }
}

/*------------------------------------------
Grid
------------------------------------------*/

.grid {
  display: block;
  margin: 2rem auto;
  padding: 1rem 2rem;
  max-width: 60rem;
}

@supports (display: grid) {
  .grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--gap, 1rem);
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
  }
}

.grid>* {
  grid-column: 1 / span 12;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.grid--wide {
  --gap: 0;
  max-width: 100%;
  padding: 0;
}

.grid--2col {
  grid-column: span 12;
}

.grid--2col p:last-of-type {
  margin-bottom: 1.5rem;
}

.grid--2col .btn {
  margin-top: auto;
  width: auto;
}

.grid--3col {
  grid-column: span 12;
}

.page-box {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1.5rem;
  padding: 1.5rem;
  position: relative;
  z-index: 0;
}

.page-box--accent {
  background: rgba(var(--primary), 0.2);
}

.page-intro {
  position: relative;
}

.primary .page-intro {
  margin-top: -12rem;
  padding: 3rem 2rem;
  background-image: linear-gradient(0deg,
      rgba(var(--primaryDark), 0) 0%,
      rgba(var(--primaryDark), 1) 80%,
      rgba(var(--primaryDark), 0.7) 90%,
      rgba(var(--primaryDark), 0));
  position: relative;
  left: -2rem;
  width: calc(100% + 4rem);
}

/*see adverts for other .page-box coloured backgrounds*/

@media screen and (min-width: 576px) {

  .grid--2col,
  .grid--3col {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
  }

  .grid--3col .btn {
    align-self: flex-start;
  }

  .page-box-main {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
  }

  .page-box-main>.image-circle {
    margin: 0;
    max-width: 150px;
  }
}

@media screen and (min-width: 768px) {
  .grid--centre>* {
    grid-column: 4 / span 8;
  }

  .grid--2col p:last-of-type {
    margin-bottom: 1.5rem;
  }

  .card-article {
    align-items: flex-start;
  }

  .page-intro {
    position: relative;
    grid-column: 2 / span 8;
    margin-top: -5rem;
  }

  .page-indent {
    position: relative;
    grid-column: 2 / span 7;
  }

  .primary .page-intro {
    margin-top: -12rem;
    background-image: none;
    padding-left: 0;
  }

  .page-box {
    grid-column: 2 / span 10;
    padding: 2.5rem;
  }

  .page-tags,
  .page-categories {
    grid-column: 2 / span 10;
  }

  .side-list,
  .sidebar {
    position: relative;
    top: 0;
    left: 0;
    grid-column: 2 / 8;
    grid-row: 4;
    transform: scale(1);
    padding: 1rem;
    border-radius: 1rem;
    align-self: start;
  }

  .side-list {
    top: -250px;
    margin-bottom: -250px;
    background-color: rgb(var(--primarySubtle));
  }

  .flow-change {
    grid-row: 1;
    grid-column: 6 / 13;
    --flow-space: 0.5rem;
    min-height: 30vh;
    margin-bottom: 3rem;
  }
}

@media screen and (min-width: 768px) and (max-width: 915px) {
  .flow-change {
    margin-top: -10rem;
  }
}

@media screen and (min-width: 576px) and (max-width: 768px) {
  .primary .grid--3col:last-of-type {
    grid-row: 2;
    grid-column: 3 / span 8;
  }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
  .primary .grid--3col:last-of-type {
    grid-column: 4 / span 6;
  }

  .page-intro,
  .page-indent {
    grid-column: 2 / span 9;
  }
}

@media screen and (min-width: 992px) {
  .grid--2col {
    grid-column: span 5;
    align-items: stretch;
  }

  .grid--2col.grid-advert,
  .grid--2col:first-of-type {
    grid-column: 2 / span 5;
  }

  .grid--3col {
    grid-column: span 4;
  }

  .primary .page-intro {
    margin-top: -20rem;
  }

  .sidebar {
    grid-column: 9 / 13;
    grid-row: 3;
  }

  .page-tags,
  .page-categories {
    grid-column: 10 / span 3;
  }

  .flow-change {
    grid-column: 7 / 13;
  }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
  .primary .page-intro p:nth-of-type(2)::before {
    content: "";
    position: relative;
    margin-top: -10rem;
    right: -2rem;
    shape-outside: circle(30%);
    width: 200px;
    height: 200px;
    float: right;
    opacity: 0;
  }
}

@media screen and (min-width: 1200px) {
  .sidebar {
    grid-column: 9 / 13;
  }

  .flow-change {
    grid-column: 8 / 13;
  }

  .page-intro,
  .page-indent {
    grid-column-start: 2;
  }

  .primary .page-intro {
    grid-column-start: 2;
  }
}

/*------------------------------------------
Buttons & Tags
------------------------------------------*/

.btn,
.page-tags a,
.page-categories a,
.page-categories p,
input[type="submit"] {
  position: relative;
  left: 2px;
  display: inline-block;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  color: #fff;
  background: var(--btnBackground, rgb(var(--accent)));
  margin: 2rem 0.5rem 0.5rem 0;
  cursor: pointer;
}

.btn:hover,
input[type="submit"]:hover {
  --btnBackground: rgba(var(--accent), 0.8);
}

.btn::before,
input[type="submit"]::before,
.image-circle::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  bottom: -2px;
  left: -2px;
  z-index: -1;
  border-radius: 0.7rem;
  background-image: var(--accentGradient);
}

.btn {
  --btnBackground: rgb(var(--accent));
}

.btn.btn-secondary {
  --btnBackground: rgb(var(--primary));
}

.btn.btn-subtle {
  --btnBackground: transparent;
  color: rgb(var(--secondary));
  border: 1px solid rgb(var(--secondary));
}

.btn.btn-subtle::before {
  --btnBackground: transparent;
  background-image: none;
}

.btn.btn-secondary:hover {
  --btnBackground: rgba(var(--primary), 0.7);
}

.btn.btn-secondary::before {
  background-image: var(--primaryGradient);
  opacity: 0.7;
}

.btn.disabled {
  filter: grayscale(100%);
  cursor: initial;
}

.page-tags a,
.page-categories a {
  background-color: rgb(var(--primaryDark));
  margin: 0 0.5rem 0.5rem 0;
}

.page-categories a,
.page-categories p {
  background-color: rgb(var(--primarySubtle));
  color: rgb(var(--primary));
  font-size: 0.8rem;
}

.arrow {
  background-color: rgb(var(--primary));
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1;
  padding: 0.5rem;
  cursor: pointer;
  vertical-align: middle;
  margin: 0 1rem;
}

.backlink {
  display: block;
  position: relative;
  left: -1.5rem;
  margin-bottom: 3rem;
}

.backlink:hover {
  opacity: 0.8;
}

.arrow.backarrow {
  transform: rotate(180deg);
}

.prevnext {
  text-align: center;
}

.prevnext:hover {
  opacity: 0.8;
}

.prevnext a {
  color: rgb(var(--primary));
}

/*------------------------------------------
Free!!
------------------------------------------*/

.freeflash {
  background-color: rgb(var(--primary));
  padding: 0.5rem 3rem;
  color: rgb(var(--white));
  transform: rotate(-45deg) scale(1.2);
  position: absolute;
  top: 1rem;
  left: -2rem;
  z-index: 1;
  text-transform: uppercase;
  clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
}

/*------------------------------------------
Circle images
------------------------------------------*/

.image-circle,
.image-circle-hero {
  position: relative;
  background-color: rgb(var(--secondary));
  width: 200px;
  aspect-ratio: 1;
  border-radius: 200rem;
  margin: 2rem auto 3rem;
  box-shadow: 0 0 30px 10px rgb(var(--primarySubtle));
}

.image-circle-hero,
.image-circle-top {
  top: 0;
  left: -10%;
  aspect-ratio: 1;
  width: 120%;
  border-radius: 200rem;
  margin: 0 auto 2rem auto;
}

.image-circle-top {
  width: 100%;
  top: -1rem;
  left: 0;
  margin-bottom: -1rem;
}

.image-circle::before,
.image-circle-hero::before {
  content: " ";
  border-radius: 200rem;
  top: -0.5rem;
  right: -0.5rem;
  bottom: -0.5rem;
  left: -0.5rem;
}

.image-circle-hero::before {
  background-image: var(--primaryGradient);
}

.image-circle img {
  border-radius: 50%;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.image-circle-hero img {
  border-radius: initial;
  aspect-ratio: 1;
}

.image-circle.image-circle-hero::after,
.imagegroup .image-circle::after {
  content: " ";
}

@media screen and (min-width: 420px) {
  .image-circle-hero {
    top: -50px;
    width: 70vw;
    left: 0vw;
    transform: translate(0, 0);
  }

  .image-circle-top {
    top: -3rem;
    width: 60vw;
    left: 0vw;
    transform: translate(0, 0);
    margin-bottom: -3rem;
  }
}

@media screen and (min-width: 768px) {
  .image-circle-top {
    top: 0;
    grid-column: 9 / 13;
    margin-bottom: -5rem;
    width: auto;
  }

  .image-circle-hero {
    top: 0px;
    left: auto;
    right: -30px;
    width: auto;
    grid-column: 8 / span 6;
    grid-row: 1;
  }
}

@media screen and (min-width: 992px) {
  .image-circle {
    margin: 2rem auto 2rem;
  }

  .image-circle-top {
    margin-bottom: -1rem;
  }

  .image-circle-hero {
    top: 0px;
    grid-column: 7 / 13;
  }
}

/* Image Gallery -- Spilde Gallery
------------------------------------------*/

.splide {
  position: relative;
  margin-top: 2rem;
}

.splide__list {
  justify-content: center;
}

.splide__slide {
  transition: all 0.5s ease-in-out;
  opacity: 0.4;
  text-align: center;
  height: auto;
}

.splide__slide.is-active {
  opacity: 1;
  border: none;
}

.splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.splide__slide .image-circle {
  width: 110vw;
  position: relative;
  left: -5vw;
  margin: 0.5rem auto;
}

#thumbnail-carousel .splide__slide .image-circle {
  max-width: 7rem;
  margin: 0;
}

#thumbnail-carousel .splide__slide .image-circle::before {
  top: -0.2rem;
  bottom: -0.2rem;
  left: -0.2rem;
  right: -0.2rem;
}

#thumbnail-carousel .splide__track {
  height: 10rem;
  /*  overflow-x: auto;*/
}

#thumbnail-carousel .splide__slide {
  margin: 1.5rem;
}

.splide__arrow svg {
  fill: #fff;
  padding: 0.5rem;
}

.splide__arrows.splide__arrows--ltr {
  display: flex;
  justify-content: space-between;
  margin: 0 2rem;
}

.splide__arrow {
  background-color: rgb(var(--primary));
  border-radius: 100%;
  cursor: pointer;
  aspect-ratio: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  vertical-align: middle;
  padding: 0;
  height: 40px;
  width: 40px;
}

.splide__arrow.splide__arrow--prev {
  transform: rotateZ(180deg);
  justify-self: flex-end;
}

.splide__arrow.splide__arrow--next {
  justify-self: flex-end;
}

@media screen and (min-width: 450px) {
  .splide__slide .image-circle {
    left: 0;
    width: 90vw;
  }
}

@media screen and (min-width: 576px) {
  .splide__slide .image-circle {
    left: 0;
    width: 50vw;
  }
}

@media screen and (min-width: 768px) {
  .splide__slide .image-circle {
    width: 40vw;
    max-width: 500px;
  }

  .splide__arrows.splide__arrows--ltr {
    justify-content: space-around;
  }
}

/* Light beam effect
------------------------------------------*/

@keyframes lightbeam {
  50% {
    transform: translate(-70%, 0) rotate(10deg) scale(0.7);
  }
}

.lightglow {
  background: linear-gradient(transparent,
      rgba(255, 255, 255, 0.5),
      transparent);
  position: absolute;
  transform: rotateZ(-45deg);
  top: -50%;
  right: 20%;
  bottom: -50%;
  left: 40%;
  border-radius: 50% / 50%;
  filter: blur(20px);
  z-index: -1;
  transform-origin: 10% 60%;
  animation: lightbeam 20s infinite;
  animation-timing-function: ease-in-out;
}

.lightglow::before,
.lightglow::after {
  content: "";
  background: linear-gradient(transparent, rgba(255, 255, 255, 1), transparent);
  position: absolute;
  transform: rotateZ(-30deg);
  top: -30%;
  right: 45%;
  bottom: -10%;
  left: 45%;
  border-radius: 50% / 50%;
  z-index: -1;
}

.lightglow::after {
  transform: rotateZ(90deg);
  top: 10%;
  right: 40%;
  bottom: 40%;
  left: 45%;
}

.image-circle-hero::before {
  background-image: var(--primaryGradient);
}

.imagegroup {
  text-align: center;
  margin: 0 auto;
  position: relative;
  max-width: 700px;
}

.imagegroup>.image-circle {
  display: inline-block;
  margin: 0;
}

.imagegroup>.image-circle:nth-of-type(1) {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.imagegroup>.image-circle:nth-of-type(2) {
  height: 320px;
  width: 320px;
  z-index: 3;
}

.imagegroup>.image-circle:nth-of-type(2) img {
  height: 320px;
  width: 320px;
}

.imagegroup>.image-circle:nth-of-type(3) {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

/*------------------------------------------
Header
------------------------------------------*/

header {
  position: relative;
}

body.primary .page-intro {
  color: rgb(var(--white));
}

body.primary h1 {
  color: rgb(var(--secondary));
}

header.header-secondary .testimonial {
  color: rgb(var(--accent));
}

@media screen and (min-width: 768px) {
  header.header-home>section {
    margin-top: 3rem;
  }

  header.grid>section {
    grid-column: 2 / span 8;
    grid-row: 2;
  }

  header.header-secondary .testimonial,
  header.header-secondary .page-box {
    grid-column: 7 / span 6;
  }
}

@media screen and (min-width: 992px) {
  header>section {
    grid-column: 2 / span 7;
  }
}

@media screen and (min-width: 1200px) {
  header>section {
    grid-column: 2 / span 8;
  }
}

@media screen and (min-width: 768px) and (max-width: 915px) {
  header.header-home {
    margin-bottom: -10rem;
  }
}

/*------------------------------------------

Navbar

------------------------------------------*/

.primary-logo {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 200px;
  padding: 0 1rem;
}

.primary-logo:hover>img {
  filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.3));
}

nav {
  display: flex;
  justify-content: flex-end;
  z-index: 999;
}

.nav-links {
  display: flex;
  justify-content: space-between;
}

.nav-links li {
  padding: 0.5rem;
  margin: 0 0.8rem;
  border-bottom: 1px solid rgb(var(--primary));
}

.nav-links li.active {
  border-bottom: 1px solid rgb(var(--accent));
}

.nav-links a {
  text-decoration: none;
  padding: 0.5rem;
}

.nav-links li.active a {
  color: rgb(var(--accent));
}

body.primary .nav-links a {
  color: rgb(var(--secondary));
}

.menu-icon {
  display: none;
  transform: rotateZ(90deg);
}

.menu-icon div {
  width: 2rem;
  height: 3px;
  background-color: rgb(var(--primary));
  margin: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

@media screen and (max-width: 1100px) {
  .nav-links {
    transform: scale(0.8);
    transform-origin: top right;
  }
}

@media screen and (max-width: 915px) {
  .primary-logo {
    position: relative;
    max-width: 170px;
    padding: 0;
    top: -0.5rem;
    left: -1rem;
  }

  nav {
    justify-content: space-between;
    align-items: flex-start;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 60vw;
    position: absolute;
    top: 100px;
    right: 0;
    border-radius: 1rem 0 0 1rem;
    background-color: rgb(var(--primarySubtle));
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
    opacity: 0;
    /*optional to remove resize flash*/
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
  }

  .nav-links li {
    opacity: 0;
    margin: 1rem;
    width: 90%;
    padding-left: 0;
  }

  .nav-links a {
    padding-left: 0.5rem;
  }

  body.primary .nav-links a {
    color: rgb(var(--primaryDark));
  }

  .menu-icon {
    display: block;
  }
}

@media screen and (max-width: 576px) {
  .primary-logo {
    max-width: 130px;
  }
}

@media screen and (max-width: 420px) {
  .primary-logo {
    max-width: 100px;
  }
}

.nav-active {
  transform: translateX(0%);
  opacity: 1;
  /*optional to remove resize flash*/
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-9px, 6px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  transform: rotate(45deg) translate(-9px, -6px);
}

.secondary-nav {
  grid-column: 2 / span 10;
}

/*------------------------------------------
Snipcart Checkout
------------------------------------------*/

.snipcart,
.snipcart__font--std,
.snipcart__font--secondary,
.snipcart__font--subtitle,
.snipcart__font--slim,
.snipcart__font--subtitle-small {
  font-family: "Merriweather", serif;
}

.snipcart__font--regular,
.snipcart__font--slim,
.snipcart__font--subtitle-small {
  line-height: 1.6;
}

body.primary .snipcart h1 {
  color: rgb(var(--primaryDark));
}

.snipcart {
  position: relative;
  z-index: 9999;
}

li.snipcart-basket {
  position: relative;
  top: -20px;
  border-bottom: none;
  margin-bottom: -90px;
}

.snipcart-checkout {
  width: 90px;
  padding: 0.5rem;
  border-radius: 50%;
  aspect-ratio: 1;
  transform: scale(0.7);
  border: 2px solid rgb(var(--primary));
}

.snipcart-checkout:hover {
  cursor: pointer;
  opacity: 0.8;
}

.snipcart-items-count {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 1.2rem;
}

body.primary .snipcart-items-count {
  color: rgb(var(--secondary));
}

@media screen and (max-width: 992px) {
  .snipcart-checkout {
    top: -10px;
    right: -10px;
  }
}

@media screen and (max-width: 768px) {
  .snipcart-checkout {
    position: relative;
    top: 0;
    left: 0;
    right: auto;
  }

  li.snipcart-basket {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 768px) {
  body.primary .snipcart-checkout {
    border: 2px solid rgb(var(--primaryDark));
  }

  body.primary .snipcart-items-count {
    color: rgb(var(--primaryDark));
  }
}

/*------------------------------------------
Currency Switcher
------------------------------------------*/

li.currency-switcher {
  /* padding: 0.5rem; */
  margin: 0 0.8rem;
  border-bottom: 1px solid rgb(var(--primary));
}

#currency-switcher {
  background: transparent;
  color: rgb(var(--primaryDark));
  border: none;
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  font-size: 1em;
  /* padding: 0.5rem; */
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300232B' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 2rem;
}

#currency-switcher:hover {
  opacity: 0.8;
}

#currency-switcher option {
  background: rgb(var(--white));
  color: rgb(var(--primaryDark));
}

/* Primary page (homepage) styling */
body.primary #currency-switcher {
  color: rgb(var(--secondary));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FFF7D6' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
  li.currency-switcher {
    margin: 1rem;
    width: 90%;
  }

  #currency-switcher {
    padding-left: 0.5rem;
    width: 100%;
  }

  body.primary #currency-switcher {
    color: rgb(var(--primaryDark));
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300232B' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  }
}

/*------------------------------------------
Cards
------------------------------------------*/

.card {
  position: relative;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1.5rem;
  padding: 1.5rem;
}

@supports (backdrop-filter: blur(4px)) {
  .card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
  }
}

.card::after {
  content: url("/assets/images/brand/symbols/symbol4.svg");
  position: absolute;
  top: -10px;
  left: auto;
  right: -10px;
  width: 85px;
  height: 85px;
  background-color: rgb(var(--secondary));
  background: radial-gradient(rgba(var(--primarySubtle), 0.3) 0%,
      rgb(var(--secondarySubtle)) 100%);

  border: 2px solid rgb(var(--primarySubtle));
  border-radius: 50%;
  padding: 5px;
}

.primary .card::after {
  background-color: rgb(var(--primarySubtle));
  background: radial-gradient(rgba(var(--primary), 0.3) 0%,
      rgb(var(--primarySubtle)) 100%);
}

.card:nth-of-type(even)::after {
  content: url("/assets/images/brand/symbols/symbol2.svg");
}

.card:nth-of-type(3n + 0)::after {
  content: url("/assets/images/brand/symbols/symbol3.svg");
}

.card:nth-of-type(4n + 0)::after {
  content: url("/assets/images/brand/symbols/symbol1.svg");
}

.card hr {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  border-top: 1px solid rgb(var(--primarySubtle));
}

.card-title {
  color: rgb(var(--accent));
}

.card a {
  border-bottom: none;
}

.small-heading {
  margin: 1rem 0;
}

.card>h2 {
  padding-right: 3rem;
}

@media screen and (min-width: 576px) {
  .card>p:last-of-type {
    margin-bottom: 1.5rem;
  }

  .card>*:last-child {
    margin-top: auto;
  }
}

.pagination {
  display: flex;
  justify-content: space-around;
}

.pagination span.inactive {
  color: lightgrey;
}

/*------------------------------------------
Featured In Logos
------------------------------------------*/

.featured {
  background-color: rgb(var(--white));
  border-width: 5px;
  border-style: solid;
  border-image: linear-gradient(to left,
      rgb(var(--primaryDark)) 1%,
      rgb(var(--white)) 50%,
      rgb(var(--primaryDark)) 100%) 100% 0 100% 0/5px 0 5px 0 stretch;
  text-align: center;
  padding: 2rem 0 0;
  margin: 2rem 0;
}

.featured h2 {
  grid-column: span 12;
  margin-left: auto;
  margin-right: auto;
}

.featured a,
.featured span,
.featured img {
  max-width: 180px;
}

.featured a,
.featured span {
  margin: 1rem;
}

.featured a:hover {
  opacity: 0.7;
}

.carousel {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: 100vw;
  height: auto;
  padding: 1rem 0;
  overflow-y: scroll;
  overflow-x: visible;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
}

.carousel::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/*------------------------------------------
Testimonials
------------------------------------------*/

.testimonial {
  padding: 2rem;
}

.testimonial:nth-of-type(1n) {
  color: rgb(var(--primary));
}

.testimonial:nth-of-type(2n) {
  color: rgb(var(--primaryDark));
}

.testimonial:nth-of-type(3n) {
  color: rgb(var(--accent));
}

.testimonial.excerpt {
  color: rgb(var(--accent));
  /*  margin-bottom: 10vh;*/
}

.primary .testimonial {
  color: rgb(var(--primaryDark));
}

@media screen and (min-width: 768px) {
  .testimonial:nth-of-type(2n) {
    grid-column-start: 6;
  }

  .testimonial:nth-of-type(3n) {
    grid-column-start: 4;
  }
}

blockquote {
  position: relative;
  font-size: 1.2em;
  quotes: "“" "”" "‘" "’";
  margin-left: 0;
  margin-right: 0;
}

blockquote::before,
blockquote::after {
  content: open-quote;
  position: absolute;
  top: -60px;
  left: -30px;
  font-size: 3em;
  font-weight: 700;
  color: rgb(var(--primarySubtle));
}

blockquote::after {
  content: close-quote;
  top: auto;
  left: auto;
  right: 0;
  bottom: -100px;
}

/*------------------------------------------
Forms
------------------------------------------*/

.uniform__potty {
  position: absolute;
  left: -9999px;
}

.form-section input:not(input[type="submit"]),
.form-section select,
.form-section textarea {
  width: clamp(200px, 90%, 500px);
  padding: 1.5rem 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: 0.5rem;
  border: none;
  color: rgb(var(--primaryDark));
}

.form-section textarea {
  min-height: 12rem;
}

.form-section fieldset {
  border: none;
}

.honeypot {
  display: none;
}

.error {
  border: 1px solid rgb(var(--accent));
}

.error-text {
  color: white;
  background-color: rgb(var(--accent));
  padding: 0.5rem 1rem;
  width: 90%;
  max-width: 35rem;
  border-radius: 0.5rem;
}

#contactform {
  background-color: rgb(var(--secondarySubtle));
}

/* ------------------------------------

Checkmark & Radio Buttons

------------------------------------*/

.label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.radiogroup {
  display: flex;
}

/* Customize the label (the container) */
.checkbox-container,
.radiocontainer {
  display: block;
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin-right: 2rem;
}

/* Hide the browser's default checkbox */
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: rgb(var(--accent));
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input~.checkmark {
  background-color: rgba(var(--accent), 0.5);
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked~.checkmark {
  background-color: rgb(var(--primary));
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked~.checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 7px;
  height: 12px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/*------------------------------------------
detail / summary
------------------------------------------*/

details {
  position: relative;
}

summary::marker {
  color: inherit;
}

details>summary {
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: url(/assets/images/brand/arrow.svg);
  position: absolute;
  top: -40px;
  right: -40px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  aspect-ratio: 1;
  padding: 0.6rem;
  cursor: pointer;
  transform: rotateZ(90deg) scale(0.6);
  transform-origin: center;
  background-color: rgb(var(--primary));
}

details[open] summary:after {
  content: url(/assets/images/brand/arrow.svg);
  border-radius: 50%;
  transform: rotateZ(270deg) scale(0.6);
  transform-origin: center;
}

/*------------------------------------------
video
------------------------------------------*/

.iframe-container {
  overflow: hidden;
  /* 16:9 aspect ratio */
  padding-top: 56.25%;
  position: relative;
}

.iframe-container iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.video {
  border-radius: 1rem;
}

/*------------------------------------------
adverts
------------------------------------------*/

.advert {
  display: flex;
  flex-direction: column;
  position: relative;
  background-repeat: no-repeat;
  background-position: right bottom;
  padding: 2rem 2rem 1rem;
  justify-content: space-between;
}

.advert .flex {
  flex-direction: column-reverse;
}

.advert a.btn {
  align-self: flex-start;
}

.advert h3 {
  max-width: 80%;
}

.advert p {
  max-width: 30ch;
}

.advert .icon {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 70px;
  border-radius: 50%;
  margin: 0;
  border: 2px solid rgb(var(--secondary));
}

.advert#signup {
  background-color: rgb(var(--tertiary));
  background-image: url("/assets/images/dogs/dogs-advert.png");
  background-position: center bottom;
}

.advert#resources {
  background-color: #ebded0;
  background-image: url("/assets/images/adverts/resources.png");
}

.advert#retreats {
  background-color: rgb(var(--complimentary));
  background-image: url("/assets/images/adverts/retreats.png");
}

.advert#insights {
  background-color: rgb(var(--primarySubtle));
  background-image: url("/assets/images/adverts/books.png");
  background-size: 40%;
  background-position: bottom 1rem right;
}

.advert#faqs {
  background-color: #fff7d6;
  background-image: url("/assets/images/adverts/faqs.png");
}

.page-box#retreatsform {
  background-color: rgba(var(--complimentary), 0.5);
}

.page-box#signupform {
  background-color: rgba(var(--tertiary), 0.5);
}

@media screen and (min-width: 768px) {
  .advert#insights {
    background-position: bottom 0 right;
  }
}

/*------------------------------------------
Footer
------------------------------------------*/

footer .centre,
footer p {
  text-align: center;
  max-width: 100%;
  margin: 0;
}

.footer-logo {
  display: block;
  margin: 0 auto;
  width: 200px;
}

footer>.grid>div {
  grid-column: 2 / span 10;
}

nav.footer-nav {
  justify-content: center;
}

nav.footer-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding-left: 0;
}

nav.footer-nav li {
  padding: 1rem 1rem 1rem 0;
}

nav.footer-nav a {
  color: rgb(var(--white));
  text-decoration: none;
  border-bottom: 3px solid rgb(var(--accent));
  color: inherit;
}

address {
  color: rgb(var(--secondary));
  grid-column: 4 / span 6;
}

aside.fresh-bread>small {
  grid-column: 2 / span 10;
}