:root {
    --blue: #2b74ac;
    --blue-dark: #20577f;
    --brown: #4f3f33;
    --cream: #f8f5ef;
    --light-cream: #fffdf9;
    --white: #ffffff;
    --black: #151515;
    --gray: #6f6f6f;
    --border: #ddd7cf;

    --shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
    --radius: 16px;

    --max-width: 1150px;
}


/* =========================
   RESET
========================= */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--black);
    font-family: Georgia, "Times New Roman", Times, serif;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

button {
    font: inherit;
}


/* =========================
   HEADER
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 253, 249, 0.97);
    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(8px);
}

.header-inner {
    width: min(92%, var(--max-width));
    min-height: 90px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.brand {
    color: var(--blue);

    font-size: 2rem;
    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 34px;
}

.navbar a {
    position: relative;

    color: var(--brown);

    font-size: 1rem;
    font-style: italic;
    font-weight: 600;

    text-decoration: none;

    transition: color 0.25s ease;
}

.navbar a::after {
    content: "";

    position: absolute;
    bottom: -7px;
    left: 0;

    width: 0;
    height: 2px;

    background: var(--blue);

    transition: width 0.25s ease;
}

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

.navbar a:hover::after {
    width: 100%;
}


/* =========================
   MOBILE MENU BUTTON
========================= */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 9px;

    background: transparent;
    border: 0;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 6px 0;

    background: var(--brown);

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;

    min-height: 570px;

    display: grid;
    place-items: center;

    overflow: hidden;
    isolation: isolate;
}

.hero-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: -3;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.78),
            rgba(0, 0, 0, 0.46),
            rgba(0, 0, 0, 0.28)
        );
}

.hero-content {
    width: min(92%, var(--max-width));

    color: var(--white);
}

.hero-content > * {
    max-width: 660px;
}

.eyebrow {
    margin-bottom: 12px;

    color: var(--blue);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 0.78rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.hero .eyebrow {
    color: #8dcef8;
}

.hero h1 {
    margin-bottom: 22px;

    font-size: clamp(3.5rem, 8vw, 6.8rem);

    line-height: 0.95;

    letter-spacing: -0.05em;
}

.hero-content > p:not(.eyebrow) {
    max-width: 570px;

    color: #efefef;

    font-size: 1.1rem;
}


/* =========================
   BUTTONS
========================= */

.hero-button,
.coffee-button,
.visit-button {
    min-height: 48px;

    margin-top: 28px;
    padding: 12px 24px;

    border: 0;
    border-radius: 7px;

    background: var(--blue);

    color: var(--white);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 0.95rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.hero-button:hover,
.coffee-button:hover,
.visit-button:hover {
    background: var(--blue-dark);

    transform: translateY(-2px);

    box-shadow: 0 10px 22px rgba(43, 116, 172, 0.25);
}


/* =========================
   MENU SECTION
========================= */

.menu-section {
    width: min(92%, var(--max-width));

    margin: auto;

    padding: 95px 0;
}

.section-heading {
    max-width: 680px;

    margin: 0 auto 45px;

    text-align: center;
}

.section-heading h2 {
    margin-bottom: 12px;

    color: var(--brown);

    font-size: clamp(2.2rem, 5vw, 3.5rem);

    line-height: 1.1;
}

.section-heading > p:last-child {
    color: var(--gray);
}

.menu-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;
}

.menu-card {
    overflow: hidden;

    background: var(--light-cream);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: 0 7px 22px rgba(0, 0, 0, 0.06);

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.menu-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow);
}

.menu-card img {
    width: 100%;
    height: 230px;

    object-fit: cover;
}

.card-content {
    padding: 24px;
}

.card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 10px;
}

.card-heading h3 {
    color: var(--brown);

    font-size: 1.3rem;
}

.card-heading span {
    color: var(--blue);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 1.25rem;
    font-weight: 800;
}

