:root {
    --bg: #0f0d0a;
    --bg-elev: #16120e;
    --panel: #1c1712;
    --ink: #f1e7d7;
    --muted: #c6b69d;
    --amber: #d79b4d;
    --copper: #b96f3d;
    --border: rgba(215, 155, 77, 0.26);
    --shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    --radius: 18px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(1200px 700px at 82% -8%, rgba(178, 106, 54, 0.16), transparent 70%),
        radial-gradient(1000px 600px at -10% 40%, rgba(215, 155, 77, 0.09), transparent 70%),
        linear-gradient(180deg, #0b0907, #12100c 38%, #0d0a08 100%);
    line-height: 1.65;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.noise-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.05;
    background-image:
        url("../../leghound.jpg"),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 2px);
    background-size: cover, auto;
    mix-blend-mode: soft-light;
    z-index: -1;
}

.fog-layer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 26vh;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.55) 52%, transparent 100%);
}

.fog-layer::before,
.fog-layer::after {
    content: "";
    position: absolute;
    left: -12%;
    right: -12%;
    bottom: -16%;
    height: 125%;
    background:
        radial-gradient(42% 58% at 20% 85%, rgba(230, 233, 224, 0.26), rgba(230, 233, 224, 0) 75%),
        radial-gradient(48% 62% at 48% 88%, rgba(236, 229, 215, 0.24), rgba(236, 229, 215, 0) 76%),
        radial-gradient(44% 56% at 82% 88%, rgba(224, 223, 218, 0.21), rgba(224, 223, 218, 0) 75%);
    filter: blur(17px);
    opacity: 0;
    transform: translate3d(0, 12%, 0) scale(1.04);
}

.fog-layer::before {
    animation: fog-rise 16s linear infinite, fog-roll 8.5s ease-in-out infinite;
}

.fog-layer::after {
    animation: fog-rise 22s linear infinite, fog-roll 11s ease-in-out infinite reverse;
    animation-delay: 5s;
}

@keyframes fog-rise {
    0% {
        opacity: 0;
        transform: translate3d(-5%, 14%, 0) scale(1.04);
    }
    16% {
        opacity: 0.43;
    }
    62% {
        opacity: 0.31;
    }
    100% {
        opacity: 0;
        transform: translate3d(8%, -42%, 0) scale(1.2);
    }
}

@keyframes fog-roll {
    0% {
        margin-left: -1.5%;
    }
    50% {
        margin-left: 2%;
    }
    100% {
        margin-left: -1.5%;
    }
}

.container {
    width: min(calc(100% - 2.5rem), var(--max));
    margin: 0 auto;
}

.section-pad {
    padding: 6.5rem 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(9px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(28, 20, 12, 0.12);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 84px;
}

.brand img {
    height: auto;
    width: clamp(140px, 18vw, 190px);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.main-nav a {
    position: relative;
    font-size: 0.97rem;
    letter-spacing: 0.02em;
    color: #3e3024;
    transition: color 220ms ease, transform 220ms ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.38rem;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
    background: linear-gradient(90deg, rgba(166, 95, 53, 0), rgba(215, 155, 77, 0.85), rgba(166, 95, 53, 0));
}

.main-nav a::before {
    content: "";
    position: absolute;
    left: -8%;
    bottom: -0.52rem;
    width: 38%;
    height: 5px;
    opacity: 0;
    filter: blur(6px);
    background: radial-gradient(circle, rgba(215, 155, 77, 0.55) 0%, rgba(215, 155, 77, 0) 70%);
    transition: opacity 280ms ease, transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
    transform: translateX(-22%);
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: #120d08;
    transform: translateY(-1px);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.main-nav a:hover::before,
.main-nav a:focus-visible::before {
    opacity: 1;
    transform: translateX(190%);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(28, 20, 12, 0.25);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #2d2117;
    margin: 4px auto;
}

.hero {
    position: relative;
    min-height: clamp(620px, 88vh, 860px);
    display: grid;
    align-items: center;
    border-bottom: 1px solid rgba(215, 155, 77, 0.12);
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 8, 6, 0.85), rgba(10, 8, 6, 0.55) 48%, rgba(10, 8, 6, 0.9) 100%),
        radial-gradient(circle at 75% 30%, rgba(183, 109, 58, 0.38), rgba(12, 10, 8, 0.08) 45%, transparent 68%),
        url("https://mississippileghound.com/assets/hero/Hero2LH.png") center/cover no-repeat;
    filter: saturate(0.85) contrast(1.02);
}

.hero-content {
    position: relative;
    max-width: 760px;
    z-index: 1;
}

.eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    color: var(--amber);
    font-weight: 600;
}

h1,
h2,
h3 {
    font-family: "Cormorant Garamond", Georgia, serif;
    line-height: 1.08;
    margin: 0;
}

h1 {
    margin-top: 0.8rem;
    font-size: clamp(2.2rem, 5.2vw, 5rem);
    letter-spacing: 0.01em;
    text-wrap: balance;
}

