/**
 * File: /public_html/assets/css/about.css
 * Purpose: About page styling for Rosaura Trejo / RTR Next Gen Homes.
 * Dependencies: /assets/css/main.css.
 * Replacement/Patch Status: New file.
 * Credit: Designed inhouse by The Taino Resource Group LLC.
 */

.about-hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100svh - 84px);
    display: grid;
    align-items: center;
    padding: clamp(42px, 7vw, 96px) 0 clamp(64px, 9vw, 130px);
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: -10% -12% auto auto;
    width: min(920px, 62vw);
    aspect-ratio: 1792 / 1024;
    background-image: url("../img/brand/RTR_Brutalist_footer.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.18;
    transform: rotate(-2deg);
    filter: drop-shadow(0 50px 90px rgba(0, 0, 0, 0.42));
    pointer-events: none;
}

.about-hero::after {
    content: "RTR";
    position: absolute;
    left: -7vw;
    bottom: 4vw;
    z-index: -1;
    color: rgba(255, 255, 255, 0.035);
    font-size: clamp(9rem, 28vw, 30rem);
    line-height: 0.75;
    letter-spacing: -0.14em;
    font-weight: 950;
    pointer-events: none;
}

.about-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    gap: clamp(32px, 6vw, 84px);
    align-items: center;
}

.about-hero__content {
    max-width: 760px;
}

.about-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.1rem, 9vw, 9rem);
    line-height: 0.84;
    letter-spacing: -0.08em;
}

.about-title span {
    color: var(--rtr-gold);
    font-style: italic;
}

.about-copy {
    margin: 28px 0 0;
    color: var(--rtr-muted);
    font-size: clamp(1rem, 1.7vw, 1.22rem);
    line-height: 1.7;
    max-width: 680px;
}

.about-photo-card {
    position: relative;
    min-height: 560px;
    border: 1px solid var(--rtr-line);
    border-radius: calc(var(--rtr-radius) + 18px);
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(216, 185, 53, 0.18), transparent 34%),
        linear-gradient(315deg, rgba(200, 16, 46, 0.14), transparent 36%),
        rgba(247, 244, 236, 0.06);
    box-shadow: var(--rtr-shadow);
}

.about-photo-card::before {
    content: "";
    position: absolute;
    inset: 28px;
    border: 1px solid rgba(216, 185, 53, 0.38);
    border-radius: calc(var(--rtr-radius) + 10px);
    pointer-events: none;
}

.about-photo-card img {
    position: absolute;
    inset: auto 0 0 auto;
    width: min(520px, 100%);
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: saturate(0.95) contrast(1.03);
}

.about-photo-card__label {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 2;
    max-width: 360px;
    padding: 22px;
    background: rgba(3, 7, 13, 0.76);
    border: 1px solid var(--rtr-line);
    backdrop-filter: blur(18px);
}

.about-photo-card__label h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    line-height: 0.92;
}

.about-photo-card__label p {
    margin: 12px 0 0;
    color: var(--rtr-muted);
}

.about-section {
    padding: clamp(60px, 9vw, 120px) 0;
}

.about-panel {
    position: relative;
    border: 1px solid var(--rtr-line);
    border-radius: calc(var(--rtr-radius) + 12px);
    background:
        linear-gradient(135deg, rgba(247, 244, 236, 0.09), rgba(247, 244, 236, 0.025));
    padding: clamp(26px, 5vw, 64px);
    overflow: hidden;
}

.about-panel::before {
    content: "";
    position: absolute;
    right: -10%;
    top: -15%;
    width: min(620px, 60vw);
    aspect-ratio: 1;
    background-image: url("../img/brand/RTR_Logo_monogram.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.055;
    pointer-events: none;
}

.about-panel__content {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 24px;
}

.about-panel h2,
.contact-options h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 5vw, 5.2rem);
    line-height: 0.9;
    letter-spacing: -0.06em;
}

