.home-page {
    --home-maroon: #86120e;
    --home-maroon-dark: #5d0b08;
    --home-gold: #ddb94e;
    --home-paper: #f7f2ea;
    --home-cream: #fffaf3;
    --home-ink: #211b18;
    --home-muted: #6d635d;
    --home-line: #d9cfc1;
    background: var(--home-paper);
}

.home-container {
    width: min(1180px, calc(100% - 2rem));
    margin-inline: auto;
}

.home-hero {
    position: relative;
    min-height: 80svh;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: 7.25rem 0 4.25rem;
    background-position: center;
    background-size: cover;
    isolation: isolate;
}

.home-hero::before,
.home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
}

.home-hero::before {
    background:
        linear-gradient(90deg, rgba(24, 17, 17, 0.91) 0%, rgba(83, 15, 13, 0.82) 52%, rgba(45, 27, 30, 0.64) 100%),
        linear-gradient(0deg, rgba(94, 12, 9, 0.7), transparent 58%);
}

.home-hero::after {
    inset: auto 0 0;
    height: 6rem;
    background: linear-gradient(to bottom, transparent, rgba(20, 12, 11, 0.34));
}

.home-hero-grid {
    width: min(1240px, calc(100% - 3rem));
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
}

.home-hero-copy {
    max-width: 56rem;
}

.home-hero-eyebrow,
.home-kicker,
.home-start-label {
    margin: 0 0 0.85rem;
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    line-height: 1.4;
    text-transform: uppercase;
}

.home-hero-eyebrow {
    color: var(--home-gold);
}

.home-hero-title {
    max-width: 46rem;
    margin: 0;
    color: #fffdf8;
    font-size: clamp(3rem, 6.2vw, 6.15rem);
    line-height: 0.98;
    letter-spacing: 0.025em;
    text-wrap: balance;
}

.home-hero-lead {
    max-width: 42rem;
    margin: 1.65rem 0 0;
    color: rgba(255, 250, 243, 0.84);
    font-size: clamp(1.05rem, 1.55vw, 1.3rem);
    line-height: 1.75;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.home-site-search {
    width: min(100%, 43rem);
    min-height: 58px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1.5rem;
    padding: 0.4rem 0.45rem 0.4rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    backdrop-filter: blur(10px);
}

.home-site-search > span {
    color: var(--home-gold);
    font-size: 1.35rem;
}

.home-site-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font: inherit;
}

.home-site-search input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.home-site-search button {
    min-height: 46px;
    padding: 0.6rem 1rem;
    border: 1px solid var(--home-gold);
    background: var(--home-gold);
    color: var(--home-maroon-dark);
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
}

.home-site-search:focus-within {
    outline: 3px solid var(--home-gold);
    outline-offset: 3px;
}

.home-hero-actions {
    margin-top: 2rem;
}

.home-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.78rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 0;
    font: 700 0.82rem/1.25 var(--font-body);
    letter-spacing: 0.08em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.home-button:hover {
    transform: translateY(-2px);
}

.home-button-primary {
    border-color: var(--home-gold);
    background: var(--home-gold);
    color: var(--home-maroon-dark);
}

.home-button-primary:hover {
    background: #ebcb67;
}

.home-button-light {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    backdrop-filter: blur(8px);
}

.home-button-light:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.home-start-panel {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-top: 4px solid var(--home-gold);
    background: rgba(33, 14, 14, 0.58);
    color: #fff;
    box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.17);
    backdrop-filter: blur(14px);
}

.home-start-label {
    color: var(--home-gold);
}

.home-start-panel h2 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.2;
}

.home-start-links {
    display: grid;
}

.home-start-links a,
.home-start-links button {
    width: 100%;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.17);
    background: transparent;
    color: #fff;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.home-start-links strong,
.home-start-links small {
    display: block;
}

.home-start-links strong {
    font-size: 1.02rem;
    line-height: 1.25;
}

.home-start-links small {
    margin-top: 0.18rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
    line-height: 1.35;
}

