/* ==========================================================================
   KFC PAKISTAN — "THE BUCKET IS THE INVITATION"
   Design system: tokens, layout, components
   ========================================================================== */

:root{
  /* ---- Brand color system ---- */
  --kfc-red: #E4002B;
  --kfc-red-dark: #B5001F;
  --kfc-red-deep: #7A0015;
  --ink: #141110;
  --ink-raised: #1D1917;
  --charcoal: #241F1D;
  --paper: #FFF8EF;
  --paper-dim: #F4E9D8;
  --cream: #FFFCF7;
  --gold: #FFC72C;
  --line-on-dark: rgba(255,248,239,0.16);
  --line-on-light: rgba(20,17,16,0.12);
  --text-on-dark: #FFF8EF;
  --text-on-dark-dim: rgba(255,248,239,0.68);
  --text-on-light: #1B1614;
  --text-on-light-dim: rgba(27,22,20,0.62);

  /* ---- Type ---- */
  --font-display: 'Arial Black', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'SF Mono', 'Courier New', monospace;

  /* ---- Spacing scale ---- */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px;

  /* ---- Container ---- */
  --container-max: 1360px;
  --edge: clamp(20px, 5vw, 64px);

  /* ---- Radius / shadow (used sparingly, food is the hero not chrome) ---- */
  --radius-sm: 6px;
  --radius-md: 14px;
  --shadow-card: 0 20px 40px -20px rgba(20,17,16,0.35);
  --shadow-lift: 0 30px 60px -24px rgba(20,17,16,0.5);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-snap: cubic-bezier(.65,0,.35,1);
  --dur-fast: 180ms;
  --dur-mid: 420ms;
  --dur-slow: 780ms;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---- Reset ---- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text-on-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
/* Keep anchored sections clear of the fixed header on any jump — clicked,
   browser back/forward, or a direct #hash link. */
section[id]{ scroll-margin-top: 100px; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }
.container{ max-width: var(--container-max); margin:0 auto; padding:0 var(--edge); }
section{ position:relative; }

/* ---- Focus states (accessibility) ---- */
a:focus-visible, button:focus-visible, input:focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Skip link ---- */
.skip-link{
  position:absolute; left:-999px; top:0; background:var(--kfc-red); color:#fff;
  padding:14px 20px; z-index:999; font-weight:700;
}
.skip-link:focus{ left: var(--sp-4); top: var(--sp-4); }

/* ==========================================================================
   TYPE SCALE
   ========================================================================== */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  display:inline-flex;
  align-items:center;
  gap: 10px;
}
.eyebrow::before{
  content:'';
  width: 22px; height: 2px;
  background: currentColor;
  display:inline-block;
}
.display-1{
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.88;
  font-size: clamp(48px, 8.6vw, 132px);
}
.display-2{
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 0.92;
  font-size: clamp(34px, 5.4vw, 74px);
}
.display-3{
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.96;
  font-size: clamp(24px, 3vw, 38px);
}
.body-lg{ font-size: clamp(17px, 1.6vw, 21px); line-height:1.55; font-weight:400; }
.body-md{ font-size: 16px; line-height:1.6; }
.body-sm{ font-size: 14px; line-height:1.55; }
.italic-slam{
  font-style: italic;
  transform: skewX(-6deg);
  display:inline-block;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 17px 30px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn-primary{
  background: var(--kfc-red);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(228,0,43,0.55);
}
.btn-primary:hover{ background: var(--kfc-red-dark); transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(228,0,43,0.65); }
.btn-primary:active{ transform: translateY(0); }
.btn-ghost-dark{
  background: transparent;
  border-color: rgba(255,248,239,0.4);
  color: var(--text-on-dark);
}
.btn-ghost-dark:hover{ border-color:#fff; background: rgba(255,248,239,0.08); }
.btn-ghost-light{
  background: transparent;
  border-color: rgba(20,17,16,0.25);
  color: var(--text-on-light);
}
.btn-ghost-light:hover{ border-color: var(--ink); background: rgba(20,17,16,0.05); }
.btn-sm{ padding: 12px 22px; font-size: 13px; }
.btn-block{ width:100%; }

.link-arrow{
  display:inline-flex; align-items:center; gap:8px;
  font-weight:800; text-transform:uppercase; font-size:13px; letter-spacing:0.04em;
  padding-bottom: 3px;
  border-bottom: 2px solid currentColor;
}
.link-arrow svg{ transition: transform var(--dur-fast) var(--ease-out); }
.link-arrow:hover svg{ transform: translateX(4px); }

/* ==========================================================================
   NAV
   ========================================================================== */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index:100;
  background: rgba(20,17,16,0.0);
  transition: background var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out), padding var(--dur-mid) var(--ease-out);
  padding: 18px 0;
}
.site-header.is-scrolled{
  background: rgba(20,17,16,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px -10px rgba(0,0,0,0.4);
  padding: 10px 0;
}
.nav-row{
  display:flex; align-items:center; justify-content:space-between; gap: 24px;
}
.nav-logo{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.nav-logo img{ height: 34px; width:auto; transition: height var(--dur-mid) var(--ease-out); }
.site-header.is-scrolled .nav-logo img{ height: 28px; }
.nav-links{
  display:flex; align-items:center; gap: var(--sp-6);
  font-weight:700; font-size:14px; text-transform:uppercase; letter-spacing:0.03em;
  color: var(--text-on-dark-dim);
}
.nav-links a{ position:relative; padding: 6px 0; transition: color var(--dur-fast); }
.nav-links a:hover{ color: #fff; }
.nav-links a::after{
  content:''; position:absolute; left:0; right:100%; bottom:0; height:2px; background: var(--gold);
  transition: right var(--dur-mid) var(--ease-out);
}
.nav-links a:hover::after{ right:0; }
.nav-actions{ display:flex; align-items:center; gap: var(--sp-4); }
.nav-cart{
  display:flex; align-items:center; gap:8px;
  color:#fff; font-weight:700; font-size:14px;
}
.nav-cart svg{ width:20px; height:20px; }
.nav-burger{ display:none; }

/* Nav collapses to the burger pattern earlier than the general mobile
   breakpoint — four text links + cart + a CTA button simply don't have
   room in a tablet-portrait width without wrapping awkwardly. */
@media (max-width: 900px){
  .nav-links, .nav-cart span{ display:none; }
  .nav-burger{ display:flex; background:none; border:none; color:#fff; align-items:center; justify-content:center; width:38px; height:38px; }
  .nav-actions .btn{ display:none; }
}

/* Mobile nav */
.mobile-menu{
  position: fixed; inset:0; z-index: 150;
  background: var(--ink);
  transform: translateY(-100%);
  transition: transform var(--dur-mid) var(--ease-snap);
  display:flex; flex-direction:column;
  padding: 22px var(--edge) var(--sp-8);
  overflow-y:auto;
}
.mobile-menu.is-open{ transform: translateY(0); }
.mobile-menu-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom: var(--sp-8); }
.mobile-menu-close{ background:none; border:none; color:#fff; }
.mobile-menu-links{ display:flex; flex-direction:column; gap: var(--sp-2); }
.mobile-menu-links a{
  font-family: var(--font-display); font-weight:900; text-transform:uppercase;
  font-size: clamp(30px, 10vw, 44px); color:#fff; padding: 12px 0;
  border-bottom: 1px solid var(--line-on-dark);
}
.mobile-menu-foot{ margin-top:auto; padding-top: var(--sp-7); display:flex; flex-direction:column; gap:14px; }
.mobile-menu-foot .btn{ width:100%; }

/* Sticky mobile order bar */
.mobile-order-bar{
  position: fixed; left:0; right:0; bottom:0; z-index: 90;
  display:none;
  background: var(--ink);
  padding: 12px var(--edge);
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  box-shadow: 0 -12px 30px -14px rgba(0,0,0,0.5);
  align-items:center; justify-content:space-between; gap:12px;
}
.mobile-order-bar .btn{ flex:1; }
.mobile-order-bar-label{ color: var(--text-on-dark-dim); font-size:12px; text-transform:uppercase; letter-spacing:.05em; font-weight:700; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  background: var(--ink);
  color: var(--text-on-dark);
  min-height: 100svh;
  display:flex;
  align-items:center;
  padding-top: 110px;
  overflow:hidden;
  position:relative;
}
.hero::before{
  content:'';
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse 60% 55% at 82% 32%, rgba(228,0,43,0.28), transparent 60%),
    radial-gradient(ellipse 45% 45% at 10% 85%, rgba(228,0,43,0.14), transparent 65%);
  pointer-events:none;
}
.hero-grid{
  position:relative; z-index:2;
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items:center;
  gap: var(--sp-8);
  width:100%;
}
.hero-copy{ position:relative; z-index:3; }
.hero-eyebrow{ color: var(--gold); margin-bottom: var(--sp-5); }
.hero-title{ margin-bottom: var(--sp-5); }
.hero-title .line{ display:block; overflow:hidden; }
.hero-title .line span{
  display:block;
  transform: translateY(110%);
  animation: line-up var(--dur-slow) var(--ease-out) forwards;
}
.hero-title .line:nth-child(1) span{ animation-delay: 0.05s; }
.hero-title .line:nth-child(2) span{ animation-delay: 0.16s; color: var(--kfc-red); -webkit-text-stroke: 0; }
.hero-title .line:nth-child(3) span{ animation-delay: 0.27s; }
@keyframes line-up{ to{ transform: translateY(0); } }
.hero-sub{ color: var(--text-on-dark-dim); max-width: 460px; margin-bottom: var(--sp-6); }
.hero-ctas{ display:flex; align-items:center; gap: var(--sp-5); flex-wrap:wrap; }
.hero-meta{
  margin-top: var(--sp-8);
  display:flex; gap: var(--sp-7);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line-on-dark);
}
.hero-meta-item .num{ font-family:var(--font-display); font-weight:900; font-size: clamp(22px,2.6vw,32px); color:#fff; display:block; }
.hero-meta-item .lbl{ font-size:12px; text-transform:uppercase; letter-spacing:.04em; color: var(--text-on-dark-dim); }

.hero-visual{
  position:relative;
  z-index:2;
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow:hidden;
  box-shadow: var(--shadow-lift);
  opacity:0;
  animation: img-in 900ms var(--ease-out) forwards;
  animation-delay: 0.2s;
}
@keyframes img-in{
  from{ opacity:0; transform: scale(1.08) translateY(16px); }
  to{ opacity:1; transform: scale(1) translateY(0); }
}
.hero-visual img{ width:100%; height:100%; object-fit:cover; }
.hero-visual::after{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(20,17,16,0) 55%, rgba(20,17,16,0.55) 100%);
}
.hero-visual-tag{
  position:absolute; left:20px; bottom:20px; z-index:3;
  background: rgba(20,17,16,0.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-on-dark);
  color:#fff;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size:13px;
  font-weight:700;
  display:flex; align-items:center; gap:10px;
}
.hero-visual-tag .dot{ width:8px; height:8px; border-radius:50%; background: var(--gold); flex-shrink:0; }

.hero-scroll-cue{
  position:absolute; bottom: 28px; left:50%; transform:translateX(-50%);
  z-index:3; color: var(--text-on-dark-dim); font-size:11px; text-transform:uppercase; letter-spacing:.12em;
  display:flex; flex-direction:column; align-items:center; gap:8px;
}
.hero-scroll-cue .stem{ width:1px; height:34px; background: var(--line-on-dark); position:relative; overflow:hidden; }
.hero-scroll-cue .stem::after{
  content:''; position:absolute; left:0; top:-100%; width:100%; height:100%; background: var(--gold);
  animation: cue-drop 1.8s var(--ease-snap) infinite;
}
@keyframes cue-drop{ to{ top:100%; } }

/* ==========================================================================
   MARQUEE / TRUST STRIP
   ========================================================================== */
.trust-strip{
  background: var(--paper-dim);
  border-bottom: 1px solid var(--line-on-light);
  padding: var(--sp-5) 0;
  overflow:hidden;
}
.trust-track{
  display:flex; gap: var(--sp-9); align-items:center;
  animation: marquee 26s linear infinite;
  width:max-content;
}
.trust-track span{
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform:uppercase;
  letter-spacing: .1em;
  font-weight:700;
  color: var(--text-on-light-dim);
  display:flex; align-items:center; gap: var(--sp-9);
}
.trust-track span::after{ content:'—'; color: var(--kfc-red); margin-left: var(--sp-9); }
@keyframes marquee{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-head{
  display:flex; justify-content:space-between; align-items:flex-end; gap: var(--sp-6);
  margin-bottom: var(--sp-7);
}
.section-head .heading{ max-width: 640px; }
.section-head .eyebrow{ margin-bottom: var(--sp-3); }
.section-pad{ padding: var(--sp-9) 0; }

/* ==========================================================================
   DEALS / SHARING (asymmetric editorial)
   ========================================================================== */
.deals{ background: var(--paper); }
.deals-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--sp-6);
}
.deal-feature{
  position:relative;
  border-radius: var(--radius-md);
  overflow:hidden;
  min-height: 520px;
  background: var(--ink);
  color:#fff;
  display:flex; flex-direction:column; justify-content:flex-end;
  box-shadow: var(--shadow-card);
}
.deal-feature img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transition: transform 900ms var(--ease-out);
}
.deal-feature:hover img{ transform: scale(1.05); }
.deal-feature::before{
  content:''; position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(20,17,16,0.92) 5%, rgba(20,17,16,0.15) 55%, transparent 75%);
  z-index:1;
}
.deal-feature-content{ position:relative; z-index:2; padding: var(--sp-7); }
.deal-feature-tag{
  display:inline-block; background: var(--kfc-red); color:#fff; font-weight:800; font-size:12px;
  text-transform:uppercase; letter-spacing:.06em; padding: 6px 12px; border-radius:999px; margin-bottom: var(--sp-4);
}
.deal-feature h3{ font-family:var(--font-display); font-weight:900; text-transform:uppercase; font-size: clamp(28px,3.6vw,44px); line-height:0.98; margin-bottom: var(--sp-3); }
.deal-feature p{ color: var(--text-on-dark-dim); max-width:420px; margin-bottom: var(--sp-5); }

