/* ========================================================================
   DILLI 6 — RESPONSIVE STYLESHEET
   Loaded after assets/css/style.css.

   ORGANISATION
     Each breakpoint appears EXACTLY ONCE. Every page and every section
     that needs styles at that breakpoint lives inside the same block, in
     this order:
        1. Breakpoint
        2. GLOBAL rules (base, layout, chrome)
        3. HOME PAGE - section by section
        4. ABOUT PAGE - section by section

   ONE APPROACH: every query below is max-width (desktop first), matching
   the way style.css is written. No min-width query is mixed in.

   BREAKPOINT LADDER — deliberately short
     <= 1024px  tablet   (off-canvas nav starts here, type steps down)
     <=  768px  phone    (single column, tighter page gutter)
     <=  576px  small phone
     prefers-reduced-motion

     The desktop container needs no breakpoint of its own: .container caps
     at 1280px and centres itself, so the page gutter grows by itself on
     wide screens (see the layout note in style.css).
   ======================================================================== */


/* ################ BREAKPOINT: <= 1024px ################ */
@media (max-width: 1024px){

  /* ========================================
     GLOBAL - TYPOGRAPHY
     Mobile and tablet half of the global type scale. Sections must not
     restate these sizes (see the note in style.css).
  ======================================== */
  body{ font-size:14px; }
  p, li, span, a,
  button, .btn, b, strong{ font-size:14px; }
  h2{ font-size:32px; }

  /* ========================================
     GLOBAL - TOPBAR
  ======================================== */
  .topbar .container{ gap:18px; }
  .topbar-item{ font-size:11.5px; }
  .topbar-hours{ gap:10px; }

  /* ========================================
     GLOBAL - HEADER & OFF-CANVAS NAVIGATION
  ======================================== */
  .hamburger{ display:block; }
  .nav{
    position:absolute; top:100%; left:0; right:0;
    background:#fff;
    box-shadow:0 14px 22px rgba(0,0,0,.13);
    clip-path:inset(0 0 100% 0);
    transition:clip-path .45s var(--ease);
  }
  .nav.is-open{ clip-path:inset(0 0 0 0); }
  .nav-list{ flex-direction:column; align-items:flex-start; gap:14px; padding:18px 3rem; }
  /* scoped to .header so it outranks the .btn rule that the button also
     carries; both are single-class selectors otherwise */
  .header .header-cta{ display:none; }

  /* ========================================
     GLOBAL - FOOTER
  ======================================== */
  .footer .container{ grid-template-columns:repeat(2, 1fr); gap:34px; }

  /* ========================================
     HOME PAGE - HERO SECTION
  ======================================== */
  .home-page .hero{ padding-block:54px; }
  .home-page .hero-seal{ display:none; }
  .home-page .hero-dots{ bottom:18px; }

  /* ========================================
     HOME PAGE - MENU SECTION
  ======================================== */
  .home-page .menu-container{ grid-template-columns:repeat(3, 1fr); }
  .home-page .dish-photo{ height:220px; }

  /* ========================================
     HOME PAGE - HERITAGE SECTION
  ======================================== */
  .home-page .heritage-container{ grid-template-columns:1fr; gap:44px; }
  .home-page .heritage-photo{ height:440px; }
  /* the column is full width now, so the chips tuck inside the arch */
  .home-page .chip-biryani{ left:10px; bottom:26px; }
  .home-page .chip-kabab{ right:10px; top:auto; bottom:26px; }

  /* ========================================
     HOME PAGE - OFFER SECTION
  ======================================== */
  .home-page .offer-container{ max-width:none; }
  .home-page .offer-img{ position:relative; width:100%; height:300px; margin-top:34px; }
  .home-page .offer-img::after{ background:linear-gradient(0deg, #062b20, transparent 65%); }
  .home-page .offer-burst{ top:auto; bottom:24px; right:8vw; }

  /* ========================================
     HOME PAGE - REVIEWS SECTION
  ======================================== */
  .home-page .reviews-container{ grid-template-columns:1fr; gap:44px; }

  /* ========================================
     HOME PAGE - DELIVERY SECTION
  ======================================== */
  .home-page .delivery{ padding-block:58px; }
  .home-page .delivery-container{ grid-template-columns:1fr; gap:40px; }
  .home-page .delivery-photo img{ height:340px; }
  /* the column is full width now, so the caption comes back inside the photo */
  .home-page .delivery-tag{ right:auto; left:26px; bottom:26px; }

  /* ========================================
     MENU PAGE - FILTER SECTION
  ======================================== */
  .menu-page .filter-btn{ padding:10px 16px; font-size:15px; }
  .menu-page .filter-btn i{ font-size:18px; }

  /* ========================================
     MENU PAGE - LANDING VIEW
  ======================================== */
  .menu-page .dishes-container,
  .menu-page .cat-grid{ grid-template-columns:repeat(3, 1fr); }
  .menu-page .pop-head{ font-size:23px; }

  /* ========================================
     MENU PAGE - SPECIAL SECTION
  ======================================== */
  .menu-page .special-container{ grid-template-columns:1fr; }
  .menu-page .special-photo{ max-width:420px; margin-inline:auto; }
  .menu-page .special-photo img{ object-position:center bottom; }
  .menu-page .special-container{ min-height:0; }
  .menu-page .special-info{ padding:0 34px 40px; text-align:center; }
  .menu-page .special-label{ justify-content:center; }
  .menu-page .special-foot{ justify-content:center; }

  /* ========================================
     CONTACT PAGE - REACH SECTION
  ======================================== */
  .contact-page .info-list{ grid-template-columns:1fr; }

  /* ========================================
     CONTACT PAGE - MESSAGE SECTION
  ======================================== */
  .contact-page .message-container{ grid-template-columns:1fr; }

  /* ========================================
     CONTACT PAGE - HOURS SECTION
  ======================================== */
  .contact-page .hours-container{ gap:30px; padding:62px 6%; text-align:center; }
  .contact-page .hours-img{ height:132px; margin-top:-20px; }
  .contact-page .hours-icon{ height:52px; }
  .contact-page .hours-time{ padding-inline:26px; }

  /* ========================================
     GALLERY PAGE - GALLERY SECTION
  ======================================== */
  .gallery-page .gallery-container{ column-count:2; }

  /* ========================================
     GALLERY PAGE - FRESH SECTION
  ======================================== */
  .gallery-page .fresh-container{ grid-template-columns:1fr; gap:14px; padding-block:34px; }
  .gallery-page .fresh-food img{ width:min(300px, 62vw); }
  .gallery-page .fresh-art img{ width:min(210px, 46vw); }
  .gallery-page .fresh-food,
  .gallery-page .fresh-art{ justify-self:center; }

  /* ========================================
     GALLERY PAGE - SOCIAL SECTION
  ======================================== */
  .gallery-page .social-list{ grid-template-columns:repeat(3, 1fr); }

  /* ========================================
     GALLERY PAGE - REEL SECTION
  ======================================== */
  .gallery-page .reel-container{ grid-template-columns:1fr; }
  .gallery-page .clip-play{ width:60px; height:60px; font-size:21px; }
  .gallery-page .clip-play::after{ width:60px; height:60px; }

  /* ========================================
     GALLERY PAGE - TASTE SECTION
  ======================================== */
  .gallery-page .taste-container{ padding-block:34px; text-align:center; justify-content:center; }
  .gallery-page .taste-btns{ justify-content:center; }
  .gallery-page .social-orn{ width:70px; }

  /* ========================================
     ABOUT PAGE - STORY & CHEFS SECTIONS
  ======================================== */
  .about-page .story-container,
  .about-page .chefs-container{ grid-template-columns:1fr; gap:34px; }
  .about-page .story-container .photo,
  .about-page .chefs-container .photo{ max-width:620px; margin-inline:auto; }

  /* ========================================
     ABOUT PAGE - VALUES & STATS SECTIONS
  ======================================== */
  .about-page .values-container,
  .about-page .stats-container{ grid-template-columns:repeat(2, 1fr); row-gap:26px; }
  .about-page .stats-container{ row-gap:38px; }
  .about-page .value:nth-child(3)::before,
  .about-page .stat:nth-of-type(3)::before,
  .about-page .stat:nth-of-type(3)::after{ display:none; }

  /* ========================================
     ABOUT PAGE - TRADITION SECTION
  ======================================== */
  .about-page .tradition-container{ max-width:none; }
  .about-page .tradition-img{ position:relative; width:100%; height:300px; margin-top:34px; }
  .about-page .tradition-img::after{ background:linear-gradient(0deg, var(--darker), transparent 65%); }

}


/* ################ BREAKPOINT: <= 768px ################ */
@media (max-width: 768px){

  /* ========================================
     GLOBAL - BASE & LAYOUT
  ======================================== */
  body{ line-height:1.7; }
  section{ padding:2rem 1.5rem; }
  .topbar,
  .header,
  .footer,
  .copyright{ padding-inline:1.5rem; }
  .bleed > .container{ max-width:calc(1280px + 3rem); padding-inline:1.5rem; }
  .nav-list{ padding-inline:1.5rem; }

  /* ========================================
     GLOBAL - TOPBAR
  ======================================== */
  .topbar .container{ gap:14px; }
  .topbar-sep,
  .topbar-item:nth-child(3){ display:none; }

  /* ========================================
     GLOBAL - HEADER
     The logo scales back down so it still fits the shorter bar.
  ======================================== */
  .header .container{ min-height:78px; }
  .header.is-small .container{ min-height:68px; }
  .header .logo-text span{ display:none; }
  .header .logo-mark{ width:50px; height:59px; }
  .header .logo-mark i{ left:13px; top:12px; font-size:31px; }
  .header .logo-mark b{ right:3px; bottom:5px; font-size:24px; }
  .header .logo-text strong{ font-size:28px; }

  /* ========================================
     GLOBAL - FOOTER
  ======================================== */
  .footer .container{ grid-template-columns:1fr; }
  .copyright .container{ justify-content:center; text-align:center; }

  /* ========================================
     HOME PAGE - HERO SECTION
  ======================================== */
  .home-page .hero{ padding-block:44px; }
  /* on a phone the headline sits over the middle of the frame, so the
     wash goes flat instead of fading out to the right */
  .home-page .slide{ background-position:62% center; }
  .home-page .hero-slider::after{ background:rgba(6,27,18,.74); }
  .home-page .hero-dot.is-on{ width:24px; }

  /* ========================================
     HOME PAGE - MENU SECTION
  ======================================== */
  .home-page .menu{ padding-block:60px 70px; }
  .home-page .menu-container{ grid-template-columns:repeat(2, 1fr); }
  .home-page .dish-photo{ height:175px; }

  /* ========================================
     HOME PAGE - HERITAGE SECTION
  ======================================== */
  .home-page .heritage{ padding-block:60px; }
  .home-page .heritage-photo{ height:380px; }
  .home-page .heritage-chip{ width:140px; height:112px; }
  .home-page .quality-list{ grid-template-columns:repeat(2, 1fr); gap:22px 12px; }

  /* ========================================
     HOME PAGE - OFFER SECTION
  ======================================== */
  .home-page .offer{ padding-block:52px; }
  /* the code and the button still share their row on a phone, so both
     give up a little padding rather than stacking */
  .home-page .offer-actions{ gap:10px; }
  .home-page .offer-code{ padding:11px 12px; font-size:13px; letter-spacing:.05em; }

  /* ========================================
     HOME PAGE - REVIEWS SECTION
  ======================================== */
  .home-page .reviews{ padding-block:60px; }

  /* ========================================
     HOME PAGE - DELIVERY SECTION
  ======================================== */
  .home-page .delivery{ padding-block:50px; }
  .home-page .delivery-photo img{ height:290px; }
  .home-page .delivery-photo::after{ inset:12px; }
  .home-page .delivery-steps{ gap:18px; margin:22px 0 24px; }
  .home-page .step-copy b{ font-size:17px; }
  .home-page .call-phone{ font-size:26px; }

  /* ========================================
     MENU PAGE - DISHES & SPECIAL SECTIONS
  ======================================== */
  .menu-page .dishes-container{ grid-template-columns:repeat(2, 1fr); }
  .menu-page .filter-list{ margin-top:-26px; padding:10px; }
  .menu-page .special-info{ padding:0 24px 34px; }
  .menu-page .cat-grid{ grid-template-columns:repeat(2, 1fr); }
  .menu-page .pop-grid{ margin-bottom:34px; }
  .menu-page .dish-cat{ font-size:23px; margin-top:20px; }

  /* ========================================
     CONTACT PAGE - SECTION RHYTHM
  ======================================== */
  .contact-page .reach{ padding-block:48px 22px; }
  .contact-page .message{ padding-block:22px 44px; }
  .contact-page .form,
  .contact-page .map{ padding:22px; }
  .contact-page .map{ padding:0; }
  .contact-page .welcome{ padding-block:56px; }
  .contact-page .hours-container{ gap:26px; padding:66px 9%; }
  /* the row stacks here, so the lanterns sit in the flow like everything else */
  .contact-page .hours-img{ height:104px; align-self:center; margin-top:0; }
  .contact-page .hours-icon{ height:46px; }
  .contact-page .hours-time{ padding-inline:0; border:0; }

  /* ========================================
     GALLERY PAGE - SECTION RHYTHM
  ======================================== */
  .gallery-page .gallery{ padding-block:48px 40px; }
  .gallery-page .filter-btn{ padding:9px 18px; }
  /* the ribbon points only read on one line — once the tabs wrap,
     fall back to a plain rounded bar */
  .gallery-page .filter-list{ padding:7px 10px; border-radius:30px; clip-path:none; }
  .gallery-page .filter-list::before{ border-radius:29px; clip-path:none; }
  .gallery-page .filter-btn.is-active{ clip-path:none; border-radius:24px; }
  .gallery-page .taste{ margin-top:22px; }
  .gallery-page .taste-container{ padding-block:28px; }
  /* the flourishes crowd the heading once it wraps */
  .gallery-page .social-orn{ display:none; }
  .box-prev, .box-next{ width:40px; height:40px; }

  /* ========================================
     ABOUT PAGE - SECTION RHYTHM
  ======================================== */
  .about-page .banner{ padding-block:52px; }
  .about-page .story{ padding-block:48px 40px; }
  .about-page .values{ padding-bottom:48px; }
  .about-page .values-container{ padding:26px 16px; }
  .about-page .tradition{ padding-block:52px; }
  .about-page .chefs{ padding-block:48px 34px; }
  .about-page .cta{ margin-top:34px; padding-block:34px; }

  /* ========================================
     ABOUT PAGE - STATS SECTION
  ======================================== */
  .about-page .stats-container{ padding:40px 16px 32px; }
  .about-page .stat-arch{ width:100px; height:126px; }
  .about-page .stat-icon{ width:60px; height:60px; }

}


/* ################ BREAKPOINT: <= 576px ################ */
@media (max-width: 576px){

  /* ========================================
     GLOBAL - TOPBAR
  ======================================== */
  .topbar-item:nth-child(1){ display:none; }

  /* ========================================
     HOME PAGE - MENU / HERITAGE / BUTTONS
  ======================================== */
  .home-page .menu-container{ grid-template-columns:1fr; }
  .home-page .dish-photo{ height:210px; }
  .home-page .heritage-photo .seal{ left:0; }
  /* two chips will not fit side by side on a small phone */
  .home-page .chip-kabab{ display:none; }
  .home-page .chip-biryani{ left:auto; right:10px; }
  .home-page .hero-actions .btn,
  .home-page .delivery-photo img{ height:230px; }
  /* on a phone the caption would cover the boxes, so it drops below */
  .home-page .delivery-tag{
    position:static;
    max-width:none; margin-top:12px;
    box-shadow:none;
  }
  .home-page .delivery-call .btn{ flex:1 1 100%; }

  /* ========================================
     MENU PAGE - DISHES SECTION
     The photo stacks over the text on the smallest screens.
  ======================================== */
  .menu-page .dishes-container{ grid-template-columns:1fr; }
  .menu-page .dish-photo{ height:210px; }

  /* the category chips shrink so the bar stays short on a phone */
  .menu-page .filter-btn{ padding:8px 11px; gap:7px; font-size:13.5px; }
  .menu-page .filter-btn i{ font-size:15px; }

  .menu-page .dish-photo-mark{ min-height:150px; }

  /* ========================================
     MENU PAGE - LANDING VIEW
  ======================================== */
  .menu-page .cat-grid{ grid-template-columns:1fr; }

  /* ========================================
     CONTACT PAGE - HOURS SECTION
  ======================================== */
  .contact-page .hours-container{ padding:60px 10%; }
  .contact-page .hours-img{ height:88px; }

  /* ========================================
     GALLERY PAGE - GALLERY & SOCIAL SECTIONS
  ======================================== */
  .gallery-page .gallery-container{ column-count:1; }
  .gallery-page .social-list{ grid-template-columns:repeat(2, 1fr); }

  /* ========================================
     ABOUT PAGE - VALUES & STATS SECTIONS
  ======================================== */
  .about-page .values-container,
  .about-page .stats-container{ grid-template-columns:1fr; }
  .about-page .value::before,
  .about-page .stat::before,
  .about-page .stat::after{ display:none; }
  .about-page .value + .value{ margin-top:6px; padding-top:22px; border-top:1px solid var(--line); }
  .about-page .stat + .stat{ padding-top:26px; border-top:1px solid rgba(211,166,79,.4); }

}


/* ################ prefers-reduced-motion ################ */
@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{ animation:none !important; transition-duration:.01ms !important; }
  .js .reveal{ opacity:1; transform:none; }
  .js .reveal .head-orn{ opacity:1; transform:none; }
  .js .reveal .head-orn::before,
  .js .reveal .head-orn::after{ transform:scaleX(1); }
  /* this one is held out by an animation rather than a transition, and
     animations are off in here, so it has to be put back by hand */
  .js .home-page .offer .reveal .offer-title{ opacity:1; transform:none; }
}