.home-start-links b {
    color: var(--home-gold);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

.home-start-links a:hover strong,
.home-start-links button:hover strong {
    color: var(--home-gold);
}

.home-section {
    padding: clamp(3.75rem, 6.5vw, 5.75rem) 0;
}

.home-section-quick {
    background:
        linear-gradient(rgba(134, 18, 14, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(134, 18, 14, 0.035) 1px, transparent 1px),
        var(--home-paper);
    background-size: 32px 32px;
}

.home-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
    gap: 2rem;
    align-items: end;
    margin-bottom: 2rem;
}

.home-kicker {
    color: var(--home-maroon);
}

.home-section-heading h2 {
    margin: 0;
    color: var(--home-ink);
    font-size: clamp(2rem, 4.2vw, 3.8rem);
    line-height: 1.06;
    text-wrap: balance;
}

.home-section-heading > p {
    max-width: 31rem;
    margin: 0 0 0.15rem auto;
    color: var(--home-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.home-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-quick-card {
    position: relative;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    padding: 1.45rem;
    overflow: hidden;
    border: 1px solid var(--home-line);
    background: rgba(255, 250, 243, 0.94);
    color: var(--home-ink);
    text-decoration: none;
    box-shadow: 6px 6px 0 rgba(91, 70, 56, 0.07);
    transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.home-quick-card:hover {
    border-color: var(--home-maroon);
    box-shadow: 9px 9px 0 rgba(134, 18, 14, 0.11);
    transform: translateY(-4px);
}

.home-quick-card.is-maroon {
    border-color: var(--home-maroon);
    background: var(--home-maroon);
    color: #fff;
}

.home-quick-card.is-gold {
    grid-column: auto;
    border-color: #c6a234;
    background: #e2bd50;
    color: var(--home-maroon-dark);
}

.home-quick-icon {
    width: 3.1rem;
    height: 3.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 1.35rem;
    line-height: 1;
}

.home-quick-number {
    position: absolute;
    top: 1.45rem;
    right: 1.45rem;
    color: currentColor;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    opacity: 0.62;
}

.home-quick-card h3 {
    margin: auto 0 0.45rem;
    color: currentColor;
    font-size: 1.45rem;
    line-height: 1.22;
}

.home-quick-card p {
    max-width: 23rem;
    margin: 0;
    color: currentColor;
    font-size: 0.93rem;
    line-height: 1.55;
    opacity: 0.73;
}

.home-card-arrow {
    position: absolute;
    right: 1.25rem;
    bottom: 1.1rem;
    font-size: 1.15rem;
    opacity: 0;
    transform: translate(-5px, 5px);
    transition: opacity 170ms ease, transform 170ms ease;
}

.home-quick-card:hover .home-card-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

.home-event-section {
    background: #221918;
    color: #fff;
}

.home-section-heading-light h2,
.home-section-heading-light .home-kicker {
    color: #fff;
}

.home-section-heading-light .home-kicker {
    color: var(--home-gold);
}

.home-text-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
    color: var(--home-gold);
    font-weight: 700;
    text-decoration: none;
}

.home-featured-event {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
    border: 1px solid rgba(255, 255, 255, 0.17);
    background: #fffaf3;
    color: var(--home-ink);
}

.home-featured-event.is-empty {
    grid-template-columns: minmax(0, 1fr);
}

.home-featured-event.is-empty .home-featured-copy {
    min-height: 18rem;
    justify-content: center;
    max-width: 48rem;
}

.home-featured-media {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    background: #3b2b29;
}

.home-featured-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.home-featured-media.is-placeholder {
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(221, 185, 78, 0.18), transparent 55%),
        var(--home-maroon-dark);
}

.home-featured-media.is-placeholder::before {
    content: "CISA";
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 9vw, 7rem);
    letter-spacing: 0.08em;
}

.home-event-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.42rem 0.62rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(95, 11, 8, 0.86);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.home-featured-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(2rem, 5vw, 4.5rem);
}

.home-event-date {
    margin: 0 0 1rem;
    color: var(--home-maroon);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.home-featured-copy h3 {
    margin: 0;
    color: var(--home-maroon);
    font-size: clamp(2rem, 4vw, 3.45rem);
    line-height: 1.08;
}

.home-featured-copy > p:not(.home-event-date) {
    margin: 1rem 0 0;
    color: var(--home-muted);
    line-height: 1.65;
}

.home-event-meta {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 1.5rem 0;
    border-block: 1px solid var(--home-line);
}

.home-event-meta > div {
    padding: 0.9rem 0;
}

.home-event-meta > div + div {
    padding-left: 1rem;
    border-left: 1px solid var(--home-line);
}

.home-event-meta dt {
    color: var(--home-maroon);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-event-meta dd {
    margin: 0.22rem 0 0;
    color: var(--home-ink);
    font-size: 0.92rem;
    line-height: 1.45;
}

.home-paths {
    background: var(--home-cream);
}

.home-path-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--home-line);
    border-left: 1px solid var(--home-line);
}

.home-path-card {
    min-height: 245px;
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    border-right: 1px solid var(--home-line);
    border-bottom: 1px solid var(--home-line);
    background: #fff;
    color: var(--home-ink);
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}

.home-path-card:hover {
    background: #f3e9dd;
}

.home-path-card-accent {
    background: var(--home-maroon);
    color: #fff;
}

.home-path-card-accent:hover {
    background: var(--home-maroon-dark);
}

.home-path-index {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
}

.home-path-card h3 {
    margin: 2.1rem 0 0.6rem;
    color: currentColor;
    font-size: 1.65rem;
}

.home-path-card p {
    margin: 0;
    color: currentColor;
    font-size: 0.96rem;
    line-height: 1.65;
    opacity: 0.7;
}

.home-path-card strong {
    margin-top: auto;
    padding-top: 1.5rem;
    color: currentColor;
    font-size: 0.84rem;
}

.home-footer-inner {
    width: min(1180px, calc(100% - 2rem));
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
}

.home-footer-inner p {
    margin: 0;
}

.home-footer-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