.deal-list{ display:flex; flex-direction:column; gap: 2px; }
.deal-row{
  display:flex; align-items:center; justify-content:space-between; gap: var(--sp-4);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--line-on-light);
  transition: padding-left var(--dur-fast) var(--ease-out);
}
.deal-row:hover{ padding-left: 10px; }
.deal-row:first-child{ padding-top:0; }
.deal-row-name{ font-family:var(--font-display); font-weight:900; text-transform:uppercase; font-size: clamp(18px,2vw,24px); }
.deal-row-desc{ color: var(--text-on-light-dim); font-size:14px; margin-top:4px; }
.deal-row-cta{ flex-shrink:0; width:38px; height:38px; border-radius:50%; border:2px solid var(--ink); display:flex; align-items:center; justify-content:center; transition: background var(--dur-fast), border-color var(--dur-fast); }
.deal-row:hover .deal-row-cta{ background: var(--kfc-red); border-color: var(--kfc-red); color:#fff; }

/* ==========================================================================
   MENU DISCOVERY (category navigator)
   ========================================================================== */
.menu-discover{ background: var(--ink); color:#fff; }
.menu-discover .section-head .eyebrow{ color: var(--gold); }
.menu-discover .section-head p{ color: var(--text-on-dark-dim); }
.cat-grid{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: var(--sp-4);
}
.cat-tile{
  position:relative;
  border-radius: var(--radius-md);
  overflow:hidden;
  grid-column: span 2;
  grid-row: span 1;
  background: var(--ink-raised);
  display:flex;
  align-items:flex-end;
}
.cat-tile.is-lead{ grid-column: span 3; grid-row: span 2; }
.cat-tile img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition: transform 700ms var(--ease-out); opacity:0.88; }
.cat-tile:hover img{ transform: scale(1.06); }
.cat-tile::before{ content:''; position:absolute; inset:0; background: linear-gradient(0deg, rgba(20,17,16,0.88), rgba(20,17,16,0.05) 60%); z-index:1; }
.cat-tile-label{ position:relative; z-index:2; padding: var(--sp-5); display:flex; align-items:center; justify-content:space-between; width:100%; }
.cat-tile-label h4{ font-family:var(--font-display); font-weight:900; text-transform:uppercase; font-size: clamp(18px,1.8vw,26px); }
.cat-tile.is-lead .cat-tile-label h4{ font-size: clamp(26px,2.6vw,36px); }
.cat-tile-arrow{ width:34px; height:34px; border-radius:50%; background: rgba(255,248,239,0.14); display:flex; align-items:center; justify-content:center; flex-shrink:0; transition: background var(--dur-fast), transform var(--dur-fast); }
.cat-tile:hover .cat-tile-arrow{ background: var(--kfc-red); transform: translate(3px,-3px); }

/* ==========================================================================
   SIGNATURE PRODUCTS (large editorial)
   ========================================================================== */
.signature{ background: var(--paper); }
.sig-item{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items:center;
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--line-on-light);
}
.sig-item:first-of-type{ border-top:none; padding-top:0; }
.sig-item.is-reversed{ direction: rtl; }
.sig-item.is-reversed > *{ direction: ltr; }
.sig-visual{ position:relative; aspect-ratio: 5/4; border-radius: var(--radius-md); overflow:hidden; box-shadow: var(--shadow-card); }
.sig-visual img{ width:100%; height:100%; object-fit:cover; transition: transform 700ms var(--ease-out); }
.sig-item:hover .sig-visual img{ transform: scale(1.04); }
.sig-index{ font-family: var(--font-mono); color: var(--kfc-red); font-weight:700; font-size:14px; margin-bottom: var(--sp-3); }
.sig-copy h3{ margin-bottom: var(--sp-4); }
.sig-copy p{ color: var(--text-on-light-dim); max-width: 440px; margin-bottom: var(--sp-5); }
.sig-tags{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom: var(--sp-6); }
.sig-tag{
  font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.04em;
  padding: 7px 14px; border-radius:999px; border:1px solid var(--line-on-light); color: var(--text-on-light-dim);
}

