/*
Theme Name: Clear Lake Outdoor Works
Description: Kadence child theme for Clear Lake Outdoor Works.
Author: DOAP
Template: kadence
Version: 1.0.0
Text Domain: clearlakeoutdoorworks
*/

/*
 * Site-specific styling belongs here.
 * Keep the Kadence parent theme untouched.
 */

:root {
    --clow-content-width: 1240px;
}

.clow-hero {
    padding: 7rem 2rem;
    text-align: center;
}

.clow-hero h1 {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: 1.02;
    margin-bottom: 1rem;
}

.clow-services {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* ============================================================
   Clear Lake Outdoor Works visual system
   ============================================================ */

:root {
    --clow-green: #24462f;
    --clow-green-dark: #183220;
    --clow-sage: #71846a;
    --clow-sand: #f3efe6;
    --clow-stone: #ded8cc;
    --clow-ink: #1d251f;
    --clow-white: #ffffff;
    --clow-radius: 10px;
}

/* Kadence header */
.site-header {
    box-shadow: 0 1px 10px rgba(0,0,0,.08);
}

.site-branding .site-title {
    font-weight: 800;
    letter-spacing: -.025em;
}

.header-navigation .header-menu-container ul ul {
    border-radius: 8px;
}

/* General */
.content-area {
    margin-top: 0;
}

.entry-content-wrap {
    padding-top: 0;
}

.clow-eyebrow {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.clow-eyebrow.dark {
    color: var(--clow-sage);
}

.clow-eyebrow.center {
    text-align: center;
}

.clow-lead {
    font-size: 1.2rem;
    line-height: 1.65;
}

.clow-main-hero h1 {
    color: #fff;
    font-size: clamp(3rem, 6vw, 5.7rem);
    line-height: .98;
    letter-spacing: -.045em;
    margin-bottom: 1.5rem;
}

.clow-main-hero p {
    color: #fff;
}

.clow-main-hero .wp-block-button__link {
    padding: 15px 27px;
    font-weight: 700;
}

.clow-intro-section {
    padding: 90px 24px;
}

.clow-intro-section h2,
.clow-services-section h2,
.clow-water-section h2,
.clow-final-cta h2 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.clow-rounded-image {
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: var(--clow-radius);
}

.clow-services-section {
    background: var(--clow-sand);
    padding: 90px 24px;
}

.clow-section-intro {
    max-width: 700px;
    margin: 0 auto 45px;
    font-size: 1.1rem;
}

.clow-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.clow-service-card {
    display: block;
    background: #fff;
    text-decoration: none !important;
    color: var(--clow-ink) !important;
    border-radius: var(--clow-radius);
    overflow: hidden;
    box-shadow: 0 4px 22px rgba(0,0,0,.07);
    transition: transform .18s ease, box-shadow .18s ease;
}

.clow-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,.13);
}

.clow-service-card img {
    width: 100%;
    height: 235px;
    display: block;
    object-fit: cover;
}

.clow-card-content {
    padding: 25px;
}

.clow-card-content h3 {
    font-size: 1.45rem;
    margin-bottom: 10px;
}

.clow-card-content p {
    color: #586059;
    margin-bottom: 18px;
}

.clow-card-content span {
    color: var(--clow-green);
    font-weight: 750;
}

.clow-water-section {
    color: #fff;
}

.clow-water-section h2,
.clow-water-section p {
    color: #fff;
}

.clow-narrow-copy {
    max-width: 720px;
    margin: auto;
    padding: 70px 25px;
    text-align: center;
}

.clow-narrow-copy > p:not(.clow-eyebrow) {
    font-size: 1.15rem;
    line-height: 1.7;
}

.clow-text-button {
    display: inline-block;
    margin-top: 15px;
    color: #fff !important;
    font-weight: 750;
}

.clow-why-section {
    padding: 90px 24px;
}

