/* ==========================================================================
   ABOUT (about.html): who Mattino is. Same type, colors and spacing as the
   rest of the site; only the hero, the three principles and the company list
   are new layouts.
   ========================================================================== */
.ab-hero { padding-block: var(--space-5) var(--space-6); background: var(--g-paper, #faf7f2); }
.ab-hero__grid { display: grid; gap: var(--space-4); align-items: center; }
.ab-hero h1 { font-family: var(--font-display-he); font-weight: var(--fw-thin, 200); font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.4rem); line-height: 1.05; letter-spacing: -0.02em; margin: var(--space-2) 0 var(--space-3); }
.ab-hero .lead { max-width: 34ch; color: var(--g-ink); }
.ab-hero__img { margin: 0 -1.25rem; overflow: hidden; }
.ab-hero__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
@media (min-width: 1024px) {
  .ab-hero { padding-block: var(--space-6); }
  .ab-hero__grid { grid-template-columns: 6fr 6fr; gap: var(--space-6); }
  .ab-hero__img { margin: 0; }
  .ab-hero__img img { aspect-ratio: 5 / 4; }
}

.ab-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ab-steps li { display: grid; grid-template-columns: 3.5rem 1fr; column-gap: var(--space-2); padding: var(--space-3) 0; border-top: 1px solid var(--g-line); }
.ab-steps li:last-child { border-bottom: 1px solid var(--g-line); }
.ab-steps__n { grid-row: span 2; font-family: var(--font-latin); font-weight: 200; font-size: 2rem; line-height: 1; color: #8a5c14; }
.ab-steps h3 { margin: 0 0 0.3rem; font-size: var(--fs-lg); font-weight: var(--fw-regular); }
.ab-steps p { margin: 0; color: var(--g-muted); max-width: 46ch; }
@media (min-width: 900px) {
  .ab-steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
  .ab-steps li, .ab-steps li:last-child { display: block; border-bottom: 0; padding-top: var(--space-3); border-top: 3px solid #d6b06a; }
  .ab-steps__n { display: block; margin-bottom: var(--space-2); }
}

.ab-next { max-width: 720px; text-align: center; }
.ab-next .eyebrow { justify-content: center; }
.ab-next h2 { font-weight: var(--fw-thin, 200); }
.ab-next .lead { margin-inline: auto; max-width: 44ch; }

.ab-company { display: grid; gap: var(--space-4); }
.ab-company__list { margin: 0; display: grid; gap: 0; }
.ab-company__list > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--space-2); padding: 0.9rem 0; border-bottom: 1px solid var(--g-line); }
.ab-company__list > div:first-child { border-top: 1px solid var(--g-line); }
.ab-company__list dt { color: var(--g-muted); font-size: var(--fs-sm); }
.ab-company__list dd { margin: 0; text-align: start; }
.ab-company__list dd[dir="ltr"] { text-align: right; }
.ab-company__list a { color: inherit; text-underline-offset: 3px; }
@media (min-width: 1024px) { .ab-company { grid-template-columns: 4fr 8fr; gap: var(--space-6); align-items: start; } }

/* phones: the wide photos keep their width, so the whole family stays in frame */
@media (max-width: 1023px) {
  .ab-mosaic .wide img { aspect-ratio: 16 / 10 !important; }
  .ab-mosaic li:not(.wide) img { aspect-ratio: 1 / 1 !important; }
}
.ab-hero__more { margin-top: var(--space-2); max-width: 46ch; color: var(--g-muted); font-size: var(--fs-md); line-height: 1.7; }

/* back to the entry page: the top bar starts with it, arrow pointing back (right in RTL) */
.topbar__inner:has(.topbar__back) { justify-content: flex-start; }
.topbar__back { display: inline-flex; align-items: center; gap: 0.5em; min-height: 40px; color: rgba(255,255,255,.9); text-decoration: none; letter-spacing: 0.02em; }
.topbar__back::before { content: ""; width: 0.45em; height: 0.45em; border-right: 1px solid currentColor; border-top: 1px solid currentColor; transform: rotate(45deg); }
.topbar__back:hover { color: var(--g-white); text-decoration: underline; text-underline-offset: 3px; }
/* link to the producer's own site, under the producer story */
.ab-producer-link { margin: var(--space-3) 0 0; font-size: var(--fs-sm); }
.ab-producer-link a { color: rgba(255,255,255,.9); text-decoration: underline; text-underline-offset: 4px; }
.ab-producer-link a:hover { color: #fff; }
