/* ==========================================================================
   Independence Day ₹80 menu — India campaign LP (/in/independence-day)
   Scoped entirely under .id-lp so nothing leaks into the country theme.

   MOBILE FIRST. ~70% of /in sessions are mobile (GA4, 60d) and this page is
   fed by paid social, which skews harder still — so the base rules below ARE
   the phone layout, and the media queries at the bottom are the desktop
   enhancement. Read it in that order.

   Direction: editorial letterpress. Warm paper stock, the tricolour reduced
   to a structural hairline rather than flag decoration. The hero banner
   carries the fold with the ₹80 riding it, so the offer and the appetite cue
   land in one glance instead of competing for space.
   ========================================================================== */

.id-lp {
    --paper:      #FBF7EF;
    --paper-deep: #F3ECDF;
    --ink:        #2B1A12;
    --ink-soft:   #6B5747;
    --rule:       #E2D6C2;

    --orange:     #FC5007; /* PANTONE Orange 021 C, screen build */
    --brown:      #663333;
    --saffron:    #FF9933;
    --green:      #138808;

    --gutter: 20px;
    --shell:  100%;

    /* Height of the sticky bar, so content can clear it. */
    --sticky-h: 66px;

    background: var(--paper);
    color: var(--ink);
    font-family: 'ARSMaquettePro', Helvetica, ui-sans-serif, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;

    background-image:
        radial-gradient(circle at 18% 12%, rgba(252, 80, 7, .045), transparent 45%),
        radial-gradient(circle at 84% 78%, rgba(19, 136, 8, .035), transparent 42%);
}

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

/* minmax(0,…) everywhere a grid child could otherwise refuse to shrink. */
.id-shell {
    width: var(--shell);
    max-width: 1120px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* The tricolour, used as structure — a rule, never a fill. --------------- */
.id-tricolour {
    height: 3px;
    border: 0;
    margin: 0;
    background: linear-gradient(
        to right,
        var(--saffron) 0 33.333%,
        #FFFFFF     33.333% 66.666%,
        var(--green) 66.666% 100%
    );
}

.id-tricolour--thin { height: 2px; opacity: .85; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.id-hero { padding: 1rem 0 1.5rem; }

.id-dateline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .3rem .6rem;
    font-size: .78rem;
    color: var(--ink-soft);
    margin-bottom: .8rem;
}

.id-dateline__dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--orange);
    flex: none;
}

.id-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .95rem;
}

/* Hero visual — the banner carries the fold on mobile; 4:3 keeps it from
   eating the screen while still reading as appetite-first. */
.id-hero__visual {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: var(--paper-deep);
    box-shadow: 0 20px 40px -28px rgba(43, 26, 18, .55);
}

.id-hero__visual img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 55%;
}

/* Short phones: a 3:2 banner frees ~27px so the primary CTA clears the
   sticky bar rather than sitting under it. */
@media (max-height: 700px) {
    .id-hero__visual img { aspect-ratio: 3 / 2; }
}

.id-hero__badge {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: .85rem 1.1rem .8rem;
    background: linear-gradient(to top, rgba(24, 13, 7, .82), rgba(24, 13, 7, .5) 60%, transparent);
    border-top-right-radius: 8px;
    line-height: 1;
    min-width: 46%;
}

.id-hero__badge-amt {
    display: block;
    font-size: 3.1rem;
    font-weight: 900;
    letter-spacing: -.045em;
    color: #FFFFFF;
    line-height: .85;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}

.id-hero__badge-amt sup { font-size: .4em; top: -.66em; left: -.03em; font-weight: 700; }

.id-hero__badge-note {
    display: block;
    margin-top: .45rem;
    font-size: .82rem;
    color: rgba(255, 255, 255, .92);
}

