.home-page {
    margin: 0 auto;
    max-width: 1240px;
    padding: clamp(1rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2rem) 4rem;
    width: 100%;
}

.home-hero {
    align-items: center;
    background:
        radial-gradient(circle at 88% 18%, rgba(212, 175, 55, 0.2), transparent 32%),
        linear-gradient(135deg, var(--surface), var(--bg-darker));
    border: 1px solid rgba(212, 175, 55, 0.38);
    border-radius: clamp(1rem, 2vw, 1.5rem);
    box-shadow: var(--shadow-lg);
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
    min-height: 470px;
    overflow: hidden;
    padding: clamp(1.5rem, 5vw, 4.5rem);
    position: relative;
}

.home-hero-copy {
    max-width: 720px;
    position: relative;
    z-index: 2;
}

.home-eyebrow {
    color: var(--gold-strong);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin: 0 0 0.65rem;
    text-transform: uppercase;
}

.home-hero h1 {
    color: var(--text);
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    line-height: 1.02;
    margin: 0;
    max-width: 760px;
}

.home-hero-lead {
    color: var(--text-secondary, var(--muted));
    font-size: clamp(1rem, 1.7vw, 1.2rem);
    line-height: 1.65;
    margin: 1.25rem 0 1.75rem;
    max-width: 650px;
}

.home-search {
    align-items: center;
    background: var(--surface-elevated, var(--surface));
    border: 1px solid var(--muted);
    border-radius: 0.85rem;
    box-shadow: var(--shadow);
    display: flex;
    gap: 0.65rem;
    max-width: 680px;
    padding: 0.45rem;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.home-search:has(input:focus-visible) {
    border-color: transparent;
    box-shadow: none;
    outline: 2px solid var(--gold-strong);
    outline-offset: -2px;
}

.home-search-icon {
    color: var(--gold);
    display: inline-flex;
    flex: 0 0 auto;
    margin-left: 0.55rem;
}

.home-search input {
    background: transparent;
    border: 0;
    color: var(--text);
    flex: 1 1 auto;
    font-size: 1.05rem;
    min-height: 46px;
    min-width: 0;
    outline: 0;
}

.home-search input::placeholder {
    color: var(--muted);
    opacity: 1;
}

.home-search .btn {
    flex: 0 0 auto;
    min-height: 44px;
    padding-inline: 1.25rem;
}

.home-search-suggestions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.85rem;
}

.home-search-suggestions > span {
    color: var(--muted);
    font-size: 0.82rem;
    margin-right: 0.2rem;
}

.home-search-suggestions a {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    color: var(--text);
    font-size: 0.8rem;
    line-height: 1.2;
    padding: 0.45rem 0.75rem;
    text-decoration: none;
}

.home-search-suggestions a:hover,
.home-search-suggestions a:focus-visible {
    background: rgba(212, 175, 55, 0.18);
    border-color: var(--gold-strong);
    color: var(--text);
    outline: 0;
}

.home-hero-visual {
    align-self: stretch;
    min-height: 330px;
    position: relative;
}

.home-hero-visual > img {
    bottom: -3.2rem;
    filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.4));
    height: auto;
    max-width: none;
    object-fit: contain;
    position: absolute;
    right: -4.5rem;
    transform: rotate(1deg);
    width: min(39vw, 510px);
    z-index: 1;
}

.home-hero-glow {
    background: rgba(212, 175, 55, 0.17);
    border-radius: 50%;
    filter: blur(2px);
    height: min(28vw, 330px);
    position: absolute;
    right: -3rem;
    top: 0;
    width: min(28vw, 330px);
}

.home-hero-stat {
    backdrop-filter: blur(8px);
    background: rgba(31, 26, 26, 0.82);
    border: 1px solid rgba(212, 175, 55, 0.48);
    border-radius: 0.8rem;
    color: #f5e9dc;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    padding: 0.7rem 0.9rem;
    position: absolute;
    z-index: 2;
}

.home-hero-stat strong {
    color: #d4af37;
    font-size: 1.3rem;
}

.home-hero-stat span {
    font-size: 0.7rem;
    margin-top: 0.22rem;
    text-transform: uppercase;
}

