/* =========================================================
   RESTORA — FINAL RESTAURANT THEME
   Desktop + Tablet + Mobile
   ========================================================= */

:root {
    --ink: #422f27;
    --paper: #fff8ed;
    --muted: #858477;
    --line: #deded2;
}

/* =========================================================
   BASE
   ========================================================= */

body {
    background: var(--paper);
    color: var(--ink);
}

[hidden] {
    display: none !important;
}

.wrap {
    width: min(1240px, calc(100% - 90px));
}

/* =========================================================
   TOP BAR
   ========================================================= */

.topbar {
    background: #a3462c;
    color: #f5f4e9;
    font-size: 10px;
    padding: 8px 0;
    letter-spacing: .6px;
}

/* =========================================================
   HEADER
   ========================================================= */

.header {
    padding-block: 27px;
    border-bottom: 1px solid var(--line);
}

.brand {
    font: 28px Georgia, serif;
    font-weight: 400;
    letter-spacing: -1.3px;
}

.brand-icon {
    border: 0;
    background: var(--accent);
    color: #fff7e7;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 23px;
    font-style: normal;
}

.header nav {
    gap: 29px;
    font-size: 11px;
}

.header nav a {
    color: #777c6e;
}

.header nav a[aria-current] {
    color: var(--ink);
    border-width: 1px;
}

/* =========================================================
   BUTTONS & LINKS
   ========================================================= */

.button {
    border-radius: 0;
    min-height: 46px;
    padding: 14px 22px;
    font-size: 11px;
    gap: 30px;
    font-weight: 500;
}

.small {
    background: transparent;
    border: 1px solid #8a917e;
    color: var(--ink);
    padding: 10px 17px;
    min-height: 40px;
}

.text-link,
.btn,
.button {
    transition:
        opacity .2s ease,
        transform .2s ease,
        background-color .2s ease;
}

.text-link {
    font-size: 11px;
    font-weight: 500;
}

.text-link:hover {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 5px;
    opacity: .78;
}

.btn:hover,
.button:hover {
    transform: translateY(-1px);
}

/* =========================================================
   HOME HERO
   ========================================================= */

.hero {
    grid-template-columns: .93fr 1.13fr;
    gap: 50px;
    padding-block: 55px 60px;
}

.eyebrow {
    color: var(--accent);
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 500;
}

.hero-copy .eyebrow {
    font-weight: bold;
}

.hero-copy h1 {
    font-size: clamp(48px, 5.9vw, 82px);
    letter-spacing: -3px;
    line-height: 1.08;
    margin-block: 23px;
}

.lead {
    font-size: 13px;
    line-height: 1.95;
    max-width: 370px;
    color: #818475;
}

.actions {
    gap: 25px;
    margin-top: 30px;
}

.hero-note {
    font-size: 9px;
    letter-spacing: .5px;
    margin-top: 33px;
}

.hero-note .dot {
    width: 4px;
    height: 4px;
}

/* =========================================================
   HERO IMAGE
   ========================================================= */

.hero-visual {
    border-radius: 0;
    height: 485px;
    position: relative;
}

.restaurant-hero {
    border-radius: 48% 48% 8px 8px;
    overflow: hidden;
}

.hero-visual > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.room-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff5dfde;
    padding: 13px 19px;
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    letter-spacing: 1px;
    gap: 10px;
}

.room-caption span:last-child {
    font: italic 13px Georgia, serif;
    letter-spacing: 0;
}

/* =========================================================
   TRUST STRIP
   ========================================================= */

.trust-strip {
    background: #f7eddc;
    border-block: 1px solid var(--line);
}

.trust-grid {
    padding-block: 24px;
    gap: 35px;
}

.trust-grid strong {
    font-family: Georgia, serif;
    font-size: 17px;
    font-weight: 400;
}

.trust-grid span {
    font-size: 17px;
    color: #92987f;
}

.trust-grid p {
    font-size: 10px;
    color: #8a8d7f;
    margin-top: 5px;
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding-block: 60px;
}

.section-heading {
    margin-bottom: 30px;
    align-items: end;
}

.section-heading h2 {
    font-size: 42px;
    line-height: 1.08;
    margin: 15px 0 0;
}

.section-heading > .text-link {
    padding-bottom: 5px;
}

/* =========================================================
   PRODUCT / MENU CARDS
   ========================================================= */

.cards {
    gap: 24px;
}

.card {
    border: 0;
    background: transparent;
    padding: 0 0 20px;
    border-radius: 0;
    border-bottom: 1px solid #d9dacc;
}

