* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f5f2ea;
    color: #1f2925;
    line-height: 1.6;
}

/* HEADER */

.site-header {
    width: 100%;
    padding: 22px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f5f2ea;
    border-bottom: 1px solid #d6d1c5;
}

.logo h1 {
    font-size: 28px;
    line-height: 1.1;
}

.logo span {
    font-size: 12px;
    color: #6a706d;
    letter-spacing: 0.8px;
}

.main-nav {
    display: flex;
    gap: 28px;
}

.main-nav a {
    color: #1f2925;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.main-nav a:hover,
.main-nav a.active {
    color: #5d6f55;
}

/* HERO */

.hero {
    min-height: 76vh;
    display: flex;
    align-items: center;
    padding: 80px 8%;
    background:
        linear-gradient(
            rgba(31, 41, 37, 0.72),
            rgba(31, 41, 37, 0.72)
        ),
        url("../images/hero-geology.jpg");

    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 760px;
    color: white;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero h2 {
    font-size: 58px;
    line-height: 1.08;
    margin-bottom: 24px;
}

.hero-description {
    max-width: 680px;
    font-size: 20px;
    color: #eeeeee;
    margin-bottom: 34px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    text-decoration: none;
    padding: 14px 22px;
    font-weight: 700;
    border-radius: 4px;
}

.primary-button {
    background-color: #d9ad67;
    color: #1f2925;
}

.primary-button:hover {
    background-color: #e5bf82;
}

.secondary-button {
    border: 1px solid white;
    color: white;
}

.secondary-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* FEATURES */

.features-section {
    padding: 100px 8%;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 50px;
}

.section-heading h2,
.about-preview h2 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 18px;
}

.section-heading p:not(.eyebrow) {
    color: #606763;
    font-size: 18px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature-card {
    background-color: #fffdf8;
    padding: 30px;
    border: 1px solid #ddd8cd;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.feature-number {
    color: #a6783d;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 30px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 14px;
}

.feature-card p {
    color: #606763;
    margin-bottom: 26px;
}

.feature-card a {
    margin-top: auto;
    color: #506249;
    text-decoration: none;
    font-weight: 700;
}

.feature-card a:hover {
    text-decoration: underline;
}

/* ABOUT */

.about-preview {
    background-color: #28342f;
    color: white;
    padding: 100px 8%;
}

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

.about-content p:not(.eyebrow) {
    color: #d9dedb;
    font-size: 18px;
    margin-bottom: 16px;
}

/* FOOTER */

.site-footer {
    padding: 42px 8%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background-color: #17201c;
    color: #d9dedb;
}

.site-footer strong {
    color: white;
    font-size: 20px;
}

.site-footer p {
    font-size: 14px;
}

/* RESPONSIVE */

@media (max-width: 950px) {

    .site-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .main-nav {
        flex-wrap: wrap;
        gap: 14px 22px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h2 {
        font-size: 46px;
    }
}

@media (max-width: 600px) {

    .hero {
        min-height: 70vh;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero h2 {
        font-size: 38px;
    }

    .hero-description {
        font-size: 17px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .features-section,
    .about-preview {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
}

/* ========================================
   MINERAL LIBRARY
======================================== */

.library-hero {
    padding: 90px 8% 70px;
    background-color: #28342f;
    color: white;
}

.library-hero h2 {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 18px;
}

.library-hero > p:last-child {
    max-width: 650px;
    color: #d9dedb;
    font-size: 18px;
}

.mineral-library {
    padding: 70px 8% 100px;
}

.library-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

#mineralSearch {
    width: 100%;
    max-width: 500px;
    padding: 15px 18px;
    border: 1px solid #cfc9bc;
    background-color: #fffdf8;
    color: #1f2925;
    font-size: 16px;
    border-radius: 4px;
}

#mineralSearch:focus {
    outline: 2px solid #5d6f55;
    outline-offset: 2px;
}

#mineralCount {
    color: #6a706d;
    font-size: 14px;
    white-space: nowrap;
}

.mineral-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mineral-card {
    background-color: #fffdf8;
    border: 1px solid #ddd8cd;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mineral-image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;

    background-color: #d9d5ca;
    display: flex;
    align-items: center;
    justify-content: center;

    color: #737873;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mineral-card-content {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mineral-type {
    color: #a6783d;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
}

.mineral-card h3 {
    font-size: 26px;
    line-height: 1.2;
}

.formula {
    margin: 5px 0 16px;
    color: #506249;
    font-weight: 700;
}

.mineral-card-content > p:not(.mineral-type):not(.formula) {
    color: #606763;
    margin-bottom: 24px;
}

.mineral-card a {
    margin-top: auto;
    color: #506249;
    font-weight: 700;
    text-decoration: none;
}

.mineral-card a:hover {
    text-decoration: underline;
}

.no-results {
    display: none;
    padding: 60px 0;
    text-align: center;
    color: #6a706d;
}


/* MINERAL LIBRARY RESPONSIVE */

@media (max-width: 950px) {

    .mineral-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .library-hero h2 {
        font-size: 42px;
    }

    .library-controls {
        flex-direction: column;
        align-items: flex-start;
    }

    .mineral-grid {
        grid-template-columns: 1fr;
    }

}

/* ========================================
   INDIVIDUAL MINERAL PAGE
======================================== */

.mineral-page-hero {
    padding: 80px 8%;
    background-color: #28342f;
    color: white;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 70px;
    align-items: center;
}

.back-link {
    display: inline-block;
    color: #d9ad67;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 32px;
}

.back-link:hover {
    text-decoration: underline;
}

.mineral-page-intro h2 {
    font-size: 64px;
    line-height: 1;
    margin-bottom: 12px;
}

.mineral-formula-large {
    color: #d9ad67;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.mineral-summary {
    max-width: 700px;
    color: #d9dedb;
    font-size: 20px;
    line-height: 1.7;
}

.mineral-image-large-placeholder {
    min-height: 380px;
    background-color: #56635d;
    border: 1px solid #6d7873;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #d9dedb;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}


/* MAIN MINERAL CONTENT */

.mineral-page-layout {
    padding: 90px 8% 110px;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 80px;
    align-items: start;
}

.mineral-properties-panel {
    background-color: #fffdf8;
    border: 1px solid #ddd8cd;
    padding: 30px;
    position: sticky;
    top: 30px;
}

.property-row {
    padding: 15px 0;
    border-bottom: 1px solid #e5e0d6;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.property-row:last-child {
    border-bottom: none;
}

.property-row span {
    color: #727873;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.property-row strong {
    color: #1f2925;
    font-size: 15px;
}


/* ARTICLE */

.mineral-article {
    max-width: 820px;
}

.mineral-content-section {
    padding-bottom: 60px;
    margin-bottom: 60px;
    border-bottom: 1px solid #d8d3c8;
}

.mineral-content-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.mineral-content-section h3 {
    font-size: 34px;
    line-height: 1.2;
    margin-bottom: 22px;
}

.mineral-content-section > p:not(.eyebrow) {
    font-size: 17px;
    color: #515a55;
    line-height: 1.8;
    margin-bottom: 18px;
}


/* FIELD TIP */

.field-tip {
    margin-top: 32px;
    padding: 24px;
    background-color: #eee8db;
    border-left: 4px solid #a6783d;
}

.field-tip strong {
    display: block;
    margin-bottom: 8px;
}

.field-tip p {
    color: #515a55;
}


/* GEOLOGY TAGS */

.geology-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.geology-tag-list span,
.geology-tag-list a {
    padding: 8px 13px;
    background-color: #e5e8e1;
    color: #506249;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.geology-tag-list a:hover {
    background-color: #d9ded4;
}

/* ASSOCIATIONS */

.association-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.association-item {
    padding: 18px;
    background-color: #fffdf8;
    border: 1px solid #ddd8cd;
}

.association-item strong {
    display: block;
}

.association-item span {
    color: #6a706d;
    font-size: 13px;
}


/* COMPARISON */

.comparison-table {
    margin-top: 28px;
    border: 1px solid #ddd8cd;
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.2fr;
}

.comparison-header {
    background-color: #28342f;
    color: white;
    font-weight: 700;
}

.comparison-header span,
.comparison-row span {
    padding: 16px;
}

.comparison-row {
    border-top: 1px solid #ddd8cd;
    background-color: #fffdf8;
}

.comparison-row span:first-child {
    font-weight: 700;
}


/* NEXT REFERENCE */

.next-reference {
    padding: 70px 8%;
    background-color: #e8e3d8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.next-reference h3 {
    font-size: 30px;
}


/* MINERAL PAGE RESPONSIVE */

@media (max-width: 950px) {

    .mineral-page-hero {
        grid-template-columns: 1fr;
    }

    .mineral-page-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .mineral-properties-panel {
        position: static;
    }

}


@media (max-width: 650px) {

    .mineral-page-intro h2 {
        font-size: 46px;
    }

    .mineral-summary {
        font-size: 17px;
    }

    .association-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .comparison-table {
        overflow-x: auto;
    }

    .comparison-header,
    .comparison-row {
        min-width: 650px;
    }

    .next-reference {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 450px) {

    .association-grid {
        grid-template-columns: 1fr;
    }

}

.coming-soon {
    margin-top: auto;
    color: #8b8f8c;
    font-weight: 700;
    font-size: 14px;
}

/* ========================================
   GEOLOGY TOOLS
======================================== */

.tools-section {
    padding: 90px 8% 110px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.tool-card {
    background-color: #fffdf8;
    border: 1px solid #ddd8cd;
    padding: 32px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.tool-card h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.tool-card > p:not(.tool-status) {
    color: #606763;
    margin-bottom: 26px;
}

.tool-card a {
    margin-top: auto;
    color: #506249;
    font-weight: 700;
    text-decoration: none;
}

.tool-card a:hover {
    text-decoration: underline;
}

.tool-status {
    width: fit-content;
    margin-bottom: 28px;
    padding: 6px 10px;
    background-color: #e5e8e1;
    color: #506249;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tool-status.coming {
    background-color: #eee8db;
    color: #8b6b42;
}


/* TOOL PAGE */

.tool-page-hero {
    padding: 80px 8% 70px;
    background-color: #28342f;
    color: white;
}

.tool-page-hero h2 {
    font-size: 54px;
    line-height: 1.1;
    margin-bottom: 18px;
}

.tool-page-hero > p:last-child {
    max-width: 700px;
    color: #d9dedb;
    font-size: 18px;
}


/* MINERAL COMPARISON */

.comparison-tool-section {
    padding: 80px 8% 110px;
}

.mineral-selectors {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 25px;
    align-items: end;
    max-width: 900px;
    margin: 0 auto 50px;
}

.selector-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.selector-group label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #606763;
}

.selector-group select {
    width: 100%;
    padding: 15px 16px;
    background-color: #fffdf8;
    border: 1px solid #cfc9bc;
    color: #1f2925;
    font-size: 16px;
    border-radius: 4px;
}

.selector-group select:focus {
    outline: 2px solid #5d6f55;
    outline-offset: 2px;
}

.comparison-versus {
    padding-bottom: 14px;
    color: #a6783d;
    font-weight: 700;
}


/* COMPARISON RESULTS */

.mineral-comparison-results {
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid #ddd8cd;
}

.comparison-title-row {
    display: grid;
    grid-template-columns: 1fr 220px 1fr;
    background-color: #28342f;
    color: white;
}

.comparison-title-row > div {
    padding: 25px;
    text-align: center;
}

.comparison-title-row h3 {
    font-size: 24px;
}

.comparison-title-row p {
    color: #d9ad67;
    font-weight: 700;
}

.comparison-property-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.tool-comparison-row {
    display: grid;
    grid-template-columns: 1fr 220px 1fr;
    border-top: 1px solid #ddd8cd;
    background-color: #fffdf8;
}

.tool-comparison-row > div {
    padding: 20px;
}

.comparison-value {
    text-align: center;
    color: #414944;
}

.comparison-label {
    text-align: center;
    background-color: #eee8db;
    color: #505750;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* TOOLS RESPONSIVE */

@media (max-width: 750px) {

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .mineral-selectors {
        grid-template-columns: 1fr;
    }

    .comparison-versus {
        text-align: center;
        padding: 0;
    }

    .mineral-comparison-results {
        overflow-x: auto;
    }

    .comparison-title-row,
    .tool-comparison-row {
        min-width: 700px;
    }

}

/* ========================================
   MINERAL IDENTIFIER
======================================== */

.identifier-section {
    padding: 80px 8% 110px;
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 60px;
    align-items: start;
}

.identifier-panel {
    background-color: #fffdf8;
    border: 1px solid #ddd8cd;
    padding: 32px;
}

.identifier-heading h3,
.identifier-results-heading h3 {
    font-size: 30px;
    margin-bottom: 12px;
}

.identifier-heading > p:last-child,
.identifier-results-heading > p:last-child {
    color: #606763;
    margin-bottom: 30px;
}

.identifier-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.identifier-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.identifier-field label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #606763;
}

.identifier-field select {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #cfc9bc;
    background-color: white;
    color: #1f2925;
    font-size: 15px;
    border-radius: 4px;
}

.identifier-field select:focus {
    outline: 2px solid #5d6f55;
    outline-offset: 2px;
}

.identifier-button {
    margin-top: 12px;
    padding: 15px 18px;
    border: none;
    border-radius: 4px;
    background-color: #d9ad67;
    color: #1f2925;
    font-weight: 700;
    cursor: pointer;
}

.identifier-button:hover {
    background-color: #e5bf82;
}

.identifier-reset {
    padding: 12px 18px;
    background: transparent;
    border: 1px solid #bdb7aa;
    border-radius: 4px;
    color: #606763;
    font-weight: 700;
    cursor: pointer;
}

.identifier-reset:hover {
    background-color: #eee8db;
}


/* IDENTIFIER RESULTS */

.identifier-results-panel {
    min-width: 0;
}

.identifier-results-heading {
    margin-bottom: 30px;
}

.identifier-result-card {
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr) 90px;
    gap: 20px;
    align-items: center;
    background-color: #fffdf8;
    border: 1px solid #ddd8cd;
    padding: 24px;
    margin-bottom: 16px;
}

.identifier-result-rank {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #28342f;
    color: white;
    font-weight: 700;
}

.identifier-result-info h4 {
    font-size: 24px;
    margin-bottom: 2px;
}

.identifier-match-label {
    color: #a6783d;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.identifier-result-formula {
    color: #506249;
    font-weight: 700;
    margin-bottom: 10px;
}

.identifier-result-info > p:last-child {
    color: #606763;
}

.identifier-score {
    text-align: center;
}

.identifier-score strong {
    display: block;
    font-size: 28px;
    color: #506249;
}

.identifier-score span {
    color: #777d79;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}


/* IDENTIFIER RESPONSIVE */

@media (max-width: 900px) {

    .identifier-section {
        grid-template-columns: 1fr;
    }

    .identifier-panel {
        max-width: 600px;
    }

}

@media (max-width: 600px) {

    .identifier-result-card {
        grid-template-columns: 45px 1fr;
    }

    .identifier-score {
        grid-column: 2;
        text-align: left;
    }

}

.identifier-reasoning {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e5e0d6;
}

.identifier-reasoning p {
    font-size: 13px;
    color: #69706c;
    margin-bottom: 5px;
}

.identifier-reasoning strong {
    color: #414944;
}

/* ========================================
   IDENTIFIER RELIABILITY
======================================== */

.identifier-disclaimer {
    margin-bottom: 28px;
    padding: 18px 20px;
    background-color: #e8e3d8;
    border-left: 4px solid #a6783d;
}

.identifier-disclaimer strong {
    display: block;
    margin-bottom: 6px;
}

.identifier-disclaimer p {
    color: #606763;
    font-size: 14px;
    line-height: 1.6;
}


.identifier-warning {
    margin-bottom: 24px;
}

.identifier-warning:empty {
    display: none;
}

.identifier-warning-box {
    padding: 20px;
    background-color: #f3e7d7;
    border: 1px solid #d8bd98;
}

.identifier-warning-box strong {
    display: block;
    margin-bottom: 8px;
    color: #79552d;
}

.identifier-warning-box p {
    color: #6b5944;
    font-size: 14px;
    margin-bottom: 6px;
}

.identifier-warning-box p:last-child {
    margin-bottom: 0;
}


.no-reliable-match {
    padding: 32px;
    background-color: #fffdf8;
    border: 1px solid #ddd8cd;
}

.no-reliable-match h4 {
    font-size: 28px;
    margin-bottom: 14px;
}

.no-reliable-match > p:not(.eyebrow) {
    color: #606763;
    margin-bottom: 12px;
    line-height: 1.7;
}

.mineral-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
    background-color: #1c1c1c;
}

.mineral-page-image {
    width: 100%;
    min-height: 380px;
    max-height: 520px;
    display: block;
    object-fit: cover;
    border: 1px solid #6d7873;
}

.image-attribution {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: #c8cfcb;
    font-size: 11px;
    line-height: 1.5;
}

.image-attribution span {
    display: inline-block;
}

.diagnostic-notes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.diagnostic-note {
    padding: 14px 16px;
    background-color: #eee8db;
    border-left: 3px solid #a6783d;
    color: #4f5752;
    font-size: 14px;
    font-weight: 600;
}

.content-coming-soon {
    color: #8a8f8c;
    font-size: 14px;
}

@media (max-width: 600px) {

    .diagnostic-notes {
        grid-template-columns: 1fr;
    }

}

.association-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.association-link strong {
    display: block;
    color: #1f2925;
}

.association-link span {
    color: #6a706d;
    font-size: 13px;
}

.association-item:hover {
    border-color: #a6783d;
}

.association-link:hover strong {
    color: #506249;
}

.deposit-placeholder-section {
    padding: 90px 8% 110px;
}

.deposit-placeholder-card {
    max-width: 760px;
    padding: 38px;
    background-color: #fffdf8;
    border: 1px solid #ddd8cd;
}

.deposit-placeholder-card h3 {
    font-size: 32px;
    margin-bottom: 18px;
}

.deposit-placeholder-card > p:not(.eyebrow) {
    color: #606763;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 28px;
}

/* ========================================
   DEPOSIT DETAIL PAGE
======================================== */

.deposit-page-hero {
    padding: 90px 8%;
    background-color: #28342f;
    color: white;
}

.deposit-page-intro {
    max-width: 900px;
}

.deposit-page-intro h2 {
    font-size: 60px;
    line-height: 1.05;
    margin-bottom: 22px;
}

.deposit-summary {
    max-width: 850px;
    color: #d9dedb;
    font-size: 20px;
    line-height: 1.7;
}


.deposit-page-layout {
    padding: 90px 8% 110px;
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 80px;
    align-items: start;
}


.deposit-sidebar {
    position: sticky;
    top: 30px;
    background-color: #fffdf8;
    border: 1px solid #ddd8cd;
    padding: 28px;
}


.deposit-sidebar-heading {
    margin-top: 38px;
}


.commodity-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.commodity-list span {
    padding: 7px 10px;
    background-color: #e5e8e1;
    color: #506249;
    font-size: 12px;
    font-weight: 700;
}


.deposit-mineral-list {
    display: flex;
    flex-direction: column;
}

.deposit-mineral-item {
    border-bottom: 1px solid #e5e0d6;
}

.deposit-mineral-item:last-child {
    border-bottom: none;
}

.deposit-mineral-item a {
    display: block;
    padding: 12px 0;
    text-decoration: none;
}

.deposit-mineral-item strong {
    display: block;
    color: #1f2925;
}

.deposit-mineral-item span {
    color: #6a706d;
    font-size: 12px;
}

.deposit-mineral-item a:hover strong {
    color: #506249;
}


.deposit-article {
    max-width: 850px;
}


.alteration-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.alteration-card {
    padding: 24px;
    background-color: #fffdf8;
    border: 1px solid #ddd8cd;
}

.alteration-card h4 {
    font-size: 21px;
    margin-bottom: 10px;
    color: #1f2925;
}

.alteration-card p {
    color: #606763;
    line-height: 1.7;
}


@media (max-width: 950px) {

    .deposit-page-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .deposit-sidebar {
        position: static;
    }

}


@media (max-width: 650px) {

    .deposit-page-intro h2 {
        font-size: 44px;
    }

    .deposit-summary {
        font-size: 17px;
    }

    .alteration-grid {
        grid-template-columns: 1fr;
    }

}

/* ========================================
   GEOLOGY DEPOSIT DIAGRAM
======================================== */

.diagram-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 28px;
}

.diagram-heading-row h3 {
    margin-bottom: 8px;
}

.diagram-heading-row p {
    color: #606763;
    max-width: 650px;
}

.diagram-scale-note {
    flex-shrink: 0;
    padding: 7px 10px;
    background-color: #eee8db;
    color: #7b694e;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}


.deposit-diagram {
    width: 100%;
    background-color: #f0ede5;
    border: 1px solid #d6d1c5;
    overflow: hidden;
}


.porphyry-diagram-svg {
    width: 100%;
    height: auto;
    display: block;
}


/* DIAGRAM GEOLOGY */

.diagram-background {
    fill: #d8d0bf;
}

.diagram-sky {
    fill: #f5f2ea;
}

.surface-line {
    fill: none;
    stroke: #3d4741;
    stroke-width: 5;
}


.alteration-propylitic {
    fill: #aab9a0;
    stroke: #70816b;
    stroke-width: 3;
}

.alteration-phyllic {
    fill: #d7c5ad;
    stroke: #9d876f;
    stroke-width: 3;
}

.alteration-potassic {
    fill: #bc9277;
    stroke: #8c6651;
    stroke-width: 3;
}


.porphyry-intrusion {
    fill: #756f69;
    stroke: #4d4945;
    stroke-width: 4;
}

.intrusion-cupola {
    fill: #8b8278;
    stroke: #4d4945;
    stroke-width: 3;
}


/* STOCKWORK */

.quartz-stockwork path {
    fill: none;
    stroke: #f7f4ec;
    stroke-width: 6;
    stroke-linecap: round;
}


/* COPPER MINERALIZATION */

.copper-zone {
    fill: rgba(159, 113, 55, 0.28);
    stroke: #8d6837;
    stroke-width: 3;
    stroke-dasharray: 9 8;
}


/* HYDROTHERMAL FLOW */

.fluid-arrows path {
    fill: none;
    stroke: #b98b50;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 9 7;
}


/* CONNECTORS */

.diagram-connectors line {
    stroke: #59615d;
    stroke-width: 2;
}


/* LABELS */

.diagram-labels text {
    fill: #26312c;
    font-size: 20px;
    font-weight: 700;
}

.diagram-labels .diagram-label-small {
    font-size: 12px;
    font-weight: 500;
    fill: #59615d;
}

.diagram-labels .central-label {
    fill: #ffffff;
    font-size: 19px;
}

.diagram-labels .copper-label {
    fill: #4d3823;
    font-size: 16px;
}

.diagram-labels .surface-label {
    font-size: 14px;
    fill: #5d645f;
}


.diagram-disclaimer {
    margin-top: 16px;
    color: #737975;
    font-size: 13px;
    line-height: 1.6;
}


@media (max-width: 650px) {

    .diagram-heading-row {
        flex-direction: column;
    }

    .deposit-diagram {
        overflow-x: auto;
    }

    .porphyry-diagram-svg {
        min-width: 720px;
    }

}

/* ========================================
   ALTERATION LIBRARY
======================================== */

.alteration-library-section {
    padding: 90px 8% 110px;
}

.alteration-library-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.alteration-library-card {
    padding: 32px;
    background-color: #fffdf8;
    border: 1px solid #ddd8cd;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.alteration-card-category {
    margin-bottom: 18px;
    color: #a6783d;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.alteration-library-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.alteration-library-card > p:not(.alteration-card-category) {
    color: #606763;
    margin-bottom: 26px;
}

.alteration-library-card a {
    margin-top: auto;
    color: #506249;
    font-weight: 700;
    text-decoration: none;
}

.alteration-library-card a:hover {
    text-decoration: underline;
}

/* ========================================
   ALTERATION DETAIL PAGE
======================================== */

.alteration-page-hero {
    padding: 90px 8%;
    background-color: #28342f;
    color: white;
}

.alteration-page-hero h2 {
    font-size: 58px;
    line-height: 1.05;
    margin-bottom: 22px;
}

.alteration-summary {
    max-width: 850px;
    color: #d9dedb;
    font-size: 20px;
    line-height: 1.7;
}


.alteration-page-layout {
    padding: 90px 8% 110px;
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 80px;
    align-items: start;
}


.alteration-sidebar {
    position: sticky;
    top: 30px;
    padding: 28px;
    background-color: #fffdf8;
    border: 1px solid #ddd8cd;
}


.alteration-sidebar-heading {
    margin-top: 38px;
}


.alteration-mineral-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


.alteration-mineral-tags span,
.alteration-mineral-tags a {
    padding: 7px 10px;
    background-color: #e5e8e1;
    color: #506249;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}


.alteration-mineral-tags a:hover {
    background-color: #d9ded4;
}


.alteration-article {
    max-width: 850px;
}


@media (max-width: 950px) {

    .alteration-library-grid {
        grid-template-columns: 1fr;
    }

    .alteration-page-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .alteration-sidebar {
        position: static;
    }

}


@media (max-width: 650px) {

    .alteration-page-hero h2 {
        font-size: 44px;
    }

    .alteration-summary {
        font-size: 17px;
    }

}

.alteration-detail-link {
    display: inline-block;
    margin-top: 16px;
    color: #506249;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.alteration-detail-link:hover {
    text-decoration: underline;
}

/* ========================================
   MAIN NAVIGATION DROPDOWN
======================================== */

.nav-dropdown {
    position: relative;
}

.nav-dropdown-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    padding: 0;
    border: none;
    background: none;

    color: #1f2925;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
}

.nav-dropdown-button:hover {
    color: #5d6f55;
}

.nav-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    font-size: 13px;
    line-height: 1;
}


.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%);

    width: 330px;

    padding: 10px;

    background-color: #fffdf8;

    border: 1px solid #d8d3c8;

    box-shadow:
        0 14px 35px
        rgba(31, 41, 37, 0.12);

    opacity: 0;
    visibility: hidden;

    transform:
        translateX(-50%)
        translateY(-8px);

    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0.18s ease;

    z-index: 1000;
}


.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0);
}


