
/* ==========================================
   AS PROJECT STUDIO
   PREMIUM RESOURCES PAGE
========================================== */

.as-resources {
    --navy: #101d35;
    --deep: #0b182a;
    --teal: #087f8c;
    --teal-dark: #066773;
    --text: #172033;
    --muted: #475569;
    --soft: #f5f7fa;
    --border: #e5eaf0;

    width: 100%;
    color: var(--text);
    font-family: inherit;
    overflow-x: clip;
}

.as-resources *,
.as-resources *::before,
.as-resources *::after {
    box-sizing: border-box;
}

.as-resources h1,
.as-resources h2,
.as-resources h3,
.as-resources p {
    margin-top: 0;
}

.resources-container {
    width: 94%;
    max-width: 1600px;
    margin-inline: auto;
}

/* LABELS */

.resources-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    color: var(--teal);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1.5;
    text-transform: uppercase;
}

.resources-eyebrow > span {
    width: 25px;
    height: 2px;
    background: currentColor;
    flex-shrink: 0;
}

/* BUTTONS */

.resources-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 53px;
    padding: 15px 25px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background .25s ease,
                transform .25s ease,
                box-shadow .25s ease;
}

.resources-btn:hover {
    transform: translateY(-3px);
}

.resources-btn-primary {
    background: var(--teal);
    color: #fff;
}

.resources-btn-primary:hover {
    background: var(--teal-dark);
    color: #fff;
    box-shadow: 0 10px 25px rgba(8,127,140,.18);
}

.resources-btn-outline {
    background: #fff;
    border: 1px solid #cbd5df;
    color: var(--navy);
}

.resources-btn-outline:hover {
    background: #eaf6f7;
}

.resources-btn-white {
    background: #fff;
    color: var(--navy);
}

.resources-btn-white:hover {
    background: #daf4f5;
}

/* ==========================================
   HERO
========================================== */

.resources-hero {
    padding: 100px 0;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(8,127,140,.1),
            transparent 42%
        ),
        #f6f8fa;
    border-bottom: 1px solid var(--border);
}

.resources-hero-grid {
    display: grid;
    grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
    align-items: center;
    gap: clamp(40px,5vw,95px);
}

.resources-hero-copy {
    max-width: 780px;
}

.resources-hero h1 {
    margin: 24px 0 26px;
    color: var(--navy);
    font-size: clamp(44px,5vw,76px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.045em;
}

.resources-hero h1 span {
    display: block;
    color: var(--teal);
}

.resources-hero-description {
    max-width: 680px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.9;
}

.resources-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

.resources-hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    padding-top: 25px;
    margin-top: 45px;
    border-top: 1px solid #dce3ea;
}

.resources-hero-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.resources-hero-highlights span::before {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--teal);
    border-radius: 50%;
}

/* HERO IMAGE */

.resources-hero-visual {
    position: relative;
    max-width: 680px;
    width: 100%;
    justify-self: end;
}

.resources-image-frame {
    position: relative;
    height: clamp(390px,37vw,590px);
    overflow: hidden;
    border-radius: 15px;
    background: #dce6eb;
    box-shadow: 0 25px 70px rgba(16,29,53,.12);
}

.resources-image-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.resources-image-frame:hover img {
    transform: scale(1.045);
}

.resources-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(11,24,42,.22),
        transparent 55%
    );
    pointer-events: none;
}

.resources-floating-card {
    position: absolute;
    z-index: 2;
    bottom: 35px;
    left: -30px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 23px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 15px 45px rgba(16,29,53,.14);
    transition: transform .25s ease;
}

.resources-floating-card:hover {
    transform: translateY(-5px);
}

.resources-floating-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    background: #eaf6f7;
    border-radius: 10px;
    color: var(--teal);
    font-size: 22px;
    font-weight: 800;
}

.resources-floating-card strong {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: var(--navy);
}

.resources-floating-card div > span {
    color: var(--muted);
    font-size: 12px;
}

.resources-image-corner {
    position: absolute;
    z-index: 1;
    top: -18px;
    right: -18px;
    width: 85px;
    height: 85px;
    border-top: 3px solid var(--teal);
    border-right: 3px solid var(--teal);
    border-radius: 0 16px 0 0;
    pointer-events: none;
}

/* ==========================================
   INTRODUCTION
========================================== */

.resources-intro {
    padding: 110px 0;
    background: #fff;
}

.resources-intro-grid {
    display: grid;
    grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
    gap: clamp(50px,8vw,140px);
}

.resources-intro-grid h2 {
    margin: 20px 0 0;
    font-size: clamp(36px,3.8vw,57px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.04em;
    color: var(--navy);
}

.resources-intro-grid h2 span {
    color: var(--teal);
}

.resources-intro-grid > div:last-child p {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.95;
}

/* ==========================================
   SECTION HEADINGS
========================================== */

.resources-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 60px;
}

.resources-section-heading h2 {
    margin: 18px 0 0;
    font-size: clamp(35px,3.7vw,54px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.04em;
    color: var(--navy);
}

.resources-section-heading h2 span {
    display: block;
    color: var(--teal);
}

.resources-section-heading > p {
    max-width: 410px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

/* ==========================================
   RESOURCE COLLECTION
========================================== */

.resources-collection {
    padding: 110px 0;
    background: var(--soft);
    scroll-margin-top: 90px;
}

.resources-card-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 22px;
    margin-top: 50px;
}

.resource-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 35px 30px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: transform .3s ease,
                box-shadow .3s ease,
                border-color .3s ease;
}

.resource-card:hover {
    transform: translateY(-7px);
    border-color: rgba(8,127,140,.45);
    box-shadow: 0 20px 50px rgba(16,29,53,.09);
}

