/* sobre.css: "Sobre Haznova" (/sobre-haznova, /en/about-haznova, ...). base.css gives the bar, footer, buttons, chips, type and tokens;
   here only this page's layout. The card and h3 rules are scoped copies of nicho.css (not linked: it carries the niche pages' code). Tokens only (no hard-coded colours), no JS, no motion. */

/* Hero. DOM order is h1, lead, kicker (the lead is the first paragraph of <main>); the kicker is shown first. */
.sobre-hero { padding: calc(var(--bar-h) + clamp(32px, 7vw, 112px)) 0 clamp(40px, 6vw, 80px); }
.sobre-hero__in { display: grid; gap: var(--s-6); align-items: center; }
.sobre-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-5); min-width: 0; }
.sobre-hero__kicker { order: -1; }
.sobre-h1 {
  font-size: var(--t-h2); line-height: .98; letter-spacing: -.035em; font-weight: 700; font-variation-settings: "opsz" 96;
  max-width: 16em; /* em, not ch: ch shifts with the font swap and re-wraps the H1 (CLS) */
}
@media (min-width: 768px) { .sobre-h1 { font-size: calc(var(--t-display) * .62); line-height: .96; letter-spacing: -.04em; } }
.sobre-hero__lead { max-width: 44ch; }
.sobre-hero__mark { display: none; width: 160px; height: auto; }
@media (min-width: 768px) {
  .sobre-hero__in { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-8); }
  .sobre-hero__mark { display: block; }
}
.sobre-hero__ctas { gap: var(--s-4) var(--s-6); }
.sobre-hero .btn, .sobre-final .btn { white-space: normal; text-align: left; height: auto; padding-block: var(--s-3); }
.sobre-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* Sections */
.sobre-sec { padding: var(--section-y) 0; border-top: 1px solid var(--rule); }
.sobre-note { max-width: 60ch; margin-top: var(--s-6); padding-left: var(--s-4); border-left: 3px solid var(--solved); }

/* Cards (scoped copy of nicho.css) */
.sobre .nx-card { padding: var(--s-5); border: 1px solid var(--rule); border-radius: var(--r-m); background: var(--paper); box-shadow: var(--shadow-1); min-width: 0; }
.sobre .nx-card p { color: var(--ink-2); }
.sobre .nx-h3 { font-size: 1.25rem; line-height: 1.15; letter-spacing: -.01em; margin-bottom: var(--s-2); }

/* Partners: initials only (no photos, no names) */
.sobre-socios { display: grid; gap: var(--s-7); align-items: start; }
.sobre-socios__text > * + * { margin-top: var(--s-5); }
.sobre-socios__text .sobre-note { margin-top: var(--s-6); }
.sobre-socios__text .sobre-quote { max-width: 34em; margin-top: var(--s-6); padding-left: var(--s-4); border-left: 3px solid var(--solved); color: var(--ink); font-weight: 600; }
.sobre-socios__list { display: grid; gap: var(--s-4); }
.sobre-socio { display: flex; align-items: center; gap: var(--s-4); }
.sobre .sobre-socio .nx-h3 { margin: 0; color: var(--ink); font-weight: 650; line-height: 1.05; } /* a <p> now (two identical h3 helped nobody): same look as the h3 it replaced */
.sobre-socio__avatar {
  flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--surface-2); color: var(--ink); font-family: var(--f-sans); font-weight: 700; letter-spacing: .02em;
}
@media (min-width: 768px) {
  .sobre-socios { grid-template-columns: 1fr 1fr; gap: var(--gutter); }
}

/* Closing night section */
.sobre-final__in > * { max-width: 60ch; }
.sobre-final__in > * + * { margin-top: var(--s-5); }
.sobre-mail { overflow-wrap: anywhere; }
.sobre-final a:focus-visible, .sobre a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