/* ==========================================================================
   BRAND MOMENT
   ========================================================================== */
.brand-moment{
  background: var(--ink);
  color:#fff;
  display:grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}
.brand-moment-copy{ display:flex; flex-direction:column; justify-content:center; padding: var(--sp-9) var(--edge); }
.brand-moment-copy .eyebrow{ color: var(--gold); margin-bottom: var(--sp-5); }
.brand-moment-copy h2{ margin-bottom: var(--sp-5); }
.brand-moment-copy p{ color: var(--text-on-dark-dim); max-width: 480px; margin-bottom: var(--sp-3); }
.brand-moment-visual{ position:relative; overflow:hidden; }
.brand-moment-visual img{ width:100%; height:100%; object-fit:cover; }
.brand-moment-visual::before{ content:''; position:absolute; inset:0; background: linear-gradient(90deg, var(--ink), transparent 30%); z-index:1; }
.recipe-seal{
  display:inline-flex; align-items:center; gap:12px;
  border:1px solid var(--line-on-dark); border-radius:999px; padding: 10px 18px; margin-top: var(--sp-5);
  font-family: var(--font-mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color: var(--text-on-dark-dim);
}

/* ==========================================================================
   STORE / DELIVERY
   ========================================================================== */
.store-section{ background: var(--paper-dim); }
.store-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items:center; }
.store-copy h2{ margin-bottom: var(--sp-5); }
.store-copy p{ color: var(--text-on-light-dim); max-width:460px; margin-bottom: var(--sp-6); }
.store-actions{ display:flex; gap: var(--sp-4); flex-wrap:wrap; margin-bottom: var(--sp-7); }
.store-stats{ display:flex; gap: var(--sp-7); padding-top: var(--sp-6); border-top:1px solid var(--line-on-light); }
.store-stats .num{ font-family:var(--font-display); font-weight:900; font-size: clamp(26px,3vw,36px); color: var(--kfc-red); display:block; }
.store-stats .lbl{ font-size:12px; text-transform:uppercase; letter-spacing:.04em; color: var(--text-on-light-dim); }

