/* ============================================================
   CAFE IMRAN KHAN: REDESIGN to the look of cafeimrankhan.ca
   (Rakesh 2026-11-05 17:23). Reference capture: Mission Control
   doc m97abvz4h8effeammagekkgjmd8hmath.
   Loaded LAST on every page. Visual layer only: no URLs, copy,
   schema or meta live here.
   Palette/fonts = their computed values (Brandy THEME v4).
   Motion = CSS + one IntersectionObserver (script.js / motion-v1.js),
   opacity/transform only, everything off under reduced motion.
   No preloader / splash of any kind.
   ============================================================ */

/* ---------- fonts: self-hosted, swap, metric-matched fallbacks (no CLS) ---------- */
@font-face {
  font-family: "Forum";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/forum-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/dmsans-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Forum Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 88%;
  ascent-override: 98%;
  descent-override: 26%;
}
@font-face {
  font-family: "DM Sans Fallback";
  src: local("Arial"), local("Helvetica");
  size-adjust: 99%;
  ascent-override: 96%;
  descent-override: 30%;
  line-gap-override: 0%;
}

/* ---------- tokens ---------- */
:root {
  --dl-accent: #ff891f;
  --dl-on-accent: #0e0d0b;
  --dl-bg: #171819;
  --dl-bg-2: #0e0d0c;
  --dl-bg-3: #1a1b1c;
  --dl-head: #202020;
  --dl-ink: #ffffff;
  --dl-muted: #a7a7a7;
  --dl-line: rgba(255, 255, 255, 0.12);
  --dl-line-2: rgba(255, 255, 255, 0.2);

  --brand: var(--dl-accent);
  --brand-2: var(--dl-bg-2);
  --brand-3: var(--dl-accent);
  --canvas: var(--dl-bg-2);
  --ink: var(--dl-ink);
  --bg: var(--dl-bg);
  --card: var(--dl-bg-3);
  --sand: var(--dl-bg-2);
  --sand-2: var(--dl-bg-3);
  --muted: var(--dl-muted);
  --chili: var(--dl-accent);
  --chili-dark: #e8740c;
  --chili-soft: rgba(255, 137, 31, 0.12);
  --basil: var(--dl-bg-2);
  --basil-deep: #000;
  --gold: var(--dl-accent);
  --line: var(--dl-line);
  --shadow-sm: none;
  --shadow-md: 0 18px 40px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  --r-xl: 0;
  --r-lg: 0;
  --r-md: 0;
  --font-display: "Forum", "Forum Fallback", Georgia, serif;
  --font-body: "DM Sans", "DM Sans Fallback", Arial, sans-serif;
  --headerColor: #fff;
  --bodyTextColor: var(--dl-muted);
  --bg-shade: var(--dl-bg-2);
  --lightgray: var(--dl-bg-3);
  --text-dark: #fff;
  --text-light: var(--dl-muted);
  --primary: var(--dl-accent);
  --primaryLight: var(--dl-accent);
  --primary-color: var(--dl-accent);
  --primary-color-dark: #e8740c;
  --primary-color-light: rgba(255, 137, 31, 0.12);

  /* fixed header heights (static, so nothing shifts when the header is injected) */
  --dl-strip: 40px;
  --dl-bar: 96px;
  --dl-head-h: calc(var(--dl-strip) + var(--dl-bar));
  color-scheme: dark;
}
@media (max-width: 900px) {
  :root { --dl-strip: 0px; --dl-bar: 76px; }
}

html { background: var(--dl-bg); }
body {
  background: var(--dl-bg);
  color: var(--dl-muted);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
}
/* inner pages: room under the fixed header, set in CSS so it is there at first paint */
body { padding-top: var(--dl-head-h); }
body:has(main > .hero-full:first-child),
body:has(main > section.hero-full:first-of-type) { padding-top: 0; }

