@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --beer-blue-dark: #034d71;
    --beer-blue: #0e76bc;
    --beer-green: #557a25;
    --beer-green-bright: #8dc63f;
    --beer-ink: #30383d;
    --beer-muted: #56656e;
    --beer-line: #dce5ea;
    --beer-light: #f3f7f9;
    --beer-white: #fff;
}

.beer-page {
    margin: 0;
    background: var(--beer-white);
    color: var(--beer-ink);
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.6;
}

.beer-page *,
.beer-page *::before,
.beer-page *::after {
    box-sizing: border-box;
}

.beer-page img {
    max-width: 100%;
}

.beer-page a {
    color: var(--beer-blue);
}

.beer-skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    background: var(--beer-white);
    color: var(--beer-blue-dark);
    font-weight: 700;
    transform: translateY(-160%);
}

.beer-skip-link:focus {
    transform: translateY(0);
}

.beer-header {
    display: flex;
    width: 100%;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 18px clamp(20px, 5vw, 72px);
    border-bottom: 1px solid var(--beer-line);
    background: var(--beer-white);
}

.beer-brand {
    display: inline-flex;
    flex: 0 0 auto;
}

.beer-brand img {
    display: block;
    width: min(260px, 48vw);
    height: auto;
}

.beer-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(14px, 2vw, 28px);
}

.beer-nav a {
    color: #414042;
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
}

.beer-nav a:hover {
    color: var(--beer-blue);
}

.beer-shell {
    width: min(100% - 48px, 1240px);
    margin-right: auto;
    margin-left: auto;
}

.beer-hero {
    overflow: hidden;
    padding: clamp(64px, 8vw, 112px) 0;
    background:
        radial-gradient(circle at 91% 16%, rgba(141, 198, 63, 0.18), transparent 25%),
        linear-gradient(130deg, #f5f9fb 0%, #fff 72%);
}

.beer-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    align-items: center;
    gap: clamp(48px, 7vw, 92px);
}

.beer-hero-copy {
    min-width: 0;
}

.beer-eyebrow {
    margin: 0 0 12px;
    color: var(--beer-green);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.beer-page h1,
.beer-page h2,
.beer-page h3 {
    color: var(--beer-blue-dark);
    line-height: 1.12;
}

.beer-page h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(2.45rem, 5vw, 4.8rem);
}

.beer-page h2 {
    margin: 0;
    font-size: clamp(2rem, 3.4vw, 3.2rem);
}

.beer-page h3 {
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.beer-hero-copy > p:not(.beer-eyebrow) {
    max-width: 780px;
    margin: 18px 0 0;
    color: var(--beer-muted);
    font-size: 1.04rem;
}

.beer-actions,
.beer-template-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.beer-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 2px solid transparent;
    border-radius: 5px;
    font: inherit;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.beer-page .beer-button-primary {
    border-color: var(--beer-green);
    background: var(--beer-green);
    color: var(--beer-white);
}

.beer-page .beer-button-primary:hover {
    border-color: #496b1d;
    background: #496b1d;
    color: var(--beer-white);
}

.beer-page .beer-button-secondary {
    border-color: var(--beer-blue-dark);
    background: transparent;
    color: var(--beer-blue-dark);
}

.beer-page .beer-button-secondary:hover {
    background: var(--beer-blue-dark);
    color: var(--beer-white);
}

.beer-button:focus-visible,
.beer-nav a:focus-visible,
.beer-brand:focus-visible,
.beer-footer a:focus-visible {
    outline: 3px solid var(--beer-blue);
    outline-offset: 4px;
}

.beer-placeholder {
    position: relative;
    min-height: 490px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background:
        radial-gradient(circle at 18% 22%, rgba(141, 198, 63, 0.24) 0 2px, transparent 3px) 0 0 / 26px 26px,
        linear-gradient(145deg, var(--beer-blue-dark), var(--beer-blue));
    box-shadow: 0 28px 62px rgba(3, 45, 72, 0.22);
}

.beer-placeholder-round,
.beer-placeholder-square {
    position: absolute;
    display: block;
    aspect-ratio: 1;
    border: 3px solid rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 38px rgba(0, 27, 43, 0.28);
}

.beer-placeholder-round {
    top: 13%;
    right: 9%;
    width: 57%;
    border-radius: 50%;
}

.beer-placeholder-square {
    bottom: 13%;
    left: 9%;
    width: 51%;
    border-color: var(--beer-green-bright);
    border-radius: 12%;
    transform: rotate(-8deg);
}

.beer-placeholder-label {
    position: absolute;
    right: 24px;
    bottom: 20px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.beer-section {
    padding: clamp(68px, 8vw, 108px) 0;
}

.beer-traditional {
    padding-bottom: clamp(64px, 6vw, 80px);
    background: var(--beer-light);
}

.beer-two-column,
.beer-design-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(44px, 7vw, 92px);
}

.beer-section-intro > p:not(.beer-eyebrow),
.beer-design-grid > div > p,
.beer-premium-intro > p,
.beer-branding-panel > p {
    color: var(--beer-muted);
}

.beer-lead {
    margin-top: 24px;
    color: var(--beer-ink) !important;
    font-size: 1.16rem;
    font-weight: 700;
}

.beer-traditional .beer-section-intro {
    max-width: 900px;
}

.beer-branding-panel {
    padding: clamp(28px, 4vw, 42px);
    border-top: 5px solid var(--beer-green-bright);
    border-radius: 10px;
    background: var(--beer-white);
    box-shadow: 0 18px 48px rgba(3, 45, 72, 0.09);
}

.beer-spec-list,
.beer-check-list {
    display: grid;
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.beer-spec-list li,
.beer-check-list li {
    position: relative;
    padding-left: 26px;
}

.beer-spec-list li::before,
.beer-check-list li::before {
    position: absolute;
    top: 0.12em;
    left: 0;
    color: var(--beer-green);
    content: '✓';
    font-weight: 700;
}

.beer-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 38px;
}

.beer-shape-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 28px;
    margin-top: 42px;
}

