/**
 * Slow Content - Combined Stylesheet
 *
 * Contents:
 * 1. Reset (normalize.css)
 * 2. Base styles
 * 3. Components & overrides
 */

/* ==========================================================================
   COLOUR VARIABLES (Contentious palette)
   ========================================================================== */
:root {
  --gloaming-900: #1A1918;
  --gloaming-700: #383533;
  --gloaming-500: #4F4D4B;
  --limestone-500: #F2F2E7;
  --limestone-100: #F8F8F2;
  --wave-500: #89A6AB;
  --wave-700: #7A9398;
  --sapling-500: #81A479;
  --sapling-700: #678361;
  --sapling-overlay: hsl(109 19% 56% / 98%);
  --sunshine-500: #E7AB3F;
}

/* ==========================================================================
   1. RESET (normalize.css v3.0.3)
   ========================================================================== */

html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type='checkbox'],
input[type='radio'] {
  box-sizing: border-box;
  padding: 0;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  height: auto;
}

input[type='search'] {
  -webkit-appearance: none;
}

input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/* ==========================================================================
   2. BASE STYLES
   ========================================================================== */

/* Typography
   ========================================================================== */
h1 {
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--limestone-500);
  font-size: 10vh;
  line-height: 10vh;
  font-weight: 700;
}

h2 {
  margin-top: 20px;
  margin-bottom: 20px;
  color: var(--limestone-500);
  font-size: 52px;
  line-height: 64px;
  font-weight: 700;
}

h3 {
  margin-top: 10px;
  margin-bottom: 25px;
  color: var(--gloaming-500);
  font-size: 34px;
  line-height: 50px;
  font-weight: 400;
}

h4 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-family: 'Bely Display', sans-serif;
  color: #181818;
  font-size: 50px;
  line-height: 60px;
  font-weight: 400;
}

p {
  margin-bottom: 12px;
  color: var(--gloaming-500);
  font-size: 26px;
  line-height: 40px;
}

a {
  color: var(--sapling-700);
  text-decoration: none;
  transition: all 1s ease-in-out;
}

a:hover {
  color: var(--wave-700);
}

/* Body
   ========================================================================== */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

.body {
  background-color: var(--limestone-100);
  font-family: 'Bely', sans-serif;
}

/* Sections
   ========================================================================== */
