/* À propos. Structure: Eat Happy « Über uns » (wide team photo with an
   overlapping colour box, row of numbers) + BEHAVE « About » (story as
   alternating photo / text tiles) + Yellowbird « Our promise » (wavy badges).
   Bar: .design/bar.md */

/* ---- Hero ------------------------------------------------------------------ */
.a-hero { padding: 32px 0 0; }
.a-hero__photo { margin: 0; }
.a-hero__photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 35%; border-radius: 16px; }
.a-hero__box {
  position: relative; z-index: 1; max-width: 760px; margin: -120px 0 0 48px;
  background: var(--nori); color: var(--riz); border-radius: 16px; padding: 34px 40px 38px;
}
.a-hero__box .m-crumbs a, .a-hero__box .m-crumbs { color: var(--riz); }
.a-hero h1 { font-size: clamp(42px, 5vw, 72px); color: var(--riz); }
.a-hero__box p { font-size: 18px; margin: 16px 0 24px; max-width: 580px; text-wrap: pretty; }

/* ---- Numbers --------------------------------------------------------------- */
.a-stats ul { list-style: none; margin: 0 auto; padding-top: 48px; padding-bottom: 8px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.a-stats li { font-size: 15px; line-height: 1.35; text-wrap: balance; }
.a-stats b { display: block; font: 900 40px/1 var(--sp-display); color: var(--nori); margin-bottom: 8px; }

/* ---- Story tiles (BEHAVE) ---------------------------------------------------- */
.a-tiles { display: grid; gap: 22px; }
.a-tile { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.a-tile--rev figure { order: 2; }
.a-tile figure { margin: 0; position: relative; }
.a-tile img { width: 100%; height: 100%; min-height: 320px; max-height: 420px; object-fit: cover; border-radius: 16px; }
.a-tile figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--riz); border-radius: 50px; padding: 4px 12px; font-size: 14px; }
.a-tile__txt { border-radius: 16px; padding: 36px 38px; display: flex; flex-direction: column; justify-content: center; }
.a-tile__txt h3 { font-size: clamp(30px, 3vw, 40px); margin-bottom: 14px; }
.a-tile__txt p { margin: 0; font-size: 18px; text-wrap: pretty; }
.a-tile__txt a { font-weight: 700; }
.c-p-saumon { background: var(--p-saumon); } .c-p-wasabi { background: var(--p-wasabi); } .c-p-tamago { background: var(--p-tamago); }

/* ---- Promise badges (Yellowbird) --------------------------------------------- */
.a-promise { background: var(--brume); }
.a-badges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.a-badges li {
  position: relative; aspect-ratio: 1; max-width: 300px; width: 100%; justify-self: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18%;
}
.a-badges svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--riz); stroke: var(--nori); stroke-width: 1.2; }
.a-badges li:nth-child(2) svg { fill: var(--p-tamago); transform: rotate(8deg); }
.a-badges li:nth-child(3) svg { fill: var(--p-saumon); transform: rotate(-6deg); }
.a-badges b, .a-badges span { position: relative; }
.a-badges b { font: 900 34px/1 var(--sp-display); margin-bottom: 8px; }
.a-badges span { font-size: 16px; line-height: 1.35; }

/* ---- What we make ------------------------------------------------------------- */
.a-cats { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.a-cats a { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; text-decoration: none; color: var(--nori); border-radius: 16px; padding: 12px 6px 16px; }
@media (hover: hover) { .a-cats a:hover { background: #fff; } }
.a-cats a:focus-visible { outline: 3px solid var(--saumon); outline-offset: 2px; }
.a-cats img { height: 96px; width: auto; max-width: 100%; object-fit: contain; }
.a-cats span { font-weight: 700; font-size: 15px; line-height: 1.25; }
.a-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.a-cols h3 { font-size: 30px; margin-bottom: 10px; }
.a-cols p { margin: 0 0 8px; font-size: 17px; text-wrap: pretty; }

/* ---- Open hours / where --------------------------------------------------------- */
.a-open { background: var(--p-gingembre); }
.a-open__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.a-open h2 { font-size: clamp(36px, 4vw, 54px); margin-bottom: 22px; }
.a-open p { font-size: 17px; margin: 16px 0 0; text-wrap: pretty; }
.a-open__side { position: relative; padding-top: 40px; }
.a-open__side figure { margin: 0; }
.a-open__side figure img { border-radius: 16px; transform: rotate(2deg); }
.a-open__doodle { position: absolute; z-index: 1; width: 150px; left: -40px; top: -40px; transform: rotate(-8deg); }

/* ---- Reach us (tamago band before the nori footer) ------------------------ */
.a-reach { background: var(--p-tamago); }
.a-reach__in { max-width: 760px; text-align: center; }
.a-reach h2 { font-size: clamp(36px, 4vw, 54px); }
.a-score { margin: 14px 0 4px; font-size: 22px; }
.a-score a { text-decoration: none; color: var(--nori); }
.a-score b { font: 900 84px/1 var(--sp-display); }
.a-reach p { font-size: 18px; text-wrap: pretty; }
.a-reach p a { font-weight: 700; white-space: nowrap; }
.a-reach .c-btns { justify-content: center; }
.a-reach .a-legal { margin-top: 28px; font-size: 14px; }

@media (max-width: 1099.98px) {
  .a-stats ul { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .a-cats { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 899.98px) {
  .a-hero__photo img { aspect-ratio: 4 / 3; }
  .a-hero__box { margin: -60px 12px 0; padding: 26px 22px 28px; }
  .a-tile, .a-tile--rev { grid-template-columns: 1fr; }
  .a-tile--rev figure { order: 0; }
  .a-tile__txt { padding: 26px 22px; }
  .a-tile img { height: auto; max-height: none; aspect-ratio: 4 / 3; object-position: 50% 30%; }
  .a-badges { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  .a-badges li { max-width: 180px; padding: 13%; }
  .a-badges li:last-child { grid-column: 1 / -1; }
  .a-badges b { font-size: 22px; margin-bottom: 4px; }
  .a-badges span { font-size: 13px; line-height: 1.3; }
  .a-cols, .a-open__grid { grid-template-columns: 1fr; gap: 28px; }
  .a-open__doodle { width: 110px; left: auto; right: -6px; top: -10px; }
}
@media (max-width: 520px) {
  .a-stats ul { grid-template-columns: repeat(2, 1fr); }
  .a-stats b { font-size: 34px; }
  .a-cats { grid-template-columns: repeat(2, 1fr); }
  .a-cats li:last-child { grid-column: 1 / -1; }
  .a-score b { font-size: 76px; }
}
