/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham Light.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
}

/* Optional: use Gotham as the default site font */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: "Gotham", Arial, sans-serif;
  margin: 0;
}

:root{
  --yellow: #fecf30;
  --grey: #333031;
  --tan: #837566;
  --gray2: #56534f;
  --blue: #1c87c8;
  --green: #799d4f;
  --blue2: #2c6895;
}

.hero{
  width: 100%;
}

.inner{
  width: 100%;
  max-width: 1200px;
  padding: 0 1rem;
  margin: 0 auto;
}

.hero h1{
  font-family: "Gotham", Arial, sans-serif;
  font-weight: bold;
  font-size: 7rem;
  line-height: .9;
}

.hero__bottom h1{
  font-weight: 900;
}

.hero__logo{
  width: 75px;
  margin-top: 2rem;
}

.hero{
  background-image: url("/img/WDRWS-Landing-hero.jpeg");
  background-color: rgb(11 19 64 / 18%);
  background-size: cover;
  background-position: center;
  aspect-ratio: 1330 / 863;
  display: flex;
  flex-direction: column;
}

@media all and (min-width: 2000px){
  .hero{
    aspect-ratio: 1460 / 800;
  }
}

.hero__inner{
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.hero h1 {
  color: white;
  margin: auto 0 0;
}

.hero__inner .header-wrapper{
  margin-top: auto;
}

.hero__inner h1{
  margin-top: 14rem;
}

.hero__bottom{
  background: rgb(121 157 79 / 0.84);
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 8rem;
}
img{
  max-width: 100%;
}


.hero__bottom h1 {
  font-size: 9rem;
  line-height: .9;
  text-transform: uppercase;
  color: var(--yellow);
}

.section{
  padding: 0;
  font-size: 1.4rem;
  position: relative;
  z-index: 1;
}

.section a{
  color: white;
}

.section .inner{
  padding: 3rem;
  font-weight: normal;
}

.section .inner p{
  /*max-width: 25em;*/
}

.section h2{
  font-size: 6rem;
  margin: 0;
  line-height: .9;
}

.section--1{
  background: var(--grey);
  color: white;
}

.section--2{
  background: var(--tan);
  color: white;
}

.section--3{
  background-image: url("/img/WDRWS-Landing-4.jpeg?ver=5");
  background-size: cover;
  padding-top: 30vw;
}

.section__bottom{
  background: rgb(44 104 149 / 0.85);
  color: white;
}

.section--4{
  background: var(--green);
  color: white;
}

.section--4 h2{
  margin-bottom: 4rem;
}

.flex{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.third{
  width: 100%;
  flex-grow: 1;
}

.twothirds{
  width: 60%;
  flex-grow: 1;
}

.contact-form{
  background: var(--blue2);
  padding: 2rem;
  margin-top: 2rem;
}

.contact-form input[type=submit]{
  border: 0;
}

.contact-form a, .contact-form input[type=submit]{
  background: var(--blue);
  color: white;
  width: 100%;
  padding: 1rem;
  font-size: 1.2rem;
  display: block;
  text-align: center;
  box-sizing: border-box;
  font-weight: bold;
  text-decoration: none;
  margin-top: 1rem;
  transition: background .2s ease-in-out;
}

.contact-form a:hover, .contact-form input[type=submit]:hover{
  background: var(--blue2);
}

.contact-form form{
  display: block;
}

.contact-form label{
  font-weight: bold;
  font-size: 1rem;
  display: block;
  margin-bottom: 1rem;
}

.contact-form label span{
  display: block;
  margin-bottom: .5rem;
}

.contact-form input,
.contact-form textarea{
  background: rgb(28 135 200 / 0.13);
  color: #ffffff;
  border: #9eb6cb solid 1px;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
  display: block;
}

.contact-form textarea{
  height: 150px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
  color: #9eb6cb;
}

.contact-form h3{
  margin: 0 0 2rem;
  font-size: 2rem;
}

.contact-form h3:nth-child(4){
  margin-top: 2rem;
}

.section--5{
  background: var(--blue);
  color: white;
}

.faq-item {
  width: 100%;
}

.faq-item h3 {
  color: var(--yellow);
  margin-bottom: 0;
  cursor: pointer;
  position: relative;
  padding-right: 2rem;
}

.faq-item h3::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  transition: transform 0.3s ease;
}

.faq-item.is-open h3::after {
  content: "-";
  transform: translateY(-50%) rotate(180deg);
}

.faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
  overflow: hidden;
}

.faq-item.is-open .faq-content {
  grid-template-rows: 1fr;
}

.faq-content > div {
  min-height: 0;
}

.section--5 h2{
  margin-bottom: 2rem;
}

.section--5 p{
  margin-top: 0;
}

.section--6{
  background: var(--tan);
  color: white;
  background-image: url("/img/dots.png");
  background-repeat: no-repeat;
  background-position: bottom;
}

.section--6 h3{
  font-size: 3.5rem;
  margin-top: 0;
}

