/*
 * profile.css — Public business profile page (PLG Feature 1).
 * Serves templates/profile/public_profile.html. Mobile-first; layers on top of
 * the marketing sandstone system loaded by public_base.html.
 */

.profile-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}

.profile-hero {
    margin-bottom: 1.5rem;
}

.profile-name {
    font-size: 2rem;
    line-height: 1.15;
    margin: 0 0 0.35rem;
}

.profile-tagline {
    font-size: 1.1rem;
    color: #6b5d4f;
    margin: 0;
}

.profile-section {
    padding: 1.25rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.profile-section-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8a7c6d;
    margin: 0 0 0.5rem;
}

.profile-blurb {
    font-size: 1.05rem;
    line-height: 1.55;
    margin: 0;
}

.profile-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-contact-list li {
    margin: 0.25rem 0;
}

.profile-cta {
    text-align: center;
}

.profile-cta-button {
    display: inline-block;
    background: #e85d1f;
    color: #fff;
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    text-decoration: none;
}

.profile-cta-button:hover,
.profile-cta-button:focus {
    background: #d04f15;
    color: #fff;
}

@media (min-width: 768px) {
    .profile-name {
        font-size: 2.5rem;
    }
}

/* Request-a-quote form (chippie-86msa.4 lead intake) */
.profile-quote-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 32rem;
}

.profile-form-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* First and last name side by side, as on the quote form. */
.profile-form-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.profile-form-row label {
    font-weight: 600;
}

.profile-form-hint {
    font-weight: 400 !important;
    font-size: 0.85rem;
    color: #6b7280;
}

/* Thumbnails of the photos picked on the quote request form, drawn by
   photo_preview_controller.js. Empty until a photo is picked. */
.profile-photo-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.profile-photo-preview {
    width: 5rem;
    height: 5rem;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* A photo the browser cannot draw, shown by name in the same tile. */
.profile-photo-preview--name {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    font-size: 0.7rem;
    color: var(--text-muted);
    overflow-wrap: anywhere;
    overflow: hidden;
}

/* Portfolio gallery: responsive grid of work photos. Images are lazy-loaded
   (see template) and cropped to a uniform tile so mixed aspect ratios stay
   tidy. */
.profile-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
    gap: 0.5rem;
}

.profile-gallery-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0.5rem;
    display: block;
}

/* Honeypot: visually and acoustically hidden, still present in the DOM and
   focusable-skippable so bots fill it but people never see it. Not
   display:none, which some bots skip. */
.profile-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