.restaurant-product {
    height: 290px;
    background: #f0e0c7;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
}

.card:nth-child(2n) .restaurant-product {
    background: #f2e6cd;
}

.card:nth-child(3n) .restaurant-product {
    background: #ecdbbb;
}

.restaurant-product img {
    height: 265px;
    width: 90%;
    object-fit: contain;
    transition: transform .25s ease;
}

.card:hover .restaurant-product img {
    transform: translateY(-5px);
}

.product-category {
    position: absolute;
    bottom: 14px;
    left: 18px;
    font-size: 8px;
    color: #6e7464;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.product-placeholder {
    font: 24px Georgia, serif;
    padding: 25px;
    text-align: center;
}

.card h3 {
    font: 25px Georgia, serif;
    font-weight: 400;
    margin: 22px 0 10px;
    letter-spacing: -.5px;
}

.card p {
    font-size: 12px;
    line-height: 1.85;
    margin: 0;
    color: #868879;
}

.card .text-link {
    margin-top: 19px;
    color: var(--accent);
}

.card-image {
    width: 100%;
    height: 290px;
    object-fit: cover;
    border-radius: 0;
    aspect-ratio: auto;
}

.catalogue-note {
    color: #929587;
    font-size: 9px;
    margin-top: 25px;
}

/* =========================================================
   TIFFIN / LIVING STORY
   ========================================================= */

.living-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    background: #f2e5cc;
    min-height: 430px;
    margin-bottom: 45px;
    overflow: hidden;
}

.living-story .story-art {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    background: #e9c9a3;
}

.living-story .story-art img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    object-position: center;
}

.living-story .story-art > span {
    position: absolute;
    left: 24px;
    bottom: 20px;
    z-index: 2;
    font-size: 8px;
    letter-spacing: 2px;
    color: #784c31;
}

.story-copy {
    min-height: 430px;
    padding: 52px 48px;
}

.story-copy h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.story-copy > p:not(.eyebrow) {
    font-size: 12px;
    line-height: 1.9;
    color: #766750;
    max-width: 370px;
}

.story-copy .text-link {
    display: inline-block;
    margin-top: 15px;
}

/* =========================================================
   CTA
   ========================================================= */

.cta {
    border-radius: 8px;
    background: #793b29;
    padding: 38px 45px;
    margin-top: 0;
    margin-bottom: 42px;
    color: #f2f0e3;
}

.cta .eyebrow {
    color: #c8ceba;
}

.cta h2 {
    font-size: 39px;
    margin-top: 15px;
}

.light {
    background: #f0eddf;
    color: #713c29;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    padding-bottom: 30px;
}

.footer .brand {
    font-size: 27px;
}

.footer p {
    font-size: 10px;
    max-width: 340px;
}

.footer > div:nth-child(2) {
    font-size: 10px;
}

.copyright {
    font-size: 9px;
}

/* =========================================================
   INNER PAGE HERO
   ========================================================= */

.inner-hero {
    padding-top: 50px;
    padding-bottom: 0;
}

.inner-hero h1 {
    font-size: 57px;
}

.inner-hero .lead {
    max-width: 600px;
}