h1, h2, h3, h4, .display,
.section__header, .cs-title, .loc-card__name, .loc-chooser__name {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  color: #fff;
  line-height: 1.15;
}
h1 { font-size: clamp(2.125rem, 5.6vw, 5rem); line-height: 1.05; }
h2, .section__header, .cs-title { font-size: clamp(1.75rem, 3.6vw, 3.125rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
h1 em, h2 em, h3 em, .section__header em, .cs-title em {
  font-style: normal;
  color: var(--dl-accent);
}
p, li, td, th, .lede, .section__description, .cs-text, .privacy-desc { color: var(--dl-muted); }
strong, b { color: #fff; }
a { color: var(--dl-accent); }
a:hover { color: #fff; }
::selection { background: var(--dl-accent); color: var(--dl-on-accent); }

/* ---------- kicker + ornament (their subtitle + pattern divider) ---------- */
.kicker, .cs-topper, .cs-subtitle, .topper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--dl-accent);
}
.kicker::after, .cs-subtitle::after {
  content: "";
  display: block;
  width: 100px;
  height: 10px;
  background:
    linear-gradient(var(--dl-accent), var(--dl-accent)) left 50% / 38px 1px no-repeat,
    linear-gradient(var(--dl-accent), var(--dl-accent)) right 50% / 38px 1px no-repeat,
    linear-gradient(45deg, transparent 42%, var(--dl-accent) 42% 58%, transparent 58%) center / 10px 10px no-repeat,
    linear-gradient(-45deg, transparent 42%, var(--dl-accent) 42% 58%, transparent 58%) center / 10px 10px no-repeat;
  opacity: 0.9;
}
.kicker .dot, .kicker svg { display: none; }
.kicker--light { color: var(--dl-accent); }
.sec-head, .quotes-intro, .faq-intro, .section__header-wrap { text-align: center; }
.sec-head { justify-content: center; flex-wrap: wrap; }
.sec-head > div:first-child { display: flex; flex-direction: column; align-items: center; text-align: center; margin-inline: auto; }

/* ---------- buttons: square, 2px border, circle fill + label roll ---------- */
.btn, .btn-line, .btn--butter, .btn--green, .cs-button-solid, .loc-chooser__go,
.order-float, a.btn, button.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 11px 36px;
  border: 2px solid var(--dl-accent);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 22px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: none;
  transform: none;
  transition: color 0.3s ease, border-color 0.3s ease;
}
/* solid (primary): orange fill, dark label (contrast 8.2:1) */
.btn, .cs-button-solid, .order-float, .loc-chooser__go {
  background: var(--dl-accent);
  color: var(--dl-on-accent);
}
/* outline (secondary) = their btn-style-two */
.btn-line, .btn--butter, .btn--green {
  background: transparent;
  color: var(--dl-accent);
}
.btn::before, .btn-line::before, .btn--butter::before, .btn--green::before,
.cs-button-solid::before, .order-float::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 0;
  width: 200%;
  height: 200%;
  border-radius: 50%;
  transform: translate(-50%, -100%);
  transition: transform 0.8s ease;
  pointer-events: none;
}
.btn::before, .cs-button-solid::before, .order-float::before { background: var(--dl-bg-2); }
.btn-line::before, .btn--butter::before, .btn--green::before { background: var(--dl-accent); }
.btn:hover::before, .btn:focus-visible::before,
.cs-button-solid:hover::before, .order-float:hover::before,
.btn-line:hover::before, .btn-line:focus-visible::before,
.btn--butter:hover::before, .btn--green:hover::before {
  transform: translate(-50%, -20%);
}
.btn:hover, .btn:focus-visible, .cs-button-solid:hover, .order-float:hover { color: #fff; background: var(--dl-accent); transform: none; box-shadow: none; }
.btn-line:hover, .btn-line:focus-visible, .btn--butter:hover, .btn--green:hover { color: var(--dl-on-accent); background: transparent; transform: none; }
.btn .arrow, .btn-line .arrow { display: inline-flex; transition: transform 0.3s ease; }
.btn:hover .arrow, .btn-line:hover .arrow { transform: translate(2px, -2px); }
/* label roll (A10): motion-v1.js wraps the text in .dl-roll[data-t]; the incoming copy is a
   pseudo-element (not indexed, not read twice). Without JS the button is simply static. */
.dl-roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.dl-roll > span { display: block; transition: transform 0.3s ease; }
.dl-roll::after { content: attr(data-t); position: absolute; left: 0; top: 0; width: 100%; transform: translateY(150%); transition: transform 0.3s ease; }
a:hover > .dl-roll > span, a:focus-visible > .dl-roll > span, button:hover > .dl-roll > span { transform: translateY(-150%); }
a:hover > .dl-roll::after, a:focus-visible > .dl-roll::after, button:hover > .dl-roll::after { transform: translateY(0); }

/* main order buttons: their "animated pulse infinite" (transform only) */
@keyframes dl-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.hero-actions .btn[data-order-chooser], .cta-band .hero-actions .btn:first-child { animation: dl-pulse 1s ease-in-out infinite; }
.hero-actions .btn[data-order-chooser]:hover, .cta-band .hero-actions .btn:first-child:hover { animation-play-state: paused; }

/* ---------- header: strip + transparent bar over the hero, fixed dark on scroll ---------- */
.site-topline {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 61;
  height: var(--dl-strip);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.site-topline .wrap { width: 100%; max-width: 1780px; }
.site-header {
  position: fixed;
  top: var(--dl-strip);
  left: 0; right: 0;
  z-index: 60;
  height: var(--dl-bar);
  display: flex;
  align-items: center;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
  box-shadow: none;
  transition: top 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}
.site-header > .wrap { width: 100%; max-width: 1780px; }
.site-header .brand img { height: 78px; width: auto; transition: height 0.3s ease; }
/* inner pages and the scrolled state: solid #202020, strip slides away, bar shortens, logo 48px */
body:not(:has(main > .hero-full:first-child)) .site-header,
body:not(:has(main > .hero-full:first-child)) .site-topline { background: var(--dl-head); }
html.dl-scrolled .site-topline { transform: translateY(-100%); }
html.dl-scrolled .site-header {
  top: 0;
  height: 72px;
  background: var(--dl-head);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
html.dl-scrolled .site-header .brand img { height: 48px; }
.site-header.scrolled { box-shadow: none; }

.site-nav a {
  position: relative;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #fff;
  background: transparent !important;
  border-radius: 0;
  padding: 0.55rem 0.9rem;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0.9rem; right: 0.9rem; bottom: 0.2rem;
  height: 4px;
  border-top: 1px solid var(--dl-accent);
  border-bottom: 1px solid var(--dl-accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.site-nav a:not(.btn):hover, .site-nav a:not(.btn)[aria-current="page"], .site-nav a.active { color: var(--dl-accent); }
.site-nav a:not(.btn):hover::after, .site-nav a:not(.btn)[aria-current="page"]::after, .site-nav a.active::after { transform: scaleX(1); }
.header-cta .btn { padding: 9px 22px; min-height: 44px; }
.nav-toggle { background: transparent; border: 0; color: #fff; }
.nav-toggle__bars span { background: #fff; }
@media (max-width: 900px) {
  .site-topline { display: none; }
  .site-header { top: 0; }
  .site-header .brand img { height: 54px; }
  html.dl-scrolled .site-header { height: 64px; }
  html.dl-scrolled .site-header .brand img { height: 44px; }
  .site-nav { background: var(--dl-bg-2); border-top: 1px solid var(--dl-line); }
  .site-nav a { font-size: 13px; }
}

/* ---------- hero (home + location pages) ---------- */
.hero-full {
  min-height: max(100vh, 640px);
  min-height: max(100svh, 640px);
  background: #000;
  justify-content: center;
  text-align: center;
  padding-top: var(--dl-head-h);
}
.hero-full__bg img { animation: dl-kenburns 7s linear both; transform-origin: center; }
@keyframes dl-kenburns { from { transform: scale(1); } to { transform: scale(1.15); } }
.hero-full::before, .hero-full__bg::after { background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.7) 100%) !important; }
.hero-full__content { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 950px; margin-inline: auto; }
.hero-full__content h1 { color: #fff; font-weight: 400; margin: 0.25rem 0 0; }
.hero-full__tag { font-size: clamp(1rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.88); max-width: 46rem; margin-inline: auto; }
.hero-full__tag em { font-style: normal; color: var(--dl-accent); }
.hero-actions { justify-content: center; }
/* staggered entrance of their slide (A4/A6/A7). The H1 (LCP) is visible on first paint. */
.hero-full [data-reveal].hero-full__content { animation: none; opacity: 1; transform: none; }
@keyframes dl-rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero-full__content > .kicker { animation: dl-rise 1s ease 0.2s both; }
.hero-full__content > .hero-full__tag { animation: dl-rise 1s ease 0.5s both; }
.hero-full__content > .hero-actions { animation: dl-rise 1s ease 0.8s both; }
.hero-full__foot[data-reveal] { animation: dl-rise 1s ease 1.1s both; }
.store-bar {
  background: rgba(14, 13, 12, 0.78);
  border: 1px solid var(--dl-line);
  border-radius: 0;
  backdrop-filter: none;
}
.sb-cell, .sb-cell strong, .sb-cell span { color: #fff; }
.sb-cell .sb-body span { color: var(--dl-muted); }
.sb-ico { color: var(--dl-accent); background: transparent; border: 1px solid var(--dl-accent); border-radius: 0; transform: rotate(45deg); }
.sb-ico .ico { transform: rotate(-45deg); }

/* ---------- inner page hero = their page-title banner ---------- */
.page-hero, .header__container, .header__container3, .dish-hero {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 137, 31, 0.08), transparent 60%),
    var(--dl-bg-2);
  border-bottom: 1px solid var(--dl-line);
  text-align: center;
}
.page-hero .kicker, .page-hero h1, .page-hero .lede { margin-inline: auto; }
.page-hero--split { text-align: left; }
.page-hero--split .kicker { align-items: flex-start; }
.page-hero--split .kicker::after { margin-left: 0; }
.breadcrumb-wrapper, .breadcrumb-container { background: transparent; }
.breadcrumb, .breadcrumb a { color: var(--dl-muted); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; }
.breadcrumb a:hover { color: var(--dl-accent); }

/* ---------- sections: dark rhythm (#171819 / #0e0d0c) ---------- */
main > section, .section__container, .cs-container { background: transparent; }
main > section:nth-of-type(even):not(.hero-full):not(.page-hero) { background: var(--dl-bg-2); }
.menu-band, .cta-band, .cta__container, .contact-sec, .faq, .quotes, .story, .values, .chapters,
.locations-sec, .menu-locations, .explore__container, .plates, .home-locations {
  color: var(--dl-muted);
}
.menu-band { background: var(--dl-bg-2) !important; }
.menu-band::before, .menu-band::after { opacity: 0.04 !important; color: #fff !important; }
.cta-band, .cta__container, .cs-background {
  background:
    linear-gradient(rgba(14,13,12,.92), rgba(14,13,12,.92)),
    var(--dl-bg-2) !important;
  border-top: 1px solid var(--dl-line);
  border-bottom: 1px solid var(--dl-line);
}
.cta-band h2 em { color: var(--dl-accent); }

/* ---------- cards: dark, square, hairline, image zoom + shine (A9) ---------- */
.plate, .loc-card, .loc-map, .info-card, .quote-card, .faq-item, .qa, .value-card, .bd-card,
.related-dish-card, .delivery-area-card, .order-step, .map-block, .privacy-item, .hours-table,
.explore__image, .cat-tile, .chip, .sticker, .dish-detail, .menu-location-card {
  background: var(--dl-bg-3);
  color: var(--dl-muted);
  border: 1px solid var(--dl-line);
  border-radius: 0;
  box-shadow: none;
}
.plate:hover, .loc-card:hover, .related-dish-card:hover, .info-card:hover { transform: none; box-shadow: none; border-color: rgba(255,137,31,.45); }
.plate img, .loc-card__img, .related-dish-card img, .bd-img, .explore__image img, .story-collage img {
  border-radius: 0;
  transition: transform 0.5s ease;
}
.plate, .loc-card, .related-dish-card, .bd-card { position: relative; overflow: hidden; }
.plate:hover img, .loc-card:hover .loc-card__img, .related-dish-card:hover img, .bd-card:hover .bd-img { transform: scale(1.04); }
.plate::after, .loc-card::after, .related-dish-card::after, .bd-card::after {
  content: "";
  position: absolute;
  top: 0; left: -85%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 100%);
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 2;
}
@keyframes dl-shine { to { left: 125%; } }
.plate:hover::after, .loc-card:hover::after, .related-dish-card:hover::after, .bd-card:hover::after { animation: dl-shine 1s; }
.plate h3, .loc-card__name, .related-dish-card h3, .bd-card h3 { font-family: var(--font-display); color: #fff; font-weight: 400; }
.plate-no { color: var(--dl-accent); letter-spacing: 0.3em; }
.plate-foot, .plate-foot a { color: var(--dl-accent); text-transform: uppercase; letter-spacing: 0.2em; font-size: 12px; font-weight: 700; }
.cat-tile { color: #fff; font-family: var(--font-display); font-size: 1.35rem; transition: border-color .3s ease, color .3s ease; }
.cat-tile:hover { border-color: var(--dl-accent); color: var(--dl-accent); background: var(--dl-bg-3); }
.chip { color: #fff; border-color: var(--dl-line-2); }
.chip .dot { color: var(--dl-accent); background: transparent; }
.sticker { color: #fff; background: var(--dl-bg-2); border-color: var(--dl-accent); }

/* home plates: their staggered trio (middle column dropped, A-section 4) on desktop */
@media (min-width: 1025px) {
  .plates-track {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
    gap: 2.5rem 3rem;
    padding-bottom: 6rem;
  }
  .plates-track > .plate:nth-child(3n + 2) { translate: 0 5rem; }
  .plates .sec-tools { display: none; }
}
.arrow-btn {
  width: 44px; height: 44px;
  border: 1px solid var(--dl-accent);
  border-radius: 0;
  background: transparent;
  color: var(--dl-accent);
  transform: rotate(45deg);
}
.arrow-btn .ico { transform: rotate(-45deg); }
.arrow-btn:hover { background: var(--dl-accent); color: var(--dl-on-accent); }

/* story: their 2-col about with framed photo */
.story-collage img { border: 1px solid var(--dl-line); }
.signoff { color: var(--dl-accent); font-family: var(--font-display); font-size: 1.5rem; }

/* reviews */
.quote-card .qmark { color: var(--dl-accent); }
.q-by, .q-by strong { color: #fff; }
.rating-count, .q-by span { color: var(--dl-muted); }

/* FAQ */
.qa summary, .faq-question { color: #fff; font-family: var(--font-display); font-size: 1.2rem; }
.qa-ico { color: var(--dl-accent); border-color: var(--dl-accent); border-radius: 0; background: transparent; }
.qa[open] { border-color: rgba(255,137,31,.45); }

/* hours tables: their deals-list leaders */
.hours-table { background: transparent; border: 0; }
.hours-table td, .hours-table th { color: var(--dl-muted); border-color: var(--dl-line) !important; background: transparent !important; }
.hours-table td:first-child, .hours-table th:first-child { color: #fff; font-family: var(--font-display); font-size: 1.1rem; }
.hours-table td:last-child { color: var(--dl-accent); }

/* maps */
.map-frame, .map-shield { border-radius: 0; border: 1px solid var(--dl-line); }

/* menu page */
.menu-buttons .menu-button, .menu-button { background: var(--dl-bg-3); color: #fff; border: 1px solid var(--dl-line); border-radius: 0; }
.menu-buttons .menu-button.active, .menu-button:hover { background: var(--dl-accent); color: var(--dl-on-accent); border-color: var(--dl-accent); }
.menu-item, .menu-card, .dish-card { background: var(--dl-bg-3); border: 1px solid var(--dl-line); border-radius: 0; color: var(--dl-muted); }
.menu-item h3, .menu-item h4, .menu-card h3, .dish-card h3 { color: #fff; }
.menu-item .price, .dish-price, .price { color: var(--dl-accent); }

/* dish pages */
.dish-hero-image img { border-radius: 0; border: 1px solid var(--dl-line); }
.dish-rating, .dish-rating * { color: var(--dl-accent); }
.dish-description, .dish-description-content, .dish-details { color: var(--dl-muted); }

/* place pages (tags/places): extend the look */
.explore__content h2, .explore__content h1 { color: #fff; }
.explore__image { padding: 0; overflow: hidden; }
.cs-content, .cs-text { color: var(--dl-muted); }

/* contact / info cards */
.info-card .ic, .v-ico, .sb-ico, .step-number {
  color: var(--dl-accent);
  background: transparent;
  border: 1px solid var(--dl-accent);
  border-radius: 0;
}
.step-number { font-family: var(--font-display); }
.info-card h3, .info-card h4, .value-card h3, .order-step h3 { color: #fff; }

/* location chooser dialog, extended to their dark panel */
.loc-chooser {
  background: var(--dl-bg-2);
  color: var(--dl-muted);
  border: 1px solid var(--dl-line);
  border-radius: 0;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.loc-chooser::before, .loc-chooser::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 8px;
  background: repeating-linear-gradient(45deg, rgba(255,137,31,.55) 0 2px, transparent 2px 7px);
}
.loc-chooser::before { left: 0; }
.loc-chooser::after { right: 0; }
.loc-chooser::backdrop { background: rgba(0, 0, 0, 0.78); }
.loc-chooser__head h2 { color: #fff; font-family: var(--font-display); font-weight: 400; }
.loc-chooser__note { color: var(--dl-muted); }
.loc-chooser__close { background: transparent; color: #fff; border: 1px solid var(--dl-line-2); border-radius: 0; }
.loc-chooser__opt {
  background: var(--dl-bg-3);
  color: var(--dl-muted);
  border: 1px solid var(--dl-line);
  border-radius: 0;
  transition: border-color .3s ease;
}
.loc-chooser__opt:hover, .loc-chooser__opt:focus-visible { border-color: var(--dl-accent); }
.loc-chooser__name { color: #fff; font-weight: 400; }
.loc-chooser__go { align-self: flex-start; margin-top: .4rem; padding: 8px 20px; min-height: 40px; }

/* floating order button */
.order-float { border-radius: 0; box-shadow: 0 10px 28px rgba(0,0,0,.45); }

/* ---------- footer: their centred panel with patterned side borders ---------- */
.site-footer {
  position: relative;
  background:
    linear-gradient(rgba(0,0,0,.82), rgba(0,0,0,.9)),
    #000;
  color: var(--dl-muted);
  border-top: 1px solid var(--dl-line);
}
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; }
.site-footer a { color: var(--dl-muted); }
.site-footer ul a { position: relative; transition: color .3s ease; }
.foot-grid > div:nth-child(2) ul a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color .3s ease;
}
.foot-grid > div:nth-child(2) ul a::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px; height: 4px;
  border-top: 1px solid var(--dl-accent); border-bottom: 1px solid var(--dl-accent);
  transform: scaleX(0);
  transition: transform .3s ease;
}
.site-footer ul a:hover { color: var(--dl-accent); }
.foot-grid > div:nth-child(2) ul a:hover::before { transform: scaleX(1); }
.foot-brand {
  position: relative;
  padding: 2.5rem 2rem;
  text-align: center;
  background: var(--dl-bg-2);
}
.foot-brand::before, .foot-brand::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 12px;
  background: repeating-linear-gradient(45deg, rgba(255,137,31,.5) 0 2px, transparent 2px 8px);
}
.foot-brand::before { left: 0; }
.foot-brand::after { right: 0; }
.foot-brand img { margin-inline: auto; }
.foot-social { justify-content: center; }
.foot-social a { color: #fff; border: 1px solid var(--dl-line-2); border-radius: 0; background: transparent; }
.foot-social a:hover { color: var(--dl-on-accent); background: var(--dl-accent); border-color: var(--dl-accent); }
.foot-hours, .foot-hours * { color: var(--dl-muted); }
.foot-bottom, .site-footer .foot-bottom a { color: var(--dl-muted); border-color: var(--dl-line) !important; }

/* scroll-to-top (A14) if present */
.to-top, .scroll-to-top { border-radius: 0; background: var(--dl-accent); color: var(--dl-on-accent); }

/* forms/inputs (contact, newsletter) */
input, select, textarea { background: var(--dl-bg-3); color: #fff; border: 1px solid var(--dl-line-2); border-radius: 0; }

/* ---------- scroll reveals (A8): their fadeInUp 20px, staggered ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s ease, transform 1.5s ease;
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-dl-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 1.5s ease, transform 1.5s ease; transition-delay: var(--dl-d, 0s); }
[data-dl-reveal="left"] { transform: translateX(-20px); }
[data-dl-reveal="right"] { transform: translateX(20px); }
[data-dl-reveal].is-in { opacity: 1; transform: none; }
@media (max-width: 768px) {
  [data-reveal], [data-dl-reveal] { transition-duration: 0.6s; }
}

/* ---------- reduced motion: everything off ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-dl-reveal], .hero-full__content > *, .hero-full__foot { opacity: 1 !important; transform: none !important; translate: none; }
  .hero-full__bg img { transform: none !important; }
}

/* ---------- pass 2: TF light leftovers on the dark skin ---------- */
.kicker::before { display: none; }
.kicker::after {
  background:
    linear-gradient(var(--dl-accent), var(--dl-accent)) left 50% / 40px 1px no-repeat,
    linear-gradient(var(--dl-accent), var(--dl-accent)) right 50% / 40px 1px no-repeat;
}
.kicker { position: relative; }
.kicker > *:last-child { position: relative; }
.kicker::after { -webkit-mask: none; }
.kicker { --dia: 7px; }
.kicker::after { box-shadow: none; }
.kicker::after, .cs-subtitle::after {
  background:
    linear-gradient(var(--dl-accent), var(--dl-accent)) left 50% / 40px 1px no-repeat,
    linear-gradient(var(--dl-accent), var(--dl-accent)) right 50% / 40px 1px no-repeat,
    radial-gradient(circle, var(--dl-accent) 0 2.5px, transparent 3px) center / 10px 10px no-repeat;
}
.site-topline .wrap, .site-header > .wrap { padding-inline: 20px; box-sizing: border-box; width: 100%; }
.chip, .story-copy .chip, .quotes-intro .chip, .cta-chips .chip, .hero-proof .chip {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid var(--dl-line-2);
  border-radius: 0;
  box-shadow: none !important;
}
.menu-band { border-radius: 0 !important; width: 100% !important; color: var(--dl-muted); }
.menu-band h2, .menu-band .kicker { color: #fff; }
.menu-band .kicker { color: var(--dl-accent); }
.menu-band h2 em, h2 em, .hero-full__tag em { color: var(--dl-accent) !important; }
.menu-band p { color: var(--dl-muted); }
.story-collage .img-a, .story-collage .img-b { border-radius: 0 !important; border: 6px solid var(--dl-bg-3) !important; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.sticker { border-radius: 0 !important; }
.btn-ghost, .cs-button-ghost, .btn-secondary, .cta-content .btn { background: transparent; color: var(--dl-accent); border: 2px solid var(--dl-accent); border-radius: 0; }
.btn-ghost:hover, .cs-button-ghost:hover, .btn-secondary:hover, .cta-content .btn:hover { color: var(--dl-on-accent); background: var(--dl-accent); }
.board-card.hours li strong, .quote-card blockquote, .delivery-area h3, .delivery-area-card h3, .package-card h3, .faq-question { color: #fff; }
.qa summary .qa-ico, .faq__icon { background: transparent; color: var(--dl-accent); border: 1px solid var(--dl-accent); border-radius: 0; }
.bd-body .bd-note, .item-desc span { color: var(--dl-muted); background: transparent; }
.menu-title { color: #fff; }
.mobile-menu-controls, #menu-search, .dropdown-content, .popup-content { background: var(--dl-bg-3); color: #fff; border-color: var(--dl-line-2); border-radius: 0; }
#home-hero .hero-stats li { background: var(--dl-bg-3); color: #fff; }
.delivery-features li .ico, .takeout-features li .ico { color: var(--dl-accent); background: transparent; }
.nav-extra__tel .ico { color: var(--dl-accent); }
.nav-extra__tel:hover { color: var(--dl-accent); background: transparent; }
.dish-hero .dish-detail { background: var(--dl-bg-3); color: var(--dl-muted); border: 1px solid var(--dl-line); }
.dish-hero-image::after { display: none; }
.foot-brand img { background: transparent; }
.signoff { color: var(--dl-accent) !important; }
.loc-chooser__addr, .loc-chooser__hours { color: var(--dl-muted); }
.floating-btn-wrapper { background: rgba(14, 13, 12, 0.94) !important; border-top: 1px solid var(--dl-line); box-shadow: none !important; }
@media (max-width: 600px) { .kicker, .cs-subtitle { letter-spacing: 0.25em; } }
.explore__btn { background: none; border: 0; padding: 0; }
.cs-button-solid, .cs-button1 { border-radius: 0 !important; box-shadow: none !important; font-family: var(--font-body) !important; font-size: 12px !important; color: var(--dl-on-accent) !important; }
.cs-button-solid:hover { color: #fff !important; }

/* CLS: the TF breadcrumb fallback used to hold the header's height in flow until components.js
   injected the header, then vanished (0.125 shift). The header is now fixed and its room is a
   static body padding, so the fallback sits out of flow in the header band: visible only
   without JS, never moving anything. */
.breadcrumb-container,
body:not(.header-loaded) .breadcrumb-container {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 59;
  height: var(--dl-head-h);
  min-height: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 20px;
  background: var(--dl-head);
}
body.header-loaded .breadcrumb-container { display: none; }

/* place + tag pages: their page-title banner = real photo under a dark scrim (TF hid it) */
#home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #000;
  padding: clamp(4.5rem, 10vw, 8rem) 1rem;
  border-bottom: 1px solid var(--dl-line);
}
#home-hero .cs-background { display: block; position: absolute; inset: 0; z-index: -2; background: none !important; border: 0; }
#home-hero .cs-background img { width: 100%; height: 100%; object-fit: cover; animation: dl-kenburns 7s linear both; }
#home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,.6) 50%, rgba(0,0,0,.8)); }
#home-hero .cs-title { color: #fff; }
#home-hero .cs-text { color: rgba(255,255,255,.85); }

/* chooser: centred panel on desktop (a global reset zeroes the dialog's margin:auto; Chachu fix) */
@media (min-width: 601px) {
  .loc-chooser[open] { position: fixed; inset: 0; margin: auto; height: fit-content; }
}

/* hero slider (A3): crossfade 1s, each slide 7s with Ken Burns (A2); arrows = their diamond outlines */
.hero-full__bg.dl-slide { opacity: 0; transition: opacity 1s ease; }
.hero-full__bg.dl-slide.is-active { opacity: 1; }
.hero-full__bg.dl-slide img { animation: none; }
.hero-full__bg.dl-slide.is-active img { animation: dl-kenburns 7s linear both; }
.dl-hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px; height: 44px;
  margin-top: -22px;
  display: grid; place-items: center;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.6);
  transform: rotate(45deg);
  cursor: pointer;
  transition: border-color .3s ease, color .3s ease;
}
.dl-hero-arrow svg { transform: rotate(-45deg); }
.dl-hero-arrow:hover, .dl-hero-arrow:focus-visible { border-color: var(--dl-accent); color: var(--dl-accent); }
.dl-hero-arrow--prev { left: 28px; }
.dl-hero-arrow--next { right: 28px; }
@media (max-width: 900px) { .dl-hero-arrow { display: none; } }

/* halal mark (their own asset, Rakesh 17:52): beside the logo in the header, under it in the footer */
.site-header .halal-mark { flex: 0 0 auto; width: 48px; height: 48px; margin-left: -0.5rem; transition: width .3s ease, height .3s ease; }
html.dl-scrolled .site-header .halal-mark { width: 40px; height: 40px; }
@media (max-width: 900px) {
  .site-header .halal-mark, html.dl-scrolled .site-header .halal-mark { width: 32px; height: 32px; margin-left: 10px; }
}
.halal-mark--foot { display: block; width: 48px; height: 48px; margin: 14px auto 0; }
@media (min-width: 901px) { .site-header .site-nav { margin-inline: auto; } }
@media (max-width: 900px) { .site-header .halal-mark { margin-right: auto; } }
.site-header .brand img { width: auto; max-width: none; }
.site-header > .wrap { gap: 1rem; }
@media (min-width: 901px) and (max-width: 1280px) {
  .site-nav a { padding: 0.5rem 0.55rem; letter-spacing: 1.2px; font-size: 11.5px; }
  .site-nav a:not(.btn)::after { left: 0.55rem; right: 0.55rem; }
  .header-cta .btn { padding: 8px 16px; letter-spacing: 2px; }
  .site-header .brand img { height: 64px; }
  .site-header .halal-mark { width: 40px; height: 40px; }
}

/* logo: the badge file is 485x170 with ~43% transparent space on the right. Show the badge's own
   box (cover + left) so the halal mark sits right beside it and the bar has room. Same file, not cropped. */
.site-header .brand img { --lh: 78px; height: var(--lh); width: calc(var(--lh) * 1.63); object-fit: cover; object-position: left center; }
html.dl-scrolled .site-header .brand img { --lh: 48px; height: var(--lh); }
@media (min-width: 901px) and (max-width: 1280px) { .site-header .brand img { --lh: 64px; } }
@media (max-width: 900px) {
  .site-header .brand img { --lh: 54px; }
  html.dl-scrolled .site-header .brand img { --lh: 44px; }
}
.site-header .halal-mark { margin-left: 0; }
.foot-brand > img:first-child { height: 96px; width: calc(96px * 1.63); object-fit: cover; object-position: left center; margin-inline: auto; }
.foot-brand img.halal-mark--foot { width: 48px; height: 48px; object-fit: contain; margin: 14px auto 0; }

/* home + about: their "About Cafe Imran Khan" story block (text left, chef cut-out right, no box) */
.dl-about { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--dl-bg-2); }
.dl-about .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.dl-about__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.dl-about__copy h2 { margin: 0.4rem 0 1.4rem; }
.dl-about__copy p { color: var(--dl-muted); max-width: 36rem; margin: 0 auto 1rem; font-size: 15px; line-height: 1.9; }
.dl-about__copy .btn-line { margin-top: 1rem; }
.dl-about__photo { display: flex; justify-content: center; }
.dl-about__photo img { display: block; width: min(100%, 520px); height: auto; aspect-ratio: 1; background: none; border: 0; box-shadow: none; }
@media (max-width: 900px) {
  .dl-about .wrap { grid-template-columns: 1fr; }
  .dl-about__photo { order: -1; }
  .dl-about__photo img { width: min(90vw, 480px); }
}

/* home "we offer" trio: their staggered portrait cards (middle one dropped), shine + zoom on hover */
.dl-offer { padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem); background: var(--dl-bg-2); }
.dl-offer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 5vw, 5rem); max-width: 1100px; margin: 2.5rem auto 0; }
.dl-offer__card { display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; text-decoration: none; }
.dl-offer__card:nth-child(2) { margin-top: clamp(0px, 10vw, 160px); }
.dl-offer__img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; padding: 18px 0; margin-bottom: 1.5rem;
  background: repeating-linear-gradient(45deg, rgba(255,137,31,.35) 0 2px, transparent 2px 9px) center / 46% 100% no-repeat; transition: background-position .5s ease; }
.dl-offer__img img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dl-offer__img::after { content: ""; position: absolute; top: 0; left: -85%; width: 50%; height: 100%; z-index: 2; background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,.3)); transform: skewX(-25deg); pointer-events: none; }
.dl-offer__card:hover .dl-offer__img img { transform: scale(1.04); }
.dl-offer__card:hover .dl-offer__img::after { animation: dl-shine 1s; }
.dl-offer__card h3 { font-size: clamp(1.25rem, 2.4vw, 2.2rem); margin: 0 0 .6rem; color: #fff; }
.dl-offer__more { font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--dl-accent); }
.dl-offer__card:hover .dl-offer__more { color: #fff; }
@media (max-width: 700px) {
  .dl-offer__grid { grid-template-columns: 1fr; max-width: 420px; }
  .dl-offer__card:nth-child(2) { margin-top: 0; }
}

/* menu page: catering + marinated meat (their pages, in their list style) */
.dl-catering { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.dl-catering--meat { background: var(--dl-bg-2); }
.dl-catering__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.dl-catering__col { background: var(--dl-bg-3); border: 1px solid var(--dl-line); padding: clamp(1.5rem, 3vw, 2.5rem); }
.dl-catering__col--wide { max-width: 900px; margin: 2rem auto 0; text-align: center; }
.dl-catering__col h3 { color: var(--dl-accent); margin: 0 0 .75rem; }
.dl-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.dl-list li { position: relative; padding: .55rem 0 .55rem 1.4rem; border-bottom: 1px dotted var(--dl-line-2); color: #fff; }
.dl-list li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 7px; height: 7px; border: 1px solid var(--dl-accent); transform: rotate(45deg); }
.dl-list--cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2rem; text-align: left; }
@media (max-width: 800px) { .dl-catering__grid, .dl-list--cols { grid-template-columns: 1fr; } }
.dl-catering__col p { margin: 0 0 1rem; }

/* first screen on Contact / Locations / Menu: the location cards are the LCP, so their block fades
   in with CSS from first paint (starts at 0.01 opacity, like TF's hero rule) instead of waiting for JS */
.page-hero + .contact-sec > .wrap > [data-reveal]:first-child,
.page-hero + .locations-sec > .wrap > [data-reveal]:first-child {
  transition: none;
  animation: tf-reveal-in 0.75s ease both;
}