.section {
  display: flex;
  width: 100%;
  height: auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.section.wide {
  height: auto;
  padding-top: 10vh;
  padding-bottom: 10vh;
  background-color: var(--gloaming-900);
}

.section.wide.img {
  padding-bottom: 10vh;
}

.section.center-bottom {
  position: relative;
  padding-top: 0vh;
  justify-content: center;
  align-items: flex-start;
  background-color: #1eb6af;
  background-image: linear-gradient(135deg, var(--wave-500), var(--sapling-500), var(--wave-500) 0, #3C494B);
}

.section.center-copy {
  position: relative;
  height: 100vh;
  padding-top: 0vh;
  justify-content: center;
  align-items: flex-start;
  background-color: #11d6dd;
  background-image: linear-gradient(135deg, #273124, #3C494B 100%, #2C2A29);
  transition: background-color 200ms ease;
}

.section-2 {
  display: block;
}

/* Navigation
   ========================================================================== */
.hero {
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: 999999;
  display: flex;
  width: 100%;
  height: auto;
  padding: 50px 0;
  border: 1px none #000;
  background-color: transparent;
}

.nav {
  display: block;
  width: 1080px !important;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0px;
  padding-right: 0px;
  box-sizing: border-box;
  height: auto;
  background-color: transparent;
}

.nav-inner {
  display: flex;
  width: 100%;
  padding-top: 0px;
  padding-bottom: 0px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px none hsla(0, 0%, 100%, 0.1);
}

.nav-logo-wrap {
  flex: 0 0 auto;
}

.nav-menu-wrap {
  display: flex;
  align-items: center;
}

.nav-menu-2 {
  display: flex;
}

.nav-link {
  margin-right: 15px;
  margin-bottom: 20px;
  margin-left: 15px;
  padding-top: 40px;
  padding-right: 0px;
  padding-left: 0px;
  flex: 0 auto;
  color: var(--limestone-500);
  font-size: 20px;
  font-weight: 400;
  transition: all 1s ease-in-out;
}

.nav-link:hover,
a:hover,
.calltoaction a:hover {
  box-shadow: inset 0 -5px 0 0 var(--wave-500);
  color: var(--limestone-500);
  padding-bottom: 10px;
}

a:hover {
  color: var(--wave-500);
  padding-bottom: 5px;
}

.brand {
  display: block;
}

/* Hero Content
   ========================================================================== */
.hero-content {
  position: relative;
  z-index: 0;
  width: 1080px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 10vh;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
  flex: 0 auto;
  object-fit: fill;
}

.hero-subhead {
  max-width: 60%;
  color: var(--limestone-500);
  font-size: 30px;
  line-height: 44px;
}

.heading-3 {
  font-family: 'Bely Display', sans-serif;
  font-size: 10vh;
  font-weight: 400;
}

.heading-3-bottom {
  font-family: 'Bely Display', sans-serif;
  font-size: 7vh;
  font-weight: 400;
  line-height: 1.3em !important;
}

/* Features
   ========================================================================== */
.feature-wrap {
  display: flex;
  width: 90%;
  max-width: 1080px;
  margin-top: 10vh;
  margin-bottom: 10vh;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 60px;
  border: 1px none #000;
  font-size: 18px;
  line-height: 24px;
}

.feature-wrap.reverse {
  margin-top: 5vh;
  margin-bottom: 5vh;
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1 1 50%;
  max-width: 700px;
  min-width: 0;
  padding-left: 0;
  padding-right: 0;
  border: 1px none #000;
}

.feature-image {
  display: flex;
  flex: 1 1 50%;
  min-width: 0;
  justify-content: center;
  align-items: center;
  border: 1px none #000;
}

.feature-image img {
  max-width: 50vw;
  height: auto;
}

/* Wrap & Container
   ========================================================================== */
.wrap {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 40px;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
  text-align: center;
}

.wrapper {
  display: flex;
  width: 90%;
  max-width: 1200px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container {
  max-width: 940px;
  width: 90%;
  margin: 0 auto;
  padding: 5vh 0;
  box-sizing: border-box;
}

/* Title
   ========================================================================== */
.title {
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 1px none #2e2e2e;
  color: #a8a8a8;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Text styles
   ========================================================================== */
.black-text {
  font-family: 'Bely Display', sans-serif;
  color: var(--gloaming-900);
  font-size: 50px;
  font-weight: 400;
}

.link-5 {
  color: rgba(178, 206, 177, 0.94);
}

.paragraph-3 {
  margin: 100px 0;
  color: var(--limestone-500);
}

.italic-text {
  font-size: 16px;
  font-weight: 300;
}

.calltoaction {
  margin-bottom: 30px;
  color: var(--limestone-500);
  font-size: 26px;
  line-height: 36px;
  font-weight: 300;
}

.calltoaction a {
  box-shadow: inset 0 -2px 0 0 #B1C4C7;
  color: var(--limestone-100);
  padding-bottom: 5px;
}

.heading-7 {
  font-family: 'Bely Display', sans-serif;
  color: #2c2c2c;
  font-weight: 400;
}

/* Images
   ========================================================================== */
.image-2 {
  max-width: 90%;
  flex: 0 0 auto;
  filter: opacity(0.7);
}

.image-5 {
  filter: invert(80%);
  color: var(--limestone-500);
}

.image-6 {
  filter: invert(90%);
}

.arrow {
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 30px;
  display: block;
  margin-right: auto;
  margin-left: auto;
  filter: opacity(0.6);
}

.bottom-image-wrap {
  position: relative;
  overflow: hidden;
  height: auto;
  max-width: 100%;
}

/* Footer
   ========================================================================== */
.footer {
  display: flex;
  padding-top: 60px;
  justify-content: center;
  align-items: center;
  background-color: #3D3C3A;
}

.footer-link {
  margin-right: 15px;
  margin-left: 15px;
  color: #6b6b6b;
  font-size: 18px;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--limestone-500);
}

.footer-list {
  padding-top: 29px;
  padding-bottom: 29px;
}

.heading-5 {
  font-family: 'Bely Display', sans-serif;
  font-weight: 400;
}

/* ==========================================================================
   3. COMPONENTS & OVERRIDES
   ========================================================================== */

/* Viewport height fix for mobile
   ========================================================================== */
.center-copy {
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

/* Fade-in scroll animations
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Navigation
   ========================================================================== */
.menu-button {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1000;
}

.menu-icon {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  position: relative;
  transition: background-color 0.3s;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: #fff;
  left: 0;
  transition: transform 0.3s;
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  top: 8px;
}

/* Hamburger to X animation */
.menu-button.open .menu-icon {
  background-color: transparent;
}

.menu-button.open .menu-icon::before {
  transform: rotate(45deg) translate(5px, 6px);
  background-color: var(--gloaming-700);
}

.menu-button.open .menu-icon::after {
  transform: rotate(-45deg) translate(5px, -6px);
  background-color: var(--gloaming-700);
}

/* Quote Slider
   ========================================================================== */
.quote-slider {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin-top: 10vh;
  margin-bottom: 10vh;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
  overflow: hidden;
  background-color: transparent;
}

.slider-container {
  position: relative;
  min-height: 300px;
}

.slide {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.slide.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.left-arrow,
.right-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px;
  z-index: 10;
}

.left-arrow {
  left: 0;
}

.right-arrow {
  right: 0;
}

.slider-arrow {
  color: #d6d6d6;
  font-size: 48px;
  line-height: 1;
  transition: color 0.3s;
}

.slider-arrow:hover {
  color: #fff;
}

.slide-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background-color 0.3s;
}

.slide-dot.active,
.slide-dot:hover {
  background-color: #fff;
}

.quote-wrap {
  display: block;
  width: 50vw;
  max-width: 1080px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.quote-attribution {
  display: flex;
  justify-content: center;
  align-items: center;
}

.quote-icon {
  margin-bottom: 45px;
  font-size: 18px;
}

.heading-4 {
  font-family: 'Bely Display', sans-serif;
  font-size: 36px;
  line-height: 44px;
}

/* Rich text
   ========================================================================== */
.rich-text p {
  margin-bottom: 1em;
}

.rich-text a {
  text-decoration: none;
}

/* Button resets
   ========================================================================== */
button {
  font-family: inherit;
}

/* Focus styles for accessibility
   ========================================================================== */
a:focus,
button:focus {
  outline: 2px solid var(--sapling-500);
  outline-offset: 2px;
}

/* Skip focus outline for mouse users */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* ==========================================================================
   RESPONSIVE - Tablet (991px)
   ========================================================================== */
@media screen and (max-width: 991px) {
  h2 {
    font-size: 34px;
    line-height: 1.3em;
  }

  h3 {
    font-size: 20px;
    line-height: 32px;
  }

  .section.center-bottom {
    height: auto;
    padding-top: 0vh;
    flex-direction: column;
  }

  .section.center-copy {
    height: auto;
    padding-top: 15vh;
    flex-direction: column;
  }

  .hero {
    padding-right: 0vw;
    padding-left: 0vw;
  }

  .nav {
    width: 100%;
  }

  .nav-inner {
    width: 100%;
  }

  .nav-menu-wrap {
    position: relative;
  }

  .menu-button {
    display: block !important;
  }

  .menu-button.open {
    position: fixed;
    top: 50px;
    right: 5%;
    z-index: 1000;
  }

  .nav-menu-2 {
    display: flex !important;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    background-color: var(--sapling-overlay);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
  }

  .nav-menu-2.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-menu-2 .nav-link {
    padding: 15px 0;
    margin: 0;
    display: block;
    color: var(--gloaming-700);
    font-size: 36px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  }

  .nav-menu-2.open .nav-link {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu-2.open .nav-link:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav-menu-2.open .nav-link:nth-child(2) {
    transition-delay: 0.2s;
  }

  .nav-menu-2.open .nav-link:nth-child(3) {
    transition-delay: 0.3s;
  }

  .nav-menu-2.open .nav-link:nth-child(4) {
    transition-delay: 0.4s;
  }

  .nav-link {
    padding-top: 20px;
  }

  .nav-link:hover {
    box-shadow: none;
  }

  .hero-content {
    padding-right: 5vw;
    padding-bottom: 10vh;
    padding-left: 1vw;
  }

  .feature-wrap {
    margin-top: 5vh;
    margin-bottom: 5vh;
    padding-right: 0vw;
    padding-left: 0vw;
  }

  .hero-subhead {
    font-size: 24px;
    line-height: 31px;
  }

  .bottom-image-wrap {
    height: auto;
    background-image: none;
  }

  .quote-slider {
    width: 100%;
    height: auto;
    min-height: 500px;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .quote-wrap {
    width: 90vw;
  }

  .heading-4 {
    font-size: 26px;
  }

  .brand {
    padding-left: 18px;
  }

  .heading-3 {
    font-size: 8vw;
  }

  .heading-3-bottom {
    font-size: 8vw;
  }

  .calltoaction {
    font-size: 24px;
  }
}

/* ==========================================================================
   RESPONSIVE - Mobile (767px)
   ========================================================================== */
@media screen and (max-width: 767px) {
  h2 {
    font-size: 28px;
    line-height: 1.3em;
  }

  .wrap {
    display: flex;
    width: 100%;
    max-width: none;
    padding-right: 15vw;
    padding-left: 15vw;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
  }

  .hero-content {
    margin-bottom: 40px !important;
  }

  .feature-wrap,
  .feature-wrap.reverse {
    flex-direction: column;
  }

  .feature-content,
  .feature-image {
    width: 100%;
  }

  .footer-link {
    display: inline-block;
    margin-bottom: 10px;
  }

  .quote-attribution {
    flex-direction: row;
    align-items: center;
  }
}

/* ==========================================================================
   RESPONSIVE - Small Mobile (479px)
   ========================================================================== */
@media screen and (max-width: 479px) {
  h1 {
    font-size: 60px;
    line-height: 70px;
  }

  h3 {
    font-size: 16px;
  }

  .section.center-bottom {
    padding-bottom: 0vh;
  }

  .section.center-copy {
    padding-bottom: 10vh;
  }

  .section.center-copy.top {
    min-height: 600px;
  }

  .hero {
    padding-right: 0vw;
    padding-left: 0vw;
  }

  .nav-inner {
    width: 100%;
  }

  .feature-content {
    width: auto;
  }

  .wrap {
    padding-right: 5vw;
    padding-left: 5vw;
  }

  .image-2 {
    width: 100%;
    filter: opacity(0.7);
  }

  .black-text {
    font-size: 40px;
    line-height: 48px;
  }

  .feature-wrap {
    flex-direction: column;
  }

  .feature-wrap.reverse {
    flex-direction: column;
  }

  .feature-image {
    width: auto;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .footer-list {
    padding-top: 0px;
  }

  .quote-slider {
    width: 100%;
    padding-right: 5vw;
    padding-left: 5vw;
  }

  .slider-arrow {
    font-size: 24px;
  }

  .heading-3 {
    font-size: 42px;
    line-height: 56px;
  }

  .image-5 {
    max-width: 10vw;
  }

  .heading-3-bottom {
    font-size: 42px;
    line-height: 56px;
  }

  .image-6 {
    filter: invert(100%);
  }
}