.home-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 72px) 0 40px;
}

.section-label {
    color: var(--accent-secondary);
    font-family: var(--font-tech);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    font-weight: 700;
}

.guide-feature h1,
.section-heading h2 {
    color: #f1eee7;
    font-family: var(--font-header);
    font-weight: 400;
}

.home-action {
    color: var(--text-primary);
    font-family: var(--font-tech);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-action:hover { color: var(--accent-secondary); }
.home-action i { margin-left: 7px; }

.guide-feature {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
    min-height: 280px;
    margin-bottom: clamp(40px, 5vw, 64px);
    background: #171815;
    border: 1px solid #4a4a42;
    box-shadow: 18px 18px 0 rgba(230, 184, 0, 0.08);
}

.guide-feature-image { min-height: 240px; overflow: hidden; }

.guide-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.78) contrast(1.08);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.guide-feature:hover img { transform: scale(1.035); filter: saturate(0.95) contrast(1.04); }

.guide-feature-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(24px, 3vw, 40px);
    border-left: 1px solid #4a4a42;
}

.guide-feature h1 { margin: 8px 0 12px; font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.08; }

.guide-feature-copy > p:not(.section-label) {
    color: #b9b8b0;
    font-family: var(--font-ui);
    line-height: 1.7;
}

.home-action {
    margin-top: 18px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--accent-secondary);
}

.section-heading { max-width: 670px; margin-bottom: 30px; }
.section-heading h2 { margin: 9px 0 8px; font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.08; }
.section-heading > p:last-child { color: var(--text-secondary); font-family: var(--font-ui); }

.tool-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.directory-card {
    position: relative;
    display: flex;
    min-height: 260px;
    overflow: hidden;
    background: #1c1d1a;
    border: 1px solid #3d3e38;
    isolation: isolate;
}

.directory-card:hover { border-color: var(--accent-secondary); }
.directory-card-base { background: linear-gradient(135deg, #2a251d, #171815 58%, #382d18); }
.directory-card > img { position: absolute; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.65); transition: transform 0.45s ease; z-index: 0; }
.directory-card:hover > img { transform: scale(1.05); }
.directory-card-overlay { position: absolute; inset: 0; background: linear-gradient(145deg, rgba(8, 9, 8, 0.08), rgba(8, 9, 8, 0.92) 85%); z-index: 1; }

.directory-card-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 28px 1fr auto;
    gap: 14px;
    align-items: end;
    width: 100%;
    padding: 22px;
}

.directory-card-content > i { color: var(--accent-secondary); font-size: 1.1rem; padding-bottom: 3px; }
.directory-card strong { display: block; color: #f0eee7; font-family: var(--font-header); font-size: 1.18rem; font-weight: 400; line-height: 1.1; }
.directory-card small { display: block; margin-top: 8px; color: #b9b8b0; font-family: var(--font-ui); font-size: 0.82rem; line-height: 1.45; }
.directory-card b { color: rgba(230, 184, 0, 0.58); font-family: var(--font-tech); font-size: 0.78rem; font-weight: 400; align-self: start; }


@media (max-width: 760px) {
    .guide-feature { grid-template-columns: 1fr; min-height: 0; box-shadow: 10px 10px 0 rgba(230, 184, 0, 0.08); }
    .guide-feature-image { min-height: 200px; }
    .guide-feature-copy { border-top: 1px solid #4a4a42; border-left: 0; }
    .tool-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 500px) {
    .tool-directory-grid { grid-template-columns: 1fr; }
    .directory-card { min-height: 220px; }
}

@media (max-width: 480px) {
    .home-shell { padding-top: 18px; }
    .guide-feature-copy { padding: 28px 22px; }
    .directory-card-content { padding: 18px; gap: 10px; }
    .directory-card strong { font-size: 1.05rem; }
}