.beer-shape-card {
    display: flex;
    overflow: hidden;
    border: 1px solid var(--beer-line);
    border-radius: 12px;
    background: var(--beer-white);
    box-shadow: 0 14px 38px rgba(3, 45, 72, 0.08);
    flex-direction: column;
}

.beer-shape-media {
    position: relative;
    display: grid;
    min-height: 280px;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 20%, rgba(141, 198, 63, 0.2) 0 2px, transparent 3px) 0 0 / 24px 24px,
        linear-gradient(145deg, #eaf3f7, #d9e8ee);
}

.beer-shape-media span {
    display: block;
    width: min(45%, 220px);
    aspect-ratio: 1;
    border: 3px solid var(--beer-blue);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 14px 30px rgba(3, 45, 72, 0.13);
}

.beer-shape-round span {
    border-radius: 50%;
}

.beer-shape-square span {
    border-radius: 10%;
}

.beer-shape-media small {
    position: absolute;
    bottom: 16px;
    color: #526069;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.beer-card-content {
    display: flex;
    padding: 30px;
    flex: 1;
    flex-direction: column;
}

.beer-card-content p {
    margin: 14px 0 0;
    color: var(--beer-muted);
}

.beer-product-family {
    margin-top: 22px !important;
    padding: 14px 16px;
    border-left: 4px solid var(--beer-green-bright);
    background: var(--beer-light);
    font-size: 0.88rem;
}

.beer-product-family strong {
    display: block;
    margin-bottom: 3px;
    color: var(--beer-blue-dark);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.beer-card-summary {
    margin-top: 22px !important;
    color: var(--beer-green) !important;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.beer-mats-info-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 1.2fr);
    margin-top: clamp(40px, 4vw, 48px);
    overflow: hidden;
    border: 1px solid var(--beer-line);
    border-radius: 12px;
    background: var(--beer-white);
    box-shadow: 0 14px 38px rgba(3, 45, 72, 0.07);
}

.beer-info-column {
    min-width: 0;
    padding: clamp(30px, 3vw, 40px) 32px;
}

.beer-info-column + .beer-info-column {
    border-left: 1px solid var(--beer-line);
}

.beer-info-column h3 {
    margin-bottom: 18px;
    color: var(--beer-blue-dark);
    font-size: clamp(1.35rem, 1.8vw, 1.65rem);
}

.beer-info-column h4 {
    margin: 26px 0 12px;
    color: var(--beer-blue-dark);
    font-size: 1rem;
}

.beer-info-column > p {
    color: var(--beer-muted);
}

.beer-info-emphasis {
    color: var(--beer-ink) !important;
}

.beer-info-supporting {
    margin-top: 18px;
    font-size: 0.92rem;
}

.beer-template-actions {
    align-items: stretch;
    margin-top: 14px;
}

.beer-button-disabled {
    border-color: #aeb9bf;
    background: #e7ecef;
    color: #5f6c73;
    cursor: not-allowed;
}

.beer-pending-note {
    margin-top: 12px;
    font-size: 0.88rem;
    font-weight: 700;
}