.inner-hero .hero-visual {
    height: 350px;
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-panel {
    background: #f2e5cc;
    border-radius: 0;
    padding: 45px;
}

.about-panel > p:not(.eyebrow) {
    max-width: 700px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

/* =========================================================
   GALLERY
   ========================================================= */

.empty {
    background: #f2e5cc;
    border-radius: 0;
}

.gallery-item img {
    border-radius: 0;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-form {
    border-radius: 0;
    background: #fefdf9;
    padding: 30px;
}

.contact-form h3 {
    font: 25px Georgia, serif;
}

.contact-grid {
    gap: 70px;
}

.contact-grid h2 {
    font-size: 35px;
}

.contact-details dd {
    font-size: 14px;
}

.contact-form input,
.contact-form textarea {
    background: #fefdf9;
    border-radius: 0;
}

/* =========================================================
   COLLECTION FILTERS / SEARCH
   ========================================================= */

.collection-tools {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
    align-items: center;
}

.filters {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.filter {
    padding: 9px 13px;
    font-size: 10px;
    border: 1px solid #cfd3c3;
    background: transparent;
    color: #737b65;
    cursor: pointer;
}

.filter.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.search-label {
    margin: 0;
    min-width: 200px;
}

.search-label input {
    font-size: 11px;
    background: transparent;
    border-radius: 0;
    border-color: #cfd3c3;
    font-weight: 400;
}

.result-count {
    font-size: 10px;
    color: #828875;
    margin-bottom: 24px;
}

.no-results {
    background: #eeeee4;
    text-align: center;
    padding: 35px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* =========================================================
   GLOBAL IMAGE SAFETY
   ========================================================= */

.hero img,
.living-story img,
.menu-card img,
.product-card img,
.gallery-card img {
    max-width: 100%;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .wrap {
        width: calc(100% - 44px);
    }

    .hero {
        gap: 30px;
    }

    .hero-visual {
        height: 430px;
    }

    .header nav {
        gap: 19px;
    }

    .restaurant-product,
    .card-image {
        height: 240px;
    }

    .restaurant-product img {
        height: 220px;
    }

    .story-copy {
        padding: 35px;
    }

    .story-copy h2 {
        font-size: 32px;
    }

    .collection-tools {
        align-items: start;
        flex-direction: column;
    }

    .search-label {
        width: 100%;
        max-width: 320px;
    }
}

/* =========================================================
   TIFFIN TABLET
   ========================================================= */

@media (max-width: 991px) {

    .living-story,
    .living-story .story-art,
    .living-story .story-copy {
        min-height: 360px;
    }

    .living-story .story-art img {
        min-height: 360px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .wrap {
        width: calc(100% - 36px);
    }

    /* Top bar */

    .topbar .wrap {
        justify-content: center;
        font-size: 9px;
    }

    /* Header */

    .header {
        padding-block: 19px;
    }

    .brand {
        font-size: 26px;
    }

    .header nav {
        gap: 16px;
        font-size: 11px;
    }

    /* Hero */

    .hero {
        grid-template-columns: 1fr;
        padding-block: 30px 35px;
        gap: 29px;
    }

    .hero-copy h1 {
        font-size: 58px;
        line-height: 1.1;
        letter-spacing: -2px;
    }

    .hero-visual {
        height: 365px;
    }

    .restaurant-hero {
        height: 375px;
    }

    .actions {
        gap: 20px;
    }

    .hero-note {
        margin-top: 24px;
    }

    .room-caption {
        padding: 12px;
        font-size: 7px;
    }

    .room-caption span:last-child {
        font-size: 11px;
    }

    /* Trust strip */

    .trust-grid {
        gap: 20px;
        padding-block: 23px;
    }

    .trust-grid strong {
        font-size: 18px;
    }

    /* Sections */

    .section {
        padding-block: 38px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .section-heading > .text-link {
        max-width: 105px;
        padding-top: 0;
        padding-bottom: 4px;
    }

    /* Cards */

    .cards {
        gap: 28px;
    }

    .restaurant-product,
    .card-image {
        height: 300px;
    }

    .restaurant-product img {
        height: 280px;
    }

    .card h3 {
        font-size: 25px;
    }

    .card p {
        font-size: 13px;
    }

    /* Tiffin */

    .living-story {
        grid-template-columns: 1fr;
        margin-bottom: 30px;
        min-height: 0;
    }

    .living-story .story-art {
        width: 100%;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .living-story .story-art img {
        width: 100%;
        height: 100%;
        min-height: 0;
        object-fit: cover;
        object-position: center;
    }

    .living-story .story-art > span {
        left: 16px;
        bottom: 14px;
    }

    .living-story .story-copy {
        min-height: 0;
        padding: 32px 30px;
    }

    .story-copy h2 {
        font-size: 34px;
    }

    /* CTA */

    .cta {
        padding: 30px;
        margin-bottom: 35px;
    }

    .cta h2 {
        font-size: 34px;
    }

    /* Footer */

    .footer {
        padding-bottom: 70px;
    }

    /* Inner pages */

    .inner-hero h1 {
        font-size: 44px;
    }

    /* Contact */

    .contact-grid {
        gap: 25px;
    }

    .contact-form {
        padding: 22px;
    }

    /* Search */

    .filters {
        gap: 7px;
    }

    .search-label {
        max-width: none;
    }

    /* About */

    .about-panel {
        padding: 28px;
    }

    .about-panel h2 {
        font-size: 34px;
    }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .wrap {
        width: calc(100% - 28px);
    }

    .hero-copy h1 {
        font-size: 46px;
        letter-spacing: -1.5px;
    }

    .living-story .story-art {
        aspect-ratio: 1 / 1;
    }

    .living-story .story-copy h2 {
        line-height: 1.05;
    }

    .story-copy {
        padding: 27px 23px;
    }

    .cta {
        padding: 27px 23px;
    }

    .cta h2 {
        font-size: 31px;
    }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    * {
        transition: none !important;
    }
}