.clow-number {
    color: var(--clow-sage);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.clow-final-cta {
    background: var(--clow-green-dark);
    color: #fff;
    padding: 90px 24px;
}

.clow-final-cta h2,
.clow-final-cta p {
    color: #fff;
}

.clow-final-cta .wp-block-button__link {
    font-weight: 700;
}

.clow-cta-link {
    font-weight: 750;
}

/* Service pages */
.single-content h1 {
    letter-spacing: -.035em;
}

.single-content .wp-post-image {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    border-radius: var(--clow-radius);
}

/* Mobile */
@media (max-width: 900px) {
    .clow-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clow-main-hero {
        min-height: 600px !important;
    }
}

@media (max-width: 620px) {
    .clow-card-grid {
        grid-template-columns: 1fr;
    }

    .clow-intro-section,
    .clow-services-section,
    .clow-why-section,
    .clow-final-cta {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .clow-main-hero h1 {
        font-size: 3rem;
    }
}

/* BEGIN DOAP CLOW HEADER LOGO */

body.wp-custom-logo .custom-logo {
    width: auto;
    max-width: 230px;
    max-height: 78px;
    object-fit: contain;
}

@media (max-width: 767px) {
    body.wp-custom-logo .custom-logo {
        max-width: 185px;
        max-height: 62px;
    }
}

/* END DOAP CLOW HEADER LOGO */

/* ============================================================
   CLOW service-page depth
   ============================================================ */

.clow-page-hero {
    max-width: 1220px;
    margin: 0 auto;
    padding: 70px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.clow-page-hero img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

.clow-page-hero h1 {
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -.045em;
    margin: 0 0 24px;
}

.clow-page-lead {
    font-size: 1.22rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.clow-primary-cta,
.clow-secondary-cta {
    display: inline-block;
    padding: 14px 23px;
    margin: 6px 8px 6px 0;
    border-radius: 5px;
    font-weight: 750;
    text-decoration: none !important;
}

.clow-primary-cta {
    background: var(--clow-green);
    color: #fff !important;
}

.clow-secondary-cta {
    border: 2px solid var(--clow-green);
    color: var(--clow-green) !important;
}

.clow-copy-section {
    padding: 85px 24px;
}

.clow-copy-narrow {
    max-width: 880px;
    margin: auto;
}

.clow-copy-narrow h2,
.clow-image-copy h2,
.clow-faq-section > h2,
.clow-page-cta h2,
.clow-home-story h2 {
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.1;
    letter-spacing: -.035em;
}

.clow-copy-narrow p,
.clow-image-copy p {
    font-size: 1.1rem;
    line-height: 1.75;
}

.clow-image-copy {
    max-width: 1180px;
    margin: auto;
    padding: 45px 24px 85px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 55px;
    align-items: center;
}

.clow-image-copy.reverse img {
    order: 2;
}

.clow-image-copy img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    border-radius: 12px;
}

.clow-check-list {
    margin: 25px 0;
    padding: 0;
    list-style: none;
}

.clow-check-list li {
    position: relative;
    padding: 8px 0 8px 30px;
    line-height: 1.5;
}

.clow-check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--clow-sage);
    font-weight: 900;
}

.clow-two-image-row {
    max-width: 1180px;
    margin: auto;
    padding: 25px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.clow-two-image-row img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.clow-service-detail-grid,
.clow-team-grid,
.clow-contact-grid {
    max-width: 1180px;
    margin: auto;
    padding: 35px 24px 85px;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 25px;
}

.clow-service-detail-grid > div,
.clow-team-grid article,
.clow-contact-grid > div {
    padding: 32px;
    border: 1px solid #dfddd5;
    border-radius: 10px;
    background: #fff;
}

.clow-service-detail-grid h3,
.clow-team-grid h2 {
    margin-top: 0;
}

.clow-role {
    color: var(--clow-sage);
    font-weight: 750;
    font-size: .92rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.clow-team-band {
    margin: 30px auto 80px;
    max-width: 1180px;
    padding: 45px;
    background: var(--clow-green-dark);
    color: #fff;
    border-radius: 12px;
}

.clow-team-band h2,
.clow-team-band p,
.clow-team-band a {
    color: #fff;
}

.clow-team-band a {
    display: inline-block;
    margin: 12px 20px 0 0;
    font-weight: 750;
}

.clow-faq-section {
    max-width: 900px;
    margin: auto;
    padding: 50px 24px 90px;
}

.clow-faq {
    border-top: 1px solid #ddd9cf;
    padding: 25px 0;
}

.clow-faq:last-child {
    border-bottom: 1px solid #ddd9cf;
}

.clow-faq h3 {
    margin: 0 0 10px;
}

.clow-faq p {
    margin: 0;
    line-height: 1.7;
}

.clow-page-cta {
    padding: 85px 24px;
    text-align: center;
    background: var(--clow-sand);
}

.clow-page-cta p {
    font-size: 1.1rem;
}

.clow-green-section {
    background: var(--clow-green-dark);
}

.clow-green-section h2,
.clow-green-section p {
    color: #fff;
}

.clow-big-contact {
    font-size: 1.3rem;
    font-weight: 750;
}

.clow-service-links {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 24px 90px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.clow-service-links a {
    padding: 11px 17px;
    background: var(--clow-sand);
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
}

.clow-home-story {
    max-width: 1180px;
    margin: auto;
    padding: 90px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.clow-home-story img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    border-radius: 12px;
}

@media (max-width: 800px) {

    .clow-page-hero,
    .clow-image-copy,
    .clow-home-story {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .clow-image-copy.reverse img {
        order: initial;
    }

    .clow-page-hero img,
    .clow-image-copy img,
    .clow-home-story img {
        height: 350px;
    }

    .clow-two-image-row,
    .clow-service-detail-grid,
    .clow-team-grid,
    .clow-contact-grid {
        grid-template-columns: 1fr;
    }

    .clow-two-image-row img {
        height: 300px;
    }
}

/* BEGIN CLOW MOBILE UX */

/*
 * Comfortable text gutters on phones.
 */
@media (max-width: 767px) {

    :root {
        --global-content-edge-padding: 24px;
    }

    .clow-page-hero,
    .clow-copy-section,
    .clow-image-copy,
    .clow-faq-section,
    .clow-team-grid,
    .clow-contact-grid,
    .clow-service-detail-grid,
    .clow-two-image-row,
    .clow-home-story,
    .clow-service-links,
    .clow-page-cta,
    .clow-services-section,
    .clow-intro-section,
    .clow-why-section,
    .clow-final-cta {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .clow-team-band {
        margin-left: 24px;
        margin-right: 24px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .clow-narrow-copy {
        padding-left: 24px;
        padding-right: 24px;
    }

    /*
     * Protect ordinary Gutenberg/page content that isn't inside
     * one of our custom sections.
     */
    .entry-content > h1,
    .entry-content > h2,
    .entry-content > h3,
    .entry-content > h4,
    .entry-content > p,
    .entry-content > ul,
    .entry-content > ol {
        margin-left: 24px;
        margin-right: 24px;
    }

    .clow-page-hero h1 {
        font-size: clamp(2.35rem, 11vw, 3.25rem);
    }
}


/*
 * Mobile landscape gets a deliberately compact header.
 * The logo already contains the full business name, so don't
 * spend scarce vertical space repeating title/tagline text.
 */
@media
    (max-width: 950px)
    and (max-height: 600px)
    and (orientation: landscape) {

    #masthead .site-header-row-container-inner,
    #masthead .site-main-header-inner-wrap {
        min-height: 58px !important;
    }

    #masthead .site-container,
    #masthead .site-header-row-container-inner > .site-container {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    #masthead .site-header-row {
        min-height: 58px !important;
    }

    #masthead .site-branding {
        padding-top: 3px !important;
        padding-bottom: 3px !important;
        margin: 0 !important;
    }

    #masthead .custom-logo {
        width: auto !important;
        max-width: 155px !important;
        max-height: 48px !important;
        object-fit: contain;
    }

    #masthead .site-title,
    #masthead .site-description {
        display: none !important;
    }

    #masthead .site-header-item {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    #masthead .mobile-toggle-open-container,
    #masthead .menu-toggle-open {
        margin: 0 !important;
        padding: 6px !important;
    }

    /*
     * Landscape screens are wide enough that 18px gutters look
     * better than the portrait 24px while preserving content width.
     */
    .clow-page-hero,
    .clow-copy-section,
    .clow-image-copy,
    .clow-faq-section,
    .clow-team-grid,
    .clow-contact-grid,
    .clow-service-detail-grid,
    .clow-two-image-row,
    .clow-home-story,
    .clow-service-links,
    .clow-page-cta {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    /*
     * Don't let hero/header combinations consume most of the viewport.
     */
    .clow-main-hero {
        min-height: 430px !important;
    }

    .clow-page-hero {
        padding-top: 38px !important;
        padding-bottom: 48px !important;
    }
}

/* END CLOW MOBILE UX */

/* BEGIN CLOW CONTACT FORM CSS */

.clow-contact-request {
    max-width: 1120px;
    margin: 0 auto;
    padding: 45px 16px 85px;
}

.clow-contact-intro {
    max-width: 760px;
}

.clow-contact-channels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 28px 0;
}

.clow-contact-channels a {
    padding: 16px;
    background: #fff;
    border: 1px solid #d7d9d3;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.clow-contact-channels strong {
    color: var(--clow-green);
}

.clow-contact-channels span {
    font-size: .9rem;
    overflow-wrap: anywhere;
}

.clow-contact-form {
    background: var(--clow-sand);
    border-radius: 12px;
    padding: 26px;
}

.clow-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 22px;
}

