/* Maspokat - brand tokens taken from the logo: fresh avocado green, ink, cream. */
:root {
    --green: #8dc63f;
    --green-bright: #a4d65e;
    --green-deep: #3d6b1f;
    --green-ink: #1f3310;
    --ink: #1b2412;
    --ink-soft: #4a5540;
    --cream: #fbf6e6;
    --paper: #ffffff;
    --line: #e3e6d6;
    --pink: #f0627e;
    --yellow: #ffd65a;
    --cocoa: #6b4226;
    --danger: #b3261e;

    --font-display: "Fredoka", "Trebuchet MS", sans-serif;
    --font-marker: "Permanent Marker", "Comic Sans MS", cursive;
    --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius: 20px;
    --radius-small: 12px;
    --shadow: 0 14px 40px -18px rgba(31, 51, 16, 0.45);
    --container: 1160px;
}

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

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.3rem, 5.4vw, 4.1rem);
}

h2 {
    font-size: clamp(1.75rem, 3.4vw, 2.6rem);
}

h3 {
    font-size: 1.25rem;
}

p {
    margin: 0;
}

a {
    color: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

address {
    font-style: normal;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--ink);
    color: #fff;
    border-radius: 10px;
}

.skip-link:focus {
    top: 12px;
}

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

.container-narrow {
    width: min(100% - 40px, 780px);
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

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

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

.button-dark {
    background: var(--ink);
    color: #fff;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18);
}

.button-dark:hover {
    background: #000;
}

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

.button-green:hover {
    background: var(--green-ink);
}

.button-ghost {
    border-color: var(--ink);
    color: var(--ink);
}

.button-ghost:hover {
    background: rgba(27, 36, 18, 0.08);
}

.button-small {
    padding: 10px 18px;
    font-size: 0.95rem;
    box-shadow: none;
}

.button-block {
    width: 100%;
}

.text-link {
    font-weight: 600;
    color: var(--green-deep);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.text-link:hover {
    color: var(--ink);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--green);
    transition: box-shadow 0.2s ease;
}

.site-header.is-stuck {
    box-shadow: 0 6px 24px -12px rgba(31, 51, 16, 0.6);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--ink);
    text-decoration: none;
}

.wordmark-leaf {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.wordmark-name {
    font-family: var(--font-marker);
    font-size: 1.7rem;
    line-height: 1;
    letter-spacing: 0.04em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a:not(.button) {
    font-weight: 600;
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.site-nav a:not(.button):hover,
.site-nav a[aria-current="page"] {
    border-bottom-color: var(--ink);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 2px solid var(--ink);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    display: block;
    width: 20px;
    height: 2px;
    margin-inline: auto;
    background: var(--ink);
    border-radius: 2px;
    content: "";
}

.nav-toggle-bar::before {
    transform: translateY(-6px);
}

.nav-toggle-bar::after {
    transform: translateY(4px);
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--green);
    padding: 56px 0 96px;
}

.hero::after {
    position: absolute;
    right: -140px;
    top: -120px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: var(--green-bright);
    content: "";
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
}

.eyebrow {
    margin-bottom: 14px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-deep);
}

.eyebrow-light {
    color: var(--green-ink);
}

.hero-lead {
    max-width: 54ch;
    margin-top: 20px;
    font-size: 1.15rem;
    color: var(--green-ink);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 2px dashed rgba(31, 51, 16, 0.3);
    font-size: 0.95rem;
    color: var(--green-ink);
}

.hero-facts strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    line-height: 1.1;
    color: var(--ink);
}

.hero-visual {
    position: relative;
}

.hero-photo {
    width: 100%;
    aspect-ratio: 4 / 3.6;
    object-fit: cover;
    border: 6px solid #fff;
    border-radius: 44% 56% 52% 48% / 46% 44% 56% 54%;
    box-shadow: var(--shadow);
}

.hero-sticker {
    position: absolute;
    left: -8px;
    bottom: 18px;
    padding: 10px 18px;
    background: var(--ink);
    color: var(--green-bright);
    border-radius: 14px;
    font-family: var(--font-marker);
    font-size: 1.15rem;
    transform: rotate(-5deg);
}

/* Ticker */
.ticker {
    overflow: hidden;
    background: var(--ink);
    color: var(--cream);
    padding: 14px 0;
}

