/*
Theme Name: Stanwix Tandoori
Theme URI: https://www.stanwixtandoori.co.uk/
Description: A responsive, editable one-page restaurant theme for Stanwix Tandoori in Carlisle. Uses the WordPress Customizer and free Contact Form 7 only.
Version: 1.0.0
Author: Stanwix Tandoori
Text Domain: stanwix-tandoori
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face {
    font-family: 'Romic';
    src: url('fonts/romic-bold.woff2') format('woff2'),
         url('fonts/romic-bold.woff') format('woff');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --primary-color: #C9961B;
    --secondary-color: #E8C86A;
    --dark-bg: #131713;
    --light-bg: #FFFDF8;
    --off-white: #F3EEE4;
    --lavender: #77749B;
    --text-color: #292621;
    --muted: #777067;
    --white: #FFFFFF;
    --heading-font: 'Romic', Georgia, serif;
    --body-font: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
    --container: 1180px;
    --header-height: 92px;
    --radius: 2px;
    --shadow: 0 22px 70px rgba(19, 23, 19, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    background: var(--light-bg);
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    left: 0;
    right: 0;
}

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

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 4px;
}

.screen-reader-text {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.skip-link {
    background: var(--light-bg);
    color: var(--text-color);
    left: 14px;
    padding: 10px 16px;
    position: fixed;
    top: -100px;
    z-index: 3000;
}

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

.container {
    margin: 0 auto;
    max-width: var(--container);
    padding-left: 32px;
    padding-right: 32px;
    width: 100%;
}

.section {
    padding: 132px 0;
}

.section-head {
    margin-bottom: 58px;
    max-width: 720px;
}

.section-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head--center .section-intro {
    margin-left: auto;
    margin-right: auto;
}

.eyebrow {
    color: var(--lavender);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    line-height: 1.3;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.eyebrow::before {
    color: var(--primary-color);
    content: '/';
    display: inline-block;
    margin-right: 10px;
}

.section-title,
.story-copy h2,
.booking-aside h3,
.contact-block h2,
.parallax-content h2 {
    color: var(--primary-color);
    font-family: var(--heading-font);
    font-weight: 700;
    letter-spacing: 0.005em;
    line-height: 1.05;
    margin: 0;
}

.section-title {
    font-size: clamp(2.7rem, 5vw, 4.6rem);
}

.section-intro {
    color: var(--muted);
    font-size: 1.06rem;
    margin: 22px 0 0;
    max-width: 650px;
}

.ornament {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.ornament::before,
.ornament::after {
    background: var(--primary-color);
    content: '';
    display: block;
    height: 1px;
    opacity: 0.55;
    width: 54px;
}

.ornament span {
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: block;
    height: 7px;
    width: 7px;
}

.section-head--center .ornament {
    justify-content: center;
}

/* Header */
.site-header {
    background: transparent;
    color: var(--white);
    left: 0;
    padding: 25px 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: background-color 280ms ease, box-shadow 280ms ease, padding 280ms ease;
    z-index: 1000;
}

.site-header.scrolled {
    background: rgba(19, 23, 19, 0.96);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    padding: 13px 0;
}

.header-inner {
    align-items: center;
    display: flex;
    gap: 26px;
    justify-content: space-between;
    position: relative;
}

.header-brand {
    color: var(--white);
    display: flex;
    flex-direction: column;
    line-height: 1;
    min-width: 0;
    text-decoration: none;
}

.brand-name {
    color: var(--white);
    font-family: var(--heading-font);
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.24);
}

.brand-sub {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.61rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    margin-top: 8px;
    text-transform: uppercase;
}

.header-scroll-logo {
    height: 52px;
    left: 50%;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.82);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
    visibility: hidden;
    width: 52px;
}

.site-header.scrolled .header-scroll-logo {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    visibility: visible;
}

.header-actions,
.hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.header-actions {
    justify-content: flex-end;
}