.nav-dropdown-menu a,
.nav-disabled {
    display: block;

    padding: 14px 15px;

    color: #1f2925;

    text-decoration: none;

    border-radius: 3px;
}


.nav-dropdown-menu a:hover {
    background-color: #eee8db;
}


.nav-dropdown-menu strong,
.nav-disabled strong {
    display: block;

    margin-bottom: 3px;

    font-size: 14px;
}


.nav-dropdown-menu span,
.nav-disabled span {
    display: block;

    color: #777d79;

    font-size: 12px;

    font-weight: 400;

    line-height: 1.45;
}


.nav-disabled {
    opacity: 0.55;
    cursor: default;
}

@media (max-width: 950px) {

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    padding: 0;
    border: none;
    background: none;

    color: #1f2925;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
    }

    .nav-dropdown-menu {
        position: static;

        width: 100%;

        margin-top: 12px;

        transform: none;

        display: none;

        opacity: 1;
        visibility: visible;

        box-shadow: none;
    }

    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown:focus-within .nav-dropdown-menu {
        display: block;
        transform: none;
    }

}

/* ========================================
   LEARN LIBRARY
======================================== */

.learn-library-section {
    padding: 90px 8% 120px;
}


.learn-section-heading {
    max-width: 760px;
    margin-bottom: 50px;
}


