
/* ==========================================
   HARDY YARDS DEVELOPMENTS
   RESOURCES & DOWNLOADS
   DESIGN + DEVELOPMENT
========================================== */

:root {
    --hy-orange: #ff7700;
    --hy-black: #080a0d;
    --hy-dark: #101318;
    --hy-panel: #171b21;
    --hy-white: #ffffff;
    --hy-gray: #a7abb2;
    --hy-line: rgba(255,255,255,.12);
}

.resources-page {
    background: var(--hy-black);
    color: var(--hy-white);
}

.resources-page main {
    font-family: 'Poppins', Arial, sans-serif;
}

/* HEADER */


/* HERO */

.resources-hero {
    position: relative;
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 40px;
    overflow: hidden;
    padding: 100px 8%;
    background:
        radial-gradient(
            circle at 80% 45%,
            rgba(255,119,0,.10),
            transparent 35%
        ),
        linear-gradient(120deg, #101318, #080a0d 75%);
}

.resources-hero-grid {
    position: absolute;
    inset: 0;
    opacity: .13;
    background-image:
        linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 65px 65px;
    mask-image: linear-gradient(to right, black, transparent 90%);
}

.resources-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.resource-eyebrow {
    color: var(--hy-orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.resources-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(48px, 7vw, 88px);
    line-height: .99;
    font-weight: 700;
    letter-spacing: -1px;
    max-width: 850px;
}

.resources-hero h1 span {
    display: block;
    color: var(--hy-orange);
}

.resources-hero-content > p {
    max-width: 570px;
    color: #b9bdc4;
    font-size: 16px;
    line-height: 1.9;
    margin: 30px 0;
}

.resources-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    min-height: 58px;
    padding: 0 25px;
    background: var(--hy-orange);
    color: #080a0d;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: .25s ease;
}

.resources-primary-button:hover {
    background: white;
    transform: translateY(-3px);
}

.resources-primary-button span {
    font-size: 20px;
}

.resources-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 65px;
    color: #888e97;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.resources-hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.resources-hero-image-frame {
    position: relative;
    width: 100%;
    max-width: 650px;
    aspect-ratio: 1145 / 800;
    overflow: hidden;
    background: #11151a;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 30px 70px rgba(0,0,0,.45);
    margin-left: auto;
}

.resources-hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.resources-hero-image-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(8,10,13,.72),
            rgba(8,10,13,.18) 40%,
            rgba(8,10,13,.08)
        );
    z-index: 1;
}

.resources-hero-image-frame::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255,119,0,.45);
    pointer-events: none;
    z-index: 2;
}

.resources-hero-image-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 3;
    display: inline-block;
    padding: 9px 12px;
    background: rgba(8,10,13,.88);
    border-left: 3px solid #ff7700;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}


/* FEATURED RESOURCE */

.featured-resource {
    padding: 120px 8%;
    background: #0b0e12;
}

.resources-section-heading {
    max-width: 700px;
    margin-bottom: 75px;
}

.resources-section-heading h2,
.coming-resources h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.1;
}

.resources-section-heading h2 span,
.coming-resources h2 span {
    color: var(--hy-orange);
}

.resources-section-heading > p {
    color: var(--hy-gray);
    line-height: 1.8;
    margin-top: 20px;
    max-width: 560px;
}

.featured-guide-layout {
    display: grid;
    grid-template-columns: minmax(280px, .85fr) 1.15fr;
    gap: 90px;
    align-items: center;
}

/* PUBLICATION COVER */

.guide-cover-wrapper {
    position: relative;
    width: 100%;
    max-width: 390px;
    margin: auto;
    perspective: 1200px;
}

.guide-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 8.5 / 11;
    padding: 28px;
    background:
        radial-gradient(circle at 75% 65%,
        rgba(255,119,0,.22), transparent 35%),
        linear-gradient(145deg, #252a31, #090b0e 70%);
    border: 1px solid rgba(255,255,255,.2);
    box-shadow: 25px 30px 60px rgba(0,0,0,.5);
}

.guide-cover-top {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,.25);
}

.guide-cover-top strong {
    font-size: 16px;
    letter-spacing: -1px;
}

.guide-cover-top span {
    color: var(--hy-orange);
    font-size: 8px;
    letter-spacing: 2px;
}

.guide-cover-content {
    position: relative;
    z-index: 3;
    margin-top: 55px;
}

.guide-cover-label {
    color: var(--hy-orange);
    font-size: 8px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.guide-cover h3 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(35px, 5vw, 55px);
    line-height: .99;
    letter-spacing: -1px;
}

.guide-cover h3 span {
    display: block;
    color: var(--hy-orange);
}

.guide-cover-content p {
    color: #c0c4ca;
    font-size: 9px;
    line-height: 1.8;
    letter-spacing: 1px;
    max-width: 230px;
    margin-top: 20px;
}

.guide-cover-architecture {
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 65px;
    height: 125px;
    border-bottom: 1px solid var(--hy-orange);
}