.map-mock{
  position:relative; aspect-ratio: 4/5; border-radius: var(--radius-md); overflow:hidden;
  background: var(--ink);
  box-shadow: var(--shadow-card);
}
.map-mock svg{ position:absolute; inset:0; width:100%; height:100%; }
.map-pin{
  position:absolute; width:16px; height:16px; border-radius:50% 50% 50% 0; background: var(--kfc-red);
  transform: rotate(-45deg); box-shadow: 0 0 0 6px rgba(228,0,43,0.18);
}
.map-pin.lead{ width:22px; height:22px; background: var(--gold); box-shadow: 0 0 0 8px rgba(255,199,44,0.22); }
.map-card{
  position:absolute; left:20px; right:20px; bottom:20px; background: rgba(20,17,16,0.85); backdrop-filter: blur(8px);
  border:1px solid var(--line-on-dark); border-radius: var(--radius-sm); padding: var(--sp-5); color:#fff;
}
.map-card h4{ font-family:var(--font-display); text-transform:uppercase; font-weight:900; font-size:18px; margin-bottom:4px; }
.map-card p{ color: var(--text-on-dark-dim); font-size:13px; }

/* ==========================================================================
   ORDER CHANNELS
   ========================================================================== */
.channels{ background: var(--paper); }
.channel-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.channel-card{
  border:1px solid var(--line-on-light); border-radius: var(--radius-md); padding: var(--sp-6);
  transition: border-color var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
}
.channel-card:hover{ border-color: var(--kfc-red); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.channel-icon{ width:46px; height:46px; border-radius:50%; background: var(--paper-dim); display:flex; align-items:center; justify-content:center; margin-bottom: var(--sp-5); color: var(--kfc-red); }
.channel-card h4{ font-family:var(--font-display); text-transform:uppercase; font-weight:900; font-size:20px; margin-bottom: var(--sp-3); }
.channel-card p{ color: var(--text-on-light-dim); font-size:14px; margin-bottom: var(--sp-4); }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta{
  background: var(--kfc-red);
  color:#fff;
  padding: var(--sp-9) 0;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.final-cta::before{
  content:'';
  position:absolute; inset:0;
  background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(0,0,0,0.25), transparent 60%);
}
.final-cta-inner{ position:relative; z-index:2; }
.final-cta h2{ margin-bottom: var(--sp-6); }
.final-cta .btn-primary{ background:#fff; color: var(--kfc-red); box-shadow:none; }
.final-cta .btn-primary:hover{ background: var(--ink); color:#fff; }
.final-cta .btn-ghost-dark{ border-color: rgba(255,255,255,0.5); }
.final-cta-ctas{ display:flex; gap: var(--sp-5); justify-content:center; flex-wrap:wrap; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{ background: var(--ink); color: var(--text-on-dark-dim); padding: var(--sp-8) 0 var(--sp-6); }
.footer-top{ display:grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--sp-7); padding-bottom: var(--sp-7); border-bottom: 1px solid var(--line-on-dark); }
.footer-brand img{ height:30px; margin-bottom: var(--sp-4); }
.footer-brand p{ max-width: 280px; font-size:14px; line-height:1.6; }
.footer-col h5{ color:#fff; font-size:12px; text-transform:uppercase; letter-spacing:.08em; font-weight:800; margin-bottom: var(--sp-4); }
.footer-col ul{ display:flex; flex-direction:column; gap: 10px; }
.footer-col a{ font-size:14px; transition: color var(--dur-fast); }
.footer-col a:hover{ color:#fff; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top: var(--sp-6); font-size:13px; flex-wrap:wrap; gap: var(--sp-4); }
.footer-legal{ display:flex; gap: var(--sp-5); flex-wrap:wrap; }

/* ==========================================================================
   REVEAL ON SCROLL
   Fail-safe / progressive-enhancement pattern: content is fully visible by
   default. The hidden-until-revealed state only applies once JS confirms it
   can observe and reveal it (html.js-reveal-ready) — so if JS is slow,
   blocked, or an observer misses an element, nothing stays permanently
   invisible. A JS-side timeout also force-reveals everything as a backstop.
   ========================================================================== */
.reveal, .reveal-stagger > *{ opacity:1; transform:none; }
html.js-reveal-ready .reveal{ opacity:0; transform: translateY(28px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
html.js-reveal-ready .reveal.is-visible{ opacity:1; transform:none; }
html.js-reveal-ready .reveal-stagger > *{ opacity:0; transform: translateY(24px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
html.js-reveal-ready .reveal-stagger.is-visible > *{ opacity:1; transform:none; }
.reveal-stagger.is-visible > *:nth-child(1){ transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2){ transition-delay: 90ms; }
.reveal-stagger.is-visible > *:nth-child(3){ transition-delay: 180ms; }
.reveal-stagger.is-visible > *:nth-child(4){ transition-delay: 270ms; }
.reveal-stagger.is-visible > *:nth-child(5){ transition-delay: 360ms; }
.reveal-stagger.is-visible > *:nth-child(6){ transition-delay: 450ms; }

/* ==========================================================================
   RESPONSIVE — TABLET (≤1024px)
   ========================================================================== */
@media (max-width: 1024px){
  .hero-grid{ grid-template-columns: 1fr; gap: var(--sp-6); }
  .hero{ padding-top: 96px; text-align:left; }
  .hero-visual{ aspect-ratio: 16/10; order:-1; }
  .hero-meta{ gap: var(--sp-6); flex-wrap:wrap; }
  .deals-grid{ grid-template-columns: 1fr; }
  .deal-feature{ min-height: 420px; }
  .cat-grid{ grid-template-columns: repeat(4,1fr); grid-template-rows: repeat(3, 180px); }
  .cat-tile{ grid-column: span 2; }
  .cat-tile.is-lead{ grid-column: span 4; grid-row: span 1; }
  .sig-item{ grid-template-columns: 1fr; gap: var(--sp-5); }
  .sig-item.is-reversed{ direction: ltr; }
  .sig-visual{ aspect-ratio: 16/10; }
  .brand-moment{ grid-template-columns: 1fr; min-height:auto; }
  .brand-moment-visual{ height: 340px; order:-1; }
  .brand-moment-visual::before{ background: linear-gradient(0deg, var(--ink), transparent 40%); }
  .store-grid{ grid-template-columns: 1fr; }
  .map-mock{ aspect-ratio: 16/9; order:-1; }
  .channel-grid{ grid-template-columns: 1fr 1fr; }
  .footer-top{ grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   RESPONSIVE — MOBILE (≤680px)
   ========================================================================== */
@media (max-width: 680px){
  :root{ --edge: 20px; }
  body{ padding-bottom: 78px; } /* room for sticky order bar */
  .mobile-order-bar{ display:flex; }

  .hero{ min-height: auto; padding-top: 88px; padding-bottom: var(--sp-8); }
  .hero-title{ font-size: clamp(40px, 13vw, 60px); }
  .hero-ctas{ flex-direction:column; align-items:stretch; }
  .hero-ctas .btn{ width:100%; }
  .hero-meta{ gap: var(--sp-5); }
  .hero-scroll-cue{ display:none; }

  .trust-track span{ font-size:11px; }

  .section-pad{ padding: var(--sp-7) 0; }
  .section-head{ flex-direction:column; align-items:flex-start; gap: var(--sp-4); }

  .deal-feature{ min-height: 340px; }
  .deal-feature-content{ padding: var(--sp-5); }

  .cat-grid{ grid-template-columns: repeat(2,1fr); grid-template-rows: repeat(4, 160px); gap: var(--sp-3); }
  .cat-tile{ grid-column: span 1 !important; grid-row: span 1 !important; }

  .sig-item{ padding: var(--sp-6) 0; }

  .brand-moment-copy{ padding: var(--sp-7) var(--edge); }
  .brand-moment-visual{ height: 240px; }

  .store-actions{ flex-direction:column; align-items:stretch; }
  .store-actions .btn{ width:100%; }
  .store-stats{ gap: var(--sp-5); flex-wrap:wrap; }

  .channel-grid{ grid-template-columns: 1fr; }

  .final-cta-ctas{ flex-direction:column; align-items:stretch; }
  .final-cta-ctas .btn{ width:100%; }

  .footer-top{ grid-template-columns: 1fr; gap: var(--sp-6); }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}

/* Utility */
.only-mobile{ display:none; }
@media (max-width:680px){ .only-mobile{ display:block; } .hide-mobile{ display:none !important; } }
.no-scroll{ overflow:hidden; }