.home-button:focus-visible,
.home-start-links a:focus-visible,
.home-start-links button:focus-visible,
.home-quick-card:focus-visible,
.home-path-card:focus-visible,
.home-text-link:focus-visible,
.home-footer-link:focus-visible {
    outline: 3px solid var(--home-gold);
    outline-offset: 3px;
}

@media (max-width: 980px) {
    .home-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-hero-title {
        font-size: clamp(3rem, 7vw, 4.8rem);
    }

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

    .home-featured-event {
        grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
    }
}

@media (max-width: 767.98px) {
    .home-container,
    .home-hero-grid {
        width: min(100% - 2rem, 42rem);
    }

    .home-hero {
        min-height: auto;
        padding: 5.75rem 0 2.5rem;
    }

    .home-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.35rem;
    }

    .home-hero-title {
        font-size: clamp(2.55rem, 11vw, 3.4rem);
        line-height: 1.02;
    }

    html[lang="en"] .home-hero-title {
        font-size: clamp(2.3rem, 10vw, 3.05rem);
    }

    .home-hero-lead {
        margin-top: 1rem;
        font-size: 0.94rem;
        line-height: 1.55;
    }

    .home-site-search {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 0.55rem;
        min-height: 0;
        margin-top: 1.1rem;
        padding: 0.7rem;
    }

    .home-site-search button {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 46px;
    }

    .home-hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 1.25rem;
    }

    .home-hero-actions .home-button {
        width: 100%;
        min-height: 54px;
        padding-inline: 0.65rem;
        font-size: 0.69rem;
        letter-spacing: 0.04em;
    }

    .home-start-panel {
        padding: 0.9rem;
        box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.17);
    }

    .home-start-label {
        margin-bottom: 0.4rem;
    }

    .home-start-panel h2 {
        margin-bottom: 0.55rem;
        font-size: 1.3rem;
    }

    .home-start-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .home-start-links a,
    .home-start-links button {
        position: relative;
        min-height: 76px;
        padding: 0.65rem 2rem 0.65rem 0.65rem;
        border: 1px solid rgba(255, 255, 255, 0.18);
        align-items: flex-start;
    }

    .home-start-links b {
        position: absolute;
        top: 0.7rem;
        right: 0.65rem;
    }

    .home-start-links strong {
        font-size: 0.86rem;
    }

    .home-start-links small {
        display: none;
    }

    .home-section {
        padding: 2.75rem 0;
    }

    .home-section-heading {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.65rem;
        margin-bottom: 1.35rem;
    }

    .home-section-heading > p {
        margin-left: 0;
        font-size: 0.9rem;
    }

    .home-section-heading h2 {
        font-size: clamp(1.8rem, 8.3vw, 2.65rem);
    }

    .home-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }

    .home-quick-card {
        min-height: 180px;
        padding: 1rem;
        box-shadow: 4px 4px 0 rgba(91, 70, 56, 0.07);
    }

    .home-quick-card.is-gold {
        grid-column: auto;
        min-height: 180px;
    }

    .home-quick-icon {
        width: 2.4rem;
        height: 2.4rem;
        font-size: 1rem;
    }

    .home-quick-number {
        top: 1rem;
        right: 1rem;
    }

    .home-quick-card h3 {
        margin-bottom: 0.28rem;
        font-size: 1.06rem;
    }

    .home-quick-card p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 0.75rem;
        line-height: 1.42;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .home-path-grid,
    .home-featured-event {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-featured-media {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .home-featured-copy {
        padding: 1.3rem;
    }

    .home-featured-copy h3 {
        font-size: clamp(1.85rem, 9vw, 2.55rem);
    }

    .home-featured-copy > p:not(.home-event-date) {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .home-event-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 1.05rem 0;
    }

    .home-event-meta > div + div {
        padding-left: 0.7rem;
        border-top: 0;
        border-left: 1px solid var(--home-line);
    }

    .home-event-meta dd {
        font-size: 0.78rem;
    }

    .home-featured-copy .home-button {
        width: 100%;
    }

    .home-path-grid {
        border-top: 0;
    }

    .home-path-card {
        min-height: 0;
        display: grid;
        grid-template-columns: 2.5rem minmax(0, 1fr);
        grid-template-areas:
            "index title"
            "index copy"
            "index action";
        gap: 0.25rem 0.8rem;
        padding: 1rem;
    }

    .home-path-index {
        grid-area: index;
    }

    .home-path-card h3 {
        grid-area: title;
        margin: 0;
        font-size: 1.18rem;
    }

    .home-path-card p {
        grid-area: copy;
        font-size: 0.8rem;
        line-height: 1.42;
    }

    .home-path-card strong {
        grid-area: action;
        margin: 0;
        padding-top: 0.4rem;
        font-size: 0.74rem;
    }

    .home-footer-inner {
        width: min(100% - 2rem, 42rem);
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 380px) {
    .home-hero-title {
        font-size: 2.45rem;
    }

    .home-hero-eyebrow {
        font-size: 0.66rem;
    }

    .home-start-links a,
    .home-start-links button {
        gap: 0.35rem;
        padding: 0.55rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-button,
    .home-quick-card,
    .home-card-arrow {
        transition: none;
    }
}
