:root {
    --orange: #C56A12;
    --gold: #B8864A;
    --ink: #1C1916;
    --cream: #FBF8F4;
    --card: #FFFFFF;
    --muted: #6A625A;
    --line: rgba(28, 25, 22, 0.12);
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Outfit", "Segoe UI", sans-serif;
    --header: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    font-weight: 400;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.015em;
    margin: 0 0 0.4em;
}
p { margin: 0 0 0.9em; }

.skip-link {
    position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: 0.5rem 0.8rem; z-index: 100;
}
.skip-link:focus { top: 1rem; }

.container { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
.narrow { width: min(740px, calc(100% - 2.5rem)); }

.site-header {
    position: sticky; top: 0; z-index: 40;
    background: rgba(251, 248, 244, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}
.nav-bar {
    width: min(1120px, calc(100% - 2.5rem));
    margin: 0 auto;
    min-height: var(--header);
    display: flex;
    align-items: center;
    gap: 1.6rem;
}
.brand img { width: 124px; height: auto; }
.nav-links { display: flex; gap: 1.35rem; margin-left: auto; }
.nav-links a {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
    padding-bottom: 0.2rem;
    border-bottom: 1px solid transparent;
}
.nav-links a.active, .nav-links a:hover { border-bottom-color: var(--gold); }
.nav-cta { margin-left: 0.4rem; }
.menu-toggle {
    display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line);
    background: transparent; cursor: pointer;
}
.menu-toggle span { display: block; height: 1px; margin: 6px 11px; background: var(--ink); }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.45rem; text-decoration: none; cursor: pointer;
    border-radius: 0; padding: 0.85rem 1.35rem;
    font-weight: 500; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
}
.btn-primary { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn-primary:hover { background: var(--orange); border-color: var(--orange); }
.btn-dark { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-dark:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); cursor: default; letter-spacing: 0.08em; }
.btn-sm { padding: 0.6rem 0.95rem; }

