@charset "UTF-8";

/* Aidumdum About page
   Refined typography and spacing; existing layout, palette and artwork retained. */

:root {
  --black: #000;
  --yellow: #ffdf00;
  --white: #f7f7f7;
  --muted: #c6c6c6;
  --copy: #e8e8e8;
}

* { box-sizing: border-box; }

html {
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 20px;
  padding-bottom: 30px;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.page {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: 0 20px 0;
  position: relative;
  top: -20px;
}

.team-panel {
  width: 100%;
  padding: 24px 24px 26px;
  margin-bottom: 0;
}

.team-header {
  text-align: center;
  margin: 0 0 30px;
}

.team-header h1 {
  color: var(--yellow);
  font-size: clamp(30px, 2.4vw, 58px);
  line-height: 1.08;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.page-subtitle {
  margin: 9px 0 0;
  color: var(--white);
  font-size: clamp(16px, 0.9vw, 22px);
  font-weight: 400;
  letter-spacing: .015em;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 28px;
}

.team-card {
  min-width: 0;
  text-align: center;
}

.team-card picture { display: block; }

.team-card img,
.team-card picture img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 0;
  outline: 0;
  box-shadow: none;
}

.team-card h2 {
  color: var(--yellow);
  font-size: clamp(16px, 1.15vw, 27px);
  line-height: 1.2;
  margin: 12px 0 0;
  font-weight: 600;
}

.about-section {
  width: 100%;
  max-width: 1320px;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1152fr) minmax(0, 1429fr);
  container-type: inline-size;
  column-gap: 34px;
  align-items: center;
  padding: 0 24px;
  margin: 0 auto 34px;
  background: var(--black);
}

.about-section picture {
  display: block;
  min-width: 0;
}

.section-art,
.about-section picture .section-art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1152 / 1008;
  object-fit: contain;
}

.section-copy {
  min-width: 0;
  align-self: center;
  color: var(--copy);
  font-size: clamp(17px, 1.12cqi, 22px);
  line-height: 1.55;
  font-weight: 400;
}

.section-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(27px, 1.75cqi, 39px);
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--white);
  text-align: left;
}

.yellow-rule {
  display: block;
  width: 92px;
  height: 5px;
  border-radius: 5px;
  background: var(--yellow);
  margin: 0 0 20px;
}

.section-copy h3 {
  margin: 0 0 20px;
  font-size: clamp(19px, 1.3cqi, 27px);
  line-height: 1.3;
  font-weight: 500;
  color: var(--white);
}

.section-copy p {
  margin: 0 0 18px;
}

.section-copy p:last-child { margin-bottom: 0; }

.explanation {
  border-top: 1px solid #555;
  padding-top: 14px;
  margin-top: 8px;
}

.explanation-label {
  color: var(--muted);
  font-weight: 600;
  font-size: .78em;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 12px !important;
}

.yellow-emphasis {
  color: var(--yellow);
  font-weight: 600;
}

.inline-page-link {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-page-link:hover {
  color: var(--white);
}

.inline-page-link:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.mission-section .section-copy h2 { color: var(--white); }

.cta-wrap {
  display: flex;
  justify-content: center;
  padding: 0 24px;
}

.cta-button {
  display: inline-flex;
  width: auto;
  min-height: 0;
  height: auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 18px;
  border: 1px solid #c4b45e;
  border-radius: 999px;
  background: #c4b45e;
  color: #111;
  text-decoration: none;
  text-align: center;
  font-size: clamp(17px, 1.15vw, 21px);
  font-weight: 600;
  line-height: 1.25;
  transition: filter .15s ease, transform .15s ease;
}

.cta-button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.cta-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

/* Keep the footer close to the page, as in the existing design. */
main.page + .site-footer {
  margin-top: 0;
  margin-bottom: 24px;
  transform: translateY(-10px);
}

@media (max-width: 1100px) {
  .page { padding: 0 0 0; }
  .team-panel { padding: 24px 20px 28px; }
  .team-grid { gap: 24px; }

  .about-section {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
    gap: 24px;
    padding: 0 28px;
    margin-bottom: 30px;
  }

  .section-copy { font-size: clamp(16px, 1.5vw, 19px); }
  .section-copy h2 { margin-bottom: 13px; }
  .yellow-rule { margin-bottom: 15px; }
  .section-copy h3 { margin-bottom: 16px; }
  .section-copy p { margin-bottom: 15px; }
}

@media (max-width: 700px) {
  .page { padding-left: 10px; padding-right: 10px; }

  .team-panel {
    padding: 24px 10px 28px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }

  .team-card h2 {
    font-size: clamp(16px, 4vw, 21px);
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 10px;
    margin-bottom: 30px;
  }

  .about-section picture { width: 100%; }
  .section-art { width: 100%; max-width: 100%; }

  .section-copy {
    font-size: 17px;
    line-height: 1.55;
  }

  .section-copy h2 { font-size: clamp(25px, 6vw, 30px); }
  .section-copy h3 { font-size: clamp(19px, 4.5vw, 22px); }
  .yellow-rule { width: 72px; height: 5px; }
  .cta-button {
    max-width: 100%;
    padding: 6px 15px;
    font-size: 17px;
  }
}

@media (max-width: 420px) {
  .team-grid { gap: 18px 12px; }
  .team-card img { max-width: 100%; }
}


/* More restrained headings in the first About section only. */
.about-section[aria-labelledby="what-title"] .section-copy h2 {
  font-size: clamp(24px, 1.45cqi, 32px);
}

.about-section[aria-labelledby="what-title"] .section-copy h3 {
  font-size: clamp(17px, 1.05cqi, 22px);
}

@media (max-width: 700px) {
  .about-section[aria-labelledby="what-title"] .section-copy h2 {
    font-size: clamp(23px, 5.2vw, 27px);
  }

  .about-section[aria-labelledby="what-title"] .section-copy h3 {
    font-size: clamp(17px, 4vw, 20px);
  }
}