.button {
    align-items: center;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.69rem;
    font-weight: 700;
    justify-content: center;
    letter-spacing: 0.18em;
    line-height: 1.1;
    min-height: 48px;
    padding: 14px 22px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.header-actions .button,
.hero-actions .button {
    flex: 0 0 180px;
    width: 180px;
}

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

.button--outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.72);
    color: var(--white);
}

.button--outline:hover,
.button--outline:focus-visible {
    background: var(--white);
    border-color: var(--white);
    color: var(--dark-bg);
}

.button--dark {
    background: var(--dark-bg);
    border-color: var(--dark-bg);
    color: var(--white);
}

.button--dark:hover,
.button--dark:focus-visible {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-bg);
}

.button--gold {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-bg);
}

.button--gold:hover,
.button--gold:focus-visible {
    background: var(--white);
    border-color: var(--white);
}

/* Hero */
.hero {
    align-items: center;
    background-attachment: fixed;
    background-image: var(--hero-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--white);
    display: flex;
    justify-content: center;
    min-height: 100svh;
    overflow: hidden;
    padding: 148px 0 82px;
    position: relative;
    text-align: center;
}

.hero::before {
    background: linear-gradient(180deg, rgba(11, 15, 12, 0.68) 0%, rgba(11, 15, 12, 0.2) 42%, rgba(11, 15, 12, 0.79) 100%);
    content: '';
    inset: 0;
    position: absolute;
}

.hero::after {
    background: radial-gradient(circle at center, transparent 0%, rgba(10, 12, 10, 0.22) 100%);
    content: '';
    inset: 0;
    position: absolute;
}

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--white);
    font-family: var(--heading-font);
    font-size: clamp(2rem, 7vw, 4.5rem);
    font-weight: 700;
    letter-spacing: 0.025em;
    line-height: 0.98;
    margin: 0;
    text-shadow: 0 5px 22px rgba(0, 0, 0, 0.52);
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.35);
}