.lead {
    margin-top: 1.2rem;
    max-width: 62ch;
    color: #e3d5c2;
    font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2.1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(120deg, #d79b4d, #a65f35);
    color: #170f08;
    box-shadow: 0 10px 24px rgba(166, 95, 53, 0.34);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    box-shadow: 0 12px 28px rgba(166, 95, 53, 0.46);
}

.btn-secondary {
    background: rgba(8, 6, 5, 0.28);
    border-color: rgba(215, 155, 77, 0.45);
    color: var(--ink);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    border-color: rgba(215, 155, 77, 0.75);
    background: rgba(8, 6, 5, 0.46);
}

.legend-teaser {
    border-bottom: 1px solid rgba(215, 155, 77, 0.1);
    background: linear-gradient(160deg, rgba(35, 27, 21, 0.44), rgba(15, 12, 9, 0.18));
}

.teaser-inner {
    max-width: 950px;
}

blockquote {
    margin: 0;
    padding: 1.35rem 1.5rem;
    border-left: 3px solid rgba(215, 155, 77, 0.64);
    background: rgba(17, 13, 10, 0.56);
    border-radius: 10px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.35rem, 2.2vw, 2.1rem);
    color: #f0e4d0;
}

.warning {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.inline-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--amber);
    font-weight: 600;
}

.inline-link:hover,
.inline-link:focus-visible {
    text-decoration: underline;
}

.section-heading h2 {
    margin-top: 0.55rem;
    font-size: clamp(1.9rem, 4vw, 3.4rem);
}

.page-hero .hero-content {
    max-width: 880px;
}

.distiller-story {
    padding-top: 4.2rem;
}

.distiller-headshot {
    width: min(100%, 360px);
    margin: 0 auto 1.35rem;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(215, 155, 77, 0.34);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45);
    background: rgba(15, 11, 8, 0.88);
}

.distiller-headshot img {
    width: 100%;
    height: auto;
    display: block;
}

.longform {
    max-width: 960px;
    margin: 0 auto;
}

.longform h2 {
    margin-top: 1.6rem;
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    color: #f3e5ce;
}

.longform blockquote {
    margin: 1rem 0;
}

.distiller-rules {
    margin: 1.1rem 0;
    padding: 0.9rem 1rem;
    border-left: 3px solid rgba(215, 155, 77, 0.8);
    border: 1px solid rgba(215, 155, 77, 0.32);
    border-radius: 12px;
    background: linear-gradient(140deg, rgba(52, 34, 22, 0.65), rgba(22, 15, 11, 0.8));
}

.distiller-rules .rules-title {
    margin: 0 0 0.35rem;
    color: #f3dfbf;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.distiller-rules p:last-child {
    margin: 0;
}

.about-layout {
    margin-top: 2.2rem;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1.45fr 0.85fr;
}

.story-card,
.values-card,
.product-card,
.banner-inner,
.cta-inner {
    background: linear-gradient(175deg, rgba(32, 25, 20, 0.78), rgba(16, 13, 10, 0.9));
    border: 1px solid rgba(215, 155, 77, 0.2);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.story-card,
.values-card {
    padding: clamp(1.2rem, 2.2vw, 2rem);
}

.story-card p {
    margin: 0;
    color: #deceb8;
}

.story-card p + p {
    margin-top: 1rem;
}

.values-card h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.values-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.8rem;
}

.values-card li {
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(215, 155, 77, 0.22);
    border-radius: 10px;
    background: rgba(10, 8, 6, 0.32);
    color: #e7d9c4;
}

.value-actions {
    margin-top: 1rem;
    display: grid;
    gap: 0.55rem;
}

.value-post-btn {
    width: 100%;
    text-align: left;
    border: 1px solid rgba(215, 155, 77, 0.34);
    background: linear-gradient(130deg, rgba(44, 30, 20, 0.65), rgba(19, 14, 10, 0.72));
    color: #f0e3ce;
    border-radius: 11px;
    padding: 0.62rem 0.8rem;
    font-size: 0.86rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.value-post-btn:hover,
.value-post-btn:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(215, 155, 77, 0.65);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.blog-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(6, 5, 4, 0.72);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.blog-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.blog-modal-card {
    width: min(100%, 760px);
    padding: 1.25rem 1.2rem;
    max-height: min(82vh, 760px);
    overflow-y: auto;
    border-radius: 16px;
    border: 1px solid rgba(215, 155, 77, 0.35);
    background: linear-gradient(170deg, rgba(35, 26, 20, 0.95), rgba(13, 10, 8, 0.98));
    box-shadow: 0 30px 56px rgba(0, 0, 0, 0.58);
}

.blog-modal-close {
    margin-left: auto;
    display: inline-flex;
    border-radius: 999px;
    border: 1px solid rgba(215, 155, 77, 0.44);
    background: rgba(255, 255, 255, 0.04);
    color: #f1e4cf;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.65rem;
    cursor: pointer;
}

.blog-modal-category {
    margin: 0.55rem 0 0;
    color: var(--amber);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-weight: 600;
}

#blog-modal-title {
    margin-top: 0.45rem;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.blog-modal-excerpt {
    margin: 0.65rem 0 0;
    color: #e7d8c0;
    font-size: 1rem;
}

#blog-modal-content {
    margin: 0.7rem 0 0;
    color: #d8c7af;
    white-space: pre-line;
}

