/* look-fnb: fonts, hero layout, section rhythm. var() only: no raw hex, no raw colour function. */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/BricolageGrotesque-Bold.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/DMSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/DMSans-SemiBold.woff2") format("woff2"); }

/* Hero: a solid chilli-red block, chunky type, and one rounded food picture tilted a few degrees on a saffron offset. */
.hero--block { background: var(--accent); color: var(--on-accent); overflow: hidden; padding: var(--sp-5) var(--sp-4) var(--sp-6); }
.hero--block .hero-in { display: grid; gap: var(--sp-3); max-width: 1200px; }
.hero--block .eyebrow { color: var(--on-accent); }
.hero--block h1 { color: var(--on-accent); font-size: var(--step-3); }
.hero--block .lede { color: var(--on-accent); }
.hero--block .btn-primary { background: var(--accent-2); color: var(--ink); }
.hero--block .hero-in::after {
  content: ""; display: block; aspect-ratio: 1 / 1; width: min(100%, 22rem);
  margin: var(--sp-4) var(--sp-3) 0 0;
  border-radius: var(--img-radius); transform: rotate(-3deg);
  box-shadow: .9rem .9rem 0 var(--accent-2);
  background: var(--surface-sunk);
}

/* Sections after the hero alternate paper, sunk, and a saffron band. */
.hero--block ~ section:nth-of-type(3) { background: var(--accent-2); }
.hero--block ~ section:nth-of-type(3) .eyebrow { color: var(--ink); }
.hero--block ~ section:nth-of-type(3) .card { background: var(--paper); }

/* Cards: each carries a plain saffron block (no photograph of a dish: lex VERDICT j-2789-u5 Open 5), so the three stay the same height. */
.card { background: var(--paper); overflow: hidden; }
.hero--block ~ section:nth-of-type(2) .card::before {
  content: ""; display: block; aspect-ratio: 4 / 3;
  margin: calc(-1 * var(--sp-4)) calc(-1 * var(--sp-4)) var(--sp-3);
  background: var(--accent-2) center / cover no-repeat; filter: var(--img-filter);
}

/* Picture band: ingredients or a table spread, under the saffron band. */
.hero--block ~ section:nth-of-type(3)::after {
  content: ""; display: block; aspect-ratio: 21 / 9;
  max-width: 1200px; margin: var(--sp-5) auto 0;
  border-radius: var(--img-radius); filter: var(--img-filter);
  background: var(--surface-sunk) url("img/fnb-band.jpg") center / cover no-repeat;
}

.btn { padding: .8em 1.6em; }

@media (min-width: 48rem) {
  .hero--block { padding: var(--sp-6) var(--sp-5); }
  .hero--block h1 { font-size: var(--step-4); }
  .hero--block .hero-in { grid-template-columns: 1.1fr .9fr; column-gap: var(--sp-5); }
  .hero--block .hero-in > * { grid-column: 1; }
  .hero--block .hero-in::after { grid-column: 2; grid-row: 1 / span 4; width: 100%; margin: 0; align-self: center; }
}
