/* Native About page (/about-us/), ranking-fix plan Task 7. Conventions follow legal-page.v1.css.
   The site header is transparent with white text over every page hero, so the hero band carries a dark
   scrim over the video; the page body below it stays light. */

.yn-about { background: #FFFBF7; color: #1A1A1A; }

.yn-about-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

/* ---------- Hero ---------- */
.yn-about-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 190px 0 72px;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  /* Shown until the video paints, and when it cannot play. */
  background: linear-gradient(135deg, #5A1F10 0%, #A43C1F 100%);
  color: #fff;
}
.yn-about-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yn-about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(360deg, rgba(38, 80, 94, 0) 74%, rgba(38, 80, 94, 0.9) 100%),
    linear-gradient(90deg, rgba(24, 16, 11, 0.7) 0%, rgba(24, 16, 11, 0.5) 50%, rgba(24, 16, 11, 0.2) 100%),
    linear-gradient(0deg, rgba(24, 16, 11, 0.55) 0%, rgba(24, 16, 11, 0) 45%);
}
.yn-about-hero-inner { position: relative; }
.yn-about-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .9;
}
.yn-about-hero h1 {
  max-width: 20ch;
  margin: 0;
  color: #fff;
  font-family: "Marcellus", serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.12;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}

/* ---------- Body: one reading column, 75ch ---------- */
.yn-about-body { max-width: calc(75ch + 48px); padding-top: 52px; padding-bottom: 88px; font-size: 17px; line-height: 1.75; overflow-wrap: anywhere; }
.yn-about-lead { margin: 0 0 40px; font-size: 20px; line-height: 1.65; color: #2B2B2B; }

.yn-about-section { scroll-margin-top: 110px; padding: 0 0 34px; margin: 0 0 34px; border-bottom: 1px solid #F0DCCF; }
.yn-about-section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.yn-about-body h2 {
  margin: 0 0 16px;
  color: #A43C1F;
  font-family: "Marcellus", serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.25;
}
.yn-about-body h3 { margin: 28px 0 8px; color: #1A1A1A; font-size: 20px; font-weight: 600; line-height: 1.35; }
.yn-about-body p { margin: 0 0 16px; }
.yn-about-body ul { margin: 0 0 16px; padding-left: 22px; }
.yn-about-body li { margin: 0 0 8px; }
.yn-about-body li::marker { color: #A43C1F; }
.yn-about-body a { color: #A43C1F; text-decoration: underline; text-underline-offset: 2px; }
.yn-about-body a:focus-visible { outline: 2px solid #1A1A1A; outline-offset: 2px; }

/* By the numbers */
.yn-about-table { overflow-x: auto; margin: 6px 0 8px; border: 1px solid #F0DCCF; border-radius: 12px; background: #fff; }
.yn-about-table table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.yn-about-table th, .yn-about-table td { padding: 13px 16px; text-align: left; vertical-align: top; }
.yn-about-table tr + tr th, .yn-about-table tr + tr td { border-top: 1px solid #F0DCCF; }
.yn-about-table th { width: 38%; color: #5A1F10; font-weight: 600; background: #FBF1EA; }

/* Graduate quotes */
.yn-about-quote { margin: 0 0 18px; padding: 18px 22px; border-left: 4px solid #A43C1F; border-radius: 0 12px 12px 0; background: #fff; }
.yn-about-quote p { margin: 0 0 10px; font-size: 18px; line-height: 1.6; font-style: italic; }
.yn-about-quote footer { color: #4A4A4A; font-size: 14px; font-style: normal; }

/* Visit or apply */
.yn-about-contact { margin: 0 0 20px; padding: 18px 20px; border-left: 4px solid #A43C1F; border-radius: 0 12px 12px 0; background: #fff; font-style: normal; line-height: 1.85; }
.yn-about-links { list-style: none; padding-left: 0; }
.yn-about-links li { margin: 0 0 10px; }
.yn-about-links a { font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .yn-about-video { display: none; }
}

@media (max-width: 900px) {
  .yn-about-hero { padding: 150px 0 48px; min-height: 340px; }
  .yn-about-hero::after {
    background:
      linear-gradient(360deg, rgba(38, 80, 94, 0) 74%, rgba(38, 80, 94, 0.9) 100%),
      linear-gradient(0deg, rgba(24, 16, 11, 0.6) 0%, rgba(24, 16, 11, 0.45) 50%, rgba(24, 16, 11, 0.35) 100%);
  }
  .yn-about-body { padding-top: 36px; padding-bottom: 64px; font-size: 16px; }
  .yn-about-lead { font-size: 18px; margin-bottom: 32px; }
  .yn-about-body h2 { font-size: 26px; }
}
@media (max-width: 600px) {
  .yn-about-wrap { padding: 0 16px; }
  .yn-about-table th { width: 42%; }
  .yn-about-table th, .yn-about-table td { padding: 11px 12px; }
}