.cover-building {
    position: absolute;
    right: 12%;
    bottom: 0;
    width: 52%;
    height: 100%;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0 19px,
            rgba(255,119,0,.6) 20px 21px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0 24px,
            rgba(255,119,0,.4) 25px 26px
        );
    border: 1px solid rgba(255,119,0,.8);
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
}

.cover-ground {
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 1px;
    background: white;
}

.cover-measure {
    position: absolute;
    width: 1px;
    background: var(--hy-orange);
    opacity: .8;
}

.measure-one {
    height: 90px;
    left: 15%;
    bottom: 0;
}

.measure-two {
    height: 65px;
    right: 2%;
    bottom: 0;
}

.guide-cover-footer {
    position: absolute;
    z-index: 3;
    left: 28px;
    right: 28px;
    bottom: 22px;
    display: flex;
    justify-content: space-between;
    color: #a7abb2;
    font-size: 7px;
    letter-spacing: 1.5px;
}

.guide-cover-footer span:last-child {
    color: var(--hy-orange);
}

.guide-cover-shadow {
    position: absolute;
    inset: 15px -15px -15px 15px;
    border: 1px solid rgba(255,119,0,.35);
    z-index: -1;
}

/* GUIDE DETAILS */

.featured-guide-content {
    max-width: 620px;
}

.guide-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--hy-orange);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.guide-status span {
    width: 8px;
    height: 8px;
    background: var(--hy-orange);
    border-radius: 50%;
}

.featured-guide-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.05;
}

.guide-description {
    color: var(--hy-gray);
    line-height: 1.9;
    margin: 25px 0 35px;
}

.guide-details {
    display: flex;
    gap: 50px;
    padding: 25px 0;
    border-top: 1px solid var(--hy-line);
    border-bottom: 1px solid var(--hy-line);
    margin-bottom: 35px;
}

.guide-details div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.guide-details strong {
    color: var(--hy-orange);
    font-family: 'Oswald', sans-serif;
    font-size: 30px;
}

.guide-details span {
    color: #888e97;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.featured-guide-content > h3 {
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.guide-feature-list {
    list-style: none;
    margin-bottom: 35px;
}

.guide-feature-list li {
    position: relative;
    padding: 10px 0 10px 25px;
    color: #b8bdc5;
    font-size: 13px;
    line-height: 1.6;
}

.guide-feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--hy-orange);
    font-weight: 700;
}

.guide-note {
    color: #858b94;
    font-size: 10px;
    margin-top: 15px;
}

/* DOWNLOAD SECTION */

.download-section {
    padding: 110px 8%;
    background:
        linear-gradient(110deg, #171b21, #0b0e12);
    border-top: 1px solid var(--hy-line);
    border-bottom: 1px solid var(--hy-line);
}

.download-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.download-intro h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(42px, 5vw, 65px);
    line-height: 1.05;
}

.download-intro h2 span {
    display: block;
    color: var(--hy-orange);
}

.download-intro > p {
    color: var(--hy-gray);
    line-height: 1.9;
    margin: 25px 0 35px;
    max-width: 470px;
}

.download-promise {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 18px;
    font-size: 11px;
    letter-spacing: 1px;
    color: #c2c6cd;
}

.download-promise span {
    color: var(--hy-orange);
    font-weight: 700;
}

/* SIGNUP FORM */

.download-form-wrapper {
    padding: 40px;
    background: #20252c;
    border: 1px solid rgba(255,255,255,.1);
    border-top: 3px solid var(--hy-orange);
    box-shadow: 0 25px 60px rgba(0,0,0,.25);
}

.guide-signup-form .form-group {
    margin-bottom: 25px;
}

.guide-signup-form label {
    display: block;
    color: #d8dbe0;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.guide-signup-form input[type="text"],
.guide-signup-form input[type="email"] {
    width: 100%;
    height: 55px;
    padding: 0 16px;
    color: white;
    background: #11151a;
    border: 1px solid rgba(255,255,255,.15);
    outline: none;
    font-family: inherit;
    font-size: 13px;
    transition: .2s ease;
}

.guide-signup-form input:focus {
    border-color: var(--hy-orange);
    box-shadow: 0 0 0 2px rgba(255,119,0,.12);
}

.guide-signup-form input::placeholder {
    color: #747b85;
}

.marketing-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 25px 0;
}

.marketing-consent input {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    accent-color: var(--hy-orange);
    margin-top: 2px;
}

.marketing-consent label {
    color: #aeb4bd;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0;
    cursor: pointer;
}

.guide-submit-button {
    width: 100%;
    min-height: 58px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 22px;
    background: var(--hy-orange);
    color: #080a0d;
    border: none;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: .25s ease;
}

.guide-submit-button:hover {
    background: white;
}

.guide-submit-button span {
    font-size: 20px;
}

.form-privacy-note {
    color: #858b94;
    font-size: 9px;
    line-height: 1.8;
    margin-top: 18px;
}

/* COMING SOON */