.id-hero__badge-flag {
    display: block;
    width: 46px;
    height: 3px;
    margin-top: .55rem;
    border-radius: 2px;
    background: linear-gradient(to right,
        var(--saffron) 0 33.333%, #FFF 33.333% 66.666%, var(--green) 66.666% 100%);
}

.id-hero__title {
    font-size: clamp(1.9rem, 8.4vw, 2.6rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.022em;
    margin: 0 0 .6rem;
    color: var(--brown);
    text-wrap: balance;
}

.id-accent {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    color: var(--orange);
    letter-spacing: -.01em;
}

.id-hero__lede {
    font-size: .97rem;
    color: var(--ink-soft);
    max-width: 46ch;
    margin: 0 0 1rem;
}

.id-hero__lede strong { color: var(--ink); font-weight: 700; }

/* ── Buttons — 48px min target on touch ─────────────────────────────────── */
.id-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 48px;
    background: var(--orange);
    color: #FFF;
    text-decoration: none;
    font-weight: 700;
    padding: .75rem 1.35rem;
    border-radius: 999px;
    transition: background .2s ease, transform .2s ease;
}

.id-btn:hover,
.id-btn:focus-visible { background: #E04704; color: #FFF; }

.id-btn--ghost {
    background: transparent;
    color: var(--brown);
    border: 1px solid rgba(102, 51, 51, .3);
}

.id-btn--ghost:hover,
.id-btn--ghost:focus-visible { background: rgba(102, 51, 51, .06); color: var(--brown); }

.id-btnrow {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    justify-content: center;
}

.id-btnrow--start { justify-content: flex-start; }

/* Phones get ONE hero action. The secondary "Where to find us" duplicates
   the sticky bar's "Find a cafe", and dropping it lifts the primary CTA
   above the fold on 360x640 / 375x667 — the two commonest screens in this
   campaign's traffic. Desktop keeps both. */
@media (max-width: 619px) {
    .id-hero__copy .id-btn--ghost { display: none; }
    .id-hero__copy .id-btn { width: 100%; }
}

/* ── Why 80 ─────────────────────────────────────────────────────────────── */
.id-why {
    background: var(--paper-deep);
    border-block: 1px solid var(--rule);
    padding: 1.15rem 0;
}

.id-why__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .35rem .8rem;
    font-size: 1rem;
    color: var(--brown);
    margin: 0;
}

.id-why__num {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 600;
    font-size: 1.5em;
    color: var(--green);
}

/* ── Menu ───────────────────────────────────────────────────────────────── */
.id-menu { padding: 2rem 0 1.5rem; }

.id-section__head {
    display: flex;
    align-items: baseline;
    gap: .7rem;
    margin-bottom: .35rem;
}

.id-section__title {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -.012em;
    color: var(--brown);
    margin: 0;
}

.id-section__title--sub {
    font-size: 1.05rem;
    color: var(--orange);
}

.id-section__count {
    font-size: .8rem;
    color: var(--ink-soft);
    white-space: nowrap;
}

.id-group { margin-top: 1.5rem; }

/* Two columns from the smallest screen up: 15 items one-per-row is an
   endless scroll, and the photos still read at ~160px wide. */
.id-grid {
    list-style: none;
    margin: .9rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
}

.id-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.id-card__shot {
    position: relative;
    aspect-ratio: 3 / 2;
    background: var(--paper-deep);
    overflow: hidden;
}

.id-card__shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* No approved photo → a composed typographic tile, never a broken frame. */
.id-card__shot--blank {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 45%, #FFFFFF 0%, var(--paper-deep) 70%, #EADFCB 100%);
}

.id-card__shot--blank span {
    font-size: 1.9rem;
    font-weight: 900;
    letter-spacing: -.04em;
    color: rgba(102, 51, 51, .22);
}

.id-card__body {
    padding: .6rem .7rem .75rem;
    display: flex;
    flex-direction: column;
    gap: .08rem;
    flex: 1;
}

.id-card__name {
    font-weight: 700;
    font-size: .95rem;
    color: var(--ink);
    line-height: 1.25;
}

.id-card__variants {
    font-size: .78rem;
    color: var(--ink-soft);
    line-height: 1.3;
}

.id-card__prices {
    display: flex;
    align-items: baseline;
    gap: .4rem;
    margin-top: .45rem;
}

.id-card__was {
    font-size: .8rem;
    color: var(--ink-soft);
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(211, 49, 17, .55);
}

.id-card__now {
    font-weight: 900;
    color: var(--orange);
    font-size: 1.02rem;
    letter-spacing: -.015em;
}

/* ── Outlets ────────────────────────────────────────────────────────────── */
.id-outlets {
    background: var(--paper-deep);
    border-block: 1px solid var(--rule);
    padding: 2rem 0;
}

.id-outlets__intro {
    color: var(--ink-soft);
    margin: .5rem 0 0;
    max-width: 56ch;
    font-size: .95rem;
}

.id-outlets__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .65rem;
    margin-top: 1.15rem;
}

.id-outlet {
    display: block;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 4px;
    padding: .9rem 1rem;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.id-outlet::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(to right,
        var(--saffron) 0 33.333%, #FFF 33.333% 66.666%, var(--green) 66.666% 100%);
    opacity: 0;
    transition: opacity .22s ease;
}

a.id-outlet:hover,
a.id-outlet:focus-visible {
    border-color: rgba(102, 51, 51, .3);
    box-shadow: 0 18px 34px -22px rgba(43, 26, 18, .45);
}

a.id-outlet:hover::before,
a.id-outlet:focus-visible::before { opacity: 1; }

.id-outlet__label {
    font-weight: 900;
    font-size: 1.05rem;
    color: var(--brown);
    letter-spacing: -.012em;
}

.id-outlet__area {
    font-size: .82rem;
    color: var(--orange);
    margin-top: .1rem;
}

.id-outlet__addr {
    font-size: .82rem;
    color: var(--ink-soft);
    margin-top: .45rem;
    line-height: 1.4;
}

/* ── CTA + fine print ───────────────────────────────────────────────────── */
.id-cta { padding: 2rem 0; text-align: center; }

.id-cta__title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--brown);
    margin: 0 0 .6rem;
    letter-spacing: -.015em;
}

.id-cta__sub { color: var(--ink-soft); margin: 0 auto 1.35rem; max-width: 48ch; font-size: .95rem; }

.id-fine {
    border-top: 1px solid var(--rule);
    padding: 1.35rem 0 2rem;
    font-size: .8rem;
    color: var(--ink-soft);
}