.clow-contact-form label,
.clow-reply-choice {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.clow-contact-form label > span,
.clow-reply-choice legend {
    font-weight: 700;
}

.clow-contact-form input,
.clow-contact-form select,
.clow-contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid #bfc2bb;
    border-radius: 5px;
    background: #fff;
    font: inherit;
}

.clow-contact-form textarea {
    min-height: 145px;
    resize: vertical;
}

.clow-reply-choice {
    border: 0;
    padding: 0;
}

.clow-reply-choice label {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.clow-reply-choice input {
    width: auto;
}

.clow-message-field {
    margin-top: 22px;
}

.clow-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.clow-submit-button,
.clow-action-button {
    padding: 12px 17px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none !important;
}

.clow-submit-button {
    border: 0;
    background: var(--clow-green);
    color: #fff;
}

.clow-action-button {
    border: 2px solid var(--clow-green);
    color: var(--clow-green) !important;
}

.clow-form-success {
    margin: 18px 0;
    padding: 14px 16px;
    border-radius: 6px;
    background: #e4efdf;
}

.clow-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 760px) {

    .clow-contact-request {
        padding-left: 14px;
        padding-right: 14px;
    }

    .clow-contact-form {
        padding: 18px 14px;
    }

    .clow-form-grid {
        grid-template-columns: 1fr;
    }

    .clow-contact-channels {
        grid-template-columns: 1fr 1fr;
    }

    .clow-form-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 430px) {

    .clow-contact-channels,
    .clow-form-actions {
        grid-template-columns: 1fr;
    }
}

/* END CLOW CONTACT FORM CSS */
