/* Editorial page layouts and final shared refinements. */
html body :is(p, figcaption, label, input, select, textarea, address) { text-transform: none !important; }
html body#home-page :is(p, figcaption, label, input, select, textarea, address) { text-transform: none !important; }
html body h1 { text-transform: uppercase; }
html body .school-name, html body#home-page .aa-academy-card h3 { text-transform: uppercase !important; }
.content-page { box-sizing: border-box; max-width: 1200px; margin-inline: auto; padding: 58px 28px 80px; color: #000; }
.content-page > h1 { margin: 0 0 44px; font-size: clamp(36px, 4vw, 64px); line-height: 1.15; letter-spacing: -.025em; }
.content-page h2 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.3; margin: 44px 0 18px; font-weight: 500; }
.content-page p { font-size: 18px; line-height: 1.8; margin: 0 0 22px; max-width: 78ch; }
.content-page .page-lead { font-size: clamp(20px, 2vw, 26px); line-height: 1.65; }
.content-page a { color: inherit; text-underline-offset: 4px; }
.content-page img { display: block; max-width: 100%; height: auto; border-radius: 18px; }
.content-page .approved-title { font-size: 21px; line-height: 1.5; }
.about-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; margin-bottom: 40px; }
.about-intro img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about-intro h2 { margin-top: 0; }
.academy-story { display: grid; grid-template-columns: .75fr 1.25fr; gap: 44px; align-items: start; padding: 44px 0; border-top: 1px solid #000; }
.academy-story > img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.academy-story h2 { margin-top: 0; }
.content-page .content-button, .content-button {
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
  padding: 12px 28px; border: 1px solid #000; border-radius: 999px; background: #000; color: #fff;
  font: 400 16px/1.4 Jost, sans-serif; text-decoration: none; text-align: center; cursor: pointer;
}
.content-page .content-button:hover, .content-button:hover { background: #fff; color: #000; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.content-page > .kliq-lead { width: min(100%, 850px); margin: 36px auto 52px; }
.content-page figure { margin: 44px 0; padding: 24px; border: 1px solid #ddd; border-radius: 20px; }
.content-page figure img { width: 100%; max-height: 760px; object-fit: contain; }
.content-page figcaption { font-size: 15px; line-height: 1.6; margin-top: 18px; }
.inquiry-section { max-width: 780px; margin-top: 48px; padding-top: 12px; border-top: 1px solid #000; }
#inquiry-form { display: flex; flex-direction: column; align-items: stretch; gap: 10px; scroll-margin-top: 130px; }
#inquiry-form label { margin-top: 16px; font-size: 17px; }
#inquiry-form :is(input:not([type="hidden"]), select, textarea) { box-sizing: border-box; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #888; border-radius: 8px; background: #fff; color: #000; font: 400 17px/1.5 Jost, sans-serif; }
#inquiry-form textarea { min-height: 180px; resize: vertical; }
#inquiry-form #inq-help, #inquiry-form .form-privacy { font-size: 15px; line-height: 1.6; margin: 0; }
#inquiry-form button { align-self: flex-start; margin-top: 16px; }
#inquiry-form button:disabled { opacity: .65; cursor: wait; }
#inquiry-form #inq-status { font-size: 16px; }
/* Keep homepage copy in the regular body face, even where legacy inline styles exist. */
body#home-page { --home-font: Jost, 'Helvetica Neue', Arial, sans-serif; }
html body#home-page .aa-giving-title { font-family: Jost, sans-serif !important; text-transform: none !important; }
body#home-page .aa-halloween-wrap .aa-guest-judge { font-size: 16px !important; letter-spacing: .08em !important; }
body#home-page .aa-work-img-main { border: 0 !important; }
body#home-page .aa-work-photos::before, body#home-page .aa-work-photos::after { display: none !important; }
/* Bounded hero: photo and text share the available desktop height. */
@media (min-width: 701px) {
  body#home-page .aa-hero .aa-hero-wrap { max-height: 650px; padding-top: 28px; padding-bottom: 18px; grid-template-rows: minmax(0, 1fr) auto; }
  body#home-page .aa-hero .aa-hero-photo { width: auto !important; max-width: 100%; max-height: 510px; height: min(34vw, 510px) !important; aspect-ratio: 1 !important; justify-self: center; }
  body#home-page .aa-hero .aa-hero-content { gap: 12px; }
  body#home-page .aa-hero .aa-name { font-size: clamp(28px, 2.7vw, 50px); }
  body#home-page .aa-hero .aa-hero-role { font-size: clamp(18px, 1.65vw, 28px); line-height: 1.4; }
  body#home-page .aa-hero .aa-hero-bio { font-size: clamp(15px, 1.1vw, 19px); line-height: 1.6; }
}
/* Publication ribbons retain their original scrolling, square-corner design. */
html body#home-page .aa-logo-banner, html body:not(#home-page) .aa-logo-banner { border-color: #000; border-radius: 0 !important; }
html body#home-page .aa-logo-banner *, html body:not(#home-page) .aa-logo-banner * { border-radius: 0 !important; }
body#press-page main > header { border: 0; padding-top: 0; }
body#press-page main > header .title { margin-top: 0; }
body#press-page .aa-social-links { margin-top: 24px; border-color: #000; background: #fff; }
body#press-page .aa-social-links a { color: #000; }
body#press-page main > .aa-logo-banner { margin-top: 28px; }
@media (max-width: 700px) {
  .content-page { padding: 36px 20px 56px; }
  .content-page > h1 { margin-bottom: 30px; }
  .about-intro, .academy-story { grid-template-columns: 1fr; gap: 24px; }
  .about-intro img, .academy-story > img { max-width: 450px; }
  .content-page figure { padding: 12px; }
  #inquiry-form { scroll-margin-top: 96px; }
}
/* Entrance motion stays within the viewport without affecting sticky navigation. */
html, body { overflow-x: clip; }

/* Give the homepage identity and feature titles one large, responsive scale. */
html body#home-page .aa-hero .aa-name,
html body#home-page h2.aa-identity-heading {
  font-family: 'Alta', sans-serif !important;
  font-weight: 400 !important;
  font-size: clamp(2.75rem, 5.2vw, 4.8rem) !important;
  line-height: 1.15 !important;
  overflow-wrap: anywhere;
}
body#home-page .aa-hero-about { align-self: flex-start; margin-top: 4px; }

/* Community benefit feature at the end of the homepage. */
body#home-page .aa-benefit { padding: 24px clamp(20px, 4vw, 56px) 80px; }
body#home-page .aa-benefit-card {
  max-width: 1140px; margin: auto; padding: clamp(20px, 4vw, 48px);
  border: 1px solid #000; border-radius: 20px;
}
body#home-page .aa-benefit-eyebrow { margin: 0 0 16px; font-size: 14px; letter-spacing: .12em; }
body#home-page .aa-benefit h2 { margin: 0 0 16px; font-size: clamp(30px, 4vw, 52px); line-height: 1.2; }
body#home-page .aa-benefit-subtitle { margin: 0 0 28px; font-size: clamp(19px, 2vw, 24px); line-height: 1.5; }
body#home-page .aa-benefit-copy { max-width: 78ch; }
body#home-page .aa-benefit-copy p { margin: 0 0 20px; font-size: 17px; line-height: 1.8; }
body#home-page .aa-benefit-copy a { text-underline-offset: 4px; }
body#home-page .aa-benefit-gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 28px 0; }
body#home-page .aa-benefit-gallery figure { min-width: 0; margin: 0; }
body#home-page .aa-benefit-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
body#home-page .aa-benefit-gallery figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; }
html body#home-page .aa-benefit-link { color: #fff !important; background: #000 !important; }
html body#home-page .aa-benefit-link:is(:hover, :focus-visible) { color: #000 !important; background: #fff !important; }
@media (max-width: 600px) {
  body#home-page .aa-benefit-gallery { grid-template-columns: repeat(5, 124px); overflow-x: auto; padding-bottom: 12px; }
  body#home-page .aa-benefit { padding-bottom: 48px; }
}

/* Service choices lead to the single inquiry form. */
.inquiry-services { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.inquiry-services .content-button { font-size: 15px; padding: 10px 20px; }
#form-heading { scroll-margin-top: 120px; }

/* KLIQ homepage story: copy left, two full-width photographs right. */
body#home-page .aa-kliq-feature { padding: 32px clamp(20px, 4vw, 56px) 48px; }
body#home-page .aa-kliq-feature__card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; max-width: 1140px; margin: auto; padding: clamp(20px, 3.5vw, 44px); border: 1px solid #000; border-radius: 20px; }
body#home-page .aa-kliq-feature__copy, body#home-page .aa-kliq-feature__photos { min-width: 0; }
body#home-page .aa-kliq-feature h2 { margin: 0 0 24px; font-size: clamp(30px, 3.3vw, 48px); line-height: 1.15; }
body#home-page .aa-kliq-feature p { margin: 0 0 28px; font: 400 17px/1.8 Jost, sans-serif; }
body#home-page .aa-kliq-feature__photos { display: grid; gap: 18px; }
body#home-page .aa-kliq-feature__photos img { display: block; width: 100%; height: auto; border-radius: 12px; }
@media (max-width: 760px) {
  body#home-page .aa-kliq-feature__card { grid-template-columns: 1fr; }
}
