/* About page (/about/) — extends homepage tokens */

.page-about.site-main {
  padding: 0;
}

.page-about .about-hero {
  background: linear-gradient(
    135deg,
    #051a24 0%,
    #0a4d66 40%,
    #008fbd 75%,
    rgba(0, 167, 225, 0.3) 100%
  );
}

.page-about .about-hero__visual {
  max-width: 100%;
}

.page-about .about-hero__visual .hero__image {
  display: block;
  width: 100%;
  max-height: min(28rem, 55vh);
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--h2f-radius);
  box-shadow: var(--h2f-shadow-md);
}

@media (min-width: 900px) {
  .page-about .about-hero__visual .hero__image {
    max-height: min(24rem, 52vh);
  }
}

.about-company h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.15rem;
}

.about-company h3:first-child {
  margin-top: 0;
}

.about-company__aside {
  align-self: start;
}

.about-facts {
  list-style: none;
  margin: 0;
  padding: 1.25rem 1.5rem;
  background: var(--h2f-surface);
  border: 1px solid var(--h2f-border);
  border-radius: var(--h2f-radius);
}

.about-facts li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--h2f-border);
  font-size: 0.95rem;
}

.about-facts li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-facts li:first-child {
  padding-top: 0;
}

.about-facts__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--h2f-text-muted);
  margin-bottom: 0.2rem;
}

/* Founder cards */
.founder-grid {
  display: grid;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 700px) {
  .founder-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.founder-card {
  display: flex;
  flex-direction: column;
  background: var(--h2f-card);
  border: 1px solid var(--h2f-border);
  border-radius: var(--h2f-radius);
  overflow: hidden;
  box-shadow: var(--h2f-shadow-sm);
}

.founder-card__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center top;
}

.founder-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.founder-card h3 {
  margin: 0 0 0.15rem;
  font-size: 1.2rem;
}

.founder-card__title {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--h2f-text-secondary);
}

.founder-card__handle {
  margin: 0 0 0.75rem;
  font-weight: 600;
  color: var(--h2f-primary);
  font-size: 0.9rem;
}

.founder-card__body > p:not(.founder-card__handle):not(.founder-card__title) {
  margin: 0 0 1rem;
  color: var(--h2f-text-secondary);
  font-size: 0.95rem;
  flex: 1;
}

.founder-card__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.founder-card__social a {
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.founder-card__social a:hover {
  text-decoration: underline;
}

/* Affiliate grid */
.affiliate-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
}

.affiliate-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.35rem 1rem;
  text-align: center;
  text-decoration: none;
  color: var(--h2f-text);
  background: var(--h2f-card);
  border: 1px solid var(--h2f-border);
  border-radius: var(--h2f-radius);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.affiliate-card a:hover {
  border-color: var(--h2f-primary);
  box-shadow: var(--h2f-shadow-md);
  color: var(--h2f-text);
}

.affiliate-card img {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
}

.affiliate-card__name {
  font-family: var(--h2f-font-display);
  font-weight: 700;
  font-size: 1rem;
}

.affiliate-card__url {
  font-size: 0.8rem;
  color: var(--h2f-text-muted);
}