.ticker-track {
    display: flex;
    gap: 44px;
    width: max-content;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    animation: ticker 36s linear infinite;
}

.ticker-track span::after {
    margin-left: 44px;
    color: var(--green);
    content: "\2022";
}

@keyframes ticker {
    to {
        transform: translateX(-50%);
    }
}

/* Sections */
.section {
    padding: 88px 0;
}

.section-tight {
    padding: 48px 0 88px;
}

.section-cream {
    background: var(--cream);
}

.section-green {
    background: var(--green);
}

.section-head {
    max-width: 760px;
    margin-bottom: 44px;
}

.section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    max-width: none;
}

.section-lead {
    margin-top: 14px;
    font-size: 1.1rem;
    color: var(--ink-soft);
}

.section-head-light .section-lead {
    color: var(--green-ink);
}

/* Values */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    padding: 30px;
    border: 2px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.value-number {
    display: inline-block;
    margin-bottom: 18px;
    font-family: var(--font-marker);
    font-size: 1.6rem;
    color: var(--green-deep);
}

.value-card p {
    margin-top: 10px;
    color: var(--ink-soft);
}

/* Menu */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.menu-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 2px 0 var(--line);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.menu-photo {
    position: relative;
    border-bottom: 6px solid var(--accent, var(--green));
}

.menu-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.accent-green { --accent: var(--green); }
.accent-cream { --accent: #e9d9a8; }
.accent-cocoa { --accent: var(--cocoa); }
.accent-pink { --accent: var(--pink); }
.accent-yellow { --accent: var(--yellow); }

.menu-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 5px 12px;
    background: var(--ink);
    color: #fff;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.menu-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    padding: 20px 20px 22px;
}

.menu-tagline {
    font-family: var(--font-marker);
    font-size: 0.95rem;
    color: var(--green-deep);
}

.menu-body p:not(.menu-tagline):not(.menu-price) {
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.menu-price {
    margin-top: auto;
    padding-top: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
}

.menu-note {
    margin-top: 28px;
    font-size: 0.92rem;
    color: var(--ink-soft);
}

/* Bulk order */
.occasion-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 48px;
}

.occasion-grid li {
    padding: 22px;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background: var(--green-bright);
}

.occasion-grid p {
    margin-top: 8px;
    font-size: 0.95rem;
    color: var(--green-ink);
}

.order-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
    align-items: start;
}

.order-steps h3,
.order-form-card h3 {
    font-size: 1.5rem;
}

.steps {
    display: grid;
    gap: 20px;
    margin-top: 22px;
    counter-reset: step;
}

.steps li {
    position: relative;
    padding-left: 60px;
    counter-increment: step;
}

.steps li::before {
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: var(--ink);
    color: var(--green-bright);
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 700;
    content: counter(step);
}

.steps strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.steps span {
    color: var(--green-ink);
}

.order-photo {
    width: 100%;
    margin-top: 32px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 5px solid #fff;
    border-radius: var(--radius);
    transform: rotate(-1.5deg);
}

.order-form-card {
    padding: 34px;
    background: var(--paper);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.form-intro {
    margin-top: 6px;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.order-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 18px;
    margin-top: 24px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.field-wide {
    grid-column: 1 / -1;
}

.field-trap {
    position: absolute;
    left: -9999px;
}

label {
    font-size: 0.92rem;
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--line);
    border-radius: var(--radius-small);
    background: #fff;
    color: var(--ink);
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none;
    border-color: var(--green-deep);
    box-shadow: 0 0 0 4px rgba(141, 198, 63, 0.35);
}

[aria-invalid="true"] {
    border-color: var(--danger);
}

.field-error {
    font-size: 0.88rem;
    color: var(--danger);
}

.form-error-summary {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-small);
    background: #fdecea;
    color: var(--danger);
    font-weight: 600;
}

.form-success {
    display: grid;
    gap: 14px;
    justify-items: start;
    padding: 12px 0;
}

/* Outlets */
.outlet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.outlet-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 26px;
    border: 2px solid var(--line);
    border-top: 8px solid var(--green);
    border-radius: var(--radius);
}

.outlet-area {
    font-weight: 600;
    color: var(--green-deep);
}