.hero { padding: 0; border-bottom: 0; position: relative; min-height: 640px; color: #fff; overflow: hidden; display: grid; align-items: end; }
.hero-slider .hero-grid { position: relative; z-index: 2; padding: 7rem 0 6.5rem; grid-template-columns: minmax(0, 640px); }
.hero-copy .eyebrow { color: #E2C39A; }
.hero-copy .lead { color: rgba(255,255,255,0.82); }
.hero-copy .hero-points li { color: rgba(255,255,255,0.78); }
.hero-slider .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.hero-slider .btn-primary:hover { background: transparent; color: #fff; }
.hero-slider .btn-dark { color: #fff; border-color: rgba(255,255,255,0.7); }
.hero-slider .btn-dark:hover { background: #fff; color: var(--ink); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 0.7s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide figcaption {
    position: absolute; left: calc(max(11.5rem, (100% - 1120px) / 2 + 11.5rem) + 100px); bottom: 1.45rem; z-index: 4;
    letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.72rem;
    background: rgba(22,19,17,0.55); padding: 0.45rem 0.7rem;
}
.hero-slides::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(16,12,9,0.82) 0%, rgba(16,12,9,0.45) 48%, rgba(16,12,9,0.15) 100%);
}
.hero-ui {
    position: absolute; z-index: 3; left: 0; right: 0; bottom: 1.3rem;
    width: min(1120px, calc(100% - 2.5rem)); margin: 0 auto;
    display: flex; align-items: center; gap: 0.7rem;
}
.hero-arrow, .hero-dot { border: 1px solid rgba(255,255,255,0.55); background: transparent; color: #fff; cursor: pointer; }
.hero-arrow { width: 42px; height: 42px; font-size: 1rem; }
.hero-arrow:hover, .hero-dot.is-on { background: #fff; color: var(--ink); border-color: #fff; }
.hero-dots { display: flex; gap: 0.4rem; }
.hero-dot { width: 28px; height: 3px; padding: 0; }
.hero-dot.is-on { width: 42px; }
.hero-grid, .split, .contact-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 4rem; align-items: center; }
.eyebrow {
    text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.7rem; font-weight: 500;
    color: var(--gold); margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(3.6rem, 6.4vw, 5.8rem); max-width: 10ch; font-weight: 500; }
.page-hero h1 { font-size: clamp(3.2rem, 5.5vw, 5rem); max-width: 14ch; }
.lead { font-size: 1.05rem; font-weight: 300; color: var(--muted); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.6rem 0 1.1rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 1.1rem; padding: 0; margin: 0; list-style: none; }
.hero-points li {
    font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.hero-panel {
    position: relative; min-height: 360px;
    background: #fff; border: 1px solid var(--line);
    padding: 2.6rem 1.8rem;
    display: grid; place-items: center; text-align: center;
}
.hero-panel::before {
    content: ""; position: absolute; inset: 12px; border: 1px solid rgba(184, 134, 74, 0.45); pointer-events: none;
}
.hero-glow { display: none; }
.hero-panel img { width: min(100%, 320px); margin: 0 auto 1.1rem; }
.hero-panel p {
    margin: 0; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.68rem; color: var(--muted);
}

.stats-band { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-right: 4.2rem; }
.stats-grid article { padding: 1.7rem 1rem; text-align: center; border-right: 1px solid var(--line); }
.stats-grid article:last-child { border-right: 0; }
.stats-grid strong { display: block; font-family: var(--sans); font-weight: 500; font-size: 1.8rem; letter-spacing: 0.04em; }
.stats-grid span { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }

.section { padding: 5rem 0; }
.section-sand { background: #fff; }
.section-ink { background: #161311; color: #fff; }
.section-head { max-width: 36rem; margin-bottom: 2.2rem; }
.section-head h2, .split h2 { font-size: clamp(2.8rem, 4vw, 4rem); }
.section-head.light p, .section-ink p { color: rgba(255,255,255,0.68); }
.section-ink .eyebrow { color: #E2C39A; }

.cuisine-grid, .card-grid, .dish-grid, .branch-grid { display: grid; gap: 1rem; }
.cuisine-grid { grid-template-columns: repeat(4, 1fr); }
.card-grid { grid-template-columns: repeat(2, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.dish-grid { grid-template-columns: repeat(4, 1fr); margin-bottom: 1.8rem; gap: 0; }
.branch-grid { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }

.cuisine-card, .info-card, .branch-card, .aside-card {
    background: var(--card);
    border: 1px solid var(--line);
    padding: 1.5rem 1.35rem 1.35rem;
}
.cuisine-card { min-height: 180px; background: #fff; color: var(--ink); }
.cuisine-card h3 { font-size: 2.2rem; }
.cuisine-card p { color: var(--muted); }
.tone-kerala, .tone-indian, .tone-arabian, .tone-chinese { border-top: 2px solid var(--gold); }
.info-card i { color: var(--gold); font-size: 0.95rem; margin-bottom: 0.9rem; }
.service-block { padding: 0; overflow: hidden; }
.service-block img { width: 100%; height: 200px; object-fit: cover; display: block; }
.service-block .service-copy { padding: 1.25rem 1.35rem 1.35rem; }
.info-card h3, .service-block h2 { font-size: 1.85rem; }
.service-block h2 { font-size: 1.7rem; }
.center-link { margin-top: 1.6rem; }
.center-link a { color: var(--ink); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--gold); }
.section-ink .center-link a { color: #fff; }

.point-list, .tick-list { list-style: none; margin: 0; padding: 0; }
.point-list li, .tick-list li { padding: 1.05rem 0; border-bottom: 1px solid var(--line); background: transparent; }
.point-list strong { display: block; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; }
.point-list span { color: var(--muted); }
.tick-list li::before { content: ""; display: inline-block; width: 18px; height: 1px; margin-right: 0.7rem; background: var(--gold); vertical-align: middle; }

.dish-grid article { padding: 0 0 1.3rem; border-right: 1px solid rgba(255,255,255,0.12); }
.dish-grid img { width: 100%; height: 168px; object-fit: cover; margin-bottom: 1rem; }
.dish-grid h3, .dish-grid p, .dish-grid b { padding-left: 1.15rem; padding-right: 1.15rem; }
.dish-grid article:last-child { border-right: 0; }
.dish-grid h3 { font-size: 1.9rem; }
.dish-grid p { color: rgba(255,255,255,0.62); }
.dish-grid b { color: #E2C39A; font-weight: 500; letter-spacing: 0.06em; }

.food-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: 0.55rem;
}
.food-gallery figure { margin: 0; position: relative; overflow: hidden; background: #161311; }
.food-gallery img { width: 100%; height: 100%; object-fit: cover; }
.food-gallery figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 1.4rem 0.85rem 0.7rem;
    color: #fff;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: linear-gradient(transparent, rgba(16,12,9,0.78));
}

.branch-card h3 { font-size: 1.7rem; }
.branch-top { display: flex; justify-content: space-between; gap: 0.5rem; align-items: baseline; margin-bottom: 0.55rem; }
.branch-no { font-family: var(--serif); font-size: 1.35rem; color: var(--gold); }
.branch-area { color: var(--muted); letter-spacing: 0.04em; }
.branch-meta { list-style: none; padding: 0.8rem 0 0; margin: 0.7rem 0 1.15rem; display: grid; gap: 0.4rem; color: var(--muted); font-size: 0.94rem; border-top: 1px solid var(--line); }
.branch-meta i { width: 1.1rem; color: var(--gold); }
.rating { font-size: 0.82rem; letter-spacing: 0.06em; }
.rating small { color: var(--muted); font-weight: 400; }
.pending-pill { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.branch-card.is-pending { background: transparent; }
body:has(#branchMap) .branch-card[data-lat] { cursor: pointer; }
.branch-card[data-lat]:hover { border-color: var(--gold); }

.page-hero { padding: 3.4rem 0 0.4rem; }
.page-hero.has-photo {
    --hero-image: url("../images/hero/kerala.jpg");
    padding: 6.2rem 0 5.2rem;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(16,12,9,0.78) 0%, rgba(16,12,9,0.42) 58%, rgba(16,12,9,0.22) 100%),
        var(--hero-image) center / cover no-repeat;
}
.page-hero.has-photo .eyebrow { color: #E2C39A; }
.page-hero.has-photo h1 { color: #fff; }
.page-hero.has-photo .lead { color: rgba(255,255,255,0.82); }

.facts { margin: 1.5rem 0 0; }
.facts div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 0.8rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.aside-card { background: #161311; color: #fff; border: 0; display: grid; gap: 0.85rem; align-content: start; }
.aside-card p { color: rgba(255,255,255,0.68); }
.aside-card img { background: transparent; padding: 0; width: 100%; height: auto; }
.aside-card .btn-primary { background: transparent; border-color: #fff; }
.aside-card .btn-primary:hover { background: #fff; color: var(--ink); }
.aside-card .btn-dark { color: #fff; border-color: rgba(255,255,255,0.7); }
.aside-card .btn-dark:hover { background: #fff; color: var(--ink); }
.aside-card .btn { width: 100%; }

.faq-list details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq-list summary { cursor: pointer; font-weight: 500; letter-spacing: 0.01em; }
.faq-list p { color: var(--muted); margin: 0.55rem 0 0; }

.filters { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-top: 1.3rem; }
.chip {
    border: 0; border-bottom: 1px solid transparent; background: transparent;
    padding: 0.35rem 0; cursor: pointer; color: var(--muted);
    letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem;
}
.chip.is-on { color: var(--ink); border-bottom-color: var(--gold); }
.menu-live { background: #fff; }
.menu-live iframe {
    width: 100%;
    height: calc(100vh - var(--header));
    min-height: 640px;
    border: 0;
    display: block;
    background: #fff;
}
.menu-group { margin-bottom: 2.6rem; }
.menu-group header h2 { font-size: 2.8rem; }
.menu-group header p { color: var(--muted); font-style: italic; font-family: var(--serif); font-size: 1.25rem; }
.menu-group ul { list-style: none; margin: 0; padding: 0; }
.menu-group li {
    display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline;
    padding: 0.95rem 0; border-bottom: 1px solid var(--line);
}
.menu-group h3 { font-family: var(--sans); font-size: 1rem; font-weight: 500; margin: 0; letter-spacing: 0.02em; }
.menu-group li p { margin: 0.15rem 0 0; color: var(--muted); font-weight: 300; }
.menu-group b { white-space: nowrap; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.menu-group.is-hidden { display: none; }
.menu-note { color: var(--muted); }

.contact-layout { align-items: start; }
.contact-form, .contact-details { display: grid; gap: 1rem; }
.contact-form, .contact-details > article { background: #fff; border: 1px solid var(--line); padding: 1.5rem; }
.contact-form h2, .contact-details h2 { font-size: 2.2rem; }
.contact-form label { display: grid; gap: 0.35rem; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent;
    border-radius: 0; padding: 0.7rem 0; color: var(--ink);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none; border-bottom-color: var(--gold);
}
.hp { position: absolute; left: -9999px; }
.form-note { padding: 0.75rem 0; }
.form-note.is-ok { color: #2d6a3a; }
.form-note.is-warn { color: #8a4b12; }
.map-frame { overflow: hidden; border: 1px solid var(--line); min-height: 280px; }
.map-frame iframe { width: 100%; height: 340px; border: 0; }

.cta-band { background: #161311; color: #fff; padding: 4.2rem 0; }
.cta-band h2 { font-size: clamp(2.6rem, 4vw, 4rem); max-width: 14ch; }
.cta-band p { color: rgba(255,255,255,0.68); }
.cta-band .btn-primary { background: transparent; border-color: #fff; }
.cta-band .btn-primary:hover { background: #fff; color: var(--ink); }
.cta-band .btn-dark { color: #fff; border-color: rgba(255,255,255,0.4); }
.cta-band .btn-dark:hover { background: #fff; color: var(--ink); }
.cta-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
.newsletter { display: grid; gap: 0.7rem; align-content: start; }
.newsletter h3 { font-size: 2.2rem; margin: 0; }
.newsletter .eyebrow { color: #E2C39A; }
.newsletter label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.62); }
.newsletter input[type="email"] {
    width: 100%; border: 1px solid rgba(255,255,255,0.35); background: transparent;
    color: #fff; padding: 0.85rem 0.9rem; border-radius: 0; font: inherit;
}
.newsletter input[type="email"]:focus { outline: 1px solid #E2C39A; border-color: #E2C39A; }
.newsletter .btn { width: 100%; }

.site-footer { background: #161311; color: rgba(255,255,255,0.68); padding: 3.2rem 0 0.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.7fr 1.2fr 0.9fr; gap: 1.8rem; }
.site-footer h2 { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: #E2C39A; font-weight: 500; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.site-footer img { width: 150px; background: transparent; padding: 0; }
.footer-brand .fine { font-size: 0.82rem; }
.footer-bottom {
    display: flex; justify-content: space-between; gap: 1rem;
    border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2rem; padding-top: 1rem; font-size: 0.82rem;
}
.socials { display: flex; gap: 0.7rem; margin-top: 0.9rem; }
.socials a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.2); }

.site-loader { position: fixed; inset: 0; z-index: 80; background: var(--cream); display: grid; place-items: center; }
.site-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.35s ease; }
.site-loader img { width: 170px; margin: 0 auto 0.8rem; }
.spinner { display: flex; gap: 6px; justify-content: center; }
.spinner span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: bounce 0.9s infinite ease-in-out; }
.spinner span:nth-child(2) { animation-delay: 0.15s; }
.spinner span:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 0%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-6px); } }

.com-container { position: fixed; right: 1.1rem; bottom: 1.4rem; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.com-stack, .com-options { display: flex; flex-direction: column; gap: 0.45rem; align-items: flex-end; }
.com-options { display: none; }
.com-container:hover .com-options, .com-container:focus-within .com-options { display: flex; }
.com-button, .com-option { text-decoration: none; border: 0; cursor: pointer; }
.com-button { width: 48px; height: 48px; display: grid; place-items: center; color: #fff; font-size: 1.05rem; }
.call-button { background: var(--ink); }
.wa-button { background: #1C6B3C; }
.top-button { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.com-option {
    display: flex; gap: 0.6rem; align-items: center; background: #fff; color: var(--ink);
    padding: 0.7rem 0.85rem; min-width: 190px; border: 1px solid var(--line);
}
.com-option i { color: var(--gold); }
.com-option span { display: grid; }
.com-option small { color: var(--muted); }
.artliery-credit {
    display: block; text-align: center; padding: 0.2rem 1rem 1.1rem; background: #161311;
    font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: rgba(255,255,255,0.45);
}
.artliery-credits--float { display: block; }
.artliery-credit-combo {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #1a1d24;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    padding: 3px 3px 3px 8px;
    border-radius: 0;
    white-space: nowrap;
}
.artliery-credit-combo i {
    width: 16px;
    height: 16px;
    border-radius: 0;
    background: #25D366;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 10px;
}

@media (max-width: 980px) {
    .hero-grid, .split, .contact-layout, .cuisine-grid, .card-grid, .card-grid.three, .dish-grid, .stats-grid, .footer-grid, .branch-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stats-grid article:nth-child(2) { border-right: 0; }
    .nav-cta { display: none; }
    .menu-toggle { display: inline-block; }
    .nav-links {
        display: none; position: absolute; left: 0; right: 0; top: var(--header);
        background: var(--cream); border-bottom: 1px solid var(--line);
        flex-direction: column; padding: 0.8rem 1.4rem 1.1rem; margin: 0; gap: 0.2rem;
    }
    .nav-links.is-open { display: flex; }
    .nav-links a { padding: 0.55rem 0; }
}

@media (max-width: 680px) {
    .hero-grid, .split, .contact-layout, .cta-layout, .cuisine-grid, .card-grid, .card-grid.three, .dish-grid, .stats-grid, .branch-grid, .footer-grid, .facts div {
        grid-template-columns: 1fr;
    }
    .stats-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
    .footer-bottom { flex-direction: column; }
    .hero { min-height: 520px; }
    .hero-slide figcaption { left: 1rem; bottom: 4.6rem; }
    .hero h1, .page-hero h1 { font-size: 3.1rem; }
    .hero-panel { min-height: 260px; }
    .dish-grid article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
    .food-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
    .food-gallery figure:first-child { grid-row: span 1; grid-column: span 2; }
    .artliery-credit { display: none; }
}
