/* Island Flavor – Jamaican café in Bennington, Vermont.
   The dining room's sunflower walls and the logo's dark sign board; the plate on the home page is the
   signature element (templates/_partials/plate.html.twig). One light theme with dark and yellow bands. */

@font-face {
    font-family: 'Shrikhand';
    src: url('../fonts/shrikhand.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Schibsted Grotesk';
    src: url('../fonts/schibsted-grotesk.woff2') format('woff2');
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Schibsted Grotesk';
    src: url('../fonts/schibsted-grotesk-italic.woff2') format('woff2');
    font-weight: 400 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --wall: #f5c518;
    --wall-lit: #ffd94d;
    --wall-deep: #e0ac00;
    --board: #242424;
    --board-deep: #1a1a1a;
    --board-raised: #303030;
    --leaf: #189c18;
    --leaf-deep: #0e7a1a;
    --leaf-lit: #6fdc6f;
    --red: #d42a20;
    --red-ink: #c11f17;
    --red-deep: #a8170f;
    --sheet: #ffffff;
    --ink: #1d1b17;
    --ink-soft: #4d483f;
    --muted: #5f5a50;
    --line: #e2ddd1;
    --on-dark: #f4f1ea;
    --on-dark-soft: #d2cdc2;
    --focus: #1d1b17;
    --display: 'Shrikhand', 'Georgia', serif;
    --text: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --radius: 26px;
    --gutter: 16px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    background: var(--sheet);
    color: var(--ink);
    font-family: var(--text);
    font-size: 1.0625rem;
    line-height: 1.6;
    font-variant-numeric: lining-nums;
    overflow-x: clip;
}

img,
svg {
    max-width: 100%;
}

img {
    height: auto;
    display: block;
}

a {
    color: var(--red-ink);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--red-deep);
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
    border-radius: 4px;
}

h1,
h2,
h3 {
    margin: 0 0 .5em;
    line-height: 1.12;
}

p {
    margin: 0 0 1em;
}

.wrap {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    padding: .6rem 1rem;
    background: var(--wall);
    color: var(--ink);
    font-weight: 800;
    border-radius: 10px;
}

.skip:focus {
    top: 12px;
}

.display-2 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(2rem, 1.35rem + 2.6vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -.005em;
}

.display-3 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem);
    line-height: 1.1;
}

.lead {
    font-size: clamp(1.12rem, 1rem + .5vw, 1.35rem);
    line-height: 1.5;
    max-width: 40ch;
}

/* ---- buttons ---- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 50px;
    padding: .7rem 1.4rem;
    border: 0;
    border-radius: 999px;
    font: 800 1.02rem/1.2 var(--text);
    font-variant-numeric: lining-nums;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, background-color .15s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-ink {
    background: var(--board);
    color: #fff;
}

.btn-ink:hover {
    background: #000;
    color: var(--wall);
}

.btn-red {
    background: var(--red);
    color: #fff;
}

.btn-red:hover {
    background: var(--red-deep);
    color: #fff;
}

.btn-gold {
    background: var(--wall);
    color: var(--ink);
}

.btn-gold:hover {
    background: var(--wall-lit);
    color: var(--ink);
}

.link-arrow {
    font-weight: 800;
}

/* ---- header: the sign board above the yellow wall ---- */

.top {
    --focus: var(--wall);
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(26, 26, 26, .96);
    color: var(--on-dark);
    border-bottom: 4px solid var(--leaf);
}

@supports (backdrop-filter: blur(8px)) {
    .top {
        background: rgba(26, 26, 26, .88);
        backdrop-filter: blur(10px) saturate(1.2);
    }
}

.top-row {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    grid-template-areas:
        "brand . call toggle"
        "panel panel panel panel";
    align-items: center;
    column-gap: 10px;
    padding-block: 8px;
}

.brand {
    grid-area: brand;
    display: block;
    line-height: 0;
    border-radius: 6px;
}

.brand img {
    width: 82px;
    height: auto;
}

.call {
    grid-area: call;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: .45rem .9rem;
    border-radius: 999px;
    background: var(--wall);
    color: var(--ink);
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
}

.call:hover {
    background: var(--wall-lit);
    color: var(--ink);
}

