/*
Theme Name:  Lovell Kuhn 2025
Theme URI:
Author: Elliot Toman for LTL MTN
Author URI: https://ltlmtn.com
Description: 
Version: 1.0
License: 
License URI: 
Tags: 
Text Domain: 
*/

@import url(assets/fonts/campton/stylesheet.css);


:root {
  --default: 'Campton', sans-serif;
  --khaki: #DFDBD3;
  --slate: #333333;
  --desktop: 1200px;
  --slim: 800px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  background: var(--eggshell);
  color: var(--slate);
  font-family: var(--default);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 100%;
  overflow-x: hidden;
}

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

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

a:hover {
  opacity: 0.75;
}

.asw .has-white-color {
  color: white;
}

.asw .has-white-background-color {
  background-color: white;
}

.asw .has-black-color {
  color: black;
}

.asw .has-black-background-color {
  background-color: black;
}

.asw .has-khaki-color {
  color: var(--khaki);
}

.asw .has-khaki-background-color {
  background-color: var(--khaki);
}

.asw .has-slate-color {
  color: var(--slate);
}

.asw .has-slate-background-color {
  background-color: var(--slate);
}

/* Full width video embeds */
.is-type-video .wp-block-embed__wrapper {
  height: 0;
  padding-top: 60%;
  position: relative;
  width: 100%;
}

.is-type-video .wp-block-embed__wrapper iframe {
  height: 100%;
  position: absolute;
  top: 0;
  width: 100%;
}

.asw video {
  display: block;
  max-width: 100%;
}

#wpadminbar {
  opacity: 0.1;
}

#wpadminbar:hover {
  opacity: 1;
}

.grecaptcha-badge {
  display: none !important;
}

.back-to-top-link {
  bottom: -4rem;
  opacity: 0;
  right: 1rem;
  position: fixed;
  transition: all 1s linear;
}

body.scrolled .back-to-top-link {
  bottom: 1rem;
  opacity: 1;
}

.footer-credit {
  border-bottom: 3px solid #DAB108;
}

.footer-credit .positioner {
  height: 0;
  position: relative;
}

.ltlmtn-logo {
  bottom: 0;
  display: block;
  position: absolute;
  right: 0;
}

.content-width {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--desktop);
  width: calc(100% - 2rem);
}

.browser-width {
  margin-left: 50%;
  translate: -50% 0;
  width: 100vw;
}

.slim {
  margin-left: auto;
  margin-right: auto;
  max-width: 850px;
}

.menu-toggle {
  cursor: pointer;
  font-size: 2rem;
  translate: 0 0.15em;
}

.menu-toggle:hover {
  opacity: 0.75;
}

body:not(.menu-active) .menu-close,
body.menu-active .menu-open {
  display: none;
}

.page-content ul {
  list-style: disc;
  margin-left: 1.25rem;
}

.page-content ul li {
  margin-bottom: 0.25rem;
}

header#top {
  background-color: var(--khaki);
  position: sticky;
  top: 0;
  z-index: 10;
}

section.wp-block-group.has-background {
  margin-left: 50%;
  translate: -50% 0;
  width: 100vw;
}

section.wp-block-group.has-background>.wp-block-group__inner-container {
  margin: 0 auto;
  max-width: var(--desktop);
  padding: 1rem 0;
  width: calc(100% - 2rem);
}

.footer-logo {
  margin: 1rem auto;
  max-width: 150px;
}

footer {
  background-color: var(--khaki);
  display: table;
  width: 100%;
}

.copyright {
  font: 600 0.85rem var(--default);
  padding: 1rem 0;
  text-align: center;
}

h1.wp-block-heading {
  font: 300 2rem var(--default);
  text-transform: uppercase;
}

h2.wp-block-heading {
  font: normal 1.25rem var(--default);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

p {
  margin-bottom: 1rem;
}

.archive-header {
  background-color: transparent;
  padding: 2rem;
  text-align: center;
}

.archive-title {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 0;
  text-transform: uppercase;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.project-item {
  overflow: hidden;
}

.project-thumbnail img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
}

.project-content {
  padding: 1rem 0;
  text-align: center;
}

.project-title a {
  text-decoration: none;
  color: inherit;
}

.project-excerpt {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-content h2 {
  font-size: 1rem;
  font-weight: 400;
}

/* Frontend Styles for Single Project */
.single-project {
  margin: 0 auto;
}

.project-header {
  background-color: transparent;
  padding: 2rem 0;
  text-align: center;
}

.single-project .project-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.single-project .project-meta {
  display: flex;
  font-size: 1.1rem;
  justify-content: center;
  color: #666;
  gap: 1rem;
  flex-wrap: wrap;
}

.single-project .project-meta span {
  display: inline-block;
}

.project-featured-image {
  margin-bottom: 2rem;
  text-align: center;
}

.project-featured-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.project-gallery {
  margin-bottom: 3rem;
}

.project-gallery h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.025);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.project-navigation {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  margin-top: 2rem;
}

.project-navigation a {
  text-decoration: none;
  color: #0073aa;
  font-weight: 500;
  transition: color 0.3s ease;
}

.project-navigation a:hover {
  color: #005a87;
}

.testimonials-archive {
    display: grid;
    gap: 2rem;
    margin: 0 auto;
    max-width: 600px;
    padding-bottom: 4rem;
}

.testimonials-archive article {
    padding-bottom: 1rem;
}

.testimonials-archive article:not(:last-of-type) {
    border-bottom: 1px solid rgba(0,0,0,0.25);
}

.testimonials-archive .testimonial-content {
    font-size: 1.25em;
}

.testimonials-archive .testimonial-attribution {
    font-weight: 300;
}

hr.wp-block-separator {
    border-color: rgba(0,0,0,0.25);
    margin: 2rem 0;
}

.testimonials-carousel .testimonial-content {
    font-size: 1.5em;
    font-weight: 300;
}

ul.slick-dots {
  display: flex;
  gap: 0.5rem;
  list-style-type: none;
  justify-content: center;
  width: 100%;
  bottom: 0;
  top: calc( 100% + 1rem );
}

.slick-dots button {
  background-color: transparent;
  border: 1px solid var(--slate);
  border-radius: 99px;
  cursor: pointer;
  display: block;
  font-size: 0;
  height: 1rem;
  width: 1rem;
}

.slick-dots .slick-active button {
  background-color: var(--khaki);
}

section.wp-block-group.has-background .wp-block-group.has-background {
    padding: 2rem;
}

.contact-form input,
.contact-form textarea {
    border: 0;
    display: block;
    font: normal 0.85rem monospace;
    padding: 0.5rem 0;
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
}

.contact-form label:not(.textarea) {
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.25);
    display: flex;
    gap: 1rem;
}