.outlet-card address,
.outlet-hours {
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.outlet-note {
    align-self: flex-start;
    padding: 4px 12px;
    background: #fde3e9;
    color: #a3223f;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.outlet-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: auto;
    padding-top: 12px;
}

/* Blog */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 2px 0 var(--line);
}

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

.post-card:hover .post-card-photo img {
    transform: scale(1.04);
}

.post-card-photo {
    display: block;
    overflow: hidden;
}

.post-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
}

.post-card-body > p:last-child {
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.post-meta > :first-child {
    color: var(--green-deep);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.post-card-title {
    font-size: 1.25rem;
}

.post-card-title a {
    text-decoration: none;
}

.post-card-title a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.page-hero {
    padding: 48px 0 40px;
    background: var(--cream);
}

.page-hero h1 {
    font-size: clamp(2rem, 4.4vw, 3.2rem);
    margin-top: 10px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.breadcrumb > * + *::before {
    margin-right: 6px;
    content: "/";
}

.breadcrumb [aria-current] {
    max-width: 40ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.chip {
    display: inline-block;
    padding: 8px 16px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
}

.chip:hover,
.chip[aria-current="true"] {
    background: var(--ink);
    color: #fff;
}

.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 48px;
}

.pager-link {
    padding: 10px 18px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
}

.pager-link[aria-disabled="true"] {
    border-color: var(--line);
    color: #9aa38f;
}

.empty-state {
    padding: 40px 0;
    color: var(--ink-soft);
}

/* Article */
.article-excerpt {
    margin-top: 16px;
    font-size: 1.2rem;
    color: var(--ink-soft);
}

.article-cover {
    width: 100%;
    margin-top: 36px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius);
}

.prose {
    padding: 36px 0 12px;
    font-size: 1.08rem;
    line-height: 1.8;
}

.prose > * + * {
    margin-top: 1.1em;
}

.prose h2 {
    margin-top: 1.8em;
    font-size: 1.6rem;
}

.prose h3 {
    margin-top: 1.5em;
}

.prose ul,
.prose ol {
    padding-left: 1.3em;
}

.prose ul {
    list-style: disc;
}

.prose ol {
    list-style: decimal;
}

.prose li + li {
    margin-top: 0.4em;
}

.prose a {
    color: var(--green-deep);
    font-weight: 600;
}

.prose blockquote {
    margin-inline: 0;
    padding: 4px 20px;
    border-left: 5px solid var(--green);
    color: var(--ink-soft);
}

.prose img {
    border-radius: var(--radius-small);
}

.article-cta {
    display: grid;
    gap: 12px;
    justify-items: start;
    margin: 36px 0 80px;
    padding: 32px;
    background: var(--green);
    border-radius: var(--radius);
}

.article-cta h2 {
    font-size: 1.6rem;
}

/* FAQ */
.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 2px solid var(--line);
    border-radius: var(--radius-small);
    background: var(--paper);
}

.faq-item[open] {
    border-color: var(--green);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    flex: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--green-deep);
    content: "+";
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-item p {
    padding: 0 22px 20px;
    color: var(--ink-soft);
}

/* CTA band */
.cta-band {
    padding: 64px 0;
    background: var(--yellow);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cta-inner p {
    margin-top: 10px;
    font-size: 1.05rem;
}

.cta-inner .button {
    flex: none;
}

/* Footer */
.site-footer {
    padding: 64px 0 28px;
    background: var(--ink);
    color: #d9dfcf;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
}

.wordmark-footer {
    color: var(--green);
}

.footer-claim {
    margin-top: 12px;
    max-width: 32ch;
}

.hashtag {
    margin-top: 10px;
    font-family: var(--font-marker);
    color: var(--green-bright);
}

.footer-title {
    margin-bottom: 14px;
    font-size: 1.05rem;
    color: #fff;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a {
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--green-bright);
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.88rem;
    color: #a9b29c;
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 60;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    background: #1faa53;
    border-radius: 50%;
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

/* Reveal on scroll (only when JS is running) */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .outlet-grid,
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px 20px 24px;
        background: var(--green);
        box-shadow: 0 18px 30px -18px rgba(31, 51, 16, 0.6);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a:not(.button) {
        padding: 12px 0;
        font-size: 1.1rem;
    }

    .site-nav .button {
        margin-top: 10px;
    }

    .hero {
        padding: 36px 0 64px;
    }

    .hero-grid,
    .order-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        max-width: 460px;
    }

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

    .section {
        padding: 64px 0;
    }

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

    .footer-grid > :first-child {
        grid-column: 1 / -1;
    }

    .cta-inner,
    .section-head-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .menu-grid,
    .outlet-grid,
    .post-grid,
    .occasion-grid,
    .order-form {
        grid-template-columns: 1fr;
    }

    .order-form-card {
        padding: 24px 20px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-facts {
        gap: 16px 24px;
    }
}

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

    .ticker-track {
        animation: none;
    }

    .button,
    .menu-card,
    .post-card-photo img,
    .js [data-reveal] {
        transition: none;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* Brand assets: logo images, square menu photos, size prices, photo gallery */
.wordmark-logo {
    width: auto;
    height: 38px;
}

.footer-logo {
    width: 200px;
    height: auto;
}

.hero-photo {
    aspect-ratio: 4 / 3.4;
}

.menu-photo img {
    aspect-ratio: 1 / 1;
}

.menu-sizes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
    gap: 8px;
    margin: auto 0 0;
    padding-top: 12px;
}

.menu-sizes div {
    padding: 8px 6px;
    background: var(--cream);
    border-radius: var(--radius-small);
    text-align: center;
}

.menu-sizes dt {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.menu-sizes dd {
    margin: 2px 0 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.98rem;
}

.menu-extras {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 28px 0 18px;
    padding: 0;
    list-style: none;
}

.menu-extras li {
    padding: 18px 20px;
    background: var(--paper);
    border: 2px dashed var(--green);
    border-radius: var(--radius);
    color: var(--ink-soft);
}

.menu-extras strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--ink);
}