.home-hero-stat-whisky { right: 0; top: 12%; }
.home-hero-stat-distillery { bottom: 18%; left: -0.75rem; }

.home-section {
    margin-top: clamp(3rem, 7vw, 5.5rem);
}

.home-section-heading {
    align-items: end;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.home-section-heading h2,
.home-collection h2 {
    color: var(--text);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.15;
    margin: 0;
}

.home-heading-link,
.home-text-link {
    color: var(--gold-strong);
    font-weight: 700;
    text-decoration: none;
}

.home-heading-link:hover,
.home-heading-link:focus-visible,
.home-text-link:hover,
.home-text-link:focus-visible {
    color: var(--text);
}

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

.home-feature-card {
    background: linear-gradient(145deg, var(--surface), var(--bg-darker));
    border: 1px solid rgba(212, 175, 55, 0.34);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    color: var(--text) !important;
    display: flex;
    flex-direction: column;
    min-height: 310px;
    overflow: hidden;
    padding: clamp(1.35rem, 3vw, 2rem);
    position: relative;
    text-decoration: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-feature-card:hover,
.home-feature-card:focus-visible {
    border-color: var(--gold-strong);
    box-shadow: var(--shadow-lg);
    outline: 0;
    transform: translateY(-4px);
}

.home-card-kicker {
    color: var(--gold-strong);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-card-copy {
    display: flex;
    flex-direction: column;
    max-width: 67%;
    position: relative;
    z-index: 2;
}

.home-card-copy strong {
    font-family: var(--font-heading);
    font-size: clamp(1.45rem, 2.6vw, 2.05rem);
    line-height: 1.12;
    margin: 1.25rem 0 0.65rem;
}

.home-card-copy > span {
    color: var(--text-secondary, var(--muted));
    line-height: 1.55;
}

.home-card-action {
    color: var(--gold-strong);
    font-weight: 750;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.home-feature-card img {
    bottom: -1.75rem;
    filter: drop-shadow(0 15px 18px rgba(0, 0, 0, 0.36));
    height: 68%;
    object-fit: contain;
    opacity: 0.9;
    position: absolute;
    right: -1.5rem;
    transition: transform 0.25s ease;
    width: 43%;
}

.home-feature-card:hover img,
.home-feature-card:focus-visible img {
    transform: translateY(-3px) rotate(1deg);
}

.home-feature-distillery img {
    bottom: -0.5rem;
    height: 63%;
    right: -2.5rem;
    width: 49%;
}

.home-collection {
    align-items: center;
    background:
        linear-gradient(110deg, rgba(212, 175, 55, 0.13), transparent 45%),
        var(--surface);
    border: 1px solid rgba(212, 175, 55, 0.38);
    border-radius: var(--radius-lg);
    display: grid;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
    margin-top: clamp(3rem, 7vw, 5.5rem);
    overflow: hidden;
    padding: clamp(1.4rem, 4vw, 3rem);
}

.home-collection-visual {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 230px;
}

.home-collection-visual img {
    filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.35));
    height: auto;
    max-height: 320px;
    max-width: 118%;
    object-fit: contain;
    width: 410px;
}

.home-collection-copy > p:not(.home-eyebrow) {
    color: var(--text-secondary, var(--muted));
    font-size: 1.05rem;
    margin: 1rem 0 1.4rem;
    max-width: 620px;
}

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

.home-collection-actions .btn {
    min-height: 44px;
}

.home-collection-note {
    color: var(--muted);
    flex-basis: 100%;
    font-size: 0.88rem;
}

.home-events {
    margin-top: clamp(3rem, 7vw, 5.5rem);
}

.home-events-heading > div > p:last-child {
    max-width: 650px;
    margin: 0.55rem 0 0;
    color: var(--text-secondary, var(--muted));
}

.home-event-stage {
    min-height: 340px;
    border: 1px solid rgba(212, 175, 55, 0.38);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 78% 18%, rgba(212, 175, 55, 0.13), transparent 30%),
        linear-gradient(140deg, var(--surface), var(--bg-darker));
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.home-event-slide {
    display: grid;
    min-height: 340px;
    grid-template-columns: 112px minmax(0, 1fr) minmax(270px, 0.72fr);
    animation: home-event-enter 260ms ease both;
}

.home-event-slide[hidden] { display: none; }

@keyframes home-event-enter {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.home-event-date {
    display: flex;
    padding: 2rem 1rem;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    color: var(--text);
    border-right: 1px solid rgba(212, 175, 55, 0.24);
    background: rgba(212, 175, 55, 0.07);
    text-align: center;
}

.home-event-date strong {
    color: var(--gold-strong);
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 0.9;
}

.home-event-date span {
    margin-top: 0.55rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-event-date small {
    margin-top: 0.7rem;
    color: var(--muted);
    font-size: 0.68rem;
}

.home-event-copy {
    display: flex;
    min-width: 0;
    padding: clamp(1.5rem, 4vw, 3rem);
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
}

.home-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.home-event-meta span {
    padding: 0.3rem 0.6rem;
    color: var(--gold-strong);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.08);
    font-size: 0.68rem;
    font-weight: 700;
}

.home-event-copy h3 {
    margin: 0.85rem 0 0.65rem;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 3.3vw, 2.55rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.home-event-copy p {
    display: -webkit-box;
    max-width: 620px;
    margin: 0 0 1.2rem;
    overflow: hidden;
    color: var(--text-secondary, var(--muted));
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-event-copy .btn {
    min-height: 42px;
    margin-top: auto;
}

.home-event-media {
    display: grid;
    min-width: 0;
    padding: 1rem;
    border-left: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(0, 0, 0, 0.16);
    place-items: center;
}

.home-event-media img {
    width: 100%;
    height: 100%;
    max-height: 308px;
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.28));
    object-fit: contain;
}

.home-event-media-placeholder svg {
    width: min(64%, 170px);
    color: rgba(212, 175, 55, 0.48);
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.home-event-controls {
    display: flex;
    min-height: 48px;
    margin-top: 0.8rem;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
}

.home-event-controls > button {
    display: inline-grid;
    width: 40px;
    height: 40px;
    padding: 0;
    color: var(--text);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 50%;
    background: var(--surface);
    place-items: center;
}

.home-event-controls > button:hover,
.home-event-controls > button:focus-visible {
    color: var(--gold-strong);
    border-color: var(--gold-strong);
}

.home-event-controls > button svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.home-event-dots {
    display: flex;
    align-items: center;
    gap: 0.38rem;
}

.home-event-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: color-mix(in srgb, var(--text) 30%, transparent);
    transition: width 160ms ease, background 160ms ease;
}

.home-event-dots button[aria-current="true"] {
    width: 24px;
    background: var(--gold-strong);
}

.home-event-position {
    min-width: 3rem;
    color: var(--muted);
    font-size: 0.72rem;
    text-align: center;
}

.home-events-empty {
    display: flex;
    min-height: 150px;
    padding: clamp(1.2rem, 3vw, 2rem);
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.home-events-empty > svg {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    color: var(--gold);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.home-events-empty h3 { margin: 0; color: var(--text); }
.home-events-empty p { margin: 0.35rem 0 0; color: var(--muted); }
.home-events-empty .btn { margin-left: auto; flex: 0 0 auto; }

.home-secondary-section {
    margin-top: clamp(3rem, 6vw, 4.5rem);
}

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

.home-secondary-card {
    align-items: center;
    background: var(--surface);
    border: 1px solid rgba(187, 187, 187, 0.3);
    border-radius: var(--radius);
    color: var(--text) !important;
    display: flex;
    gap: 0.9rem;
    min-height: 88px;
    padding: 1rem;
    text-decoration: none !important;
    transition: background-color 0.16s ease, border-color 0.16s ease;
}

.home-secondary-card:hover,
.home-secondary-card:focus-visible {
    background: var(--bg-darker);
    border-color: var(--gold);
    outline: 0;
}

.home-secondary-icon {
    align-items: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 0.7rem;
    color: var(--gold-strong);
    display: inline-flex;
    flex: 0 0 44px;
    height: 44px;
    justify-content: center;
}

.home-secondary-icon svg {
    height: 24px;
    width: 24px;
}

.home-secondary-card > span:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.home-secondary-card strong {
    font-size: 0.98rem;
}

.home-secondary-card small {
    color: var(--muted);
    line-height: 1.35;
    margin-top: 0.18rem;
}

.home-stats {
    border-bottom: 1px solid rgba(187, 187, 187, 0.24);
    border-top: 1px solid rgba(187, 187, 187, 0.24);
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(3rem, 6vw, 4.5rem);
    padding: 1.5rem 0;
}

.home-stats > div {
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.home-stats strong {
    color: var(--gold-strong);
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.1;
}

.home-stats span {
    color: var(--muted);
    font-size: 0.78rem;
    margin-top: 0.35rem;
    text-transform: uppercase;
}

@media (max-width: 991.98px) {
    .home-hero {
        grid-template-columns: minmax(0, 1fr) 210px;
        min-height: 430px;
    }

    .home-hero-visual {
        min-height: 270px;
    }

    .home-hero-stat-distillery {
        left: -1.5rem;
    }

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

    .home-event-slide {
        grid-template-columns: 90px minmax(0, 1fr) minmax(210px, 0.58fr);
    }
}

@media (max-width: 767.98px) {
    .home-page {
        padding-inline: 0.85rem;
        padding-top: 0.85rem;
    }

    .home-hero {
        display: block;
        min-height: 0;
        padding: 1.5rem 1.15rem;
    }

    .home-hero h1 {
        font-size: clamp(2.15rem, 12vw, 3.35rem);
    }

    .home-hero-lead {
        margin-bottom: 1.3rem;
    }

    .home-hero-visual {
        display: block;
        margin-top: 0.5rem;
        min-height: 190px;
    }

    .home-hero-visual > img {
        bottom: -3rem;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: min(96vw, 350px);
    }

    .home-hero-glow {
        height: 210px;
        left: 50%;
        right: auto;
        top: 0;
        transform: translateX(-50%);
        width: 210px;
    }

    .home-hero-stat {
        display: none;
    }

    .home-search {
        align-items: stretch;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        padding: 0.35rem;
    }

    .home-search-icon {
        align-items: center;
    }

    .home-search input {
        font-size: 1rem;
    }

    .home-search .btn {
        grid-column: 1 / -1;
        width: 100%;
    }

    .home-search-suggestions > span {
        flex-basis: 100%;
    }

    .home-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-primary-grid,
    .home-collection {
        grid-template-columns: 1fr;
    }

    .home-event-stage,
    .home-event-slide { min-height: 0; }

    .home-event-slide {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .home-event-date {
        padding: 1.2rem 0.65rem;
        grid-row: 1;
    }

    .home-event-date strong { font-size: 2.4rem; }
    .home-event-copy { padding: 1.25rem 1rem; grid-row: 1; }
    .home-event-copy h3 { font-size: 1.55rem; }
    .home-event-copy p { -webkit-line-clamp: 4; }

    .home-event-media {
        min-height: 190px;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
        border-left: 0;
        grid-column: 1 / -1;
    }

    .home-event-media img { max-height: 220px; }
    .home-events-empty { align-items: flex-start; flex-wrap: wrap; }
    .home-events-empty .btn { width: 100%; margin-left: 0; }

    .home-feature-card {
        min-height: 285px;
    }

    .home-card-copy {
        max-width: 73%;
    }

    .home-collection {
        padding: 1.35rem;
    }

    .home-collection-visual {
        min-height: 150px;
    }

    .home-collection-visual img {
        max-height: 220px;
        max-width: 100%;
        width: 360px;
    }

    .home-collection-actions .btn,
    .home-collection-actions .home-text-link {
        justify-content: center;
        text-align: center;
        width: 100%;
    }

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

@media (max-width: 479.98px) {
    .home-feature-card {
        min-height: 300px;
    }

    .home-card-copy {
        max-width: 82%;
    }

    .home-feature-card img {
        height: 51%;
        opacity: 0.45;
        width: 46%;
    }

    .home-feature-distillery img {
        height: 50%;
        width: 54%;
    }

    .home-secondary-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-feature-card,
    .home-feature-card img,
    .home-secondary-card {
        transition: none;
    }

    .home-event-slide { animation: none; }
    .home-event-dots button { transition: none; }

    .home-feature-card:hover,
    .home-feature-card:focus-visible {
        transform: none;
    }
}