.blog-modal-date {
    margin: 0.75rem 0 0;
    color: #c1ad8f;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
}

.campfire-warning {
    padding: 1rem 0;
}

.banner-inner {
    padding: 1.25rem 1.4rem;
}

.banner-inner p {
    margin: 0.45rem 0 0;
    color: #e5d5be;
}

.section-intro {
    max-width: 65ch;
    margin-top: 0.9rem;
    color: #cfbea6;
}

.product-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.product-card {
    overflow: hidden;
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 260ms ease, border-color 260ms ease;
}

.product-card:hover,
.product-card:focus-within {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 34px 60px rgba(0, 0, 0, 0.56);
    border-color: rgba(215, 155, 77, 0.36);
}

.bottle-placeholder {
    min-height: 150px;
    display: grid;
    place-items: center;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    color: rgba(255, 245, 227, 0.74);
    border-bottom: 1px solid rgba(215, 155, 77, 0.2);
    background: linear-gradient(130deg, rgba(28, 22, 18, 0.8), rgba(11, 9, 7, 0.9));
}

.bottle-placeholder span {
    display: inline-flex;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(255, 235, 207, 0.35);
    border-radius: 999px;
}

.bottle-image {
    width: 100%;
    height: 260px;
    object-fit: contain;
    object-position: center bottom;
    display: block;
    padding: 0.7rem;
}

.bottle-placeholder.amber { background-image: linear-gradient(140deg, rgba(99, 57, 27, 0.7), rgba(15, 11, 9, 0.95)); }
.bottle-placeholder.copper { background-image: linear-gradient(140deg, rgba(110, 62, 36, 0.7), rgba(15, 11, 9, 0.95)); }
.bottle-placeholder.smoke { background-image: linear-gradient(140deg, rgba(63, 47, 37, 0.7), rgba(13, 10, 8, 0.95)); }
.bottle-placeholder.rye { background-image: linear-gradient(140deg, rgba(88, 56, 34, 0.7), rgba(15, 11, 9, 0.95)); }
.bottle-placeholder.midnight { background-image: linear-gradient(140deg, rgba(47, 37, 30, 0.8), rgba(10, 9, 8, 0.98)); }
.bottle-placeholder.reserve { background-image: linear-gradient(140deg, rgba(125, 74, 41, 0.72), rgba(18, 12, 9, 0.95)); }

.product-copy {
    padding: 1rem 1.05rem 1.2rem;
}

.spirit-type {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 0.72rem;
    color: var(--amber);
    font-weight: 600;
}

.product-copy h3 {
    margin-top: 0.45rem;
    font-size: 1.42rem;
}

.product-copy p {
    margin: 0.7rem 0 0;
    color: #dcccb5;
}

.tag {
    margin-top: 0.95rem;
    display: inline-flex;
    border-radius: 999px;
    border: 1px solid rgba(215, 155, 77, 0.34);
    padding: 0.3rem 0.7rem;
    font-size: 0.73rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #efddc2;
}

.final-cta {
    padding-top: 4.3rem;
}

.cta-inner {
    padding: clamp(1.6rem, 3.4vw, 2.5rem);
    text-align: center;
}

.cta-inner h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.cta-inner p {
    margin: 0.8rem auto 1.45rem;
    max-width: 58ch;
    color: #d8c7b0;
}

.site-footer {
    padding: 0.55rem 0 0.45rem;
    border-top: 1px solid rgba(28, 20, 12, 0.12);
    background: rgba(255, 255, 255, 0.96);
}

.footer-inner {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 0.15rem;
}

.footer-inner p {
    margin: 0;
    line-height: 1.25;
    font-size: 0.84rem;
    color: #3f3024;
}

.fine-print {
    font-size: 0.7rem;
    color: #7a6858;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .about-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 760px) {
    .section-pad {
        padding: 5rem 0;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 1rem;
        left: 1rem;
        display: grid;
        gap: 0.6rem;
        padding: 1rem;
        border-radius: 14px;
        border: 1px solid rgba(28, 20, 12, 0.15);
        background: rgba(255, 255, 255, 0.98);
        transform-origin: top;
        transform: scaleY(0.8);
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .site-header.menu-open .main-nav {
        opacity: 1;
        transform: scaleY(1);
        pointer-events: auto;
    }

    .main-nav a {
        font-size: 1rem;
        padding: 0.5rem 0.25rem;
    }

    .hero {
        min-height: 560px;
    }

    .hero-content {
        padding-top: 1.5rem;
    }

    .teaser-inner blockquote {
        font-size: 1.45rem;
    }

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

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        transition-duration: 0ms !important;
        animation-duration: 0ms !important;
    }

    .fog-layer::before,
    .fog-layer::after {
        opacity: 0.18;
        transform: none;
    }
}