.section-lime {
    background: #f1f1a2;
}

.moment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.moment-grid li {
    overflow: hidden;
    border: 5px solid #fff;
    border-radius: var(--radius);
    box-shadow: 0 2px 0 rgba(31, 51, 16, 0.12);
    aspect-ratio: 4 / 5;
}

.moment-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 860px) {
    .moment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .wordmark-logo {
        height: 32px;
    }

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

    .moment-grid {
        gap: 10px;
    }

    .moment-grid li {
        border-width: 3px;
    }
}

/* Size prices as rows so labels and prices never crowd each other */
.menu-sizes {
    display: block;
    margin: auto 0 0;
    padding-top: 14px;
}

.menu-sizes div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 2px;
    background: none;
    border-radius: 0;
    border-top: 1px dashed var(--line);
    text-align: left;
}

.menu-sizes dt {
    font-size: 0.82rem;
}

.menu-sizes dd {
    margin: 0;
    font-size: 1.05rem;
    white-space: nowrap;
}

.button-outline {
    border-color: var(--green-deep);
    color: var(--green-deep);
    background: transparent;
}

.button-outline:hover {
    background: var(--cream);
}

/* Outlets with photo, details and map */
.outlet-list {
    display: grid;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.outlet-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 1.1fr);
    gap: 0;
    padding: 0;
    overflow: hidden;
    border: 2px solid var(--line);
    border-top: 8px solid var(--green);
    border-radius: var(--radius);
    background: var(--paper);
    scroll-margin-top: 96px;
}

.outlet-photo {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
}

.outlet-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 26px 28px;
}

.outlet-details {
    display: grid;
    gap: 10px;
    margin: 8px 0 0;
}