.learn-section-heading h2 {
    margin-bottom: 16px;
    font-size: 42px;
}


.learn-section-heading > p:last-child {
    color: #606763;
    font-size: 17px;
    line-height: 1.7;
}


.learn-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;
}


.learn-card {
    position: relative;

    min-height: 350px;

    padding: 34px;

    display: flex;
    flex-direction: column;

    background-color: #fffdf8;

    border: 1px solid #ddd8cd;
}


.learn-card-number {
    position: absolute;

    top: 28px;
    right: 30px;

    color: #c7c1b5;

    font-size: 34px;
    font-weight: 700;
}


.learn-card-category {
    margin-bottom: 26px;

    color: #a6783d;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}


.learn-card h3 {
    max-width: 80%;

    margin-bottom: 18px;

    color: #1f2925;

    font-size: 28px;
    line-height: 1.2;
}


.learn-card > p:not(.learn-card-category) {
    max-width: 90%;

    margin-bottom: 28px;

    color: #606763;

    line-height: 1.7;
}


.learn-card a {
    margin-top: auto;

    color: #506249;

    font-weight: 700;
    text-decoration: none;
}


.learn-card a:hover {
    text-decoration: underline;
}


.learn-card > span {
    margin-top: auto;

    color: #92958f;

    font-size: 13px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.8px;
}


.learn-card-coming-soon {
    background-color: #f6f3ec;
}


@media (max-width: 850px) {

    .learn-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 650px) {

    .learn-library-section {
        padding:
            65px 6%
            90px;
    }

    .learn-section-heading h2 {
        font-size: 34px;
    }

    .learn-card {
        min-height: 320px;
    }

}

/* ========================================
   LEARN ARTICLE
======================================== */

.article-hero {
    padding: 90px 8% 85px;
    background-color: #28342f;
    color: white;
}


.article-hero-inner {
    max-width: 950px;
}


.article-hero h1 {
    max-width: 850px;

    margin-bottom: 22px;

    font-size: 62px;
    line-height: 1.05;
}


.article-subtitle {
    max-width: 800px;

    color: #d9dedb;

    font-size: 20px;
    line-height: 1.7;
}


.article-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 30px;
}


