/* TCHAHIT v80 — launch-grade public composition.
   Two deliberate focal points: the appetite CTA and the direct-courier story. */

.shell .hero.bold-hero {
  min-height: 680px;
  padding: clamp(34px, 4.5vw, 68px);
  grid-template-columns: minmax(0, 1.03fr) minmax(470px, .97fr);
  gap: clamp(32px, 4.5vw, 68px);
}

.shell .hero-copy { max-width: 790px; }
.shell .hero-copy .hero-title-cta {
  max-width: none;
  margin: 18px 0 18px;
  font-size: clamp(3.8rem, 5.85vw, 6.25rem);
  line-height: .96;
  letter-spacing: -.045em;
  text-wrap: initial;
  perspective: 900px;
}
.shell .hero-title-line {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  color: #fff;
  text-shadow:
    0 1px 0 #e8e9e5,
    0 3px 0 rgba(164, 171, 167, .78),
    0 8px 18px rgba(0, 0, 0, .34);
  transform: translateZ(0);
}
.shell .hero-title-line + .hero-title-line { margin-top: .08em; }
.shell .hero-title-line em {
  display: inline-block;
  margin-inline-start: .16em;
  color: var(--t78-tomato);
  font-style: normal;
  text-shadow:
    0 1px 0 #ff8b68,
    0 3px 0 #c9360d,
    0 7px 0 #852308,
    0 13px 24px rgba(255, 87, 40, .3);
  transform: translateY(-.025em) rotate(-1deg);
}
html[dir="rtl"] .shell .hero-copy .hero-title-cta {
  line-height: 1.04;
  letter-spacing: -.025em;
}

