/* =========================================================
   Aroha — INSIGHTS / FINAL FIGMA LAYOUT
   Uses global.css for typography, site header and footer.
========================================================= */

.page-insights {
    background: #fff;
}

/* 01 / HERO ------------------------------------------------ */

.insights-hero {
    position: relative;
    isolation: isolate;
    background: #fff;
    overflow: hidden;
}

.insights-hero-intro {
    position: relative;
    z-index: 2;
    padding-top: clamp(54px, 5.3vw, 96px);
    /* Space for the artwork to tuck behind the introduction. */
    padding-bottom: clamp(28px, 3.2vw, 58px);
}

.insights-hero-text {
    width: min(100%, 540px);
}

.insights-hero h1 {
    margin: 0 0 10px;
    font-family: var(--font-heading);
    font-size: clamp(64px, 5.9vw, 104px);
    font-weight: 400;
    line-height: .89;
    letter-spacing: -.035em;
}

.insights-hero-tagline {
    margin: 0 0 18px;
    font-family: var(--font-body);
    font-size: clamp(11px, .9vw, 14px);
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.insights-hero-description {
    max-width: 510px;
    margin: 0;
    font-size: clamp(12px, .9vw, 14px);
    line-height: 1.55;
    color: var(--color-text);
}

/* The finished PNG is a whole composition, including its white/line-art area.
   Let it retain its natural ratio and tuck it behind the introduction. */
.insights-hero-visual {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    margin-top: clamp(-420px, -24vw, -260px);
    background: #fff;
    overflow: visible;
}

.insights-hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    object-fit: contain;
}

/* 02 / GRID ------------------------------------------------ */

.insights-listing {
    background: #fff;
    padding: clamp(105px, 9vw, 170px) 0 clamp(112px, 10vw, 185px);
}

.insights-listing > .container {
    width: min(1240px, calc(100% - (var(--page-gutter) * 2)));
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(25px, 2.7vw, 48px);
    row-gap: clamp(56px, 5.3vw, 94px);
    align-items: stretch;
}

/* 03 / CARD ------------------------------------------------ */

.insight-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
}

.insight-card-visual {
    width: 100%;
    aspect-ratio: 1.68 / 1;
    background: var(--color-stone);
    overflow: hidden;
}

.insight-card-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms var(--ease-out);
}

.insight-card:hover .insight-card-visual img {
    transform: scale(1.035);
}

.insight-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 13px;
}

.insight-card-content h2 {
    max-width: 100%;
    margin: 0 0 10px;
    font-family: var(--font-body);
    font-size: clamp(15px, 1.14vw, 19px);
    font-weight: 600;
    line-height: 1.19;
    letter-spacing: -.028em;
    color: var(--color-text);
}

.insight-card-content p {
    max-width: 100%;
    margin: 0 0 18px;
    font-family: var(--font-body);
    font-size: clamp(11px, .8vw, 13px);
    line-height: 1.44;
    font-weight: 400;
    color: var(--color-text-secondary);
}

/* Kept as a non-interactive label until article destinations exist. */
.insight-read {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 34px;
    margin-top: auto;
    padding: 7px 16px;
    border: 1px solid var(--color-text);
    color: var(--color-text);
    background: transparent;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1.2;
    text-align: center;
}

/* 04 / RESPONSIVE ------------------------------------------ */

@media (min-width: 1700px) {
    .insights-hero-visual { margin-top: -270px; }
}

@media (max-width: 1050px) {
    .insights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 30px;
        row-gap: 66px;
    }

    .insights-hero-visual { margin-top: clamp(-180px, -14vw, -90px); }
    .insight-card-content h2 { font-size: 18px; }
    .insight-card-content p { font-size: 12px; }
}

@media (max-width: 600px) {
    .insights-hero-intro {
        padding-top: 58px;
        padding-bottom: 30px;
    }

    .insights-hero h1 { font-size: clamp(58px, 15vw, 78px); }
    .insights-hero-tagline { font-size: 10px; }
    .insights-hero-description { font-size: 12px; line-height: 1.65; }
    /* On phones keep the text legible above the full, uncropped artwork. */
    .insights-hero-visual { margin-top: -20px; }

    .insights-listing { padding: 75px 0 100px; }
    .insights-grid { grid-template-columns: 1fr; row-gap: 55px; }
    .insight-card-visual { aspect-ratio: 1.58 / 1; }
    .insight-card-content { padding-top: 13px; }
    .insight-card-content h2 { font-size: 19px; }
    .insight-card-content p { font-size: 12px; margin-bottom: 17px; }
    .insight-read { min-height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
    .insight-card-visual img { transition: none; }
    .insight-card:hover .insight-card-visual img { transform: none; }
}