.id-fine ul { margin: .45rem 0 0; padding-left: 1.05rem; }
.id-fine li { margin-bottom: .28rem; }

/* ── Ended state ────────────────────────────────────────────────────────── */
.id-ended {
    background: var(--paper-deep);
    border: 1px solid var(--rule);
    border-left: 3px solid var(--orange);
    border-radius: 4px;
    padding: 1rem 1.1rem;
    margin-bottom: 1.5rem;
}

.id-ended__title { font-weight: 900; color: var(--brown); margin: 0 0 .2rem; }
.id-ended__body  { margin: 0; color: var(--ink-soft); font-size: .92rem; }

/* ── Sticky mobile action bar ───────────────────────────────────────────── */
.id-sticky {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .55rem var(--gutter);
    padding-bottom: calc(.55rem + env(safe-area-inset-bottom, 0px));
    background: rgba(251, 247, 239, .97);
    backdrop-filter: saturate(180%) blur(8px);
    border-top: 1px solid var(--rule);
    box-shadow: 0 -8px 24px -18px rgba(43, 26, 18, .6);
}

.id-sticky__meta { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }

.id-sticky__price {
    font-weight: 900;
    font-size: 1.35rem;
    color: var(--orange);
    letter-spacing: -.02em;
}

.id-sticky__note {
    font-size: .74rem;
    color: var(--ink-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.id-sticky__btn { flex: none; padding-inline: 1.15rem; }

/* Content must clear the fixed bar. */
.id-lp .id-fine { padding-bottom: calc(2rem + var(--sticky-h)); }

/* ── Motion ─────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    .id-reveal {
        opacity: 0;
        transform: translateY(12px);
        animation: id-rise .65s cubic-bezier(.22, .68, .35, 1) .06s forwards;
    }
}

@keyframes id-rise { to { opacity: 1; transform: none; } }

/* ==========================================================================
   DESKTOP ENHANCEMENT — everything above is the phone.
   ========================================================================== */

/* Three then four card columns as width allows. */
@media (min-width: 620px) {
    .id-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
    .id-outlets__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 861px) {
    .id-lp {
        font-size: 17px;
        line-height: 1.6;
        --gutter: 32px;
        --sticky-h: 0px;
    }

    .id-hero { padding: clamp(2.75rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.25rem); }

    .id-dateline { font-size: .82rem; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); gap: .55rem .9rem; }

    /* Restore the copy-left / medallion-right composition. */
    .id-hero__grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
        gap: clamp(2rem, 5vw, 4rem);
        align-items: center;
    }

    .id-hero__copy   { order: 1; }
    .id-hero__visual { order: 2; }

    .id-hero__title { font-size: clamp(2.6rem, 5.2vw, 4.3rem); line-height: .98; margin-bottom: 1.15rem; }
    .id-hero__lede  { font-size: 1.12rem; margin-bottom: 1.9rem; }

    /* Desktop: the banner squares up beside the copy. */
    .id-hero__visual img { aspect-ratio: 1 / 1; }

    .id-hero__badge { padding: 1.15rem 1.4rem 1.1rem; }
    .id-hero__badge-amt  { font-size: 4rem; }
    .id-hero__badge-note { font-size: .9rem; margin-top: .55rem; }
    .id-hero__badge-flag { width: 56px; }

    .id-why { padding: clamp(1.6rem, 4vw, 2.4rem) 0; }
    .id-why__inner { font-size: clamp(1rem, 2.2vw, 1.22rem); gap: .5rem 1.1rem; }

    .id-menu    { padding: clamp(2.75rem, 6vw, 4.5rem) 0; }
    .id-outlets { padding: clamp(2.5rem, 6vw, 4rem) 0; }
    .id-cta     { padding: clamp(2.5rem, 6vw, 4rem) 0; }

    .id-section__title      { font-size: clamp(1.35rem, 2.8vw, 1.75rem); }
    .id-section__title--sub { font-size: clamp(1.05rem, 2vw, 1.2rem); }
    .id-group { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }

    .id-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 235px), 1fr)); gap: clamp(1rem, 2vw, 1.4rem); }

    .id-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
    .id-card:hover {
        transform: translateY(-3px);
        border-color: rgba(102, 51, 51, .28);
        box-shadow: 0 20px 36px -24px rgba(43, 26, 18, .45);
    }

    .id-card__shot--blank span { font-size: 2.4rem; }
    .id-card__body    { padding: .85rem .95rem 1rem; }
    .id-card__name    { font-size: 1rem; }
    .id-card__now     { font-size: 1.1rem; }

    .id-outlets__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1rem; margin-top: clamp(1.4rem, 3vw, 2rem); }
    .id-outlet { padding: 1.25rem 1.25rem 1.15rem; }
    a.id-outlet:hover, a.id-outlet:focus-visible { transform: translateY(-3px); }

    .id-cta__title { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
    .id-fine { padding: 1.6rem 0 2.75rem; font-size: .82rem; }

    /* Desktop always has a CTA in view — the bar is mobile-only. */
    .id-sticky { display: none; }
}