.article-meta span {
    padding: 7px 10px;

    background-color:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid
        rgba(255, 255, 255, 0.16);

    color: #d9dedb;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


/* ARTICLE LAYOUT */

.article-layout {
    display: grid;

    grid-template-columns:
        240px
        minmax(0, 820px);

    justify-content: center;

    gap: 75px;

    padding:
        90px 8%
        120px;

    align-items: start;
}


.article-sidebar {
    position: sticky;
    top: 30px;

    padding: 25px;

    background-color: #fffdf8;

    border: 1px solid #ddd8cd;
}


.article-toc {
    display: flex;
    flex-direction: column;
}


.article-toc a {
    padding: 10px 0;

    border-bottom:
        1px solid #e5e0d6;

    color: #59615d;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
}


.article-toc a:last-child {
    border-bottom: none;
}


.article-toc a:hover {
    color: #a6783d;
}


.article-content {
    min-width: 0;
}


.article-section {
    padding-bottom: 65px;

    margin-bottom: 65px;

    border-bottom:
        1px solid #d8d3c8;
}


.article-section h2 {
    margin-bottom: 22px;

    color: #1f2925;

    font-size: 37px;
    line-height: 1.2;
}


.article-section > p:not(.eyebrow) {
    margin-bottom: 20px;

    color: #505954;

    font-size: 17px;
    line-height: 1.85;
}


.article-introduction >
p:not(.eyebrow) {
    font-size: 19px;
}


/* CALLOUT */

.article-callout {
    margin-top: 30px;

    padding: 24px 26px;

    background-color: #eee8db;

    border-left:
        4px solid #a6783d;
}


.article-callout strong {
    display: block;

    margin-bottom: 8px;

    color: #1f2925;
}


.article-callout p {
    color: #59615d;

    line-height: 1.7;
}


/* CHECKLIST */

.article-checklist {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

    margin-top: 28px;
}


.article-checklist div {
    padding: 13px 15px;

    background-color: #fffdf8;

    border: 1px solid #ddd8cd;

    color: #506249;

    font-size: 13px;
    font-weight: 700;
}


/* PROPERTY EXAMPLES */

.property-example-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 16px;

    margin-top: 28px;
}