.beer-design-section {
    background: linear-gradient(120deg, var(--beer-blue-dark), #086b9d);
    color: var(--beer-white);
}

.beer-design-section h2,
.beer-design-section .beer-eyebrow,
.beer-design-section .beer-lead,
.beer-design-section p {
    color: var(--beer-white) !important;
}

.beer-check-list-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.beer-design-section .beer-check-list li::before {
    color: #b7e27c;
}

.beer-design-callout {
    padding: clamp(30px, 4vw, 46px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

.beer-design-callout .beer-button {
    margin-top: 14px;
}

.beer-premium {
    background: #17252e;
    color: #e9f0f3;
}

.beer-premium h2,
.beer-premium h3 {
    color: var(--beer-white);
}

.beer-premium .beer-eyebrow {
    color: #b7e27c;
}

.beer-premium-intro {
    max-width: 920px;
}

.beer-premium-intro > p {
    color: #d4e0e5;
}

.beer-material-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0;
    padding: 0;
    list-style: none;
}

.beer-material-list li {
    padding: 8px 14px;
    border: 1px solid rgba(183, 226, 124, 0.5);
    border-radius: 999px;
    color: #eaf6da;
    font-weight: 700;
}

.beer-branding-panel {
    max-width: 940px;
    margin-top: 48px;
    border-top-color: var(--beer-green-bright);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.beer-branding-panel .beer-button {
    margin-top: 12px;
}

.beer-branding-panel > p,
.beer-branding-panel li {
    color: #e0eaee;
}

.beer-material-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
    margin-top: 46px;
}

.beer-material-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: #223640;
}

.beer-material-media {
    display: grid;
    min-height: 190px;
    place-items: center;
    overflow: hidden;
}

.beer-material-media span {
    display: block;
    width: 42%;
    aspect-ratio: 1;
    border: 2px solid rgba(255, 255, 255, 0.62);
    border-radius: 50%;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.beer-material-felt .beer-material-media {
    background: repeating-linear-gradient(40deg, #5a6369 0 2px, #4d565c 2px 5px);
}

.beer-material-felt .beer-material-media span {
    background: #69747a;
}

.beer-material-cork .beer-material-media {
    background: radial-gradient(circle, #7a5836 0 2px, transparent 3px) 0 0 / 17px 17px, #bb8a54;
}

.beer-material-cork .beer-material-media span {
    background: #c79862;
}

.beer-material-bamboo .beer-material-media {
    background: repeating-linear-gradient(92deg, #c89a58 0 4px, #d6ae71 4px 13px);
}

.beer-material-bamboo .beer-material-media span {
    background: #d8b374;
}

.beer-material-leather .beer-material-media {
    background: linear-gradient(145deg, #3f2e2a, #211817);
}

.beer-material-leather .beer-material-media span {
    border-radius: 12%;
    background: #493531;
}

.beer-material-content {
    padding: 24px;
}

.beer-material-content > p {
    color: #ccd9de;
    font-size: 0.9rem;
}

.beer-material-specs {
    margin: 22px 0 0;
}

.beer-material-specs div {
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.beer-material-specs dt {
    color: #b7e27c;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.beer-material-specs dd {
    margin: 4px 0 0;
    color: var(--beer-white);
    font-size: 0.88rem;
}

.beer-material-note {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.8rem !important;
    font-style: italic;
}

.beer-final-cta {
    padding: clamp(64px, 7vw, 94px) 0;
    background: var(--beer-green);
    color: var(--beer-white);
}

.beer-final-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr) auto;
    align-items: center;
    gap: 40px;
}

.beer-final-cta h2,
.beer-final-cta .beer-eyebrow {
    color: var(--beer-white);
}

.beer-final-list {
    columns: 2;
    margin: 0;
    padding-left: 20px;
}

.beer-page .beer-button-light {
    border-color: var(--beer-white);
    background: var(--beer-white);
    color: var(--beer-blue-dark);
}

.beer-page .beer-button-light:hover {
    border-color: var(--beer-blue-dark);
    background: var(--beer-blue-dark);
    color: var(--beer-white);
}

.beer-footer {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 30px clamp(20px, 5vw, 72px);
    background: var(--beer-blue-dark);
    color: var(--beer-white);
}

.beer-footer div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.beer-footer a {
    color: var(--beer-white);
    overflow-wrap: anywhere;
}

@media (max-width: 1120px) {
    .beer-mats-info-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .beer-artwork-column {
        grid-column: 1 / -1;
        border-top: 1px solid var(--beer-line);
        border-left: 0 !important;
    }

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

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

    .beer-final-grid .beer-button {
        justify-self: start;
    }
}

@media (max-width: 900px) {
    .beer-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .beer-nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .beer-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .beer-placeholder {
        min-height: 400px;
    }

    .beer-two-column,
    .beer-design-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 620px) {
    .beer-shell {
        width: min(100% - 32px, 1240px);
    }

    .beer-header {
        padding: 16px 18px;
    }

    .beer-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 18px;
    }

    .beer-nav a {
        padding: 6px 0;
    }

    .beer-page h1 {
        font-size: 2.35rem;
    }

    .beer-page h2 {
        font-size: 1.9rem;
    }

    .beer-mats-info-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .beer-info-column {
        padding: 24px 22px;
    }

    .beer-info-column + .beer-info-column {
        border-top: 1px solid var(--beer-line);
        border-left: 0;
    }

    .beer-actions,
    .beer-template-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .beer-button {
        width: 100%;
    }

    .beer-placeholder {
        min-height: 320px;
    }

    .beer-shape-grid,
    .beer-material-grid,
    .beer-final-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .beer-shape-media {
        min-height: 230px;
    }

    .beer-check-list-compact {
        grid-template-columns: minmax(0, 1fr);
    }

    .beer-final-list {
        columns: 1;
    }

    .beer-footer {
        flex-direction: column;
        padding: 28px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .beer-page *,
    .beer-page *::before,
    .beer-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
