:root {
  --black: #111;
  --footer: #131313;
  --gold: #d9a801;
  --text: #333;
  --line: #ccc;
  --content: 1200px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: #fff;
  font-family: Rubik, Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

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

img {
  max-width: 100%;
  height: auto;
}

.clear {
  clear: both;
}

.site-header {
  position: relative;
  z-index: 20;
  height: 80px;
  background: var(--black);
}

.main-nav {
  width: 96%;
  max-width: var(--content);
  height: 80px;
  margin: 0 auto;
  padding-right: 285px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.main-nav a {
  color: #fff;
  padding: 0 15px;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
}

.main-nav a.active {
  font-weight: 700;
}

.logo-panel {
  position: absolute;
  top: 0;
  right: max(2%, calc((100% - var(--content)) / 2));
  width: 250px;
  height: 215px;
  padding: 20px 45px 24px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
}

.logo-panel img {
  width: 159px;
  height: 171px;
  object-fit: contain;
}

.hero {
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.04);
  pointer-events: none;
}

.hero.home {
  top: -80px;
  height: 100vh;
  min-height: 650px;
  margin-bottom: -80px;
}

.hero.inner {
  top: -80px;
  height: 350px;
  margin-bottom: -80px;
}

.hero.has-carousel {
  background-image: none;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: heroFade 18s ease-in-out infinite;
}

.hero-slide:nth-child(1) {
  opacity: 1;
  animation-delay: 0s;
}

.hero-slide:nth-child(2) {
  animation-delay: 6s;
}

.hero-slide:nth-child(3) {
  animation-delay: 12s;
}

@keyframes heroFade {
  0%,
  30% {
    opacity: 1;
  }

  36%,
  94% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.hero-copy {
  position: absolute;
  z-index: 2;
  color: #fff;
}

.hero-copy h1 {
  margin: 0;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

.home-copy {
  top: 43%;
  left: 50%;
  width: 96%;
  max-width: var(--content);
  transform: translateX(-50%);
}

.home-copy h1 {
  font-size: 70px;
  line-height: 80px;
}

.home-copy p {
  max-width: 600px;
  margin: 0 0 20px;
  color: #fff;
  font-size: 24px;
  line-height: 34px;
  font-weight: 400;
}

.hero-button {
  display: inline-block;
  margin-top: 20px;
  padding: 25px 35px;
  color: #fff;
  background: var(--gold);
  font-size: 24px;
  line-height: 1;
}

.inner-copy {
  left: 50%;
  bottom: 66px;
  width: 96%;
  max-width: var(--content);
  transform: translateX(-50%);
}

.inner-copy h1 {
  font-size: 40px;
  line-height: 1;
}

.content {
  width: 96%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 75px 0;
}

.content.compact {
  padding-top: 75px;
}

.copy h1,
.copy h2,
.copy h3 {
  margin: 0 0 30px;
  color: var(--text);
  font-weight: 700;
}

.copy h1 {
  padding-top: 40px;
  font-size: 40px;
  line-height: 50px;
  font-weight: 400;
}

.copy h1 strong {
  color: var(--gold);
  font-weight: 700;
}

.copy h2 {
  font-size: 28px;
  line-height: 38px;
}

.copy h3 {
  font-size: 24px;
  line-height: 34px;
}

.copy p {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 26px;
}

.copy ul {
  margin: 0 0 20px 25px;
}

.copy li {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 26px;
}

.alignright,
.wp-post-image {
  float: right;
  margin: 0 0 50px 50px;
}

.welcome-section {
  position: relative;
  z-index: 3;
  background: #fff;
}

.welcome-image {
  width: 428px;
  height: 425px;
  object-fit: cover;
}

.secondary-section {
  padding: 120px 0;
  background: url("original/secondary.jpg") no-repeat center center;
  background-size: cover;
}

.secondary-section .content {
  padding: 0;
}

.secondary-panel {
  float: left;
  width: 53%;
  padding: 55px 5%;
  color: #fff;
  background: rgba(217, 168, 1, 0.85);
}

.secondary-panel h2,
.secondary-panel p {
  color: #fff;
}

.about-content {
  min-height: 520px;
}

.who-layout {
  display: block;
}

.who-copy {
  max-width: none;
}

.who-image {
  width: 500px;
  height: 375px;
  object-fit: cover;
}

.service-image {
  width: 378px;
  height: 504px;
  object-fit: cover;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 50px;
  align-items: start;
}

.project-tabs {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.project-tabs button {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #f3f3f3;
  color: #333;
  padding: 15px 30px;
  min-width: 132px;
  font: inherit;
  cursor: default;
}

.project-tabs button.active {
  background: var(--gold);
  color: #fff;
  font-weight: 700;
}

.card-grid {
  padding: 50px 0 0;
}

.card-grid::after {
  content: "";
  display: block;
  clear: both;
}

.card {
  width: 31.33%;
  float: left;
  margin: 0 2% 20px 0;
  color: #333;
  background: #fff;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.75);
}

.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 400 / 284;
  display: block;
  object-fit: cover;
}

.plant-grid .card img {
  aspect-ratio: 640 / 556;
}

.card h3 {
  min-height: 72px;
  margin: 0 0 20px;
  padding: 0 20px;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
}

.map-box {
  min-height: 350px;
  border: 1px solid #eee;
  background: #fff;
}

.contact-copy {
  padding-top: 40px;
}

.contact-copy h2 {
  font-size: 28px;
  line-height: 38px;
  text-transform: none;
}

.detail-image {
  max-width: 500px;
  margin: 0 0 30px;
}

.detail-image img {
  width: 100%;
  display: block;
}

.detail-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.detail-table th,
.detail-table td {
  padding: 10px 20px 10px 0;
  border-top: 1px solid #111;
  text-align: left;
  vertical-align: top;
}

.detail-table th {
  width: 180px;
}

.site-footer {
  color: #fff;
  background: var(--footer);
}

.footer-main {
  width: 96%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 75px 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.site-footer h3 {
  margin: 0 0 30px;
  color: var(--gold);
  font-size: 32px;
  line-height: 42px;
  font-weight: 400;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 12px;
}

.footer-links a,
.footer-main p {
  color: #fff;
  font-size: 18px;
  line-height: 30px;
}

.footer-logo {
  text-align: center;
}

.footer-logo img {
  width: 220px;
  height: auto;
  margin-top: 65px;
}

.footer-contact {
  text-align: right;
}

.footer-note {
  width: 96%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 25px 0;
  border-top: 1px solid #555;
  color: #999;
  text-align: center;
}

.footer-note p {
  margin: 0;
  color: #999;
  font-size: 13px;
  line-height: 20px;
}

@media (max-width: 1024px) {
  .site-header {
    height: auto;
    min-height: 100px;
    background: #fff;
  }

  .main-nav {
    min-height: 100px;
    height: auto;
    padding: 110px 2% 18px;
    justify-content: center;
    flex-wrap: wrap;
    background: var(--black);
  }

  .main-nav a {
    font-size: 16px;
  }

  .logo-panel {
    left: 0;
    right: auto;
    width: 100px;
    height: 100px;
    padding: 10px 16px;
  }

  .logo-panel img {
    width: auto;
    height: 80px;
  }

  .hero.home,
  .hero.inner {
    top: 0;
    margin-bottom: 0;
  }

  .hero.home {
    height: 600px;
    min-height: 600px;
  }

  .hero.inner {
    height: 300px;
  }

  .home-copy,
  .inner-copy {
    left: 0;
    width: 100%;
    padding: 0 20px;
    transform: none;
    text-align: center;
  }

  .home-copy h1 {
    font-size: 30px;
    line-height: 40px;
  }

  .home-copy p {
    max-width: 100%;
    font-size: 18px;
    line-height: 26px;
  }

  .inner-copy h1 {
    font-size: 32px;
    text-align: center;
  }

  .alignright,
  .wp-post-image {
    float: none;
    display: block;
    margin: 0 auto 30px;
  }

  .copy,
  .welcome-section,
  .content {
    text-align: center;
  }

  .secondary-panel {
    width: 90%;
    float: none;
    margin: 0 auto;
    padding: 25px 2.5%;
    text-align: center;
  }

  .card {
    width: 46%;
    margin: 0 2% 20px;
  }
}

@media (max-width: 800px) {
  .welcome-section .welcome-image {
    display: none;
  }

  .content {
    padding: 40px 0;
  }

  .secondary-section {
    padding: 50px 0;
  }

  .two-col,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-main,
  .footer-contact {
    text-align: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-logo img {
    margin-top: 0;
  }

  .project-tabs button {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .card {
    width: 96%;
    margin: 0 2% 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none;
  }

  .hero-slide:first-child {
    opacity: 1;
  }
}