/* The food image reads as one editorial unit; its proof cards occupy one row. */
.shell .hero-visual { min-height: 550px; height: 550px; align-self: center; }
.shell .hero-visual-frame { inset: 22px 0 78px; }
.shell .hero-visual-console {
  inset-inline: 16px;
  bottom: 10px;
  grid-template-columns: minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.35fr);
  gap: 8px;
}
.shell .hero-float-card,
.shell .hero-visual-insight {
  min-height: 68px;
  padding: 11px 12px;
}
.shell .hero-visual-insight {
  grid-column: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.shell .hero-visual-insight b { line-height: 1.35; }
.shell .hero-visual-stamp { bottom: 94px; }

/* Direct courier: dense narrative card with a live, shuffled image widget. */
.shell .direct-couriers { padding-top: clamp(58px, 6vw, 88px); }
.shell .direct-courier-head {
  position: relative;
  min-height: 480px;
  padding: clamp(30px, 4vw, 58px);
  display: grid;
  grid-template-columns: minmax(400px, .92fr) minmax(540px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
  overflow: hidden;
  isolation: isolate;
}
.shell .direct-courier-head::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 88% 10%, rgba(255,87,40,.16), transparent 35%);
  pointer-events: none;
}
.shell .courier-story-copy { position: relative; z-index: 2; min-width: 0; }
.shell .courier-story-copy > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff7b54;
  font-size: .76rem;
  font-weight: 900;
}
.shell .courier-story-copy > span svg { width: 18px; }
.shell .courier-story-copy h2 {
  max-width: 11ch;
  margin: 12px 0 12px;
  color: white;
  font-size: clamp(2.6rem, 4.4vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
html[dir="rtl"] .shell .courier-story-copy h2 { letter-spacing: -.02em; }
.shell .courier-story-copy > p {
  max-width: 600px;
  margin: 0;
  color: #aeb8b3;
  font-size: .96rem;
  line-height: 1.75;
}
.shell .direct-errand-chips {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.shell .direct-errand-chips > span {
  min-width: 0;
  min-height: 104px;
  padding: 12px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 9px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  color: white;
}
.shell .direct-errand-chips i {
  grid-row: 1 / 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(240,191,62,.14);
  color: var(--t78-citrus);
  font-style: normal;
}
.shell .direct-errand-chips svg { width: 19px; height: 19px; }
.shell .direct-errand-chips b { align-self: end; font-size: .75rem; line-height: 1.25; }
.shell .direct-errand-chips small { align-self: start; color: #8f9a95; font-size: .62rem; line-height: 1.35; }

.shell .courier-mosaic {
  min-width: 0;
  height: 370px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 8px;
  transform: rotate(-2deg);
}
html[dir="rtl"] .shell .courier-mosaic { transform: rotate(2deg); }
.shell .courier-mosaic-tile {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: #232a27;
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
}
.shell .courier-mosaic-tile img {
  object-fit: cover;
  filter: saturate(.94) contrast(1.03);
  transition: transform .45s ease, filter .45s ease;
}
.shell .courier-mosaic-tile:hover img { transform: scale(1.055); filter: saturate(1.05) contrast(1.04); }
.shell .courier-mosaic .tile-1 { grid-column: span 2; grid-row: span 2; border-radius: 24px; }
.shell .courier-mosaic .tile-2 { grid-column: span 2; }
.shell .courier-mosaic .tile-6 { grid-column: span 2; }
.shell .courier-mosaic .tile-9 { grid-column: span 2; }
.shell .courier-mosaic .tile-11,
.shell .courier-mosaic .tile-12 { display: none; }

.shell .courier-location-gate {
  position: relative;
  z-index: 4;
  margin-top: -18px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border: 1px solid #d7d9d2;
  background: rgba(255,255,255,.98);
  box-shadow: 0 20px 55px rgba(16,21,20,.13);
}
.shell .courier-location-gate > i { color: var(--t78-tomato); background: #fff0eb; }
.shell .courier-location-gate b { color: var(--t78-carbon); }
.shell .courier-location-gate p { color: var(--t78-ink-muted); }
.shell .courier-location-gate button { min-height: 52px; border-radius: 13px; background: var(--t78-tomato); color: white; }
.shell .direct-courier-privacy { margin-top: 10px; color: #69746e; }

@media (max-width: 1180px) {
  .shell .hero.bold-hero { grid-template-columns: minmax(0, 1fr) minmax(400px, .9fr); }
  .shell .hero-copy .hero-title-cta { font-size: clamp(3.35rem, 5.5vw, 5.25rem); }
  .shell .direct-courier-head { grid-template-columns: minmax(340px, .9fr) minmax(430px, 1.1fr); }
  .shell .courier-mosaic { height: 330px; }
}

@media (max-width: 920px) {
  .shell .hero.bold-hero { min-height: 0; grid-template-columns: 1fr; }
  .shell .hero-copy .hero-title-cta { font-size: clamp(3.4rem, 10vw, 5.5rem); }
  .shell .hero-visual { width: 100%; }
  .shell .direct-courier-head { min-height: 0; grid-template-columns: 1fr; }
  .shell .courier-story-copy h2 { max-width: 14ch; }
  .shell .courier-mosaic { height: 340px; order: -1; }
}

@media (max-width: 620px) {
  .shell .hero-copy .hero-title-cta { margin-top: 14px; font-size: clamp(2.45rem, 12.2vw, 4rem); }
  .shell .hero-title-line { white-space: normal; width: auto; }
  .shell .hero-title-line em { margin-inline-start: .12em; }
  .shell .hero-visual { min-height: 405px; height: 405px; }
  .shell .hero-visual-frame { inset: 16px 0 82px; }
  .shell .hero-visual-console { inset-inline: 7px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .shell .hero-visual-insight { display: none; }
  .shell .hero-float-card { min-height: 64px; padding: 9px; }
  .shell .hero-visual-stamp { display: none; }
  .shell .direct-couriers { padding-top: 52px; }
  .shell .direct-courier-head { padding: 18px; gap: 22px; border-radius: 22px; }
  .shell .courier-mosaic { height: 245px; gap: 5px; }
  .shell .courier-mosaic-tile { border-radius: 10px; }
  .shell .courier-mosaic .tile-1 { border-radius: 15px; }
  .shell .courier-story-copy h2 { margin-top: 10px; font-size: clamp(2.25rem, 12vw, 3.3rem); }
  .shell .direct-errand-chips { grid-template-columns: 1fr; margin-top: 18px; }
  .shell .direct-errand-chips > span { min-height: 70px; }
  .shell .courier-location-gate { margin-top: 10px; padding: 16px; grid-template-columns: auto minmax(0, 1fr); }
  .shell .courier-location-gate button { grid-column: 1 / -1; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .shell .courier-mosaic-tile img { transition: none; }
}