.outlet-details dt {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.outlet-details dd {
    margin: 2px 0 0;
    font-size: 0.97rem;
}

.outlet-details address {
    font-style: normal;
    color: var(--ink);
}

.outlet-actions {
    align-items: center;
    gap: 10px 14px;
    padding-top: 16px;
}

.outlet-map,
.footer-map {
    width: 100%;
    height: 100%;
    min-height: 260px;
    border: 0;
    background: var(--line);
}

/* Partner marquee */
.partner-band {
    padding: 44px 0 48px;
    background: var(--ink);
    color: var(--cream);
    overflow: hidden;
}

.partner-title {
    margin-bottom: 24px;
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    color: var(--green-bright);
}

.partner-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partner-track {
    display: flex;
    align-items: center;
    gap: 18px;
    width: max-content;
    margin: 0;
    padding: 0 9px;
    list-style: none;
    animation: ticker 48s linear infinite;
}

.partner-marquee:hover .partner-track {
    animation-play-state: paused;
}

.partner-track li {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 12px 26px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    white-space: nowrap;
}

.partner-track img {
    width: auto;
    height: 48px;
    max-width: 180px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 4px 8px;
}

/* Moments next to reviews */
.moment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.moment-layout .moment-grid {
    grid-template-columns: repeat(2, 1fr);
}

.review-heading {
    margin-bottom: 16px;
    font-size: 1.35rem;
}

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

.review-card {
    padding: 22px 24px;
    background: var(--paper);
    border-radius: var(--radius);
    box-shadow: 0 2px 0 rgba(31, 51, 16, 0.12);
}

.review-stars {
    color: #b97f00;
    font-size: 1.1rem;
    letter-spacing: 0.12em;
}

.review-card blockquote {
    margin: 8px 0 12px;
    color: var(--ink);
}

.review-author {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    font-size: 0.92rem;
}

.review-author span {
    color: var(--ink-soft);
}

/* Footer: outlets and map */
.footer-visit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 40px;
    margin-top: 44px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-outlets {
    display: grid;
    gap: 16px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.footer-outlets a {
    color: #fff;
    text-decoration: none;
}

.footer-outlets a:hover {
    color: var(--green-bright);
    text-decoration: underline;
}

.footer-outlets span {
    display: block;
    font-size: 0.9rem;
    color: #a9b29c;
}

.footer-map {
    min-height: 280px;
    border-radius: var(--radius);
}

/* Error pages */
.error-page {
    display: grid;
    place-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 32px 16px;
    background: var(--green);
    text-align: center;
}

.error-card {
    width: min(100%, 560px);
    padding: 40px 32px 36px;
    background: var(--paper);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.error-logo {
    width: 180px;
    height: auto;
    margin: 0 auto 22px;
}

.error-code {
    font-family: var(--font-marker);
    font-size: clamp(4.5rem, 22vw, 7.5rem);
    line-height: 1;
    color: var(--green-deep);
}

.error-card h1 {
    margin-top: 8px;
    font-size: clamp(1.5rem, 5vw, 2rem);
}

.error-card p {
    margin-top: 12px;
    color: var(--ink-soft);
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

.error-card .error-hashtag {
    margin-top: 22px;
    font-family: var(--font-marker);
    color: var(--green-deep);
}

@media (max-width: 1024px) {
    .outlet-card {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    }

    .outlet-map {
        grid-column: 1 / -1;
        min-height: 240px;
    }
}

@media (max-width: 860px) {
    .moment-layout,
    .footer-visit {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .outlet-card {
        grid-template-columns: 1fr;
    }

    .outlet-photo {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .outlet-info {
        padding: 20px;
    }

    .outlet-actions .button {
        flex: 1 1 auto;
    }

    .partner-track li {
        min-height: 60px;
        padding: 10px 18px;
        font-size: 0.95rem;
    }

    .error-card {
        padding: 32px 20px 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .partner-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: auto;
    }

    .partner-track li[aria-hidden="true"] {
        display: none;
    }
}

/* Partner logos: image only, on a white card */
.partner-track li.has-logo {
    padding: 14px 30px;
    background: #fff;
    border-color: #fff;
}

.partner-track li.has-logo img {
    height: 44px;
    max-width: 200px;
    padding: 0;
    border-radius: 0;
    background: none;
}

.partner-track a {
    display: flex;
    align-items: center;
}

/* Partner band: plain logos on a light background, no cards */
.partner-band {
    background: var(--paper);
    color: var(--ink);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.partner-title {
    color: var(--green-deep);
}

.partner-track {
    gap: 64px;
    padding: 0 32px;
}

.partner-track li,
.partner-track li.has-logo {
    min-height: 64px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
}

.partner-track li.has-logo img {
    height: 52px;
    max-width: 220px;
}

@media (max-width: 600px) {
    .partner-track {
        gap: 40px;
    }

    .partner-track li.has-logo img {
        height: 40px;
        max-width: 170px;
    }
}