.contact-form br {
  display: none;
}

.contact-form textarea {
    border: 1px solid rgba(0,0,0,0.25);
    display: flex;
    height: 6rem;
    line-height: 1.5;
    overflow: auto;
    padding: 0.5rem;
}

.contact-form input[type="submit"] {
    background-color: var(--khaki);
    cursor: pointer;
    display: inline-block;
    font: 500 1rem var(--default);
    padding: 0.5rem 1rem;
    width: auto;
}

.contact-form input[type="submit"]:hover {
    background-color: var(--slate);
    color: white;
}

body.page:not(.home) main {
  padding-top: 2rem;
}

.press-articles {
    display: grid;
    gap: 2rem;
    margin: 0 auto;
    max-width: 900px;
    padding: 2rem 0;
}

.press-article {
    display: grid;
    gap: 1rem;
}

.press-article img {
    width: 100%;
}

.press-article h2 {
    display: block;
    font: 300 1.5rem var(--default);
    line-height: 1;
    margin-bottom: 1rem;
}

.press-publication-date {
    color: rgba(0,0,0,0.5);
    display: inline-block;
    margin-right: 1rem;
    text-transform: uppercase;
}

.press-credit {
    display: inline-block;
    font-weight: 300;
}

.press-article-content {
    margin-top: 1rem;
}

.featured-blurb {
  font-size: 1.25em;
  letter-spacing: 0.05em;
  line-height: 2;
  text-align: justify;
  text-transform: uppercase;
}

.featured-blurb a {
  opacity: 0.5;
}

.featherlight-caption {
    background-color: rgba(255,255,255,0.5);
    bottom: 1rem;
    display: table;
    position: absolute;
    left: 50%;
    text-align: center;
    translate: -50% 0;
    padding: 0.25em 1em 0 1em;
}

main.single-testimonial {
    padding: 2rem 0;
}

.asw .featherlight {
    background: white !important;
}

@media screen and (max-width: 799px) {

  .single-project .project-meta span {
    display: block;
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  .project-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .archive-title {
    font-size: 2rem;
  }

  .single-project .project-title {
    font-size: 2rem;
  }

  .header-areas {
    align-items: center;
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .header-navigation {
    grid-column: 1 / span 2;
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s linear 0s;
  }

  .menu-toggle {
    margin: 0 auto;
  }

  body.menu-active .header-navigation {
    max-height: 999px;
    transition: max-height 3s linear 0s;
  }

  .wordmark {
    display: block;
    text-transform: uppercase;
  }

  .home-link {
    display: none;
  }

  .main-navigation {
    list-style: none;
  }

  .main-navigation a {
    display: block;
    margin-bottom: 1rem;
    text-transform: uppercase;
  }

  .main-navigation .current-menu-item a {
    border-bottom: 1px solid white;
  }

  .single-project .project-meta span {
    display: block;
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  .project-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .archive-title {
    font-size: 2rem;
  }

  .single-project .project-title {
    font-size: 2rem;
  }
}

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

  .wordmark-area,
  .nav-toggle-area {
    display: none;
  }

  .main-navigation {
    display: flex;
    gap: 2rem;
    list-style: none;
    justify-content: center;
    padding: 1rem;
  }

  .main-navigation a {
    color: var(--slate);
    display: block;
    text-transform: uppercase;
  }

  .main-navigation .current-menu-item a {
    border-bottom: 1px solid white;
  }

  body.home .home-link {
    display: none;
  }

  .wordmark-area,
  .nav-toggle-area {
    display: none;
  }

  .main-navigation {
    display: flex;
    gap: 2rem;
    list-style: none;
    justify-content: center;
    padding: 1rem;
  }

  .main-navigation a {
    color: var(--slate);
    display: block;
    text-transform: uppercase;
  }

  body.home .home-link {
    display: none;
  }
    .press-article {
        align-items: center;
        gap: 4rem;
        grid-template-columns: 33.33% 1fr;
    }

}