:root {
    --forest: #144126;
    --green: #007e32;
    --green-dark: #00682a;
    --orange: #ff9849;
    --orange-deep: #b8500f;
    --peach: #ffe4cc;
    --cream: #fbf7ef;
    --white: #ffffff;
    --ink: #24301f;
    --ink-soft: #4d5a47;
    --line: #e4dccb;
    --display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --body: 'Cabin', 'Segoe UI', Roboto, Arial, sans-serif;
    --header-h: 76px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    margin: 0;
    padding-bottom: 72px; /* room for the phone action bar */
    background: var(--cream);
    color: var(--ink);
    font: 400 1.0625rem/1.65 var(--body);
}

img { display: block; max-width: 100%; height: auto; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.12; color: var(--forest); }
h1 { font-size: clamp(2.35rem, 8vw, 3.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 5vw, 2.25rem); }
p { margin: 0; }
a { color: var(--green); }
:focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 50;
    padding: 10px 16px; background: var(--white); color: var(--forest); border-radius: 6px;
}
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 10px 22px;
    border: 2px solid transparent; border-radius: 8px;
    font: 600 1.0625rem/1.2 var(--body); text-decoration: none; cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s;
}
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-dark); }
.btn--orange { background: var(--orange); color: #2d1704; }
.btn--orange:hover { background: #ffad6b; }
.btn--outline { border-color: var(--green); color: var(--green-dark); }
.btn--outline:hover { background: var(--green); color: var(--white); }
.btn--light { background: var(--white); color: var(--forest); }
.btn:disabled { opacity: .65; cursor: default; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 20;
    background: var(--cream);
    border-bottom: 4px solid var(--green);
}
.site-header__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    height: var(--header-h);
}
.brand img { width: 110px; }
.site-nav { display: flex; gap: 4px; }
.site-nav a {
    display: flex; align-items: center; min-height: 44px; padding: 0 10px;
    color: var(--forest); font-weight: 600; text-decoration: none;
}
.site-nav a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }
.header-call { display: none; }

/* Hero */
.hero { padding: 24px 0 40px; }
.hero--textured { background: #b8efce url(/images/brand/mynoise.jpg); }
.hero--textured .eyebrow { color: var(--forest); }
.hero__grid { display: grid; gap: 28px; }
.hero__photo { order: -1; margin: 0; position: relative; }
.hero__photo img {
    position: relative; width: 100%; aspect-ratio: 5 / 3; object-fit: cover; border-radius: 12px;
}
.eyebrow {
    margin-bottom: 10px;
    color: var(--orange-deep); font-weight: 700; font-size: .875rem;
    letter-spacing: .12em; text-transform: uppercase;
}
.lead { margin-top: 16px; font-size: 1.125rem; color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Goal band */
.goal { padding: 44px 0; background: var(--forest); }
.goal p {
    max-width: 30em; margin: 0 auto;
    color: var(--white); text-align: center;
    font: 500 clamp(1.3rem, 4.4vw, 1.9rem)/1.35 var(--display);
}

/* Home photo strip */
.preview { padding: 40px 0 48px; }
.preview__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.preview__grid img { width: 100%; border-radius: 8px; }
.preview__link { margin-top: 20px; text-align: center; font-weight: 600; font-size: 1.125rem; }

/* Menu gallery */
.dishes { padding: 8px 0 52px; }
.gallery {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
    margin: 22px 0 0; padding: 0; list-style: none;
}
.gallery a { display: block; overflow: hidden; border-radius: 8px; background: var(--line); }
.gallery img { width: 100%; transition: transform .25s; }
.gallery a:hover img { transform: scale(1.04); }

.lightbox {
    width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
    margin: 0; padding: 0; border: 0; background: rgba(12, 28, 18, .94);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(12, 28, 18, .94); }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__btn {
    position: absolute; z-index: 1; width: 48px; height: 48px; padding: 0;
    border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--forest);
    font-size: 1.75rem; line-height: 1; cursor: pointer;
}
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Contact */
.contact { padding: 48px 0; background: var(--green-dark); color: var(--white); }
.contact h2 { color: var(--white); margin-bottom: 18px; }
.contact a { color: var(--white); }
.contact__grid { display: grid; gap: 44px; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 4px; font-weight: 600; }
.field input, .field textarea {
    display: block; width: 100%; min-height: 48px; padding: 10px 12px;
    border: 2px solid transparent; border-radius: 8px;
    background: var(--white); color: var(--ink);
    font: 400 1rem/1.4 var(--body); /* 16px keeps iPhones from zooming in on focus */
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0; padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status--ok { background: var(--white); color: var(--green-dark); }
.form-status--error { background: var(--peach); color: #6b2b05; }
address { display: grid; gap: 2px; font-style: normal; font-size: 1.125rem; }
.contact__phone { display: flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; }
.map { margin-top: 18px; overflow: hidden; border-radius: 10px; background: var(--forest); }
.map iframe { display: block; width: 100%; height: 280px; border: 0; }

/* Footer */
.site-footer { padding: 26px 0; background: var(--forest); color: #dbe7dc; font-size: .9375rem; }
.site-footer__inner { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.site-footer nav { display: flex; gap: 8px; }
.site-footer a { display: inline-block; padding: 8px 10px; color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Phone action bar */
.action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--forest);
}
.action-bar .btn { padding: 8px 10px; }

/* Tablet and up */
@media (min-width: 600px) {
    .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .preview__grid { gap: 16px; }
}

/* Desktop */
@media (min-width: 900px) {
    :root { --header-h: 104px; }
    body { padding-bottom: 0; }
    .action-bar { display: none; }
    .brand img { width: 158px; }
    .site-nav { gap: 14px; margin-left: 28px; margin-right: auto; font-size: 1.125rem; }
    .header-call {
        display: block; text-align: right; line-height: 1.15;
        color: var(--orange-deep); text-decoration: none;
    }
    .header-call__label { display: block; font-weight: 600; }
    .header-call__number { display: block; font: 600 1.6rem/1.15 var(--display); color: var(--forest); }

    .hero { padding: 56px 0 68px; }
    .hero__grid { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
    .hero__photo { order: 0; }
    .hero__photo::before {
        content: ''; position: absolute; inset: 18px -18px -18px 18px;
        border-radius: 12px; background: var(--orange);
    }
    .goal { padding: 64px 0; }
    .preview { padding: 60px 0 68px; }
    .gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .contact { padding: 68px 0; }
    .contact__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
    .map iframe { height: 340px; }
    .site-footer__inner { flex-direction: row; justify-content: space-between; text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .gallery img { transition: none; }
    .gallery a:hover img { transform: none; }
}