.property-example {
    padding: 22px;

    background-color: #fffdf8;

    border: 1px solid #ddd8cd;
}


.property-example strong {
    display: block;

    margin-bottom: 9px;

    color: #1f2925;

    font-size: 17px;
}


.property-example p {
    color: #606763;

    font-size: 14px;
    line-height: 1.65;
}


/* SIMPLE REFERENCE TABLE */

.reference-table {
    margin-top: 28px;

    border: 1px solid #ddd8cd;
}


.reference-row {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    border-top:
        1px solid #ddd8cd;

    background-color: #fffdf8;
}


.reference-row:first-child {
    border-top: none;
}


.reference-row span {
    padding: 15px 18px;
}


.reference-header {
    background-color: #28342f;
    color: white;

    font-weight: 700;
}


/* IDENTIFICATION WORKFLOW */

.workflow-example {
    margin: 30px 0;

    padding: 28px;

    background-color: #fffdf8;

    border: 1px solid #ddd8cd;
}


.workflow-label {
    margin-bottom: 15px;

    color: #a6783d;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}


.workflow-properties {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 25px;
}


.workflow-properties span {
    padding: 8px 11px;

    background-color: #e5e8e1;

    color: #506249;

    font-size: 12px;
    font-weight: 700;
}


.workflow-result {
    padding-top: 20px;

    border-top:
        1px solid #e5e0d6;
}


.workflow-result span {
    display: block;

    margin-bottom: 4px;

    color: #777d79;

    font-size: 11px;

    text-transform: uppercase;
    letter-spacing: 0.8px;
}


.workflow-result strong {
    color: #1f2925;

    font-size: 27px;
}


/* ARTICLE TOOL CTA */

.article-tool-cta {
    margin-bottom: 65px;

    padding: 40px;

    background-color: #28342f;

    color: white;
}


.article-tool-cta h2 {
    margin-bottom: 15px;

    font-size: 35px;
}


.article-tool-cta >
p:not(.eyebrow) {
    max-width: 650px;

    margin-bottom: 28px;

    color: #d9dedb;

    line-height: 1.7;
}


.article-cta-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}


.article-secondary-button {
    border:
        1px solid
        rgba(255, 255, 255, 0.5);

    color: white;
}


.article-secondary-button:hover {
    background-color:
        rgba(255, 255, 255, 0.08);
}


/* RELATED RESOURCES */

.article-related {
    padding-top: 10px;
}


.article-related-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}


.article-related-grid a {
    padding: 20px;

    background-color: #fffdf8;

    border: 1px solid #ddd8cd;

    color: inherit;

    text-decoration: none;
}


.article-related-grid strong {
    display: block;

    margin-bottom: 7px;

    color: #1f2925;
}


.article-related-grid span {
    color: #6a706d;

    font-size: 13px;
    line-height: 1.5;
}


.article-related-grid a:hover {
    border-color: #a6783d;
}


/* ARTICLE RESPONSIVE */

@media (max-width: 950px) {

    .article-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .article-sidebar {
        position: static;
    }

    .article-toc {
        display: grid;

        grid-template-columns:
            repeat(3, 1fr);

        gap: 0 20px;
    }

}


@media (max-width: 700px) {

    .article-hero h1 {
        font-size: 44px;
    }

    .article-subtitle {
        font-size: 17px;
    }

    .article-toc {
        grid-template-columns: 1fr;
    }

    .article-checklist {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .property-example-grid {
        grid-template-columns: 1fr;
    }

    .article-related-grid {
        grid-template-columns: 1fr;
    }

    .article-tool-cta {
        padding: 28px;
    }

}


@media (max-width: 450px) {

    .article-checklist {
        grid-template-columns: 1fr;
    }

}

/* ========================================
   GLOBAL SEARCH
======================================== */

.search-page-hero {
    padding: 90px 8% 80px;
    background-color: #28342f;
    color: white;
}


.search-page-hero h1 {
    margin-bottom: 18px;

    font-size: 58px;
    line-height: 1.05;
}


.search-page-hero > p:not(.eyebrow) {
    max-width: 720px;

    color: #d9dedb;

    font-size: 18px;
    line-height: 1.7;
}


.global-search-box {
    display: grid;

    grid-template-columns:
        minmax(0, 700px)
        auto;

    max-width: 850px;

    gap: 10px;

    margin-top: 35px;
}


.global-search-box input {
    width: 100%;

    padding: 17px 18px;

    border: 1px solid #68736e;

    background-color: #fffdf8;

    color: #1f2925;

    font-size: 16px;

    border-radius: 4px;
}


.global-search-box input:focus {
    outline:
        2px solid #d9ad67;

    outline-offset: 2px;
}


.global-search-box button {
    padding: 0 24px;

    border: none;

    border-radius: 4px;

    background-color: #d9ad67;

    color: #1f2925;

    font-weight: 700;

    cursor: pointer;
}


.global-search-box button:hover {
    background-color: #e5bf82;
}



/* SEARCH RESULTS */

.search-results-section {
    padding: 80px 8% 110px;
}


.search-results-header {
    display: flex;

    justify-content: space-between;
    align-items: end;

    gap: 30px;

    margin-bottom: 28px;
}


.search-results-header h2 {
    font-size: 36px;
}


#searchResultCount {
    color: #777d79;

    font-size: 14px;
}



/* FILTERS */

.search-filter-bar {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 35px;
}