.nav-toggle {
    grid-area: toggle;
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 2px solid #4a4a4a;
    border-radius: 14px;
    background: transparent;
    color: var(--on-dark);
    cursor: pointer;
}

.nav-toggle[hidden] {
    display: none;
}

.nav-toggle[aria-expanded="true"] {
    background: var(--board-raised);
    border-color: var(--wall);
}

.nav-panel {
    grid-area: panel;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    padding-top: 8px;
}

.js-nav .nav-panel:not(.is-open) {
    display: none;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 4px;
    width: 100%;
}

.nav a {
    padding: .5rem .7rem;
    border-radius: 10px;
    color: var(--on-dark);
    font-weight: 700;
    text-decoration: none;
}

.nav a:hover {
    background: var(--board-raised);
    color: #fff;
}

.nav a[aria-current="page"] {
    color: var(--wall);
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
}

.social {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social a {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--on-dark);
}

.social a:hover {
    background: var(--board-raised);
    color: var(--wall);
}

.order {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: .4rem 1rem;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.order:hover {
    background: var(--red-deep);
    color: #fff;
}

@media (max-width: 999px) {
    .nav-panel.is-open {
        padding-bottom: 8px;
    }

    .nav-panel.is-open .nav a {
        font-size: 1.1rem;
    }
}

@media (min-width: 1000px) {
    .top-row {
        grid-template-columns: auto 1fr auto;
        grid-template-areas: "brand panel call";
        column-gap: 22px;
    }

    .brand img {
        width: 104px;
    }

    .nav-toggle,
    .nav-toggle[hidden] {
        display: none;
    }

    .js-nav .nav-panel:not(.is-open),
    .nav-panel {
        display: flex;
        flex-wrap: nowrap;
        padding: 0;
        gap: 14px;
    }

    .nav {
        width: auto;
        flex-wrap: nowrap;
        margin-right: auto;
    }
}

/* ---- hero: the yellow wall, the headline and the plate ---- */

.hero {
    position: relative;
    background:
        radial-gradient(60% 70% at 78% 42%, var(--wall-lit) 0%, rgba(255, 217, 77, 0) 70%),
        var(--wall);
    padding-block: clamp(28px, 5vw, 72px) clamp(40px, 6vw, 84px);
    overflow: clip;
}

.hero-grid {
    display: grid;
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 1rem;
    padding: .35rem .9rem;
    border-radius: 999px;
    background: var(--board);
    color: var(--wall);
    font-weight: 800;
}

.hero h1 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(2.45rem, 1.3rem + 4.6vw, 5.3rem);
    line-height: 1.02;
    letter-spacing: -.01em;
    margin-bottom: .35em;
    max-width: 12ch;
}

.hero .lead {
    color: var(--ink);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-block: 1.4rem .6rem;
}

.hero-phone {
    margin: .6rem 0 1.6rem;
}

.hero-phone a {
    color: var(--ink);
    font-weight: 900;
    font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem);
    letter-spacing: -.01em;
    text-decoration-color: var(--red);
    text-decoration-thickness: 4px;
    text-underline-offset: 6px;
}

.hero-facts {
    display: grid;
    gap: 14px 28px;
    padding-top: 1.1rem;
    border-top: 3px solid var(--ink);
}

.fact-title {
    margin: 0 0 .3rem;
    font-size: 1rem;
    font-weight: 900;
}

.hero-facts p {
    margin: 0;
}

.hero-facts a:not(.btn) {
    color: var(--ink);
    font-weight: 800;
}

.hours-mini {
    margin: 0;
}

.hours-mini div {
    display: flex;
    flex-wrap: wrap;
    gap: 0 .5rem;
}

.hours-mini dt {
    font-weight: 800;
}

.hours-mini dt::after {
    content: ':';
}

.hours-mini dd {
    margin: 0;
}

@media (min-width: 560px) {
    .hero-facts {
        grid-template-columns: auto auto;
        justify-content: start;
    }
}

@media (min-width: 980px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    }
}

/* ---- the plate ---- */

.plate-app {
    display: grid;
    gap: 16px;
    max-width: 580px;
    margin-inline: auto;
}

.plate-stage {
    position: relative;
    width: min(100%, 540px);
    margin-inline: auto;
}

.plate-svg {
    display: block;
    width: 100%;
    height: auto;
}