.coming-resources {
    padding: 110px 8%;
    text-align: center;
    background: #080a0d;
}

.coming-resources h2 {
    max-width: 850px;
    margin: 0 auto;
}

.coming-resources > p {
    max-width: 620px;
    margin: 25px auto 45px;
    color: var(--hy-gray);
    line-height: 1.9;
}

.coming-resource-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    color: #a9afb8;
    font-size: 9px;
    letter-spacing: 1px;
}

.coming-resource-line span {
    color: var(--hy-orange);
    font-weight: 700;
}

/* RESPONSIVE DESIGN */

@media (max-width: 1050px) {

    .resources-hero {
    grid-template-columns: 1fr;
}

.resources-hero-visual {
    max-width: 520px;
    margin: 0 auto;
}

    .featured-guide-layout {
        gap: 45px;
    }

    .download-container {
        gap: 45px;
    }

   
}

@media (max-width: 760px) {

  

    

    
    

    .resources-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    }

.resources-hero-visual {
    width: 100%;
    }

.resources-hero-image-frame {
    max-width: 100%;
    aspect-ratio: 4 / 4.8;
    }

    .resources-hero-decoration {
        display: none;
    }

    .resources-hero-meta {
        gap: 14px;
        margin-top: 45px;
    }

    .resources-hero-meta span {
        font-size: 8px;
    }

    .featured-resource,
    .download-section,
    .coming-resources {
        padding: 80px 7%;
    }

    .featured-guide-layout,
    .download-container {
        grid-template-columns: 1fr;
        gap: 65px;
    }

    .guide-cover-wrapper {
        max-width: 320px;
    }

    .download-form-wrapper {
        padding: 28px 22px;
    }

    .guide-details {
        gap: 35px;
    }

}

@media (max-width: 420px) {

    .resources-hero h1 {
        font-size: 46px;
    }

    .resources-hero-content > p {
        font-size: 14px;
    }

    .resources-primary-button {
        width: 100%;
        gap: 12px;
        padding: 0 15px;
        font-size: 10px;
    }

    .guide-details {
        gap: 25px;
    }

    .guide-cover {
        padding: 20px;
    }

    .guide-cover-content {
        margin-top: 40px;
    }

    .guide-cover h3 {
        font-size: 38px;
    }

}



/* ==========================================
   HARDY YARDS - FULL BLEED HERO
   REFERENCE DESIGN OVERRIDE
========================================== */

.resources-hero {
    position: relative;
    min-height: 800px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    padding: 100px 5.5%;

    background:
        radial-gradient(
            circle at 85% 40%,
            rgba(255,119,0,.08),
            transparent 35%
        ),
        #080a0d;
}

/* ARCHITECTURAL IMAGE */

.resources-hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;

    width: 76%;
    height: 100%;
    max-width: none;
    margin: 0;

    z-index: 0;
    overflow: hidden;

    border: none;
    box-shadow: none;
    background: transparent;
}

.resources-hero-visual img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center right;

    border: none;
    box-shadow: none;
    filter: none;

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,.12) 15%,
        rgba(0,0,0,.65) 34%,
        rgba(0,0,0,1) 48%,
        rgba(0,0,0,1) 100%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,.12) 15%,
        rgba(0,0,0,.65) 34%,
        rgba(0,0,0,1) 48%,
        rgba(0,0,0,1) 100%
    );
}

/* SUBTLE ARCHITECTURAL GRID */

.resources-hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;

    opacity: .07;
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255,255,255,.12) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.12) 1px,
            transparent 1px
        );

    background-size: 65px 65px;
}

/* HERO TEXT */

.resources-hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 700px;
}

.resources-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(54px, 4.6vw, 90px);
    line-height: .99;
    font-weight: 700;
    letter-spacing: -1px;
}

.resources-hero h1 span {
    display: block;
    color: #ff7700;
}

.resources-hero-content > p {
    max-width: 590px;
    color: #d0d2d6;
    font-size: 16px;
    line-height: 1.9;
    margin: 30px 0;
}

/* ORANGE CTA */

.resources-hero .resources-primary-button {
    position: relative;
    z-index: 3;
}

/* HERO FOOTER LABELS */

.resources-hero-meta {
    position: relative;
    z-index: 2;

    display: flex;
    flex-wrap: wrap;
    gap: 35px;

    margin-top: 60px;

    color: #d0d2d6;
    font-size: 10px;
    letter-spacing: 1px;
}

/* TABLET AND MOBILE */

@media (max-width: 760px) {

    .resources-hero {
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 85px 7% 0;
    }

    .resources-hero-content {
        max-width: 100%;
    }

    .resources-hero-visual {
        position: relative;
        width: 100%;
        height: 380px;
        margin-top: 35px;
    }

    .resources-hero-visual img {
        object-position: center;
        -webkit-mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            black 25%,
            black 100%
        );
        mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            black 25%,
            black 100%
        );
    }

    .resources-hero-meta {
        gap: 15px;
        margin-top: 40px;
    }

}