.search-filter {
    padding: 8px 13px;

    border:
        1px solid #d2cdc1;

    border-radius: 3px;

    background-color: #fffdf8;

    color: #59615d;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}


.search-filter:hover {
    border-color: #a6783d;
}


.search-filter.active {
    background-color: #28342f;
    border-color: #28342f;

    color: white;
}



/* RESULT CARDS */

.global-search-results {
    display: flex;
    flex-direction: column;

    gap: 14px;
}


.global-search-result-card {
    display: grid;

    grid-template-columns:
        120px
        minmax(0, 1fr)
        auto;

    gap: 25px;

    align-items: center;

    padding: 25px;

    background-color: #fffdf8;

    border: 1px solid #ddd8cd;
}


.search-result-type {
    color: #a6783d;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}


.search-result-content h3 {
    margin-bottom: 2px;

    color: #1f2925;

    font-size: 23px;
}


.search-result-subtitle {
    margin-bottom: 8px;

    color: #506249;

    font-size: 13px;
    font-weight: 700;
}


.search-result-content >
p:last-child {
    max-width: 750px;

    color: #606763;

    line-height: 1.6;
}


.search-result-link {
    color: #506249;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;
}


.search-result-link:hover {
    text-decoration: underline;
}



/* EMPTY STATE */

.search-empty-state {
    padding: 50px;

    background-color: #f0ece3;

    border: 1px solid #ddd8cd;
}


.search-empty-state h3 {
    margin-bottom: 10px;

    font-size: 25px;
}


.search-empty-state p {
    color: #606763;

    line-height: 1.7;
}



/* NAV SEARCH */

.nav-search-link {
    color: #a6783d !important;
}



/* RESPONSIVE */

@media (max-width: 750px) {

    .global-search-box {
        grid-template-columns: 1fr;
    }


    .global-search-box button {
        padding: 14px 20px;
    }


    .search-results-header {
        flex-direction: column;
        align-items: flex-start;
    }


    .global-search-result-card {
        grid-template-columns: 1fr;
        gap: 12px;
    }


    .search-result-link {
        margin-top: 5px;
    }

}

/* ========================================
   DEPOSIT LIBRARY
======================================== */

.deposit-library-section {
    padding: 90px 8% 120px;
}


.deposit-library-heading {
    max-width: 800px;
    margin-bottom: 50px;
}


.deposit-library-heading h2 {
    margin-bottom: 16px;

    font-size: 42px;
    line-height: 1.2;
}


.deposit-library-heading >
p:last-child {
    color: #606763;

    font-size: 17px;
    line-height: 1.75;
}


.deposit-library-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;
}


.deposit-library-card {
    position: relative;

    min-height: 350px;

    padding: 34px;

    display: flex;
    flex-direction: column;

    background-color: #fffdf8;

    border: 1px solid #ddd8cd;
}


.deposit-card-status {
    width: fit-content;

    margin-bottom: 24px;

    padding: 6px 9px;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}


.deposit-card-status.available {
    background-color: #e5e8e1;
    color: #506249;
}


.deposit-card-status.coming {
    background-color: #eee8db;
    color: #8b6b42;
}


.deposit-card-category {
    margin-bottom: 10px;

    color: #a6783d;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}


.deposit-library-card h3 {
    margin-bottom: 10px;

    color: #1f2925;

    font-size: 30px;
}


.deposit-card-commodities {
    margin-bottom: 18px;

    color: #506249;

    font-size: 13px;
    font-weight: 700;
}


.deposit-library-card > p:not(.deposit-card-category):not(.deposit-card-commodities) {
    margin-bottom: 28px;
    color: #606763;
    line-height: 1.7;
}


.deposit-library-card a {
    margin-top: auto;

    color: #506249;

    font-weight: 700;
    text-decoration: none;
}


.deposit-library-card a:hover {
    text-decoration: underline;
}


.deposit-card-coming-soon {
    background-color: #f6f3ec;
}


.deposit-coming-soon {
    margin-top: auto;

    color: #92958f;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.8px;
}


@media (max-width: 850px) {

    .deposit-library-grid {
        grid-template-columns: 1fr;
    }

}

/* ========================================
   ROCK LIBRARY
======================================== */

.rock-library-section {
    padding: 70px 8% 110px;
}


.rock-library-controls {
    display: grid;

    grid-template-columns:
        minmax(250px, 500px)
        220px
        auto;

    align-items: center;

    gap: 16px;

    margin-bottom: 40px;
}


#rockSearch,
#rockCategoryFilter {
    width: 100%;

    padding: 14px 16px;

    border: 1px solid #cfc9bc;

    border-radius: 4px;

    background-color: #fffdf8;

    color: #1f2925;

    font-size: 15px;
}


#rockSearch:focus,
#rockCategoryFilter:focus {
    outline: 2px solid #5d6f55;
    outline-offset: 2px;
}


#rockCount {
    justify-self: end;

    color: #6a706d;

    font-size: 14px;
}


.rock-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}


.rock-card {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    background-color: #fffdf8;

    border: 1px solid #ddd8cd;
}


.rock-image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #d9d5ca;

    color: #737873;

    font-size: 13px;

    text-transform: uppercase;
    letter-spacing: 1px;
}


.rock-card-content {
    display: flex;
    flex-direction: column;

    flex-grow: 1;

    padding: 26px;
}


.rock-category {
    margin-bottom: 8px;

    color: #a6783d;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}


.rock-card h3 {
    margin-bottom: 10px;

    font-size: 27px;
}


.rock-card-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 18px;
}


.rock-card-meta span {
    padding: 5px 8px;

    background-color: #e5e8e1;

    color: #506249;

    font-size: 11px;
    font-weight: 700;
}


.rock-card-content >
p:not(.rock-category) {
    margin-bottom: 24px;

    color: #606763;

    line-height: 1.7;
}


.rock-card a {
    margin-top: auto;

    color: #506249;

    font-weight: 700;
    text-decoration: none;
}


.rock-card a:hover {
    text-decoration: underline;
}

/* ========================================
   ROCK DETAIL PAGE
======================================== */

.rock-page-hero {
    padding: 80px 8%;

    display: grid;

    grid-template-columns:
        1.2fr 0.8fr;

    gap: 70px;

    align-items: center;

    background-color: #28342f;

    color: white;
}


.rock-page-hero h2 {
    margin-bottom: 12px;

    font-size: 62px;
    line-height: 1.05;
}


.rock-page-subtype {
    margin-bottom: 22px;

    color: #d9ad67;

    font-size: 18px;
    font-weight: 700;
}


.rock-page-summary {
    max-width: 720px;

    color: #d9dedb;

    font-size: 19px;
    line-height: 1.7;
}


.rock-image-large-placeholder {
    min-height: 380px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #56635d;

    border: 1px solid #6d7873;

    color: #d9dedb;

    font-size: 13px;

    text-transform: uppercase;
    letter-spacing: 1px;
}


.rock-page-layout {
    padding: 90px 8% 110px;

    display: grid;

    grid-template-columns:
        320px
        minmax(0, 1fr);

    gap: 80px;

    align-items: start;
}


.rock-properties-panel {
    position: sticky;
    top: 30px;

    padding: 30px;

    background-color: #fffdf8;

    border: 1px solid #ddd8cd;
}


.rock-article {
    max-width: 820px;
}


@media (max-width: 950px) {

    .rock-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .rock-page-hero {
        grid-template-columns: 1fr;
    }


    .rock-page-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }


    .rock-properties-panel {
        position: static;
    }

}


@media (max-width: 700px) {

    .rock-library-controls {
        grid-template-columns: 1fr;
    }


    #rockCount {
        justify-self: start;
    }


    .rock-grid {
        grid-template-columns: 1fr;
    }


    .rock-page-hero h2 {
        font-size: 44px;
    }

}

/* ========================================
   ROCK COMPARISON TOOL
======================================== */

.rock-selectors {
    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    gap: 25px;

    align-items: end;

    max-width: 900px;

    margin: 0 auto 50px;
}


.rock-comparison-results {
    max-width: 1100px;

    margin: 0 auto;

    border: 1px solid #ddd8cd;
}


.rock-comparison-title-row {
    display: grid;

    grid-template-columns:
        1fr 220px 1fr;

    background-color: #28342f;

    color: white;
}


.rock-comparison-title-row > div {
    padding: 25px;

    text-align: center;
}


.rock-comparison-title-row h3 {
    font-size: 24px;
}


.rock-comparison-title-row p {
    color: #d9ad67;

    font-weight: 700;
}


.rock-tool-comparison-row {
    display: grid;

    grid-template-columns:
        1fr 220px 1fr;

    border-top:
        1px solid #ddd8cd;

    background-color: #fffdf8;
}


.rock-tool-comparison-row > div {
    padding: 20px;
}


.rock-tool-comparison-row
.comparison-value {
    text-align: center;

    color: #414944;

    line-height: 1.6;
}


.rock-tool-comparison-row
.comparison-label {
    text-align: center;

    background-color: #eee8db;

    color: #505750;

    font-size: 13px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.5px;
}


@media (max-width: 750px) {

    .rock-selectors {
        grid-template-columns: 1fr;
    }


    .rock-comparison-results {
        overflow-x: auto;
    }


    .rock-comparison-title-row,
    .rock-tool-comparison-row {
        min-width: 760px;
    }

}