.section--6 a{
  color: white;
  text-decoration: none;
}

.section--6 .inner{
  display: flex;
  justify-content: space-between;
}

.section--6 span{
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 4px;
}

.section--6 .inner :last-child{
  text-align: right;
}

/* Nav Styles */
.nav {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 1000;
}

.nav__toggle {
  display: block;
  width: 50px;
  height: 50px;
  padding: 0;
  background: var(--yellow);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1001;
  position: relative;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.nav__toggle-box {
  display: block;
  width: 30px;
  height: 24px;
  margin: 13px auto;
  position: relative;
}

.nav__toggle-inner,
.nav__toggle-inner::before,
.nav__toggle-inner::after {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--grey);
  border-radius: 3px;
  position: absolute;
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav__toggle-inner {
  top: 50%;
  transform: translateY(-50%);
}

.nav__toggle-inner::before {
  content: "";
  top: -8px;
}

.nav__toggle-inner::after {
  content: "";
  top: 8px;
}

.menu-open .nav__toggle-inner {
  background-color: transparent;
}

.menu-open .nav__toggle-inner::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-open .nav__toggle-inner::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--grey);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-open .nav__overlay {
  opacity: 1;
  visibility: visible;
}

.nav__menu {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.nav__item {
  margin: 1.5rem 0;
}

.nav__link {
  color: white;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav__link:hover {
  color: var(--yellow);
}

@media (max-width: 600px) {
  .nav__link {
    font-size: 1.5rem;
  }
  .nav__item {
    margin: 1rem 0;
  }
}

.menu-open {
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
}

footer {
  background: var(--green);
  color: white;
  padding: 4rem 0;
  text-transform: uppercase;
}

footer .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

footer .footer__left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

footer .footer__logo-wrap {
  display: flex;
  flex-direction: column;
}

footer .footer__logo-wrap img {
  width: 320px;
  padding: 1rem 0;
}

footer .footer__logo-wrap p {
  padding-left: 1rem;
  opacity: 0.6;
  font-size: 0.8rem;
  margin: 0;
}

footer .footer__social {
  display: flex;
  gap: 1rem;
}

footer .footer__social a {
  color: white;
}

footer .footer__social svg {
  width: 34px;
  height: 34px;
}

footer .footer__contact {
  text-align: left;
}

footer .footer__contact p {
  margin: 0.25rem 0;
  font-size: 0.875rem;
}

footer .footer__contact .font-bold {
  font-weight: bold;
  font-size: 1rem;
}

footer .footer__contact a {
  color: white;
  text-decoration: none;
}

footer .footer__design {
  text-align: right;
  width: 160px;
}

footer .footer__design p {
  font-size: 0.75rem;
  margin: 0 0 0.5rem;
}

footer .footer__design img {
  width: 100%;
}

@media (max-width: 1024px) {
  footer .inner {
    justify-content: center;
    text-align: center;
  }
  footer .footer__left {
    justify-content: center;
  }
  footer .footer__contact {
    text-align: center;
  }
  footer .footer__design {
    text-align: center;
    margin-top: 2rem;
  }
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid #9a9a9a;
  background: rgb(28 135 200 / 0.16);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  margin: 2rem 0;
  padding: 0;
  cursor: pointer;
}

.video-placeholder__play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 150px;
  border-radius: 18px;
  background: #515151;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder__triangle {
  width: 0;
  height: 0;
  border-left: 46px solid #ffffff;
  border-top: 32px solid transparent;
  border-bottom: 32px solid transparent;
  margin-left: 4px;
}

.video-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 24px;
  display: block;
  margin: 2rem 0;
}

.section .inner .footnote{
  font-size: .8rem;
  font-style: italic;
  width: 100%;
  max-width: 100%;
}


@media (max-width: 800px) {
  .hero{
    aspect-ratio: 780 / 1100;
  }
  .hero__bottom{
    padding-top: .5rem;
    padding-bottom: 4rem;
  }
  .hero__bottom h1 {
    font-size: 6rem;
  }
  .hero h1{
    font-size: 3rem;
  }
  .section h2{
    font-size: 3rem;
  }

  .section--6 h3{
    font-size: 2.5rem;
  }

  .video-placeholder {
    border-radius: 12px;
    margin: 1rem 0;
  }

  .video-placeholder__play {
    width: 110px;
    height: 75px;
    border-radius: 9px;
  }

  .video-placeholder__triangle {
    border-left-width: 23px;
    border-top-width: 16px;
    border-bottom-width: 16px;
  }

  .video-embed {
    border-radius: 12px;
    margin: 1rem 0;
  }

  .section--3{
    padding-top: 100vw;
    background-position: center;
  }
}

@media (max-height: 800px) {
  .hero h1 {
    font-size: 4rem;
  }
  .hero__bottom h1 {
    font-size: 5rem;
  }
  .hero__bottom {
    padding-bottom: 4rem;
  }
}