.hero-sub {
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    margin: 27px 0 39px;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-actions {
    justify-content: center;
}

.hero-scroll {
    bottom: 31px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.64rem;
    font-weight: 700;
    left: 50%;
    letter-spacing: 0.2em;
    position: absolute;
    text-decoration: none;
    text-transform: uppercase;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 1;
}

.hero-scroll::after {
    border-bottom: 1px solid var(--secondary-color);
    border-right: 1px solid var(--secondary-color);
    content: '';
    display: block;
    height: 8px;
    margin: 9px auto 0;
    transform: rotate(45deg);
    width: 8px;
}

/* Story */
.story-section {
    background: var(--light-bg);
}

.story-block {
    align-items: center;
    display: grid;
    gap: clamp(42px, 8vw, 100px);
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    margin-bottom: 138px;
}

.story-block:last-child {
    margin-bottom: 0;
}

.story-block--reverse .story-media {
    grid-column: 1;
    grid-row: 1;
}

.story-block--reverse .story-copy {
    grid-column: 2;
    grid-row: 1;
}

.story-media {
    min-height: 520px;
    overflow: hidden;
    position: relative;
}

.story-media::before {
    border: 1px solid var(--primary-color);
    content: '';
    inset: 14px;
    opacity: 0.55;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

.story-media img {
    height: 100%;
    object-fit: cover;
    transition: transform 700ms ease;
    width: 100%;
}

.story-media:hover img {
    transform: scale(1.045);
}

.story-media--stacked {
    display: grid;
    gap: 0;
    grid-template-columns: 1fr;
    min-height: 0;
}

.story-media--stacked img {
    aspect-ratio: 1500 / 693;
    height: auto;
    min-height: 0;
}

.story-media--stacked img + img {
    border-top: 0;
    margin-top: 0;
}

.story-stamp {
    align-items: center;
    background: var(--primary-color);
    border-radius: 50%;
    bottom: 30px;
    color: var(--dark-bg);
    display: flex;
    font-size: 0.62rem;
    font-weight: 700;
    height: 88px;
    justify-content: center;
    letter-spacing: 0.08em;
    line-height: 1.25;
    padding: 13px;
    position: absolute;
    right: 30px;
    text-align: center;
    text-transform: uppercase;
    width: 88px;
    z-index: 2;
}

.story-copy {
    max-width: 520px;
}

.story-copy h2 {
    font-size: clamp(2.35rem, 4vw, 4rem);
}

.story-copy h2 .eyebrow {
    display: block;
    font-family: var(--body-font);
    font-size: 0.7rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

.story-copy p {
    color: var(--muted);
    font-size: 1.02rem;
    margin: 22px 0 0;
}

.story-copy .button {
    margin-top: 30px;
}

/* Parallax banners */
.parallax-banner {
    align-items: center;
    background-attachment: fixed;
    background-image: var(--parallax-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    min-height: 435px;
    overflow: hidden;
    padding: 90px 0;
    position: relative;
    text-align: center;
}

.parallax-banner::before {
    background: rgba(17, 20, 17, 0.68);
    content: '';
    inset: 0;
    position: absolute;
}

.parallax-content {
    max-width: 800px;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}

.parallax-content h2 {
    color: var(--primary-color);
    font-size: clamp(2.7rem, 6vw, 5rem);
}

.parallax-content p {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-style: italic;
    margin: 24px auto 0;
    max-width: 650px;
}

.parallax-banner--compact {
    min-height: 350px;
}

/* Signature dishes */
.signature-section {
    background: var(--off-white);
}

.signature-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.signature-card {
    background: var(--light-bg);
    box-shadow: 0 10px 35px rgba(19, 23, 19, 0.06);
    min-width: 0;
    overflow: hidden;
    transition: box-shadow 260ms ease, transform 260ms ease;
}

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

.signature-card__media {
    aspect-ratio: 1 / 0.88;
    overflow: hidden;
}

.signature-card__media img {
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
    width: 100%;
}

.signature-card:hover .signature-card__media img {
    transform: scale(1.06);
}

.signature-card__body {
    padding: 24px 25px 28px;
}

.card-number {
    color: var(--primary-color);
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: 11px;
}

.signature-card h3 {
    color: var(--text-color);
    font-family: var(--heading-font);
    font-size: 1.65rem;
    line-height: 1.05;
    margin: 0;
}

.signature-card p {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 13px 0 0;
}

.section-action {
    margin: 38px 0 0;
    text-align: center;
}

/* Full menus */
.full-menus-section {
    background: var(--dark-bg);
    color: var(--white);
}

.full-menus-section .eyebrow,
.full-menus-section .section-intro {
    color: rgba(255, 255, 255, 0.68);
}

.full-menus-section .section-title {
    color: var(--white);
}

.full-menus-section .eyebrow::before {
    color: var(--primary-color);
}

.full-menu-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.menu-card {
    background: var(--light-bg);
    color: var(--text-color);
    min-width: 0;
    overflow: hidden;
    transition: box-shadow 260ms ease, transform 260ms ease;
}

.menu-card:hover {
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
    transform: translateY(-5px);
}

.menu-card__trigger {
    color: inherit;
    display: block;
    height: 100%;
    text-decoration: none;
}

.menu-card__cover {
    align-items: center;
    background: #e9e2d3;
    display: flex;
    height: 250px;
    justify-content: center;
    overflow: hidden;
    padding: 12px;
}

.menu-card__cover img {
    height: 100%;
    object-fit: contain;
    transition: transform 600ms ease;
    width: 100%;
}

.menu-card:hover .menu-card__cover img {
    transform: scale(1.035);
}

.menu-card__body {
    padding: 22px 22px 25px;
}

.menu-card__body h3 {
    color: var(--text-color);
    font-family: var(--heading-font);
    font-size: 1.45rem;
    line-height: 1.08;
    margin: 0;
}

.menu-card__body p {
    color: var(--muted);
    font-size: 0.84rem;
    margin: 10px 0 0;
}

.menu-card__cta {
    color: var(--primary-color);
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    margin-top: 20px;
    text-transform: uppercase;
}

/* Menu viewer */
.menu-viewer {
    align-items: center;
    background: rgba(9, 12, 10, 0.96);
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 22px;
    pointer-events: none;
    position: fixed;
    transition: opacity 220ms ease, visibility 220ms ease;
    visibility: hidden;
    z-index: 2100;
}

.menu-viewer.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.menu-viewer__backdrop {
    inset: 0;
    position: absolute;
}

.menu-viewer__panel {
    display: flex;
    flex-direction: column;
    height: min(94vh, 980px);
    max-width: 1320px;
    position: relative;
    width: min(94vw, 1320px);
    z-index: 1;
}

.menu-viewer__header {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding: 0 0 15px;
}

.menu-viewer__title {
    color: var(--white);
    font-family: var(--heading-font);
    font-size: clamp(1.55rem, 3vw, 2.3rem);
    margin: 0;
}

.menu-viewer__close {
    align-items: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    font-size: 1.4rem;
    height: 45px;
    justify-content: center;
    line-height: 1;
    width: 45px;
}

.menu-viewer__close:hover {
    background: var(--white);
    color: var(--dark-bg);
}

.menu-viewer__stage {
    align-items: center;
    display: flex;
    flex: 1;
    gap: 16px;
    min-height: 0;
}

.menu-viewer__image-wrap {
    align-items: center;
    display: flex;
    flex: 1;
    height: 100%;
    justify-content: center;
    min-width: 0;
    overflow: auto;
    overscroll-behavior: contain;
    touch-action: pan-x pan-y;
}

.menu-viewer__image-wrap.is-zoomed {
    align-items: flex-start;
    justify-content: flex-start;
}

.menu-viewer__image {
    height: auto;
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.52);
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.menu-viewer__image.is-zoomed {
    max-height: none;
    max-width: none;
}

.menu-viewer__nav {
    align-items: center;
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    color: var(--dark-bg);
    cursor: pointer;
    display: flex;
    flex: 0 0 auto;
    font-size: 1.8rem;
    height: 50px;
    justify-content: center;
    line-height: 1;
    padding: 0 0 3px;
    transition: opacity 180ms ease, transform 180ms ease;
    width: 50px;
}

.menu-viewer__nav:hover:not(:disabled) {
    transform: scale(1.08);
}

.menu-viewer__nav:disabled {
    cursor: default;
    opacity: 0.25;
}

.menu-viewer__footer {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: center;
    padding-top: 15px;
}

.menu-viewer__counter,
.menu-viewer__hint {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    margin: 0;
    text-transform: uppercase;
}

.menu-viewer__dots {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
}

.menu-viewer__zoom-controls {
    align-items: center;
    display: flex;
    gap: 5px;
}

.menu-viewer__zoom,
.menu-viewer__zoom-reset {
    align-items: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: var(--white);
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    min-height: 42px;
}

.menu-viewer__zoom {
    font-size: 1.35rem;
    line-height: 1;
    width: 42px;
}

.menu-viewer__zoom-level {
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 700;
    min-width: 45px;
    text-align: center;
}

.menu-viewer__zoom-reset {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 8px 11px;
    text-transform: uppercase;
}

.menu-viewer__zoom:hover:not(:disabled),
.menu-viewer__zoom-reset:hover:not(:disabled) {
    background: var(--white);
    border-color: var(--white);
    color: var(--dark-bg);
}

.menu-viewer__zoom:disabled {
    cursor: default;
    opacity: 0.28;
}

.menu-viewer__dot {
    background: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    height: 10px;
    padding: 0;
    width: 10px;
}

.menu-viewer__dot.is-active {
    background: var(--primary-color);
}

.menu-viewer__hint {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.09em;
    padding-top: 6px;
    text-align: center;
}

/* Gallery */
.gallery-section {
    background: var(--off-white);
}

.gallery-grid {
    display: grid;
    gap: 13px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-item {
    aspect-ratio: 1;
    background: #ded7c8;
    overflow: hidden;
}

.gallery-item img {
    height: 100%;
    object-fit: cover;
    transition: filter 300ms ease, transform 600ms ease;
    width: 100%;
}

.gallery-item:hover img {
    filter: saturate(1.08);
    transform: scale(1.08);
}

/* Booking */
.booking-section {
    background: var(--light-bg);
}

.booking-layout {
    align-items: start;
    display: grid;
    gap: clamp(42px, 7vw, 90px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
}

.booking-aside {
    padding-top: 12px;
}

.booking-aside h3 {
    color: var(--text-color);
    font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.booking-aside p {
    color: var(--muted);
    font-size: 1rem;
    margin: 22px 0 0;
}

.booking-aside__callout {
    border-left: 2px solid var(--primary-color);
    margin-top: 32px;
    padding: 2px 0 2px 20px;
}

.booking-aside__callout p {
    color: var(--text-color);
    font-size: 0.92rem;
    margin: 0;
}

.booking-contact {
    display: grid;
    gap: 8px;
    margin-top: 30px;
}

.booking-contact a {
    align-items: baseline;
    color: var(--primary-color);
    display: flex;
    flex-wrap: nowrap;
    font-family: var(--heading-font);
    font-size: 1.35rem;
    gap: 10px;
    min-width: 0;
    text-decoration: none;
}

.booking-contact a small {
    color: var(--muted);
    font-family: var(--body-font);
    font-size: 0.62rem;
    font-weight: 700;
    flex: 0 0 auto;
    letter-spacing: 0.12em;
    white-space: nowrap;
    text-transform: uppercase;
}

.booking-contact__value {
    font-size: clamp(0.84rem, 2.8vw, 1.35rem);
    min-width: 0;
    overflow-wrap: anywhere;
}

.booking-contact a:hover {
    color: var(--text-color);
}

.booking-panel {
    background: var(--off-white);
    box-shadow: var(--shadow);
    padding: clamp(25px, 5vw, 54px);
}

.booking-panel h3 {
    color: var(--text-color);
    font-family: var(--heading-font);
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1.05;
    margin: 0;
    text-align: center;
}

.booking-panel__note {
    color: var(--muted);
    font-size: 0.86rem;
    margin: 14px auto 30px;
    max-width: 510px;
    text-align: center;
}

.form-placeholder {
    background: var(--light-bg);
    border: 1px dashed rgba(41, 38, 33, 0.24);
    color: var(--muted);
    padding: 24px;
    text-align: center;
}

.form-placeholder code {
    background: var(--off-white);
    color: var(--text-color);
    display: block;
    font-size: 0.78rem;
    margin: 12px 0;
    overflow-wrap: anywhere;
    padding: 12px;
}

.reservation-form,
.wpcf7-form {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wpcf7-form p {
    margin: 0;
}

.reservation-form__field,
.wpcf7-form-control-wrap,
.wpcf7-form label {
    display: block;
    min-width: 0;
}

.reservation-form__field--wide,
.wpcf7-form p:has(textarea),
.wpcf7-form p:has(input[type="submit"]),
.wpcf7-form .wpcf7-not-valid-tip,
.wpcf7-form .wpcf7-response-output {
    grid-column: 1 / -1;
}

.reservation-form label,
.wpcf7-form label {
    color: var(--text-color);
    display: grid;
    font-size: 0.66rem;
    font-weight: 700;
    gap: 7px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.reservation-form input,
.reservation-form select,
.reservation-form textarea,
.wpcf7-form input:not([type="submit"]),
.wpcf7-form select,
.wpcf7-form textarea {
    background: var(--light-bg);
    border: 1px solid rgba(41, 38, 33, 0.2);
    border-radius: 0;
    color: var(--text-color);
    min-height: 48px;
    padding: 11px 13px;
    width: 100%;
}

.reservation-form textarea,
.wpcf7-form textarea {
    min-height: 112px;
    resize: vertical;
}

.reservation-form__submit,
.wpcf7-form p:has(input[type="submit"]) {
    margin: 2px 0 0;
    text-align: center;
}

.reservation-form__submit button,
.wpcf7-form input[type="submit"] {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--dark-bg);
    cursor: pointer;
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    min-height: 48px;
    padding: 13px 24px;
    text-transform: uppercase;
}

.reservation-form__submit button:hover,
.wpcf7-form input[type="submit"]:hover {
    background: var(--dark-bg);
    border-color: var(--dark-bg);
    color: var(--white);
}

/* Map */
.map-section {
    background: var(--off-white);
    padding: 115px 0 132px;
}

.map-copy {
    align-items: end;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    margin-bottom: 42px;
}

.map-copy .section-head {
    margin-bottom: 0;
}

.map-address {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 18px 0 0;
}

.map-link {
    color: var(--text-color);
    flex: 0 0 auto;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-decoration: none;
    text-transform: uppercase;
}

.map-link:hover {
    color: var(--primary-color);
}

.map-embed {
    background: #d7d0c1;
    box-shadow: var(--shadow);
    min-height: 420px;
    overflow: hidden;
}

.map-embed iframe {
    border: 0;
    display: block;
    filter: saturate(0.7) sepia(0.12);
    height: 420px;
    width: 100%;
}

/* Contact and footer */
.contact-section {
    background: var(--dark-bg);
    color: var(--white);
    padding: 92px 0 50px;
}

.contact-grid {
    display: grid;
    gap: 56px;
    grid-template-columns: 1.15fr 0.85fr 1fr;
}

.contact-block h2 {
    color: var(--white);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.contact-block h3 {
    color: var(--primary-color);
    font-size: 0.69rem;
    letter-spacing: 0.19em;
    margin: 5px 0 20px;
    text-transform: uppercase;
}

.footer-logo {
    height: 112px;
    margin-bottom: 22px;
    object-fit: contain;
    object-position: left center;
    width: 112px;
}

.contact-location,
.contact-block p {
    color: rgba(255, 255, 255, 0.63);
    font-size: 0.9rem;
    margin: 0;
}

.contact-block a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.contact-block a:hover {
    color: var(--primary-color);
}

.contact-details {
    display: grid;
    gap: 5px;
    margin-top: 23px;
}

.hours-list {
    display: grid;
    gap: 8px;
}

.hours-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.68);
    display: flex;
    font-size: 0.83rem;
    gap: 20px;
    justify-content: space-between;
    padding-bottom: 8px;
}

.hours-row span:last-child {
    color: var(--primary-color);
    white-space: nowrap;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.social-button {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    display: inline-flex;
    gap: 9px;
    min-height: 44px;
    padding: 10px 14px;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease;
}

.social-button:hover {
    background: var(--white);
    color: var(--dark-bg);
}

.social-button svg,
.footer-social svg {
    fill: currentColor;
    height: 18px;
    width: 18px;
}

.social-button span {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-footer {
    background: var(--dark-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.45);
    padding: 23px 0 29px;
}

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

.footer-inner p {
    font-size: 0.72rem;
    margin: 0;
}

.footer-socials {
    align-items: center;
    display: flex;
    gap: 8px;
}

.footer-social {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.72);
    display: flex;
    height: 38px;
    justify-content: center;
    text-decoration: none;
    width: 38px;
}

.footer-social:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-bg);
}

.back-top {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
}

.back-top:hover {
    color: var(--primary-color);
}

/* Reveal animation */
.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 750ms ease, transform 750ms ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Tablet */
@media (max-width: 1024px) {
    .hero,
    .parallax-banner {
        background-attachment: scroll;
        background-position: center calc(50% + var(--parallax-offset, 0px));
        will-change: background-position;
    }

    .section {
        padding: 100px 0;
    }

    .full-menu-grid,
    .signature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .story-block,
    .booking-layout {
        gap: 45px;
    }

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

    .story-media {
        min-height: 420px;
    }

    .contact-grid {
        gap: 35px;
    }
}

@media (max-width: 968px) {
    :root {
        --header-height: 126px;
    }

    .site-header {
        padding: 15px 0;
    }

    .header-inner {
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-brand {
        align-items: center;
        width: 100%;
    }

    .header-actions {
        justify-content: center;
        width: 100%;
    }

    .header-scroll-logo {
        height: 32px;
        top: 6px;
        width: 32px;
    }

    .site-header.scrolled .header-brand {
        padding-top: 42px;
    }

    .hero {
        padding-top: 190px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .story-block,
    .story-block--reverse {
        grid-template-columns: 1fr;
    }

    .story-block--reverse .story-media,
    .story-block--reverse .story-copy {
        grid-column: auto;
        grid-row: auto;
    }

    .story-block--reverse .story-media {
        order: 2;
    }

    .story-block--reverse .story-copy {
        order: 1;
    }

    .story-copy {
        max-width: none;
    }

    .story-media {
        min-height: 470px;
    }

    .story-media--stacked {
        min-height: 0;
    }

    .booking-layout {
        grid-template-columns: 1fr;
    }

    .booking-aside {
        max-width: 680px;
    }

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

    .contact-block:first-child {
        grid-column: 1 / -1;
    }

    .map-copy {
        align-items: start;
        flex-direction: column;
    }
}

/* Phone */
@media (max-width: 600px) {
    :root {
        --header-height: 132px;
    }

    .container {
        padding-left: 19px;
        padding-right: 19px;
    }

    .section {
        padding: 78px 0;
    }

    .section-head {
        margin-bottom: 38px;
    }

    .header-brand .brand-name {
        font-size: 1.18rem;
    }

    .brand-sub {
        font-size: 0.53rem;
        letter-spacing: 0.19em;
    }

    .header-actions {
        gap: 7px;
    }

    .header-actions .button {
        flex: 1;
        flex-basis: 0;
        font-size: 0.59rem;
        min-width: 0;
        padding-left: 8px;
        padding-right: 8px;
        width: auto;
    }

    .hero {
        padding: 170px 0 90px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-sub {
        font-size: 0.62rem;
        letter-spacing: 0.2em;
    }

    .hero-sub {
        margin-bottom: 30px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .button {
        flex: 0 1 190px;
        font-size: 0.6rem;
        letter-spacing: 0.12em;
        min-height: 44px;
        padding: 11px 16px;
        width: min(100%, 190px);
    }

    .story-block {
        margin-bottom: 82px;
    }

    .story-media {
        min-height: 330px;
    }

    .story-media--stacked {
        min-height: 0;
    }

    .story-media::before {
        inset: 9px;
    }

    .story-stamp {
        bottom: 20px;
        height: 70px;
        right: 20px;
        width: 70px;
    }

    .story-copy p {
        font-size: 0.95rem;
    }

    .parallax-banner {
        min-height: 340px;
        padding: 70px 0;
    }

    .parallax-content {
        padding: 0 19px;
    }

    .parallax-content p {
        font-size: 0.95rem;
    }

    .full-menu-grid,
    .signature-grid,
    .gallery-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .menu-card__cover {
        height: 290px;
    }

    .menu-viewer {
        padding: 12px;
    }

    .menu-viewer__panel {
        height: 96vh;
        width: 100%;
    }

    .menu-viewer__stage {
        gap: 6px;
    }

    .menu-viewer__nav {
        height: 42px;
        width: 42px;
    }

    .menu-viewer__image-wrap {
        height: auto;
        max-height: 72vh;
    }

    .menu-viewer__image {
        max-height: 72vh;
    }

    .menu-viewer__footer {
        flex-wrap: wrap;
        gap: 10px 15px;
    }

    .menu-viewer__zoom-controls {
        width: 100%;
        justify-content: center;
    }

    .reservation-form,
    .wpcf7-form {
        grid-template-columns: 1fr;
    }

    .reservation-form__field--wide,
    .wpcf7-form p:has(textarea),
    .wpcf7-form p:has(input[type="submit"]),
    .wpcf7-form .wpcf7-not-valid-tip,
    .wpcf7-form .wpcf7-response-output {
        grid-column: auto;
    }

    .map-section {
        padding: 78px 0;
    }

    .map-embed,
    .map-embed iframe {
        min-height: 300px;
    }

    .map-embed iframe {
        height: 300px;
    }

    .contact-block:first-child {
        grid-column: auto;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
