/* Hairy Poppins — site-wide typography */

body {
    font-family: "Manrope", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
    color: #303030;
}

h1, h2, h3, h4, h5, h6,
.wp-block-heading {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #242424;
}

h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

h3 {
    font-size: 1.3rem;
}

p, li {
    line-height: 1.65;
}

.wp-block-button__link {
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Hairy Poppins — homepage introduction and contact */

.hp-intro-section {
    margin: 3rem 0;
}

.hp-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
}

.hp-intro-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.hp-intro-copy .hp-eyebrow {
    margin-bottom: 0.6rem;
    color: #777;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hp-intro-copy h2,
.hp-contact-panel h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
}

.hp-intro-copy p,
.hp-contact-copy p {
    font-size: 1rem;
    line-height: 1.7;
}

.hp-text-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 600;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.hp-contact-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 3rem 0;
    padding: clamp(1.5rem, 4vw, 3rem);
    background: #f6f4f2;
    border-radius: 12px;
}

.hp-contact-copy {
    max-width: 520px;
}

.hp-contact-copy p {
    margin-bottom: 0;
}

.hp-contact-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    flex-shrink: 0;
}

.hp-contact-details > a:not(.wp-element-button) {
    color: inherit;
    text-decoration: none;
}

.hp-contact-details .wp-element-button {
    margin-top: 0.5rem;
}

@media (max-width: 700px) {
    .hp-intro-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hp-intro-photo {
        max-width: 360px;
        margin-inline: auto;
    }

    .hp-contact-panel {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

/* Hairy Poppins footer */
.hp-site-footer {
    margin-top: 3rem;
    padding: 3rem 0 0;
    background: #f6f4f2;
    color: #303030;
    font-family: "Manrope", sans-serif;
    font-size: 0.95rem;
}

.hp-footer-inner {
    width: min(100% - 3rem, 1200px);
    margin-inline: auto;
    padding-bottom: 2.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(140px, 0.7fr) minmax(200px, 1fr);
    gap: 3rem;
}

.hp-footer-brand img {
    display: block;
    width: min(100%, 300px);
    height: auto;
}

.hp-footer-brand p,
.hp-footer-contact p {
    line-height: 1.7;
    color: #555;
}

.hp-footer-nav,
.hp-footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
}

.hp-footer-nav h2,
.hp-footer-contact h2 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.hp-site-footer a {
    color: #303030;
    text-decoration: none;
    text-underline-offset: 4px;
}

.hp-site-footer a:hover {
    text-decoration: underline;
}

.hp-footer-bottom {
    width: min(100% - 3rem, 1200px);
    margin-inline: auto;
    padding: 1.2rem 0;
    border-top: 1px solid #dedbd7;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.8rem 2rem;
    font-size: 0.85rem;
}

.hp-footer-bottom p {
    margin: 0;
}

@media (max-width: 700px) {
    .hp-footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hp-footer-brand img {
        width: min(100%, 260px);
    }

    .hp-footer-bottom {
        flex-direction: column;
    }
}

/* Footer brand logo refinement */
.hp-footer-brand img {
    display: block;
    width: min(100%, 180px);
    height: auto;
    object-fit: contain;
}

@media (max-width: 700px) {
    .hp-footer-brand img {
        width: min(100%, 160px);
    }
}

/* Subtle divider below the site header */
.wp-site-blocks > header.wp-block-template-part {
    border-bottom: 1px solid #e5e2df;
}

/* Hairy Poppins - Contact Form 7 styling */

.wpcf7 {
    width: 100%;
    max-width: 680px;
    margin: 2rem 0;
    font-family: "Manrope", sans-serif;
}

.wpcf7 form > p {
    margin: 0 0 1.4rem;
}

.wpcf7 label {
    display: block;
    color: #303030;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.6;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 0.45rem;
    padding: 0.85rem 1rem;
    border: 1px solid #d6d2ce;
    border-radius: 9px;
    background: #fff;
    color: #303030;
    font: inherit;
    font-weight: 400;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.wpcf7 textarea {
    min-height: 160px;
    resize: vertical;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #777;
    box-shadow: 0 0 0 3px rgba(80, 80, 80, 0.10);
}

.wpcf7 input[type="submit"] {
    display: inline-block;
    padding: 0.9rem 2rem;
    border: 0;
    border-radius: 8px;
    background: #303030;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.wpcf7 input[type="submit"]:hover {
    background: #505050;
    transform: translateY(-1px);
}

.wpcf7 .wpcf7-response-output {
    margin: 1.5rem 0 0;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.wpcf7 .wpcf7-not-valid-tip {
    margin-top: 0.35rem;
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    .wpcf7 {
        max-width: 100%;
    }

    .wpcf7 input[type="submit"] {
        width: 100%;
    }
}