/* ========================================
   ROCK IDENTIFIER
======================================== */

.rock-identifier-section {
    padding: 80px 8% 110px;

    display: grid;

    grid-template-columns:
        380px
        minmax(0, 1fr);

    gap: 60px;

    align-items: start;
}


.rock-identifier-panel {
    padding: 32px;

    background-color: #fffdf8;

    border: 1px solid #ddd8cd;
}


.rock-result-link {
    display: inline-block;

    margin-top: 14px;

    color: #506249;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}


.rock-result-link:hover {
    text-decoration: underline;
}


@media (max-width: 900px) {

    .rock-identifier-section {
        grid-template-columns: 1fr;
    }

    .rock-identifier-panel {
        max-width: 600px;
    }

}

/* ========================================
   ABOUT PAGE
======================================== */

.about-hero {
    padding: 100px 8% 90px;
    background-color: #28342f;
    color: white;
}


.about-hero-inner {
    max-width: 900px;
}


.about-hero h1 {
    max-width: 800px;
    margin-bottom: 22px;

    font-size: 60px;
    line-height: 1.05;
}


.about-hero p:not(.eyebrow) {
    max-width: 800px;

    color: #d9dedb;

    font-size: 20px;
    line-height: 1.7;
}


.about-layout {
    display: grid;

    grid-template-columns:
        240px
        minmax(0, 850px);

    justify-content: center;

    gap: 75px;

    padding: 90px 8% 120px;

    align-items: start;
}


.about-sidebar {
    position: sticky;
    top: 30px;

    padding: 25px;

    background-color: #fffdf8;

    border: 1px solid #ddd8cd;
}


.about-toc {
    display: flex;
    flex-direction: column;
}


.about-toc a {
    padding: 10px 0;

    border-bottom: 1px solid #e5e0d6;

    color: #59615d;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
}


.about-toc a:last-child {
    border-bottom: none;
}


.about-toc a:hover {
    color: #a6783d;
}


.about-section {
    padding-bottom: 65px;
    margin-bottom: 65px;

    border-bottom: 1px solid #d8d3c8;
}


.about-section h2 {
    margin-bottom: 22px;

    color: #1f2925;

    font-size: 37px;
    line-height: 1.2;
}


.about-section > p:not(.eyebrow) {
    margin-bottom: 20px;
    color: #414944;
    font-size: 17px;
    line-height: 1.85;
}


/* ABOUT CARDS */

.about-card-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 16px;

    margin-top: 30px;
}


.about-card {
    padding: 24px;

    background-color: #fffdf8;

    border: 1px solid #ddd8cd;
}


.about-card h3 {
    margin-bottom: 10px;

    font-size: 21px;
}


.about-card p {
    color: #4f5752;
    line-height: 1.7;
}


/* METHODOLOGY */

.methodology-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 16px;

    margin-top: 30px;
}


.methodology-item {
    padding: 24px;

    background-color: #f0ece3;

    border-left: 3px solid #a6783d;
}


.methodology-item strong {
    display: block;

    margin-bottom: 9px;

    color: #1f2925;
}


.methodology-item p {
    color: #4f5752;
    line-height: 1.7;
}


/* ABOUT CALLOUT */

.about-callout {
    margin: 30px 0;

    padding: 24px 26px;

    background-color: #eee8db;

    border-left: 4px solid #a6783d;
}


.about-callout strong {
    display: block;

    margin-bottom: 8px;
}


.about-callout p {
    color: #414944;
    line-height: 1.7;
}

/* IMAGE POLICY */

.image-policy-example {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 16px;

    margin-top: 30px;
}


.image-policy-example > div {
    padding: 24px;

    background-color: #fffdf8;

    border: 1px solid #ddd8cd;
}


.image-policy-label {
    display: inline-block;

    margin-bottom: 12px;

    padding: 5px 8px;

    background-color: #e5e8e1;

    color: #506249;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.8px;
}


.image-policy-example p {
    color: #4f5752;
    line-height: 1.7;
}


/* ABOUT CTA */

.about-explore-cta {
    padding: 38px;

    background-color: #28342f;

    color: white;
}


.about-explore-cta h2 {
    margin-bottom: 25px;

    font-size: 34px;
}


.about-cta-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;
}


.about-cta-grid a {
    padding: 15px;

    background-color:
        rgba(255, 255, 255, 0.07);

    border:
        1px solid
        rgba(255, 255, 255, 0.15);

    color: white;

    font-weight: 700;

    text-decoration: none;
}


.about-cta-grid a:hover {
    background-color:
        rgba(255, 255, 255, 0.12);
}


@media (max-width: 900px) {

    .about-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }


    .about-sidebar {
        position: static;
    }

}


@media (max-width: 650px) {

    .about-hero h1 {
        font-size: 44px;
    }


    .about-hero p:not(.eyebrow) {
        font-size: 17px;
    }


    .about-card-grid,
    .methodology-grid,
    .image-policy-example,
    .about-cta-grid {
        grid-template-columns: 1fr;
    }

}

/* ========================================
   ABOUT PAGE TEXT — FINAL OVERRIDE
======================================== */

.about-content p,
.about-content li {
    color: #414944;
    opacity: 1;
    -webkit-text-fill-color: #414944;
}


/* Methodology cards */

.methodology-item {
    opacity: 1;
}

.methodology-item p {
    color: #414944 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #414944 !important;
}


/* Audience cards */

.about-card {
    opacity: 1;
}

.about-card p {
    color: #414944 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #414944 !important;
}


/* Important callout */

.about-callout {
    opacity: 1;
}

.about-callout p {
    color: #414944 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #414944 !important;
}


/* Image policy cards */

.image-policy-example > div {
    opacity: 1;
}

.image-policy-example p {
    color: #414944 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #414944 !important;
}


/* Keep headings dark */

.methodology-item strong,
.about-card h3,
.about-callout strong {
    color: #1f2925 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #1f2925 !important;
}


/* Keep section labels gold */

.about-content .eyebrow {
    color: #a6783d !important;
    -webkit-text-fill-color: #a6783d !important;
}

/* ========================================
   SOURCES & FURTHER READING
======================================== */

.source-list {
    display: flex;
    flex-direction: column;

    gap: 14px;

    margin-top: 28px;
}


.source-item {
    padding: 22px 24px;

    background-color: #fffdf8;

    border: 1px solid #ddd8cd;
}


.source-meta {
    margin-bottom: 8px;

    color: #a6783d;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.9px;
}


.source-item h3,
.source-item h4 {
    margin-bottom: 5px;

    color: #1f2925;

    font-size: 19px;
}


.source-organization {
    margin-bottom: 10px !important;

    color: #506249 !important;

    font-size: 13px !important;
    font-weight: 700;
}


.source-item > p:not(.source-organization) {
    margin-bottom: 14px;

    color: #4f5752;

    font-size: 14px;
    line-height: 1.65;
}


.source-item a {
    color: #506249;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}


.source-item a:hover {
    text-decoration: underline;
}


.article-sources {
    margin-bottom: 65px;

    padding-bottom: 65px;

    border-bottom:
        1px solid #d8d3c8;
}


.article-sources h2 {
    margin-bottom: 10px;

    font-size: 32px;
}

/* ========================================
   HOMEPAGE 2.0
======================================== */

.home-hero {
    padding: 90px 8%;

    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(320px, 0.8fr);

    gap: 80px;

    align-items: center;

    background-color: #28342f;
    color: white;
}


.home-hero-content {
    max-width: 800px;
}


.home-hero-content h2 {
    max-width: 760px;

    margin-bottom: 24px;

    font-size: 64px;
    line-height: 1.03;
}


.home-hero-content >
p:not(.eyebrow) {
    max-width: 720px;

    color: #d9dedb;

    font-size: 20px;
    line-height: 1.7;
}


.home-hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 32px;
}