.plate-mat {
    transform-origin: 300px 300px;
    animation: mat-in 1s cubic-bezier(.2, .8, .2, 1) both;
}

.plate-dish {
    transform-origin: 300px 300px;
    animation: plate-in .7s cubic-bezier(.2, .8, .2, 1) .15s both;
}

.portion {
    transform-box: fill-box;
    transform-origin: center;
    animation: serve .62s cubic-bezier(.25, .9, .3, 1.25) both;
}

.p-rice {
    animation-delay: .45s;
}

.p-cabbage {
    animation-delay: .7s;
}

.p-plantain {
    animation-delay: .95s;
}

.dish-art {
    display: none;
    animation-delay: 1.25s;
}

.dish-art.is-jerk {
    display: inline;
}

@keyframes mat-in {
    from {
        opacity: 0;
        transform: rotate(-40deg) scale(.86);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes plate-in {
    from {
        opacity: 0;
        transform: scale(.9);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes serve {
    from {
        opacity: 0;
        transform: translateY(-34px) scale(.7);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.picker {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.picker legend {
    margin-bottom: .55rem;
    padding: 0;
    font-weight: 900;
    font-size: 1.05rem;
}

.picker-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pick {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .45rem 1rem;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
    color: var(--ink);
    font-weight: 700;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.pick:hover {
    background: #fff;
}

.picker input:checked + .pick {
    background: var(--board);
    color: var(--wall);
}

.picker input:focus-visible + .pick {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
}

.plate-info {
    padding: 1.1rem 1.25rem 1.2rem;
    border-radius: 22px;
    background: var(--board);
    color: var(--on-dark);
}

.plate-info p {
    margin: 0 0 .5rem;
}

.dish-info {
    display: none;
}

.dish-info.is-jerk {
    display: block;
}

.dish-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .2rem 1rem;
}

.dish-name {
    font-family: var(--display);
    font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem);
    line-height: 1.15;
    color: var(--wall);
}

.dish-price {
    font-weight: 900;
    font-size: 1.15rem;
    white-space: nowrap;
}

.plate-sides {
    margin-top: .8rem !important;
    padding-top: .7rem;
    border-top: 1px solid #45423d;
    color: var(--on-dark-soft);
    font-size: .98rem;
}

@supports selector(:has(*)) {
    .dish-art.is-jerk,
    .dish-info.is-jerk {
        display: none;
    }

    .plate-app:has(#pick-oxtail:checked) .is-oxtail,
    .plate-app:has(#pick-goat:checked) .is-goat,
    .plate-app:has(#pick-curry-chicken:checked) .is-curry-chicken,
    .plate-app:has(#pick-jerk:checked) .is-jerk,
    .plate-app:has(#pick-stew-chicken:checked) .is-stew-chicken,
    .plate-app:has(#pick-fish:checked) .is-fish,
    .plate-app:has(#pick-veg:checked) .is-veg {
        display: block;
    }

    .plate-app:has(#pick-oxtail:checked) .dish-art.is-oxtail,
    .plate-app:has(#pick-goat:checked) .dish-art.is-goat,
    .plate-app:has(#pick-curry-chicken:checked) .dish-art.is-curry-chicken,
    .plate-app:has(#pick-jerk:checked) .dish-art.is-jerk,
    .plate-app:has(#pick-stew-chicken:checked) .dish-art.is-stew-chicken,
    .plate-app:has(#pick-fish:checked) .dish-art.is-fish,
    .plate-app:has(#pick-veg:checked) .dish-art.is-veg {
        display: inline;
    }

    /* Once the visitor uses the picker, a new main lands at once, without the opening delay. */
    .plate-app:has(.picker input:focus) .dish-art {
        animation-delay: 0s;
        animation-duration: .5s;
    }
}

/* ---- welcome ---- */

.welcome {
    padding-block: clamp(56px, 8vw, 110px);
}

.welcome-grid {
    display: grid;
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
}

.welcome-photo {
    margin: 0;
}

.welcome-photo a {
    display: block;
    border-radius: var(--radius);
    box-shadow: 14px 14px 0 var(--wall);
}

.welcome-photo img {
    width: 100%;
    border-radius: var(--radius);
}

figcaption {
    margin-top: 1.2rem;
    color: var(--muted);
    font-size: .95rem;
}

.credit {
    display: block;
    font-size: .85rem;
}

.welcome-text p {
    max-width: 60ch;
}

@media (min-width: 900px) {
    .welcome-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    }
}

/* ---- the menu at a glance: the sign board ---- */

.board {
    --focus: var(--wall);
    padding-block: 0 clamp(56px, 8vw, 110px);
}

.board-frame {
    padding: clamp(28px, 5vw, 64px) clamp(20px, 4.5vw, 64px);
    border: 8px solid var(--leaf);
    border-radius: 32px;
    background: var(--board);
    box-shadow: inset 0 0 0 6px var(--board), inset 0 0 0 8px rgba(255, 255, 255, .85);
    color: var(--on-dark);
}

.board-head {
    max-width: 60ch;
    margin-bottom: 2rem;
}

.board-head h2 {
    color: var(--wall);
}

.board-head p {
    color: var(--on-dark-soft);
    font-size: 1.12rem;
}

.glance {
    display: grid;
    gap: 22px;
}

.glance-half {
    padding: 1.4rem 1.3rem 1.2rem;
    border-radius: 22px;
    background: var(--board-raised);
}

.tab {
    display: inline-block;
    margin: 0 0 1rem;
    padding: .3rem 1.1rem;
    border-radius: 999px;
    font-family: var(--display);
    font-weight: 400;
    font-size: 1.35rem;
    line-height: 1.25;
}

.tab-red {
    background: var(--red);
    color: #fff;
}

.tab-gold {
    background: var(--wall);
    color: var(--ink);
}

.tab-green {
    background: var(--leaf-deep);
    color: #fff;
}

.glance dl {
    margin: 0;
}

.glance dl div {
    padding-block: .65rem;
    border-top: 1px solid #45423d;
}

.glance dt {
    color: #fff;
    font-weight: 800;
}

.glance dd {
    margin: 0;
    color: var(--on-dark-soft);
}

.board-cta {
    margin: 2rem 0 0;
}

@media (min-width: 860px) {
    .glance {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---- more at the island: a bento of photos and coloured tiles ---- */

.island {
    padding-block: 0 clamp(56px, 8vw, 110px);
}

.bento {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    overflow: hidden;
    padding: 1.4rem 1.4rem 1.2rem;
}

.tile h3 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem);
    line-height: 1.15;
    margin-bottom: .4rem;
}

.tile p {
    margin: 0 0 .5rem;
}

.tile-photo {
    --focus: var(--wall);
    padding: 0;
    background: var(--board);
    color: var(--on-dark);
}

.tile-photo > a {
    display: block;
    line-height: 0;
}

.tile-photo img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .4s ease;
}

.tile-photo a:hover img {
    transform: scale(1.03);
}

.tile-text {
    padding: 1.1rem 1.3rem 1rem;
    background: var(--board);
}

.tile-text h3 {
    color: var(--wall);
}

.tile-green {
    --focus: var(--wall);
    background: var(--leaf-deep);
    color: #fff;
}

.tile-red {
    --focus: var(--wall);
    background: var(--red);
    color: #fff;
}

.tile-gold {
    background: var(--wall);
    color: var(--ink);
}

.tile-gold a:not(.btn) {
    color: var(--ink);
    font-weight: 800;
}

.tick {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: .4rem 0 0;
    padding: 0;
    list-style: none;
}

.tick li {
    padding: .2rem .75rem;
    border: 2px solid rgba(255, 255, 255, .8);
    border-radius: 999px;
    font-weight: 700;
}

@media (min-width: 640px) {
    .bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tile-gold {
        grid-column: span 2;
    }
}

@media (min-width: 1000px) {
    .bento {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .tile-photo {
        grid-column: span 3;
    }

    .tile-green,
    .tile-red,
    .tile-gold {
        grid-column: span 2;
    }
}

/* ---- visit ---- */

.visit {
    background: var(--wall);
    padding-block: clamp(56px, 8vw, 100px);
}

.visit-grid {
    display: grid;
    gap: 32px;
    align-items: start;
}

.visit a:not(.btn) {
    color: var(--ink);
}

.visit-address {
    font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem);
    font-weight: 800;
    line-height: 1.3;
}

.visit-phone a {
    font-weight: 900;
    font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem);
    text-decoration-color: var(--red);
    text-decoration-thickness: 4px;
}

.visit-follow {
    max-width: 44ch;
}

.week {
    padding: 1.5rem 1.4rem;
    border-radius: var(--radius);
    background: var(--sheet);
    box-shadow: 10px 10px 0 var(--board);
}

.week h3 {
    font-family: var(--display);
    font-weight: 400;
    font-size: 1.8rem;
}

.week-list {
    margin: 0 0 1.4rem;
}

.week-list div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0 1rem;
    padding-block: .55rem;
    border-bottom: 1px solid var(--line);
}

.week-list dt {
    font-weight: 800;
}

.week-list dd {
    margin: 0;
}

.week-list .is-closed dt,
.week-list .is-closed dd {
    color: var(--muted);
    font-weight: 600;
}

@media (min-width: 900px) {
    .visit-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    }
}

/* ---- inner pages ---- */

.page-hero {
    background: var(--wall);
    padding-block: clamp(36px, 6vw, 80px) clamp(32px, 5vw, 64px);
}

.page-hero h1 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.4rem);
    line-height: 1.05;
    max-width: 16ch;
}

.page-hero .lead {
    max-width: 52ch;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1.4rem;
}

.chips a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: .3rem .9rem;
    border: 2px solid var(--ink);
    border-radius: 999px;
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}

.chips a:hover {
    background: var(--board);
    color: var(--wall);
}

/* ---- menu ---- */

.menu-part {
    padding-bottom: clamp(48px, 7vw, 90px);
}

.menu-band {
    padding-block: 14px 10px;
    margin-bottom: 1.6rem;
}

.menu-band h2 {
    margin: 0;
}

.band-red {
    background: var(--red);
    color: #fff;
}

.band-gold {
    background: var(--wall);
    color: var(--ink);
}

.menu-rule {
    max-width: 62ch;
    margin-bottom: 2rem;
    font-size: 1.15rem;
    font-weight: 700;
    font-style: italic;
}

.menu-grid {
    padding-top: 20px;
}

.menu-grid > .menu-box {
    break-inside: avoid;
    margin-bottom: 40px;
}

.menu-box {
    position: relative;
    padding: 2.1rem 1.3rem 1.3rem;
    border: 3px solid;
    border-radius: var(--radius);
}

.box-red {
    border-color: var(--red);
}

.box-green {
    border-color: var(--leaf);
}

.box-solid {
    --focus: var(--wall);
    border: 0;
    padding-top: 1.5rem;
    background: var(--red);
    color: #fff;
}

.box-solid h3 {
    font-family: var(--display);
    font-weight: 400;
    font-size: 1.6rem;
}

.box-solid a:not(.btn) {
    color: #fff;
    font-weight: 800;
}

.menu-box > .tab {
    position: absolute;
    top: 0;
    left: 1.1rem;
    transform: translateY(-55%);
    margin: 0;
}

.tab small {
    font-family: var(--text);
    font-size: .85rem;
    font-weight: 800;
    vertical-align: middle;
}

.dishes {
    display: grid;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .1rem 1rem;
    margin: 0 0 .3rem;
}

.item-name {
    font-weight: 800;
    font-size: 1.1rem;
}

.item-price {
    font-weight: 800;
    color: var(--red-ink);
    white-space: nowrap;
}

.item-price small {
    color: var(--muted);
    font-weight: 600;
    font-size: .9rem;
}

.item-text {
    margin: 0;
    color: var(--ink-soft);
}

.plain {
    margin: .4rem 0 .8rem;
    padding-left: 1.2rem;
}

.plain li::marker {
    color: var(--leaf);
}

.prices {
    margin: 0;
    padding: 0;
    list-style: none;
}

.prices li {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    padding-block: .5rem;
    border-bottom: 1px dashed var(--line);
}

.prices li:last-child {
    border-bottom: 0;
}

.prices .item-name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.addon {
    margin: .4rem 0 0;
    padding: .7rem .9rem;
    border-radius: 14px;
    background: #f3f9ef;
}

.addon .item-name {
    font-size: 1rem;
}

@media (min-width: 720px) {
    .menu-grid {
        columns: 2;
        column-gap: 22px;
    }
}

@media (min-width: 1100px) {
    .menu-savory .menu-grid {
        columns: 3;
    }
}

.printed {
    background: var(--board);
    color: var(--on-dark);
    padding-block: clamp(56px, 8vw, 100px);
    --focus: var(--wall);
}

.printed h2 {
    color: var(--wall);
}

.printed a:not(.btn) {
    color: var(--wall);
}

.printed-grid {
    display: grid;
    gap: 32px;
    align-items: center;
}

.printed-doc {
    margin: 0;
    max-width: 420px;
}

.printed-doc a {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
    transform: rotate(-2deg);
    transition: transform .25s ease;
}

.printed-doc a:hover {
    transform: rotate(0);
}

.printed-doc figcaption {
    color: var(--on-dark-soft);
}

.order-line {
    margin-top: 1.4rem;
}

@media (min-width: 820px) {
    .printed-grid {
        grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
    }
}

/* ---- about ---- */

.story {
    padding-block: clamp(48px, 7vw, 100px);
}

.story-grid {
    display: grid;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

.story-text p {
    max-width: 64ch;
}

.story-first {
    font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem);
    line-height: 1.5;
    font-weight: 600;
}

.story-photos {
    display: grid;
    gap: 28px;
}

.story-photos figure {
    margin: 0;
}

.story-photos a {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
}

.photo-tall a {
    box-shadow: 12px 12px 0 var(--leaf);
}

.island-about {
    padding-top: 0;
}

.call-band {
    --focus: var(--wall);
    background: var(--board);
    color: var(--on-dark);
    padding-block: 34px;
}

.call-band-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
}

.call-band-text {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
    line-height: 1.2;
    color: var(--wall);
}

.call-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (min-width: 900px) {
    .story-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    }
}

/* ---- contact ---- */

.contact {
    padding-block: clamp(40px, 6vw, 90px);
}

.contact-grid {
    display: grid;
    gap: 24px;
    align-items: start;
}

.contact-card {
    --focus: var(--wall);
    padding: clamp(24px, 4vw, 40px);
    border: 6px solid var(--leaf);
    border-radius: 30px;
    background: var(--board);
    color: var(--on-dark);
}

.contact-card h2 {
    color: var(--wall);
}

.contact-card a:not(.btn) {
    color: var(--wall);
}

.big-phone {
    container-type: inline-size;
}

.big-phone a {
    font-weight: 900;
    font-size: min(clamp(1.9rem, 1.4rem + 2vw, 2.7rem), 14cqi);
    white-space: nowrap;
}

.contact-list {
    margin: 0;
}

.contact-list > div {
    padding-block: .8rem;
    border-top: 1px solid #45423d;
}

.contact-list > div > dt {
    color: #fff;
    font-weight: 800;
}

.contact-list > div > dd {
    margin: .15rem 0 0;
    color: var(--on-dark-soft);
    overflow-wrap: anywhere;
}

.form-card {
    padding: clamp(24px, 4vw, 40px);
    border: 3px solid var(--ink);
    border-radius: 30px;
    background: var(--sheet);
}

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form label {
    display: block;
    margin-bottom: .3rem;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: .75rem .9rem;
    border: 2px solid var(--ink);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 2px;
}

.contact-form ul {
    margin: .3rem 0 0;
    padding-left: 1.1rem;
    color: var(--red-ink);
    font-weight: 700;
}

.contact-form .btn {
    justify-self: start;
}

.form-note,
.form-hint {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
}

.contact-sent {
    margin-bottom: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    background: #e9f6e6;
    border: 2px solid var(--leaf);
}

.contact-sent strong {
    display: block;
}

@media (min-width: 920px) {
    .contact-grid {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    }
}

/* ---- footer ---- */

.foot {
    --focus: var(--wall);
    background: var(--board-deep);
    color: var(--on-dark-soft);
    border-top: 6px solid var(--leaf);
    padding-top: clamp(40px, 6vw, 72px);
}

.foot a:not(.btn) {
    color: var(--wall);
}

.foot h2 {
    margin: 0 0 .5rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 900;
}

.foot-grid {
    display: grid;
    gap: 28px;
}

.foot-brand img {
    width: 125px;
    margin-bottom: 1rem;
}

.foot address {
    font-style: normal;
    margin-bottom: 1.2rem;
}

.foot-phone {
    font-weight: 900;
    font-size: 1.25rem;
}

.foot-hours {
    margin: 0;
}

.foot-hours div {
    padding-block: .35rem;
    border-bottom: 1px solid #333;
}

.foot-hours dt {
    color: #fff;
    font-weight: 700;
}

.foot-hours dd {
    margin: 0;
}

.foot-links {
    margin: 0 0 1.2rem;
    padding: 0;
    list-style: none;
}

.foot-links li {
    padding-block: .2rem;
}

.foot-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
}

.foot-order {
    font-weight: 800;
}

.foot-bottom {
    margin-top: 36px;
    padding-block: 18px 26px;
    border-top: 1px solid #333;
    font-size: .92rem;
}

.foot-bottom p {
    margin: 0;
}

@media (min-width: 700px) {
    .foot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1060px) {
    .foot-grid {
        grid-template-columns: 1.3fr 1fr 1fr 1fr;
    }
}

/* ---- 404 ---- */

.not-found {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px var(--gutter);
    background: var(--wall);
    text-align: center;
}

.not-found > div {
    max-width: 560px;
}

.not-found img {
    width: 180px;
    margin: 0 auto 1.6rem;
}

.not-found h1 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(2.1rem, 1.4rem + 3vw, 3.2rem);
    line-height: 1.08;
}

.not-found a:not(.btn) {
    color: var(--ink);
    font-weight: 800;
}

/* ---- motion off ---- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ---- lightbox: /js/lightbox.js opens a linked image enlarged over the page, in a <dialog> ----
   Paste this block into the site's css/site.css. The overlay is dark in every theme and brings its own
   colours and box sizing, so it does not depend on the rest of the stylesheet. To recolour it to the
   site, set these on .lightbox (or on :root): --lb-bg, --lb-text, --lb-accent (focus ring),
   --lb-accent-soft (hover). */

[data-lightbox] {
    cursor: zoom-in;
}

.lightbox,
.lightbox * {
    box-sizing: border-box;
}

html:has(.lightbox[open]) {
    overflow: hidden;
    scrollbar-gutter: stable;
}

.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 68px 12px 14px;
    border: 0;
    background: var(--lb-bg, rgba(12, 14, 16, 0.95));
    color: var(--lb-text, #f2f2f2);
    color-scheme: dark;
    overscroll-behavior: contain;
}

.lightbox[open] {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
}

.lightbox::backdrop {
    background: none;
}

.lightbox-stage {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.lightbox-stage img {
    display: block;
    max-width: none;
    border-radius: 4px;
    background: #fff;
}

.lightbox-caption {
    display: grid;
    place-items: center;
    min-height: 44px;
    max-width: none;
    margin: 0;
    padding: 0 56px;
    color: var(--lb-text, #f2f2f2);
    font-size: 0.92rem;
    line-height: 1.35;
    text-align: center;
}

.lightbox-button {
    position: absolute;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lightbox-button:hover {
    border-color: #ffffff;
    background-color: var(--lb-accent-soft, rgba(255, 255, 255, 0.16));
}

.lightbox-button:focus-visible {
    outline: 3px solid var(--lb-accent, #ffffff);
    outline-offset: 3px;
    border-radius: 50%;
}

.lightbox-button[hidden] {
    display: none;
}

.lightbox-close {
    top: 12px;
    right: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}

.lightbox-prev,
.lightbox-next {
    bottom: 14px;
}

.lightbox-prev {
    left: 12px;
    rotate: 180deg;
}

.lightbox-next {
    right: 12px;
}

@media (min-width: 760px) {
    .lightbox {
        padding: 24px 84px 18px;
    }

    .lightbox-caption {
        padding: 0;
    }

    .lightbox-prev,
    .lightbox-next {
        top: calc(50% - 22px);
        bottom: auto;
    }

    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next,
    .lightbox-close {
        right: 20px;
    }

    .lightbox-close {
        top: 20px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .lightbox[open] {
        animation: lightbox-in 0.2s ease;
    }
}

@keyframes lightbox-in {
    from {
        opacity: 0;
    }
}

.lightbox {
    --lb-bg: rgba(20, 20, 20, .96);
    --lb-accent: #f5c518;
    --lb-accent-soft: rgba(245, 197, 24, .2);
}