.resource-card-topline {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--teal);
    transition: width .35s ease;
}

.resource-card:hover .resource-card-topline {
    width: 100%;
}

.resource-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 25px;
}

.resource-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: #eaf6f7;
    color: var(--teal);
    border-radius: 12px;
}

.resource-icon svg {
    width: 28px;
    height: 28px;
}

.resource-number {
    color: var(--teal);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
}

.resource-card h3 {
    margin-bottom: 14px;
    color: var(--navy);
    font-size: 22px;
    font-weight: 750;
    line-height: 1.35;
}

.resource-card > p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 30px;
}

.resource-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.resource-card-footer > span {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

.resource-card-footer a {
    color: var(--teal);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.resource-card-footer a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ==========================================
   BENEFITS
========================================== */

.resources-benefits {
    padding: 110px 0;
    background: #fff;
}

.resources-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 20px;
    margin-top: 50px;
}

.resources-benefit {
    padding: 32px 26px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 11px;
    transition: transform .3s ease,
                box-shadow .3s ease,
                border-color .3s ease;
}

.resources-benefit:hover {
    transform: translateY(-7px);
    border-color: rgba(8,127,140,.4);
    box-shadow: 0 15px 40px rgba(16,29,53,.07);
}

.resources-benefit-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 25px;
    color: var(--teal);
    background: #eaf6f7;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13px;
}

.resources-benefit h3 {
    margin-bottom: 14px;
    color: var(--navy);
    font-size: 19px;
    line-height: 1.4;
}

.resources-benefit p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

/* ==========================================
   HOW TO GET STARTED
========================================== */

.resources-how {
    padding: 110px 0;
    background: #f0f6f7;
}

.resources-how-grid {
    display: grid;
    grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
    gap: clamp(50px,8vw,140px);
}

.resources-how-grid h2 {
    margin: 20px 0 25px;
    color: var(--navy);
    font-size: clamp(35px,3.7vw,54px);
    line-height: 1.15;
    letter-spacing: -.04em;
}

.resources-how-grid h2 span {
    color: var(--teal);
}

.resources-how-grid > div:first-child > p:last-child {
    max-width: 580px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
}

.resources-how-panel {
    border-top: 1px solid #cbdde2;
}

.resources-how-step {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px 15px;
    border-bottom: 1px solid #cbdde2;
    transition: background .25s ease,
                padding-left .25s ease;
}

.resources-how-step:hover {
    padding-left: 25px;
    background: rgba(255,255,255,.6);
}

.resources-how-step > span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #e0f2f2;
    color: var(--teal);
    font-size: 14px;
    font-weight: 800;
}

.resources-how-step h3 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 20px;
}

.resources-how-step p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

/* ==========================================
   FINAL CTA
========================================== */

.resources-final-cta {
    padding: 85px 0;
    background:
        radial-gradient(
            circle at 95% 10%,
            rgba(8,127,140,.2),
            transparent 35%
        ),
        var(--deep);
    color: #fff;
}

.resources-cta-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 55px;
}

.resources-eyebrow-light {
    color: #74d1d7;
}

.resources-final-cta h2 {
    max-width: 800px;
    margin: 20px 0;
    font-size: clamp(34px,3.8vw,55px);
    line-height: 1.15;
    letter-spacing: -.04em;
}

.resources-final-cta h2 span {
    display: block;
    color: #74d1d7;
}

.resources-final-cta p:not(.resources-eyebrow) {
    max-width: 680px;
    margin: 0;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.85;
}

.resources-cta-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    flex-shrink: 0;
}

.resources-cta-secondary {
    color: #c9e8ec;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.resources-cta-secondary:hover {
    color: #fff;
    text-decoration: underline;
}

/* ==========================================
   ACCESSIBILITY
========================================== */

.as-resources a:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 4px;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1100px) {
    .resources-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .resources-hero h1 {
        font-size: 48px;
    }

    .resources-benefits-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .resources-floating-card {
        left: 12px;
    }
}

@media (max-width: 850px) {
    .resources-container {
        width: 92%;
    }

    .resources-hero-grid,
    .resources-intro-grid,
    .resources-how-grid {
        grid-template-columns: 1fr;
    }

    .resources-hero-visual {
        max-width: 100%;
        justify-self: stretch;
    }

    .resources-image-frame {
        height: 450px;
    }

    .resources-section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .resources-card-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .resources-cta-grid {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {
    .resources-container {
        width: 92%;
    }

    .resources-hero {
        padding: 65px 0 85px;
    }

    .resources-hero h1 {
        font-size: clamp(37px,9vw,48px);
    }

    .resources-hero-description {
        font-size: 15px;
    }

    .resources-hero-actions {
        flex-direction: column;
    }

    .resources-hero-actions .resources-btn {
        width: 100%;
    }

    .resources-image-frame {
        height: 350px;
    }

    .resources-floating-card {
        left: 12px;
        right: 12px;
        bottom: -25px;
        padding: 15px;
    }

    .resources-image-corner {
        right: 0;
        width: 55px;
        height: 55px;
    }

    .resources-intro,
    .resources-collection,
    .resources-benefits,
    .resources-how {
        padding: 75px 0;
    }

    .resources-card-grid,
    .resources-benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .resource-card {
        padding: 30px 25px;
    }

    .resources-how-step {
        padding: 25px 8px;
        gap: 15px;
    }

    .resources-final-cta {
        padding: 70px 0;
    }

    .resources-cta-action,
    .resources-cta-action .resources-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .as-resources *,
    .as-resources *::before,
    .as-resources *::after {
        transition: none !important;
        transform: none !important;
    }
}