.card-content p {
    color: var(--gray);

    font-size: 0.96rem;
}


/* =========================
   COFFEE
========================= */

.coffee-section {
    padding: 105px 20px;

    background: var(--brown);

    color: var(--white);

    text-align: center;
}

.coffee-content {
    max-width: 700px;

    margin: auto;
}

.coffee-section .eyebrow {
    color: #9dd7ff;
}

.coffee-section h2 {
    margin-bottom: 18px;

    font-size: clamp(2.5rem, 6vw, 4rem);

    line-height: 1.05;
}

.coffee-section p:not(.eyebrow) {
    color: #e1ddd9;

    font-size: 1.05rem;
}


/* =========================
   VISIT
========================= */

.visit-section {
    padding: 95px 20px;

    text-align: center;
}

.visit-content {
    max-width: 650px;

    margin: auto;
}

.visit-content h2 {
    margin-bottom: 12px;

    color: var(--brown);

    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.visit-content > p {
    color: var(--gray);
}

.visit-content > a {
    display: inline-block;

    margin-top: 8px;

    color: var(--blue);

    font-weight: 700;

    text-decoration: none;
}

.hours {
    margin-top: 18px;
}


/* =========================
   FOOTER
========================= */

.site-footer {
    padding: 48px 20px;

    background: #171513;

    color: #c9c5c1;

    text-align: center;
}

.footer-brand {
    display: inline-block;

    margin-bottom: 14px;

    color: #8dcef8;

    font-size: 1.7rem;
    font-weight: 700;

    text-decoration: none;
}

.site-footer p {
    margin: 5px 0;

    font-size: 0.88rem;
}

.developer-credit {
    margin-top: 20px !important;

    color: #85817e;
}


/* ==================================================
   BREAKPOINT 1 — TABLET / SMALL LAPTOP
   1024px AND BELOW
================================================== */

@media (max-width: 1024px) {

    .header-inner {
        width: 90%;
    }

    .menu-section {
        width: 90%;
    }

    .menu-grid {
        gap: 20px;
    }

    .menu-card img {
        height: 205px;
    }

}


/* ==================================================
   BREAKPOINT 2 — TABLET / MOBILE
   768px AND BELOW
================================================== */

@media (max-width: 768px) {

    .header-inner {
        min-height: 72px;
    }

    .brand {
        font-size: 1.55rem;
    }

    .menu-toggle {
        display: block;
    }

    .navbar {
        position: absolute;

        top: 72px;
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 10px 5% 18px;

        background: var(--light-cream);

        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);

        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    }

    .navbar.open {
        display: flex;
    }

    .navbar a {
        padding: 13px 0;

        border-bottom: 1px solid #eee8df;
    }

    .navbar a:last-child {
        border-bottom: 0;
    }

    .navbar a::after {
        display: none;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        min-height: 520px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content > * {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.58);
    }

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

    .menu-card {
        max-width: 560px;

        margin: auto;
    }

    .menu-card img {
        height: 270px;
    }

}


/* ==================================================
   BREAKPOINT 3 — SMALL PHONES
   480px AND BELOW
================================================== */

@media (max-width: 480px) {

    .header-inner {
        width: 90%;
    }

    .brand {
        font-size: 1.3rem;
    }

    .hero {
        min-height: 480px;
    }

    .hero-content {
        width: 90%;
    }

    .hero h1 {
        font-size: clamp(3rem, 15vw, 4.2rem);
    }

    .hero-content > p:not(.eyebrow) {
        font-size: 0.96rem;
    }

    .hero-button,
    .coffee-button,
    .visit-button {
        width: 100%;
    }

    .menu-section {
        width: 90%;

        padding: 65px 0;
    }

    .menu-card img {
        height: 210px;
    }

    .card-content {
        padding: 20px;
    }

    .coffee-section,
    .visit-section {
        padding: 70px 20px;
    }

}


/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }

}