.about-panel p {
    color: var(--rtr-muted);
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.75;
    max-width: 880px;
}

.about-values {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.about-value {
    border: 1px solid var(--rtr-line);
    border-radius: var(--rtr-radius);
    background: rgba(3, 7, 13, 0.32);
    padding: 22px;
}

.about-value h3 {
    margin: 0 0 10px;
    color: var(--rtr-gold);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.82rem;
}

.about-value p {
    margin: 0;
    font-size: 0.98rem;
}

.contact-options {
    display: grid;
    gap: 24px;
    border: 1px solid var(--rtr-line);
    border-radius: calc(var(--rtr-radius) + 12px);
    background:
        linear-gradient(135deg, rgba(200, 16, 46, 0.16), transparent 28%),
        linear-gradient(315deg, rgba(216, 185, 53, 0.18), transparent 32%),
        rgba(247, 244, 236, 0.06);
    padding: clamp(26px, 5vw, 60px);
}

.contact-options__grid {
    display: grid;
    gap: 14px;
}

.contact-option {
    display: grid;
    gap: 8px;
    border: 1px solid var(--rtr-line);
    border-radius: var(--rtr-radius);
    background: rgba(3, 7, 13, 0.42);
    padding: 20px;
    color: var(--rtr-white);
    text-decoration: none;
}

.contact-option span {
    color: var(--rtr-gold);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.72rem;
    font-weight: 850;
}

.contact-option strong {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 650;
}

.contact-option:hover,
.contact-option:focus-visible {
    border-color: rgba(216, 185, 53, 0.65);
    outline: none;
}

.language-note {
    margin-top: 20px;
    color: var(--rtr-muted);
    font-size: 0.94rem;
}

@media (min-width: 860px) {
    .about-hero__grid {
        grid-template-columns: 1.05fr 0.95fr;
    }

    .about-values {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-options__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .about-hero {
        min-height: auto;
    }

    .about-hero::before {
        width: 120vw;
        right: -52vw;
        top: 0;
        opacity: 0.13;
    }

    .about-photo-card {
        min-height: 520px;
    }

    .about-photo-card img {
        width: 100%;
    }
}

/* === TRG PATCH: Full-bleed mobile-first About hero ===
   Purpose: Make the About/Rosaura hero span the full viewport while keeping
   readable content rhythm across mobile, tablet, desktop, and wide screens.
   Credit: Designed inhouse by The Taino Resource Group LLC.
*/
.about-hero.section {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 0;
    padding-right: 0;
}

.about-hero__grid {
    width: min(1680px, calc(100% - clamp(32px, 6vw, 112px)));
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr);
}

.about-hero__content {
    max-width: min(760px, 100%);
}

.about-title {
    font-size: clamp(3.05rem, 12vw, 9.4rem);
    max-width: 11ch;
}

.about-copy {
    max-width: 720px;
}

.about-photo-card {
    width: 100%;
    min-height: clamp(500px, 76vw, 760px);
}

.about-photo-card img {
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.about-photo-card__label {
    max-width: min(360px, calc(100% - 32px));
}

@media (min-width: 760px) {
    .about-photo-card {
        min-height: clamp(560px, 60vw, 820px);
    }
}

@media (min-width: 860px) {
    .about-hero__grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
        align-items: center;
    }

    .about-photo-card {
        min-height: clamp(560px, 48vw, 760px);
    }
}

@media (min-width: 1280px) {
    .about-hero__grid {
        width: min(1760px, calc(100% - 96px));
    }

    .about-hero__content {
        max-width: 860px;
    }
}

@media (min-width: 1600px) {
    .about-hero__grid {
        width: min(1840px, calc(100% - 128px));
    }

    .about-photo-card {
        min-height: 760px;
    }
}

@media (max-width: 640px) {
    .about-hero.section {
        min-height: auto;
        padding-top: clamp(34px, 10vw, 58px);
        padding-bottom: clamp(48px, 12vw, 76px);
    }

    .about-hero__grid {
        width: calc(100% - 28px);
        gap: 30px;
    }

    .about-title {
        font-size: clamp(3rem, 17vw, 5.4rem);
        line-height: 0.86;
        max-width: 9ch;
    }

    .about-copy {
        font-size: 1rem;
        line-height: 1.65;
    }

    .about-photo-card {
        min-height: min(580px, 118vw);
        border-radius: 24px;
    }

    .about-photo-card::before {
        inset: 18px;
    }

    .about-photo-card__label {
        left: 16px;
        bottom: 16px;
        padding: 18px;
    }
}

@media (max-width: 420px) {
    .about-hero__grid {
        width: calc(100% - 24px);
    }

    .about-title {
        font-size: clamp(2.72rem, 17vw, 4.7rem);
    }

    .about-photo-card {
        min-height: 520px;
    }
}
/* === END TRG PATCH: Full-bleed mobile-first About hero === */

/* === TRG PATCH: Floating RTR logo behind Rosaura ===
   Purpose: Restore visible RTR monogram behind Rosaura's photo as a floating
   brand layer without covering the portrait or label.
   Credit: Designed inhouse by The Taino Resource Group LLC.
*/
.about-photo-card {
    isolation: isolate;
}

.about-photo-card::after {
    content: "";
    position: absolute;
    right: clamp(18px, 5vw, 80px);
    top: clamp(26px, 6vw, 90px);
    width: min(420px, 56%);
    aspect-ratio: 1 / 1;
    background-image: url("../img/brand/RTR_Logo_monogram.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.22;
    transform: rotate(-5deg);
    filter: drop-shadow(0 38px 70px rgba(0, 0, 0, 0.42));
    z-index: 1;
    pointer-events: none;
}

.about-photo-card img {
    position: relative;
    z-index: 2;
}

.about-photo-card__label {
    z-index: 4;
}

@media (max-width: 760px) {
    .about-photo-card::after {
        right: 50%;
        top: 34px;
        width: min(330px, 72%);
        opacity: 0.18;
        transform: translateX(50%) rotate(-5deg);
    }
}
/* === END TRG PATCH: Floating RTR logo behind Rosaura === */

/* === TRG PATCH: Floating RTR logo behind Rosaura ===
   Purpose: Position the RTR monogram in the upper-left open area of the
   Rosaura photo card so it remains visible without covering her portrait.
   Credit: Designed inhouse by The Taino Resource Group LLC.
*/
.about-photo-card {
    isolation: isolate;
}

.about-photo-card::after {
    content: "";
    position: absolute;
    left: clamp(22px, 4vw, 68px);
    top: clamp(30px, 5vw, 78px);
    width: min(300px, 32%);
    aspect-ratio: 1 / 1;
    background-image: url("../img/brand/RTR_Logo_monogram.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.32;
    transform: rotate(-5deg);
    filter: drop-shadow(0 34px 66px rgba(0, 0, 0, 0.42));
    z-index: 1;
    pointer-events: none;
}

.about-photo-card img {
    position: relative;
    z-index: 2;
}

.about-photo-card__label {
    z-index: 4;
}

@media (max-width: 760px) {
    .about-photo-card::after {
        left: clamp(22px, 8vw, 46px);
        top: clamp(24px, 8vw, 48px);
        width: min(250px, 52%);
        opacity: 0.22;
        transform: rotate(-5deg);
    }
}
/* === END TRG PATCH: Floating RTR logo behind Rosaura === */

/* About page: keep portrait full-size and anchor lower in the visual frame */
.about-photo-card {
    position: relative;
    overflow: hidden;
}

.about-photo-card img {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    transform: none;
    object-fit: cover;
    object-position: center bottom;
}

@media (min-width: 860px) {
    .about-hero__grid {
        align-items: end;
    }

    .about-photo-card img {
        object-position: center bottom;
    }
}

@media (max-width: 640px) {
    .about-photo-card img {
        object-position: center bottom;
    }
}