.home-secondary-button {
    border:
        1px solid
        rgba(255,255,255,0.4);

    color: white;
}


.home-secondary-button:hover {
    background-color:
        rgba(255,255,255,0.08);
}



/* HERO REFERENCE PANEL */

.home-hero-panel {
    padding: 28px;

    background-color:
        rgba(255,255,255,0.06);

    border:
        1px solid
        rgba(255,255,255,0.14);
}


.home-hero-panel > a {
    display: block;

    padding: 16px 0;

    border-top:
        1px solid
        rgba(255,255,255,0.12);

    color: white;

    text-decoration: none;
}


.home-hero-panel > a:first-of-type {
    margin-top: 12px;
}


.home-hero-panel strong {
    display: block;

    margin-bottom: 4px;
}


.home-hero-panel span {
    color: #bfc7c3;

    font-size: 13px;
    line-height: 1.5;
}


.home-hero-panel a:hover strong {
    color: #d9ad67;
}



/* SHARED HOME HEADING */

.home-section-heading {
    max-width: 780px;

    margin-bottom: 45px;
}


.home-section-heading h2 {
    margin-bottom: 16px;

    font-size: 42px;
    line-height: 1.2;
}


.home-section-heading >
p:last-child {
    color: #606763;

    font-size: 17px;
    line-height: 1.7;
}



/* LIBRARIES */

.home-explore-section {
    padding: 95px 8% 115px;
}


.home-library-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 22px;
}


.home-library-card {
    position: relative;

    min-height: 330px;

    padding: 34px;

    display: flex;
    flex-direction: column;

    background-color: #fffdf8;

    border: 1px solid #ddd8cd;

    color: inherit;

    text-decoration: none;
}


.home-library-number {
    position: absolute;

    top: 28px;
    right: 30px;

    color: #c7c1b5;

    font-size: 33px;
    font-weight: 700;
}


.home-card-category {
    margin-bottom: 22px;

    color: #a6783d;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}


.home-library-card h3 {
    max-width: 80%;

    margin-bottom: 16px;

    color: #1f2925;

    font-size: 29px;
}


.home-library-card >
p:not(.home-card-category) {
    margin-bottom: 26px;

    color: #505954;

    line-height: 1.7;
}


.home-library-card strong {
    margin-top: auto;

    color: #506249;
}


.home-library-card:hover {
    border-color: #a6783d;
}



/* TOOLS */

.home-tools-section {
    padding: 95px 8%;

    background-color: #28342f;
}


.home-section-heading-light h2 {
    color: white;
}


.home-section-heading-light >
p:last-child {
    color: #cbd2ce;
}


.home-tools-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;
}


.home-tool-card {
    min-height: 275px;

    padding: 26px;

    display: flex;
    flex-direction: column;

    background-color:
        rgba(255,255,255,0.05);

    border:
        1px solid
        rgba(255,255,255,0.13);

    color: white;

    text-decoration: none;
}


.home-tool-type {
    margin-bottom: 20px;

    color: #d9ad67;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}


.home-tool-card h3 {
    margin-bottom: 13px;

    font-size: 23px;
}


.home-tool-card >
p:not(.home-tool-type) {
    color: #cbd2ce;

    line-height: 1.65;
}


.home-tool-card span {
    margin-top: auto;

    color: #d9ad67;

    font-weight: 700;
}


.home-tool-card:hover {
    background-color:
        rgba(255,255,255,0.09);
}


.home-tools-footer {
    margin-top: 30px;

    text-align: right;
}


.home-tools-footer a {
    color: #d9ad67;

    font-weight: 700;

    text-decoration: none;
}



/* FEATURED CONNECTION */

.home-feature-section {
    padding: 100px 8%;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        420px;

    gap: 90px;

    align-items: center;
}


.home-feature-copy h2 {
    margin-bottom: 18px;

    font-size: 44px;
}


.home-feature-copy >
p:not(.eyebrow) {
    max-width: 680px;

    color: #505954;

    font-size: 17px;
    line-height: 1.8;
}


.home-feature-links {
    display: flex;
    flex-wrap: wrap;

    gap: 18px;

    align-items: center;

    margin-top: 30px;
}


.home-feature-links > a:not(.button) {
    color: #506249;

    font-weight: 700;

    text-decoration: none;
}


.home-feature-map {
    padding: 30px;

    display: flex;
    flex-direction: column;

    align-items: center;

    gap: 12px;

    background-color: #f0ece3;

    border: 1px solid #ddd8cd;
}


.home-connection-label {
    margin-bottom: 12px;

    color: #a6783d;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1px;
}


.home-feature-map a {
    width: 100%;

    padding: 13px;

    text-align: center;

    background-color: #fffdf8;

    border: 1px solid #d8d3c8;

    color: #1f2925;

    font-weight: 700;

    text-decoration: none;
}


.home-feature-map a:hover {
    border-color: #a6783d;
}


.home-feature-map > span {
    color: #a6783d;

    font-weight: 700;
}



/* LEARN */

.home-learn-section {
    padding: 95px 8% 115px;

    background-color: #f0ece3;
}


.home-learn-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(300px, 0.7fr);

    gap: 24px;
}


.home-learn-feature,
.home-learn-upcoming {
    padding: 32px;

    background-color: #fffdf8;

    border: 1px solid #ddd8cd;
}


.home-learn-feature {
    color: inherit;

    text-decoration: none;
}


.home-learn-feature h3 {
    margin-bottom: 15px;

    font-size: 29px;
}


.home-learn-feature >
p:not(.home-card-category) {
    max-width: 650px;

    margin-bottom: 25px;

    color: #505954;

    line-height: 1.7;
}


.home-learn-feature strong {
    color: #506249;
}


.home-learn-upcoming > div {
    padding: 15px 0;

    border-top:
        1px solid #ddd8cd;

    color: #505954;

    font-weight: 600;
}



/* SEARCH CTA */

.home-search-cta {
    padding: 65px 8%;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 40px;

    background-color: #fffdf8;
}


.home-search-cta h2 {
    margin-bottom: 10px;

    font-size: 36px;
}


.home-search-cta p:not(.eyebrow) {
    color: #606763;
}



/* RESPONSIVE */

@media (max-width: 1050px) {

    .home-tools-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 900px) {

    .home-hero,
    .home-feature-section,
    .home-learn-grid {
        grid-template-columns: 1fr;
    }


    .home-feature-map {
        max-width: 500px;
    }

}


@media (max-width: 700px) {

    .home-hero-content h2 {
        font-size: 46px;
    }


    .home-library-grid,
    .home-tools-grid {
        grid-template-columns: 1fr;
    }


    .home-search-cta {
        flex-direction: column;
        align-items: flex-start;
    }

}

/* ========================================
   HOMEPAGE TOOL CARD CONTRAST
======================================== */

.home-tool-card {
    background-color: #34443d;
    border-color: #56675f;
}

.home-tool-card:hover {
    background-color: #3b4d45;
    border-color: #718078;
}

.home-tools-section .eyebrow {
    color: #d9ad67;
    -webkit-text-fill-color: #d9ad67;
}

.home-tool-card > p:not(.home-tool-type) {
    color: #d3d9d6;
}

/* ========================================
   404 PAGE
======================================== */

.error-page {
    min-height: 550px;

    padding: 120px 8%;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: flex-start;

    background-color: #28342f;

    color: white;
}


.error-page h2 {
    max-width: 700px;

    margin-bottom: 20px;

    font-size: 54px;
    line-height: 1.05;
}


.error-page >
p:not(.eyebrow) {
    max-width: 650px;

    color: #d9dedb;

    font-size: 18px;
    line-height: 1.7;
}


.error-page-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}


.error-secondary-button {
    color: white;

    border:
        1px solid
        rgba(255,255,255,0.4);
}


.error-secondary-button:hover {
    background-color:
        rgba(255,255,255,0.08);
}